From f3c65c25c9cee774d68bb4602c162c4638bf038c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E5=8F=8A?= <522caiji@gmail.com> Date: Fri, 4 Sep 2026 22:41:18 +0800 Subject: [PATCH] feat: polish API access page --- frontend/src/api/types.ts | 2 + frontend/src/components/EndpointList.tsx | 70 +++++++++++++++++++ frontend/src/i18n/messages.ts | 28 +++++++- frontend/src/pages/AccessPage.tsx | 22 +++++- frontend/src/pages/OverviewPage.tsx | 42 +---------- internal/api/server.go | 1 + ...t-Bsagkecw.js => TrafficChart-DQffUNa7.js} | 2 +- .../webui/static/assets/index-B1CaSp6w.js | 25 ------- .../webui/static/assets/index-CBGxSNpJ.js | 25 +++++++ ...{index-C2r4Z2IX.css => index-wK-HEcN2.css} | 2 +- internal/webui/static/index.html | 4 +- 11 files changed, 149 insertions(+), 74 deletions(-) create mode 100644 frontend/src/components/EndpointList.tsx rename internal/webui/static/assets/{TrafficChart-Bsagkecw.js => TrafficChart-DQffUNa7.js} (99%) delete mode 100644 internal/webui/static/assets/index-B1CaSp6w.js create mode 100644 internal/webui/static/assets/index-CBGxSNpJ.js rename internal/webui/static/assets/{index-C2r4Z2IX.css => index-wK-HEcN2.css} (92%) diff --git a/frontend/src/api/types.ts b/frontend/src/api/types.ts index a72dc6a..8db4b56 100644 --- a/frontend/src/api/types.ts +++ b/frontend/src/api/types.ts @@ -112,6 +112,8 @@ export type Overview = { access?: { openai_base_url?: string chat_completions?: string + messages?: string + responses?: string models?: string health?: string } diff --git a/frontend/src/components/EndpointList.tsx b/frontend/src/components/EndpointList.tsx new file mode 100644 index 0000000..74a37ef --- /dev/null +++ b/frontend/src/components/EndpointList.tsx @@ -0,0 +1,70 @@ +import { useMemo, useState } from 'react' +import { Button, Card, Chip } from '@heroui/react' +import { ArrowSquareOut, BracketsCurly, Check, Copy, Heartbeat, ListBullets, PaperPlaneTilt } from '@phosphor-icons/react' +import type { Overview } from '@/api/types' +import { useI18n } from '@/hooks/useI18n' +import { absUrl } from '@/lib/url' + +type EndpointListProps = { + access?: Overview['access'] +} + +export function EndpointList({ access }: EndpointListProps) { + const { t } = useI18n() + const [copiedEndpoint, setCopiedEndpoint] = useState('') + const base = absUrl(access?.openai_base_url || '/v1') + const endpoints = useMemo(() => [ + { name: t('endpointOpenAI'), url: base, method: 'BASE', hint: t('endpointBaseHint'), icon: }, + { name: t('endpointChat'), url: absUrl(access?.chat_completions || `${base}/chat/completions`), method: 'POST', hint: t('endpointChatHint'), icon: }, + { name: t('endpointMessages'), url: absUrl(access?.messages || `${base}/messages`), method: 'POST', hint: t('endpointMessagesHint'), icon: }, + { name: t('endpointResponses'), url: absUrl(access?.responses || `${base}/responses`), method: 'POST', hint: t('endpointResponsesHint'), icon: }, + { name: t('endpointModels'), url: absUrl(access?.models || `${base}/models`), method: 'GET', hint: t('endpointModelsHint'), icon: }, + { name: t('endpointHealth'), url: absUrl(access?.health || '/health'), method: 'GET', hint: t('endpointHealthHint'), icon: }, + ], [access, base, t]) + + return ( + + + + + {t('endpoints')} + {t('endpointCount', { count: endpoints.length - 1 })} + + {t('routesHint')} + + + + {t('endpointReady')} + + + + {endpoints.map((item) => ( + + + + {item.icon} + + {item.name} + {item.url} + + + {item.method} + + {item.hint} + + {item.method === 'BASE' ? t('endpointBaseLabel') : t('endpointAuthLabel')} + + { void navigator.clipboard.writeText(item.url); setCopiedEndpoint(item.name); window.setTimeout(() => setCopiedEndpoint(''), 1100) }}> + {copiedEndpoint === item.name ? : } + + window.open(item.url, '_blank', 'noopener,noreferrer')}> + + + + + + ))} + + + ) +} diff --git a/frontend/src/i18n/messages.ts b/frontend/src/i18n/messages.ts index 6d6bba2..c04db58 100644 --- a/frontend/src/i18n/messages.ts +++ b/frontend/src/i18n/messages.ts @@ -10,7 +10,7 @@ export const messages: Record = { develop: 'Develop', system: 'System', runtimeSnapshot: 'Runtime and scheduler snapshot', - routesHint: 'OpenAI-compatible routes', + routesHint: 'OpenAI / Anthropic-compatible routes', clientConfig: 'Client configuration', clientConfigHint: 'Use the same console key as Bearer token', authentication: 'Authentication', @@ -305,8 +305,20 @@ export const messages: Record = { requesting: 'Requesting…', endpointOpenAI: 'OpenAI Compatible', endpointChat: 'Chat Completions', + endpointBaseHint: 'Use this path as the base URL in OpenAI-compatible clients.', + endpointChatHint: 'OpenAI-compatible chat requests with streaming, images, and tools.', + endpointMessages: 'Anthropic Messages', + endpointMessagesHint: 'Stateless Anthropic Messages adapter with text, images, and tools.', + endpointResponses: 'OpenAI Responses', + endpointResponsesHint: 'Stateless OpenAI Responses adapter with text, images, and tools.', endpointModels: 'Models', + endpointModelsHint: 'List the public model IDs currently available through the proxy.', endpointHealth: 'Health', + endpointHealthHint: 'Check whether the local proxy is responding.', + endpointCount: '{count} API routes', + endpointReady: 'Available now', + endpointBaseLabel: 'Client base URL', + endpointAuthLabel: 'Bearer API key', hasUserBlob: 'Has user blob', userBlobBytes: 'User blob bytes', machineId: 'Machine ID', @@ -542,7 +554,7 @@ export const messages: Record = { develop: '开发', system: '系统', runtimeSnapshot: '运行时与调度器快照', - routesHint: 'OpenAI 兼容端点', + routesHint: 'OpenAI / Anthropic 兼容端点', clientConfig: '客户端配置', clientConfigHint: '使用与控制台相同的密钥作为 Bearer Token', authentication: '认证方式', @@ -837,8 +849,20 @@ export const messages: Record = { requesting: '请求中…', endpointOpenAI: 'OpenAI 兼容', endpointChat: 'Chat Completions', + endpointBaseHint: '在 OpenAI 兼容客户端中,将此地址作为 Base URL。', + endpointChatHint: '支持流式、图片与工具调用的 OpenAI 兼容对话接口。', + endpointMessages: 'Anthropic Messages', + endpointMessagesHint: '无状态 Anthropic Messages 适配层,支持文本、图片和工具调用。', + endpointResponses: 'OpenAI Responses', + endpointResponsesHint: '无状态 OpenAI Responses 适配层,支持文本、图片和工具调用。', endpointModels: '模型列表', + endpointModelsHint: '查看当前代理可用的公开模型 ID。', endpointHealth: '健康检查', + endpointHealthHint: '检查本地代理是否正在响应。', + endpointCount: '{count} 个 API 端点', + endpointReady: '当前可用', + endpointBaseLabel: '客户端 Base URL', + endpointAuthLabel: 'Bearer API Key', hasUserBlob: '已有 user blob', userBlobBytes: 'user blob 大小', machineId: 'Machine ID', diff --git a/frontend/src/pages/AccessPage.tsx b/frontend/src/pages/AccessPage.tsx index 265f569..75e019d 100644 --- a/frontend/src/pages/AccessPage.tsx +++ b/frontend/src/pages/AccessPage.tsx @@ -20,6 +20,7 @@ import { PageAlert } from '@/components/ui/PageAlert' import { AccessPageSkeleton } from '@/components/ui/PageSkeletons' import { ProviderMark } from '@/components/ProviderMark' import { accountProviderLabel } from '@/lib/provider' +import { EndpointList } from '@/components/EndpointList' type RequestState = 'idle' | 'loading' | 'success' | 'error' @@ -100,6 +101,8 @@ export function AccessPage() { const poolModels = overview?.models || [] const accounts = overview?.accounts || [] const base = absUrl(overview?.access?.openai_base_url || '/v1') + const chatPath = overview?.access?.chat_completions || '/v1/chat/completions' + const chatEndpoint = absUrl(chatPath) const [model, setModel] = useState('') const [accountId, setAccountId] = useState('') const [accountCatalog, setAccountCatalog] = useState<{ accountId: string; models: ModelInfo[]; error: string } | null>(null) @@ -146,12 +149,12 @@ export function AccessPage() { }), [prompt, selectedModel]) const curl = useMemo( - () => `curl -sS ${shellQuote(`${base}/chat/completions`)} \\ + () => `curl -sS ${shellQuote(chatEndpoint)} \\ -H "Authorization: Bearer $CLI2API_API_KEY" \\ -H ${shellQuote('Content-Type: application/json')}${selectedAccount ? ` \\ -H ${shellQuote(`X-Qoder-Account: ${selectedAccount}`)}` : ''} \\ -d ${shellQuote(JSON.stringify(payload))}`, - [base, payload, selectedAccount], + [chatEndpoint, payload, selectedAccount], ) if (loading && !overview) return @@ -201,6 +204,17 @@ export function AccessPage() { + + + + {t('connection')} + {t('clientConfigHint')} + + + {readyAccounts.length ? t('endpointReady') : t('degraded')} + + + {t('baseUrl')} @@ -222,6 +236,8 @@ export function AccessPage() { + + @@ -232,7 +248,7 @@ export function AccessPage() { {t('requestBuilder')} - POST /chat/completions + POST {chatPath} diff --git a/frontend/src/pages/OverviewPage.tsx b/frontend/src/pages/OverviewPage.tsx index df98624..116e2ad 100644 --- a/frontend/src/pages/OverviewPage.tsx +++ b/frontend/src/pages/OverviewPage.tsx @@ -1,11 +1,9 @@ -import { lazy, Suspense, useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react' +import { lazy, Suspense, useEffect, useLayoutEffect, useRef, useState } from 'react' import gsap from 'gsap' import { Link } from 'react-router-dom' -import { Button, Card, Chip } from '@heroui/react' +import { Card, Chip } from '@heroui/react' import { - ArrowSquareOut, ArrowUpRight, - Copy, Cube, Pulse, } from '@phosphor-icons/react' @@ -22,7 +20,6 @@ import { useI18n } from '@/hooks/useI18n' import { useOverview } from '@/hooks/useOverview' import { formatCompact, formatLatency, formatPercent } from '@/lib/format' import { accountProviderFamilyLabel, accountProviderLabel } from '@/lib/provider' -import { absUrl } from '@/lib/url' import { ProviderMark } from '@/components/ProviderMark' type AccountRow = NonNullable[number] @@ -76,7 +73,6 @@ export function OverviewPage() { const [hours, setHours] = useState(24) const [stats, setStats] = useState(null) const [statsError, setStatsError] = useState('') - const [copiedEndpoint, setCopiedEndpoint] = useState('') const [statsLoading, setStatsLoading] = useState(true) const proxyOk = Boolean(overview?.proxy?.ok) @@ -87,9 +83,7 @@ export function OverviewPage() { const coolingAccounts = accounts.filter((account) => account.down_until || account.cooldown_until).length const inFlight = accounts.reduce((total, account) => total + (account.in_flight ?? account.inFlight ?? 0), 0) const modelCount = overview?.models?.length ?? 0 - const lastError = accounts.map((account) => account.last_error || account.lastError).find(Boolean) || '—' const traffic = stats ?? EMPTY_STATS - const base = absUrl(overview?.access?.openai_base_url || '/v1') useEffect(() => { let cancelled = false @@ -112,13 +106,6 @@ export function OverviewPage() { } }, [hours]) - const endpoints = useMemo(() => [ - { name: t('endpointOpenAI'), url: base, method: 'BASE' }, - { name: t('endpointChat'), url: absUrl(overview?.access?.chat_completions || `${base}/chat/completions`), method: 'POST' }, - { name: t('endpointModels'), url: absUrl(overview?.access?.models || `${base}/models`), method: 'GET' }, - { name: t('endpointHealth'), url: absUrl(overview?.access?.health || '/health'), method: 'GET' }, - ], [base, overview, t]) - const metrics = [ { label: t('metricRequests'), value: traffic.totals.requests as number | null, kind: 'compact' as const, detail: t('statsWindowHint', { window: t(hours === 1 ? 'statsWindow1h' : hours === 168 ? 'statsWindow7d' : 'statsWindow24h') }), ok: traffic.totals.requests > 0 }, { label: t('metricSuccess'), value: traffic.totals.success_rate, kind: 'percent' as const, detail: `${traffic.totals.ok} ${t('logsFilterOk')} · ${traffic.totals.error} ${t('logsFilterError')}`, ok: traffic.totals.requests === 0 || traffic.totals.success_rate >= 0.9 }, @@ -395,31 +382,6 @@ export function OverviewPage() { )} - - - {t('endpoints')} - {t('routesHint')} - - - {endpoints.map((item) => ( - - {item.method} - - {item.name} - {item.url} - - - { void navigator.clipboard.writeText(item.url); setCopiedEndpoint(item.name); window.setTimeout(() => setCopiedEndpoint(''), 1100) }}>{copiedEndpoint === item.name ? OK : } - window.open(item.url, '_blank', 'noopener,noreferrer')}> - - - ))} - - - {lastError === '—' ? 'Authorization: Bearer' : lastError} - {t('navLogs')} - - ) diff --git a/internal/api/server.go b/internal/api/server.go index 8931d5f..de1aa19 100644 --- a/internal/api/server.go +++ b/internal/api/server.go @@ -324,6 +324,7 @@ func (s *Server) handleOverview(w http.ResponseWriter, r *http.Request) { "models": models, "access": map[string]any{ "openai_base_url": "/v1", "chat_completions": endpoint.ChatCompletionsPath, + "messages": endpoint.MessagesPath, "responses": endpoint.ResponsesPath, "models": endpoint.ModelsPath, "health": endpoint.HealthPath, "hint": "Console APIs and /v1 require the API key stored in SQLite.", }, diff --git a/internal/webui/static/assets/TrafficChart-Bsagkecw.js b/internal/webui/static/assets/TrafficChart-DQffUNa7.js similarity index 99% rename from internal/webui/static/assets/TrafficChart-Bsagkecw.js rename to internal/webui/static/assets/TrafficChart-DQffUNa7.js index 01569de..3495591 100644 --- a/internal/webui/static/assets/TrafficChart-Bsagkecw.js +++ b/internal/webui/static/assets/TrafficChart-DQffUNa7.js @@ -1,4 +1,4 @@ -import{a as e,c as t,d as n,i as r,l as i,n as a,o,r as s,s as c,t as l,u}from"./index-B1CaSp6w.js";var d=`dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture`.split(`.`);function f(e){return typeof e==`string`&&d.includes(e)}var p=n(t()),m=new Set(`aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle`.split(`.`));function h(e){return typeof e==`string`&&m.has(e)}function g(e){return typeof e==`string`&&e.startsWith(`data-`)}function _(e){if(typeof e!=`object`||!e)return{};var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(h(n)||g(n))&&(t[n]=e[n]);return t}function v(e){if(e==null)return null;if((0,p.isValidElement)(e)&&typeof e.props==`object`&&e.props!==null){var t=e.props;return _(t)}return typeof e==`object`&&!Array.isArray(e)?_(e):null}function y(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(h(n)||g(n)||f(n))&&(t[n]=e[n]);return t}function b(e){return e==null?null:(0,p.isValidElement)(e)?y(e.props):typeof e==`object`&&!Array.isArray(e)?y(e):null}var x=[`children`,`width`,`height`,`viewBox`,`className`,`style`,`title`,`desc`];function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var n=e.children,r=e.width,i=e.height,a=e.viewBox,s=e.className,c=e.style,l=e.title,u=e.desc,d=C(e,x),f=a||{width:r,height:i,x:0,y:0},m=o(`recharts-surface`,s);return p.createElement(`svg`,S({},y(d),{className:m,width:r,height:i,style:c,viewBox:`${f.x} ${f.y} ${f.width} ${f.height}`,ref:t}),p.createElement(`title`,null,l),p.createElement(`desc`,null,u),n)}),E=[`children`,`className`];function D(){return D=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var n=e.children,r=e.className,i=O(e,E),a=o(`recharts-layer`,r);return p.createElement(`g`,D({className:a},y(i),{ref:t}),n)});function j(e){return e===`__proto__`}var M=/\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;function N(e){switch(typeof e){case`number`:case`symbol`:return!1;case`string`:return e===``||e.startsWith(`.`)||e.endsWith(`.`)?!1:M.test(e);default:return!1}}function ee(e){return typeof e==`string`||typeof e==`symbol`?e:Object.is(e?.valueOf?.(),-0)?`-0`:String(e)}function te(e){return typeof e==`symbol`||e instanceof Symbol}function ne(e){return e==null?``:re(e)}function re(e){if(typeof e==`string`)return e;if(Array.isArray(e))return e.map(re).join(`,`);if(te(e))return e.toString();let t=e+``;return t===`0`&&Object.is(Number(e),-0)?`-0`:t}function ie(e){if(Array.isArray(e))return e.map(ee);if(typeof e==`symbol`)return[e];e=ne(e);let t=[],n=e.length;if(n===0)return t;let r=0,i=``,a=``,o=!1,s=!1,c=/^-?\d+(?:\.\d+)?$/;for(e.charCodeAt(0)===46&&t.push(``);r1&&arguments[1]!==void 0?arguments[1]:se),n=Math.round(e*t)/t;return Object.is(n,-0)?0:n}function P(e){var t=[...arguments].slice(1);return e.reduce((e,n,r)=>{var i=t[r-1];return typeof i==`string`?e+i+n:i===void 0?e+n:e+ce(i)+n},``)}var le=e=>e===0?0:e>0?1:-1,ue=e=>typeof e==`number`&&e!=+e,de=e=>typeof e==`string`&&e.length>1&&e.indexOf(`%`)===e.length-1,F=e=>(typeof e==`number`||e instanceof Number)&&!ue(e),fe=e=>F(e)||typeof e==`string`,pe=0,me=e=>{var t=++pe;return`${e||``}${t}`},he=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(!F(e)&&typeof e!=`string`)return n;var i;if(de(e)){if(t==null)return n;var a=e.indexOf(`%`);i=t*parseFloat(e.slice(0,a))/100}else i=+e;return ue(i)&&(i=n),r&&t!=null&&i>t&&(i=t),i},ge=e=>{if(!Array.isArray(e))return!1;for(var t=e.length,n={},r=0;re&&(typeof t==`function`?t(e):ae(e,t))===n)}var I=e=>e==null,ye=e=>I(e)?e:`${e.charAt(0).toUpperCase()}${e.slice(1)}`;function be(e){return e!=null}function xe(){}function Se(e){if(e)return{x:e.x,y:e.y,upperWidth:`upperWidth`in e?e.upperWidth:e.width,lowerWidth:`lowerWidth`in e?e.lowerWidth:e.width,width:e.width,height:e.height}}function Ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function we(e){for(var t=1;t{var t=e.viewBox,n=e.position,r=e.offset,i=r===void 0?0:r,a=e.parentViewBox,o=e.clamp,s=Se(t),c=s.x,l=s.y,u=s.height,d=s.upperWidth,f=s.lowerWidth,p=c,m=c+(d-f)/2,h=(p+m)/2,g=(d+f)/2,_=p+d/2,v=u>=0?1:-1,y=v*i,b=v>0?`end`:`start`,x=v>0?`start`:`end`,S=d>=0?1:-1,C=S*i,w=S>0?`end`:`start`,T=S>0?`start`:`end`,E=a;if(n===`top`){var D={x:p+d/2,y:l-y,horizontalAnchor:`middle`,verticalAnchor:b};return o&&E&&(D.height=Math.max(l-E.y,0),D.width=d),D}if(n===`bottom`){var O={x:m+f/2,y:l+u+y,horizontalAnchor:`middle`,verticalAnchor:x};return o&&E&&(O.height=Math.max(E.y+E.height-(l+u),0),O.width=f),O}if(n===`left`){var k={x:h-C,y:l+u/2,horizontalAnchor:w,verticalAnchor:`middle`};return o&&E&&(k.width=Math.max(k.x-E.x,0),k.height=u),k}if(n===`right`){var A={x:h+g+C,y:l+u/2,horizontalAnchor:T,verticalAnchor:`middle`};return o&&E&&(A.width=Math.max(E.x+E.width-A.x,0),A.height=u),A}var j=o&&E?{width:g,height:u}:{};return n===`insideLeft`?we({x:h+C,y:l+u/2,horizontalAnchor:T,verticalAnchor:`middle`},j):n===`insideRight`?we({x:h+g-C,y:l+u/2,horizontalAnchor:w,verticalAnchor:`middle`},j):n===`insideTop`?we({x:p+d/2,y:l+y,horizontalAnchor:`middle`,verticalAnchor:x},j):n===`insideBottom`?we({x:m+f/2,y:l+u-y,horizontalAnchor:`middle`,verticalAnchor:b},j):n===`insideTopLeft`?we({x:p+C,y:l+y,horizontalAnchor:T,verticalAnchor:x},j):n===`insideTopRight`?we({x:p+d-C,y:l+y,horizontalAnchor:w,verticalAnchor:x},j):n===`insideBottomLeft`?we({x:m+C,y:l+u-y,horizontalAnchor:T,verticalAnchor:b},j):n===`insideBottomRight`?we({x:m+f-C,y:l+u-y,horizontalAnchor:w,verticalAnchor:b},j):n&&typeof n==`object`&&(F(n.x)||de(n.x))&&(F(n.y)||de(n.y))?we({x:c+he(n.x,g),y:l+he(n.y,u),horizontalAnchor:`end`,verticalAnchor:`end`},j):we({x:_,y:l+u/2,horizontalAnchor:`middle`,verticalAnchor:`middle`},j)},ke=[`top`,`left`,`right`,`bottom`];function Ae(e){return e==null?!1:typeof e==`object`||ke.includes(e)}var je=(0,p.createContext)(null);function L(e){return function(){return e}}var Me=Math.PI,Ne=2*Me,Pe=1e-6,Fe=Ne-Pe;function Ie(e){this._+=e[0];for(let t=1,n=e.length;t=0))throw Error(`invalid digits: ${e}`);if(t>15)return Ie;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;tPe){if(!(Math.abs(u*s-c*l)>Pe)||!i)this._append`L${this._x1=e},${this._y1=t}`;else{let f=n-a,p=r-o,m=s*s+c*c,h=f*f+p*p,g=Math.sqrt(m),_=Math.sqrt(d),v=i*Math.tan((Me-Math.acos((m+d-h)/(2*g*_)))/2),y=v/_,b=v/g;Math.abs(y-1)>Pe&&this._append`L${e+y*l},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*f>l*p)},${this._x1=e+b*s},${this._y1=t+b*c}`}}}arc(e,t,n,r,i,a){if(e=+e,t=+t,n=+n,a=!!a,n<0)throw Error(`negative radius: ${n}`);let o=n*Math.cos(r),s=n*Math.sin(r),c=e+o,l=t+s,u=1^a,d=a?r-i:i-r;this._x1===null?this._append`M${c},${l}`:(Math.abs(this._x1-c)>Pe||Math.abs(this._y1-l)>Pe)&&this._append`L${c},${l}`,n&&(d<0&&(d=d%Ne+Ne),d>Fe?this._append`A${n},${n},0,1,${u},${e-o},${t-s}A${n},${n},0,1,${u},${this._x1=c},${this._y1=l}`:d>Pe&&this._append`A${n},${n},0,${+(d>=Me)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};Re.prototype;function ze(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new Re(t)}Array.prototype.slice;function Be(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function Ve(e){this._context=e}Ve.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};function He(e){return new Ve(e)}function Ue(e){return e[0]}function We(e){return e[1]}function Ge(e,t){var n=L(!0),r=null,i=He,a=null,o=ze(s);e=typeof e==`function`?e:e===void 0?Ue:L(e),t=typeof t==`function`?t:t===void 0?We:L(t);function s(s){var c,l=(s=Be(s)).length,u,d=!1,f;for(r??(a=i(f=o())),c=0;c<=l;++c)!(c=d;--f)s.point(_[f],v[f]);s.lineEnd(),s.areaEnd()}}h&&(_[u]=+e(m,u,l),v[u]=+t(m,u,l),s.point(r?+r(m,u,l):_[u],n?+n(m,u,l):v[u]))}if(g)return s=null,g+``||null}function u(){return Ge().defined(i).curve(o).context(a)}return l.x=function(t){return arguments.length?(e=typeof t==`function`?t:L(+t),r=null,l):e},l.x0=function(t){return arguments.length?(e=typeof t==`function`?t:L(+t),l):e},l.x1=function(e){return arguments.length?(r=e==null?null:typeof e==`function`?e:L(+e),l):r},l.y=function(e){return arguments.length?(t=typeof e==`function`?e:L(+e),n=null,l):t},l.y0=function(e){return arguments.length?(t=typeof e==`function`?e:L(+e),l):t},l.y1=function(e){return arguments.length?(n=e==null?null:typeof e==`function`?e:L(+e),l):n},l.lineX0=l.lineY0=function(){return u().x(e).y(t)},l.lineY1=function(){return u().x(e).y(n)},l.lineX1=function(){return u().x(r).y(t)},l.defined=function(e){return arguments.length?(i=typeof e==`function`?e:L(!!e),l):i},l.curve=function(e){return arguments.length?(o=e,a!=null&&(s=o(a)),l):o},l.context=function(e){return arguments.length?(e==null?a=s=null:s=o(a=e),l):a},l}var qe=class{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}};function Je(e){return new qe(e,!0)}function Ye(e){return new qe(e,!1)}function Xe(){}function Ze(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function Qe(e){this._context=e}Qe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Ze(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Ze(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function $e(e){return new Qe(e)}function et(e){this._context=e}et.prototype={areaStart:Xe,areaEnd:Xe,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Ze(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function tt(e){return new et(e)}function nt(e){this._context=e}nt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Ze(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function rt(e){return new nt(e)}function it(e){this._context=e}it.prototype={areaStart:Xe,areaEnd:Xe,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function at(e){return new it(e)}function ot(e){return e<0?-1:1}function st(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(ot(a)+ot(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function ct(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function lt(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function ut(e){this._context=e}ut.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:lt(this,this._t0,ct(this,this._t0))}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,e!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,lt(this,ct(this,n=st(this,e,t)),n);break;default:lt(this,this._t0,n=st(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function dt(e){this._context=new ft(e)}(dt.prototype=Object.create(ut.prototype)).point=function(e,t){ut.prototype.point.call(this,t,e)};function ft(e){this._context=e}ft.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}};function pt(e){return new ut(e)}function mt(e){return new dt(e)}function ht(e){this._context=e}ht.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n){if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=gt(e),i=gt(t),a=0,o=1;o=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[n-1]=(e[n]+i[n-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};function yt(e){return new vt(e,.5)}function bt(e){return new vt(e,0)}function xt(e){return new vt(e,1)}function St(e,t){if((o=e.length)>1)for(var n=1,r,i,a=e[t[0]],o,s=a.length;n=0;)n[t]=t;return n}function wt(e,t){return e[t]}function Tt(e){let t=[];return t.key=e,t}function Et(){var e=L([]),t=Ct,n=St,r=wt;function i(i){var a=Array.from(e.apply(this,arguments),Tt),o,s=a.length,c=-1,l;for(let e of i)for(o=0,++c;o0){for(var n,r,i=0,a=e[0].length,o;i0){for(var n=0,r=e[t[0]],i,a=r.length;n0)||!((a=(i=e[t[0]]).length)>0))){for(var n=0,r=1,i,a,o;r`radius`in e&&`startAngle`in e&&`endAngle`in e,jt=(e,t)=>{if(!e||typeof e==`function`||typeof e==`boolean`)return null;var n=e;if((0,p.isValidElement)(e)&&(n=e.props),typeof n!=`object`&&typeof n!=`function`)return null;var r={};return Object.keys(n).forEach(e=>{f(e)&&typeof n[e]==`function`&&(r[e]=t||(t=>n[e](n,t)))}),r},Mt=(e,t,n)=>r=>(e(t,n,r),null),Nt=(e,t,n)=>{if(e===null||typeof e!=`object`&&typeof e!=`function`)return null;var r=null;return Object.keys(e).forEach(i=>{var a=e[i];f(i)&&typeof a==`function`&&(r||={},r[i]=Mt(a,t,n))}),r};function Pt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ft(e){for(var t=1;t(e[t]===void 0&&r[t]!==void 0&&(e[t]=r[t]),e),n)}function Bt(e,t){let n=new Map;for(let r=0;r=0}function Wt(e){return e!=null&&typeof e!=`function`&&Ut(e.length)}function Gt(e){return function(t){return ae(t,e)}}function Kt(e){return e==null||typeof e!=`object`&&typeof e!=`function`}function qt(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Jt(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function Yt(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}var Xt=`[object RegExp]`,Zt=`[object String]`,Qt=`[object Number]`,$t=`[object Boolean]`,en=`[object Arguments]`,tn=`[object Symbol]`,nn=`[object Date]`,rn=`[object Map]`,an=`[object Set]`,on=`[object Array]`,sn=`[object Function]`,cn=`[object ArrayBuffer]`,ln=`[object Object]`,un=`[object Error]`,dn=`[object DataView]`,fn=`[object Uint8Array]`,pn=`[object Uint8ClampedArray]`,mn=`[object Uint16Array]`,hn=`[object Uint32Array]`,gn=`[object BigUint64Array]`,_n=`[object Int8Array]`,vn=`[object Int16Array]`,yn=`[object Int32Array]`,bn=`[object BigInt64Array]`,xn=`[object Float32Array]`,Sn=`[object Float64Array]`,Cn=typeof globalThis==`object`&&globalThis||typeof window==`object`&&window||typeof self==`object`&&self||typeof global==`object`&&global||(function(){return this})();function wn(e){return Cn.Buffer!==void 0&&Cn.Buffer.isBuffer(e)}function Tn(e,t){return En(e,void 0,e,new Map,t)}function En(e,t,n,r=new Map,i=void 0){let a=i?.(e,t,n,r);if(a!==void 0)return a;if(Kt(e))return e;if(r.has(e))return r.get(e);if(Array.isArray(e)){let t=Array(e.length);r.set(e,t);for(let a=0;avoid 0)}function Nn(e,t,n,r,i=!1){if(t===e)return!0;switch(typeof t){case`object`:return Pn(e,t,n,r,i);case`function`:return Object.keys(t).length>0?Nn(e,{...t},n,r,i):An(e,t);default:return jn(e)&&i?typeof t!=`string`||t===``:An(e,t)}}function Pn(e,t,n,r,i=!1){if(t==null)return!0;if(Array.isArray(t))return In(e,t,n,r);if(t instanceof Map)return Fn(e,t,n,r);if(t instanceof Set)return Ln(e,t,n,r);let a=Object.keys(t);if(e==null)return i&&a.length===0;if(i)Kt(e)&&(e=Object(e));else{let t=Yt(e);if(t!==`[object Object]`&&t!==`[object Arguments]`)return!1}if(a.length===0)return!0;if(r?.has(t))return r.get(t)===e;r?.set(t,e);try{for(let i=0;ivoid 0)}function zn(e){return e=kn(e),t=>Rn(t,e)}function Bn(e,t){return Tn(e,(n,r,i,a)=>{let o=t?.(n,r,i,a);if(o!==void 0)return o;if(typeof e==`object`){if(Yt(e)===`[object Object]`&&typeof e.constructor!=`function`){let t={};return a.set(e,t),Dn(t,e,i,a),t}switch(Object.prototype.toString.call(e)){case Qt:case Zt:case $t:{let t=new e.constructor(e?.valueOf());return Dn(t,e),t}case en:{let t={};return Dn(t,e),t.length=e.length,t[Symbol.iterator]=e[Symbol.iterator],t}default:return}}})}function Vn(e){return Bn(e)}var Hn=/^(?:0|[1-9]\d*)$/;function Un(e,t=2**53-1){switch(typeof e){case`number`:return Number.isInteger(e)&&e>=0&&e{var n=t(),i=r();function a(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var o=typeof Object.is==`function`?Object.is:a,s=i.useSyncExternalStore,c=n.useRef,l=n.useEffect,u=n.useMemo,d=n.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var a=c(null);if(a.current===null){var f={hasValue:!1,value:null};a.current=f}else f=a.current;a=u(function(){function e(e){if(!a){if(a=!0,s=e,e=r(e),i!==void 0&&f.hasValue){var t=f.value;if(i(t,e))return c=t}return c=e}if(t=c,o(s,e))return t;var n=r(e);return i!==void 0&&i(t,n)?(s=e,t):(s=e,c=n)}var a=!1,s,c,l=n===void 0?null:n;return[function(){return e(t())},l===null?void 0:function(){return e(l())}]},[t,n,r,i]);var p=s(e,a[0],a[1]);return l(function(){f.hasValue=!0,f.value=p},[p]),d(p),p}})),Qn=i(((e,t)=>{t.exports=Zn()})),$n=(0,p.createContext)(null),er=Qn(),tr=e=>e,R=()=>{var e=(0,p.useContext)($n);return e?e.store.dispatch:tr},nr=()=>{},rr=()=>nr,ir=(e,t)=>e===t;function z(e){var t=(0,p.useContext)($n),n=(0,p.useMemo)(()=>t?t=>{if(t!=null)return e(t)}:nr,[t,e]);return(0,er.useSyncExternalStoreWithSelector)(t?t.subscription.addNestedSub:rr,t?t.store.getState:nr,t?t.store.getState:nr,n,ir)}function ar(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!=`function`)throw TypeError(t)}function or(e,t=`expected all items to be functions, instead received the following types: `){if(!e.every(e=>typeof e==`function`)){let n=e.map(e=>typeof e==`function`?`function ${e.name||`unnamed`}()`:typeof e).join(`, `);throw TypeError(`${t}[${n}]`)}}var sr=e=>Array.isArray(e)?e:[e];function cr(e){let t=Array.isArray(e[0])?e[0]:e;return or(t,`createSelector expects all input-selectors to be functions, but received the following types: `),t}function lr(e,t){let n=[],{length:r}=e;for(let i=0;i`u`?ur:WeakRef,fr=0,pr=1;function mr(){return{s:fr,v:void 0,o:null,p:null}}function hr(e){return e instanceof dr?e.deref():e}function gr(e,t={}){let n=mr(),{resultEqualityCheck:r}=t,i,a=0;function o(){let t=n,{length:o}=arguments;for(let e=0,n=o;e{n=mr(),o.resetResultsCount()},o.resultsCount=()=>a,o.resetResultsCount=()=>{a=0},o}function _r(e,...t){let n=typeof e==`function`?{memoize:e,memoizeOptions:t}:e,r=(...e)=>{let t=0,r=0,i,a={},o=e.pop();typeof o==`object`&&(a=o,o=e.pop()),ar(o,`createSelector expects an output function after the inputs, but received: [${typeof o}]`);let{memoize:s,memoizeOptions:c=[],argsMemoize:l=gr,argsMemoizeOptions:u=[]}={...n,...a},d=sr(c),f=sr(u),p=cr(e),m=s(function(){return t++,o.apply(null,arguments)},...d),h=l(function(){r++;let e=lr(p,arguments);return i=m.apply(null,e),i},...f);return Object.assign(h,{resultFunc:o,memoizedResultFunc:m,dependencies:p,dependencyRecomputations:()=>r,resetDependencyRecomputations:()=>{r=0},lastResult:()=>i,recomputations:()=>t,resetRecomputations:()=>{t=0},memoize:s,argsMemoize:l})};return Object.assign(r,{withTypes:()=>r}),r}var B=_r(gr);function vr(e,t=1){let n=[],r=Math.floor(t),i=(e,t)=>{for(let a=0;a{if(e!==t){let r=br(e),i=br(t);if(r===i&&r===0){if(et)return n===`desc`?-1:1}return n===`desc`?i-r:r-i}return 0},Sr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Cr=/^\w*$/;function wr(e,t){return Array.isArray(e)?!1:typeof e==`number`||typeof e==`boolean`||e==null||te(e)?!0:typeof e==`string`&&(Cr.test(e)||!Sr.test(e))||t!=null&&Object.hasOwn(t,e)}function Tr(e,t,n,r){if(e==null)return[];n=r?void 0:n,Array.isArray(e)||(e=Wt(e)?Array.from(e):Object.values(e)),Array.isArray(t)||(t=t==null?[null]:[t]),t.length===0&&(t=[null]),Array.isArray(n)||(n=n==null?[]:[n]),n=n.map(e=>String(e));let i=(e,t)=>{let n=e,r=0;for(;r0&&r===t.length?n:void 0},a=(e,t)=>{if(e==null)return t;if(t!=null)return typeof e==`object`&&`key`in e?Object.hasOwn(t,e.key)?t[e.key]:i(t,e.path):typeof e==`function`?e(t):Array.isArray(e)?i(t,e):t[e]},o=t.map(e=>(Array.isArray(e)&&e.length===1&&(e=e[0]),e==null||typeof e==`function`||Array.isArray(e)||wr(e)?e:{key:e,path:ie(e)}));return e.map(e=>({original:e,criteria:o.map(t=>a(t,e))})).slice().sort((e,t)=>{for(let r=0;re.original)}function Er(e,...t){let n=t.length;return n>1&&yr(e,t[0],t[1])?t=[]:n>2&&yr(t[0],t[1],t[2])&&(t=[t[0]]),Tr(e,vr(t),[`asc`])}var Dr=e=>e.legend.settings,Or=e=>e.legend.size;B([e=>e.legend.payload,Dr],(e,t)=>{var n=t.itemSorter,r=e.flat(1);return n?Er(r,n):r});function kr(e,t){return Pr(e)||Nr(e,t)||jr(e,t)||Ar()}function Ar(){throw TypeError(`Invalid attempt to destructure non-iterable instance. +import{a as e,c as t,d as n,i as r,l as i,n as a,o,r as s,s as c,t as l,u}from"./index-CBGxSNpJ.js";var d=`dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture`.split(`.`);function f(e){return typeof e==`string`&&d.includes(e)}var p=n(t()),m=new Set(`aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle`.split(`.`));function h(e){return typeof e==`string`&&m.has(e)}function g(e){return typeof e==`string`&&e.startsWith(`data-`)}function _(e){if(typeof e!=`object`||!e)return{};var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(h(n)||g(n))&&(t[n]=e[n]);return t}function v(e){if(e==null)return null;if((0,p.isValidElement)(e)&&typeof e.props==`object`&&e.props!==null){var t=e.props;return _(t)}return typeof e==`object`&&!Array.isArray(e)?_(e):null}function y(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(h(n)||g(n)||f(n))&&(t[n]=e[n]);return t}function b(e){return e==null?null:(0,p.isValidElement)(e)?y(e.props):typeof e==`object`&&!Array.isArray(e)?y(e):null}var x=[`children`,`width`,`height`,`viewBox`,`className`,`style`,`title`,`desc`];function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var n=e.children,r=e.width,i=e.height,a=e.viewBox,s=e.className,c=e.style,l=e.title,u=e.desc,d=C(e,x),f=a||{width:r,height:i,x:0,y:0},m=o(`recharts-surface`,s);return p.createElement(`svg`,S({},y(d),{className:m,width:r,height:i,style:c,viewBox:`${f.x} ${f.y} ${f.width} ${f.height}`,ref:t}),p.createElement(`title`,null,l),p.createElement(`desc`,null,u),n)}),E=[`children`,`className`];function D(){return D=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var n=e.children,r=e.className,i=O(e,E),a=o(`recharts-layer`,r);return p.createElement(`g`,D({className:a},y(i),{ref:t}),n)});function j(e){return e===`__proto__`}var M=/\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;function N(e){switch(typeof e){case`number`:case`symbol`:return!1;case`string`:return e===``||e.startsWith(`.`)||e.endsWith(`.`)?!1:M.test(e);default:return!1}}function ee(e){return typeof e==`string`||typeof e==`symbol`?e:Object.is(e?.valueOf?.(),-0)?`-0`:String(e)}function te(e){return typeof e==`symbol`||e instanceof Symbol}function ne(e){return e==null?``:re(e)}function re(e){if(typeof e==`string`)return e;if(Array.isArray(e))return e.map(re).join(`,`);if(te(e))return e.toString();let t=e+``;return t===`0`&&Object.is(Number(e),-0)?`-0`:t}function ie(e){if(Array.isArray(e))return e.map(ee);if(typeof e==`symbol`)return[e];e=ne(e);let t=[],n=e.length;if(n===0)return t;let r=0,i=``,a=``,o=!1,s=!1,c=/^-?\d+(?:\.\d+)?$/;for(e.charCodeAt(0)===46&&t.push(``);r1&&arguments[1]!==void 0?arguments[1]:se),n=Math.round(e*t)/t;return Object.is(n,-0)?0:n}function P(e){var t=[...arguments].slice(1);return e.reduce((e,n,r)=>{var i=t[r-1];return typeof i==`string`?e+i+n:i===void 0?e+n:e+ce(i)+n},``)}var le=e=>e===0?0:e>0?1:-1,ue=e=>typeof e==`number`&&e!=+e,de=e=>typeof e==`string`&&e.length>1&&e.indexOf(`%`)===e.length-1,F=e=>(typeof e==`number`||e instanceof Number)&&!ue(e),fe=e=>F(e)||typeof e==`string`,pe=0,me=e=>{var t=++pe;return`${e||``}${t}`},he=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(!F(e)&&typeof e!=`string`)return n;var i;if(de(e)){if(t==null)return n;var a=e.indexOf(`%`);i=t*parseFloat(e.slice(0,a))/100}else i=+e;return ue(i)&&(i=n),r&&t!=null&&i>t&&(i=t),i},ge=e=>{if(!Array.isArray(e))return!1;for(var t=e.length,n={},r=0;re&&(typeof t==`function`?t(e):ae(e,t))===n)}var I=e=>e==null,ye=e=>I(e)?e:`${e.charAt(0).toUpperCase()}${e.slice(1)}`;function be(e){return e!=null}function xe(){}function Se(e){if(e)return{x:e.x,y:e.y,upperWidth:`upperWidth`in e?e.upperWidth:e.width,lowerWidth:`lowerWidth`in e?e.lowerWidth:e.width,width:e.width,height:e.height}}function Ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function we(e){for(var t=1;t{var t=e.viewBox,n=e.position,r=e.offset,i=r===void 0?0:r,a=e.parentViewBox,o=e.clamp,s=Se(t),c=s.x,l=s.y,u=s.height,d=s.upperWidth,f=s.lowerWidth,p=c,m=c+(d-f)/2,h=(p+m)/2,g=(d+f)/2,_=p+d/2,v=u>=0?1:-1,y=v*i,b=v>0?`end`:`start`,x=v>0?`start`:`end`,S=d>=0?1:-1,C=S*i,w=S>0?`end`:`start`,T=S>0?`start`:`end`,E=a;if(n===`top`){var D={x:p+d/2,y:l-y,horizontalAnchor:`middle`,verticalAnchor:b};return o&&E&&(D.height=Math.max(l-E.y,0),D.width=d),D}if(n===`bottom`){var O={x:m+f/2,y:l+u+y,horizontalAnchor:`middle`,verticalAnchor:x};return o&&E&&(O.height=Math.max(E.y+E.height-(l+u),0),O.width=f),O}if(n===`left`){var k={x:h-C,y:l+u/2,horizontalAnchor:w,verticalAnchor:`middle`};return o&&E&&(k.width=Math.max(k.x-E.x,0),k.height=u),k}if(n===`right`){var A={x:h+g+C,y:l+u/2,horizontalAnchor:T,verticalAnchor:`middle`};return o&&E&&(A.width=Math.max(E.x+E.width-A.x,0),A.height=u),A}var j=o&&E?{width:g,height:u}:{};return n===`insideLeft`?we({x:h+C,y:l+u/2,horizontalAnchor:T,verticalAnchor:`middle`},j):n===`insideRight`?we({x:h+g-C,y:l+u/2,horizontalAnchor:w,verticalAnchor:`middle`},j):n===`insideTop`?we({x:p+d/2,y:l+y,horizontalAnchor:`middle`,verticalAnchor:x},j):n===`insideBottom`?we({x:m+f/2,y:l+u-y,horizontalAnchor:`middle`,verticalAnchor:b},j):n===`insideTopLeft`?we({x:p+C,y:l+y,horizontalAnchor:T,verticalAnchor:x},j):n===`insideTopRight`?we({x:p+d-C,y:l+y,horizontalAnchor:w,verticalAnchor:x},j):n===`insideBottomLeft`?we({x:m+C,y:l+u-y,horizontalAnchor:T,verticalAnchor:b},j):n===`insideBottomRight`?we({x:m+f-C,y:l+u-y,horizontalAnchor:w,verticalAnchor:b},j):n&&typeof n==`object`&&(F(n.x)||de(n.x))&&(F(n.y)||de(n.y))?we({x:c+he(n.x,g),y:l+he(n.y,u),horizontalAnchor:`end`,verticalAnchor:`end`},j):we({x:_,y:l+u/2,horizontalAnchor:`middle`,verticalAnchor:`middle`},j)},ke=[`top`,`left`,`right`,`bottom`];function Ae(e){return e==null?!1:typeof e==`object`||ke.includes(e)}var je=(0,p.createContext)(null);function L(e){return function(){return e}}var Me=Math.PI,Ne=2*Me,Pe=1e-6,Fe=Ne-Pe;function Ie(e){this._+=e[0];for(let t=1,n=e.length;t=0))throw Error(`invalid digits: ${e}`);if(t>15)return Ie;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;tPe){if(!(Math.abs(u*s-c*l)>Pe)||!i)this._append`L${this._x1=e},${this._y1=t}`;else{let f=n-a,p=r-o,m=s*s+c*c,h=f*f+p*p,g=Math.sqrt(m),_=Math.sqrt(d),v=i*Math.tan((Me-Math.acos((m+d-h)/(2*g*_)))/2),y=v/_,b=v/g;Math.abs(y-1)>Pe&&this._append`L${e+y*l},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*f>l*p)},${this._x1=e+b*s},${this._y1=t+b*c}`}}}arc(e,t,n,r,i,a){if(e=+e,t=+t,n=+n,a=!!a,n<0)throw Error(`negative radius: ${n}`);let o=n*Math.cos(r),s=n*Math.sin(r),c=e+o,l=t+s,u=1^a,d=a?r-i:i-r;this._x1===null?this._append`M${c},${l}`:(Math.abs(this._x1-c)>Pe||Math.abs(this._y1-l)>Pe)&&this._append`L${c},${l}`,n&&(d<0&&(d=d%Ne+Ne),d>Fe?this._append`A${n},${n},0,1,${u},${e-o},${t-s}A${n},${n},0,1,${u},${this._x1=c},${this._y1=l}`:d>Pe&&this._append`A${n},${n},0,${+(d>=Me)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};Re.prototype;function ze(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new Re(t)}Array.prototype.slice;function Be(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function Ve(e){this._context=e}Ve.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};function He(e){return new Ve(e)}function Ue(e){return e[0]}function We(e){return e[1]}function Ge(e,t){var n=L(!0),r=null,i=He,a=null,o=ze(s);e=typeof e==`function`?e:e===void 0?Ue:L(e),t=typeof t==`function`?t:t===void 0?We:L(t);function s(s){var c,l=(s=Be(s)).length,u,d=!1,f;for(r??(a=i(f=o())),c=0;c<=l;++c)!(c=d;--f)s.point(_[f],v[f]);s.lineEnd(),s.areaEnd()}}h&&(_[u]=+e(m,u,l),v[u]=+t(m,u,l),s.point(r?+r(m,u,l):_[u],n?+n(m,u,l):v[u]))}if(g)return s=null,g+``||null}function u(){return Ge().defined(i).curve(o).context(a)}return l.x=function(t){return arguments.length?(e=typeof t==`function`?t:L(+t),r=null,l):e},l.x0=function(t){return arguments.length?(e=typeof t==`function`?t:L(+t),l):e},l.x1=function(e){return arguments.length?(r=e==null?null:typeof e==`function`?e:L(+e),l):r},l.y=function(e){return arguments.length?(t=typeof e==`function`?e:L(+e),n=null,l):t},l.y0=function(e){return arguments.length?(t=typeof e==`function`?e:L(+e),l):t},l.y1=function(e){return arguments.length?(n=e==null?null:typeof e==`function`?e:L(+e),l):n},l.lineX0=l.lineY0=function(){return u().x(e).y(t)},l.lineY1=function(){return u().x(e).y(n)},l.lineX1=function(){return u().x(r).y(t)},l.defined=function(e){return arguments.length?(i=typeof e==`function`?e:L(!!e),l):i},l.curve=function(e){return arguments.length?(o=e,a!=null&&(s=o(a)),l):o},l.context=function(e){return arguments.length?(e==null?a=s=null:s=o(a=e),l):a},l}var qe=class{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}};function Je(e){return new qe(e,!0)}function Ye(e){return new qe(e,!1)}function Xe(){}function Ze(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function Qe(e){this._context=e}Qe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Ze(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Ze(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function $e(e){return new Qe(e)}function et(e){this._context=e}et.prototype={areaStart:Xe,areaEnd:Xe,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Ze(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function tt(e){return new et(e)}function nt(e){this._context=e}nt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Ze(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function rt(e){return new nt(e)}function it(e){this._context=e}it.prototype={areaStart:Xe,areaEnd:Xe,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function at(e){return new it(e)}function ot(e){return e<0?-1:1}function st(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(ot(a)+ot(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function ct(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function lt(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function ut(e){this._context=e}ut.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:lt(this,this._t0,ct(this,this._t0))}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,e!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,lt(this,ct(this,n=st(this,e,t)),n);break;default:lt(this,this._t0,n=st(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function dt(e){this._context=new ft(e)}(dt.prototype=Object.create(ut.prototype)).point=function(e,t){ut.prototype.point.call(this,t,e)};function ft(e){this._context=e}ft.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}};function pt(e){return new ut(e)}function mt(e){return new dt(e)}function ht(e){this._context=e}ht.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n){if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=gt(e),i=gt(t),a=0,o=1;o=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[n-1]=(e[n]+i[n-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};function yt(e){return new vt(e,.5)}function bt(e){return new vt(e,0)}function xt(e){return new vt(e,1)}function St(e,t){if((o=e.length)>1)for(var n=1,r,i,a=e[t[0]],o,s=a.length;n=0;)n[t]=t;return n}function wt(e,t){return e[t]}function Tt(e){let t=[];return t.key=e,t}function Et(){var e=L([]),t=Ct,n=St,r=wt;function i(i){var a=Array.from(e.apply(this,arguments),Tt),o,s=a.length,c=-1,l;for(let e of i)for(o=0,++c;o0){for(var n,r,i=0,a=e[0].length,o;i0){for(var n=0,r=e[t[0]],i,a=r.length;n0)||!((a=(i=e[t[0]]).length)>0))){for(var n=0,r=1,i,a,o;r`radius`in e&&`startAngle`in e&&`endAngle`in e,jt=(e,t)=>{if(!e||typeof e==`function`||typeof e==`boolean`)return null;var n=e;if((0,p.isValidElement)(e)&&(n=e.props),typeof n!=`object`&&typeof n!=`function`)return null;var r={};return Object.keys(n).forEach(e=>{f(e)&&typeof n[e]==`function`&&(r[e]=t||(t=>n[e](n,t)))}),r},Mt=(e,t,n)=>r=>(e(t,n,r),null),Nt=(e,t,n)=>{if(e===null||typeof e!=`object`&&typeof e!=`function`)return null;var r=null;return Object.keys(e).forEach(i=>{var a=e[i];f(i)&&typeof a==`function`&&(r||={},r[i]=Mt(a,t,n))}),r};function Pt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ft(e){for(var t=1;t(e[t]===void 0&&r[t]!==void 0&&(e[t]=r[t]),e),n)}function Bt(e,t){let n=new Map;for(let r=0;r=0}function Wt(e){return e!=null&&typeof e!=`function`&&Ut(e.length)}function Gt(e){return function(t){return ae(t,e)}}function Kt(e){return e==null||typeof e!=`object`&&typeof e!=`function`}function qt(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Jt(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function Yt(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}var Xt=`[object RegExp]`,Zt=`[object String]`,Qt=`[object Number]`,$t=`[object Boolean]`,en=`[object Arguments]`,tn=`[object Symbol]`,nn=`[object Date]`,rn=`[object Map]`,an=`[object Set]`,on=`[object Array]`,sn=`[object Function]`,cn=`[object ArrayBuffer]`,ln=`[object Object]`,un=`[object Error]`,dn=`[object DataView]`,fn=`[object Uint8Array]`,pn=`[object Uint8ClampedArray]`,mn=`[object Uint16Array]`,hn=`[object Uint32Array]`,gn=`[object BigUint64Array]`,_n=`[object Int8Array]`,vn=`[object Int16Array]`,yn=`[object Int32Array]`,bn=`[object BigInt64Array]`,xn=`[object Float32Array]`,Sn=`[object Float64Array]`,Cn=typeof globalThis==`object`&&globalThis||typeof window==`object`&&window||typeof self==`object`&&self||typeof global==`object`&&global||(function(){return this})();function wn(e){return Cn.Buffer!==void 0&&Cn.Buffer.isBuffer(e)}function Tn(e,t){return En(e,void 0,e,new Map,t)}function En(e,t,n,r=new Map,i=void 0){let a=i?.(e,t,n,r);if(a!==void 0)return a;if(Kt(e))return e;if(r.has(e))return r.get(e);if(Array.isArray(e)){let t=Array(e.length);r.set(e,t);for(let a=0;avoid 0)}function Nn(e,t,n,r,i=!1){if(t===e)return!0;switch(typeof t){case`object`:return Pn(e,t,n,r,i);case`function`:return Object.keys(t).length>0?Nn(e,{...t},n,r,i):An(e,t);default:return jn(e)&&i?typeof t!=`string`||t===``:An(e,t)}}function Pn(e,t,n,r,i=!1){if(t==null)return!0;if(Array.isArray(t))return In(e,t,n,r);if(t instanceof Map)return Fn(e,t,n,r);if(t instanceof Set)return Ln(e,t,n,r);let a=Object.keys(t);if(e==null)return i&&a.length===0;if(i)Kt(e)&&(e=Object(e));else{let t=Yt(e);if(t!==`[object Object]`&&t!==`[object Arguments]`)return!1}if(a.length===0)return!0;if(r?.has(t))return r.get(t)===e;r?.set(t,e);try{for(let i=0;ivoid 0)}function zn(e){return e=kn(e),t=>Rn(t,e)}function Bn(e,t){return Tn(e,(n,r,i,a)=>{let o=t?.(n,r,i,a);if(o!==void 0)return o;if(typeof e==`object`){if(Yt(e)===`[object Object]`&&typeof e.constructor!=`function`){let t={};return a.set(e,t),Dn(t,e,i,a),t}switch(Object.prototype.toString.call(e)){case Qt:case Zt:case $t:{let t=new e.constructor(e?.valueOf());return Dn(t,e),t}case en:{let t={};return Dn(t,e),t.length=e.length,t[Symbol.iterator]=e[Symbol.iterator],t}default:return}}})}function Vn(e){return Bn(e)}var Hn=/^(?:0|[1-9]\d*)$/;function Un(e,t=2**53-1){switch(typeof e){case`number`:return Number.isInteger(e)&&e>=0&&e{var n=t(),i=r();function a(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var o=typeof Object.is==`function`?Object.is:a,s=i.useSyncExternalStore,c=n.useRef,l=n.useEffect,u=n.useMemo,d=n.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var a=c(null);if(a.current===null){var f={hasValue:!1,value:null};a.current=f}else f=a.current;a=u(function(){function e(e){if(!a){if(a=!0,s=e,e=r(e),i!==void 0&&f.hasValue){var t=f.value;if(i(t,e))return c=t}return c=e}if(t=c,o(s,e))return t;var n=r(e);return i!==void 0&&i(t,n)?(s=e,t):(s=e,c=n)}var a=!1,s,c,l=n===void 0?null:n;return[function(){return e(t())},l===null?void 0:function(){return e(l())}]},[t,n,r,i]);var p=s(e,a[0],a[1]);return l(function(){f.hasValue=!0,f.value=p},[p]),d(p),p}})),Qn=i(((e,t)=>{t.exports=Zn()})),$n=(0,p.createContext)(null),er=Qn(),tr=e=>e,R=()=>{var e=(0,p.useContext)($n);return e?e.store.dispatch:tr},nr=()=>{},rr=()=>nr,ir=(e,t)=>e===t;function z(e){var t=(0,p.useContext)($n),n=(0,p.useMemo)(()=>t?t=>{if(t!=null)return e(t)}:nr,[t,e]);return(0,er.useSyncExternalStoreWithSelector)(t?t.subscription.addNestedSub:rr,t?t.store.getState:nr,t?t.store.getState:nr,n,ir)}function ar(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!=`function`)throw TypeError(t)}function or(e,t=`expected all items to be functions, instead received the following types: `){if(!e.every(e=>typeof e==`function`)){let n=e.map(e=>typeof e==`function`?`function ${e.name||`unnamed`}()`:typeof e).join(`, `);throw TypeError(`${t}[${n}]`)}}var sr=e=>Array.isArray(e)?e:[e];function cr(e){let t=Array.isArray(e[0])?e[0]:e;return or(t,`createSelector expects all input-selectors to be functions, but received the following types: `),t}function lr(e,t){let n=[],{length:r}=e;for(let i=0;i`u`?ur:WeakRef,fr=0,pr=1;function mr(){return{s:fr,v:void 0,o:null,p:null}}function hr(e){return e instanceof dr?e.deref():e}function gr(e,t={}){let n=mr(),{resultEqualityCheck:r}=t,i,a=0;function o(){let t=n,{length:o}=arguments;for(let e=0,n=o;e{n=mr(),o.resetResultsCount()},o.resultsCount=()=>a,o.resetResultsCount=()=>{a=0},o}function _r(e,...t){let n=typeof e==`function`?{memoize:e,memoizeOptions:t}:e,r=(...e)=>{let t=0,r=0,i,a={},o=e.pop();typeof o==`object`&&(a=o,o=e.pop()),ar(o,`createSelector expects an output function after the inputs, but received: [${typeof o}]`);let{memoize:s,memoizeOptions:c=[],argsMemoize:l=gr,argsMemoizeOptions:u=[]}={...n,...a},d=sr(c),f=sr(u),p=cr(e),m=s(function(){return t++,o.apply(null,arguments)},...d),h=l(function(){r++;let e=lr(p,arguments);return i=m.apply(null,e),i},...f);return Object.assign(h,{resultFunc:o,memoizedResultFunc:m,dependencies:p,dependencyRecomputations:()=>r,resetDependencyRecomputations:()=>{r=0},lastResult:()=>i,recomputations:()=>t,resetRecomputations:()=>{t=0},memoize:s,argsMemoize:l})};return Object.assign(r,{withTypes:()=>r}),r}var B=_r(gr);function vr(e,t=1){let n=[],r=Math.floor(t),i=(e,t)=>{for(let a=0;a{if(e!==t){let r=br(e),i=br(t);if(r===i&&r===0){if(et)return n===`desc`?-1:1}return n===`desc`?i-r:r-i}return 0},Sr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Cr=/^\w*$/;function wr(e,t){return Array.isArray(e)?!1:typeof e==`number`||typeof e==`boolean`||e==null||te(e)?!0:typeof e==`string`&&(Cr.test(e)||!Sr.test(e))||t!=null&&Object.hasOwn(t,e)}function Tr(e,t,n,r){if(e==null)return[];n=r?void 0:n,Array.isArray(e)||(e=Wt(e)?Array.from(e):Object.values(e)),Array.isArray(t)||(t=t==null?[null]:[t]),t.length===0&&(t=[null]),Array.isArray(n)||(n=n==null?[]:[n]),n=n.map(e=>String(e));let i=(e,t)=>{let n=e,r=0;for(;r0&&r===t.length?n:void 0},a=(e,t)=>{if(e==null)return t;if(t!=null)return typeof e==`object`&&`key`in e?Object.hasOwn(t,e.key)?t[e.key]:i(t,e.path):typeof e==`function`?e(t):Array.isArray(e)?i(t,e):t[e]},o=t.map(e=>(Array.isArray(e)&&e.length===1&&(e=e[0]),e==null||typeof e==`function`||Array.isArray(e)||wr(e)?e:{key:e,path:ie(e)}));return e.map(e=>({original:e,criteria:o.map(t=>a(t,e))})).slice().sort((e,t)=>{for(let r=0;re.original)}function Er(e,...t){let n=t.length;return n>1&&yr(e,t[0],t[1])?t=[]:n>2&&yr(t[0],t[1],t[2])&&(t=[t[0]]),Tr(e,vr(t),[`asc`])}var Dr=e=>e.legend.settings,Or=e=>e.legend.size;B([e=>e.legend.payload,Dr],(e,t)=>{var n=t.itemSorter,r=e.flat(1);return n?Er(r,n):r});function kr(e,t){return Pr(e)||Nr(e,t)||jr(e,t)||Ar()}function Ar(){throw TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jr(e,t){if(e){if(typeof e==`string`)return Mr(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mr(e,t):void 0}}function Mr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);nFr||Math.abs(e.left-t.left)>Fr||Math.abs(e.top-t.top)>Fr||Math.abs(e.width-t.width)>Fr}function Lr(e){var t=e.getBoundingClientRect();return{height:t.height,left:t.left,top:t.top,width:t.width}}function Rr(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=kr((0,p.useState)({height:0,left:0,top:0,width:0}),2),n=t[0],r=t[1],i=(0,p.useRef)(null),a=(0,p.useRef)(n);a.current=n;var o=(0,p.useCallback)(e=>{if(i.current!=null&&(i.current.disconnect(),i.current=null),e!=null){var t=Lr(e);if(Ir(t,a.current)&&r(t),typeof ResizeObserver<`u`){var n=new ResizeObserver(()=>{var t=Lr(e);Ir(t,a.current)&&r(t)});n.observe(e),i.current=n}}},[...e]);return(0,p.useEffect)(()=>()=>{var e;(e=i.current)==null||e.disconnect()},[]),[n,o]}function zr(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Br=typeof Symbol==`function`&&Symbol.observable||`@@observable`,Vr=()=>Math.random().toString(36).substring(7).split(``).join(`.`),Hr={INIT:`@@redux/INIT${Vr()}`,REPLACE:`@@redux/REPLACE${Vr()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Vr()}`};function Ur(e){if(typeof e!=`object`||!e)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Wr(e,t,n){if(typeof e!=`function`)throw Error(zr(2));if(typeof t==`function`&&typeof n==`function`||typeof n==`function`&&typeof arguments[3]==`function`)throw Error(zr(0));if(typeof t==`function`&&n===void 0&&(n=t,t=void 0),n!==void 0){if(typeof n!=`function`)throw Error(zr(1));return n(Wr)(e,t)}let r=e,i=t,a=new Map,o=a,s=0,c=!1;function l(){o===a&&(o=new Map,a.forEach((e,t)=>{o.set(t,e)}))}function u(){if(c)throw Error(zr(3));return i}function d(e){if(typeof e!=`function`)throw Error(zr(4));if(c)throw Error(zr(5));let t=!0;l();let n=s++;return o.set(n,e),function(){if(t){if(c)throw Error(zr(6));t=!1,l(),o.delete(n),a=null}}}function f(e){if(!Ur(e))throw Error(zr(7));if(e.type===void 0)throw Error(zr(8));if(typeof e.type!=`string`)throw Error(zr(17));if(c)throw Error(zr(9));try{c=!0,i=r(i,e)}finally{c=!1}return(a=o).forEach(e=>{e()}),e}function p(e){if(typeof e!=`function`)throw Error(zr(10));r=e,f({type:Hr.REPLACE})}function m(){let e=d;return{subscribe(t){if(typeof t!=`object`||!t)throw Error(zr(11));function n(){let e=t;e.next&&e.next(u())}return n(),{unsubscribe:e(n)}},[Br](){return this}}}return f({type:Hr.INIT}),{dispatch:f,subscribe:d,getState:u,replaceReducer:p,[Br]:m}}function Gr(e){Object.keys(e).forEach(t=>{let n=e[t];if(n(void 0,{type:Hr.INIT})===void 0)throw Error(zr(12));if(n(void 0,{type:Hr.PROBE_UNKNOWN_ACTION()})===void 0)throw Error(zr(13))})}function Kr(e){let t=Object.keys(e),n={};for(let r=0;re:e.length===1?e[0]:e.reduce((e,t)=>(...n)=>e(t(...n)))}function Jr(...e){return t=>(n,r)=>{let i=t(n,r),a=()=>{throw Error(zr(15))},o={getState:i.getState,dispatch:(e,...t)=>a(e,...t)};return a=qr(...e.map(e=>e(o)))(i.dispatch),{...i,dispatch:a}}}function Yr(e){return Ur(e)&&`type`in e&&typeof e.type==`string`}var Xr=Symbol.for(`immer-nothing`),Zr=Symbol.for(`immer-draftable`),Qr=Symbol.for(`immer-state`);function $r(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var ei=Object,ti=ei.getPrototypeOf,ni=`constructor`,ri=`prototype`,ii=`configurable`,ai=`enumerable`,oi=`writable`,si=`value`,ci=e=>!!e&&!!e[Qr];function li(e){return e?fi(e)||yi(e)||!!e[Zr]||!!e[ni]?.[Zr]||bi(e)||xi(e):!1}var ui=ei[ri][ni].toString(),di=new WeakMap;function fi(e){if(!e||!Si(e))return!1;let t=ti(e);if(t===null||t===ei[ri])return!0;let n=ei.hasOwnProperty.call(t,ni)&&t[ni];if(n===Object)return!0;if(!Ci(n))return!1;let r=di.get(n);return r===void 0&&(r=Function.toString.call(n),di.set(n,r)),r===ui}function pi(e,t,n=!0){mi(e)===0?(n?Reflect.ownKeys(e):ei.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function mi(e){let t=e[Qr];return t?t.type_:yi(e)?1:bi(e)?2:xi(e)?3:0}var hi=(e,t,n=mi(e))=>n===2?e.has(t):ei[ri].hasOwnProperty.call(e,t),gi=(e,t,n=mi(e))=>n===2?e.get(t):e[t],_i=(e,t,n,r=mi(e))=>{r===2?e.set(t,n):r===3?e.add(n):e[t]=n};function vi(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}var yi=Array.isArray,bi=e=>e instanceof Map,xi=e=>e instanceof Set,Si=e=>typeof e==`object`,Ci=e=>typeof e==`function`,wi=e=>typeof e==`boolean`;function Ti(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var Ei=e=>e.copy_||e.base_,Di=e=>e.modified_?e.copy_:e.base_;function Oi(e,t){if(bi(e))return new Map(e);if(xi(e))return new Set(e);if(yi(e))return Array[ri].slice.call(e);let n=fi(e);if(t===!0||t===`class_only`&&!n){let t=ei.getOwnPropertyDescriptors(e);delete t[Qr];let n=Reflect.ownKeys(t);for(let r=0;r1&&ei.defineProperties(e,{set:ji,add:ji,clear:ji,delete:ji}),ei.freeze(e),t&&pi(e,(e,t)=>{ki(t,!0)},!1),e)}function Ai(){$r(2)}var ji={[si]:Ai};function Mi(e){return e===null||!Si(e)||ei.isFrozen(e)}var Ni=`MapSet`,Pi=`Patches`,Fi=`ArrayMethods`,Ii={};function Li(e){let t=Ii[e];return t||$r(0,e),t}var Ri=e=>!!Ii[e],zi,Bi=()=>zi,Vi=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:Ri(Ni)?Li(Ni):void 0,arrayMethodsPlugin_:Ri(Fi)?Li(Fi):void 0});function Hi(e,t){t&&(e.patchPlugin_=Li(Pi),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Ui(e){Wi(e),e.drafts_.forEach(Ki),e.drafts_=null}function Wi(e){e===zi&&(zi=e.parent_)}var Gi=e=>zi=Vi(zi,e);function Ki(e){let t=e[Qr];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function qi(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];if(e!==void 0&&e!==n){n[Qr].modified_&&(Ui(t),$r(4)),li(e)&&(e=Ji(t,e));let{patchPlugin_:r}=t;r&&r.generateReplacementPatches_(n[Qr].base_,e,t)}else e=Ji(t,n);return Yi(t,e,!0),Ui(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===Xr?void 0:e}function Ji(e,t){if(Mi(t))return t;let n=t[Qr];if(!n)return ra(t,e.handledSet_,e);if(!Zi(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){let{callbacks_:t}=n;if(t)for(;t.length>0;)t.pop()(e);ta(n,e)}return n.copy_}function Yi(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&ki(t,n)}function Xi(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var Zi=(e,t)=>e.scope_===t,Qi=[];function $i(e,t,n,r){let i=Ei(e),a=e.type_;if(r!==void 0&&gi(i,r,a)===t){_i(i,r,n,a);return}if(!e.draftLocations_){let t=e.draftLocations_=new Map;pi(i,(e,n)=>{if(ci(n)){let r=t.get(n)||[];r.push(e),t.set(n,r)}})}let o=e.draftLocations_.get(t)??Qi;for(let e of o)_i(i,e,n,a)}function ea(e,t,n){e.callbacks_.push(function(r){let i=t;if(!i||!Zi(i,r))return;r.mapSetPlugin_?.fixSetContents(i);let a=Di(i);$i(e,i.draft_??i,a,n),ta(i,r)})}function ta(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let r=n.getPath(e);r&&n.generatePatches_(e,r,t)}Xi(e)}}function na(e,t,n){let{scope_:r}=e;if(ci(n)){let i=n[Qr];Zi(i,r)&&i.callbacks_.push(function(){fa(e),$i(e,n,Di(i),t)})}else li(n)&&e.callbacks_.push(function(){let i=Ei(e);e.type_===3?i.has(n)&&ra(n,r.handledSet_,r):gi(i,t,e.type_)===n&&r.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&ra(gi(e.copy_,t,e.type_),r.handledSet_,r)})}function ra(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||ci(e)||t.has(e)||!li(e)||Mi(e)?e:(t.add(e),pi(e,(r,i)=>{if(ci(i)){let t=i[Qr];Zi(t,n)&&(_i(e,r,Di(t),e.type_),Xi(t))}else li(i)&&ra(i,t,n)}),e)}function ia(e,t){let n=yi(e),r={type_:+!!n,scope_:t?t.scope_:Bi(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=r,a=aa;n&&(i=[r],a=oa);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,[s,r]}var aa={get(e,t){if(t===Qr)return e;let n=e.scope_.arrayMethodsPlugin_,r=e.type_===1&&typeof t==`string`;if(r&&n?.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);let i=Ei(e);if(!hi(i,t,e.type_))return la(e,i,t);let a=i[t];if(e.finalized_||!li(a)||r&&e.operationMethod&&n?.isMutatingArrayMethod(e.operationMethod)&&Ti(t))return a;if(a===sa(e.base_,t)||ca(e,t,a)){fa(e);let n=e.type_===1?+t:t,r=ma(e.scope_,a,e,n);return e.copy_[n]=r}return a},has(e,t){return t in Ei(e)},ownKeys(e){return Reflect.ownKeys(Ei(e))},set(e,t,n){let r=ua(Ei(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=sa(Ei(e),t),i=r?.[Qr];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if(vi(n,r)&&(n!==void 0||hi(e.base_,t,e.type_)))return!0;fa(e),da(e)}return e.copy_[t]===n&&(n!==void 0||hi(e.copy_,t,e.type_))||Number.isNaN(n)&&Number.isNaN(e.copy_[t])?!0:(e.copy_[t]=n,e.assigned_.set(t,!0),na(e,t,n),!0)},deleteProperty(e,t){return fa(e),sa(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),da(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=Ei(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{[oi]:!0,[ii]:e.type_!==1||t!==`length`,[ai]:r[ai],[si]:n[t]}},defineProperty(){$r(11)},getPrototypeOf(e){return ti(e.base_)},setPrototypeOf(){$r(12)}},oa={};for(let e in aa){let t=aa[e];oa[e]=function(){let e=arguments;return e[0]=e[0][0],t.apply(this,e)}}oa.deleteProperty=function(e,t){return oa.set.call(this,e,t,void 0)},oa.set=function(e,t,n){return aa.set.call(this,e[0],t,n,e[0])};function sa(e,t){let n=e[Qr];return(n?Ei(n):e)[t]}function ca(e,t,n){return e.type_!==1||!e.allIndicesReassigned_||e.assigned_?.get(t)||!li(n)||n[Qr]?!1:e.baseRefs_.has(n)}function la(e,t,n){let r=ua(t,n);return r?si in r?r[si]:r.get?.call(e.draft_):void 0}function ua(e,t){if(!(t in e))return;let n=ti(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=ti(n)}}function da(e){e.modified_||(e.modified_=!0,e.parent_&&da(e.parent_))}function fa(e){e.copy_||=(e.assigned_=new Map,Oi(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var pa=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,n)=>{if(Ci(e)&&!Ci(t)){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}Ci(t)||$r(6),n!==void 0&&!Ci(n)&&$r(7);let r;if(li(e)){let i=Gi(this),a=ma(i,e,void 0),o=!0;try{r=t(a),o=!1}finally{o?Ui(i):Wi(i)}return Hi(i,n),qi(r,i)}if(!e||!Si(e)){if(r=t(e),r===void 0&&(r=e),r===Xr&&(r=void 0),this.autoFreeze_&&ki(r,!0),n){let t=[],i=[];Li(Pi).generateReplacementPatches_(e,r,{patches_:t,inversePatches_:i}),n(t,i)}return r}$r(1,e)},this.produceWithPatches=(e,t)=>{if(Ci(e))return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},wi(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),wi(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),wi(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){li(e)||$r(8),ci(e)&&(e=ha(e));let t=Gi(this),n=ma(t,e,void 0);return n[Qr].isManual_=!0,Wi(t),n}finishDraft(e,t){let n=e&&e[Qr];(!n||!n.isManual_)&&$r(9);let{scope_:r}=n;return Hi(r,t),qi(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=Li(Pi).applyPatches_;return ci(e)?r(e,t):this.produce(e,e=>r(e,t))}};function ma(e,t,n,r){let[i,a]=bi(t)?Li(Ni).proxyMap_(t,n):xi(t)?Li(Ni).proxySet_(t,n):ia(t,n);return(n?.scope_??Bi()).drafts_.push(i),a.callbacks_=n?.callbacks_??[],a.key_=r,n&&r!==void 0?ea(n,a,r):a.callbacks_.push(function(e){e.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:t}=e;a.modified_&&t&&t.generatePatches_(a,[],e)}),i}function ha(e){return ci(e)||$r(10,e),ga(e)}function ga(e){if(!li(e)||Mi(e))return e;let t=e[Qr],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Oi(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=Oi(e,!0);return pi(n,(e,t)=>{_i(n,e,ga(t))},r),t&&(t.finalized_=!1),n}globalThis.Iterator?.from;var _a=new pa().produce,V=e=>e;function va(e){return({dispatch:t,getState:n})=>r=>i=>typeof i==`function`?i(t,n,e):r(i)}var ya=va(),ba=va,xa=typeof window<`u`&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]==`object`?qr:qr.apply(null,arguments)};typeof window<`u`&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function Sa(e,t){function n(...n){if(t){let r=t(...n);if(!r)throw Error(jo(0));return{type:e,payload:r.payload,...`meta`in r&&{meta:r.meta},...`error`in r&&{error:r.error}}}return{type:e,payload:n[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=t=>Yr(t)&&t.type===e,n}var Ca=class e extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(...e){return super.concat.apply(this,e)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new e(...t[0].concat(this)):new e(...t.concat(this))}};function wa(e){return li(e)?_a(e,()=>{}):e}function Ta(e,t,n){return e.has(t)?e.get(t):e.set(t,n(t)).get(t)}function Ea(e){return typeof e==`boolean`}var Da=()=>function(e){let{thunk:t=!0,immutableCheck:n=!0,serializableCheck:r=!0,actionCreatorCheck:i=!0}=e??{},a=new Ca;return t&&(Ea(t)?a.push(ya):a.push(ba(t.extraArgument))),a},Oa=`RTK_autoBatch`,H=()=>e=>({payload:e,meta:{[Oa]:!0}}),ka=e=>t=>{setTimeout(t,e)},Aa=(e,t)=>n=>{let r=!1,i=()=>{r||(r=!0,cancelAnimationFrame(a),clearTimeout(o),n())},a=e(i),o=setTimeout(i,t)},ja=(e={type:`raf`})=>t=>(...n)=>{let r=t(...n),i=!0,a=!1,o=!1,s=new Set,c=e.type===`tick`?queueMicrotask:e.type===`raf`?typeof window<`u`&&window.requestAnimationFrame?Aa(window.requestAnimationFrame,100):ka(10):e.type===`callback`?e.queueNotification:ka(e.timeout),l=()=>{o=!1,a&&(a=!1,s.forEach(e=>e()))};return Object.assign({},r,{subscribe(e){let t=r.subscribe(()=>i&&e());return s.add(e),()=>{t(),s.delete(e)}},dispatch(e){try{return i=!e?.meta?.[Oa],a=!i,a&&(o||(o=!0,c(l))),r.dispatch(e)}finally{i=!0}}})},Ma=e=>function(t){let{autoBatch:n=!0}=t??{},r=new Ca(e);return n&&r.push(ja(typeof n==`object`?n:void 0)),r};function Na(e){let t=Da(),{reducer:n=void 0,middleware:r,devTools:i=!0,duplicateMiddlewareCheck:a=!0,preloadedState:o=void 0,enhancers:s=void 0}=e||{},c;if(typeof n==`function`)c=n;else if(Ur(n))c=Kr(n);else throw Error(jo(1));let l;l=typeof r==`function`?r(t):t();let u=qr;i&&(u=xa({trace:!1,...typeof i==`object`&&i}));let d=Ma(Jr(...l)),f=typeof s==`function`?s(d):d(),p=u(...f);return Wr(c,o,p)}function Pa(e){let t={},n=[],r,i={addCase(e,n){let r=typeof e==`string`?e:e.type;if(!r)throw Error(jo(28));if(r in t)throw Error(jo(29));return t[r]=n,i},addAsyncThunk(e,r){return r.pending&&(t[e.pending.type]=r.pending),r.rejected&&(t[e.rejected.type]=r.rejected),r.fulfilled&&(t[e.fulfilled.type]=r.fulfilled),r.settled&&n.push({matcher:e.settled,reducer:r.settled}),i},addMatcher(e,t){return n.push({matcher:e,reducer:t}),i},addDefaultCase(e){return r=e,i}};return e(i),[t,n,r]}function Fa(e){return typeof e==`function`}function Ia(e,t){let[n,r,i]=Pa(t),a;if(Fa(e))a=()=>wa(e());else{let t=wa(e);a=()=>t}function o(e=a(),t){let o=[n[t.type],...r.filter(({matcher:e})=>e(t)).map(({reducer:e})=>e)];return o.filter(e=>!!e).length===0&&(o=[i]),o.reduce((e,n)=>{if(n){if(ci(e)){let r=n(e,t);return r===void 0?e:r}if(li(e))return _a(e,e=>n(e,t));{let r=n(e,t);if(r===void 0){if(e===null)return e;throw Error(`A case reducer on a non-draftable value must not return undefined`)}return r}}return e},e)}return o.getInitialState=a,o}var La=`ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW`,Ra=(e=21)=>{let t=``,n=e;for(;n--;)t+=La[Math.random()*64|0];return t},za=Symbol.for(`rtk-slice-createasyncthunk`);function Ba(e,t){return`${e}/${t}`}function Va({creators:e}={}){let t=e?.asyncThunk?.[za];return function(e){let{name:n,reducerPath:r=n}=e;if(!n)throw Error(jo(11));let i=(typeof e.reducers==`function`?e.reducers(Wa()):e.reducers)||{},a=Object.keys(i),o={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},s={addCase(e,t){let n=typeof e==`string`?e:e.type;if(!n)throw Error(jo(12));if(n in o.sliceCaseReducersByType)throw Error(jo(13));return o.sliceCaseReducersByType[n]=t,s},addMatcher(e,t){return o.sliceMatchers.push({matcher:e,reducer:t}),s},exposeAction(e,t){return o.actionCreators[e]=t,s},exposeCaseReducer(e,t){return o.sliceCaseReducersByName[e]=t,s}};a.forEach(r=>{let a=i[r],o={reducerName:r,type:Ba(n,r),createNotation:typeof e.reducers==`function`};Ka(a)?Ja(o,a,s,t):Ga(o,a,s)});function c(){let[t={},n=[],r=void 0]=typeof e.extraReducers==`function`?Pa(e.extraReducers):[e.extraReducers],i={...t,...o.sliceCaseReducersByType};return Ia(e.initialState,e=>{for(let t in i)e.addCase(t,i[t]);for(let t of o.sliceMatchers)e.addMatcher(t.matcher,t.reducer);for(let t of n)e.addMatcher(t.matcher,t.reducer);r&&e.addDefaultCase(r)})}let l=e=>e,u=new Map,d=new WeakMap,f;function p(e,t){return f||=c(),f(e,t)}function m(){return f||=c(),f.getInitialState()}function h(t,n=!1){function r(e){let i=e[t];return i===void 0&&n&&(i=Ta(d,r,m)),i}function i(t=l){return Ta(Ta(u,n,()=>new WeakMap),t,()=>{let r={};for(let[i,a]of Object.entries(e.selectors??{}))r[i]=Ha(a,t,()=>Ta(d,t,m),n);return r})}return{reducerPath:t,getSelectors:i,get selectors(){return i(r)},selectSlice:r}}let g={name:n,reducer:p,actions:o.actionCreators,caseReducers:o.sliceCaseReducersByName,getInitialState:m,...h(r),injectInto(e,{reducerPath:t,...n}={}){let i=t??r;return e.inject({reducerPath:i,reducer:p},n),{...g,...h(i,!0)}}};return g}}function Ha(e,t,n,r){function i(i,...a){let o=t(i);return o===void 0&&r&&(o=n()),e(o,...a)}return i.unwrapped=e,i}var Ua=Va();function Wa(){function e(e,t){return{_reducerDefinitionType:`asyncThunk`,payloadCreator:e,...t}}return e.withTypes=()=>e,{reducer(e){return Object.assign({[e.name](...t){return e(...t)}}[e.name],{_reducerDefinitionType:`reducer`})},preparedReducer(e,t){return{_reducerDefinitionType:`reducerWithPrepare`,prepare:e,reducer:t}},asyncThunk:e}}function Ga({type:e,reducerName:t,createNotation:n},r,i){let a,o;if(`reducer`in r){if(n&&!qa(r))throw Error(jo(17));a=r.reducer,o=r.prepare}else a=r;i.addCase(e,a).exposeCaseReducer(t,a).exposeAction(t,o?Sa(e,o):Sa(e))}function Ka(e){return e._reducerDefinitionType===`asyncThunk`}function qa(e){return e._reducerDefinitionType===`reducerWithPrepare`}function Ja({type:e,reducerName:t},n,r,i){if(!i)throw Error(jo(18));let{payloadCreator:a,fulfilled:o,pending:s,rejected:c,settled:l,options:u}=n,d=i(e,a,u);r.exposeAction(t,d),o&&r.addCase(d.fulfilled,o),s&&r.addCase(d.pending,s),c&&r.addCase(d.rejected,c),l&&r.addMatcher(d.settled,l),r.exposeCaseReducer(t,{fulfilled:o||Ya,pending:s||Ya,rejected:c||Ya,settled:l||Ya})}function Ya(){}var Xa=`task`,Za=`listener`,Qa=`completed`,$a=`cancelled`,eo=`task-${$a}`,to=`task-${Qa}`,no=`${Za}-${$a}`,ro=`${Za}-${Qa}`,io=class{constructor(e){this.code=e,this.message=`${Xa} ${$a} (reason: ${e})`}code;name=`TaskAbortError`;message},ao=(e,t)=>{if(typeof e!=`function`)throw TypeError(jo(32))},oo=()=>{},so=(e,t=oo)=>(e.catch(t),e),co=(e,t)=>(e.addEventListener(`abort`,t,{once:!0}),()=>e.removeEventListener(`abort`,t)),lo=e=>{if(e.aborted)throw new io(e.reason)};function uo(e,t){let n=oo;return new Promise((r,i)=>{let a=()=>i(new io(e.reason));if(e.aborted){a();return}n=co(e,a),t.finally(()=>n()).then(r,i)}).finally(()=>{n=oo})}var fo=async(e,t)=>{try{return await Promise.resolve(),{status:`ok`,value:await e()}}catch(e){return{status:e instanceof io?`cancelled`:`rejected`,error:e}}finally{t?.()}},po=e=>t=>so(uo(e,t).then(t=>(lo(e),t))),mo=e=>{let t=po(e);return e=>t(new Promise(t=>setTimeout(t,e)))},{assign:ho}=Object,go={},_o=`listenerMiddleware`,vo=(e,t)=>{let n=t=>co(e,()=>t.abort(e.reason));return(r,i)=>{ao(r,`taskExecutor`);let a=new AbortController;n(a);let o=fo(async()=>{lo(e),lo(a.signal);let t=await r({pause:po(a.signal),delay:mo(a.signal),signal:a.signal});return lo(a.signal),t},()=>a.abort(to));return i?.autoJoin&&t.push(o.catch(oo)),{result:po(e)(o),cancel(){a.abort(eo)}}}},yo=(e,t)=>{let n=async(n,r)=>{lo(t);let i=()=>{},a=[new Promise((t,r)=>{let a=e({predicate:n,effect:(e,n)=>{n.unsubscribe(),t([e,n.getState(),n.getOriginalState()])}});i=()=>{a(),r()}})];r!=null&&a.push(new Promise(e=>setTimeout(e,r,null)));try{let e=await uo(t,Promise.race(a));return lo(t),e}finally{i()}};return((e,t)=>so(n(e,t)))},bo=e=>{let{type:t,actionCreator:n,matcher:r,predicate:i,effect:a}=e;if(t)i=Sa(t).match;else if(n)t=n.type,i=n.match;else if(r)i=r;else if(!i)throw Error(jo(21));return ao(a,`options.listener`),{predicate:i,type:t,effect:a}},xo=ho(e=>{let{type:t,predicate:n,effect:r}=bo(e);return{id:Ra(),effect:r,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw Error(jo(22))}}},{withTypes:()=>xo}),So=(e,t)=>{let{type:n,effect:r,predicate:i}=bo(t);return Array.from(e.values()).find(e=>(typeof n==`string`?e.type===n:e.predicate===i)&&e.effect===r)},Co=e=>{e.pending.forEach(e=>{e.abort(no)})},wo=(e,t)=>()=>{for(let e of t.keys())Co(e);e.clear()},To=(e,t,n)=>{try{e(t,n)}catch(e){setTimeout(()=>{throw e},0)}},Eo=ho(Sa(`${_o}/add`),{withTypes:()=>Eo}),Do=Sa(`${_o}/removeAll`),Oo=ho(Sa(`${_o}/remove`),{withTypes:()=>Oo}),ko=(...e)=>{console.error(`${_o}/error`,...e)},Ao=(e={})=>{let t=new Map,n=new Map,r=e=>{let t=n.get(e)??0;n.set(e,t+1)},i=e=>{let t=n.get(e)??1;t===1?n.delete(e):n.set(e,t-1)},{extra:a,onError:o=ko}=e;ao(o,`onError`);let s=e=>(e.unsubscribe=()=>t.delete(e.id),t.set(e.id,e),t=>{e.unsubscribe(),t?.cancelActive&&Co(e)}),c=(e=>{let n=So(t,e)??xo(e);return s(n)});ho(c,{withTypes:()=>c});let l=e=>{let n=So(t,e);return n&&(n.unsubscribe(),e.cancelActive&&Co(n)),!!n};ho(l,{withTypes:()=>l});let u=async(e,n,s,l)=>{let u=new AbortController,d=yo(c,u.signal),f=[];try{e.pending.add(u),r(e),await Promise.resolve(e.effect(n,ho({},s,{getOriginalState:l,condition:(e,t)=>d(e,t).then(Boolean),take:d,delay:mo(u.signal),pause:po(u.signal),extra:a,signal:u.signal,fork:vo(u.signal,f),unsubscribe:e.unsubscribe,subscribe:()=>{t.set(e.id,e)},cancelActiveListeners:()=>{e.pending.forEach((e,t,n)=>{e!==u&&(e.abort(no),n.delete(e))})},cancel:()=>{u.abort(no),e.pending.delete(u)},throwIfCancelled:()=>{lo(u.signal)}})))}catch(e){e instanceof io||To(o,e,{raisedBy:`effect`})}finally{await Promise.all(f),u.abort(ro),i(e),e.pending.delete(u)}},d=wo(t,n);return{middleware:e=>n=>r=>{if(!Yr(r))return n(r);if(Eo.match(r))return c(r.payload);if(Do.match(r)){d();return}if(Oo.match(r))return l(r.payload);let i=e.getState(),a=()=>{if(i===go)throw Error(jo(23));return i},s;try{if(s=n(r),t.size>0){let n=e.getState(),s=Array.from(t.values());for(let t of s){let s=!1;try{s=t.predicate(r,n,i)}catch(e){s=!1,To(o,e,{raisedBy:`predicate`})}s&&u(t,r,e,a)}}}finally{i=go}return s},startListening:c,stopListening:l,clearListeners:d}};function jo(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Mo=Ua({name:`chartLayout`,initialState:{layoutType:`horizontal`,width:0,height:0,margin:{top:5,right:5,bottom:5,left:5},scale:1},reducers:{setLayout(e,t){e.layoutType=t.payload},setChartSize(e,t){e.width=t.payload.width,e.height=t.payload.height},setMargin(e,t){e.margin.top=t.payload.top??0,e.margin.right=t.payload.right??0,e.margin.bottom=t.payload.bottom??0,e.margin.left=t.payload.left??0},setScale(e,t){e.scale=t.payload}}}),No=Mo.actions,Po=No.setMargin,Fo=No.setLayout,Io=No.setChartSize,Lo=No.setScale,Ro=Mo.reducer;function zo(e,t,n){return Array.isArray(e)&&e&&t+n!==0?e.slice(t,n+1):e}function U(e){return Number.isFinite(e)}function Bo(e){return typeof e==`number`&&e>0&&Number.isFinite(e)}function Vo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ho(e){for(var t=1;t{if(t&&n){var r=n.width,i=n.height,a=t.align,o=t.verticalAlign,s=t.layout,c=t.position,l=t.offset,u=l===void 0?0:l;if(c!=null){if(Ae(c)){if(c===`top`&&F(e.top))return Ho(Ho({},e),{},{top:e.top+(i||0)+u});if(c===`bottom`&&F(e.bottom))return Ho(Ho({},e),{},{bottom:e.bottom+(i||0)+u});if(c===`left`&&F(e.left))return Ho(Ho({},e),{},{left:e.left+(r||0)+u});if(c===`right`&&F(e.right))return Ho(Ho({},e),{},{right:e.right+(r||0)+u})}return e}if((s===`vertical`||s===`horizontal`&&o===`middle`)&&a!==`center`&&F(e[a]))return Ho(Ho({},e),{},{[a]:e[a]+(r||0)});if((s===`horizontal`||s===`vertical`&&a===`center`)&&o!==`middle`&&F(e[o]))return Ho(Ho({},e),{},{[o]:e[o]+(i||0)})}return e},qo=(e,t)=>e===`horizontal`&&t===`xAxis`||e===`vertical`&&t===`yAxis`||e===`centric`&&t===`angleAxis`||e===`radial`&&t===`radiusAxis`,Jo=(e,t,n,r)=>{if(r)return e.map(e=>e.coordinate);var i,a,o=e.map(e=>(e.coordinate===t&&(i=!0),e.coordinate===n&&(a=!0),e.coordinate));return i||o.push(t),a||o.push(n),o},Yo=(e,t,n)=>{if(!e)return null;var r=e.duplicateDomain,i=e.type,a=e.range,o=e.scale,s=e.realScaleType,c=e.isCategorical,l=e.categoricalDomain,u=e.tickCount,d=e.ticks,f=e.niceTicks,p=e.axisType;if(!o)return null;var m=s===`scaleBand`&&o.bandwidth?o.bandwidth()/2:2,h=(t||n)&&i===`category`&&o.bandwidth?o.bandwidth()/m:0;return h=p===`angleAxis`&&a&&a.length>=2?le(a[0]-a[1])*2*h:h,t&&(d||f)?(d||f||[]).map((e,t)=>{var n=r?r.indexOf(e):e,i=o.map(n);return U(i)?{coordinate:i+h,value:e,offset:h,index:t}:null}).filter(be):c&&l?l.map((e,t)=>{var n=o.map(e);return U(n)?{coordinate:n+h,value:e,index:t,offset:h}:null}).filter(be):o.ticks&&!n&&u!=null?o.ticks(u).map((e,t)=>{var n=o.map(e);return U(n)?{coordinate:n+h,value:e,index:t,offset:h}:null}).filter(be):o.domain().map((e,t)=>{var n=o.map(e);return U(n)?{coordinate:n+h,value:r?r[e]:e,index:t,offset:h}:null}).filter(be)},Xo={sign:e=>{var t=e.length;if(!(t<=0)){var n=e[0]?.length;if(!(n==null||n<=0))for(var r=0;r=0?(s[0]=i,i+=u,s[1]=i):(s[0]=a,a+=u,s[1]=a)}}}},expand:Dt,none:St,silhouette:Ot,wiggle:kt,positive:e=>{var t=e.length;if(!(t<=0)){var n=e[0]?.length;if(!(n==null||n<=0))for(var r=0;r=0?(o[0]=i,i+=s,o[1]=i):(o[0]=0,o[1]=0)}}}}},Zo=(e,t,n)=>{var r=Xo[n]??St,i=Et().keys(t).value((e,t)=>Number(W(e,t,0))).order(Ct).offset(r)(e);return i.forEach((n,r)=>{n.forEach((n,i)=>{var a=W(e[i],t[r],0);Array.isArray(a)&&a.length===2&&F(a[0])&&F(a[1])&&(n[0]=a[0],n[1]=a[1])})}),i};function Qo(e){return e==null?void 0:String(e)}function $o(e){var t=e.axis,n=e.ticks,r=e.bandSize,i=e.entry,a=e.index,o=e.dataKey;if(t.type===`category`){if(!t.allowDuplicatedCategory&&t.dataKey&&!I(i[t.dataKey])){var s=ve(n,`value`,i[t.dataKey]);if(s)return s.coordinate+r/2}return n!=null&&n[a]?n[a].coordinate+r/2:null}var c=W(i,I(o)?t.dataKey:o),l=t.scale.map(c);return F(l)?l:null}var es=e=>{var t=e.flat(2).filter(F);return[Math.min(...t),Math.max(...t)]},ts=e=>[e[0]===1/0?0:e[0],e[1]===-1/0?0:e[1]],ns=(e,t,n)=>{if(e!=null&&Object.keys(e).length!==0)return ts(Object.keys(e).reduce((r,i)=>{var a=e[i];if(!a)return r;var o=a.stackedData.reduce((e,r)=>{var i=es(zo(r,t,n));return!U(i[0])||!U(i[1])?e:[Math.min(e[0],i[0]),Math.max(e[1],i[1])]},[1/0,-1/0]);return[Math.min(o[0],r[0]),Math.max(o[1],r[1])]},[1/0,-1/0]))},rs=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,is=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,as=(e,t,n)=>{if(e&&e.scale&&e.scale.bandwidth){var r=e.scale.bandwidth();if(!n||r>0)return r}if(e&&t&&t.length>=2){for(var i=Er(t,e=>e.coordinate),a=[],o=0,s=1,c=i.length;su&&(d=Math.min(f,d));return d===1/0?0:d}return n?void 0:0};function os(e){var t=e.tooltipEntrySettings,n=e.dataKey,r=e.payload,i=e.value,a=e.name;return Ho(Ho({},t),{},{dataKey:n,payload:r,value:i,name:a})}function ss(e,t){if(e!=null)return String(e);if(typeof t==`string`)return t}var cs=(e,t)=>{if(t===`horizontal`)return e.relativeX;if(t===`vertical`)return e.relativeY},ls=(e,t)=>t===`centric`?e.angle:e.radius,us=e=>e.layout.width,ds=e=>e.layout.height,fs=e=>e.layout.scale,ps=e=>e.layout.margin,ms=B(e=>e.cartesianAxis.xAxis,e=>Object.values(e)),hs=B(e=>e.cartesianAxis.yAxis,e=>Object.values(e)),gs=`data-recharts-item-index`;function _s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function vs(e){for(var t=1;te.brush.height;function Cs(e){return hs(e).reduce((e,t)=>t.orientation===`left`&&!t.mirror&&!t.hide?e+(typeof t.width==`number`?t.width:60):e,0)}function ws(e){return hs(e).reduce((e,t)=>t.orientation===`right`&&!t.mirror&&!t.hide?e+(typeof t.width==`number`?t.width:60):e,0)}function Ts(e){return ms(e).reduce((e,t)=>t.orientation===`top`&&!t.mirror&&!t.hide?e+(typeof t.height==`number`?t.height:30):e,0)}function Es(e){return ms(e).reduce((e,t)=>t.orientation===`bottom`&&!t.mirror&&!t.hide?e+(typeof t.height==`number`?t.height:30):e,0)}var Ds=B([us,ds,ps,Ss,Cs,ws,Ts,Es,Dr,Or],(e,t,n,r,i,a,o,s,c,l)=>{var u={left:(n.left||0)+i,right:(n.right||0)+a},d=vs(vs({},{top:(n.top||0)+o,bottom:(n.bottom||0)+s}),u),f=d.bottom;d.bottom+=r,d=Ko(d,c,l);var p=e-d.left-d.right,m=t-d.top-d.bottom;return vs(vs({brushBottom:f},d),{},{width:Math.max(p,0),height:Math.max(m,0)})}),Os=B(Ds,e=>({x:e.left,y:e.top,width:e.width,height:e.height})),ks=B(us,ds,(e,t)=>({x:0,y:0,width:e,height:t})),As=(0,p.createContext)(null),js=()=>(0,p.useContext)(As)!=null,Ms=e=>e.brush,Ns=B([Ms,Ds,ps],(e,t,n)=>({height:e.height,x:F(e.x)?e.x:t.left,y:F(e.y)?e.y:t.top+t.height+t.brushBottom-(n?.bottom||0),width:F(e.width)?e.width:t.width}));function Ps(e,t,{signal:n,edges:r}={}){let i,a=null,o=r!=null&&r.includes(`leading`),s=r==null||r.includes(`trailing`),c=()=>{a!==null&&(e.apply(i,a),i=void 0,a=null)},l=()=>{s&&c(),p()},u=null,d=()=>{u!=null&&clearTimeout(u),u=setTimeout(()=>{u=null,l()},t)},f=()=>{u!==null&&(clearTimeout(u),u=null)},p=()=>{f(),i=void 0,a=null},m=()=>{c()},h=function(...e){if(n?.aborted)return;i=this,a=e;let t=u==null;d(),o&&t&&c()};return h.schedule=d,h.cancel=p,h.flush=m,n?.addEventListener(`abort`,p,{once:!0}),h}function Fs(e,t=0,n={}){typeof n!=`object`&&(n={});let{leading:r=!1,trailing:i=!0,maxWait:a}=n,o=[,,];r&&(o[0]=`leading`),i&&(o[1]=`trailing`);let s,c=null,l=Ps(function(...t){s=e.apply(this,t),c=null},t,{edges:o}),u=function(...t){return a!=null&&(c===null&&(c=Date.now()),Date.now()-c>=a)?((r||i)&&(s=e.apply(this,t)),c=Date.now(),l.cancel(),l.schedule(),s):(l.apply(this,t),s)};return u.cancel=l.cancel,u.flush=()=>(l.flush(),s),u}function Is(e,t=0,n={}){let{leading:r=!0,trailing:i=!0}=n;return Fs(e,t,{leading:r,maxWait:t,trailing:i})}var Ls=function(e,t){var n=[...arguments].slice(2);if(typeof console<`u`&&console.warn&&(t===void 0&&console.warn(`LogUtils requires an error message argument`),!e)){if(t===void 0)console.warn(`Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.`);else{var r=0;console.warn(t.replace(/%s/g,()=>n[r++]))}}},Rs={width:`100%`,height:`100%`,debounce:0,minWidth:0,initialDimension:{width:-1,height:-1}},zs=(e,t,n)=>{var r=n.width,i=r===void 0?Rs.width:r,a=n.height,o=a===void 0?Rs.height:a,s=n.aspect,c=n.maxHeight,l=de(i)?e:Number(i),u=de(o)?t:Number(o);return s&&s>0&&(l?u=l/s:u&&(l=u*s),c&&u!=null&&u>c&&(u=c)),{calculatedWidth:l,calculatedHeight:u}},Bs={width:0,height:0,overflow:`visible`},Vs={width:0,overflowX:`visible`},Hs={height:0,overflowY:`visible`},Us={},Ws=e=>{var t=e.width,n=e.height,r=de(t),i=de(n);return r&&i?Bs:r?Vs:i?Hs:Us};function Gs(e){var t=e.width,n=e.height,r=e.aspect,i=t,a=n;return i===void 0&&a===void 0?(i=Rs.width,a=Rs.height):i===void 0?i=r&&r>0?void 0:Rs.width:a===void 0&&(a=r&&r>0?void 0:Rs.height),{width:i,height:a}}var Ks=[`aspect`,`initialDimension`,`width`,`height`,`minWidth`,`minHeight`,`maxHeight`,`children`,`debounce`,`id`,`className`,`onResize`,`style`];function qs(){return qs=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n({width:n,height:r}),[n,r]);return cc(i)?p.createElement(sc.Provider,{value:i},t):null}var uc=()=>(0,p.useContext)(sc),dc=(0,p.forwardRef)((e,t)=>{var n=e.aspect,r=e.initialDimension,i=r===void 0?Rs.initialDimension:r,a=e.width,s=e.height,c=e.minWidth,l=c===void 0?Rs.minWidth:c,u=e.minHeight,d=e.maxHeight,f=e.children,m=e.debounce,h=m===void 0?Rs.debounce:m,g=e.id,_=e.className,v=e.onResize,y=e.style,b=y===void 0?{}:y,x=ac(e,Ks),S=(0,p.useRef)(null),C=(0,p.useRef)();C.current=v,(0,p.useImperativeHandle)(t,()=>S.current);var w=$s((0,p.useState)({containerWidth:i.width,containerHeight:i.height}),2),T=w[0],E=w[1],D=(0,p.useCallback)((e,t)=>{E(n=>{var r=Math.round(e),i=Math.round(t);return n.containerWidth===r&&n.containerHeight===i?n:{containerWidth:r,containerHeight:i}})},[]);(0,p.useEffect)(()=>{if(S.current==null||typeof ResizeObserver>`u`)return xe;var e=e=>{var t,n=e[0];if(n!=null){var r=n.contentRect,i=r.width,a=r.height;D(i,a),(t=C.current)==null||t.call(C,i,a)}};h>0&&(e=Is(e,h,{trailing:!0,leading:!1}));var t=new ResizeObserver(e),n=S.current.getBoundingClientRect(),r=n.width,i=n.height;return D(r,i),t.observe(S.current),()=>{t.disconnect()}},[D,h]);var O=T.containerWidth,k=T.containerHeight;Ls(!n||n>0,`The aspect(%s) must be greater than zero.`,n);var A=zs(O,k,{width:a,height:s,aspect:n,maxHeight:d}),j=A.calculatedWidth,M=A.calculatedHeight;return Ls(O<0||k<0||j!=null&&j>0||M!=null&&M>0,`The width(%s) and height(%s) of chart should be greater than 0, please check the style of container, or the props width(%s) and height(%s), diff --git a/internal/webui/static/assets/index-B1CaSp6w.js b/internal/webui/static/assets/index-B1CaSp6w.js deleted file mode 100644 index 96158f0..0000000 --- a/internal/webui/static/assets/index-B1CaSp6w.js +++ /dev/null @@ -1,25 +0,0 @@ -var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;li[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,o)=>(o=n==null?{}:e(i(n)),c(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n));(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var u=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function D(e,t){return E(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function k(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var A=/\/+/g;function j(e,t){return typeof e==`object`&&e&&e.key!=null?k(``+e.key):t.toString(36)}function M(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function N(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,N(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+j(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(A,`$&/`)+`/`),N(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=D(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(A,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u{t.exports=u()})),f=o((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0>>1,a=e[r];if(0>>1;ri(c,n))li(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(li(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m){if(n(c)!==null)m=!0,S||(S=!0,O());else{var t=n(l);t!==null&&j(x,t.startTime-e)}}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-Tt&&E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&j(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?O():S=!1}}}var O;if(typeof y==`function`)O=function(){y(D)};else if(typeof MessageChannel<`u`){var k=new MessageChannel,A=k.port2;k.port1.onmessage=D,O=function(){A.postMessage(null)}}else O=function(){_(D,0)};function j(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,j(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,O()))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),p=o(((e,t)=>{t.exports=f()})),m=o((e=>{var t=d();function n(e){var t=`https://react.dev/errors/`+e;if(1{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=m()})),g=o((e=>{var t=p(),n=d(),r=h();function i(e){var t=`https://react.dev/errors/`+e;if(1te||(e.current=ee[te],ee[te]=null,te--)}function z(e,t){te++,ee[te]=e.current,e.current=t}var ie=ne(null),ae=ne(null),oe=ne(null),se=ne(null);function ce(e,t){switch(z(oe,t),z(ae,e),z(ie,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Kd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Kd(t),e=qd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}re(ie),z(ie,e)}function le(){re(ie),re(ae),re(oe)}function ue(e){e.memoizedState!==null&&z(se,e);var t=ie.current,n=qd(t,e.type);t!==n&&(z(ae,e),z(ie,n))}function de(e){ae.current===e&&(re(ie),re(ae)),se.current===e&&(re(se),rp._currentValue=R)}var fe,pe;function me(e){if(fe===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);fe=t&&t[1]||``,pe=-1)`:-1i||c[r]!==l[i]){var u=` -`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(``)&&(u=u.replace(``,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{he=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?me(n):``}function _e(e,t){switch(e.tag){case 26:case 27:case 5:return me(e.type);case 16:return me(`Lazy`);case 13:return e.child!==t&&t!==null?me(`Suspense Fallback`):me(`Suspense`);case 19:return me(`SuspenseList`);case 0:case 15:return ge(e.type,!1);case 11:return ge(e.type.render,!1);case 1:return ge(e.type,!0);case 31:return me(`Activity`);default:return``}}function ve(e){try{var t=``,n=null;do t+=_e(e,n),n=e,e=e.return;while(e);return t}catch(e){return` -Error generating stack: `+e.message+` -`+e.stack}}var ye=Object.prototype.hasOwnProperty,be=t.unstable_scheduleCallback,xe=t.unstable_cancelCallback,Se=t.unstable_shouldYield,Ce=t.unstable_requestPaint,we=t.unstable_now,Te=t.unstable_getCurrentPriorityLevel,Ee=t.unstable_ImmediatePriority,De=t.unstable_UserBlockingPriority,Oe=t.unstable_NormalPriority,ke=t.unstable_LowPriority,Ae=t.unstable_IdlePriority,je=t.log,Me=t.unstable_setDisableYieldValue,Ne=null,Pe=null;function Fe(e){if(typeof je==`function`&&Me(e),Pe&&typeof Pe.setStrictMode==`function`)try{Pe.setStrictMode(Ne,e)}catch{}}var Ie=Math.clz32?Math.clz32:ze,Le=Math.log,Re=Math.LN2;function ze(e){return e>>>=0,e===0?32:31-(Le(e)/Re|0)|0}var Be=256,Ve=262144,He=4194304;function Ue(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function We(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=Ue(n))):i=Ue(o):i=Ue(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Ue(n))):i=Ue(o)):i=Ue(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function Ge(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Ke(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function qe(){var e=He;return He<<=1,!(He&62914560)&&(He=4194304),e}function Je(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ye(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Xe(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0`u`||window.document===void 0||window.document.createElement===void 0),ln=!1;if(cn)try{var un={};Object.defineProperty(un,"passive",{get:function(){ln=!0}}),window.addEventListener(`test`,un,un),window.removeEventListener(`test`,un,un)}catch{ln=!1}var dn=null,fn=null,pn=null;function mn(){if(pn)return pn;var e,t=fn,n=t.length,r,i=`value`in dn?dn.value:dn.textContent,a=i.length;for(e=0;e=Kn),Yn=` `,Xn=!1;function Zn(e,t){switch(e){case`keyup`:return Wn.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function Qn(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var $n=!1;function er(e,t){switch(e){case`compositionend`:return Qn(t);case`keypress`:return t.which===32?(Xn=!0,Yn):null;case`textInput`:return e=t.data,e===Yn&&Xn?null:e;default:return null}}function tr(e,t){if($n)return e===`compositionend`||!Gn&&Zn(e,t)?(e=mn(),pn=fn=dn=null,$n=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Cr(n)}}function Tr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Tr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Er(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Ft(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ft(e.document)}return t}function Dr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var Or=cn&&`documentMode`in document&&11>=document.documentMode,kr=null,Ar=null,jr=null,Mr=!1;function Nr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Mr||kr==null||kr!==Ft(r)||(r=kr,`selectionStart`in r&&Dr(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),jr&&Sr(jr,r)||(jr=r,r=jd(Ar,`onSelect`),0>=o,i-=o,Ti=1<<32-Ie(t)+i|n<h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),Pi&&Di(i,h),l;if(d===null){for(;hg?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),Pi&&Di(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return Pi&&Di(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),Pi&&Di(a,g),u}function b(e,r,o,c){if(typeof o==`object`&&o&&o.type===y&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case _:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===y){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===O&&Oa(l)===r.type){n(e,r.sibling),c=a(r,o.props),Fa(c,o),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}o.type===y?(c=fi(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=di(o.type,o.key,o.props,null,e.mode,c),Fa(c,o),c.return=e,e=c)}return s(e);case v:a:{for(l=o.key;r!==null;){if(r.key===l){if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}c=hi(o,e.mode,c),c.return=e,e=c}return s(e);case O:return o=Oa(o),b(e,r,o,c)}if(F(o))return h(e,r,o,c);if(M(o)){if(l=M(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),g(e,r,o,c)}if(typeof o.then==`function`)return b(e,r,Pa(o),c);if(o.$$typeof===C)return b(e,r,na(e,o),c);Ia(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=pi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Na=0;var i=b(e,t,n,r);return Ma=null,i}catch(t){if(t===Sa||t===wa)throw t;var a=si(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Ra=La(!0),za=La(!1),Ba=!1;function Va(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ha(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ua(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Wa(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Bl&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=ii(e),ri(e,null,n),t}return ei(e,r,t,n),ii(e)}function Ga(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Qe(e,n)}}function Ka(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var qa=!1;function Ja(){if(qa){var e=pa;if(e!==null)throw e}}function Ya(e,t,n,r){qa=!1;var i=e.updateQueue;Ba=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(G&f)===f:(r&f)===f){f!==0&&f===fa&&(qa=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;f=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){d=h.call(_,d,f);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,f=typeof h==`function`?h.call(_,d,f):h,f==null)break a;d=m({},d,f);break a;case 2:Ba=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),Xl|=o,e.lanes=o,e.memoizedState=d}}function Xa(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function Za(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;ea?a:8;var o=I.T,s={};I.T=s,Fs(e,!1,t,n);try{var c=i(),l=I.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Ps(e,t,ga(c,r),gu(e)):Ps(e,t,r,gu(e))}catch(n){Ps(e,t,{then:function(){},status:`rejected`,reason:n},gu())}finally{L.p=a,o!==null&&s.types!==null&&(o.types=s.types),I.T=o}}function ws(){}function Ts(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=Es(e).queue;Cs(e,a,t,R,n===null?ws:function(){return Ds(e),n(r)})}function Es(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:R,baseState:R,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:H,lastRenderedState:R},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:H,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Ds(e){var t=Es(e);t.next===null&&(t=e.alternate.memoizedState),Ps(e,t.next.queue,{},gu())}function Os(){return ta(rp)}function ks(){return Mo().memoizedState}function As(){return Mo().memoizedState}function js(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=gu();e=Ua(n);var r=Wa(t,e,n);r!==null&&(vu(r,t,n),Ga(r,t,n)),t={cache:ca()},e.payload=t;return}t=t.return}}function Ms(e,t,n){var r=gu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Is(e)?Ls(t,n):(n=ti(e,t,n,r),n!==null&&(vu(n,e,r),Rs(n,t,r)))}function Ns(e,t,n){Ps(e,t,n,gu())}function Ps(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Is(e))Ls(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,xr(s,o))return ei(e,t,i,0),Vl===null&&$r(),!1}catch{}if(n=ti(e,t,i,r),n!==null)return vu(n,e,r),Rs(n,t,r),!0}return!1}function Fs(e,t,n,r){if(r={lane:2,revertLane:hd(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Is(e)){if(t)throw Error(i(479))}else t=ti(e,n,r,2),t!==null&&vu(t,e,2)}function Is(e){var t=e.alternate;return e===mo||t!==null&&t===mo}function Ls(e,t){vo=_o=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Rs(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Qe(e,n)}}var zs={readContext:ta,use:Fo,useCallback:Co,useContext:Co,useEffect:Co,useImperativeHandle:Co,useLayoutEffect:Co,useInsertionEffect:Co,useMemo:Co,useReducer:Co,useRef:Co,useState:Co,useDebugValue:Co,useDeferredValue:Co,useTransition:Co,useSyncExternalStore:Co,useId:Co,useHostTransitionStatus:Co,useFormState:Co,useActionState:Co,useOptimistic:Co,useMemoCache:Co,useCacheRefresh:Co};zs.useEffectEvent=Co;var Bs={readContext:ta,use:Fo,useCallback:function(e,t){return jo().memoizedState=[e,t===void 0?null:t],e},useContext:ta,useEffect:us,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),cs(4194308,4,gs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return cs(4194308,4,e,t)},useInsertionEffect:function(e,t){cs(4,2,e,t)},useMemo:function(e,t){var n=jo();t=t===void 0?null:t;var r=e();if(yo){Fe(!0);try{e()}finally{Fe(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=jo();if(n!==void 0){var i=n(t);if(yo){Fe(!0);try{n(t)}finally{Fe(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Ms.bind(null,mo,e),[r.memoizedState,e]},useRef:function(e){var t=jo();return e={current:e},t.memoizedState=e},useState:function(e){e=Ko(e);var t=e.queue,n=Ns.bind(null,mo,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:vs,useDeferredValue:function(e,t){return xs(jo(),e,t)},useTransition:function(){var e=Ko(!1);return e=Cs.bind(null,mo,e.queue,!0,!1),jo().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=mo,a=jo();if(Pi){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),Vl===null)throw Error(i(349));G&127||Vo(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,us(Uo.bind(null,r,o,e),[e]),r.flags|=2048,os(9,{destroy:void 0},Ho.bind(null,r,o,n,t),null),n},useId:function(){var e=jo(),t=Vl.identifierPrefix;if(Pi){var n=Ei,r=Ti;n=(r&~(1<<32-Ie(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=bo++,0<\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[at]=t,o[ot]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(Bd(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&Mc(t)}}return Lc(t),Nc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Mc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=oe.current,Vi(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=Mi,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[at]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Ld(e.nodeValue,n)),e||Ri(t,!0)}else e=Gd(e).createTextNode(r),e[at]=t,t.stateNode=e}return Lc(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Vi(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[at]=t}else Hi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Lc(t),e=!1}else n=Ui(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(lo(t),t):(lo(t),null);if(t.flags&128)throw Error(i(558))}return Lc(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Vi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[at]=t}else Hi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Lc(t),a=!1}else a=Ui(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(lo(t),t):(lo(t),null)}return lo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Fc(t,t.updateQueue),Lc(t),null);case 4:return le(),e===null&&Dd(t.stateNode.containerInfo),Lc(t),null;case 10:return Yi(t.type),Lc(t),null;case 19:if(re(uo),r=t.memoizedState,r===null)return Lc(t),null;if(a=!!(t.flags&128),o=r.rendering,o===null){if(a)Ic(r,!1);else{if(Yl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=fo(e),o!==null){for(t.flags|=128,Ic(r,!1),e=o.updateQueue,t.updateQueue=e,Fc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)ui(n,e),n=n.sibling;return z(uo,uo.current&1|2),Pi&&Di(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&we()>au&&(t.flags|=128,a=!0,Ic(r,!1),t.lanes=4194304)}}else{if(!a){if(e=fo(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Fc(t,e),Ic(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!Pi)return Lc(t),null}else 2*we()-r.renderingStartTime>au&&n!==536870912&&(t.flags|=128,a=!0,Ic(r,!1),t.lanes=4194304)}r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}return r.tail===null?(Lc(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=we(),e.sibling=null,n=uo.current,z(uo,a?n&1|2:n&1),Pi&&Di(t,r.treeForkCount),e);case 22:case 23:return lo(t),no(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Lc(t),t.subtreeFlags&6&&(t.flags|=8192)):Lc(t),n=t.updateQueue,n!==null&&Fc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&re(va),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Yi(sa),Lc(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function zc(e,t){switch(Ai(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Yi(sa),le(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return de(t),null;case 31:if(t.memoizedState!==null){if(lo(t),t.alternate===null)throw Error(i(340));Hi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(lo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Hi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return re(uo),null;case 4:return le(),null;case 10:return Yi(t.type),null;case 22:case 23:return lo(t),no(),e!==null&&re(va),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Yi(sa),null;case 25:return null;default:return null}}function Bc(e,t){switch(Ai(t),t.tag){case 3:Yi(sa),le();break;case 26:case 27:case 5:de(t);break;case 4:le();break;case 31:t.memoizedState!==null&&lo(t);break;case 13:lo(t);break;case 19:re(uo);break;case 10:Yi(t.type);break;case 22:case 23:lo(t),no(),e!==null&&re(va);break;case 24:Yi(sa)}}function Vc(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Ju(t,t.return,e)}}function Hc(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Ju(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Ju(t,t.return,e)}}function Uc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Za(t,n)}catch(t){Ju(e,e.return,t)}}}function Wc(e,t,n){n.props=Gs(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Ju(e,t,n)}}function Gc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Ju(e,t,n)}}function Kc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{r()}catch(n){Ju(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Ju(e,t,n)}else n.current=null}}function qc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Ju(e,e.return,t)}}function Jc(e,t,n){try{var r=e.stateNode;Vd(r,e.type,n,t),r[ot]=t}catch(t){Ju(e,e.return,t)}}function Yc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&nf(e.type)||e.tag===4}function Xc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Yc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&nf(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Zc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Qt));else if(r!==4&&(r===27&&nf(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Zc(e,t,n),e=e.sibling;e!==null;)Zc(e,t,n),e=e.sibling}function Qc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&nf(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Qc(e,t,n),e=e.sibling;e!==null;)Qc(e,t,n),e=e.sibling}function $c(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Bd(t,r,n),t[at]=e,t[ot]=n}catch(t){Ju(e,e.return,t)}}var el=!1,tl=!1,nl=!1,rl=typeof WeakSet==`function`?WeakSet:Set,il=null;function al(e,t){if(e=e.containerInfo,Wd=fp,e=Er(e),Dr(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(J={focusedElem:e,selectionRange:n},fp=!1,il=t;il!==null;)if(t=il,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,il=e;else for(;il!==null;){switch(t=il,o=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n title`))),Bd(o,r,n),o[at]=e,vt(o),r=o;break a;case`link`:var s=Kf(`link`,`href`,a).get(r+(n.href||``));if(s){for(var c=0;cg&&(o=g,g=h,h=o);var _=wr(s,h),v=wr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;sn?32:n,I.T=null,n=fu,fu=null;var o=cu,s=uu;if(su=0,lu=cu=null,uu=0,Bl&6)throw Error(i(331));var c=Bl;if(Bl|=4,Fl(o.current),Dl(o,o.current,s,n),Bl=c,cd(0,!1),Pe&&typeof Pe.onPostCommitFiberRoot==`function`)try{Pe.onPostCommitFiberRoot(Ne,o)}catch{}return!0}finally{L.p=a,I.T=r,Wu(e,t)}}function qu(e,t,n){t=_i(n,t),t=Zs(e.stateNode,t,2),e=Wa(e,t,2),e!==null&&(Ye(e,2),sd(e))}function Ju(e,t,n){if(e.tag===3)qu(e,e,n);else for(;t!==null;){if(t.tag===3){qu(t,e,n);break}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(q===null||!q.has(r))){e=_i(n,e),n=Qs(2),r=Wa(t,n,2),r!==null&&($s(n,r,t,e),Ye(r,2),sd(r));break}}t=t.return}}function Yu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new zl;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(ql=!0,i.add(n),e=Xu.bind(null,e,t,n),t.then(e,e))}function Xu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Vl===e&&(G&n)===n&&(Yl===4||Yl===3&&(G&62914560)===G&&300>we()-ru?!(Bl&2)&&Tu(e,0):Ql|=n,K===G&&(K=0)),sd(e)}function Zu(e,t){t===0&&(t=qe()),e=ni(e,t),e!==null&&(Ye(e,t),sd(e))}function Qu(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Zu(e,n)}function $u(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),Zu(e,n)}function ed(e,t){return be(e,t)}var td=null,nd=null,rd=!1,id=!1,ad=!1,od=0;function sd(e){e!==nd&&e.next===null&&(nd===null?td=nd=e:nd=nd.next=e),id=!0,rd||(rd=!0,md())}function cd(e,t){if(!ad&&id){ad=!0;do for(var n=!1,r=td;r!==null;){if(!t){if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-Ie(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,pd(r,a))}else a=G,a=We(r,r===Vl?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||Ge(r,a)||(n=!0,pd(r,a))}r=r.next}while(n);ad=!1}}function ld(){ud()}function ud(){id=rd=!1;var e=0;od!==0&&Xd()&&(e=od);for(var t=we(),n=null,r=td;r!==null;){var i=r.next,a=dd(r,t);a===0?(r.next=null,n===null?td=i:n.next=i,i===null&&(nd=n)):(n=r,(e!==0||a&3)&&(id=!0)),r=i}su!==0&&su!==5||cd(e,!1),od!==0&&(od=0)}function dd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0s)break;var u=c.transferSize,d=c.initiatorType;u&&Hd(d)&&(c=c.responseEnd,o+=u*(c`u`?null:document;function Ef(e,t,n){var r=Tf;if(r&&typeof t==`string`&&t){var i=Lt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),bf.has(i)||(bf.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Bd(t,`link`,e),vt(t),r.head.appendChild(t)))}}function Df(e){Sf.D(e),Ef(`dns-prefetch`,e,null)}function Of(e,t){Sf.C(e,t),Ef(`preconnect`,e,t)}function kf(e,t,n){Sf.L(e,t,n);var r=Tf;if(r&&e&&t){var i=`link[rel="preload"][as="`+Lt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Lt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Lt(n.imageSizes)+`"]`)):i+=`[href="`+Lt(e)+`"]`;var a=i;switch(t){case`style`:a=Ff(e);break;case`script`:a=zf(e)}yf.has(a)||(e=m({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),yf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(If(a))||t===`script`&&r.querySelector(Bf(a))||(t=r.createElement(`link`),Bd(t,`link`,e),vt(t),r.head.appendChild(t)))}}function Af(e,t){Sf.m(e,t);var n=Tf;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Lt(r)+`"][href="`+Lt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=zf(e)}if(!yf.has(a)&&(e=m({rel:`modulepreload`,href:e},t),yf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Bf(a)))return}r=n.createElement(`link`),Bd(r,`link`,e),vt(r),n.head.appendChild(r)}}}function jf(e,t,n){Sf.S(e,t,n);var r=Tf;if(r&&e){var i=_t(r).hoistableStyles,a=Ff(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(If(a)))s.loading=5;else{e=m({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=yf.get(a))&&Uf(e,n);var c=o=r.createElement(`link`);vt(c),Bd(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Hf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Mf(e,t){Sf.X(e,t);var n=Tf;if(n&&e){var r=_t(n).hoistableScripts,i=zf(e),a=r.get(i);a||(a=n.querySelector(Bf(i)),a||(e=m({src:e,async:!0},t),(t=yf.get(i))&&Wf(e,t),a=n.createElement(`script`),vt(a),Bd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Nf(e,t){Sf.M(e,t);var n=Tf;if(n&&e){var r=_t(n).hoistableScripts,i=zf(e),a=r.get(i);a||(a=n.querySelector(Bf(i)),a||(e=m({src:e,async:!0,type:`module`},t),(t=yf.get(i))&&Wf(e,t),a=n.createElement(`script`),vt(a),Bd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Pf(e,t,n,r){var a=(a=oe.current)?xf(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=Ff(n.href),n=_t(a).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Ff(n.href);var o=_t(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(If(e)))&&!o._p&&(s.instance=o,s.state.loading=5),yf.has(e)||(n={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},yf.set(e,n),o||Rf(a,e,n,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=zf(n),n=_t(a).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Ff(e){return`href="`+Lt(e)+`"`}function If(e){return`link[rel="stylesheet"][`+e+`]`}function Lf(e){return m({},e,{"data-precedence":e.precedence,precedence:null})}function Rf(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),Bd(t,`link`,n),vt(t),e.head.appendChild(t))}function zf(e){return`[src="`+Lt(e)+`"]`}function Bf(e){return`script[async]`+e}function Vf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Lt(n.href)+`"]`);if(r)return t.instance=r,vt(r),r;var a=m({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),vt(r),Bd(r,`style`,a),Hf(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Ff(n.href);var o=e.querySelector(If(a));if(o)return t.state.loading|=4,t.instance=o,vt(o),o;r=Lf(n),(a=yf.get(a))&&Uf(r,a),o=(e.ownerDocument||e).createElement(`link`),vt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Bd(o,`link`,r),t.state.loading|=4,Hf(o,n.precedence,e),t.instance=o;case`script`:return o=zf(n.src),(a=e.querySelector(Bf(o)))?(t.instance=a,vt(a),a):(r=n,(a=yf.get(o))&&(r=m({},n),Wf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),vt(a),Bd(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Hf(r,n.precedence,e));return t.instance}function Hf(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o title`):null)}function Jf(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Yf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Xf(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Ff(r.href),a=t.querySelector(If(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=$f.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,vt(a);return}a=t.ownerDocument||t,r=Lf(r),(i=yf.get(i))&&Uf(r,i),a=a.createElement(`link`),vt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Bd(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=$f.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var Zf=0;function Qf(e,t){return e.stylesheets&&e.count===0&&tp(e,e.stylesheets),0Zf?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function $f(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)tp(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var ep=null;function tp(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ep=new Map,t.forEach(np,e),ep=null,$f.call(e))}function np(e,t){if(!(t.state.loading&4)){var n=ep.get(e);if(n)var r=n.get(null);else{n=new Map,ep.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=g()})),v=l(d(),1),y=_(),b=`modulepreload`,x=function(e){return`/`+e},S={},C=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=x(t,n),t=s(t),t in S)return;S[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:b,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},w=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,T=/^[\\/]{2}/;function E(e,t){return t+e.replace(/\\/g,`/`)}var D=`popstate`;function O(e){return typeof e==`object`&&!!e&&`pathname`in e&&`search`in e&&`hash`in e&&`state`in e&&`key`in e}function k(e={}){function t(e,t){let n=t.state?.masked,{pathname:r,search:i,hash:a}=n||e.location;return P(``,{pathname:r,search:i,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||`default`,n?{pathname:e.location.pathname,search:e.location.search,hash:e.location.hash}:void 0)}function n(e,t){return typeof t==`string`?t:F(t)}return L(t,n,null,e)}function A(e,t){if(e===!1||e==null)throw Error(t)}function j(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function M(){return Math.random().toString(36).substring(2,10)}function N(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function P(e,t,n=null,r,i){return{pathname:typeof e==`string`?e:e.pathname,search:``,hash:``,...typeof t==`string`?I(t):t,state:n,key:t&&t.key||r||M(),mask:i}}function F({pathname:e=`/`,search:t=``,hash:n=``}){return t&&t!==`?`&&(e+=t.charAt(0)===`?`?t:`?`+t),n&&n!==`#`&&(e+=n.charAt(0)===`#`?n:`#`+n),e}function I(e){let t={};if(e){let n=e.indexOf(`#`);n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf(`?`);r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function L(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=`POP`,c=null,l=u();l??(l=0,o.replaceState({...o.state,idx:l},``));function u(){return(o.state||{idx:null}).idx}function d(){s=`POP`;let e=u(),t=e==null?null:e-l;l=e,c&&c({action:s,location:h.location,delta:t})}function f(e,t){s=`PUSH`;let r=O(e)?e:P(h.location,e,t);n&&n(r,e),l=u()+1;let d=N(r,l),f=h.createHref(r.mask||r);try{o.pushState(d,``,f)}catch(e){if(e instanceof DOMException&&e.name===`DataCloneError`)throw e;i.location.assign(f)}a&&c&&c({action:s,location:h.location,delta:1})}function p(e,t){s=`REPLACE`;let r=O(e)?e:P(h.location,e,t);n&&n(r,e),l=u();let i=N(r,l),d=h.createHref(r.mask||r);o.replaceState(i,``,d),a&&c&&c({action:s,location:h.location,delta:0})}function m(e){return R(i,e)}let h={get action(){return s},get location(){return e(i,o)},listen(e){if(c)throw Error(`A history only accepts one active listener`);return i.addEventListener(D,d),c=e,()=>{i.removeEventListener(D,d),c=null}},createHref(e){return t(i,e)},createURL:m,encodeLocation(e){let t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:f,replace:p,go(e){return o.go(e)}};return h}function R(e,t,n=!1){let r=`http://localhost`;e&&(r=e.location.origin===`null`?e.location.href:e.location.origin),A(r,`No window.location.(origin|href) available to create URL`);let i=typeof t==`string`?t:F(t);return i=i.replace(/ $/,`%20`),!n&&T.test(i)&&(i=r+i),new URL(i,r)}function ee(e,t,n=`/`){return te(e,t,n,!1)}function te(e,t,n,r,i){let a=ye((typeof t==`string`?I(t):t).pathname||`/`,n);if(a==null)return null;let o=i??ne(e),s=null,c=ve(a);for(let e=0;s==null&&e{let c={relativePath:s===void 0?e.path||``:s,caseSensitive:e.caseSensitive===!0,childrenIndex:a,route:e};if(c.relativePath.startsWith(`/`)){if(!c.relativePath.startsWith(r)&&o)return;A(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let l=De([r,c.relativePath]),u=n.concat(c);e.children&&e.children.length>0&&(A(e.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),re(e.children,t,u,l,o)),!(e.path==null&&!e.index)&&t.push({path:l,score:fe(l,e.index),routesMeta:u.map((e,t)=>{let[n,r]=_e(e.relativePath,e.caseSensitive,t===u.length-1);return{...e,matcher:n,compiledParams:r}})})};return e.forEach((e,t)=>{if(e.path===``||!e.path?.includes(`?`))a(e,t);else for(let n of z(e.path))a(e,t,!0,n)}),t}function z(e){let t=e.split(`/`);if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(`?`),a=n.replace(/\?$/,``);if(r.length===0)return i?[a,``]:[a];let o=z(r.join(`/`)),s=[];return s.push(...o.map(e=>e===``?a:[a,e].join(`/`))),i&&s.push(...o),s.map(t=>e.startsWith(`/`)&&t===``?`/`:t)}function ie(e){e.sort((e,t)=>e.score===t.score?pe(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var ae=/^:[\w-]+$/,oe=3,se=2,ce=1,le=10,ue=-2,de=e=>e===`*`;function fe(e,t){let n=e.split(`/`),r=n.length;return n.some(de)&&(r+=ue),t&&(r+=se),n.filter(e=>!de(e)).reduce((e,t)=>e+(ae.test(t)?oe:t===``?ce:le),r)}function pe(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}function me(e,t,n=!1){let{routesMeta:r}=e,i={},a=`/`,o=[];for(let e=0;e{if(t===`*`){let e=s[r]||``;o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,`$1`)}let i=s[r];return e[t]=n&&!i?void 0:(i||``).replace(/%2F/g,`/`),e},{}),pathname:a,pathnameBase:o,pattern:e}}function _e(e,t=!1,n=!0){j(e===`*`||!e.endsWith(`*`)||e.endsWith(`/*`),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,`/*`)}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,`/*`)}".`);let r=[],i=`^`+e.replace(/\/*\*?$/,``).replace(/^\/*/,`/`).replace(/[\\.*+^${}|()[\]]/g,`\\$&`).replace(/\/:([\w-]+)(\?)?/g,(e,t,n,i,a)=>{if(r.push({paramName:t,isOptional:n!=null}),n){let t=a.charAt(i+e.length);return t&&t!==`/`?`/([^\\/]*)`:`(?:/([^\\/]*))?`}return`/([^\\/]+)`}).replace(/\/([\w-]+)\?(\/|$)/g,`(/$1)?$2`);return e.endsWith(`*`)?(r.push({paramName:`*`}),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function ve(e){try{return e.split(`/`).map(e=>decodeURIComponent(e).replace(/\//g,`%2F`)).join(`/`)}catch(t){return j(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function ye(e,t){if(t===`/`)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?null:e.slice(n)||`/`}function be(e,t=`/`){let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?I(e):e,a;return n?(n=Ee(n),a=n.startsWith(`/`)?xe(n.substring(1),`/`):xe(n,t)):a=t,{pathname:a,search:Ae(r),hash:je(i)}}function xe(e,t){let n=Oe(t).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function Se(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function Ce(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function we(e){let t=Ce(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function Te(e,t,n,r=!1){let i;typeof e==`string`?i=I(e):(i={...e},A(!i.pathname||!i.pathname.includes(`?`),Se(`?`,`pathname`,`search`,i)),A(!i.pathname||!i.pathname.includes(`#`),Se(`#`,`pathname`,`hash`,i)),A(!i.search||!i.search.includes(`#`),Se(`#`,`search`,`hash`,i)));let a=e===``||i.pathname===``,o=a?`/`:i.pathname,s;if(o==null)s=n;else{let e=t.length-1;if(!r&&o.startsWith(`..`)){let t=o.split(`/`);for(;t[0]===`..`;)t.shift(),--e;i.pathname=t.join(`/`)}s=e>=0?t[e]:`/`}let c=be(i,s),l=o&&o!==`/`&&o.endsWith(`/`),u=(a||o===`.`)&&n.endsWith(`/`);return!c.pathname.endsWith(`/`)&&(l||u)&&(c.pathname+=`/`),c}var Ee=e=>e.replace(/[\\/]{2,}/g,`/`),De=e=>Ee(e.join(`/`)),Oe=e=>e.replace(/\/+$/,``),ke=e=>Oe(e).replace(/^\/*/,`/`),Ae=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,je=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e,Me=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||``,this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function Ne(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.internal==`boolean`&&`data`in e}function Pe(e){return De(e.map(e=>e.route.path).filter(Boolean))||`/`}var Fe=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function Ie(e,t){let n=e;if(typeof n!=`string`||!w.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(Fe)try{let e=new URL(window.location.href),r=T.test(n)?new URL(E(n,e.protocol)):new URL(n),a=ye(r.pathname,t);r.origin===e.origin&&a!=null?n=a+r.search+r.hash:i=!0}catch{j(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);var Le=[`POST`,`PUT`,`PATCH`,`DELETE`];new Set(Le);var Re=[`GET`,...Le];new Set(Re);var ze=[`about:`,`blob:`,`chrome:`,`chrome-untrusted:`,`content:`,`data:`,`devtools:`,`file:`,`filesystem:`,`javascript:`];function Be(e){try{return ze.includes(new URL(e).protocol)}catch{return!1}}var Ve=v.createContext(null);Ve.displayName=`DataRouter`;var He=v.createContext(null);He.displayName=`DataRouterState`;var Ue=v.createContext(!1);function We(){return v.useContext(Ue)}var Ge=v.createContext({isTransitioning:!1});Ge.displayName=`ViewTransition`;var Ke=v.createContext(new Map);Ke.displayName=`Fetchers`;var qe=v.createContext(null);qe.displayName=`Await`;var Je=v.createContext(null);Je.displayName=`Navigation`;var Ye=v.createContext(null);Ye.displayName=`Location`;var Xe=v.createContext({outlet:null,matches:[],isDataRoute:!1});Xe.displayName=`Route`;var Ze=v.createContext(null);Ze.displayName=`RouteError`;var Qe=`REACT_ROUTER_ERROR`,$e=`REDIRECT`,et=`ROUTE_ERROR_RESPONSE`;function tt(e){if(e.startsWith(`${Qe}:${$e}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`&&typeof t.location==`string`&&typeof t.reloadDocument==`boolean`&&typeof t.replace==`boolean`)return t}catch{}}function nt(e){if(e.startsWith(`${Qe}:${et}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`)return new Me(t.status,t.statusText,t.data)}catch{}}function rt(e,{relative:t}={}){A(it(),`useHref() may be used only in the context of a component.`);let{basename:n,navigator:r}=v.useContext(Je),{hash:i,pathname:a,search:o}=ft(e,{relative:t}),s=a;return n!==`/`&&(s=a===`/`?n:De([n,a])),r.createHref({pathname:s,search:o,hash:i})}function it(){return v.useContext(Ye)!=null}function at(){return A(it(),`useLocation() may be used only in the context of a component.`),v.useContext(Ye).location}var ot=`You should call navigate() in a React.useEffect(), not when your component is first rendered.`;function st(e){v.useContext(Je).static||v.useLayoutEffect(e)}function ct(){let{isDataRoute:e}=v.useContext(Xe);return e?kt():lt()}function lt(){A(it(),`useNavigate() may be used only in the context of a component.`);let e=v.useContext(Ve),{basename:t,navigator:n}=v.useContext(Je),{matches:r}=v.useContext(Xe),{pathname:i}=at(),a=JSON.stringify(we(r)),o=v.useRef(!1);return st(()=>{o.current=!0}),v.useCallback((r,s={})=>{if(j(o.current,ot),!o.current)return;if(typeof r==`number`){n.go(r);return}let c=Te(r,JSON.parse(a),i,s.relative===`path`);e==null&&t!==`/`&&(c.pathname=c.pathname===`/`?t:De([t,c.pathname])),(s.replace?n.replace:n.push)(c,s.state,s)},[t,n,a,i,e])}var ut=v.createContext(null);function dt(e){let t=v.useContext(Xe).outlet;return v.useMemo(()=>t&&v.createElement(ut.Provider,{value:e},t),[t,e])}function ft(e,{relative:t}={}){let{matches:n}=v.useContext(Xe),{pathname:r}=at(),i=JSON.stringify(we(n));return v.useMemo(()=>Te(e,JSON.parse(i),r,t===`path`),[e,i,r,t])}function pt(e,t){return mt(e,t)}function mt(e,t,n){A(it(),`useRoutes() may be used only in the context of a component.`);let{navigator:r}=v.useContext(Je),{matches:i}=v.useContext(Xe),a=i[i.length-1],o=a?a.params:{},s=a?a.pathname:`/`,c=a?a.pathnameBase:`/`,l=a&&a.route;{let e=l&&l.path||``;jt(s,!l||e.endsWith(`*`)||e.endsWith(`*?`),`You rendered descendant (or called \`useRoutes()\`) at "${s}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. - -Please change the parent to .`)}let u=at(),d;if(t){let e=typeof t==`string`?I(t):t;A(c===`/`||e.pathname?.startsWith(c),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${c}" but pathname "${e.pathname}" was given in the \`location\` prop.`),d=e}else d=u;let f=d.pathname||`/`,p=f;if(c!==`/`){let e=c.replace(/^\//,``).split(`/`);p=`/`+f.replace(/^\//,``).split(`/`).slice(e.length).join(`/`)}let m=n&&n.state.matches.length?n.state.matches.map(e=>Object.assign(e,{route:n.manifest[e.route.id]||e.route})):ee(e,{pathname:p});j(l||m!=null,`No routes matched location "${d.pathname}${d.search}${d.hash}" `),j(m==null||m[m.length-1].route.element!==void 0||m[m.length-1].route.Component!==void 0||m[m.length-1].route.lazy!==void 0,`Matched leaf route at location "${d.pathname}${d.search}${d.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let h=xt(m&&m.map(e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:De([c,r.encodeLocation?r.encodeLocation(e.pathname.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?c:De([c,r.encodeLocation?r.encodeLocation(e.pathnameBase.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathnameBase])})),i,n);return t&&h?v.createElement(Ye.Provider,{value:{location:{pathname:`/`,search:``,hash:``,state:null,key:`default`,mask:void 0,...d},navigationType:`POP`}},h):h}function ht(){let e=Ot(),t=Ne(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r=`rgba(200,200,200, 0.5)`,i={padding:`0.5rem`,backgroundColor:r},a={padding:`2px 4px`,backgroundColor:r},o=null;return console.error(`Error handled by React Router default ErrorBoundary:`,e),o=v.createElement(v.Fragment,null,v.createElement(`p`,null,`💿 Hey developer 👋`),v.createElement(`p`,null,`You can provide a way better UX than this when your app throws errors by providing your own `,v.createElement(`code`,{style:a},`ErrorBoundary`),` or`,` `,v.createElement(`code`,{style:a},`errorElement`),` prop on your route.`)),v.createElement(v.Fragment,null,v.createElement(`h2`,null,`Unexpected Application Error!`),v.createElement(`h3`,{style:{fontStyle:`italic`}},t),n?v.createElement(`pre`,{style:i},n):null,o)}var gt=v.createElement(ht,null),_t=class extends v.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!==`idle`&&e.revalidation===`idle`?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error===void 0?t.error:e.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error(`React Router caught the following error during render`,e)}render(){let e=this.state.error;if(this.context&&typeof e==`object`&&e&&`digest`in e&&typeof e.digest==`string`){let t=nt(e.digest);t&&(e=t)}let t=e===void 0?this.props.children:v.createElement(Xe.Provider,{value:this.props.routeContext},v.createElement(Ze.Provider,{value:e,children:this.props.component}));return this.context?v.createElement(yt,{error:e},t):t}};_t.contextType=Ue;var vt=new WeakMap;function yt({children:e,error:t}){let{basename:n}=v.useContext(Je);if(typeof t==`object`&&t&&`digest`in t&&typeof t.digest==`string`){let e=tt(t.digest);if(e){let r=vt.get(t);if(r)throw r;let i=Ie(e.location,n),a=i.absoluteURL||i.to;if(Be(a))throw Error(`Invalid redirect location`);if(Fe&&!vt.get(t)){if(i.isExternal||e.reloadDocument)window.location.href=a;else{let n=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:e.replace}));throw vt.set(t,n),n}}return v.createElement(`meta`,{httpEquiv:`refresh`,content:`0;url=${a}`})}}return e}function bt({routeContext:e,match:t,children:n}){let r=v.useContext(Ve);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),v.createElement(Xe.Provider,{value:e},n)}function xt(e,t=[],n){let r=n?.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,a=r?.errors;if(a!=null){let e=i.findIndex(e=>e.route.id&&a?.[e.route.id]!==void 0);A(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(`,`)}`),i=i.slice(0,Math.min(i.length,e+1))}let o=!1,s=-1;if(n&&r){o=r.renderFallback;for(let e=0;e=0?i.slice(0,s+1):[i[0]];break}}}}let c=n?.onError,l=r&&c?(e,t)=>{c(e,{location:r.location,params:r.matches?.[0]?.params??{},pattern:Pe(r.matches),errorInfo:t})}:void 0;return i.reduceRight((e,n,c)=>{let u,d=!1,f=null,p=null;r&&(u=a&&n.route.id?a[n.route.id]:void 0,f=n.route.errorElement||gt,o&&(s<0&&c===0?(jt(`route-fallback`,!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,p=null):s===c&&(d=!0,p=n.route.hydrateFallbackElement||null)));let m=t.concat(i.slice(0,c+1)),h=()=>{let t;return t=u?f:d?p:n.route.Component?v.createElement(n.route.Component,null):n.route.element?n.route.element:e,v.createElement(bt,{match:n,routeContext:{outlet:e,matches:m,isDataRoute:r!=null},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||c===0)?v.createElement(_t,{location:r.location,revalidation:r.revalidation,component:f,error:u,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0},onError:l}):h()},null)}function St(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Ct(e){let t=v.useContext(Ve);return A(t,St(e)),t}function wt(e){let t=v.useContext(He);return A(t,St(e)),t}function Tt(e){let t=v.useContext(Xe);return A(t,St(e)),t}function Et(e){let t=Tt(e),n=t.matches[t.matches.length-1];return A(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Dt(){return Et(`useRouteId`)}function Ot(){let e=v.useContext(Ze),t=wt(`useRouteError`),n=Et(`useRouteError`);return e===void 0?t.errors?.[n]:e}function kt(){let{router:e}=Ct(`useNavigate`),t=Et(`useNavigate`),n=v.useRef(!1);return st(()=>{n.current=!0}),v.useCallback(async(r,i={})=>{j(n.current,ot),n.current&&(typeof r==`number`?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...i}))},[e,t])}var At={};function jt(e,t,n){!t&&!At[e]&&(At[e]=!0,j(!1,n))}v.memo(Mt);function Mt({routes:e,manifest:t,future:n,state:r,isStatic:i,onError:a}){return mt(e,void 0,{manifest:t,state:r,isStatic:i,onError:a,future:n})}function Nt({to:e,replace:t,state:n,relative:r}){A(it(),` may be used only in the context of a component.`);let{static:i}=v.useContext(Je);j(!i,` must not be used on the initial render in a . This is a no-op, but you should modify your code so the is only ever rendered in response to some user interaction or state change.`);let{matches:a}=v.useContext(Xe),{pathname:o}=at(),s=ct(),c=Te(e,we(a),o,r===`path`),l=JSON.stringify(c);return v.useEffect(()=>{s(JSON.parse(l),{replace:t,state:n,relative:r})},[s,l,r,t,n]),null}function Pt(e){return dt(e.context)}function Ft(e){A(!1,`A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .`)}function It({basename:e=`/`,children:t=null,location:n,navigationType:r=`POP`,navigator:i,static:a=!1,useTransitions:o}){A(!it(),`You cannot render a inside another . You should never have more than one in your app.`);let s=e.replace(/^\/*/,`/`),c=v.useMemo(()=>({basename:s,navigator:i,static:a,useTransitions:o,future:{}}),[s,i,a,o]);typeof n==`string`&&(n=I(n));let{pathname:l=`/`,search:u=``,hash:d=``,state:f=null,key:p=`default`,mask:m}=n,h=v.useMemo(()=>{let e=ye(l,s);return e==null?null:{location:{pathname:e,search:u,hash:d,state:f,key:p,mask:m},navigationType:r}},[s,l,u,d,f,p,r,m]);return j(h!=null,` is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the won't render anything.`),h==null?null:v.createElement(Je.Provider,{value:c},v.createElement(Ye.Provider,{children:t,value:h}))}function Lt({children:e,location:t}){return pt(Rt(e),t)}v.Component;function Rt(e,t=[]){let n=[];return v.Children.forEach(e,(e,r)=>{if(!v.isValidElement(e))return;let i=[...t,r];if(e.type===v.Fragment){n.push.apply(n,Rt(e.props.children,i));return}A(e.type===Ft,`[${typeof e.type==`string`?e.type:e.type.name}] is not a component. All component children of must be a or `),A(!e.props.index||!e.props.children,`An index route cannot have child routes.`);let a={id:e.props.id||i.join(`-`),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,middleware:e.props.middleware,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:e.props.hasErrorBoundary===!0||e.props.ErrorBoundary!=null||e.props.errorElement!=null,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(a.children=Rt(e.props.children,i)),n.push(a)}),n}var zt=`get`,Bt=`application/x-www-form-urlencoded`;function Vt(e){return typeof HTMLElement<`u`&&e instanceof HTMLElement}function Ht(e){return Vt(e)&&e.tagName.toLowerCase()===`button`}function Ut(e){return Vt(e)&&e.tagName.toLowerCase()===`form`}function Wt(e){return Vt(e)&&e.tagName.toLowerCase()===`input`}function Gt(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Kt(e,t){return e.button===0&&(!t||t===`_self`)&&!Gt(e)}var qt=null;function Jt(){if(qt===null)try{new FormData(document.createElement(`form`),0),qt=!1}catch{qt=!0}return qt}var Yt=new Set([`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`]);function Xt(e){return e!=null&&!Yt.has(e)?(j(!1,`"${e}" is not a valid \`encType\` for \`\`/\`\` and will default to "${Bt}"`),null):e}function Zt(e,t){let n,r,i,a,o;if(Ut(e)){let o=e.getAttribute(`action`);r=o?ye(o,t):null,n=e.getAttribute(`method`)||zt,i=Xt(e.getAttribute(`enctype`))||Bt,a=new FormData(e)}else if(Ht(e)||Wt(e)&&(e.type===`submit`||e.type===`image`)){let o=e.form;if(o==null)throw Error(`Cannot submit a or without a `);let s=e.getAttribute(`formaction`)||o.getAttribute(`action`);if(r=s?ye(s,t):null,n=e.getAttribute(`formmethod`)||o.getAttribute(`method`)||zt,i=Xt(e.getAttribute(`formenctype`))||Xt(o.getAttribute(`enctype`))||Bt,a=new FormData(o,e),!Jt()){let{name:t,type:n,value:r}=e;if(n===`image`){let e=t?`${t}.`:``;a.append(`${e}x`,`0`),a.append(`${e}y`,`0`)}else t&&a.append(t,r)}}else if(Vt(e))throw Error(`Cannot submit element that is not , , or `);else n=zt,r=null,i=Bt,o=e;return a&&i===`text/plain`&&(o=a,a=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:a,body:o}}Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);function Qt(e,t){if(e===!1||e==null)throw Error(t)}function $t(e,t,n,r){let i=typeof e==`string`?new URL(e,typeof window>`u`?`server://singlefetch/`:window.location.origin):e;return i.pathname=n?i.pathname.endsWith(`/`)?`${i.pathname}_.${r}`:`${i.pathname}.${r}`:i.pathname===`/`?`_root.${r}`:t&&ye(i.pathname,t)===`/`?`${Oe(t)}/_root.${r}`:`${Oe(i.pathname)}.${r}`,i}async function en(e,t){if(e.id in t)return t[e.id];try{let n=await C(()=>import(e.module),[]);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function tn(e){return e!=null&&typeof e.page==`string`}function nn(e){return e==null?!1:e.href==null?e.rel===`preload`&&typeof e.imageSrcSet==`string`&&typeof e.imageSizes==`string`:typeof e.rel==`string`&&typeof e.href==`string`}async function rn(e,t,n){return ln((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await en(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(nn).filter(e=>e.rel===`stylesheet`||e.rel===`preload`).map(e=>e.rel===`stylesheet`?{...e,rel:`prefetch`,as:`style`}:{...e,rel:`prefetch`}))}function an(e,t,n,r,i,a){let o=(e,t)=>!n[t]||e.route.id!==n[t].route.id,s=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith(`*`)&&n[t].params[`*`]!==e.params[`*`];return a===`assets`?t.filter((e,t)=>o(e,t)||s(e,t)):a===`data`?t.filter((t,a)=>{let c=r.routes[t.route.id];if(!c||!c.hasLoader)return!1;if(o(t,a)||s(t,a))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if(typeof r==`boolean`)return r}return!0}):[]}function on(e,t,{includeHydrateFallback:n}={}){return sn(e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let i=[r.module];return r.clientActionModule&&(i=i.concat(r.clientActionModule)),r.clientLoaderModule&&(i=i.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(i=i.concat(r.hydrateFallbackModule)),r.imports&&(i=i.concat(r.imports)),i}).flat(1))}function sn(e){return[...new Set(e)]}function cn(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function ln(e,t){let n=new Set,r=new Set(t);return e.reduce((e,i)=>{if(t&&!tn(i)&&i.as===`script`&&i.href&&r.has(i.href))return e;let a=JSON.stringify(cn(i));return n.has(a)||(n.add(a),e.push({key:a,link:i})),e},[])}function un(){let e=v.useContext(Ve);return Qt(e,`You must render this element inside a element`),e}function dn(){let e=v.useContext(He);return Qt(e,`You must render this element inside a element`),e}var fn=v.createContext(void 0);fn.displayName=`FrameworkContext`;function pn(){let e=v.useContext(fn);return Qt(e,`You must render this element inside a element`),e}function mn(e,t){let n=v.useContext(fn),[r,i]=v.useState(!1),[a,o]=v.useState(!1),{onFocus:s,onBlur:c,onMouseEnter:l,onMouseLeave:u,onTouchStart:d}=t,f=v.useRef(null);v.useEffect(()=>{if(e===`render`&&o(!0),e===`viewport`){let e=new IntersectionObserver(e=>{e.forEach(e=>{o(e.isIntersecting)})},{threshold:.5});return f.current&&e.observe(f.current),()=>{e.disconnect()}}},[e]),v.useEffect(()=>{if(r){let e=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(e)}}},[r]);let p=()=>{i(!0)},m=()=>{i(!1),o(!1)};return n?e===`intent`?[a,f,{onFocus:hn(s,p),onBlur:hn(c,m),onMouseEnter:hn(l,p),onMouseLeave:hn(u,m),onTouchStart:hn(d,p)}]:[a,f,{}]:[!1,f,{}]}function hn(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function gn({page:e,...t}){let n=We(),{nonce:r}=pn(),{router:i}=un(),a=v.useMemo(()=>ee(i.routes,e,i.basename),[i.routes,e,i.basename]);return a?(t.nonce==null&&r&&(t={...t,nonce:r}),n?v.createElement(vn,{page:e,matches:a,...t}):v.createElement(yn,{page:e,matches:a,...t})):null}function _n(e){let{manifest:t,routeModules:n}=pn(),[r,i]=v.useState([]);return v.useEffect(()=>{let r=!1;return rn(e,t,n).then(e=>{r||i(e)}),()=>{r=!0}},[e,t,n]),r}function vn({page:e,matches:t,...n}){let r=at(),{future:i}=pn(),{basename:a}=un(),o=v.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=$t(e,a,i.v8_trailingSlashAwareDataRequests,`rsc`),o=!1,s=[];for(let e of t)typeof e.route.shouldRevalidate==`function`?o=!0:s.push(e.route.id);return o&&s.length>0&&n.searchParams.set(`_routes`,s.join(`,`)),[n.pathname+n.search]},[a,i.v8_trailingSlashAwareDataRequests,e,r,t]);return v.createElement(v.Fragment,null,o.map(e=>v.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})))}function yn({page:e,matches:t,...n}){let r=at(),{future:i,manifest:a,routeModules:o}=pn(),{basename:s}=un(),{loaderData:c,matches:l}=dn(),u=v.useMemo(()=>an(e,t,l,a,r,`data`),[e,t,l,a,r]),d=v.useMemo(()=>an(e,t,l,a,r,`assets`),[e,t,l,a,r]),f=v.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,l=!1;if(t.forEach(e=>{let t=a.routes[e.route.id];!t||!t.hasLoader||(!u.some(t=>t.route.id===e.route.id)&&e.route.id in c&&o[e.route.id]?.shouldRevalidate||t.hasClientLoader?l=!0:n.add(e.route.id))}),n.size===0)return[];let d=$t(e,s,i.v8_trailingSlashAwareDataRequests,`data`);return l&&n.size>0&&d.searchParams.set(`_routes`,t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(`,`)),[d.pathname+d.search]},[s,i.v8_trailingSlashAwareDataRequests,c,r,a,u,t,e,o]),p=v.useMemo(()=>on(d,a),[d,a]),m=_n(d);return v.createElement(v.Fragment,null,f.map(e=>v.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})),p.map(e=>v.createElement(`link`,{key:e,rel:`modulepreload`,href:e,...n})),m.map(({key:e,link:t})=>v.createElement(`link`,{key:e,nonce:n.nonce,...t,crossOrigin:t.crossOrigin??n.crossOrigin})))}function bn(...e){return t=>{e.forEach(e=>{typeof e==`function`?e(t):e!=null&&(e.current=t)})}}v.Component;var xn=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;try{xn&&(window.__reactRouterVersion=`7.18.2`)}catch{}function Sn({basename:e,children:t,useTransitions:n,window:r}){let i=v.useRef();i.current??=k({window:r,v5Compat:!0});let a=i.current,[o,s]=v.useState({action:a.action,location:a.location}),c=v.useCallback(e=>{n===!1?s(e):v.startTransition(()=>s(e))},[n]);return v.useLayoutEffect(()=>a.listen(c),[a,c]),v.createElement(It,{basename:e,children:t,location:o.location,navigationType:o.action,navigator:a,useTransitions:n})}var Cn=v.forwardRef(function({onClick:e,discover:t=`render`,prefetch:n=`none`,relative:r,reloadDocument:i,replace:a,mask:o,state:s,target:c,to:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f,...p},m){let{basename:h,navigator:g,useTransitions:_}=v.useContext(Je),y=typeof l==`string`&&w.test(l),b=Ie(l,h);l=b.to;let x=rt(l,{relative:r}),S=at(),C=null;if(o){let e=Te(o,[],S.mask?S.mask.pathname:`/`,!0);h!==`/`&&(e.pathname=e.pathname===`/`?h:De([h,e.pathname])),C=g.createHref(e)}let[T,E,D]=mn(n,p),O=On(l,{replace:a,mask:o,state:s,target:c,preventScrollReset:u,relative:r,viewTransition:d,defaultShouldRevalidate:f,useTransitions:_});function k(t){e&&e(t),t.defaultPrevented||O(t)}let A=!(b.isExternal||i),j=v.createElement(`a`,{...p,...D,href:(A?C:void 0)||b.absoluteURL||x,onClick:A?k:e,ref:bn(m,E),target:c,"data-discover":!y&&t===`render`?`true`:void 0});return T&&!y?v.createElement(v.Fragment,null,j,v.createElement(gn,{page:x})):j});Cn.displayName=`Link`;var wn=v.forwardRef(function({"aria-current":e=`page`,caseSensitive:t=!1,className:n=``,end:r=!1,style:i,to:a,viewTransition:o,children:s,...c},l){let u=ft(a,{relative:c.relative}),d=at(),f=v.useContext(He),{navigator:p,basename:m}=v.useContext(Je),h=f!=null&&Nn(u)&&o===!0,g=p.encodeLocation?p.encodeLocation(u).pathname:u.pathname,_=d.pathname,y=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;t||(_=_.toLowerCase(),y=y?y.toLowerCase():null,g=g.toLowerCase()),y&&m&&(y=ye(y,m)||y);let b=g!==`/`&&g.endsWith(`/`)?g.length-1:g.length,x=_===g||!r&&_.startsWith(g)&&_.charAt(b)===`/`,S=y!=null&&(y===g||!r&&y.startsWith(g)&&y.charAt(g.length)===`/`),C={isActive:x,isPending:S,isTransitioning:h},w=x?e:void 0,T;T=typeof n==`function`?n(C):[n,x?`active`:null,S?`pending`:null,h?`transitioning`:null].filter(Boolean).join(` `);let E=typeof i==`function`?i(C):i;return v.createElement(Cn,{...c,"aria-current":w,className:T,ref:l,style:E,to:a,viewTransition:o},typeof s==`function`?s(C):s)});wn.displayName=`NavLink`;var Tn=v.forwardRef(({discover:e=`render`,fetcherKey:t,navigate:n,reloadDocument:r,replace:i,state:a,method:o=zt,action:s,onSubmit:c,relative:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f,...p},m)=>{let{useTransitions:h}=v.useContext(Je),g=jn(),_=Mn(s,{relative:l}),y=o.toLowerCase()===`get`?`get`:`post`,b=typeof s==`string`&&w.test(s);return v.createElement(`form`,{ref:m,method:y,action:_,onSubmit:r?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,s=r?.getAttribute(`formmethod`)||o,p=()=>g(r||e.currentTarget,{fetcherKey:t,method:s,navigate:n,replace:i,state:a,relative:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f});h&&n!==!1?v.startTransition(()=>p()):p()},...p,"data-discover":!b&&e===`render`?`true`:void 0})});Tn.displayName=`Form`;function En(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Dn(e){let t=v.useContext(Ve);return A(t,En(e)),t}function On(e,{target:t,replace:n,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c,useTransitions:l}={}){let u=ct(),d=at(),f=ft(e,{relative:o});return v.useCallback(p=>{if(Kt(p,t)){p.preventDefault();let t=n===void 0?F(d)===F(f):n,m=()=>u(e,{replace:t,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c});l?v.startTransition(()=>m()):m()}},[d,u,f,n,r,i,t,e,a,o,s,c,l])}var kn=0,An=()=>`__${String(++kn)}__`;function jn(){let{router:e}=Dn(`useSubmit`),{basename:t}=v.useContext(Je),n=Dt(),r=e.fetch,i=e.navigate;return v.useCallback(async(e,a={})=>{let{action:o,method:s,encType:c,formData:l,body:u}=Zt(e,t);if(a.navigate===!1){let e=a.fetcherKey||An();await r(e,n,a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,flushSync:a.flushSync})}else await i(a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[r,i,t,n])}function Mn(e,{relative:t}={}){let{basename:n}=v.useContext(Je),r=v.useContext(Xe);A(r,`useFormAction must be used inside a RouteContext`);let[i]=r.matches.slice(-1),a={...ft(e||`.`,{relative:t})},o=at();if(e==null){a.search=o.search;let e=new URLSearchParams(a.search),t=e.getAll(`index`);if(t.some(e=>e===``)){e.delete(`index`),t.filter(e=>e).forEach(t=>e.append(`index`,t));let n=e.toString();a.search=n?`?${n}`:``}}return(!e||e===`.`)&&i.route.index&&(a.search=a.search?a.search.replace(/^\?/,`?index&`):`?index`),n!==`/`&&(a.pathname=a.pathname===`/`?n:De([n,a.pathname])),F(a)}function Nn(e,{relative:t}={}){let n=v.useContext(Ge);A(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Dn(`useViewTransitionState`),i=ft(e,{relative:t});if(!n.isTransitioning)return!1;let a=ye(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=ye(n.nextLocation.pathname,r)||n.nextLocation.pathname;return he(i.pathname,o)!=null||he(i.pathname,a)!=null}var Pn=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm40.49-100.49a12,12,0,0,1-17,17L140,117v51a12,12,0,0,1-24,0V117l-11.51,11.52a12,12,0,0,1-17-17l32-32a12,12,0,0,1,17,0Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm37.66-101.66a8,8,0,0,1-11.32,11.32L136,107.31V168a8,8,0,0,1-16,0V107.31l-18.34,18.35a8,8,0,0,1-11.32-11.32l32-32a8,8,0,0,1,11.32,0Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,101.66a8,8,0,0,1-11.32,0L136,107.31V168a8,8,0,0,1-16,0V107.31l-18.34,18.35a8,8,0,0,1-11.32-11.32l32-32a8,8,0,0,1,11.32,0l32,32A8,8,0,0,1,165.66,125.66Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm36.24-102.24a6,6,0,1,1-8.48,8.48L134,102.49V168a6,6,0,0,1-12,0V102.49l-21.76,21.75a6,6,0,0,1-8.48-8.48l32-32a6,6,0,0,1,8.48,0Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm37.66-101.66a8,8,0,0,1-11.32,11.32L136,107.31V168a8,8,0,0,1-16,0V107.31l-18.34,18.35a8,8,0,0,1-11.32-11.32l32-32a8,8,0,0,1,11.32,0Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm34.83-102.83a4,4,0,0,1-5.66,5.66L132,97.66V168a4,4,0,0,1-8,0V97.66L98.83,122.83a4,4,0,0,1-5.66-5.66l32-32a4,4,0,0,1,5.66,0Z`}))]]),Fn=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M244,56v48a12,12,0,0,1-12,12H184a12,12,0,1,1,0-24H201.1l-19-17.38c-.13-.12-.26-.24-.38-.37A76,76,0,1,0,127,204h1a75.53,75.53,0,0,0,52.15-20.72,12,12,0,0,1,16.49,17.45A99.45,99.45,0,0,1,128,228h-1.37A100,100,0,1,1,198.51,57.06L220,76.72V56a12,12,0,0,1,24,0Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1-5.66-13.66l17-17-10.55-9.65-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,1,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60l10.93,10L226.34,50.3A8,8,0,0,1,240,56Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M238,56v48a6,6,0,0,1-6,6H184a6,6,0,0,1,0-12h32.55l-30.38-27.8c-.06-.06-.12-.13-.19-.19a82,82,0,1,0-1.7,117.65,6,6,0,0,1,8.24,8.73A93.46,93.46,0,0,1,128,222h-1.28A94,94,0,1,1,194.37,61.4L226,90.35V56a6,6,0,1,1,12,0Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M236,56v48a4,4,0,0,1-4,4H184a4,4,0,0,1,0-8h37.7L187.53,68.69l-.13-.12a84,84,0,1,0-1.75,120.51,4,4,0,0,1,5.5,5.82A91.43,91.43,0,0,1,128,220h-1.26A92,92,0,1,1,193,62.84l35,32.05V56a4,4,0,1,1,8,0Z`}))]]),In=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M228,128a100,100,0,0,1-98.66,100H128a99.39,99.39,0,0,1-68.62-27.29,12,12,0,0,1,16.48-17.45,76,76,0,1,0-1.57-109c-.13.13-.25.25-.39.37L54.89,92H72a12,12,0,0,1,0,24H24a12,12,0,0,1-12-12V56a12,12,0,0,1,24,0V76.72L57.48,57.06A100,100,0,0,1,228,128Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L44.59,96H72a8,8,0,0,1,0,16H24a8,8,0,0,1-8-8V56a8,8,0,0,1,16,0V85.8L60.25,60A96,96,0,0,1,224,128Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L60.63,81.29l17,17A8,8,0,0,1,72,112H24a8,8,0,0,1-8-8V56A8,8,0,0,1,29.66,50.3L49.31,70,60.25,60A96,96,0,0,1,224,128Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M222,128a94,94,0,0,1-92.74,94H128a93.43,93.43,0,0,1-64.5-25.65,6,6,0,1,1,8.24-8.72A82,82,0,1,0,70,70l-.19.19L39.44,98H72a6,6,0,0,1,0,12H24a6,6,0,0,1-6-6V56a6,6,0,0,1,12,0V90.34L61.63,61.4A94,94,0,0,1,222,128Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L44.59,96H72a8,8,0,0,1,0,16H24a8,8,0,0,1-8-8V56a8,8,0,0,1,16,0V85.8L60.25,60A96,96,0,0,1,224,128Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M220,128a92,92,0,0,1-90.77,92H128a91.47,91.47,0,0,1-63.13-25.1,4,4,0,1,1,5.5-5.82A84,84,0,1,0,68.6,68.57l-.13.12L34.3,100H72a4,4,0,0,1,0,8H24a4,4,0,0,1-4-4V56a4,4,0,0,1,8,0V94.89l35-32A92,92,0,0,1,220,128Z`}))]]),Ln=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,128l-72,72V56Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M221.66,122.34l-72-72A8,8,0,0,0,136,56v64H40a8,8,0,0,0,0,16h96v64a8,8,0,0,0,13.66,5.66l72-72A8,8,0,0,0,221.66,122.34ZM152,180.69V75.31L204.69,128Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M221.66,133.66l-72,72A8,8,0,0,1,136,200V136H40a8,8,0,0,1,0-16h96V56a8,8,0,0,1,13.66-5.66l72,72A8,8,0,0,1,221.66,133.66Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M220.24,132.24l-72,72a6,6,0,0,1-8.48-8.48L201.51,134H40a6,6,0,0,1,0-12H201.51L139.76,60.24a6,6,0,0,1,8.48-8.48l72,72A6,6,0,0,1,220.24,132.24Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M218.83,130.83l-72,72a4,4,0,0,1-5.66-5.66L206.34,132H40a4,4,0,0,1,0-8H206.34L141.17,58.83a4,4,0,0,1,5.66-5.66l72,72A4,4,0,0,1,218.83,130.83Z`}))]]),Rn=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M228,104a12,12,0,0,1-24,0V69l-59.51,59.51a12,12,0,0,1-17-17L187,52H152a12,12,0,0,1,0-24h64a12,12,0,0,1,12,12Zm-44,24a12,12,0,0,0-12,12v64H52V84h64a12,12,0,0,0,0-24H48A20,20,0,0,0,28,80V208a20,20,0,0,0,20,20H176a20,20,0,0,0,20-20V140A12,12,0,0,0,184,128Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M184,80V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H176A8,8,0,0,1,184,80Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M192,136v72a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V80A16,16,0,0,1,48,64h72a8,8,0,0,1,0,16H48V208H176V136a8,8,0,0,1,16,0Zm32-96a8,8,0,0,0-8-8H152a8,8,0,0,0-5.66,13.66L172.69,72l-42.35,42.34a8,8,0,0,0,11.32,11.32L184,83.31l26.34,26.35A8,8,0,0,0,224,104Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M222,104a6,6,0,0,1-12,0V54.49l-69.75,69.75a6,6,0,0,1-8.48-8.48L201.51,46H152a6,6,0,0,1,0-12h64a6,6,0,0,1,6,6Zm-38,26a6,6,0,0,0-6,6v72a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V80a2,2,0,0,1,2-2h72a6,6,0,0,0,0-12H48A14,14,0,0,0,34,80V208a14,14,0,0,0,14,14H176a14,14,0,0,0,14-14V136A6,6,0,0,0,184,130Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M220,104a4,4,0,0,1-8,0V49.66l-73.16,73.17a4,4,0,0,1-5.66-5.66L206.34,44H152a4,4,0,0,1,0-8h64a4,4,0,0,1,4,4Zm-36,28a4,4,0,0,0-4,4v72a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V80a4,4,0,0,1,4-4h72a4,4,0,0,0,0-8H48A12,12,0,0,0,36,80V208a12,12,0,0,0,12,12H176a12,12,0,0,0,12-12V136A4,4,0,0,0,184,132Z`}))]]),zn=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M204,64V168a12,12,0,0,1-24,0V93L72.49,200.49a12,12,0,0,1-17-17L163,76H88a12,12,0,0,1,0-24H192A12,12,0,0,1,204,64Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M192,64V168L88,64Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M192,56H88a8,8,0,0,0-5.66,13.66L128.69,116,58.34,186.34a8,8,0,0,0,11.32,11.32L140,127.31l46.34,46.35A8,8,0,0,0,200,168V64A8,8,0,0,0,192,56Zm-8,92.69-38.34-38.34h0L107.31,72H184Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M200,64V168a8,8,0,0,1-13.66,5.66L140,127.31,69.66,197.66a8,8,0,0,1-11.32-11.32L128.69,116,82.34,69.66A8,8,0,0,1,88,56H192A8,8,0,0,1,200,64Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M198,64V168a6,6,0,0,1-12,0V78.48L68.24,196.24a6,6,0,0,1-8.48-8.48L177.52,70H88a6,6,0,0,1,0-12H192A6,6,0,0,1,198,64Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M200,64V168a8,8,0,0,1-16,0V83.31L69.66,197.66a8,8,0,0,1-11.32-11.32L172.69,72H88a8,8,0,0,1,0-16H192A8,8,0,0,1,200,64Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M196,64V168a4,4,0,0,1-8,0V73.66L66.83,194.83a4,4,0,0,1-5.66-5.66L182.34,68H88a4,4,0,0,1,0-8H192A4,4,0,0,1,196,64Z`}))]]),Bn=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M228,48V96a12,12,0,0,1-12,12H168a12,12,0,0,1,0-24h19l-7.8-7.8a75.55,75.55,0,0,0-53.32-22.26h-.43A75.49,75.49,0,0,0,72.39,75.57,12,12,0,1,1,55.61,58.41a99.38,99.38,0,0,1,69.87-28.47H126A99.42,99.42,0,0,1,196.2,59.23L204,67V48a12,12,0,0,1,24,0ZM183.61,180.43a75.49,75.49,0,0,1-53.09,21.63h-.43A75.55,75.55,0,0,1,76.77,179.8L69,172H88a12,12,0,0,0,0-24H40a12,12,0,0,0-12,12v48a12,12,0,0,0,24,0V189l7.8,7.8A99.42,99.42,0,0,0,130,226.06h.56a99.38,99.38,0,0,0,69.87-28.47,12,12,0,0,0-16.78-17.16Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1-5.66-13.66L180.65,72a79.48,79.48,0,0,0-54.72-22.09h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27,96,96,0,0,1,192,60.7l18.36-18.36A8,8,0,0,1,224,48ZM186.41,183.29A80,80,0,0,1,75.35,184l18.31-18.31A8,8,0,0,0,88,152H40a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66L64,195.3a95.42,95.42,0,0,0,66,26.76h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M222,48V96a6,6,0,0,1-6,6H168a6,6,0,0,1,0-12h33.52L183.47,72a81.51,81.51,0,0,0-57.53-24h-.46A81.5,81.5,0,0,0,68.19,71.28a6,6,0,1,1-8.38-8.58,93.38,93.38,0,0,1,65.67-26.76H126a93.45,93.45,0,0,1,66,27.53l18,18V48a6,6,0,0,1,12,0ZM187.81,184.72a81.5,81.5,0,0,1-57.29,23.34h-.46a81.51,81.51,0,0,1-57.53-24L54.48,166H88a6,6,0,0,0,0-12H40a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V174.48l18,18.05a93.45,93.45,0,0,0,66,27.53h.52a93.38,93.38,0,0,0,65.67-26.76,6,6,0,1,0-8.38-8.58Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M220,48V96a4,4,0,0,1-4,4H168a4,4,0,0,1,0-8h38.34L184.89,70.54A84,84,0,0,0,66.8,69.85a4,4,0,1,1-5.6-5.72,92,92,0,0,1,129.34.76L212,86.34V48a4,4,0,0,1,8,0ZM189.2,186.15a83.44,83.44,0,0,1-58.68,23.91h-.47a83.52,83.52,0,0,1-58.94-24.6L49.66,164H88a4,4,0,0,0,0-8H40a4,4,0,0,0-4,4v48a4,4,0,0,0,8,0V169.66l21.46,21.45A91.43,91.43,0,0,0,130,218.06h.51a91.45,91.45,0,0,0,64.28-26.19,4,4,0,1,0-5.6-5.72Z`}))]]),Vn=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M54.8,119.49A35.06,35.06,0,0,1,49.05,128a35.06,35.06,0,0,1,5.75,8.51C60,147.24,60,159.83,60,172c0,25.94,1.84,32,20,32a12,12,0,0,1,0,24c-19.14,0-32.2-6.9-38.8-20.51C36,196.76,36,184.17,36,172c0-25.94-1.84-32-20-32a12,12,0,0,1,0-24c18.16,0,20-6.06,20-32,0-12.17,0-24.76,5.2-35.49C47.8,34.9,60.86,28,80,28a12,12,0,0,1,0,24c-18.16,0-20,6.06-20,32C60,96.17,60,108.76,54.8,119.49ZM240,116c-18.16,0-20-6.06-20-32,0-12.17,0-24.76-5.2-35.49C208.2,34.9,195.14,28,176,28a12,12,0,0,0,0,24c18.16,0,20,6.06,20,32,0,12.17,0,24.76,5.2,35.49A35.06,35.06,0,0,0,207,128a35.06,35.06,0,0,0-5.75,8.51C196,147.24,196,159.83,196,172c0,25.94-1.84,32-20,32a12,12,0,0,0,0,24c19.14,0,32.2-6.9,38.8-20.51C220,196.76,220,184.17,220,172c0-25.94,1.84-32,20-32a12,12,0,0,0,0-24Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M240,128c-64,0,0,88-64,88H80c-64,0,0-88-64-88,64,0,0-88,64-88h96C240,40,176,128,240,128Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M43.18,128a29.78,29.78,0,0,1,8,10.26c4.8,9.9,4.8,22,4.8,33.74,0,24.31,1,36,24,36a8,8,0,0,1,0,16c-17.48,0-29.32-6.14-35.2-18.26-4.8-9.9-4.8-22-4.8-33.74,0-24.31-1-36-24-36a8,8,0,0,1,0-16c23,0,24-11.69,24-36,0-11.72,0-23.84,4.8-33.74C50.68,38.14,62.52,32,80,32a8,8,0,0,1,0,16C57,48,56,59.69,56,84c0,11.72,0,23.84-4.8,33.74A29.78,29.78,0,0,1,43.18,128ZM240,120c-23,0-24-11.69-24-36,0-11.72,0-23.84-4.8-33.74C205.32,38.14,193.48,32,176,32a8,8,0,0,0,0,16c23,0,24,11.69,24,36,0,11.72,0,23.84,4.8,33.74a29.78,29.78,0,0,0,8,10.26,29.78,29.78,0,0,0-8,10.26c-4.8,9.9-4.8,22-4.8,33.74,0,24.31-1,36-24,36a8,8,0,0,0,0,16c17.48,0,29.32-6.14,35.2-18.26,4.8-9.9,4.8-22,4.8-33.74,0-24.31,1-36,24-36a8,8,0,0,0,0-16Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM88,155.84c.29,14.26.41,20.16,16,20.16a8,8,0,0,1,0,16c-31.27,0-31.72-22.43-32-35.84C71.71,141.9,71.59,136,56,136a8,8,0,0,1,0-16c15.59,0,15.71-5.9,16-20.16C72.28,86.43,72.73,64,104,64a8,8,0,0,1,0,16c-15.59,0-15.71,5.9-16,20.16-.17,8.31-.41,20.09-8,27.84C87.59,135.75,87.83,147.53,88,155.84ZM200,136c-15.59,0-15.71,5.9-16,20.16-.28,13.41-.73,35.84-32,35.84a8,8,0,0,1,0-16c15.59,0,15.71-5.9,16-20.16.17-8.31.41-20.09,8-27.84-7.6-7.75-7.84-19.53-8-27.84C167.71,85.9,167.59,80,152,80a8,8,0,0,1,0-16c31.27,0,31.72,22.43,32,35.84.29,14.26.41,20.16,16,20.16a8,8,0,0,1,0,16Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M39.91,128a27.68,27.68,0,0,1,9.49,11.13C54,148.62,54,160.51,54,172c0,24.27,1.21,38,26,38a6,6,0,0,1,0,12c-16.88,0-27.81-5.6-33.4-17.13C42,195.38,42,183.49,42,172c0-24.27-1.21-38-26-38a6,6,0,0,1,0-12c24.79,0,26-13.73,26-38,0-11.49,0-23.38,4.6-32.87C52.19,39.6,63.12,34,80,34a6,6,0,0,1,0,12C55.21,46,54,59.73,54,84c0,11.49,0,23.38-4.6,32.87A27.68,27.68,0,0,1,39.91,128ZM240,122c-24.79,0-26-13.73-26-38,0-11.49,0-23.38-4.6-32.87C203.81,39.6,192.88,34,176,34a6,6,0,0,0,0,12c24.79,0,26,13.73,26,38,0,11.49,0,23.38,4.6,32.87A27.68,27.68,0,0,0,216.09,128a27.68,27.68,0,0,0-9.49,11.13C202,148.62,202,160.51,202,172c0,24.27-1.21,38-26,38a6,6,0,0,0,0,12c16.88,0,27.81-5.6,33.4-17.13,4.6-9.49,4.6-21.38,4.6-32.87,0-24.27,1.21-38,26-38a6,6,0,0,0,0-12Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M43.18,128a29.78,29.78,0,0,1,8,10.26c4.8,9.9,4.8,22,4.8,33.74,0,24.31,1,36,24,36a8,8,0,0,1,0,16c-17.48,0-29.32-6.14-35.2-18.26-4.8-9.9-4.8-22-4.8-33.74,0-24.31-1-36-24-36a8,8,0,0,1,0-16c23,0,24-11.69,24-36,0-11.72,0-23.84,4.8-33.74C50.68,38.14,62.52,32,80,32a8,8,0,0,1,0,16C57,48,56,59.69,56,84c0,11.72,0,23.84-4.8,33.74A29.78,29.78,0,0,1,43.18,128ZM240,120c-23,0-24-11.69-24-36,0-11.72,0-23.84-4.8-33.74C205.32,38.14,193.48,32,176,32a8,8,0,0,0,0,16c23,0,24,11.69,24,36,0,11.72,0,23.84,4.8,33.74a29.78,29.78,0,0,0,8,10.26,29.78,29.78,0,0,0-8,10.26c-4.8,9.9-4.8,22-4.8,33.74,0,24.31-1,36-24,36a8,8,0,0,0,0,16c17.48,0,29.32-6.14,35.2-18.26,4.8-9.9,4.8-22,4.8-33.74,0-24.31,1-36,24-36a8,8,0,0,0,0-16Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M35.89,128C52,136.23,52,155.64,52,172c0,24.8,1.35,40,28,40a4,4,0,0,1,0,8c-36,0-36-26.61-36-48,0-24.8-1.35-40-28-40a4,4,0,0,1,0-8c26.65,0,28-15.2,28-40,0-21.39,0-48,36-48a4,4,0,0,1,0,8C53.35,44,52,59.2,52,84,52,100.36,52,119.77,35.89,128ZM240,124c-26.65,0-28-15.2-28-40,0-21.39,0-48-36-48a4,4,0,0,0,0,8c26.65,0,28,15.2,28,40,0,16.36,0,35.77,16.11,44C204,136.23,204,155.64,204,172c0,24.8-1.35,40-28,40a4,4,0,0,0,0,8c36,0,36-26.61,36-48,0-24.8,1.35-40,28-40a4,4,0,0,0,0-8Z`}))]]),Hn=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M208,28H188V24a12,12,0,0,0-24,0v4H92V24a12,12,0,0,0-24,0v4H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V48A20,20,0,0,0,208,28ZM68,52a12,12,0,0,0,24,0h72a12,12,0,0,0,24,0h16V76H52V52ZM52,204V100H204V204Zm120.49-84.49a12,12,0,0,1,0,17l-48,48a12,12,0,0,1-17,0l-24-24a12,12,0,0,1,17-17L116,159l39.51-39.52A12,12,0,0,1,172.49,119.51Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,48V88H40V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Zm-38.34-85.66a8,8,0,0,1,0,11.32l-48,48a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L116,164.69l42.34-42.35A8,8,0,0,1,169.66,122.34Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM169.66,133.66l-48,48a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L116,164.69l42.34-42.35a8,8,0,0,1,11.32,11.32ZM48,80V48H72v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M208,34H182V24a6,6,0,0,0-12,0V34H86V24a6,6,0,0,0-12,0V34H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V48A14,14,0,0,0,208,34ZM48,46H74V56a6,6,0,0,0,12,0V46h84V56a6,6,0,0,0,12,0V46h26a2,2,0,0,1,2,2V82H46V48A2,2,0,0,1,48,46ZM208,210H48a2,2,0,0,1-2-2V94H210V208A2,2,0,0,1,208,210Zm-39.76-86.24a6,6,0,0,1,0,8.48l-48,48a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L116,167.51l43.76-43.75A6,6,0,0,1,168.24,123.76Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Zm-38.34-85.66a8,8,0,0,1,0,11.32l-48,48a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L116,164.69l42.34-42.35A8,8,0,0,1,169.66,122.34Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M208,36H180V24a4,4,0,0,0-8,0V36H84V24a4,4,0,0,0-8,0V36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V48A12,12,0,0,0,208,36ZM48,44H76V56a4,4,0,0,0,8,0V44h88V56a4,4,0,0,0,8,0V44h28a4,4,0,0,1,4,4V84H44V48A4,4,0,0,1,48,44ZM208,212H48a4,4,0,0,1-4-4V92H212V208A4,4,0,0,1,208,212Zm-41.17-86.83a4,4,0,0,1,0,5.66l-48,48a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L116,170.34l45.17-45.17A4,4,0,0,1,166.83,125.17Z`}))]]),Un=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M160,48V208L80,128Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z`}))]]),Wn=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M176,128,96,208V48Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z`}))]]),Gn=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z`}))]]),Kn=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z`}))]]),qn=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm68-84a12,12,0,0,1-12,12H128a12,12,0,0,1-12-12V72a12,12,0,0,1,24,0v44h44A12,12,0,0,1,196,128Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm56,112H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm62-90a6,6,0,0,1-6,6H128a6,6,0,0,1-6-6V72a6,6,0,0,1,12,0v50h50A6,6,0,0,1,190,128Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm60-92a4,4,0,0,1-4,4H128a4,4,0,0,1-4-4V72a4,4,0,0,1,8,0v52h52A4,4,0,0,1,188,128Z`}))]]),Jn=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,28H88A12,12,0,0,0,76,40V76H40A12,12,0,0,0,28,88V216a12,12,0,0,0,12,12H168a12,12,0,0,0,12-12V180h36a12,12,0,0,0,12-12V40A12,12,0,0,0,216,28ZM156,204H52V100H156Zm48-48H180V88a12,12,0,0,0-12-12H100V52H204Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,40V168H168V88H88V40Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32Zm-8,128H176V88a8,8,0,0,0-8-8H96V48H208Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,34H88a6,6,0,0,0-6,6V82H40a6,6,0,0,0-6,6V216a6,6,0,0,0,6,6H168a6,6,0,0,0,6-6V174h42a6,6,0,0,0,6-6V40A6,6,0,0,0,216,34ZM162,210H46V94H162Zm48-48H174V88a6,6,0,0,0-6-6H94V46H210Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,36H88a4,4,0,0,0-4,4V84H40a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H168a4,4,0,0,0,4-4V172h44a4,4,0,0,0,4-4V40A4,4,0,0,0,216,36ZM164,212H44V92H164Zm48-48H172V88a4,4,0,0,0-4-4H92V44H212Z`}))]]),Yn=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M225.6,62.64l-88-48.17a19.91,19.91,0,0,0-19.2,0l-88,48.17A20,20,0,0,0,20,80.19v95.62a20,20,0,0,0,10.4,17.55l88,48.17a19.89,19.89,0,0,0,19.2,0l88-48.17A20,20,0,0,0,236,175.81V80.19A20,20,0,0,0,225.6,62.64ZM128,36.57,200,76,128,115.4,56,76ZM44,96.79l72,39.4v76.67L44,173.44Zm96,116.07V136.19l72-39.4v76.65Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,129.09V232a8,8,0,0,1-3.84-1l-88-48.16a8,8,0,0,1-4.16-7V80.2a8,8,0,0,1,.7-3.27Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M223.68,66.15,135.68,18h0a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32h0l80.34,44L128,120,47.66,76ZM40,90l80,43.78v85.79L40,175.82Zm96,129.57V133.82L216,90v85.78Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,120,47.65,76,128,32l80.35,44Zm8,99.64V133.83l80-43.78v85.76Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M222.72,67.9l-88-48.17a13.9,13.9,0,0,0-13.44,0l-88,48.18A14,14,0,0,0,26,80.18v95.64a14,14,0,0,0,7.28,12.27l88,48.18a13.92,13.92,0,0,0,13.44,0l88-48.18A14,14,0,0,0,230,175.82V80.18A14,14,0,0,0,222.72,67.9ZM127,30.25a2,2,0,0,1,1.92,0L212.51,76,128,122.24,43.49,76ZM39,177.57a2,2,0,0,1-1-1.75V86.66l84,46V223Zm177.92,0L134,223V132.64l84-46v89.16A2,2,0,0,1,217,177.57Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M223.68,66.15,135.68,18h0a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32h0l80.34,44L128,120,47.66,76ZM40,90l80,43.78v85.79L40,175.82Zm96,129.57V133.82L216,90v85.78Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M221.76,69.66l-88-48.18a12,12,0,0,0-11.52,0l-88,48.18A12,12,0,0,0,28,80.18v95.64a12,12,0,0,0,6.24,10.52l88,48.18a11.95,11.95,0,0,0,11.52,0l88-48.18A12,12,0,0,0,228,175.82V80.18A12,12,0,0,0,221.76,69.66ZM126.08,28.5a3.94,3.94,0,0,1,3.84,0L216.67,76,128,124.52,39.33,76Zm-88,150.83A4,4,0,0,1,36,175.82V83.29l88,48.16v94.91Zm179.84,0-85.92,47V131.45l88-48.16v92.53A4,4,0,0,1,217.92,179.32Z`}))]]),Xn=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M196,35.52C177.62,25.51,153.48,20,128,20S78.38,25.51,60,35.52C39.37,46.79,28,62.58,28,80v96c0,17.42,11.37,33.21,32,44.48,18.35,10,42.49,15.52,68,15.52s49.62-5.51,68-15.52c20.66-11.27,32-27.06,32-44.48V80C228,62.58,216.63,46.79,196,35.52ZM204,128c0,17-31.21,36-76,36s-76-19-76-36v-8.46a88.9,88.9,0,0,0,8,4.94c18.35,10,42.49,15.52,68,15.52s49.62-5.51,68-15.52a88.9,88.9,0,0,0,8-4.94ZM128,44c44.79,0,76,19,76,36s-31.21,36-76,36S52,97,52,80,83.21,44,128,44Zm0,168c-44.79,0-76-19-76-36v-8.46a88.9,88.9,0,0,0,8,4.94c18.35,10,42.49,15.52,68,15.52s49.62-5.51,68-15.52a88.9,88.9,0,0,0,8-4.94V176C204,193,172.79,212,128,212Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,80c0,26.51-39.4,48-88,48S40,106.51,40,80s39.4-48,88-48S216,53.49,216,80Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M128,24C74.17,24,32,48.6,32,80v96c0,31.4,42.17,56,96,56s96-24.6,96-56V80C224,48.6,181.83,24,128,24Zm80,104c0,9.62-7.88,19.43-21.61,26.92C170.93,163.35,150.19,168,128,168s-42.93-4.65-58.39-13.08C55.88,147.43,48,137.62,48,128V111.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64ZM69.61,53.08C85.07,44.65,105.81,40,128,40s42.93,4.65,58.39,13.08C200.12,60.57,208,70.38,208,80s-7.88,19.43-21.61,26.92C170.93,115.35,150.19,120,128,120s-42.93-4.65-58.39-13.08C55.88,99.43,48,89.62,48,80S55.88,60.57,69.61,53.08ZM186.39,202.92C170.93,211.35,150.19,216,128,216s-42.93-4.65-58.39-13.08C55.88,195.43,48,185.62,48,176V159.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64V176C208,185.62,200.12,195.43,186.39,202.92Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,24C74.17,24,32,48.6,32,80v96c0,31.4,42.17,56,96,56s96-24.6,96-56V80C224,48.6,181.83,24,128,24Zm80,104c0,9.62-7.88,19.43-21.61,26.92C170.93,163.35,150.19,168,128,168s-42.93-4.65-58.39-13.08C55.88,147.43,48,137.62,48,128V111.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64Zm-21.61,74.92C170.93,211.35,150.19,216,128,216s-42.93-4.65-58.39-13.08C55.88,195.43,48,185.62,48,176V159.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64V176C208,185.62,200.12,195.43,186.39,202.92Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,26C75.29,26,34,49.72,34,80v96c0,30.28,41.29,54,94,54s94-23.72,94-54V80C222,49.72,180.71,26,128,26Zm0,12c44.45,0,82,19.23,82,42s-37.55,42-82,42S46,102.77,46,80,83.55,38,128,38Zm82,138c0,22.77-37.55,42-82,42s-82-19.23-82-42V154.79C62,171.16,92.37,182,128,182s66-10.84,82-27.21Zm0-48c0,22.77-37.55,42-82,42s-82-19.23-82-42V106.79C62,123.16,92.37,134,128,134s66-10.84,82-27.21Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,24C74.17,24,32,48.6,32,80v96c0,31.4,42.17,56,96,56s96-24.6,96-56V80C224,48.6,181.83,24,128,24Zm80,104c0,9.62-7.88,19.43-21.61,26.92C170.93,163.35,150.19,168,128,168s-42.93-4.65-58.39-13.08C55.88,147.43,48,137.62,48,128V111.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64ZM69.61,53.08C85.07,44.65,105.81,40,128,40s42.93,4.65,58.39,13.08C200.12,60.57,208,70.38,208,80s-7.88,19.43-21.61,26.92C170.93,115.35,150.19,120,128,120s-42.93-4.65-58.39-13.08C55.88,99.43,48,89.62,48,80S55.88,60.57,69.61,53.08ZM186.39,202.92C170.93,211.35,150.19,216,128,216s-42.93-4.65-58.39-13.08C55.88,195.43,48,185.62,48,176V159.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64V176C208,185.62,200.12,195.43,186.39,202.92Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M192.14,42.55C174.94,33.17,152.16,28,128,28S81.06,33.17,63.86,42.55C45.89,52.35,36,65.65,36,80v96c0,14.35,9.89,27.65,27.86,37.45,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c18-9.8,27.86-23.1,27.86-37.45V80C220,65.65,210.11,52.35,192.14,42.55ZM212,176c0,11.29-8.41,22.1-23.69,30.43C172.27,215.18,150.85,220,128,220s-44.27-4.82-60.31-13.57C52.41,198.1,44,187.29,44,176V149.48c4.69,5.93,11.37,11.34,19.86,16,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c8.49-4.63,15.17-10,19.86-16Zm0-48c0,11.29-8.41,22.1-23.69,30.43C172.27,167.18,150.85,172,128,172s-44.27-4.82-60.31-13.57C52.41,150.1,44,139.29,44,128V101.48c4.69,5.93,11.37,11.34,19.86,16,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c8.49-4.63,15.17-10,19.86-16Zm-23.69-17.57C172.27,119.18,150.85,124,128,124s-44.27-4.82-60.31-13.57C52.41,102.1,44,91.29,44,80s8.41-22.1,23.69-30.43C83.73,40.82,105.15,36,128,36s44.27,4.82,60.31,13.57C203.59,57.9,212,68.71,212,80S203.59,102.1,188.31,110.43Z`}))]]),Zn=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M112,60a16,16,0,1,1,16,16A16,16,0,0,1,112,60Zm16,52a16,16,0,1,0,16,16A16,16,0,0,0,128,112Zm0,68a16,16,0,1,0,16,16A16,16,0,0,0,128,180Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M176,32V224a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16V32A16,16,0,0,1,96,16h64A16,16,0,0,1,176,32Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128ZM128,72a12,12,0,1,0-12-12A12,12,0,0,0,128,72Zm0,112a12,12,0,1,0,12,12A12,12,0,0,0,128,184Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M160,16H96A16,16,0,0,0,80,32V224a16,16,0,0,0,16,16h64a16,16,0,0,0,16-16V32A16,16,0,0,0,160,16ZM128,208a12,12,0,1,1,12-12A12,12,0,0,1,128,208Zm0-68a12,12,0,1,1,12-12A12,12,0,0,1,128,140Zm0-68a12,12,0,1,1,12-12A12,12,0,0,1,128,72Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M118,60a10,10,0,1,1,10,10A10,10,0,0,1,118,60Zm10,58a10,10,0,1,0,10,10A10,10,0,0,0,128,118Zm0,68a10,10,0,1,0,10,10A10,10,0,0,0,128,186Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128ZM128,72a12,12,0,1,0-12-12A12,12,0,0,0,128,72Zm0,112a12,12,0,1,0,12,12A12,12,0,0,0,128,184Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M120,60a8,8,0,1,1,8,8A8,8,0,0,1,120,60Zm8,60a8,8,0,1,0,8,8A8,8,0,0,0,128,120Zm0,68a8,8,0,1,0,8,8A8,8,0,0,0,128,188Z`}))]]),Qn=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z`}))]]),$n=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M51,37.31A4,4,0,0,0,45,42.69L67.59,67.5C29.34,89,13,124.81,12.34,126.38a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17a122.59,122.59,0,0,0,53.06-11.69l24,26.38a4,4,0,1,0,5.92-5.38ZM149.1,157.16A36,36,0,0,1,101,104.22ZM128,196c-32,0-59.89-11.65-83-34.62A135.81,135.81,0,0,1,20.44,128c3.65-7.23,20.09-36.81,52.68-54.43l22.45,24.7a44,44,0,0,0,59,64.83l20.89,23A114.94,114.94,0,0,1,128,196Zm6.78-103.36a4,4,0,0,1,1.49-7.86,44.15,44.15,0,0,1,35.54,39.09,4,4,0,0,1-3.61,4.35l-.38,0a4,4,0,0,1-4-3.63A36.1,36.1,0,0,0,134.78,92.64Zm108.88,37c-.41.91-10.2,22.58-32.38,42.45a4,4,0,0,1-2.67,1,4,4,0,0,1-2.67-7A136.71,136.71,0,0,0,235.56,128,136.07,136.07,0,0,0,211,94.62C187.89,71.65,160,60,128,60a122,122,0,0,0-20,1.63,4,4,0,0,1-1.32-7.89A129.3,129.3,0,0,1,128,52c42.7,0,71.87,20.22,88.83,37.18,18.31,18.31,26.49,36.44,26.83,37.2A4.08,4.08,0,0,1,243.66,129.63Z`}))]]),er=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M180.49,143.51a12,12,0,0,1,0,17l-24,24a12,12,0,0,1-17-17L155,152l-15.52-15.51a12,12,0,1,1,17-17Zm-64-24a12,12,0,0,0-17,0l-24,24a12,12,0,0,0,0,17l24,24a12,12,0,0,0,17-17L101,152l15.52-15.51A12,12,0,0,0,116.49,119.51ZM220,88V216a20,20,0,0,1-20,20H56a20,20,0,0,1-20-20V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.52l56,56A12,12,0,0,1,220,88ZM160,57V80h23Zm36,155V104H148a12,12,0,0,1-12-12V44H60V212Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M208,88H152V32Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M181.66,146.34a8,8,0,0,1,0,11.32l-24,24a8,8,0,0,1-11.32-11.32L164.69,152l-18.35-18.34a8,8,0,0,1,11.32-11.32Zm-72-24a8,8,0,0,0-11.32,0l-24,24a8,8,0,0,0,0,11.32l24,24a8,8,0,0,0,11.32-11.32L91.31,152l18.35-18.34A8,8,0,0,0,109.66,122.34ZM216,88V216a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31Zm40,136V96H152a8,8,0,0,1-8-8V40H56V216H200Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34Zm-104,88a8,8,0,0,1-11.32,11.32l-24-24a8,8,0,0,1,0-11.32l24-24a8,8,0,0,1,11.32,11.32L91.31,152Zm72-12.68-24,24a8,8,0,0,1-11.32-11.32L164.69,152l-18.35-18.34a8,8,0,0,1,11.32-11.32l24,24A8,8,0,0,1,181.66,157.66ZM152,88V44l44,44Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M180.24,147.76a6,6,0,0,1,0,8.48l-24,24a6,6,0,0,1-8.48-8.48L167.51,152l-19.75-19.76a6,6,0,1,1,8.48-8.48Zm-72-24a6,6,0,0,0-8.48,0l-24,24a6,6,0,0,0,0,8.48l24,24a6,6,0,1,0,8.48-8.48L88.49,152l19.75-19.76A6,6,0,0,0,108.24,123.76ZM214,88V216a14,14,0,0,1-14,14H56a14,14,0,0,1-14-14V40A14,14,0,0,1,56,26h96a6,6,0,0,1,4.25,1.76l56,56A6,6,0,0,1,214,88Zm-56-6h35.52L158,46.48Zm44,134V94H152a6,6,0,0,1-6-6V38H56a2,2,0,0,0-2,2V216a2,2,0,0,0,2,2H200A2,2,0,0,0,202,216Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M181.66,146.34a8,8,0,0,1,0,11.32l-24,24a8,8,0,0,1-11.32-11.32L164.69,152l-18.35-18.34a8,8,0,0,1,11.32-11.32Zm-72-24a8,8,0,0,0-11.32,0l-24,24a8,8,0,0,0,0,11.32l24,24a8,8,0,0,0,11.32-11.32L91.31,152l18.35-18.34A8,8,0,0,0,109.66,122.34ZM216,88V216a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31Zm40,136V96H152a8,8,0,0,1-8-8V40H56V216H200Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M178.83,149.17a4,4,0,0,1,0,5.66l-24,24a4,4,0,0,1-5.66-5.66L170.34,152l-21.17-21.17a4,4,0,1,1,5.66-5.66Zm-72-24a4,4,0,0,0-5.66,0l-24,24a4,4,0,0,0,0,5.66l24,24a4,4,0,1,0,5.66-5.66L85.66,152l21.17-21.17A4,4,0,0,0,106.83,125.17ZM212,88V216a12,12,0,0,1-12,12H56a12,12,0,0,1-12-12V40A12,12,0,0,1,56,28h96a4,4,0,0,1,2.83,1.17l56,56A4,4,0,0,1,212,88Zm-56-4h42.34L156,41.65Zm48,132V92H152a4,4,0,0,1-4-4V36H56a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H200A4,4,0,0,0,204,216Z`}))]]),tr=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M222.14,69.17,186.83,33.86A19.86,19.86,0,0,0,172.69,28H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V83.31A19.86,19.86,0,0,0,222.14,69.17ZM164,204H92V160h72Zm40,0H188V156a20,20,0,0,0-20-20H88a20,20,0,0,0-20,20v48H52V52H171l33,33ZM164,84a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h56A12,12,0,0,1,164,84Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,83.31V208a8,8,0,0,1-8,8H176V152a8,8,0,0,0-8-8H88a8,8,0,0,0-8,8v64H48a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8H172.69a8,8,0,0,1,5.65,2.34l35.32,35.32A8,8,0,0,1,216,83.31Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M219.31,72,184,36.69A15.86,15.86,0,0,0,172.69,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V83.31A15.86,15.86,0,0,0,219.31,72ZM168,208H88V152h80Zm40,0H184V152a16,16,0,0,0-16-16H88a16,16,0,0,0-16,16v56H48V48H172.69L208,83.31ZM160,72a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h56A8,8,0,0,1,160,72Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M219.31,72,184,36.69A15.86,15.86,0,0,0,172.69,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V83.31A15.86,15.86,0,0,0,219.31,72ZM208,208H184V152a16,16,0,0,0-16-16H88a16,16,0,0,0-16,16v56H48V48H172.69L208,83.31ZM160,72a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h56A8,8,0,0,1,160,72Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M217.9,73.42,182.58,38.1a13.9,13.9,0,0,0-9.89-4.1H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V83.31A13.9,13.9,0,0,0,217.9,73.42ZM170,210H86V152a2,2,0,0,1,2-2h80a2,2,0,0,1,2,2Zm40-2a2,2,0,0,1-2,2H182V152a14,14,0,0,0-14-14H88a14,14,0,0,0-14,14v58H48a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2H172.69a2,2,0,0,1,1.41.58L209.42,81.9a2,2,0,0,1,.58,1.41ZM158,72a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h56A6,6,0,0,1,158,72Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M219.31,72,184,36.69A15.86,15.86,0,0,0,172.69,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V83.31A15.86,15.86,0,0,0,219.31,72ZM168,208H88V152h80Zm40,0H184V152a16,16,0,0,0-16-16H88a16,16,0,0,0-16,16v56H48V48H172.69L208,83.31ZM160,72a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h56A8,8,0,0,1,160,72Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216.49,74.83,181.17,39.51A11.93,11.93,0,0,0,172.69,36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V83.31A11.93,11.93,0,0,0,216.49,74.83ZM172,212H84V152a4,4,0,0,1,4-4h80a4,4,0,0,1,4,4Zm40-4a4,4,0,0,1-4,4H180V152a12,12,0,0,0-12-12H88a12,12,0,0,0-12,12v60H48a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4H172.69a4,4,0,0,1,2.82,1.17l35.32,35.32A4,4,0,0,1,212,83.31ZM156,72a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h56A4,4,0,0,1,156,72Z`}))]]),nr=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M209.88,69.83A115.19,115.19,0,0,0,128,36h-.41C63.85,36.22,12,88.76,12,153.13V176a20,20,0,0,0,20,20H224a20,20,0,0,0,20-20V152A115.25,115.25,0,0,0,209.88,69.83ZM220,172H127.32l46.44-65A12,12,0,1,0,154.24,93L97.82,172H36V153.13c0-1.72,0-3.43.14-5.13H56a12,12,0,0,0,0-24H40.62c10.91-33.39,40-58.52,75.38-63.21V80a12,12,0,0,0,24,0V60.8A92,92,0,0,1,215.66,124H200a12,12,0,0,0,0,24h19.9c.06,1.33.1,2.66.1,4Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M232,152v24a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V153.13C24,95.65,70.15,48.2,127.63,48A104,104,0,0,1,232,152Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M207.06,72.67A111.24,111.24,0,0,0,128,40h-.4C66.07,40.21,16,91,16,153.13V176a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V152A111.25,111.25,0,0,0,207.06,72.67ZM224,176H119.71l54.76-75.3a8,8,0,0,0-12.94-9.42L99.92,176H32V153.13c0-3.08.15-6.12.43-9.13H56a8,8,0,0,0,0-16H35.27c10.32-38.86,44-68.24,84.73-71.66V80a8,8,0,0,0,16,0V56.33A96.14,96.14,0,0,1,221,128H200a8,8,0,0,0,0,16h23.67c.21,2.65.33,5.31.33,8Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M240,152v24a16,16,0,0,1-16,16H115.93a4,4,0,0,1-3.24-6.35L174.27,101a8.21,8.21,0,0,0-1.37-11.3,8,8,0,0,0-11.37,1.61l-72,99.06A4,4,0,0,1,86.25,192H32a16,16,0,0,1-16-16V153.13c0-1.79,0-3.57.13-5.33a4,4,0,0,1,4-3.8H48a8,8,0,0,0,8-8.53A8.17,8.17,0,0,0,47.73,128H23.92a4,4,0,0,1-3.87-5c12-43.84,49.66-77.13,95.52-82.28a4,4,0,0,1,4.43,4V72a8,8,0,0,0,8.53,8A8.17,8.17,0,0,0,136,71.73V44.67a4,4,0,0,1,4.43-4A112.18,112.18,0,0,1,236.23,123a4,4,0,0,1-3.88,5H208.27a8.17,8.17,0,0,0-8.25,7.47,8,8,0,0,0,8,8.53h27.92a4,4,0,0,1,4,3.86C240,149.23,240,150.61,240,152Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M205.65,74.08A109.26,109.26,0,0,0,128,42h-.39C67.17,42.21,18,92.06,18,153.13V176a14,14,0,0,0,14,14H224a14,14,0,0,0,14-14V152A109.3,109.3,0,0,0,205.65,74.08ZM226,176a2,2,0,0,1-2,2H115.78l57.07-78.47a6,6,0,0,0-9.7-7.06L100.94,178H32a2,2,0,0,1-2-2V153.13A102.36,102.36,0,0,1,30.62,142H56a6,6,0,0,0,0-12H32.71C42.6,88.4,78.53,56.86,122,54.19V80a6,6,0,0,0,12,0V54.19A98.05,98.05,0,0,1,223.53,130H200a6,6,0,0,0,0,12h25.5c.33,3.3.5,6.64.5,10Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M207.06,72.67A111.24,111.24,0,0,0,128,40h-.4C66.07,40.21,16,91,16,153.13V176a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V152A111.25,111.25,0,0,0,207.06,72.67ZM224,176H119.71l54.76-75.3a8,8,0,0,0-12.94-9.42L99.92,176H32V153.13c0-3.08.15-6.12.43-9.13H56a8,8,0,0,0,0-16H35.27c10.32-38.86,44-68.24,84.73-71.66V80a8,8,0,0,0,16,0V56.33A96.14,96.14,0,0,1,221,128H200a8,8,0,0,0,0,16h23.67c.21,2.65.33,5.31.33,8Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M204.23,75.5A107.37,107.37,0,0,0,127.62,44C68.28,44.21,20,93.16,20,153.13V176a12,12,0,0,0,12,12H224a12,12,0,0,0,12-12V152A107.25,107.25,0,0,0,204.23,75.5ZM228,176a4,4,0,0,1-4,4H111.85l59.38-81.65a4,4,0,1,0-6.46-4.7L102,180H32a4,4,0,0,1-4-4V153.13A103.42,103.42,0,0,1,28.84,140H56a4,4,0,0,0,0-8H30.21C39.59,87.66,77.84,53.93,124,52.09V80a4,4,0,0,0,8,0V52.08A100.08,100.08,0,0,1,226,132H200a4,4,0,0,0,0,8h27.29a101.6,101.6,0,0,1,.71,12Z`}))]]),rr=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm113.86-49.57A12,12,0,0,0,236,98.34L208.21,82.49l-.11-31.31a12,12,0,0,0-4.25-9.12,116,116,0,0,0-38-21.41,12,12,0,0,0-9.68.89L128,37.27,99.83,21.53a12,12,0,0,0-9.7-.9,116.06,116.06,0,0,0-38,21.47,12,12,0,0,0-4.24,9.1l-.14,31.34L20,98.35a12,12,0,0,0-5.85,8.11,110.7,110.7,0,0,0,0,43.11A12,12,0,0,0,20,157.66l27.82,15.85.11,31.31a12,12,0,0,0,4.25,9.12,116,116,0,0,0,38,21.41,12,12,0,0,0,9.68-.89L128,218.73l28.14,15.74a12,12,0,0,0,9.7.9,116.06,116.06,0,0,0,38-21.47,12,12,0,0,0,4.24-9.1l.14-31.34,27.81-15.81a12,12,0,0,0,5.85-8.11A110.7,110.7,0,0,0,241.86,106.43Zm-22.63,33.18-26.88,15.28a11.94,11.94,0,0,0-4.55,4.59c-.54,1-1.11,1.93-1.7,2.88a12,12,0,0,0-1.83,6.31L184.13,199a91.83,91.83,0,0,1-21.07,11.87l-27.15-15.19a12,12,0,0,0-5.86-1.53h-.29c-1.14,0-2.3,0-3.44,0a12.08,12.08,0,0,0-6.14,1.51L93,210.82A92.27,92.27,0,0,1,71.88,199l-.11-30.24a12,12,0,0,0-1.83-6.32c-.58-.94-1.16-1.91-1.7-2.88A11.92,11.92,0,0,0,63.7,155L36.8,139.63a86.53,86.53,0,0,1,0-23.24l26.88-15.28a12,12,0,0,0,4.55-4.58c.54-1,1.11-1.94,1.7-2.89a12,12,0,0,0,1.83-6.31L71.87,57A91.83,91.83,0,0,1,92.94,45.17l27.15,15.19a11.92,11.92,0,0,0,6.15,1.52c1.14,0,2.3,0,3.44,0a12.08,12.08,0,0,0,6.14-1.51L163,45.18A92.27,92.27,0,0,1,184.12,57l.11,30.24a12,12,0,0,0,1.83,6.32c.58.94,1.16,1.91,1.7,2.88A11.92,11.92,0,0,0,192.3,101l26.9,15.33A86.53,86.53,0,0,1,219.23,139.61Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M230.1,108.76,198.25,90.62c-.64-1.16-1.31-2.29-2-3.41l-.12-36A104.61,104.61,0,0,0,162,32L130,49.89c-1.34,0-2.69,0-4,0L94,32A104.58,104.58,0,0,0,59.89,51.25l-.16,36c-.7,1.12-1.37,2.26-2,3.41l-31.84,18.1a99.15,99.15,0,0,0,0,38.46l31.85,18.14c.64,1.16,1.31,2.29,2,3.41l.12,36A104.61,104.61,0,0,0,94,224l32-17.87c1.34,0,2.69,0,4,0L162,224a104.58,104.58,0,0,0,34.08-19.25l.16-36c.7-1.12,1.37-2.26,2-3.41l31.84-18.1A99.15,99.15,0,0,0,230.1,108.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm109.94-52.79a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A111.92,111.92,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.63a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21Zm-15,34.91-28.57,16.25a8,8,0,0,0-3,3c-.58,1-1.19,2.06-1.81,3.06a7.94,7.94,0,0,0-1.22,4.21l-.15,32.25a95.89,95.89,0,0,1-25.37,14.3L134,199.13a8,8,0,0,0-3.91-1h-.19c-1.21,0-2.43,0-3.64,0a8.1,8.1,0,0,0-4.1,1l-28.84,16.1A96,96,0,0,1,67.88,201l-.11-32.2a8,8,0,0,0-1.22-4.22c-.62-1-1.23-2-1.8-3.06a8.09,8.09,0,0,0-3-3.06l-28.6-16.29a90.49,90.49,0,0,1,0-28.26L61.67,97.63a8,8,0,0,0,3-3c.58-1,1.19-2.06,1.81-3.06a7.94,7.94,0,0,0,1.22-4.21l.15-32.25a95.89,95.89,0,0,1,25.37-14.3L122,56.87a8,8,0,0,0,4.1,1c1.21,0,2.43,0,3.64,0a8,8,0,0,0,4.1-1l28.84-16.1A96,96,0,0,1,188.12,55l.11,32.2a8,8,0,0,0,1.22,4.22c.62,1,1.23,2,1.8,3.06a8.09,8.09,0,0,0,3,3.06l28.6,16.29A90.49,90.49,0,0,1,222.9,142.12Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M237.94,107.21a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A111.92,111.92,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.63a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,82a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Zm108-54.4a6,6,0,0,0-2.92-4L202.64,86.22l-.42-.71L202.1,51.2A6,6,0,0,0,200,46.64a110.12,110.12,0,0,0-36.07-20.31,6,6,0,0,0-4.84.45L128.46,43.86h-1L96.91,26.76a6,6,0,0,0-4.86-.44A109.92,109.92,0,0,0,56,46.68a6,6,0,0,0-2.12,4.55l-.16,34.34c-.14.23-.28.47-.41.71L22.91,103.57A6,6,0,0,0,20,107.62a104.81,104.81,0,0,0,0,40.78,6,6,0,0,0,2.92,4l30.42,17.33.42.71.12,34.31A6,6,0,0,0,56,209.36a110.12,110.12,0,0,0,36.07,20.31,6,6,0,0,0,4.84-.45l30.61-17.08h1l30.56,17.1A6.09,6.09,0,0,0,162,230a5.83,5.83,0,0,0,1.93-.32,109.92,109.92,0,0,0,36-20.36,6,6,0,0,0,2.12-4.55l.16-34.34c.14-.23.28-.47.41-.71l30.42-17.29a6,6,0,0,0,2.92-4.05A104.81,104.81,0,0,0,236,107.6Zm-11.25,35.79L195.32,160.1a6.07,6.07,0,0,0-2.28,2.3c-.59,1-1.21,2.11-1.86,3.14a6,6,0,0,0-.91,3.16l-.16,33.21a98.15,98.15,0,0,1-27.52,15.53L133,200.88a6,6,0,0,0-2.93-.77h-.14c-1.24,0-2.5,0-3.74,0a6,6,0,0,0-3.07.76L93.45,217.43a98,98,0,0,1-27.56-15.49l-.12-33.17a6,6,0,0,0-.91-3.16c-.64-1-1.27-2.08-1.86-3.14a6,6,0,0,0-2.27-2.3L31.3,143.4a93,93,0,0,1,0-30.79L60.68,95.9A6.07,6.07,0,0,0,63,93.6c.59-1,1.21-2.11,1.86-3.14a6,6,0,0,0,.91-3.16l.16-33.21A98.15,98.15,0,0,1,93.41,38.56L123,55.12a5.81,5.81,0,0,0,3.07.76c1.24,0,2.5,0,3.74,0a6,6,0,0,0,3.07-.76l29.65-16.56a98,98,0,0,1,27.56,15.49l.12,33.17a6,6,0,0,0,.91,3.16c.64,1,1.27,2.08,1.86,3.14a6,6,0,0,0,2.27,2.3L224.7,112.6A93,93,0,0,1,224.73,143.39Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm109.94-52.79a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A112.1,112.1,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.62a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21Zm-15,34.91-28.57,16.25a8,8,0,0,0-3,3c-.58,1-1.19,2.06-1.81,3.06a7.94,7.94,0,0,0-1.22,4.21l-.15,32.25a95.89,95.89,0,0,1-25.37,14.3L134,199.13a8,8,0,0,0-3.91-1h-.19c-1.21,0-2.43,0-3.64,0a8.08,8.08,0,0,0-4.1,1l-28.84,16.1A96,96,0,0,1,67.88,201l-.11-32.2a8,8,0,0,0-1.22-4.22c-.62-1-1.23-2-1.8-3.06a8.09,8.09,0,0,0-3-3.06l-28.6-16.29a90.49,90.49,0,0,1,0-28.26L61.67,97.63a8,8,0,0,0,3-3c.58-1,1.19-2.06,1.81-3.06a7.94,7.94,0,0,0,1.22-4.21l.15-32.25a95.89,95.89,0,0,1,25.37-14.3L122,56.87a8,8,0,0,0,4.1,1c1.21,0,2.43,0,3.64,0a8.08,8.08,0,0,0,4.1-1l28.84-16.1A96,96,0,0,1,188.12,55l.11,32.2a8,8,0,0,0,1.22,4.22c.62,1,1.23,2,1.8,3.06a8.09,8.09,0,0,0,3,3.06l28.6,16.29A90.49,90.49,0,0,1,222.9,142.12Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Zm106-56a4,4,0,0,0-2-2.7l-30.89-17.6q-.47-.82-1-1.62L200.1,51.2a3.94,3.94,0,0,0-1.42-3,107.8,107.8,0,0,0-35.41-19.94,4,4,0,0,0-3.23.29L129,45.87h-2l-31-17.36a4,4,0,0,0-3.23-.3,108.05,108.05,0,0,0-35.39,20,4,4,0,0,0-1.41,3l-.16,34.9-1,1.62L23.9,105.3A4,4,0,0,0,22,108a102.76,102.76,0,0,0,0,40,4,4,0,0,0,1.95,2.7l30.89,17.6q.47.83,1,1.62l.12,34.87a3.94,3.94,0,0,0,1.42,3,107.8,107.8,0,0,0,35.41,19.94,4,4,0,0,0,3.23-.29L127,210.13h2l31,17.36a4,4,0,0,0,3.23.3,108.05,108.05,0,0,0,35.39-20,4,4,0,0,0,1.41-3l.16-34.9,1-1.62L232.1,150.7a4,4,0,0,0,2-2.71A102.76,102.76,0,0,0,234,108Zm-7.48,36.67L196.3,161.84a4,4,0,0,0-1.51,1.53c-.61,1.09-1.25,2.17-1.91,3.24a3.92,3.92,0,0,0-.61,2.1l-.16,34.15a99.8,99.8,0,0,1-29.7,16.77l-30.4-17a4.06,4.06,0,0,0-2-.51H130c-1.28,0-2.57,0-3.84,0a4.1,4.1,0,0,0-2.05.51l-30.45,17A100.23,100.23,0,0,1,63.89,202.9l-.12-34.12a3.93,3.93,0,0,0-.61-2.11c-.66-1-1.3-2.14-1.91-3.23a4,4,0,0,0-1.51-1.53L29.49,144.68a94.78,94.78,0,0,1,0-33.34L59.7,94.16a4,4,0,0,0,1.51-1.53c.61-1.09,1.25-2.17,1.91-3.23a4,4,0,0,0,.61-2.11l.16-34.15a99.8,99.8,0,0,1,29.7-16.77l30.4,17a4.1,4.1,0,0,0,2.05.51c1.28,0,2.57,0,3.84,0a4,4,0,0,0,2.05-.51l30.45-17A100.23,100.23,0,0,1,192.11,53.1l.12,34.12a3.93,3.93,0,0,0,.61,2.11c.66,1,1.3,2.14,1.91,3.23a4,4,0,0,0,1.51,1.53l30.25,17.23A94.78,94.78,0,0,1,226.54,144.66Z`}))]]),ir=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,187a113.4,113.4,0,0,1-20.39-35h40.82a116.94,116.94,0,0,1-10,20.77A108.61,108.61,0,0,1,128,207Zm-26.49-59a135.42,135.42,0,0,1,0-40h53a135.42,135.42,0,0,1,0,40ZM44,128a83.49,83.49,0,0,1,2.43-20H77.25a160.63,160.63,0,0,0,0,40H46.43A83.49,83.49,0,0,1,44,128Zm84-79a113.4,113.4,0,0,1,20.39,35H107.59a116.94,116.94,0,0,1,10-20.77A108.61,108.61,0,0,1,128,49Zm50.73,59h30.82a83.52,83.52,0,0,1,0,40H178.75a160.63,160.63,0,0,0,0-40Zm20.77-24H173.71a140.82,140.82,0,0,0-15.5-34.36A84.51,84.51,0,0,1,199.52,84ZM97.79,49.64A140.82,140.82,0,0,0,82.29,84H56.48A84.51,84.51,0,0,1,97.79,49.64ZM56.48,172H82.29a140.82,140.82,0,0,0,15.5,34.36A84.51,84.51,0,0,1,56.48,172Zm101.73,34.36A140.82,140.82,0,0,0,173.71,172h25.81A84.51,84.51,0,0,1,158.21,206.36Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm78.36,64H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM216,128a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM128,43a115.27,115.27,0,0,1,26,45H102A115.11,115.11,0,0,1,128,43ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48Zm50.35,61.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm81.57,64H169.19a132.58,132.58,0,0,0-25.73-50.67A90.29,90.29,0,0,1,209.57,90ZM218,128a89.7,89.7,0,0,1-3.83,26H171.81a155.43,155.43,0,0,0,0-52h42.36A89.7,89.7,0,0,1,218,128Zm-90,87.83a110,110,0,0,1-15.19-19.45A124.24,124.24,0,0,1,99.35,166h57.3a124.24,124.24,0,0,1-13.46,30.38A110,110,0,0,1,128,215.83ZM96.45,154a139.18,139.18,0,0,1,0-52h63.1a139.18,139.18,0,0,1,0,52ZM38,128a89.7,89.7,0,0,1,3.83-26H84.19a155.43,155.43,0,0,0,0,52H41.83A89.7,89.7,0,0,1,38,128Zm90-87.83a110,110,0,0,1,15.19,19.45A124.24,124.24,0,0,1,156.65,90H99.35a124.24,124.24,0,0,1,13.46-30.38A110,110,0,0,1,128,40.17Zm-15.46-.84A132.58,132.58,0,0,0,86.81,90H46.43A90.29,90.29,0,0,1,112.54,39.33ZM46.43,166H86.81a132.58,132.58,0,0,0,25.73,50.67A90.29,90.29,0,0,1,46.43,166Zm97,50.67A132.58,132.58,0,0,0,169.19,166h40.38A90.29,90.29,0,0,1,143.46,216.67Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,28h0A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,190.61c-6.33-6.09-23-24.41-31.27-54.61h62.54C151,194.2,134.33,212.52,128,218.61ZM94.82,156a140.42,140.42,0,0,1,0-56h66.36a140.42,140.42,0,0,1,0,56ZM128,37.39c6.33,6.09,23,24.41,31.27,54.61H96.73C105,61.8,121.67,43.48,128,37.39ZM169.41,100h46.23a92.09,92.09,0,0,1,0,56H169.41a152.65,152.65,0,0,0,0-56Zm43.25-8h-45a129.39,129.39,0,0,0-29.19-55.4A92.25,92.25,0,0,1,212.66,92ZM117.54,36.6A129.39,129.39,0,0,0,88.35,92h-45A92.25,92.25,0,0,1,117.54,36.6ZM40.36,100H86.59a152.65,152.65,0,0,0,0,56H40.36a92.09,92.09,0,0,1,0-56Zm3,64h45a129.39,129.39,0,0,0,29.19,55.4A92.25,92.25,0,0,1,43.34,164Zm95.12,55.4A129.39,129.39,0,0,0,167.65,164h45A92.25,92.25,0,0,1,138.46,219.4Z`}))]]),ar=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z`}))]]),or=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M196,76a16,16,0,1,1-16-16A16,16,0,0,1,196,76Zm48,22.74A84.3,84.3,0,0,1,160.11,180H160a83.52,83.52,0,0,1-23.65-3.38l-7.86,7.87A12,12,0,0,1,120,188H108v12a12,12,0,0,1-12,12H84v12a12,12,0,0,1-12,12H40a20,20,0,0,1-20-20V187.31a19.86,19.86,0,0,1,5.86-14.14l53.52-53.52A84,84,0,1,1,244,98.74ZM202.43,53.57A59.48,59.48,0,0,0,158,36c-32,1-58,27.89-58,59.89a59.69,59.69,0,0,0,4.2,22.19,12,12,0,0,1-2.55,13.21L44,189v23H60V200a12,12,0,0,1,12-12H84V176a12,12,0,0,1,12-12h19l9.65-9.65a12,12,0,0,1,13.22-2.55A59.58,59.58,0,0,0,160,156h.08c32,0,58.87-26.07,59.89-58A59.55,59.55,0,0,0,202.43,53.57Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M232,98.36C230.73,136.92,198.67,168,160.09,168a71.68,71.68,0,0,1-26.92-5.17h0L120,176H96v24H72v24H40a8,8,0,0,1-8-8V187.31a8,8,0,0,1,2.34-5.65l58.83-58.83h0A71.68,71.68,0,0,1,88,95.91c0-38.58,31.08-70.64,69.64-71.87A72,72,0,0,1,232,98.36Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M216.57,39.43A80,80,0,0,0,83.91,120.78L28.69,176A15.86,15.86,0,0,0,24,187.31V216a16,16,0,0,0,16,16H72a8,8,0,0,0,8-8V208H96a8,8,0,0,0,8-8V184h16a8,8,0,0,0,5.66-2.34l9.56-9.57A79.73,79.73,0,0,0,160,176h.1A80,80,0,0,0,216.57,39.43ZM224,98.1c-1.09,34.09-29.75,61.86-63.89,61.9H160a63.7,63.7,0,0,1-23.65-4.51,8,8,0,0,0-8.84,1.68L116.69,168H96a8,8,0,0,0-8,8v16H72a8,8,0,0,0-8,8v16H40V187.31l58.83-58.82a8,8,0,0,0,1.68-8.84A63.72,63.72,0,0,1,96,95.92c0-34.14,27.81-62.8,61.9-63.89A64,64,0,0,1,224,98.1ZM192,76a12,12,0,1,1-12-12A12,12,0,0,1,192,76Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216.57,39.43A80,80,0,0,0,83.91,120.78L28.69,176A15.86,15.86,0,0,0,24,187.31V216a16,16,0,0,0,16,16H72a8,8,0,0,0,8-8V208H96a8,8,0,0,0,8-8V184h16a8,8,0,0,0,5.66-2.34l9.56-9.57A79.73,79.73,0,0,0,160,176h.1A80,80,0,0,0,216.57,39.43ZM180,92a16,16,0,1,1,16-16A16,16,0,0,1,180,92Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M215.15,40.85A78,78,0,0,0,86.2,121.31l-56.1,56.1a13.94,13.94,0,0,0-4.1,9.9V216a14,14,0,0,0,14,14H72a6,6,0,0,0,6-6V206H96a6,6,0,0,0,6-6V182h18a6,6,0,0,0,4.24-1.76l10.45-10.44A77.59,77.59,0,0,0,160,174h.1A78,78,0,0,0,215.15,40.85ZM226,98.16c-1.12,35.16-30.67,63.8-65.88,63.84a65.93,65.93,0,0,1-24.51-4.67,6,6,0,0,0-6.64,1.26L117.51,170H96a6,6,0,0,0-6,6v18H72a6,6,0,0,0-6,6v18H40a2,2,0,0,1-2-2V187.31a2,2,0,0,1,.58-1.41l58.83-58.83a6,6,0,0,0,1.26-6.64A65.61,65.61,0,0,1,94,95.92C94,60.71,122.68,31.16,157.83,30A66,66,0,0,1,226,98.16ZM190,76a10,10,0,1,1-10-10A10,10,0,0,1,190,76Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216.57,39.43A80,80,0,0,0,83.91,120.78L28.69,176A15.86,15.86,0,0,0,24,187.31V216a16,16,0,0,0,16,16H72a8,8,0,0,0,8-8V208H96a8,8,0,0,0,8-8V184h16a8,8,0,0,0,5.66-2.34l9.56-9.57A79.73,79.73,0,0,0,160,176h.1A80,80,0,0,0,216.57,39.43ZM224,98.1c-1.09,34.09-29.75,61.86-63.89,61.9H160a63.7,63.7,0,0,1-23.65-4.51,8,8,0,0,0-8.84,1.68L116.69,168H96a8,8,0,0,0-8,8v16H72a8,8,0,0,0-8,8v16H40V187.31l58.83-58.82a8,8,0,0,0,1.68-8.84A63.72,63.72,0,0,1,96,95.92c0-34.14,27.81-62.8,61.9-63.89A64,64,0,0,1,224,98.1ZM192,76a12,12,0,1,1-12-12A12,12,0,0,1,192,76Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M213.74,42.26A76,76,0,0,0,88.51,121.84l-57,57A11.93,11.93,0,0,0,28,187.31V216a12,12,0,0,0,12,12H72a4,4,0,0,0,4-4V204H96a4,4,0,0,0,4-4V180h20a4,4,0,0,0,2.83-1.17l11.33-11.34A75.72,75.72,0,0,0,160,172h.1A76,76,0,0,0,213.74,42.26Zm14.22,56c-1.15,36.22-31.6,65.72-67.87,65.77H160a67.52,67.52,0,0,1-25.21-4.83,4,4,0,0,0-4.45.83l-12,12H96a4,4,0,0,0-4,4v20H72a4,4,0,0,0-4,4v20H40a4,4,0,0,1-4-4V187.31a4.06,4.06,0,0,1,1.17-2.83L96,125.66a4,4,0,0,0,.83-4.45A67.51,67.51,0,0,1,92,95.91C92,59.64,121.55,29.19,157.77,28A68,68,0,0,1,228,98.23ZM188,76a8,8,0,1,1-8-8A8,8,0,0,1,188,76Z`}))]]),sr=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M219.71,117.38a12,12,0,0,0-7.25-8.52L161.28,88.39l10.59-70.61a12,12,0,0,0-20.64-10l-112,120a12,12,0,0,0,4.31,19.33l51.18,20.47L84.13,238.22a12,12,0,0,0,20.64,10l112-120A12,12,0,0,0,219.71,117.38ZM113.6,203.55l6.27-41.77a12,12,0,0,0-7.41-12.92L68.74,131.37,142.4,52.45l-6.27,41.77a12,12,0,0,0,7.41,12.92l43.72,17.49Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M96,240l16-80L48,136,160,16,144,96l64,24Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M215.79,118.17a8,8,0,0,0-5-5.66L153.18,90.9l14.66-73.33a8,8,0,0,0-13.69-7l-112,120a8,8,0,0,0,3,13l57.63,21.61L88.16,238.43a8,8,0,0,0,13.69,7l112-120A8,8,0,0,0,215.79,118.17ZM109.37,214l10.47-52.38a8,8,0,0,0-5-9.06L62,132.71l84.62-90.66L136.16,94.43a8,8,0,0,0,5,9.06l52.8,19.8Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M213.85,125.46l-112,120a8,8,0,0,1-13.69-7l14.66-73.33L45.19,143.49a8,8,0,0,1-3-13l112-120a8,8,0,0,1,13.69,7L153.18,90.9l57.63,21.61a8,8,0,0,1,3,12.95Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M213.84,118.63a6,6,0,0,0-3.73-4.25L150.88,92.17l15-75a6,6,0,0,0-10.27-5.27l-112,120a6,6,0,0,0,2.28,9.71l59.23,22.21-15,75a6,6,0,0,0,3.14,6.52A6.07,6.07,0,0,0,96,246a6,6,0,0,0,4.39-1.91l112-120A6,6,0,0,0,213.84,118.63ZM106,220.46l11.85-59.28a6,6,0,0,0-3.77-6.8l-55.6-20.85,91.46-98L138.12,94.82a6,6,0,0,0,3.77,6.8l55.6,20.85Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M215.79,118.17a8,8,0,0,0-5-5.66L153.18,90.9l14.66-73.33a8,8,0,0,0-13.69-7l-112,120a8,8,0,0,0,3,13l57.63,21.61L88.16,238.43a8,8,0,0,0,13.69,7l112-120A8,8,0,0,0,215.79,118.17ZM109.37,214l10.47-52.38a8,8,0,0,0-5-9.06L62,132.71l84.62-90.66L136.16,94.43a8,8,0,0,0,5,9.06l52.8,19.8Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M211.89,119.09a4,4,0,0,0-2.49-2.84l-60.81-22.8,15.33-76.67a4,4,0,0,0-6.84-3.51l-112,120a4,4,0,0,0-1,3.64,4,4,0,0,0,2.49,2.84l60.81,22.8L92.08,239.22a4,4,0,0,0,6.84,3.51l112-120A4,4,0,0,0,211.89,119.09ZM102.68,227l13.24-66.2a4,4,0,0,0-2.52-4.53L55,134.36,153.32,29l-13.24,66.2a4,4,0,0,0,2.52,4.53L201,121.64Z`}))]]),cr=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128ZM40,76H216a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24ZM216,180H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,64V192H40V64Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM192,184H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128ZM40,70H216a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12ZM216,186H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128ZM40,68H216a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8ZM216,188H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Z`}))]]),lr=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M76,64A12,12,0,0,1,88,52H216a12,12,0,0,1,0,24H88A12,12,0,0,1,76,64Zm140,52H88a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Zm0,64H88a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24ZM44,112a16,16,0,1,0,16,16A16,16,0,0,0,44,112Zm0-64A16,16,0,1,0,60,64,16,16,0,0,0,44,48Zm0,128a16,16,0,1,0,16,16A16,16,0,0,0,44,176Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,64V192H88V64Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M80,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H88A8,8,0,0,1,80,64Zm136,56H88a8,8,0,1,0,0,16H216a8,8,0,0,0,0-16Zm0,64H88a8,8,0,1,0,0,16H216a8,8,0,0,0,0-16ZM44,52A12,12,0,1,0,56,64,12,12,0,0,0,44,52Zm0,64a12,12,0,1,0,12,12A12,12,0,0,0,44,116Zm0,64a12,12,0,1,0,12,12A12,12,0,0,0,44,180Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM68,188a12,12,0,1,1,12-12A12,12,0,0,1,68,188Zm0-48a12,12,0,1,1,12-12A12,12,0,0,1,68,140Zm0-48A12,12,0,1,1,80,80,12,12,0,0,1,68,92Zm124,92H104a8,8,0,0,1,0-16h88a8,8,0,0,1,0,16Zm0-48H104a8,8,0,0,1,0-16h88a8,8,0,0,1,0,16Zm0-48H104a8,8,0,0,1,0-16h88a8,8,0,0,1,0,16Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M82,64a6,6,0,0,1,6-6H216a6,6,0,0,1,0,12H88A6,6,0,0,1,82,64Zm134,58H88a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Zm0,64H88a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12ZM44,54A10,10,0,1,0,54,64,10,10,0,0,0,44,54Zm0,128a10,10,0,1,0,10,10A10,10,0,0,0,44,182Zm0-64a10,10,0,1,0,10,10A10,10,0,0,0,44,118Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M80,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H88A8,8,0,0,1,80,64Zm136,56H88a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Zm0,64H88a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16ZM44,52A12,12,0,1,0,56,64,12,12,0,0,0,44,52Zm0,64a12,12,0,1,0,12,12A12,12,0,0,0,44,116Zm0,64a12,12,0,1,0,12,12A12,12,0,0,0,44,180Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M84,64a4,4,0,0,1,4-4H216a4,4,0,0,1,0,8H88A4,4,0,0,1,84,64Zm132,60H88a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Zm0,64H88a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8ZM44,120a8,8,0,1,0,8,8A8,8,0,0,0,44,120Zm0-64a8,8,0,1,0,8,8A8,8,0,0,0,44,56Zm0,128a8,8,0,1,0,8,8A8,8,0,0,0,44,184Z`}))]]),ur=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z`}))]]),dr=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M236.37,139.4a12,12,0,0,0-12-3A84.07,84.07,0,0,1,119.6,31.59a12,12,0,0,0-15-15A108.86,108.86,0,0,0,49.69,55.07,108,108,0,0,0,136,228a107.09,107.09,0,0,0,64.93-21.69,108.86,108.86,0,0,0,38.44-54.94A12,12,0,0,0,236.37,139.4Zm-49.88,47.74A84,84,0,0,1,68.86,69.51,84.93,84.93,0,0,1,92.27,48.29Q92,52.13,92,56A108.12,108.12,0,0,0,200,164q3.87,0,7.71-.27A84.79,84.79,0,0,1,186.49,187.14Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M227.89,147.89A96,96,0,1,1,108.11,28.11,96.09,96.09,0,0,0,227.89,147.89Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M233.54,142.23a8,8,0,0,0-8-2,88.08,88.08,0,0,1-109.8-109.8,8,8,0,0,0-10-10,104.84,104.84,0,0,0-52.91,37A104,104,0,0,0,136,224a103.09,103.09,0,0,0,62.52-20.88,104.84,104.84,0,0,0,37-52.91A8,8,0,0,0,233.54,142.23ZM188.9,190.34A88,88,0,0,1,65.66,67.11a89,89,0,0,1,31.4-26A106,106,0,0,0,96,56,104.11,104.11,0,0,0,200,160a106,106,0,0,0,14.92-1.06A89,89,0,0,1,188.9,190.34Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M235.54,150.21a104.84,104.84,0,0,1-37,52.91A104,104,0,0,1,32,120,103.09,103.09,0,0,1,52.88,57.48a104.84,104.84,0,0,1,52.91-37,8,8,0,0,1,10,10,88.08,88.08,0,0,0,109.8,109.8,8,8,0,0,1,10,10Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M232.13,143.64a6,6,0,0,0-6-1.49A90.07,90.07,0,0,1,113.86,29.85a6,6,0,0,0-7.49-7.48A102.88,102.88,0,0,0,54.48,58.68,102,102,0,0,0,197.32,201.52a102.88,102.88,0,0,0,36.31-51.89A6,6,0,0,0,232.13,143.64Zm-42,48.29a90,90,0,0,1-126-126A90.9,90.9,0,0,1,99.65,37.66,102.06,102.06,0,0,0,218.34,156.35,90.9,90.9,0,0,1,190.1,191.93Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M233.54,142.23a8,8,0,0,0-8-2,88.08,88.08,0,0,1-109.8-109.8,8,8,0,0,0-10-10,104.84,104.84,0,0,0-52.91,37A104,104,0,0,0,136,224a103.09,103.09,0,0,0,62.52-20.88,104.84,104.84,0,0,0,37-52.91A8,8,0,0,0,233.54,142.23ZM188.9,190.34A88,88,0,0,1,65.66,67.11a89,89,0,0,1,31.4-26A106,106,0,0,0,96,56,104.11,104.11,0,0,0,200,160a106,106,0,0,0,14.92-1.06A89,89,0,0,1,188.9,190.34Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M230.72,145.06a4,4,0,0,0-4-1A92.08,92.08,0,0,1,111.94,29.27a4,4,0,0,0-5-5A100.78,100.78,0,0,0,56.08,59.88a100,100,0,0,0,140,140,100.78,100.78,0,0,0,35.59-50.87A4,4,0,0,0,230.72,145.06ZM191.3,193.53A92,92,0,0,1,62.47,64.7a93,93,0,0,1,39.88-30.35,100.09,100.09,0,0,0,119.3,119.3A93,93,0,0,1,191.3,193.53Z`}))]]),fr=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M230.14,25.86a20,20,0,0,0-19.57-5.11l-.22.07L18.44,79a20,20,0,0,0-3.06,37.25L99,157l40.71,83.65a19.81,19.81,0,0,0,18,11.38c.57,0,1.15,0,1.73-.07A19.82,19.82,0,0,0,177,237.56L235.18,45.65a1.42,1.42,0,0,0,.07-.22A20,20,0,0,0,230.14,25.86ZM156.91,221.07l-34.37-70.64,46-45.95a12,12,0,0,0-17-17l-46,46L34.93,99.09,210,46Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M223.69,42.18l-58.22,192a8,8,0,0,1-14.92,1.25L108,148,20.58,105.45a8,8,0,0,1,1.25-14.92l192-58.22A8,8,0,0,1,223.69,42.18Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M227.32,28.68a16,16,0,0,0-15.66-4.08l-.15,0L19.57,82.84a16,16,0,0,0-2.49,29.8L102,154l41.3,84.87A15.86,15.86,0,0,0,157.74,248q.69,0,1.38-.06a15.88,15.88,0,0,0,14-11.51l58.2-191.94c0-.05,0-.1,0-.15A16,16,0,0,0,227.32,28.68ZM157.83,231.85l-.05.14,0-.07-40.06-82.3,48-48a8,8,0,0,0-11.31-11.31l-48,48L24.08,98.25l-.07,0,.14,0L216,40Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M231.4,44.34s0,.1,0,.15l-58.2,191.94a15.88,15.88,0,0,1-14,11.51q-.69.06-1.38.06a15.86,15.86,0,0,1-14.42-9.15L107,164.15a4,4,0,0,1,.77-4.58l57.92-57.92a8,8,0,0,0-11.31-11.31L96.43,148.26a4,4,0,0,1-4.58.77L17.08,112.64a16,16,0,0,1,2.49-29.8l191.94-58.2.15,0A16,16,0,0,1,231.4,44.34Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M225.88,30.12a13.83,13.83,0,0,0-13.7-3.58l-.11,0L20.14,84.77A14,14,0,0,0,18,110.85l85.56,41.64L145.12,238a13.87,13.87,0,0,0,12.61,8c.4,0,.81,0,1.21-.05a13.9,13.9,0,0,0,12.29-10.09l58.2-191.93,0-.11A13.83,13.83,0,0,0,225.88,30.12Zm-8,10.4L159.73,232.43l0,.11a2,2,0,0,1-3.76.26l-40.68-83.58,49-49a6,6,0,1,0-8.49-8.49l-49,49L23.15,100a2,2,0,0,1,.31-3.74l.11,0L215.48,38.08a1.94,1.94,0,0,1,1.92.52A2,2,0,0,1,217.92,40.52Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M227.32,28.68a16,16,0,0,0-15.66-4.08l-.15,0L19.57,82.84a16,16,0,0,0-2.49,29.8L102,154l41.3,84.87A15.86,15.86,0,0,0,157.74,248q.69,0,1.38-.06a15.88,15.88,0,0,0,14-11.51l58.2-191.94c0-.05,0-.1,0-.15A16,16,0,0,0,227.32,28.68ZM157.83,231.85l-.05.14,0-.07-40.06-82.3,48-48a8,8,0,0,0-11.31-11.31l-48,48L24.08,98.25l-.07,0,.14,0L216,40Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M224.47,31.52a11.87,11.87,0,0,0-11.82-3L20.74,86.67a12,12,0,0,0-1.91,22.38L105,151l41.92,86.15A11.88,11.88,0,0,0,157.74,244c.34,0,.69,0,1,0a11.89,11.89,0,0,0,10.52-8.63l58.21-192,0-.08A11.85,11.85,0,0,0,224.47,31.52Zm-4.62,9.54-58.23,192a4,4,0,0,1-7.48.59l-41.3-84.86,50-50a4,4,0,1,0-5.66-5.66l-50,50-84.9-41.31a3.88,3.88,0,0,1-2.27-4,3.93,3.93,0,0,1,3-3.54L214.9,36.16A3.93,3.93,0,0,1,216,36a4,4,0,0,1,2.79,1.19A3.93,3.93,0,0,1,219.85,41.06Z`}))]]),pr=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M230.14,70.54,185.46,25.85a20,20,0,0,0-28.29,0L33.86,149.17A19.85,19.85,0,0,0,28,163.31V208a20,20,0,0,0,20,20H92.69a19.86,19.86,0,0,0,14.14-5.86L230.14,98.82a20,20,0,0,0,0-28.28ZM91,204H52V165l84-84,39,39ZM192,103,153,64l18.34-18.34,39,39Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M221.66,90.34,192,120,136,64l29.66-29.66a8,8,0,0,1,11.31,0L221.66,79A8,8,0,0,1,221.66,90.34Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM192,108.68,147.31,64l24-24L216,84.68Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M225.9,74.78,181.21,30.09a14,14,0,0,0-19.8,0L38.1,153.41a13.94,13.94,0,0,0-4.1,9.9V208a14,14,0,0,0,14,14H92.69a13.94,13.94,0,0,0,9.9-4.1L225.9,94.58a14,14,0,0,0,0-19.8ZM94.1,209.41a2,2,0,0,1-1.41.59H48a2,2,0,0,1-2-2V163.31a2,2,0,0,1,.59-1.41L136,72.48,183.51,120ZM217.41,86.1,192,111.51,144.49,64,169.9,38.58a2,2,0,0,1,2.83,0l44.68,44.69a2,2,0,0,1,0,2.83Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M224.49,76.2,179.8,31.51a12,12,0,0,0-17,0L133.17,61.17h0L39.52,154.83A11.9,11.9,0,0,0,36,163.31V208a12,12,0,0,0,12,12H92.69a12,12,0,0,0,8.48-3.51L224.48,93.17a12,12,0,0,0,0-17Zm-129,134.63A4,4,0,0,1,92.69,212H48a4,4,0,0,1-4-4V163.31a4,4,0,0,1,1.17-2.83L136,69.65,186.34,120ZM218.83,87.51,192,114.34,141.66,64l26.82-26.83a4,4,0,0,1,5.66,0l44.69,44.68a4,4,0,0,1,0,5.66Z`}))]]),mr=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H136v48a8,8,0,0,1-16,0V136H72a8,8,0,0,1,0-16h48V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M222,128a6,6,0,0,1-6,6H134v82a6,6,0,0,1-12,0V134H40a6,6,0,0,1,0-12h82V40a6,6,0,0,1,12,0v82h82A6,6,0,0,1,222,128Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M220,128a4,4,0,0,1-4,4H132v84a4,4,0,0,1-8,0V132H40a4,4,0,0,1,0-8h84V40a4,4,0,0,1,8,0v84h84A4,4,0,0,1,220,128Z`}))]]),hr=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M244,128a12,12,0,0,1-12,12H207.42l-36.69,73.37A12,12,0,0,1,160,220h-.6a12,12,0,0,1-10.61-7.72L95,71.15,66.92,133A12,12,0,0,1,56,140H24a12,12,0,0,1,0-24H48.27L85.08,35a12,12,0,0,1,22.13.7l54.28,142.46,27.78-55.56A12,12,0,0,1,200,116h32A12,12,0,0,1,244,128Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M96,40l33.52,88H56Zm104,88H129.52L160,208Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M240,128a8,8,0,0,1-8,8H204.94l-37.78,75.58A8,8,0,0,1,160,216h-.4a8,8,0,0,1-7.08-5.14L95.35,60.76,63.28,131.31A8,8,0,0,1,56,136H24a8,8,0,0,1,0-16H50.85L88.72,36.69a8,8,0,0,1,14.76.46l57.51,151,31.85-63.71A8,8,0,0,1,200,120h32A8,8,0,0,1,240,128Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm-8,96H188.64L159,188a8,8,0,0,1-6.95,4h-.46a8,8,0,0,1-6.89-4.84L103,89.92,79,132a8,8,0,0,1-7,4H48a8,8,0,0,1,0-16H67.36L97.05,68a8,8,0,0,1,14.3.82L153,166.08l24-42.05a8,8,0,0,1,6.95-4h24a8,8,0,0,1,0,16Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M238,128a6,6,0,0,1-6,6H203.71l-38.34,76.68A6,6,0,0,1,160,214h-.3a6,6,0,0,1-5.31-3.85L95.51,55.57,61.46,130.48A6,6,0,0,1,56,134H24a6,6,0,0,1,0-12H52.14l38.4-84.48a6,6,0,0,1,11.07.34L160.74,193.1l33.89-67.78A6,6,0,0,1,200,122h32A6,6,0,0,1,238,128Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M240,128a8,8,0,0,1-8,8H204.94l-37.78,75.58A8,8,0,0,1,160,216h-.4a8,8,0,0,1-7.08-5.14L95.35,60.76,63.28,131.31A8,8,0,0,1,56,136H24a8,8,0,0,1,0-16H50.85L88.72,36.69a8,8,0,0,1,14.76.46l57.51,151,31.85-63.71A8,8,0,0,1,200,120h32A8,8,0,0,1,240,128Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M236,128a4,4,0,0,1-4,4H202.47l-38.89,77.79A4,4,0,0,1,160,212h-.2a4,4,0,0,1-3.54-2.58l-60.59-159-36,79.28A4,4,0,0,1,56,132H24a4,4,0,0,1,0-8H53.42L92.36,38.35a4,4,0,0,1,7.38.23L160.5,198.06l35.92-71.85A4,4,0,0,1,200,124h32A4,4,0,0,1,236,128Z`}))]]),gr=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M92,92a12,12,0,0,1,12-12h60a12,12,0,0,1,0,24H104A12,12,0,0,1,92,92Zm12,52h60a12,12,0,0,0,0-24H104a12,12,0,0,0,0,24Zm132,48a36,36,0,0,1-36,36H88a36,36,0,0,1-36-36V64a12,12,0,0,0-24,0c0,3.73,3.35,6.51,3.38,6.54l-.18-.14h0A12,12,0,1,1,16.81,89.59h0C15.49,88.62,4,79.55,4,64A36,36,0,0,1,40,28H176a36,36,0,0,1,36,36V164h4a12,12,0,0,1,7.2,2.4C224.51,167.38,236,176.45,236,192ZM92.62,172.2A12,12,0,0,1,104,164h84V64a12,12,0,0,0-12-12H73.94A35.88,35.88,0,0,1,76,64V192a12,12,0,0,0,24,0c0-3.58-3.17-6.38-3.2-6.4A12,12,0,0,1,92.62,172.2ZM212,192a7.69,7.69,0,0,0-1.24-4h-87a30.32,30.32,0,0,1,.26,4,35.84,35.84,0,0,1-2.06,12H200A12,12,0,0,0,212,192Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M200,176H104s8,6,8,16a24,24,0,0,1-48,0V64A24,24,0,0,0,40,40H176a24,24,0,0,1,24,24Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M220.8,169.6A8,8,0,0,0,216,168h-8V64a32,32,0,0,0-32-32H40A32,32,0,0,0,8,64C8,77.61,18.05,85.54,19.2,86.4h0A7.89,7.89,0,0,0,24,88a8,8,0,0,0,4.87-14.33h0C28.83,73.62,24,69.74,24,64a16,16,0,0,1,32,0V192a32,32,0,0,0,32,32H200a32,32,0,0,0,32-32C232,178.39,222,170.46,220.8,169.6ZM104,96h64a8,8,0,0,1,0,16H104a8,8,0,0,1,0-16Zm-8,40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,136Zm104,72H107.71A31.82,31.82,0,0,0,112,192a26.92,26.92,0,0,0-1.21-8h102a12.58,12.58,0,0,1,3.23,8A16,16,0,0,1,200,208Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M98,136a6,6,0,0,1,6-6h64a6,6,0,0,1,0,12H104A6,6,0,0,1,98,136Zm6-26h64a6,6,0,0,0,0-12H104a6,6,0,0,0,0,12Zm126,82a30,30,0,0,1-30,30H88a30,30,0,0,1-30-30V64a18,18,0,0,0-36,0c0,6.76,5.58,11.19,5.64,11.23A6,6,0,1,1,20.4,84.8C20,84.48,10,76.85,10,64A30,30,0,0,1,40,34H176a30,30,0,0,1,30,30V170h10a6,6,0,0,1,3.6,1.2C220,171.52,230,179.15,230,192Zm-124,0c0-6.76-5.59-11.19-5.64-11.23A6,6,0,0,1,104,170h90V64a18,18,0,0,0-18-18H64a29.82,29.82,0,0,1,6,18V192a18,18,0,0,0,36,0Zm112,0a14.94,14.94,0,0,0-4.34-10H115.88A24.83,24.83,0,0,1,118,192a29.87,29.87,0,0,1-6,18h88A18,18,0,0,0,218,192Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M100,104a4,4,0,0,1,4-4h64a4,4,0,0,1,0,8H104A4,4,0,0,1,100,104Zm4,36h64a4,4,0,0,0,0-8H104a4,4,0,0,0,0,8Zm124,52a28,28,0,0,1-28,28H88a28,28,0,0,1-28-28V64a20,20,0,0,0-40,0c0,7.78,6.34,12.75,6.4,12.8a4,4,0,1,1-4.8,6.4C21.21,82.91,12,75.86,12,64A28,28,0,0,1,40,36H176a28,28,0,0,1,28,28V172h12a4,4,0,0,1,2.4.8C218.79,173.09,228,180.14,228,192Zm-120,0c0-7.78-6.34-12.75-6.4-12.8A4,4,0,0,1,104,172h92V64a20,20,0,0,0-20-20H59.57A27.9,27.9,0,0,1,68,64V192a20,20,0,0,0,40,0Zm112,0c0-6-3.74-10.3-5.5-12H112.61A23.31,23.31,0,0,1,116,192a27.94,27.94,0,0,1-8.42,20H200A20,20,0,0,0,220,192Z`}))]]),_r=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M208,36H48A20,20,0,0,0,28,56v56c0,54.29,26.32,87.22,48.4,105.29,23.71,19.39,47.44,26,48.44,26.29a12.1,12.1,0,0,0,6.32,0c1-.28,24.73-6.9,48.44-26.29,22.08-18.07,48.4-51,48.4-105.29V56A20,20,0,0,0,208,36Zm-4,76c0,35.71-13.09,64.69-38.91,86.15A126.28,126.28,0,0,1,128,219.38a126.14,126.14,0,0,1-37.09-21.23C65.09,176.69,52,147.71,52,112V60H204ZM79.51,144.49a12,12,0,1,1,17-17L112,143l47.51-47.52a12,12,0,0,1,17,17l-56,56a12,12,0,0,1-17,0Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,56v56c0,96-88,120-88,120S40,208,40,112V56a8,8,0,0,1,8-8H208A8,8,0,0,1,216,56Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M208,40H48A16,16,0,0,0,32,56v56c0,52.72,25.52,84.67,46.93,102.19,23.06,18.86,46,25.26,47,25.53a8,8,0,0,0,4.2,0c1-.27,23.91-6.67,47-25.53C198.48,196.67,224,164.72,224,112V56A16,16,0,0,0,208,40Zm0,72c0,37.07-13.66,67.16-40.6,89.42A129.3,129.3,0,0,1,128,223.62a128.25,128.25,0,0,1-38.92-21.81C61.82,179.51,48,149.3,48,112l0-56,160,0ZM82.34,141.66a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32l-56,56a8,8,0,0,1-11.32,0Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M208,40H48A16,16,0,0,0,32,56v56c0,52.72,25.52,84.67,46.93,102.19,23.06,18.86,46,25.26,47,25.53a8,8,0,0,0,4.2,0c1-.27,23.91-6.67,47-25.53C198.48,196.67,224,164.72,224,112V56A16,16,0,0,0,208,40Zm-34.32,69.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M208,42H48A14,14,0,0,0,34,56v56c0,51.94,25.12,83.4,46.2,100.64,22.73,18.6,45.27,24.89,46.22,25.15a6,6,0,0,0,3.16,0c.95-.26,23.49-6.55,46.22-25.15C196.88,195.4,222,163.94,222,112V56A14,14,0,0,0,208,42Zm2,70c0,37.76-13.94,68.39-41.44,91.06A131.17,131.17,0,0,1,128,225.72a130.94,130.94,0,0,1-40.56-22.66C59.94,180.39,46,149.76,46,112V56a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2ZM172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M208,40H48A16,16,0,0,0,32,56v56c0,52.72,25.52,84.67,46.93,102.19,23.06,18.86,46,25.26,47,25.53a8,8,0,0,0,4.2,0c1-.27,23.91-6.67,47-25.53C198.48,196.67,224,164.72,224,112V56A16,16,0,0,0,208,40Zm0,72c0,37.07-13.66,67.16-40.6,89.42A129.3,129.3,0,0,1,128,223.62a128.25,128.25,0,0,1-38.92-21.81C61.82,179.51,48,149.3,48,112l0-56,160,0ZM82.34,141.66a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32l-56,56a8,8,0,0,1-11.32,0Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M208,44H48A12,12,0,0,0,36,56v56c0,51.16,24.73,82.12,45.47,99.1,22.4,18.32,44.55,24.5,45.48,24.76a4,4,0,0,0,2.1,0c.93-.26,23.08-6.44,45.48-24.76,20.74-17,45.47-47.94,45.47-99.1V56A12,12,0,0,0,208,44Zm4,68c0,38.44-14.23,69.63-42.29,92.71A132.45,132.45,0,0,1,128,227.82a132.23,132.23,0,0,1-41.71-23.11C58.23,181.63,44,150.44,44,112V56a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4Zm-41.17-10.83a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17Z`}))]]),vr=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,36H40A20,20,0,0,0,20,56V200a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A20,20,0,0,0,216,36ZM44,60H76V196H44ZM212,196H100V60H212Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M88,48V208H40a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM40,56H80V200H40ZM216,200H96V56H216V200Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,160H88V56H216V200Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,42H40A14,14,0,0,0,26,56V200a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42ZM38,200V56a2,2,0,0,1,2-2H82V202H40A2,2,0,0,1,38,200Zm180,0a2,2,0,0,1-2,2H94V54H216a2,2,0,0,1,2,2Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM40,56H80V200H40ZM216,200H96V56H216V200Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,44H40A12,12,0,0,0,28,56V200a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44ZM36,200V56a4,4,0,0,1,4-4H84V204H40A4,4,0,0,1,36,200Zm184,0a4,4,0,0,1-4,4H92V52H216a4,4,0,0,1,4,4Z`}))]]),yr=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M124,216a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V40A12,12,0,0,1,48,28h64a12,12,0,0,1,0,24H60V204h52A12,12,0,0,1,124,216Zm108.49-96.49-40-40a12,12,0,0,0-17,17L195,116H112a12,12,0,0,0,0,24h83l-19.52,19.51a12,12,0,0,0,17,17l40-40A12,12,0,0,0,232.49,119.51Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M224,56V200a16,16,0,0,1-16,16H48V40H208A16,16,0,0,1,224,56Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M120,216a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H56V208h56A8,8,0,0,1,120,216Zm109.66-93.66-40-40a8,8,0,0,0-11.32,11.32L204.69,120H112a8,8,0,0,0,0,16h92.69l-26.35,26.34a8,8,0,0,0,11.32,11.32l40-40A8,8,0,0,0,229.66,122.34Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M120,216a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H56V208h56A8,8,0,0,1,120,216Zm109.66-93.66-40-40A8,8,0,0,0,176,88v32H112a8,8,0,0,0,0,16h64v32a8,8,0,0,0,13.66,5.66l40-40A8,8,0,0,0,229.66,122.34Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M118,216a6,6,0,0,1-6,6H48a6,6,0,0,1-6-6V40a6,6,0,0,1,6-6h64a6,6,0,0,1,0,12H54V210h58A6,6,0,0,1,118,216Zm110.24-92.24-40-40a6,6,0,0,0-8.48,8.48L209.51,122H112a6,6,0,0,0,0,12h97.51l-29.75,29.76a6,6,0,1,0,8.48,8.48l40-40A6,6,0,0,0,228.24,123.76Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M120,216a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H56V208h56A8,8,0,0,1,120,216Zm109.66-93.66-40-40a8,8,0,0,0-11.32,11.32L204.69,120H112a8,8,0,0,0,0,16h92.69l-26.35,26.34a8,8,0,0,0,11.32,11.32l40-40A8,8,0,0,0,229.66,122.34Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M116,216a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h64a4,4,0,0,1,0,8H52V212h60A4,4,0,0,1,116,216Zm110.83-90.83-40-40a4,4,0,0,0-5.66,5.66L214.34,124H112a4,4,0,0,0,0,8H214.34l-33.17,33.17a4,4,0,0,0,5.66,5.66l40-40A4,4,0,0,0,226.83,125.17Z`}))]]),br=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M40,92H70.06a36,36,0,0,0,67.88,0H216a12,12,0,0,0,0-24H137.94a36,36,0,0,0-67.88,0H40a12,12,0,0,0,0,24Zm64-24A12,12,0,1,1,92,80,12,12,0,0,1,104,68Zm112,96H201.94a36,36,0,0,0-67.88,0H40a12,12,0,0,0,0,24h94.06a36,36,0,0,0,67.88,0H216a12,12,0,0,0,0-24Zm-48,24a12,12,0,1,1,12-12A12,12,0,0,1,168,188Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,80a24,24,0,1,1-24-24A24,24,0,0,1,128,80Zm40,72a24,24,0,1,0,24,24A24,24,0,0,0,168,152Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M40,88H73a32,32,0,0,0,62,0h81a8,8,0,0,0,0-16H135a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16Zm64-24A16,16,0,1,1,88,80,16,16,0,0,1,104,64ZM216,168H199a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16h97a32,32,0,0,0,62,0h17a8,8,0,0,0,0-16Zm-48,24a16,16,0,1,1,16-16A16,16,0,0,1,168,192Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M32,80a8,8,0,0,1,8-8H77.17a28,28,0,0,1,53.66,0H216a8,8,0,0,1,0,16H130.83a28,28,0,0,1-53.66,0H40A8,8,0,0,1,32,80Zm184,88H194.83a28,28,0,0,0-53.66,0H40a8,8,0,0,0,0,16H141.17a28,28,0,0,0,53.66,0H216a8,8,0,0,0,0-16Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M40,86H74.6a30,30,0,0,0,58.8,0H216a6,6,0,0,0,0-12H133.4a30,30,0,0,0-58.8,0H40a6,6,0,0,0,0,12Zm64-24A18,18,0,1,1,86,80,18,18,0,0,1,104,62ZM216,170H197.4a30,30,0,0,0-58.8,0H40a6,6,0,0,0,0,12h98.6a30,30,0,0,0,58.8,0H216a6,6,0,0,0,0-12Zm-48,24a18,18,0,1,1,18-18A18,18,0,0,1,168,194Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M40,88H73a32,32,0,0,0,62,0h81a8,8,0,0,0,0-16H135a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16Zm64-24A16,16,0,1,1,88,80,16,16,0,0,1,104,64ZM216,168H199a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16h97a32,32,0,0,0,62,0h17a8,8,0,0,0,0-16Zm-48,24a16,16,0,1,1,16-16A16,16,0,0,1,168,192Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M40,84H76.29a28,28,0,0,0,55.42,0H216a4,4,0,0,0,0-8H131.71a28,28,0,0,0-55.42,0H40a4,4,0,0,0,0,8Zm64-24A20,20,0,1,1,84,80,20,20,0,0,1,104,60ZM216,172H195.71a28,28,0,0,0-55.42,0H40a4,4,0,0,0,0,8H140.29a28,28,0,0,0,55.42,0H216a4,4,0,0,0,0-8Zm-48,24a20,20,0,1,1,20-20A20,20,0,0,1,168,196Z`}))]]),xr=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M116,36V20a12,12,0,0,1,24,0V36a12,12,0,0,1-24,0Zm80,92a68,68,0,1,1-68-68A68.07,68.07,0,0,1,196,128Zm-24,0a44,44,0,1,0-44,44A44.05,44.05,0,0,0,172,128ZM51.51,68.49a12,12,0,1,0,17-17l-12-12a12,12,0,0,0-17,17Zm0,119-12,12a12,12,0,0,0,17,17l12-12a12,12,0,1,0-17-17ZM196,72a12,12,0,0,0,8.49-3.51l12-12a12,12,0,0,0-17-17l-12,12A12,12,0,0,0,196,72Zm8.49,115.51a12,12,0,0,0-17,17l12,12a12,12,0,0,0,17-17ZM48,128a12,12,0,0,0-12-12H20a12,12,0,0,0,0,24H36A12,12,0,0,0,48,128Zm80,80a12,12,0,0,0-12,12v16a12,12,0,0,0,24,0V220A12,12,0,0,0,128,208Zm108-92H220a12,12,0,0,0,0,24h16a12,12,0,0,0,0-24Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M184,128a56,56,0,1,1-56-56A56,56,0,0,1,184,128Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M120,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm72,88a64,64,0,1,1-64-64A64.07,64.07,0,0,1,192,128Zm-16,0a48,48,0,1,0-48,48A48.05,48.05,0,0,0,176,128ZM58.34,69.66A8,8,0,0,0,69.66,58.34l-16-16A8,8,0,0,0,42.34,53.66Zm0,116.68-16,16a8,8,0,0,0,11.32,11.32l16-16a8,8,0,0,0-11.32-11.32ZM192,72a8,8,0,0,0,5.66-2.34l16-16a8,8,0,0,0-11.32-11.32l-16,16A8,8,0,0,0,192,72Zm5.66,114.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32-11.32ZM48,128a8,8,0,0,0-8-8H16a8,8,0,0,0,0,16H40A8,8,0,0,0,48,128Zm80,80a8,8,0,0,0-8,8v24a8,8,0,0,0,16,0V216A8,8,0,0,0,128,208Zm112-88H216a8,8,0,0,0,0,16h24a8,8,0,0,0,0-16Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M120,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm8,24a64,64,0,1,0,64,64A64.07,64.07,0,0,0,128,64ZM58.34,69.66A8,8,0,0,0,69.66,58.34l-16-16A8,8,0,0,0,42.34,53.66Zm0,116.68-16,16a8,8,0,0,0,11.32,11.32l16-16a8,8,0,0,0-11.32-11.32ZM192,72a8,8,0,0,0,5.66-2.34l16-16a8,8,0,0,0-11.32-11.32l-16,16A8,8,0,0,0,192,72Zm5.66,114.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32-11.32ZM48,128a8,8,0,0,0-8-8H16a8,8,0,0,0,0,16H40A8,8,0,0,0,48,128Zm80,80a8,8,0,0,0-8,8v24a8,8,0,0,0,16,0V216A8,8,0,0,0,128,208Zm112-88H216a8,8,0,0,0,0,16h24a8,8,0,0,0,0-16Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M122,40V16a6,6,0,0,1,12,0V40a6,6,0,0,1-12,0Zm68,88a62,62,0,1,1-62-62A62.07,62.07,0,0,1,190,128Zm-12,0a50,50,0,1,0-50,50A50.06,50.06,0,0,0,178,128ZM59.76,68.24a6,6,0,1,0,8.48-8.48l-16-16a6,6,0,0,0-8.48,8.48Zm0,119.52-16,16a6,6,0,1,0,8.48,8.48l16-16a6,6,0,1,0-8.48-8.48ZM192,70a6,6,0,0,0,4.24-1.76l16-16a6,6,0,0,0-8.48-8.48l-16,16A6,6,0,0,0,192,70Zm4.24,117.76a6,6,0,0,0-8.48,8.48l16,16a6,6,0,0,0,8.48-8.48ZM46,128a6,6,0,0,0-6-6H16a6,6,0,0,0,0,12H40A6,6,0,0,0,46,128Zm82,82a6,6,0,0,0-6,6v24a6,6,0,0,0,12,0V216A6,6,0,0,0,128,210Zm112-88H216a6,6,0,0,0,0,12h24a6,6,0,0,0,0-12Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M120,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm72,88a64,64,0,1,1-64-64A64.07,64.07,0,0,1,192,128Zm-16,0a48,48,0,1,0-48,48A48.05,48.05,0,0,0,176,128ZM58.34,69.66A8,8,0,0,0,69.66,58.34l-16-16A8,8,0,0,0,42.34,53.66Zm0,116.68-16,16a8,8,0,0,0,11.32,11.32l16-16a8,8,0,0,0-11.32-11.32ZM192,72a8,8,0,0,0,5.66-2.34l16-16a8,8,0,0,0-11.32-11.32l-16,16A8,8,0,0,0,192,72Zm5.66,114.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32-11.32ZM48,128a8,8,0,0,0-8-8H16a8,8,0,0,0,0,16H40A8,8,0,0,0,48,128Zm80,80a8,8,0,0,0-8,8v24a8,8,0,0,0,16,0V216A8,8,0,0,0,128,208Zm112-88H216a8,8,0,0,0,0,16h24a8,8,0,0,0,0-16Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M124,40V16a4,4,0,0,1,8,0V40a4,4,0,0,1-8,0Zm64,88a60,60,0,1,1-60-60A60.07,60.07,0,0,1,188,128Zm-8,0a52,52,0,1,0-52,52A52.06,52.06,0,0,0,180,128ZM61.17,66.83a4,4,0,0,0,5.66-5.66l-16-16a4,4,0,0,0-5.66,5.66Zm0,122.34-16,16a4,4,0,0,0,5.66,5.66l16-16a4,4,0,0,0-5.66-5.66ZM192,68a4,4,0,0,0,2.83-1.17l16-16a4,4,0,1,0-5.66-5.66l-16,16A4,4,0,0,0,192,68Zm2.83,121.17a4,4,0,0,0-5.66,5.66l16,16a4,4,0,0,0,5.66-5.66ZM40,124H16a4,4,0,0,0,0,8H40a4,4,0,0,0,0-8Zm88,88a4,4,0,0,0-4,4v24a4,4,0,0,0,8,0V216A4,4,0,0,0,128,212Zm112-88H216a4,4,0,0,0,0,8h24a4,4,0,0,0,0-8Z`}))]]),Sr=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M72.5,150.63,100.79,128,72.5,105.37a12,12,0,1,1,15-18.74l40,32a12,12,0,0,1,0,18.74l-40,32a12,12,0,0,1-15-18.74ZM144,172h32a12,12,0,0,0,0-24H144a12,12,0,0,0,0,24ZM236,56V200a20,20,0,0,1-20,20H40a20,20,0,0,1-20-20V56A20,20,0,0,1,40,36H216A20,20,0,0,1,236,56Zm-24,4H44V196H212Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M224,56V200a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M128,128a8,8,0,0,1-3,6.25l-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32A8,8,0,0,1,128,128Zm48,24H136a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Zm56-96V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM216,200V56H40V200H216Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm-91,94.25-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32a8,8,0,0,1,0,12.5ZM176,168H136a8,8,0,0,1,0-16h40a8,8,0,0,1,0,16Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M126,128a6,6,0,0,1-2.25,4.69l-40,32a6,6,0,0,1-7.5-9.38L110.4,128,76.25,100.69a6,6,0,1,1,7.5-9.38l40,32A6,6,0,0,1,126,128Zm50,26H136a6,6,0,0,0,0,12h40a6,6,0,0,0,0-12Zm54-98V200a14,14,0,0,1-14,14H40a14,14,0,0,1-14-14V56A14,14,0,0,1,40,42H216A14,14,0,0,1,230,56Zm-12,0a2,2,0,0,0-2-2H40a2,2,0,0,0-2,2V200a2,2,0,0,0,2,2H216a2,2,0,0,0,2-2Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,128a8,8,0,0,1-3,6.25l-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32A8,8,0,0,1,128,128Zm48,24H136a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Zm56-96V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM216,200V56H40V200H216Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M122.5,124.88a4,4,0,0,1,0,6.24l-40,32a4,4,0,0,1-5-6.24L113.6,128,77.5,99.12a4,4,0,0,1,5-6.24ZM176,156H136a4,4,0,0,0,0,8h40a4,4,0,0,0,0-8ZM228,56V200a12,12,0,0,1-12,12H40a12,12,0,0,1-12-12V56A12,12,0,0,1,40,44H216A12,12,0,0,1,228,56Zm-8,0a4,4,0,0,0-4-4H40a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H216a4,4,0,0,0,4-4Z`}))]]),Cr=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,48H40a12,12,0,0,0,0,24h4V208a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V72h4a12,12,0,0,0,0-24ZM188,204H68V72H188ZM76,20A12,12,0,0,1,88,8h80a12,12,0,0,1,0,24H88A12,12,0,0,1,76,20Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M216,48H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM192,208H64V64H192ZM80,24a8,8,0,0,1,8-8h80a8,8,0,0,1,0,16H88A8,8,0,0,1,80,24Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M224,56a8,8,0,0,1-8,8h-8V208a16,16,0,0,1-16,16H64a16,16,0,0,1-16-16V64H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,56ZM88,32h80a8,8,0,0,0,0-16H88a8,8,0,0,0,0,16Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,50H40a6,6,0,0,0,0,12H50V208a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V62h10a6,6,0,0,0,0-12ZM194,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V62H194ZM82,24a6,6,0,0,1,6-6h80a6,6,0,0,1,0,12H88A6,6,0,0,1,82,24Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,48H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM192,208H64V64H192ZM80,24a8,8,0,0,1,8-8h80a8,8,0,0,1,0,16H88A8,8,0,0,1,80,24Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,52H40a4,4,0,0,0,0,8H52V208a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V60h12a4,4,0,0,0,0-8ZM196,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V60H196ZM84,24a4,4,0,0,1,4-4h80a4,4,0,0,1,0,8H88A4,4,0,0,1,84,24Z`}))]]),wr=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M164.38,181.1a52,52,0,1,0-72.76,0,75.89,75.89,0,0,0-30,28.89,12,12,0,0,0,20.78,12,53,53,0,0,1,91.22,0,12,12,0,1,0,20.78-12A75.89,75.89,0,0,0,164.38,181.1ZM100,144a28,28,0,1,1,28,28A28,28,0,0,1,100,144Zm147.21,9.59a12,12,0,0,1-16.81-2.39c-8.33-11.09-19.85-19.59-29.33-21.64a12,12,0,0,1-1.82-22.91,20,20,0,1,0-24.78-28.3,12,12,0,1,1-21-11.6,44,44,0,1,1,73.28,48.35,92.18,92.18,0,0,1,22.85,21.69A12,12,0,0,1,247.21,153.59Zm-192.28-24c-9.48,2.05-21,10.55-29.33,21.65A12,12,0,0,1,6.41,136.79,92.37,92.37,0,0,1,29.26,115.1a44,44,0,1,1,73.28-48.35,12,12,0,1,1-21,11.6,20,20,0,1,0-24.78,28.3,12,12,0,0,1-1.82,22.91Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M168,144a40,40,0,1,1-40-40A40,40,0,0,1,168,144ZM64,56A32,32,0,1,0,96,88,32,32,0,0,0,64,56Zm128,0a32,32,0,1,0,32,32A32,32,0,0,0,192,56Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M244.8,150.4a8,8,0,0,1-11.2-1.6A51.6,51.6,0,0,0,192,128a8,8,0,0,1,0-16,24,24,0,1,0-23.24-30,8,8,0,1,1-15.5-4A40,40,0,1,1,219,117.51a67.94,67.94,0,0,1,27.43,21.68A8,8,0,0,1,244.8,150.4ZM190.92,212a8,8,0,1,1-13.85,8,57,57,0,0,0-98.15,0,8,8,0,1,1-13.84-8,72.06,72.06,0,0,1,33.74-29.92,48,48,0,1,1,58.36,0A72.06,72.06,0,0,1,190.92,212ZM128,176a32,32,0,1,0-32-32A32,32,0,0,0,128,176ZM72,120a8,8,0,0,0-8-8A24,24,0,1,1,87.24,82a8,8,0,1,0,15.5-4A40,40,0,1,0,37,117.51,67.94,67.94,0,0,0,9.6,139.19a8,8,0,1,0,12.8,9.61A51.6,51.6,0,0,1,64,128,8,8,0,0,0,72,120Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M64.12,147.8a4,4,0,0,1-4,4.2H16a8,8,0,0,1-7.8-6.17,8.35,8.35,0,0,1,1.62-6.93A67.79,67.79,0,0,1,37,117.51a40,40,0,1,1,66.46-35.8,3.94,3.94,0,0,1-2.27,4.18A64.08,64.08,0,0,0,64,144C64,145.28,64,146.54,64.12,147.8Zm182-8.91A67.76,67.76,0,0,0,219,117.51a40,40,0,1,0-66.46-35.8,3.94,3.94,0,0,0,2.27,4.18A64.08,64.08,0,0,1,192,144c0,1.28,0,2.54-.12,3.8a4,4,0,0,0,4,4.2H240a8,8,0,0,0,7.8-6.17A8.33,8.33,0,0,0,246.17,138.89Zm-89,43.18a48,48,0,1,0-58.37,0A72.13,72.13,0,0,0,65.07,212,8,8,0,0,0,72,224H184a8,8,0,0,0,6.93-12A72.15,72.15,0,0,0,157.19,182.07Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M243.6,148.8a6,6,0,0,1-8.4-1.2A53.58,53.58,0,0,0,192,126a6,6,0,0,1,0-12,26,26,0,1,0-25.18-32.5,6,6,0,0,1-11.62-3,38,38,0,1,1,59.91,39.63A65.69,65.69,0,0,1,244.8,140.4,6,6,0,0,1,243.6,148.8ZM189.19,213a6,6,0,0,1-2.19,8.2,5.9,5.9,0,0,1-3,.81,6,6,0,0,1-5.2-3,59,59,0,0,0-101.62,0,6,6,0,1,1-10.38-6A70.1,70.1,0,0,1,103,182.55a46,46,0,1,1,50.1,0A70.1,70.1,0,0,1,189.19,213ZM128,178a34,34,0,1,0-34-34A34,34,0,0,0,128,178ZM70,120a6,6,0,0,0-6-6A26,26,0,1,1,89.18,81.49a6,6,0,1,0,11.62-3,38,38,0,1,0-59.91,39.63A65.69,65.69,0,0,0,11.2,140.4a6,6,0,1,0,9.6,7.2A53.58,53.58,0,0,1,64,126,6,6,0,0,0,70,120Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M244.8,150.4a8,8,0,0,1-11.2-1.6A51.6,51.6,0,0,0,192,128a8,8,0,0,1-7.37-4.89,8,8,0,0,1,0-6.22A8,8,0,0,1,192,112a24,24,0,1,0-23.24-30,8,8,0,1,1-15.5-4A40,40,0,1,1,219,117.51a67.94,67.94,0,0,1,27.43,21.68A8,8,0,0,1,244.8,150.4ZM190.92,212a8,8,0,1,1-13.84,8,57,57,0,0,0-98.16,0,8,8,0,1,1-13.84-8,72.06,72.06,0,0,1,33.74-29.92,48,48,0,1,1,58.36,0A72.06,72.06,0,0,1,190.92,212ZM128,176a32,32,0,1,0-32-32A32,32,0,0,0,128,176ZM72,120a8,8,0,0,0-8-8A24,24,0,1,1,87.24,82a8,8,0,1,0,15.5-4A40,40,0,1,0,37,117.51,67.94,67.94,0,0,0,9.6,139.19a8,8,0,1,0,12.8,9.61A51.6,51.6,0,0,1,64,128,8,8,0,0,0,72,120Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M237,147.44a4,4,0,0,1-5.48-1.4c-8.33-14-20.93-22-34.56-22a4,4,0,0,1-1.2-.2,36.76,36.76,0,0,1-3.8.2,4,4,0,0,1,0-8,28,28,0,1,0-27.12-35,4,4,0,0,1-7.75-2,36,36,0,1,1,54,39.48c10.81,3.85,20.51,12,27.31,23.48A4,4,0,0,1,237,147.44ZM187.46,214a4,4,0,0,1-1.46,5.46,3.93,3.93,0,0,1-2,.54,4,4,0,0,1-3.46-2,61,61,0,0,0-105.08,0,4,4,0,0,1-6.92-4,68.35,68.35,0,0,1,39.19-31,44,44,0,1,1,40.54,0A68.35,68.35,0,0,1,187.46,214ZM128,180a36,36,0,1,0-36-36A36,36,0,0,0,128,180ZM64,116A28,28,0,1,1,91.12,81a4,4,0,0,0,7.75-2A36,36,0,1,0,45.3,118.75,63.55,63.55,0,0,0,12.8,141.6a4,4,0,0,0,6.4,4.8A55.55,55.55,0,0,1,64,124a4,4,0,0,0,0-8Z`}))]]),Tr=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm-12-80V80a12,12,0,0,1,24,0v52a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,172Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-8,56a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm-6-82V80a6,6,0,0,1,12,0v56a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,172Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm-4-84V80a4,4,0,0,1,8,0v56a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,172Z`}))]]),Er=new Map([[`bold`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z`}))],[`duotone`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z`,opacity:`0.2`}),v.createElement(`path`,{d:`M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z`}))],[`fill`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z`}))],[`light`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z`}))],[`regular`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z`}))],[`thin`,v.createElement(v.Fragment,null,v.createElement(`path`,{d:`M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z`}))]]),Dr=(0,v.createContext)({color:`currentColor`,size:`1em`,weight:`regular`,mirrored:!1}),Or=v.forwardRef((e,t)=>{let{alt:n,color:r,size:i,weight:a,mirrored:o,children:s,weights:c,...l}=e,{color:u=`currentColor`,size:d,weight:f=`regular`,mirrored:p=!1,...m}=v.useContext(Dr);return v.createElement(`svg`,{ref:t,xmlns:`http://www.w3.org/2000/svg`,width:i??d,height:i??d,fill:r??u,viewBox:`0 0 256 256`,transform:o||p?`scale(-1, 1)`:void 0,...m,...l},!!n&&v.createElement(`title`,null,n),s,c.get(a??f))});Or.displayName=`IconBase`;var kr=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:Pn}));kr.displayName=`ArrowCircleUpIcon`;var Ar=kr,jr=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:Fn}));jr.displayName=`ArrowClockwiseIcon`;var Mr=jr,Nr=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:In}));Nr.displayName=`ArrowCounterClockwiseIcon`;var Pr=Nr,Fr=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:Ln}));Fr.displayName=`ArrowRightIcon`;var Ir=Fr,Lr=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:Rn}));Lr.displayName=`ArrowSquareOutIcon`;var Rr=Lr,zr=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:zn}));zr.displayName=`ArrowUpRightIcon`;var Br=zr,Vr=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:Bn}));Vr.displayName=`ArrowsClockwiseIcon`;var Hr=Vr,Ur=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:Vn}));Ur.displayName=`BracketsCurlyIcon`;var Wr=Ur,Gr=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:Hn}));Gr.displayName=`CalendarCheckIcon`;var Kr=Gr,qr=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:Un}));qr.displayName=`CaretLeftIcon`;var Jr=qr,Yr=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:Wn}));Yr.displayName=`CaretRightIcon`;var Xr=Yr,Zr=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:Gn}));Zr.displayName=`CheckIcon`;var Qr=Zr,$r=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:Kn}));$r.displayName=`CheckCircleIcon`;var ei=$r,ti=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:qn}));ti.displayName=`ClockIcon`;var ni=ti,ri=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:Jn}));ri.displayName=`CopyIcon`;var ii=ri,ai=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:Yn}));ai.displayName=`CubeIcon`;var oi=ai,si=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:Xn}));si.displayName=`DatabaseIcon`;var ci=si,li=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:Zn}));li.displayName=`DotsThreeVerticalIcon`;var ui=li,di=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:Qn}));di.displayName=`EyeIcon`;var fi=di,pi=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:$n}));pi.displayName=`EyeSlashIcon`;var mi=pi,hi=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:er}));hi.displayName=`FileCodeIcon`;var gi=hi,_i=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:tr}));_i.displayName=`FloppyDiskIcon`;var vi=_i,yi=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:nr}));yi.displayName=`GaugeIcon`;var bi=yi,xi=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:rr}));xi.displayName=`GearSixIcon`;var Si=xi,Ci=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:ir}));Ci.displayName=`GlobeIcon`;var wi=Ci,Ti=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:ar}));Ti.displayName=`InfoIcon`;var Ei=Ti,Di=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:or}));Di.displayName=`KeyIcon`;var Oi=Di,ki=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:sr}));ki.displayName=`LightningIcon`;var Ai=ki,ji=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:cr}));ji.displayName=`ListIcon`;var Mi=ji,Ni=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:lr}));Ni.displayName=`ListBulletsIcon`;var Pi=Ni,Fi=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:ur}));Fi.displayName=`MagnifyingGlassIcon`;var Ii=Fi,Li=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:dr}));Li.displayName=`MoonIcon`;var Ri=Li,zi=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:fr}));zi.displayName=`PaperPlaneTiltIcon`;var Bi=zi,Vi=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:pr}));Vi.displayName=`PencilSimpleIcon`;var Hi=Vi,Ui=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:mr}));Ui.displayName=`PlusIcon`;var Wi=Ui,Gi=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:hr}));Gi.displayName=`PulseIcon`;var Ki=Gi,qi=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:gr}));qi.displayName=`ScrollIcon`;var Ji=qi,Yi=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:_r}));Yi.displayName=`ShieldCheckIcon`;var Xi=Yi,Zi=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:vr}));Zi.displayName=`SidebarSimpleIcon`;var Qi=Zi,$i=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:yr}));$i.displayName=`SignOutIcon`;var ea=$i,ta=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:br}));ta.displayName=`SlidersHorizontalIcon`;var na=ta,ra=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:xr}));ra.displayName=`SunIcon`;var ia=ra,aa=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:Sr}));aa.displayName=`TerminalWindowIcon`;var oa=aa,sa=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:Cr}));sa.displayName=`TrashSimpleIcon`;var ca=sa,la=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:wr}));la.displayName=`UsersThreeIcon`;var ua=la,da=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:Tr}));da.displayName=`WarningCircleIcon`;var fa=da,pa=v.forwardRef((e,t)=>v.createElement(Or,{ref:t,...e,weights:Er}));pa.displayName=`XIcon`;var ma=pa,ha=`react-aria-clear-focus`,ga=`react-aria-focus`;function _a(e){if(typeof window>`u`||window.navigator==null)return!1;let t=window.navigator.userAgentData?.brands;return Array.isArray(t)&&t.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function va(e){return typeof window<`u`&&window.navigator!=null&&e.test(window.navigator.userAgentData?.platform||window.navigator.platform)}function ya(e){let t=null;return()=>(t??=e(),t)}var ba=ya(function(){return va(/^Mac/i)}),xa=ya(function(){return va(/^iPhone/i)}),Sa=ya(function(){return va(/^iPad/i)||ba()&&navigator.maxTouchPoints>1}),Ca=ya(function(){return xa()||Sa()}),wa=ya(function(){return ba()||Ca()}),Ta=ya(function(){return _a(/AppleWebKit/i)&&(Ca()||!Ea())}),Ea=ya(function(){return _a(/Chrome|CriOS|CrMo/i)}),Da=ya(function(){return _a(/Android/i)}),Oa=ya(function(){return _a(/(Firefox|FxiOS)/i)});function ka(e){if(ja())e.focus({preventScroll:!0});else{let t=Ma(e);e.focus(),Na(t)}}var Aa=null;function ja(){if(Aa==null){Aa=!1;try{document.createElement(`div`).focus({get preventScroll(){return Aa=!0,!0}})}catch{}}return Aa}function Ma(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeighte});function Fa(){return(0,v.useContext)(Pa)}function Ia(e,t){let n=e.getAttribute(`target`);return(!n||n===`_self`)&&e.origin===location.origin&&!e.hasAttribute(`download`)&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function La(e,t,n=!0){let{metaKey:r,ctrlKey:i,altKey:a,shiftKey:o}=t;!Ta()&&Oa()&&window.event?.type?.startsWith(`key`)&&e.target===`_blank`&&(ba()?r=!0:i=!0);let s=Ta()&&ba()&&!Sa()?new KeyboardEvent(`keydown`,{keyIdentifier:`Enter`,metaKey:r,ctrlKey:i,altKey:a,shiftKey:o}):new MouseEvent(`click`,{metaKey:r,ctrlKey:i,altKey:a,shiftKey:o,detail:1,bubbles:!0,cancelable:!0});La.isOpening=n,ka(e),e.dispatchEvent(s),La.isOpening=!1}La.isOpening=!1;function Ra(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute(`data-href`)){let n=document.createElement(`a`);n.href=e.getAttribute(`data-href`),e.hasAttribute(`data-target`)&&(n.target=e.getAttribute(`data-target`)),e.hasAttribute(`data-rel`)&&(n.rel=e.getAttribute(`data-rel`)),e.hasAttribute(`data-download`)&&(n.download=e.getAttribute(`data-download`)),e.hasAttribute(`data-ping`)&&(n.ping=e.getAttribute(`data-ping`)),e.hasAttribute(`data-referrer-policy`)&&(n.referrerPolicy=e.getAttribute(`data-referrer-policy`)),e.appendChild(n),t(n),e.removeChild(n)}}function za(e,t){Ra(e,e=>La(e,t))}function Ba(e){let t=Fa().useHref(e.href??``);return{"data-href":e.href?t:void 0,"data-target":e.target,"data-rel":e.rel,"data-download":e.download,"data-ping":e.ping,"data-referrer-policy":e.referrerPolicy}}function Va(e){let t=Fa().useHref(e?.href??``),n={};if(e)for(let r of[`href`,`target`,`rel`,`download`,`ping`,`referrerPolicy`])r in e&&e[r]!==void 0&&(n[r]=r===`href`?t:e[r]);return n}function Ha(e,t,n,r){!t.isNative&&e.currentTarget instanceof HTMLAnchorElement&&e.currentTarget.href&&!e.isDefaultPrevented()&&Ia(e.currentTarget,e)&&n&&(e.preventDefault(),t.open(e.currentTarget,e,n,r))}var Ua=typeof document<`u`?v.useLayoutEffect:()=>{},Wa={prefix:String(Math.round(Math.random()*1e10)),current:0},Ga=v.createContext(Wa),Ka=v.createContext(!1);typeof window<`u`&&window.document&&window.document.createElement;var qa=new WeakMap;function Ja(e=!1){let t=(0,v.useContext)(Ga),n=(0,v.useRef)(null);if(n.current===null&&!e){let e=v.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(e){let n=qa.get(e);n==null?qa.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,qa.delete(e))}n.current=++t.current}return n.current}function Ya(e){let t=(0,v.useContext)(Ga),n=Ja(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${n}`}function Xa(e){let t=v.useId(),[n]=(0,v.useState)(to()),r=n?`react-aria`:`react-aria${Wa.prefix}`;return e||`${r}-${t}`}var Za=typeof v.useId==`function`?Xa:Ya;function Qa(){return!1}function $a(){return!0}function eo(e){return()=>{}}function to(){return typeof v.useSyncExternalStore==`function`?v.useSyncExternalStore(eo,Qa,$a):(0,v.useContext)(Ka)}function no(e){let[t,n]=(0,v.useState)(e),r=(0,v.useRef)(t),i=(0,v.useRef)(null),a=(0,v.useRef)(()=>{if(!i.current)return;let e=i.current.next();if(e.done){i.current=null;return}r.current===e.value?a.current():n(e.value)});return Ua(()=>{r.current=t,i.current&&a.current()}),[t,(0,v.useCallback)(e=>{i.current=e(r.current),a.current()},[a])]}var ro=!!(typeof window<`u`&&window.document&&window.document.createElement),io=new Map,ao;typeof FinalizationRegistry<`u`&&(ao=new FinalizationRegistry(e=>{io.delete(e)}));var oo=new WeakMap;function so(e){let[t,n]=(0,v.useState)(e),r=(0,v.useRef)(null),i=Za(t),a=(0,v.useRef)(null),o=oo.get(a);if(ao&&o!==i&&(o!=null&&ao.unregister(a),ao.register(a,i,a),oo.set(a,i)),ro){let e=io.get(i);e&&!e.includes(r)?e.push(r):io.set(i,[r])}return Ua(()=>{let e=i;return()=>{ao&&(ao.unregister(a),oo.delete(a)),io.delete(e)}},[i]),(0,v.useEffect)(()=>{let e=r.current;return e&&n(e),()=>{e&&(r.current=null)}}),i}function co(e,t){if(e===t)return e;let n=io.get(e);if(n)return n.forEach(e=>e.current=t),t;let r=io.get(t);return r?(r.forEach(t=>t.current=e),e):t}function lo(e=[]){let t=so(),[n,r]=no(t),i=(0,v.useCallback)(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return Ua(i,[t,i,...e]),n}function uo(...e){return(...t)=>{for(let n of e)typeof n==`function`&&n(...t)}}var fo=e=>ho(e)?e.document:go(e)?e:e?.ownerDocument??(typeof document<`u`?document:void 0),po=e=>fo(e)?.defaultView??(typeof window<`u`?window:void 0);function mo(e){return typeof e==`object`&&!!e&&`nodeType`in e&&typeof e.nodeType==`number`}function ho(e){return typeof e==`object`&&!!e&&`window`in e&&e.window===e}function go(e){return mo(e)&&e.nodeType===9}function _o(e){return mo(e)&&e.nodeType===11&&`host`in e}function vo(e,t,n,r){if(n==null||e==null)return()=>{};let i=Array.isArray(e)?e:[e];for(let e of i)e.addEventListener(t,n,r);return()=>{for(let e of i)e.removeEventListener(t,n,r)}}var yo=!1;function bo(){return yo}function xo(e,t){if(!bo())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!==null;){if(n===e)return!0;n=typeof n.assignedElements!=`function`&&n.assignedSlot?.parentNode?n.assignedSlot.parentNode:_o(n)?n.host:n.parentNode}return!1}var So=(e=document)=>{if(!bo())return e.activeElement;let t=e.activeElement;for(;t&&`shadowRoot`in t&&t.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t};function B(e){if(bo()&&e.target instanceof Element&&e.target.shadowRoot){if(`composedPath`in e)return e.composedPath()[0]??null;if(`composedPath`in e.nativeEvent)return e.nativeEvent.composedPath()[0]??null}return e.target}function Co(e,t){if(t===null)return[];t??=po(e);let n=[t];if(!bo()||!e||e===t)return n;let r=`getRootNode`in t?t.getRootNode():null,i=e.getRootNode()??null;for(;_o(i)&&i!==r;)n.push(i),i=i.host.getRootNode();return n}function wo(e){if(!e)return!1;let t=e.getRootNode(),n=po(e);if(!(t instanceof n.Document||t instanceof n.ShadowRoot))return!1;let r=t.activeElement;return r!=null&&e.contains(r)}var To=class{constructor(e,t,n,r){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=e=>{if(e.nodeType===Node.ELEMENT_NODE){let t=e.shadowRoot;if(t){let e=this._doc.createTreeWalker(t,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(e),NodeFilter.FILTER_ACCEPT}if(typeof this.filter==`function`)return this.filter(e);if(this.filter?.acceptNode)return this.filter.acceptNode(e);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}return NodeFilter.FILTER_SKIP},this._doc=e,this.root=t,this.filter=r??null,this.whatToShow=n??NodeFilter.SHOW_ALL,this._currentNode=t,this._walkerStack.unshift(e.createTreeWalker(t,n,this._acceptNode));let i=t.shadowRoot;if(i){let e=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(e)}}get currentNode(){return this._currentNode}set currentNode(e){if(!xo(this.root,e))throw Error(`Cannot set currentNode to a node that is not contained by the root node.`);let t=[],n=e,r=e;for(this._currentNode=e;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let e=n,i=this._doc.createTreeWalker(e,this.whatToShow,{acceptNode:this._acceptNode});t.push(i),i.currentNode=r,this._currentSetFor.add(i),n=r=e.host}else n=n.parentNode;let i=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});t.push(i),i.currentNode=r,this._currentSetFor.add(i),this._walkerStack=t}get doc(){return this._doc}firstChild(){let e=this.currentNode,t=this.nextNode();return xo(e,t)?(t&&(this.currentNode=t),t):(this.currentNode=e,null)}lastChild(){let e=this._walkerStack[0].lastChild();return e&&(this.currentNode=e),e}nextNode(){let e=this._walkerStack[0].nextNode();if(e){if(e.shadowRoot){let t;if(typeof this.filter==`function`?t=this.filter(e):this.filter?.acceptNode&&(t=this.filter.acceptNode(e)),t===NodeFilter.FILTER_ACCEPT)return this.currentNode=e,e;let n=this.nextNode();return n&&(this.currentNode=n),n}return e&&(this.currentNode=e),e}if(this._walkerStack.length>1){this._walkerStack.shift();let e=this.nextNode();return e&&(this.currentNode=e),e}return null}previousNode(){let e=this._walkerStack[0];if(e.currentNode===e.root){if(this._currentSetFor.has(e)){if(this._currentSetFor.delete(e),this._walkerStack.length>1){this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}return null}return null}let t=e.previousNode();if(t){if(t.shadowRoot){let e;if(typeof this.filter==`function`?e=this.filter(t):this.filter?.acceptNode&&(e=this.filter.acceptNode(t)),e===NodeFilter.FILTER_ACCEPT)return t&&(this.currentNode=t),t;let n=this.lastChild();return n&&(this.currentNode=n),n}return t&&(this.currentNode=t),t}if(this._walkerStack.length>1){this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}};function Eo(e,t,n,r){return bo()?new To(e,t,n,r):e.createTreeWalker(t,n,r)}function Do(...e){return e.length===1&&e[0]?e[0]:t=>{let n=!1,r=e.map(e=>{let r=Oo(e,t);return n||=typeof r==`function`,r});if(n)return()=>{r.forEach((t,n)=>{typeof t==`function`?t():Oo(e[n],null)})}}}function Oo(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function ko(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t=65&&e.charCodeAt(2)<=90?t[e]=uo(n,i):(e===`className`||e===`UNSAFE_className`)&&typeof n==`string`&&typeof i==`string`?t[e]=Ao(n,i):e===`id`&&n&&i?t.id=co(n,i):e===`ref`&&n&&i?t.ref=Do(n,i):t[e]=i===void 0?n:i}}return t}var jo=new Set([`id`]),Mo=new Set([`aria-label`,`aria-labelledby`,`aria-describedby`,`aria-details`]),No=new Set([`href`,`hrefLang`,`target`,`rel`,`download`,`ping`,`referrerPolicy`]),Po=new Set([`dir`,`lang`,`hidden`,`inert`,`translate`]),Fo=new Set(`onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart`.split(`.`)),Io=/^(data-.*)$/;function H(e,t={}){let{labelable:n,isLink:r,global:i,events:a=i,propNames:o}=t,s={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(jo.has(t)||n&&Mo.has(t)||r&&No.has(t)||i&&Po.has(t)||a&&(Fo.has(t)||t.endsWith(`Capture`)&&Fo.has(t.slice(0,-7)))||o?.has(t)||Io.test(t))&&(s[t]=e[t]);return s}var Lo=new Map,Ro=new Set;function zo(){if(typeof window>`u`)return;function e(e){return`propertyName`in e}let t=t=>{let r=B(t);if(!e(t)||!r)return;let i=Lo.get(r);i||(i=new Set,Lo.set(r,i),r.addEventListener(`transitioncancel`,n,{once:!0})),i.add(t.propertyName)},n=t=>{let r=B(t);if(!e(t)||!r)return;let i=Lo.get(r);if(i&&(i.delete(t.propertyName),i.size===0&&(r.removeEventListener(`transitioncancel`,n),Lo.delete(r)),Lo.size===0)){for(let e of Ro)e();Ro.clear()}};document.body.addEventListener(`transitionrun`,t),document.body.addEventListener(`transitionend`,n)}typeof document<`u`&&(document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,zo):zo());function Bo(){for(let[e]of Lo)`isConnected`in e&&!e.isConnected&&Lo.delete(e)}function Vo(e){requestAnimationFrame(()=>{Bo(),Lo.size===0?e():Ro.add(e)})}function Ho(){let e=(0,v.useRef)(new Map),t=(0,v.useCallback)((t,n,r,i)=>{let a=i?.once?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:a,options:i}),t.addEventListener(n,a,i)},[]),n=(0,v.useCallback)((t,n,r,i)=>{let a=e.current.get(r)?.fn||r;t.removeEventListener(n,a,i),e.current.delete(r)},[]),r=(0,v.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,v.useEffect)(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function Uo(e,t){let{id:n,"aria-label":r,"aria-labelledby":i}=e;return n=so(n),i&&r?i=[...new Set([n,...i.trim().split(/\s+/)])].join(` `):i&&=i.trim().split(/\s+/).join(` `),!r&&!i&&t&&(r=t),{id:n,"aria-label":r,"aria-labelledby":i}}function Wo(e){let t=(0,v.useRef)(null),n=(0,v.useRef)(void 0),r=(0,v.useCallback)(t=>{if(typeof e==`function`){let n=e,r=n(t);return()=>{typeof r==`function`?r():n(null)}}if(e)return e.current=t,()=>{e.current=null}},[e]);return(0,v.useMemo)(()=>({get current(){return t.current},set current(e){t.current=e,n.current&&=(n.current(),void 0),e!=null&&(n.current=r(e))}}),[r])}var Go=v.useInsertionEffect??Ua;function Ko(e){let t=(0,v.useRef)(null);return Go(()=>{t.current=e},[e]),(0,v.useCallback)((...e)=>{let n=t.current;return n?.(...e)},[])}function qo(e,t){let n=(0,v.useRef)(!0),r=(0,v.useRef)(null),i=Ko(e);(0,v.useEffect)(()=>(n.current=!0,()=>{n.current=!1}),[]),(0,v.useEffect)(()=>{let e=r.current;n.current?n.current=!1:(!e||t.some((t,n)=>!Object.is(t,e[n])))&&i(),r.current=t},t)}function Jo(e,t){let n=(0,v.useRef)(!0),r=(0,v.useRef)(null);Ua(()=>(n.current=!0,()=>{n.current=!1}),[]),Ua(()=>{n.current?n.current=!1:(!r.current||t.some((e,t)=>!Object.is(e,r[t])))&&e(),r.current=t},t)}function Yo(){return window.ResizeObserver!==void 0}function Xo(e){let{ref:t,box:n,onResize:r}=e,i=Ko(r);(0,v.useEffect)(()=>{let e=t?.current;if(e){if(Yo()){let t=new window.ResizeObserver(e=>{e.length&&i()});return t.observe(e,{box:n}),()=>{e&&t.unobserve(e)}}return window.addEventListener(`resize`,i,!1),()=>{window.removeEventListener(`resize`,i,!1)}}},[t,n])}function Zo(e,t){Ua(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function Qo(e,t){if(!e)return!1;let n=window.getComputedStyle(e),r=document.scrollingElement||document.documentElement,i=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return e===r&&n.overflow!==`hidden`&&(i=!0),i&&t&&(i=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),i}function $o(e,t){let n=e;for(Qo(n,t)&&(n=n.parentElement);n&&!Qo(n,t);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}function es(e,t){let n=[],r=document.scrollingElement||document.documentElement;for(;e&&(Qo(e,t)&&n.push(e),e!==r);)e=e.parentElement;return n}function ts(e){return ba()?e.metaKey:e.ctrlKey}var ns=new Set([`checkbox`,`radio`,`range`,`color`,`file`,`image`,`button`,`submit`,`reset`]);function rs(e){return e instanceof HTMLInputElement&&!ns.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}var is=typeof document<`u`&&window.visualViewport;function as(){let e=to(),[t,n]=(0,v.useState)(()=>e?{width:0,height:0}:os());return(0,v.useEffect)(()=>{let e=e=>{n(t=>e.width===t.width&&e.height===t.height?t:e)},t=()=>{is&&is.scale>1||e(os())},r,i=t=>{is&&is.scale>1||rs(B(t))&&(r=requestAnimationFrame(()=>{let t=So();(!t||!rs(t))&&e({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})}))};return e(os()),Ca()&&Ta()&&window.addEventListener(`blur`,i,!0),is?is.addEventListener(`resize`,t):window.addEventListener(`resize`,t),()=>{cancelAnimationFrame(r),Ca()&&Ta()&&window.removeEventListener(`blur`,i,!0),is?is.removeEventListener(`resize`,t):window.removeEventListener(`resize`,t)}},[]),t}function os(){return{width:is?Math.min(is.width*is.scale,document.documentElement.clientWidth):document.documentElement.clientWidth,height:is?is.height*is.scale:document.documentElement.clientHeight}}var ss=0,cs=new Map;function ls(e){let[t,n]=(0,v.useState)();return Ua(()=>{if(!e)return;let t=cs.get(e);if(t)n(t.element.id);else{let r=`react-aria-description-${ss++}`;n(r);let i=document.createElement(`div`);i.id=r,i.style.display=`none`,i.textContent=e,document.body.appendChild(i),t={refCount:0,element:i},cs.set(e,t)}return t.refCount++,()=>{t&&--t.refCount===0&&(t.element.remove(),cs.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function us(e,t,n,r){let i=Ko(n),a=n==null;(0,v.useEffect)(()=>{if(a||!e.current)return;let n=e.current;return n.addEventListener(t,i,r),()=>{n.removeEventListener(t,i,r)}},[e,t,r,a])}function ds(e,t,n={}){let{block:r=`nearest`,inline:i=`nearest`}=n;if(e===t)return;let a=e.scrollTop,o=e.scrollLeft,s=t.getBoundingClientRect(),c=e.getBoundingClientRect(),l=window.getComputedStyle(t),u=window.getComputedStyle(e),d=document.scrollingElement||document.documentElement,f=e===d,p=e===d?0:c.top,m=e===d?e.clientHeight:c.bottom,h=e===d?0:c.left,g=e===d?e.clientWidth:c.right,_=parseFloat(l.scrollMarginTop)||0,v=parseFloat(l.scrollMarginBottom)||0,y=parseFloat(l.scrollMarginLeft)||0,b=parseFloat(l.scrollMarginRight)||0,x=parseFloat(u.scrollPaddingTop)||0,S=parseFloat(u.scrollPaddingBottom)||0,C=parseFloat(u.scrollPaddingLeft)||0,w=parseFloat(u.scrollPaddingRight)||0,T=parseFloat(u.borderTopWidth)||0,E=parseFloat(u.borderBottomWidth)||0,D=parseFloat(u.borderLeftWidth)||0,O=parseFloat(u.borderRightWidth)||0,k=s.top-_,A=s.bottom+v,j=s.left-y,M=s.right+b,N=e===d?0:D+O,P=e===d?0:T+E,F=e===d?0:e.offsetWidth-e.clientWidth-N,I=e===d?0:e.offsetHeight-e.clientHeight-P,L=p+(f?0:T)+x,R=m-(f?0:E)-S-I,ee=h+(f?0:D)+C,te=g-(f?0:O)-w;Ca()&&Ta()||u.direction===`ltr`?te-=F:u.direction===`rtl`&&(ee+=F);let ne=kR,re=jte;if(ne&&r===`start`)a+=k-L;else if(ne&&r===`center`)a+=(k+A)/2-(L+R)/2;else if(ne&&r===`end`)a+=A-R;else if(ne&&r===`nearest`){let e=k-L,t=A-R;a+=Math.abs(e)<=Math.abs(t)?e:t}if(re&&i===`start`)o+=j-ee;else if(re&&i===`center`)o+=(j+M)/2-(ee+te)/2;else if(re&&i===`end`)o+=M-te;else if(re&&i===`nearest`){let e=j-ee,t=M-te;o+=Math.abs(e)<=Math.abs(t)?e:t}e.scrollTo({left:o,top:a})}function fs(e,t={}){let{containingElement:n}=t;if(e&&e.isConnected){let t=document.scrollingElement||document.documentElement;if(window.getComputedStyle(t).overflow!==`hidden`){let{left:t,top:r}=e.getBoundingClientRect();e?.scrollIntoView?.({block:`nearest`});let{left:i,top:a}=e.getBoundingClientRect();(Math.abs(t-i)>1||Math.abs(r-a)>1)&&(n?.scrollIntoView?.({block:`center`,inline:`center`}),e.scrollIntoView?.({block:`nearest`}))}else{let{left:t,top:r}=e.getBoundingClientRect(),i=es(e,!0);for(let t of i)ds(t,e);let{left:a,top:o}=e.getBoundingClientRect();if(Math.abs(t-a)>1||Math.abs(r-o)>1){i=n?es(n,!0):[];for(let e of i)ds(e,n,{block:`center`,inline:`center`});for(let t of es(e,!0))ds(t,e)}}}}function ps(e){return e.pointerType===``&&e.isTrusted?!0:Da()&&e.pointerType?e.type===`click`&&e.buttons===1:e.detail===0&&!e.pointerType}function ms(e){return!Da()&&e.width===0&&e.height===0||Da()&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType===`mouse`}function hs(e,t){let n=(0,v.useRef)(null);return e&&n.current&&t(e,n.current)&&(e=n.current),n.current=e,e}function gs(e,t,n){let r=Ko(e=>{n&&!e.defaultPrevented&&n(t)});(0,v.useEffect)(()=>{let t=e?.current?.form;return t?.addEventListener(`reset`,r),()=>{t?.removeEventListener(`reset`,r)}},[e])}function _s(e,t){let{collection:n,onLoadMore:r,scrollOffset:i=1,direction:a=`end`}=e,o=(0,v.useRef)(null),s=Ko(e=>{for(let t of e)t.isIntersecting&&r&&r()});Ua(()=>{if(t.current){let e=100*i,n=a===`start`?`${e}% 0px 0px 0px`:`0px ${e}% ${e}% ${e}%`;o.current=new IntersectionObserver(s,{root:$o(t?.current),rootMargin:n}),o.current.observe(t.current)}return()=>{o.current&&o.current.disconnect()}},[n,t,i,a])}function vs(e){let t=v.version.split(`.`);return parseInt(t[0],10)>=19?e:e?`true`:void 0}var ys=l(h(),1);function bs(e,t=!0){let[n,r]=(0,v.useState)(!0),i=n&&t;return Ua(()=>{if(i&&e.current&&`getAnimations`in e.current)for(let t of e.current.getAnimations())t instanceof CSSTransition&&t.cancel()},[e,i]),Ss(e,i,(0,v.useCallback)(()=>r(!1),[])),i}function xs(e,t){let[n,r]=(0,v.useState)(t?`open`:`closed`);switch(n){case`open`:t||r(`exiting`);break;case`closed`:case`exiting`:t&&r(`open`)}let i=n===`exiting`;return Ss(e,i,(0,v.useCallback)(()=>{r(e=>e===`exiting`?`closed`:e)},[])),i}function Ss(e,t,n){Ua(()=>{if(t&&e.current){if(!(`getAnimations`in e.current)){n();return}let t=e.current.getAnimations();if(t.length===0){n();return}let r=!1;return Promise.allSettled(t.map(e=>e.finished)).then(()=>{r||(0,ys.flushSync)(()=>{n()})}),()=>{r=!0}}},[e,t,n])}var Cs=typeof Element<`u`&&`checkVisibility`in Element.prototype;function ws(e){let t=po(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}=e.style,i=n!==`none`&&r!==`hidden`&&r!==`collapse`;if(i){let{getComputedStyle:t}=po(e),{display:n,visibility:r}=t(e);i=n!==`none`&&r!==`hidden`&&r!==`collapse`}return i}function Ts(e,t){return!e.hasAttribute(`hidden`)&&!e.hasAttribute(`data-react-aria-prevent-focus`)&&(e.nodeName===`DETAILS`&&t&&t.nodeName!==`SUMMARY`?e.hasAttribute(`open`):!0)}function Es(e,t){return Cs?e.checkVisibility({visibilityProperty:!0})&&!e.closest(`[data-react-aria-prevent-focus]`):e.nodeName!==`#comment`&&ws(e)&&Ts(e,t)&&(!e.parentElement||Es(e.parentElement,e))}var Ds=[`input:not([disabled]):not([type=hidden])`,`select:not([disabled])`,`textarea:not([disabled])`,`button:not([disabled])`,`a[href]`,`area[href]`,`summary`,`iframe`,`object`,`embed`,`audio[controls]`,`video[controls]`,`[contenteditable]:not([contenteditable^="false"])`,`permission`],Os=Ds.join(`:not([hidden]),`)+`,[tabindex]:not([disabled]):not([hidden])`;Ds.push(`[tabindex]:not([tabindex="-1"]):not([disabled])`);var ks=Ds.join(`:not([hidden]):not([tabindex="-1"]),`);function As(e,t){return e.matches(Os)&&!Ms(e)&&(t?.skipVisibilityCheck||Es(e))}function js(e){return e.matches(ks)&&Es(e)&&!Ms(e)}function Ms(e){let t=e;for(;t!=null;){if(t instanceof po(t).HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}function Ns(e){return e?.defaultView?.__webpack_nonce__||globalThis.__webpack_nonce__||void 0}var Ps=new WeakMap;function Fs(e){let t=e??(typeof document<`u`?document:void 0);if(!t)return Ns(t);if(Ps.has(t))return Ps.get(t);let n=t.querySelector(`meta[property="csp-nonce"]`),r=n&&n instanceof po(n).HTMLMetaElement&&(n.nonce||n.content)||Ns(t)||void 0;return r!==void 0&&Ps.set(t,r),r}function Is(e,t=-1/0,n=1/0){return Math.min(Math.max(e,t),n)}function Ls(e,t){let n=e,r=0,i=t.toString(),a=i.toLowerCase().indexOf(`e-`);if(a>0)r=Math.abs(Math.floor(Math.log10(Math.abs(t))))+a;else{let e=i.indexOf(`.`);e>=0&&(r=i.length-e)}if(r>0){let e=10**r;n=Math.round(n*e)/e}return n}function Rs(e,t,n,r){t=Number(t),n=Number(n);let i=(e-(isNaN(t)?0:t))%r,a=Ls(Math.abs(i)*2>=r?e+Math.sign(i)*(r-Math.abs(i)):e-i,r);return isNaN(t)?!isNaN(n)&&a>n&&(a=Math.floor(Ls(n/r,r))*r):an&&(a=t+Math.floor(Ls((n-t)/r,r))*r),a=Ls(a,r),a}var zs=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),Bs=o(((e,t)=>{t.exports=zs()})),U=Bs();function Vs(e,t){let{ref:n,render:r,...i}=t,a=(0,v.useRef)(null),o=(0,v.useMemo)(()=>Do(n,a),[n,a]);Ua(()=>{},[e,r]);let s={...i,ref:o};return r?r(s,void 0):(0,U.jsx)(e,{...s})}var Hs={},W=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=Hs[t];return n||(n=Vs.bind(null,t),Hs[t]=n),n}}),Us=Array.isArray,Ws=e=>{if(!e&&e!==0&&e!==0n)return``;if(typeof e==`string`)return e;if(typeof e==`number`)return e===e?``+e:``;if(typeof e==`bigint`)return``+e;let t=``;if(Us(e)){let n=e.length;for(let r=0;rtypeof e!=`string`||!e?e:e.replace(Gs,` `).trim(),Js=e=>{let t=e.length;if(t===0)return!1;let n=e.charCodeAt(0),r=e.charCodeAt(t-1);if(n===32||r===32||n>=9&&n<=13||n===160||r>=9&&r<=13||r===160)return!0;for(let n=0;n=9&&r<=13||r===160||r===32&&n+1{let t=Ws(e);if(t)return Js(t)?qs(t):t},Xs=e=>e===!1?`false`:e===!0?`true`:e===0?`0`:e,Zs=e=>{if(!e||typeof e!=`object`)return!0;for(let t in e)return!1;return!0},Qs=(e,t)=>{if(e===t)return!0;if(!e||!t)return!1;let n=e,r=t,i=Object.keys(n),a=Object.keys(r);if(i.length!==a.length)return!1;for(let e=0;e{let n=e;for(let e in t)if(Object.hasOwn(t,e)){let r=t[e];n[e]=e in n?Ys(n[e],r):r}return e},ec=(e,t)=>{for(let n=0;n{let t=[];ec(e,t);let n=[];for(let e=0;e{let n=e,r=t,i={};for(let e in n){let t=n[e];if(e in r){let n=r[e];i[e]=Ks(t)||Ks(n)?tc(n,t):typeof t==`object`&&typeof n==`object`&&t&&n?nc(t,n):n+` `+t}else i[e]=t}for(let e in r)e in n||(i[e]=r[e]);return i},rc={twMerge:!0,twMergeConfig:{}},ic=256,ac=128,oc=Symbol(`tv-cache-miss`),sc=e=>e?.class!=null&&e.class!==``||e?.className!=null&&e.className!==``,cc=e=>{if(e===void 0)return``;if(e===null)return`null`;if(typeof e==`string`)return e;if(typeof e==`boolean`)return e?`true`:`false`;if(typeof e==`number`)return e===0?`0`:String(e);if(typeof e==`bigint`)return String(e);let t=Xs(e),n=typeof t;if(n===`string`||n===`number`||n===`boolean`||n===`bigint`)return String(t);if(n===`object`)try{return JSON.stringify(t)}catch{return null}return null},lc=(e,t)=>{if(t===void 0)return e;if(t===null)return e+`null`;let n=typeof t;if(n===`string`||n===`number`||n===`boolean`||n===`bigint`)return e+String(t);if(Array.isArray(t))return e+t.join(`\0`);try{return e+JSON.stringify(t)}catch{return e+`?`}},uc=(e,t,n,r)=>{let i=``,a=Object.create(null);for(let r=0;r1&&o.sort();for(let e=0;e{let n=``;for(let t=0;t{let t=new Map,n=null;return{get(e){if(t.has(e))return t.get(e);if(n?.has(e)){let r=n.get(e);return t.set(e,r),r}return oc},set(r,i){t.size>=e&&(n=t,t=new Map),t.set(r,i)}}},pc=(e=ic)=>{let t=fc(e);return{get(e){return t.get(e)},set(e,n){t.set(e,n)}}},mc=(e=ac)=>{let t=new Map,n=null,r=0;return{get(e,i){let a=t.get(e);if(a){let e=a.get(i);if(e!==void 0||a.has(i))return e}if(n){let a=n.get(e);if(a){let n=a.get(i);if(n!==void 0||a.has(i)){let a=t.get(e);return a||(a=new Map,t.set(e,a)),a.has(i)||r++,a.set(i,n),n}}}return oc},set(i,a,o){r>=e&&(n=t,t=new Map,r=0);let s=t.get(i);s||(s=new Map,t.set(i,s)),s.has(a)||r++,s.set(a,o)}}},hc=(e,t)=>{let n=null;return(r,i)=>{if(!sc(i))return r;let a=i.class,o=i.className;if(a!=null&&a!==``&&typeof a!=`string`||o!=null&&o!==``&&typeof o!=`string`)return e(t,r,a,o);n??=mc();let s=r??``,c=(typeof a==`string`?a:``)+`\0`+(typeof o==`string`?o:``),l=n.get(s,c);if(l!==oc)return l;let u=e(t,r,a,o);return n.set(s,c,u),u}};function gc(){let e=null,t={},n=!1;return{get cachedTwMerge(){return e},set cachedTwMerge(t){e=t},get cachedTwMergeConfig(){return t},set cachedTwMergeConfig(e){t=e},get didTwMergeConfigChange(){return n},set didTwMergeConfigChange(e){n=e},reset(){e=null,t={},n=!1}}}var _c=gc(),vc=e=>{!Zs(e.twMergeConfig)&&!Qs(e.twMergeConfig,_c.cachedTwMergeConfig)&&(_c.didTwMergeConfigChange=!0,_c.cachedTwMergeConfig=e.twMergeConfig)},yc=(e,t)=>{let n=[];for(let r=0;r{if(!Array.isArray(e)||e.length===0)return[];let t=[];for(let n=0;n{if(!Array.isArray(e)||e.length===0)return[];let t=[];for(let n=0;n{let t={};for(let n=0;n{let{extend:n=null,slots:r={},variants:i={},compoundVariants:a=[],compoundSlots:o=[],defaultVariants:s={}}=e,c={...rc,...t},l=e.slots!==void 0,u=n?.base?Ys(n.base,e?.base):e?.base,d=n?.variants&&!Zs(n.variants)?nc(i,n.variants):i,f=n?.defaultVariants&&!Zs(n.defaultVariants)?{...n.defaultVariants,...s}:s;vc(c);let p=!n?.slots||Zs(n.slots),m=l?p&&n?.base?Ys(e?.base,n.base):typeof e?.base==`string`||e?.base==null?e.base:Ys(e.base):void 0,h=l?{base:m,...r}:{},g=p?h:$s({...n?.slots},Zs(h)?{base:e?.base}:h),_=!n?.compoundVariants||Zs(n.compoundVariants)?a:tc(n?.compoundVariants,a),v=!n?.compoundSlots||Zs(n.compoundSlots)?o:tc(n?.compoundSlots,o),y=Object.keys(d);return{config:c,extend:n,base:u,variants:d,defaultVariants:f,slots:g,compoundVariants:_,compoundSlots:v,compiledVariants:null,compiledCompoundVariants:null,compiledCompoundSlots:null,compiledCompoundSlotsBySlot:null,deferredError:_&&!Array.isArray(_)?TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof _}`):v&&!Array.isArray(v)?TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof v}`):null,mode:l||!p?`slots`:y.length===0?`plain`:`variants`,slotKeys:null,variantKeys:y}},wc=e=>e.compiledVariants===null?(e.compiledVariants=yc(e.variants,e.variantKeys),e.compiledCompoundVariants=bc(e.compoundVariants),e.compiledCompoundSlots=xc(e.compoundSlots),e.compiledCompoundSlotsBySlot=Sc(e.compiledCompoundSlots),e.slotKeys=e.slots&&typeof e.slots==`object`?Object.keys(e.slots):[],e):e,Tc=[],Ec=[],Dc=[],Oc=[],kc=[],Ac=(e,t,n)=>{let r={};for(let t in e)r[t]=e[t];if(t)for(let e in t)t[e]!==void 0&&(r[e]=t[e]);if(n)for(let e in n)n[e]!==void 0&&(r[e]=n[e]);return r},jc=e=>e==null||e===!1,Mc=(e,t)=>{if(!Array.isArray(e))return e===t||jc(e)&&jc(t);for(let n=0;n{if(e.isEmpty)return null;let i=r?.[e.key]??n?.[e.key];if(i===null)return null;let a=Xs(i);if(typeof a==`object`)return null;let o=t?.[e.key],s=a??Xs(o);return e.values[s||`false`]},Pc=(e,t)=>{let{conditionKeys:n,source:r}=e;for(let e=0;e{typeof n==`string`?t===`base`&&e.push(n):n&&typeof n==`object`&&n[t]&&e.push(n[t])},Ic=(e,t,n)=>{let r=Ec;r.length=0;for(let i=0;i{let a=Ec;a.length=0;for(let o=0;o{let n=Dc;n.length=0;for(let r=0;r{let r=Oc;r.length=0;for(let i=0;i{let n=kc;n.length=0;for(let r=0;r{let{base:n,config:r}=e,i=oc,a=hc(t,r);return(e=>(i===oc&&(i=t(r,n)),a(i,e)))},Hc=(e,t)=>{let{base:n,config:r,defaultVariants:i,deferredError:a,variantKeys:o}=e,s=e.compiledCompoundVariants,c=e.compiledVariants,l=Tc,u=null,d=hc(t,r),f=1,p=e=>{let a=s.length>0?Rc(s,Ac(i,e)):void 0;return t(r,n,Ic(c,i,e),a)};return(t=>{if(a)throw a;(c===null||s===null)&&(wc(e),c=e.compiledVariants,s=e.compiledCompoundVariants,l=e.compiledCompoundSlots??Tc);let n;if(f>0)f--,n=p(t);else{u??=pc();let e=uc(o,i,t);if(e!==null){let r=s.length>0||l.length>0?dc(s,l):``,i=e+`#`+r,a=u.get(i);a===oc?(n=p(t),u.set(i,n)):n=a}else n=p(t)}return d(n,t)})},Uc=(e,t)=>{let{config:n,defaultVariants:r,deferredError:i,slots:a,variantKeys:o}=e,s=null,c=null,l=null,u=null,d=!1,f=null,p=null,m=1,h=()=>{if(l!==null)return;(e.compiledVariants===null||e.compiledCompoundVariants===null||e.compiledCompoundSlots===null||e.compiledCompoundSlotsBySlot===null||e.slotKeys===null)&&wc(e);let i=e.compiledVariants;s=e.compiledCompoundVariants,c=e.compiledCompoundSlots;let o=e.compiledCompoundSlotsBySlot;l=e.slotKeys,d=s.length>0||c.length>0,f=hc(t,n);let p=Array(l.length);for(let e=0;e{let l=d?Ac(r,e,o):void 0,f=l?zc(c,s,l):void 0,p=l?Bc(u,l):void 0;return t(n,a[c],Lc(c,i,r,e,o),f,p)}}u=p},g=e=>{let t=l,n=u,r=f,i={};for(let a=0;a{if(t==null)return s;let n=!1;for(let e in t)if(e!==`class`&&e!==`className`&&t[e]!==void 0){n=!0;break}return r(n?o(e,t):s,t)}}return i};return(e=>{if(i)throw i;if(h(),m>0)return m--,g(e);let t=uc(o,r,e);if(t===null)return g(e);let n=d?dc(s,c):``,a=t+`#`+n;p??=fc();let l=p.get(a);if(l!==oc)return l;let u=g(e);return p.set(a,u),u})},Wc=(e,t)=>{if(e.mode===`plain`)return Vc(e,t);let n;return(r=>(n??=e.mode===`slots`?Uc(e,t):Hc(e,t),n(r)))},Gc=(e,t)=>{e.variantKeys=t.variantKeys,e.extend=t.extend,e.base=t.base,e.slots=t.slots,e.variants=t.variants,e.defaultVariants=t.defaultVariants,e.compoundSlots=t.compoundSlots,e.compoundVariants=t.compoundVariants},Kc=e=>{let t=(t,n)=>{let r=Cc(t,n),i=Wc(r,e);return Gc(i,r),i};return{tv:t,createTV:e=>(n,r)=>t(n,r?nc(e,r):e)}},qc=(e,t)=>{let n=e.length,r=t.length,i=Array(n+r);for(let t=0;t({classGroupId:e,validator:t}),Yc=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Xc=`-`,Zc=[],Qc=`arbitrary..`,$c=e=>{let t=nl(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e[0]===`[`&&e[e.length-1]===`]`)return tl(e);let n=e.split(Xc);return el(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?qc(i,t):t:i||Zc}return n[e]||Zc}}},el=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=el(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(Xc):e.slice(t).join(Xc),s=a.length;for(let e=0;e{let t=e.slice(1,-1),n=t.indexOf(`:`);if(n===-1)return;let r=t.slice(0,n);return r?Qc+r:void 0},nl=e=>{let{theme:t,classGroups:n}=e;return rl(n,t)},rl=(e,t)=>{let n=Yc();for(let r in e){let i=e[r];il(i,n,r,t)}return n},il=(e,t,n,r)=>{let i=e.length;for(let a=0;a{if(typeof e==`string`){ol(e,t,n);return}if(typeof e==`function`){sl(e,t,n,r);return}cl(e,t,n,r)},ol=(e,t,n)=>{let r=e===``?t:ll(t,e);r.classGroupId=n},sl=(e,t,n,r)=>{if(ul(e)){il(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Jc(n,e))},cl=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e{let n=e,r=t.split(Xc),i=r.length;for(let e=0;e`isThemeGetter`in e&&e.isThemeGetter===!0,dl=`!`,fl=58,pl=47,ml=91,hl=93,gl=40,_l=41,vl=33,yl=(e,t,n,r)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:void 0}),bl=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;si?a-i:void 0;return yl(t,l,c,d)},xl=e=>{let t=new Set(e.orderSensitiveModifiers);return e=>{let n=[],r=[];for(let i=0;i0){r.sort();for(let e=0;e0){r.sort();for(let e=0;e{let t=xl(e),n=El(e),{getClassGroupId:r,getConflictingClassGroupIds:i}=$c(e),a=Object.create(null),o=Object.create(null),s=0,c=new Int32Array(256),l=0,u=new Uint8Array(64),d=!1,f=e=>{let t=[],n=e.length,r=-1;d=!1;for(let i=0;i=9&&n<=13?(d=!0,r!==-1&&(t.push(e.slice(r,i)),r=-1)):r===-1&&(r=i)}return r!==-1&&t.push(e.slice(r)),t},p=new Map,m=0,h=e=>{let t=p.get(e);if(t===void 0&&(t=m++,p.set(e,t),t>=c.length)){let e=new Int32Array(c.length*2);e.set(c),c=e}return t},g=e=>{let{isExternal:a,modifiers:o,hasImportantModifier:s,baseClassName:c,maybePostfixModifierPosition:l}=bl(e);if(a)return Sl;let u=!!l,d;if(u){let e=c.substring(0,l);d=r(e);let t=d&&n[d]?r(c):void 0;t&&t!==d&&(d=t,u=!1)}else d=r(c);if(!d){if(!u||(d=r(c),!d))return Sl;u=!1}let f=o.length===0?``:o.length===1?o[0]:t(o).join(`:`),p=s?f+dl:f,m=i(d,u),g=[];for(let e=0;e{let t=a[e];return t===void 0?(t=o[e],t===void 0&&(t=g(e)),a[e]=t,++s>Cl&&(s=0,o=a,a=Object.create(null)),t):t};return{parseClassName:bl,sortModifiers:t,postfixLookupClassGroupIds:n,getClassGroupId:r,getConflictingClassGroupIds:i,getClassDescriptor:_,mergeClassList:e=>{let t=f(e),n=t.length;if(n===1)return t[0];m>wl&&(p.clear(),m=0,a=Object.create(null),o=Object.create(null),s=0),l=l+1|0,l===0&&(l=1);let r=l;if(n>u.length){let e=u.length;for(;e=0;--e){let n=t[e];h+=n.length;let a=_(n);if(a.isExternal){u[e]=1;continue}let o=a.classId;if(c[o]===r){u[e]=0,i=!0;continue}c[o]=r;let s=a.conflictIds;for(let e=0;e{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e{let t,n,r=Object.create(null),i=Object.create(null),a=0,o=r=>(t=Tl(e()),n=t.mergeClassList,c.mergeString=s,s(r)),s=e=>{let t=r[e];return t===void 0?(t=i[e],t===void 0&&(t=n(e)),r[e]=t,++a>Dl&&(a=0,i=r,r=Object.create(null)),t):t},c=(...e)=>c.mergeString(Ws(e));return c.mergeString=o,c},kl=[],Al=e=>{let t=t=>t[e]||kl;return t.isThemeGetter=!0,t},jl=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ml=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Nl=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Pl=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Fl=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Il=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ll=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Rl=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,zl=Number,Bl=Number.isNaN,Vl=Number.isInteger,Hl=e=>Nl.test(e),G=e=>!!e&&!Bl(zl(e)),Ul=e=>!!e&&Vl(zl(e)),Wl=e=>e.endsWith(`%`)&&G(e.slice(0,-1)),Gl=e=>Pl.test(e),Kl=()=>!0,ql=e=>Fl.test(e)&&!Il.test(e),Jl=()=>!1,Yl=e=>Ll.test(e),Xl=e=>Rl.test(e),Zl=e=>!K(e)&&!q(e),Ql=e=>e.startsWith(`@container`)&&(e[10]===`/`&&e[11]!==void 0||e[11]===`s`&&e[16]!==void 0&&e.startsWith(`-size/`,10)||e[11]===`n`&&e[18]!==void 0&&e.startsWith(`-normal/`,10)),$l=e=>mu(e,vu,Jl),K=e=>jl.test(e),eu=e=>mu(e,yu,ql),tu=e=>mu(e,bu,G),nu=e=>mu(e,Su,Kl),ru=e=>mu(e,xu,Jl),iu=e=>mu(e,gu,Jl),au=e=>mu(e,_u,Xl),ou=e=>mu(e,Cu,Yl),q=e=>Ml.test(e),su=e=>hu(e,yu),cu=e=>hu(e,xu),lu=e=>hu(e,gu),uu=e=>hu(e,vu),du=e=>hu(e,_u),fu=e=>hu(e,Cu,!0),pu=e=>hu(e,Su,!0),mu=(e,t,n)=>{let r=jl.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},hu=(e,t,n=!1)=>{let r=Ml.exec(e);return r?r[1]?t(r[1]):n:!1},gu=e=>e===`position`||e===`percentage`,_u=e=>e===`image`||e===`url`,vu=e=>e===`length`||e===`size`||e===`bg-size`,yu=e=>e===`length`,bu=e=>e===`number`,xu=e=>e===`family-name`,Su=e=>e===`number`||e===`weight`,Cu=e=>e===`shadow`,wu=()=>{let e=Al(`color`),t=Al(`font`),n=Al(`text`),r=Al(`font-weight`),i=Al(`tracking`),a=Al(`leading`),o=Al(`breakpoint`),s=Al(`container`),c=Al(`spacing`),l=Al(`radius`),u=Al(`shadow`),d=Al(`inset-shadow`),f=Al(`text-shadow`),p=Al(`drop-shadow`),m=Al(`blur`),h=Al(`perspective`),g=Al(`aspect`),_=Al(`ease`),v=Al(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),q,K],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[q,K,c],T=()=>[Hl,`full`,`auto`,...w()],E=()=>[Ul,`none`,`subgrid`,q,K],D=()=>[`auto`,{span:[`full`,Ul,q,K]},Ul,q,K],O=()=>[Ul,`auto`,q,K],k=()=>[`auto`,`min`,`max`,`fr`,q,K],A=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],j=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],M=()=>[`auto`,...w()],N=()=>[Hl,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],P=()=>[Hl,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],F=()=>[Hl,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],I=()=>[e,q,K],L=()=>[...b(),lu,iu,{position:[q,K]}],R=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],ee=()=>[`auto`,`cover`,`contain`,uu,$l,{size:[q,K]}],te=()=>[Wl,su,eu],ne=()=>[``,`none`,`full`,l,q,K],re=()=>[``,G,su,eu],z=()=>[`solid`,`dashed`,`dotted`,`double`],ie=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],ae=()=>[G,Wl,lu,iu],oe=()=>[``,`none`,m,q,K],se=()=>[`none`,G,q,K],ce=()=>[`none`,G,q,K],le=()=>[G,q,K],ue=()=>[Hl,`full`,...w()];return{theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[Gl],breakpoint:[Gl],color:[Kl],container:[Gl],"drop-shadow":[Gl],ease:[`in`,`out`,`in-out`],font:[Zl],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[Gl],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[Gl],shadow:[Gl],spacing:[`px`,G],text:[Gl],"text-shadow":[Gl],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,Hl,K,q,g]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,q,K]}],"container-named":[Ql],columns:[{columns:[G,K,q,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[Ul,`auto`,q,K]}],basis:[{basis:[Hl,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[G,Hl,`auto`,`initial`,`none`,K]}],grow:[{grow:[``,G,q,K]}],shrink:[{shrink:[``,G,q,K]}],order:[{order:[Ul,`first`,`last`,`none`,q,K]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":k()}],"auto-rows":[{"auto-rows":k()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...A(),`normal`]}],"justify-items":[{"justify-items":[...j(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...j()]}],"align-content":[{content:[`normal`,...A()]}],"align-items":[{items:[...j(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...j(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":A()}],"place-items":[{"place-items":[...j(),`baseline`]}],"place-self":[{"place-self":[`auto`,...j()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mbs:[{mbs:M()}],mbe:[{mbe:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:N()}],"inline-size":[{inline:[`auto`,...P()]}],"min-inline-size":[{"min-inline":[`auto`,...P()]}],"max-inline-size":[{"max-inline":[`none`,...P()]}],"block-size":[{block:[`auto`,...F()]}],"min-block-size":[{"min-block":[`auto`,...F()]}],"max-block-size":[{"max-block":[`none`,...F()]}],w:[{w:[s,`screen`,...N()]}],"min-w":[{"min-w":[s,`screen`,`none`,...N()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...N()]}],h:[{h:[`screen`,`lh`,...N()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...N()]}],"max-h":[{"max-h":[`screen`,`lh`,...N()]}],"font-size":[{text:[`base`,n,su,eu]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,pu,nu]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,Wl,K]}],"font-family":[{font:[cu,ru,t]}],"font-features":[{"font-features":[K]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,q,K]}],"line-clamp":[{"line-clamp":[G,`none`,q,tu]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,q,K]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,q,K]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:I()}],"text-color":[{text:I()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...z(),`wavy`]}],"text-decoration-thickness":[{decoration:[G,`from-font`,`auto`,q,eu]}],"text-decoration-color":[{decoration:I()}],"underline-offset":[{"underline-offset":[G,`auto`,q,K]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"tab-size":[{tab:[Ul,q,K]}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,q,K]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,q,K]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:L()}],"bg-repeat":[{bg:R()}],"bg-size":[{bg:ee()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},Ul,q,K],radial:[``,q,K],conic:[Ul,q,K]},du,au]}],"bg-color":[{bg:I()}],"gradient-from-pos":[{from:te()}],"gradient-via-pos":[{via:te()}],"gradient-to-pos":[{to:te()}],"gradient-from":[{from:I()}],"gradient-via":[{via:I()}],"gradient-to":[{to:I()}],rounded:[{rounded:ne()}],"rounded-s":[{"rounded-s":ne()}],"rounded-e":[{"rounded-e":ne()}],"rounded-t":[{"rounded-t":ne()}],"rounded-r":[{"rounded-r":ne()}],"rounded-b":[{"rounded-b":ne()}],"rounded-l":[{"rounded-l":ne()}],"rounded-ss":[{"rounded-ss":ne()}],"rounded-se":[{"rounded-se":ne()}],"rounded-ee":[{"rounded-ee":ne()}],"rounded-es":[{"rounded-es":ne()}],"rounded-tl":[{"rounded-tl":ne()}],"rounded-tr":[{"rounded-tr":ne()}],"rounded-br":[{"rounded-br":ne()}],"rounded-bl":[{"rounded-bl":ne()}],"border-w":[{border:re()}],"border-w-x":[{"border-x":re()}],"border-w-y":[{"border-y":re()}],"border-w-s":[{"border-s":re()}],"border-w-e":[{"border-e":re()}],"border-w-bs":[{"border-bs":re()}],"border-w-be":[{"border-be":re()}],"border-w-t":[{"border-t":re()}],"border-w-r":[{"border-r":re()}],"border-w-b":[{"border-b":re()}],"border-w-l":[{"border-l":re()}],"divide-x":[{"divide-x":re()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":re()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...z(),`hidden`,`none`]}],"divide-style":[{divide:[...z(),`hidden`,`none`]}],"border-color":[{border:I()}],"border-color-x":[{"border-x":I()}],"border-color-y":[{"border-y":I()}],"border-color-s":[{"border-s":I()}],"border-color-e":[{"border-e":I()}],"border-color-bs":[{"border-bs":I()}],"border-color-be":[{"border-be":I()}],"border-color-t":[{"border-t":I()}],"border-color-r":[{"border-r":I()}],"border-color-b":[{"border-b":I()}],"border-color-l":[{"border-l":I()}],"divide-color":[{divide:I()}],"outline-style":[{outline:[...z(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[G,q,K]}],"outline-w":[{outline:[``,G,su,eu]}],"outline-color":[{outline:I()}],shadow:[{shadow:[``,`none`,u,fu,ou]}],"shadow-color":[{shadow:I()}],"inset-shadow":[{"inset-shadow":[`none`,d,fu,ou]}],"inset-shadow-color":[{"inset-shadow":I()}],"ring-w":[{ring:re()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:I()}],"ring-offset-w":[{"ring-offset":[G,eu]}],"ring-offset-color":[{"ring-offset":I()}],"inset-ring-w":[{"inset-ring":re()}],"inset-ring-color":[{"inset-ring":I()}],"text-shadow":[{"text-shadow":[`none`,f,fu,ou]}],"text-shadow-color":[{"text-shadow":I()}],opacity:[{opacity:[G,q,K]}],"mix-blend":[{"mix-blend":[...ie(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":ie()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[G]}],"mask-image-linear-from-pos":[{"mask-linear-from":ae()}],"mask-image-linear-to-pos":[{"mask-linear-to":ae()}],"mask-image-linear-from-color":[{"mask-linear-from":I()}],"mask-image-linear-to-color":[{"mask-linear-to":I()}],"mask-image-t-from-pos":[{"mask-t-from":ae()}],"mask-image-t-to-pos":[{"mask-t-to":ae()}],"mask-image-t-from-color":[{"mask-t-from":I()}],"mask-image-t-to-color":[{"mask-t-to":I()}],"mask-image-r-from-pos":[{"mask-r-from":ae()}],"mask-image-r-to-pos":[{"mask-r-to":ae()}],"mask-image-r-from-color":[{"mask-r-from":I()}],"mask-image-r-to-color":[{"mask-r-to":I()}],"mask-image-b-from-pos":[{"mask-b-from":ae()}],"mask-image-b-to-pos":[{"mask-b-to":ae()}],"mask-image-b-from-color":[{"mask-b-from":I()}],"mask-image-b-to-color":[{"mask-b-to":I()}],"mask-image-l-from-pos":[{"mask-l-from":ae()}],"mask-image-l-to-pos":[{"mask-l-to":ae()}],"mask-image-l-from-color":[{"mask-l-from":I()}],"mask-image-l-to-color":[{"mask-l-to":I()}],"mask-image-x-from-pos":[{"mask-x-from":ae()}],"mask-image-x-to-pos":[{"mask-x-to":ae()}],"mask-image-x-from-color":[{"mask-x-from":I()}],"mask-image-x-to-color":[{"mask-x-to":I()}],"mask-image-y-from-pos":[{"mask-y-from":ae()}],"mask-image-y-to-pos":[{"mask-y-to":ae()}],"mask-image-y-from-color":[{"mask-y-from":I()}],"mask-image-y-to-color":[{"mask-y-to":I()}],"mask-image-radial":[{"mask-radial":[q,K]}],"mask-image-radial-from-pos":[{"mask-radial-from":ae()}],"mask-image-radial-to-pos":[{"mask-radial-to":ae()}],"mask-image-radial-from-color":[{"mask-radial-from":I()}],"mask-image-radial-to-color":[{"mask-radial-to":I()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[G]}],"mask-image-conic-from-pos":[{"mask-conic-from":ae()}],"mask-image-conic-to-pos":[{"mask-conic-to":ae()}],"mask-image-conic-from-color":[{"mask-conic-from":I()}],"mask-image-conic-to-color":[{"mask-conic-to":I()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:L()}],"mask-repeat":[{mask:R()}],"mask-size":[{mask:ee()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,q,K]}],filter:[{filter:[``,`none`,q,K]}],blur:[{blur:oe()}],brightness:[{brightness:[G,q,K]}],contrast:[{contrast:[G,q,K]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,fu,ou]}],"drop-shadow-color":[{"drop-shadow":I()}],grayscale:[{grayscale:[``,G,q,K]}],"hue-rotate":[{"hue-rotate":[G,q,K]}],invert:[{invert:[``,G,q,K]}],saturate:[{saturate:[G,q,K]}],sepia:[{sepia:[``,G,q,K]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,q,K]}],"backdrop-blur":[{"backdrop-blur":oe()}],"backdrop-brightness":[{"backdrop-brightness":[G,q,K]}],"backdrop-contrast":[{"backdrop-contrast":[G,q,K]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,G,q,K]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[G,q,K]}],"backdrop-invert":[{"backdrop-invert":[``,G,q,K]}],"backdrop-opacity":[{"backdrop-opacity":[G,q,K]}],"backdrop-saturate":[{"backdrop-saturate":[G,q,K]}],"backdrop-sepia":[{"backdrop-sepia":[``,G,q,K]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,q,K]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[G,`initial`,q,K]}],ease:[{ease:[`linear`,`initial`,_,q,K]}],delay:[{delay:[G,q,K]}],animate:[{animate:[`none`,v,q,K]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,q,K]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:se()}],"rotate-x":[{"rotate-x":se()}],"rotate-y":[{"rotate-y":se()}],"rotate-z":[{"rotate-z":se()}],scale:[{scale:ce()}],"scale-x":[{"scale-x":ce()}],"scale-y":[{"scale-y":ce()}],"scale-z":[{"scale-z":ce()}],"scale-3d":[`scale-3d`],skew:[{skew:le()}],"skew-x":[{"skew-x":le()}],"skew-y":[{"skew-y":le()}],transform:[{transform:[q,K,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:ue()}],"translate-x":[{"translate-x":ue()}],"translate-y":[{"translate-y":ue()}],"translate-z":[{"translate-z":ue()}],"translate-none":[`translate-none`],zoom:[{zoom:[Ul,q,K]}],accent:[{accent:I()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:I()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,q,K]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scrollbar-thumb-color":[{"scrollbar-thumb":I()}],"scrollbar-track-color":[{"scrollbar-track":I()}],"scrollbar-gutter":[{"scrollbar-gutter":[`auto`,`stable`,`both`]}],"scrollbar-w":[{scrollbar:[`auto`,`thin`,`none`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,q,K]}],fill:[{fill:[`none`,...I()]}],"stroke-w":[{stroke:[G,su,eu,tu]}],stroke:[{stroke:[`none`,...I()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{"container-named":[`container-type`],overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},postfixLookupClassGroups:[`container-type`],orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}},Tu=(e,{extend:t={},override:n={}})=>(Du(e.theme,n.theme),Du(e.classGroups,n.classGroups),Du(e.conflictingClassGroups,n.conflictingClassGroups),Du(e.conflictingClassGroupModifiers,n.conflictingClassGroupModifiers),Eu(e,`postfixLookupClassGroups`,n.postfixLookupClassGroups),Eu(e,`orderSensitiveModifiers`,n.orderSensitiveModifiers),Ou(e.theme,t.theme),Ou(e.classGroups,t.classGroups),Ou(e.conflictingClassGroups,t.conflictingClassGroups),Ou(e.conflictingClassGroupModifiers,t.conflictingClassGroupModifiers),ku(e,t,`postfixLookupClassGroups`),ku(e,t,`orderSensitiveModifiers`),e),Eu=(e,t,n)=>{n!==void 0&&(e[t]=n)},Du=(e,t)=>{if(t)for(let n in t)Eu(e,n,t[n])},Ou=(e,t)=>{if(t)for(let n in t)ku(e,t,n)},ku=(e,t,n)=>{let r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},Au=e=>Ol(e?typeof e==`function`?()=>e(wu()):()=>Tu(wu(),e):wu),ju=e=>{if(Zs(e))return;let t=e,n={...t.extend??{}};for(let e of[`theme`,`classGroups`,`conflictingClassGroups`,`conflictingClassGroupModifiers`,`postfixLookupClassGroups`,`orderSensitiveModifiers`,`cacheSize`,`prefix`,`separator`,`experimentalParseClassName`])t[e]!==void 0&&n[e]===void 0&&(n[e]=t[e]);let r={};if(Object.keys(n).length>0&&(r.extend=n),t.override!=null&&!Zs(t.override)&&(r.override=t.override),!(!r.extend&&!r.override))return r},Mu=e=>{let t=Au(ju(e));return e=>t.mergeString(e)},Nu,Pu=()=>(Nu||=Au(),Nu),Fu=()=>((!_c.cachedTwMerge||_c.didTwMergeConfigChange)&&(_c.didTwMergeConfigChange=!1,_c.cachedTwMerge=Mu(_c.cachedTwMergeConfig)),_c.cachedTwMerge),Iu=e=>{let t=e?.twMergeConfig;!t||Zs(t)||Qs(t,_c.cachedTwMergeConfig)||(_c.cachedTwMergeConfig=t,_c.didTwMergeConfigChange=!0)},Lu=e=>Ws(e);(()=>{let e=Error();return!(`line`in e)&&!(`lineNumber`in e)})();var Ru=_c.reset.bind(_c);_c.reset=()=>{Nu=void 0,Ru()};var zu=(e,t)=>{let n=Lu(e);return!n||!(t?.twMerge??!0)?n||void 0:n.indexOf(` `)===-1?n:(Iu(t),(t?.twMergeConfig&&!Zs(t.twMergeConfig)?Fu():Pu().mergeString)(n)||void 0)},Bu=Kc((e,...t)=>zu(t,e)),Vu=Bu.tv;Bu.createTV;var Hu=Ys,Uu=Vu({defaultVariants:{status:`default`},slots:{base:`alert`,content:`alert__content`,description:`alert__description`,indicator:`alert__indicator`,title:`alert__title`},variants:{status:{accent:{base:`alert--accent`},danger:{base:`alert--danger`},default:{base:`alert--default`},success:{base:`alert--success`},warning:{base:`alert--warning`}}}}),Wu=Vu({defaultVariants:{size:`md`,status:`danger`,variant:`opaque`},slots:{backdrop:`alert-dialog__backdrop`,body:`alert-dialog__body`,closeTrigger:`alert-dialog__close-trigger`,container:`alert-dialog__container`,dialog:`alert-dialog__dialog`,footer:`alert-dialog__footer`,header:`alert-dialog__header`,heading:`alert-dialog__heading`,icon:`alert-dialog__icon`,trigger:`alert-dialog__trigger`},variants:{size:{cover:{dialog:`alert-dialog__dialog--cover`},lg:{dialog:`alert-dialog__dialog--lg`},md:{dialog:`alert-dialog__dialog--md`},sm:{dialog:`alert-dialog__dialog--sm`},xs:{dialog:`alert-dialog__dialog--xs`}},status:{accent:{icon:`alert-dialog__icon--accent`},danger:{icon:`alert-dialog__icon--danger`},default:{icon:`alert-dialog__icon--default`},success:{icon:`alert-dialog__icon--success`},warning:{icon:`alert-dialog__icon--warning`}},variant:{blur:{backdrop:`alert-dialog__backdrop--blur`},opaque:{backdrop:`alert-dialog__backdrop--opaque`},transparent:{backdrop:`alert-dialog__backdrop--transparent`}}}}),Gu=Vu({defaultVariants:{fullWidth:!1,variant:`primary`},slots:{base:`autocomplete`,clearButton:`autocomplete__clear-button`,filter:`autocomplete__filter`,indicator:`autocomplete__indicator`,popover:`autocomplete__popover`,trigger:`autocomplete__trigger`,value:`autocomplete__value`},variants:{fullWidth:{false:{},true:{base:`autocomplete--full-width`,trigger:`autocomplete__trigger--full-width`}},variant:{primary:{base:`autocomplete--primary`},secondary:{base:`autocomplete--secondary`}}}}),Ku=Vu({base:`button`,defaultVariants:{fullWidth:!1,isIconOnly:!1,size:`md`,variant:`primary`},variants:{fullWidth:{false:``,true:`button--full-width`},isIconOnly:{true:`button--icon-only`},size:{lg:`button--lg`,md:`button--md`,sm:`button--sm`},variant:{danger:`button--danger`,"danger-soft":`button--danger-soft`,ghost:`button--ghost`,outline:`button--outline`,primary:`button--primary`,secondary:`button--secondary`,tertiary:`button--tertiary`}}}),qu=Vu({slots:{trigger:`calendar-year-picker__trigger`,triggerHeading:`calendar-year-picker__trigger-heading`,triggerIndicator:`calendar-year-picker__trigger-indicator`,yearCell:`calendar-year-picker__year-cell`,yearGrid:`calendar-year-picker__year-grid`}}),Ju=Vu({defaultVariants:{},slots:{base:`range-calendar`,cell:`range-calendar__cell`,cellIndicator:`range-calendar__cell-indicator`,grid:`range-calendar__grid`,gridBody:`range-calendar__grid-body`,gridHeader:`range-calendar__grid-header`,gridRow:`range-calendar__grid-row`,header:`range-calendar__header`,headerCell:`range-calendar__header-cell`,heading:`range-calendar__heading`,navButton:`range-calendar__nav-button`,navButtonIcon:`range-calendar__nav-button-icon`},variants:{}}),Yu=Vu({defaultVariants:{variant:`default`},slots:{base:`card`,content:`card__content`,description:`card__description`,footer:`card__footer`,header:`card__header`,title:`card__title`},variants:{variant:{default:{base:`card--default`},secondary:{base:`card--secondary`},tertiary:{base:`card--tertiary`},transparent:{base:`card--transparent`}}}}),Xu=Vu({defaultVariants:{variant:`primary`},slots:{base:`checkbox`,content:`checkbox__content`,control:`checkbox__control`,indicator:`checkbox__indicator`},variants:{variant:{primary:{base:`checkbox--primary`},secondary:{base:`checkbox--secondary`}}}}),Zu=Vu({defaultVariants:{color:`default`,variant:`secondary`},slots:{base:`chip`,label:`chip__label`},variants:{color:{accent:{base:`chip--accent`},danger:{base:`chip--danger`},default:{base:`chip--default`},success:{base:`chip--success`},warning:{base:`chip--warning`}},size:{lg:{base:`chip--lg`},md:{base:`chip--md`},sm:{base:`chip--sm`}},variant:{primary:{base:`chip--primary`},secondary:{base:`chip--secondary`},soft:{base:`chip--soft`},tertiary:{base:`chip--tertiary`}}}}),Qu=Vu({base:`close-button`,defaultVariants:{variant:`default`},variants:{variant:{default:`close-button--default`}}}),$u=Vu({base:`date-field`,defaultVariants:{fullWidth:!1},variants:{fullWidth:{false:``,true:`date-field--full-width`}}}),ed=Vu({slots:{base:`date-range-picker`,popover:`date-range-picker__popover`,rangeSeparator:`date-range-picker__range-separator`,trigger:`date-range-picker__trigger`,triggerIndicator:`date-range-picker__trigger-indicator`}}),td=Vu({defaultVariants:{fullWidth:!1,variant:`primary`},slots:{base:`date-input-group`,input:`date-input-group__input`,inputContainer:`date-input-group__input-container`,prefix:`date-input-group__prefix`,segment:`date-input-group__segment`,suffix:`date-input-group__suffix`},variants:{fullWidth:{false:{},true:{base:`date-input-group--full-width`}},variant:{primary:{base:`date-input-group--primary`},secondary:{base:`date-input-group--secondary`}}}}),nd=Vu({base:`description`}),rd=Vu({defaultVariants:{placement:`bottom`,variant:`opaque`},slots:{backdrop:`drawer__backdrop`,body:`drawer__body`,closeTrigger:`drawer__close-trigger`,content:`drawer__content`,dialog:`drawer__dialog`,footer:`drawer__footer`,handle:`drawer__handle`,header:`drawer__header`,heading:`drawer__heading`,trigger:`drawer__trigger`},variants:{placement:{bottom:{content:`drawer__content--bottom`,dialog:`drawer__dialog--bottom`},left:{content:`drawer__content--left`,dialog:`drawer__dialog--left`},right:{content:`drawer__content--right`,dialog:`drawer__dialog--right`},top:{content:`drawer__content--top`,dialog:`drawer__dialog--top`}},variant:{blur:{backdrop:`drawer__backdrop--blur`},opaque:{backdrop:`drawer__backdrop--opaque`},transparent:{backdrop:`drawer__backdrop--transparent`}}}}),id=Vu({slots:{menu:`dropdown__menu`,popover:`dropdown__popover`,root:`dropdown`,trigger:`dropdown__trigger`}}),ad=Vu({base:`empty-state`}),od=Vu({base:`input`,defaultVariants:{fullWidth:!1,variant:`primary`},variants:{fullWidth:{false:``,true:`input--full-width`},variant:{primary:`input--primary`,secondary:`input--secondary`}}}),sd=Vu({defaultVariants:{fullWidth:!1,variant:`primary`},slots:{base:`input-group`,input:`input-group__input`,prefix:`input-group__prefix`,suffix:`input-group__suffix`},variants:{fullWidth:{false:{},true:{base:`input-group--full-width`}},variant:{primary:{base:`input-group--primary`},secondary:{base:`input-group--secondary`}}}}),cd=Vu({base:`label`,defaultVariants:{isDisabled:!1,isInvalid:!1,isRequired:!1},variants:{isDisabled:{true:`label--disabled`},isInvalid:{true:`label--invalid`},isRequired:{true:`label--required`}}}),ld=Vu({base:`list-box`,defaultVariants:{variant:`default`},variants:{variant:{danger:`list-box--danger`,default:`list-box--default`}}}),ud=Vu({defaultVariants:{variant:`default`},slots:{indicator:`list-box-item__indicator`,item:`list-box-item`},variants:{variant:{danger:{item:`list-box-item--danger`},default:{item:`list-box-item--default`}}}}),dd=Vu({base:`list-box-section`}),fd=Vu({defaultVariants:{color:`accent`,size:`md`},slots:{base:`meter`,fill:`meter__fill`,output:`meter__output`,track:`meter__track`},variants:{color:{accent:{base:`meter--accent`},danger:{base:`meter--danger`},default:{base:`meter--default`},success:{base:`meter--success`},warning:{base:`meter--warning`}},size:{lg:{base:`meter--lg`},md:{base:`meter--md`},sm:{base:`meter--sm`}}}}),pd=Vu({defaultVariants:{variant:`default`},slots:{indicator:`menu-item__indicator`,item:`menu-item`,submenuIndicator:`menu-item__indicator menu-item__indicator--submenu`},variants:{variant:{danger:{item:`menu-item--danger`},default:{item:`menu-item--default`}}}}),md=Vu({base:`menu-section`}),hd=Vu({defaultVariants:{scroll:`inside`,size:`md`,variant:`opaque`},slots:{backdrop:`modal__backdrop`,body:`modal__body`,closeTrigger:`modal__close-trigger`,container:`modal__container`,dialog:`modal__dialog`,footer:`modal__footer`,header:`modal__header`,heading:`modal__heading`,icon:`modal__icon`,trigger:`modal__trigger`},variants:{scroll:{inside:{body:`modal__body--scroll-inside`,dialog:`modal__dialog--scroll-inside`},outside:{body:`modal__body--scroll-outside`,container:`modal__container--scroll-outside`,dialog:`modal__dialog--scroll-outside`}},size:{cover:{dialog:`modal__dialog--cover`},full:{container:`modal__container--full`,dialog:`modal__dialog--full`},lg:{dialog:`modal__dialog--lg`},md:{dialog:`modal__dialog--md`},sm:{dialog:`modal__dialog--sm`},xs:{dialog:`modal__dialog--xs`}},variant:{blur:{backdrop:`modal__backdrop--blur`},opaque:{backdrop:`modal__backdrop--opaque`},transparent:{backdrop:`modal__backdrop--transparent`}}}}),gd=Vu({defaultVariants:{fullWidth:!1,variant:`primary`},slots:{base:`number-field`,decrementButton:`number-field__decrement-button`,group:`number-field__group`,incrementButton:`number-field__increment-button`,input:`number-field__input`},variants:{fullWidth:{false:{},true:{base:`number-field--full-width`,group:`number-field__group--full-width`}},variant:{primary:{base:`number-field--primary`},secondary:{base:`number-field--secondary`}}}}),_d=Vu({defaultVariants:{size:`md`},slots:{base:`pagination`,content:`pagination__content`,ellipsis:`pagination__ellipsis`,item:`pagination__item`,link:`pagination__link`,summary:`pagination__summary`},variants:{size:{lg:{base:`pagination--lg`},md:{base:`pagination--md`},sm:{base:`pagination--sm`}}}}),vd=Vu({slots:{base:`radio`,content:`radio__content`,control:`radio__control`,indicator:`radio__indicator`}}),yd=Vu({base:`radio-group`,defaultVariants:{variant:`primary`},variants:{variant:{primary:`radio-group--primary`,secondary:`radio-group--secondary`}}}),bd=Vu({defaultVariants:{hideScrollBar:!1,orientation:`vertical`,variant:`fade`},slots:{base:`scroll-shadow`},variants:{hideScrollBar:{false:{},true:{base:`scroll-shadow--hide-scrollbar`}},orientation:{horizontal:{base:`scroll-shadow--horizontal`},vertical:{base:`scroll-shadow--vertical`}},variant:{fade:{base:`scroll-shadow--fade`}}}}),xd=Vu({defaultVariants:{fullWidth:!1,variant:`primary`},slots:{base:`search-field`,clearButton:`search-field__clear-button`,group:`search-field__group`,input:`search-field__input`,searchIcon:`search-field__search-icon`},variants:{fullWidth:{false:{},true:{base:`search-field--full-width`,group:`search-field__group--full-width`}},variant:{primary:{base:`search-field--primary`},secondary:{base:`search-field--secondary`}}}}),Sd=Vu({defaultVariants:{fullWidth:!1,variant:`primary`},slots:{base:`select`,indicator:`select__indicator`,popover:`select__popover`,trigger:`select__trigger`,value:`select__value`},variants:{fullWidth:{false:{},true:{base:`select--full-width`,trigger:`select__trigger--full-width`}},variant:{primary:{base:`select--primary`},secondary:{base:`select--secondary`}}}}),Cd=Vu({base:`separator`,defaultVariants:{orientation:`horizontal`,variant:`default`},variants:{orientation:{horizontal:`separator--horizontal`,vertical:`separator--vertical`},variant:{default:`separator--default`,secondary:`separator--secondary`,tertiary:`separator--tertiary`}}}),wd=Vu({defaultVariants:{animationType:`shimmer`},slots:{base:`skeleton`},variants:{animationType:{none:`skeleton--none`,pulse:`skeleton--pulse`,shimmer:`skeleton--shimmer`}}}),Td=Vu({defaultVariants:{size:`md`},slots:{base:`switch`,content:`switch__content`,control:`switch__control`,icon:`switch__icon`,thumb:`switch__thumb`},variants:{size:{lg:{base:`switch--lg`},md:{base:`switch--md`},sm:{base:`switch--sm`}}}}),Ed=Vu({defaultVariants:{variant:`primary`},slots:{base:`table-root`,body:`table__body`,cell:`table__cell`,column:`table__column`,columnResizer:`table__column-resizer`,content:`table__content`,footer:`table__footer`,header:`table__header`,loadMore:`table__load-more`,loadMoreContent:`table__load-more-content`,resizableContainer:`table__resizable-container`,row:`table__row`,scrollContainer:`table__scroll-container`,sortableColumnHeader:`table__sortable-column-header`,sortableColumnIndicator:`table__sortable-column-indicator`},variants:{variant:{primary:{base:`table-root--primary`},secondary:{base:`table-root--secondary`}}}}),Dd=Vu({defaultVariants:{variant:`primary`},slots:{base:`tabs`,scrollNext:`tabs__list-container__scroll-next`,scrollPrev:`tabs__list-container__scroll-prev`,scroller:`tabs__list-container__scroller`,separator:`tabs__separator`,tab:`tabs__tab`,tabIndicator:`tabs__indicator`,tabList:`tabs__list`,tabListContainer:`tabs__list-container`,tabPanel:`tabs__panel`},variants:{variant:{primary:{},secondary:{base:`tabs--secondary`}}}}),Od=Vu({base:`textfield`,defaultVariants:{fullWidth:!1},variants:{fullWidth:{false:``,true:`textfield--full-width`}}}),kd=Vu({base:`textarea`,defaultVariants:{fullWidth:!1,variant:`primary`},variants:{fullWidth:{false:``,true:`textarea--full-width`},variant:{primary:`textarea--primary`,secondary:`textarea--secondary`}}}),Ad=Vu({base:`time-field`,defaultVariants:{fullWidth:!1},variants:{fullWidth:{false:``,true:`time-field--full-width`}}}),jd=Vu({base:`toggle-button`,defaultVariants:{isIconOnly:!1,size:`md`,variant:`default`},variants:{isIconOnly:{true:`toggle-button--icon-only`},size:{lg:`toggle-button--lg`,md:`toggle-button--md`,sm:`toggle-button--sm`},variant:{default:`toggle-button--default`,ghost:`toggle-button--ghost`}}}),Md=Vu({defaultVariants:{fullWidth:!1,isDetached:!1,orientation:`horizontal`},slots:{base:`toggle-button-group`,separator:`toggle-button-group__separator`},variants:{fullWidth:{false:{},true:{base:`toggle-button-group--full-width`}},isDetached:{false:{},true:{base:`toggle-button-group--detached`}},orientation:{horizontal:{base:`toggle-button-group--horizontal`},vertical:{base:`toggle-button-group--vertical`}}}}),Nd=Vu({base:`toolbar`,defaultVariants:{isAttached:!1,orientation:`horizontal`},variants:{isAttached:{true:`toolbar--attached`},orientation:{horizontal:`toolbar--horizontal`,vertical:`toolbar--vertical`}}}),Pd=Vu({slots:{base:`tooltip`,trigger:`tooltip__trigger`}}),Fd=Symbol(`default`);function Id({values:e,children:t}){for(let[n,r]of e)t=v.createElement(n.Provider,{value:r},t);return t}function Ld(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:s,render:c}=e;return(0,v.useMemo)(()=>{let e,l,u;return e=typeof t==`function`?t({...s,defaultClassName:i}):t,l=typeof n==`function`?n({...s,defaultStyle:o||{}}):n,u=typeof r==`function`?r({...s,defaultChildren:a}):r??a,{className:e??i,style:l||o?{...o,...l}:void 0,children:u??a,"data-rac":``,render:c?e=>c(e,s):void 0}},[t,n,r,i,a,o,s,c])}function Rd(e,t){return n=>t(typeof e==`function`?e(n):e,n)}function zd(e,t){let n=(0,v.useContext)(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||Fd;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function Bd(e,t,n){let{ref:r,...i}=zd(n,e.slot)||{},a=Wo((0,v.useMemo)(()=>Do(t,r),[t,r])),o=V(i,e);return`style`in i&&i.style&&`style`in e&&e.style&&(o.style=typeof i.style==`function`||typeof e.style==`function`?t=>{let n=typeof i.style==`function`?i.style(t):i.style,r={...t.defaultStyle,...n},a=typeof e.style==`function`?e.style({...t,defaultStyle:r}):e.style;return{...r,...a}}:{...i.style,...e.style}),[o,a]}function Vd(e=!0){let[t,n]=(0,v.useState)(e),r=(0,v.useRef)(!1),i=(0,v.useCallback)(e=>{r.current=!0,n(!!e)},[]);return Ua(()=>{r.current||n(!1)},[]),[i,t]}function Hd(e){let t=/^(data-.*)$/,n={};for(let r in e)t.test(r)||(n[r]=e[r]);return n}function Ud(e,t,n){let{render:r,...i}=t,a=(0,v.useRef)(null),o=(0,v.useMemo)(()=>Do(n,a),[n,a]);Ua(()=>{},[e,r]);let s={...i,ref:o};return r?r(s,void 0):v.createElement(e,s)}var Wd={},J=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=Wd[t];return n||(n=(0,v.forwardRef)(Ud.bind(null,t)),Wd[t]=n),n}});typeof HTMLTemplateElement<`u`&&(Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.content.firstChild}}),Object.defineProperty(HTMLTemplateElement.prototype,"appendChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.appendChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"removeChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.removeChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"insertBefore",{configurable:!0,enumerable:!0,value:function(e,t){return this.content.insertBefore(e,t)}}));var Gd=(0,v.createContext)(!1);function Kd(e){if((0,v.useContext)(Gd))return v.createElement(v.Fragment,null,e.children);let t=v.createElement(Gd.Provider,{value:!0},e.children);return v.createElement(`template`,null,t)}function qd(e){let t=(t,n)=>(0,v.useContext)(Gd)?null:e(t,n);return t.displayName=e.displayName||e.name,(0,v.forwardRef)(t)}function Jd(){return(0,v.useContext)(Gd)}var Yd=(0,v.createContext)({}),Xd=qd(function(e,t){[e,t]=Bd(e,t,Yd);let{elementType:n=`label`,...r}=e,i=J[n];return v.createElement(i,{className:`react-aria-Label`,...r,ref:t})});function Zd(e){let{id:t,label:n,"aria-labelledby":r,"aria-label":i,labelElementType:a=`label`}=e;t=so(t);let o=so(),s={};n&&(r=r?`${o} ${r}`:o,s={id:o,htmlFor:a===`label`?t:void 0});let c=Uo({id:t,"aria-label":i,"aria-labelledby":r});return{labelProps:s,fieldProps:c}}var Qd=new Set([`Arab`,`Syrc`,`Samr`,`Mand`,`Thaa`,`Mend`,`Nkoo`,`Adlm`,`Rohg`,`Hebr`]),$d=new Set([`ae`,`ar`,`arc`,`bcc`,`bqi`,`ckb`,`dv`,`fa`,`glk`,`he`,`ku`,`mzn`,`nqo`,`pnb`,`ps`,`sd`,`ug`,`ur`,`yi`]);function ef(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),n=typeof t.getTextInfo==`function`?t.getTextInfo():t.textInfo;if(n)return n.direction===`rtl`;if(t.script)return Qd.has(t.script)}let t=e.split(`-`)[0];return $d.has(t)}var tf=Symbol.for(`react-aria.i18n.locale`);function nf(){let e=typeof window<`u`&&window[tf]||typeof navigator<`u`&&(navigator.language||navigator.userLanguage)||`en-US`;try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e=`en-US`}return{locale:e,direction:ef(e)?`rtl`:`ltr`}}var rf=nf(),af=new Set;function of(){rf=nf();for(let e of af)e(rf)}function sf(){let e=to(),[t,n]=(0,v.useState)(rf);return(0,v.useEffect)(()=>(af.size===0&&window.addEventListener(`languagechange`,of),af.add(n),()=>{af.delete(n),af.size===0&&window.removeEventListener(`languagechange`,of)}),[]),e?{locale:typeof window<`u`&&window[tf]||`en-US`,direction:`ltr`}:t}var cf=v.createContext(null);function lf(){let e=sf();return(0,v.useContext)(cf)||e}var uf=new Map,df=!1;try{df=new Intl.NumberFormat(`de-DE`,{signDisplay:`exceptZero`}).resolvedOptions().signDisplay===`exceptZero`}catch{}var ff=!1;try{ff=new Intl.NumberFormat(`de-DE`,{style:`unit`,unit:`degree`}).resolvedOptions().style===`unit`}catch{}var pf={degree:{narrow:{default:`°`,"ja-JP":` 度`,"zh-TW":`度`,"sl-SI":` °`}}},mf=class{constructor(e,t={}){this.numberFormatter=hf(e,t),this.options=t}format(e){let t=``;if(t=!df&&this.options.signDisplay!=null?gf(this.numberFormatter,this.options.signDisplay,e):this.numberFormatter.format(e),this.options.style===`unit`&&!ff){let{unit:e,unitDisplay:n=`short`,locale:r}=this.resolvedOptions();if(!e)return t;let i=pf[e]?.[n];t+=i[r]||i.default}return t}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,t){if(typeof this.numberFormatter.formatRange==`function`)return this.numberFormatter.formatRange(e,t);if(t= start date`);return`${this.format(e)} \u{2013} ${this.format(t)}`}formatRangeToParts(e,t){if(typeof this.numberFormatter.formatRangeToParts==`function`)return this.numberFormatter.formatRangeToParts(e,t);if(t= start date`);let n=this.numberFormatter.formatToParts(e),r=this.numberFormatter.formatToParts(t);return[...n.map(e=>({...e,source:`startRange`})),{type:`literal`,value:` – `,source:`shared`},...r.map(e=>({...e,source:`endRange`}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return!df&&this.options.signDisplay!=null&&(e={...e,signDisplay:this.options.signDisplay}),!ff&&this.options.style===`unit`&&(e={...e,style:`unit`,unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}};function hf(e,t={}){let{numberingSystem:n}=t;if(n&&e.includes(`-nu-`)&&(e.includes(`-u-`)||(e+=`-u-`),e+=`-nu-${n}`),t.style===`unit`&&!ff){let{unit:e,unitDisplay:n=`short`}=t;if(!e)throw Error(`unit option must be provided with style: "unit"`);if(!pf[e]?.[n])throw Error(`Unsupported unit ${e} with unitDisplay = ${n}`);t={...t,style:`decimal`}}let r=e+(t?Object.entries(t).sort((e,t)=>e[0]0||Object.is(n,0):t===`exceptZero`&&(Object.is(n,-0)||Object.is(n,0)?n=Math.abs(n):r=n>0),r){let t=e.format(-n),r=e.format(n),i=t.replace(r,``).replace(/\u200e|\u061C/,``);return[...i].length!==1&&console.warn(`@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case`),t.replace(r,`!!!`).replace(i,`+`).replace(`!!!`,r)}return e.format(n)}}var _f=RegExp(`^.*\\(.*\\).*$`),vf=[`latn`,`arab`,`hanidec`,`deva`,`beng`,`fullwide`],yf=class{constructor(e,t={}){this.locale=e,this.options=t}parse(e){return xf(this.locale,this.options,e).parse(e)}isValidPartialNumber(e,t,n){return xf(this.locale,this.options,e).isValidPartialNumber(e,t,n)}getNumberingSystem(e){return xf(this.locale,this.options,e).options.numberingSystem}},bf=new Map;function xf(e,t,n){let r=Sf(e,t);if(!e.includes(`-nu-`)&&!r.isValidPartialNumber(n)){for(let i of vf)if(i!==r.options.numberingSystem){let r=Sf(e+(e.includes(`-u-`)?`-nu-`:`-u-nu-`)+i,t);if(r.isValidPartialNumber(n))return r}}return r}function Sf(e,t){let n=e+(t?Object.entries(t).sort((e,t)=>e[0]18||(this.options.maximumFractionDigits??0)>18)&&console.warn(`NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.`)}parse(e){let t=this.formatter.resolvedOptions().useGrouping,n=this.sanitize(e);if(!t&&this.symbols.group&&n.includes(this.symbols.group))return NaN;if(this.symbols.group&&(n=n.replaceAll(this.symbols.group,``)),this.symbols.decimal&&(n=n.replace(this.symbols.decimal,`.`)),this.symbols.minusSign&&(n=n.replace(this.symbols.minusSign,`-`)),n=n.replace(this.symbols.numeral,this.symbols.index),this.options.style===`percent`){let e=n.indexOf(`-`);n=n.replace(`-`,``),n=n.replace(`+`,``);let t=n.indexOf(`.`);t===-1&&(t=n.length),n=n.replace(`.`,``),n=t-2==0?`0.${n}`:t-2==-1?`0.0${n}`:t-2==-2?`0.00`:`${n.slice(0,t-2)}.${n.slice(t-2)}`,e>-1&&(n=`-${n}`)}let r=n?+n:NaN;if(isNaN(r))return NaN;if(this.options.style===`percent`){let e={...this.options,style:`decimal`,minimumFractionDigits:Math.min((this.options.minimumFractionDigits??0)+2,20),maximumFractionDigits:Math.min((this.options.maximumFractionDigits??0)+2,20)};return new yf(this.locale,e).parse(new mf(this.locale,e).format(r))}return this.options.currencySign===`accounting`&&_f.test(e)&&(r=-1*r),r}sanitize(e){let t=this.formatter.resolvedOptions().useGrouping;return this.symbols.noNumeralUnits.length>0&&this.symbols.noNumeralUnits.find(t=>t.unit===e)?this.symbols.noNumeralUnits.find(t=>t.unit===e).value.toString():(e=e.replace(this.symbols.literals,``),this.symbols.minusSign&&(e=e.replace(`-`,this.symbols.minusSign)),this.options.numberingSystem===`arab`&&(this.symbols.decimal&&(e=Df(e,`,`,this.symbols.decimal),e=Df(e,`،`,this.symbols.decimal)),this.symbols.group&&t&&(e=Df(e,`.`,this.symbols.group))),this.symbols.group===`’`&&e.includes(`'`)&&t&&(e=Df(e,`'`,this.symbols.group)),this.symbols.group===`'`&&e.includes(`’`)&&t&&(e=Df(e,`’`,this.symbols.group)),this.options.locale===`fr-FR`&&this.symbols.group&&t&&(e=Df(e,` `,this.symbols.group),e=Df(e,/\u00A0/g,this.symbols.group)),e)}isValidPartialNumber(e,t=-1/0,n=1/0){let r=this.formatter.resolvedOptions().useGrouping;return e=this.sanitize(e),this.symbols.minusSign&&e.startsWith(this.symbols.minusSign)&&t<0?e=e.slice(this.symbols.minusSign.length):this.symbols.plusSign&&e.startsWith(this.symbols.plusSign)&&n>0&&(e=e.slice(this.symbols.plusSign.length)),this.symbols.decimal&&e.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&r&&(e=Df(e,this.symbols.group,``)),e=e.replace(this.symbols.numeral,``),this.symbols.decimal&&(e=e.replace(this.symbols.decimal,``)),e.length===0)}},wf=new Set([`decimal`,`fraction`,`integer`,`minusSign`,`plusSign`,`group`]),Tf=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function Ef(e,t,n,r){let i=new Intl.NumberFormat(e,{...n,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:`auto`,roundingMode:`halfExpand`,useGrouping:!0}),a=i.formatToParts(-10000.111),o=i.formatToParts(10000.111),s=Tf.map(e=>i.formatToParts(e)),c=s.map((e,t)=>{let n=e.find(e=>e.type===`unit`);return n&&!e.some(e=>e.type===`integer`||e.type===`fraction`)?{unit:n.value,value:Tf[t]}:null}).filter(e=>!!e),l=a.find(e=>e.type===`minusSign`)?.value??`-`,u=o.find(e=>e.type===`plusSign`)?.value;!u&&(r?.signDisplay===`exceptZero`||r?.signDisplay===`always`)&&(u=`+`);let d=new Intl.NumberFormat(e,{...n,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(e=>e.type===`decimal`)?.value,f=a.find(e=>e.type===`group`)?.value,p=a.filter(e=>!wf.has(e.type)).map(e=>Of(e.value)),m=s.flatMap(e=>e.filter(e=>!wf.has(e.type)).map(e=>Of(e.value))),h=[...new Set([...p,...m])].sort((e,t)=>t.length-e.length),g=h.length===0?RegExp(`\\p{White_Space}|\\p{Cf}`,`gu`):RegExp(`${h.join(`|`)}|\\p{White_Space}|\\p{Cf}`,`gu`),_=[...new Intl.NumberFormat(n.locale,{useGrouping:!1}).format(9876543210)].reverse(),v=new Map(_.map((e,t)=>[e,t])),y=RegExp(`[${_.join(``)}]`,`g`);return{minusSign:l,plusSign:u,decimal:d,group:f,literals:g,numeral:y,numerals:_,index:e=>String(v.get(e)),noNumeralUnits:c}}function Df(e,t,n){return e.replaceAll?e.replaceAll(t,n):e.split(t).join(n)}function Of(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function kf(e={}){let{locale:t}=lf();return(0,v.useMemo)(()=>new mf(t,e),[t,e])}function Af(e){let{value:t=0,minValue:n=0,maxValue:r=100,valueLabel:i,isIndeterminate:a,formatOptions:o={style:`percent`}}=e,s=H(e,{labelable:!0}),{labelProps:c,fieldProps:l}=Zd({...e,labelElementType:`span`});t=Is(t,n,r);let u=r-n,d=u===0?0:(t-n)/u,f=kf(o);if(!a&&!i){let e=o.style===`percent`?d:t;i=f.format(e)}return{progressBarProps:V(s,{...l,"aria-valuenow":a?void 0:t,"aria-valuemin":n,"aria-valuemax":r,"aria-valuetext":a?void 0:i,role:`progressbar`}),labelProps:c}}var jf=(0,v.createContext)(null),Mf=7e3,Nf=null;function Pf(e,t=`assertive`,n=Mf){Nf?Nf.announce(e,t,n):(Nf=new If,(typeof IS_REACT_ACT_ENVIRONMENT==`boolean`?IS_REACT_ACT_ENVIRONMENT:typeof jest<`u`)?Nf.announce(e,t,n):setTimeout(()=>{Nf?.isAttached()&&Nf?.announce(e,t,n)},100))}function Ff(e){Nf&&Nf.clear(e)}var If=class{constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<`u`&&(this.node=document.createElement(`div`),this.node.dataset.liveAnnouncer=`true`,Object.assign(this.node.style,{border:0,clip:`rect(0 0 0 0)`,clipPath:`inset(50%)`,height:`1px`,margin:`-1px`,overflow:`hidden`,padding:0,position:`absolute`,width:`1px`,whiteSpace:`nowrap`}),this.assertiveLog=this.createLog(`assertive`),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog(`polite`),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}isAttached(){return this.node?.isConnected}createLog(e){let t=document.createElement(`div`);return t.setAttribute(`role`,`log`),t.setAttribute(`aria-live`,e),t.setAttribute(`aria-relevant`,`additions`),t}destroy(){this.node&&=(document.body.removeChild(this.node),null)}announce(e,t=`assertive`,n=Mf){if(!this.node)return;let r=document.createElement(`div`);typeof e==`object`?(r.setAttribute(`role`,`img`),r.setAttribute(`aria-labelledby`,e[`aria-labelledby`])):r.textContent=e,t===`assertive`?this.assertiveLog?.appendChild(r):this.politeLog?.appendChild(r),e!==``&&setTimeout(()=>{r.remove()},n)}clear(e){this.node&&((!e||e===`assertive`)&&this.assertiveLog&&(this.assertiveLog.innerHTML=``),(!e||e===`polite`)&&this.politeLog&&(this.politeLog.innerHTML=``))}};function Lf(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function Rf(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function zf(e){let t=(0,v.useRef)({isFocused:!1,observer:null});return Ua(()=>{let e=t.current;return()=>{e.observer&&=(e.observer.disconnect(),null)}},[]),(0,v.useCallback)(n=>{let r=B(n);if(r instanceof HTMLButtonElement||r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement||r instanceof HTMLSelectElement){t.current.isFocused=!0;let n=r;n.addEventListener(`focusout`,r=>{if(t.current.isFocused=!1,n.disabled){let t=Lf(r);e?.(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&n.disabled){t.current.observer?.disconnect();let e=n===So()?null:So();n.dispatchEvent(new FocusEvent(`blur`,{relatedTarget:e})),n.dispatchEvent(new FocusEvent(`focusout`,{bubbles:!0,relatedTarget:e}))}}),t.current.observer.observe(n,{attributes:!0,attributeFilter:[`disabled`]})}},[e])}var Bf=!1;function Vf(e){for(;e&&!As(e,{skipVisibilityCheck:!0});)e=e.parentElement;let t=po(e),n=t.document.activeElement;if(!n||n===e)return;Bf=!0;let r=!1,i=e=>{(B(e)===n||r)&&e.stopImmediatePropagation()},a=t=>{(B(t)===n||r)&&(t.stopImmediatePropagation(),!e&&!r&&(r=!0,ka(n),c()))},o=t=>{(B(t)===e||r)&&t.stopImmediatePropagation()},s=t=>{(B(t)===e||r)&&(t.stopImmediatePropagation(),r||(r=!0,ka(n),c()))};t.addEventListener(`blur`,i,!0),t.addEventListener(`focusout`,a,!0),t.addEventListener(`focusin`,s,!0),t.addEventListener(`focus`,o,!0);let c=()=>{cancelAnimationFrame(l),t.removeEventListener(`blur`,i,!0),t.removeEventListener(`focusout`,a,!0),t.removeEventListener(`focusin`,s,!0),t.removeEventListener(`focus`,o,!0),Bf=!1,r=!1},l=requestAnimationFrame(c);return c}var Hf=null,Uf=`keyboard`,Wf=new Set,Gf=new Map,Kf=!1,qf=!1,Jf={Tab:!0,Escape:!0};function Yf(e,t){for(let n of Wf)n(e,t)}function Xf(e){return!(e.metaKey||!ba()&&e.altKey||e.ctrlKey||e.key===`Control`||e.key===`Shift`||e.key===`Meta`)}function Zf(e){Kf=!0,!La.isOpening&&Xf(e)&&(Hf=`keyboard`,Uf=`keyboard`,Yf(`keyboard`,e))}function Qf(e){Hf=`pointer`,Uf=`pointerType`in e?e.pointerType:`mouse`,(e.type===`mousedown`||e.type===`pointerdown`)&&(Kf=!0,Yf(`pointer`,e))}function $f(e){!La.isOpening&&ps(e)&&(Kf=!0,Hf=`virtual`,Uf=`virtual`)}function ep(e){let t=po(B(e)),n=fo(B(e));B(e)===t||B(e)===n||Bf||!e.isTrusted||(!Kf&&!qf&&(Hf=`virtual`,Uf=`virtual`,Yf(`virtual`,e)),Kf=!1,qf=!1)}function tp(){Bf||(Kf=!1,qf=!0)}function np(e){if(typeof window>`u`||typeof document>`u`)return;let t=po(e),n=fo(e);if(Gf.get(t))return;let r=t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(){Kf=!0,r.apply(this,arguments)}}),n.addEventListener(`keydown`,Zf,!0),n.addEventListener(`keyup`,Zf,!0),n.addEventListener(`click`,$f,!0),t.addEventListener(`focus`,ep,!0),t.addEventListener(`blur`,tp,!1),typeof PointerEvent<`u`&&(n.addEventListener(`pointerdown`,Qf,!0),n.addEventListener(`pointermove`,Qf,!0),n.addEventListener(`pointerup`,Qf,!0)),t.addEventListener(`beforeunload`,()=>{rp(e)},{once:!0}),Gf.set(t,{focus:r})}var rp=(e,t)=>{let n=po(e),r=fo(e);t&&r.removeEventListener(`DOMContentLoaded`,t),Gf.has(n)&&(Reflect.defineProperty(n.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:Gf.get(n).focus}),r.removeEventListener(`keydown`,Zf,!0),r.removeEventListener(`keyup`,Zf,!0),r.removeEventListener(`click`,$f,!0),n.removeEventListener(`focus`,ep,!0),n.removeEventListener(`blur`,tp,!1),typeof PointerEvent<`u`&&(r.removeEventListener(`pointerdown`,Qf,!0),r.removeEventListener(`pointermove`,Qf,!0),r.removeEventListener(`pointerup`,Qf,!0)),Gf.delete(n))};function ip(e){let t=fo(e),n;return t.readyState===`loading`?(n=()=>{np(e)},t.addEventListener(`DOMContentLoaded`,n)):np(e),()=>rp(e,n)}typeof document<`u`&&ip();function ap(){return Hf!==`pointer`}function op(){return Hf}function sp(e){Hf=e,Uf=e===`pointer`?`mouse`:e,Yf(e,null)}function cp(){return Uf}function lp(){np();let[e,t]=(0,v.useState)(Hf);return(0,v.useEffect)(()=>{let e=()=>{t(Hf)};return Wf.add(e),()=>{Wf.delete(e)}},[]),to()?null:e}var up=new Set([`checkbox`,`radio`,`range`,`color`,`file`,`image`,`button`,`submit`,`reset`]);function dp(e,t,n){let r=n?B(n):void 0,i=fo(r),a=po(r),o=a===void 0?HTMLInputElement:a.HTMLInputElement,s=a===void 0?HTMLTextAreaElement:a.HTMLTextAreaElement,c=a===void 0?HTMLElement:a.HTMLElement,l=a===void 0?KeyboardEvent:a.KeyboardEvent,u=So(i);return e=e||u instanceof o&&!up.has(u.type)||u instanceof s||u instanceof c&&u.isContentEditable,!(e&&t===`keyboard`&&n instanceof l&&!Jf[n.key])}function fp(e,t,n){np(),(0,v.useEffect)(()=>{if(n?.enabled===!1)return;let t=(t,r)=>{dp(!!n?.isTextInput,t,r)&&e(ap())};return Wf.add(t),()=>{Wf.delete(t)}},t)}function pp(e){if(!e.isConnected)return;let t=fo(e);if(op()===`virtual`){let n=So(t);Vo(()=>{let r=So(t);(r===n||r===t.body)&&e.isConnected&&ka(e)})}else ka(e)}function mp(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:i}=e,a=(0,v.useCallback)(e=>{if(B(e)===e.currentTarget)return r&&r(e),i&&i(!1),!0},[r,i]),o=zf(a),s=(0,v.useCallback)(e=>{let t=B(e),r=fo(t),a=r?So(r):So();t===e.currentTarget&&t===a&&(n&&n(e),i&&i(!0),o(e))},[i,n,o]);return{focusProps:{onFocus:!t&&(n||i||r)?s:void 0,onBlur:!t&&(r||i)?a:void 0}}}function hp(e){if(e)return t=>{let n=!0;e({...t,preventDefault(){t.preventDefault()},isDefaultPrevented(){return t.isDefaultPrevented()},stopPropagation(){n=!0},continuePropagation(){n=!1,typeof t.continuePropagation==`function`&&t.continuePropagation()},isPropagationStopped(){return n}}),n&&!(typeof t.isPropagationStopped==`function`&&t.isPropagationStopped())&&t.stopPropagation()}}var gp=new Set([`shift`,`alt`,`control`,`meta`,`mod`]),_p=[`Alt`,`Control`,`Meta`,`Shift`];function vp(e){let t=new Set;return e.alt&&t.add(`Alt`),e.shift&&t.add(`Shift`),e.ctrl&&t.add(`Control`),e.meta&&t.add(`Meta`),e.mod&&t.add(ba()?`Meta`:`Control`),t}function yp(e){let t=new Set;return e.altKey&&t.add(`Alt`),e.ctrlKey&&t.add(`Control`),e.metaKey&&t.add(`Meta`),e.shiftKey&&t.add(`Shift`),t}function bp(e){return _p.filter(t=>e.has(t))}function xp(e){let t=e.split(`+`).reduce((e,t)=>{let n=t.toLowerCase();return gp.has(n)?n===`shift`?e.shift=!0:n===`alt`?e.alt=!0:n===`control`?e.ctrl=!0:n===`meta`?e.meta=!0:n===`mod`&&(e.mod=!0):e.key=t,e},{shift:!1,alt:!1,ctrl:!1,meta:!1,mod:!1,key:``});if(t.key===``)throw Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);return t}function Sp(e){return e.toLowerCase()}var Cp={space:` `,esc:`escape`,del:`delete`,ins:`insert`,left:`arrowleft`,right:`arrowright`,up:`arrowup`,down:`arrowdown`,pageup:`pageup`,pagedown:`pagedown`};function wp(e){let t=Sp(e);return Cp[t]??t}function Tp(e){let t=bp(vp(e)),n=wp(e.key);return t.length>0?`${t.join(`+`)}+${n}`:n}function Ep(e){let t=bp(yp(e)),n=Sp(e.key);return(t.length>0?`${t.join(`+`)}+`:``)+n}function Dp(e){let t=new Map;for(let[n,r]of Object.entries(e)){let e=xp(n);t.set(Tp(e),r)}return e=>{let n=Ep(e),r=t.get(n),i=r?.(e);i===void 0&&r!==void 0?i={shouldContinuePropagation:!1,shouldPreventDefault:!0}:typeof i==`boolean`&&(i={shouldContinuePropagation:!i,shouldPreventDefault:i}),i?.shouldPreventDefault&&e.preventDefault(),(!r||i?.shouldContinuePropagation)&&e.continuePropagation()}}function Op(e){let{shortcuts:t,allowRepeats:n=!1,allowComposing:r=!1}=e,i,a;if(t){let o=Dp(t),s=hp(e=>{if(!xo(e.currentTarget,B(e))){e.continuePropagation();return}if(e.nativeEvent?.repeat&&!n||e.nativeEvent?.isComposing&&!r){e.continuePropagation();return}o(e)}),c=hp(e=>{if(!xo(e.currentTarget,B(e))){e.continuePropagation();return}if(e.nativeEvent?.repeat&&!n||e.nativeEvent?.isComposing&&!r){e.continuePropagation();return}e.continuePropagation()});i=e.onKeyDown?uo(e.onKeyDown,s):s,a=e.onKeyUp?uo(e.onKeyUp,c):c}else i=hp(e.onKeyDown),a=hp(e.onKeyUp);return{keyboardProps:e.isDisabled?{}:{onKeyDown:i,onKeyUp:a}}}var kp=v.createContext(null);function Ap(e){let t=(0,v.useContext)(kp)||{};Zo(t,e);let{ref:n,...r}=t;return r}var jp=v.forwardRef(function(e,t){let{children:n,...r}=e,i=Wo(t),a={...r,ref:i};return v.createElement(kp.Provider,{value:a},n)});function Mp(e,t){let{focusProps:n}=mp(e),{keyboardProps:r}=Op(e),i=V(n,r),a=Ap(t),o=e.isDisabled?{}:a,s=(0,v.useRef)(e.autoFocus);(0,v.useEffect)(()=>{s.current&&t.current&&pp(t.current),s.current=!1},[t]);let c=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(c=void 0),{focusableProps:V({...i,tabIndex:c},o)}}var Np=`default`,Pp=``,Fp=new WeakMap;function Ip(e){if(Ca()&&Ta()){if(Np==="default"){let t=fo(e);Pp=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect=`none`}Np=`disabled`}else if(e instanceof HTMLElement||e instanceof SVGElement){let t=`userSelect`in e.style?`userSelect`:`webkitUserSelect`;Fp.set(e,e.style[t]),e.style[t]=`none`}}function Lp(e){if(Ca()&&Ta()){if(Np!==`disabled`)return;Np=`restoring`,setTimeout(()=>{Vo(()=>{if(Np===`restoring`){let t=fo(e);t.documentElement.style.webkitUserSelect===`none`&&(t.documentElement.style.webkitUserSelect=Pp||``),Pp=``,Np=`default`}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Fp.has(e)){let t=Fp.get(e),n=`userSelect`in e.style?`userSelect`:`webkitUserSelect`;e.style[n]===`none`&&(e.style[n]=t),e.getAttribute(`style`)===``&&e.removeAttribute(`style`),Fp.delete(e)}}var Rp=v.createContext({register:()=>{}});Rp.displayName=`PressResponderContext`;function zp(e){let t=(0,v.useContext)(Rp);if(t){let{register:n,ref:r,...i}=t;e=V(i,e),n()}return Zo(t,e.ref),e}var Bp=class{#e;constructor(e,t,n,r){this.#e=!0;let i=(r?.target??n.currentTarget)?.getBoundingClientRect(),a,o=0,s,c=null;n.clientX!=null&&n.clientY!=null&&(s=n.clientX,c=n.clientY),i&&(s!=null&&c!=null?(a=s-i.left,o=c-i.top):(a=i.width/2,o=i.height/2)),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=a,this.y=o,this.key=n.key}continuePropagation(){this.#e=!1}get shouldStopPropagation(){return this.#e}},Vp=Symbol(`linkClicked`),Hp=`react-aria-pressable-style`,Up=`data-react-aria-pressable`;function Wp(e){let{onPress:t,onPressChange:n,onPressStart:r,onPressEnd:i,onPressUp:a,onClick:o,isDisabled:s,isPressed:c,preventFocusOnPress:l,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:d,ref:f,...p}=zp(e),[m,h]=(0,v.useState)(!1),g=(0,v.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:_,removeAllGlobalListeners:y}=Ho(),b=(0,v.useCallback)((e,t)=>{let i=g.current;if(s||i.didFirePressStart)return!1;let a=!0;if(i.isTriggeringEvent=!0,r){let n=new Bp(`pressstart`,t,e);r(n),a=n.shouldStopPropagation}return n&&n(!0),i.isTriggeringEvent=!1,i.didFirePressStart=!0,h(!0),a},[s,r,n]),x=(0,v.useCallback)((e,r,a=!0)=>{let o=g.current;if(!o.didFirePressStart)return!1;o.didFirePressStart=!1,o.isTriggeringEvent=!0;let c=!0;if(i){let t=new Bp(`pressend`,r,e);i(t),c=t.shouldStopPropagation}if(n&&n(!1),h(!1),t&&a&&!s){let n=new Bp(`press`,r,e);t(n),c&&=n.shouldStopPropagation}return o.isTriggeringEvent=!1,c},[s,i,n,t]),S=Ko(x),C=Ko((0,v.useCallback)((e,t)=>{let n=g.current;if(s)return!1;if(a){n.isTriggeringEvent=!0;let r=new Bp(`pressup`,t,e);return a(r),n.isTriggeringEvent=!1,r.shouldStopPropagation}return!0},[s,a])),w=(0,v.useCallback)(e=>{let t=g.current;if(t.isPressed&&t.target){t.didFirePressStart&&t.pointerType!=null&&x(qp(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,y(),d||Lp(t.target);for(let e of t.disposables)e();t.disposables=[]}},[d,y,x]),T=Ko(w);(0,v.useEffect)(()=>{s&&g.current.isPressed&&T({currentTarget:g.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[s]);let E=(0,v.useCallback)(e=>{u&&w(e)},[u,w]),D=(0,v.useCallback)(e=>{s||o?.(e)},[s,o]),O=(0,v.useCallback)((e,t)=>{if(!s&&o){let n=new MouseEvent(`click`,e);Rf(n,t),o(Lf(n))}},[s,o]),k=(0,v.useMemo)(()=>{let e=g.current,t={onKeyDown(t){if(Kp(t.nativeEvent,t.currentTarget)&&xo(t.currentTarget,B(t))){Yp(B(t),t.key)&&t.preventDefault();let r=!0;!e.isPressed&&!t.repeat&&(e.target=t.currentTarget,e.isPressed=!0,e.pointerType=`keyboard`,r=b(t,`keyboard`));let i=t.currentTarget;_(fo(t.currentTarget),`keyup`,uo(t=>{Kp(t,i)&&!t.repeat&&xo(i,B(t))&&e.target&&C(qp(e.target,t),`keyboard`)},n),!0),r&&t.stopPropagation(),t.metaKey&&ba()&&e.metaKeyEvents?.set(t.key,t.nativeEvent)}else t.key===`Meta`&&(e.metaKeyEvents=new Map)},onClick(t){if(!(t&&!xo(t.currentTarget,B(t)))&&t&&t.button===0&&!e.isTriggeringEvent&&!La.isOpening){let n=!0;if(s&&t.preventDefault(),!e.ignoreEmulatedMouseEvents&&!e.isPressed&&(e.pointerType===`virtual`||ps(t.nativeEvent))){let e=b(t,`virtual`),r=C(t,`virtual`),i=S(t,`virtual`);D(t),n=e&&r&&i}else if(e.isPressed&&e.pointerType!==`keyboard`){let r=e.pointerType||t.nativeEvent.pointerType||`virtual`,i=C(qp(t.currentTarget,t),r),a=S(qp(t.currentTarget,t),r,!0);n=i&&a,e.isOverTarget=!1,D(t),T(t)}e.ignoreEmulatedMouseEvents=!1,n&&t.stopPropagation()}}},n=t=>{if(e.isPressed&&e.target&&Kp(t,e.target)){Yp(B(t),t.key)&&t.preventDefault();let n=B(t),r=xo(e.target,n);S(qp(e.target,t),`keyboard`,r),r&&O(t,e.target),y(),t.key!==`Enter`&&Gp(e.target)&&xo(e.target,n)&&!t[Vp]&&(t[Vp]=!0,La(e.target,t,!1)),e.isPressed=!1,e.metaKeyEvents?.delete(t.key)}else if(t.key===`Meta`&&e.metaKeyEvents?.size){let t=e.metaKeyEvents;e.metaKeyEvents=void 0;for(let n of t.values())e.target?.dispatchEvent(new KeyboardEvent(`keyup`,n))}};if(typeof PointerEvent<`u`){t.onPointerDown=t=>{if(t.button!==0||!xo(t.currentTarget,B(t)))return;if(ms(t.nativeEvent)){e.pointerType=`virtual`;return}e.pointerType=t.pointerType;let i=!0;if(!e.isPressed){e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,d||Ip(e.target),i=b(t,e.pointerType);let a=B(t);`releasePointerCapture`in a&&(`hasPointerCapture`in a?a.hasPointerCapture(t.pointerId)&&a.releasePointerCapture(t.pointerId):a.releasePointerCapture(t.pointerId)),_(fo(t.currentTarget),`pointerup`,n,!1),_(fo(t.currentTarget),`pointercancel`,r,!1)}i&&t.stopPropagation()},t.onMouseDown=t=>{if(xo(t.currentTarget,B(t))&&t.button===0){if(l){let n=Vf(t.target);n&&e.disposables.push(n)}t.stopPropagation()}},t.onPointerUp=t=>{!xo(t.currentTarget,B(t))||e.pointerType===`virtual`||t.button===0&&!e.isPressed&&C(t,e.pointerType||t.pointerType)},t.onPointerEnter=t=>{t.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!0,b(qp(e.target,t),e.pointerType))},t.onPointerLeave=t=>{t.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!1,S(qp(e.target,t),e.pointerType,!1),E(t))};let n=t=>{if(t.pointerId===e.activePointerId&&e.isPressed&&t.button===0&&e.target){if(xo(e.target,B(t))&&e.pointerType!=null){let n=!1,r=setTimeout(()=>{e.isPressed&&e.target instanceof HTMLElement&&(n?T(t):(ka(e.target),e.target.click()))},80);_(t.currentTarget,`click`,()=>n=!0,!0),e.disposables.push(()=>clearTimeout(r))}else T(t);e.isOverTarget=!1}},r=e=>{T(e)};t.onDragStart=e=>{xo(e.currentTarget,B(e))&&T(e)}}return t},[_,s,l,y,d,E,b,D,O]);return(0,v.useEffect)(()=>{if(!f)return;let e=fo(f.current);if(!e||!e.head||e.getElementById(Hp))return;let t=e.createElement(`style`);t.id=Hp;let n=Fs(e);n&&(t.nonce=n),t.textContent=` -@layer { - [${Up}] { - touch-action: pan-x pan-y pinch-zoom; - } -} - `.trim(),e.head.prepend(t)},[f]),(0,v.useEffect)(()=>{let e=g.current;return()=>{d||Lp(e.target??void 0);for(let t of e.disposables)t();e.disposables=[]}},[d]),{isPressed:c||m,pressProps:V(p,k,{[Up]:!0})}}function Gp(e){return e.tagName===`A`&&e.hasAttribute(`href`)}function Kp(e,t){let{key:n,code:r}=e,i=t,a=i.getAttribute(`role`);return(n===`Enter`||n===` `||n===`Spacebar`||r===`Space`)&&!(i instanceof po(i).HTMLInputElement&&!Zp(i,n)||i instanceof po(i).HTMLTextAreaElement||i.isContentEditable)&&!((a===`link`||!a&&Gp(i))&&n!==`Enter`)}function qp(e,t){let n=t.clientX,r=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r,key:t.key}}function Jp(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!==`submit`&&e.type!==`reset`:!Gp(e)}function Yp(e,t){return ba()&&t===`Enter`?!1:e instanceof HTMLInputElement?t===`Enter`&&(e.type===`checkbox`||e.type===`radio`)?!1:!Zp(e,t):Jp(e)}var Xp=new Set([`checkbox`,`radio`,`range`,`color`,`file`,`image`,`button`,`submit`,`reset`]);function Zp(e,t){return e.type===`checkbox`||e.type===`radio`?t===` `:Xp.has(e.type)}function Qp(e,t){let{elementType:n=`button`,isDisabled:r,onPress:i,onPressStart:a,onPressEnd:o,onPressUp:s,onPressChange:c,preventFocusOnPress:l,allowFocusWhenDisabled:u,onClick:d,href:f,target:p,rel:m,type:h=`button`}=e,g;g=n===`button`?{type:h,disabled:r,form:e.form,formAction:e.formAction,formEncType:e.formEncType,formMethod:e.formMethod,formNoValidate:e.formNoValidate,formTarget:e.formTarget,name:e.name,value:e.value}:{role:`button`,href:n===`a`&&!r?f:void 0,target:n===`a`?p:void 0,type:n===`input`?h:void 0,disabled:n===`input`?r:void 0,"aria-disabled":!r||n===`input`?void 0:r,rel:n===`a`?m:void 0};let{pressProps:_,isPressed:v}=Wp({onPressStart:a,onPressEnd:o,onPressChange:c,onPress:i,onPressUp:s,onClick:d,isDisabled:r,preventFocusOnPress:l,ref:t}),{focusableProps:y}=Mp(e,t);u&&(y.tabIndex=r?-1:y.tabIndex);let b=V(y,_,H(e,{labelable:!0}));return{isPressed:v,buttonProps:V(g,b,{"aria-haspopup":e[`aria-haspopup`],"aria-expanded":e[`aria-expanded`],"aria-controls":e[`aria-controls`],"aria-pressed":e[`aria-pressed`],"aria-current":e[`aria-current`],"aria-disabled":e[`aria-disabled`]})}}function $p(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:i}=e,a=(0,v.useRef)({isFocusWithin:!1}),{addGlobalListener:o,removeAllGlobalListeners:s}=Ho(),c=(0,v.useCallback)(e=>{xo(e.currentTarget,B(e))&&a.current.isFocusWithin&&!xo(e.currentTarget,e.relatedTarget)&&(a.current.isFocusWithin=!1,s(),n&&n(e),i&&i(!1))},[n,i,a,s]),l=zf(c),u=(0,v.useCallback)(e=>{if(!xo(e.currentTarget,B(e)))return;let t=B(e),n=fo(t),s=So(n);if(!a.current.isFocusWithin&&s===t){r&&r(e),i&&i(!0),a.current.isFocusWithin=!0,l(e);let t=e.currentTarget;o(n,`focus`,e=>{let r=B(e);if(a.current.isFocusWithin&&!xo(t,r)){let e=new n.defaultView.FocusEvent(`blur`,{relatedTarget:r});Rf(e,t);let i=Lf(e);c(i)}},{capture:!0})}},[r,i,l,o,c]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:u,onBlur:c}}}function em(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,i=(0,v.useRef)({isFocused:!1,isFocusVisible:t||ap()}),[a,o]=(0,v.useState)(!1),[s,c]=(0,v.useState)(()=>i.current.isFocused&&i.current.isFocusVisible),l=(0,v.useCallback)(()=>c(i.current.isFocused&&i.current.isFocusVisible),[]),u=(0,v.useCallback)(e=>{i.current.isFocused=e,i.current.isFocusVisible=ap(),o(e),l()},[l]);fp(e=>{i.current.isFocusVisible=e,l()},[n,a],{enabled:a,isTextInput:n});let{focusProps:d}=mp({isDisabled:r,onFocusChange:u}),{focusWithinProps:f}=$p({isDisabled:!r,onFocusWithinChange:u});return{isFocused:a,isFocusVisible:s,focusProps:r?f:d}}var tm=!1,nm=0;function rm(){tm=!0,setTimeout(()=>{tm=!1},500)}function im(e){e.pointerType===`touch`&&rm()}function am(){let e=fo(null);if(e!==void 0)return nm===0&&typeof PointerEvent<`u`&&e.addEventListener(`pointerup`,im),nm++,()=>{nm--,!(nm>0)&&typeof PointerEvent<`u`&&e.removeEventListener(`pointerup`,im)}}function om(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:i}=e,[a,o]=(0,v.useState)(!1),s=(0,v.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:``,target:null}).current;(0,v.useEffect)(am,[]);let{addGlobalListener:c,removeAllGlobalListeners:l}=Ho(),{hoverProps:u,triggerHoverEnd:d}=(0,v.useMemo)(()=>{let e=(e,r)=>{if(s.pointerType=r,i||r===`touch`||s.isHovered||!xo(e.currentTarget,B(e)))return;s.isHovered=!0;let l=e.currentTarget;s.target=l,c(fo(B(e)),`pointerover`,e=>{s.isHovered&&s.target&&!xo(s.target,B(e))&&a(e,e.pointerType)},{capture:!0}),t&&t({type:`hoverstart`,target:l,pointerType:r}),n&&n(!0),o(!0)},a=(e,t)=>{let i=s.target;s.pointerType=``,s.target=null,!(t===`touch`||!s.isHovered||!i)&&(s.isHovered=!1,l(),r&&r({type:`hoverend`,target:i,pointerType:t}),n&&n(!1),o(!1))},u={};return typeof PointerEvent<`u`&&(u.onPointerEnter=t=>{tm&&t.pointerType===`mouse`||e(t,t.pointerType)},u.onPointerLeave=e=>{!i&&xo(e.currentTarget,B(e))&&a(e,e.pointerType)}),{hoverProps:u,triggerHoverEnd:a}},[t,n,r,i,s,c,l]);return(0,v.useEffect)(()=>{i&&d({currentTarget:s.target},s.pointerType)},[i]),{hoverProps:u,isHovered:a}}var sm=(0,v.createContext)({}),cm=qd(function(e,t){[e,t]=Bd(e,t,sm);let n=e,{isPending:r}=n,{buttonProps:i,isPressed:a}=Qp(e,t);i=um(i,r);let{focusProps:o,isFocused:s,isFocusVisible:c}=em(e),{hoverProps:l,isHovered:u}=om({...e,isDisabled:e.isDisabled||r}),d={isHovered:u,isPressed:(n.isPressed||a)&&!r,isFocused:s,isFocusVisible:c,isDisabled:e.isDisabled||!1,isPending:r??!1},f=Ld({...e,values:d,defaultClassName:`react-aria-Button`}),p=so(i.id),m=so(),h=i[`aria-labelledby`];r&&(h?h=`${h} ${m}`:i[`aria-label`]&&(h=`${p} ${m}`));let g=(0,v.useRef)(r);(0,v.useEffect)(()=>{let e={"aria-labelledby":h||p};(!g.current&&s&&r||g.current&&s&&!r)&&Pf(e,`assertive`),g.current=r},[r,s,h,p]);let _=H(e,{global:!0});return delete _.onClick,v.createElement(J.button,{...V(_,f,i,o,l),type:i.type===`submit`&&r?`button`:i.type,id:p,ref:t,"aria-labelledby":h,slot:e.slot||void 0,"aria-disabled":r?`true`:i[`aria-disabled`],"data-disabled":e.isDisabled||void 0,"data-pressed":d.isPressed||void 0,"data-hovered":u||void 0,"data-focused":s||void 0,"data-pending":r||void 0,"data-focus-visible":c||void 0},v.createElement(jf.Provider,{value:{id:m}},f.children))}),lm=/Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;function um(e,t){if(t){for(let t in e)t.startsWith(`on`)&&!lm.test(t)&&(e[t]=void 0);e.href=void 0,e.target=void 0}return e}var dm=typeof document<`u`?v.useInsertionEffect??v.useLayoutEffect:()=>{};function fm(e,t,n){let[r,i]=(0,v.useState)(e||t),a=(0,v.useRef)(r),o=(0,v.useRef)(e!==void 0),s=e!==void 0;(0,v.useEffect)(()=>{o.current,o.current=s},[s]);let c=s?e:r;dm(()=>{a.current=c});let[,l]=(0,v.useReducer)(()=>({}),{});return[c,(0,v.useCallback)((e,...t)=>{let r=typeof e==`function`?e(a.current):e;Object.is(a.current,r)||(a.current=r,i(r),l(),n?.(r,...t))},[n])]}var pm=(0,v.createContext)({}),mm=(0,v.forwardRef)(function(e,t){[e,t]=Bd(e,t,pm);let{children:n,level:r=3,className:i,...a}=e,o=J[`h${r}`];return v.createElement(o,{...a,ref:t,className:i??`react-aria-Heading`},n)}),hm=e=>e?`true`:void 0;function Y(e,t){return Rd(e,(e,n)=>Hu(typeof t==`function`?t(n)??``:t??``,e??``)??``)}var X=(e,t,n)=>typeof e==`function`?e({...n??{},className:t}):t,gm=e=>(0,U.jsx)(`svg`,{"aria-hidden":`true`,fill:`none`,height:16,role:`presentation`,viewBox:`0 0 16 16`,width:16,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,U.jsx)(`path`,{clipRule:`evenodd`,d:`M2.97 5.47a.75.75 0 0 1 1.06 0L8 9.44l3.97-3.97a.75.75 0 1 1 1.06 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0l-4.5-4.5a.75.75 0 0 1 0-1.06`,fill:`currentColor`,fillRule:`evenodd`})}),_m=e=>(0,U.jsx)(`svg`,{"aria-hidden":`true`,fill:`none`,height:16,role:`presentation`,viewBox:`0 0 16 16`,width:16,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,U.jsx)(`path`,{clipRule:`evenodd`,d:`M13.03 10.53a.75.75 0 0 1-1.06 0L8 6.56l-3.97 3.97a.75.75 0 0 1-1.06-1.06l4.5-4.5a.75.75 0 0 1 1.06 0l4.5 4.5a.75.75 0 0 1 0 1.06`,fill:`currentColor`,fillRule:`evenodd`})}),vm=e=>(0,U.jsx)(`svg`,{"aria-hidden":`true`,fill:`none`,height:16,role:`presentation`,viewBox:`0 0 16 16`,width:16,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,U.jsx)(`path`,{clipRule:`evenodd`,d:`M10.53 2.97a.75.75 0 0 1 0 1.06L6.56 8l3.97 3.97a.75.75 0 1 1-1.06 1.06l-4.5-4.5a.75.75 0 0 1 0-1.06l4.5-4.5a.75.75 0 0 1 1.06 0`,fill:`currentColor`,fillRule:`evenodd`})}),ym=e=>(0,U.jsx)(`svg`,{"aria-hidden":`true`,fill:`none`,height:16,role:`presentation`,viewBox:`0 0 16 16`,width:16,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,U.jsx)(`path`,{clipRule:`evenodd`,d:`M5.47 2.97a.75.75 0 0 1 1.06 0l4.5 4.5a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 1 1-1.06-1.06L9.44 8 5.47 4.03a.75.75 0 0 1 0-1.06Z`,fill:`currentColor`,fillRule:`evenodd`})}),bm=e=>(0,U.jsx)(`svg`,{"aria-hidden":`true`,fill:`none`,height:16,role:`presentation`,viewBox:`0 0 16 16`,width:16,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,U.jsx)(`path`,{clipRule:`evenodd`,d:`M3.47 3.47a.75.75 0 0 1 1.06 0L8 6.94l3.47-3.47a.75.75 0 1 1 1.06 1.06L9.06 8l3.47 3.47a.75.75 0 1 1-1.06 1.06L8 9.06l-3.47 3.47a.75.75 0 0 1-1.06-1.06L6.94 8 3.47 4.53a.75.75 0 0 1 0-1.06Z`,fill:`currentColor`,fillRule:`evenodd`})}),xm=e=>(0,U.jsx)(`svg`,{"aria-hidden":`true`,fill:`none`,height:16,role:`presentation`,viewBox:`0 0 16 16`,width:16,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,U.jsx)(`path`,{clipRule:`evenodd`,d:`M8 13.5a5.5 5.5 0 1 0 0-11a5.5 5.5 0 0 0 0 11M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14m1-9.5a1 1 0 1 1-2 0a1 1 0 0 1 2 0m-.25 3a.75.75 0 0 0-1.5 0V11a.75.75 0 0 0 1.5 0z`,fill:`currentColor`,fillRule:`evenodd`})}),Sm=e=>(0,U.jsx)(`svg`,{"aria-hidden":`true`,fill:`none`,height:16,role:`presentation`,viewBox:`0 0 16 16`,width:16,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,U.jsx)(`path`,{clipRule:`evenodd`,d:`M7.134 2.994L2.217 11.5a1 1 0 0 0 .866 1.5h9.834a1 1 0 0 0 .866-1.5L8.866 2.993a1 1 0 0 0-1.732 0m3.03-.75c-.962-1.665-3.366-1.665-4.329 0L.918 10.749c-.963 1.666.24 3.751 2.165 3.751h9.834c1.925 0 3.128-2.085 2.164-3.751zM8 5a.75.75 0 0 1 .75.75v2a.75.75 0 0 1-1.5 0v-2A.75.75 0 0 1 8 5m1 5.75a1 1 0 1 1-2 0a1 1 0 0 1 2 0`,fill:`currentColor`,fillRule:`evenodd`})}),Cm=e=>(0,U.jsx)(`svg`,{"aria-hidden":`true`,fill:`none`,height:16,role:`presentation`,viewBox:`0 0 16 16`,width:16,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,U.jsx)(`path`,{clipRule:`evenodd`,d:`M8 13.5a5.5 5.5 0 1 0 0-11a5.5 5.5 0 0 0 0 11M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14m1-4.5a1 1 0 1 1-2 0a1 1 0 0 1 2 0M8.75 5a.75.75 0 0 0-1.5 0v2.5a.75.75 0 0 0 1.5 0z`,fill:`currentColor`,fillRule:`evenodd`})}),wm=e=>(0,U.jsx)(`svg`,{"aria-hidden":`true`,fill:`none`,height:16,role:`presentation`,viewBox:`0 0 16 16`,width:16,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,U.jsx)(`path`,{clipRule:`evenodd`,d:`M13.5 8a5.5 5.5 0 1 1-11 0a5.5 5.5 0 0 1 11 0M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0m-3.9-1.55a.75.75 0 1 0-1.2-.9L7.419 8.858L6.03 7.47a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.13-.08z`,fill:`currentColor`,fillRule:`evenodd`})}),Tm=e=>(0,U.jsx)(`svg`,{"aria-hidden":`true`,fill:`none`,height:16,role:`presentation`,viewBox:`0 0 16 16`,width:16,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,U.jsx)(`path`,{clipRule:`evenodd`,d:`M1.75 8a.75.75 0 0 1 .75-.75h11a.75.75 0 0 1 0 1.5h-11A.75.75 0 0 1 1.75 8`,fill:`currentColor`,fillRule:`evenodd`})}),Em=e=>(0,U.jsx)(`svg`,{"aria-hidden":`true`,fill:`none`,height:16,role:`presentation`,viewBox:`0 0 16 16`,width:16,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,U.jsx)(`path`,{clipRule:`evenodd`,d:`M8 1.75a.75.75 0 0 1 .75.75v4.75h4.75a.75.75 0 0 1 0 1.5H8.75v4.75a.75.75 0 0 1-1.5 0V8.75H2.5a.75.75 0 0 1 0-1.5h4.75V2.5A.75.75 0 0 1 8 1.75`,fill:`currentColor`,fillRule:`evenodd`})}),Dm=e=>(0,U.jsx)(`svg`,{"aria-hidden":`true`,fill:`none`,height:16,role:`presentation`,viewBox:`0 0 16 16`,width:16,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,U.jsx)(`path`,{clipRule:`evenodd`,d:`M11.5 7a4.5 4.5 0 1 1-9 0a4.5 4.5 0 0 1 9 0m-.82 4.74a6 6 0 1 1 1.06-1.06l2.79 2.79a.75.75 0 1 1-1.06 1.06z`,fill:`currentColor`,fillRule:`evenodd`})}),Om=e=>(0,U.jsx)(`svg`,{"aria-hidden":`true`,fill:`none`,height:`1em`,role:`presentation`,viewBox:`0 0 13 14`,width:`1em`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,U.jsx)(`path`,{clipRule:`evenodd`,d:`M3.75 4.5A.75.75 0 0 1 3 3.75v-.748a1.5 1.5 0 0 0-1.5 1.5v1h10v-1a1.5 1.5 0 0 0-1.5-1.5v.75a.75.75 0 1 1-1.5 0v-.75h-4v.747a.75.75 0 0 1-.75.75ZM8.5 1.501h-4V.75a.75.75 0 0 0-1.5 0v.752a3 3 0 0 0-3 3v6a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-6a3 3 0 0 0-3-3v-.75a.75.75 0 0 0-1.5 0v.75Zm-7 5.5v3.5a1.5 1.5 0 0 0 1.5 1.5h7a1.5 1.5 0 0 0 1.5-1.5v-3.5h-10Z`,fill:`currentColor`,fillRule:`evenodd`})}),km=(0,v.createContext)({}),Am=(0,v.createContext)({placement:`bottom`}),jm=(0,v.forwardRef)(function(e,t){[e,t]=Bd(e,t,Am);let n=e.placement,r={position:`absolute`,transform:n===`top`||n===`bottom`?`translateX(-50%)`:`translateY(-50%)`};n!=null&&(r[n]=`100%`);let i=Ld({...e,defaultClassName:`react-aria-OverlayArrow`,values:{placement:n}});i.style&&Object.keys(i.style).forEach(e=>i.style[e]===void 0&&delete i.style[e]);let a=H(e);return v.createElement(J.div,{...a,...i,style:{...r,...i.style},ref:t,"data-placement":n})}),Mm=typeof HTMLElement<`u`&&`inert`in HTMLElement.prototype;function Nm(e){return e.dataset.liveAnnouncer===`true`||e.dataset.reactAriaTopLayer!==void 0}var Pm=new WeakMap,Fm=[];function Im(e,t){let n=po(e?.[0]),r=t instanceof n.Element?{root:t}:t,i=r?.root??document.body,a=r?.shouldUseInert&&Mm,o=new Set(e),s=new Set,c=e=>a&&e instanceof n.HTMLElement?e.inert:e.getAttribute(`aria-hidden`)===`true`,l=(e,t)=>{a&&e instanceof n.HTMLElement?e.inert=t:t?e.setAttribute(`aria-hidden`,`true`):(e.removeAttribute(`aria-hidden`),e instanceof n.HTMLElement&&(e.inert=!1))},u=new Set;if(bo()){let t=i.getRootNode();for(let n of e){let e=n.getRootNode();for(;_o(e)&&e!==t;)u.add(e),e=e.host.getRootNode()}}let d=e=>{for(let t of e.querySelectorAll(`[data-live-announcer], [data-react-aria-top-layer]`))o.add(t);let t=e=>{if(s.has(e)||o.has(e)||e.parentElement&&s.has(e.parentElement)&&e.parentElement.getAttribute(`role`)!==`row`)return NodeFilter.FILTER_REJECT;for(let t of o)if(xo(e,t))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},n=Eo(fo(e),e,NodeFilter.SHOW_ELEMENT,{acceptNode:t}),r=t(e);if(r===NodeFilter.FILTER_ACCEPT&&f(e),r!==NodeFilter.FILTER_REJECT){let e=n.nextNode();for(;e!=null;)f(e),e=n.nextNode()}},f=e=>{let t=Pm.get(e)??0;c(e)&&t===0||(t===0&&l(e,!0),s.add(e),Pm.set(e,t+1))};Fm.length&&Fm[Fm.length-1].disconnect(),d(i);let p=new MutationObserver(e=>{for(let t of e)if(t.type===`childList`){if(t.target.isConnected&&![...o,...s].some(e=>xo(e,t.target)))for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&Nm(e)?o.add(e):e instanceof Element&&d(e);if(bo()){for(let e of u)if(!e.isConnected){p.disconnect();break}}}});p.observe(i,{childList:!0,subtree:!0});let m=new Set;if(bo())for(let e of u){let t=new MutationObserver(e=>{for(let t of e)if(t.type===`childList`){if(t.target.isConnected&&![...o,...s].some(e=>xo(e,t.target)))for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&Nm(e)?o.add(e):e instanceof Element&&d(e);if(bo()){for(let e of u)if(!e.isConnected){p.disconnect();break}}}});t.observe(e,{childList:!0,subtree:!0}),m.add(t)}let h={visibleNodes:o,hiddenNodes:s,observe(){p.observe(i,{childList:!0,subtree:!0})},disconnect(){p.disconnect()}};return Fm.push(h),()=>{if(p.disconnect(),bo())for(let e of m)e.disconnect();for(let e of s){let t=Pm.get(e);t!=null&&(t===1?(l(e,!1),Pm.delete(e)):Pm.set(e,t-1))}h===Fm[Fm.length-1]?(Fm.pop(),Fm.length&&Fm[Fm.length-1].observe()):Fm.splice(Fm.indexOf(h),1)}}function Lm(e){let t=Fm[Fm.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}var Rm={top:`top`,bottom:`top`,left:`left`,right:`left`},zm={top:`bottom`,bottom:`top`,left:`right`,right:`left`},Bm={top:`left`,left:`top`},Vm={top:`height`,left:`width`},Hm={width:`totalWidth`,height:`totalHeight`},Um={},Wm=()=>typeof document<`u`?window.visualViewport:null;function Gm(e,t){let n=0,r=0,i=0,a=0,o=0,s=0,c={},l=(t?.scale??1)>1;if(e.tagName===`BODY`||e.tagName===`HTML`){let l=document.documentElement;i=l.clientWidth,a=l.clientHeight,n=t?.width??i,r=t?.height??a,c.top=l.scrollTop||e.scrollTop,c.left=l.scrollLeft||e.scrollLeft,t&&(o=t.offsetTop,s=t.offsetLeft)}else({width:n,height:r,top:o,left:s}=nh(e,!1)),c.top=e.scrollTop,c.left=e.scrollLeft,i=n,a=r;return Ta()&&(e.tagName===`BODY`||e.tagName===`HTML`)&&l&&(c.top=0,c.left=0,o=t?.pageTop??0,s=t?.pageLeft??0),{width:n,height:r,totalWidth:i,totalHeight:a,scroll:c,top:o,left:s}}function Km(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function qm(e,t,n,r,i,a,o){let s=i.scroll[e]??0,c=r[Vm[e]],l=o[e]+r.scroll[Rm[e]]+a,u=o[e]+r.scroll[Rm[e]]+c-a,d=t-s+r.scroll[Rm[e]]+o[e]-r[Rm[e]],f=t-s+n+r.scroll[Rm[e]]+o[e]-r[Rm[e]];return du?Math.max(u-f,l-d):0}function Jm(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}function Ym(e){if(Um[e])return Um[e];let[t,n]=e.split(` `),r=Rm[t]||`right`,i=Bm[r];Rm[n]||(n=`center`);let a=Vm[r],o=Vm[i];return Um[e]={placement:t,crossPlacement:n,axis:r,crossAxis:i,size:a,crossSize:o},Um[e]}function Xm(e,t,n,r,i,a,o,s,c,l,u){let{placement:d,crossPlacement:f,axis:p,crossAxis:m,size:h,crossSize:g}=r,_={};_[m]=e[m]??0,f===`center`?_[m]+=((e[g]??0)-(n[g]??0))/2:f!==m&&(_[m]+=(e[g]??0)-(n[g]??0)),_[m]+=a;let v=e[m]-n[g]+c+l,y=e[m]+e[g]-c-l;if(_[m]=Is(_[m],v,y),d===p){let t=s?u[h]:u[Hm[h]];_[zm[p]]=Math.floor(t-e[p]+i)}else _[p]=Math.floor(e[p]+e[h]+i);return _}function Zm(e,t,n,r,i,a,o,s,c,l,u){let d=(e.top==null?c[Hm.height]-(e.bottom??0)-o:e.top)-(c.scroll.top??0),f=l?n.top:0,p={top:Math.max(t.top+f,(u?.offsetTop??t.top)+f),bottom:Math.min(t.top+t.height+f,(u?.offsetTop??0)+(u?.height??0))};return s===`top`?Math.max(0,d+o-p.top-((i.top??0)+(i.bottom??0)+a)):Math.max(0,p.bottom-d-((i.top??0)+(i.bottom??0)+a))}function Qm(e,t,n,r,i,a,o,s){let{placement:c,axis:l,size:u}=a;return c===l?Math.max(0,n[l]-(o.scroll[l]??0)-(e[l]+(s?t[l]:0))-(r[l]??0)-r[zm[l]]-i):Math.max(0,e[u]+e[l]+(s?t[l]:0)-n[l]-n[u]+(o.scroll[l]??0)-(r[l]??0)-r[zm[l]]-i)}function $m(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_){let v=Ym(e),{size:y,crossAxis:b,crossSize:x,placement:S,crossPlacement:C}=v,w=Xm(t,s,n,v,u,d,l,f,m,h,c),T=u,E=Qm(s,l,t,i,a+u,v,c,g);if(o&&n[y]>E){let e=Ym(`${zm[S]} ${C}`),r=Xm(t,s,n,e,u,d,l,f,m,h,c);Qm(s,l,t,i,a+u,e,c,g)>E&&(v=e,w=r,T=u)}let D=`bottom`;v.axis===`top`?v.placement===`top`?D=`top`:v.placement===`bottom`&&(D=`bottom`):v.crossAxis===`top`&&(v.crossPlacement===`top`?D=`bottom`:v.crossPlacement===`bottom`&&(D=`top`));let O=qm(b,w[b],n[x],s,c,a,l);w[b]+=O;let k=Zm(w,s,l,f,i,a,n.height,D,c,g,_);p&&p!n||r===null?void 0:vo(Co(t.current),`scroll`,e=>{let n=B(e);if(!t.current||n instanceof Node&&!xo(n,t.current)||n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement)return;let i=r||oh.get(t.current);i&&i()},!0),[n,r,t])}var ch=typeof document<`u`?window.visualViewport:null;function lh(e){let{direction:t}=lf(),{arrowSize:n,targetRef:r,overlayRef:i,arrowRef:a,scrollRef:o=i,placement:s=`bottom`,containerPadding:c=12,shouldFlip:l=!0,boundaryElement:u=typeof document<`u`?document.body:null,offset:d=0,crossOffset:f=0,shouldUpdatePosition:p=!0,isOpen:m=!0,onClose:h,maxHeight:g,arrowBoundaryOffset:_=0,getTargetRect:y}=e,[b,x]=(0,v.useState)(null),S=[p,s,i.current,r.current,a?.current,o.current,c,l,u,d,f,m,t,g,_,n],C=(0,v.useRef)(ch?.scale);(0,v.useEffect)(()=>{m&&(C.current=ch?.scale)},[m]);let w=(0,v.useCallback)(()=>{if(p===!1||!m||!i.current||!r.current||!u||ch?.scale!==C.current)return;let e=null;if(o.current&&wo(o.current)){let t=So()?.getBoundingClientRect(),n=o.current.getBoundingClientRect();e={type:`top`,offset:(t?.top??0)-n.top},e.offset>n.height/2&&(e.type=`bottom`,e.offset=(t?.bottom??0)-n.bottom)}let h=i.current;!g&&i.current&&(h.style.top=`0px`,h.style.bottom=``,h.style.maxHeight=(window.visualViewport?.height??window.innerHeight)+`px`);let v=eh({placement:dh(s,t),overlayNode:i.current,targetNode:r.current,scrollNode:o.current||i.current,padding:c,shouldFlip:l,boundaryElement:u,offset:d,crossOffset:f,maxHeight:g,arrowSize:n??(a?.current?th(a.current,!0).width:0),arrowBoundaryOffset:_,targetRect:y?.(r.current)});if(!v.position)return;h.style.top=``,h.style.bottom=``,h.style.left=``,h.style.right=``,Object.keys(v.position).forEach(e=>h.style[e]=v.position[e]+`px`),h.style.maxHeight=v.maxHeight==null?``:v.maxHeight+`px`;let b=So();if(e&&b&&o.current){let t=b.getBoundingClientRect(),n=o.current.getBoundingClientRect(),r=t[e.type]-n[e.type];o.current.scrollTop+=r-e.offset}x(v)},S);Ua(w,S),uh(w),Xo({ref:i,onResize:w}),Xo({ref:r,onResize:w});let T=(0,v.useRef)(!1);Ua(()=>{let e,t=()=>{T.current=!0,clearTimeout(e),e=setTimeout(()=>{T.current=!1},500),w()},n=()=>{T.current&&t()};return ch?.addEventListener(`resize`,t),ch?.addEventListener(`scroll`,n),()=>{ch?.removeEventListener(`resize`,t),ch?.removeEventListener(`scroll`,n)}},[w]);let E=(0,v.useCallback)(()=>{T.current||h?.()},[h,T]);return sh({triggerRef:r,isOpen:m,onClose:h&&E}),{overlayProps:{style:{position:b?`absolute`:`fixed`,top:b?void 0:0,left:b?void 0:0,zIndex:1e5,...b?.position,maxHeight:b?.maxHeight??`100vh`}},placement:b?.placement??null,triggerAnchorPoint:b?.triggerAnchorPoint??null,arrowProps:{"aria-hidden":`true`,role:`presentation`,style:{left:b?.arrowOffsetLeft,top:b?.arrowOffsetTop}},updatePosition:w}}function uh(e){Ua(()=>(window.addEventListener(`resize`,e,!1),()=>{window.removeEventListener(`resize`,e,!1)}),[e])}function dh(e,t){return t===`rtl`?e.replace(`start`,`right`).replace(`end`,`left`):e.replace(`start`,`left`).replace(`end`,`right`)}var fh=v.createContext(null),ph=`react-aria-focus-scope-restore`,mh=null;function hh(e){let{children:t,contain:n,restoreFocus:r,autoFocus:i}=e,a=(0,v.useRef)(null),o=(0,v.useRef)(null),s=(0,v.useRef)([]),{parentNode:c}=(0,v.useContext)(fh)||{},l=(0,v.useMemo)(()=>new zh({scopeRef:s}),[s]);Ua(()=>{let e=c||Bh.root;if(Bh.getTreeNode(e.scopeRef)&&mh&&!Eh(mh,e.scopeRef)){let t=Bh.getTreeNode(mh);t&&(e=t)}e.addChild(l),Bh.addNode(l)},[l,c]),Ua(()=>{let e=Bh.getTreeNode(s);e&&(e.contain=!!n)},[n]),Ua(()=>{let e=a.current?.nextSibling,t=[],n=e=>e.stopPropagation();for(;e&&e!==o.current;)t.push(e),e.addEventListener(ph,n),e=e.nextSibling;return s.current=t,()=>{for(let e of t)e.removeEventListener(ph,n)}},[t]),jh(s,r,n),xh(s,n),Nh(s,r,n),Ah(s,i),(0,v.useEffect)(()=>{let e=So(fo(s.current?s.current[0]:void 0)),t=null;if(Ch(e,s.current)){for(let n of Bh.traverse())n.scopeRef&&Ch(e,n.scopeRef.current)&&(t=n);t===Bh.getTreeNode(s)&&(mh=t.scopeRef)}},[s]),Ua(()=>()=>{let e=Bh.getTreeNode(s)?.parent?.scopeRef??null;(s===mh||Eh(s,mh))&&(!e||Bh.getTreeNode(e))&&(mh=e),Bh.removeTreeNode(s)},[s]);let u=(0,v.useMemo)(()=>gh(s),[]),d=(0,v.useMemo)(()=>({focusManager:u,parentNode:l}),[l,u]);return v.createElement(fh.Provider,{value:d},v.createElement(`span`,{"data-focus-scope-start":!0,hidden:!0,ref:a}),t,v.createElement(`span`,{"data-focus-scope-end":!0,hidden:!0,ref:o}))}function gh(e){return{focusNext(t={}){let n=e.current,{from:r,tabbable:i,wrap:a,accept:o}=t,s=r||So(fo(n[0]??void 0)),c=n[0].previousElementSibling,l=Fh(_h(n),{tabbable:i,accept:o},n);l.currentNode=Ch(s,n)?s:c;let u=l.nextNode();return!u&&a&&(l.currentNode=c,u=l.nextNode()),u&&Dh(u,!0),u},focusPrevious(t={}){let n=e.current,{from:r,tabbable:i,wrap:a,accept:o}=t,s=r||So(fo(n[0]??void 0)),c=n[n.length-1].nextElementSibling,l=Fh(_h(n),{tabbable:i,accept:o},n);l.currentNode=Ch(s,n)?s:c;let u=l.previousNode();return!u&&a&&(l.currentNode=c,u=l.previousNode()),u&&Dh(u,!0),u},focusFirst(t={}){let n=e.current,{tabbable:r,accept:i}=t,a=Fh(_h(n),{tabbable:r,accept:i},n);a.currentNode=n[0].previousElementSibling;let o=a.nextNode();return o&&Dh(o,!0),o},focusLast(t={}){let n=e.current,{tabbable:r,accept:i}=t,a=Fh(_h(n),{tabbable:r,accept:i},n);a.currentNode=n[n.length-1].nextElementSibling;let o=a.previousNode();return o&&Dh(o,!0),o}}}function _h(e){return e[0].parentElement}function vh(e){let t=Bh.getTreeNode(mh);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function yh(e){if(!e.form)return Array.from(fo(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter(e=>!e.form);let t=e.form.elements.namedItem(e.name),n=po(e);return t instanceof n.RadioNodeList?Array.from(t).filter(e=>e instanceof n.HTMLInputElement):t instanceof n.HTMLInputElement?[t]:[]}function bh(e){if(e.checked)return!0;let t=yh(e);return t.length>0&&!t.some(e=>e.checked)}function xh(e,t){let n=(0,v.useRef)(void 0),r=(0,v.useRef)(void 0);Ua(()=>{let i=e.current;if(!t){r.current&&=(cancelAnimationFrame(r.current),void 0);return}let a=fo(i?i[0]:void 0),o=t=>{if(t.key!==`Tab`||t.altKey||t.ctrlKey||t.metaKey||!vh(e)||t.isComposing)return;let n=So(a),r=e.current;if(!r||!Ch(n,r))return;let i=Fh(_h(r),{tabbable:!0},r);if(!n)return;i.currentNode=n;let o=t.shiftKey?i.previousNode():i.nextNode();o||=(i.currentNode=t.shiftKey?r[r.length-1].nextElementSibling:r[0].previousElementSibling,t.shiftKey?i.previousNode():i.nextNode()),t.preventDefault(),o&&(Dh(o,!0),o instanceof po(o).HTMLInputElement&&o.select())},s=t=>{(!mh||Eh(mh,e))&&Ch(B(t),e.current)?(mh=e,n.current=B(t)):vh(e)&&!wh(B(t),e)?n.current?Dh(n.current):mh&&mh.current&&kh(mh.current):vh(e)&&(n.current=B(t))},c=t=>{r.current&&cancelAnimationFrame(r.current),r.current=requestAnimationFrame(()=>{let r=op(),i=(r===`virtual`||r===null)&&Da()&&Ea(),o=So(a);if(!i&&o&&vh(e)&&!wh(o,e)){mh=e;let r=B(t);r&&r.isConnected?(n.current=r,Dh(n.current)):mh.current&&kh(mh.current)}})};return a.addEventListener(`keydown`,o,!1),a.addEventListener(`focusin`,s,!1),i?.forEach(e=>e.addEventListener(`focusin`,s,!1)),i?.forEach(e=>e.addEventListener(`focusout`,c,!1)),()=>{a.removeEventListener(`keydown`,o,!1),a.removeEventListener(`focusin`,s,!1),i?.forEach(e=>e.removeEventListener(`focusin`,s,!1)),i?.forEach(e=>e.removeEventListener(`focusout`,c,!1))}},[e,t]),Ua(()=>()=>{r.current&&cancelAnimationFrame(r.current)},[r])}function Sh(e){return wh(e)}function Ch(e,t){return!e||!t?!1:t.some(t=>xo(t,e))}function wh(e,t=null){if(e instanceof Element&&e.closest(`[data-react-aria-top-layer]`))return!0;for(let{scopeRef:n}of Bh.traverse(Bh.getTreeNode(t)))if(n&&Ch(e,n.current))return!0;return!1}function Th(e){return wh(e,mh)}function Eh(e,t){let n=Bh.getTreeNode(t)?.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function Dh(e,t=!1){if(e!=null&&!t)try{pp(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function Oh(e,t=!0){let n=e[0].previousElementSibling,r=_h(e),i=Fh(r,{tabbable:t},e);i.currentNode=n;let a=i.nextNode();return t&&!a&&(r=_h(e),i=Fh(r,{tabbable:!1},e),i.currentNode=n,a=i.nextNode()),a}function kh(e,t=!0){Dh(Oh(e,t))}function Ah(e,t){let n=v.useRef(t);(0,v.useEffect)(()=>{n.current&&(mh=e,!Ch(So(fo(e.current?e.current[0]:void 0)),mh.current)&&e.current&&kh(e.current)),n.current=!1},[e])}function jh(e,t,n){Ua(()=>{if(t||n)return;let r=e.current,i=fo(r?r[0]:void 0),a=t=>{let n=B(t);Ch(n,e.current)?mh=e:Sh(n)||(mh=null)};return i.addEventListener(`focusin`,a,!1),r?.forEach(e=>e.addEventListener(`focusin`,a,!1)),()=>{i.removeEventListener(`focusin`,a,!1),r?.forEach(e=>e.removeEventListener(`focusin`,a,!1))}},[e,t,n])}function Mh(e){let t=Bh.getTreeNode(mh);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return t?.scopeRef===e}function Nh(e,t,n){let r=(0,v.useRef)(typeof document<`u`?So(fo(e.current?e.current[0]:void 0)):null);Ua(()=>{let r=e.current,i=fo(r?r[0]:void 0);if(!t||n)return;let a=()=>{(!mh||Eh(mh,e))&&Ch(So(i),e.current)&&(mh=e)};return i.addEventListener(`focusin`,a,!1),r?.forEach(e=>e.addEventListener(`focusin`,a,!1)),()=>{i.removeEventListener(`focusin`,a,!1),r?.forEach(e=>e.removeEventListener(`focusin`,a,!1))}},[e,n]),Ua(()=>{let r=fo(e.current?e.current[0]:void 0);if(!t)return;let i=t=>{if(t.key!==`Tab`||t.altKey||t.ctrlKey||t.metaKey||!vh(e)||t.isComposing)return;let n=r.activeElement;if(!wh(n,e)||!Mh(e))return;let i=Bh.getTreeNode(e);if(!i)return;let a=i.nodeToRestore,o=Fh(r.body,{tabbable:!0});o.currentNode=n;let s=t.shiftKey?o.previousNode():o.nextNode();if((!a||!a.isConnected||a===r.body)&&(a=void 0,i.nodeToRestore=void 0),(!s||!wh(s,e))&&a){o.currentNode=a;do s=t.shiftKey?o.previousNode():o.nextNode();while(wh(s,e));t.preventDefault(),t.stopPropagation(),s?Dh(s,!0):Sh(a)?Dh(a,!0):n.blur()}};return n||r.addEventListener(`keydown`,i,!0),()=>{n||r.removeEventListener(`keydown`,i,!0)}},[e,t,n]),Ua(()=>{let n=fo(e.current?e.current[0]:void 0);if(!t)return;let i=Bh.getTreeNode(e);if(i)return i.nodeToRestore=r.current??void 0,()=>{let r=Bh.getTreeNode(e);if(!r)return;let i=r.nodeToRestore,a=So(n);if(t&&i&&(a&&wh(a,e)||a===n.body&&Mh(e))){let t=Bh.clone();requestAnimationFrame(()=>{if(n.activeElement===n.body){let n=t.getTreeNode(e);for(;n;){if(n.nodeToRestore&&n.nodeToRestore.isConnected){Ph(n.nodeToRestore);return}n=n.parent}for(n=t.getTreeNode(e);n;){if(n.scopeRef&&n.scopeRef.current&&Bh.getTreeNode(n.scopeRef)){Ph(Oh(n.scopeRef.current,!0));return}n=n.parent}}})}}},[e,t])}function Ph(e){e.dispatchEvent(new CustomEvent(ph,{bubbles:!0,cancelable:!0}))&&Dh(e)}function Fh(e,t,n){let r=t?.tabbable?js:As,i=fo(e?.nodeType===Node.ELEMENT_NODE?e:null),a=Eo(i,e||i,NodeFilter.SHOW_ELEMENT,{acceptNode(e){return xo(t?.from,e)||t?.tabbable&&e.tagName===`INPUT`&&e.getAttribute(`type`)===`radio`&&(!bh(e)||a.currentNode.tagName===`INPUT`&&a.currentNode.type===`radio`&&a.currentNode.name===e.name)?NodeFilter.FILTER_REJECT:r(e)&&(!n||Ch(e,n))&&(!t?.accept||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t?.from&&(a.currentNode=t.from),a}function Ih(e,t={}){return{focusNext(n={}){let r=e.current;if(!r)return null;let{from:i,tabbable:a=t.tabbable,wrap:o=t.wrap,accept:s=t.accept}=n,c=i||So(fo(r)),l=Fh(r,{tabbable:a,accept:s});xo(r,c)&&(l.currentNode=c);let u=l.nextNode();return!u&&o&&(l.currentNode=r,u=l.nextNode()),u&&Dh(u,!0),u},focusPrevious(n=t){let r=e.current;if(!r)return null;let{from:i,tabbable:a=t.tabbable,wrap:o=t.wrap,accept:s=t.accept}=n,c=i||So(fo(r)),l=Fh(r,{tabbable:a,accept:s});if(xo(r,c))l.currentNode=c;else{let e=Lh(l);return e&&Dh(e,!0),e??null}let u=l.previousNode();if(!u&&o){l.currentNode=r;let e=Lh(l);if(!e)return null;u=e}return u&&Dh(u,!0),u??null},focusFirst(n=t){let r=e.current;if(!r)return null;let{tabbable:i=t.tabbable,accept:a=t.accept}=n,o=Fh(r,{tabbable:i,accept:a}).nextNode();return o&&Dh(o,!0),o},focusLast(n=t){let r=e.current;if(!r)return null;let{tabbable:i=t.tabbable,accept:a=t.accept}=n,o=Lh(Fh(r,{tabbable:i,accept:a}));return o&&Dh(o,!0),o??null}}}function Lh(e){let t,n;do n=e.lastChild(),n&&(t=n);while(n);return t}var Rh=class e{constructor(){this.fastMap=new Map,this.root=new zh({scopeRef:null}),this.fastMap.set(null,this.root)}get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(t??null);if(!r)return;let i=new zh({scopeRef:e});r.addChild(i),i.parent=r,this.fastMap.set(e,i),n&&(i.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(e===null)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&Ch(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(e.scopeRef!=null&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){let t=new e;for(let e of this.traverse())t.addTreeNode(e.scopeRef,e.parent?.scopeRef??null,e.nodeToRestore);return t}},zh=class{constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}},Bh=new Rh;function Vh(e){let{ref:t,onInteractOutside:n,isDisabled:r,onInteractOutsideStart:i}=e,a=(0,v.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),o=Ko(e=>{n&&Hh(e,t)&&(i&&i(e),a.current.isPointerDown=!0)}),s=Ko(e=>{n&&n(e)});(0,v.useEffect)(()=>{let e=a.current;if(r)return;let n=t.current,i=fo(n);if(typeof PointerEvent<`u`){let n=n=>{e.isPointerDown&&Hh(n,t)&&s(n),e.isPointerDown=!1};return i.addEventListener(`pointerdown`,o,!0),i.addEventListener(`click`,n,!0),()=>{i.removeEventListener(`pointerdown`,o,!0),i.removeEventListener(`click`,n,!0)}}},[t,r])}function Hh(e,t){if(e.button>0)return!1;let n=B(e);if(n){let e=n.ownerDocument;if(!e||!xo(e.documentElement,n)||n.closest(`[data-react-aria-top-layer]`))return!1}return t.current?!e.composedPath().includes(t.current):!1}var Uh=[];function Wh(e,t){let{onClose:n,shouldCloseOnBlur:r,isOpen:i,isDismissable:a=!1,isKeyboardDismissDisabled:o=!1,shouldCloseOnInteractOutside:s}=e,c=(0,v.useRef)(void 0);(0,v.useEffect)(()=>{if(i&&!Uh.includes(t))return Uh.push(t),()=>{let e=Uh.indexOf(t);e>=0&&Uh.splice(e,1)}},[i,t]);let l=()=>{Uh[Uh.length-1]===t&&n&&n()},u=e=>{let n=Uh[Uh.length-1];c.current=n,(!s||s(B(e)))&&n===t&&e.stopPropagation()},d=e=>{(!s||s(B(e)))&&(Uh[Uh.length-1]===t&&e.stopPropagation(),c.current===t&&l()),c.current=void 0},{keyboardProps:f}=Op({shortcuts:{Escape:()=>{if(!o){l();return}return!1}}});Vh({ref:t,onInteractOutside:a&&i?d:void 0,onInteractOutsideStart:u});let{focusWithinProps:p}=$p({isDisabled:!r,onBlurWithin:e=>{!e.relatedTarget||Th(e.relatedTarget)||(!s||s(e.relatedTarget))&&n?.()}});return{overlayProps:{...f,...p},underlayProps:{}}}var Gh=typeof document<`u`&&window.visualViewport,Kh=0,qh;function Jh(e={}){let{isDisabled:t}=e;Ua(()=>{if(!t)return Kh++,Kh===1&&(qh=Ca()&&Ta()?Xh():Yh()),()=>{Kh--,Kh===0&&qh()}},[t])}function Yh(){let e=window.innerWidth-document.documentElement.clientWidth;return uo(e>0&&(`scrollbarGutter`in document.documentElement.style?Zh(document.documentElement,`scrollbarGutter`,`stable`):Zh(document.documentElement,`paddingRight`,`${e}px`)),Zh(document.documentElement,`overflow`,`hidden`))}function Xh(){let e=Zh(document.documentElement,`overflow`,`hidden`),t,n=!1,r=e=>{let r=B(e);t=Qo(r)?r:$o(r,!0),n=!1;let i=r.ownerDocument.defaultView.getSelection();i&&!i.isCollapsed&&i.containsNode(r,!0)&&(n=!0),e.composedPath().some(e=>e instanceof HTMLInputElement&&e.type===`range`)&&(n=!0),`selectionStart`in r&&`selectionEnd`in r&&r.selectionStart{if(!(e.touches.length===2||n)){if(!t||t===document.documentElement||t===document.body){e.preventDefault();return}t.scrollHeight===t.clientHeight&&t.scrollWidth===t.clientWidth&&e.preventDefault()}},s=e=>{let t=B(e),n=e.relatedTarget;n&&rs(n)?(n.focus({preventScroll:!0}),$h(n,rs(t))):n||(t.parentElement?.closest(`[tabindex]`))?.focus({preventScroll:!0})},c=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(e){let t=So(),n=t!=null&&rs(t);c.call(this,{...e,preventScroll:!0}),(!e||!e.preventScroll)&&$h(this,n)};let l=uo(Qh(document,`touchstart`,r,{passive:!1,capture:!0}),Qh(document,`touchmove`,o,{passive:!1,capture:!0}),Qh(document,`blur`,s,!0));return()=>{e(),l(),i.remove(),HTMLElement.prototype.focus=c}}function Zh(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function Qh(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function $h(e,t){t||!Gh?eg(e):Gh.addEventListener(`resize`,()=>eg(e),{once:!0})}function eg(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t;){let e=$o(n);if(e!==document.documentElement&&e!==document.body&&e!==n){let t=e.getBoundingClientRect(),r=n.getBoundingClientRect();if(r.topt.top+n.clientHeight){let n=t.bottom;Gh&&(n=Math.min(n,Gh.offsetTop+Gh.height));let i=r.top-t.top-((n-t.top)/2-r.height/2);e.scrollTo({top:Math.max(0,Math.min(e.scrollHeight-e.clientHeight,e.scrollTop+i)),behavior:`smooth`})}}n=e.parentElement}}function tg(e,t){let{triggerRef:n,popoverRef:r,groupRef:i,isNonModal:a,isKeyboardDismissDisabled:o,shouldCloseOnInteractOutside:s,...c}=e,l=c.trigger===`SubmenuTrigger`,{overlayProps:u,underlayProps:d}=Wh({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!a||l,isKeyboardDismissDisabled:o,shouldCloseOnInteractOutside:s},i??r),{overlayProps:f,arrowProps:p,placement:m,triggerAnchorPoint:h}=lh({...c,targetRef:n,overlayRef:r,isOpen:t.isOpen,onClose:a&&!l?t.close:null,getTargetRect:c.getTargetRect??(t.point?()=>new DOMRect(t.point.x,t.point.y,0,0):void 0)});Jh({isDisabled:a||!t.isOpen}),(0,v.useEffect)(()=>{if(t.isOpen&&r.current)return a?Lm(i?.current??r.current):Im([i?.current??r.current],{shouldUseInert:!0})},[a,t.isOpen,r,i]);let{focusWithinProps:g}=$p(e);return{popoverProps:V(u,f,g),arrowProps:p,underlayProps:d,placement:m,triggerAnchorPoint:h}}var ng={};ng={dismiss:`تجاهل`};var rg={};rg={dismiss:`Отхвърляне`};var ig={};ig={dismiss:`Odstranit`};var ag={};ag={dismiss:`Luk`};var og={};og={dismiss:`Schließen`};var sg={};sg={dismiss:`Απόρριψη`};var cg={};cg={dismiss:`Dismiss`};var lg={};lg={dismiss:`Descartar`};var ug={};ug={dismiss:`Lõpeta`};var dg={};dg={dismiss:`Hylkää`};var fg={};fg={dismiss:`Rejeter`};var pg={};pg={dismiss:`התעלם`};var mg={};mg={dismiss:`Odbaci`};var hg={};hg={dismiss:`Elutasítás`};var gg={};gg={dismiss:`Ignora`};var _g={};_g={dismiss:`閉じる`};var vg={};vg={dismiss:`무시`};var yg={};yg={dismiss:`Atmesti`};var bg={};bg={dismiss:`Nerādīt`};var xg={};xg={dismiss:`Lukk`};var Sg={};Sg={dismiss:`Negeren`};var Cg={};Cg={dismiss:`Zignoruj`};var wg={};wg={dismiss:`Descartar`};var Tg={};Tg={dismiss:`Dispensar`};var Eg={};Eg={dismiss:`Revocare`};var Dg={};Dg={dismiss:`Пропустить`};var Og={};Og={dismiss:`Zrušiť`};var kg={};kg={dismiss:`Opusti`};var Ag={};Ag={dismiss:`Odbaci`};var jg={};jg={dismiss:`Avvisa`};var Mg={};Mg={dismiss:`Kapat`};var Ng={};Ng={dismiss:`Скасувати`};var Pg={};Pg={dismiss:`取消`};var Fg={};Fg={dismiss:`關閉`};var Ig={};Ig={"ar-AE":ng,"bg-BG":rg,"cs-CZ":ig,"da-DK":ag,"de-DE":og,"el-GR":sg,"en-US":cg,"es-ES":lg,"et-EE":ug,"fi-FI":dg,"fr-FR":fg,"he-IL":pg,"hr-HR":mg,"hu-HU":hg,"it-IT":gg,"ja-JP":_g,"ko-KR":vg,"lt-LT":yg,"lv-LV":bg,"nb-NO":xg,"nl-NL":Sg,"pl-PL":Cg,"pt-BR":wg,"pt-PT":Tg,"ro-RO":Eg,"ru-RU":Dg,"sk-SK":Og,"sl-SI":kg,"sr-SP":Ag,"sv-SE":jg,"tr-TR":Mg,"uk-UA":Ng,"zh-CN":Pg,"zh-TW":Fg};var Lg=Symbol.for(`react-aria.i18n.locale`),Rg=Symbol.for(`react-aria.i18n.strings`),zg=void 0,Bg=class e{constructor(e,t=`en-US`){this.strings=Object.fromEntries(Object.entries(e).filter(([,e])=>e)),this.defaultLocale=t}getStringForLocale(e,t){let n=this.getStringsForLocale(t)[e];if(!n)throw Error(`Could not find intl message ${e} in ${t} locale`);return n}getStringsForLocale(e){let t=this.strings[e];return t||(t=Vg(e,this.strings,this.defaultLocale),this.strings[e]=t),t}static getGlobalDictionaryForPackage(t){if(typeof window>`u`)return null;let n=window[Lg];if(zg===void 0){let t=window[Rg];if(!t)return null;zg={};for(let r in t)zg[r]=new e({[n]:t[r]},n)}let r=zg?.[t];if(!r)throw Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}};function Vg(e,t,n=`en-US`){if(t[e])return t[e];let r=Hg(e),i=Ug(e);if(i&&t[`${r}-${i}`])return t[`${r}-${i}`];if(t[r])return t[r];for(let e in t)if(e.startsWith(r+`-`))return t[e];return t[n]}function Hg(e){return Intl.Locale?new Intl.Locale(e).language:e.split(`-`)[0]}function Ug(e){if(Intl.Locale)return new Intl.Locale(e).script}var Wg=new Map,Gg=new Map,Kg=class{constructor(e,t){this.locale=e,this.strings=t}format(e,t){let n=this.strings.getStringForLocale(e,this.locale);return typeof n==`function`?n(t,this):n}plural(e,t,n=`cardinal`){let r=t[`=`+e];if(r)return typeof r==`function`?r():r;let i=this.locale+`:`+n,a=Wg.get(i);return a||(a=new Intl.PluralRules(this.locale,{type:n}),Wg.set(i,a)),r=t[a.select(e)]||t.other,typeof r==`function`?r():r}number(e){let t=Gg.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),Gg.set(this.locale,t)),t.format(e)}select(e,t){let n=e[t]||e.other;return typeof n==`function`?n():n}},qg=new WeakMap;function Jg(e){let t=qg.get(e);return t||(t=new Bg(e),qg.set(e,t)),t}function Yg(e,t){return t&&Bg.getGlobalDictionaryForPackage(t)||Jg(e)}function Xg(e,t){let{locale:n}=lf(),r=Yg(e,t);return(0,v.useMemo)(()=>new Kg(n,r),[n,r])}var Zg={border:0,clip:`rect(0 0 0 0)`,clipPath:`inset(50%)`,height:`1px`,margin:`-1px`,overflow:`hidden`,padding:0,position:`absolute`,width:`1px`,whiteSpace:`nowrap`};function Qg(e={}){let{style:t,isFocusable:n}=e,[r,i]=(0,v.useState)(!1),{focusWithinProps:a}=$p({isDisabled:!n,onFocusWithinChange:e=>i(e)}),o=(0,v.useMemo)(()=>r?t:t?{...Zg,...t}:Zg,[r]);return{visuallyHiddenProps:{...a,style:o}}}function $g(e){let{children:t,elementType:n=`div`,isFocusable:r,style:i,...a}=e,{visuallyHiddenProps:o}=Qg(e);return v.createElement(n,V(a,o),t)}function e_(e){return e&&e.__esModule?e.default:e}function t_(e){let{onDismiss:t,...n}=e,r=Uo(n,Xg(e_(Ig),`@react-aria/overlays`).format(`dismiss`)),i=()=>{t&&t()};return v.createElement($g,null,v.createElement(`button`,{...r,tabIndex:-1,onClick:i,style:{width:1,height:1}}))}var n_=v.forwardRef(({children:e,...t},n)=>{let r=(0,v.useRef)(!1),i=(0,v.useContext)(Rp),a=V(i||{},{...t,register(){r.current=!0,i&&i.register()}});return a.ref=Wo(n||i?.ref),Zo(i,a.ref),(0,v.useEffect)(()=>{r.current||=!0},[]),v.createElement(Rp.Provider,{value:a},e)});function r_({children:e}){let t=(0,v.useMemo)(()=>({register:()=>{}}),[]);return v.createElement(Rp.Provider,{value:t},e)}var i_=(0,v.createContext)({});function a_(){return(0,v.useContext)(i_)??{}}var o_=v.createContext(null);function s_(e){let t=to(),{portalContainer:n=t?null:document.body,isExiting:r}=e,[i,a]=(0,v.useState)(!1),o=(0,v.useMemo)(()=>({contain:i,setContain:a}),[i,a]),{getContainer:s}=a_();if(!e.portalContainer&&s&&(n=s()),!n)return null;let c=e.children;return e.disableFocusManagement||(c=v.createElement(hh,{restoreFocus:!0,contain:(e.shouldContainFocus||i)&&!r},c)),c=v.createElement(o_.Provider,{value:o},v.createElement(r_,null,v.createElement(kp.Provider,{value:null},c))),ys.createPortal(c,n)}function c_(){let e=(0,v.useContext)(o_)?.setContain;Ua(()=>{e?.(!0)},[e])}function l_(e){let[t,n]=fm(e.isOpen,e.defaultOpen||!1,e.onOpenChange),[r,i]=(0,v.useState)(null);return{isOpen:t,setOpen:n,open:(0,v.useCallback)(()=>{n(!0)},[n]),close:(0,v.useCallback)(()=>{n(!1)},[n]),toggle:(0,v.useCallback)(()=>{n(!t)},[n,t]),point:r,setPoint:i}}var u_=(0,v.createContext)(null),d_=(0,v.createContext)(null),f_=(0,v.forwardRef)(function(e,t){[e,t]=Bd(e,t,u_);let n=(0,v.useContext)(tx),r=l_(e),i=e.isOpen!=null||e.defaultOpen!=null||!n?r:n,a=xs(t,i.isOpen),o=e.isExiting||!e.shouldSkipAnimation&&a||!1,s=Jd(),{direction:c}=lf();if(s){let t=e.children;return typeof t==`function`&&(t=t({trigger:e.trigger||null,placement:`bottom`,isEntering:!1,isExiting:!1,defaultChildren:null})),v.createElement(v.Fragment,null,t)}return i&&!i.isOpen&&!o?null:v.createElement(p_,{...e,triggerRef:e.triggerRef,state:i,popoverRef:t,isExiting:o,dir:c})});function p_({state:e,isExiting:t,UNSTABLE_portalContainer:n,clearContexts:r,...i}){let a=(0,v.useRef)(null),o=(0,v.useRef)(null),s=(0,v.useContext)(d_),c=s&&i.trigger===`SubmenuTrigger`,{popoverProps:l,underlayProps:u,arrowProps:d,placement:f,triggerAnchorPoint:p}=tg({...i,offset:i.offset??8,arrowRef:a,groupRef:c?s:o},e),m=i.popoverRef,h=bs(m,!!f),g=i.isEntering||!i.shouldSkipAnimation&&h||!1,_=Ld({...i,defaultClassName:`react-aria-Popover`,values:{trigger:i.trigger||null,placement:f,isEntering:g,isExiting:t}}),y=!i.isNonModal||i.trigger===`SubmenuTrigger`||i.trigger===`PreviewTrigger`,[b,x]=(0,v.useState)(i.trigger===`PreviewTrigger`);Ua(()=>{m.current&&x(y&&!m.current.querySelector(`[role=dialog]`))},[m,y]),(0,v.useEffect)(()=>{b&&i.trigger!==`PreviewTrigger`&&(i.trigger!==`SubmenuTrigger`||op()!==`pointer`)&&m.current&&!wo(m.current)&&pp(m.current)},[b,m,i.trigger]);let S=(0,v.useMemo)(()=>{let e=_.children;if(r)for(let t of r)e=v.createElement(t.Provider,{value:null},e);return e},[_.children,r]),[C,w]=(0,v.useState)(null),T=(0,v.useCallback)(()=>{i.triggerRef.current&&w(i.triggerRef.current.getBoundingClientRect().width+`px`)},[i.triggerRef]);Ua(T,[T]),Xo({ref:_.style?.[`--trigger-width`]?void 0:i.triggerRef,onResize:T});let E={...l.style,"--trigger-anchor-point":p?`${p.x}px ${p.y}px`:void 0,..._.style,"--trigger-width":_.style?.[`--trigger-width`]||C},D=v.createElement(J.div,{...V(H(i,{global:!0}),l),..._,id:b?i.id:void 0,role:b?`dialog`:void 0,tabIndex:b?-1:void 0,"aria-label":i[`aria-label`],"aria-labelledby":i[`aria-labelledby`],ref:m,slot:i.slot||void 0,style:E,dir:i.dir,"data-trigger":i.trigger,"data-placement":f,"data-entering":g||void 0,"data-exiting":t||void 0},!i.isNonModal&&v.createElement(t_,{onDismiss:e.close}),v.createElement(Am.Provider,{value:{...d,placement:f,ref:a}},S),v.createElement(t_,{onDismiss:e.close}));return c?v.createElement(s_,{...i,shouldContainFocus:b&&i.trigger!==`PreviewTrigger`,isExiting:t,portalContainer:n??s?.current??void 0},D):v.createElement(s_,{...i,shouldContainFocus:b&&i.trigger!==`PreviewTrigger`,isExiting:t,portalContainer:n},!i.isNonModal&&e.isOpen&&v.createElement(`div`,{"data-testid":`underlay`,...u,style:{position:`fixed`,inset:0}}),v.createElement(`div`,{ref:o,style:{display:`contents`}},v.createElement(d_.Provider,{value:o},D)))}var m_=class{constructor(e){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue=``,this[`aria-label`]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=e}get childNodes(){throw Error(`childNodes is not supported`)}clone(){let e=new this.constructor(this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e[`aria-label`]=this[`aria-label`],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}filter(e,t,n){let r=this.clone();return t.addDescendants(r,e),r}},h_=class extends m_{filter(e,t,n){let[r,i]=b_(e,t,this.firstChildKey,n),a=this.clone();return a.firstChildKey=r,a.lastChildKey=i,a}};(class extends m_{static{this.type=`header`}});var g_=class extends m_{static{this.type=`loader`}},__=class extends h_{static{this.type=`item`}filter(e,t,n){if(n(this.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}},v_=class extends h_{static{this.type=`section`}filter(e,t,n){let r=super.filter(e,t,n);if(r&&r.lastChildKey!==null){let t=e.getItem(r.lastChildKey);if(t&&t.type!==`header`)return r}return null}},y_=class{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let e=this.firstKey==null?void 0:this.keyMap.get(this.firstKey);for(;e;)yield e,e=e.nextKey==null?void 0:this.keyMap.get(e.nextKey)}getChildren(e){let t=this.keyMap;return{*[Symbol.iterator](){let n=t.get(e),r=n?.firstChildKey==null?null:t.get(n.firstChildKey);for(;r;)yield r,r=r.nextKey==null?void 0:t.get(r.nextKey)}}}getKeyBefore(e){let t=this.keyMap.get(e);if(!t)return null;if(t.prevKey!=null){for(t=this.keyMap.get(t.prevKey);t&&t.type!==`item`&&t.lastChildKey!=null;)t=this.keyMap.get(t.lastChildKey);return t?.key??null}return t.parentKey}getKeyAfter(e){let t=this.keyMap.get(e);if(!t)return null;if(t.type!==`item`&&t.firstChildKey!=null)return t.firstChildKey;for(;t;){if(t.nextKey!=null)return t.nextKey;if(t.parentKey!=null)t=this.keyMap.get(t.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let e=this.lastKey==null?null:this.keyMap.get(this.lastKey);for(;e?.lastChildKey!=null;)e=this.keyMap.get(e.lastChildKey);return e?.key??null}getItem(e){return this.keyMap.get(e)??null}at(){throw Error(`Not implemented`)}clone(){let e=this.constructor,t=new e;return t.keyMap=new Map(this.keyMap),t.firstKey=this.firstKey,t.lastKey=this.lastKey,t.itemCount=this.itemCount,t}addNode(e){if(this.frozen)throw Error(`Cannot add a node to a frozen collection`);e.type===`item`&&this.keyMap.get(e.key)==null&&this.itemCount++,this.keyMap.set(e.key,e)}addDescendants(e,t){this.addNode(e);let n=t.getChildren(e.key);for(let e of n)this.addDescendants(e,t)}removeNode(e){if(this.frozen)throw Error(`Cannot remove a node to a frozen collection`);let t=this.keyMap.get(e);t!=null&&t.type===`item`&&this.itemCount--,this.keyMap.delete(e)}commit(e,t,n=!1){if(this.frozen)throw Error(`Cannot commit a frozen collection`);this.firstKey=e,this.lastKey=t,this.frozen=!n}filter(e){let t=new this.constructor,[n,r]=b_(this,t,this.firstKey,e);return t?.commit(n,r),t}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}};function b_(e,t,n,r){if(n==null)return[null,null];let i=null,a=null,o=e.getItem(n);for(;o!=null;){let n=o.filter(e,t,r);n!=null&&(n.nextKey=null,a&&(n.prevKey=a.key,a.nextKey=n.key),i??=n,t.addNode(n),a=n),o=o.nextKey==null?null:e.getItem(o.nextKey)}if(a&&a.type===`separator`){let e=a.prevKey;t.removeNode(a.key),e==null?a=null:(a=t.getItem(e),a.nextKey=null)}return[i?.key??null,a?.key??null]}var x_=class{constructor(e){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=e}*[Symbol.iterator](){let e=this.firstChild;for(;e;)yield e,e=e.nextSibling}get firstChild(){return this._firstChild}set firstChild(e){this._firstChild=e,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(e){this._lastChild=e,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(e){this._previousSibling=e,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(e){this._nextSibling=e,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(e){this._parentNode=e,this.ownerDocument.markDirty(this)}get isConnected(){return this.parentNode?.isConnected||!1}invalidateChildIndices(e){(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||e.indexthis.subscriptions.delete(e)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}};function w_(e){let{children:t,items:n,idScope:r,addIdAndValue:i,dependencies:a=[]}=e,o=(0,v.useMemo)(()=>void 0,[t]),s=(0,v.useMemo)(()=>new WeakMap,[...a,o]);return(0,v.useMemo)(()=>{if(n&&typeof t==`function`){let e=[];for(let a of n){let n=T_(a)?a:null,o=n?s.get(n):null;if(!o){o=t(a);let c=o.props.id??a?.key??a?.id;r!=null&&o.props.id==null&&c!=null&&(c=r+`:`+c);let l=c??e.length;o=(0,v.cloneElement)(o,i?{key:l,id:c,value:a}:{key:l}),n&&s.set(n,o)}e.push(o)}return e}if(typeof t!=`function`)return t},[t,n,s,r,i])}function T_(e){switch(typeof e){case`object`:return e!=null;case`function`:case`symbol`:return!0;default:return!1}}var E_=o((e=>{var t=d();function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var f=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;e.useSyncExternalStore=t.useSyncExternalStore===void 0?f:t.useSyncExternalStore})),D_=o(((e,t)=>{t.exports=E_()})),O_=D_(),k_=(0,v.createContext)(!1),A_=(0,v.createContext)(null);function j_(e){if((0,v.useContext)(A_))return e.content;let{collection:t,document:n}=F_(e.createCollection);return v.createElement(v.Fragment,null,v.createElement(Kd,null,v.createElement(A_.Provider,{value:n},e.content)),v.createElement(M_,{render:e.children,collection:t}))}function M_({collection:e,render:t}){return t(e)}function N_(e,t,n){let r=to(),i=(0,v.useRef)(r);i.current=r;let a=(0,v.useCallback)(()=>i.current?n():t(),[t,n]);return(0,O_.useSyncExternalStore)(e,a)}var P_=typeof v.useSyncExternalStore==`function`?v.useSyncExternalStore:N_;function F_(e){let[t]=(0,v.useState)(()=>new C_(e?.()||new y_));return{collection:P_((0,v.useCallback)(e=>t.subscribe(e),[t]),(0,v.useCallback)(()=>{let e=t.getCollection();return t.isSSR&&t.resetAfterSSR(),e},[t]),(0,v.useCallback)(()=>(t.isSSR=!0,t.getCollection()),[t])),document:t}}var I_=(0,v.createContext)(null);function L_(e){return class extends m_{static{this.type=e}}}function R_(e,t,n,r,i,a){typeof e==`string`&&(e=L_(e));let o=(0,v.useCallback)(i=>{i?.setProps(t,n,e,r,a)},[t,n,r,a,e]),s=(0,v.useContext)(I_);if(s){let o=s.ownerDocument.nodesByProps.get(t);return o||(o=s.ownerDocument.createElement(e.type),o.setProps(t,n,e,r,a),s.appendChild(o),s.ownerDocument.updateCollection(),s.ownerDocument.nodesByProps.set(t,o)),i?v.createElement(I_.Provider,{value:o},i):null}return v.createElement(e.type,{ref:o},i)}function z_(e,t){let n=({node:e})=>t(e.props,e.props.ref,e),r=(0,v.forwardRef)((r,i)=>{let a=(0,v.useContext)(kp);if(!(0,v.useContext)(k_)){if(t.length>=3)throw Error(t.name+` cannot be rendered outside a collection.`);return t(r,i)}return R_(e,r,i,`children`in r?r.children:null,null,e=>v.createElement(kp.Provider,{value:a},v.createElement(n,{node:e})))});return r.displayName=t.name,r}function B_(e,t,n=V_){let r=({node:e})=>t(e.props,e.props.ref,e),i=(0,v.forwardRef)((t,i)=>R_(e,t,i,null,n(t),e=>v.createElement(r,{node:e}))??v.createElement(v.Fragment,null));return i.displayName=t.name,i}function V_(e){return w_({...e,addIdAndValue:!0})}var H_=(0,v.createContext)(null);function U_(e){let t=(0,v.useContext)(H_),n=(t?.dependencies||[]).concat(e.dependencies),r=e.idScope??t?.idScope,i=V_({...e,idScope:r,dependencies:n});return(0,v.useContext)(A_)&&(i=v.createElement(W_,null,i)),t=(0,v.useMemo)(()=>({dependencies:n,idScope:r}),[r,...n]),v.createElement(H_.Provider,{value:t},i)}function W_({children:e}){let t=(0,v.useContext)(A_),n=(0,v.useMemo)(()=>v.createElement(A_.Provider,{value:null},v.createElement(k_.Provider,{value:!0},e)),[e]);return to()?v.createElement(I_.Provider,{value:t},n):(0,ys.createPortal)(n,t)}var G_=(0,v.createContext)(null),K_={CollectionRoot({collection:e,renderDropIndicator:t}){return q_(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}){return q_(e,t,n)}};function q_(e,t,n){return w_({items:t?e.getChildren(t.key):e,dependencies:[n],children(t){if(t.type===`content`)return v.createElement(v.Fragment,null);let r=t.render(t);return!n||t.type!==`item`?r:v.createElement(v.Fragment,null,n({type:`item`,key:t.key,dropPosition:`before`}),r,J_(e,t,n))}})}function J_(e,t,n){let r=t.key,i=e.getKeyAfter(r),a=i==null?null:e.getItem(i);for(;a!=null&&a.type!==`item`;)i=e.getKeyAfter(a.key),a=i==null?null:e.getItem(i);let o=t.nextKey==null?null:e.getItem(t.nextKey);for(;o!=null&&o.type!==`item`;)o=o.nextKey==null?null:e.getItem(o.nextKey);let s=[];if(o==null){let r=t;for(;r?.type===`item`&&(!a||r.parentKey!==a.parentKey&&a.levele==null?null:new Set([e]),[e])}function Z_(e){let t=ev(fo(e));t!==e&&(t&&Q_(t,e),e&&$_(e,t))}function Q_(e,t){e.dispatchEvent(new FocusEvent(`blur`,{relatedTarget:t})),e.dispatchEvent(new FocusEvent(`focusout`,{bubbles:!0,relatedTarget:t}))}function $_(e,t){e.dispatchEvent(new FocusEvent(`focus`,{relatedTarget:t})),e.dispatchEvent(new FocusEvent(`focusin`,{bubbles:!0,relatedTarget:t}))}function ev(e){let t=So(e),n=t?.getAttribute(`aria-activedescendant`);return n&&e.getElementById(n)||t}var tv={};tv={collectionLabel:`مقترحات`};var nv={};nv={collectionLabel:`Предложения`};var rv={};rv={collectionLabel:`Návrhy`};var iv={};iv={collectionLabel:`Forslag`};var av={};av={collectionLabel:`Empfehlungen`};var ov={};ov={collectionLabel:`Προτάσεις`};var sv={};sv={collectionLabel:`Suggestions`};var cv={};cv={collectionLabel:`Sugerencias`};var lv={};lv={collectionLabel:`Soovitused`};var uv={};uv={collectionLabel:`Ehdotukset`};var dv={};dv={collectionLabel:`Suggestions`};var fv={};fv={collectionLabel:`הצעות`};var pv={};pv={collectionLabel:`Prijedlozi`};var mv={};mv={collectionLabel:`Javaslatok`};var hv={};hv={collectionLabel:`Suggerimenti`};var gv={};gv={collectionLabel:`候補`};var _v={};_v={collectionLabel:`제안`};var vv={};vv={collectionLabel:`Pasiūlymai`};var yv={};yv={collectionLabel:`Ieteikumi`};var bv={};bv={collectionLabel:`Forslag`};var xv={};xv={collectionLabel:`Suggesties`};var Sv={};Sv={collectionLabel:`Sugestie`};var Cv={};Cv={collectionLabel:`Sugestões`};var wv={};wv={collectionLabel:`Sugestões`};var Tv={};Tv={collectionLabel:`Sugestii`};var Ev={};Ev={collectionLabel:`Предложения`};var Dv={};Dv={collectionLabel:`Návrhy`};var Ov={};Ov={collectionLabel:`Predlogi`};var kv={};kv={collectionLabel:`Predlozi`};var Av={};Av={collectionLabel:`Förslag`};var jv={};jv={collectionLabel:`Öneriler`};var Mv={};Mv={collectionLabel:`Пропозиції`};var Nv={};Nv={collectionLabel:`建议`};var Pv={};Pv={collectionLabel:`建議`};var Fv={};Fv={"ar-AE":tv,"bg-BG":nv,"cs-CZ":rv,"da-DK":iv,"de-DE":av,"el-GR":ov,"en-US":sv,"es-ES":cv,"et-EE":lv,"fi-FI":uv,"fr-FR":dv,"he-IL":fv,"hr-HR":pv,"hu-HU":mv,"it-IT":hv,"ja-JP":gv,"ko-KR":_v,"lt-LT":vv,"lv-LV":yv,"nb-NO":bv,"nl-NL":xv,"pl-PL":Sv,"pt-BR":Cv,"pt-PT":wv,"ro-RO":Tv,"ru-RU":Ev,"sk-SK":Dv,"sl-SI":Ov,"sr-SP":kv,"sv-SE":Av,"tr-TR":jv,"uk-UA":Mv,"zh-CN":Nv,"zh-TW":Pv};function Iv(e){return e&&e.__esModule?e.default:e}function Lv(e,t){let{inputRef:n,collectionRef:r,filter:i,disableAutoFocusFirst:a=!1,disableVirtualFocus:o=!1}=e,s=so(),c=(0,v.useRef)(void 0),l=(0,v.useRef)(!1),u=(0,v.useRef)(null),d=op()===`virtual`&&(Ca()||Da()),[f,p]=(0,v.useState)(!d&&!o),[m,h]=(0,v.useState)(!1),[g,_]=(0,v.useState)(!1);(0,v.useEffect)(()=>()=>clearTimeout(c.current),[]);let y=Ko(e=>{!e.isTrusted&&f&&n.current&&So(fo(n.current))!==n.current&&cp()!==`touch`&&n.current.focus();let i=B(e);e.isTrusted||!i||u.current===i.id||(clearTimeout(c.current),i===r.current?u.current&&!document.getElementById(u.current)&&(u.current=null,t.setFocusedNodeId(null)):l.current?(u.current=i.id,c.current=setTimeout(()=>{t.setFocusedNodeId(i.id)},500)):(u.current=i.id,t.setFocusedNodeId(i.id)),l.current=!1)}),[b,x]=(0,v.useState)(null),S=(0,v.useCallback)(e=>{x(e),e==null?h(!1):(e.getAttribute(`tabindex`)!=null&&p(!1),h(!0))},[]);Ua(()=>(b?.addEventListener(`focusin`,y),()=>{b?.removeEventListener(`focusin`,y)}),[b]);let C=Wo((0,v.useMemo)(()=>Do(r,S),[r,S])),w=(0,v.useCallback)(()=>{if(!r.current){_(!0);return}l.current=!0,r.current?.dispatchEvent(new CustomEvent(ga,{cancelable:!0,bubbles:!0,detail:{focusStrategy:`first`}}))},[r]),T=(0,v.useCallback)(e=>{_(!1),Z_(So()),u.current=null,t.setFocusedNodeId(null);let n=new CustomEvent(ha,{cancelable:!0,bubbles:!0,detail:{clearFocusKey:e}});clearTimeout(c.current),l.current=!1,r.current?.dispatchEvent(n)},[r,t]),E=(0,v.useRef)(``);us(n,`beforeinput`,e=>{let{inputType:t}=e;E.current=t});let D=e=>{(E.current===`insertText`||E.current===`insertCompositionText`||E.current===`insertFromComposition`)&&!a?w():E.current&&(E.current.includes(`insert`)||E.current.includes(`delete`)||E.current.includes(`history`))&&(T(!0),ev(document)===n.current&&$_(n.current,null)),t.setInputValue(e)},O=(0,v.useRef)(null),k=e=>{if(O.current=B(e),e.nativeEvent.isComposing)return;let t=u.current;switch(t!==null&&fo(n.current).getElementById(t)==null&&(u.current=null,t=null),e.key){case`a`:if(ts(e))return;break;case`Escape`:if(e.isDefaultPrevented())return;break;case` `:return;case`Tab`:`continuePropagation`in e&&e.continuePropagation();return;case`Home`:case`End`:case`PageDown`:case`PageUp`:case`ArrowUp`:case`ArrowDown`:case`ArrowRight`:case`ArrowLeft`:{if((e.key===`Home`||e.key===`End`)&&t==null&&e.shiftKey)return;if(e.key===`ArrowRight`||e.key===`ArrowLeft`){if(t==null){e.isPropagationStopped()||e.stopPropagation();return}break}e.preventDefault();let n=new CustomEvent(ga,{cancelable:!0,bubbles:!0});r.current?.dispatchEvent(n);break}}e.isPropagationStopped()||e.stopPropagation();let i=!0;if(r.current!==null){if(t==null)i=r.current?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent))||!1;else{let n=document.getElementById(t);n&&(i=n?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent))||!1)}}if(i)switch(e.key){case`ArrowLeft`:case`ArrowRight`:T();break;case`Enter`:t!=null&&document.getElementById(t)?.dispatchEvent(new PointerEvent(`click`,e.nativeEvent));break}else e.preventDefault()},A=Ko(e=>{if(B(e)===O.current){e.stopImmediatePropagation();let t=u.current;t==null?r.current?.dispatchEvent(new KeyboardEvent(e.type,e)):document.getElementById(t)?.dispatchEvent(new KeyboardEvent(e.type,e))}});(0,v.useEffect)(()=>(document.addEventListener(`keyup`,A,!0),()=>{document.removeEventListener(`keyup`,A,!0)}),[]);let j=Uo({id:s,"aria-label":Xg(Iv(Fv),`@react-aria/autocomplete`).format(`collectionLabel`)}),M=(0,v.useCallback)((e,n)=>!i||i(e,t.inputValue,n),[t.inputValue,i]),N=e=>{if(!e.isTrusted)return;let t=u.current?document.getElementById(u.current):null;t&&Q_(t,e.relatedTarget)},P=e=>{if(e.isTrusted&&u.current&&document.getElementById(u.current)){let t=B(e);queueMicrotask(()=>{Q_(t,r.current),$_(r.current,t)})}},F=e=>{e.button===0&&e.pointerType!==`touch`&&u.current!=null&&n.current!=null&&B(e)===n.current&&T()},I={value:t.inputValue,onChange:D},L={onKeyDown:k,"aria-activedescendant":t.focusedNodeId??void 0,onBlur:N,onFocus:P,onPointerDown:F};return I={...I,...f&&m&&L,enterKeyHint:`go`,"aria-controls":m?s:void 0,"aria-autocomplete":`list`,autoCorrect:`off`,spellCheck:`false`,autoComplete:`off`},{inputProps:I,collectionProps:V(j,{shouldUseVirtualFocus:f,disallowTypeAhead:f,autoFocus:g?`first`:!1}),collectionRef:C,filter:i==null?void 0:M}}function Rv(e){let{onInputChange:t,inputValue:n,defaultInputValue:r=``}=e,i=e=>{t&&t(e)},[a,o]=(0,v.useState)(null),[s,c]=fm(n,r,i);return{inputValue:s,setInputValue:c,focusedNodeId:a,setFocusedNodeId:o}}var zv=(0,v.createContext)(null),Bv=(0,v.createContext)(null),Vv=(0,v.createContext)(null),Hv=(0,v.createContext)(null);function Uv(e){e=V(zd(zv,e.slot),e);let{filter:t,disableAutoFocusFirst:n}=e,r=Rv(e),i=(0,v.useRef)(null),a=(0,v.useRef)(null),{inputProps:o,collectionProps:s,collectionRef:c,filter:l}=Lv({...Hd(e),filter:t,disableAutoFocusFirst:n,inputRef:i,collectionRef:a},r);return v.createElement(Id,{values:[[Bv,r],[Hv,{...o,ref:i}],[Vv,{...s,filter:l,ref:c}]]},e.children)}var Wv=(0,v.createContext)({}),Gv=(0,v.createContext)({}),Kv=(0,v.createContext)(null);function qv(e){let t=(0,v.useRef)({});return v.createElement(Kv.Provider,{value:t},e.children)}var Jv=(0,v.forwardRef)(function(e,t){let{name:n,isVisible:r=!0,children:i,className:a,style:o,render:s,...c}=e,[l,u]=(0,v.useState)(r?`visible`:`hidden`),d=(0,v.useContext)(Kv);if(!d)throw Error(` must be rendered inside a `);r&&l===`hidden`&&u(`visible`),t=Wo(t),Ua(()=>{let e=t.current,i=d.current,a=i[n],o=null;if(e&&r&&a){u(`visible`);let t=e.getAnimations(),r=a.style.map(([t,n])=>{let r=e.style[t];if(t===`translate`){let t=a.rect,n=e.getBoundingClientRect(),r=t.left-n?.left,i=t.top-n?.top;e.style.translate=`${r}px ${i}px`}else e.style[t]=n;return[t,r]});for(let n of e.getAnimations())t.includes(n)||n.cancel();o=requestAnimationFrame(()=>{o=null;for(let[t,n]of r)e.style[t]=n}),delete i[n]}else e&&r&&!a?(queueMicrotask(()=>(0,ys.flushSync)(()=>u(`entering`))),o=requestAnimationFrame(()=>{o=null,u(`visible`)})):e&&!r&&queueMicrotask(()=>{i[n]?(delete i[n],(0,ys.flushSync)(()=>u(`exiting`)),Promise.all(e.getAnimations().map(e=>e.finished)).then(()=>u(`hidden`)).catch(()=>{})):u(`hidden`)});return()=>{if(o!=null&&cancelAnimationFrame(o),e&&e.isConnected&&!e.hasAttribute(`data-exiting`)){let t=window.getComputedStyle(e);if(t.transitionProperty!==`none`){let r=t.transitionProperty.split(/\s*,\s*/);i[n]={rect:e.getBoundingClientRect(),style:r.map(e=>[e,t[e]])}}}}},[t,d,n,r]);let f=Ld({children:i,className:a,style:o,render:s,values:{isEntering:l===`entering`,isExiting:l===`exiting`}});return l===`hidden`?null:v.createElement(J.div,{...c,...f,ref:t,"data-entering":l===`entering`||void 0,"data-exiting":l===`exiting`||void 0})}),Yv=(0,v.createContext)({isSelected:!1}),Xv=(0,v.forwardRef)(function(e,t){[e,t]=Bd(e,t,Yv);let{isSelected:n,...r}=e;return v.createElement(Jv,{...r,ref:t,className:e.className||`react-aria-SelectionIndicator`,name:`SelectionIndicator`,isVisible:n})});function Zv(e){let t=H(e,{labelable:!0}),n;return e.orientation===`vertical`&&(n=`vertical`),e.elementType===`hr`?{separatorProps:t}:{separatorProps:{...t,role:`separator`,"aria-orientation":n}}}var Qv=(0,v.createContext)({}),$v=z_(class extends m_{static{this.type=`separator`}filter(e,t){let n=t.getItem(this.prevKey);if(n&&n.type!==`separator`){let n=this.clone();return t.addDescendants(n,e),n}return null}},function(e,t){[e,t]=Bd(e,t,Qv);let{elementType:n,orientation:r,style:i,className:a,slot:o,...s}=e,c=n||`hr`;c===`hr`&&r===`vertical`&&(c=`div`);let l=J[c],{separatorProps:u}=Zv({...s,elementType:n,orientation:r}),d=H(e,{global:!0});return v.createElement(l,{render:e.render,...V(d,u),style:i,className:a??`react-aria-Separator`,ref:t,slot:o||void 0})}),ey=(0,v.createContext)({}),ty=(0,v.forwardRef)(function(e,t){[e,t]=Bd(e,t,ey);let{elementType:n=`span`,...r}=e,i=J[n];return v.createElement(i,{className:`react-aria-Text`,...r,ref:t})}),ny={};ny={longPressMessage:`اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة`};var ry={};ry={longPressMessage:`Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто`};var iy={};iy={longPressMessage:`Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku`};var ay={};ay={longPressMessage:`Langt tryk eller tryk på Alt + pil ned for at åbne menuen`};var oy={};oy={longPressMessage:`Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen`};var sy={};sy={longPressMessage:`Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού`};var cy={};cy={longPressMessage:`Long press or press Alt + ArrowDown to open menu`};var ly={};ly={longPressMessage:`Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú`};var uy={};uy={longPressMessage:`Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool`};var dy={};dy={longPressMessage:`Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli`};var fy={};fy={longPressMessage:`Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu.`};var py={};py={longPressMessage:`לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט`};var my={};my={longPressMessage:`Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika`};var hy={};hy={longPressMessage:`Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához`};var gy={};gy={longPressMessage:`Premi a lungo o premi Alt + Freccia giù per aprire il menu`};var _y={};_y={longPressMessage:`長押しまたは Alt+下矢印キーでメニューを開く`};var vy={};vy={longPressMessage:`길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기`};var yy={};yy={longPressMessage:`Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“.`};var by={};by={longPressMessage:`Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa`};var xy={};xy={longPressMessage:`Langt trykk eller trykk Alt + PilNed for å åpne menyen`};var Sy={};Sy={longPressMessage:`Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen`};var Cy={};Cy={longPressMessage:`Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu`};var wy={};wy={longPressMessage:`Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu`};var Ty={};Ty={longPressMessage:`Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu`};var Ey={};Ey={longPressMessage:`Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul`};var Dy={};Dy={longPressMessage:`Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню`};var Oy={};Oy={longPressMessage:`Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol`};var ky={};ky={longPressMessage:`Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol`};var Ay={};Ay={longPressMessage:`Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni`};var jy={};jy={longPressMessage:`Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn`};var My={};My={longPressMessage:`Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın`};var Ny={};Ny={longPressMessage:`Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню`};var Py={};Py={longPressMessage:`长按或按 Alt + 向下方向键以打开菜单`};var Fy={};Fy={longPressMessage:`長按或按 Alt+向下鍵以開啟功能表`};var Iy={};Iy={"ar-AE":ny,"bg-BG":ry,"cs-CZ":iy,"da-DK":ay,"de-DE":oy,"el-GR":sy,"en-US":cy,"es-ES":ly,"et-EE":uy,"fi-FI":dy,"fr-FR":fy,"he-IL":py,"hr-HR":my,"hu-HU":hy,"it-IT":gy,"ja-JP":_y,"ko-KR":vy,"lt-LT":yy,"lv-LV":by,"nb-NO":xy,"nl-NL":Sy,"pl-PL":Cy,"pt-BR":wy,"pt-PT":Ty,"ro-RO":Ey,"ru-RU":Dy,"sk-SK":Oy,"sl-SI":ky,"sr-SP":Ay,"sv-SE":jy,"tr-TR":My,"uk-UA":Ny,"zh-CN":Py,"zh-TW":Fy};var Ly=500;function Ry(e){let{isDisabled:t,pointerType:n,onLongPressStart:r,onLongPressEnd:i,onLongPress:a,threshold:o=Ly,accessibilityDescription:s}=e,c=(0,v.useRef)(void 0),{addGlobalListener:l,removeAllGlobalListeners:u}=Ho(),d=e=>n?e.pointerType===n:e.pointerType===`mouse`||e.pointerType===`touch`,{pressProps:f}=Wp({isDisabled:t,onPressStart(e){if(e.continuePropagation(),d(e)){r&&r({...e,type:`longpressstart`}),c.current=setTimeout(()=>{e.target.dispatchEvent(new PointerEvent(`pointercancel`,{bubbles:!0})),l(e.target,`click`,e=>e.preventDefault(),{once:!0}),fo(e.target).activeElement!==e.target&&ka(e.target),a&&a({...e,type:`longpress`}),c.current=void 0},o),e.pointerType===`touch`&&l(e.target,`contextmenu`,e=>e.preventDefault(),{once:!0});let t=po(e.target);l(t,`pointerup`,()=>{setTimeout(()=>{u()},100)},{once:!0})}},onPressEnd(e){c.current&&clearTimeout(c.current),i&&d(e)&&i({...e,type:`longpressend`})}});return{longPressProps:V(f,ls(a&&!t?s:void 0))}}function zy(e){let{onContextMenu:t}=e,n=(0,v.useRef)(!1),{longPressProps:r}=Ry({onLongPressStart(){n.current=!1},onLongPress(e){n.current?n.current=!1:t?.({target:e.target,x:e.x,y:e.y})}});return t?{contextMenuProps:V(Ca()?r:{},{onContextMenu(e){e.stopPropagation(),e.preventDefault(),n.current=!0;let r=e.currentTarget.getBoundingClientRect();t({target:e.currentTarget,x:e.clientX-r.x,y:e.clientY-r.y})},onKeyDown(e){if(ba()&&e.ctrlKey&&e.key===`Enter`){n.current=!1;let r=e.currentTarget;e.stopPropagation(),setTimeout(()=>{if(n.current)n.current=!1;else{let e=r.getBoundingClientRect();t({target:r,x:e.width/2,y:e.height/2})}},10)}}})}:{contextMenuProps:{}}}function By(e,t,n){let{type:r}=e,{isOpen:i}=t;(0,v.useEffect)(()=>{n&&n.current&&oh.set(n.current,t.close)});let a;r===`menu`?a=!0:r===`listbox`&&(a=`listbox`);let o=so();return{triggerProps:{"aria-haspopup":a,"aria-expanded":i,"aria-controls":i?o:void 0,onPress:t.toggle},overlayProps:{id:o}}}function Vy(e){return e&&e.__esModule?e.default:e}function Hy(e,t,n){let{type:r=`menu`,isDisabled:i,trigger:a=`press`}=e,o=so(),{triggerProps:s,overlayProps:c}=By({type:r},t,n),l=(e,n,r=`first`)=>{if(!e||n.isDefaultPrevented())return!1;t.toggle(r)},{keyboardProps:u}=Op({isDisabled:i,shortcuts:{Enter:e=>l(a!==`longPress`,e,`first`)," ":e=>l(a!==`longPress`,e,`first`),ArrowDown:e=>l(a!==`longPress`,e,`first`),ArrowUp:e=>l(a!==`longPress`,e,`last`),"Alt+Enter":e=>l(a===`longPress`,e,`first`),"Alt+ ":e=>l(a===`longPress`,e,`first`),"Alt+ArrowDown":e=>l(!0,e,`first`),"Alt+ArrowUp":e=>l(!0,e,`last`)}}),d=Xg(Vy(Iy),`@react-aria/menu`),{longPressProps:f}=Ry({isDisabled:i||a!==`longPress`,accessibilityDescription:d.format(`longPressMessage`),onLongPressStart(){t.close()},onLongPress(){t.open(`first`)}}),p={preventFocusOnPress:!0,onPressStart(e){e.pointerType!==`touch`&&e.pointerType!==`keyboard`&&!i&&(ka(e.target),t.open(e.pointerType===`virtual`?`first`:null))},onPress(e){e.pointerType===`touch`&&!i&&(ka(e.target),t.toggle())}};delete s.onPress;let{contextMenuProps:m}=zy({onContextMenu(e){let n=e.target.getBoundingClientRect();t.setPoint({x:n.x+e.x,y:n.y+e.y}),t.open()}});(0,v.useEffect)(()=>{if(t.isOpen&&a===`contextMenu`){let e=e=>{(e.button===2||e.button===0&&e.ctrlKey===!0)&&B(e)===document.body&&t.close()};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)}},[t,a]);let h;if(a===`press`)h={...p,...u};else if(a===`longPress`)h={...f,...u};else if(a===`contextMenu`){h=m;let{"aria-haspopup":e,"aria-expanded":t,"aria-controls":n,...r}=s;s=r}return{menuTriggerProps:{...s,...h,id:o},menuProps:{...c,"aria-labelledby":o,autoFocus:t.focusStrategy||!0,onClose:t.close}}}var Uy=new WeakMap;function Wy(e){return wa()?e.altKey:e.ctrlKey}function Gy(e,t){let n=`[data-key="${CSS.escape(String(t))}"]`,r=e.current?.dataset.collection;return r&&(n=`[data-collection="${CSS.escape(r)}"]${n}`),e.current?.querySelector(n)}var Ky=new WeakMap;function qy(e){let t=so();return Ky.set(e,t),t}function Jy(e){return Ky.get(e)}var Yy=1e3;function Xy(e){let{keyboardDelegate:t,selectionManager:n,onTypeSelect:r}=e,i=(0,v.useRef)({search:``,timeout:void 0});return(0,v.useEffect)(()=>{let e=i.current.timeout;return()=>{clearTimeout(e)}},[i]),{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?e=>{if(i.current.search.length>0&&e.key===` `){if(e.preventDefault(),(!(`continuePropagation`in e)||`continuePropagation`in e&&!e.isPropagationStopped())&&e.stopPropagation(),i.current.search+=` `,t.getKeyForSearch!=null){let e=t.getKeyForSearch(i.current.search,n.focusedKey);e??=t.getKeyForSearch(i.current.search),e!=null&&(n.setFocusedKey(e),r&&r(e))}clearTimeout(i.current.timeout),i.current.timeout=setTimeout(()=>{i.current.search=``},Yy)}}:void 0,onKeyDown:t.getKeyForSearch?e=>{let a=Zy(e.key);if(!(!a||e.ctrlKey||e.metaKey||e.altKey||!xo(e.currentTarget,B(e))||i.current.search.length===0&&a===` `)){if(i.current.search+=a,t.getKeyForSearch!=null){let a=t.getKeyForSearch(i.current.search,n.focusedKey);if(a??=t.getKeyForSearch(i.current.search),a!=null)n.setFocusedKey(a),r&&r(a),e.preventDefault(),`continuePropagation`in e||e.stopPropagation();else{i.current.search=``,clearTimeout(i.current.timeout),i.current.timeout=void 0;return}}clearTimeout(i.current.timeout),i.current.timeout=setTimeout(()=>{i.current.search=``},Yy)}}:void 0}}}function Zy(e){return e.length===1||!/^[A-Z]/i.test(e)?e:``}function Qy(e){let{selectionManager:t,keyboardDelegate:n,ref:r,autoFocus:i=!1,shouldFocusWrap:a=!1,disallowEmptySelection:o=!1,disallowSelectAll:s=!1,escapeKeyBehavior:c=`clearSelection`,selectOnFocus:l=t.selectionBehavior===`replace`,disallowTypeAhead:u=!1,shouldUseVirtualFocus:d,allowsTabNavigation:f=!1,scrollRef:p=r,linkBehavior:m=`action`,UNSTABLE_focusOnEntry:h}=e,{direction:g}=lf(),_=Fa(),y=(e,n,i)=>{if(n!=null){if(t.isLink(n)&&m===`selection`&&l&&!Wy(e)){(0,ys.flushSync)(()=>{t.setFocusedKey(n,i)});let a=Gy(r,n),o=t.getItemProps(n);if(a){_.open(a,e,o.href,o.routerOptions);return}return!1}if(t.setFocusedKey(n,i),t.isLink(n)&&m===`override`)return!1;if(e.shiftKey&&t.selectionMode===`multiple`){t.extendSelection(n);return}if(l&&!Wy(e)){t.replaceSelection(n);return}}return!1},b=e=>{if(n.getKeyBelow){let r=t.focusedKey==null?n.getFirstKey?.():n.getKeyBelow?.(t.focusedKey);if(r==null&&a&&(r=n.getFirstKey?.(t.focusedKey)),r!=null){y(e,r);return}}return!1},x=e=>{if(n.getKeyAbove){let r=t.focusedKey==null?n.getLastKey?.():n.getKeyAbove?.(t.focusedKey);if(r==null&&a&&(r=n.getLastKey?.(t.focusedKey)),r!=null){y(e,r);return}}return!1},S=e=>{if(n.getFirstKey){if(t.focusedKey===null&&e.shiftKey)return!1;let r=n.getFirstKey(t.focusedKey,ts(e));if(t.setFocusedKey(r),r!=null){if(ts(e)&&e.shiftKey&&t.selectionMode===`multiple`){t.extendSelection(r);return}if(l){t.replaceSelection(r);return}}}return!1},C=e=>{if(n.getKeyLeftOf){let r=t.focusedKey==null?n.getFirstKey?.():n.getKeyLeftOf?.(t.focusedKey);if(r==null&&a&&(r=g===`rtl`?n.getFirstKey?.(t.focusedKey):n.getLastKey?.(t.focusedKey)),r!=null){y(e,r,g===`rtl`?`first`:`last`);return}}return!1},w=e=>{if(n.getKeyRightOf){let r=t.focusedKey==null?n.getFirstKey?.():n.getKeyRightOf?.(t.focusedKey);if(r==null&&a&&(r=g===`rtl`?n.getLastKey?.(t.focusedKey):n.getFirstKey?.(t.focusedKey)),r!=null){y(e,r,g===`rtl`?`last`:`first`);return}}return!1},T=e=>{if(n.getLastKey){if(t.focusedKey===null&&e.shiftKey)return!1;let r=n.getLastKey(t.focusedKey,ts(e));if(t.setFocusedKey(r),r!=null){if(ts(e)&&e.shiftKey&&t.selectionMode===`multiple`){t.extendSelection(r);return}if(l){t.replaceSelection(r);return}}}return!1},E=e=>{if(n.getKeyPageBelow&&t.focusedKey!=null){let r=n.getKeyPageBelow(t.focusedKey);if(r!=null)return y(e,r)}return!1},D=e=>{if(n.getKeyPageAbove&&t.focusedKey!=null){let r=n.getKeyPageAbove(t.focusedKey);if(r!=null)return y(e,r)}return!1},O=()=>{if(t.selectionMode===`multiple`&&s!==!0){t.selectAll();return}return!1},k=()=>{if(c===`clearSelection`&&!o&&t.selectedKeys.size!==0){t.clearSelection();return}return!1},A=()=>{if(!f&&r.current){let e=Fh(r.current,{tabbable:!0}),t,n;do n=e.lastChild(),n&&(t=n);while(n);let i=So();t&&(!wo(t)||i&&!js(i))&&ka(t)}return{shouldContinuePropagation:!0,shouldPreventDefault:!1}},j=()=>(!f&&r.current&&r.current.focus(),{shouldContinuePropagation:!0,shouldPreventDefault:!1}),M=(e,t)=>({[ba()?e+`+Shift+Alt`:e+`+Shift+Control`]:t,[e+`+Shift`]:t,[ba()?e+`+Alt`:e+`+Control`]:t,[e]:t}),{keyboardProps:N}=Op({shortcuts:{...M(`ArrowDown`,b),...M(`ArrowUp`,x),...M(`ArrowLeft`,C),...M(`ArrowRight`,w),...M(`PageDown`,E),...M(`PageUp`,D)},allowRepeats:!0}),{keyboardProps:P}=Op({shortcuts:{...M(`Home`,S),...M(`End`,T),"Mod+A":O,Escape:k,Tab:A,"Tab+Shift":j}}),F=(0,v.useRef)({top:0,left:0});us(p,`scroll`,()=>{F.current={top:p.current?.scrollTop??0,left:p.current?.scrollLeft??0}});let I=e=>{if(t.isFocused){xo(e.currentTarget,B(e))||t.setFocused(!1);return}if(!xo(e.currentTarget,B(e)))return;let i=op();t.setFocused(!0);let a=e=>{e!=null&&(t.setFocusedKey(e),l&&!t.isSelected(e)&&t.replaceSelection(e))};if(h&&(i===`keyboard`||i===`virtual`))a(h===`first`?n.getFirstKey?.():n.getLastKey?.());else if(t.focusedKey==null){let r=e.relatedTarget;r&&e.currentTarget.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_FOLLOWING?a(t.lastSelectedKey??n.getLastKey?.()):a(t.firstSelectedKey??n.getFirstKey?.())}else p.current&&(p.current.scrollTop=F.current.top,p.current.scrollLeft=F.current.left);if(t.focusedKey!=null&&p.current){let e=Gy(r,t.focusedKey);e instanceof HTMLElement&&(!wo(e)&&!d&&ka(e),(i===`keyboard`||h&&i===`virtual`)&&fs(e,{containingElement:r.current}))}},L=e=>{xo(e.currentTarget,e.relatedTarget)||t.setFocused(!1)},R=(0,v.useRef)(!1);us(r,ga,d?e=>{let{detail:n}=e;e.stopPropagation(),t.setFocused(!0),n?.focusStrategy===`first`&&(R.current=!0)}:void 0);let ee=n.getFirstKey?.()??null;Jo(()=>{if(R.current){if(ee==null){let e=So();Z_(r.current),$_(e,null),t.collection.size>0&&(R.current=!1)}else t.setFocusedKey(ee),R.current=!1}},[ee,t.collection.size]),Jo(()=>{t.collection.size>0&&(R.current=!1)},[t.focusedKey]),us(r,ha,d?e=>{e.stopPropagation(),t.setFocused(!1),e.detail?.clearFocusKey&&t.setFocusedKey(null)}:void 0);let te=(0,v.useRef)(i),ne=(0,v.useRef)(!1);(0,v.useEffect)(()=>{if(te.current){let e=null;i===`first`&&(e=n.getFirstKey?.()??null),i===`last`&&(e=n.getLastKey?.()??null);let a=t.selectedKeys;if(a.size){for(let n of a)if(t.canSelectItem(n)){e=n;break}}t.setFocused(!0),t.setFocusedKey(e),e==null&&!d&&r.current&&pp(r.current),t.collection.size>0&&(te.current=!1,ne.current=!0)}});let re=(0,v.useRef)(t.focusedKey),z=(0,v.useRef)(null);(0,v.useEffect)(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==re.current||ne.current)&&p.current&&r.current){let e=op(),n=Gy(r,t.focusedKey);if(!(n instanceof HTMLElement))return;(e===`keyboard`||ne.current)&&(z.current&&cancelAnimationFrame(z.current),z.current=requestAnimationFrame(()=>{p.current&&(ds(p.current,n),e!==`virtual`&&fs(n,{containingElement:r.current}))}))}!d&&t.isFocused&&t.focusedKey==null&&re.current!=null&&r.current&&pp(r.current),re.current=t.focusedKey,ne.current=!1}),(0,v.useEffect)(()=>()=>{z.current&&cancelAnimationFrame(z.current)},[]),us(r,`react-aria-focus-scope-restore`,e=>{e.preventDefault(),t.setFocused(!0)});let ie={...V(P,N),onFocus:I,onBlur:L,onMouseDown(e){p.current===B(e)&&e.preventDefault()}},{typeSelectProps:ae}=Xy({keyboardDelegate:n,selectionManager:t});u||(ie=V(ae,ie));let oe;d||(oe=t.focusedKey==null?0:-1);let se=qy(t.collection);return{collectionProps:V(ie,{tabIndex:oe,"data-collection":se})}}var $y=class{constructor(e){this.ref=e}getItemRect(e){let t=this.ref.current;if(!t)return null;let n=e==null?null:Gy(this.ref,e);if(!n)return null;let r=t.getBoundingClientRect(),i=n.getBoundingClientRect();return{x:i.left-r.left-t.clientLeft+t.scrollLeft,y:i.top-r.top-t.clientTop+t.scrollTop,width:i.width,height:i.height}}getContentSize(){let e=this.ref.current;return{width:e?.scrollWidth??0,height:e?.scrollHeight??0}}getVisibleRect(){let e=this.ref.current;return{x:e?.scrollLeft??0,y:e?.scrollTop??0,width:e?.clientWidth??0,height:e?.clientHeight??0}}},eb=class{constructor(...e){if(e.length===1){let t=e[0];this.collection=t.collection,this.ref=t.ref,this.collator=t.collator,this.disabledKeys=t.disabledKeys||new Set,this.disabledBehavior=t.disabledBehavior||`all`,this.orientation=t.orientation||`vertical`,this.direction=t.direction,this.layout=t.layout||`stack`,this.layoutDelegate=t.layoutDelegate||new $y(t.ref)}else this.collection=e[0],this.disabledKeys=e[1],this.ref=e[2],this.collator=e[3],this.layout=`stack`,this.orientation=`vertical`,this.disabledBehavior=`all`,this.layoutDelegate=new $y(this.ref);this.layout===`stack`&&this.orientation===`vertical`&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}isDisabled(e){return this.disabledBehavior===`all`&&(e.props?.isDisabled||this.disabledKeys.has(e.key))&&e.props?.disabledBehavior!==`selection`}findNextNonDisabled(e,t,n=!1){let r=e;for(;r!=null;){let e=this.collection.getItem(r);if(e?.type===`item`&&(n||!this.isDisabled(e)))return r;r=t(r)}return null}getNextKey(e,t){let n=e;return n=this.collection.getKeyAfter(n),this.findNextNonDisabled(n,e=>this.collection.getKeyAfter(e),t?.includeDisabled)}getPreviousKey(e,t){let n=e;return n=this.collection.getKeyBefore(n),this.findNextNonDisabled(n,e=>this.collection.getKeyBefore(e),t?.includeDisabled)}findKey(e,t,n){let r=e,i=this.layoutDelegate.getItemRect(r);if(!i||r==null)return null;let a=i;do{if(r=t(r),r==null)break;i=this.layoutDelegate.getItemRect(r)}while(i&&n(a,i)&&r!=null);return r}isSameRow(e,t){return e.y===t.y||e.x!==t.x}isSameColumn(e,t){return e.x===t.x||e.y!==t.y}isReversed(e){let t=this.getNextKey(e),n=Gy(this.ref,e);if(t!=null){let e=Gy(this.ref,t);return!n||!e?!1:n.getBoundingClientRect().top>e.getBoundingClientRect().top}let r=this.getPreviousKey(e);if(r!=null){let e=Gy(this.ref,r);return!n||!e?!1:e.getBoundingClientRect().top>n.getBoundingClientRect().top}return!1}getKeyBelow(e,t){return this.layout===`grid`&&this.orientation===`vertical`?this.findKey(e,e=>this.getNextKey(e,t),this.isSameRow):this.orientation===`vertical`&&this.isReversed(e)?this.getPreviousKey(e,t):this.getNextKey(e,t)}getKeyAbove(e,t){return this.layout===`grid`&&this.orientation===`vertical`?this.findKey(e,e=>this.getPreviousKey(e,t),this.isSameRow):this.orientation===`vertical`&&this.isReversed(e)?this.getNextKey(e,t):this.getPreviousKey(e,t)}getNextColumn(e,t,n){return t?this.getPreviousKey(e,n):this.getNextKey(e,n)}getKeyRightOf(e,t){let n=this.direction===`ltr`?`getKeyRightOf`:`getKeyLeftOf`;return this.layoutDelegate[n]?(e=this.layoutDelegate[n](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[n](e),t?.includeDisabled)):this.layout===`grid`?this.orientation===`vertical`?this.getNextColumn(e,this.direction===`rtl`,t):this.findKey(e,e=>this.getNextColumn(e,this.direction===`rtl`,t),this.isSameColumn):this.orientation===`horizontal`?this.getNextColumn(e,this.direction===`rtl`,t):null}getKeyLeftOf(e,t){let n=this.direction===`ltr`?`getKeyLeftOf`:`getKeyRightOf`;return this.layoutDelegate[n]?(e=this.layoutDelegate[n](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[n](e),t?.includeDisabled)):this.layout===`grid`?this.orientation===`vertical`?this.getNextColumn(e,this.direction===`ltr`,t):this.findKey(e,e=>this.getNextColumn(e,this.direction===`ltr`,t),this.isSameColumn):this.orientation===`horizontal`?this.getNextColumn(e,this.direction===`ltr`,t):null}getFirstKey(){let e=this.collection.getFirstKey();return this.findNextNonDisabled(e,e=>this.collection.getKeyAfter(e))}getLastKey(){let e=this.collection.getLastKey();return this.findNextNonDisabled(e,e=>this.collection.getKeyBefore(e))}getKeyPageAbove(e){let t=this.ref.current,n=this.layoutDelegate.getItemRect(e);if(!n)return null;let r=this.isReversed(e);if(t&&!Qo(t))return this.getFirstKey();let i=e;if(this.orientation===`horizontal`){let e=Math.max(0,n.x+n.width-this.layoutDelegate.getVisibleRect().width);for(;n&&n.x>e&&i!=null;)i=this.getKeyAbove(i),n=i==null?null:this.layoutDelegate.getItemRect(i)}else{let e=this.layoutDelegate.getVisibleRect(),t=r?n.y-e.height:Math.max(0,n.y+n.height-e.height);for(;n&&n.y>t&&i!=null;)i=this.getKeyAbove(i),n=i==null?null:this.layoutDelegate.getItemRect(i)}return i??(r?this.getLastKey():this.getFirstKey())}getKeyPageBelow(e){let t=this.ref.current,n=this.layoutDelegate.getItemRect(e);if(!n)return null;let r=this.isReversed(e);if(t&&!Qo(t))return this.getLastKey();let i=e;if(this.orientation===`horizontal`){let e=Math.min(this.layoutDelegate.getContentSize().width,n.x-n.width+this.layoutDelegate.getVisibleRect().width);for(;n&&n.xe[0]a||new eb({collection:n,disabledKeys:r,disabledBehavior:l,ref:i,collator:c,layoutDelegate:o,orientation:s}),[a,o,n,r,i,c,l,s]),{collectionProps:d}=Qy({...e,ref:i,selectionManager:t,keyboardDelegate:u});return{listProps:d}}function ib(e,t,n){let{shouldFocusWrap:r=!0,onKeyDown:i,onKeyUp:a,...o}=e;!e[`aria-label`]&&e[`aria-labelledby`];let s=H(e,{labelable:!0}),{listProps:c}=rb({...o,ref:n,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:r,linkBehavior:`override`});return Uy.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:V(s,{onKeyDown:i,onKeyUp:a},{role:`menu`,...c,onKeyDown:t=>{(t.key!==`Escape`||e.shouldUseVirtualFocus)&&c.onKeyDown?.(t)}})}}function ab(e){let{id:t,selectionManager:n,key:r,ref:i,shouldSelectOnPressUp:a,shouldUseVirtualFocus:o,focus:s,isDisabled:c,onAction:l,allowsDifferentPressOrigin:u,linkBehavior:d=`action`}=e,f=Fa();t=so(t);let p=e=>{if(e.pointerType===`keyboard`&&Wy(e))n.toggleSelection(r);else{if(n.selectionMode===`none`)return;if(n.isLink(r)){if(d===`selection`&&i.current){let t=n.getItemProps(r);f.open(i.current,e,t.href,t.routerOptions),n.setSelectedKeys(n.selectedKeys);return}if(d===`override`||d===`none`)return}n.selectionMode===`single`?n.isSelected(r)&&!n.disallowEmptySelection?n.toggleSelection(r):n.replaceSelection(r):e&&e.shiftKey?n.extendSelection(r):n.selectionBehavior===`toggle`||e&&(ts(e)||e.pointerType===`touch`||e.pointerType===`virtual`)?n.toggleSelection(r):n.replaceSelection(r)}};(0,v.useEffect)(()=>{r===n.focusedKey&&n.isFocused&&(o?Z_(i.current):s?s():So()!==i.current&&i.current&&pp(i.current))},[i,r,n.focusedKey,n.childFocusStrategy,n.isFocused,o]),c||=n.isDisabled(r);let m={};!o&&!c?m={tabIndex:r===n.focusedKey?0:-1,onFocus(e){B(e)===i.current&&n.setFocusedKey(r)}}:c&&(m.onMouseDown=e=>{e.preventDefault()}),(0,v.useEffect)(()=>{c&&n.focusedKey===r&&n.setFocusedKey(null)},[n,c,r]);let h=n.isLink(r)&&d===`override`,g=l&&e.UNSTABLE_itemBehavior===`action`,_=n.isLink(r)&&d!==`selection`&&d!==`none`,y=!c&&n.canSelectItem(r)&&!h&&!g,b=(l||_)&&!c,x=b&&(n.selectionBehavior===`replace`?!y:!y||n.isEmpty),S=b&&y&&n.selectionBehavior===`replace`,C=x||S,w=(0,v.useRef)(null),T=C&&y,E=(0,v.useRef)(!1),D=(0,v.useRef)(!1),O=n.getItemProps(r),k=e=>{l&&(l(),i.current?.dispatchEvent(new CustomEvent(`react-aria-item-action`,{bubbles:!0}))),_&&i.current&&f.open(i.current,e,O.href,O.routerOptions)},A={ref:i};a?(A.onPressStart=e=>{w.current=e.pointerType,E.current=T,e.pointerType===`keyboard`&&(!C||sb(e.key))&&p(e)},u?(A.onPressUp=x?void 0:e=>{e.pointerType===`mouse`&&y&&p(e)},A.onPress=x?k:e=>{e.pointerType!==`keyboard`&&e.pointerType!==`mouse`&&y&&p(e)}):A.onPress=e=>{if(x||S&&e.pointerType!==`mouse`){if(e.pointerType===`keyboard`&&!ob(e.key))return;k(e)}else e.pointerType!==`keyboard`&&y&&p(e)}):(A.onPressStart=e=>{w.current=e.pointerType,E.current=T,D.current=x,y&&(e.pointerType===`mouse`&&!x||e.pointerType===`keyboard`&&(!b||sb(e.key)))&&p(e)},A.onPress=e=>{(e.pointerType===`touch`||e.pointerType===`pen`||e.pointerType===`virtual`||e.pointerType===`keyboard`&&C&&ob(e.key)||e.pointerType===`mouse`&&D.current)&&(C?k(e):y&&p(e))});let j=Jy(n.collection);if(m[`data-collection`]=j,m[`data-key`]=r,A.preventFocusOnPress=o,o&&(A=V(A,{onPressStart(e){e.pointerType!==`touch`&&(n.setFocused(!0),n.setFocusedKey(r))},onPress(e){e.pointerType===`touch`&&(n.setFocused(!0),n.setFocusedKey(r))}})),O)for(let e of[`onPressStart`,`onPressEnd`,`onPressChange`,`onPress`,`onPressUp`,`onClick`])O[e]&&(A[e]=uo(A[e],O[e]));let{pressProps:M,isPressed:N}=Wp(A),P=S?e=>{w.current===`mouse`&&(e.stopPropagation(),e.preventDefault(),k(e))}:void 0,{longPressProps:F}=Ry({isDisabled:!T,onLongPress(e){e.pointerType===`touch`&&(p(e),n.setSelectionBehavior(`toggle`))}}),I=e=>{w.current===`touch`&&E.current&&e.preventDefault()},L=d!==`none`&&n.isLink(r)?e=>{La.isOpening||e.preventDefault()}:void 0,R=V(m,y||x||o&&!c?M:{},T?F:{},{onDoubleClick:P,onDragStartCapture:I,onClick:L,id:t},o?{onMouseDown:e=>e.preventDefault()}:void 0),ee=e=>{let t=e;for(;t&&t!==i.current;){let e=t.getAttribute(`data-collection`);if(e!=null)return e!==j;t=t.parentElement}return js(e)},te=R.onPointerDown;R.onPointerDown=e=>{let t=B(e);if(t&&t!==i.current&&ee(t)){e.stopPropagation();return}te?.(e)};let ne=R.onMouseDown;return R.onMouseDown=e=>{let t=B(e);if(t&&t!==i.current&&ee(t)){e.stopPropagation();return}ne?.(e)},{itemProps:R,isPressed:N,isSelected:n.isSelected(r),isFocused:n.isFocused&&n.focusedKey===r,isDisabled:c,allowsSelection:y,hasAction:C}}function ob(e){return e===`Enter`}function sb(e){return e===` `}function cb(e,t){return typeof t.getChildren==`function`?t.getChildren(e.key):e.childNodes}function lb(e){return ub(e,0)}function ub(e,t){if(t<0)return;let n=0;for(let r of e){if(n===t)return r;n++}}function db(e){let t;for(let n of e)t=n;return t}function fb(e,t,n){if(t.parentKey===n.parentKey)return t.index-n.index;let r=[...pb(e,t),t],i=[...pb(e,n),n],a=r.slice(0,i.length).findIndex((e,t)=>e!==i[t]);return a===-1?r.findIndex(e=>e===n)>=0?1:(i.findIndex(e=>e===t),-1):(t=r[a],n=i[a],t.index-n.index)}function pb(e,t){let n=[],r=t;for(;r?.parentKey!=null;)r=e.getItem(r.parentKey),r&&n.unshift(r);return n}var mb=new WeakMap;function hb(e){let t=mb.get(e);if(t!=null)return t;let n=0,r=t=>{for(let i of t)i.type===`section`?r(cb(i,e)):i.type===`item`&&n++};return r(e),mb.set(e,n),n}function gb(e,t,n){let{id:r,key:i,closeOnSelect:a,shouldCloseOnSelect:o,isVirtualized:s,"aria-haspopup":c,onPressStart:l,onPressUp:u,onPress:d,onPressChange:f,onPressEnd:p,onClick:m,onHoverStart:h,onHoverChange:g,onHoverEnd:_,onKeyDown:y,onKeyUp:b,onFocus:x,onFocusChange:S,onBlur:C,selectionManager:w=t.selectionManager}=e,T=!!c,E=T&&e[`aria-expanded`]===`true`,D=e.isDisabled??w.isDisabled(i),O=e.isSelected??w.isSelected(i),k=Uy.get(t),A=t.collection.getItem(i),j=e.onClose||k.onClose,M=Fa(),N=()=>{if(!T&&(A?.props?.onAction?A.props.onAction():e.onAction&&e.onAction(i),k.onAction)){let e=k.onAction;e(i,A?.value)}},P=`menuitem`;T||(w.selectionMode===`single`?P=`menuitemradio`:w.selectionMode===`multiple`&&(P=`menuitemcheckbox`));let F=lo(),I=lo(),L=lo(),R={id:r,"aria-disabled":D||void 0,role:P,"aria-label":e[`aria-label`],"aria-labelledby":F,"aria-describedby":[e[`aria-describedby`],I,L].filter(Boolean).join(` `)||void 0,"aria-controls":e[`aria-controls`],"aria-haspopup":c,"aria-expanded":e[`aria-expanded`]};if(w.selectionMode!==`none`&&!T&&(R[`aria-checked`]=O),s){let e=Number(A?.index);R[`aria-posinset`]=Number.isNaN(e)?void 0:e+1,R[`aria-setsize`]=hb(t.collection)}let ee=(0,v.useRef)(!1),te=e=>{f?.(e),ee.current=e},ne=(0,v.useRef)(null),re=e=>{e.pointerType!==`keyboard`&&(ne.current={pointerType:e.pointerType}),e.pointerType===`mouse`&&(ee.current||e.target.click()),u?.(e)},z=e=>{m?.(e),N(),Ha(e,M,A.props.href,A?.props.routerOptions);let t=ne.current?.pointerType===`keyboard`?ne.current?.key===`Enter`||w.selectionMode===`none`||w.isLink(i):w.selectionMode!==`multiple`||w.isLink(i);t=o??a??t,j&&!T&&t&&j(),ne.current=null},{itemProps:ie,isFocused:ae}=ab({id:r,selectionManager:w,key:i,ref:n,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:`none`,shouldUseVirtualFocus:k.shouldUseVirtualFocus}),{pressProps:oe,isPressed:se}=Wp({onPressStart:l,onPress:d,onPressUp:re,onPressChange:te,onPressEnd:p,isDisabled:D}),{hoverProps:ce}=om({isDisabled:D,onHoverStart(e){!ap()&&!(E&&c)&&(w.setFocused(!0),w.setFocusedKey(i)),h?.(e)},onHoverChange:g,onHoverEnd:_}),{keyboardProps:le}=Op({shortcuts:{" ":e=>{ne.current={pointerType:`keyboard`,key:` `},B(e).click(),sp(`keyboard`)},Enter:e=>{ne.current={pointerType:`keyboard`,key:`Enter`};let t=B(e);if(t.tagName!==`A`){t.click(),sp(`keyboard`);return}return sp(`keyboard`),{shouldPreventDefault:!1,shouldContinuePropagation:!1}}},onKeyDown:y,onKeyUp:b}),{focusableProps:ue}=Mp({onBlur:C,onFocus:x,onFocusChange:S},n),de=H(A?.props);delete de.id;let fe=Va(A?.props);return{menuItemProps:{...R,...V(de,fe,T?{onFocus:ie.onFocus,"data-collection":ie[`data-collection`],"data-key":ie[`data-key`]}:ie,oe,ce,le,ue,k.shouldUseVirtualFocus||T?{onMouseDown:e=>e.preventDefault()}:void 0,D?void 0:{onClick:z}),tabIndex:ie.tabIndex!=null&&E&&!k.shouldUseVirtualFocus?-1:ie.tabIndex},labelProps:{id:F},descriptionProps:{id:I},keyboardShortcutProps:{id:L},isFocused:ae,isFocusVisible:ae&&w.isFocused&&ap()&&!E,isSelected:O,isPressed:se,isDisabled:D}}function _b(e){let{heading:t,"aria-label":n}=e,r=so();return{itemProps:{role:`presentation`},headingProps:t?{id:r,role:`presentation`}:{},groupProps:{role:`group`,"aria-label":n,"aria-labelledby":t?r:void 0}}}var vb=2,yb=50,bb=1e3,xb=Math.PI/12;function Sb(e){let{menuRef:t,submenuRef:n,isOpen:r,isDisabled:i}=e,a=(0,v.useRef)(void 0),o=(0,v.useRef)(void 0),s=(0,v.useRef)(0),c=(0,v.useRef)(void 0),l=(0,v.useRef)(void 0),u=(0,v.useRef)(void 0),d=(0,v.useRef)(2),[f,p]=(0,v.useState)(!1);Xo({ref:r?n:void 0,onResize:()=>{n.current&&(o.current=n.current.getBoundingClientRect(),u.current=void 0)}});let m=()=>{p(!1),d.current=vb,a.current=void 0},h=lp(),g=Ko(e=>{f&&e.preventDefault()});(0,v.useEffect)(()=>{f&&t.current?t.current.style.pointerEvents=`none`:t.current.style.pointerEvents=``},[t,f]),Ua(()=>{let e=n.current,f=t.current;if(i||!e||!r||h!==`pointer`||!f){m();return}o.current=e.getBoundingClientRect();let _=e=>{if(e.pointerType===`touch`||e.pointerType===`pen`)return;let t=Date.now();if(t-s.currento.current.right?`left`:`right`,nf.getBoundingClientRect().right||rf.getBoundingClientRect().bottom){m();return}let i=a.current.x,h=a.current.y,g=u.current===`right`?o.current.left-i:i-o.current.right,_=Math.atan2(h-o.current.top,g)+xb,v=Math.atan2(h-o.current.bottom,g)-xb,y=Math.atan2(h-r,u.current===`left`?-(n-i):n-i),b=y<_&&y>v;d.current=b?Math.min(d.current+1,vb):Math.max(d.current-1,0),d.current>=vb?p(!0):p(!1),s.current=t,a.current={x:n,y:r},b&&(c.current=setTimeout(()=>{m(),l.current=setTimeout(()=>{let e=document.elementFromPoint(n,r);e&&xo(f,e)&&e.dispatchEvent(new PointerEvent(`pointerover`,{bubbles:!0,cancelable:!0}))},100)},bb))};return window.addEventListener(`pointermove`,_),window.addEventListener(`pointerdown`,g,!0),()=>{window.removeEventListener(`pointermove`,_),window.removeEventListener(`pointerdown`,g,!0),clearTimeout(c.current),clearTimeout(l.current),d.current=vb}},[i,r,t,h,p,n])}function Cb(e,t,n){let{parentMenuRef:r,submenuRef:i,type:a=`menu`,isDisabled:o,delay:s=200,shouldUseVirtualFocus:c}=e,l=so(),u=so(),{direction:d}=lf(),f=(0,v.useRef)(void 0),p=(0,v.useCallback)(()=>{f.current&&=(clearTimeout(f.current),void 0)},[f]),m=(0,v.useCallback)(e=>{p(),t.open(e)},[t,p]),h=(0,v.useCallback)(()=>{p(),t.close()},[t,p]);Ua(()=>()=>{p()},[p]);let{keyboardProps:g}=Op({shortcuts:{ArrowLeft:e=>{if(!wo(e.currentTarget))return!1;if(d===`ltr`&&xo(e.currentTarget,B(e))){h(),!c&&n.current&&ka(n.current);return}return!1},ArrowRight:e=>{if(!wo(e.currentTarget))return!1;if(d===`rtl`&&xo(e.currentTarget,B(e))){h(),!c&&n.current&&ka(n.current);return}return!1},Escape:e=>{if(!wo(e.currentTarget))return!1;if(xo(i.current,B(e))){h(),!c&&n.current&&ka(n.current);return}return!1}}}),_={id:u,"aria-labelledby":l,submenuLevel:t.submenuLevel,...a===`menu`&&{onClose:t.closeAll,autoFocus:t.focusStrategy??void 0,...g}},{keyboardProps:y}=Op({shortcuts:{ArrowRight:()=>{if(!o){if(d===`ltr`){t.isOpen||m(`first`),a===`menu`&&i?.current&&So()===n?.current&&ka(i.current);return}if(t.isOpen){h();return}return!1}return!1},ArrowLeft:()=>{if(!o){if(d===`rtl`){t.isOpen||m(`first`),a===`menu`&&i?.current&&So()===n?.current&&ka(i.current);return}if(t.isOpen){h();return}return!1}return!1}}});return us(r,`focusin`,e=>{t.isOpen&&xo(r.current,B(e))&&B(e)!==n.current&&h()}),Sb({menuRef:r,submenuRef:i,isOpen:t.isOpen,isDisabled:o}),{submenuTriggerProps:{onKeyDown:y.onKeyDown,onKeyUp:y.onKeyUp,id:l,"aria-controls":t.isOpen?u:void 0,"aria-haspopup":o?void 0:a,"aria-expanded":t.isOpen?`true`:`false`,onPressStart:e=>{!o&&(e.pointerType===`virtual`||e.pointerType===`keyboard`)&&m(`first`)},onPress:e=>{!o&&(e.pointerType===`touch`||e.pointerType===`mouse`)&&m()},onHoverChange:e=>{o||(e&&!t.isOpen?f.current||=setTimeout(()=>{m()},s):e||p())},isOpen:t.isOpen},submenuProps:_,popoverProps:{isNonModal:!0,shouldCloseOnInteractOutside:e=>e!==n.current}}}function wb(e){let t=l_(e),[n,r]=(0,v.useState)(null),[i,a]=(0,v.useState)([]),o=()=>{a([]),t.close()},s=(e,t)=>{a(n=>t>n.length?n:[...n.slice(0,t),e])},c=(e,t)=>{a(n=>n[t]===e?n.slice(0,t):n)};return{focusStrategy:n,...t,open(e=null){r(e),t.open()},toggle(e=null){r(e),t.toggle()},close(){o()},expandedKeysStack:i,openSubmenu:s,closeSubmenu:c}}function Tb(e,t){let{triggerKey:n}=e,{expandedKeysStack:r,openSubmenu:i,closeSubmenu:a,close:o}=t,[s]=(0,v.useState)(r?.length),c=(0,v.useMemo)(()=>r[s]===n,[r,n,s]),[l,u]=(0,v.useState)(null),d=(0,v.useCallback)(e=>{u(e??null),i(n,s)},[i,s,n]),f=(0,v.useCallback)(()=>{u(null),a(n,s)},[a,s,n]),p=(0,v.useCallback)(e=>{u(e??null),c?f():d(e)},[f,d,c]);return(0,v.useMemo)(()=>({focusStrategy:l,isOpen:c,open:d,close:f,closeAll:o,submenuLevel:s,setOpen:()=>{},toggle:p,point:null,setPoint:()=>{}}),[c,d,f,o,l,p,s])}var Eb=class e extends Set{constructor(t,n,r){super(t),t instanceof e?(this.anchorKey=n??t.anchorKey,this.currentKey=r??t.currentKey):(this.anchorKey=n??null,this.currentKey=r??null)}},Db=class e{constructor(e,t,n){this.collection=e,this.state=t,this.allowsCellSelection=n?.allowsCellSelection??!1,this._isSelectAll=null,this.layoutDelegate=n?.layoutDelegate||null,this.fullCollection=n?.fullCollection||null}get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(e){this.state.setSelectionBehavior(e)}get isFocused(){return this.state.isFocused}setFocused(e){this.state.setFocused(e)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(e,t){(e==null||this.collection.getItem(e))&&this.state.setFocusedKey(e,t)}get selectedKeys(){return this.state.selectedKeys===`all`?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(e){if(this.state.selectionMode===`none`)return!1;let t=this.getKey(e);return t==null?!1:this.state.selectedKeys===`all`?this.canSelectItem(t):this.state.selectedKeys.has(t)}get isEmpty(){return this.state.selectedKeys!==`all`&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys===`all`)return!0;if(this._isSelectAll!=null)return this._isSelectAll;let e=this.getSelectAllKeys(),t=this.state.selectedKeys;return this._isSelectAll=e.every(e=>t.has(e)),this._isSelectAll}get firstSelectedKey(){let e=null;for(let t of this.state.selectedKeys){let n=this.collection.getItem(t);(!e||n&&fb(this.collection,n,e)<0)&&(e=n)}return e?.key??null}get lastSelectedKey(){let e=null;for(let t of this.state.selectedKeys){let n=this.collection.getItem(t);(!e||n&&fb(this.collection,n,e)>0)&&(e=n)}return e?.key??null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(e){if(this.selectionMode===`none`)return;if(this.selectionMode===`single`){this.replaceSelection(e);return}let t=this.getKey(e);if(t==null)return;let n;if(this.state.selectedKeys===`all`)n=new Eb([t],t,t);else{let e=this.state.selectedKeys,r=e.anchorKey??t;n=new Eb(e,r,t);for(let i of this.getKeyRange(r,e.currentKey??t))n.delete(i);for(let e of this.getKeyRange(t,r))this.canSelectItem(e)&&n.add(e)}this.state.setSelectedKeys(n)}getKeyRange(e,t){let n=this.collection.getItem(e),r=this.collection.getItem(t);return n&&r?fb(this.collection,n,r)<=0?this.getKeyRangeInternal(e,t):this.getKeyRangeInternal(t,e):[]}getKeyRangeInternal(e,t){if(this.layoutDelegate?.getKeyRange)return this.layoutDelegate.getKeyRange(e,t);let n=[],r=e;for(;r!=null;){let e=this.collection.getItem(r);if(e&&(e.type===`item`||e.type===`cell`&&this.allowsCellSelection)&&n.push(r),r===t)return n;r=this.collection.getKeyAfter(r)}return[]}getKey(e){let t=this.collection.getItem(e);if(!t||t.type===`cell`&&this.allowsCellSelection)return e;for(;t&&t.type!==`item`&&t.parentKey!=null;)t=this.collection.getItem(t.parentKey);return!t||t.type!==`item`?null:t.key}toggleSelection(e){if(this.selectionMode===`none`)return;if(this.selectionMode===`single`&&!this.isSelected(e)){this.replaceSelection(e);return}let t=this.getKey(e);if(t==null)return;let n=new Eb(this.state.selectedKeys===`all`?this.getSelectAllKeys():this.state.selectedKeys);n.has(t)?n.delete(t):this.canSelectItem(t)&&(n.add(t),n.anchorKey=t,n.currentKey=t),!(this.disallowEmptySelection&&n.size===0)&&this.state.setSelectedKeys(n)}replaceSelection(e){if(this.selectionMode===`none`)return;let t=this.getKey(e);if(t==null)return;let n=this.canSelectItem(t)?new Eb([t],t,t):new Eb;this.state.setSelectedKeys(n)}setSelectedKeys(e){if(this.selectionMode===`none`)return;let t=new Eb;for(let n of e){let e=this.getKey(n);if(e!=null&&(t.add(e),this.selectionMode===`single`))break}this.state.setSelectedKeys(t)}getSelectAllKeys(){let e=this.fullCollection??this.collection,t=[],n=r=>{for(;r!=null;){if(this.canSelectItemIn(r,e)){let i=e.getItem(r);i?.type===`item`&&t.push(r),i?.hasChildNodes&&(this.allowsCellSelection||i.type!==`item`)&&n(lb(cb(i,e))?.key??null)}r=e.getKeyAfter(r)}};return n(e.getFirstKey()),t}selectAll(){!this.isSelectAll&&this.selectionMode===`multiple`&&this.state.setSelectedKeys(`all`)}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys===`all`||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new Eb)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(e,t){this.selectionMode!==`none`&&(this.selectionMode===`single`?this.isSelected(e)&&!this.disallowEmptySelection?this.toggleSelection(e):this.replaceSelection(e):this.selectionBehavior===`toggle`||t&&(t.pointerType===`touch`||t.pointerType===`virtual`)?this.toggleSelection(e):this.replaceSelection(e))}isSelectionEqual(e){if(e===this.state.selectedKeys)return!0;let t=this.selectedKeys;if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;for(let n of t)if(!e.has(n))return!1;return!0}canSelectItem(e){return this.canSelectItemIn(e,this.collection)}canSelectItemIn(e,t){if(this.state.selectionMode===`none`||this.state.disabledKeys.has(e))return!1;let n=t.getItem(e);return!(!n||n?.props?.isDisabled||n.type===`cell`&&!this.allowsCellSelection)}isDisabled(e){let t=this.collection.getItem(e);return this.state.disabledBehavior===`all`&&(this.state.disabledKeys.has(e)||!!t?.props?.isDisabled)&&t?.props?.disabledBehavior!==`selection`}isLink(e){return!!this.collection.getItem(e)?.props?.href}getItemProps(e){return this.collection.getItem(e)?.props}withCollection(t){return new e(t,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0,fullCollection:this.fullCollection??this.collection})}},Ob=class{constructor(e,{expandedKeys:t}={}){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e,t||=new Set;let n=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&(e.type===`section`||t.has(e.key)))for(let t of e.childNodes)n(t)};for(let t of e)n(t);let r=null,i=0;for(let[e,t]of this.keyMap)r?(r.nextKey=e,t.prevKey=r.key):(this.firstKey=e,t.prevKey=void 0),t.type===`item`&&(t.index=i++),r=t,r.nextKey=void 0;this.lastKey=r?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey??null:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){return this.keyMap.get(e)??null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}},kb=class{build(e,t){return this.context=t,Ab(()=>this.iterateCollection(e))}*iterateCollection(e){let{children:t,items:n}=e;if(v.isValidElement(t)&&t.type===v.Fragment)yield*this.iterateCollection({children:t.props.children,items:n});else if(typeof t==`function`){if(!n)throw Error(`props.children was a function but props.items is missing`);let e=0;for(let r of n)yield*this.getFullNode({value:r,index:e},{renderer:t}),e++}else{let e=[];v.Children.forEach(t,t=>{t&&e.push(t)});let n=0;for(let t of e){let e=this.getFullNode({element:t,index:n},{});for(let t of e)n++,yield t}}}getKey(e,t,n,r){if(e.key!=null)return e.key;if(t.type===`cell`&&t.key!=null)return`${r}${t.key}`;let i=t.value;if(i!=null){let e=i.key??i.id;if(e==null)throw Error(`No key found for item`);return e}return r?`${r}.${t.index}`:`$.${t.index}`}getChildState(e,t){return{renderer:t.renderer||e.renderer}}*getFullNode(e,t,n,r){if(v.isValidElement(e.element)&&e.element.type===v.Fragment){let i=[];v.Children.forEach(e.element.props.children,e=>{i.push(e)});let a=e.index??0;for(let e of i)yield*this.getFullNode({element:e,index:a++},t,n,r);return}let i=e.element;if(!i&&e.value&&t&&t.renderer){let n=this.cache.get(e.value);if(n&&(!n.shouldInvalidate||!n.shouldInvalidate(this.context))){n.index=e.index,n.parentKey=r?r.key:null,yield n;return}i=t.renderer(e.value)}if(v.isValidElement(i)){let a=i.type;if(typeof a!=`function`&&typeof a.getCollectionNode!=`function`){let e=i.type;throw Error(`Unknown element <${e}> in collection.`)}let o=a.getCollectionNode(i.props,this.context),s=e.index??0,c=o.next();for(;!c.done&&c.value;){let a=c.value;e.index=s;let l=a.key??null;l??=a.element?null:this.getKey(i,e,t,n);let u=[...this.getFullNode({...a,key:l,index:s,wrapper:jb(e.wrapper,a.wrapper)},this.getChildState(t,a),n?`${n}${i.key}`:i.key,r)];for(let t of u){if(t.value=a.value??e.value??null,t.value&&this.cache.set(t.value,t),e.type&&t.type!==e.type)throw Error(`Unsupported type <${Mb(t.type)}> in <${Mb(r?.type??`unknown parent type`)}>. Only <${Mb(e.type)}> is supported.`);s++,yield t}c=o.next(u)}return}if(e.key==null||e.type==null)return;let a=this,o={type:e.type,props:e.props,key:e.key,parentKey:r?r.key:null,value:e.value??null,level:(r?.level??0)+ +(r?.type===`item`),index:e.index,rendered:e.rendered,textValue:e.textValue??``,"aria-label":e[`aria-label`],wrapper:e.wrapper,shouldInvalidate:e.shouldInvalidate,hasChildNodes:e.hasChildNodes||!1,childNodes:Ab(function*(){if(!e.hasChildNodes||!e.childNodes)return;let n=0;for(let r of e.childNodes()){r.key!=null&&(r.key=`${o.key}${r.key}`);let e=a.getFullNode({...r,index:n},a.getChildState(t,r),o.key,o);for(let t of e)n++,yield t}})};yield o}constructor(){this.cache=new WeakMap}};function Ab(e){let t=[],n=null;return{*[Symbol.iterator](){for(let e of t)yield e;n||=e();for(let e of n)t.push(e),yield e}}}function jb(e,t){if(e&&t)return n=>e(t(n));if(e)return e;if(t)return t}function Mb(e){return e[0].toUpperCase()+e.slice(1)}function Nb(e,t,n){let r=(0,v.useMemo)(()=>new kb,[]),{children:i,items:a,collection:o}=e;return(0,v.useMemo)(()=>o||t(r.build({children:i,items:a},n)),[r,i,a,o,n,t])}function Pb(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}function Fb(e){let{selectionMode:t=`none`,disallowEmptySelection:n=!1,allowDuplicateSelectionEvents:r,selectionBehavior:i=`toggle`,disabledBehavior:a=`all`}=e,o=(0,v.useRef)(!1),[,s]=(0,v.useState)(!1),c=(0,v.useRef)(null),l=(0,v.useRef)(null),[,u]=(0,v.useState)(null),[d,f]=fm((0,v.useMemo)(()=>Ib(e.selectedKeys),[e.selectedKeys]),(0,v.useMemo)(()=>Ib(e.defaultSelectedKeys,new Eb),[e.defaultSelectedKeys]),e.onSelectionChange),p=(0,v.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[m,h]=(0,v.useState)(i);i===`replace`&&m===`toggle`&&typeof d==`object`&&d.size===0&&h(`replace`);let g=(0,v.useRef)(i);return(0,v.useEffect)(()=>{i!==g.current&&(h(i),g.current=i)},[i]),{selectionMode:t,disallowEmptySelection:n,selectionBehavior:m,setSelectionBehavior:h,get isFocused(){return o.current},setFocused(e){o.current=e,s(e)},get focusedKey(){return c.current},get childFocusStrategy(){return l.current},setFocusedKey(e,t=`first`){c.current=e,l.current=t,u(e)},selectedKeys:d,setSelectedKeys(e){(r||!Pb(e,d))&&f(e)},disabledKeys:p,disabledBehavior:a}}function Ib(e,t){return e?e===`all`?`all`:new Eb(e):t}function Lb(e){let{onExpandedChange:t}=e,[n,r]=fm(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),i=Fb(e),a=(0,v.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=Nb(e,(0,v.useCallback)(e=>new Ob(e,{expandedKeys:n}),[n]),null);return(0,v.useEffect)(()=>{i.focusedKey!=null&&!o.getItem(i.focusedKey)&&i.setFocusedKey(null)},[o,i.focusedKey]),{collection:o,expandedKeys:n,disabledKeys:a,toggleKey:e=>{r(Rb(n,e))},setExpandedKeys:r,selectionManager:new Db(o,i)}}function Rb(e,t){let n=new Set(e);return n.has(t)?n.delete(t):n.add(t),n}var zb=(0,v.createContext)(null),Bb=(0,v.createContext)(null),Vb=(0,v.createContext)(null),Hb=(0,v.createContext)(null);function Ub(e){let t=wb(e),n=(0,v.useRef)(null),{menuTriggerProps:r,menuProps:i}=Hy({...e,type:`menu`},t,n),a=(0,v.useRef)(null);return Jd()?null:v.createElement(Id,{values:[[zb,{...i,ref:a}],[tx,t],[Vb,t],[u_,{trigger:`MenuTrigger`,triggerRef:n,scrollRef:a,placement:`bottom start`,"aria-labelledby":i[`aria-labelledby`],offset:e.trigger===`contextMenu`?0:void 0}]]},v.createElement(n_,{...r,ref:n,isPressed:t.isOpen},e.children))}var Wb=(0,v.createContext)(null),Gb=B_(class extends m_{static{this.type=`submenutrigger`}filter(e,t,n){let r=e.getItem(this.firstChildKey);if(r&&n(r.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}},(e,t,n)=>{let{CollectionBranch:r}=(0,v.useContext)(Y_),i=(0,v.useContext)(Bb),a=(0,v.useContext)(Vb),o=Tb({triggerKey:n.key},a),s=(0,v.useRef)(null),c=Wo(t),{parentMenuRef:l,shouldUseVirtualFocus:u}=(0,v.useContext)(Wb),{submenuTriggerProps:d,submenuProps:f,popoverProps:p}=Cb({parentMenuRef:l,submenuRef:s,delay:e.delay,shouldUseVirtualFocus:u},o,c);return v.createElement(Id,{values:[[Zb,{...d,onAction:void 0,ref:c}],[zb,{ref:s,...f}],[tx,o],[u_,{trigger:`SubmenuTrigger`,triggerRef:c,placement:`end top`,"aria-labelledby":f[`aria-labelledby`],...p}]]},v.createElement(r,{collection:i.collection,parent:n}),e.children[1])},e=>e.children[0]),Kb=(0,v.forwardRef)(function(e,t){return[e,t]=Bd(e,t,zb),v.createElement(j_,{content:v.createElement(U_,e)},n=>v.createElement(qb,{props:e,collection:n,menuRef:t}))});function qb({props:e,collection:t,menuRef:n}){[e,n]=Bd(e,n,Vv);let{filter:r,...i}=e,a=(0,v.useMemo)(()=>r?t.filter(r):t,[t,r]),o=Lb({...e,collection:a,children:void 0}),s=(0,v.useContext)(Vb),{isVirtualized:c,CollectionRoot:l}=(0,v.useContext)(Y_),{menuProps:u}=ib({...e,isVirtualized:c,onClose:e.onClose||s?.close},o,n),d=Ld({...e,children:void 0,defaultClassName:`react-aria-Menu`,values:{isEmpty:o.collection.size===0}}),f=null;o.collection.size===0&&e.renderEmptyState&&(f=v.createElement(`div`,{role:`menuitem`,style:{display:`contents`}},e.renderEmptyState()));let p=H(e,{global:!0});return v.createElement(hh,null,v.createElement(J.div,{...V(p,d,u),ref:n,slot:e.slot||void 0,"data-empty":o.collection.size===0||void 0,onScroll:e.onScroll},v.createElement(Id,{values:[[Bb,o],[Qv,{elementType:`div`}],[G_,{name:`MenuSection`,render:Yb}],[Wb,{parentMenuRef:n,shouldUseVirtualFocus:i?.shouldUseVirtualFocus}],[Zb,{shouldCloseOnSelect:e.shouldCloseOnSelect}],[Vv,null],[Hv,null],[Hb,o.selectionManager],[Vb,s??wb({})]]},v.createElement(qv,null,v.createElement(l,{collection:o.collection,persistedKeys:X_(o.selectionManager.focusedKey),scrollRef:n}))),f))}var Jb=class extends Db{constructor(e,t){super(e.collection,t),this.parent=e}get focusedKey(){return this.parent.focusedKey}get isFocused(){return this.parent.isFocused}setFocusedKey(e,t){return this.parent.setFocusedKey(e,t)}setFocused(e){this.parent.setFocused(e)}get childFocusStrategy(){return this.parent.childFocusStrategy}};function Yb(e,t,n,r=`react-aria-MenuSection`){let i=(0,v.useContext)(Bb),{CollectionBranch:a}=(0,v.useContext)(Y_),[o,s]=Vd(),{headingProps:c,groupProps:l}=_b({heading:s,"aria-label":n.props[`aria-label`]??void 0}),u=Ld({...e,id:void 0,children:void 0,defaultClassName:r,className:n.props?.className,style:n.props?.style,values:void 0}),d=(0,v.useContext)(Hb),f=Fb(e),p=e.selectionMode==null?d:new Jb(d,f),m=zd(Zb)?.shouldCloseOnSelect,h=H(e,{global:!0});return delete h.id,v.createElement(J.section,{...V(h,u,l),ref:t},v.createElement(Id,{values:[[Wv,{...c,ref:o}],[Hb,p],[Zb,{shouldCloseOnSelect:e.shouldCloseOnSelect??m}]]},v.createElement(a,{collection:i.collection,parent:n})))}var Xb=B_(v_,Yb),Zb=(0,v.createContext)(null),Qb=z_(__,function(e,t,n){[e,t]=Bd(e,t,Zb);let r=zd(Zb)?.id,i=(0,v.useContext)(Bb),a=Wo(t),o=(0,v.useContext)(Hb),{isVirtualized:s}=(0,v.useContext)(Y_),{menuItemProps:c,labelProps:l,descriptionProps:u,keyboardShortcutProps:d,...f}=gb({...e,id:r,key:n.key,selectionManager:o,isVirtualized:s},i,a),{hoverProps:p,isHovered:m}=om({isDisabled:f.isDisabled}),h=Ld({...e,id:void 0,children:n.rendered,defaultClassName:`react-aria-MenuItem`,values:{...f,isHovered:m,isFocusVisible:f.isFocusVisible,selectionMode:o.selectionMode,selectionBehavior:o.selectionBehavior,hasSubmenu:!!e[`aria-haspopup`],isOpen:e[`aria-expanded`]===`true`}}),g=e.href?J.a:J.div,_=H(e,{global:!0});return delete _.id,delete _.onClick,v.createElement(g,{...V(_,h,c,p),ref:a,"data-disabled":f.isDisabled||void 0,"data-hovered":m||void 0,"data-focused":f.isFocused||void 0,"data-focus-visible":f.isFocusVisible||void 0,"data-pressed":f.isPressed||void 0,"data-selected":f.isSelected||void 0,"data-selection-mode":o.selectionMode===`none`?void 0:o.selectionMode,"data-has-submenu":!!e[`aria-haspopup`]||void 0,"data-open":e[`aria-expanded`]===`true`||void 0},v.createElement(Id,{values:[[ey,{slots:{[Fd]:l,label:l,description:u}}],[Gv,d],[Yv,{isSelected:f.isSelected}]]},h.children))});function $b(e,t){let{role:n=`dialog`}=e,r=lo();r=e[`aria-label`]?void 0:r;let i=lo();i=n===`alertdialog`&&!e[`aria-describedby`]?i:void 0;let a=(0,v.useRef)(!1);(0,v.useEffect)(()=>{if(t.current&&!wo(t.current)){pp(t.current);let e=setTimeout(()=>{(So()===t.current||So()===document.body)&&(a.current=!0,t.current&&(t.current.blur(),pp(t.current)),a.current=!1)},500);return()=>{clearTimeout(e)}}},[t]),c_(),(0,v.useRef)(!1),(0,v.useEffect)(()=>{});let o=e[`aria-describedby`]??i;return{dialogProps:{...H(e,{labelable:!0}),role:n,tabIndex:-1,"aria-labelledby":e[`aria-labelledby`]??r,"aria-describedby":o,onBlur:e=>{a.current&&e.stopPropagation()}},titleProps:{id:r},contentProps:{id:i}}}var ex=(0,v.createContext)(null),tx=(0,v.createContext)(null);function nx(e){let t=wb(e),n=(0,v.useRef)(null),{triggerProps:r,overlayProps:i}=By({type:`dialog`},t,n);return r.id=so(),i[`aria-labelledby`]=r.id,v.createElement(Id,{values:[[tx,t],[Vb,t],[ex,i],[u_,{trigger:`DialogTrigger`,triggerRef:n,id:i.id,"aria-labelledby":i[`aria-labelledby`]}]]},v.createElement(n_,{...r,ref:n,isPressed:t.isOpen},e.children))}var rx=(0,v.forwardRef)(function(e,t){let n=e[`aria-labelledby`];[e,t]=Bd(e,t,ex);let{dialogProps:r,titleProps:i,contentProps:a}=$b({...e,"aria-labelledby":n},t),o=(0,v.useContext)(tx);!r[`aria-label`]&&!r[`aria-labelledby`]&&e[`aria-labelledby`]&&(r[`aria-labelledby`]=e[`aria-labelledby`]);let s=Ld({defaultClassName:`react-aria-Dialog`,className:e.className,style:e.style,children:e.children,values:{close:o?.close||(()=>{})}}),c=H(e,{global:!0});return v.createElement(J.section,{...V(c,s,r),render:e.render,ref:t,slot:e.slot||void 0},v.createElement(Id,{values:[[pm,{slots:{[Fd]:{},title:{...i,level:2}}}],[ey,{slots:{[Fd]:{},description:a}}],[sm,{slots:{[Fd]:{},close:{onPress:()=>o?.close()}}}]]},s.children))});function ix(e,t,n){let{overlayProps:r,underlayProps:i}=Wh({...e,isOpen:t.isOpen,onClose:t.close},n);return Jh({isDisabled:!t.isOpen}),c_(),(0,v.useEffect)(()=>{if(t.isOpen&&n.current)return Im([n.current],{shouldUseInert:!0})},[t.isOpen,n]),{modalProps:V(r),underlayProps:i}}var ax=(0,v.createContext)(null),ox=(0,v.createContext)(null),sx=(0,v.forwardRef)(function(e,t){if((0,v.useContext)(ox))return v.createElement(dx,{...e,modalRef:t},e.children);let{isDismissable:n,isKeyboardDismissDisabled:r,isOpen:i,defaultOpen:a,onOpenChange:o,children:s,isEntering:c,isExiting:l,UNSTABLE_portalContainer:u,shouldCloseOnInteractOutside:d,...f}=e;return v.createElement(lx,{isDismissable:n,isKeyboardDismissDisabled:r,isOpen:i,defaultOpen:a,onOpenChange:o,isEntering:c,isExiting:l,UNSTABLE_portalContainer:u,shouldCloseOnInteractOutside:d},v.createElement(dx,{...f,modalRef:t},s))});function cx(e,t){[e,t]=Bd(e,t,ax);let n=(0,v.useContext)(tx),r=l_(e),i=e.isOpen!=null||e.defaultOpen!=null||!n?r:n,a=Wo(t),o=(0,v.useRef)(null),s=xs(a,i.isOpen),c=xs(o,i.isOpen),l=s||c||e.isExiting||!1,u=to();return!i.isOpen&&!l||u?null:v.createElement(ux,{...e,state:i,isExiting:l,overlayRef:a,modalRef:o})}var lx=(0,v.forwardRef)(cx);function ux({UNSTABLE_portalContainer:e,...t}){let n=t.modalRef,{state:r}=t,{modalProps:i,underlayProps:a}=ix(t,r,n),o=bs(t.overlayRef)||t.isEntering||!1,s=Ld({...t,defaultClassName:`react-aria-ModalOverlay`,values:{isEntering:o,isExiting:t.isExiting,state:r}}),c=as(),l,u;if(typeof document<`u`){let e=Qo(document.body)?document.body:document.scrollingElement||document.documentElement,t=e.getBoundingClientRect().width%1,n=e.getBoundingClientRect().height%1;l=e.scrollWidth-t,u=e.scrollHeight-n}let d={...s.style,"--visual-viewport-width":c.width+`px`,"--visual-viewport-height":c.height+`px`,"--page-width":l===void 0?void 0:l+`px`,"--page-height":u===void 0?void 0:u+`px`};return v.createElement(s_,{isExiting:t.isExiting,portalContainer:e},v.createElement(J.div,{...V(H(t,{global:!0}),a),...s,style:d,ref:t.overlayRef,"data-entering":o||void 0,"data-exiting":t.isExiting||void 0},v.createElement(Id,{values:[[ox,{modalProps:i,modalRef:n,isExiting:t.isExiting,isDismissable:t.isDismissable}],[tx,r]]},s.children)))}function dx(e){let{modalProps:t,modalRef:n,isExiting:r,isDismissable:i}=(0,v.useContext)(ox),a=(0,v.useContext)(tx),o=Wo((0,v.useMemo)(()=>Do(e.modalRef,n),[e.modalRef,n])),s=bs(o),c=Ld({...e,defaultClassName:`react-aria-Modal`,values:{isEntering:s,isExiting:r,state:a}});return v.createElement(J.div,{...V(H(e,{global:!0}),t),...c,ref:o,"data-entering":s||void 0,"data-exiting":r||void 0},i&&v.createElement(t_,{onDismiss:a.close}),c.children)}var fx=v.forwardRef(({children:e,...t},n)=>{n=Wo(n);let{pressProps:r}=Wp({...t,ref:n}),{focusableProps:i}=Mp(t,n),a=v.Children.only(e);(0,v.useEffect)(()=>{},[n,t.isDisabled]);let o=a.props.ref;return v.cloneElement(a,{...V(r,i,a.props),ref:Do(o,n)})}),px=({children:e,className:t,slot:n,style:r,variant:i,...a})=>{let o=(0,v.useMemo)(()=>Qu({variant:i}),[i]);return(0,U.jsx)(cm,{"aria-label":`Close`,className:Y(t,o),"data-slot":`close-button`,slot:n,style:r,type:`button`,...a,children:t=>typeof e==`function`?e(t):e??(0,U.jsx)(bm,{"data-slot":`close-button-icon`})})},mx=Object.assign(px,{Root:px}),hx=(0,v.createContext)({}),gx=({children:e,...t})=>{let n=(0,v.useMemo)(()=>({slots:Wu(),placement:void 0}),[]);return(0,U.jsx)(hx,{value:n,children:(0,U.jsx)(nx,{"data-slot":`alert-dialog-root`,...t,children:e})})},_x=Object.assign(gx,{Root:gx,Trigger:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(hx);return(0,U.jsx)(fx,{children:(0,U.jsx)(`div`,{className:X(r?.trigger,t),"data-slot":`alert-dialog-trigger`,role:`button`,...n,children:e})})},Backdrop:({children:e,className:t,isDismissable:n=!1,isKeyboardDismissDisabled:r=!0,onClick:i,variant:a,...o})=>{let{slots:s}=(0,v.use)(hx),c=(0,v.useMemo)(()=>Wu({variant:a}),[a]),l=(0,v.useMemo)(()=>({slots:{...s,...c}}),[s,c]);return(0,U.jsx)(lx,{className:Y(t,c?.backdrop()),"data-slot":`alert-dialog-backdrop`,isDismissable:n,isKeyboardDismissDisabled:r,onClick:e=>{e.stopPropagation(),i?.(e)},...o,children:t=>(0,U.jsxs)(hx,{value:l,children:[typeof e==`function`?e(t):e,` `]})})},Container:({children:e,className:t,placement:n=`auto`,size:r,...i})=>{let{slots:a}=(0,v.use)(hx),o=(0,v.useMemo)(()=>Wu({size:r}),[r]),s=(0,v.useMemo)(()=>({placement:n,slots:{...a,...o}}),[n,a,o]);return(0,U.jsx)(sx,{className:Y(t,o?.container()),"data-placement":n,"data-slot":`alert-dialog-container`,...i,children:t=>(0,U.jsx)(hx,{value:s,children:typeof e==`function`?e(t):e})})},Dialog:({children:e,className:t,...n})=>{let{placement:r,slots:i}=(0,v.use)(hx);return(0,U.jsx)(rx,{className:X(i?.dialog,t),"data-placement":r,"data-slot":`alert-dialog-dialog`,role:`alertdialog`,...n,children:e})},Header:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(hx);return(0,U.jsx)(`div`,{className:X(r?.header,t),"data-slot":`alert-dialog-header`,...n,children:e})},Heading:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(hx);return(0,U.jsx)(mm,{className:X(r?.heading,t),"data-slot":`alert-dialog-heading`,slot:`title`,...n,children:e})},Body:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(hx);return(0,U.jsx)(`div`,{className:X(r?.body,t),"data-slot":`alert-dialog-body`,...n,children:e})},Footer:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(hx);return(0,U.jsx)(`div`,{className:X(r?.footer,t),"data-slot":`alert-dialog-footer`,...n,children:e})},Icon:({children:e,className:t,status:n=`danger`,...r})=>{let i=(0,v.useMemo)(()=>Wu({status:n}),[n]),a=()=>{switch(n){case`default`:return(0,U.jsx)(xm,{"data-slot":`alert-dialog-default-icon`});case`accent`:return(0,U.jsx)(xm,{"data-slot":`alert-dialog-default-icon`});case`success`:return(0,U.jsx)(wm,{"data-slot":`alert-dialog-default-icon`});case`warning`:return(0,U.jsx)(Sm,{"data-slot":`alert-dialog-default-icon`});case`danger`:return(0,U.jsx)(Cm,{"data-slot":`alert-dialog-default-icon`});default:return(0,U.jsx)(Cm,{"data-slot":`alert-dialog-default-icon`})}};return(0,U.jsx)(W.div,{className:i?.icon({className:t}),"data-slot":`alert-dialog-icon`,...r,children:e??a()})},CloseTrigger:({className:e,...t})=>{let{slots:n}=(0,v.use)(hx);return(0,U.jsx)(mx,{className:Y(e,n?.closeTrigger()),"data-slot":`alert-dialog-close-trigger`,slot:`close`,...t})}});function vx(e){let t=nb({usage:`search`,...e}),n=(0,v.useCallback)((e,n)=>n.length===0||(e=e.normalize(`NFC`),n=n.normalize(`NFC`),t.compare(e.slice(0,n.length),n)===0),[t]),r=(0,v.useCallback)((e,n)=>n.length===0||(e=e.normalize(`NFC`),n=n.normalize(`NFC`),t.compare(e.slice(-n.length),n)===0),[t]),i=(0,v.useCallback)((e,n)=>{if(n.length===0)return!0;e=e.normalize(`NFC`),n=n.normalize(`NFC`);let r=0,i=n.length;for(;r+i<=e.length;r++){let a=e.slice(r,r+i);if(t.compare(n,a)===0)return!0}return!1},[t]);return(0,v.useMemo)(()=>({startsWith:n,endsWith:r,contains:i}),[n,r,i])}var yx=(0,v.createContext)({}),bx=(0,v.forwardRef)(function(e,t){[e,t]=Bd(e,t,yx);let{isDisabled:n,isInvalid:r,isReadOnly:i,onHoverStart:a,onHoverChange:o,onHoverEnd:s,...c}=e;n??=!!e[`aria-disabled`]&&e[`aria-disabled`]!==`false`,r??=!!e[`aria-invalid`]&&e[`aria-invalid`]!==`false`;let{hoverProps:l,isHovered:u}=om({onHoverStart:a,onHoverChange:o,onHoverEnd:s,isDisabled:n}),{isFocused:d,isFocusVisible:f,focusProps:p}=em({within:!0}),m=Ld({...e,values:{isHovered:u,isFocusWithin:d,isFocusVisible:f,isDisabled:n,isInvalid:r},defaultClassName:`react-aria-Group`});return v.createElement(J.div,{...V(c,p,l),...m,ref:t,role:e.role??`group`,slot:e.slot??void 0,"data-focus-within":d||void 0,"data-hovered":u||void 0,"data-focus-visible":f||void 0,"data-disabled":n||void 0,"data-invalid":r||void 0,"data-readonly":i||void 0},m.children)}),xx=(0,v.createContext)(null),Sx={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},Cx={...Sx,customError:!0,valid:!1},wx={isInvalid:!1,validationDetails:Sx,validationErrors:[]},Tx=(0,v.createContext)({}),Ex=`__reactAriaFormValidationState`;function Dx(e){if(e.__reactAriaFormValidationState){let{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:i,commitValidation:a}=e[Ex];return{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:i,commitValidation:a}}return Ox(e)}function Ox(e){let{isInvalid:t,validationState:n,name:r,value:i,builtinValidation:a,validate:o,validationBehavior:s=`aria`}=e;n&&(t||=n===`invalid`);let c=t===void 0?null:{isInvalid:t,validationErrors:[],validationDetails:Cx},l=(0,v.useMemo)(()=>!o||i==null?null:jx(Ax(o,i)),[o,i]);a?.validationDetails.valid&&(a=void 0);let u=(0,v.useContext)(Tx),d=(0,v.useMemo)(()=>r?Array.isArray(r)?r.flatMap(e=>kx(u[e])):kx(u[r]):[],[u,r]),[f,p]=(0,v.useState)(u),[m,h]=(0,v.useState)(!1);u!==f&&(p(u),h(!1));let g=(0,v.useMemo)(()=>jx(m?[]:d),[m,d]),_=(0,v.useRef)(wx),[y,b]=(0,v.useState)(wx),x=(0,v.useRef)(wx),S=()=>{if(!C)return;w(!1);let e=l||a||_.current;Mx(e,x.current)||(x.current=e,b(e))},[C,w]=(0,v.useState)(!1);return(0,v.useEffect)(S),{realtimeValidation:c||g||l||a||wx,displayValidation:s===`native`?c||g||y:c||g||l||a||y,updateValidation(e){s===`aria`&&!Mx(y,e)?b(e):_.current=e},resetValidation(){let e=wx;Mx(e,x.current)||(x.current=e,b(e)),s===`native`&&w(!1),h(!0)},commitValidation(){s===`native`&&w(!0),h(!0)}}}function kx(e){return e?Array.isArray(e)?e:[e]:[]}function Ax(e,t){if(typeof e==`function`){let n=e(t);if(n&&typeof n!=`boolean`)return kx(n)}return[]}function jx(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:Cx}:null}function Mx(e,t){return e===t||!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((e,n)=>e===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([e,n])=>t.validationDetails[e]===n)}function Nx(...e){let t=new Set,n=!1,r={...Sx};for(let i of e){for(let e of i.validationErrors)t.add(e);n||=i.isInvalid;for(let e in r)r[e]||=i.validationDetails[e]}return r.valid=!n,{isInvalid:n,validationErrors:[...t],validationDetails:r}}var Px=(0,v.createContext)(null),Fx=(0,v.forwardRef)(function(e,t){[e,t]=Bd(e,t,Px);let{validationErrors:n,validationBehavior:r=`native`,children:i,className:a,...o}=e;return v.createElement(J.form,{noValidate:r!==`native`,...o,ref:t,className:a||`react-aria-Form`},v.createElement(Px.Provider,{value:{...e,validationBehavior:r}},v.createElement(Tx.Provider,{value:n??{}},i)))}),Ix={};Ix={colorSwatchPicker:`تغييرات الألوان`,dropzoneLabel:`DropZone`,selectPlaceholder:`حدد عنصرًا`,tableResizer:`أداة تغيير الحجم`};var Lx={};Lx={colorSwatchPicker:`Цветови мостри`,dropzoneLabel:`DropZone`,selectPlaceholder:`Изберете предмет`,tableResizer:`Преоразмерител`};var Rx={};Rx={colorSwatchPicker:`Vzorky barev`,dropzoneLabel:`Místo pro přetažení`,selectPlaceholder:`Vyberte položku`,tableResizer:`Změna velikosti`};var zx={};zx={colorSwatchPicker:`Farveprøver`,dropzoneLabel:`DropZone`,selectPlaceholder:`Vælg et element`,tableResizer:`Størrelsesændring`};var Bx={};Bx={colorSwatchPicker:`Farbfelder`,dropzoneLabel:`Ablegebereich`,selectPlaceholder:`Element wählen`,tableResizer:`Größenanpassung`};var Vx={};Vx={colorSwatchPicker:`Χρωματικά δείγματα`,dropzoneLabel:`DropZone`,selectPlaceholder:`Επιλέξτε ένα αντικείμενο`,tableResizer:`Αλλαγή μεγέθους`};var Hx={};Hx={selectPlaceholder:`Select an item`,tableResizer:`Resizer`,dropzoneLabel:`DropZone`,colorSwatchPicker:`Color swatches`};var Ux={};Ux={colorSwatchPicker:`Muestras de colores`,dropzoneLabel:`DropZone`,selectPlaceholder:`Seleccionar un artículo`,tableResizer:`Cambiador de tamaño`};var Wx={};Wx={colorSwatchPicker:`Värvinäidised`,dropzoneLabel:`DropZone`,selectPlaceholder:`Valige üksus`,tableResizer:`Suuruse muutja`};var Gx={};Gx={colorSwatchPicker:`Värimallit`,dropzoneLabel:`DropZone`,selectPlaceholder:`Valitse kohde`,tableResizer:`Koon muuttaja`};var Kx={};Kx={colorSwatchPicker:`Échantillons de couleurs`,dropzoneLabel:`DropZone`,selectPlaceholder:`Sélectionner un élément`,tableResizer:`Redimensionneur`};var qx={};qx={colorSwatchPicker:`דוגמיות צבע`,dropzoneLabel:`DropZone`,selectPlaceholder:`בחר פריט`,tableResizer:`שינוי גודל`};var Jx={};Jx={colorSwatchPicker:`Uzorci boja`,dropzoneLabel:`Zona spuštanja`,selectPlaceholder:`Odaberite stavku`,tableResizer:`Promjena veličine`};var Yx={};Yx={colorSwatchPicker:`Színtárak`,dropzoneLabel:`DropZone`,selectPlaceholder:`Válasszon ki egy elemet`,tableResizer:`Átméretező`};var Xx={};Xx={colorSwatchPicker:`Campioni di colore`,dropzoneLabel:`Zona di rilascio`,selectPlaceholder:`Seleziona un elemento`,tableResizer:`Ridimensionamento`};var Zx={};Zx={colorSwatchPicker:`カラースウォッチ`,dropzoneLabel:`ドロップゾーン`,selectPlaceholder:`項目を選択`,tableResizer:`サイズ変更ツール`};var Qx={};Qx={colorSwatchPicker:`색상 견본`,dropzoneLabel:`드롭 영역`,selectPlaceholder:`항목 선택`,tableResizer:`크기 조정기`};var $x={};$x={colorSwatchPicker:`Spalvų pavyzdžiai`,dropzoneLabel:`„DropZone“`,selectPlaceholder:`Pasirinkite elementą`,tableResizer:`Dydžio keitiklis`};var eS={};eS={colorSwatchPicker:`Krāsu paraugi`,dropzoneLabel:`DropZone`,selectPlaceholder:`Izvēlēties vienumu`,tableResizer:`Izmēra mainītājs`};var tS={};tS={colorSwatchPicker:`Fargekart`,dropzoneLabel:`Droppsone`,selectPlaceholder:`Velg et element`,tableResizer:`Størrelsesendrer`};var nS={};nS={colorSwatchPicker:`kleurstalen`,dropzoneLabel:`DropZone`,selectPlaceholder:`Selecteer een item`,tableResizer:`Resizer`};var rS={};rS={colorSwatchPicker:`Próbki kolorów`,dropzoneLabel:`Strefa upuszczania`,selectPlaceholder:`Wybierz element`,tableResizer:`Zmiana rozmiaru`};var iS={};iS={colorSwatchPicker:`Amostras de cores`,dropzoneLabel:`DropZone`,selectPlaceholder:`Selecione um item`,tableResizer:`Redimensionador`};var aS={};aS={colorSwatchPicker:`Amostras de cores`,dropzoneLabel:`DropZone`,selectPlaceholder:`Selecione um item`,tableResizer:`Redimensionador`};var oS={};oS={colorSwatchPicker:`Specimene de culoare`,dropzoneLabel:`Zonă de plasare`,selectPlaceholder:`Selectați un element`,tableResizer:`Instrument de redimensionare`};var sS={};sS={colorSwatchPicker:`Цветовые образцы`,dropzoneLabel:`DropZone`,selectPlaceholder:`Выберите элемент`,tableResizer:`Средство изменения размера`};var cS={};cS={colorSwatchPicker:`Vzorkovníky farieb`,dropzoneLabel:`DropZone`,selectPlaceholder:`Vyberte položku`,tableResizer:`Nástroj na zmenu veľkosti`};var lS={};lS={colorSwatchPicker:`Barvne palete`,dropzoneLabel:`DropZone`,selectPlaceholder:`Izberite element`,tableResizer:`Spreminjanje velikosti`};var uS={};uS={colorSwatchPicker:`Uzorci boje`,dropzoneLabel:`DropZone`,selectPlaceholder:`Izaberite stavku`,tableResizer:`Promena veličine`};var dS={};dS={colorSwatchPicker:`Färgrutor`,dropzoneLabel:`DropZone`,selectPlaceholder:`Välj en artikel`,tableResizer:`Storleksändrare`};var fS={};fS={colorSwatchPicker:`Renk örnekleri`,dropzoneLabel:`Bırakma Bölgesi`,selectPlaceholder:`Bir öğe seçin`,tableResizer:`Yeniden boyutlandırıcı`};var pS={};pS={colorSwatchPicker:`Зразки кольорів`,dropzoneLabel:`DropZone`,selectPlaceholder:`Виберіть елемент`,tableResizer:`Засіб змінення розміру`};var mS={};mS={colorSwatchPicker:`颜色色板`,dropzoneLabel:`放置区域`,selectPlaceholder:`选择一个项目`,tableResizer:`尺寸调整器`};var hS={};hS={colorSwatchPicker:`色票`,dropzoneLabel:`放置區`,selectPlaceholder:`選取項目`,tableResizer:`大小調整器`};var gS={};gS={"ar-AE":Ix,"bg-BG":Lx,"cs-CZ":Rx,"da-DK":zx,"de-DE":Bx,"el-GR":Vx,"en-US":Hx,"es-ES":Ux,"et-EE":Wx,"fi-FI":Gx,"fr-FR":Kx,"he-IL":qx,"hr-HR":Jx,"hu-HU":Yx,"it-IT":Xx,"ja-JP":Zx,"ko-KR":Qx,"lt-LT":$x,"lv-LV":eS,"nb-NO":tS,"nl-NL":nS,"pl-PL":rS,"pt-BR":iS,"pt-PT":aS,"ro-RO":oS,"ru-RU":sS,"sk-SK":cS,"sl-SI":lS,"sr-SP":uS,"sv-SE":dS,"tr-TR":fS,"uk-UA":pS,"zh-CN":mS,"zh-TW":hS};var _S=(0,v.createContext)({}),vS=(0,v.createContext)(null),yS=(0,v.forwardRef)(function(e,t){let{render:n}=(0,v.useContext)(vS);return v.createElement(v.Fragment,null,n(e,t))});function bS(e,t){let n=e?.renderDropIndicator,r=e?.isVirtualDragging?.(),i=(0,v.useCallback)(e=>{if(r||t?.isDropTarget(e))return n?n(e):v.createElement(yS,{target:e})},[t?.target,r,n]);return e?.useDropIndicator?i:void 0}function xS(e,t,n){let r=e.focusedKey,i=null;if(t?.isVirtualDragging?.()&&n?.target?.type===`item`&&(i=n.target.key,n.target.dropPosition===`after`)){let e=n.collection.getKeyAfter(i),t=null;if(e!=null){let r=n.collection.getItem(i)?.level??0;for(;e!=null;){let i=n.collection.getItem(e);if(!i)break;if(i.type!==`item`){e=n.collection.getKeyAfter(e);continue}if((i.level??0)<=r)break;t=e,e=n.collection.getKeyAfter(e)}}i=e??t??i}return(0,v.useMemo)(()=>new Set([r,i].filter(e=>e!=null)),[r,i])}var SS=new WeakMap;function CS(e){return typeof e==`string`?e.replace(/\s*/g,``):``+e}function wS(e,t){let n=SS.get(e);if(!n)throw Error(`Unknown list`);return`${n.id}-option-${CS(t)}`}function TS(e,t,n){let r=H(e,{labelable:!0}),i=e.selectionBehavior||`toggle`,a=e.orientation||`vertical`,o=e.linkBehavior||(i===`replace`?`action`:`override`);i===`toggle`&&o===`action`&&(o=`override`);let{listProps:s}=rb({...e,ref:n,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:o}),{focusWithinProps:c}=$p({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),l=so(e.id);SS.set(t,{id:l,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:o,UNSTABLE_itemBehavior:e.UNSTABLE_itemBehavior});let{labelProps:u,fieldProps:d}=Zd({...e,id:l,labelElementType:`span`});return{labelProps:u,listBoxProps:V(r,c,t.selectionManager.selectionMode===`multiple`?{"aria-multiselectable":`true`}:{},{role:`listbox`,"aria-orientation":a,...V(d,s)})}}function ES(e,t,n){let{key:r}=e,i=SS.get(t),a=e.isDisabled??t.selectionManager.isDisabled(r),o=e.isSelected??t.selectionManager.isSelected(r),s=e.shouldSelectOnPressUp??i?.shouldSelectOnPressUp,c=e.shouldFocusOnHover??i?.shouldFocusOnHover,l=e.shouldUseVirtualFocus??i?.shouldUseVirtualFocus,u=e.isVirtualized??i?.isVirtualized,d=lo(),f=lo(),p={role:`option`,"aria-disabled":a||void 0,"aria-selected":t.selectionManager.selectionMode===`none`?void 0:o,"aria-label":e[`aria-label`],"aria-labelledby":d,"aria-describedby":f},m=t.collection.getItem(r);if(u){let e=Number(m?.index);p[`aria-posinset`]=Number.isNaN(e)?void 0:e+1,p[`aria-setsize`]=hb(t.collection)}let h=i?.onAction?()=>i?.onAction?.(r):void 0,g=wS(t,r),{itemProps:_,isPressed:v,isFocused:y,hasAction:b,allowsSelection:x}=ab({selectionManager:t.selectionManager,key:r,ref:n,shouldSelectOnPressUp:s,allowsDifferentPressOrigin:s&&c,isVirtualized:u,shouldUseVirtualFocus:l,isDisabled:a,onAction:h||m?.props?.onAction?uo(m?.props?.onAction,h):void 0,linkBehavior:i?.linkBehavior,UNSTABLE_itemBehavior:i?.UNSTABLE_itemBehavior,id:g}),{hoverProps:S}=om({isDisabled:a||!c,onHoverStart(){ap()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(r))}}),C=H(m?.props);delete C.id;let w=Va(m?.props);return{optionProps:{...p,...V(C,_,S,w),id:g},labelProps:{id:d},descriptionProps:{id:f},isFocused:y,isFocusVisible:y&&t.selectionManager.isFocused&&ap(),isSelected:o,isDisabled:a,isPressed:v,allowsSelection:x,hasAction:b}}function DS(e){let{heading:t,"aria-label":n}=e,r=so();return{itemProps:{role:`presentation`},headingProps:t?{id:r,role:`presentation`,onMouseDown:e=>{e.preventDefault()}}:{},groupProps:{role:`group`,"aria-label":n,"aria-labelledby":t?r:void 0}}}var OS=class{constructor(e){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e;let t=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&e.type===`section`)for(let n of e.childNodes)t(n)};for(let n of e)t(n);let n=null,r=0,i=0;for(let[e,t]of this.keyMap)n?(n.nextKey=e,t.prevKey=n.key):(this.firstKey=e,t.prevKey=void 0),t.type===`item`&&(t.index=r++),(t.type===`section`||t.type===`item`)&&i++,n=t,n.nextKey=void 0;this._size=i,this.lastKey=n?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey??null:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){return this.keyMap.get(e)??null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){return this.keyMap.get(e)?.childNodes||[]}};function kS(e){let{filter:t,layoutDelegate:n}=e,r=Fb(e),i=(0,v.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=Nb(e,(0,v.useCallback)(e=>t?new OS(t(e)):new OS(e),[t]),(0,v.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning])),o=(0,v.useMemo)(()=>new Db(a,r,{layoutDelegate:n}),[a,r,n]);return jS(a,o),{collection:a,disabledKeys:i,selectionManager:o}}function AS(e,t){let n=(0,v.useMemo)(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),r=e.selectionManager.withCollection(n);return jS(n,r),{collection:n,selectionManager:r,disabledKeys:e.disabledKeys}}function jS(e,t){let n=(0,v.useRef)(null);(0,v.useEffect)(()=>{if(t.focusedKey!=null&&!e.getItem(t.focusedKey)&&n.current){let r=n.current.getKeyAfter(t.focusedKey),i=null;for(;r!=null;){let a=e.getItem(r);if(a&&a.type===`item`&&!t.isDisabled(r)){i=r;break}r=n.current.getKeyAfter(r)}if(i==null)for(r=n.current.getKeyBefore(t.focusedKey);r!=null;){let a=e.getItem(r);if(a&&a.type===`item`&&!t.isDisabled(r)){i=r;break}r=n.current.getKeyBefore(r)}t.setFocusedKey(i)}n.current=e},[e,t])}var MS=(0,v.createContext)(null),NS=(0,v.createContext)(null),PS=(0,v.forwardRef)(function(e,t){[e,t]=Bd(e,t,MS);let n=(0,v.useContext)(NS);return n?v.createElement(IS,{state:n,props:e,listBoxRef:t}):v.createElement(j_,{content:v.createElement(U_,e)},n=>v.createElement(FS,{props:e,listBoxRef:t,collection:n}))});function FS({props:e,listBoxRef:t,collection:n}){e={...e,collection:n,children:null,items:null};let{layoutDelegate:r}=(0,v.useContext)(Y_),i=kS({...e,layoutDelegate:r});return v.createElement(IS,{state:i,props:e,listBoxRef:t})}function IS({state:e,props:t,listBoxRef:n}){[t,n]=Bd(t,n,Vv);let{dragAndDropHooks:r,layout:i=`stack`,orientation:a=`vertical`,filter:o}=t,s=AS(e,o),{collection:c,selectionManager:l}=s,u=!!r?.useDraggableCollectionState,d=!!r?.useDroppableCollectionState,{direction:f}=lf(),{disabledBehavior:p,disabledKeys:m}=l,h=nb({usage:`search`,sensitivity:`base`}),{isVirtualized:g,layoutDelegate:_,dropTargetDelegate:y,CollectionRoot:b}=(0,v.useContext)(Y_),x=(0,v.useMemo)(()=>t.keyboardDelegate||new eb({collection:c,collator:h,ref:n,disabledKeys:m,disabledBehavior:p,layout:i,orientation:a,direction:f,layoutDelegate:_}),[c,h,n,p,m,a,f,t.keyboardDelegate,i,_]),{listBoxProps:S}=TS({...t,shouldSelectOnPressUp:u||t.shouldSelectOnPressUp,keyboardDelegate:x,isVirtualized:g},s,n);(0,v.useRef)(u),(0,v.useRef)(d),(0,v.useEffect)(()=>{},[u,d]);let C,w,T,E=!1,D=null,O=(0,v.useRef)(null);if(u&&r){C=r.useDraggableCollectionState({collection:c,selectionManager:l,preview:r.renderDragPreview?O:void 0}),r.useDraggableCollection({},C,n);let e=r.DragPreview;D=r.renderDragPreview?v.createElement(e,{ref:O},r.renderDragPreview):null}if(d&&r){w=r.useDroppableCollectionState({collection:c,selectionManager:l});let e=r.dropTargetDelegate||y||new r.ListDropTargetDelegate(c,n,{orientation:a,layout:i,direction:f});T=r.useDroppableCollection({keyboardDelegate:x,dropTargetDelegate:e},w,n),E=w.isDropTarget({type:`root`})}let{focusProps:k,isFocused:A,isFocusVisible:j}=em(),M=s.collection.size===0,N={isDropTarget:E,isEmpty:M,isFocused:A,isFocusVisible:j,layout:t.layout||`stack`,orientation:a,state:s},P=Ld({...t,children:void 0,defaultClassName:`react-aria-ListBox`,values:N}),F=null;M&&t.renderEmptyState&&(F=v.createElement(`div`,{role:`option`,style:{display:`contents`}},t.renderEmptyState(N)));let I=H(t,{global:!0});return v.createElement(hh,null,v.createElement(J.div,{...V(I,P,S,k,T?.collectionProps),ref:n,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":E||void 0,"data-empty":M||void 0,"data-focused":A||void 0,"data-focus-visible":j||void 0,"data-layout":t.layout||`stack`,"data-orientation":a},v.createElement(Id,{values:[[MS,t],[NS,s],[_S,{dragAndDropHooks:r,dragState:C,dropState:w}],[Qv,{elementType:`div`}],[vS,{render:BS}],[G_,{name:`ListBoxSection`,render:LS}]]},v.createElement(qv,null,v.createElement(b,{collection:c,scrollRef:n,persistedKeys:xS(l,r,w),renderDropIndicator:bS(r,w)}))),F,D))}function LS(e,t,n,r=`react-aria-ListBoxSection`){let i=(0,v.useContext)(NS),{dragAndDropHooks:a,dropState:o}=(0,v.useContext)(_S),{CollectionBranch:s}=(0,v.useContext)(Y_),[c,l]=Vd(),{headingProps:u,groupProps:d}=DS({heading:l,"aria-label":e[`aria-label`]??void 0}),f=Ld({...e,id:void 0,children:void 0,defaultClassName:r,values:void 0}),p=H(e,{global:!0});return delete p.id,v.createElement(J.section,{...V(p,f,d),ref:t},v.createElement(Wv.Provider,{value:{...u,ref:c}},v.createElement(s,{collection:i.collection,parent:n,renderDropIndicator:bS(a,o)})))}var RS=B_(v_,LS),zS=z_(__,function(e,t,n){let r=Wo(t),i=(0,v.useContext)(NS),{dragAndDropHooks:a,dragState:o,dropState:s}=(0,v.useContext)(_S),c=o&&!(o.isDisabled||o.selectionManager.isDisabled(n.key)),{optionProps:l,labelProps:u,descriptionProps:d,...f}=ES({key:n.key,"aria-label":e?.[`aria-label`]},i,r),{hoverProps:p,isHovered:m}=om({isDisabled:!f.allowsSelection&&!f.hasAction&&!c,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),{keyboardProps:h}=Op(e),{focusProps:g}=mp(e),_=null;o&&a&&(_=a.useDraggableItem({key:n.key,hasAction:f.hasAction},o));let y=null;s&&a&&(y=a.useDroppableItem({target:{type:`item`,key:n.key,dropPosition:`on`}},s,r));let b=o&&o.isDragging(n.key),x=Ld({...e,id:void 0,children:e.children,defaultClassName:`react-aria-ListBoxItem`,values:{...f,isHovered:m,selectionMode:i.selectionManager.selectionMode,selectionBehavior:i.selectionManager.selectionBehavior,allowsDragging:!!o,isDragging:b,isDropTarget:y?.isDropTarget}});(0,v.useEffect)(()=>{n.textValue},[n.textValue]);let S=e.href?J.a:J.div,C=H(e,{global:!0});return delete C.id,delete C.onClick,e.href&&l.tabIndex==null&&(l.tabIndex=-1),v.createElement(S,{...V(C,x,l,p,h,g,_?.dragProps,y?.dropProps),ref:r,"data-allows-dragging":!!o||void 0,"data-selected":f.isSelected||void 0,"data-disabled":f.isDisabled||void 0,"data-hovered":m||void 0,"data-focused":f.isFocused||void 0,"data-focus-visible":f.isFocusVisible||void 0,"data-pressed":f.isPressed||void 0,"data-dragging":b||void 0,"data-drop-target":y?.isDropTarget||void 0,"data-selection-mode":i.selectionManager.selectionMode===`none`?void 0:i.selectionManager.selectionMode},v.createElement(Id,{values:[[ey,{slots:{[Fd]:u,label:u,description:d}}],[Yv,{isSelected:f.isSelected}]]},x.children))});function BS(e,t){t=Wo(t);let{dragAndDropHooks:n,dropState:r}=(0,v.useContext)(_S),{dropIndicatorProps:i,isHidden:a,isDropTarget:o}=n.useDropIndicator(e,r,t);return a?null:v.createElement(HS,{...e,dropIndicatorProps:i,isDropTarget:o,ref:t})}function VS(e,t){let{dropIndicatorProps:n,isDropTarget:r,...i}=e,a=Ld({...i,defaultClassName:`react-aria-DropIndicator`,values:{isDropTarget:r}});return v.createElement(v.Fragment,null,v.createElement(J.div,{...n,...a,role:`option`,ref:t,"data-drop-target":r||void 0}))}var HS=(0,v.forwardRef)(VS);z_(g_,function(e,t,n){let r=(0,v.useContext)(NS),{isLoading:i,onLoadMore:a,scrollOffset:o,...s}=e,c=(0,v.useRef)(null);_s((0,v.useMemo)(()=>({onLoadMore:a,collection:r?.collection,sentinelRef:c,scrollOffset:o}),[a,o,r?.collection]),c);let l=Ld({...s,id:void 0,children:n.rendered,defaultClassName:`react-aria-ListBoxLoadingIndicator`,values:void 0});return v.createElement(v.Fragment,null,v.createElement(`div`,{style:{position:`relative`,width:0,height:0},inert:vs(!0)},v.createElement(`div`,{"data-testid":`loadMoreSentinel`,ref:c,style:{position:`absolute`,height:1,width:1}})),i&&l.children&&v.createElement(v.Fragment,null,v.createElement(J.div,{...V(H(e,{global:!0}),{tabIndex:-1}),...l,role:`option`,ref:t},l.children)))});function US(e){let{description:t,errorMessage:n,isInvalid:r,validationState:i}=e,{labelProps:a,fieldProps:o}=Zd(e),s=lo([!!t,!!n,r,i]),c=lo([!!t,!!n,r,i]);return o=V(o,{"aria-describedby":[s,c,e[`aria-describedby`]].filter(Boolean).join(` `)||void 0}),{labelProps:a,fieldProps:o,descriptionProps:{id:s},errorMessageProps:{id:c}}}var WS=new WeakMap;function GS(e,t,n){let{keyboardDelegate:r,isDisabled:i,isRequired:a,name:o,form:s,validationBehavior:c=`aria`}=e,l=nb({usage:`search`,sensitivity:`base`}),u=(0,v.useMemo)(()=>r||new eb(t.collection,t.disabledKeys,n,l),[r,t.collection,t.disabledKeys,l,n]),{menuTriggerProps:d,menuProps:f}=Hy({isDisabled:i,type:`listbox`},t,n),{keyboardProps:p}=Op({shortcuts:{ArrowLeft:()=>{if(t.selectionManager.selectionMode===`multiple`)return!1;let e=t.selectedKey==null?u.getFirstKey?.():u.getKeyAbove?.(t.selectedKey);e!=null&&t.setSelectedKey(e)},ArrowRight:()=>{if(t.selectionManager.selectionMode===`multiple`)return!1;let e=t.selectedKey==null?u.getFirstKey?.():u.getKeyBelow?.(t.selectedKey);e!=null&&t.setSelectedKey(e)}},allowRepeats:!0,onKeyDown:e.onKeyDown,onKeyUp:e.onKeyUp}),{typeSelectProps:m}=Xy({keyboardDelegate:u,selectionManager:t.selectionManager,onTypeSelect(e){t.setSelectedKey(e)}}),{isInvalid:h,validationErrors:g,validationDetails:_}=t.displayValidation,{labelProps:y,fieldProps:b,descriptionProps:x,errorMessageProps:S}=US({...e,labelElementType:`span`,isInvalid:h,errorMessage:e.errorMessage||g});t.selectionManager.selectionMode===`multiple`&&(m={});let C=H(e,{labelable:!0}),w=V(m,d,b),T=so();return WS.set(t,{isDisabled:i,isRequired:a,name:o,form:s,validationBehavior:c}),{labelProps:{...y,onClick:()=>{e.isDisabled||(n.current?.focus(),sp(`keyboard`))}},triggerProps:V(C,{...w,isDisabled:i,onKeyDown:uo(w.onKeyDown,p.onKeyDown),onKeyUp:p.onKeyUp,"aria-labelledby":[T,w[`aria-labelledby`],w[`aria-label`]&&!w[`aria-labelledby`]?w.id:null].filter(Boolean).join(` `),onFocus(n){t.isFocused||(e.onFocus&&e.onFocus(n),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur(n){t.isOpen||(e.onBlur&&e.onBlur(n),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:T},menuProps:{...f,onAction:void 0,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:`selection`,onBlur:n=>{xo(n.currentTarget,n.relatedTarget)||(e.onBlur&&e.onBlur(n),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[b[`aria-labelledby`],w[`aria-label`]&&!b[`aria-labelledby`]?w.id:null].filter(Boolean).join(` `)},descriptionProps:x,errorMessageProps:S,isInvalid:h,validationErrors:g,validationDetails:_,hiddenSelectProps:{isDisabled:i,name:o,label:e.label,state:t,triggerRef:n,form:s}}}function KS(e,t,n){let{validationBehavior:r,focus:i}=e;Ua(()=>{if(r===`native`&&n?.current&&`setCustomValidity`in n.current&&!n.current.disabled){let e=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(` `)||`Invalid value.`:``;n.current.setCustomValidity(e),n.current.hasAttribute(`title`)||(n.current.title=``),t.realtimeValidation.isInvalid||t.updateValidation(JS(n.current))}});let a=(0,v.useRef)(!1),o=Ko(()=>{a.current||t.resetValidation()}),s=Ko(e=>{t.displayValidation.isInvalid||t.commitValidation();let r=n?.current?.form;!e.defaultPrevented&&n&&r&&YS(r)===n.current&&(i?i():n.current?.focus(),sp(`keyboard`)),e.preventDefault()}),c=Ko(()=>{t.commitValidation()});(0,v.useEffect)(()=>{let e=n?.current;if(!e)return;let t=e.form,r=t?.reset;return t&&(t.reset=()=>{a.current=!window.event||window.event.type===`message`&&B(window.event)instanceof MessagePort,r?.call(t),a.current=!1}),e.addEventListener(`invalid`,s),e.addEventListener(`change`,c),t?.addEventListener(`reset`,o),()=>{e.removeEventListener(`invalid`,s),e.removeEventListener(`change`,c),t?.removeEventListener(`reset`,o),t&&(t.reset=r)}},[n,r])}function qS(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function JS(e){return{isInvalid:!e.validity.valid,validationDetails:qS(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function YS(e){for(let t=0;tn.current?.focus()},t,e.selectRef);let d=t.setValue,f=(0,v.useCallback)(e=>{let t=B(e);t.multiple?d(Array.from(t.selectedOptions,e=>e.value)):d(e.currentTarget.value)},[d]);return{containerProps:{...u,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":`aria-hidden-focus`},inputProps:{style:{display:`none`}},selectProps:{tabIndex:-1,autoComplete:i,disabled:s,multiple:t.selectionManager.selectionMode===`multiple`,required:c===`native`&&l,name:a,form:o,value:t.value??``,onChange:f,onInput:f}}}function ZS(e){let{state:t,triggerRef:n,label:r,name:i,form:a,isDisabled:o}=e,s=(0,v.useRef)(null),c=(0,v.useRef)(null),{containerProps:l,selectProps:u}=XS({...e,selectRef:t.collection.size<=300?s:c},t,n),d=Array.isArray(t.value)?t.value:[t.value];if(t.collection.size<=300)return v.createElement(`div`,{...l,"data-testid":`hidden-select-container`},v.createElement(`label`,null,r,v.createElement(`select`,{...u,ref:s},v.createElement(`option`,{value:``,label:`\xA0`},`\xA0`),[...t.collection.getKeys()].map(e=>{let n=t.collection.getItem(e);if(n&&n.type===`item`)return v.createElement(`option`,{key:n.key,value:n.key},n.textValue)}),t.collection.size===0&&i&&d.map((e,t)=>v.createElement(`option`,{key:t,value:e??``})))));if(i){let{validationBehavior:e}=WS.get(t)||{};d.length===0&&(d=[null]);let n=d.map((t,n)=>{let r={type:`hidden`,autoComplete:u.autoComplete,name:i,form:a,disabled:o,value:t??``};return e===`native`?v.createElement(`input`,{key:n,...r,ref:n===0?c:null,style:{display:`none`},type:`text`,required:n===0&&u.required,onChange:()=>{}}):v.createElement(`input`,{key:n,...r,ref:n===0?c:null})});return v.createElement(v.Fragment,null,n)}return null}function QS(e){let{selectionMode:t=`single`,shouldCloseOnSelect:n=t===`single`}=e,r=l_(e),[i,a]=(0,v.useState)(null),o=(0,v.useMemo)(()=>e.defaultValue===void 0?t===`single`?e.defaultSelectedKey??null:[]:e.defaultValue,[e.defaultValue,e.defaultSelectedKey,t]),[s,c]=fm((0,v.useMemo)(()=>e.value===void 0?t===`single`?e.selectedKey:void 0:e.value,[e.value,e.selectedKey,t]),o,e.onChange),l=t===`single`&&Array.isArray(s)?s[0]:s,u=n=>{if(t===`single`){let t=Array.isArray(n)?n[0]??null:n;c(t),t!==l&&e.onSelectionChange?.(t)}else{let e=[];Array.isArray(n)?e=n:n!=null&&(e=[n]),c(e)}},d=kS({...e,selectionMode:t,disallowEmptySelection:t===`single`,allowDuplicateSelectionEvents:!0,selectedKeys:(0,v.useMemo)(()=>$S(l),[l]),onSelectionChange:e=>{if(e!==`all`){if(t===`single`){let t=e.values().next().value??null;u(t)}else u([...e]);n&&r.close(),m.commitValidation()}}}),f=d.selectionManager.firstSelectedKey,p=(0,v.useMemo)(()=>[...d.selectionManager.selectedKeys].map(e=>d.collection.getItem(e)).filter(e=>e!=null),[d.selectionManager.selectedKeys,d.collection]),m=Dx({...e,value:Array.isArray(l)&&l.length===0?null:l}),[h,g]=(0,v.useState)(!1),[_]=(0,v.useState)(l);return{...m,...d,...r,value:l,defaultValue:o??_,setValue:u,selectedKey:f,setSelectedKey:u,selectedItem:p[0]??null,selectedItems:p,defaultSelectedKey:e.defaultSelectedKey??(e.selectionMode===`single`?_:null),focusStrategy:i,open(t=null){(d.collection.size!==0||e.allowsEmptyCollection)&&(a(t),r.open())},toggle(t=null){(d.collection.size!==0||e.allowsEmptyCollection)&&(a(t),r.toggle())},isFocused:h,setFocused:g}}function $S(e){if(e!==void 0)return e===null?[]:Array.isArray(e)?e:[e]}function eC(e={}){let{locale:t}=lf();return(0,v.useMemo)(()=>new Intl.ListFormat(t,e),[t,e])}function tC(e){return e&&e.__esModule?e.default:e}var nC=(0,v.createContext)(null),rC=(0,v.createContext)(null),iC=qd(function(e,t){[e,t]=Bd(e,t,nC);let{children:n,isDisabled:r=!1,isInvalid:i=!1,isRequired:a=!1}=e,o=(0,v.useMemo)(()=>typeof n==`function`?n({isOpen:!1,isDisabled:r,isInvalid:i,isRequired:a,isFocused:!1,isFocusVisible:!1,defaultChildren:null}):n,[n,r,i,a]);return v.createElement(j_,{content:o},n=>v.createElement(oC,{props:e,collection:n,selectRef:t}))}),aC=[Yd,sm,ey];function oC({props:e,selectRef:t,collection:n}){let{validationBehavior:r}=zd(Px)||{},i=e.validationBehavior??r??`native`,a=QS({...e,collection:n,children:void 0,validationBehavior:i}),{isFocusVisible:o,focusProps:s}=em({within:!0}),c=(0,v.useRef)(null),[l,u]=Vd(!e[`aria-label`]&&!e[`aria-labelledby`]),{labelProps:d,triggerProps:f,valueProps:p,menuProps:m,descriptionProps:h,errorMessageProps:g,hiddenSelectProps:_,...y}=GS({...Hd(e),label:u,validationBehavior:i},a,c),b=(0,v.useMemo)(()=>({isOpen:a.isOpen,isFocused:a.isFocused,isFocusVisible:o,isDisabled:e.isDisabled||!1,isInvalid:y.isInvalid||!1,isRequired:e.isRequired||!1}),[a.isOpen,a.isFocused,o,e.isDisabled,y.isInvalid,e.isRequired]),x=Ld({...e,values:b,defaultClassName:`react-aria-Select`}),S=H(e,{global:!0});delete S.id;let C=(0,v.useRef)(null);return v.createElement(Id,{values:[[nC,e],[rC,a],[sC,p],[Yd,{...d,ref:l,elementType:`span`}],[sm,{...f,ref:c,isPressed:a.isOpen,autoFocus:e.autoFocus}],[tx,a],[u_,{trigger:`Select`,triggerRef:c,scrollRef:C,placement:`bottom start`,"aria-labelledby":m[`aria-labelledby`],clearContexts:aC}],[MS,{...m,ref:C}],[NS,a],[ey,{slots:{description:h,errorMessage:g}}],[xx,y]]},v.createElement(J.div,{...V(S,x,s),ref:t,slot:e.slot||void 0,"data-focused":a.isFocused||void 0,"data-focus-visible":o||void 0,"data-open":a.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":y.isInvalid||void 0,"data-required":e.isRequired||void 0},x.children,v.createElement(ZS,{..._,autoComplete:e.autoComplete})))}var sC=(0,v.createContext)(null),cC=qd(function(e,t){[e,t]=Bd(e,t,sC);let n=(0,v.useContext)(rC),{placeholder:r}=zd(nC),i=n.selectedItems.map(e=>{let t=e.props?.children;return typeof t==`function`&&(t=t({isHovered:!1,isPressed:!1,isSelected:!1,isFocused:!1,isFocusVisible:!1,isDisabled:!1,selectionMode:`single`,selectionBehavior:`toggle`})),t}),a=eC(),o=(0,v.useMemo)(()=>n.selectedItems.map(e=>e?.textValue),[n.selectedItems]),s=n.selectionManager.selectionMode,c=(0,v.useMemo)(()=>s===`single`?o[0]??``:a.format(o),[s,a,o]),l=(0,v.useMemo)(()=>{if(s===`single`)return i[0];let e=a.formatToParts(o);if(e.length===0)return null;let t=0;return e.map(e=>e.type===`element`?v.createElement(v.Fragment,{key:t},i[t++]):e.value)},[s,a,o,i]),u=Xg(tC(gS),`react-aria-components`),d=Ld({...e,defaultChildren:l??r??u.format(`selectPlaceholder`),defaultClassName:`react-aria-SelectValue`,values:{selectedItem:n.selectedItems[0]?.value??null,selectedItems:(0,v.useMemo)(()=>n.selectedItems.map(e=>e.value??null),[n.selectedItems]),selectedText:c,isPlaceholder:n.selectedItems.length===0,state:n}}),f=H(e,{global:!0});return v.createElement(J.span,{ref:t,...f,...d,"data-placeholder":n.selectedItems.length===0||void 0},v.createElement(ey.Provider,{value:void 0},d.children))}),lC=(0,v.createContext)(!1),uC=e=>{let t=(0,v.use)(lC),n=(0,v.use)(ey);return!t||n?.slots?.[e]!=null},dC=({children:e})=>(0,U.jsx)(lC,{value:!0,children:e}),fC=(0,v.createContext)({triggerRef:{current:null},clearButtonRef:{current:null},isDisabled:!1}),pC=({children:e,className:t,fullWidth:n,isDisabled:r,onClear:i,variant:a,...o})=>{let s=v.useMemo(()=>Gu({fullWidth:n,variant:a}),[n,a]),c=(0,v.useRef)(null),l=(0,v.useRef)(null);return(0,U.jsx)(dC,{children:(0,U.jsx)(fC,{value:{slots:s,triggerRef:c,clearButtonRef:l,onClear:i,isDisabled:r},children:(0,U.jsx)(iC,{"data-slot":`autocomplete`,...o,className:Y(t,s?.base()),isDisabled:r,children:t=>(0,U.jsx)(U.Fragment,{children:typeof e==`function`?e(t):e})})})})},mC=({children:e,className:t,isDisabled:n,onClick:r,ref:i,...a})=>{let{clearButtonRef:o,isDisabled:s,slots:c,triggerRef:l}=(0,v.use)(fC),u=(0,v.use)(rC),d=n??s??!1,f=Jd(),p=Do(v.useCallback(e=>{l.current=e},[l]),i);return f?null:(0,U.jsx)(bx,{ref:p,className:Y(t,c?.trigger()),"data-slot":`autocomplete-trigger`,isDisabled:d,onClick:e=>{o.current?.contains(e.target)||(r?.(e),u?.toggle())},...a,children:t=>(0,U.jsx)(U.Fragment,{children:typeof e==`function`?e(t):e})})};mC.displayName=`AutocompleteTrigger`;var hC=Object.assign(pC,{Root:pC,Trigger:mC,Value:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(fC);return(0,U.jsx)(cC,{className:Y(t,r?.value()),"data-slot":`autocomplete-value`,...n,children:e})},Indicator:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(fC),i=(0,v.use)(rC),a=e&&v.isValidElement(e)?v.cloneElement(e,{...n,className:X(r?.indicator,t),"data-slot":`autocomplete-indicator`,"data-open":hm(i?.isOpen)}):(0,U.jsx)(gm,{className:X(r?.indicator,t),"data-open":hm(i?.isOpen),"data-slot":`autocomplete-default-indicator`,...n});return(0,U.jsx)(cm,{children:a})},Popover:({children:e,className:t,placement:n=`bottom`,style:r,...i})=>{let{slots:a,triggerRef:o}=(0,v.use)(fC),[s,c]=(0,v.useState)(null);return Xo({ref:o,onResize:(0,v.useCallback)(()=>{o.current&&c(o.current.offsetWidth+`px`)},[o])}),(0,U.jsx)(km,{value:{variant:`default`},children:(0,U.jsx)(f_,{...i,className:Y(t,a?.popover()),"data-slot":`autocomplete-popover`,placement:n,triggerRef:o,style:{"--trigger-width":s,...typeof r==`object`&&r?r:{}},children:e})})},Filter:({children:e,...t})=>(0,U.jsx)(Uv,{"data-slot":`autocomplete-filter`,...t,children:e}),ClearButton:({className:e,onClick:t,ref:n,...r})=>{let{clearButtonRef:i,isDisabled:a,onClear:o,slots:s}=(0,v.use)(fC),c=(0,v.use)(rC),l=Do(v.useCallback(e=>{i.current=e},[i]),n),u=e=>{c?.selectionManager.setSelectedKeys(new Set),o?.(),t?.(e)},d=c?.selectionManager.selectedKeys.size===0;return(0,U.jsx)(W.button,{ref:l,"aria-hidden":d||void 0,"aria-label":`Clear selection`,className:s?.clearButton({className:e}),"data-empty":hm(d),"data-slot":`autocomplete-clear-button`,disabled:a??!1,tabIndex:-1,type:`button`,onClick:u,...r,children:(0,U.jsx)(bm,{"data-slot":`autocomplete-clear-button-icon`})})}});function gC(e,t,n){let{isSelected:r}=t,{isPressed:i,buttonProps:a}=Qp({...e,onPress:uo(t.toggle,e.onPress)},n);return{isPressed:i,isSelected:r,isDisabled:e.isDisabled||!1,buttonProps:V(a,{"aria-pressed":r})}}function _C(e,t){let{"aria-label":n,"aria-labelledby":r,orientation:i=`horizontal`}=e,[a,o]=(0,v.useState)(!1);Ua(()=>{o(!!(t.current&&t.current.parentElement?.closest(`[role="toolbar"]`)))});let{direction:s}=lf(),c=s===`rtl`&&i===`horizontal`,l=Ih(t),u=e=>{if(xo(e.currentTarget,B(e))){if(i===`horizontal`&&e.key===`ArrowRight`||i===`vertical`&&e.key===`ArrowDown`)c?l.focusPrevious():l.focusNext();else if(i===`horizontal`&&e.key===`ArrowLeft`||i===`vertical`&&e.key===`ArrowUp`)c?l.focusNext():l.focusPrevious();else if(e.key===`Tab`){d.current=So(),e.shiftKey?l.focusFirst():l.focusLast();return}else return;e.stopPropagation(),e.preventDefault()}},d=(0,v.useRef)(null),f=e=>{!xo(e.currentTarget,e.relatedTarget)&&!d.current&&(d.current=B(e))},p=e=>{d.current&&!xo(e.currentTarget,e.relatedTarget)&&xo(t.current,B(e))&&(d.current?.focus(),d.current=null)};return{toolbarProps:{...H(e,{labelable:!0}),role:a?`group`:`toolbar`,"aria-orientation":i,"aria-label":n,"aria-labelledby":n==null?r:void 0,onKeyDownCapture:a?void 0:u,onFocusCapture:a?void 0:p,onBlurCapture:a?void 0:f}}}function vC(e,t,n){let{isDisabled:r}=e,{toolbarProps:i}=_C(e,n);return{groupProps:{...i,role:t.selectionMode===`single`?`radiogroup`:i.role,"aria-disabled":r}}}function yC(e,t,n){let r={isSelected:t.selectedKeys.has(e.id),defaultSelected:!1,setSelected(n){t.setSelected(e.id,n)},toggle(){t.toggleKey(e.id)}},{isPressed:i,isSelected:a,isDisabled:o,buttonProps:s}=gC({...e,id:void 0,isDisabled:e.isDisabled||t.isDisabled},r,n);return t.selectionMode===`single`&&(s.role=`radio`,s[`aria-checked`]=r.isSelected,delete s[`aria-pressed`]),{isPressed:i,isSelected:a,isDisabled:o,buttonProps:s}}function bC(e){let{selectionMode:t=`single`,disallowEmptySelection:n,isDisabled:r=!1}=e,[i,a]=fm((0,v.useMemo)(()=>e.selectedKeys?new Set(e.selectedKeys):void 0,[e.selectedKeys]),(0,v.useMemo)(()=>e.defaultSelectedKeys?new Set(e.defaultSelectedKeys):new Set,[e.defaultSelectedKeys]),e.onSelectionChange);return{selectionMode:t,isDisabled:r,selectedKeys:i,setSelectedKeys:a,toggleKey(e){let r;t===`multiple`?(r=new Set(i),r.has(e)&&(!n||r.size>1)?r.delete(e):r.add(e)):r=new Set(i.has(e)&&!n?[]:[e]),a(r)},setSelected(e,t){t!==i.has(e)&&this.toggleKey(e)}}}var xC=(0,v.createContext)({}),SC=(0,v.createContext)(null),CC=(0,v.forwardRef)(function(e,t){[e,t]=Bd(e,t,xC);let n=bC(e),{groupProps:r}=vC(e,n,t),i=Ld({...e,values:{orientation:e.orientation||`horizontal`,isDisabled:n.isDisabled,state:n},defaultClassName:`react-aria-ToggleButtonGroup`}),a=H(e,{global:!0});return v.createElement(J.div,{...V(a,i,r),ref:t,slot:e.slot||void 0,"data-orientation":e.orientation||`horizontal`,"data-disabled":e.isDisabled||void 0},v.createElement(SC.Provider,{value:n},v.createElement(qv,null,i.children)))});function wC(e={}){let{isReadOnly:t}=e,[n,r]=fm(e.isSelected,e.defaultSelected||!1,e.onChange),[i]=(0,v.useState)(n);function a(e){t||r(e)}function o(){t||r(!n)}return{isSelected:n,defaultSelected:e.defaultSelected??i,setSelected:a,toggle:o}}var TC=(0,v.createContext)({}),EC=(0,v.forwardRef)(function(e,t){[e,t]=Bd(e,t,TC);let n=(0,v.useContext)(SC),r=wC(n&&e.id!=null?{isSelected:n.selectedKeys.has(e.id),onChange(t){n.setSelected(e.id,t)}}:e),{buttonProps:i,isPressed:a,isSelected:o,isDisabled:s}=n&&e.id!=null?yC({...e,id:e.id},n,t):gC({...e,id:e.id==null?void 0:String(e.id)},r,t),{focusProps:c,isFocused:l,isFocusVisible:u}=em(e),{hoverProps:d,isHovered:f}=om({...e,isDisabled:s}),p=Ld({...e,id:void 0,values:{isHovered:f,isPressed:a,isFocused:l,isSelected:r.isSelected,isFocusVisible:u,isDisabled:s,state:r},defaultClassName:`react-aria-ToggleButton`}),m=H(e,{global:!0});return delete m.id,delete m.onClick,v.createElement(J.button,{...V(m,p,i,c,d),ref:t,slot:e.slot||void 0,"data-focused":l||void 0,"data-disabled":s||void 0,"data-pressed":a||void 0,"data-selected":o||void 0,"data-hovered":f||void 0,"data-focus-visible":u||void 0},v.createElement(Yv.Provider,{value:{isSelected:o}},p.children))}),DC=(0,v.createContext)({}),OC=`__button_group_child`,kC=({children:e,className:t,fullWidth:n,isDisabled:r,isIconOnly:i,size:a,slot:o,style:s,variant:c,[OC]:l,...u})=>{let d=(0,v.use)(DC),f=l===!0,p=a??(f?d?.size:void 0),m=c??(f?d?.variant:void 0),h=r??(f?d?.isDisabled:void 0),g=Ku({fullWidth:n??(f?d?.fullWidth:void 0),isIconOnly:i,size:p,variant:m});return(0,U.jsx)(cm,{className:Y(t,g),"data-slot":`button`,isDisabled:h,slot:o,style:s,...u,children:t=>typeof e==`function`?e(t):e})},Z=Object.assign(kC,{Root:kC}),AC=(0,v.createContext)({}),jC=({children:e,className:t,variant:n=`default`,...r})=>{let i=v.useMemo(()=>Yu({variant:n}),[n]),a=(0,U.jsx)(W.div,{className:i.base({className:t}),"data-slot":`card`,...r,children:e});return(0,U.jsx)(AC,{value:{slots:i},children:n===`transparent`?a:(0,U.jsx)(km,{value:{variant:n},children:a})})},MC=Object.assign(jC,{Root:jC,Header:({className:e,...t})=>{let{slots:n}=(0,v.use)(AC);return(0,U.jsx)(W.div,{className:X(n?.header,e),"data-slot":`card-header`,...t})},Title:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(AC);return(0,U.jsx)(W.h3,{className:X(r?.title,t),"data-slot":`card-title`,...n,children:e})},Description:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(AC);return(0,U.jsx)(W.p,{className:X(r?.description,t),"data-slot":`card-description`,...n,children:e})},Content:({className:e,...t})=>{let{slots:n}=(0,v.use)(AC);return(0,U.jsx)(W.div,{className:X(n?.content,e),"data-slot":`card-content`,...t})},Footer:({className:e,...t})=>{let{slots:n}=(0,v.use)(AC);return(0,U.jsx)(W.div,{className:X(n?.footer,e),"data-slot":`card-footer`,...t})}}),NC=new WeakMap;function PC(e=!0){let[t,n]=(0,v.useState)(e),r=(0,v.useRef)(!1),i=(0,v.useCallback)(e=>{r.current=!0,n(!!e)},[]);return Ua(()=>{r.current||n(!1)},[]),[i,t]}function FC(e=!0){let t=so(),[n,r]=PC(e);return{id:r?t:void 0,ref:n}}function IC(e,t,n){let{isDisabled:r=!1,isReadOnly:i=!1,value:a,name:o,form:s,children:c,isRequired:l,validationBehavior:u=`aria`,"aria-label":d,"aria-labelledby":f,"aria-describedby":p,onPressStart:m,onPressEnd:h,onPressChange:g,onPress:_,onPressUp:y,onClick:b}=e,x=Dx({...e,value:t.isSelected}),{isInvalid:S,validationErrors:C,validationDetails:w}=x.displayValidation;KS(e,x,n);let T=e=>{e.stopPropagation(),t.setSelected(B(e).checked)},{pressProps:E,isPressed:D}=Wp({onPressStart:m,onPressEnd:h,onPressChange:g,onPress:_,onPressUp:y,onClick:b,isDisabled:r}),[O,k]=(0,v.useState)(!1),{pressProps:A}=Wp({onPressStart(e){if(e.pointerType===`keyboard`||e.pointerType===`virtual`){e.continuePropagation();return}m?.(e),g?.(!0),k(!0)},onPressEnd(e){if(e.pointerType===`keyboard`||e.pointerType===`virtual`){e.continuePropagation();return}h?.(e),g?.(!1),k(!1)},onPressUp(e){if(e.pointerType===`keyboard`||e.pointerType===`virtual`){e.continuePropagation();return}y?.(e)},onClick:b,onPress(r){if(r.pointerType===`keyboard`||r.pointerType===`virtual`){r.continuePropagation();return}_?.(r),t.toggle(),n.current?.focus();let{[Ex]:i}=e,{commitValidation:a}=i||x;a()},isDisabled:r||i}),{focusableProps:j}=Mp(e,n),M=V(E,j),N=H(e,{labelable:!0});gs(n,t.defaultSelected,t.setSelected);let P=FC(),F=FC();return{labelProps:V(A,{onClick:e=>e.preventDefault()}),inputProps:V(N,{checked:t.isSelected,"aria-required":l&&u===`aria`||void 0,required:l&&u===`native`,"aria-invalid":S||e.validationState===`invalid`||void 0,"aria-errormessage":e[`aria-errormessage`],"aria-controls":e[`aria-controls`],"aria-readonly":i||void 0,"aria-describedby":[P.id,F.id,p].filter(Boolean).join(` `)||void 0,onChange:T,disabled:r,...a==null?{}:{value:a},name:o,form:s,type:`checkbox`,...M}),descriptionProps:P,errorMessageProps:F,isSelected:t.isSelected,isPressed:D||O,isDisabled:r,isReadOnly:i,isInvalid:S||e.validationState===`invalid`,validationErrors:C,validationDetails:w}}function LC(e,t,n){let{labelProps:r,inputProps:i,descriptionProps:a,errorMessageProps:o,isSelected:s,isPressed:c,isDisabled:l,isReadOnly:u,isInvalid:d,validationErrors:f,validationDetails:p}=IC(e,t,n),{isIndeterminate:m}=e;return(0,v.useEffect)(()=>{n.current&&(n.current.indeterminate=!!m)}),{labelProps:V(r,(0,v.useMemo)(()=>({onMouseDown:e=>e.preventDefault()}),[])),inputProps:i,descriptionProps:a,errorMessageProps:o,isSelected:s,isPressed:c,isDisabled:l,isReadOnly:u,isInvalid:d,validationErrors:f,validationDetails:p}}function RC(e,t,n){let r=wC({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),defaultSelected:t.defaultValue.includes(e.value),onChange(n){n?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange(n)}}),{name:i,form:a,descriptionId:o,errorMessageId:s,validationBehavior:c}=NC.get(t);c=e.validationBehavior??c;let{realtimeValidation:l}=Dx({...e,value:r.isSelected,name:void 0,validationBehavior:`aria`}),u=(0,v.useRef)(wx),d=()=>{t.setInvalid(e.value,l.isInvalid?l:u.current)};(0,v.useEffect)(d);let f=t.realtimeValidation.isInvalid?t.realtimeValidation:l,p=c===`native`?t.displayValidation:f,m=LC({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||i,form:e.form||a,isRequired:e.isRequired??t.isRequired,validationBehavior:c,[Ex]:{realtimeValidation:f,displayValidation:p,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation(e){u.current=e,d()}}},r,n);return{...m,inputProps:{...m.inputProps,"aria-describedby":[m.inputProps[`aria-describedby`],t.isInvalid?s:null,o].filter(Boolean).join(` `)||void 0}}}var zC=(0,v.createContext)(null),BC=(0,v.createContext)(null),VC=(0,v.createContext)(null),HC=(0,v.createContext)(null),UC=(0,v.forwardRef)(function(e,t){let{inputRef:n=null,...r}=e;[e,t]=Bd(r,t,BC);let i=(0,v.useContext)(VC),[a,o]=WC(e,n),{descriptionProps:s,errorMessageProps:c,isSelected:l,isDisabled:u,isReadOnly:d,isInvalid:f,validationDetails:p,validationErrors:m}=a,h=Ld({...e,defaultClassName:`react-aria-CheckboxField`,values:{isSelected:l,isIndeterminate:e.isIndeterminate||!1,isDisabled:u,isReadOnly:d,isInvalid:f,isRequired:e.isRequired||!1}}),g=H(e,{global:!0});return delete g.id,delete g.onClick,v.createElement(J.div,{...V(g,h),ref:t,slot:e.slot||void 0,"data-selected":l||void 0,"data-indeterminate":e.isIndeterminate||void 0,"data-disabled":u||void 0,"data-readonly":d||void 0,"data-invalid":f||void 0,"data-required":e.isRequired||void 0},v.createElement(Id,{values:[[HC,{...a,inputRef:o,defaultClassName:`react-aria-CheckboxButton`,isIndeterminate:e.isIndeterminate,isRequired:e.isRequired}],[ey,{slots:{description:s,errorMessage:c}}],[xx,i?null:{isInvalid:f,validationDetails:p,validationErrors:m}]]},h.children))});function WC(e,t){let{validationBehavior:n}=zd(Px)||{},r=e.validationBehavior??n??`native`,i=(0,v.useContext)(VC),a=Wo((0,v.useMemo)(()=>Do(t,e.inputRef===void 0?null:e.inputRef),[t,e.inputRef])),o={...Hd(e),children:typeof e.children==`function`||e.children,value:e.value,validationBehavior:r};return[i?RC(o,i,a):LC(o,wC(e),a),a]}var GC=(0,v.forwardRef)(function(e,t){let{labelProps:n,inputProps:r,isSelected:i,isDisabled:a,isReadOnly:o,isPressed:s,isInvalid:c,inputRef:l,defaultClassName:u,isIndeterminate:d,isRequired:f}=(0,v.useContext)(HC),{isFocused:p,isFocusVisible:m,focusProps:h}=em(),g=a||o,{hoverProps:_,isHovered:y}=om({...e,isDisabled:g}),b=Ld({...e,defaultClassName:u,values:{isSelected:i,isIndeterminate:d||!1,isPressed:s,isHovered:y,isFocused:p,isFocusVisible:m,isDisabled:a,isReadOnly:o,isInvalid:c,isRequired:f||!1}}),x=H(e,{global:!0});return delete x.id,delete x.onClick,v.createElement(J.label,{...V(x,n,_,b),ref:t,slot:e.slot||void 0,"data-selected":i||void 0,"data-indeterminate":d||void 0,"data-pressed":s||void 0,"data-hovered":y||void 0,"data-focused":p||void 0,"data-focus-visible":m||void 0,"data-disabled":a||void 0,"data-readonly":o||void 0,"data-invalid":c||void 0,"data-required":f||void 0},v.createElement($g,{elementType:`span`},v.createElement(`input`,{...V(r,h),ref:l})),b.children)}),KC=(0,v.createContext)({}),qC=(0,v.createContext)({}),JC=({children:e,className:t,variant:n,...r})=>{let i=(0,v.use)(KC),a=n??i.variant,o=v.useMemo(()=>Xu({variant:a}),[a]);return(0,U.jsx)(UC,{"data-slot":`checkbox`,...r,className:Y(t,o.base()),children:t=>(0,U.jsx)(qC,{value:{slots:o,state:t},children:typeof e==`function`?e(t):e})})};JC.displayName=`HeroUI.Checkbox`;var YC=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(qC);return(0,U.jsx)(GC,{"data-slot":`checkbox-content`,...n,className:Y(t,r?.content()),children:e})};YC.displayName=`HeroUI.Checkbox.Content`;var XC=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(qC);return(0,U.jsx)(W.span,{className:X(r?.control,t),"data-slot":`checkbox-control`,...n,children:e})};XC.displayName=`HeroUI.Checkbox.Control`;var ZC=({children:e,className:t,...n})=>{let{slots:r,state:i}=(0,v.use)(qC),a=i?.isSelected,o=i?.isIndeterminate,s=typeof e==`function`?e(i??{}):e||(o?(0,U.jsx)(`svg`,{"aria-hidden":`true`,"data-slot":`checkbox-default-indicator--indeterminate`,fill:`none`,role:`presentation`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:3,viewBox:`0 0 24 24`,children:(0,U.jsx)(`line`,{x1:`21`,x2:`3`,y1:`12`,y2:`12`})}):(0,U.jsx)(`svg`,{"aria-hidden":`true`,"data-slot":`checkbox-default-indicator--checkmark`,fill:`none`,role:`presentation`,stroke:`currentColor`,strokeDasharray:22,strokeDashoffset:a?44:66,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,viewBox:`0 0 17 18`,children:(0,U.jsx)(`polyline`,{points:`1 9 7 14 15 4`})}));return(0,U.jsx)(W.span,{"aria-hidden":`true`,className:X(r?.indicator,t),"data-slot":`checkbox-indicator`,...n,children:s})};ZC.displayName=`HeroUI.Checkbox.Indicator`;var QC=Object.assign(JC,{Root:JC,Content:YC,Control:XC,Indicator:ZC}),$C=(0,v.createContext)({}),ew=({children:e,className:t,color:n,size:r,variant:i,...a})=>{let o=v.useMemo(()=>Zu({color:n,size:r,variant:i}),[n,r,i]),s=v.useMemo(()=>typeof e==`string`||typeof e==`number`?(0,U.jsx)(tw,{children:e}):e,[e]);return(0,U.jsx)($C,{value:{slots:o},children:(0,U.jsx)(W.span,{...a,className:X(o.base,t),"data-slot":`chip`,children:s})})},tw=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)($C);return(0,U.jsx)(W.span,{className:X(r?.label,t),"data-slot":`chip-label`,...n,children:e})},nw=Object.assign(ew,{Root:ew,Label:tw});function rw(e){let{onMoveStart:t,onMove:n,onMoveEnd:r}=e,i=(0,v.useRef)({didMove:!1,lastPosition:null,id:null}),{addGlobalListener:a,removeGlobalListener:o}=Ho(),s=Ko((0,v.useCallback)((e,r,a,o)=>{(a!==0||o!==0)&&(i.current.didMove||(i.current.didMove=!0,t?.({type:`movestart`,pointerType:r,shiftKey:e.shiftKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey,altKey:e.altKey})),n?.({type:`move`,pointerType:r,deltaX:a,deltaY:o,shiftKey:e.shiftKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey,altKey:e.altKey}))},[t,n,i])),c=Ko((0,v.useCallback)((e,t)=>{Lp(),i.current.didMove&&r?.({type:`moveend`,pointerType:t,shiftKey:e.shiftKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey,altKey:e.altKey})},[r,i]));return{moveProps:(0,v.useMemo)(()=>{let e={},t=()=>{Ip(),i.current.didMove=!1};{let n=e=>{if(e.pointerId===i.current.id){let t=e.pointerType||`mouse`;s(e,t,e.pageX-(i.current.lastPosition?.pageX??0),e.pageY-(i.current.lastPosition?.pageY??0)),i.current.lastPosition={pageX:e.pageX,pageY:e.pageY}}},r=e=>{if(e.pointerId===i.current.id){let t=e.pointerType||`mouse`;c(e,t),i.current.id=null;let a=po(B(e));o(a,`pointermove`,n,!1),o(a,`pointerup`,r,!1),o(a,`pointercancel`,r,!1)}};e.onPointerDown=e=>{if(e.button===0&&i.current.id==null){t(),e.stopPropagation(),e.preventDefault(),i.current.lastPosition={pageX:e.pageX,pageY:e.pageY},i.current.id=e.pointerId;let o=po(B(e));a(o,`pointermove`,n,!1),a(o,`pointerup`,r,!1),a(o,`pointercancel`,r,!1)}}}let n=(e,n,r)=>{t(),s(e,`keyboard`,n,r),c(e,`keyboard`)};return e.onKeyDown=e=>{switch(e.key){case`Left`:case`ArrowLeft`:e.preventDefault(),e.stopPropagation(),n(e,-1,0);break;case`Right`:case`ArrowRight`:e.preventDefault(),e.stopPropagation(),n(e,1,0);break;case`Up`:case`ArrowUp`:e.preventDefault(),e.stopPropagation(),n(e,0,-1);break;case`Down`:case`ArrowDown`:e.preventDefault(),e.stopPropagation(),n(e,0,1)}},e},[a,o,i])}}var iw=(0,v.createContext)({}),aw=e=>{let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,...i}=e;return i},ow=qd(function(e,t){[e,t]=Bd(e,t,iw);let{hoverProps:n,isHovered:r}=om({...e,isDisabled:e.disabled}),{isFocused:i,isFocusVisible:a,focusProps:o}=em({isTextInput:!0,autoFocus:e.autoFocus}),s=!!e[`aria-invalid`]&&e[`aria-invalid`]!==`false`,c=Ld({...e,values:{isHovered:r,isFocused:i,isFocusVisible:a,isDisabled:e.disabled||!1,isInvalid:s},defaultClassName:`react-aria-Input`});return v.createElement(J.input,{...V(aw(e),o,n),...c,ref:t,"data-focused":i||void 0,"data-disabled":e.disabled||void 0,"data-hovered":r||void 0,"data-focus-visible":a||void 0,"data-invalid":s||void 0})});function sw(e,t){let{inputElementType:n=`input`,isDisabled:r=!1,isRequired:i=!1,isReadOnly:a=!1,type:o=`text`,validationBehavior:s=`aria`}=e,[c,l]=fm(e.value,e.defaultValue||``,e.onChange),{focusableProps:u}=Mp(e,t),d=Dx({...e,value:c}),{isInvalid:f,validationErrors:p,validationDetails:m}=d.displayValidation,{labelProps:h,fieldProps:g,descriptionProps:_,errorMessageProps:y}=US({...e,isInvalid:f,errorMessage:e.errorMessage||p}),b=H(e,{labelable:!0}),x={type:o,pattern:e.pattern},[S]=(0,v.useState)(c);return gs(t,e.defaultValue??S,l),KS(e,d,t),{labelProps:h,inputProps:V(b,n===`input`?x:void 0,{disabled:r,readOnly:a,required:i&&s===`native`,"aria-required":i&&s===`aria`||void 0,"aria-invalid":f||void 0,"aria-errormessage":e[`aria-errormessage`],"aria-activedescendant":e[`aria-activedescendant`],"aria-autocomplete":e[`aria-autocomplete`],"aria-haspopup":e[`aria-haspopup`],"aria-controls":e[`aria-controls`],value:c,onChange:e=>l(B(e).value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,form:e.form,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,enterKeyHint:e.enterKeyHint,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...u,...g}),descriptionProps:_,errorMessageProps:y,isInvalid:f,validationErrors:p,validationDetails:m}}function cw(){return typeof window<`u`&&window.InputEvent&&typeof InputEvent.prototype.getTargetRanges==`function`}function lw(e,t,n){let r=Ko(e=>{let r=n.current;if(!r)return;let i=null;switch(e.inputType){case`historyUndo`:case`historyRedo`:return;case`insertLineBreak`:return;case`deleteContent`:case`deleteByCut`:case`deleteByDrag`:i=r.value.slice(0,r.selectionStart)+r.value.slice(r.selectionEnd);break;case`deleteContentForward`:i=r.selectionEnd===r.selectionStart?r.value.slice(0,r.selectionStart)+r.value.slice(r.selectionEnd+1):r.value.slice(0,r.selectionStart)+r.value.slice(r.selectionEnd);break;case`deleteContentBackward`:i=r.selectionEnd===r.selectionStart?r.value.slice(0,r.selectionStart-1)+r.value.slice(r.selectionStart):r.value.slice(0,r.selectionStart)+r.value.slice(r.selectionEnd);break;case`deleteSoftLineBackward`:case`deleteHardLineBackward`:i=r.value.slice(r.selectionStart);break;default:e.data!=null&&(i=r.value.slice(0,r.selectionStart)+e.data+r.value.slice(r.selectionEnd))}(i==null||!t.validate(i))&&e.preventDefault()});(0,v.useEffect)(()=>{if(!cw()||!n.current)return;let e=n.current;return e.addEventListener(`beforeinput`,r,!1),()=>{e.removeEventListener(`beforeinput`,r,!1)}},[n]);let i=cw()?null:e=>{let n=B(e).value.slice(0,B(e).selectionStart)+e.data+B(e).value.slice(B(e).selectionEnd);t.validate(n)||e.preventDefault()},{labelProps:a,inputProps:o,descriptionProps:s,errorMessageProps:c,...l}=sw(e,n),u=(0,v.useRef)(null);return{inputProps:V(o,{onBeforeInput:i,onCompositionStart(){let{value:e,selectionStart:t,selectionEnd:r}=n.current;u.current={value:e,selectionStart:t,selectionEnd:r}},onCompositionEnd(){if(n.current&&!t.validate(n.current.value)){let{value:e,selectionStart:r,selectionEnd:i}=u.current;n.current.value=e,n.current.setSelectionRange(r,i),t.setInputValue(e)}}}),labelProps:a,descriptionProps:s,errorMessageProps:c,...l}}function uw(e,t){let{onScroll:n,isDisabled:r}=e,i=(0,v.useCallback)(e=>{e.ctrlKey||(e.preventDefault(),e.stopPropagation(),n&&n({deltaX:e.deltaX,deltaY:e.deltaY}))},[n]);us(t,`wheel`,r?void 0:i)}var dw={};dw={Empty:`فارغ`};var fw={};fw={Empty:`Изпразни`};var pw={};pw={Empty:`Prázdné`};var mw={};mw={Empty:`Tom`};var hw={};hw={Empty:`Leer`};var gw={};gw={Empty:`Άδειο`};var _w={};_w={Empty:`Empty`};var vw={};vw={Empty:`Vacío`};var yw={};yw={Empty:`Tühjenda`};var bw={};bw={Empty:`Tyhjä`};var xw={};xw={Empty:`Vide`};var Sw={};Sw={Empty:`ריק`};var Cw={};Cw={Empty:`Prazno`};var ww={};ww={Empty:`Üres`};var Tw={};Tw={Empty:`Vuoto`};var Ew={};Ew={Empty:`空`};var Dw={};Dw={Empty:`비어 있음`};var Ow={};Ow={Empty:`Tuščias`};var kw={};kw={Empty:`Tukšs`};var Aw={};Aw={Empty:`Tom`};var jw={};jw={Empty:`Leeg`};var Mw={};Mw={Empty:`Pusty`};var Nw={};Nw={Empty:`Vazio`};var Pw={};Pw={Empty:`Vazio`};var Fw={};Fw={Empty:`Gol`};var Iw={};Iw={Empty:`Не заполнено`};var Lw={};Lw={Empty:`Prázdne`};var Rw={};Rw={Empty:`Prazen`};var zw={};zw={Empty:`Prazno`};var Bw={};Bw={Empty:`Tomt`};var Vw={};Vw={Empty:`Boş`};var Hw={};Hw={Empty:`Пусто`};var Uw={};Uw={Empty:`空`};var Ww={};Ww={Empty:`空白`};var Gw={};Gw={"ar-AE":dw,"bg-BG":fw,"cs-CZ":pw,"da-DK":mw,"de-DE":hw,"el-GR":gw,"en-US":_w,"es-ES":vw,"et-EE":yw,"fi-FI":bw,"fr-FR":xw,"he-IL":Sw,"hr-HR":Cw,"hu-HU":ww,"it-IT":Tw,"ja-JP":Ew,"ko-KR":Dw,"lt-LT":Ow,"lv-LV":kw,"nb-NO":Aw,"nl-NL":jw,"pl-PL":Mw,"pt-BR":Nw,"pt-PT":Pw,"ro-RO":Fw,"ru-RU":Iw,"sk-SK":Lw,"sl-SI":Rw,"sr-SP":zw,"sv-SE":Bw,"tr-TR":Vw,"uk-UA":Hw,"zh-CN":Uw,"zh-TW":Ww};function Kw(e){return e&&e.__esModule?e.default:e}var qw=()=>{};function Jw(e){let t=(0,v.useRef)(void 0),{value:n,textValue:r,minValue:i,maxValue:a,isDisabled:o,isReadOnly:s,isRequired:c,onIncrement:l,onIncrementPage:u,onDecrement:d,onDecrementPage:f,onDecrementToMin:p,onIncrementToMax:m}=e,h=Xg(Kw(Gw),`@react-aria/spinbutton`),g=(0,v.useRef)(!1),_=(0,v.useCallback)(()=>{clearTimeout(t.current),g.current=!1},[]),y=Ko(()=>{_()});(0,v.useEffect)(()=>()=>y(),[]);let{keyboardProps:b}=Op({isDisabled:o||s,shortcuts:{PageUp:()=>{if(u){u();return}if(l){l();return}return!1},ArrowUp:()=>{if(l){l();return}return!1},PageDown:()=>{if(f){f();return}if(d){d();return}return!1},ArrowDown:()=>{if(d){d();return}return!1},Home:()=>{if(p){p();return}return!1},End:()=>{if(m){m();return}return!1}},allowRepeats:!0}),x=(0,v.useRef)(!1),S=()=>{x.current=!0},C=()=>{x.current=!1},w=r===``?h.format(`Empty`):(r||`${n}`).replace(`-`,`−`);(0,v.useEffect)(()=>{x.current&&(Ff(`assertive`),Pf(w,`assertive`))},[w]);let T=(0,v.useCallback)(()=>{_()},[_]),E=Ko(l??qw),D=Ko(d??qw),O=Ko(()=>{(a===void 0||isNaN(a)||n===void 0||isNaN(n)||n{y(),g.current=!0,t.current=window.setTimeout(O,e)}),A=Ko(()=>{(i===void 0||isNaN(i)||n===void 0||isNaN(n)||n>i)&&(D(),j(60))}),j=Ko(e=>{y(),g.current=!0,t.current=window.setTimeout(A,e)}),M=e=>{e.preventDefault()},{addGlobalListener:N,removeAllGlobalListeners:P}=Ho(),F=(0,v.useRef)(!1),[I,L]=(0,v.useState)(null);(0,v.useEffect)(()=>{I===`touch`?k(600):I?k(400):I||y()},[I]);let[R,ee]=(0,v.useState)(null);return(0,v.useEffect)(()=>{R===`touch`?j(600):R?j(400):R||y()},[R]),{spinButtonProps:{role:`spinbutton`,"aria-valuenow":n!==void 0&&!isNaN(n)?n:void 0,"aria-valuetext":w,"aria-valuemin":i,"aria-valuemax":a,"aria-disabled":o||void 0,"aria-readonly":s||void 0,"aria-required":c||void 0,...b,onFocus:S,onBlur:C},incrementButtonProps:{onPressStart:e=>{_(),e.pointerType===`touch`?(N(window,`pointercancel`,T,{capture:!0}),F.current=!1,L(`touch`)):(l?.(),L(`mouse`)),N(window,`contextmenu`,M)},onPressUp:e=>{_(),e.pointerType===`touch`&&(F.current=!0),P(),L(null)},onPressEnd:e=>{_(),e.pointerType===`touch`&&!g.current&&F.current&&l?.(),F.current=!1,L(null)},onFocus:S,onBlur:C},decrementButtonProps:{onPressStart:e=>{_(),e.pointerType===`touch`?(N(window,`pointercancel`,T,{capture:!0}),F.current=!1,ee(`touch`)):(d?.(),ee(`mouse`))},onPressUp:e=>{_(),e.pointerType===`touch`&&(F.current=!0),P(),ee(null)},onPressEnd:e=>{_(),e.pointerType===`touch`&&!g.current&&F.current&&d?.(),F.current=!1,ee(null)},onFocus:S,onBlur:C}}}var Yw={};Yw={decrease:e=>`\u{62E}\u{641}\u{636} ${e.fieldLabel}`,increase:e=>`\u{632}\u{64A}\u{627}\u{62F}\u{629} ${e.fieldLabel}`,numberField:`حقل رقمي`};var Xw={};Xw={decrease:e=>`\u{41D}\u{430}\u{43C}\u{430}\u{43B}\u{44F}\u{432}\u{430}\u{43D}\u{435} ${e.fieldLabel}`,increase:e=>`\u{423}\u{441}\u{438}\u{43B}\u{432}\u{430}\u{43D}\u{435} ${e.fieldLabel}`,numberField:`Номер на полето`};var Zw={};Zw={decrease:e=>`Sn\xed\u{17E}it ${e.fieldLabel}`,increase:e=>`Zv\xfd\u{161}it ${e.fieldLabel}`,numberField:`Číselné pole`};var Qw={};Qw={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`\xd8g ${e.fieldLabel}`,numberField:`Talfelt`};var $w={};$w={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erh\xf6hen`,numberField:`Nummernfeld`};var eT={};eT={decrease:e=>`\u{39C}\u{3B5}\u{3AF}\u{3C9}\u{3C3}\u{3B7} ${e.fieldLabel}`,increase:e=>`\u{391}\u{3CD}\u{3BE}\u{3B7}\u{3C3}\u{3B7} ${e.fieldLabel}`,numberField:`Πεδίο αριθμού`};var tT={};tT={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:`Number field`};var nT={};nT={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:`Campo de número`};var rT={};rT={decrease:e=>`V\xe4henda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:`Numbri väli`};var iT={};iT={decrease:e=>`V\xe4henn\xe4 ${e.fieldLabel}`,increase:e=>`Lis\xe4\xe4 ${e.fieldLabel}`,numberField:`Numerokenttä`};var aT={};aT={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:`Champ de nombre`};var oT={};oT={decrease:e=>`\u{5D4}\u{5E7}\u{5D8}\u{5DF} ${e.fieldLabel}`,increase:e=>`\u{5D4}\u{5D2}\u{5D3}\u{5DC} ${e.fieldLabel}`,numberField:`שדה מספר`};var sT={};sT={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Pove\u{107}aj ${e.fieldLabel}`,numberField:`Polje broja`};var cT={};cT={decrease:e=>`${e.fieldLabel} cs\xf6kkent\xe9se`,increase:e=>`${e.fieldLabel} n\xf6vel\xe9se`,numberField:`Számmező`};var lT={};lT={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:`Campo numero`};var uT={};uT={decrease:e=>`${e.fieldLabel}\u{3092}\u{7E2E}\u{5C0F}`,increase:e=>`${e.fieldLabel}\u{3092}\u{62E1}\u{5927}`,numberField:`数値フィールド`};var dT={};dT={decrease:e=>`${e.fieldLabel} \u{AC10}\u{C18C}`,increase:e=>`${e.fieldLabel} \u{C99D}\u{AC00}`,numberField:`번호 필드`};var fT={};fT={decrease:e=>`Suma\u{17E}inti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:`Numerio laukas`};var pT={};pT={decrease:e=>`Samazin\u{101}\u{161}ana ${e.fieldLabel}`,increase:e=>`Palielin\u{101}\u{161}ana ${e.fieldLabel}`,numberField:`Skaitļu lauks`};var mT={};mT={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`\xd8k ${e.fieldLabel}`,numberField:`Tallfelt`};var hT={};hT={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:`Getalveld`};var gT={};gT={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwi\u{119}ksz ${e.fieldLabel}`,numberField:`Pole numeru`};var _T={};_T={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:`Campo de número`};var vT={};vT={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:`Campo numérico`};var yT={};yT={decrease:e=>`Sc\u{103}dere ${e.fieldLabel}`,increase:e=>`Cre\u{219}tere ${e.fieldLabel}`,numberField:`Câmp numeric`};var bT={};bT={decrease:e=>`\u{423}\u{43C}\u{435}\u{43D}\u{44C}\u{448}\u{435}\u{43D}\u{438}\u{435} ${e.fieldLabel}`,increase:e=>`\u{423}\u{432}\u{435}\u{43B}\u{438}\u{447}\u{435}\u{43D}\u{438}\u{435} ${e.fieldLabel}`,numberField:`Числовое поле`};var xT={};xT={decrease:e=>`Zn\xed\u{17E}i\u{165} ${e.fieldLabel}`,increase:e=>`Zv\xfd\u{161}i\u{165} ${e.fieldLabel}`,numberField:`Číselné pole`};var ST={};ST={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Pove\u{10D}ajte ${e.fieldLabel}`,numberField:`Številčno polje`};var CT={};CT={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Pove\u{107}aj ${e.fieldLabel}`,numberField:`Polje broja`};var wT={};wT={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`\xd6ka ${e.fieldLabel}`,numberField:`Nummerfält`};var TT={};TT={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} artt\u{131}r`,numberField:`Sayı alanı`};var ET={};ET={decrease:e=>`\u{417}\u{43C}\u{435}\u{43D}\u{448}\u{438}\u{442}\u{438} ${e.fieldLabel}`,increase:e=>`\u{417}\u{431}\u{456}\u{43B}\u{44C}\u{448}\u{438}\u{442}\u{438} ${e.fieldLabel}`,numberField:`Поле номера`};var DT={};DT={decrease:e=>`\u{964D}\u{4F4E} ${e.fieldLabel}`,increase:e=>`\u{63D0}\u{9AD8} ${e.fieldLabel}`,numberField:`数字字段`};var OT={};OT={decrease:e=>`\u{7E2E}\u{5C0F} ${e.fieldLabel}`,increase:e=>`\u{653E}\u{5927} ${e.fieldLabel}`,numberField:`數字欄位`};var kT={};kT={"ar-AE":Yw,"bg-BG":Xw,"cs-CZ":Zw,"da-DK":Qw,"de-DE":$w,"el-GR":eT,"en-US":tT,"es-ES":nT,"et-EE":rT,"fi-FI":iT,"fr-FR":aT,"he-IL":oT,"hr-HR":sT,"hu-HU":cT,"it-IT":lT,"ja-JP":uT,"ko-KR":dT,"lt-LT":fT,"lv-LV":pT,"nb-NO":mT,"nl-NL":hT,"pl-PL":gT,"pt-BR":_T,"pt-PT":vT,"ro-RO":yT,"ru-RU":bT,"sk-SK":xT,"sl-SI":ST,"sr-SP":CT,"sv-SE":wT,"tr-TR":TT,"uk-UA":ET,"zh-CN":DT,"zh-TW":OT};function AT(e){return e&&e.__esModule?e.default:e}function jT(e,t,n){let{id:r,decrementAriaLabel:i,incrementAriaLabel:a,isDisabled:o,isReadOnly:s,isRequired:c,minValue:l,maxValue:u,autoFocus:d,label:f,formatOptions:p,onBlur:m=()=>{},onFocus:h,onFocusChange:g,onKeyDown:_,onKeyUp:y,description:b,errorMessage:x,isWheelDisabled:S,...C}=e,{increment:w,incrementToMax:T,decrement:E,decrementToMin:D,numberValue:O,inputValue:k,commit:A,commitValidation:j}=t,M=Xg(AT(kT),`@react-aria/numberfield`),N=(0,v.useCallback)(()=>{let e=n.current?.value??``;(0,ys.flushSync)(()=>{A()}),n.current?.value!==e&&Pf(n.current?.value??``,`assertive`)},[A,n]),P=so(r),{focusProps:F}=mp({onBlur(){N()}}),I=kf(p),L=(0,v.useMemo)(()=>I.resolvedOptions(),[I]),R=kf({...p,currencySign:void 0}),{spinButtonProps:ee,incrementButtonProps:te,decrementButtonProps:ne}=Jw({isDisabled:o,isReadOnly:s,isRequired:c,maxValue:u,minValue:l,onIncrement:w,onIncrementToMax:T,onDecrement:E,onDecrementToMin:D,value:O,textValue:(0,v.useMemo)(()=>isNaN(O)?``:R.format(O),[R,O])}),[re,z]=(0,v.useState)(!1),{focusWithinProps:ie}=$p({isDisabled:o,onFocusWithinChange:z});uw({onScroll:(0,v.useCallback)(e=>{Math.abs(e.deltaY)<=Math.abs(e.deltaX)||(e.deltaY>0?w():e.deltaY<0&&E())},[E,w]),isDisabled:S||o||s||!re},n);let ae=(L.maximumFractionDigits??0)>0,oe=t.minValue===void 0||isNaN(t.minValue)||t.minValue<0,se=`numeric`;xa()?oe?se=`text`:ae&&(se=`decimal`):Da()&&(oe?se=`numeric`:ae&&(se=`decimal`));let ce=e=>{t.validate(e)&&t.setInputValue(e)},le=t=>{e.onPaste?.(t);let n=B(t);n&&(n.selectionEnd??-1)-(n.selectionStart??0)===n.value.length&&(t.preventDefault(),A(t.clipboardData?.getData?.(`text/plain`)?.trim()??``))},ue=H(e),{keyboardProps:de}=Op({isDisabled:o||s,shortcuts:{Enter:()=>((0,ys.flushSync)(()=>{A()}),j(),{shouldPreventDefault:!1})},onKeyDown:_,onKeyUp:y}),{isInvalid:fe,validationErrors:pe,validationDetails:me}=t.displayValidation,{labelProps:he,inputProps:ge,descriptionProps:_e,errorMessageProps:ve}=lw({...C,...ue,name:void 0,form:void 0,label:f,autoFocus:d,isDisabled:o,isReadOnly:s,isRequired:c,validate:void 0,[Ex]:t,value:k,defaultValue:`!`,autoComplete:`off`,"aria-label":e[`aria-label`]||void 0,"aria-labelledby":e[`aria-labelledby`]||void 0,id:P,type:`text`,inputMode:se,onChange:ce,onBlur:m,onFocus:h,onFocusChange:g,onPaste:le,description:b,errorMessage:x},t,n),ye=V(de,ge);gs(n,t.defaultNumberValue,t.setNumberValue),NT(t,e.validationBehavior,e.commitBehavior,n,t.minValue,t.maxValue,e.step,t.numberValue);let be=V(ee,F,ye,{role:null,"aria-roledescription":Ca()?null:M.format(`numberField`),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:`off`,spellCheck:`false`});e.validationBehavior===`native`&&(be[`aria-required`]=void 0);let xe=e=>{So()!==n.current&&(e.pointerType===`mouse`?n.current?.focus():e.target.focus())},Se=e[`aria-label`]||(typeof e.label==`string`?e.label:``),Ce;Se||(Ce=e.label==null?e[`aria-labelledby`]:he.id);let we=so(),Te=so(),Ee=V(te,{"aria-label":a||M.format(`increase`,{fieldLabel:Se}).trim(),id:Ce&&!a?we:null,"aria-labelledby":Ce&&!a?`${we} ${Ce}`:null,"aria-controls":P,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canIncrement,onPressStart:xe}),De=V(ne,{"aria-label":i||M.format(`decrease`,{fieldLabel:Se}).trim(),id:Ce&&!i?Te:null,"aria-labelledby":Ce&&!i?`${Te} ${Ce}`:null,"aria-controls":P,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canDecrement,onPressStart:xe});return{groupProps:{...ie,role:`group`,"aria-disabled":o,"aria-invalid":fe?`true`:void 0},labelProps:he,inputProps:be,incrementButtonProps:Ee,decrementButtonProps:De,errorMessageProps:ve,descriptionProps:_e,isInvalid:fe,validationErrors:pe,validationDetails:me}}var MT=null;function NT(e,t,n,r,i,a,o,s){Ua(()=>{let c=r.current;if(n!==`validate`||e.realtimeValidation.isInvalid||!c||c.disabled||(!MT&&typeof document<`u`&&(MT=document.createElement(`input`),MT.type=`number`),!MT))return;MT.min=i!=null&&!isNaN(i)?String(i):``,MT.max=a!=null&&!isNaN(a)?String(a):``,MT.step=o!=null&&!isNaN(o)?String(o):``,MT.value=s!=null&&!isNaN(s)?String(s):``;let l=c.validity.valid&&MT.validity.valid,u=c.validationMessage||MT.validationMessage,d={isInvalid:!l,validationErrors:u?[u]:[],validationDetails:{badInput:c.validity.badInput,customError:c.validity.customError,patternMismatch:c.validity.patternMismatch,rangeOverflow:MT.validity.rangeOverflow,rangeUnderflow:MT.validity.rangeUnderflow,stepMismatch:MT.validity.stepMismatch,tooLong:c.validity.tooLong,tooShort:c.validity.tooShort,typeMismatch:c.validity.typeMismatch,valueMissing:c.validity.valueMissing,valid:l}};e.updateValidation(d),t===`native`&&!MT.validity.valid&&c.setCustomValidity(MT.validationMessage)})}function PT(e){let{minValue:t,maxValue:n,step:r,formatOptions:i,value:a,defaultValue:o=NaN,onChange:s,locale:c,isDisabled:l,isReadOnly:u,commitBehavior:d=`snap`}=e;a===null&&(a=NaN);let f=(0,v.useCallback)(e=>r===void 0||isNaN(r)?Is(e,t,n):Rs(e,t,n,r),[r,t,n]);a!==void 0&&!isNaN(a)&&d===`snap`&&(a=f(a)),!isNaN(o)&&d===`snap`&&(o=f(o));let[p,m]=fm(a,isNaN(o)?NaN:o,s),[h]=(0,v.useState)(p),[g,_]=(0,v.useState)(()=>isNaN(p)?``:new mf(c,i).format(p)),y=(0,v.useMemo)(()=>new yf(c,i),[c,i]),b=(0,v.useMemo)(()=>y.getNumberingSystem(g),[y,g]),x=(0,v.useMemo)(()=>new mf(c,{...i,numberingSystem:b}),[c,i,b]),S=(0,v.useMemo)(()=>x.resolvedOptions(),[x]),C=(0,v.useCallback)(e=>isNaN(e)||e===null?``:x.format(e),[x]),w=Dx({...e,value:p}),T=r!==void 0&&!isNaN(r)?r:1;S.style===`percent`&&(r===void 0||isNaN(r))&&(T=.01);let[E,D]=(0,v.useState)(p),[O,k]=(0,v.useState)(c),[A,j]=(0,v.useState)(i);(!Object.is(p,E)||c!==O||!FT(i,A))&&(_(C(p)),D(p),k(c),j(i));let M=(0,v.useMemo)(()=>y.parse(g),[y,g]),N=e=>{let t=e===void 0?g:e,n=M;if(e!==void 0&&(n=y.parse(t)),!t.length){m(NaN),_(a===void 0?``:C(p));return}if(isNaN(n)){_(C(p));return}let r=d===`snap`?f(n):n;r=y.parse(C(r));let i=r!==p;m(r),_(C(a===void 0?r:p)),i&&w.commitValidation()},P=(e,r=0)=>{let i=M;if(isNaN(i))return Rs(isNaN(r)?0:r,t,n,T);{let r=Rs(i,t,n,T);return e===`+`&&r>i||e===`-`&&r{let e=P(`+`,t);e===p&&_(C(e)),m(e),w.commitValidation()},I=()=>{let e=P(`-`,n);e===p&&_(C(e)),m(e),w.commitValidation()},L=()=>{n!=null&&(m(Rs(n,t,n,T)),w.commitValidation())},R=()=>{t!=null&&(m(t),w.commitValidation())},ee=(0,v.useMemo)(()=>!l&&!u&&(isNaN(M)||n===void 0||isNaN(n)||Rs(M,t,n,T)>M||IT(`+`,M,T)<=n),[l,u,t,n,T,M]),te=(0,v.useMemo)(()=>!l&&!u&&(isNaN(M)||t===void 0||isNaN(t)||Rs(M,t,n,T)=t),[l,u,t,n,T,M]),ne=e=>y.isValidPartialNumber(e,t,n);return{...w,validate:ne,increment:F,incrementToMax:L,decrement:I,decrementToMin:R,canIncrement:ee,canDecrement:te,minValue:t,maxValue:n,numberValue:M,defaultNumberValue:isNaN(o)?h:o,setNumberValue:m,setInputValue:_,inputValue:g,commit:N}}function FT(e,t){if(e===t)return!0;if(!e||!t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(t[r]!==e[r])return!1;return!0}function IT(e,t,n){let r=e===`+`?t+n:t-n;if(t%1!=0||n%1!=0){let i=t.toString().split(`.`),a=n.toString().split(`.`),o=i[1]&&i[1].length||0,s=a[1]&&a[1].length||0,c=10**Math.max(o,s);t=Math.round(t*c),n=Math.round(n*c),r=e===`+`?t+n:t-n,r/=c}return r}var LT={blue:`\x1B[34m`,green:`\x1B[32m`,magenta:`\x1B[35m`,red:`\x1B[31m`,reset:`\x1B[0m`,yellow:`\x1B[33m`},RT={debug:LT.magenta,error:LT.red,info:LT.blue,success:LT.green,warn:LT.yellow},zT={debug:`🔍`,error:`❌`,info:`ℹ️`,success:`✅`,warn:`⚠️`},BT=new class{constructor(e={}){this.enabled=e.enabled??!0,this.prefix=e.prefix??`HeroUI`}formatMessage(e,t){let n=RT[e],r=zT[e];return`${n}[${this.prefix}]${LT.reset} ${r} ${t}`}log(e,t,...n){if(!this.enabled)return;let r=this.formatMessage(e,t);switch(e){case`error`:console.error(r,...n);break;case`warn`:console.warn(r,...n);break;default:console.log(r,...n)}}info(e,...t){this.log(`info`,e,...t)}success(e,...t){this.log(`success`,e,...t)}warn(e,...t){this.log(`warn`,e,...t)}error(e,...t){this.log(`error`,e,...t)}debug(e,...t){this.log(`debug`,e,...t)}divider(e=`=`,t=80){this.enabled&&console.log(e.repeat(t))}newline(){this.enabled&&console.log()}}({prefix:`HeroUI`}),VT,HT=typeof process<`u`&&!1,UT=e=>{HT&&(VT??=new Set,VT.has(e)&&BT.warn(`Duplicate collection slot "${e}". Use a unique, namespaced name (e.g. "tabs.listContainer", "menu.popover").`),VT.add(e));let t=`$$heroui.collection.${e}`,n=(0,v.createContext)(void 0),r=(e,n)=>v.Children.map(e,e=>(0,v.isValidElement)(e)?v.cloneElement(e,{[t]:n}):e),i=e=>{let{[t]:n,...r}=e;return[n,r]},a=e=>{let[t,r]=i(e),a=(0,v.useContext)(n);return[t??a,r]},o=({children:e,...t})=>(0,U.jsx)(n.Provider,{value:t,children:r(e,t)});return o.displayName=`HeroUI.CollectionSlot(${e})`,{key:t,inject:r,consume:i,useSlot:a,Injector:o,withSlot:(t,n)=>{let r=(0,v.forwardRef)(function(r,i){let[o,s]=a(r),{children:c,...l}=s;if(!o)return(0,U.jsx)(t,{...l,ref:i,children:c});if(n)return n({...l,children:c},o,i);let{className:u,render:d,...f}=o;return(0,U.jsx)(t,{...l,ref:i,children:d?d({children:c,className:u,...f}):(0,U.jsx)(`div`,{className:u,"data-slot":`${e}-container`,...f,children:c})})});return r.displayName=`HeroUI.withCollectionSlot(${t.displayName||t.name||e})`,r},Context:n}},WT=(0,v.createContext)({});UT(`combo-box.inputGroup`);function GT(e,t){return e-t*Math.floor(e/t)}var KT=1721426;function qT(e,t,n,r){t=YT(e,t);let i=t-1,a=-2;return n<=2?a=0:JT(t)&&(a=-1),1721425+365*i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400)+Math.floor((367*n-362)/12+a+r)}function JT(e){return e%4==0&&(e%100!=0||e%400==0)}function YT(e,t){return e===`BC`?1-t:t}function XT(e){let t=`AD`;return e<=0&&(t=`BC`,e=1-e),[t,e]}var ZT={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]},QT=class{fromJulianDay(e){let t=e,n=t-KT,r=Math.floor(n/146097),i=GT(n,146097),a=Math.floor(i/36524),o=GT(i,36524),s=Math.floor(o/1461),c=GT(o,1461),l=Math.floor(c/365),[u,d]=XT(r*400+a*100+s*4+l+ +(a!==4&&l!==4)),f=t-qT(u,d,1,1),p=2;t=0?e:t:e||t}function kE(e){return e=UE(e,new QT),AE(YT(e.era,e.year),e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function AE(e,t,n,r,i,a,o){let s=new Date;return s.setUTCHours(r,i,a,o),s.setUTCFullYear(e,t-1,n),s.getTime()}function jE(e,t){if(t===`UTC`)return 0;if(e>0&&t===hE()&&!gE())return new Date(e).getTimezoneOffset()*-6e4;let{year:n,month:r,day:i,hour:a,minute:o,second:s}=NE(e,t);return AE(n,r,i,a,o,s,0)-Math.floor(e/1e3)*1e3}var ME=new Map;function NE(e,t){let n=ME.get(t);n||(n=new Intl.DateTimeFormat(`en-US`,{timeZone:t,hour12:!1,era:`short`,year:`numeric`,month:`numeric`,day:`numeric`,hour:`numeric`,minute:`numeric`,second:`numeric`}),ME.set(t,n));let r=n.formatToParts(new Date(e)),i={};for(let e of r)e.type!==`literal`&&(i[e.type]=e.value);return{year:i.era===`BC`||i.era===`B`?-i.year+1:+i.year,month:+i.month,day:+i.day,hour:i.hour===`24`?0:+i.hour,minute:+i.minute,second:+i.second}}var PE=864e5;function FE(e,t,n,r){return(n===r?[n]:[n,r]).filter(n=>IE(e,t,n))}function IE(e,t,n){let r=NE(n,t);return e.year===r.year&&e.month===r.month&&e.day===r.day&&e.hour===r.hour&&e.minute===r.minute&&e.second===r.second}function LE(e,t,n=`compatible`){let r=VE(e);if(t===`UTC`)return kE(r);if(t===hE()&&n===`compatible`&&!gE()){r=UE(r,new QT);let e=new Date,t=YT(r.era,r.year);return e.setFullYear(t,r.month-1,r.day),e.setHours(r.hour,r.minute,r.second,r.millisecond),e.getTime()}let i=kE(r),a=jE(i-PE,t),o=jE(i+PE,t),s=FE(r,t,i-a,i-o);if(s.length===1)return s[0];if(s.length>1)switch(n){case`compatible`:case`earlier`:return s[0];case`later`:return s[s.length-1];case`reject`:throw RangeError(`Multiple possible absolute times found`)}switch(n){case`earlier`:return Math.min(i-a,i-o);case`compatible`:case`later`:return Math.max(i-a,i-o);case`reject`:throw RangeError(`No such absolute time found`)}}function RE(e,t,n=`compatible`){return new Date(LE(e,t,n))}function zE(e,t){let n=jE(e,t),r=new Date(e+n),i=r.getUTCFullYear(),a=r.getUTCMonth()+1,o=r.getUTCDate(),s=r.getUTCHours(),c=r.getUTCMinutes(),l=r.getUTCSeconds(),u=r.getUTCMilliseconds();return new ND(i<1?`BC`:`AD`,i<1?-i+1:i,a,o,t,n,s,c,l,u)}function BE(e){return new AD(e.calendar,e.era,e.year,e.month,e.day)}function VE(e,t){let n=0,r=0,i=0,a=0;if(`timeZone`in e)({hour:n,minute:r,second:i,millisecond:a}=e);else if(`hour`in e&&!t)return e;return t&&({hour:n,minute:r,second:i,millisecond:a}=t),new MD(e.calendar,e.era,e.year,e.month,e.day,n,r,i,a)}function HE(e){return new jD(e.hour,e.minute,e.second,e.millisecond)}function UE(e,t){if(iE(e.calendar,t))return e;let n=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,eD(r),r}function WE(e,t,n){return e instanceof ND?e.timeZone===t?e:KE(e,t):zE(LE(e,t,n),t)}function GE(e){let t=kE(e)-e.offset;return new Date(t)}function KE(e,t){return UE(zE(kE(e)-e.offset,t),e.calendar)}function qE(e){return KE(e,hE())}var JE=36e5;function YE(e,t){let n=e.copy(),r=`hour`in n?cD(n,t):0;XE(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e),n.month+=t.months||0,ZE(n),$E(n),n.day+=(t.weeks||0)*7,n.day+=t.days||0,n.day+=r,QE(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let i=n.calendar.getYearsInEra(n);if(n.year>i){let e=n.calendar.isInverseEra?.(n);n.year=i,n.month=e?1:n.calendar.getMonthsInYear(n),n.day=e?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let a=n.calendar.getMonthsInYear(n);return n.month>a&&(n.month=a,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}function XE(e,t){e.calendar.isInverseEra?.(e)&&(t=-t),e.year+=t}function ZE(e){for(;e.month<1;)XE(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,XE(e,1)}function QE(e){for(;e.day<1;)e.month--,ZE(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,ZE(e)}function $E(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function eD(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),$E(e)}function tD(e){let t={};for(let n in e)typeof e[n]==`number`&&(t[n]=-e[n]);return t}function nD(e,t){return YE(e,tD(t))}function rD(e,t){let n=e.copy();return t.era!=null&&(n.era=t.era),t.year!=null&&(n.year=t.year),t.month!=null&&(n.month=t.month),t.day!=null&&(n.day=t.day),eD(n),n}function iD(e,t){let n=e.copy();return t.hour!=null&&(n.hour=t.hour),t.minute!=null&&(n.minute=t.minute),t.second!=null&&(n.second=t.second),t.millisecond!=null&&(n.millisecond=t.millisecond),oD(n),n}function aD(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=sD(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=sD(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=sD(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=sD(e.hour,24),t}function oD(e){e.millisecond=Math.max(0,Math.min(e.millisecond,999)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function sD(e,t){let n=e%t;return n<0&&(n+=t),n}function cD(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,aD(e)}function lD(e,t){let n=e.copy();return cD(n,t),n}function uD(e,t){return lD(e,tD(t))}function dD(e,t,n,r){let i=e.copy();switch(t){case`era`:{let t=e.calendar.getEras(),a=t.indexOf(e.era);if(a<0)throw Error(`Invalid era: `+e.era);a=pD(a,n,0,t.length-1,r?.round),i.era=t[a],eD(i);break}case`year`:i.calendar.isInverseEra?.(i)&&(n=-n),i.year=pD(e.year,n,-1/0,9999,r?.round),i.year===-1/0&&(i.year=1),i.calendar.balanceYearMonth&&i.calendar.balanceYearMonth(i,e);break;case`month`:i.month=pD(e.month,n,1,e.calendar.getMonthsInYear(e),r?.round);break;case`day`:i.day=pD(e.day,n,1,e.calendar.getDaysInMonth(e),r?.round);break;default:throw Error(`Unsupported field `+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(i),eD(i),i}function fD(e,t,n,r){let i=e.copy();switch(t){case`hour`:{let t=e.hour,a=0,o=23;if(r?.hourCycle===12){let e=t>=12;a=e?12:0,o=e?23:11}i.hour=pD(t,n,a,o,r?.round);break}case`minute`:i.minute=pD(e.minute,n,0,59,r?.round);break;case`second`:i.second=pD(e.second,n,0,59,r?.round);break;case`millisecond`:i.millisecond=pD(e.millisecond,n,0,999,r?.round);break;default:throw Error(`Unsupported field `+t)}return i}function pD(e,t,n,r,i=!1){if(i){e+=Math.sign(t),e0?Math.ceil(e/i)*i:Math.floor(e/i)*i,e>r&&(e=n)}else e+=t,er&&(e=n+(e-r-1));return e}function mD(e,t){let n;return n=t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0?LE(YE(VE(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days}),e.timeZone):kE(e)-e.offset,n+=t.milliseconds||0,n+=(t.seconds||0)*1e3,n+=(t.minutes||0)*6e4,n+=(t.hours||0)*36e5,UE(zE(n,e.timeZone),e.calendar)}function hD(e,t){return mD(e,tD(t))}function gD(e,t,n,r){switch(t){case`hour`:{let t=0,i=23;if(r?.hourCycle===12){let n=e.hour>=12;t=n?12:0,i=n?23:11}let a=VE(e),o=UE(iD(a,{hour:t}),new QT),s=[LE(o,e.timeZone,`earlier`),LE(o,e.timeZone,`later`)].filter(t=>zE(t,e.timeZone).day===o.day)[0],c=UE(iD(a,{hour:i}),new QT),l=[LE(c,e.timeZone,`earlier`),LE(c,e.timeZone,`later`)].filter(t=>zE(t,e.timeZone).day===c.day).pop(),u=kE(e)-e.offset,d=Math.floor(u/JE),f=u%JE;return u=pD(d,n,Math.floor(s/JE),Math.floor(l/JE),r?.round)*JE+f,UE(zE(u,e.timeZone),e.calendar)}case`minute`:case`second`:case`millisecond`:return fD(e,t,n,r);case`era`:case`year`:case`month`:case`day`:return UE(zE(LE(dD(VE(e),t,n,r),e.timeZone),e.timeZone),e.calendar);default:throw Error(`Unsupported field `+t)}}function _D(e,t,n){let r=VE(e),i=iD(rD(r,t),t);return i.compare(r)===0?e:UE(zE(LE(i,e.timeZone,n),e.timeZone),e.calendar)}var vD=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})$/,yD=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?$/,bD=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?(?:(?:([+-]\d{2})(?::?(\d{2}))?)|Z)$/;function xD(e){let t=e.match(vD);if(!t)throw bD.test(e)?Error(`Invalid ISO 8601 date string: ${e}. Use parseAbsolute() instead.`):Error(`Invalid ISO 8601 date string: `+e);let n=new AD(CD(t[1],0,9999),CD(t[2],1,12),1);return n.day=CD(t[3],1,n.calendar.getDaysInMonth(n)),n}function SD(e){let t=e.match(yD);if(!t)throw bD.test(e)?Error(`Invalid ISO 8601 date time string: ${e}. Use parseAbsolute() instead.`):Error(`Invalid ISO 8601 date time string: `+e);let n=CD(t[1],-9999,9999),r=new MD(n<1?`BC`:`AD`,n<1?-n+1:n,CD(t[2],1,12),1,t[4]?CD(t[4],0,23):0,t[5]?CD(t[5],0,59):0,t[6]?CD(t[6],0,59):0,t[7]?CD(t[7],0,1/0)*1e3:0);return r.day=CD(t[3],0,r.calendar.getDaysInMonth(r)),r}function CD(e,t,n){let r=Number(e);if(rn)throw RangeError(`Value out of range: ${t} <= ${r} <= ${n}`);return r}function wD(e){return`${String(e.hour).padStart(2,`0`)}:${String(e.minute).padStart(2,`0`)}:${String(e.second).padStart(2,`0`)}${e.millisecond?String(e.millisecond/1e3).slice(1):``}`}function TD(e){let t=UE(e,new QT),n;return n=t.era===`BC`?t.year===1?`0000`:`-`+String(Math.abs(1-t.year)).padStart(6,`00`):String(t.year).padStart(4,`0`),`${n}-${String(t.month).padStart(2,`0`)}-${String(t.day).padStart(2,`0`)}`}function ED(e){return`${TD(e)}T${wD(e)}`}function DD(e){let t=Math.sign(e)<0?`-`:`+`;e=Math.abs(e);let n=Math.floor(e/36e5),r=Math.floor(e%36e5/6e4),i=Math.floor(e%36e5%6e4/1e3),a=`${t}${String(n).padStart(2,`0`)}:${String(r).padStart(2,`0`)}`;return i!==0&&(a+=`:${String(i).padStart(2,`0`)}`),a}function OD(e){return`${ED(e)}${DD(e.offset)}[${e.timeZone}]`}function kD(e){let t=typeof e[0]==`object`?e.shift():new QT,n;if(typeof e[0]==`string`)n=e.shift();else{let e=t.getEras();n=e[e.length-1]}let r=e.shift(),i=e.shift(),a=e.shift();return[t,n,r,i,a]}var AD=class e{constructor(...e){let[t,n,r,i,a]=kD(e);this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,eD(this)}copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day):new e(this.calendar,this.year,this.month,this.day)}add(e){return YE(this,e)}subtract(e){return nD(this,e)}set(e){return rD(this,e)}cycle(e,t,n){return dD(this,e,t,n)}toDate(e){return RE(this,e)}toString(){return TD(this)}compare(e){return uE(this,e)}},jD=class e{constructor(e=0,t=0,n=0,r=0){this.hour=e,this.minute=t,this.second=n,this.millisecond=r,oD(this)}copy(){return new e(this.hour,this.minute,this.second,this.millisecond)}add(e){return lD(this,e)}subtract(e){return uD(this,e)}set(e){return iD(this,e)}cycle(e,t,n){return fD(this,e,t,n)}toString(){return wD(this)}compare(e){return dE(this,e)}},MD=class e{constructor(...e){let[t,n,r,i,a]=kD(e);this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,eD(this)}copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new e(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return YE(this,e)}subtract(e){return nD(this,e)}set(e){return rD(iD(this,e),e)}cycle(e,t,n){switch(e){case`era`:case`year`:case`month`:case`day`:return dD(this,e,t,n);default:return fD(this,e,t,n)}}toDate(e,t){return RE(this,e,t)}toString(){return ED(this)}compare(e){let t=uE(this,e);return t===0?dE(this,VE(e)):t}},ND=class e{constructor(...e){let[t,n,r,i,a]=kD(e),o=e.shift(),s=e.shift();this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,this.timeZone=o,this.offset=s,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,eD(this)}copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new e(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return mD(this,e)}subtract(e){return hD(this,e)}set(e,t){return _D(this,e,t)}cycle(e,t,n){return gD(this,e,t,n)}toDate(){return GE(this)}toString(){return OD(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-WE(e,this.timeZone).toDate().getTime()}},PD=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],FD=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],ID=[1867,1911,1925,1988,2018],LD=[`meiji`,`taisho`,`showa`,`heisei`,`reiwa`];function RD(e){let t=PD.findIndex(([t,n,r])=>e.year=0){let[,n,r]=PD[t];e.month=Math.max(n,e.month),e.month===n&&(e.day=Math.max(r,e.day))}}getEras(){return LD}getYearsInEra(e){let t=LD.indexOf(e.era),n=PD[t],r=PD[t+1];if(r==null)return 9999-n[0]+1;let i=r[0]-n[0];return(e.month0?[`minguo`,t]:[`before_minguo`,1-t]}var JD=class extends QT{fromJulianDay(e){let t=super.fromJulianDay(e),[n,r]=qD(YT(t.era,t.year));return new AD(this,n,r,t.month,t.day)}toJulianDay(e){return super.toJulianDay(YD(e))}getEras(){return[`before_minguo`,`minguo`]}balanceDate(e){let[t,n]=qD(KD(e));e.era=t,e.year=n}isInverseEra(e){return e.era===`before_minguo`}getDaysInMonth(e){return super.getDaysInMonth(YD(e))}getYearsInEra(e){return e.era===`before_minguo`?9999:8088}constructor(...e){super(...e),this.identifier=`roc`}};function YD(e){let[t,n]=XT(KD(e));return new AD(t,n,e.month,e.day)}var XD=1948320,ZD=[0,31,62,93,124,155,186,216,246,276,306,336],QD=class{fromJulianDay(e){let t=e-XD,n=1+Math.floor((33*t+3)/12053),r=t-(365*(n-1)+Math.floor((8*n+21)/33)),i=Math.floor(r<216?r/31:(r-6)/30),a=r-ZD[i]+1;return new AD(this,n,i+1,a)}toJulianDay(e){let t=1948319+365*(e.year-1)+Math.floor((8*e.year+21)/33);return t+=ZD[e.month-1],t+=e.day,t}getMonthsInYear(){return 12}getDaysInMonth(e){return e.month<=6?31:e.month<=11||GT(25*e.year+11,33)<8?30:29}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 31}getEras(){return[`AP`]}getYearsInEra(){return 9377}constructor(){this.identifier=`persian`}},$D=78,eO=80,tO=class extends QT{fromJulianDay(e){let t=super.fromJulianDay(e),n=t.year-$D,r=e-qT(t.era,t.year,1,1),i;r=8&&(i+=(e.month-7)*30),i+=e.day-1,i)}getDaysInMonth(e){return e.month===1&&JT(e.year+$D)||e.month>=2&&e.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return[`saka`]}balanceDate(){}constructor(...e){super(...e),this.identifier=`indian`}},nO=1948440,rO=1948439,iO=1300,aO=1600,oO=460322;function sO(e,t,n,r){return r+Math.ceil(29.5*(n-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function cO(e,t,n){let r=Math.floor((30*(n-t)+10646)/10631),i=Math.min(12,Math.ceil((n-(29+sO(t,r,1,1)))/29.5)+1);return new AD(e,r,i,n-sO(t,r,i,1)+1)}function lO(e){return(14+11*e)%30<11}var uO=class{fromJulianDay(e){return cO(this,nO,e)}toJulianDay(e){return sO(nO,e.year,e.month,e.day)}getDaysInMonth(e){let t=29+e.month%2;return e.month===12&&lO(e.year)&&t++,t}getMonthsInYear(){return 12}getDaysInYear(e){return lO(e.year)?355:354}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 30}getYearsInEra(){return 9665}getEras(){return[`AH`]}constructor(){this.identifier=`islamic-civil`}},dO=class extends uO{fromJulianDay(e){return cO(this,rO,e)}toJulianDay(e){return sO(rO,e.year,e.month,e.day)}constructor(...e){super(...e),this.identifier=`islamic-tbla`}},fO=`qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=`,pO,mO;function hO(e){return oO+mO[e-iO]}function gO(e,t){let n=e-iO,r=1<<11-(t-1);return(pO[n]&r)===0?29:30}function _O(e,t){let n=hO(e);for(let r=1;re.charCodeAt(0)).buffer),!mO){mO=new Uint32Array(301);let e=0;for(let t=iO;t<=aO;t++){mO[t-iO]=e;for(let n=1;n<=12;n++)e+=gO(t,n)}}}fromJulianDay(e){let t=e-nO,n=hO(iO),r=hO(aO);if(tr)return super.fromJulianDay(e);{let e=1299,n=1,r=1;for(;r>0;){e++,r=t-hO(e)+1;let i=vO(e);if(r===i){n=12;break}if(rt;)r-=t,n++,t=gO(e,n);break}}return new AD(this,e,n,t-_O(e,n)+1)}}toJulianDay(e){return e.yearaO?super.toJulianDay(e):nO+_O(e.year,e.month)+(e.day-1)}getDaysInMonth(e){return e.yearaO?super.getDaysInMonth(e):gO(e.year,e.month)}getDaysInYear(e){return e.yearaO?super.getDaysInYear(e):vO(e.year)}},bO=347997,xO=25920,SO=765433;function CO(e){return GT(e*7+1,19)<7}function wO(e){let t=Math.floor((235*e-234)/19),n=12084+13753*t,r=t*29+Math.floor(n/25920);return GT(3*(r+1),7)<3&&(r+=1),r}function TO(e){let t=wO(e-1),n=wO(e);return wO(e+1)-n===356?2:+(n-t===382)}function EO(e){return wO(e)+TO(e)}function DO(e){return EO(e+1)-EO(e)}function OO(e){let t=DO(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function kO(e,t){if(t>=6&&!CO(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let n=OO(e);return t===2?n===2?30:29:t===3?n===0?29:30:t===6?CO(e)?30:0:30}var AO=class{fromJulianDay(e){let t=e-bO,n=t*xO/SO,r=Math.floor((19*n+234)/235)+1,i=EO(r),a=Math.floor(t-i);for(;a<1;)r--,i=EO(r),a=Math.floor(t-i);let o=1,s=0;for(;s6?e.month--:!CO(t.year)&&CO(e.year)&&t.month>6&&e.month++)}constructor(){this.identifier=`hebrew`}},jO=1723856,MO=1824665,NO=5500;function PO(e,t,n,r){return e+365*t+Math.floor(t/4)+30*(n-1)+r-1}function FO(e,t){let n=Math.floor(4*(t-e)/1461),r=1+Math.floor((t-PO(e,n,1,1))/30);return[n,r,t+1-PO(e,n,r,1)]}function IO(e){return Math.floor(e%4/3)}function LO(e,t){return t%13==0?IO(e)+5:30}var RO=class{fromJulianDay(e){let[t,n,r]=FO(jO,e),i=`AM`;return t<=0&&(i=`AA`,t+=NO),new AD(this,i,t,n,r)}toJulianDay(e){let t=e.year;return e.era===`AA`&&(t-=NO),PO(jO,t,e.month,e.day)}getDaysInMonth(e){return LO(e.year,e.month)}getMonthsInYear(){return 13}getDaysInYear(e){return 365+IO(e.year)}getMaximumMonthsInYear(){return 13}getMaximumDaysInMonth(){return 30}getYearsInEra(e){return e.era===`AA`?9999:9991}getEras(){return[`AA`,`AM`]}constructor(){this.identifier=`ethiopic`}},zO=class extends RO{fromJulianDay(e){let[t,n,r]=FO(jO,e);return t+=NO,new AD(this,`AA`,t,n,r)}getEras(){return[`AA`]}getYearsInEra(){return 9999}constructor(...e){super(...e),this.identifier=`ethioaa`}},BO=class extends RO{fromJulianDay(e){let[t,n,r]=FO(MO,e),i=`CE`;return t<=0&&(i=`BCE`,t=1-t),new AD(this,i,t,n,r)}toJulianDay(e){let t=e.year;return e.era===`BCE`&&(t=1-t),PO(MO,t,e.month,e.day)}getDaysInMonth(e){let t=e.year;return e.era===`BCE`&&(t=1-t),LO(t,e.month)}isInverseEra(e){return e.era===`BCE`}balanceDate(e){e.year<=0&&(e.era=e.era===`BCE`?`CE`:`BCE`,e.year=1-e.year)}getEras(){return[`BCE`,`CE`]}getYearsInEra(e){return e.era===`BCE`?9999:9715}constructor(...e){super(...e),this.identifier=`coptic`}};function VO(e){switch(e){case`buddhist`:return new UD;case`ethiopic`:return new RO;case`ethioaa`:return new zO;case`coptic`:return new BO;case`hebrew`:return new AO;case`indian`:return new tO;case`islamic-civil`:return new uO;case`islamic-tbla`:return new dO;case`islamic-umalqura`:return new yO;case`japanese`:return new BD;case`persian`:return new QD;case`roc`:return new JD;default:return new QT}}var HO=new Map,UO=class{constructor(e,t={}){this.formatter=GO(e,t),this.options=t}format(e){return this.formatter.format(e)}formatToParts(e){return this.formatter.formatToParts(e)}formatRange(e,t){if(typeof this.formatter.formatRange==`function`)return this.formatter.formatRange(e,t);if(t= start date`);return`${this.formatter.format(e)} \u{2013} ${this.formatter.format(t)}`}formatRangeToParts(e,t){if(typeof this.formatter.formatRangeToParts==`function`)return this.formatter.formatRangeToParts(e,t);if(t= start date`);let n=this.formatter.formatToParts(e),r=this.formatter.formatToParts(t);return[...n.map(e=>({...e,source:`startRange`})),{type:`literal`,value:` – `,source:`shared`},...r.map(e=>({...e,source:`endRange`}))]}resolvedOptions(){let e=this.formatter.resolvedOptions();return YO()&&(this.resolvedHourCycle||=XO(e.locale,this.options),e.hourCycle=this.resolvedHourCycle,e.hour12=this.resolvedHourCycle===`h11`||this.resolvedHourCycle===`h12`),e.calendar===`ethiopic-amete-alem`&&(e.calendar=`ethioaa`),e}},WO={true:{ja:`h11`},false:{}};function GO(e,t={}){if(typeof t.hour12==`boolean`&&qO()){t={...t};let n=WO[String(t.hour12)][e.split(`-`)[0]],r=t.hour12?`h12`:`h23`;t.hourCycle=n??r,delete t.hour12}let n=e+(t?Object.entries(t).sort((e,t)=>e[0]e.type===`hour`).value,10),i=parseInt(n.formatToParts(new Date(2020,2,3,23)).find(e=>e.type===`hour`).value,10);if(r===0&&i===23)return`h23`;if(r===24&&i===23)return`h24`;if(r===0&&i===11)return`h11`;if(r===12&&i===11)return`h12`;throw Error(`Unexpected hour cycle result`)}var ZO=[`day`,`month`,`year`],QO={hour:1,minute:2,second:3};function $O(e,t){let{autoComplete:n,isDisabled:r,name:i}=e,{visuallyHiddenProps:a}=Qg({style:{position:`fixed`,top:0,left:0}}),o=60;t.granularity===`second`?o=1:t.granularity===`hour`&&(o=3600);let s=``;t.value&&(s=t.granularity===`day`?BE(t.value).toString():VE(`timeZone`in t.value?qE(t.value):t.value).toString());let c=t.granularity===`day`?`date`:`datetime-local`,l=[`hour`,`minute`,`second`],u=0;return l.includes(t.granularity)&&(u=QO[t.granularity],l=l.slice(0,u)),{containerProps:{...a,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":`aria-hidden-focus`},inputProps:{tabIndex:-1,autoComplete:n,disabled:r,type:c,form:``,name:i,step:o,value:s,onChange:e=>{let n=B(e).value.toString();if(n)try{let e=SD(n);if(t.granularity===`day`&&(e=xD(n)),`setSegment`in t)for(let n in e)ZO.includes(n)&&t.setSegment(n,e[n]),l.includes(n)&&t.setSegment(n,e[n]);t.setValue(e)}catch{}}}}}function ek(e){let{state:t}=e,{containerProps:n,inputProps:r}=$O({...e},t);return v.createElement(`div`,{...n,"data-testid":`hidden-dateinput-container`},v.createElement(`input`,r))}var tk={};tk={calendar:`التقويم`,day:`يوم`,dayPeriod:`ص/م`,endDate:`تاريخ الانتهاء`,era:`العصر`,hour:`الساعات`,minute:`الدقائق`,month:`الشهر`,second:`الثواني`,selectedDateDescription:e=>`\u{62A}\u{627}\u{631}\u{64A}\u{62E} \u{645}\u{62D}\u{62F}\u{62F}: ${e.date}`,selectedRangeDescription:e=>`\u{627}\u{644}\u{645}\u{62F}\u{649} \u{627}\u{644}\u{632}\u{645}\u{646}\u{64A} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}: ${e.startDate} \u{625}\u{644}\u{649} ${e.endDate}`,selectedTimeDescription:e=>`\u{627}\u{644}\u{648}\u{642}\u{62A} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}: ${e.time}`,startDate:`تاريخ البدء`,timeZoneName:`التوقيت`,weekday:`اليوم`,year:`السنة`};var nk={};nk={calendar:`Календар`,day:`ден`,dayPeriod:`пр.об./сл.об.`,endDate:`Крайна дата`,era:`ера`,hour:`час`,minute:`минута`,month:`месец`,second:`секунда`,selectedDateDescription:e=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}: ${e.date}`,selectedRangeDescription:e=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D} \u{434}\u{438}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: ${e.startDate} \u{434}\u{43E} ${e.endDate}`,selectedTimeDescription:e=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{43E} \u{432}\u{440}\u{435}\u{43C}\u{435}: ${e.time}`,startDate:`Начална дата`,timeZoneName:`часова зона`,weekday:`ден от седмицата`,year:`година`};var rk={};rk={calendar:`Kalendář`,day:`den`,dayPeriod:`část dne`,endDate:`Konečné datum`,era:`letopočet`,hour:`hodina`,minute:`minuta`,month:`měsíc`,second:`sekunda`,selectedDateDescription:e=>`Vybran\xe9 datum: ${e.date}`,selectedRangeDescription:e=>`Vybran\xe9 obdob\xed: ${e.startDate} a\u{17E} ${e.endDate}`,selectedTimeDescription:e=>`Vybran\xfd \u{10D}as: ${e.time}`,startDate:`Počáteční datum`,timeZoneName:`časové pásmo`,weekday:`den v týdnu`,year:`rok`};var ik={};ik={calendar:`Kalender`,day:`dag`,dayPeriod:`AM/PM`,endDate:`Slutdato`,era:`æra`,hour:`time`,minute:`minut`,month:`måned`,second:`sekund`,selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tidspunkt: ${e.time}`,startDate:`Startdato`,timeZoneName:`tidszone`,weekday:`ugedag`,year:`år`};var ak={};ak={calendar:`Kalender`,day:`Tag`,dayPeriod:`Tageshälfte`,endDate:`Enddatum`,era:`Epoche`,hour:`Stunde`,minute:`Minute`,month:`Monat`,second:`Sekunde`,selectedDateDescription:e=>`Ausgew\xe4hltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgew\xe4hlter Bereich: ${e.startDate} bis ${e.endDate}`,selectedTimeDescription:e=>`Ausgew\xe4hlte Zeit: ${e.time}`,startDate:`Startdatum`,timeZoneName:`Zeitzone`,weekday:`Wochentag`,year:`Jahr`};var ok={};ok={calendar:`Ημερολόγιο`,day:`ημέρα`,dayPeriod:`π.μ./μ.μ.`,endDate:`Ημερομηνία λήξης`,era:`περίοδος`,hour:`ώρα`,minute:`λεπτό`,month:`μήνας`,second:`δευτερόλεπτο`,selectedDateDescription:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B7} \u{3B7}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B1}: ${e.date}`,selectedRangeDescription:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3BF} \u{3B5}\u{3CD}\u{3C1}\u{3BF}\u{3C2}: ${e.startDate} \u{3AD}\u{3C9}\u{3C2} ${e.endDate}`,selectedTimeDescription:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B7} \u{3CE}\u{3C1}\u{3B1}: ${e.time}`,startDate:`Ημερομηνία έναρξης`,timeZoneName:`ζώνη ώρας`,weekday:`καθημερινή`,year:`έτος`};var sk={};sk={era:`era`,year:`year`,month:`month`,day:`day`,hour:`hour`,minute:`minute`,second:`second`,dayPeriod:`AM/PM`,calendar:`Calendar`,startDate:`Start Date`,endDate:`End Date`,weekday:`day of the week`,timeZoneName:`time zone`,selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.startDate} to ${e.endDate}`,selectedTimeDescription:e=>`Selected Time: ${e.time}`};var ck={};ck={calendar:`Calendario`,day:`día`,dayPeriod:`a.\xA0m./p.\xA0m.`,endDate:`Fecha final`,era:`era`,hour:`hora`,minute:`minuto`,month:`mes`,second:`segundo`,selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Rango seleccionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora seleccionada: ${e.time}`,startDate:`Fecha de inicio`,timeZoneName:`zona horaria`,weekday:`día de la semana`,year:`año`};var lk={};lk={calendar:`Kalender`,day:`päev`,dayPeriod:`enne/pärast lõunat`,endDate:`Lõppkuupäev`,era:`ajastu`,hour:`tund`,minute:`minut`,month:`kuu`,second:`sekund`,selectedDateDescription:e=>`Valitud kuup\xe4ev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.startDate} kuni ${e.endDate}`,selectedTimeDescription:e=>`Valitud aeg: ${e.time}`,startDate:`Alguskuupäev`,timeZoneName:`ajavöönd`,weekday:`nädalapäev`,year:`aasta`};var uk={};uk={calendar:`Kalenteri`,day:`päivä`,dayPeriod:`vuorokaudenaika`,endDate:`Päättymispäivä`,era:`aikakausi`,hour:`tunti`,minute:`minuutti`,month:`kuukausi`,second:`sekunti`,selectedDateDescription:e=>`Valittu p\xe4iv\xe4m\xe4\xe4r\xe4: ${e.date}`,selectedRangeDescription:e=>`Valittu aikav\xe4li: ${e.startDate} \u{2013} ${e.endDate}`,selectedTimeDescription:e=>`Valittu aika: ${e.time}`,startDate:`Alkamispäivä`,timeZoneName:`aikavyöhyke`,weekday:`viikonpäivä`,year:`vuosi`};var dk={};dk={calendar:`Calendrier`,day:`jour`,dayPeriod:`cadran`,endDate:`Date de fin`,era:`ère`,hour:`heure`,minute:`minute`,month:`mois`,second:`seconde`,selectedDateDescription:e=>`Date s\xe9lectionn\xe9e\xa0: ${e.date}`,selectedRangeDescription:e=>`Plage s\xe9lectionn\xe9e\xa0: ${e.startDate} au ${e.endDate}`,selectedTimeDescription:e=>`Heure choisie\xa0: ${e.time}`,startDate:`Date de début`,timeZoneName:`fuseau horaire`,weekday:`jour de la semaine`,year:`année`};var fk={};fk={calendar:`לוח שנה`,day:`יום`,dayPeriod:`לפנה״צ/אחה״צ`,endDate:`תאריך סיום`,era:`תקופה`,hour:`שעה`,minute:`דקה`,month:`חודש`,second:`שנייה`,selectedDateDescription:e=>`\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DA} \u{5E0}\u{5D1}\u{5D7}\u{5E8}: ${e.date}`,selectedRangeDescription:e=>`\u{5D8}\u{5D5}\u{5D5}\u{5D7} \u{5E0}\u{5D1}\u{5D7}\u{5E8}: ${e.startDate} \u{5E2}\u{5D3} ${e.endDate}`,selectedTimeDescription:e=>`\u{5D6}\u{5DE}\u{5DF} \u{5E0}\u{5D1}\u{5D7}\u{5E8}: ${e.time}`,startDate:`תאריך התחלה`,timeZoneName:`אזור זמן`,weekday:`יום בשבוע`,year:`שנה`};var pk={};pk={calendar:`Kalendar`,day:`dan`,dayPeriod:`AM/PM`,endDate:`Datum završetka`,era:`era`,hour:`sat`,minute:`minuta`,month:`mjesec`,second:`sekunda`,selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Odabrano vrijeme: ${e.time}`,startDate:`Datum početka`,timeZoneName:`vremenska zona`,weekday:`dan u tjednu`,year:`godina`};var mk={};mk={calendar:`Naptár`,day:`nap`,dayPeriod:`napszak`,endDate:`Befejező dátum`,era:`éra`,hour:`óra`,minute:`perc`,month:`hónap`,second:`másodperc`,selectedDateDescription:e=>`Kijel\xf6lt d\xe1tum: ${e.date}`,selectedRangeDescription:e=>`Kijel\xf6lt tartom\xe1ny: ${e.startDate}\u{2013}${e.endDate}`,selectedTimeDescription:e=>`Kijel\xf6lt id\u{151}: ${e.time}`,startDate:`Kezdő dátum`,timeZoneName:`időzóna`,weekday:`hét napja`,year:`év`};var hk={};hk={calendar:`Calendario`,day:`giorno`,dayPeriod:`AM/PM`,endDate:`Data finale`,era:`era`,hour:`ora`,minute:`minuto`,month:`mese`,second:`secondo`,selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: da ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Ora selezionata: ${e.time}`,startDate:`Data iniziale`,timeZoneName:`fuso orario`,weekday:`giorno della settimana`,year:`anno`};var gk={};gk={calendar:`カレンダー`,day:`日`,dayPeriod:`午前/午後`,endDate:`終了日`,era:`時代`,hour:`時`,minute:`分`,month:`月`,second:`秒`,selectedDateDescription:e=>`\u{9078}\u{629E}\u{3057}\u{305F}\u{65E5}\u{4ED8} : ${e.date}`,selectedRangeDescription:e=>`\u{9078}\u{629E}\u{7BC4}\u{56F2} : ${e.startDate} \u{304B}\u{3089} ${e.endDate}`,selectedTimeDescription:e=>`\u{9078}\u{629E}\u{3057}\u{305F}\u{6642}\u{9593} : ${e.time}`,startDate:`開始日`,timeZoneName:`タイムゾーン`,weekday:`曜日`,year:`年`};var _k={};_k={calendar:`달력`,day:`일`,dayPeriod:`오전/오후`,endDate:`종료일`,era:`연호`,hour:`시`,minute:`분`,month:`월`,second:`초`,selectedDateDescription:e=>`\u{C120}\u{D0DD} \u{C77C}\u{C790}: ${e.date}`,selectedRangeDescription:e=>`\u{C120}\u{D0DD} \u{BC94}\u{C704}: ${e.startDate} ~ ${e.endDate}`,selectedTimeDescription:e=>`\u{C120}\u{D0DD} \u{C2DC}\u{AC04}: ${e.time}`,startDate:`시작일`,timeZoneName:`시간대`,weekday:`요일`,year:`년`};var vk={};vk={calendar:`Kalendorius`,day:`diena`,dayPeriod:`iki pietų / po pietų`,endDate:`Pabaigos data`,era:`era`,hour:`valanda`,minute:`minutė`,month:`mėnuo`,second:`sekundė`,selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: nuo ${e.startDate} iki ${e.endDate}`,selectedTimeDescription:e=>`Pasirinktas laikas: ${e.time}`,startDate:`Pradžios data`,timeZoneName:`laiko juosta`,weekday:`savaitės diena`,year:`metai`};var yk={};yk={calendar:`Kalendārs`,day:`diena`,dayPeriod:`priekšpusdienā/pēcpusdienā`,endDate:`Beigu datums`,era:`ēra`,hour:`stundas`,minute:`minūtes`,month:`mēnesis`,second:`sekundes`,selectedDateDescription:e=>`Atlas\u{12B}tais datums: ${e.date}`,selectedRangeDescription:e=>`Atlas\u{12B}tais diapazons: no ${e.startDate} l\u{12B}dz ${e.endDate}`,selectedTimeDescription:e=>`Atlas\u{12B}tais laiks: ${e.time}`,startDate:`Sākuma datums`,timeZoneName:`laika josla`,weekday:`nedēļas diena`,year:`gads`};var bk={};bk={calendar:`Kalender`,day:`dag`,dayPeriod:`a.m./p.m.`,endDate:`Sluttdato`,era:`tidsalder`,hour:`time`,minute:`minutt`,month:`måned`,second:`sekund`,selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt omr\xe5de: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tid: ${e.time}`,startDate:`Startdato`,timeZoneName:`tidssone`,weekday:`ukedag`,year:`år`};var xk={};xk={calendar:`Kalender`,day:`dag`,dayPeriod:`a.m./p.m.`,endDate:`Einddatum`,era:`tijdperk`,hour:`uur`,minute:`minuut`,month:`maand`,second:`seconde`,selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.startDate} tot ${e.endDate}`,selectedTimeDescription:e=>`Geselecteerde tijd: ${e.time}`,startDate:`Startdatum`,timeZoneName:`tijdzone`,weekday:`dag van de week`,year:`jaar`};var Sk={};Sk={calendar:`Kalendarz`,day:`dzień`,dayPeriod:`rano / po południu / wieczorem`,endDate:`Data końcowa`,era:`era`,hour:`godzina`,minute:`minuta`,month:`miesiąc`,second:`sekunda`,selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Wybrany czas: ${e.time}`,startDate:`Data początkowa`,timeZoneName:`strefa czasowa`,weekday:`dzień tygodnia`,year:`rok`};var Ck={};Ck={calendar:`Calendário`,day:`dia`,dayPeriod:`AM/PM`,endDate:`Data final`,era:`era`,hour:`hora`,minute:`minuto`,month:`mês`,second:`segundo`,selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:`Data inicial`,timeZoneName:`fuso horário`,weekday:`dia da semana`,year:`ano`};var wk={};wk={calendar:`Calendário`,day:`dia`,dayPeriod:`am/pm`,endDate:`Data de Término`,era:`era`,hour:`hora`,minute:`minuto`,month:`mês`,second:`segundo`,selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:`Data de Início`,timeZoneName:`fuso horário`,weekday:`dia da semana`,year:`ano`};var Tk={};Tk={calendar:`Calendar`,day:`zi`,dayPeriod:`a.m/p.m.`,endDate:`Dată final`,era:`eră`,hour:`oră`,minute:`minut`,month:`lună`,second:`secundă`,selectedDateDescription:e=>`Dat\u{103} selectat\u{103}: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: de la ${e.startDate} p\xe2n\u{103} la ${e.endDate}`,selectedTimeDescription:e=>`Ora selectat\u{103}: ${e.time}`,startDate:`Dată început`,timeZoneName:`fus orar`,weekday:`ziua din săptămână`,year:`an`};var Ek={};Ek={calendar:`Календарь`,day:`день`,dayPeriod:`AM/PM`,endDate:`Дата окончания`,era:`эра`,hour:`час`,minute:`минута`,month:`месяц`,second:`секунда`,selectedDateDescription:e=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{430}\u{44F} \u{434}\u{430}\u{442}\u{430}: ${e.date}`,selectedRangeDescription:e=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{44B}\u{439} \u{434}\u{438}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: \u{441} ${e.startDate} \u{43F}\u{43E} ${e.endDate}`,selectedTimeDescription:e=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{43E}\u{435} \u{432}\u{440}\u{435}\u{43C}\u{44F}: ${e.time}`,startDate:`Дата начала`,timeZoneName:`часовой пояс`,weekday:`день недели`,year:`год`};var Dk={};Dk={calendar:`Kalendár`,day:`deň`,dayPeriod:`AM/PM`,endDate:`Dátum ukončenia`,era:`letopočet`,hour:`hodina`,minute:`minúta`,month:`mesiac`,second:`sekunda`,selectedDateDescription:e=>`Vybrat\xfd d\xe1tum: ${e.date}`,selectedRangeDescription:e=>`Vybrat\xfd rozsah: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Vybrat\xfd \u{10D}as: ${e.time}`,startDate:`Dátum začatia`,timeZoneName:`časové pásmo`,weekday:`deň týždňa`,year:`rok`};var Ok={};Ok={calendar:`Koledar`,day:`dan`,dayPeriod:`dop/pop`,endDate:`Datum konca`,era:`doba`,hour:`ura`,minute:`minuta`,month:`mesec`,second:`sekunda`,selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano obmo\u{10D}je: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izbrani \u{10D}as: ${e.time}`,startDate:`Datum začetka`,timeZoneName:`časovni pas`,weekday:`dan v tednu`,year:`leto`};var kk={};kk={calendar:`Kalendar`,day:`дан`,dayPeriod:`пре подне/по подне`,endDate:`Datum završetka`,era:`ера`,hour:`сат`,minute:`минут`,month:`месец`,second:`секунд`,selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani opseg: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izabrano vreme: ${e.time}`,startDate:`Datum početka`,timeZoneName:`временска зона`,weekday:`дан у недељи`,year:`година`};var Ak={};Ak={calendar:`Kalender`,day:`dag`,dayPeriod:`fm/em`,endDate:`Slutdatum`,era:`era`,hour:`timme`,minute:`minut`,month:`månad`,second:`sekund`,selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.startDate} till ${e.endDate}`,selectedTimeDescription:e=>`Vald tid: ${e.time}`,startDate:`Startdatum`,timeZoneName:`tidszon`,weekday:`veckodag`,year:`år`};var jk={};jk={calendar:`Takvim`,day:`gün`,dayPeriod:`ÖÖ/ÖS`,endDate:`Bitiş Tarihi`,era:`çağ`,hour:`saat`,minute:`dakika`,month:`ay`,second:`saniye`,selectedDateDescription:e=>`Se\xe7ilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Se\xe7ilen Aral\u{131}k: ${e.startDate} - ${e.endDate}`,selectedTimeDescription:e=>`Se\xe7ilen Zaman: ${e.time}`,startDate:`Başlangıç Tarihi`,timeZoneName:`saat dilimi`,weekday:`haftanın günü`,year:`yıl`};var Mk={};Mk={calendar:`Календар`,day:`день`,dayPeriod:`дп/пп`,endDate:`Дата завершення`,era:`ера`,hour:`година`,minute:`хвилина`,month:`місяць`,second:`секунда`,selectedDateDescription:e=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}: ${e.date}`,selectedRangeDescription:e=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{439} \u{434}\u{456}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: ${e.startDate} \u{2014} ${e.endDate}`,selectedTimeDescription:e=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{439} \u{447}\u{430}\u{441}: ${e.time}`,startDate:`Дата початку`,timeZoneName:`часовий пояс`,weekday:`день тижня`,year:`рік`};var Nk={};Nk={calendar:`日历`,day:`日`,dayPeriod:`上午/下午`,endDate:`结束日期`,era:`纪元`,hour:`小时`,minute:`分钟`,month:`月`,second:`秒`,selectedDateDescription:e=>`\u{9009}\u{5B9A}\u{7684}\u{65E5}\u{671F}\u{FF1A}${e.date}`,selectedRangeDescription:e=>`\u{9009}\u{5B9A}\u{7684}\u{8303}\u{56F4}\u{FF1A}${e.startDate} \u{81F3} ${e.endDate}`,selectedTimeDescription:e=>`\u{9009}\u{5B9A}\u{7684}\u{65F6}\u{95F4}\u{FF1A}${e.time}`,startDate:`开始日期`,timeZoneName:`时区`,weekday:`工作日`,year:`年`};var Pk={};Pk={calendar:`日曆`,day:`日`,dayPeriod:`上午/下午`,endDate:`結束日期`,era:`纪元`,hour:`小时`,minute:`分钟`,month:`月`,second:`秒`,selectedDateDescription:e=>`\u{9078}\u{5B9A}\u{7684}\u{65E5}\u{671F}\u{FF1A}${e.date}`,selectedRangeDescription:e=>`\u{9078}\u{5B9A}\u{7684}\u{7BC4}\u{570D}\u{FF1A}${e.startDate} \u{81F3} ${e.endDate}`,selectedTimeDescription:e=>`\u{9078}\u{5B9A}\u{7684}\u{6642}\u{9593}\u{FF1A}${e.time}`,startDate:`開始日期`,timeZoneName:`时区`,weekday:`工作日`,year:`年`};var Fk={};Fk={"ar-AE":tk,"bg-BG":nk,"cs-CZ":rk,"da-DK":ik,"de-DE":ak,"el-GR":ok,"en-US":sk,"es-ES":ck,"et-EE":lk,"fi-FI":uk,"fr-FR":dk,"he-IL":fk,"hr-HR":pk,"hu-HU":mk,"it-IT":hk,"ja-JP":gk,"ko-KR":_k,"lt-LT":vk,"lv-LV":yk,"nb-NO":bk,"nl-NL":xk,"pl-PL":Sk,"pt-BR":Ck,"pt-PT":wk,"ro-RO":Tk,"ru-RU":Ek,"sk-SK":Dk,"sl-SI":Ok,"sr-SP":kk,"sv-SE":Ak,"tr-TR":jk,"uk-UA":Mk,"zh-CN":Nk,"zh-TW":Pk};function Ik(e,t,n){let{direction:r}=lf(),i=(0,v.useMemo)(()=>Ih(t),[t]),{keyboardProps:a}=Op({shortcuts:{"Alt+ArrowDown":()=>{if(`setOpen`in e){e.setOpen(!0);return}return!1},"Alt+ArrowUp":()=>{if(`setOpen`in e){e.setOpen(!0);return}return!1},ArrowLeft:e=>{if(n)return!1;if(r===`rtl`){if(t.current){let n=B(e),r=Lk(t.current,n.getBoundingClientRect().left,-1);if(r){r.focus();return}}}else{i.focusPrevious();return}return!1},ArrowRight:e=>{if(n)return!1;if(r===`rtl`){if(t.current){let n=B(e),r=Lk(t.current,n.getBoundingClientRect().left,1);if(r){r.focus();return}}}else{i.focusNext();return}return!1}},allowRepeats:!0}),o=()=>{if(!t.current)return;let e=window.event?B(window.event):null,n=Fh(t.current,{tabbable:!0});if(e&&=(n.currentNode=e,n.previousNode()),!e){let t;do t=n.lastChild(),t&&(e=t);while(t)}for(;e?.hasAttribute(`data-placeholder`);){let t=n.previousNode();if(t&&t.hasAttribute(`data-placeholder`))e=t;else break}e&&e.focus()},{pressProps:s}=Wp({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(e){e.pointerType===`mouse`&&o()},onPress(e){(e.pointerType===`touch`||e.pointerType===`pen`)&&o()}});return V(s,a)}function Lk(e,t,n){let r=Fh(e,{tabbable:!0}),i=r.nextNode(),a=null,o=1/0;for(;i;){let e=i.getBoundingClientRect().left-t,s=Math.abs(e);Math.sign(e)===n&&s{t.confirmPlaceholder(),t.value!==u.current&&t.commitValidation(),e.onBlur?.(n)},onFocusWithinChange:e.onFocusChange}),f=Xg(Rk(Fk),`@react-aria/datepicker`),p=t.maxGranularity===`hour`?`selectedTimeDescription`:`selectedDateDescription`,m=t.maxGranularity===`hour`?`time`:`date`,h=ls(t.value?f.format(p,{[m]:t.formatValue({month:`long`})}):``),g=e.__reactAriaDateFieldRole===`presentation`?s[`aria-describedby`]:[h[`aria-describedby`],s[`aria-describedby`]].filter(Boolean).join(` `)||void 0,_=e[Vk],y=(0,v.useMemo)(()=>_||Ih(n),[_,n]),b=Ik(t,n,e[Bk]===`presentation`);zk.set(t,{ariaLabel:e[`aria-label`],ariaLabelledBy:[o.id,e[`aria-labelledby`]].filter(Boolean).join(` `)||void 0,ariaDescribedBy:g,focusManager:y});let x=(0,v.useRef)(e.autoFocus),S;S=e.__reactAriaDateFieldRole===`presentation`?{role:`presentation`}:V(s,{role:`group`,"aria-disabled":e.isDisabled||void 0,"aria-describedby":g}),(0,v.useEffect)(()=>{x.current&&y.focusFirst(),x.current=!1},[y]),gs(e.inputRef,t.defaultValue,t.setValue),KS({...e,focus(){y.focusFirst()}},t,e.inputRef);let C={type:`hidden`,name:e.name,form:e.form,value:t.value?.toString()||``,disabled:e.isDisabled};e.validationBehavior===`native`&&(C.type=`text`,C.hidden=!0,C.required=e.isRequired,C.onChange=()=>{});let w=H(e);return{labelProps:{...o,onClick:()=>{y.focusFirst()}},fieldProps:V(w,S,b,d,{onKeyDown:e.onKeyDown,onKeyUp:e.onKeyUp,style:{unicodeBidi:`isolate`}}),inputProps:C,descriptionProps:c,errorMessageProps:l,isInvalid:r,validationErrors:i,validationDetails:a}}function Uk(e,t,n){let r=Hk(e,t,n);return r.inputProps.value=t.timeValue?.toString()||``,r}function Wk(e){e=hs(e??{},Gk);let{locale:t}=lf();return(0,v.useMemo)(()=>new UO(t,e),[t,e])}function Gk(e,t){if(e===t)return!0;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(t[r]!==e[r])return!1;return!0}function Kk(e){return e&&e.__esModule?e.default:e}function qk(){let{locale:e}=lf(),t=Yg(Kk(Fk),`@react-aria/datepicker`);return(0,v.useMemo)(()=>{try{return new Intl.DisplayNames(e,{type:`dateTimeField`})}catch{return new Jk(e,t)}},[e,t])}var Jk=class{constructor(e,t){this.locale=e,this.dictionary=t}of(e){return this.dictionary.getStringForLocale(e,this.locale)}};function Yk(e,t,n){let r=(0,v.useRef)(``),{locale:i,direction:a}=lf(),o=qk(),{ariaLabel:s,ariaLabelledBy:c,ariaDescribedBy:l,focusManager:u}=zk.get(t),d=e.isPlaceholder?``:e.text,f=(0,v.useMemo)(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),p=Wk({month:`long`,timeZone:f.timeZone}),m=Wk({hour:`numeric`,hour12:f.hour12,timeZone:f.timeZone});if(e.type===`month`&&!e.isPlaceholder){let e=p.format(t.dateValue);d=e===d?e:`${d} \u{2013} ${e}`}else e.type===`hour`&&!e.isPlaceholder&&(d=m.format(t.dateValue));let{spinButtonProps:h}=Jw({value:e.value??void 0,textValue:d,minValue:e.minValue,maxValue:e.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly||!e.isEditable,isRequired:t.isRequired,onIncrement:()=>{r.current=``,t.increment(e.type)},onDecrement:()=>{r.current=``,t.decrement(e.type)},onIncrementPage:()=>{r.current=``,t.incrementPage(e.type)},onDecrementPage:()=>{r.current=``,t.decrementPage(e.type)},onIncrementToMax:()=>{r.current=``,t.incrementToMax(e.type)},onDecrementToMin:()=>{r.current=``,t.decrementToMin(e.type)}}),g=(0,v.useMemo)(()=>new yf(i,{maximumFractionDigits:0}),[i]),_=()=>{if(e.text===e.placeholder&&u.focusPrevious(),g.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let n=e.text.slice(0,-1),i=g.parse(n);n=i===0?``:n,n.length===0||i===0?t.clearSegment(e.type):t.setSegment(e.type,i),r.current=n}else(e.type===`dayPeriod`||e.type===`era`)&&t.clearSegment(e.type)},{keyboardProps:y}=Op({shortcuts:{Backspace:()=>{_()},Delete:()=>{_()},"Mod+a":()=>{}},allowRepeats:!0}),{startsWith:b}=vx({sensitivity:`base`}),x=Wk({hour:`numeric`,hour12:!0}),S=(0,v.useMemo)(()=>{let e=new Date;return e.setHours(0),x.formatToParts(e).find(e=>e.type===`dayPeriod`).value},[x]),C=(0,v.useMemo)(()=>{let e=new Date;return e.setHours(12),x.formatToParts(e).find(e=>e.type===`dayPeriod`).value},[x]),w=Wk({year:`numeric`,era:`narrow`,timeZone:`UTC`}),T=(0,v.useMemo)(()=>{if(e.type!==`era`)return[];let n=UE(new AD(1,1,1),t.calendar),r=t.calendar.getEras().map(e=>{let t=n.set({year:1,month:1,day:1,era:e}).toDate(`UTC`);return{era:e,formatted:w.formatToParts(t).find(e=>e.type===`era`).value}}),i=Xk(r.map(e=>e.formatted));if(i)for(let e of r)e.formatted=e.formatted.slice(i);return r},[w,t.calendar,e.type]),E=n=>{if(t.isDisabled||t.isReadOnly)return;let i=r.current+n;switch(e.type){case`dayPeriod`:if(b(S,n))t.setSegment(`dayPeriod`,0);else if(b(C,n))t.setSegment(`dayPeriod`,1);else break;u.focusNext();break;case`era`:{let e=T.find(e=>b(e.formatted,n));e&&(t.setSegment(`era`,e.era),u.focusNext());break}case`day`:case`hour`:case`minute`:case`second`:case`month`:case`year`:{if(!g.isValidPartialNumber(i))return;let a=g.parse(i),o=a;if(e.maxValue!==void 0&&a>e.maxValue&&(o=g.parse(n)),isNaN(a))return;t.setSegment(e.type,o),e.maxValue!==void 0&&(Number(a+`0`)>e.maxValue||i.length>=String(e.maxValue).length)?(r.current=``,u.focusNext()):r.current=i;break}}},D=()=>{r.current=``,n.current&&fs(n.current,{containingElement:$o(n.current)}),window.getSelection()?.collapse(n.current)};us((0,v.useRef)(typeof document<`u`?document:null),`selectionchange`,()=>{let e=window.getSelection();e?.anchorNode&&xo(n.current,e?.anchorNode)&&So()===n.current&&e.collapse(n.current)});let O=(0,v.useRef)(``);us(n,`beforeinput`,r=>{if(n.current)switch(r.preventDefault(),r.inputType){case`deleteContentBackward`:case`deleteContentForward`:g.isValidPartialNumber(e.text)&&!t.isReadOnly&&_();break;case`insertCompositionText`:O.current=n.current.textContent,n.current.textContent=n.current.textContent;break;default:r.data!=null&&E(r.data)}}),us(n,`input`,e=>{let{inputType:t,data:r}=e;t===`insertCompositionText`&&(n.current&&(n.current.textContent=O.current),r!=null&&(b(S,r)||b(C,r))&&E(r))}),Ua(()=>{let e=n.current;return()=>{So()===e&&(u.focusPrevious()||u.focusNext())}},[n,u]);let k=Ca()||e.type===`timeZoneName`?{role:`textbox`,"aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{};e!==(0,v.useMemo)(()=>t.segments.find(e=>e.isEditable),[t.segments])&&!t.isInvalid&&(l=void 0);let A=so(),j=!t.isDisabled&&!t.isReadOnly&&e.isEditable,M=Uo({"aria-label":`${e.type===`literal`?``:o.of(e.type)}${s?`, ${s}`:``}${c?`, `:``}`,"aria-labelledby":c});if(e.type===`literal`)return{segmentProps:{"aria-hidden":!0}};let N={caretColor:`transparent`};if(a===`rtl`){N.unicodeBidi=`embed`;let t=f[e.type];(t===`numeric`||t===`2-digit`)&&(N.direction=`ltr`)}return{segmentProps:V(h,M,{id:A,...k,...y,"aria-invalid":t.isInvalid?`true`:void 0,"aria-describedby":l,"aria-readonly":t.isReadOnly||!e.isEditable?`true`:void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:j,suppressContentEditableWarning:j,spellCheck:j?`false`:void 0,autoCorrect:j?`off`:void 0,enterKeyHint:j?`next`:void 0,inputMode:t.isDisabled||e.type===`dayPeriod`||e.type===`era`||!j?void 0:`numeric`,tabIndex:t.isDisabled?void 0:0,onFocus:D,style:N,onPointerDown(e){e.stopPropagation()},onMouseDown(e){e.stopPropagation()}})}}function Xk(e){e.sort();let t=e[0],n=e[e.length-1];for(let e=0;e`\u{64A}\u{62C}\u{628} \u{623}\u{646} \u{62A}\u{643}\u{648}\u{646} \u{627}\u{644}\u{642}\u{64A}\u{645}\u{629} ${e.maxValue} \u{623}\u{648} \u{642}\u{628}\u{644} \u{630}\u{644}\u{643}.`,rangeReversed:`تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.`,rangeUnderflow:e=>`\u{64A}\u{62C}\u{628} \u{623}\u{646} \u{62A}\u{643}\u{648}\u{646} \u{627}\u{644}\u{642}\u{64A}\u{645}\u{629} ${e.minValue} \u{623}\u{648} \u{628}\u{639}\u{62F} \u{630}\u{644}\u{643}.`,unavailableDate:`البيانات المحددة غير متاحة.`};var Qk={};Qk={rangeOverflow:e=>`\u{421}\u{442}\u{43E}\u{439}\u{43D}\u{43E}\u{441}\u{442}\u{442}\u{430} \u{442}\u{440}\u{44F}\u{431}\u{432}\u{430} \u{434}\u{430} \u{435} ${e.maxValue} \u{438}\u{43B}\u{438} \u{43F}\u{43E}-\u{440}\u{430}\u{43D}\u{43D}\u{430}.`,rangeReversed:`Началната дата трябва да е преди крайната.`,rangeUnderflow:e=>`\u{421}\u{442}\u{43E}\u{439}\u{43D}\u{43E}\u{441}\u{442}\u{442}\u{430} \u{442}\u{440}\u{44F}\u{431}\u{432}\u{430} \u{434}\u{430} \u{435} ${e.minValue} \u{438}\u{43B}\u{438} \u{43F}\u{43E}-\u{43A}\u{44A}\u{441}\u{43D}\u{43E}.`,unavailableDate:`Избраната дата не е налична.`};var $k={};$k={rangeOverflow:e=>`Hodnota mus\xed b\xfdt ${e.maxValue} nebo d\u{159}\xedv\u{11B}j\u{161}\xed.`,rangeReversed:`Datum zahájení musí předcházet datu ukončení.`,rangeUnderflow:e=>`Hodnota mus\xed b\xfdt ${e.minValue} nebo pozd\u{11B}j\u{161}\xed.`,unavailableDate:`Vybrané datum není k dispozici.`};var eA={};eA={rangeOverflow:e=>`V\xe6rdien skal v\xe6re ${e.maxValue} eller tidligere.`,rangeReversed:`Startdatoen skal være før slutdatoen.`,rangeUnderflow:e=>`V\xe6rdien skal v\xe6re ${e.minValue} eller nyere.`,unavailableDate:`Den valgte dato er ikke tilgængelig.`};var tA={};tA={rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder fr\xfcher sein.`,rangeReversed:`Das Startdatum muss vor dem Enddatum liegen.`,rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder sp\xe4ter sein.`,unavailableDate:`Das ausgewählte Datum ist nicht verfügbar.`};var nA={};nA={rangeOverflow:e=>`\u{397} \u{3C4}\u{3B9}\u{3BC}\u{3AE} \u{3C0}\u{3C1}\u{3AD}\u{3C0}\u{3B5}\u{3B9} \u{3BD}\u{3B1} \u{3B5}\u{3AF}\u{3BD}\u{3B1}\u{3B9} ${e.maxValue} \u{3AE} \u{3C0}\u{3B1}\u{3BB}\u{3B1}\u{3B9}\u{3CC}\u{3C4}\u{3B5}\u{3C1}\u{3B7}.`,rangeReversed:`Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.`,rangeUnderflow:e=>`\u{397} \u{3C4}\u{3B9}\u{3BC}\u{3AE} \u{3C0}\u{3C1}\u{3AD}\u{3C0}\u{3B5}\u{3B9} \u{3BD}\u{3B1} \u{3B5}\u{3AF}\u{3BD}\u{3B1}\u{3B9} ${e.minValue} \u{3AE} \u{3BC}\u{3B5}\u{3C4}\u{3B1}\u{3B3}\u{3B5}\u{3BD}\u{3AD}\u{3C3}\u{3C4}\u{3B5}\u{3C1}\u{3B7}.`,unavailableDate:`Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη.`};var rA={};rA={rangeUnderflow:e=>`Value must be ${e.minValue} or later.`,rangeOverflow:e=>`Value must be ${e.maxValue} or earlier.`,rangeReversed:`Start date must be before end date.`,unavailableDate:`Selected date unavailable.`};var iA={};iA={rangeOverflow:e=>`El valor debe ser ${e.maxValue} o anterior.`,rangeReversed:`La fecha de inicio debe ser anterior a la fecha de finalización.`,rangeUnderflow:e=>`El valor debe ser ${e.minValue} o posterior.`,unavailableDate:`Fecha seleccionada no disponible.`};var aA={};aA={rangeOverflow:e=>`V\xe4\xe4rtus peab olema ${e.maxValue} v\xf5i varasem.`,rangeReversed:`Alguskuupäev peab olema enne lõppkuupäeva.`,rangeUnderflow:e=>`V\xe4\xe4rtus peab olema ${e.minValue} v\xf5i hilisem.`,unavailableDate:`Valitud kuupäev pole saadaval.`};var oA={};oA={rangeOverflow:e=>`Arvon on oltava ${e.maxValue} tai sit\xe4 aikaisempi.`,rangeReversed:`Aloituspäivän on oltava ennen lopetuspäivää.`,rangeUnderflow:e=>`Arvon on oltava ${e.minValue} tai sit\xe4 my\xf6h\xe4isempi.`,unavailableDate:`Valittu päivämäärä ei ole käytettävissä.`};var sA={};sA={rangeOverflow:e=>`La valeur doit \xeatre ${e.maxValue} ou ant\xe9rieure.`,rangeReversed:`La date de début doit être antérieure à la date de fin.`,rangeUnderflow:e=>`La valeur doit \xeatre ${e.minValue} ou ult\xe9rieure.`,unavailableDate:`La date sélectionnée n’est pas disponible.`};var cA={};cA={rangeOverflow:e=>`\u{5D4}\u{5E2}\u{5E8}\u{5DA} \u{5D7}\u{5D9}\u{5D9}\u{5D1} \u{5DC}\u{5D4}\u{5D9}\u{5D5}\u{5EA} ${e.maxValue} \u{5D0}\u{5D5} \u{5DE}\u{5D5}\u{5E7}\u{5D3}\u{5DD} \u{5D9}\u{5D5}\u{5EA}\u{5E8}.`,rangeReversed:`תאריך ההתחלה חייב להיות לפני תאריך הסיום.`,rangeUnderflow:e=>`\u{5D4}\u{5E2}\u{5E8}\u{5DA} \u{5D7}\u{5D9}\u{5D9}\u{5D1} \u{5DC}\u{5D4}\u{5D9}\u{5D5}\u{5EA} ${e.minValue} \u{5D0}\u{5D5} \u{5DE}\u{5D0}\u{5D5}\u{5D7}\u{5E8} \u{5D9}\u{5D5}\u{5EA}\u{5E8}.`,unavailableDate:`התאריך הנבחר אינו זמין.`};var lA={};lA={rangeOverflow:e=>`Vrijednost mora biti ${e.maxValue} ili ranije.`,rangeReversed:`Datum početka mora biti prije datuma završetka.`,rangeUnderflow:e=>`Vrijednost mora biti ${e.minValue} ili kasnije.`,unavailableDate:`Odabrani datum nije dostupan.`};var uA={};uA={rangeOverflow:e=>`Az \xe9rt\xe9knek ${e.maxValue} vagy kor\xe1bbinak kell lennie.`,rangeReversed:`A kezdő dátumnak a befejező dátumnál korábbinak kell lennie.`,rangeUnderflow:e=>`Az \xe9rt\xe9knek ${e.minValue} vagy k\xe9s\u{151}bbinek kell lennie.`,unavailableDate:`A kiválasztott dátum nem érhető el.`};var dA={};dA={rangeOverflow:e=>`Il valore deve essere ${e.maxValue} o precedente.`,rangeReversed:`La data di inizio deve essere antecedente alla data di fine.`,rangeUnderflow:e=>`Il valore deve essere ${e.minValue} o successivo.`,unavailableDate:`Data selezionata non disponibile.`};var fA={};fA={rangeOverflow:e=>`\u{5024}\u{306F} ${e.maxValue} \u{4EE5}\u{4E0B}\u{306B}\u{3059}\u{308B}\u{5FC5}\u{8981}\u{304C}\u{3042}\u{308A}\u{307E}\u{3059}\u{3002}`,rangeReversed:`開始日は終了日より前にする必要があります。`,rangeUnderflow:e=>`\u{5024}\u{306F} ${e.minValue} \u{4EE5}\u{4E0A}\u{306B}\u{3059}\u{308B}\u{5FC5}\u{8981}\u{304C}\u{3042}\u{308A}\u{307E}\u{3059}\u{3002}`,unavailableDate:`選択した日付は使用できません。`};var pA={};pA={rangeOverflow:e=>`\u{AC12}\u{C740} ${e.maxValue} \u{C774}\u{C804}\u{C774}\u{C5B4}\u{C57C} \u{D569}\u{B2C8}\u{B2E4}.`,rangeReversed:`시작일은 종료일 이전이어야 합니다.`,rangeUnderflow:e=>`\u{AC12}\u{C740} ${e.minValue} \u{C774}\u{D6C4}\u{C5EC}\u{C57C} \u{D569}\u{B2C8}\u{B2E4}.`,unavailableDate:`선택한 날짜를 사용할 수 없습니다.`};var mA={};mA={rangeOverflow:e=>`Reik\u{161}m\u{117} turi b\u{16B}ti ${e.maxValue} arba ankstesn\u{117}.`,rangeReversed:`Pradžios data turi būti ankstesnė nei pabaigos data.`,rangeUnderflow:e=>`Reik\u{161}m\u{117} turi b\u{16B}ti ${e.minValue} arba naujesn\u{117}.`,unavailableDate:`Pasirinkta data nepasiekiama.`};var hA={};hA={rangeOverflow:e=>`V\u{113}rt\u{12B}bai ir j\u{101}b\u{16B}t ${e.maxValue} vai agr\u{101}kai.`,rangeReversed:`Sākuma datumam ir jābūt pirms beigu datuma.`,rangeUnderflow:e=>`V\u{113}rt\u{12B}bai ir j\u{101}b\u{16B}t ${e.minValue} vai v\u{113}l\u{101}kai.`,unavailableDate:`Atlasītais datums nav pieejams.`};var gA={};gA={rangeOverflow:e=>`Verdien m\xe5 v\xe6re ${e.maxValue} eller tidligere.`,rangeReversed:`Startdatoen må være før sluttdatoen.`,rangeUnderflow:e=>`Verdien m\xe5 v\xe6re ${e.minValue} eller senere.`,unavailableDate:`Valgt dato utilgjengelig.`};var _A={};_A={rangeOverflow:e=>`Waarde moet ${e.maxValue} of eerder zijn.`,rangeReversed:`De startdatum moet voor de einddatum liggen.`,rangeUnderflow:e=>`Waarde moet ${e.minValue} of later zijn.`,unavailableDate:`Geselecteerde datum niet beschikbaar.`};var vA={};vA={rangeOverflow:e=>`Warto\u{15B}\u{107} musi mie\u{107} warto\u{15B}\u{107} ${e.maxValue} lub wcze\u{15B}niejsz\u{105}.`,rangeReversed:`Data rozpoczęcia musi być wcześniejsza niż data zakończenia.`,rangeUnderflow:e=>`Warto\u{15B}\u{107} musi mie\u{107} warto\u{15B}\u{107} ${e.minValue} lub p\xf3\u{17A}niejsz\u{105}.`,unavailableDate:`Wybrana data jest niedostępna.`};var yA={};yA={rangeOverflow:e=>`O valor deve ser ${e.maxValue} ou anterior.`,rangeReversed:`A data inicial deve ser anterior à data final.`,rangeUnderflow:e=>`O valor deve ser ${e.minValue} ou posterior.`,unavailableDate:`Data selecionada indisponível.`};var bA={};bA={rangeOverflow:e=>`O valor tem de ser ${e.maxValue} ou anterior.`,rangeReversed:`A data de início deve ser anterior à data de fim.`,rangeUnderflow:e=>`O valor tem de ser ${e.minValue} ou posterior.`,unavailableDate:`Data selecionada indisponível.`};var xA={};xA={rangeOverflow:e=>`Valoarea trebuie s\u{103} fie ${e.maxValue} sau anterioar\u{103}.`,rangeReversed:`Data de început trebuie să fie anterioară datei de sfârșit.`,rangeUnderflow:e=>`Valoarea trebuie s\u{103} fie ${e.minValue} sau ulterioar\u{103}.`,unavailableDate:`Data selectată nu este disponibilă.`};var SA={};SA={rangeOverflow:e=>`\u{417}\u{43D}\u{430}\u{447}\u{435}\u{43D}\u{438}\u{435} \u{434}\u{43E}\u{43B}\u{436}\u{43D}\u{43E} \u{431}\u{44B}\u{442}\u{44C} \u{43D}\u{435} \u{43F}\u{43E}\u{437}\u{436}\u{435} ${e.maxValue}.`,rangeReversed:`Дата начала должна предшествовать дате окончания.`,rangeUnderflow:e=>`\u{417}\u{43D}\u{430}\u{447}\u{435}\u{43D}\u{438}\u{435} \u{434}\u{43E}\u{43B}\u{436}\u{43D}\u{43E} \u{431}\u{44B}\u{442}\u{44C} \u{43D}\u{435} \u{440}\u{430}\u{43D}\u{44C}\u{448}\u{435} ${e.minValue}.`,unavailableDate:`Выбранная дата недоступна.`};var CA={};CA={rangeOverflow:e=>`Hodnota mus\xed by\u{165} ${e.maxValue} alebo skor\u{161}ia.`,rangeReversed:`Dátum začiatku musí byť skorší ako dátum konca.`,rangeUnderflow:e=>`Hodnota mus\xed by\u{165} ${e.minValue} alebo neskor\u{161}ia.`,unavailableDate:`Vybratý dátum je nedostupný.`};var wA={};wA={rangeOverflow:e=>`Vrednost mora biti ${e.maxValue} ali starej\u{161}a.`,rangeReversed:`Začetni datum mora biti pred končnim datumom.`,rangeUnderflow:e=>`Vrednost mora biti ${e.minValue} ali novej\u{161}a.`,unavailableDate:`Izbrani datum ni na voljo.`};var TA={};TA={rangeOverflow:e=>`Vrednost mora da bude ${e.maxValue} ili starija.`,rangeReversed:`Datum početka mora biti pre datuma završetka.`,rangeUnderflow:e=>`Vrednost mora da bude ${e.minValue} ili novija.`,unavailableDate:`Izabrani datum nije dostupan.`};var EA={};EA={rangeOverflow:e=>`V\xe4rdet m\xe5ste vara ${e.maxValue} eller tidigare.`,rangeReversed:`Startdatumet måste vara före slutdatumet.`,rangeUnderflow:e=>`V\xe4rdet m\xe5ste vara ${e.minValue} eller senare.`,unavailableDate:`Det valda datumet är inte tillgängligt.`};var DA={};DA={rangeOverflow:e=>`De\u{11F}er, ${e.maxValue} veya \xf6ncesi olmal\u{131}d\u{131}r.`,rangeReversed:`Başlangıç tarihi bitiş tarihinden önce olmalıdır.`,rangeUnderflow:e=>`De\u{11F}er, ${e.minValue} veya sonras\u{131} olmal\u{131}d\u{131}r.`,unavailableDate:`Seçilen tarih kullanılamıyor.`};var OA={};OA={rangeOverflow:e=>`\u{417}\u{43D}\u{430}\u{447}\u{435}\u{43D}\u{43D}\u{44F} \u{43C}\u{430}\u{454} \u{431}\u{443}\u{442}\u{438} \u{43D}\u{435} \u{43F}\u{456}\u{437}\u{43D}\u{456}\u{448}\u{435} ${e.maxValue}.`,rangeReversed:`Дата початку має передувати даті завершення.`,rangeUnderflow:e=>`\u{417}\u{43D}\u{430}\u{447}\u{435}\u{43D}\u{43D}\u{44F} \u{43C}\u{430}\u{454} \u{431}\u{443}\u{442}\u{438} \u{43D}\u{435} \u{440}\u{430}\u{43D}\u{456}\u{448}\u{435} ${e.minValue}.`,unavailableDate:`Вибрана дата недоступна.`};var kA={};kA={rangeOverflow:e=>`\u{503C}\u{5FC5}\u{987B}\u{662F} ${e.maxValue} \u{6216}\u{66F4}\u{65E9}\u{65E5}\u{671F}\u{3002}`,rangeReversed:`开始日期必须早于结束日期。`,rangeUnderflow:e=>`\u{503C}\u{5FC5}\u{987B}\u{662F} ${e.minValue} \u{6216}\u{66F4}\u{665A}\u{65E5}\u{671F}\u{3002}`,unavailableDate:`所选日期不可用。`};var AA={};AA={rangeOverflow:e=>`\u{503C}\u{5FC5}\u{9808}\u{662F} ${e.maxValue} \u{6216}\u{66F4}\u{65E9}\u{3002}`,rangeReversed:`開始日期必須在結束日期之前。`,rangeUnderflow:e=>`\u{503C}\u{5FC5}\u{9808}\u{662F} ${e.minValue} \u{6216}\u{66F4}\u{665A}\u{3002}`,unavailableDate:`所選日期無法使用。`};var jA={};jA={"ar-AE":Zk,"bg-BG":Qk,"cs-CZ":$k,"da-DK":eA,"de-DE":tA,"el-GR":nA,"en-US":rA,"es-ES":iA,"et-EE":aA,"fi-FI":oA,"fr-FR":sA,"he-IL":cA,"hr-HR":lA,"hu-HU":uA,"it-IT":dA,"ja-JP":fA,"ko-KR":pA,"lt-LT":mA,"lv-LV":hA,"nb-NO":gA,"nl-NL":_A,"pl-PL":vA,"pt-BR":yA,"pt-PT":bA,"ro-RO":xA,"ru-RU":SA,"sk-SK":CA,"sl-SI":wA,"sr-SP":TA,"sv-SE":EA,"tr-TR":DA,"uk-UA":OA,"zh-CN":kA,"zh-TW":AA};function MA(e){return e&&e.__esModule?e.default:e}var NA=new Bg(MA(jA));function PA(){let e=typeof navigator<`u`&&(navigator.language||navigator.userLanguage)||`en-US`;try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e=`en-US`}return e}function FA(e,t,n,r,i){let a=e!=null&&n!=null&&e.compare(n)>0,o=e!=null&&t!=null&&e.compare(t)<0,s=e!=null&&r?.(e)||!1,c=a||o||s,l=[];if(c){let e=PA(),r=new Kg(e,Bg.getGlobalDictionaryForPackage(`@react-stately/datepicker`)||NA),c=new UO(e,zA({},i)),u=c.resolvedOptions().timeZone;o&&t!=null&&l.push(r.format(`rangeUnderflow`,{minValue:c.format(t.toDate(u))})),a&&n!=null&&l.push(r.format(`rangeOverflow`,{maxValue:c.format(n.toDate(u))})),s&&l.push(r.format(`unavailableDate`))}return{isInvalid:c,validationErrors:l,validationDetails:{badInput:s,customError:!1,patternMismatch:!1,rangeOverflow:a,rangeUnderflow:o,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!c}}}function IA(e,t,n,r,i){let a=Nx(FA(e?.start??null,t,n,r,i),FA(e?.end??null,t,n,r,i));if(e?.end!=null&&e.start!=null&&e.end.compare(e.start)<0){let e=Bg.getGlobalDictionaryForPackage(`@react-stately/datepicker`)||NA;a=Nx(a,{isInvalid:!0,validationErrors:[e.getStringForLocale(`rangeReversed`,PA())],validationDetails:{...Sx,rangeUnderflow:!0,rangeOverflow:!0,valid:!1}})}return a}var LA={year:`numeric`,month:`numeric`,day:`numeric`,hour:`numeric`,minute:`2-digit`,second:`2-digit`},RA={year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`};function zA(e,t){e={...t.shouldForceLeadingZeros?RA:LA,...e};let n=t.granularity||`minute`,r=Object.keys(e),i=r.indexOf(t.maxGranularity??`year`);i<0&&(i=0);let a=r.indexOf(n);if(a<0&&(a=2),i>a)throw Error(`maxGranularity must be greater than granularity`);let o=r.slice(i,a+1).reduce((t,n)=>(t[n]=e[n],t),{});return t.hourCycle!=null&&(o.hour12=t.hourCycle===12),o.timeZone=t.timeZone||`UTC`,(n===`hour`||n===`minute`||n===`second`)&&t.timeZone&&!t.hideTimeZone&&(o.timeZoneName=`short`),t.showEra&&i===0&&(o.era=`short`),o}function BA(e){return e&&`hour`in e?e:new jD}function VA(e,t){if(e===null)return null;if(e)return UE(e,t)}function HA(e,t,n,r){if(e)return VA(e,n);let i=UE(cE(r??hE()).set({hour:0,minute:0,second:0,millisecond:0}),n);return t===`year`||t===`month`||t===`day`?BE(i):r?i:VE(i)}function UA(e,t){let n=e&&`timeZone`in e?e.timeZone:void 0,r=e&&`minute`in e?`minute`:`day`;if(e&&t&&!(t in e))throw Error(`Invalid granularity `+t+` for value `+e.toString());let[i,a]=(0,v.useState)([r,n]);e&&(i[0]!==r||i[1]!==n)&&a([r,n]),t||=e?r:i[0];let o=e?n:i[1];return[t,o]}var WA=new Bg({ach:{year:`mwaka`,month:`dwe`,day:`nino`},af:{year:`jjjj`,month:`mm`,day:`dd`},am:{year:`ዓዓዓዓ`,month:`ሚሜ`,day:`ቀቀ`},an:{year:`aaaa`,month:`mm`,day:`dd`},ar:{year:`سنة`,month:`شهر`,day:`يوم`},ast:{year:`aaaa`,month:`mm`,day:`dd`},az:{year:`iiii`,month:`aa`,day:`gg`},be:{year:`гггг`,month:`мм`,day:`дд`},bg:{year:`гггг`,month:`мм`,day:`дд`},bn:{year:`yyyy`,month:`মিমি`,day:`dd`},br:{year:`bbbb`,month:`mm`,day:`dd`},bs:{year:`gggg`,month:`mm`,day:`dd`},ca:{year:`aaaa`,month:`mm`,day:`dd`},cak:{year:`jjjj`,month:`ii`,day:`q'q'`},ckb:{year:`ساڵ`,month:`مانگ`,day:`ڕۆژ`},cs:{year:`rrrr`,month:`mm`,day:`dd`},cy:{year:`bbbb`,month:`mm`,day:`dd`},da:{year:`åååå`,month:`mm`,day:`dd`},de:{year:`jjjj`,month:`mm`,day:`tt`},dsb:{year:`llll`,month:`mm`,day:`źź`},el:{year:`εεεε`,month:`μμ`,day:`ηη`},en:{year:`yyyy`,month:`mm`,day:`dd`},eo:{year:`jjjj`,month:`mm`,day:`tt`},es:{year:`aaaa`,month:`mm`,day:`dd`},et:{year:`aaaa`,month:`kk`,day:`pp`},eu:{year:`uuuu`,month:`hh`,day:`ee`},fa:{year:`سال`,month:`ماه`,day:`روز`},ff:{year:`hhhh`,month:`ll`,day:`ññ`},fi:{year:`vvvv`,month:`kk`,day:`pp`},fr:{year:`aaaa`,month:`mm`,day:`jj`},fy:{year:`jjjj`,month:`mm`,day:`dd`},ga:{year:`bbbb`,month:`mm`,day:`ll`},gd:{year:`bbbb`,month:`mm`,day:`ll`},gl:{year:`aaaa`,month:`mm`,day:`dd`},he:{year:`שנה`,month:`חודש`,day:`יום`},hr:{year:`gggg`,month:`mm`,day:`dd`},hsb:{year:`llll`,month:`mm`,day:`dd`},hu:{year:`éééé`,month:`hh`,day:`nn`},ia:{year:`aaaa`,month:`mm`,day:`dd`},id:{year:`tttt`,month:`bb`,day:`hh`},is:{year:`áááá`,month:`mm`,day:`dd`},it:{year:`aaaa`,month:`mm`,day:`gg`},ja:{year:`年`,month:`月`,day:`日`},ka:{year:`წწწწ`,month:`თთ`,day:`რრ`},kk:{year:`жжжж`,month:`аа`,day:`кк`},kn:{year:`ವವವವ`,month:`ಮಿಮೀ`,day:`ದಿದಿ`},ko:{year:`연도`,month:`월`,day:`일`},lb:{year:`jjjj`,month:`mm`,day:`dd`},lo:{year:`ປປປປ`,month:`ດດ`,day:`ວວ`},lt:{year:`mmmm`,month:`mm`,day:`dd`},lv:{year:`gggg`,month:`mm`,day:`dd`},meh:{year:`aaaa`,month:`mm`,day:`dd`},ml:{year:`വർഷം`,month:`മാസം`,day:`തീയതി`},ms:{year:`tttt`,month:`mm`,day:`hh`},nb:{year:`åååå`,month:`mm`,day:`dd`},nl:{year:`jjjj`,month:`mm`,day:`dd`},nn:{year:`åååå`,month:`mm`,day:`dd`},no:{year:`åååå`,month:`mm`,day:`dd`},oc:{year:`aaaa`,month:`mm`,day:`jj`},pl:{year:`rrrr`,month:`mm`,day:`dd`},pt:{year:`aaaa`,month:`mm`,day:`dd`},rm:{year:`oooo`,month:`mm`,day:`dd`},ro:{year:`aaaa`,month:`ll`,day:`zz`},ru:{year:`гггг`,month:`мм`,day:`дд`},sc:{year:`aaaa`,month:`mm`,day:`dd`},scn:{year:`aaaa`,month:`mm`,day:`jj`},sk:{year:`rrrr`,month:`mm`,day:`dd`},sl:{year:`llll`,month:`mm`,day:`dd`},sr:{year:`гггг`,month:`мм`,day:`дд`},"sr-Latn":{year:`gggg`,month:`mm`,day:`dd`},sv:{year:`åååå`,month:`mm`,day:`dd`},szl:{year:`rrrr`,month:`mm`,day:`dd`},tg:{year:`сссс`,month:`мм`,day:`рр`},th:{year:`ปปปป`,month:`ดด`,day:`วว`},tr:{year:`yyyy`,month:`aa`,day:`gg`},uk:{year:`рррр`,month:`мм`,day:`дд`},"zh-CN":{year:`年`,month:`月`,day:`日`},"zh-TW":{year:`年`,month:`月`,day:`日`}},`en`);function GA(e,t,n){return e===`era`||e===`dayPeriod`?t:e===`year`||e===`month`||e===`day`?WA.getStringForLocale(e,n):`––`}var KA=class e{constructor(e,t,n){if(this.era=n?.era??null,this.calendar=e,this.year=n?.year??null,this.month=n?.month??null,this.day=n?.day??null,this.hour=n?.hour??null,this.hourCycle=t,this.dayPeriod=null,this.minute=n?.minute??null,this.second=n?.second??null,this.millisecond=n?.millisecond??null,this.offset=`offset`in(n??{})?n.offset:null,this.hour!=null){let[e,n]=JA(this.hour,t);this.dayPeriod=e,this.hour=n}}copy(){let t=new e(this.calendar,this.hourCycle);return t.era=this.era,t.year=this.year,t.month=this.month,t.day=this.day,t.hour=this.hour,t.dayPeriod=this.dayPeriod,t.minute=this.minute,t.second=this.second,t.millisecond=this.millisecond,t.offset=this.offset,t}isComplete(e){return e.every(e=>this[e]!=null)}validate(e,t){return t.every(t=>{if((t===`hour`||t===`dayPeriod`)&&`hour`in e){let[t,n]=JA(e.hour,this.hourCycle);return this.dayPeriod===t&&this.hour===n}return this[t]===e[t]})}isCleared(e){return e.every(e=>this[e]===null)}set(e,t,n){let r=this.copy();return r[e]=t,e===`hour`&&r.dayPeriod==null&&`hour`in n&&(r.dayPeriod=JA(n.hour,this.hourCycle)[0]),e===`year`&&r.era==null&&(r.era=n.era),e!==`second`&&e!==`literal`&&e!==`timeZoneName`&&(r.offset=null),r}clear(e){let t=this.copy();return t[e]=null,e===`year`&&(t.era=null),t.offset=null,t}cycle(e,t,n,r){let i=this.copy();if(i[e]==null&&e!==`dayPeriod`&&e!==`era`){if(e===`hour`&&`hour`in n){let[e,t]=JA(n.hour,this.hourCycle);i.dayPeriod=e,i.hour=t}else i[e]=n[e];return e===`year`&&i.era==null&&(i.era=n.era),i}switch(e){case`era`:{let e=this.calendar.getEras(),n=e.indexOf(i.era);n=qA(n,t,0,e.length-1),i.era=e[n];break}case`year`:{let r=new AD(this.calendar,this.era??n.era,this.year??n.year,this.month??1,this.day??1);r=r.cycle(e,t,{round:e===`year`}),i.era=r.era,i.year=r.year;break}case`month`:i.month=qA(i.month??1,t,1,this.calendar.getMaximumMonthsInYear());break;case`day`:i.day=qA(i.day??1,t,1,this.calendar.getMaximumDaysInMonth());break;case`hour`:{let e=r.some(e=>[`year`,`month`,`day`].includes(e));if(`timeZone`in n&&(!e||i.year!=null&&i.month!=null&&i.day!=null)){let e=this.toValue(n);e=e.cycle(`hour`,t,{hourCycle:this.hourCycle===`h12`?12:24,round:!1});let[r,a]=JA(e.hour,this.hourCycle);i.hour=a,i.dayPeriod=r,i.offset=e.offset}else{let e=i.hour??0,r=this.getSegmentLimits(`hour`);i.hour=qA(e,t,r.minValue,r.maxValue),i.dayPeriod==null&&`hour`in n&&(i.dayPeriod=JA(n.hour,this.hourCycle)[0])}break}case`dayPeriod`:i.dayPeriod=qA(i.dayPeriod??0,t,0,1);break;case`minute`:i.minute=qA(i.minute??0,t,0,59,!0);break;case`second`:i.second=qA(i.second??0,t,0,59,!0)}return i}toValue(e){if(`hour`in e){let t=this.hour;t==null?(this.hourCycle===`h12`||this.hourCycle===`h11`)&&(t=this.dayPeriod===1?12:0):t=YA(t,this.dayPeriod??0,this.hourCycle);let n=e.set({era:this.era??e.era,year:this.year??e.year,month:this.month??e.month,day:this.day??e.day,hour:t??e.hour,minute:this.minute??e.minute,second:this.second??e.second,millisecond:this.millisecond??e.millisecond});return`offset`in n&&this.offset!=null&&n.offset!==this.offset&&(n=n.add({milliseconds:n.offset-this.offset})),n}return e.set({era:this.era??e.era,year:this.year??e.year,month:this.month??e.month,day:this.day??e.day})}getSegmentLimits(e){switch(e){case`era`:{let e=this.calendar.getEras();return{value:this.era==null?e.length-1:e.indexOf(this.era),minValue:0,maxValue:e.length-1}}case`year`:return{value:this.year,minValue:1,maxValue:9999};case`month`:return{value:this.month,minValue:1,maxValue:this.calendar.getMaximumMonthsInYear()};case`day`:return{value:this.day,minValue:1,maxValue:this.calendar.getMaximumDaysInMonth()};case`dayPeriod`:return{value:this.dayPeriod,minValue:0,maxValue:1};case`hour`:{let e=0,t=23;return this.hourCycle===`h12`?(e=1,t=12):this.hourCycle===`h11`&&(e=0,t=11),{value:this.hour,minValue:e,maxValue:t}}case`minute`:return{value:this.minute,minValue:0,maxValue:59};case`second`:return{value:this.second,minValue:0,maxValue:59}}}};function qA(e,t,n,r,i=!1){if(i){e+=Math.sign(t),e0?Math.ceil(e/i)*i:Math.floor(e/i)*i,e>r&&(e=n)}else e+=t,er&&(e=n+(e-r-1));return e}function JA(e,t){let n=+(e>=12);switch(t){case`h11`:e>=12&&(e-=12);break;case`h12`:e===0?e=12:e>12&&(e-=12);break;case`h23`:n=null;break;case`h24`:e+=1,n=null}return[n,e]}function YA(e,t,n){switch(n){case`h11`:t===1&&(e+=12);break;case`h12`:e===12&&(e=0),t===1&&(e+=12);break;case`h24`:--e}return e}var XA={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},ZA={year:5,month:2,day:7,hour:2,minute:15,second:15},QA={dayperiod:`dayPeriod`,relatedYear:`year`,yearName:`literal`,unknown:`literal`};function $A(e){let{locale:t,createCalendar:n,hideTimeZone:r,isDisabled:i=!1,isReadOnly:a=!1,isRequired:o=!1,minValue:s,maxValue:c,isDateUnavailable:l}=e,u=e.value||e.defaultValue||e.placeholderValue||null,[d,f]=UA(u,e.granularity),p=f||`UTC`;if(u&&!(d in u))throw Error(`Invalid granularity `+d+` for value `+u.toString());let[m,h]=(0,v.useMemo)(()=>{let r=new UO(t,{dateStyle:`short`,timeStyle:`short`,hour12:e.hourCycle==null?void 0:e.hourCycle===12}).resolvedOptions();return[n(r.calendar),r.hourCycle]},[t,e.hourCycle,n]),[g,_]=fm(e.value,e.defaultValue??null,e.onChange),[y]=(0,v.useState)(g),b=(0,v.useMemo)(()=>VA(g,m)??null,[g,m]),[x,S]=(0,v.useState)(()=>new KA(m,h,b)),C=m.identifier===`gregory`&&x.era===`BC`,w=(0,v.useMemo)(()=>({granularity:d,maxGranularity:e.maxGranularity??`year`,timeZone:f,hideTimeZone:r,hourCycle:e.hourCycle,showEra:C,shouldForceLeadingZeros:e.shouldForceLeadingZeros}),[e.maxGranularity,d,e.hourCycle,e.shouldForceLeadingZeros,f,r,C]),T=(0,v.useMemo)(()=>zA({},w),[w]),E=(0,v.useMemo)(()=>new UO(t,T),[t,T]),D=(0,v.useMemo)(()=>E.resolvedOptions(),[E]),O=(0,v.useMemo)(()=>HA(e.placeholderValue,d,m,f),[e.placeholderValue,d,m,f]),k=(0,v.useMemo)(()=>{let t=h===`h11`||h===`h12`,n=[`era`,`year`,`month`,`day`,`hour`,...t?[`dayPeriod`]:[],`minute`,`second`],r=n.indexOf(e.maxGranularity||`era`),i=n.indexOf(d===`hour`&&t?`dayPeriod`:d);return n.slice(r,i+1)},[e.maxGranularity,d,h]),[A,j]=(0,v.useState)(b),[M,N]=(0,v.useState)(m),[P,F]=(0,v.useState)(h);(b!==A||h!==P||!iE(m,M))&&(x=new KA(m,h,b),j(b),N(m),F(h),S(x));let I=t=>{if(!(e.isDisabled||e.isReadOnly)){if(t==null||t instanceof KA&&t.isCleared(k))S(new KA(m,h,b)),_(null);else if(!(t instanceof KA))t=UE(t,u?.calendar||new QT),S(new KA(m,h,b)),_(t);else{if(t.isComplete(k)){let e=t.toValue(b??O);if(t.validate(e,k)){let t=UE(e,u?.calendar||new QT);if(!g||t.compare(g)!==0){S(new KA(m,h,b)),_(t);return}}}S(t)}}},L=(0,v.useMemo)(()=>x.toValue(b??O).toDate(p),[x,p,b,O]),R=(0,v.useMemo)(()=>ej(L,x,E,D,m,t,d),[L,E,D,x,m,t,d]),ee=(e,t)=>{I(x.cycle(e,t,O,k))},te=(0,v.useMemo)(()=>FA(g,s,c,l,w),[g,s,c,l,w]),ne=Dx({...e,value:g,builtinValidation:te}),re=ne.displayValidation.isInvalid,z=e.validationState||(re?`invalid`:null);return{...ne,value:b,defaultValue:e.defaultValue??y,dateValue:L,calendar:m,setValue:I,segments:R,dateFormatter:E,validationState:z,isInvalid:re,granularity:d,maxGranularity:e.maxGranularity??`year`,isDisabled:i,isReadOnly:a,isRequired:o,increment(e){ee(e,1)},decrement(e){ee(e,-1)},incrementPage(e){ee(e,ZA[e]||1)},decrementPage(e){ee(e,-(ZA[e]||1))},incrementToMax(e){let t=e===`hour`&&h===`h12`?11:x.getSegmentLimits(e).maxValue;I(x.set(e,t,O))},decrementToMin(e){let t=e===`hour`&&h===`h12`?12:x.getSegmentLimits(e).minValue;I(x.set(e,t,O))},setSegment(e,t){I(x.set(e,t,O))},confirmPlaceholder(){if(!(e.isDisabled||e.isReadOnly)&&x.isComplete(k)){let e=UE(x.toValue(b??O),u?.calendar||new QT);(!g||e.compare(g)!==0)&&_(e),S(new KA(m,h,b))}},clearSegment(e){let t=x;e!==`timeZoneName`&&e!==`literal`&&(t=x.clear(e)),I(t)},formatValue(e){if(!b)return``;let n=zA(e,w);return new UO(t,n).format(L)},getDateFormatter(e,t){return new UO(e,zA({},{...w,...t}))}}}function ej(e,t,n,r,i,a,o){let s=[`hour`,`minute`,`second`],c=n.formatToParts(e),l=new mf(a,{useGrouping:!1}),u=new mf(a,{useGrouping:!1,minimumIntegerDigits:2});for(let e of c)if(e.type===`year`||e.type===`month`||e.type===`day`||e.type===`hour`){let n=t[e.type]??0;e.value=r[e.type]===`2-digit`?u.format(n):l.format(n)}let d=[];for(let e of c){let n=QA[e.type]||e.type,r=XA[n];n===`era`&&i.getEras().length===1&&(r=!1);let c=XA[n]&&t[e.type]==null,l=XA[n]?GA(n,e.value,a):null,u={type:n,text:c?l:e.value,...t.getSegmentLimits(n),isPlaceholder:c,placeholder:l,isEditable:r};n===`hour`?(d.push({type:`literal`,text:``,isPlaceholder:!1,placeholder:``,isEditable:!1}),d.push(u),n===o&&d.push({type:`literal`,text:``,isPlaceholder:!1,placeholder:``,isEditable:!1})):s.includes(n)&&n===o?(d.push(u),d.push({type:`literal`,text:``,isPlaceholder:!1,placeholder:``,isEditable:!1})):d.push(u)}return d}function tj(e){let{placeholderValue:t=new jD,minValue:n,maxValue:r,defaultValue:i,granularity:a,validate:o}=e,[s,c]=fm(e.value,i??null,e.onChange),l=s||t,u=l&&`day`in l?l:void 0,d=i&&`timeZone`in i?i.timeZone:void 0,f=(0,v.useMemo)(()=>{let e=l&&`timeZone`in l?l.timeZone:void 0;return(e||d)&&t?WE(nj(t),e||d):nj(t)},[t,l,d]),p=(0,v.useMemo)(()=>nj(n,u),[n,u]),m=(0,v.useMemo)(()=>nj(r,u),[r,u]),h=(0,v.useMemo)(()=>s&&`day`in s?HE(s):s,[s]),g=(0,v.useMemo)(()=>s==null?null:nj(s),[s]),_=(0,v.useMemo)(()=>i==null?null:nj(i),[i]),y=e=>{c(u||d?e:e&&HE(e))};return{...$A({...e,value:g,defaultValue:_,minValue:p,maxValue:m,onChange:y,granularity:a||`minute`,maxGranularity:`hour`,placeholderValue:f??void 0,createCalendar:()=>new QT,validate:(0,v.useCallback)(()=>o?.(s),[o,s])}),timeValue:h}}function nj(e,t=lE(hE())){return e?`day`in e?e:VE(t,e):null}var rj=(0,v.createContext)(null),ij=(0,v.createContext)(null),aj=(0,v.createContext)(null),oj=(0,v.createContext)(null),sj=(0,v.forwardRef)(function(e,t){[e,t]=Bd(e,t,rj);let{validationBehavior:n}=zd(Px)||{},r=e.validationBehavior??n??`native`,{locale:i}=lf(),a=$A({...e,locale:i,createCalendar:VO,validationBehavior:r}),o=(0,v.useRef)(null),[s,c]=Vd(!e[`aria-label`]&&!e[`aria-labelledby`]),l=(0,v.useRef)(null),{labelProps:u,fieldProps:d,inputProps:f,descriptionProps:p,errorMessageProps:m,...h}=Hk({...Hd(e),label:c,inputRef:l,validationBehavior:r},a,o),g=Ld({...Hd(e),values:{state:a,isInvalid:a.isInvalid,isDisabled:a.isDisabled,isReadOnly:a.isReadOnly,isRequired:e.isRequired||!1},defaultClassName:`react-aria-DateField`}),_=H(e,{global:!0});return delete _.id,v.createElement(Id,{values:[[aj,a],[yx,{...d,ref:o,isInvalid:a.isInvalid,isDisabled:a.isDisabled}],[iw,{...f,ref:l}],[Yd,{...u,ref:s,elementType:`span`}],[ey,{slots:{description:p,errorMessage:m}}],[xx,h]]},v.createElement(J.div,{..._,...g,ref:t,slot:e.slot||void 0,"data-invalid":a.isInvalid||void 0,"data-disabled":a.isDisabled||void 0,"data-readonly":a.isReadOnly||void 0,"data-required":e.isRequired||void 0}),v.createElement(ek,{autoComplete:e.autoComplete,name:e.name,isDisabled:e.isDisabled,state:a}))}),cj=(0,v.forwardRef)(function(e,t){[e,t]=Bd(e,t,ij);let{validationBehavior:n}=zd(Px)||{},r=e.validationBehavior??n??`native`,{locale:i}=lf(),a=tj({...e,locale:i,validationBehavior:r}),o=(0,v.useRef)(null),[s,c]=Vd(!e[`aria-label`]&&!e[`aria-labelledby`]),l=(0,v.useRef)(null),{labelProps:u,fieldProps:d,inputProps:f,descriptionProps:p,errorMessageProps:m,...h}=Uk({...Hd(e),label:c,inputRef:l,validationBehavior:r},a,o),g=Ld({...e,values:{state:a,isInvalid:a.isInvalid,isDisabled:a.isDisabled,isReadOnly:a.isReadOnly,isRequired:e.isRequired||!1},defaultClassName:`react-aria-TimeField`}),_=H(e,{global:!0});return delete _.id,v.createElement(Id,{values:[[oj,a],[yx,{...d,ref:o,isInvalid:a.isInvalid,isDisabled:a.isDisabled}],[iw,{...f,ref:l}],[Yd,{...u,ref:s,elementType:`span`}],[ey,{slots:{description:p,errorMessage:m}}],[xx,h]]},v.createElement(J.div,{..._,...g,ref:t,slot:e.slot||void 0,"data-invalid":a.isInvalid||void 0,"data-disabled":a.isDisabled||void 0,"data-readonly":a.isReadOnly||void 0,"data-required":e.isRequired||void 0}))}),lj=(0,v.forwardRef)(function(e,t){let n=(0,v.useContext)(aj),r=(0,v.useContext)(oj);return n||r?v.createElement(dj,{...e,ref:t}):v.createElement(uj,{...e,ref:t})}),uj=(0,v.forwardRef)((e,t)=>{let[n,r]=Bd({slot:e.slot},t,rj),{locale:i}=lf(),a=$A({...n,locale:i,createCalendar:VO}),o=(0,v.useRef)(null),{fieldProps:s,inputProps:c}=Hk({...n,inputRef:o},a,r);return v.createElement(Id,{values:[[aj,a],[iw,{...c,ref:o}],[yx,{...s,ref:r,isInvalid:a.isInvalid,isDisabled:a.isDisabled}]]},v.createElement(dj,e))}),dj=(0,v.forwardRef)((e,t)=>{let{className:n,children:r}=e,i=(0,v.useContext)(aj),a=(0,v.useContext)(oj),o=i??a;return v.createElement(v.Fragment,null,v.createElement(bx,{...e,ref:t,slot:e.slot||void 0,className:n??`react-aria-DateInput`,isReadOnly:o.isReadOnly,isInvalid:o.isInvalid,isDisabled:o.isDisabled},o.segments.map((e,t)=>(0,v.cloneElement)(r(e),{key:t}))),v.createElement(ow,{className:``}))}),fj=(0,v.forwardRef)(function({segment:e,...t},n){let r=(0,v.useContext)(aj),i=(0,v.useContext)(oj),a=r??i,o=Wo(n),{segmentProps:s}=Yk(e,a,o),{focusProps:c,isFocused:l,isFocusVisible:u}=em(),{hoverProps:d,isHovered:f}=om({...t,isDisabled:a.isDisabled||e.type===`literal`}),p=Ld({...t,values:{...e,isReadOnly:a.isReadOnly,isInvalid:a.isInvalid,isDisabled:a.isDisabled,isHovered:f,isFocused:l,isFocusVisible:u},defaultChildren:e.text,defaultClassName:`react-aria-DateSegment`});return v.createElement(J.span,{...V(H(t,{global:!0}),s,c,d),...p,style:s.style,ref:o,"data-placeholder":e.isPlaceholder||void 0,"data-invalid":a.isInvalid||void 0,"data-readonly":a.isReadOnly||void 0,"data-disabled":a.isDisabled||void 0,"data-type":e.type,"data-hovered":f||void 0,"data-focused":l||void 0,"data-focus-visible":u||void 0})}),pj=(0,v.createContext)({}),mj=({children:e,className:t,fullWidth:n,variant:r,...i})=>{let a=v.useMemo(()=>td({fullWidth:n,variant:r}),[n,r]);return(0,U.jsx)(pj,{value:{slots:a},children:(0,U.jsx)(bx,{className:Y(t,a?.base()),"data-slot":`date-input-group`,...i,children:t=>(0,U.jsx)(U.Fragment,{children:typeof e==`function`?e(t):e})})})},hj=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(pj);return(0,U.jsx)(W.div,{className:X(r?.prefix,t),"data-slot":`date-input-group-prefix`,...n,children:e})},gj=({className:e,...t})=>{let{slots:n}=(0,v.use)(pj);return(0,U.jsx)(lj,{className:Y(e,n?.input()),"data-slot":`date-input-group-input`,...t})},_j=({className:e,segment:t,...n})=>{let{slots:r}=(0,v.use)(pj);return(0,U.jsx)(fj,{className:X(r?.segment,e),"data-slot":`date-input-group-segment`,segment:t,...n})},vj=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(pj);return(0,U.jsx)(W.div,{className:X(r?.inputContainer,t),"data-slot":`date-input-group-input-container`,...n,children:e})},yj=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(pj);return(0,U.jsx)(W.div,{className:X(r?.suffix,t),"data-slot":`date-input-group-suffix`,...n,children:e})};function bj({children:e,className:t,fullWidth:n,...r}){let i=v.useMemo(()=>$u({fullWidth:n}),[n]);return(0,U.jsx)(sj,{"data-required":hm(r.isRequired),"data-slot":`date-field`,...r,className:Y(t,i),children:t=>(0,U.jsx)(U.Fragment,{children:typeof e==`function`?e(t):e})})}var xj=Object.assign(bj,{Root:bj,Group:mj,Input:gj,InputContainer:vj,Segment:_j,Prefix:hj,Suffix:yj}),Sj={};Sj={dateRange:e=>`${e.startDate} \u{625}\u{644}\u{649} ${e.endDate}`,dateSelected:e=>`${e.date} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,finishRangeSelectionPrompt:`انقر لإنهاء عملية تحديد نطاق التاريخ`,maximumDate:`آخر تاريخ متاح`,minimumDate:`أول تاريخ متاح`,next:`التالي`,previous:`السابق`,selectedDateDescription:e=>`\u{62A}\u{627}\u{631}\u{64A}\u{62E} \u{645}\u{62D}\u{62F}\u{62F}: ${e.date}`,selectedRangeDescription:e=>`\u{627}\u{644}\u{645}\u{62F}\u{649} \u{627}\u{644}\u{632}\u{645}\u{646}\u{64A} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}: ${e.dateRange}`,startRangeSelectionPrompt:`انقر لبدء عملية تحديد نطاق التاريخ`,todayDate:e=>`\u{627}\u{644}\u{64A}\u{648}\u{645}\u{60C} ${e.date}`,todayDateSelected:e=>`\u{627}\u{644}\u{64A}\u{648}\u{645}\u{60C} ${e.date} \u{645}\u{62D}\u{62F}\u{62F}`};var Cj={};Cj={dateRange:e=>`${e.startDate} \u{434}\u{43E} ${e.endDate}`,dateSelected:e=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{43E} \u{435} ${e.date}`,finishRangeSelectionPrompt:`Натиснете, за да довършите избора на времеви интервал`,maximumDate:`Последна налична дата`,minimumDate:`Първа налична дата`,next:`Напред`,previous:`Назад`,selectedDateDescription:e=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}: ${e.date}`,selectedRangeDescription:e=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D} \u{434}\u{438}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: ${e.dateRange}`,startRangeSelectionPrompt:`Натиснете, за да пристъпите към избора на времеви интервал`,todayDate:e=>`\u{414}\u{43D}\u{435}\u{441}, ${e.date}`,todayDateSelected:e=>`\u{414}\u{43D}\u{435}\u{441}, ${e.date} \u{441}\u{430} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438}`};var wj={};wj={dateRange:e=>`${e.startDate} a\u{17E} ${e.endDate}`,dateSelected:e=>`Vybr\xe1no ${e.date}`,finishRangeSelectionPrompt:`Kliknutím dokončíte výběr rozsahu dat`,maximumDate:`Poslední dostupné datum`,minimumDate:`První dostupné datum`,next:`Další`,previous:`Předchozí`,selectedDateDescription:e=>`Vybran\xe9 datum: ${e.date}`,selectedRangeDescription:e=>`Vybran\xe9 obdob\xed: ${e.dateRange}`,startRangeSelectionPrompt:`Kliknutím zahájíte výběr rozsahu dat`,todayDate:e=>`Dnes, ${e.date}`,todayDateSelected:e=>`Dnes, vybr\xe1no ${e.date}`};var Tj={};Tj={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:`Klik for at fuldføre valg af datoområde`,maximumDate:`Sidste ledige dato`,minimumDate:`Første ledige dato`,next:`Næste`,previous:`Forrige`,selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.dateRange}`,startRangeSelectionPrompt:`Klik for at starte valg af datoområde`,todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var Ej={};Ej={dateRange:e=>`${e.startDate} bis ${e.endDate}`,dateSelected:e=>`${e.date} ausgew\xe4hlt`,finishRangeSelectionPrompt:`Klicken, um die Auswahl des Datumsbereichs zu beenden`,maximumDate:`Letztes verfügbares Datum`,minimumDate:`Erstes verfügbares Datum`,next:`Weiter`,previous:`Zurück`,selectedDateDescription:e=>`Ausgew\xe4hltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgew\xe4hlter Bereich: ${e.dateRange}`,startRangeSelectionPrompt:`Klicken, um die Auswahl des Datumsbereichs zu beginnen`,todayDate:e=>`Heute, ${e.date}`,todayDateSelected:e=>`Heute, ${e.date} ausgew\xe4hlt`};var Dj={};Dj={dateRange:e=>`${e.startDate} \u{3AD}\u{3C9}\u{3C2} ${e.endDate}`,dateSelected:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} ${e.date}`,finishRangeSelectionPrompt:`Κάντε κλικ για να ολοκληρώσετε την επιλογή εύρους ημερομηνιών`,maximumDate:`Τελευταία διαθέσιμη ημερομηνία`,minimumDate:`Πρώτη διαθέσιμη ημερομηνία`,next:`Επόμενο`,previous:`Προηγούμενο`,selectedDateDescription:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B7} \u{3B7}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B1}: ${e.date}`,selectedRangeDescription:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3BF} \u{3B5}\u{3CD}\u{3C1}\u{3BF}\u{3C2}: ${e.dateRange}`,startRangeSelectionPrompt:`Κάντε κλικ για να ξεκινήσετε την επιλογή εύρους ημερομηνιών`,todayDate:e=>`\u{3A3}\u{3AE}\u{3BC}\u{3B5}\u{3C1}\u{3B1}, ${e.date}`,todayDateSelected:e=>`\u{3A3}\u{3AE}\u{3BC}\u{3B5}\u{3C1}\u{3B1}, \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3C4}\u{3B7}\u{3BA}\u{3B5} ${e.date}`};var Oj={};Oj={previous:`Previous`,next:`Next`,selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.dateRange}`,todayDate:e=>`Today, ${e.date}`,todayDateSelected:e=>`Today, ${e.date} selected`,dateSelected:e=>`${e.date} selected`,startRangeSelectionPrompt:`Click to start selecting date range`,finishRangeSelectionPrompt:`Click to finish selecting date range`,minimumDate:`First available date`,maximumDate:`Last available date`,dateRange:e=>`${e.startDate} to ${e.endDate}`};var kj={};kj={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} seleccionado`,finishRangeSelectionPrompt:`Haga clic para terminar de seleccionar rango de fechas`,maximumDate:`Última fecha disponible`,minimumDate:`Primera fecha disponible`,next:`Siguiente`,previous:`Anterior`,selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo seleccionado: ${e.dateRange}`,startRangeSelectionPrompt:`Haga clic para comenzar a seleccionar un rango de fechas`,todayDate:e=>`Hoy, ${e.date}`,todayDateSelected:e=>`Hoy, ${e.date} seleccionado`};var Aj={};Aj={dateRange:e=>`${e.startDate} kuni ${e.endDate}`,dateSelected:e=>`${e.date} valitud`,finishRangeSelectionPrompt:`Klõpsake kuupäevavahemiku valimise lõpetamiseks`,maximumDate:`Viimane saadaolev kuupäev`,minimumDate:`Esimene saadaolev kuupäev`,next:`Järgmine`,previous:`Eelmine`,selectedDateDescription:e=>`Valitud kuup\xe4ev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.dateRange}`,startRangeSelectionPrompt:`Klõpsake kuupäevavahemiku valimiseks`,todayDate:e=>`T\xe4na, ${e.date}`,todayDateSelected:e=>`T\xe4na, ${e.date} valitud`};var jj={};jj={dateRange:e=>`${e.startDate} \u{2013} ${e.endDate}`,dateSelected:e=>`${e.date} valittu`,finishRangeSelectionPrompt:`Lopeta päivämääräalueen valinta napsauttamalla tätä.`,maximumDate:`Viimeinen varattavissa oleva päivämäärä`,minimumDate:`Ensimmäinen varattavissa oleva päivämäärä`,next:`Seuraava`,previous:`Edellinen`,selectedDateDescription:e=>`Valittu p\xe4iv\xe4m\xe4\xe4r\xe4: ${e.date}`,selectedRangeDescription:e=>`Valittu aikav\xe4li: ${e.dateRange}`,startRangeSelectionPrompt:`Aloita päivämääräalueen valinta napsauttamalla tätä.`,todayDate:e=>`T\xe4n\xe4\xe4n, ${e.date}`,todayDateSelected:e=>`T\xe4n\xe4\xe4n, ${e.date} valittu`};var Mj={};Mj={dateRange:e=>`${e.startDate} \xe0 ${e.endDate}`,dateSelected:e=>`${e.date} s\xe9lectionn\xe9`,finishRangeSelectionPrompt:`Cliquer pour finir de sélectionner la plage de dates`,maximumDate:`Dernière date disponible`,minimumDate:`Première date disponible`,next:`Suivant`,previous:`Précédent`,selectedDateDescription:e=>`Date s\xe9lectionn\xe9e\xa0: ${e.date}`,selectedRangeDescription:e=>`Plage s\xe9lectionn\xe9e\xa0: ${e.dateRange}`,startRangeSelectionPrompt:`Cliquer pour commencer à sélectionner la plage de dates`,todayDate:e=>`Aujourd'hui, ${e.date}`,todayDateSelected:e=>`Aujourd\u{2019}hui, ${e.date} s\xe9lectionn\xe9`};var Nj={};Nj={dateRange:e=>`${e.startDate} \u{5E2}\u{5D3} ${e.endDate}`,dateSelected:e=>`${e.date} \u{5E0}\u{5D1}\u{5D7}\u{5E8}`,finishRangeSelectionPrompt:`חץ כדי לסיים את בחירת טווח התאריכים`,maximumDate:`תאריך פנוי אחרון`,minimumDate:`תאריך פנוי ראשון`,next:`הבא`,previous:`הקודם`,selectedDateDescription:e=>`\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DA} \u{5E0}\u{5D1}\u{5D7}\u{5E8}: ${e.date}`,selectedRangeDescription:e=>`\u{5D8}\u{5D5}\u{5D5}\u{5D7} \u{5E0}\u{5D1}\u{5D7}\u{5E8}: ${e.dateRange}`,startRangeSelectionPrompt:`לחץ כדי להתחיל בבחירת טווח התאריכים`,todayDate:e=>`\u{5D4}\u{5D9}\u{5D5}\u{5DD}, ${e.date}`,todayDateSelected:e=>`\u{5D4}\u{5D9}\u{5D5}\u{5DD}, ${e.date} \u{5E0}\u{5D1}\u{5D7}\u{5E8}`};var Pj={};Pj={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} odabran`,finishRangeSelectionPrompt:`Kliknite da dovršite raspon odabranih datuma`,maximumDate:`Posljednji raspoloživi datum`,minimumDate:`Prvi raspoloživi datum`,next:`Sljedeći`,previous:`Prethodni`,selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.dateRange}`,startRangeSelectionPrompt:`Kliknite da započnete raspon odabranih datuma`,todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, odabran ${e.date}`};var Fj={};Fj={dateRange:e=>`${e.startDate}\u{2013}${e.endDate}`,dateSelected:e=>`${e.date} kiv\xe1lasztva`,finishRangeSelectionPrompt:`Kattintson a dátumtartomány kijelölésének befejezéséhez`,maximumDate:`Utolsó elérhető dátum`,minimumDate:`Az első elérhető dátum`,next:`Következő`,previous:`Előző`,selectedDateDescription:e=>`Kijel\xf6lt d\xe1tum: ${e.date}`,selectedRangeDescription:e=>`Kijel\xf6lt tartom\xe1ny: ${e.dateRange}`,startRangeSelectionPrompt:`Kattintson a dátumtartomány kijelölésének indításához`,todayDate:e=>`Ma, ${e.date}`,todayDateSelected:e=>`Ma, ${e.date} kijel\xf6lve`};var Ij={};Ij={dateRange:e=>`Da ${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selezionata`,finishRangeSelectionPrompt:`Fai clic per completare la selezione dell’intervallo di date`,maximumDate:`Ultima data disponibile`,minimumDate:`Prima data disponibile`,next:`Successivo`,previous:`Precedente`,selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: ${e.dateRange}`,startRangeSelectionPrompt:`Fai clic per selezionare l’intervallo di date`,todayDate:e=>`Oggi, ${e.date}`,todayDateSelected:e=>`Oggi, ${e.date} selezionata`};var Lj={};Lj={dateRange:e=>`${e.startDate} \u{304B}\u{3089} ${e.endDate}`,dateSelected:e=>`${e.date} \u{3092}\u{9078}\u{629E}`,finishRangeSelectionPrompt:`クリックして日付範囲の選択を終了`,maximumDate:`最終利用可能日`,minimumDate:`最初の利用可能日`,next:`次へ`,previous:`前へ`,selectedDateDescription:e=>`\u{9078}\u{629E}\u{3057}\u{305F}\u{65E5}\u{4ED8} : ${e.date}`,selectedRangeDescription:e=>`\u{9078}\u{629E}\u{7BC4}\u{56F2} : ${e.dateRange}`,startRangeSelectionPrompt:`クリックして日付範囲の選択を開始`,todayDate:e=>`\u{672C}\u{65E5}\u{3001}${e.date}`,todayDateSelected:e=>`\u{672C}\u{65E5}\u{3001}${e.date} \u{3092}\u{9078}\u{629E}`};var Rj={};Rj={dateRange:e=>`${e.startDate} ~ ${e.endDate}`,dateSelected:e=>`${e.date} \u{C120}\u{D0DD}\u{B428}`,finishRangeSelectionPrompt:`날짜 범위 선택을 완료하려면 클릭하십시오.`,maximumDate:`마지막으로 사용 가능한 일자`,minimumDate:`처음으로 사용 가능한 일자`,next:`다음`,previous:`이전`,selectedDateDescription:e=>`\u{C120}\u{D0DD} \u{C77C}\u{C790}: ${e.date}`,selectedRangeDescription:e=>`\u{C120}\u{D0DD} \u{BC94}\u{C704}: ${e.dateRange}`,startRangeSelectionPrompt:`날짜 범위 선택을 시작하려면 클릭하십시오.`,todayDate:e=>`\u{C624}\u{B298}, ${e.date}`,todayDateSelected:e=>`\u{C624}\u{B298}, ${e.date} \u{C120}\u{D0DD}\u{B428}`};var zj={};zj={dateRange:e=>`Nuo ${e.startDate} iki ${e.endDate}`,dateSelected:e=>`Pasirinkta ${e.date}`,finishRangeSelectionPrompt:`Spustelėkite, kad baigtumėte pasirinkti datų intervalą`,maximumDate:`Paskutinė galima data`,minimumDate:`Pirmoji galima data`,next:`Paskesnis`,previous:`Ankstesnis`,selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: ${e.dateRange}`,startRangeSelectionPrompt:`Spustelėkite, kad pradėtumėte pasirinkti datų intervalą`,todayDate:e=>`\u{160}iandien, ${e.date}`,todayDateSelected:e=>`\u{160}iandien, pasirinkta ${e.date}`};var Bj={};Bj={dateRange:e=>`No ${e.startDate} l\u{12B}dz ${e.endDate}`,dateSelected:e=>`Atlas\u{12B}ts: ${e.date}`,finishRangeSelectionPrompt:`Noklikšķiniet, lai pabeigtu datumu diapazona atlasi`,maximumDate:`Pēdējais pieejamais datums`,minimumDate:`Pirmais pieejamais datums`,next:`Tālāk`,previous:`Atpakaļ`,selectedDateDescription:e=>`Atlas\u{12B}tais datums: ${e.date}`,selectedRangeDescription:e=>`Atlas\u{12B}tais diapazons: ${e.dateRange}`,startRangeSelectionPrompt:`Noklikšķiniet, lai sāktu datumu diapazona atlasi`,todayDate:e=>`\u{160}odien, ${e.date}`,todayDateSelected:e=>`Atlas\u{12B}ta \u{161}odiena, ${e.date}`};var Vj={};Vj={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:`Klikk for å fullføre valg av datoområde`,maximumDate:`Siste tilgjengelige dato`,minimumDate:`Første tilgjengelige dato`,next:`Neste`,previous:`Forrige`,selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt omr\xe5de: ${e.dateRange}`,startRangeSelectionPrompt:`Klikk for å starte valg av datoområde`,todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var Hj={};Hj={dateRange:e=>`${e.startDate} tot ${e.endDate}`,dateSelected:e=>`${e.date} geselecteerd`,finishRangeSelectionPrompt:`Klik om de selectie van het datumbereik te voltooien`,maximumDate:`Laatste beschikbare datum`,minimumDate:`Eerste beschikbare datum`,next:`Volgende`,previous:`Vorige`,selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.dateRange}`,startRangeSelectionPrompt:`Klik om het datumbereik te selecteren`,todayDate:e=>`Vandaag, ${e.date}`,todayDateSelected:e=>`Vandaag, ${e.date} geselecteerd`};var Uj={};Uj={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`Wybrano ${e.date}`,finishRangeSelectionPrompt:`Kliknij, aby zakończyć wybór zakresu dat`,maximumDate:`Ostatnia dostępna data`,minimumDate:`Pierwsza dostępna data`,next:`Dalej`,previous:`Wstecz`,selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.dateRange}`,startRangeSelectionPrompt:`Kliknij, aby rozpocząć wybór zakresu dat`,todayDate:e=>`Dzisiaj, ${e.date}`,todayDateSelected:e=>`Dzisiaj wybrano ${e.date}`};var Wj={};Wj={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:`Clique para concluir a seleção do intervalo de datas`,maximumDate:`Última data disponível`,minimumDate:`Primeira data disponível`,next:`Próximo`,previous:`Anterior`,selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:`Clique para iniciar a seleção do intervalo de datas`,todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var Gj={};Gj={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:`Clique para terminar de selecionar o intervalo de datas`,maximumDate:`Última data disponível`,minimumDate:`Primeira data disponível`,next:`Próximo`,previous:`Anterior`,selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:`Clique para começar a selecionar o intervalo de datas`,todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var Kj={};Kj={dateRange:e=>`De la ${e.startDate} p\xe2n\u{103} la ${e.endDate}`,dateSelected:e=>`${e.date} selectat\u{103}`,finishRangeSelectionPrompt:`Apăsaţi pentru a finaliza selecţia razei pentru dată`,maximumDate:`Ultima dată disponibilă`,minimumDate:`Prima dată disponibilă`,next:`Următorul`,previous:`Înainte`,selectedDateDescription:e=>`Dat\u{103} selectat\u{103}: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: ${e.dateRange}`,startRangeSelectionPrompt:`Apăsaţi pentru a începe selecţia razei pentru dată`,todayDate:e=>`Ast\u{103}zi, ${e.date}`,todayDateSelected:e=>`Azi, ${e.date} selectat\u{103}`};var qj={};qj={dateRange:e=>`\u{421} ${e.startDate} \u{43F}\u{43E} ${e.endDate}`,dateSelected:e=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E} ${e.date}`,finishRangeSelectionPrompt:`Щелкните, чтобы завершить выбор диапазона дат`,maximumDate:`Последняя доступная дата`,minimumDate:`Первая доступная дата`,next:`Далее`,previous:`Назад`,selectedDateDescription:e=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{430}\u{44F} \u{434}\u{430}\u{442}\u{430}: ${e.date}`,selectedRangeDescription:e=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{44B}\u{439} \u{434}\u{438}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: ${e.dateRange}`,startRangeSelectionPrompt:`Щелкните, чтобы начать выбор диапазона дат`,todayDate:e=>`\u{421}\u{435}\u{433}\u{43E}\u{434}\u{43D}\u{44F}, ${e.date}`,todayDateSelected:e=>`\u{421}\u{435}\u{433}\u{43E}\u{434}\u{43D}\u{44F}, \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E} ${e.date}`};var Jj={};Jj={dateRange:e=>`Od ${e.startDate} do ${e.endDate}`,dateSelected:e=>`Vybrat\xfd d\xe1tum ${e.date}`,finishRangeSelectionPrompt:`Kliknutím dokončíte výber rozsahu dátumov`,maximumDate:`Posledný dostupný dátum`,minimumDate:`Prvý dostupný dátum`,next:`Nasledujúce`,previous:`Predchádzajúce`,selectedDateDescription:e=>`Vybrat\xfd d\xe1tum: ${e.date}`,selectedRangeDescription:e=>`Vybrat\xfd rozsah: ${e.dateRange}`,startRangeSelectionPrompt:`Kliknutím spustíte výber rozsahu dátumov`,todayDate:e=>`Dnes ${e.date}`,todayDateSelected:e=>`Vybrat\xfd dne\u{161}n\xfd d\xe1tum ${e.date}`};var Yj={};Yj={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izbrano`,finishRangeSelectionPrompt:`Kliknite za dokončanje izbire datumskega obsega`,maximumDate:`Zadnji razpoložljivi datum`,minimumDate:`Prvi razpoložljivi datum`,next:`Naprej`,previous:`Nazaj`,selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano obmo\u{10D}je: ${e.dateRange}`,startRangeSelectionPrompt:`Kliknite za začetek izbire datumskega obsega`,todayDate:e=>`Danes, ${e.date}`,todayDateSelected:e=>`Danes, ${e.date} izbrano`};var Xj={};Xj={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izabran`,finishRangeSelectionPrompt:`Kliknite da dovršite opseg izabranih datuma`,maximumDate:`Zadnji raspoloživi datum`,minimumDate:`Prvi raspoloživi datum`,next:`Sledeći`,previous:`Prethodni`,selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani period: ${e.dateRange}`,startRangeSelectionPrompt:`Kliknite da započnete opseg izabranih datuma`,todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, izabran ${e.date}`};var Zj={};Zj={dateRange:e=>`${e.startDate} till ${e.endDate}`,dateSelected:e=>`${e.date} har valts`,finishRangeSelectionPrompt:`Klicka för att avsluta val av datumintervall`,maximumDate:`Sista tillgängliga datum`,minimumDate:`Första tillgängliga datum`,next:`Nästa`,previous:`Föregående`,selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.dateRange}`,startRangeSelectionPrompt:`Klicka för att välja datumintervall`,todayDate:e=>`Idag, ${e.date}`,todayDateSelected:e=>`Idag, ${e.date} har valts`};var Qj={};Qj={dateRange:e=>`${e.startDate} - ${e.endDate}`,dateSelected:e=>`${e.date} se\xe7ildi`,finishRangeSelectionPrompt:`Tarih aralığı seçimini tamamlamak için tıklayın`,maximumDate:`Son müsait tarih`,minimumDate:`İlk müsait tarih`,next:`Sonraki`,previous:`Önceki`,selectedDateDescription:e=>`Se\xe7ilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Se\xe7ilen Aral\u{131}k: ${e.dateRange}`,startRangeSelectionPrompt:`Tarih aralığı seçimini başlatmak için tıklayın`,todayDate:e=>`Bug\xfcn, ${e.date}`,todayDateSelected:e=>`Bug\xfcn, ${e.date} se\xe7ildi`};var $j={};$j={dateRange:e=>`${e.startDate} \u{2014} ${e.endDate}`,dateSelected:e=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E} ${e.date}`,finishRangeSelectionPrompt:`Натисніть, щоб завершити вибір діапазону дат`,maximumDate:`Остання доступна дата`,minimumDate:`Перша доступна дата`,next:`Наступний`,previous:`Попередній`,selectedDateDescription:e=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}: ${e.date}`,selectedRangeDescription:e=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{439} \u{434}\u{456}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: ${e.dateRange}`,startRangeSelectionPrompt:`Натисніть, щоб почати вибір діапазону дат`,todayDate:e=>`\u{421}\u{44C}\u{43E}\u{433}\u{43E}\u{434}\u{43D}\u{456}, ${e.date}`,todayDateSelected:e=>`\u{421}\u{44C}\u{43E}\u{433}\u{43E}\u{434}\u{43D}\u{456}, \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E} ${e.date}`};var eM={};eM={dateRange:e=>`${e.startDate} \u{81F3} ${e.endDate}`,dateSelected:e=>`\u{5DF2}\u{9009}\u{62E9} ${e.date}`,finishRangeSelectionPrompt:`单击以完成选择日期范围`,maximumDate:`最后一个可用日期`,minimumDate:`第一个可用日期`,next:`下一页`,previous:`上一页`,selectedDateDescription:e=>`\u{9009}\u{5B9A}\u{7684}\u{65E5}\u{671F}\u{FF1A}${e.date}`,selectedRangeDescription:e=>`\u{9009}\u{5B9A}\u{7684}\u{8303}\u{56F4}\u{FF1A}${e.dateRange}`,startRangeSelectionPrompt:`单击以开始选择日期范围`,todayDate:e=>`\u{4ECA}\u{5929}\u{FF0C}\u{5373} ${e.date}`,todayDateSelected:e=>`\u{5DF2}\u{9009}\u{62E9}\u{4ECA}\u{5929}\u{FF0C}\u{5373} ${e.date}`};var tM={};tM={dateRange:e=>`${e.startDate} \u{81F3} ${e.endDate}`,dateSelected:e=>`\u{5DF2}\u{9078}\u{53D6} ${e.date}`,finishRangeSelectionPrompt:`按一下以完成選取日期範圍`,maximumDate:`最後一個可用日期`,minimumDate:`第一個可用日期`,next:`下一頁`,previous:`上一頁`,selectedDateDescription:e=>`\u{9078}\u{5B9A}\u{7684}\u{65E5}\u{671F}\u{FF1A}${e.date}`,selectedRangeDescription:e=>`\u{9078}\u{5B9A}\u{7684}\u{7BC4}\u{570D}\u{FF1A}${e.dateRange}`,startRangeSelectionPrompt:`按一下以開始選取日期範圍`,todayDate:e=>`\u{4ECA}\u{5929}\u{FF0C}${e.date}`,todayDateSelected:e=>`\u{5DF2}\u{9078}\u{53D6}\u{4ECA}\u{5929}\u{FF0C}${e.date}`};var nM={};nM={"ar-AE":Sj,"bg-BG":Cj,"cs-CZ":wj,"da-DK":Tj,"de-DE":Ej,"el-GR":Dj,"en-US":Oj,"es-ES":kj,"et-EE":Aj,"fi-FI":jj,"fr-FR":Mj,"he-IL":Nj,"hr-HR":Pj,"hu-HU":Fj,"it-IT":Ij,"ja-JP":Lj,"ko-KR":Rj,"lt-LT":zj,"lv-LV":Bj,"nb-NO":Vj,"nl-NL":Hj,"pl-PL":Uj,"pt-BR":Wj,"pt-PT":Gj,"ro-RO":Kj,"ru-RU":qj,"sk-SK":Jj,"sl-SI":Yj,"sr-SP":Xj,"sv-SE":Zj,"tr-TR":Qj,"uk-UA":$j,"zh-CN":eM,"zh-TW":tM};function rM(e){return e&&e.__esModule?e.default:e}var iM=new WeakMap;function aM(e){return e?.calendar.identifier===`gregory`&&e.era===`BC`?`short`:void 0}function oM(e){let t=Xg(rM(nM),`@react-aria/calendar`),n,r;`highlightedRange`in e?{start:n,end:r}=e.highlightedRange||{}:(n=Array.isArray(e.value)?e.value[0]:e.value??void 0,r=Array.isArray(e.value)?e.value.at(-1):e.value??void 0);let i=Wk({weekday:`long`,month:`long`,year:`numeric`,day:`numeric`,era:aM(n)||aM(r),timeZone:e.timeZone}),{locale:a}=lf(),o=(0,v.useMemo)(()=>new Intl.ListFormat(a),[a]),s=`anchorDate`in e?e.anchorDate:null;return(0,v.useMemo)(()=>{if(!s&&n&&r){if(eE(n,r)){let r=i.format(n.toDate(e.timeZone));return t.format(`selectedDateDescription`,{date:r})}if(`highlightedRange`in e){let a=cM(i,t,n,r,e.timeZone);return t.format(`selectedRangeDescription`,{dateRange:a})}if(Array.isArray(e.value)){let n=e.value.map(t=>i.format(t.toDate(e.timeZone))),r=o.format(n);return t.format(`selectedDateDescription`,{date:r})}}return``},[n,r,s,e,t,i,o])}function sM(e,t,n,r){let i=Xg(rM(nM),`@react-aria/calendar`),a=aM(e)||aM(t),o=Wk({month:`long`,year:`numeric`,era:a,calendar:e.calendar.identifier,timeZone:n}),s=Wk({month:`long`,year:`numeric`,day:`numeric`,era:a,calendar:e.calendar.identifier,timeZone:n});return(0,v.useMemo)(()=>{if(eE(e,_E(e))){let a=e,s=t;if(e.calendar.getFormattableMonth&&(a=e.calendar.getFormattableMonth(e)),t.calendar.getFormattableMonth&&(s=t.calendar.getFormattableMonth(t)),eE(t,vE(e)))return o.format(a.toDate(n));if(eE(t,vE(t)))return r?cM(o,i,a,s,n):o.formatRange(a.toDate(n),s.toDate(n))}return r?cM(s,i,e,t,n):s.formatRange(e.toDate(n),t.toDate(n))},[e,t,o,s,i,n,r])}function cM(e,t,n,r,i){let a=e.formatRangeToParts(n.toDate(i),r.toDate(i)),o=-1;for(let e=0;eo&&(c+=a[e].value);return t.format(`dateRange`,{startDate:s,endDate:c})}function lM(e){return e&&e.__esModule?e.default:e}function uM(e,t){let n=Xg(lM(nM),`@react-aria/calendar`),r=H(e),i=sM(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),a=sM(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);qo(()=>{t.isFocused||Pf(a)},[a]);let o=oM(t);qo(()=>{o&&Pf(o,`polite`,4e3)},[o]);let s=lo([!!e.errorMessage,e.isInvalid,e.validationState]);iM.set(t,{ariaLabel:e[`aria-label`],ariaLabelledBy:e[`aria-labelledby`],errorMessageId:s,selectedDateDescription:o});let[c,l]=(0,v.useState)(!1),u=e.isDisabled||t.isNextVisibleRangeInvalid();u&&c&&(l(!1),t.setFocused(!0));let[d,f]=(0,v.useState)(!1),p=e.isDisabled||t.isPreviousVisibleRangeInvalid();return p&&d&&(f(!1),t.setFocused(!0)),{calendarProps:V(r,Uo({id:e.id,"aria-label":[e[`aria-label`],a].filter(Boolean).join(`, `),"aria-labelledby":e[`aria-labelledby`]}),{role:`application`,"aria-details":e[`aria-details`]||void 0,"aria-describedby":e[`aria-describedby`]||void 0}),nextButtonProps:{onPress:()=>t.focusNextPage(),"aria-label":n.format(`next`),isDisabled:u,onFocusChange:l},prevButtonProps:{onPress:()=>t.focusPreviousPage(),"aria-label":n.format(`previous`),isDisabled:p,onFocusChange:f},errorMessageProps:{id:s},title:i}}function dM(e,t){let{startDate:n=t.visibleRange.start,endDate:r=t.visibleRange.end,firstDayOfWeek:i}=e,{direction:a}=lf(),{keyboardProps:o}=Op({shortcuts:{End:()=>{t.focusSectionEnd()},Home:()=>{t.focusSectionStart()},Escape:()=>(`setAnchorDate`in t&&t.setAnchorDate(null),!1)}}),{keyboardProps:s}=Op({shortcuts:{Enter:()=>{t.selectFocusedDate()}," ":()=>{t.selectFocusedDate()},PageUp:()=>{t.focusPreviousSection()},"Shift+PageUp":()=>{t.focusPreviousSection(!0)},PageDown:()=>{t.focusNextSection()},"Shift+PageDown":()=>{t.focusNextSection(!0)},ArrowLeft:()=>{a===`rtl`?t.focusNextDay():t.focusPreviousDay()},ArrowUp:()=>{t.focusPreviousRow()},ArrowRight:()=>{a===`rtl`?t.focusPreviousDay():t.focusNextDay()},ArrowDown:()=>{t.focusNextRow()}},allowRepeats:!0}),c=sM(n,r,t.timeZone,!0),{ariaLabel:l,ariaLabelledBy:u}=iM.get(t),d=Uo({"aria-label":[l,c].filter(Boolean).join(`, `),"aria-labelledby":u}),f=Wk({weekday:e.weekdayStyle||`narrow`,timeZone:t.timeZone}),{locale:p}=lf(),m=(0,v.useMemo)(()=>{let e=t.visibleDuration.days&&t.visibleDuration.days<7,r=e?n:bE(lE(t.timeZone),p,i),a=e?t.visibleDuration.days:7;return[...Array(a).keys()].map(e=>{let n=r.add({days:e}).toDate(t.timeZone);return f.format(n)})},[p,t.timeZone,f,i,n,t.visibleDuration.days]),h=t.getWeeksInMonth(n);return{gridProps:V(d,{role:`grid`,"aria-readonly":t.isReadOnly||void 0,"aria-disabled":t.isDisabled||void 0,"aria-multiselectable":`highlightedRange`in t||t.selectionMode===`multiple`||void 0,onFocus:()=>t.setFocused(!0),onBlur:()=>t.setFocused(!1)},o,s),headerProps:{"aria-hidden":!0},weekDays:m,weeksInMonth:h}}function fM(e){return e&&e.__esModule?e.default:e}function pM(e,t,n){let{date:r,isDisabled:i}=e,{errorMessageId:a,selectedDateDescription:o}=iM.get(t),s=Xg(fM(nM),`@react-aria/calendar`),c=Wk({weekday:`long`,day:`numeric`,month:`long`,year:`numeric`,era:aM(r),timeZone:t.timeZone}),l=t.isCellFocused(r)&&!e.isOutsideMonth;i=i||t.isCellDisabled(r)||!!e.isOutsideMonth;let u=t.isCellUnavailable(r),d=!i&&!u,f=t.isSelected(r)&&d,p=!1;t.isValueInvalid&&(`highlightedRange`in t?p=!t.anchorDate&&t.highlightedRange!=null&&r.compare(t.highlightedRange.start)>=0&&r.compare(t.highlightedRange.end)<=0:Array.isArray(t.value)?p=t.value.some(e=>eE(e,r)):t.value&&(p=eE(t.value,r))),p&&!i&&(f=!0),r=hs(r,rE);let m=(0,v.useMemo)(()=>r.toDate(t.timeZone),[r,t.timeZone]),h=aE(r,t.timeZone),g=(0,v.useMemo)(()=>{let e=``;return`highlightedRange`in t&&t.value&&!t.anchorDate&&(eE(r,t.value.start)||eE(r,t.value.end))&&(e=o+`, `),e+=c.format(m),h?e=s.format(f?`todayDateSelected`:`todayDate`,{date:e}):f&&(e=s.format(`dateSelected`,{date:e})),t.minValue&&eE(r,t.minValue)?e+=`, `+s.format(`minimumDate`):t.maxValue&&eE(r,t.maxValue)&&(e+=`, `+s.format(`maximumDate`)),e},[c,m,s,f,h,r,t,o]),_=``;`anchorDate`in t&&l&&!t.isReadOnly&&d&&(_=t.anchorDate?s.format(`finishRangeSelectionPrompt`):s.format(`startRangeSelectionPrompt`));let y=ls(_),b=(0,v.useRef)(!1),x=(0,v.useRef)(!1),S=(0,v.useRef)(void 0),{pressProps:C,isPressed:w}=Wp({shouldCancelOnPointerExit:`anchorDate`in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!d||t.isReadOnly,onPressStart(e){if(t.isReadOnly){t.setFocusedDate(r),t.setFocused(!0);return}if(`highlightedRange`in t&&!t.anchorDate&&(e.pointerType===`mouse`||e.pointerType===`touch`)){if(t.highlightedRange&&!p){if(eE(r,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(r),t.setFocused(!0),t.setDragging(!0),x.current=!0;return}if(eE(r,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(r),t.setFocused(!0),t.setDragging(!0),x.current=!0;return}}let n=()=>{t.setDragging(!0),S.current=void 0,t.selectDate(r),t.setFocusedDate(r),t.setFocused(!0),b.current=!0};e.pointerType===`touch`?S.current=setTimeout(n,200):n()}},onPressEnd(){x.current=!1,b.current=!1,clearTimeout(S.current),S.current=void 0},onPress(){!(`anchorDate`in t)&&!t.isReadOnly&&(t.selectDate(r),t.setFocusedDate(r),t.setFocused(!0))},onPressUp(e){t.isReadOnly||(`anchorDate`in t&&S.current&&(t.selectDate(r),t.setFocusedDate(r),t.setFocused(!0)),`anchorDate`in t&&(x.current?t.setAnchorDate(r):t.anchorDate&&!b.current?(t.selectDate(r),t.setFocusedDate(r),t.setFocused(!0)):e.pointerType===`keyboard`&&!t.anchorDate?(t.selectDate(r),t.focusNearestAvailableDate(r)):e.pointerType===`virtual`&&(t.selectDate(r),t.setFocusedDate(r),t.setFocused(!0))))}}),T;i||(T=eE(r,t.focusedDate)?0:-1),(0,v.useEffect)(()=>{l&&n.current&&(ka(n.current),op()!==`pointer`&&So()===n.current&&fs(n.current,{containingElement:$o(n.current)}))},[l,n]);let E=Wk({day:`numeric`,timeZone:t.timeZone,calendar:r.calendar.identifier}),D=(0,v.useMemo)(()=>E.formatToParts(m).find(e=>e.type===`day`).value,[E,m]);return{cellProps:{role:`gridcell`,"aria-disabled":!d||void 0,"aria-selected":f||void 0,"aria-invalid":p||void 0},buttonProps:V(C,{onFocus(){i||(t.setFocusedDate(r),t.setFocused(!0))},tabIndex:T,role:`button`,"aria-disabled":!d||void 0,"aria-label":g,"aria-invalid":p||void 0,"aria-describedby":[p?a:void 0,y[`aria-describedby`]].filter(Boolean).join(` `)||void 0,onPointerEnter(e){`highlightDate`in t&&(e.pointerType!==`touch`||t.isDragging)&&d&&t.highlightDate(r)},onPointerDown(e){let t=B(e);t instanceof HTMLElement&&`releasePointerCapture`in t&&(`hasPointerCapture`in t?t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId):t.releasePointerCapture(e.pointerId))},onContextMenu(e){e.preventDefault()}}),isPressed:w,isFocused:l,isSelected:f,isDisabled:i,isUnavailable:u,isOutsideVisibleRange:r.compare(t.visibleRange.start)<0||r.compare(t.visibleRange.end)>0,isInvalid:p,formattedDate:D}}function mM(e,t){let n=Wk({year:e.format?.year||`numeric`,era:e.format?.era||(t.focusedDate.calendar.identifier===`gregory`&&t.focusedDate.era===`BC`?`short`:void 0),calendar:t.focusedDate.calendar.identifier,timeZone:t.timeZone}),r=e.visibleYears||20,i=t.focusedDate.subtract({years:Math.floor(r/2)}),a=t.focusedDate.add({years:Math.ceil(r/2)-1});t.maxValue&&a.compare(t.maxValue)>0&&(a=BE(t.maxValue),i=a.subtract({years:r-1})),t.minValue&&i.compare(t.minValue)<0&&(i=BE(t.minValue),a=i.add({years:r-1}),t.maxValue&&a.compare(t.maxValue)>0&&(a=BE(t.maxValue)));let o=[],s=i,c=0;for(;s.compare(a)<=0;)nE(s,t.focusedDate)&&(c=o.length),o.push({id:o.length,date:s,formatted:n.format(s.toDate(t.timeZone))}),s=s.add({years:1});let{locale:l}=lf();return{"aria-label":(0,v.useMemo)(()=>new Intl.DisplayNames(l,{type:`dateTimeField`}).of(`year`),[l]),value:c,onChange:e=>{e!=null&&t.setFocusedDate(o[e].date)},items:o}}function hM(e,t){let n=(0,v.useMemo)(()=>{let n=t.visibleRange.start;return e.offset&&(n=n.add(e.offset)),n},[t.visibleRange.start,e.offset]),r=t.visibleDuration.days||t.visibleDuration.weeks,i=Wk({day:e.format?.day||(r?`numeric`:void 0),month:e.format?.month||`long`,year:e.format?.year||`numeric`,era:e.format?.era||n&&n.calendar.identifier===`gregory`&&n.era===`BC`?`short`:void 0,calendar:t.visibleRange?.start.calendar.identifier,timeZone:t.timeZone});return(0,v.useMemo)(()=>{if(r)return i.formatRange(n.toDate(t.timeZone),t.visibleRange.end.toDate(t.timeZone));let e=n.calendar.getFormattableMonth?n.calendar.getFormattableMonth(n):n;return i.format(e.toDate(t.timeZone))},[i,r,n,t.timeZone,t.visibleRange.end])}function gM(e,t,n){let{commitBehavior:r=`select`,...i}=e,a=uM(i,t),o=(0,v.useRef)(!1),s=(0,v.useRef)(typeof window<`u`?window:null);us(s,`pointerdown`,e=>{o.current=e.width===0&&e.height===0});let c={clear:()=>t.clearSelection(),reset:()=>t.setAnchorDate(null),select:()=>t.commitSelection()};return us(s,`pointerup`,e=>{if(o.current){o.current=!1;return}if(t.setDragging(!1),!t.anchorDate)return;let i=e.target;n.current&&wo(n.current)&&(!xo(n.current,i)||!i.closest(`button, [role="button"]`))&&c[r]()}),a.calendarProps.onBlur=e=>{n.current&&(!e.relatedTarget||!xo(n.current,e.relatedTarget))&&t.anchorDate&&c[r]()},us(n,`touchmove`,e=>{t.isDragging&&e.preventDefault()},{passive:!1,capture:!0}),a}function _M(e,t,n){return t!=null&&e.compare(t)<0||n!=null&&e.compare(n)>0}function vM(e,t,n,r,i){let a={};for(let e in t)a[e]=Math.floor(t[e]/2),a[e]>0&&t[e]%2==0&&a[e]--;return xM(e,yM(e,t,n).subtract(a),t,n,r,i)}function yM(e,t,n,r,i){let a=e;return t.years?a=yE(e):t.months?a=_E(e):(t.weeks||t.days&&t.days>7)&&(a=bE(e,n)),xM(e,a,t,n,r,i)}function bM(e,t,n,r,i){let a={...t};return a.days?a.days--:a.weeks?a.weeks--:a.months?a.months--:a.years&&a.years--,xM(e,yM(e,t,n).subtract(a),t,n,r,i)}function xM(e,t,n,r,i,a){if(i&&e.compare(i)>=0){let e=OE(t,yM(BE(i),n,r));e&&(t=e)}if(a&&e.compare(a)<=0){let e=DE(t,bM(BE(a),n,r));e&&(t=e)}return t}function SM(e,t,n){if(t){let n=OE(e,BE(t));n&&(e=n)}if(n){let t=DE(e,BE(n));t&&(e=t)}return e}function CM(e,t,n){if(!n)return e;for(;e.compare(t)>=0&&n(e);)e=e.subtract({days:1});return e.compare(t)>=0?e:null}function wM(e,t){return e===t||e.days===t.days&&e.weeks===t.weeks&&e.months===t.months&&e.years===t.years}function TM(e){let t=(0,v.useMemo)(()=>new UO(e.locale),[e.locale]),n=(0,v.useMemo)(()=>t.resolvedOptions(),[t]),{locale:r,createCalendar:i,visibleDuration:a={months:1},minValue:o,maxValue:s,selectionAlignment:c,isDateUnavailable:l,pageBehavior:u=`visible`,selectionMode:d=`single`,firstDayOfWeek:f,weeksInMonth:p}=e,m=(0,v.useMemo)(()=>i(n.calendar),[i,n.calendar]),[h,g]=fm(e.value,e.defaultValue??null,e.onChange),_=(0,v.useMemo)(()=>Array.isArray(h)?h.map(e=>UE(BE(e),m)):h?UE(BE(h),m):null,[h,m]),y=(0,v.useMemo)(()=>{let e=Array.isArray(h)?h[0]:h;return e&&`timeZone`in e?e.timeZone:n.timeZone},[h,n.timeZone]),[b,x]=fm((0,v.useMemo)(()=>e.focusedValue?SM(UE(BE(e.focusedValue),m),o,s):void 0,[e.focusedValue,m,o,s]),(0,v.useMemo)(()=>e.defaultFocusedValue?SM(UE(BE(e.defaultFocusedValue),m),o,s):SM(_?Array.isArray(_)?_[0]:_:UE(lE(y),m),o,s),[e.defaultFocusedValue,_,y,m,o,s]),e.onFocusChange),S=()=>{switch(c){case`start`:return yM(b,a,r,o,s);case`end`:return bM(b,a,r,o,s);default:return vM(b,a,r,o,s)}},[C,w]=(0,v.useState)(S),[T,E]=(0,v.useState)(e.autoFocus||!1),[D,O]=(0,v.useState)(a);wM(a,D)||(O(a),w(S()));let k=(0,v.useMemo)(()=>{let e={...a};return e.days?e.days--:e.days=-1,C.add(e)},[C,a]),[A,j]=(0,v.useState)(m);if(!iE(m,A)){let e=UE(b,m);w(vM(e,a,r,o,s)),x(e),j(m)}_M(b,o,s)?x(SM(b,o,s)):b.compare(C)<0?w(bM(b,a,r,o,s)):b.compare(k)>0&&w(yM(b,a,r,o,s));function M(e){e=SM(e,o,s),x(e)}function N(e){let t=CM(SM(e,o,s),C,l);if(!t)return null;let n=Array.isArray(h)?h[0]:h,r=UE(t,n?.calendar||new QT);return n&&`hour`in n?n.set(r):r}function P(t){if(!e.isDisabled&&!e.isReadOnly){if(t===null){g(d===`multiple`?[]:null);return}if(Array.isArray(t))g(t.map(N).filter(Boolean));else{let e=N(t);e&&g(e)}}}let F=(0,v.useMemo)(()=>_?Array.isArray(_)?_.some(e=>l?.(e)||_M(e,o,s)):l?.(_)||_M(_,o,s):!1,[_,l,o,s]),I=e.isInvalid||e.validationState===`invalid`||F,L=I?`invalid`:null,R=(0,v.useMemo)(()=>u===`visible`?a:EM(a),[u,a]);return{isDisabled:e.isDisabled??!1,isReadOnly:e.isReadOnly??!1,value:_,setValue:P,selectionMode:d,visibleDuration:a,visibleRange:{start:C,end:k},minValue:o,maxValue:s,focusedDate:b,timeZone:y,validationState:L,isValueInvalid:I,setFocusedDate(e){M(e)},focusNextDay(){M(b.add({days:1}))},focusPreviousDay(){M(b.subtract({days:1}))},focusNextRow(){a.days?this.focusNextPage():(a.weeks||a.months||a.years)&&M(b.add({weeks:1}))},focusPreviousRow(){a.days?this.focusPreviousPage():(a.weeks||a.months||a.years)&&M(b.subtract({weeks:1}))},focusNextPage(){let e=C.add(R);x(SM(b.add(R),o,s)),w(yM(xM(b,e,R,r,o,s),R,r))},focusPreviousPage(){let e=C.subtract(R);x(SM(b.subtract(R),o,s)),w(yM(xM(b,e,R,r,o,s),R,r))},focusSectionStart(){a.days?M(C):a.weeks?M(bE(b,r)):(a.months||a.years)&&M(_E(b))},focusSectionEnd(){a.days?M(k):a.weeks?M(xE(b,r)):(a.months||a.years)&&M(vE(b))},focusNextSection(e){if(!e&&!a.days){M(b.add(EM(a)));return}a.days?this.focusNextPage():a.weeks?M(b.add({months:1})):(a.months||a.years)&&M(b.add({years:1}))},focusPreviousSection(e){if(!e&&!a.days){M(b.subtract(EM(a)));return}a.days?this.focusPreviousPage():a.weeks?M(b.subtract({months:1})):(a.months||a.years)&&M(b.subtract({years:1}))},selectFocusedDate(){l&&l(b)||this.selectDate(b)},selectDate(t){if(!(e.isDisabled||e.isReadOnly)){if(d===`multiple`&&t!=null){let e=N(t);if(!e)return;let n=[];Array.isArray(h)?n=h:h!=null&&(n=[h]);let r=n.findIndex(t=>eE(t,e)),i=r>=0?n.slice(0,r).concat(n.slice(r+1)):[...n,e];g(i)}else P(t)}},isFocused:T,setFocused:E,isInvalid(e){return _M(e,o,s)},isSelected(e){return!_||this.isCellDisabled(e)||this.isCellUnavailable(e)?!1:Array.isArray(_)?_.some(t=>eE(t,e)):eE(e,_)},isCellFocused(e){return T&&b&&eE(e,b)},isCellDisabled(t){return e.isDisabled||t.compare(C)<0||t.compare(k)>0||this.isInvalid(t)},isCellUnavailable(t){return e.isDateUnavailable?e.isDateUnavailable(t):!1},isPreviousVisibleRangeInvalid(){let e=C.subtract({days:1});return eE(e,C)||this.isInvalid(e)},isNextVisibleRangeInvalid(){let e=k.add({days:1});return eE(e,k)||this.isInvalid(e)},getDatesInWeek(e,t=C){let n=t.add({weeks:e}),i=[],o=a.days&&a.days<7?a.days:7;if(o===7){n=bE(n,r,f);let e=sE(n,r,f);for(let t=0;t0&&(m=`start`)}let h=(0,v.useMemo)(()=>{let t=e.isDateUnavailable;if(t)return e=>t(e,f)},[e.isDateUnavailable,f]),g=(0,v.useCallback)(t=>t&&h&&!e.allowsNonContiguousRanges?{start:AM(t,h,o,-1),end:AM(t,h,o,1)}:null,[h,o,e.allowsNonContiguousRanges]),_=(0,v.useMemo)(()=>g(f),[g,f]),y=(0,v.useMemo)(()=>OE(s,_?.start),[s,_]),b=(0,v.useMemo)(()=>DE(c,_?.end),[c,_]),x=TM({...l,value:u&&u.start,createCalendar:i,locale:a,visibleDuration:o,minValue:y,maxValue:b,selectionAlignment:e.selectionAlignment||m,isDateUnavailable:h}),S=f?OM(f,x.focusedDate):u&&OM(u.start,u.end),C=t=>{if(e.isReadOnly)return;let n=CM(SM(t,y,b),x.visibleRange.start,h);if(n){if(!f)p(n);else{let e=OM(f,n);e&&d({start:kM(e.start,u?.start),end:kM(e.end,u?.end)}),p(null)}}},[w,T]=(0,v.useState)(!1),E=(0,v.useMemo)(()=>!u||f?!1:h&&(h(u.start)||h(u.end))?!0:_M(u.start,s,c)||_M(u.end,s,c),[h,u,f,s,c]),D=e.isInvalid||e.validationState===`invalid`||E,O=D?`invalid`:null;return{...x,value:u,setValue:d,anchorDate:f,setAnchorDate:p,highlightedRange:S,validationState:O,isValueInvalid:D,selectFocusedDate(){x.isCellUnavailable(x.focusedDate)||C(x.focusedDate)},commitSelection(){C(x.focusedDate)},selectDate:C,highlightDate(e){f&&x.setFocusedDate(e)},isSelected(e){return!!(S&&e.compare(S.start)>=0&&e.compare(S.end)<=0&&!x.isCellDisabled(e)&&!x.isCellUnavailable(e))},isInvalid(e){return x.isInvalid(e)||_M(e,_?.start,_?.end)},isDragging:w,setDragging:T,clearSelection(){p(null),d(null)},focusNearestAvailableDate(e){let t=g(e),n=e=>this.isInvalid(e)||_M(e,t?.start,t?.end),r=e.add({days:1});n(r)&&(r=e.subtract({days:1})),n(r)||(this.setFocusedDate(r),this.setFocused(!0))}}}function OM(e,t){return!e||!t?null:(t.compare(e)<0&&([e,t]=[t,e]),{start:BE(e),end:BE(t)})}function kM(e,t){return e=UE(e,t?.calendar||new QT),t&&`hour`in t?t.set(e):e}function AM(e,t,n,r){let i=e.add({days:r}),a=e.subtract(n),o=e.add(n);for(;(r<0?i.compare(a)>=0:i.compare(o)<=0)&&!t(i);)i=i.add({days:r});if(t(i))return i.add({days:-r})}var jM=(0,v.createContext)(null),MM=(0,v.createContext)(null),NM=(0,v.createContext)(null),PM=(0,v.createContext)(null),FM=(0,v.forwardRef)(function(e,t){[e,t]=Bd(e,t,MM);let{locale:n}=lf(),r=DM({...e,locale:n,createCalendar:e.createCalendar||VO}),{calendarProps:i,prevButtonProps:a,nextButtonProps:o,errorMessageProps:s,title:c}=gM(e,r,t),l=Ld({...e,values:{state:r,isDisabled:e.isDisabled||!1,isInvalid:r.isValueInvalid},defaultClassName:`react-aria-RangeCalendar`}),u=H(e,{global:!0});return v.createElement(J.div,{...V(l,u,i),ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":r.isValueInvalid||void 0},v.createElement(Id,{values:[[sm,{slots:{previous:a,next:o}}],[pm,{"aria-hidden":!0,level:2,children:c}],[PM,r],[MM,e],[ey,{slots:{errorMessage:s}}]]},v.createElement($g,null,v.createElement(`h2`,null,i[`aria-label`])),l.children,v.createElement($g,null,v.createElement(`button`,{"aria-label":o[`aria-label`],disabled:o.isDisabled,onClick:()=>r.focusNextPage(),tabIndex:-1}))))}),IM=(0,v.createContext)(null),LM=(0,v.forwardRef)(function(e,t){let n=(0,v.useContext)(NM),r=(0,v.useContext)(PM),i=zd(jM),a=zd(MM),o=n??r,s=o.visibleRange.start;e.offset&&(s=s.add(e.offset));let c=i?.firstDayOfWeek??a?.firstDayOfWeek,{gridProps:l,headerProps:u,weekDays:d,weeksInMonth:f}=dM({startDate:s,endDate:vE(s),weekdayStyle:e.weekdayStyle,firstDayOfWeek:c},o),p=H(e,{global:!0});return v.createElement(IM.Provider,{value:{headerProps:u,weekDays:d,startDate:s,weeksInMonth:f}},v.createElement(J.table,{render:e.render,...V(p,l),ref:t,style:e.style,cellPadding:0,className:e.className??`react-aria-CalendarGrid`},typeof e.children==`function`?v.createElement(v.Fragment,null,v.createElement(zM,null,e=>v.createElement(VM,null,e)),v.createElement(UM,null,e.children)):e.children))});function RM(e,t){let{children:n,style:r,className:i}=e,{headerProps:a,weekDays:o}=(0,v.useContext)(IM),s=H(e,{global:!0});return v.createElement(J.thead,{render:e.render,...V(s,a),ref:t,style:r,className:i??`react-aria-CalendarGridHeader`},v.createElement(`tr`,null,o.map((e,t)=>v.cloneElement(n(e),{key:t}))))}var zM=(0,v.forwardRef)(RM);function BM(e,t){let{children:n,style:r,className:i}=e,a=H(e,{global:!0});return v.createElement(J.th,{render:e.render,...a,ref:t,style:r,className:i||`react-aria-CalendarHeaderCell`},n)}var VM=(0,v.forwardRef)(BM);function HM(e,t){let{children:n,style:r,className:i}=e,a=(0,v.useContext)(NM),o=(0,v.useContext)(PM),s=a??o,{startDate:c,weeksInMonth:l}=(0,v.useContext)(IM),u=H(e,{global:!0});return v.createElement(J.tbody,{render:e.render,...u,ref:t,style:r,className:i??`react-aria-CalendarGridBody`},[...Array(l).keys()].map(e=>v.createElement(`tr`,{key:e},s.getDatesInWeek(e,c).map((e,t)=>e?v.cloneElement(n(e),{key:t}):v.createElement(`td`,{key:t})))))}var UM=(0,v.forwardRef)(HM),WM=(0,v.forwardRef)(function({date:e,...t},n){let r=(0,v.useContext)(NM),i=(0,v.useContext)(PM),a=r??i,{startDate:o}=(0,v.useContext)(IM)??{startDate:a.visibleRange.start},s=a.visibleDuration.days||a.visibleDuration.weeks?!1:!tE(o,e),c=aE(e,a.timeZone),l=(0,v.useRef)(null),{cellProps:u,buttonProps:d,...f}=pM({date:e,isOutsideMonth:s},a,l),{hoverProps:p,isHovered:m}=om({...t,isDisabled:f.isDisabled||f.isUnavailable}),{focusProps:h,isFocusVisible:g}=em();g&&=f.isFocused;let _=!1,y=!1;`highlightedRange`in a&&a.highlightedRange&&(_=eE(e,a.highlightedRange.start),y=eE(e,a.highlightedRange.end));let b=Ld({...t,defaultChildren:f.formattedDate,defaultClassName:`react-aria-CalendarCell`,values:{date:e,isHovered:m,isOutsideMonth:s,isFocusVisible:g,isSelectionStart:_,isSelectionEnd:y,isToday:c,...f}}),x={"data-focused":f.isFocused||void 0,"data-hovered":m||void 0,"data-pressed":f.isPressed||void 0,"data-unavailable":f.isUnavailable||void 0,"data-disabled":f.isDisabled||void 0,"data-focus-visible":g||void 0,"data-outside-visible-range":f.isOutsideVisibleRange||void 0,"data-outside-month":s||void 0,"data-selected":f.isSelected||void 0,"data-selection-start":_||void 0,"data-selection-end":y||void 0,"data-invalid":f.isInvalid||void 0,"data-today":c||void 0},S=H(t,{global:!0});return v.createElement(`td`,{...u,ref:n},v.createElement(J.div,{...V(S,d,h,p,x,b),ref:l}))}),GM=(0,v.forwardRef)(function(e,t){let{offset:n,format:r,className:i=`react-aria-CalendarHeading`,...a}=e,o=v.useContext(NM),s=v.useContext(PM),c=hM({offset:n,format:r},o||s);return v.createElement(mm,{...a,className:i,ref:t},c)});function KM(e){return e&&e.__esModule?e.default:e}function qM(e,t,n){let r=Xg(KM(Fk),`@react-aria/datepicker`),{isInvalid:i,validationErrors:a,validationDetails:o}=t.displayValidation,{labelProps:s,fieldProps:c,descriptionProps:l,errorMessageProps:u}=US({...e,labelElementType:`span`,isInvalid:i,errorMessage:e.errorMessage||a}),d=c[`aria-labelledby`]||c.id,{locale:f}=lf(),p=t.formatValue(f,{month:`long`}),m=ls(p?r.format(`selectedRangeDescription`,{startDate:p.start,endDate:p.end}):``),h={"aria-label":r.format(`startDate`),"aria-labelledby":d},g={"aria-label":r.format(`endDate`),"aria-labelledby":d},_=so(),y=so(),b=Ik(t,n),x=[m[`aria-describedby`],c[`aria-describedby`]].filter(Boolean).join(` `)||void 0,S=(0,v.useMemo)(()=>Ih(n,{accept:e=>e.id!==_}),[n,_]),C={[Vk]:S,[Bk]:`presentation`,"aria-describedby":x,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,granularity:e.granularity,shouldForceLeadingZeros:e.shouldForceLeadingZeros,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior},w=H(e),T=(0,v.useRef)(!1),{focusWithinProps:E}=$p({...e,isDisabled:t.isOpen,onBlurWithin:t=>{xo(document.getElementById(y),t.relatedTarget)||(T.current=!1,e.onBlur?.(t),e.onFocusChange?.(!1))},onFocusWithin:t=>{T.current||(T.current=!0,e.onFocus?.(t),e.onFocusChange?.(!0))}}),D=(0,v.useRef)(wx),O=(0,v.useRef)(wx);return{groupProps:V(w,b,c,m,E,{role:`group`,"aria-disabled":e.isDisabled||null,"aria-describedby":x,onKeyDown(n){t.isOpen||e.onKeyDown&&e.onKeyDown(n)},onKeyUp(n){t.isOpen||e.onKeyUp&&e.onKeyUp(n)}}),labelProps:{...s,onClick:()=>{S.focusFirst()}},buttonProps:{...m,id:_,"aria-haspopup":`dialog`,"aria-label":r.format(`calendar`),"aria-labelledby":`${_} ${d}`,"aria-describedby":x,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:y,"aria-labelledby":`${_} ${d}`},startFieldProps:{...h,...C,value:t.value?.start??null,defaultValue:t.defaultValue?.start,onChange:e=>t.setDateTime(`start`,e),autoFocus:e.autoFocus,name:e.startName,form:e.form,[Ex]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(e){D.current=e,t.updateValidation(Nx(e,O.current))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},endFieldProps:{...g,...C,value:t.value?.end??null,defaultValue:t.defaultValue?.end,onChange:e=>t.setDateTime(`end`,e),name:e.endName,form:e.form,[Ex]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(e){O.current=e,t.updateValidation(Nx(D.current,e))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},descriptionProps:l,errorMessageProps:u,calendarProps:{autoFocus:!0,value:t.dateRange?.start&&t.dateRange.end?t.dateRange:null,onChange:t.setDateRange,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,allowsNonContiguousRanges:e.allowsNonContiguousRanges,defaultFocusedValue:t.dateRange?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:typeof e.errorMessage==`function`?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(` `),firstDayOfWeek:e.firstDayOfWeek,pageBehavior:e.pageBehavior},isInvalid:i,validationErrors:a,validationDetails:o}}function JM(e){let t=l_(e),[n,r]=fm(e.value,e.defaultValue||null,e.onChange),[i]=(0,v.useState)(n),[a,o]=(0,v.useState)(()=>n||{start:null,end:null});n==null&&a.start&&a.end&&(a={start:null,end:null},o(a));let s=n||a,c=e=>{s=e||{start:null,end:null},o(s),YM(s)?r(s):r(null)},[l,u]=UA(s?.start||s?.end||e.placeholderValue||null,e.granularity),d=l===`hour`||l===`minute`||l===`second`,f=e.shouldCloseOnSelect??!0,[p,m]=(0,v.useState)(null),[h,g]=(0,v.useState)(null);s&&YM(s)&&(p=s,`hour`in s.start&&(h=s));let _=(e,t)=>{c({start:`timeZone`in t.start?t.start.set(BE(e.start)):VE(e.start,t.start),end:`timeZone`in t.end?t.end.set(BE(e.end)):VE(e.end,t.end)}),m(null),g(null),D.commitValidation()},y=n=>{let r=typeof f==`function`?f():f;d?YM(n)&&(r||h?.start&&h?.end)?_(n,{start:h?.start||BA(e.placeholderValue),end:h?.end||BA(e.placeholderValue)}):m(n):YM(n)?(c(n),D.commitValidation()):m(n),r&&t.setOpen(!1)},b=e=>{YM(p)&&YM(e)?_(p,e):g(e)},x=s?.start?.calendar.identifier===`gregory`&&s.start.era===`BC`||s?.end?.calendar.identifier===`gregory`&&s.end.era===`BC`,S=(0,v.useMemo)(()=>({granularity:l,timeZone:u,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:x}),[l,e.hourCycle,e.shouldForceLeadingZeros,u,e.hideTimeZone,x]),{minValue:C,maxValue:w,isDateUnavailable:T}=e,E=(0,v.useMemo)(()=>IA(s,C,w,T?e=>T(e,null):void 0,S),[s,C,w,T,S]),D=Dx({...e,value:n,name:(0,v.useMemo)(()=>[e.startName,e.endName].filter(e=>e!=null),[e.startName,e.endName]),builtinValidation:E}),O=D.displayValidation.isInvalid,k=e.validationState||(O?`invalid`:null);return{...D,value:s,defaultValue:e.defaultValue??i,setValue:c,dateRange:p,timeRange:h,granularity:l,hasTime:d,setDate(e,t){y(e===`start`?{start:t,end:p?.end??null}:{start:p?.start??null,end:t})},setTime(e,t){b(e===`start`?{start:t,end:h?.end??null}:{start:h?.start??null,end:t})},setDateTime(e,t){c(e===`start`?{start:t,end:s?.end??null}:{start:s?.start??null,end:t})},setDateRange:y,setTimeRange:b,...t,setOpen(n){!n&&!(s?.start&&s?.end)&&YM(p)&&d&&_(p,{start:h?.start||BA(e.placeholderValue),end:h?.end||BA(e.placeholderValue)}),t.setOpen(n)},validationState:k,isInvalid:O,formatValue(t,n){if(!s||!s.start||!s.end)return null;let r=`timeZone`in s.start?s.start.timeZone:void 0,i=e.granularity||(s.start&&`minute`in s.start?`minute`:`day`),a=`timeZone`in s.end?s.end.timeZone:void 0,o=e.granularity||(s.end&&`minute`in s.end?`minute`:`day`),c=zA(n,{granularity:i,timeZone:r,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,showEra:s.start.calendar.identifier===`gregory`&&s.start.era===`BC`||s.end.calendar.identifier===`gregory`&&s.end.era===`BC`}),l=s.start.toDate(r||`UTC`),u=s.end.toDate(a||`UTC`),d=new UO(t,c),f;if(r===a&&i===o&&s.start.compare(s.end)!==0){try{let e=d.formatRangeToParts(l,u),t=-1;for(let n=0;nt&&(r+=e[i].value);return{start:n,end:r}}catch{}f=d}else f=new UO(t,zA(n,{granularity:o,timeZone:a,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle}));return{start:d.format(l),end:f.format(u)}},getDateFormatter(e,t){return new UO(e,zA({},{...S,...t}))}}}function YM(e){return e?.start!=null&&e.end!=null}var XM=(0,v.createContext)(null),ZM=(0,v.createContext)(null),QM=[yx,sm,Yd,ey],$M=(0,v.forwardRef)(function(e,t){[e,t]=Bd(e,t,XM);let{validationBehavior:n}=zd(Px)||{},r=e.validationBehavior??n??`native`,i=JM({...e,validationBehavior:r}),a=(0,v.useRef)(null),[o,s]=Vd(!e[`aria-label`]&&!e[`aria-labelledby`]),{groupProps:c,labelProps:l,startFieldProps:u,endFieldProps:d,buttonProps:f,dialogProps:p,calendarProps:m,descriptionProps:h,errorMessageProps:g,..._}=qM({...Hd(e),label:s,validationBehavior:r},i,a),{focusProps:y,isFocused:b,isFocusVisible:x}=em({within:!0}),S=Ld({...e,values:{state:i,isFocusWithin:b,isFocusVisible:x,isDisabled:e.isDisabled||!1,isInvalid:i.isInvalid,isOpen:i.isOpen,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1},defaultClassName:`react-aria-DateRangePicker`}),C=H(e,{global:!0});return delete C.id,v.createElement(Id,{values:[[ZM,i],[yx,{...c,ref:a,isInvalid:i.isInvalid}],[sm,{...f,isPressed:i.isOpen}],[Yd,{...l,ref:o,elementType:`span`}],[MM,m],[tx,i],[u_,{trigger:`DateRangePicker`,triggerRef:a,placement:`bottom start`,clearContexts:QM}],[ex,p],[rj,{slots:{start:u,end:d}}],[ey,{slots:{description:h,errorMessage:g}}],[xx,_]]},v.createElement(J.div,{...V(C,S,y),ref:t,slot:e.slot||void 0,"data-focus-within":b||void 0,"data-invalid":i.isInvalid||void 0,"data-focus-visible":x||void 0,"data-disabled":e.isDisabled||void 0,"data-readonly":e.isReadOnly||void 0,"data-required":e.isRequired||void 0,"data-open":i.isOpen||void 0}))}),eN=(0,v.createContext)({triggerRef:{current:null}}),tN=({children:e,className:t,onOpenChange:n,...r})=>{let i=v.useMemo(()=>ed(),[]),a=(0,v.useRef)(null),[o,s]=v.useState(!1),c=(0,v.useRef)(!1);(0,v.useEffect)(()=>{if(!o)return;let e=e=>{!e.metaKey&&!e.ctrlKey&&!e.altKey&&(c.current=!0)};return window.addEventListener(`keydown`,e,!0),()=>{window.removeEventListener(`keydown`,e,!0)}},[o]);let l=e=>{s(e),!e&&c.current&&window.requestAnimationFrame(()=>{a.current?.focus()}),c.current=!1,n?.(e)};return(0,U.jsx)(eN,{value:{slots:i,triggerRef:a},children:(0,U.jsx)($M,{"data-required":hm(r.isRequired),"data-slot":`date-range-picker`,...r,className:Y(t,i?.base()),onOpenChange:l,children:t=>(0,U.jsx)(U.Fragment,{children:typeof e==`function`?e(t):e})})})};tN.displayName=`HeroUI.DateRangePicker`;var nN=({children:e,className:t,ref:n,...r})=>{let{slots:i,triggerRef:a}=(0,v.use)(eN),o=Do(v.useCallback(e=>{a.current=e},[a]),n);return(0,U.jsx)(cm,{ref:o,className:Y(t,i?.trigger()),"data-slot":`date-range-picker-trigger`,...r,children:t=>(0,U.jsx)(U.Fragment,{children:typeof e==`function`?e(t):e})})};nN.displayName=`HeroUI.DateRangePicker.Trigger`;var rN=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(eN);return(0,U.jsx)(W.span,{"aria-hidden":`true`,className:X(r?.triggerIndicator,t),"data-slot":`date-range-picker-trigger-indicator`,...n,children:e||(0,U.jsx)(Om,{})})};rN.displayName=`HeroUI.DateRangePicker.TriggerIndicator`;var iN=({children:e=` - `,className:t,...n})=>{let{slots:r}=(0,v.use)(eN);return(0,U.jsx)(W.span,{"aria-hidden":`true`,className:X(r?.rangeSeparator,t),"data-slot":`date-range-picker-range-separator`,...n,children:e})};iN.displayName=`HeroUI.DateRangePicker.RangeSeparator`;var aN=({children:e,className:t,placement:n=`bottom`,...r})=>{let{slots:i}=(0,v.use)(eN);return(0,U.jsx)(km,{value:{variant:`default`},children:(0,U.jsx)(f_,{...r,className:Y(t,i?.popover()),"data-slot":`date-range-picker-popover`,placement:n,children:e})})};aN.displayName=`HeroUI.DateRangePicker.Popover`;var oN=Object.assign(tN,{Root:tN,Trigger:nN,TriggerIndicator:rN,RangeSeparator:iN,Popover:aN}),sN=8,cN=.3,lN=.5;function uN(e,t){let n=(0,v.use)(tx),r=(0,v.useRef)(null),i=(0,v.useRef)(!1),a=(0,v.useRef)(!1),o=(0,v.useRef)(0),s=(0,v.useRef)(0),c=(0,v.useRef)(0),l=(0,v.useRef)(0),u=(0,v.useRef)(0),d=e===`top`||e===`bottom`,f=(0,v.useCallback)(e=>d?e.clientY:e.clientX,[d]),p=(0,v.useCallback)(t=>{switch(e){case`bottom`:return Math.max(0,t);case`top`:return Math.min(0,t);case`right`:return Math.max(0,t);case`left`:return Math.min(0,t);default:return t}},[e]),m=(0,v.useCallback)(e=>{t&&e.button===0&&(e.target.closest(`input, textarea, button, [role='button'], select, a, [data-slot='drawer-body']`)||(i.current=!0,a.current=!1,o.current=f(e),u.current=o.current,l.current=Date.now(),s.current=0,c.current=0))},[f,t]),h=(0,v.useCallback)(e=>{if(!i.current||!r.current)return;let t=f(e),n=t-o.current,m=p(n);if(!a.current){if(Math.abs(n)0&&(c.current=(t-u.current)/g,l.current=h,u.current=t);let _=d?`Y`:`X`;r.current.style.transform=`translate${_}(${m}px)`},[f,p,d]),g=(0,v.useCallback)(e=>{if(!i.current)return;i.current=!1;let t=r.current;if(!t||!a.current){a.current=!1;return}a.current=!1;try{t.releasePointerCapture(e.pointerId)}catch{}let o=d?t.offsetHeight:t.offsetWidth,l=Math.abs(s.current),u=Math.abs(c.current);(l>o*cN||u>lN)&&n?n.close():(t.style.transition=`transform 300ms cubic-bezier(0.32, 0.72, 0, 1)`,t.style.transform=``,t.addEventListener(`transitionend`,()=>{t.style.transition=``},{once:!0})),s.current=0,c.current=0},[d,n]);return{dialogRef:r,dragHandlers:t?{onPointerDown:m,onPointerMove:h,onPointerUp:g}:{}}}var dN=(0,v.createContext)({}),fN=({children:e,state:t,...n})=>{let r=(0,v.useMemo)(()=>({slots:rd(),placement:void 0,isDismissable:!0}),[]),i=(0,v.useMemo)(()=>t?{isOpen:t.isOpen,onOpenChange:t.setOpen}:{},[t]);return(0,U.jsx)(dN,{value:r,children:(0,U.jsx)(nx,{"data-slot":`drawer-root`,...V(n,i),children:e})})};fN.displayName=`HeroUI.Drawer`;var pN=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(dN);return(0,U.jsx)(cm,{className:Y(t,r?.trigger()),"data-slot":`drawer-trigger`,...n,children:e})};pN.displayName=`HeroUI.Drawer.Trigger`;var mN=({children:e,className:t,isDismissable:n=!0,variant:r,...i})=>{let{slots:a}=(0,v.use)(dN),o=(0,v.useMemo)(()=>rd({variant:r}),[r]),s=(0,v.useMemo)(()=>({slots:{...a,...o},isDismissable:n}),[a,o,n]);return(0,U.jsx)(lx,{className:Y(t,o?.backdrop()),"data-slot":`drawer-backdrop`,isDismissable:n,...i,children:t=>(0,U.jsx)(dN,{value:s,children:typeof e==`function`?e(t):e})})};mN.displayName=`HeroUI.Drawer.Backdrop`;var hN=({children:e,className:t,placement:n=`bottom`,...r})=>{let{isDismissable:i,slots:a}=(0,v.use)(dN),o=(0,v.useMemo)(()=>rd({placement:n}),[n]),s=(0,v.useMemo)(()=>({placement:n,isDismissable:i,slots:{...a,...o}}),[a,n,i,o]);return(0,U.jsx)(sx,{className:Y(t,o?.content()),"data-placement":n,"data-slot":`drawer-content`,...r,children:t=>(0,U.jsx)(dN,{value:s,children:typeof e==`function`?e(t):e})})};hN.displayName=`HeroUI.Drawer.Content`;var gN=({children:e,className:t,...n})=>{let{isDismissable:r=!0,placement:i,slots:a}=(0,v.use)(dN),{dialogRef:o,dragHandlers:s}=uN(i,r);return(0,U.jsx)(km,{value:{variant:`default`},children:(0,U.jsx)(rx,{ref:o,className:X(a?.dialog,t),"data-placement":i,"data-slot":`drawer-dialog`,style:r?{touchAction:`none`}:void 0,...s,...n,children:e})})};gN.displayName=`HeroUI.Drawer.Dialog`;var _N=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(dN);return(0,U.jsx)(W.div,{className:X(r?.header,t),"data-slot":`drawer-header`,...n,children:e})};_N.displayName=`HeroUI.Drawer.Header`;var vN=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(dN);return(0,U.jsx)(W.div,{className:X(r?.body,t),"data-slot":`drawer-body`,style:{touchAction:`pan-y`},...n,children:e})};vN.displayName=`HeroUI.Drawer.Body`;var yN=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(dN);return(0,U.jsx)(W.div,{className:X(r?.footer,t),"data-slot":`drawer-footer`,...n,children:e})};yN.displayName=`HeroUI.Drawer.Footer`;var bN=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(dN);return(0,U.jsx)(mm,{className:X(r?.heading,t),"data-slot":`drawer-heading`,slot:`title`,...n,children:e})};bN.displayName=`HeroUI.Drawer.Heading`;var xN=({className:e,...t})=>{let{slots:n}=(0,v.use)(dN);return(0,U.jsx)(W.div,{"aria-hidden":`true`,className:X(n?.handle,e),"data-slot":`drawer-handle`,...t,children:(0,U.jsx)(`div`,{"data-slot":`drawer-handle-bar`})})};xN.displayName=`HeroUI.Drawer.Handle`;var SN=({className:e,...t})=>{let{slots:n}=(0,v.use)(dN);return(0,U.jsx)(mx,{className:Y(e,n?.closeTrigger()),"data-slot":`drawer-close-trigger`,slot:`close`,...t})};SN.displayName=`HeroUI.Drawer.CloseTrigger`;var CN=Object.assign(fN,{Root:fN,Trigger:pN,Backdrop:mN,Content:hN,Dialog:gN,Header:_N,Heading:bN,Body:vN,Footer:yN,Handle:xN,CloseTrigger:SN});function wN(e){let{progressBarProps:t,labelProps:n}=Af(e);return{meterProps:{...t,role:`meter progressbar`},labelProps:n}}var TN=(0,v.createContext)(null),EN=(0,v.forwardRef)(function(e,t){[e,t]=Bd(e,t,TN);let{value:n=0,minValue:r=0,maxValue:i=100}=e;n=Is(n,r,i);let a=i-r,[o,s]=Vd(!e[`aria-label`]&&!e[`aria-labelledby`]),{meterProps:c,labelProps:l}=wN({...e,label:s}),u=a===0?0:(n-r)/a*100,d=Ld({...e,defaultClassName:`react-aria-Meter`,values:{percentage:u,valueText:c[`aria-valuetext`]}}),f=H(e,{global:!0});return v.createElement(J.div,{...V(f,d,c),ref:t,slot:e.slot||void 0},v.createElement(Yd.Provider,{value:{...l,ref:o,elementType:`span`}},d.children))});function DN({children:e,className:t,fullWidth:n,...r}){let i=v.useMemo(()=>Ad({fullWidth:n}),[n]);return(0,U.jsx)(cj,{"data-required":hm(r.isRequired),"data-slot":`time-field`,...r,className:Y(t,i),children:t=>(0,U.jsx)(U.Fragment,{children:typeof e==`function`?e(t):e})})}var ON=Object.assign(DN,{Root:DN,Group:mj,Input:gj,InputContainer:vj,Segment:_j,Prefix:hj,Suffix:yj}),kN=e=>{let{containerRef:t,isEnabled:n,offset:r,onVisibilityChange:i,orientation:a,visibility:o}=e,s=(0,v.useRef)(null),c=(0,v.useRef)(null),l=(0,v.useCallback)(()=>{let e=t.current;if(!e)return;let n=a===`vertical`,o=n?e.scrollTop:Math.abs(e.scrollLeft),l=n?e.scrollHeight:e.scrollWidth,u=n?e.clientHeight:e.clientWidth,d=o>r,f=o+u+r{c.current=null,n?d&&f?(e.dataset.topBottomScroll=`true`,delete e.dataset.topScroll,delete e.dataset.bottomScroll,i?.(`both`)):(e.dataset.topScroll=String(d),e.dataset.bottomScroll=String(f),delete e.dataset.topBottomScroll,i&&i(d?`top`:f?`bottom`:`none`)):d&&f?(e.dataset.leftRightScroll=`true`,delete e.dataset.leftScroll,delete e.dataset.rightScroll,i?.(`both`)):(e.dataset.leftScroll=String(d),e.dataset.rightScroll=String(f),delete e.dataset.leftRightScroll,i&&i(d?`left`:f?`right`:`none`))}))},[t,a,r,i]);(0,v.useEffect)(()=>{let e=t.current;if(!e||!n||o!==`auto`)return;l(),e.addEventListener(`scroll`,l,{passive:!0});let r=new ResizeObserver(l);return r.observe(e),()=>{e.removeEventListener(`scroll`,l),r.disconnect(),c.current!==null&&(cancelAnimationFrame(c.current),c.current=null),s.current=null}},[t,o,n,l])},AN=globalThis?.document?v.useLayoutEffect:v.useEffect,jN=({children:e,className:t,hideScrollBar:n=!1,isEnabled:r=!0,offset:i=0,onVisibilityChange:a,orientation:o=`vertical`,ref:s,size:c=40,variant:l=`fade`,visibility:u=`auto`,...d})=>{let f=(0,v.useRef)(null);kN({containerRef:f,isEnabled:r,offset:i,onVisibilityChange:a,orientation:o,visibility:u}),AN(()=>{let e=f.current;!e||u===`auto`||(delete e.dataset.topScroll,delete e.dataset.bottomScroll,delete e.dataset.topBottomScroll,delete e.dataset.leftScroll,delete e.dataset.rightScroll,delete e.dataset.leftRightScroll,u===`both`?e.dataset[o===`vertical`?`topBottomScroll`:`leftRightScroll`]=`true`:u!==`none`&&(e.dataset[`${u}Scroll`]=`true`))},[u,o]);let p=(0,v.useMemo)(()=>bd({hideScrollBar:n,orientation:o,variant:l}),[o,n,l]),m={"--scroll-shadow-size":`${c}px`,...d.style};return(0,U.jsx)(`div`,{ref:Do(f,s),className:p.base({className:t}),"data-orientation":o,"data-scroll-shadow-size":c,"data-slot":`scroll-shadow`,style:m,...d,children:e})};jN.displayName=`HeroUI.ScrollShadow`;var MN=Object.assign(jN,{Root:jN}),NN=({className:e,orientation:t,variant:n,...r})=>{let i=zd(Qv),a=t??i?.orientation??`horizontal`;return(0,U.jsx)($v,{"data-orientation":a,"data-slot":`separator`,orientation:a,className:Cd({orientation:a,variant:n,className:e}),...r})},PN=Object.assign(NN,{Root:NN}),FN=new Map;function IN(e,t,n=!0){let r=to();return v.useMemo(()=>{if(t!==void 0)return t;if(!r){if(n&&FN.has(e))return FN.get(e);try{let t=document.documentElement,r=getComputedStyle(t).getPropertyValue(e).trim()||void 0;return n&&FN.set(e,r),r}catch{return}}},[e,t,r,n])}var LN=({animationType:e,className:t,...n})=>{let r=IN(`--skeleton-animation`,e),i=v.useMemo(()=>wd({animationType:r}),[r]);return(0,U.jsx)(W.div,{className:i.base({className:t}),...n})},RN=Object.assign(LN,{Root:LN}),zN=(0,v.createContext)({}),BN=({children:e,className:t,fullWidth:n,isDetached:r=!1,isDisabled:i,orientation:a,size:o,...s})=>{let c=zd(xC),l=a??c?.orientation??`horizontal`,u=v.useMemo(()=>Md({fullWidth:n,isDetached:r,orientation:l}),[n,r,l]);return(0,U.jsx)(zN,{value:{slots:u,size:o,isDisabled:i},children:(0,U.jsx)(CC,{className:Y(t,u.base()),"data-slot":`toggle-button-group`,isDisabled:i,orientation:l,...s,children:e})})},VN=({className:e,...t})=>{let{slots:n}=(0,v.use)(zN);return(0,U.jsx)(W.span,{"aria-hidden":`true`,className:X(n?.separator,e),"data-slot":`toggle-button-group-separator`,...t})},HN=({children:e,className:t,isIconOnly:n,size:r,style:i,variant:a,...o})=>{let s=(0,v.use)(zN),c=jd({isIconOnly:n,size:r??s?.size,variant:a});return(0,U.jsx)(EC,{className:Y(t,c),"data-slot":`toggle-button`,style:i,...o,children:t=>typeof e==`function`?e(t):e})},UN=Object.assign(HN,{Root:HN});function WN(e,t,n){let{labelProps:r,inputProps:i,isSelected:a,...o}=IC(e,t,n);return{labelProps:r,inputProps:{...i,role:`switch`,checked:a},isSelected:a,...o}}var GN=(0,v.createContext)(null),KN=(0,v.createContext)(null),qN=(0,v.createContext)(null),JN=(0,v.forwardRef)(function(e,t){let{inputRef:n=null,...r}=e;[e,t]=Bd(r,t,GN);let{validationBehavior:i}=zd(Px)||{},a=e.validationBehavior??i??`native`,o=Wo(Do(n,e.inputRef===void 0?null:e.inputRef)),s=wC(e),c=WN({...Hd(e),children:typeof e.children==`function`||e.children,validationBehavior:a},s,o),{descriptionProps:l,errorMessageProps:u,isSelected:d,isDisabled:f,isReadOnly:p,isInvalid:m,validationDetails:h,validationErrors:g}=c,_=Ld({...e,defaultClassName:`react-aria-SwitchField`,values:{isSelected:d,isDisabled:f,isReadOnly:p,isInvalid:m,isRequired:e.isRequired||!1,state:s}}),y=H(e,{global:!0});return delete y.id,delete y.onClick,v.createElement(J.div,{...V(y,_),ref:t,slot:e.slot||void 0,"data-selected":d||void 0,"data-disabled":f||void 0,"data-readonly":p||void 0,"data-invalid":m||void 0,"data-required":e.isRequired||void 0},v.createElement(Id,{values:[[KN,s],[qN,{...c,inputRef:o,defaultClassName:`react-aria-SwitchButton`,isRequired:e.isRequired}],[ey,{slots:{description:l,errorMessage:u}}],[xx,{isInvalid:m,validationDetails:h,validationErrors:g}]]},_.children))}),YN=(0,v.forwardRef)(function(e,t){let{labelProps:n,inputProps:r,isSelected:i,isDisabled:a,isReadOnly:o,isPressed:s,isInvalid:c,inputRef:l,defaultClassName:u,isRequired:d}=(0,v.useContext)(qN),{isFocused:f,isFocusVisible:p,focusProps:m}=em(),h=a||o,g=(0,v.useContext)(KN),{hoverProps:_,isHovered:y}=om({...e,isDisabled:h}),b=Ld({...e,defaultClassName:u,values:{isSelected:i,isPressed:s,isHovered:y,isFocused:f,isFocusVisible:p,isDisabled:a,isReadOnly:o,isInvalid:c,isRequired:d||!1,state:g}}),x=H(e,{global:!0});return delete x.id,delete x.onClick,v.createElement(J.label,{...V(x,n,_,b),ref:t,slot:e.slot||void 0,"data-selected":i||void 0,"data-pressed":s||void 0,"data-hovered":y||void 0,"data-focused":f||void 0,"data-focus-visible":p||void 0,"data-disabled":a||void 0,"data-readonly":o||void 0,"data-invalid":c||void 0,"data-required":d||void 0},v.createElement($g,{elementType:`span`},v.createElement(`input`,{...V(r,m),ref:l})),b.children)}),XN=(0,v.createContext)({}),ZN=({children:e,className:t,size:n,...r})=>{let i=v.useMemo(()=>Td({size:n}),[n]);return(0,U.jsx)(JN,{"data-slot":`switch`,...r,className:Y(t,i.base()),children:t=>(0,U.jsx)(XN,{value:{slots:i,state:t},children:typeof e==`function`?e(t):e})})};ZN.displayName=`HeroUI.Switch`;var QN=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(XN);return(0,U.jsx)(YN,{"data-slot":`switch-content`,...n,className:Y(t,r?.content()),children:e})};QN.displayName=`HeroUI.Switch.Content`;var $N=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(XN);return(0,U.jsx)(W.span,{className:X(r?.control,t),"data-slot":`switch-control`,...n,children:e})};$N.displayName=`HeroUI.Switch.Control`;var eP=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(XN);return(0,U.jsx)(W.span,{className:X(r?.thumb,t),"data-slot":`switch-thumb`,...n,children:e})};eP.displayName=`HeroUI.Switch.Thumb`;var tP=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(XN);return(0,U.jsx)(W.span,{className:X(r?.icon,t),"data-slot":`switch-icon`,...n,children:e})};tP.displayName=`HeroUI.Switch.Icon`;var nP=Object.assign(ZN,{Root:ZN,Content:QN,Control:$N,Thumb:eP,Icon:tP}),rP=new WeakMap;function iP(e,t,n){return e?(typeof t==`string`&&(t=t.replace(/\s+/g,``)),`${rP.get(e)}-${n}-${t}`):``}function aP(e,t,n){let{key:r,isDisabled:i,shouldSelectOnPressUp:a}=e,{selectionManager:o,selectedKey:s}=t,c=r===s,l=i||t.isDisabled||t.selectionManager.isDisabled(r),u=t.collection.getItem(r),{itemProps:d,isPressed:f}=ab({selectionManager:o,key:r,ref:n,isDisabled:l,shouldSelectOnPressUp:a??u?.props.href!=null,linkBehavior:`selection`}),p=iP(t,r,`tab`),m=iP(t,r,`tabpanel`),{tabIndex:h}=d,g=H(u?.props,{labelable:!0});delete g.id;let _=Va(u?.props),{focusableProps:v}=Mp({...u?.props,isDisabled:l},n);return{tabProps:V(g,v,_,d,{id:p,"aria-selected":c,"aria-disabled":l||void 0,"aria-controls":c?m:void 0,tabIndex:l?void 0:h,role:`tab`}),isSelected:c,isDisabled:l,isPressed:f}}function oP(e,t){let n=t?.isDisabled,[r,i]=(0,v.useState)(!1);return Ua(()=>{if(e?.current&&!n){let t=()=>{if(e.current){let t=Fh(e.current,{tabbable:!0});i(!!t.nextNode())}};t();let n=new MutationObserver(t);return n.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:[`tabIndex`,`disabled`]}),()=>{n.disconnect()}}}),!n&&r}function sP(e,t,n){let r=oP(n)?void 0:0,i=iP(t,e.id??t?.selectedKey,`tabpanel`);return{tabPanelProps:V(Uo({...e,id:i,"aria-labelledby":iP(t,t?.selectedKey,`tab`)}),{tabIndex:r,role:`tabpanel`,"aria-describedby":e[`aria-describedby`],"aria-details":e[`aria-details`]})}}var cP=class{constructor(e,t,n,r=new Set){this.collection=e,this.flipDirection=t===`rtl`&&n===`horizontal`,this.disabledKeys=r,this.tabDirection=n===`horizontal`}getKeyLeftOf(e){return this.flipDirection?this.getNextKey(e):this.getPreviousKey(e)}getKeyRightOf(e){return this.flipDirection?this.getPreviousKey(e):this.getNextKey(e)}isDisabled(e){return this.disabledKeys.has(e)||!!this.collection.getItem(e)?.props?.isDisabled}getFirstKey(){let e=this.collection.getFirstKey();return e!=null&&this.isDisabled(e)&&(e=this.getNextKey(e)),e}getLastKey(){let e=this.collection.getLastKey();return e!=null&&this.isDisabled(e)&&(e=this.getPreviousKey(e)),e}getKeyAbove(e){return this.tabDirection?null:this.getPreviousKey(e)}getKeyBelow(e){return this.tabDirection?null:this.getNextKey(e)}getNextKey(e){let t=e;do t=this.collection.getKeyAfter(t),t??=this.collection.getFirstKey();while(t!=null&&this.isDisabled(t)&&t!==e);return t}getPreviousKey(e){let t=e;do t=this.collection.getKeyBefore(t),t??=this.collection.getLastKey();while(t!=null&&this.isDisabled(t)&&t!==e);return t}};function lP(e,t,n){let{orientation:r=`horizontal`,keyboardActivation:i=`automatic`}=e,{collection:a,selectionManager:o,disabledKeys:s}=t,{direction:c}=lf(),{collectionProps:l}=Qy({ref:n,selectionManager:o,keyboardDelegate:(0,v.useMemo)(()=>new cP(a,c,r,s),[a,s,r,c]),selectOnFocus:i===`automatic`,disallowEmptySelection:!0,scrollRef:n,linkBehavior:`selection`}),u=so();return rP.set(t,u),{tabListProps:{...V(l,Uo({...e,id:u})),role:`tablist`,"aria-orientation":r,tabIndex:void 0}}}function uP(e){let[t,n]=fm(e.selectedKey,e.defaultSelectedKey??null,e.onSelectionChange),r=(0,v.useMemo)(()=>t==null?[]:[t],[t]),{collection:i,disabledKeys:a,selectionManager:o}=kS({...e,selectionMode:`single`,disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:r,onSelectionChange:r=>{if(r===`all`)return;let i=r.values().next().value??null;i===t&&e.onSelectionChange&&e.onSelectionChange(i),n(i)}});return{collection:i,disabledKeys:a,selectionManager:o,selectedKey:t,setSelectedKey:n,selectedItem:t==null?null:i.getItem(t)}}function dP(e){let t=uP({...e,onSelectionChange:e.onSelectionChange?t=>{t!=null&&e.onSelectionChange?.(t)}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:e.defaultSelectedKey??fP(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)??void 0}),{selectionManager:n,collection:r,selectedKey:i}=t,a=(0,v.useRef)(i);return(0,v.useEffect)(()=>{let o=i;e.selectedKey==null&&(n.isEmpty||o==null||!r.getItem(o))&&(o=fP(r,t.disabledKeys),o!=null&&n.setSelectedKeys([o])),(o!=null&&n.focusedKey==null||!n.isFocused&&o!==a.current)&&n.setFocusedKey(o),a.current=o}),{...t,isDisabled:e.isDisabled||!1}}function fP(e,t){let n=null;if(e){for(n=e.getFirstKey();n!=null&&(t.has(n)||e.getItem(n)?.props?.isDisabled)&&n!==e.getLastKey();)n=e.getKeyAfter(n);n!=null&&(t.has(n)||e.getItem(n)?.props?.isDisabled)&&n===e.getLastKey()&&(n=e.getFirstKey())}return n}var pP=(0,v.createContext)(null),mP=(0,v.createContext)(null),hP=(0,v.forwardRef)(function(e,t){[e,t]=Bd(e,t,pP);let{children:n,orientation:r=`horizontal`}=e;return n=(0,v.useMemo)(()=>typeof n==`function`?n({orientation:r,defaultChildren:null}):n,[n,r]),v.createElement(j_,{content:n},n=>v.createElement(gP,{props:e,collection:n,tabsRef:t}))});function gP({props:e,tabsRef:t,collection:n}){let{orientation:r=`horizontal`}=e,i=dP({...e,collection:n,children:void 0}),{focusProps:a,isFocused:o,isFocusVisible:s}=em({within:!0}),c=(0,v.useMemo)(()=>({orientation:r,isFocusWithin:o,isFocusVisible:s}),[r,o,s]),l=Ld({...e,defaultClassName:`react-aria-Tabs`,values:c}),u=H(e,{global:!0});return v.createElement(J.div,{...V(u,l,a),ref:t,slot:e.slot||void 0,"data-focused":o||void 0,"data-orientation":r,"data-focus-visible":s||void 0,"data-disabled":i.isDisabled||void 0},v.createElement(Id,{values:[[pP,e],[mP,i]]},l.children))}var _P=(0,v.forwardRef)(function(e,t){return(0,v.useContext)(mP)?v.createElement(vP,{props:e,forwardedRef:t}):v.createElement(U_,e)});function vP({props:e,forwardedRef:t}){let n=(0,v.useContext)(mP),{CollectionRoot:r}=(0,v.useContext)(Y_),{orientation:i=`horizontal`,keyboardActivation:a=`automatic`}=zd(pP),o=Wo(t),{tabListProps:s}=lP({...e,orientation:i,keyboardActivation:a},n,o),c=Ld({...e,children:null,defaultClassName:`react-aria-TabList`,values:{orientation:i,state:n}}),l=H(e,{global:!0});return delete l.id,v.createElement(J.div,{...V(l,c,s),ref:o,"data-orientation":i||void 0},v.createElement(qv,null,v.createElement(r,{collection:n.collection,persistedKeys:X_(n.selectionManager.focusedKey)})))}var yP=z_(class extends m_{static{this.type=`item`}},(e,t,n)=>{let r=(0,v.useContext)(mP),i=Wo(t),{tabProps:a,isSelected:o,isDisabled:s,isPressed:c}=aP({key:n.key,...e},r,i),{focusProps:l,isFocused:u,isFocusVisible:d}=em(),{hoverProps:f,isHovered:p}=om({isDisabled:s,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),m=Ld({...e,id:void 0,children:n.rendered,defaultClassName:`react-aria-Tab`,values:{isSelected:o,isDisabled:s,isFocused:u,isFocusVisible:d,isPressed:c,isHovered:p}}),h=n.props.href?J.a:J.div,g=H(e,{global:!0});return delete g.id,delete g.onClick,v.createElement(h,{...V(g,m,a,l,f),ref:i,"data-selected":o||void 0,"data-disabled":s||void 0,"data-focused":u||void 0,"data-focus-visible":d||void 0,"data-pressed":c||void 0,"data-hovered":p||void 0},v.createElement(Yv.Provider,{value:{isSelected:o}},m.children))}),bP=qd(function(e,t){let n=(0,v.useContext)(mP),r=Wo(t),i=n.selectedKey===e.id,[a,o]=(0,v.useState)(n.selectedKey==null?null:i);a==null&&n.selectedKey!=null?o(i):!i&&a&&o(!1);let s=xs(r,i);return!i&&!e.shouldForceMount&&!s?null:v.createElement(xP,{...e,tabPanelRef:r,isInitiallySelected:a||!1,isExiting:s})});function xP(e){let t=(0,v.useContext)(mP),{id:n,tabPanelRef:r,isInitiallySelected:i,isExiting:a,...o}=e,{tabPanelProps:s}=sP(e,t,r),{focusProps:c,isFocused:l,isFocusVisible:u}=em(),d=t.selectedKey===e.id,f=bs(r)&&!i,p=Ld({...e,defaultClassName:`react-aria-TabPanel`,values:{isFocused:l,isFocusVisible:u,isInert:vs(!d),isEntering:f,isExiting:a,state:t}}),m=H(o,{global:!0});delete m.id;let h=d?V(m,s,c,p):V(m,p);return v.createElement(J.div,{...h,ref:r,"data-focused":l||void 0,"data-focus-visible":u||void 0,inert:vs(!d||e.inert),"data-inert":d?void 0:`true`,"data-entering":f||void 0,"data-exiting":a||void 0},v.createElement(Id,{values:[[pP,null],[mP,null]]},v.createElement(Y_.Provider,{value:K_},p.children)))}var SP=(0,v.createContext)({}),CP=UT(`tabs.listContainer`),wP=({children:e,className:t,orientation:n=`horizontal`,variant:r,...i})=>{let a=v.useMemo(()=>Dd({variant:r}),[r]);return(0,U.jsx)(SP,{value:{orientation:n,slots:a},children:(0,U.jsx)(hP,{...i,className:Y(t,a.base()),"data-slot":`tabs`,orientation:n,children:e})})},TP=({children:e,className:t,render:n,...r})=>(0,U.jsx)(CP.Injector,{...r,className:t,render:n,children:e}),EP=({children:e,className:t,...n})=>{let{orientation:r=`horizontal`,slots:i}=(0,v.use)(SP),a=(0,v.useRef)(null),o=r===`vertical`,[s,c]=CP.useSlot(n),l=(0,v.useCallback)(e=>{let t=a.current;if(!t)return;let n=o?t.clientHeight:t.clientWidth,r=o?t.scrollHeight:t.scrollWidth,i=Math.max(0,r-n),s=!o&&getComputedStyle(t).direction===`rtl`,c=e*n*.8*(s?-1:1),l=o?t.scrollTop:t.scrollLeft,u=Math.min(s?0:i,Math.max(s?-i:0,l+c));u!==l&&t.scrollTo({behavior:`smooth`,[o?`top`:`left`]:u})},[o]);if(!s)return(0,U.jsx)(_P,{...c,className:Y(t,i?.tabList()),"data-slot":`tabs-list`,children:e});let{className:u,render:d,...f}=s;return(0,U.jsx)(_P,{...c,className:Y(t,i?.tabList()),"data-slot":`tabs-list`,render:e=>{let{children:t,className:n,ref:s,...c}=e;return(0,U.jsxs)(W.div,{className:X(i?.tabListContainer,u),"data-slot":`tabs-list-container`,render:d,...f,children:[(0,U.jsx)(MN,{ref:a,hideScrollBar:!0,className:X(i?.scroller),orientation:r,size:64,children:(0,U.jsx)(`div`,{...c,ref:s,className:n,children:t})}),(0,U.jsx)(`button`,{"aria-label":o?`Scroll tabs up`:`Scroll tabs left`,className:X(i?.scrollPrev),tabIndex:-1,type:`button`,onClick:()=>l(-1),children:o?(0,U.jsx)(_m,{}):(0,U.jsx)(vm,{})}),(0,U.jsx)(`button`,{"aria-label":o?`Scroll tabs down`:`Scroll tabs right`,className:X(i?.scrollNext),tabIndex:-1,type:`button`,onClick:()=>l(1),children:o?(0,U.jsx)(gm,{}):(0,U.jsx)(ym,{})})]})},children:e})},DP=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(SP);return(0,U.jsx)(yP,{...n,className:Y(t,r?.tab()),"data-slot":`tabs-tab`,children:e})},OP=Object.assign(wP,{Root:wP,ListContainer:TP,List:EP,Tab:DP,Indicator:({className:e,...t})=>{let{slots:n}=(0,v.use)(SP);return(0,U.jsx)(Xv,{className:X(n?.tabIndicator,e),"data-slot":`tabs-indicator`,...t})},Separator:({className:e,...t})=>{let{slots:n}=(0,v.use)(SP);return(0,U.jsx)(W.span,{"aria-hidden":`true`,className:X(n?.separator,e),"data-slot":`tabs-separator`,...t})},Panel:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(SP);return(0,U.jsx)(bP,{...n,className:Y(t,r?.tabPanel()),"data-slot":`tabs-panel`,children:e})}}),kP={};kP={deselectedItem:e=>`${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,longPressToSelect:`اضغط مطولًا للدخول إلى وضع التحديد.`,select:`تحديد`,selectedAll:`جميع العناصر المحددة.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`لم يتم تحديد عناصر`,one:()=>`${t.number(e.count)} \u{639}\u{646}\u{635}\u{631} \u{645}\u{62D}\u{62F}\u{62F}`,other:()=>`${t.number(e.count)} \u{639}\u{646}\u{635}\u{631} \u{645}\u{62D}\u{62F}\u{62F}`})}.`,selectedItem:e=>`${e.item} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`};var AP={};AP={deselectedItem:e=>`${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,longPressToSelect:`Натиснете и задръжте за да влезете в избирателен режим.`,select:`Изберете`,selectedAll:`Всички елементи са избрани.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Няма избрани елементи`,one:()=>`${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,other:()=>`${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438}`})}.`,selectedItem:e=>`${e.item} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`};var jP={};jP={deselectedItem:e=>`Polo\u{17E}ka ${e.item} nen\xed vybr\xe1na.`,longPressToSelect:`Dlouhým stisknutím přejdete do režimu výběru.`,select:`Vybrat`,selectedAll:`Vybrány všechny položky.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Nevybrány žádné položky`,one:()=>`Vybr\xe1na ${t.number(e.count)} polo\u{17E}ka`,other:()=>`Vybr\xe1no ${t.number(e.count)} polo\u{17E}ek`})}.`,selectedItem:e=>`Vybr\xe1na polo\u{17E}ka ${e.item}.`};var MP={};MP={deselectedItem:e=>`${e.item} ikke valgt.`,longPressToSelect:`Lav et langt tryk for at aktivere valgtilstand.`,select:`Vælg`,selectedAll:`Alle elementer valgt.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Ingen elementer valgt`,one:()=>`${t.number(e.count)} element valgt`,other:()=>`${t.number(e.count)} elementer valgt`})}.`,selectedItem:e=>`${e.item} valgt.`};var NP={};NP={deselectedItem:e=>`${e.item} nicht ausgew\xe4hlt.`,longPressToSelect:`Gedrückt halten, um Auswahlmodus zu öffnen.`,select:`Auswählen`,selectedAll:`Alle Elemente ausgewählt.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Keine Elemente ausgewählt`,one:()=>`${t.number(e.count)} Element ausgew\xe4hlt`,other:()=>`${t.number(e.count)} Elemente ausgew\xe4hlt`})}.`,selectedItem:e=>`${e.item} ausgew\xe4hlt.`};var PP={};PP={deselectedItem:e=>`\u{394}\u{3B5}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`,longPressToSelect:`Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.`,select:`Επιλογή`,selectedAll:`Επιλέχθηκαν όλα τα στοιχεία.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Δεν επιλέχθηκαν στοιχεία`,one:()=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} ${t.number(e.count)} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF}`,other:()=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B1}\u{3BD} ${t.number(e.count)} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3B1}`})}.`,selectedItem:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`};var FP={};FP={deselectedItem:e=>`${e.item} not selected.`,select:`Select`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`No items selected`,one:()=>`${t.number(e.count)} item selected`,other:()=>`${t.number(e.count)} items selected`})}.`,selectedAll:`All items selected.`,selectedItem:e=>`${e.item} selected.`,longPressToSelect:`Long press to enter selection mode.`};var IP={};IP={deselectedItem:e=>`${e.item} no seleccionado.`,longPressToSelect:`Mantenga pulsado para abrir el modo de selección.`,select:`Seleccionar`,selectedAll:`Todos los elementos seleccionados.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Ningún elemento seleccionado`,one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,selectedItem:e=>`${e.item} seleccionado.`};var LP={};LP={deselectedItem:e=>`${e.item} pole valitud.`,longPressToSelect:`Valikurežiimi sisenemiseks vajutage pikalt.`,select:`Vali`,selectedAll:`Kõik üksused valitud.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Üksusi pole valitud`,one:()=>`${t.number(e.count)} \xfcksus valitud`,other:()=>`${t.number(e.count)} \xfcksust valitud`})}.`,selectedItem:e=>`${e.item} valitud.`};var RP={};RP={deselectedItem:e=>`Kohdetta ${e.item} ei valittu.`,longPressToSelect:`Siirry valintatilaan painamalla pitkään.`,select:`Valitse`,selectedAll:`Kaikki kohteet valittu.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Ei yhtään kohdetta valittu`,one:()=>`${t.number(e.count)} kohde valittu`,other:()=>`${t.number(e.count)} kohdetta valittu`})}.`,selectedItem:e=>`${e.item} valittu.`};var zP={};zP={deselectedItem:e=>`${e.item} non s\xe9lectionn\xe9.`,longPressToSelect:`Appuyez de manière prolongée pour passer en mode de sélection.`,select:`Sélectionner`,selectedAll:`Tous les éléments sélectionnés.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Aucun élément sélectionné`,one:()=>`${t.number(e.count)} \xe9l\xe9ment s\xe9lectionn\xe9`,other:()=>`${t.number(e.count)} \xe9l\xe9ments s\xe9lectionn\xe9s`})}.`,selectedItem:e=>`${e.item} s\xe9lectionn\xe9.`};var BP={};BP={deselectedItem:e=>`${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,longPressToSelect:`הקשה ארוכה לכניסה למצב בחירה.`,select:`בחר`,selectedAll:`כל הפריטים נבחרו.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`לא נבחרו פריטים`,one:()=>`\u{5E4}\u{5E8}\u{5D9}\u{5D8} ${t.number(e.count)} \u{5E0}\u{5D1}\u{5D7}\u{5E8}`,other:()=>`${t.number(e.count)} \u{5E4}\u{5E8}\u{5D9}\u{5D8}\u{5D9}\u{5DD} \u{5E0}\u{5D1}\u{5D7}\u{5E8}\u{5D5}`})}.`,selectedItem:e=>`${e.item} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`};var VP={};VP={deselectedItem:e=>`Stavka ${e.item} nije odabrana.`,longPressToSelect:`Dugo pritisnite za ulazak u način odabira.`,select:`Odaberite`,selectedAll:`Odabrane su sve stavke.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Nije odabrana nijedna stavka`,one:()=>`Odabrana je ${t.number(e.count)} stavka`,other:()=>`Odabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`Stavka ${e.item} je odabrana.`};var HP={};HP={deselectedItem:e=>`${e.item} nincs kijel\xf6lve.`,longPressToSelect:`Nyomja hosszan a kijelöléshez.`,select:`Kijelölés`,selectedAll:`Az összes elem kijelölve.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Egy elem sincs kijelölve`,one:()=>`${t.number(e.count)} elem kijel\xf6lve`,other:()=>`${t.number(e.count)} elem kijel\xf6lve`})}.`,selectedItem:e=>`${e.item} kijel\xf6lve.`};var UP={};UP={deselectedItem:e=>`${e.item} non selezionato.`,longPressToSelect:`Premi a lungo per passare alla modalità di selezione.`,select:`Seleziona`,selectedAll:`Tutti gli elementi selezionati.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Nessun elemento selezionato`,one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,selectedItem:e=>`${e.item} selezionato.`};var WP={};WP={deselectedItem:e=>`${e.item} \u{304C}\u{9078}\u{629E}\u{3055}\u{308C}\u{3066}\u{3044}\u{307E}\u{305B}\u{3093}\u{3002}`,longPressToSelect:`長押しして選択モードを開きます。`,select:`選択`,selectedAll:`すべての項目を選択しました。`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`項目が選択されていません`,one:()=>`${t.number(e.count)} \u{9805}\u{76EE}\u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}`,other:()=>`${t.number(e.count)} \u{9805}\u{76EE}\u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}`})}\u{3002}`,selectedItem:e=>`${e.item} \u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}\u{3002}`};var GP={};GP={deselectedItem:e=>`${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C9C0} \u{C54A}\u{C558}\u{C2B5}\u{B2C8}\u{B2E4}.`,longPressToSelect:`선택 모드로 들어가려면 길게 누르십시오.`,select:`선택`,selectedAll:`모든 항목이 선택되었습니다.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`선택된 항목이 없습니다`,one:()=>`${t.number(e.count)}\u{AC1C} \u{D56D}\u{BAA9}\u{C774} \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}`,other:()=>`${t.number(e.count)}\u{AC1C} \u{D56D}\u{BAA9}\u{C774} \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}`})}.`,selectedItem:e=>`${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}.`};var KP={};KP={deselectedItem:e=>`${e.item} nepasirinkta.`,longPressToSelect:`Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.`,select:`Pasirinkti`,selectedAll:`Pasirinkti visi elementai.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Nepasirinktas nė vienas elementas`,one:()=>`Pasirinktas ${t.number(e.count)} elementas`,other:()=>`Pasirinkta element\u{173}: ${t.number(e.count)}`})}.`,selectedItem:e=>`Pasirinkta: ${e.item}.`};var qP={};qP={deselectedItem:e=>`Vienums ${e.item} nav atlas\u{12B}ts.`,longPressToSelect:`Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.`,select:`Atlasīt`,selectedAll:`Atlasīti visi vienumi.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Nav atlasīts neviens vienums`,one:()=>`Atlas\u{12B}to vienumu skaits: ${t.number(e.count)}`,other:()=>`Atlas\u{12B}to vienumu skaits: ${t.number(e.count)}`})}.`,selectedItem:e=>`Atlas\u{12B}ts vienums ${e.item}.`};var JP={};JP={deselectedItem:e=>`${e.item} er ikke valgt.`,longPressToSelect:`Bruk et langt trykk for å gå inn i valgmodus.`,select:`Velg`,selectedAll:`Alle elementer er valgt.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Ingen elementer er valgt`,one:()=>`${t.number(e.count)} element er valgt`,other:()=>`${t.number(e.count)} elementer er valgt`})}.`,selectedItem:e=>`${e.item} er valgt.`};var YP={};YP={deselectedItem:e=>`${e.item} niet geselecteerd.`,longPressToSelect:`Druk lang om de selectiemodus te openen.`,select:`Selecteren`,selectedAll:`Alle items geselecteerd.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Geen items geselecteerd`,one:()=>`${t.number(e.count)} item geselecteerd`,other:()=>`${t.number(e.count)} items geselecteerd`})}.`,selectedItem:e=>`${e.item} geselecteerd.`};var XP={};XP={deselectedItem:e=>`Nie zaznaczono ${e.item}.`,longPressToSelect:`Naciśnij i przytrzymaj, aby wejść do trybu wyboru.`,select:`Zaznacz`,selectedAll:`Wszystkie zaznaczone elementy.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Nie zaznaczono żadnych elementów`,one:()=>`${t.number(e.count)} zaznaczony element`,other:()=>`${t.number(e.count)} zaznaczonych element\xf3w`})}.`,selectedItem:e=>`Zaznaczono ${e.item}.`};var ZP={};ZP={deselectedItem:e=>`${e.item} n\xe3o selecionado.`,longPressToSelect:`Mantenha pressionado para entrar no modo de seleção.`,select:`Selecionar`,selectedAll:`Todos os itens selecionados.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Nenhum item selecionado`,one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var QP={};QP={deselectedItem:e=>`${e.item} n\xe3o selecionado.`,longPressToSelect:`Prima continuamente para entrar no modo de seleção.`,select:`Selecionar`,selectedAll:`Todos os itens selecionados.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Nenhum item selecionado`,one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var $P={};$P={deselectedItem:e=>`${e.item} neselectat.`,longPressToSelect:`Apăsați lung pentru a intra în modul de selectare.`,select:`Selectare`,selectedAll:`Toate elementele selectate.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Niciun element selectat`,one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,selectedItem:e=>`${e.item} selectat.`};var eF={};eF={deselectedItem:e=>`${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect:`Нажмите и удерживайте для входа в режим выбора.`,select:`Выбрать`,selectedAll:`Выбраны все элементы.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Нет выбранных элементов`,one:()=>`${t.number(e.count)} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}`,other:()=>`${t.number(e.count)} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{43E}\u{432} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}`})}.`,selectedItem:e=>`${e.item} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`};var tF={};tF={deselectedItem:e=>`Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,longPressToSelect:`Dlhším stlačením prejdite do režimu výberu.`,select:`Vybrať`,selectedAll:`Všetky vybraté položky.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Žiadne vybraté položky`,one:()=>`${t.number(e.count)} vybrat\xe1 polo\u{17E}ka`,other:()=>`Po\u{10D}et vybrat\xfdch polo\u{17E}iek:${t.number(e.count)}`})}.`,selectedItem:e=>`Vybrat\xe9 polo\u{17E}ky: ${e.item}.`};var nF={};nF={deselectedItem:e=>`Element ${e.item} ni izbran.`,longPressToSelect:`Za izbirni način pritisnite in dlje časa držite.`,select:`Izberite`,selectedAll:`Vsi elementi so izbrani.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Noben element ni izbran`,one:()=>`${t.number(e.count)} element je izbran`,other:()=>`${t.number(e.count)} elementov je izbranih`})}.`,selectedItem:e=>`Element ${e.item} je izbran.`};var rF={};rF={deselectedItem:e=>`${e.item} nije izabrano.`,longPressToSelect:`Dugo pritisnite za ulazak u režim biranja.`,select:`Izaberite`,selectedAll:`Izabrane su sve stavke.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Nije izabrana nijedna stavka`,one:()=>`Izabrana je ${t.number(e.count)} stavka`,other:()=>`Izabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`${e.item} je izabrano.`};var iF={};iF={deselectedItem:e=>`${e.item} ej markerat.`,longPressToSelect:`Tryck länge när du vill öppna väljarläge.`,select:`Markera`,selectedAll:`Alla markerade objekt.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Inga markerade objekt`,one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,selectedItem:e=>`${e.item} markerat.`};var aF={};aF={deselectedItem:e=>`${e.item} se\xe7ilmedi.`,longPressToSelect:`Seçim moduna girmek için uzun basın.`,select:`Seç`,selectedAll:`Tüm ögeler seçildi.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Hiçbir öge seçilmedi`,one:()=>`${t.number(e.count)} \xf6ge se\xe7ildi`,other:()=>`${t.number(e.count)} \xf6ge se\xe7ildi`})}.`,selectedItem:e=>`${e.item} se\xe7ildi.`};var oF={};oF={deselectedItem:e=>`${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect:`Виконайте довге натиснення, щоб перейти в режим вибору.`,select:`Вибрати`,selectedAll:`Усі елементи вибрано.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Жодних елементів не вибрано`,one:()=>`${t.number(e.count)} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}`,other:()=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{456}\u{432}: ${t.number(e.count)}`})}.`,selectedItem:e=>`${e.item} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`};var sF={};sF={deselectedItem:e=>`\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,longPressToSelect:`长按以进入选择模式。`,select:`选择`,selectedAll:`已选择所有项目。`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`未选择项目`,one:()=>`\u{5DF2}\u{9009}\u{62E9} ${t.number(e.count)} \u{4E2A}\u{9879}\u{76EE}`,other:()=>`\u{5DF2}\u{9009}\u{62E9} ${t.number(e.count)} \u{4E2A}\u{9879}\u{76EE}`})}\u{3002}`,selectedItem:e=>`\u{5DF2}\u{9009}\u{62E9} ${e.item}\u{3002}`};var cF={};cF={deselectedItem:e=>`\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,longPressToSelect:`長按以進入選擇模式。`,select:`選取`,selectedAll:`已選取所有項目。`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`未選取任何項目`,one:()=>`\u{5DF2}\u{9078}\u{53D6} ${t.number(e.count)} \u{500B}\u{9805}\u{76EE}`,other:()=>`\u{5DF2}\u{9078}\u{53D6} ${t.number(e.count)} \u{500B}\u{9805}\u{76EE}`})}\u{3002}`,selectedItem:e=>`\u{5DF2}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`};var lF={};lF={"ar-AE":kP,"bg-BG":AP,"cs-CZ":jP,"da-DK":MP,"de-DE":NP,"el-GR":PP,"en-US":FP,"es-ES":IP,"et-EE":LP,"fi-FI":RP,"fr-FR":zP,"he-IL":BP,"hr-HR":VP,"hu-HU":HP,"it-IT":UP,"ja-JP":WP,"ko-KR":GP,"lt-LT":KP,"lv-LV":qP,"nb-NO":JP,"nl-NL":YP,"pl-PL":XP,"pt-BR":ZP,"pt-PT":QP,"ro-RO":$P,"ru-RU":eF,"sk-SK":tF,"sl-SI":nF,"sr-SP":rF,"sv-SE":iF,"tr-TR":aF,"uk-UA":oF,"zh-CN":sF,"zh-TW":cF};function uF(e){return e&&e.__esModule?e.default:e}function dF(e,t){let{getRowText:n=e=>t.collection.getTextValue?.(e)??t.collection.getItem(e)?.textValue}=e,r=Xg(uF(lF),`@react-aria/grid`),i=t.selectionManager.rawSelection,a=(0,v.useRef)(i),o=(0,v.useCallback)(()=>{if(!t.selectionManager.isFocused||i===a.current){a.current=i;return}let e=fF(i,a.current),o=fF(a.current,i),s=t.selectionManager.selectionBehavior===`replace`,c=[];if(t.selectionManager.selectedKeys.size===1&&s){let e=t.selectionManager.selectedKeys.keys().next().value;if(e!=null&&t.collection.getItem(e)){let t=n(e);t&&c.push(r.format(`selectedItem`,{item:t}))}}else if(e.size===1&&o.size===0){let t=e.keys().next().value;if(t!=null){let e=n(t);e&&c.push(r.format(`selectedItem`,{item:e}))}}else if(o.size===1&&e.size===0){let e=o.keys().next().value;if(e!=null&&t.collection.getItem(e)){let t=n(e);t&&c.push(r.format(`deselectedItem`,{item:t}))}}t.selectionManager.selectionMode===`multiple`&&(c.length===0||i===`all`||i.size>1||a.current===`all`||a.current?.size>1)&&c.push(i===`all`?r.format(`selectedAll`):r.format(`selectedCount`,{count:i.size})),c.length>0&&Pf(c.join(` `)),a.current=i},[i,t.selectionManager.selectedKeys,t.selectionManager.isFocused,t.selectionManager.selectionBehavior,t.selectionManager.selectionMode,t.collection,n,r]);qo(()=>{if(t.selectionManager.isFocused)o();else{let e=requestAnimationFrame(o);return()=>cancelAnimationFrame(e)}},[i,t.selectionManager.isFocused])}function fF(e,t){let n=new Set;if(e===`all`||t===`all`)return n;for(let r of e.keys())t.has(r)||n.add(r);return n}function pF(e){return e&&e.__esModule?e.default:e}function mF(e){let t=Xg(pF(lF),`@react-aria/grid`),n=lp(),r=(n===`pointer`||n===`virtual`||n==null)&&typeof window<`u`&&`ontouchstart`in window;return ls((0,v.useMemo)(()=>{let n=e.selectionManager.selectionMode,i=e.selectionManager.selectionBehavior,a;return r&&(a=t.format(`longPressToSelect`)),i===`replace`&&n!==`none`&&e.hasItemActions?a:void 0},[e.selectionManager.selectionMode,e.selectionManager.selectionBehavior,e.hasItemActions,t,r]))}var hF=Object.assign(BN,{Root:BN,Separator:VN}),gF=(0,v.createContext)({}),_F=(0,v.forwardRef)(function(e,t){[e,t]=Bd(e,t,gF);let{toolbarProps:n}=_C(e,t),r=Ld({...e,values:{orientation:e.orientation||`horizontal`},defaultClassName:`react-aria-Toolbar`}),i=H(e,{global:!0});return delete i.id,v.createElement(J.div,{...V(i,r,n),ref:t,slot:e.slot||void 0,"data-orientation":e.orientation||`horizontal`},r.children)}),vF=({children:e,className:t,isAttached:n,orientation:r=`horizontal`,...i})=>{let a=v.useMemo(()=>Nd({isAttached:n,orientation:r}),[n,r]);return(0,U.jsx)(xC.Provider,{value:{orientation:r},children:(0,U.jsx)(Qv.Provider,{value:{orientation:r===`horizontal`?`vertical`:`horizontal`},children:(0,U.jsx)(_F,{className:Y(t,a),"data-slot":`toolbar`,orientation:r,...i,children:e})})})};vF.displayName=`HeroUI.Toolbar`;var yF=Object.assign(vF,{Root:vF}),bF=v.createContext(null);function xF(e){let{children:t}=e,n=(0,v.useContext)(bF),[r,i]=(0,v.useState)(0),a=(0,v.useMemo)(()=>({parent:n,modalCount:r,addModal(){i(e=>e+1),n&&n.addModal()},removeModal(){i(e=>e-1),n&&n.removeModal()}}),[n,r]);return v.createElement(bF.Provider,{value:a},t)}function SF(){let e=(0,v.useContext)(bF);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:void 0}}}function CF(e){let{modalProviderProps:t}=SF();return v.createElement(`div`,{"data-overlay-container":!0,...e,...t})}function wF(e){return v.createElement(xF,null,v.createElement(CF,e))}function TF(e){let t=to(),{portalContainer:n=t?null:document.body,...r}=e,{getContainer:i}=a_();if(!e.portalContainer&&i&&(n=i()),v.useEffect(()=>{if(n?.closest(`[data-overlay-container]`))throw Error(`An OverlayContainer must not be inside another container. Please change the portalContainer prop.`)},[n]),!n)return null;let a=v.createElement(wF,r);return ys.createPortal(a,n)}var EF=1500,DF=500,OF={},kF=0,AF=!1,jF=null,MF=null;function NF(e={}){let{delay:t=EF,closeDelay:n=DF}=e,{isOpen:r,open:i,close:a}=l_(e),[o,s]=(0,v.useState)(!1),c=(0,v.useMemo)(()=>`${++kF}`,[]),l=(0,v.useRef)(null),u=(0,v.useRef)(a),d=()=>{OF[c]=m},f=()=>{for(let e in OF)e!==c&&(OF[e](!0,!0),delete OF[e])},p=e=>{l.current&&clearTimeout(l.current),l.current=null,f(),d(),s(!!e),AF=!0,i(),jF&&=(clearTimeout(jF),null),MF&&=(clearTimeout(MF),null)},m=(e,t)=>{s(!!t),e||n<=0?(l.current&&clearTimeout(l.current),l.current=null,u.current()):l.current||=setTimeout(()=>{l.current=null,u.current()},n),jF&&=(clearTimeout(jF),null),AF&&(MF&&clearTimeout(MF),MF=setTimeout(()=>{delete OF[c],MF=null,AF=!1},Math.max(DF,n)))},h=()=>{f(),d(),!r&&!AF?(jF&&clearTimeout(jF),jF=setTimeout(()=>{jF=null,AF=!0,p(!1)},t)):r||p(!0)};return(0,v.useEffect)(()=>{u.current=a},[a]),(0,v.useEffect)(()=>()=>{l.current&&clearTimeout(l.current),OF[c]&&delete OF[c]},[c]),{isOpen:r,shouldSkipAnimation:o,open:e=>{!e&&t>0&&!l.current?h():p(AF)},close:m}}function PF(e,t){let n=H(e,{labelable:!0}),{hoverProps:r}=om({onHoverStart:()=>t?.open(!0),onHoverEnd:()=>t?.close()});return{tooltipProps:V(n,r,{role:`tooltip`})}}function FF(e,t,n){let{isDisabled:r,trigger:i,shouldCloseOnPress:a=!0}=e,o=so(),s=(0,v.useRef)(!1),c=(0,v.useRef)(!1),l=()=>{(s.current||c.current)&&t.open(c.current)},u=e=>{!s.current&&!c.current&&t.close(e)};(0,v.useEffect)(()=>{let e=e=>{n&&n.current&&e.key===`Escape`&&(e.stopPropagation(),t.close(!0))};if(t.isOpen)return document.addEventListener(`keydown`,e,!0),()=>{document.removeEventListener(`keydown`,e,!0)}},[n,t]);let d=()=>{i!==`focus`&&(op()===`pointer`?s.current=!0:s.current=!1,l())},f=()=>{i!==`focus`&&(c.current=!1,s.current=!1,u())},p=()=>{a&&(c.current=!1,s.current=!1,u(!0))},m=()=>{ap()&&(c.current=!0,l())},h=()=>{c.current=!1,s.current=!1,u(!0)},{hoverProps:g}=om({isDisabled:r,onHoverStart:d,onHoverEnd:f}),{focusableProps:_}=Mp({isDisabled:r,onFocus:m,onBlur:h},n);return{triggerProps:{"aria-describedby":t.isOpen?o:void 0,...V(_,g,{onPointerDown:p,onKeyDown:p}),tabIndex:void 0},tooltipProps:{id:o}}}var IF=(0,v.createContext)(null),LF=(0,v.createContext)(null);function RF(e){let t=NF(e),n=(0,v.useRef)(null),{triggerProps:r,tooltipProps:i}=FF(e,t,n);return v.createElement(Id,{values:[[IF,t],[LF,{...i,triggerRef:n}]]},v.createElement(jp,{...r,ref:n},e.children))}var zF=(0,v.forwardRef)(function({UNSTABLE_portalContainer:e,...t},n){[t,n]=Bd(t,n,LF);let r=(0,v.useContext)(IF),i=NF(t),a=t.isOpen!=null||t.defaultOpen!=null||!r?i:r,o=xs(n,a.isOpen),s=t.isExiting||!a.shouldSkipAnimation&&o||!1;return!a.isOpen&&!s?null:v.createElement(TF,{portalContainer:e},v.createElement(BF,{...t,tooltipRef:n,isExiting:s}))});function BF(e){let t=(0,v.useContext)(IF),n=(0,v.useRef)(null),{overlayProps:r,arrowProps:i,placement:a,triggerAnchorPoint:o}=lh({placement:e.placement||`top`,targetRef:e.triggerRef,overlayRef:e.tooltipRef,arrowRef:n,offset:e.offset,crossOffset:e.crossOffset,isOpen:t.isOpen,arrowBoundaryOffset:e.arrowBoundaryOffset,shouldFlip:e.shouldFlip,containerPadding:e.containerPadding,onClose:()=>t.close(!0)}),s=bs(e.tooltipRef,!!a),c=e.isEntering||!t.shouldSkipAnimation&&s||!1,l=Ld({...e,defaultClassName:`react-aria-Tooltip`,values:{placement:a,isEntering:c,isExiting:e.isExiting,state:t}});e=V(e,r);let{tooltipProps:u}=PF(e,t),d=H(e,{global:!0});return v.createElement(J.div,{...V(d,l,u),ref:e.tooltipRef,style:{...r.style,"--trigger-anchor-point":o?`${o.x}px ${o.y}px`:void 0,...l.style},"data-placement":a??void 0,"data-entering":c||void 0,"data-exiting":e.isExiting||void 0},v.createElement(Am.Provider,{value:{...i,placement:a,ref:n}},l.children))}var VF=e=>{if(!e)return;let t=e.trim(),n=parseFloat(t);if(!Number.isNaN(n))return t.endsWith(`ms`)?n:t.endsWith(`s`)?n*1e3:n},HF=(0,v.createContext)({}),UF=({children:e,shouldSkipAnimation:t})=>{let n=(0,v.use)(IF);return!n||t?e:(0,U.jsx)(IF,{value:{...n,shouldSkipAnimation:!1},children:e})},WF=({children:e,closeDelay:t,delay:n,shouldSkipAnimation:r=!1,...i})=>{let a=v.useMemo(()=>Pd(),[]),o=IN(`--tooltip-delay`),s=IN(`--tooltip-close-delay`),c=n??VF(o),l=t??VF(s);return(0,U.jsx)(HF,{value:{slots:a},children:(0,U.jsx)(RF,{closeDelay:l,"data-slot":`tooltip-root`,delay:c,...i,children:(0,U.jsx)(UF,{shouldSkipAnimation:r,children:e})})})},GF=Object.assign(WF,{Root:WF,Trigger:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(HF),i=(0,v.useRef)(null),{focusableProps:a}=Mp({},i);return(0,U.jsx)(W.div,{ref:i,className:X(r?.trigger,t),"data-slot":`tooltip-trigger`,role:`button`,...V(a,n),children:e})},Content:({children:e,className:t,offset:n,showArrow:r=!1,...i})=>{let{slots:a}=(0,v.use)(HF),o=n||(r?7:3);return(0,U.jsx)(zF,{...i,className:Y(t,a?.base()),offset:o,children:e})},Arrow:({children:e,className:t,...n})=>{let r=(0,U.jsx)(`svg`,{"data-slot":`overlay-arrow`,fill:`none`,height:`12`,viewBox:`0 0 12 12`,width:`12`,xmlns:`http://www.w3.org/2000/svg`,children:(0,U.jsx)(`path`,{d:`M0 0C5.48483 8 6.5 8 12 0Z`})}),i=v.isValidElement(e)?v.cloneElement(e,{"data-slot":`overlay-arrow`}):r;return(0,U.jsx)(jm,{"data-slot":`tooltip-arrow`,...n,className:t,children:i})}}),KF=(0,v.createContext)({}),qF=e=>{let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,...i}=e;return i},JF=(0,v.forwardRef)(function(e,t){[e,t]=Bd(e,t,KF);let{hoverProps:n,isHovered:r}=om(e),{isFocused:i,isFocusVisible:a,focusProps:o}=em({isTextInput:!0,autoFocus:e.autoFocus}),s=!!e[`aria-invalid`]&&e[`aria-invalid`]!==`false`,c=Ld({...e,values:{isHovered:r,isFocused:i,isFocusVisible:a,isDisabled:e.disabled||!1,isInvalid:s},defaultClassName:`react-aria-TextArea`});return v.createElement(J.textarea,{...V(qF(e),o,n),...c,ref:t,"data-focused":i||void 0,"data-disabled":e.disabled||void 0,"data-hovered":r||void 0,"data-focus-visible":a||void 0,"data-invalid":s||void 0})}),YF=(0,v.createContext)(null),XF=qd(function(e,t){[e,t]=Bd(e,t,YF);let{validationBehavior:n}=zd(Px)||{},r=e.validationBehavior??n??`native`,i=(0,v.useRef)(null);[e,i]=Bd(e,i,Hv);let[a,o]=Vd(!e[`aria-label`]&&!e[`aria-labelledby`]),[s,c]=(0,v.useState)(`input`),{labelProps:l,inputProps:u,descriptionProps:d,errorMessageProps:f,...p}=sw({...Hd(e),inputElementType:s,label:o,validationBehavior:r},i),m=(0,v.useCallback)(e=>{i.current=e,e&&c(e instanceof HTMLTextAreaElement?`textarea`:`input`)},[i]),h=Ld({...e,values:{isDisabled:e.isDisabled||!1,isInvalid:p.isInvalid,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1},defaultClassName:`react-aria-TextField`}),g=H(e,{global:!0});return delete g.id,v.createElement(J.div,{...g,...h,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":p.isInvalid||void 0,"data-readonly":e.isReadOnly||void 0,"data-required":e.isRequired||void 0},v.createElement(Id,{values:[[Yd,{...l,ref:a}],[iw,{...u,ref:m}],[KF,{...u,ref:m}],[yx,{role:`presentation`,isInvalid:p.isInvalid,isDisabled:e.isDisabled||!1}],[ey,{slots:{description:d,errorMessage:f}}],[xx,p]]},h.children))}),ZF=(0,v.createContext)({}),QF=({children:e,className:t,fullWidth:n,variant:r,...i})=>{let a=v.useMemo(()=>Od({fullWidth:n}),[n]);return(0,U.jsx)(XF,{"data-slot":`textfield`,...i,className:Y(t,a),children:t=>(0,U.jsx)(ZF,{value:{variant:r},children:(0,U.jsx)(U.Fragment,{children:typeof e==`function`?e(t):e})})})},$F=({className:e,fullWidth:t,variant:n,...r})=>{let i=(0,v.use)(ZF),a=(0,v.use)(WT),o=n??i.variant??a.variant;return(0,U.jsx)(ow,{className:Y(e,od({fullWidth:t,variant:o})),"data-slot":`input`,...r})},eI=Object.assign($F,{Root:$F}),tI=(0,v.createContext)({}),nI=({children:e,className:t,fullWidth:n,onClick:r,variant:i,...a})=>{let o=(0,v.use)(ZF),s=i??o?.variant,c=v.useRef(null),l=v.useMemo(()=>sd({fullWidth:n,variant:s}),[n,s]),u=e=>{let t=e.target,n=c.current?.querySelector(`input`);n&&t!==n&&!n.contains(t)&&n.focus(),r?.(e)};return(0,U.jsx)(tI,{value:{slots:l},children:(0,U.jsx)(bx,{...a,ref:c,className:Y(t,l?.base()),"data-slot":`input-group`,onClick:u,children:t=>typeof e==`function`?e(t):e})})},rI=Object.assign(nI,{Root:nI,Input:({className:e,...t})=>{let{slots:n}=(0,v.use)(tI);return(0,U.jsx)(ow,{className:Y(e,n?.input()),"data-slot":`input-group-input`,...t})},TextArea:({className:e,...t})=>{let{slots:n}=(0,v.use)(tI);return(0,U.jsx)(JF,{className:Y(e,n?.input()),"data-slot":`input-group-textarea`,...t})},Prefix:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(tI);return(0,U.jsx)(`div`,{className:X(r?.prefix,t),"data-slot":`input-group-prefix`,...n,children:e})},Suffix:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(tI);return(0,U.jsx)(`div`,{className:X(r?.suffix,t),"data-slot":`input-group-suffix`,...n,children:e})}}),iI=({className:e,fullWidth:t,variant:n,...r})=>{let i=(0,v.use)(ZF),a=n??i?.variant;return(0,U.jsx)(JF,{"data-slot":`textarea`,className:Y(e,kd({fullWidth:t,variant:a})),...r})},aI=Object.assign(iI,{Root:iI}),oI=Object.assign(QF,{Root:QF}),sI={};sI={"Clear search":`مسح البحث`};var cI={};cI={"Clear search":`Изчистване на търсене`};var lI={};lI={"Clear search":`Vymazat hledání`};var uI={};uI={"Clear search":`Ryd søgning`};var dI={};dI={"Clear search":`Suche zurücksetzen`};var fI={};fI={"Clear search":`Απαλοιφή αναζήτησης`};var pI={};pI={"Clear search":`Clear search`};var mI={};mI={"Clear search":`Borrar búsqueda`};var hI={};hI={"Clear search":`Tühjenda otsing`};var gI={};gI={"Clear search":`Tyhjennä haku`};var _I={};_I={"Clear search":`Effacer la recherche`};var vI={};vI={"Clear search":`נקה חיפוש`};var yI={};yI={"Clear search":`Obriši pretragu`};var bI={};bI={"Clear search":`Keresés törlése`};var xI={};xI={"Clear search":`Cancella ricerca`};var SI={};SI={"Clear search":`検索をクリア`};var CI={};CI={"Clear search":`검색 지우기`};var wI={};wI={"Clear search":`Išvalyti iešką`};var TI={};TI={"Clear search":`Notīrīt meklēšanu`};var EI={};EI={"Clear search":`Tøm søk`};var DI={};DI={"Clear search":`Zoekactie wissen`};var OI={};OI={"Clear search":`Wyczyść zawartość wyszukiwania`};var kI={};kI={"Clear search":`Limpar pesquisa`};var AI={};AI={"Clear search":`Limpar pesquisa`};var jI={};jI={"Clear search":`Ştergeţi căutarea`};var MI={};MI={"Clear search":`Очистить поиск`};var NI={};NI={"Clear search":`Vymazať vyhľadávanie`};var PI={};PI={"Clear search":`Počisti iskanje`};var FI={};FI={"Clear search":`Obriši pretragu`};var II={};II={"Clear search":`Rensa sökning`};var LI={};LI={"Clear search":`Aramayı temizle`};var RI={};RI={"Clear search":`Очистити пошук`};var zI={};zI={"Clear search":`清除搜索`};var BI={};BI={"Clear search":`清除搜尋條件`};var VI={};VI={"ar-AE":sI,"bg-BG":cI,"cs-CZ":lI,"da-DK":uI,"de-DE":dI,"el-GR":fI,"en-US":pI,"es-ES":mI,"et-EE":hI,"fi-FI":gI,"fr-FR":_I,"he-IL":vI,"hr-HR":yI,"hu-HU":bI,"it-IT":xI,"ja-JP":SI,"ko-KR":CI,"lt-LT":wI,"lv-LV":TI,"nb-NO":EI,"nl-NL":DI,"pl-PL":OI,"pt-BR":kI,"pt-PT":AI,"ro-RO":jI,"ru-RU":MI,"sk-SK":NI,"sl-SI":PI,"sr-SP":FI,"sv-SE":II,"tr-TR":LI,"uk-UA":RI,"zh-CN":zI,"zh-TW":BI};function HI(e){return e&&e.__esModule?e.default:e}function UI(e,t,n){let r=Xg(HI(VI),`@react-aria/searchfield`),{isDisabled:i,isReadOnly:a,onSubmit:o,onClear:s,type:c=`search`}=e,{keyboardProps:l}=Op({isDisabled:i||a,shortcuts:{Enter:()=>{if(o){o(t.value);return}return!1},Escape:()=>{if(t.value===``&&(!n.current||n.current.value===``))return!1;t.setValue(``),s?.()}}}),u=()=>{t.setValue(``),s&&s()},d=()=>{n.current?.focus()},{labelProps:f,inputProps:p,descriptionProps:m,errorMessageProps:h,...g}=sw({...e,value:t.value,onChange:t.setValue,onKeyDown:e.onKeyDown,onKeyUp:e.onKeyUp,type:c},n);return{labelProps:f,inputProps:V(l,{...p,defaultValue:void 0}),clearButtonProps:{"aria-label":r.format(`Clear search`),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:i||a,onPress:u,onPressStart:d},descriptionProps:m,errorMessageProps:h,...g}}function WI(e){let[t,n]=fm(GI(e.value),GI(e.defaultValue)||``,e.onChange);return{value:t,setValue:n}}function GI(e){if(e!=null)return e.toString()}var KI=(0,v.createContext)(null),qI=qd(function(e,t){[e,t]=Bd(e,t,KI);let{validationBehavior:n}=zd(Px)||{},r=e.validationBehavior??n??`native`,i=(0,v.useRef)(null);[e,i]=Bd(e,i,Hv);let[a,o]=Vd(!e[`aria-label`]&&!e[`aria-labelledby`]),s=WI({...e,validationBehavior:r}),{labelProps:c,inputProps:l,clearButtonProps:u,descriptionProps:d,errorMessageProps:f,...p}=UI({...Hd(e),label:o,validationBehavior:r},s,i),m=Ld({...e,values:{isEmpty:s.value===``,isDisabled:e.isDisabled||!1,isInvalid:p.isInvalid||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,state:s},defaultClassName:`react-aria-SearchField`}),h=H(e,{global:!0});return delete h.id,v.createElement(J.div,{...h,...m,ref:t,slot:e.slot||void 0,"data-empty":s.value===``||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":p.isInvalid||void 0,"data-readonly":e.isReadOnly||void 0,"data-required":e.isRequired||void 0},v.createElement(Id,{values:[[Yd,{...c,ref:a}],[iw,{...l,ref:i}],[sm,u],[ey,{slots:{description:d,errorMessage:f}}],[yx,{isInvalid:p.isInvalid,isDisabled:e.isDisabled||!1}],[xx,p]]},m.children))}),JI=(0,v.createContext)({}),YI=({children:e,className:t,fullWidth:n,variant:r,...i})=>{let a=v.useMemo(()=>xd({fullWidth:n,variant:r}),[n,r]);return(0,U.jsx)(JI,{value:{slots:a},children:(0,U.jsx)(qI,{"data-slot":`search-field`,...i,className:Y(t,a?.base()),children:t=>(0,U.jsx)(U.Fragment,{children:typeof e==`function`?e(t):e})})})},XI=Object.assign(YI,{Root:YI,Group:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(JI);return(0,U.jsx)(bx,{className:Y(t,r?.group()),"data-slot":`search-field-group`,...n,children:t=>(0,U.jsx)(U.Fragment,{children:typeof e==`function`?e(t):e})})},Input:({className:e,...t})=>{let{slots:n}=(0,v.use)(JI);return(0,U.jsx)(ow,{className:Y(e,n?.input()),"data-slot":`search-field-input`,...t})},SearchIcon:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(JI);return e&&v.isValidElement(e)?v.cloneElement(e,{...n,className:X(r?.searchIcon,t),"data-slot":`search-field-search-icon`}):(0,U.jsx)(Dm,{className:X(r?.searchIcon,t),"data-slot":`search-field-search-icon`,...n})},ClearButton:({className:e,...t})=>{let{slots:n}=(0,v.use)(JI);return(0,U.jsx)(mx,{className:Y(e,n?.clearButton()),"data-slot":`search-field-clear-button`,slot:`clear`,...t})}}),ZI=({children:e,className:t,isDisabled:n,isInvalid:r,isRequired:i,...a})=>(0,U.jsx)(Xd,{className:cd({isRequired:i,isDisabled:n,isInvalid:r,className:t}),"data-slot":`label`,...a,children:e}),QI=Object.assign(ZI,{Root:ZI}),$I=({children:e,className:t,...n})=>uC(`description`)?(0,U.jsx)(ty,{className:nd({className:t}),"data-slot":`description`,slot:`description`,...n,children:e}):null,eL=Object.assign($I,{Root:$I}),tL=({children:e,className:t,...n})=>(0,U.jsx)(W.div,{className:ad({className:t}),"data-slot":`empty-state`,...n,children:e||`No results found`}),nL=Object.assign(tL,{Root:tL});function rL(e){return e&&e.__esModule?e.default:e}function iL(e,t){let{key:n}=e,r=t.selectionManager,i=so(),a=!t.selectionManager.canSelectItem(n),o=t.selectionManager.isSelected(n);return{checkboxProps:{id:i,"aria-label":Xg(rL(lF),`@react-aria/grid`).format(`select`),isSelected:o,isDisabled:a,onChange:()=>r.toggleSelection(n)}}}var aL=(0,v.createContext)(null),oL=(0,v.createContext)(null),sL=(0,v.forwardRef)(function(e,t){[e,t]=Bd(e,t,aL);let{validationBehavior:n}=zd(Px)||{},r=e.validationBehavior??n??`native`,{locale:i}=lf(),a=PT({...e,locale:i,validationBehavior:r}),o=(0,v.useRef)(null),[s,c]=Vd(!e[`aria-label`]&&!e[`aria-labelledby`]),{labelProps:l,groupProps:u,inputProps:d,incrementButtonProps:f,decrementButtonProps:p,descriptionProps:m,errorMessageProps:h,...g}=jT({...Hd(e),label:c,validationBehavior:r},a,o),_=Ld({...e,values:{state:a,isDisabled:e.isDisabled||!1,isInvalid:g.isInvalid||!1,isRequired:e.isRequired||!1,isReadOnly:e.isReadOnly||!1},defaultClassName:`react-aria-NumberField`}),y=H(e,{global:!0});return delete y.id,v.createElement(Id,{values:[[oL,a],[yx,u],[iw,{...d,ref:o}],[Yd,{...l,ref:s}],[sm,{slots:{increment:f,decrement:p}}],[ey,{slots:{description:m,errorMessage:h}}],[xx,g]]},v.createElement(J.div,{...y,..._,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-readonly":e.isReadOnly||void 0,"data-required":e.isRequired||void 0,"data-invalid":g.isInvalid||void 0}),e.name&&v.createElement(`input`,{type:`hidden`,name:e.name,form:e.form,value:isNaN(a.numberValue)?``:a.numberValue,disabled:e.isDisabled||void 0}))}),cL=new WeakMap;function lL(e,t,n){let{value:r,children:i,"aria-label":a,"aria-labelledby":o,onPressStart:s,onPressEnd:c,onPressChange:l,onPress:u,onPressUp:d,onClick:f}=e,p=e.isDisabled||t.isDisabled,m=t.selectedValue===r,h=e=>{e.stopPropagation(),t.setSelectedValue(r)},{pressProps:g,isPressed:_}=Wp({onPressStart:s,onPressEnd:c,onPressChange:l,onPress:u,onPressUp:d,onClick:f,isDisabled:p}),{pressProps:y,isPressed:b}=Wp({onPressStart:s,onPressEnd:c,onPressChange:l,onPressUp:d,onClick:f,isDisabled:p,onPress(e){u?.(e),t.setSelectedValue(r),n.current?.focus()}}),{focusableProps:x}=Mp(V(e,{onFocus:()=>t.setLastFocusedValue(r)}),n),S=V(g,x),C=H(e,{labelable:!0}),w=-1;t.selectedValue==null?(t.lastFocusedValue===r||t.lastFocusedValue==null)&&(w=0):t.selectedValue===r&&(w=0),p&&(w=void 0);let{name:T,form:E,descriptionId:D,errorMessageId:O,validationBehavior:k}=cL.get(t);gs(n,t.defaultSelectedValue,t.setSelectedValue),KS({validationBehavior:k},t,n);let A=FC();return{labelProps:V(y,(0,v.useMemo)(()=>({onClick:e=>e.preventDefault(),onMouseDown:e=>e.preventDefault()}),[])),inputProps:V(C,{...S,type:`radio`,name:T,form:E,tabIndex:w,disabled:p,required:t.isRequired&&k===`native`,checked:m,value:r,onChange:h,"aria-describedby":[e[`aria-describedby`],A.id,t.isInvalid?O:null,D].filter(Boolean).join(` `)||void 0}),descriptionProps:A,isDisabled:p,isSelected:m,isPressed:_||b}}function uL(e,t){let{name:n,form:r,isReadOnly:i,isRequired:a,isDisabled:o,orientation:s=`vertical`,validationBehavior:c=`aria`}=e,{direction:l}=lf(),{isInvalid:u,validationErrors:d,validationDetails:f}=t.displayValidation,{labelProps:p,fieldProps:m,descriptionProps:h,errorMessageProps:g}=US({...e,labelElementType:`span`,isInvalid:t.isInvalid,errorMessage:e.errorMessage||d}),_=H(e,{labelable:!0}),{focusWithinProps:v}=$p({onBlurWithin(n){e.onBlur?.(n),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});function y(e,n){let r=Fh(n.currentTarget,{from:B(n),accept:e=>e instanceof po(e).HTMLInputElement&&e.type===`radio`}),i;return e===`next`?(i=r.nextNode(),i||=(r.currentNode=n.currentTarget,r.firstChild())):(i=r.previousNode(),i||=(r.currentNode=n.currentTarget,r.lastChild())),i?(i.focus(),t.setSelectedValue(i.value),!0):!1}let{keyboardProps:b}=Op({shortcuts:{ArrowRight:e=>y(l===`rtl`&&s!==`vertical`?`prev`:`next`,e),ArrowLeft:e=>y(l===`rtl`&&s!==`vertical`?`next`:`prev`,e),ArrowDown:e=>y(`next`,e),ArrowUp:e=>y(`prev`,e)},allowRepeats:!0}),x=so(n);return cL.set(t,{name:x,form:r,descriptionId:h.id,errorMessageId:g.id,validationBehavior:c}),{radioGroupProps:V(_,{role:`radiogroup`,...b,"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e[`aria-errormessage`],"aria-readonly":i||void 0,"aria-required":a||void 0,"aria-disabled":o||void 0,"aria-orientation":s,...m,...v}),labelProps:p,descriptionProps:h,errorMessageProps:g,isInvalid:u,validationErrors:d,validationDetails:f}}var dL=Math.round(Math.random()*1e10),fL=0;function pL(e){let t=(0,v.useMemo)(()=>e.name||`radio-group-${dL}-${++fL}`,[e.name]),[n,r]=fm(e.value,e.defaultValue??null,e.onChange),[i]=(0,v.useState)(n),[a,o]=(0,v.useState)(null),s=Dx({...e,value:n}),c=t=>{!e.isReadOnly&&!e.isDisabled&&(r(t),s.commitValidation())},l=s.displayValidation.isInvalid;return{...s,name:t,selectedValue:n,defaultSelectedValue:e.value===void 0?e.defaultValue??null:i,setSelectedValue:c,lastFocusedValue:a,setLastFocusedValue:o,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(l?`invalid`:null),isInvalid:l}}for(var mL=(0,v.createContext)(null),hL=(0,v.createContext)(null),gL=(0,v.createContext)(null),_L=(0,v.forwardRef)(function(e,t){[e,t]=Bd(e,t,mL);let{validationBehavior:n}=zd(Px)||{},r=e.validationBehavior??n??`native`,i=pL({...e,validationBehavior:r}),[a,o]=Vd(!e[`aria-label`]&&!e[`aria-labelledby`]),{radioGroupProps:s,labelProps:c,descriptionProps:l,errorMessageProps:u,...d}=uL({...e,label:o,validationBehavior:r},i),f=Ld({...e,values:{orientation:e.orientation||`vertical`,isDisabled:i.isDisabled,isReadOnly:i.isReadOnly,isRequired:i.isRequired,isInvalid:i.isInvalid,state:i},defaultClassName:`react-aria-RadioGroup`}),p=H(e,{global:!0});return v.createElement(J.div,{...V(p,f,s),ref:t,slot:e.slot||void 0,"data-orientation":e.orientation||`vertical`,"data-invalid":i.isInvalid||void 0,"data-disabled":i.isDisabled||void 0,"data-readonly":i.isReadOnly||void 0,"data-required":i.isRequired||void 0},v.createElement(Id,{values:[[gL,i],[Yd,{...c,ref:a,elementType:`span`}],[ey,{slots:{description:l,errorMessage:u}}],[xx,d]]},v.createElement(qv,null,f.children)))}),vL=(0,v.createContext)(null),yL=(0,v.forwardRef)(function(e,t){let{inputRef:n=null,...r}=e;[e,t]=Bd(r,t,hL);let i=v.useContext(gL),a=Wo((0,v.useMemo)(()=>Do(n,e.inputRef===void 0?null:e.inputRef),[n,e.inputRef])),o=lL({...Hd(e),children:typeof e.children==`function`||e.children},i,a),{descriptionProps:s,isSelected:c,isDisabled:l}=o,u=Ld({...e,defaultClassName:`react-aria-RadioField`,values:{isSelected:c,isDisabled:l,isReadOnly:i.isReadOnly,isInvalid:i.isInvalid,isRequired:i.isRequired}}),d=H(e,{global:!0});return delete d.id,delete d.onClick,v.createElement(J.div,{...V(d,u),ref:t,"data-selected":c||void 0,"data-disabled":l||void 0,"data-readonly":i.isReadOnly||void 0,"data-invalid":i.isInvalid||void 0,"data-required":i.isRequired||void 0},v.createElement(Id,{values:[[Yv,{isSelected:c}],[vL,{...o,inputRef:a,defaultClassName:`react-aria-RadioButton`}],[ey,{slots:{description:s}}]]},u.children))}),bL=(0,v.forwardRef)(function(e,t){let{labelProps:n,inputProps:r,isSelected:i,isDisabled:a,isPressed:o,defaultClassName:s,inputRef:c}=(0,v.useContext)(vL),l=v.useContext(gL),{isFocused:u,isFocusVisible:d,focusProps:f}=em(),p=a||l.isReadOnly,{hoverProps:m,isHovered:h}=om({...e,isDisabled:p}),g=Ld({...e,defaultClassName:s,values:{isSelected:i,isPressed:o,isHovered:h,isFocused:u,isFocusVisible:d,isDisabled:a,isReadOnly:l.isReadOnly,isInvalid:l.isInvalid,isRequired:l.isRequired}}),_=H(e,{global:!0});return delete _.id,delete _.onClick,v.createElement(J.label,{...V(_,n,m,g),ref:t,"data-selected":i||void 0,"data-pressed":o||void 0,"data-hovered":h||void 0,"data-focused":u||void 0,"data-focus-visible":d||void 0,"data-disabled":a||void 0,"data-readonly":l.isReadOnly||void 0,"data-invalid":l.isInvalid||void 0,"data-required":l.isRequired||void 0},v.createElement($g,{elementType:`span`},v.createElement(`input`,{...V(r,f),ref:c})),g.children)}),xL=10,SL=5,CL=class{setup(e,t,n){this.delegate=e,this.state=t,this.direction=n}getDropTargetFromPoint(e,t,n){let r=this.delegate.getDropTargetFromPoint(e,t,n);return!r||r.type===`root`?r:this.resolveDropTarget(r,e,t,n)}resolveDropTarget(e,t,n,r){let i=this.pointerTracking,a=n-i.lastY,o=t-i.lastX,s=i.yDirection,c=i.xDirection;if(Math.abs(a)>SL&&(s=a>0?`down`:`up`,i.yDirection=s,i.lastY=n),Math.abs(o)>xL&&(c=o>0?`right`:`left`,i.xDirection=c,i.lastX=t),e.dropPosition===`before`){let t=this.state.collection.getKeyBefore(e.key);for(;t!=null;){let e=this.state.collection.getItem(t);if(e?.type===`item`)break;t=e?.parentKey??null}if(t!=null){let n={type:`item`,key:t,dropPosition:`after`};r(n)&&(e=n)}}let l=this.getPotentialTargets(e,r);if(l.length===0)return{type:`root`};let u;return l.length>1?u=this.selectTarget(l,e,t,n,s,c):(u=l[0],i.boundaryContext=null),u}getPotentialTargets(e,t){if(e.dropPosition===`on`)return[e];let n=e,r=this.state.collection,i=r.getItem(n.key);for(;i&&i?.type!==`item`&&i.nextKey!=null;)n.key=i.nextKey,i=r.getItem(i.nextKey);let a=[n];if(i&&i.hasChildNodes&&this.state.expandedKeys.has(i.key)&&r.getChildren&&n.dropPosition===`after`){let e=i.firstChildKey==null?null:r.getItem(i.firstChildKey);for(;e&&e.type!==`item`;)e=e.nextKey==null?null:r.getItem(e.nextKey);if(e?.type===`item`){let n={type:`item`,key:e.key,dropPosition:`before`};return t(n)?[n]:[]}}if(i?.nextKey!=null)return[e];let o=i?.parentKey,s=[];for(;o!=null;){let e=r.getItem(o),n=e?.nextKey==null?null:r.getItem(e.nextKey);if(!n||n.parentKey!==o){let e={type:`item`,key:o,dropPosition:`after`};if(t(e)&&s.push(e),n)break}o=e?.parentKey}if(s.length>0&&a.push(...s),a.length===1){let e=r.getKeyAfter(n.key),a=e==null?null:r.getItem(e);if(e!=null&&a&&i&&a.level!=null&&i.level!=null&&a.level>i.level){let n={type:`item`,key:e,dropPosition:`before`};if(t(n))return[n]}}return a.filter(t)}selectTarget(e,t,n,r,i,a){if(e.length<2)return e[0];let o=this.pointerTracking,s=this.state.collection.getItem(t.key)?.parentKey;if(s==null)return e[0];(!o.boundaryContext||o.boundaryContext.parentKey!==s)&&(o.boundaryContext={parentKey:s,preferredTargetIndex:o.yDirection===`up`?e.length-1:0,lastSwitchY:r,lastSwitchX:n});let c=o.boundaryContext,l=Math.abs(n-c.lastSwitchX);if(Math.abs(r-c.lastSwitchY)>SL&&i){let t=c.preferredTargetIndex||0;i===`down`&&t===0?c.preferredTargetIndex=e.length-1:i===`up`&&t===e.length-1&&(c.preferredTargetIndex=0),o.xDirection=null}if(l>xL&&a){let t=c.preferredTargetIndex||0;a===`left`?this.direction===`ltr`?t0&&(c.preferredTargetIndex=t-1,c.lastSwitchX=n):a===`right`&&(this.direction===`ltr`?t>0&&(c.preferredTargetIndex=t-1,c.lastSwitchX=n):t{let i=this.keyMap.get(r.key);e.visitNode&&(r=e.visitNode(r)),this.keyMap.set(r.key,r);let a=new Set,o=null,s=!1;if(r.type===`item`){for(let e of r.childNodes)if(e.props?.colSpan!==void 0){s=!0;break}}for(let e of r.childNodes)e.type===`cell`&&s&&(e.colspan=e.props?.colSpan,e.colSpan=e.props?.colSpan,e.colIndex=o?(o.colIndex??o.index)+(o.colSpan??1):e.index),e.type===`cell`&&e.parentKey==null&&(e.parentKey=r.key),a.add(e.key),o?(o.nextKey=e.key,e.prevKey=o.key):e.prevKey=null,t(e),o=e;if(o&&(o.nextKey=null),i)for(let e of i.childNodes)a.has(e.key)||n(e)},n=e=>{this.keyMap.delete(e.key);for(let t of e.childNodes)this.keyMap.get(t.key)===t&&n(t)},r=null;for(let[n,i]of e.items.entries()){let e={...i,level:i.level??0,key:i.key??`row-`+n,type:i.type??`row`,value:i.value??null,hasChildNodes:!0,childNodes:[...i.childNodes],rendered:i.rendered,textValue:i.textValue??``,index:i.index??n};r?(r.nextKey=e.key,e.prevKey=r.key):e.prevKey=null,this.rows.push(e),t(e),r=e}r&&(r.nextKey=null)}*[Symbol.iterator](){yield*[...this.rows]}get size(){return[...this.rows].length}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey??null:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey??null:null}getFirstKey(){return[...this.rows][0]?.key}getLastKey(){let e=[...this.rows];return e[e.length-1]?.key}getItem(e){return this.keyMap.get(e)??null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){return this.keyMap.get(e)?.childNodes||[]}},TL=`row-header-column-`+Math.random().toString(36).slice(2),EL=`row-header-column-`+Math.random().toString(36).slice(2);TL===EL;)EL=`row-header-column-`+Math.random().toString(36).slice(2);function DL(e,t){if(t.length===0)return[];let n=[],r=new Map;for(let i of t){let t=i.parentKey,a=[i];for(;t!=null;){let n=e.get(t);if(!n)break;if(r.has(n)){n.colSpan??=0,n.colSpan++,n.colspan=n.colSpan;let{column:e,index:t}=r.get(n);if(t>a.length)break;for(let n=t;ne.length)),a=Array(i).fill(0).map(()=>[]),o=0;for(let e of n){let t=i-1;for(let n of e){if(n){let e=a[t],r=e.reduce((e,t)=>e+(t.colSpan??1),0);if(r0&&(e[e.length-1].nextKey=i.key,i.prevKey=e[e.length-1].key),e.push(i)}e.length>0&&(e[e.length-1].nextKey=n.key,n.prevKey=e[e.length-1].key),n.level=t,n.colIndex=o,e.push(n)}t--}o++}let s=0;for(let e of a){let n=e.reduce((e,t)=>e+(t.colSpan??1),0);if(n({type:`headerrow`,key:`headerrow-`+t,index:t,value:null,rendered:null,level:0,hasChildNodes:!0,childNodes:e,textValue:``}))}var OL=class extends wL{constructor(e,t,n){let r=new Set,i=null,a=[];if(n?.showSelectionCheckboxes){let e={type:`column`,key:TL,value:null,textValue:``,level:0,index:+!!n?.showDragButtons,hasChildNodes:!1,rendered:null,childNodes:[],props:{isSelectionCell:!0}};a.unshift(e)}if(n?.showDragButtons){let e={type:`column`,key:EL,value:null,textValue:``,level:0,index:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isDragButtonCell:!0}};a.unshift(e)}let o=[],s=new Map,c=e=>{switch(e.type){case`body`:i=e;break;case`column`:s.set(e.key,e),e.hasChildNodes||(a.push(e),e.props.isRowHeader&&r.add(e.key));break;case`item`:o.push(e);return}for(let t of e.childNodes)c(t)};for(let t of e)c(t);let l=DL(s,a);if(l.forEach((e,t)=>o.splice(t,0,e)),super({columnCount:a.length,items:o,visitNode:e=>(e.column=a[e.index],e)}),this._size=0,this.columns=a,this.rowHeaderColumnKeys=r,this.body=i,this.headerRows=l,this._size=[...i.childNodes].length,this.rowHeaderColumnKeys.size===0){let e=this.columns.find(e=>!e.props?.isDragButtonCell&&!e.props?.isSelectionCell);e&&this.rowHeaderColumnKeys.add(e.key)}}*[Symbol.iterator](){yield*this.body.childNodes}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){return this.keyMap.get(e)?.prevKey??null}getKeyAfter(e){return this.keyMap.get(e)?.nextKey??null}getFirstKey(){return lb(this.body.childNodes)?.key??null}getLastKey(){return db(this.body.childNodes)?.key??null}getItem(e){return e===this.body.key?this.body:this.keyMap.get(e)??null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){if(e===this.body.key)return this.body.childNodes;let t=this.getItem(e);return t?.type===`item`?[...t.childNodes].filter(e=>e.type===`cell`):super.getChildren(e)}getTextValue(e){let t=this.getItem(e);if(!t)return``;if(t.textValue)return t.textValue;let n=this.rowHeaderColumnKeys;if(n){let e=[];for(let r of t.childNodes){let t=this.columns[r.index];if(n.has(t.key)&&r.textValue&&e.push(r.textValue),e.length===n.size)break}return e.join(` `)}return``}};function kL(e){return e!=null&&(!isNaN(e)||String(e).match(/^(\d+)(?=%$)/)!==null)}function AL(e){if(!e||typeof e==`number`)return 1;let t=e.match(/^(.+)(?=fr$)/);return t?parseFloat(t[0]):1}function jL(e,t){if(typeof e==`string`){let n=e.match(/^(\d+)(?=%$)/);if(!n)throw Error(`Only percentages or numbers are supported for static column widths`);return t*(parseFloat(n[0])/100)}return e}function ML(e,t){return e==null?2**53-1:jL(e,t)}function NL(e,t){return e==null?0:jL(e,t)}function PL(e,t,n,r,i){let a=e,o=Math.floor(e),s=e-o>0;e=o;let c=!1,l=t.map((t,a)=>{let o=n.get(t.key)==null?t.width??t.defaultWidth??r?.(a)??`1fr`:n.get(t.key)??`1fr`,s=!1,l=0,u=0,d=0;kL(o)?(l=jL(o,e),s=!0):(u=AL(o),u<=0&&(s=!0));let f=NL(t.minWidth??i?.(a)??0,e),p=ML(t.maxWidth,e),m=Math.max(f,Math.min(l,p));return s?d=m:l>m&&(s=!0,d=m),s||(c=!0),{frozen:s,baseSize:l,hypotheticalMainSize:m,min:f,max:p,flex:u,targetMainSize:d,violation:0}});for(;c;){let t=0,n=0;l.forEach(e=>{e.frozen?t+=e.targetMainSize:(t+=e.baseSize,n+=e.flex)});let r=e-t;r>0&&l.forEach(e=>{if(!e.frozen){let t=e.flex/n;e.targetMainSize=e.baseSize+t*r}});let i=0;l.forEach(e=>{if(e.violation=0,!e.frozen){let{min:t,max:n,targetMainSize:r}=e;e.targetMainSize=Math.max(t,Math.min(r,n)),e.violation=e.targetMainSize-r,i+=e.violation}}),c=!1,l.forEach(e=>{i===0||Math.sign(i)===Math.sign(e.violation)?e.frozen=!0:e.frozen||(c=!0)})}let u=FL(l);if(s&&u.length>0){let e=a.toString().split(`.`)[1],t=u[u.length-1].toString();u[u.length-1]=Number(t+`.`+e)}return u}function FL(e){let t=0,n=0,r=[];return e.forEach(function(e){let i=e.targetMainSize,a=Math.round(i+t)-n;t+=i,n+=a,r.push(a)}),r}var IL=class{constructor(e){this.columnWidths=new Map,this.columnMinWidths=new Map,this.columnMaxWidths=new Map,this.getDefaultWidth=e?.getDefaultWidth??(()=>`1fr`),this.getDefaultMinWidth=e?.getDefaultMinWidth??(()=>75)}splitColumnsIntoControlledAndUncontrolled(e){return e.reduce((e,t)=>(t.props.width==null?e[1].set(t.key,t):e[0].set(t.key,t),e),[new Map,new Map])}recombineColumns(e,t,n,r){return new Map(e.map(e=>n.has(e.key)?[e.key,t.get(e.key)]:[e.key,r.get(e.key).props.width]))}getInitialUncontrolledWidths(e){return new Map(Array.from(e).map(([e,t])=>[e,t.props.defaultWidth??this.getDefaultWidth?.(t)??`1fr`]))}getColumnWidth(e){return this.columnWidths.get(e)??0}getColumnMinWidth(e){return this.columnMinWidths.get(e)??0}getColumnMaxWidth(e){return this.columnMaxWidths.get(e)??0}resizeColumnWidth(e,t,n,r){let i=this.columnWidths,a=!0,o=new Map;return r=Math.max(this.getColumnMinWidth(n),Math.min(this.getColumnMaxWidth(n),Math.floor(r))),e.columns.forEach(e=>{e.key===n?(o.set(e.key,r),a=!1):a?o.set(e.key,i.get(e.key)??0):o.set(e.key,e.props.width??t.get(e.key))}),o}buildColumnWidths(e,t,n){return this.columnWidths=new Map,this.columnMinWidths=new Map,this.columnMaxWidths=new Map,PL(e,t.columns.map(e=>({...e.props,key:e.key})),n,e=>this.getDefaultWidth(t.columns[e]),e=>this.getDefaultMinWidth(t.columns[e])).forEach((n,r)=>{let i=t.columns[r].key,a=t.columns[r];this.columnWidths.set(i,n),this.columnMinWidths.set(i,NL(a.props.minWidth??this.getDefaultMinWidth(a),e)),this.columnMaxWidths.set(i,ML(a.props.maxWidth,e))}),this.columnWidths}};function LL(e,t){let{getDefaultWidth:n,getDefaultMinWidth:r,tableWidth:i=0}=e,[a,o]=(0,v.useState)(null),s=(0,v.useMemo)(()=>new IL({getDefaultWidth:n,getDefaultMinWidth:r}),[n,r]),[c,l]=(0,v.useMemo)(()=>s.splitColumnsIntoControlledAndUncontrolled(t.collection.columns),[t.collection.columns,s]),[u,d]=(0,v.useState)(()=>s.getInitialUncontrolledWidths(l)),[f,p]=(0,v.useState)(t.collection.columns);t.collection.columns!==f&&((t.collection.columns.length!==f.length||t.collection.columns.some((e,t)=>e.key!==f[t].key))&&d(s.getInitialUncontrolledWidths(l)),p(t.collection.columns));let m=(0,v.useMemo)(()=>s.recombineColumns(t.collection.columns,u,l,c),[t.collection.columns,u,l,c,s]),h=(0,v.useCallback)(e=>{o(e)},[o]),g=(0,v.useCallback)((e,n)=>{let r=s.resizeColumnWidth(t.collection,u,e,n),i=new Map(Array.from(l).map(([e])=>[e,r.get(e)]));return i.set(e,n),d(i),r},[l,d,s,t.collection,u]),_=(0,v.useCallback)(()=>{o(null)},[o]),y=(0,v.useMemo)(()=>s.buildColumnWidths(i,t.collection,m),[i,t.collection,m,s]);return(0,v.useMemo)(()=>({resizingColumn:a,updateResizedColumns:g,startResize:h,endResize:_,getColumnWidth:e=>s.getColumnWidth(e),getColumnMinWidth:e=>s.getColumnMinWidth(e),getColumnMaxWidth:e=>s.getColumnMaxWidth(e),tableState:t,columnWidths:y}),[s,y,a,g,h,_,t])}function RL(e){let{collection:t,focusMode:n}=e,r=e.UNSAFE_selectionState||Fb(e),i=(0,v.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=r.setFocusedKey;r.setFocusedKey=(e,r)=>{if(n===`cell`&&e!=null){let n=t.getItem(e);if(n?.type===`item`){let i=cb(n,t);e=r===`last`?db(i)?.key??null:lb(i)?.key??null}}a(e,r)};let o=(0,v.useMemo)(()=>new Db(t,r),[t,r]),s=(0,v.useRef)(null);return(0,v.useEffect)(()=>{if(r.focusedKey!=null&&s.current&&!t.getItem(r.focusedKey)){let e=s.current.getItem(r.focusedKey),n=e?.parentKey!=null&&(e.type===`cell`||e.type===`rowheader`||e.type===`column`)?s.current.getItem(e.parentKey):e;if(!n){r.setFocusedKey(null);return}let i=s.current.rows,a=t.rows,c=i.length-a.length,l=Math.min(c>1?Math.max(n.index-c+1,0):n.index,a.length-1),u=null;for(let e=Math.max(0,l);e=0;e--)if(!o.isDisabled(a[e].key)&&a[e].type!==`headerrow`){u=a[e];break}}if(u){let i=u.hasChildNodes?[...cb(u,t)]:[],a=u.hasChildNodes&&n!==e&&e&&e.index({showSelectionCheckboxes:i&&r!==`none`,showDragButtons:a,selectionMode:r,columns:[]}),[e.children,i,r,a]),c=Nb(e,(0,v.useCallback)(e=>new OL(e,null,s),[s]),s),{disabledKeys:l,selectionManager:u}=RL({...e,collection:c,disabledBehavior:e.disabledBehavior||`selection`}),[d,f]=fm(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,e.onExpandedChange);return{collection:c,disabledKeys:l,selectionManager:u,showSelectionCheckboxes:e.showSelectionCheckboxes||!1,sortDescriptor:e.sortDescriptor??null,isKeyboardNavigationDisabled:c.size===0||t,setKeyboardNavigationDisabled:n,sort(t,n){e.onSortChange?.({column:t,direction:n??(e.sortDescriptor?.column===t?zL[e.sortDescriptor.direction]:`ascending`)})},expandedKeys:d,toggleKey(e){f(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},treeColumn:o}}function VL(e,t){let n=(0,v.useMemo)(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),r=e.selectionManager.withCollection(n);return{...e,collection:n,selectionManager:r}}var HL=class{constructor(e){if(this.collection=e.collection,this.disabledKeys=e.disabledKeys,this.disabledBehavior=e.disabledBehavior||`all`,this.direction=e.direction,this.collator=e.collator,!e.layout&&!e.ref)throw Error(`Either a layout or a ref must be specified.`);this.layoutDelegate=e.layoutDelegate||(e.layout?new UL(e.layout):new $y(e.ref)),this.focusMode=e.focusMode??`row`}isCell(e){return e.type===`cell`}isRow(e){return e.type===`row`||e.type===`item`}isDisabled(e){return this.disabledBehavior===`all`&&(e.props?.isDisabled||this.disabledKeys.has(e.key))&&e.props?.disabledBehavior!==`selection`}findPreviousKey(e,t,n=!1){let r=e==null?this.collection.getLastKey():this.collection.getKeyBefore(e);for(;r!=null;){let e=this.collection.getItem(r);if(!e)return null;if((n||!this.isDisabled(e))&&(!t||t(e)))return r;r=this.collection.getKeyBefore(r)}return null}findNextKey(e,t,n=!1){let r=e==null?this.collection.getFirstKey():this.collection.getKeyAfter(e);for(;r!=null;){let e=this.collection.getItem(r);if(!e)return null;if((n||!this.isDisabled(e))&&(!t||t(e)))return r;if(r=this.collection.getKeyAfter(r),r==null)return null}return null}getKeyForItemInRowByIndex(e,t=0){if(t<0)return null;let n=this.collection.getItem(e);if(!n)return null;let r=0;for(let e of cb(n,this.collection)){if(e.colSpan&&e.colSpan+r>t||(e.colSpan&&(r=r+e.colSpan-1),r===t))return e.key??null;r++}return null}getKeyBelow(e,t){let n=e,r=this.collection.getItem(n);if(!r||(this.isCell(r)&&(n=r.parentKey??null),n==null))return null;if(n=this.findNextKey(n,e=>e.type===`item`,t?.includeDisabled),n!=null){if(this.isCell(r)){let e=r.colIndex?r.colIndex:r.index;return this.getKeyForItemInRowByIndex(n,e)}if(this.focusMode===`row`)return n}return null}getKeyAbove(e,t){let n=e,r=this.collection.getItem(n);if(!r||(this.isCell(r)&&(n=r.parentKey??null),n==null))return null;if(n=this.findPreviousKey(n,e=>e.type===`item`,t?.includeDisabled),n!=null){if(this.isCell(r)){let e=r.colIndex?r.colIndex:r.index;return this.getKeyForItemInRowByIndex(n,e)}if(this.focusMode===`row`)return n}return null}getKeyRightOf(e){let t=this.collection.getItem(e);if(!t)return null;if(this.isRow(t)){let e=cb(t,this.collection);return(this.direction===`rtl`?db(e)?.key:lb(e)?.key)??null}if(this.isCell(t)&&t.parentKey!=null){let n=this.collection.getItem(t.parentKey);if(!n)return null;let r=cb(n,this.collection),i=(this.direction===`rtl`?ub(r,t.index-1):ub(r,t.index+1))??null;return i?i.key??null:this.focusMode===`row`?t.parentKey??null:(this.direction===`rtl`?this.getFirstKey(e):this.getLastKey(e))??null}return null}getKeyLeftOf(e){let t=this.collection.getItem(e);if(!t)return null;if(this.isRow(t)){let e=cb(t,this.collection);return(this.direction===`rtl`?lb(e)?.key:db(e)?.key)??null}if(this.isCell(t)&&t.parentKey!=null){let n=this.collection.getItem(t.parentKey);if(!n)return null;let r=cb(n,this.collection),i=(this.direction===`rtl`?ub(r,t.index+1):ub(r,t.index-1))??null;return i?i.key??null:this.focusMode===`row`?t.parentKey??null:(this.direction===`rtl`?this.getLastKey(e):this.getFirstKey(e))??null}return null}getFirstKey(e,t){let n=e??null,r;if(n!=null){if(r=this.collection.getItem(n),!r)return null;if(this.isCell(r)&&!t&&r.parentKey!=null){let e=this.collection.getItem(r.parentKey);return e?lb(cb(e,this.collection))?.key??null:null}}if(n=this.findNextKey(void 0,e=>e.type===`item`),n!=null&&(r&&this.isCell(r)&&t||this.focusMode===`cell`)){let e=this.collection.getItem(n);if(!e)return null;n=lb(cb(e,this.collection))?.key??null}return n}getLastKey(e,t){let n=e??null,r;if(n!=null){if(r=this.collection.getItem(n),!r)return null;if(this.isCell(r)&&!t&&r.parentKey!=null){let e=this.collection.getItem(r.parentKey);return e?db(cb(e,this.collection))?.key??null:null}}if(n=this.findPreviousKey(void 0,e=>e.type===`item`),n!=null&&(r&&this.isCell(r)&&t||this.focusMode===`cell`)){let e=this.collection.getItem(n);if(!e)return null;n=db(cb(e,this.collection))?.key??null}return n}getKeyPageAbove(e){let t=e,n=this.layoutDelegate.getItemRect(t);if(!n)return null;let r=Math.max(0,n.y+n.height-this.layoutDelegate.getVisibleRect().height);for(;n&&n.y>r&&t!=null&&(t=this.getKeyAbove(t)??null,t!=null);)n=this.layoutDelegate.getItemRect(t);return t}getKeyPageBelow(e){let t=e,n=this.layoutDelegate.getItemRect(t);if(!n)return null;let r=this.layoutDelegate.getVisibleRect().height,i=Math.min(this.layoutDelegate.getContentSize().height,n.y+r);for(;n&&n.y+n.heighte.type===`item`),n==null&&!a&&(n=this.getFirstKey(),a=!0)}return null}},UL=class{constructor(e){this.layout=e}getContentSize(){return this.layout.getContentSize()}getItemRect(e){return this.layout.getLayoutInfo(e)?.rect||null}getVisibleRect(){return this.layout.virtualizer.visibleRect}},WL=new WeakMap;function GL(e,t,n){let{isVirtualized:r,disallowTypeAhead:i,keyboardDelegate:a,focusMode:o,scrollRef:s,getRowText:c,onRowAction:l,onCellAction:u,escapeKeyBehavior:d=`clearSelection`,shouldSelectOnPressUp:f,keyboardNavigationBehavior:p=`arrow`}=e,{selectionManager:m}=t;!e[`aria-label`]&&!e[`aria-labelledby`]&&console.warn(`An aria-label or aria-labelledby prop is required for accessibility.`);let h=nb({usage:`search`,sensitivity:`base`}),{direction:g}=lf(),_=t.selectionManager.disabledBehavior,y=(0,v.useMemo)(()=>a||new HL({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:_,ref:n,direction:g,collator:h,focusMode:o}),[a,t.collection,t.disabledKeys,_,n,g,h,o]),{collectionProps:b}=Qy({ref:n,selectionManager:m,keyboardDelegate:y,isVirtualized:r,scrollRef:s,disallowTypeAhead:i,escapeKeyBehavior:d}),x=so(e.id);WL.set(t,{keyboardDelegate:y,actions:{onRowAction:l,onCellAction:u},shouldSelectOnPressUp:f,keyboardNavigationBehavior:p});let S=mF({selectionManager:m,hasItemActions:!!(l||u)}),C=H(e,{labelable:!0}),w=(0,v.useCallback)(e=>{if(m.isFocused){xo(e.currentTarget,B(e))||m.setFocused(!1);return}xo(e.currentTarget,B(e))&&m.setFocused(!0)},[m]),T=(0,v.useMemo)(()=>({onBlur:b.onBlur,onFocus:w}),[w,b.onBlur]),E=oP(n,{isDisabled:t.collection.size!==0}),D=V(C,{role:`grid`,id:x,"aria-multiselectable":m.selectionMode===`multiple`?`true`:void 0},t.isKeyboardNavigationDisabled?T:b,t.collection.size===0&&{tabIndex:E?-1:0}||void 0,S);return r&&(D[`aria-rowcount`]=t.collection.size,D[`aria-colcount`]=t.collection.columnCount),dF({getRowText:c},t),{gridProps:D}}var KL=new WeakMap;function qL(e){return typeof e==`string`?e.replace(/\s*/g,``):``+e}function JL(e,t){let n=KL.get(e);if(!n)throw Error(`Unknown grid`);return`${n}-${qL(t)}`}function YL(e,t,n){let r=KL.get(e);if(!r)throw Error(`Unknown grid`);return`${r}-${qL(t)}-${qL(n)}`}function XL(e,t){return[...e.collection.rowHeaderColumnKeys].map(n=>YL(e,t,n)).join(` `)}var ZL={};ZL={ascending:`تصاعدي`,ascendingSort:e=>`\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{635}\u{627}\u{639}\u{62F}\u{64A}`,collapse:`طي`,columnSize:e=>`${e.value} \u{628}\u{627}\u{644}\u{628}\u{643}\u{633}\u{644}`,descending:`تنازلي`,descendingSort:e=>`\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{646}\u{627}\u{632}\u{644}\u{64A}`,expand:`تمديد`,resizerDescription:`اضغط على مفتاح Enter لبدء تغيير الحجم`,select:`تحديد`,selectAll:`تحديد الكل`,sortable:`عمود قابل للترتيب`};var QL={};QL={ascending:`възходящ`,ascendingSort:e=>`\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432}\u{44A}\u{432} \u{432}\u{44A}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,collapse:`Свиване`,columnSize:e=>`${e.value} \u{43F}\u{438}\u{43A}\u{441}\u{435}\u{43B}\u{430}`,descending:`низходящ`,descendingSort:e=>`\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432} \u{43D}\u{438}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,expand:`Разширяване`,resizerDescription:`Натиснете „Enter“, за да започнете да преоразмерявате`,select:`Изберете`,selectAll:`Изберете всичко`,sortable:`сортираща колона`};var $L={};$L={ascending:`vzestupně`,ascendingSort:e=>`\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,collapse:`Sbalit`,columnSize:e=>`${e.value} pixel\u{16F}`,descending:`sestupně`,descendingSort:e=>`\u{159}azeno sestupn\u{11B} podle sloupce ${e.columnName}`,expand:`Roztáhnout`,resizerDescription:`Stisknutím klávesy Enter začnete měnit velikost`,select:`Vybrat`,selectAll:`Vybrat vše`,sortable:`sloupec s možností řazení`};var eR={};eR={ascending:`stigende`,ascendingSort:e=>`sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,collapse:`Skjul`,columnSize:e=>`${e.value} pixels`,descending:`faldende`,descendingSort:e=>`sorteret efter kolonne ${e.columnName} i faldende r\xe6kkef\xf8lge`,expand:`Udvid`,resizerDescription:`Tryk på Enter for at ændre størrelse`,select:`Vælg`,selectAll:`Vælg alle`,sortable:`sorterbar kolonne`};var tR={};tR={ascending:`aufsteigend`,ascendingSort:e=>`sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,collapse:`Reduzieren`,columnSize:e=>`${e.value} Pixel`,descending:`absteigend`,descendingSort:e=>`sortiert nach Spalte ${e.columnName} in absteigender Reihenfolge`,expand:`Erweitern`,resizerDescription:`Eingabetaste zum Starten der Größenänderung drücken`,select:`Auswählen`,selectAll:`Alles auswählen`,sortable:`sortierbare Spalte`};var nR={};nR={ascending:`αύξουσα`,ascendingSort:e=>`\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3B1}\u{3CD}\u{3BE}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,collapse:`Σύμπτυξη`,columnSize:e=>`${e.value} pixel`,descending:`φθίνουσα`,descendingSort:e=>`\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3C6}\u{3B8}\u{3AF}\u{3BD}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,expand:`Ανάπτυξη`,resizerDescription:`Πατήστε Enter για έναρξη της αλλαγής μεγέθους`,select:`Επιλογή`,selectAll:`Επιλογή όλων`,sortable:`Στήλη διαλογής`};var rR={};rR={select:`Select`,selectAll:`Select All`,sortable:`sortable column`,ascending:`ascending`,descending:`descending`,ascendingSort:e=>`sorted by column ${e.columnName} in ascending order`,descendingSort:e=>`sorted by column ${e.columnName} in descending order`,columnSize:e=>`${e.value} pixels`,resizerDescription:`Press Enter to start resizing`,expand:`Expand`,collapse:`Collapse`};var iR={};iR={ascending:`ascendente`,ascendingSort:e=>`ordenado por columna ${e.columnName} en sentido ascendente`,collapse:`Contraer`,columnSize:e=>`${e.value} p\xedxeles`,descending:`descendente`,descendingSort:e=>`ordenado por columna ${e.columnName} en orden descendente`,expand:`Ampliar`,resizerDescription:`Pulse Intro para empezar a redimensionar`,select:`Seleccionar`,selectAll:`Seleccionar todos`,sortable:`columna ordenable`};var aR={};aR={ascending:`tõusev järjestus`,ascendingSort:e=>`sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,collapse:`Ahenda`,columnSize:e=>`${e.value} pikslit`,descending:`laskuv järjestus`,descendingSort:e=>`sorditud veeru j\xe4rgi ${e.columnName} laskuvas j\xe4rjestuses`,expand:`Laienda`,resizerDescription:`Suuruse muutmise alustamiseks vajutage klahvi Enter`,select:`Vali`,selectAll:`Vali kõik`,sortable:`sorditav veerg`};var oR={};oR={ascending:`nouseva`,ascendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,collapse:`Pienennä`,columnSize:e=>`${e.value} pikseli\xe4`,descending:`laskeva`,descendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan laskevassa j\xe4rjestyksess\xe4`,expand:`Laajenna`,resizerDescription:`Aloita koon muutos painamalla Enter-näppäintä`,select:`Valitse`,selectAll:`Valitse kaikki`,sortable:`lajiteltava sarake`};var sR={};sR={ascending:`croissant`,ascendingSort:e=>`tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,collapse:`Réduire`,columnSize:e=>`${e.value}\xa0pixels`,descending:`décroissant`,descendingSort:e=>`tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre d\xe9croissant`,expand:`Développer`,resizerDescription:`Appuyez sur Entrée pour commencer le redimensionnement.`,select:`Sélectionner`,selectAll:`Sélectionner tout`,sortable:`colonne triable`};var cR={};cR={ascending:`עולה`,ascendingSort:e=>`\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5E2}\u{5D5}\u{5DC}\u{5D4}`,collapse:`כווץ`,columnSize:e=>`${e.value} \u{5E4}\u{5D9}\u{5E7}\u{5E1}\u{5DC}\u{5D9}\u{5DD}`,descending:`יורד`,descendingSort:e=>`\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5D9}\u{5D5}\u{5E8}\u{5D3}`,expand:`הרחב`,resizerDescription:`הקש Enter כדי לשנות את הגודל`,select:`בחר`,selectAll:`בחר הכול`,sortable:`עמודה שניתן למיין`};var lR={};lR={ascending:`rastući`,ascendingSort:e=>`razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,collapse:`Sažmi`,columnSize:e=>`${e.value} piksela`,descending:`padajući`,descendingSort:e=>`razvrstano po stupcima ${e.columnName} padaju\u{107}im redoslijedom`,expand:`Proširi`,resizerDescription:`Pritisnite Enter da biste započeli promenu veličine`,select:`Odaberite`,selectAll:`Odaberite sve`,sortable:`stupac koji se može razvrstati`};var uR={};uR={ascending:`növekvő`,ascendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,collapse:`Összecsukás`,columnSize:e=>`${e.value} k\xe9ppont`,descending:`csökkenő`,descendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, cs\xf6kken\u{151} sorrendben`,expand:`Kibontás`,resizerDescription:`Nyomja le az Enter billentyűt az átméretezés megkezdéséhez`,select:`Kijelölés`,selectAll:`Összes kijelölése`,sortable:`rendezendő oszlop`};var dR={};dR={ascending:`crescente`,ascendingSort:e=>`in ordine crescente in base alla colonna ${e.columnName}`,collapse:`Comprimi`,columnSize:e=>`${e.value} pixel`,descending:`decrescente`,descendingSort:e=>`in ordine decrescente in base alla colonna ${e.columnName}`,expand:`Espandi`,resizerDescription:`Premi Invio per iniziare a ridimensionare`,select:`Seleziona`,selectAll:`Seleziona tutto`,sortable:`colonna ordinabile`};var fR={};fR={ascending:`昇順`,ascendingSort:e=>`\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,collapse:`折りたたむ`,columnSize:e=>`${e.value} \u{30D4}\u{30AF}\u{30BB}\u{30EB}`,descending:`降順`,descendingSort:e=>`\u{5217} ${e.columnName} \u{3092}\u{964D}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,expand:`展開`,resizerDescription:`Enter キーを押してサイズ変更を開始`,select:`選択`,selectAll:`すべて選択`,sortable:`並べ替え可能な列`};var pR={};pR={ascending:`오름차순`,ascendingSort:e=>`${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{C624}\u{B984}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,collapse:`접기`,columnSize:e=>`${e.value} \u{D53D}\u{C140}`,descending:`내림차순`,descendingSort:e=>`${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{B0B4}\u{B9BC}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,expand:`펼치기`,resizerDescription:`크기 조정을 시작하려면 Enter를 누르세요.`,select:`선택`,selectAll:`모두 선택`,sortable:`정렬 가능한 열`};var mR={};mR={ascending:`didėjančia tvarka`,ascendingSort:e=>`surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,collapse:`Sutraukti`,columnSize:e=>`${e.value} piks.`,descending:`mažėjančia tvarka`,descendingSort:e=>`surikiuota pagal stulpel\u{12F} ${e.columnName} ma\u{17E}\u{117}jan\u{10D}ia tvarka`,expand:`Išskleisti`,resizerDescription:`Paspauskite „Enter“, kad pradėtumėte keisti dydį`,select:`Pasirinkti`,selectAll:`Pasirinkti viską`,sortable:`rikiuojamas stulpelis`};var hR={};hR={ascending:`augošā secībā`,ascendingSort:e=>`k\u{101}rtots p\u{113}c kolonnas ${e.columnName} augo\u{161}\u{101} sec\u{12B}b\u{101}`,collapse:`Sakļaut`,columnSize:e=>`${e.value} pikse\u{13C}i`,descending:`dilstošā secībā`,descendingSort:e=>`k\u{101}rtots p\u{113}c kolonnas ${e.columnName} dilsto\u{161}\u{101} sec\u{12B}b\u{101}`,expand:`Izvērst`,resizerDescription:`Nospiediet Enter, lai sāktu izmēru mainīšanu`,select:`Atlasīt`,selectAll:`Atlasīt visu`,sortable:`kārtojamā kolonna`};var gR={};gR={ascending:`stigende`,ascendingSort:e=>`sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,collapse:`Skjul`,columnSize:e=>`${e.value} piksler`,descending:`synkende`,descendingSort:e=>`sortert etter kolonne ${e.columnName} i synkende rekkef\xf8lge`,expand:`Utvid`,resizerDescription:`Trykk på Enter for å starte størrelsesendring`,select:`Velg`,selectAll:`Velg alle`,sortable:`kolonne som kan sorteres`};var _R={};_R={ascending:`oplopend`,ascendingSort:e=>`gesorteerd in oplopende volgorde in kolom ${e.columnName}`,collapse:`Samenvouwen`,columnSize:e=>`${e.value} pixels`,descending:`aflopend`,descendingSort:e=>`gesorteerd in aflopende volgorde in kolom ${e.columnName}`,expand:`Uitvouwen`,resizerDescription:`Druk op Enter om het formaat te wijzigen`,select:`Selecteren`,selectAll:`Alles selecteren`,sortable:`sorteerbare kolom`};var vR={};vR={ascending:`rosnąco`,ascendingSort:e=>`posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,collapse:`Zwiń`,columnSize:e=>`Liczba pikseli: ${e.value}`,descending:`malejąco`,descendingSort:e=>`posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku malej\u{105}cym`,expand:`Rozwiń`,resizerDescription:`Naciśnij Enter, aby rozpocząć zmienianie rozmiaru`,select:`Zaznacz`,selectAll:`Zaznacz wszystko`,sortable:`kolumna z możliwością sortowania`};var yR={};yR={ascending:`crescente`,ascendingSort:e=>`classificado pela coluna ${e.columnName} em ordem crescente`,collapse:`Recolher`,columnSize:e=>`${e.value} pixels`,descending:`decrescente`,descendingSort:e=>`classificado pela coluna ${e.columnName} em ordem decrescente`,expand:`Expandir`,resizerDescription:`Pressione Enter para começar a redimensionar`,select:`Selecionar`,selectAll:`Selecionar tudo`,sortable:`coluna classificável`};var bR={};bR={ascending:`ascendente`,ascendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem ascendente`,collapse:`Colapsar`,columnSize:e=>`${e.value} pixels`,descending:`descendente`,descendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem descendente`,expand:`Expandir`,resizerDescription:`Prima Enter para iniciar o redimensionamento`,select:`Selecionar`,selectAll:`Selecionar tudo`,sortable:`Coluna ordenável`};var xR={};xR={ascending:`crescătoare`,ascendingSort:e=>`sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,collapse:`Restrângeți`,columnSize:e=>`${e.value} pixeli`,descending:`descrescătoare`,descendingSort:e=>`sortate dup\u{103} coloana ${e.columnName} \xeen ordine descresc\u{103}toare`,expand:`Extindeți`,resizerDescription:`Apăsați pe Enter pentru a începe redimensionarea`,select:`Selectare`,selectAll:`Selectare totală`,sortable:`coloană sortabilă`};var SR={};SR={ascending:`возрастание`,ascendingSort:e=>`\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{432}\u{43E}\u{437}\u{440}\u{430}\u{441}\u{442}\u{430}\u{43D}\u{438}\u{44F}`,collapse:`Свернуть`,columnSize:e=>`${e.value} \u{43F}\u{438}\u{43A}\u{441}.`,descending:`убывание`,descendingSort:e=>`\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{443}\u{431}\u{44B}\u{432}\u{430}\u{43D}\u{438}\u{44F}`,expand:`Развернуть`,resizerDescription:`Нажмите клавишу Enter для начала изменения размеров`,select:`Выбрать`,selectAll:`Выбрать все`,sortable:`сортируемый столбец`};var CR={};CR={ascending:`vzostupne`,ascendingSort:e=>`zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,collapse:`Zbaliť`,columnSize:e=>`Po\u{10D}et pixelov: ${e.value}`,descending:`zostupne`,descendingSort:e=>`zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,expand:`Rozbaliť`,resizerDescription:`Stlačením klávesu Enter začnete zmenu veľkosti`,select:`Vybrať`,selectAll:`Vybrať všetko`,sortable:`zoraditeľný stĺpec`};var wR={};wR={ascending:`naraščajoče`,ascendingSort:e=>`razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v nara\u{161}\u{10D}ajo\u{10D}em vrstnem redu`,collapse:`Strni`,columnSize:e=>`${e.value} slikovnih pik`,descending:`padajoče`,descendingSort:e=>`razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v padajo\u{10D}em vrstnem redu`,expand:`Razširi`,resizerDescription:`Pritisnite tipko Enter da začnete spreminjati velikost`,select:`Izberite`,selectAll:`Izberite vse`,sortable:`razvrstljivi stolpec`};var TR={};TR={ascending:`rastući`,ascendingSort:e=>`sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,collapse:`Skupi`,columnSize:e=>`${e.value} piksela`,descending:`padajući`,descendingSort:e=>`sortirano po kolonama ${e.columnName} padaju\u{107}im redosledom`,expand:`Proširi`,resizerDescription:`Pritisnite Enter da biste započeli promenu veličine`,select:`Izaberite`,selectAll:`Izaberite sve`,sortable:`kolona koja se može sortirati`};var ER={};ER={ascending:`stigande`,ascendingSort:e=>`sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,collapse:`Dölj`,columnSize:e=>`${e.value} pixlar`,descending:`fallande`,descendingSort:e=>`sorterat p\xe5 kolumn ${e.columnName} i fallande ordning`,expand:`Expandera`,resizerDescription:`Tryck på Retur för att börja ändra storlek`,select:`Markera`,selectAll:`Markera allt`,sortable:`sorterbar kolumn`};var DR={};DR={ascending:`artan sırada`,ascendingSort:e=>`${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,collapse:`Daralt`,columnSize:e=>`${e.value} piksel`,descending:`azalan sırada`,descendingSort:e=>`${e.columnName} s\xfctuna g\xf6re azalan d\xfczende s\u{131}rala`,expand:`Genişlet`,resizerDescription:`Yeniden boyutlandırmak için Enter'a basın`,select:`Seç`,selectAll:`Tümünü Seç`,sortable:`Sıralanabilir sütun`};var OR={};OR={ascending:`висхідний`,ascendingSort:e=>`\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{432}\u{438}\u{441}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,collapse:`Згорнути`,columnSize:e=>`${e.value} \u{43F}\u{456}\u{43A}\u{441}.`,descending:`низхідний`,descendingSort:e=>`\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{43D}\u{438}\u{437}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,expand:`Розгорнути`,resizerDescription:`Натисніть Enter, щоб почати зміну розміру`,select:`Вибрати`,selectAll:`Вибрати все`,sortable:`сортувальний стовпець`};var kR={};kR={ascending:`升序`,ascendingSort:e=>`\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,collapse:`折叠`,columnSize:e=>`${e.value} \u{50CF}\u{7D20}`,descending:`降序`,descendingSort:e=>`\u{6309}\u{5217} ${e.columnName} \u{964D}\u{5E8F}\u{6392}\u{5E8F}`,expand:`扩展`,resizerDescription:`按 Enter 开始调整大小。`,select:`选择`,selectAll:`全选`,sortable:`可排序的列`};var AR={};AR={ascending:`遞增`,ascendingSort:e=>`\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{589E}\u{6392}\u{5E8F}`,collapse:`收合`,columnSize:e=>`${e.value} \u{50CF}\u{7D20}`,descending:`遞減`,descendingSort:e=>`\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{6E1B}\u{6392}\u{5E8F}`,expand:`展開`,resizerDescription:`按 Enter 鍵以開始調整大小`,select:`選取`,selectAll:`全選`,sortable:`可排序的欄`};var jR={};jR={"ar-AE":ZL,"bg-BG":QL,"cs-CZ":$L,"da-DK":eR,"de-DE":tR,"el-GR":nR,"en-US":rR,"es-ES":iR,"et-EE":aR,"fi-FI":oR,"fr-FR":sR,"he-IL":cR,"hr-HR":lR,"hu-HU":uR,"it-IT":dR,"ja-JP":fR,"ko-KR":pR,"lt-LT":mR,"lv-LV":hR,"nb-NO":gR,"nl-NL":_R,"pl-PL":vR,"pt-BR":yR,"pt-PT":bR,"ro-RO":xR,"ru-RU":SR,"sk-SK":CR,"sl-SI":wR,"sr-SP":TR,"sv-SE":ER,"tr-TR":DR,"uk-UA":OR,"zh-CN":kR,"zh-TW":AR};var MR=class extends HL{isCell(e){return e.type===`cell`||e.type===`rowheader`||e.type===`column`}getKeyBelow(e,t){let n=this.collection.getItem(e);if(!n)return null;if(n.type===`column`){let e=lb(cb(n,this.collection));if(e)return e.key;let t=this.getFirstKey();return t==null||!this.collection.getItem(t)?null:super.getKeyForItemInRowByIndex(t,n.index)}return super.getKeyBelow(e,t)}getKeyAbove(e,t){let n=this.collection.getItem(e);if(!n)return null;if(n.type===`column`){let e=n.parentKey==null?null:this.collection.getItem(n.parentKey);return e&&e.type===`column`?e.key:null}let r=super.getKeyAbove(e,t),i=r==null?null:this.collection.getItem(r);return i&&i.type!==`headerrow`?r:this.isCell(n)?this.collection.columns[n.index].key:this.collection.columns[0].key}findNextColumnKey(e){let t=this.findNextKey(e.key,e=>e.type===`column`);if(t!=null)return t;let n=this.collection.headerRows[e.level];for(let e of cb(n,this.collection))if(e.type===`column`)return e.key;return null}findPreviousColumnKey(e){let t=this.findPreviousKey(e.key,e=>e.type===`column`);if(t!=null)return t;let n=this.collection.headerRows[e.level],r=[...cb(n,this.collection)];for(let e=r.length-1;e>=0;e--){let t=r[e];if(t.type===`column`)return t.key}return null}getKeyRightOf(e){let t=this.collection.getItem(e);return t?t.type===`column`?this.direction===`rtl`?this.findPreviousColumnKey(t):this.findNextColumnKey(t):super.getKeyRightOf(e):null}getKeyLeftOf(e){let t=this.collection.getItem(e);return t?t.type===`column`?this.direction===`rtl`?this.findNextColumnKey(t):this.findPreviousColumnKey(t):super.getKeyLeftOf(e):null}getKeyForSearch(e,t){if(!this.collator)return null;let n=this.collection,r=t??this.getFirstKey();if(r==null)return null;let i=n.getItem(r);i?.type===`cell`&&(r=i.parentKey??null);let a=!1;for(;r!=null;){let o=n.getItem(r);if(!o)return null;if(o.textValue){let t=o.textValue.slice(0,e.length);if(this.collator.compare(t,e)===0)return o.key}for(let r of cb(o,this.collection)){let a=n.columns[r.index];if(n.rowHeaderColumnKeys.has(a.key)&&r.textValue){let a=r.textValue.slice(0,e.length);if(this.collator.compare(a,e)===0)return(t==null?i:n.getItem(t))?.type===`cell`?r.key:o.key}}r=this.getKeyBelow(r),r==null&&!a&&(r=this.getFirstKey(),a=!0)}return null}};function NR(e){return e&&e.__esModule?e.default:e}function PR(e,t,n){let{keyboardDelegate:r,isVirtualized:i,layoutDelegate:a,layout:o}=e,s=nb({usage:`search`,sensitivity:`base`}),{direction:c}=lf(),l=t.selectionManager.disabledBehavior,u=(0,v.useMemo)(()=>r||new MR({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:l,ref:n,direction:c,collator:s,layoutDelegate:a,layout:o}),[r,t.collection,t.disabledKeys,l,n,c,s,a,o]),d=so(e.id);KL.set(t,d);let{gridProps:f}=GL({...e,id:d,keyboardDelegate:u},t,n);i&&(f[`aria-rowcount`]=t.collection.size+t.collection.headerRows.length),t.treeColumn!=null&&(f.role=`treegrid`);let{column:p,direction:m}=t.sortDescriptor||{},h=Xg(NR(jR),`@react-aria/table`),g=(0,v.useMemo)(()=>{let e=t.collection.columns.find(e=>e.key===p)?.textValue??``;return m&&p?h.format(`${m}Sort`,{columnName:e}):void 0},[m,p,t.collection.columns]),_=ls(g);return qo(()=>{g&&Pf(g,`assertive`,500)},[g]),{gridProps:V(f,_,{"aria-describedby":[_[`aria-describedby`],f[`aria-describedby`]].filter(Boolean).join(` `)})}}function FR(e,t,n){let{node:r,isVirtualized:i,focusMode:a,allowsArrowNavigation:o,shouldSelectOnPressUp:s,onAction:c}=e,{direction:l}=lf(),{keyboardDelegate:u,actions:{onCellAction:d},keyboardNavigationBehavior:f}=WL.get(t),p=a??(f===`tab`?`cell`:`child`),m=(0,v.useRef)(null),h=()=>{if(n.current){let e=Fh(n.current);if(p===`child`){if(wo(n.current)&&n.current!==So(fo(n.current)))return;let r=t.selectionManager.childFocusStrategy===`last`?IR(e):e.firstChild();if(r){pp(r);return}}(m.current!=null&&r.key!==m.current||!wo(n.current))&&pp(n.current)}},{itemProps:g,isPressed:_}=ab({selectionManager:t.selectionManager,key:r.key,ref:n,isVirtualized:i,focus:h,shouldSelectOnPressUp:s,onAction:d?()=>d(r.key):c,isDisabled:t.collection.size===0}),y=V(g,{role:`gridcell`,onKeyDownCapture:f!==`tab`||o?e=>{let i=So(fo(n.current));if(!xo(e.currentTarget,B(e))||t.isKeyboardNavigationDisabled||!n.current||!i)return;let a=Fh(n.current);switch(a.currentNode=i,e.key){case`ArrowLeft`:{let t=l===`rtl`?a.nextNode():a.previousNode();if(p===`child`&&t===n.current&&(t=null),e.preventDefault(),e.stopPropagation(),t)pp(t),fs(t,{containingElement:$o(n.current)});else{if(u.getKeyLeftOf?.(r.key)!==r.key){n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent));break}p===`cell`&&l===`rtl`?(pp(n.current),fs(n.current,{containingElement:$o(n.current)})):(a.currentNode=n.current,t=l===`rtl`?a.firstChild():IR(a),t&&(pp(t),fs(t,{containingElement:$o(n.current)})))}break}case`ArrowRight`:{let t=l===`rtl`?a.previousNode():a.nextNode();if(p===`child`&&t===n.current&&(t=null),e.preventDefault(),e.stopPropagation(),t)pp(t),fs(t,{containingElement:$o(n.current)});else{if(u.getKeyRightOf?.(r.key)!==r.key){n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent));break}p===`cell`&&l===`ltr`?(pp(n.current),fs(n.current,{containingElement:$o(n.current)})):(a.currentNode=n.current,t=l===`rtl`?IR(a):a.firstChild(),t&&(pp(t),fs(t,{containingElement:$o(n.current)})))}break}case`ArrowUp`:case`ArrowDown`:!e.altKey&&xo(n.current,B(e))&&(e.stopPropagation(),e.preventDefault(),n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent)))}}:void 0,onKeyDown:f===`tab`?e=>{let r=So(fo(n.current));if(!(!xo(e.currentTarget,B(e))||t.isKeyboardNavigationDisabled||!n.current||!r)){if(f===`tab`&&B(e)!==n.current&&e.key!==`Tab`){e.stopPropagation();return}if(e.key===`Tab`&&f===`tab`){let t=Fh(n.current,{tabbable:!0});t.currentNode=r,(e.shiftKey?t.previousNode():t.nextNode())&&e.stopPropagation()}}}:void 0,"aria-colspan":r.colSpan,"aria-colindex":r.colIndex==null?void 0:r.colIndex+1,colSpan:i?void 0:r.colSpan,onFocus:e=>{if(m.current=r.key,B(e)!==n.current){ap()||t.selectionManager.setFocusedKey(r.key);return}p===`child`&&e.relatedTarget&&xo(n.current,e.relatedTarget)||requestAnimationFrame(()=>{p===`child`&&So(fo(n.current))===n.current&&h()})},...p===`child`&&f===`tab`?{tabIndex:-1}:{}});return i&&(y[`aria-colindex`]=(r.colIndex??r.index)+1),s&&y.tabIndex!=null&&y.onPointerDown==null&&(y.onPointerDown=e=>{let t=e.currentTarget,n=t.getAttribute(`tabindex`);t.removeAttribute(`tabindex`),requestAnimationFrame(()=>{n!=null&&t.setAttribute(`tabindex`,n)})}),{gridCellProps:y,isPressed:_}}function IR(e){let t=null,n=null;do n=e.lastChild(),n&&(t=n);while(n);return t}function LR(e){return e&&e.__esModule?e.default:e}function RR(e,t,n){let{node:r}=e,i=r.props.allowsSorting,{gridCellProps:a}=FR({focusMode:`child`,...e},t,n),o=r.props.isSelectionCell&&t.selectionManager.selectionMode===`single`,{pressProps:s,isPressed:c}=Wp({isDisabled:!i||o,onPress(){t.sort(r.key)},ref:n}),{focusableProps:l}=Mp({},n),u,d=t.sortDescriptor?.column===r.key,f=t.sortDescriptor?.direction;r.props.allowsSorting&&!Da()&&(u=d?f:`none`);let p=Xg(LR(jR),`@react-aria/table`),m;i&&(m=`${p.format(`sortable`)}`,d&&f&&Da()&&(m=`${m}, ${p.format(f)}`));let h=ls(m),g=t.collection.size===0;return(0,v.useEffect)(()=>{g&&t.selectionManager.focusedKey===r.key&&t.selectionManager.setFocusedKey(null)},[g,t.selectionManager,r.key]),{columnHeaderProps:{...V(l,a,s,h,g?{tabIndex:-1}:null),role:`columnheader`,id:JL(t,r.key),"aria-colspan":r.colSpan&&r.colSpan>1?r.colSpan:void 0,"aria-sort":u},isPressed:c}}function zR(e,t,n){let{node:r,isVirtualized:i,shouldSelectOnPressUp:a,onAction:o}=e,{actions:s,shouldSelectOnPressUp:c}=WL.get(t),l=s.onRowAction?()=>s.onRowAction?.(r.key):o,{itemProps:u,...d}=ab({selectionManager:t.selectionManager,key:r.key,ref:n,isVirtualized:i,shouldSelectOnPressUp:c||a,onAction:l||r?.props?.onAction?uo(r?.props?.onAction,l):void 0,isDisabled:t.collection.size===0}),f=t.selectionManager.isSelected(r.key),p={role:`row`,"aria-selected":t.selectionManager.selectionMode===`none`?void 0:f,"aria-disabled":d.isDisabled||void 0,...u};return i&&(p[`aria-rowindex`]=r.index+1),{rowProps:p,...d}}function BR(e){return e&&e.__esModule?e.default:e}var VR={expand:{ltr:`ArrowRight`,rtl:`ArrowLeft`},collapse:{ltr:`ArrowLeft`,rtl:`ArrowRight`}};function HR(e,t,n){let{node:r,isVirtualized:i}=e,{rowProps:a,...o}=zR(e,t,n),{direction:s}=lf();i&&t.treeColumn==null?a[`aria-rowindex`]=r.index+1+t.collection.headerRows.length:delete a[`aria-rowindex`];let c=t.treeColumn!=null&&(t.expandedKeys===`all`||t.expandedKeys.has(r.key)),l=Xg(BR(jR),`@react-aria/table`),u=Uo({"aria-label":c?l.format(`collapse`):l.format(`expand`),"aria-labelledby":XL(t,r.key)}),d={},f={};if(t.treeColumn!=null){let e=t.collection.getItem(r.key);if(e!=null){let n=UR(t.collection,r),i=e.props?.hasChildRows||e.props?.UNSTABLE_childItems||n?.type!==`cell`,a=t.collection.getItem(r.parentKey),c=a.type===`tablebody`||a.type===`body`,l=UR(t.collection,a);for(;l&&l.type!==`item`&&l.prevKey!=null;)l=t.collection.getItem(l.prevKey);d={onKeyDown:n=>{n.key===VR.expand[s]&&t.selectionManager.focusedKey===e.key&&i&&t.expandedKeys!==`all`&&!t.expandedKeys.has(e.key)?(t.toggleKey(e.key),n.stopPropagation()):n.key===VR.collapse[s]&&t.selectionManager.focusedKey===e.key&&(t.expandedKeys===`all`?t.expandedKeys===`all`&&(t.toggleKey(e.key),n.stopPropagation()):i&&t.expandedKeys.has(e.key)?(t.toggleKey(e.key),n.stopPropagation()):!t.expandedKeys.has(e.key)&&e.parentKey!=null&&e.level>0&&(t.selectionManager.setFocusedKey(e.parentKey),n.stopPropagation()))},"aria-expanded":i?t.expandedKeys===`all`||t.expandedKeys.has(r.key):void 0,"aria-level":e.level+1,"aria-posinset":e.index-(c?0:t.collection.columnCount)+1,"aria-setsize":l.index-(c?0:t.collection.columnCount)+1},f={isDisabled:o.isDisabled,onPress:()=>{o.isDisabled||(t.toggleKey(r.key),t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(r.key))},excludeFromTabOrder:!0,preventFocusOnPress:!0,"data-react-aria-prevent-focus":!0,...u}}}let p=Ba(r.props),m=o.hasAction?p:{};return{rowProps:{...V(a,d,m),"aria-labelledby":XL(t,r.key)},expandButtonProps:f,...o}}function UR(e,t){return`lastChildKey`in t?t.lastChildKey==null?null:e.getItem(t.lastChildKey):Array.from(t.childNodes).findLast(e=>e.parentKey===t.key)}function WR(e,t,n){let{node:r,isVirtualized:i}=e,a={role:`row`};return i&&t.treeColumn==null&&(a[`aria-rowindex`]=r.index+1),{rowProps:a}}function GR(e,t,n){let{gridCellProps:r,isPressed:i}=FR(e,t,n),a=e.node.column?.key;return a!=null&&t.collection.rowHeaderColumnKeys.has(a)&&(r.role=`rowheader`,r.id=YL(t,e.node.parentKey,a)),{gridCellProps:r,isPressed:i}}function KR(e){return e&&e.__esModule?e.default:e}function qR(e,t){let{key:n}=e,{checkboxProps:r}=iL(e,t);return{checkboxProps:{...r,"aria-labelledby":`${r.id} ${XL(t,n)}`}}}function JR(e){let{isEmpty:t,isSelectAll:n,selectionMode:r}=e.selectionManager;return{checkboxProps:{"aria-label":Xg(KR(jR),`@react-aria/table`).format(r===`single`?`select`:`selectAll`),isSelected:n,isDisabled:r!==`multiple`||e.collection.size===0||e.collection.rows.length===1&&e.collection.rows[0].type===`loader`,isIndeterminate:!t&&!n,onChange:()=>e.selectionManager.toggleSelectAll()}}}function YR(e){return e&&e.__esModule?e.default:e}function XR(e,t,n){let{column:r,triggerRef:i,isDisabled:a,onResizeStart:o,onResize:s,onResizeEnd:c,"aria-label":l}=e,u=Xg(YR(jR),`@react-aria/table`),d=so(),f=t.resizingColumn===r.key,p=(0,v.useRef)(f),m=(0,v.useRef)(null),h=(0,v.useRef)(!1),g=t.tableState.isKeyboardNavigationDisabled,[_,y]=(0,v.useState)(!1),{direction:b}=lf(),x=(0,v.useCallback)(e=>{p.current||(m.current=t.updateResizedColumns(e.key,t.getColumnWidth(e.key)),t.startResize(e.key),t.tableState.setKeyboardNavigationDisabled(!0),o?.(m.current)),p.current=!0},[t,o]),S=(0,v.useCallback)((e,n)=>{let r=t.updateResizedColumns(e.key,n);s?.(r),m.current=r},[t,s]),C=(0,v.useCallback)(e=>{p.current&&(m.current??=t.updateResizedColumns(e.key,t.getColumnWidth(e.key)),t.endResize(),t.tableState.setKeyboardNavigationDisabled(!1),c?.(m.current),p.current=!1,i?.current&&!h.current&&pp(i.current)),m.current=null},[t,i,c]),w=()=>{if(g){C(r);return}return!1},{keyboardProps:T}=Op({shortcuts:{Escape:()=>w(),Enter:()=>{g?C(r):x(r)}," ":()=>w(),Tab:()=>w()}}),E=(0,v.useRef)(0),{moveProps:D}=rw({onMoveStart(e){E.current=t.getColumnWidth(r.key),e.pointerType===`mouse`&&y(!0),x(r)},onMove(e){let{deltaX:t,deltaY:n,pointerType:i}=e;b===`rtl`&&(t*=-1),i===`keyboard`&&(n!==0&&t===0&&(t=n*-1),t*=10),t!==0&&(E.current+=t,S(r,E.current))},onMoveEnd(e){let{pointerType:t}=e;E.current=0,y(!1),(t===`mouse`||t===`touch`&&h.current)&&C(r)}}),O=(0,v.useCallback)(e=>{g&&D.onKeyDown?.(e)},[g,D]),k=Math.floor(t.getColumnMinWidth(r.key)),A=Math.floor(t.getColumnMaxWidth(r.key));A===1/0&&(A=2**53-1);let j=Math.floor(t.getColumnWidth(r.key)),M=lp();M===`virtual`&&typeof window<`u`&&`ontouchstart`in window&&(M=`touch`);let N=ls(i?.current==null&&(M===`keyboard`||M===`virtual`)&&!f?u.format(`resizerDescription`):void 0),P={"aria-label":l,"aria-orientation":`horizontal`,"aria-labelledby":`${d} ${JL(t.tableState,r.key)}`,"aria-valuetext":u.format(`columnSize`,{value:j}),type:`range`,min:k,max:A,value:j,...N},F=(0,v.useCallback)(()=>{n.current&&pp(n.current)},[n]),I=t.resizingColumn,L=(0,v.useRef)(null),R=Ko(x);(0,v.useEffect)(()=>{if(L.current!==I&&I!=null&&I===r.key){h.current=So()===n.current,R(r);let e=setTimeout(()=>F(),0),t=setTimeout(F,400);return()=>{clearTimeout(e),clearTimeout(t)}}L.current=I},[I,r,F,n]);let ee=e=>{let n=t.getColumnWidth(r.key),i=parseFloat(B(e).value);i=i>n?n+10:n-10,S(r,i)},{pressProps:te}=Wp({preventFocusOnPress:!0,onPressStart:e=>{if(!(e.ctrlKey||e.altKey||e.metaKey||e.shiftKey||e.pointerType===`keyboard`)){if(e.pointerType===`virtual`&&t.resizingColumn!=null){C(r);return}F(),e.pointerType!==`virtual`&&x(r)}},onPress:e=>{(e.pointerType===`touch`&&h.current||e.pointerType===`mouse`)&&t.resizingColumn!=null&&C(r)}}),{visuallyHiddenProps:ne}=Qg();return{resizerProps:V(T,{...D,onKeyDown:O},te,{style:{touchAction:`none`}}),inputProps:V(ne,{id:d,onBlur:()=>{C(r)},onChange:ee,disabled:a},P),isResizing:f,isMouseResizing:_}}function ZR(){return{rowGroupProps:{role:`rowgroup`}}}function QR(){return ZR()}function $R(e){return e&&e.__esModule?e.default:e}var ez=class extends y_{withExpandedKeys(e){let t=this.clone();return t.expandedKeys=e,t.frozen=this.frozen,t.rows=Array.from(t.getRows()),t}addNode(e){super.addNode(e),this.columnsDirty||=e.type===`column`,e.type===`tableheader`&&(this.head=e)}getRows(){let e=[];for(let t of this)(t.type===`tablebody`||t.type===`tablefooter`)&&e.push(...this.getChildren(t.key));return e}get body(){for(let e of this)if(e.type===`tablebody`)return e;return new xz(-2)}commit(e,t,n=!1){this.updateColumns(n),this.firstKey=e,this.lastKey=t,this.rows=[];for(let e of this.getRows()){let t=e.lastChildKey;if(t!=null){let e=this.getItem(t);for(;e&&e.type!==`cell`;)e=e.prevKey==null?null:this.getItem(e.prevKey);if(e){let t=(e.colIndex??e.index)+(e.colSpan??1);if(t!==this.columns.length&&!n)throw Error(`Cell count must match column count. Found ${t} cells and ${this.columns.length} columns.`)}}this.rows.push(e)}super.commit(e,t,n)}updateColumns(e){if(!this.columnsDirty)return;this.rowHeaderColumnKeys=new Set,this.columns=[];let t=new Map,n=e=>{e.type===`column`&&(t.set(e.key,e),e.hasChildNodes||(e.index=this.columns.length,this.columns.push(e),e.props.isRowHeader&&this.rowHeaderColumnKeys.add(e.key)));for(let t of this.getChildren(e.key))n(t)};for(let e of this.getChildren(this.head.key))n(e);if(this.headerRows=DL(t,this.columns),this.columnsDirty=!1,this.rowHeaderColumnKeys.size===0&&this.columns.length>0&&!e)throw Error(`A table must have at least one Column with the isRowHeader prop set to true`)}get columnCount(){return this.columns.length}*[Symbol.iterator](){let e=this.firstKey;for(;e!=null;){let t=this.getItem(e);t&&(yield t),e=t?.nextKey??null}}getFirstKey(){for(let e of this)if(e.type===`tablebody`)return e.firstChildKey??null;return null}getLastKey(){let e=this.lastKey;if(e==null)return null;let t=this.getItem(e);for(;t?.lastChildKey!=null&&(t.type!==`item`||this.expandedKeys.has(t.key));)t=this.getItem(t.lastChildKey);return t?.key}getKeyAfter(e){let t=this.getItem(e);if(t?.type===`column`)return t.nextKey??null;if(!t)return null;if(t.type===`item`&&t.firstChildKey!=null&&this.expandedKeys.has(t.key)){let e=this.getItem(t.firstChildKey);for(;e;){if(e.type===`item`)return e.key;e=e.nextKey==null?null:this.getItem(e.nextKey)}}return super.getKeyAfter(e)}getKeyBefore(e){let t=this.getItem(e);if(t?.type===`column`)return t.prevKey??null;if(!t)return null;let n=null;if(t.prevKey!=null){for(t=this.getItem(t.prevKey);t&&(t.type!==`item`||this.expandedKeys.has(t.key))&&t.lastChildKey!=null;)t=this.getItem(t.lastChildKey);n=t?.key??null}return n??=t.parentKey,n!=null&&this.getItem(n)?.type===`tableheader`?null:n}getChildren(e){let t=this.getItem(e);if(!t){for(let t of this.headerRows)if(t.key===e)return t.childNodes}let n=this;return t?.type===`tablebody`||t?.type===`tablefooter`?{*[Symbol.iterator](){let e=t.firstChildKey,r=e==null?null:n.getItem(e);for(;r;){yield r;let e=n.getKeyAfter(r.key);if(r=e==null?null:n.getItem(e),r&&r.parentKey===t.parentKey)break}}}:{*[Symbol.iterator](){let t=n.getItem(e),r=t?.firstChildKey==null?null:n.getItem(t.firstChildKey);for(;r&&(yield r,r=r.nextKey==null?null:n.getItem(r.nextKey),t?.type!==`item`||r?.type===`cell`););}}}clone(){let e=super.clone();return e.headerRows=this.headerRows,e.columns=this.columns,e.rows=this.rows,e.rowHeaderColumnKeys=this.rowHeaderColumnKeys,e.head=this.head,e}getTextValue(e){let t=this.getItem(e);if(!t)return``;if(t.textValue)return t.textValue;let n=this.rowHeaderColumnKeys,r=[];for(let t of this.getChildren(e)){let e=this.columns[t.index];if(n.has(e.key)&&t.textValue&&r.push(t.textValue),r.length===n.size)break}return r.join(` `)}constructor(...e){super(...e),this.headerRows=[],this.columns=[],this.rows=[],this.rowHeaderColumnKeys=new Set,this.head=new dz(-1),this.columnsDirty=!0,this.expandedKeys=new Set}},tz=(0,v.createContext)(null),nz=(0,v.forwardRef)(function(e,t){let n=Wo(t),r=(0,v.useRef)(null),i=(0,v.useRef)(null),[a,o]=(0,v.useState)(0);Ua(()=>{let e=r.current;for(;e&&e!==n.current&&!Qo(e);)e=e.parentElement;i.current=e},[n]),Xo({ref:i,box:`border-box`,onResize(){o(i.current?.clientWidth??0)}}),Ua(()=>{o(i.current?.clientWidth??0)},[]);let s=(0,v.useMemo)(()=>({tableRef:r,scrollRef:i,tableWidth:a,useTableColumnResizeState:LL,onResizeStart:e.onResizeStart,onResize:e.onResize,onResizeEnd:e.onResizeEnd}),[r,a,e.onResizeStart,e.onResize,e.onResizeEnd]);return v.createElement(J.div,{render:e.render,...H(e,{global:!0}),ref:n,className:e.className||`react-aria-ResizableTableContainer`,style:e.style,onScroll:e.onScroll},v.createElement(tz.Provider,{value:s},e.children))}),rz=(0,v.createContext)(null),iz=(0,v.createContext)(null),az=(0,v.createContext)(null),oz=(0,v.forwardRef)(function(e,t){[e,t]=Bd(e,t,rz);let n=Fb(e),{selectionBehavior:r,selectionMode:i,disallowEmptySelection:a}=n,o=!!e.dragAndDropHooks?.useDraggableCollectionState,s=(0,v.useMemo)(()=>({selectionBehavior:i===`none`?null:r,selectionMode:i,disallowEmptySelection:a,allowsDragging:o}),[r,i,a,o]),c=v.createElement(uz.Provider,{value:s},v.createElement(U_,e));return v.createElement(j_,{content:c,createCollection:()=>new ez},r=>v.createElement(lz,{props:e,forwardedRef:t,selectionState:n,collection:r}))}),sz=(0,v.forwardRef)(function(e,t){let{isVirtualized:n}=(0,v.useContext)(Y_);return n?v.createElement(J.div,{...e,ref:t}):v.createElement(J.table,{...e,ref:t})}),cz={expand:{ltr:`ArrowRight`,rtl:`ArrowLeft`},collapse:{ltr:`ArrowLeft`,rtl:`ArrowRight`}};function lz({props:e,forwardedRef:t,selectionState:n,collection:r}){[e,t]=Bd(e,t,Vv);let{shouldUseVirtualFocus:i,disallowTypeAhead:a,filter:o,...s}=e,c=(0,v.useContext)(tz);t=Wo((0,v.useMemo)(()=>Do(t,c?.tableRef),[t,c?.tableRef]));let[l,u]=fm(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,e.onExpandedChange);r=(0,v.useMemo)(()=>r.withExpandedKeys(l),[r,l]);let d=BL({...s,collection:r,children:void 0,UNSAFE_selectionState:n,expandedKeys:l,onExpandedChange:u}),f=VL(d,o),{isVirtualized:p,layoutDelegate:m,dropTargetDelegate:h,CollectionRoot:g}=(0,v.useContext)(Y_),{dragAndDropHooks:_}=e,{gridProps:y}=PR({...s,layoutDelegate:m,isVirtualized:p},f,t),b=f.selectionManager,x=!!_?.useDraggableCollectionState,S=!!_?.useDroppableCollectionState;(0,v.useRef)(x),(0,v.useRef)(S),(0,v.useEffect)(()=>{},[x,S]);let C,w,T,E=!1,D=null,O=(0,v.useRef)(null),{direction:k}=lf(),[A]=(0,v.useState)(()=>new CL);if(x&&_){C=_.useDraggableCollectionState({collection:f.collection,selectionManager:b,preview:_.renderDragPreview?O:void 0}),_.useDraggableCollection({},C,t);let e=_.DragPreview;D=_.renderDragPreview?v.createElement(e,{ref:O},_.renderDragPreview):null}if(S&&_){w=_.useDroppableCollectionState({collection:f.collection,selectionManager:b});let e=new eb({collection:f.collection,disabledKeys:b.disabledKeys,disabledBehavior:b.disabledBehavior,ref:t,layoutDelegate:m}),n=_.dropTargetDelegate||h||new _.ListDropTargetDelegate(r.rows,t);A.setup(n,d,k),T=_.useDroppableCollection({keyboardDelegate:e,dropTargetDelegate:A,onDropActivate:e=>{if(e.target.type===`item`){let t=e.target.key,n=d.collection.getItem(t),r=l.has(t);n&&n.hasChildNodes&&(!r||_?.isVirtualDragging?.())&&d.toggleKey(t)}},onKeyDown:e=>{let t=w?.target;if(t&&t.type===`item`&&t.dropPosition===`on`){let n=d.collection.getItem(t.key);(e.key===cz.expand[k]&&n?.hasChildNodes&&!d.expandedKeys.has(t.key)||e.key===cz.collapse[k]&&n?.hasChildNodes&&d.expandedKeys.has(t.key))&&d.toggleKey(t.key)}}},w,t),E=w.isDropTarget({type:`root`})}let{focusProps:j,isFocused:M,isFocusVisible:N}=em(),P=Ld({...e,children:void 0,defaultClassName:`react-aria-Table`,values:{isDropTarget:E,isFocused:M,isFocusVisible:N,state:f}}),F=!!(x&&!C?.isDisabled),I=P.style,L=null;c&&(L=c.useTableColumnResizeState({tableWidth:c.tableWidth},f),p||(I={...I,tableLayout:`fixed`,width:`min-content`}));let R=H(e,{global:!0});return v.createElement(Id,{values:[[iz,f],[az,L],[_S,{dragAndDropHooks:_,dragState:C,dropState:w}],[vS,{render:jz}],[Vv,null],[Hv,null]]},v.createElement(hh,null,v.createElement(sz,{...V(R,P,y,j,T?.collectionProps),style:I,ref:t,slot:e.slot||void 0,onScroll:e.onScroll,"data-allows-dragging":F||void 0,"data-drop-target":E||void 0,"data-focused":M||void 0,"data-focus-visible":N||void 0},v.createElement(qv,null,v.createElement(g,{collection:f.collection,scrollRef:c?.scrollRef??t,persistedKeys:xS(b,_,w)})))),D)}var uz=(0,v.createContext)(null),dz=class extends m_{static{this.type=`tableheader`}},fz=(0,v.forwardRef)(function(e,t){let{isVirtualized:n}=(0,v.useContext)(Y_);return n?v.createElement(J.div,{...e,ref:t}):v.createElement(J.thead,{...e,ref:t})}),pz=B_(dz,(e,t)=>{let n=(0,v.useContext)(iz).collection,r=w_({items:n.headerRows,children:(0,v.useCallback)(e=>{switch(e.type){case`headerrow`:return v.createElement(hz,{item:e});default:throw Error(`Unsupported node type in TableHeader: `+e.type)}},[])}),{rowGroupProps:i}=QR(),{hoverProps:a,isHovered:o}=om({onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),s=Ld({...e,children:void 0,defaultClassName:`react-aria-TableHeader`,values:{isHovered:o}});return v.createElement(fz,{...V(H(e,{global:!0}),i,a),...s,ref:t,"data-hovered":o||void 0},r)},e=>v.createElement(U_,{dependencies:e.dependencies,items:e.columns},e.children)),mz=(0,v.forwardRef)(function(e,t){let{isVirtualized:n}=(0,v.useContext)(Y_);return n?v.createElement(`div`,{...e,ref:t}):v.createElement(`tr`,{...e,ref:t})});function hz({item:e}){let t=(0,v.useRef)(null),n=(0,v.useContext)(iz),{isVirtualized:r,CollectionBranch:i}=(0,v.useContext)(Y_),{rowProps:a}=WR({node:e,isVirtualized:r},n,t),{checkboxProps:o}=JR(n);return v.createElement(mz,{...a,ref:t},v.createElement(Id,{values:[[zC,{slots:{selection:o}}],[BC,{slots:{selection:o}}]]},v.createElement(i,{collection:n.collection,parent:e})))}var gz=class extends m_{static{this.type=`column`}},_z=(0,v.forwardRef)(function(e,t){let{isVirtualized:n}=(0,v.useContext)(Y_);return n?v.createElement(J.div,{...e,ref:t}):v.createElement(J.th,{...e,ref:t})}),vz=z_(gz,(e,t,n)=>{let r=Wo(t),i=(0,v.useContext)(iz),{isVirtualized:a}=(0,v.useContext)(Y_),{columnHeaderProps:o,isPressed:s}=RR({node:n,isVirtualized:a,focusMode:e.focusMode,allowsArrowNavigation:e.allowsArrowNavigation},i,r),{isFocused:c,isFocusVisible:l,focusProps:u}=em(),d=(0,v.useContext)(az),f=!1;d&&(f=d.resizingColumn===n.key);let{hoverProps:p,isHovered:m}=om({isDisabled:!e.allowsSorting}),h=Ld({...e,id:void 0,children:n.rendered,defaultClassName:`react-aria-Column`,values:{isHovered:m,isPressed:s,isFocused:c,isFocusVisible:l,allowsSorting:n.props.allowsSorting,sortDirection:i.sortDescriptor?.column===n.key?i.sortDescriptor.direction:void 0,isResizing:f,startResize:()=>{if(d)d.startResize(n.key),i.setKeyboardNavigationDisabled(!0);else throw Error(`Wrap your in a to enable column resizing`)},sort:e=>{i.sort(n.key,e)}}}),g=h.style;d&&(g={...g,width:d.getColumnWidth(n.key)});let _=H(e,{global:!0});return delete _.id,v.createElement(_z,{...V(_,o,u,p),...h,style:g,ref:r,"data-hovered":m||void 0,"data-pressed":s||void 0,"data-focused":c||void 0,"data-focus-visible":l||void 0,"data-resizing":f||void 0,"data-allows-sorting":n.props.allowsSorting||void 0,"data-sort-direction":i.sortDescriptor?.column===n.key?i.sortDescriptor.direction:void 0},v.createElement(Id,{values:[[yz,{column:n,triggerRef:r}],[Y_,K_]]},h.children))}),yz=(0,v.createContext)(null),bz=(0,v.forwardRef)(function(e,t){let n=(0,v.useContext)(az);if(!n)throw Error(`Wrap your in a to enable column resizing`);let r=Xg($R(gS),`react-aria-components`),{onResizeStart:i,onResize:a,onResizeEnd:o}=(0,v.useContext)(tz),{column:s,triggerRef:c}=(0,v.useContext)(yz),l=(0,v.useRef)(null),{resizerProps:u,inputProps:d,isResizing:f,isMouseResizing:p}=XR({column:s,"aria-label":e[`aria-label`]||r.format(`tableResizer`),onResizeStart:i,onResize:a,onResizeEnd:o,triggerRef:c},n,l),{focusProps:m,isFocused:h,isFocusVisible:g}=em(),{hoverProps:_,isHovered:y}=om(e),b=n.getColumnMinWidth(s.key)>=n.getColumnWidth(s.key),x=n.getColumnMaxWidth(s.key)<=n.getColumnWidth(s.key),{direction:S}=lf(),C=`both`;C=b?S===`rtl`?`right`:`left`:x?S===`rtl`?`left`:`right`:`both`;let w=Wo(t),[T,E]=(0,v.useState)(``);(0,v.useEffect)(()=>{if(!w.current)return;let e=window.getComputedStyle(w.current);E(e.cursor)},[w,C]);let D=Ld({...e,defaultClassName:`react-aria-ColumnResizer`,values:{isFocused:h,isFocusVisible:g,isResizing:f,isHovered:y,resizableDirection:C}}),O=H(e,{global:!0});return v.createElement(J.div,{ref:w,role:`presentation`,...V(O,D,u,_),"data-hovered":y||void 0,"data-focused":h||void 0,"data-focus-visible":g||void 0,"data-resizing":f||void 0,"data-resizable-direction":C},D.children,v.createElement(`input`,{ref:l,...V(d,m)}),f&&p&&ys.createPortal(v.createElement(`div`,{style:{position:`fixed`,top:0,left:0,bottom:0,right:0,cursor:T},"data-testid":`cursor-overlay`}),document.body))}),xz=class extends h_{static{this.type=`tablebody`}},Sz=(0,v.forwardRef)(function(e,t){let{isVirtualized:n}=(0,v.useContext)(Y_);return n?v.createElement(J.div,{...e,ref:t}):v.createElement(J.tbody,{...e,ref:t})}),Cz=B_(xz,(e,t,n)=>{let r=(0,v.useContext)(iz),{isVirtualized:i}=(0,v.useContext)(Y_),a=r.collection,{CollectionBranch:o}=(0,v.useContext)(Y_),{dragAndDropHooks:s,dropState:c}=(0,v.useContext)(_S),l=!!s?.useDroppableCollectionState&&!c?.isDisabled,u=l&&!!c&&(c.isDropTarget({type:`root`})??!1),d=a.size===0,f={isDropTarget:u,isEmpty:d},p=Ld({...e,id:void 0,children:void 0,defaultClassName:`react-aria-TableBody`,values:f}),m,h=a.columnCount;if(d&&e.renderEmptyState&&r){let t={},n={},r={};i?(n[`aria-colspan`]=h,r={display:`contents`}):n.colSpan=h,m=v.createElement(Ez,{role:`row`,...t,style:r},v.createElement(kz,{role:`rowheader`,...n,style:r},e.renderEmptyState(f)))}let{rowGroupProps:g}=QR(),_=H(e,{global:!0});return v.createElement(Sz,{...V(_,p,g),ref:t,"data-empty":d||void 0},l&&v.createElement(Iz,null),v.createElement(o,{collection:a,parent:n,renderDropIndicator:bS(s,c)}),m)});(class extends h_{static{this.type=`tablefooter`}});var wz=(0,v.createContext)({isFocusVisibleWithinRow:!1}),Tz=class extends m_{static{this.type=`item`}filter(e,t,n){let r=e.getChildren(this.key);for(let i of r)if(n(i.textValue,i)){let n=this.clone();return t.addDescendants(n,e),n}return null}},Ez=(0,v.forwardRef)(function(e,t){let{isVirtualized:n}=(0,v.useContext)(Y_);return n?v.createElement(J.div,{...e,ref:t}):v.createElement(J.tr,{...e,ref:t})}),Dz=B_(Tz,(e,t,n)=>{let r=Wo(t),i=(0,v.useContext)(iz),{dragAndDropHooks:a,dragState:o,dropState:s}=(0,v.useContext)(_S),{isVirtualized:c,CollectionBranch:l}=(0,v.useContext)(Y_),u=o&&!(o.isDisabled||o.selectionManager.isDisabled(n.key)),{rowProps:d,expandButtonProps:f,...p}=HR({node:n,shouldSelectOnPressUp:!!o,isVirtualized:c},i,r),{isFocused:m,isFocusVisible:h,focusProps:g}=em(),{isFocusVisible:_,focusProps:y}=em({within:!0}),{hoverProps:b,isHovered:x}=om({isDisabled:!p.allowsSelection&&!p.hasAction&&!u,onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),{checkboxProps:S}=qR({key:n.key},i),C;o&&a&&(C=a.useDraggableItem({key:n.key,hasDragButton:!0},o));let w,T=(0,v.useRef)(null),{visuallyHiddenProps:E}=Qg();s&&a&&(w=a.useDropIndicator({target:{type:`item`,key:n.key,dropPosition:`on`}},s,T));let D=(0,v.useRef)(null);(0,v.useEffect)(()=>{o&&D.current},[]);let O=o&&o.isDragging(n.key),{children:k,...A}=e,j=e.hasChildItems||i.collection.getItem(n.lastChildKey)?.type!==`cell`,M=j&&i.expandedKeys.has(n.key),N=Ld({...A,id:void 0,defaultClassName:`react-aria-Row`,defaultStyle:{"--table-row-level":n.level+1},values:{...p,state:i,isHovered:x,isFocused:m,isFocusVisible:h,selectionMode:i.selectionManager.selectionMode,selectionBehavior:i.selectionManager.selectionBehavior,isDragging:O,isDropTarget:w?.isDropTarget,isFocusVisibleWithin:_,id:n.key,hasChildItems:j,isExpanded:M,level:n.level+1}}),P=H(e,{global:!0});return delete P.id,delete P.onClick,v.createElement(v.Fragment,null,w&&!w.isHidden&&v.createElement(Ez,{role:`row`,style:{height:0}},v.createElement(kz,{role:`gridcell`,colSpan:i.collection.columnCount,style:{padding:0}},v.createElement(`div`,{role:`button`,...E,...w.dropIndicatorProps,ref:T}))),v.createElement(Ez,{...V(P,N,d,g,b,C?.dragProps,y),ref:r,"data-disabled":p.isDisabled||void 0,"data-selected":p.isSelected||void 0,"data-hovered":x||void 0,"data-focused":p.isFocused||void 0,"data-focus-visible":h||void 0,"data-pressed":p.isPressed||void 0,"data-dragging":O||void 0,"data-drop-target":w?.isDropTarget||void 0,"data-selection-mode":i.selectionManager.selectionMode===`none`?void 0:i.selectionManager.selectionMode,"data-focus-visible-within":_||void 0,"data-expanded":M||void 0,"data-has-child-items":j||void 0,"data-level":n.level+1},v.createElement(Id,{values:[[zC,{slots:{[Fd]:{},selection:S}}],[BC,{slots:{[Fd]:{},selection:S}}],[sm,{slots:{[Fd]:{},chevron:f,drag:{...C?.dragButtonProps,ref:D,style:{pointerEvents:`none`}}}}],[Yv,{isSelected:p.isSelected}],[wz,{isFocusVisibleWithinRow:_}]]},v.createElement(l,{collection:i.collection,parent:n}))))},e=>{if(e.id==null&&typeof e.children==`function`)throw Error(`No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.`);let t=[e.value].concat(e.dependencies);return v.createElement(U_,{dependencies:t,items:e.columns,idScope:e.id},e.children)}),Oz=class extends m_{static{this.type=`cell`}},kz=(0,v.forwardRef)(function(e,t){let{isVirtualized:n}=(0,v.useContext)(Y_);return n?v.createElement(J.div,{...e,ref:t}):v.createElement(J.td,{...e,ref:t})}),Az=z_(Oz,(e,t,n)=>{let r=Wo(t),i=(0,v.useContext)(iz),{dragState:a}=(0,v.useContext)(_S),{isVirtualized:o}=(0,v.useContext)(Y_);n.column=i.collection.columns[n.index];let{gridCellProps:s,isPressed:c}=GR({node:n,shouldSelectOnPressUp:!!a,isVirtualized:o,focusMode:e.focusMode,allowsArrowNavigation:e.allowsArrowNavigation},i,r),{isFocused:l,isFocusVisible:u,focusProps:d}=em(),{hoverProps:f,isHovered:p}=om({}),{isFocusVisibleWithinRow:m}=(0,v.useContext)(wz),h=n.parentKey!=null&&i.selectionManager.isSelected(n.parentKey),g=n.colIndex||n.index,_=i.collection.getItem(n.parentKey),y=_.props.hasChildItems||i.collection.getItem(_.lastChildKey)?.type!==`cell`,b=y&&i.expandedKeys.has(n.parentKey),x=i.selectionManager.isDisabled(n.parentKey),S=Ld({...e,id:void 0,defaultClassName:`react-aria-Cell`,values:{isFocused:l,isFocusVisible:u,isFocusVisibleWithinRow:m,isPressed:c,isHovered:p,isSelected:h,id:n.key,columnIndex:g,hasChildItems:y,isExpanded:b,isDisabled:x,level:_.level+1,isTreeColumn:n.column.key===i.treeColumn}}),C=H(e,{global:!0});return delete C.id,v.createElement(kz,{...V(C,S,s,d,f),ref:r,"data-focused":l||void 0,"data-focus-visible":u||void 0,"data-focus-visible-within-row":m||void 0,"data-pressed":c||void 0,"data-selected":h||void 0,"data-column-index":g,"data-expanded":b||void 0,"data-has-child-items":y||void 0,"data-level":_.level+1,"data-tree-column":n.column.key===i.treeColumn||void 0,"data-disabled":x||void 0},v.createElement(Y_.Provider,{value:K_},S.children))});function jz(e,t){t=Wo(t);let{dragAndDropHooks:n,dropState:r}=(0,v.useContext)(_S),i=(0,v.useRef)(null),{dropIndicatorProps:a,isHidden:o,isDropTarget:s}=n.useDropIndicator(e,r,i);if(o)return null;let c=r&&e.target.type===`item`?(r.collection.getItem(e.target.key)?.level||0)+1:1;return v.createElement(Fz,{...e,dropIndicatorProps:a,isDropTarget:s,buttonRef:i,level:c,ref:t})}var Mz=(0,v.forwardRef)(function(e,t){let{isVirtualized:n}=(0,v.useContext)(Y_);return n?v.createElement(J.div,{...e,ref:t}):v.createElement(J.tr,{...e,ref:t})}),Nz=(0,v.forwardRef)(function(e,t){let{isVirtualized:n}=(0,v.useContext)(Y_);return n?v.createElement(J.div,{...e,ref:t}):v.createElement(J.td,{...e,ref:t})});function Pz(e,t){let{dropIndicatorProps:n,isDropTarget:r,buttonRef:i,level:a,...o}=e,s=(0,v.useContext)(iz),{visuallyHiddenProps:c}=Qg(),l=Ld({...o,defaultClassName:`react-aria-DropIndicator`,defaultStyle:{"--table-row-level":a+1},values:{isDropTarget:r}});return v.createElement(Mz,{...H(e,{global:!0}),...l,role:`row`,ref:t,"data-drop-target":r||void 0,"aria-level":a},v.createElement(Nz,{role:`gridcell`,colSpan:s.collection.columnCount,style:{padding:0}},v.createElement(`div`,{...c,role:`button`,...n,ref:i}),l.children))}var Fz=(0,v.forwardRef)(Pz);function Iz(){let e=(0,v.useContext)(iz),{dragAndDropHooks:t,dropState:n}=(0,v.useContext)(_S),r=(0,v.useRef)(null),{dropIndicatorProps:i}=t.useDropIndicator({target:{type:`root`}},n,r),a=n.isDropTarget({type:`root`}),{visuallyHiddenProps:o}=Qg();return!a&&i[`aria-hidden`]?null:v.createElement(Ez,{role:`row`,"aria-hidden":i[`aria-hidden`],style:{height:0}},v.createElement(kz,{role:`gridcell`,colSpan:e.collection.columnCount,style:{padding:0}},v.createElement(`div`,{role:`button`,...o,...i,ref:r})))}var Lz=z_(g_,function(e,t,n){let r=(0,v.useContext)(iz),{isVirtualized:i}=(0,v.useContext)(Y_),{isLoading:a,onLoadMore:o,scrollOffset:s,...c}=e,l=r.collection.columns.length,u=(0,v.useRef)(null);_s((0,v.useMemo)(()=>({onLoadMore:o,collection:r?.collection,sentinelRef:u,scrollOffset:s}),[o,s,r?.collection]),u);let d=Ld({...c,id:void 0,children:n.rendered,defaultClassName:`react-aria-TableLoadingIndicator`,defaultStyle:{"--table-row-level":n.level+1},values:void 0}),f={},p={},m={};return i?(p[`aria-colspan`]=l,m={display:`contents`}):p.colSpan=l,v.createElement(v.Fragment,null,v.createElement(Ez,{style:{height:0},inert:vs(!0)},v.createElement(kz,{style:{padding:0,border:0}},v.createElement(`div`,{"data-testid":`loadMoreSentinel`,ref:u,style:{position:`relative`,height:1,width:1}}))),a&&d.children&&v.createElement(Ez,{...V(H(e,{global:!0}),f),...d,role:`row`,ref:t,"aria-level":n.level+1,"data-level":n.level+1},v.createElement(kz,{role:`rowheader`,...p,style:m},d.children)))}),Rz=({...e})=>(0,U.jsx)(Fx,{...e}),zz=Object.assign(Rz,{Root:Rz}),Bz=(0,v.createContext)({}),Vz=({children:e,className:t,...n})=>{let r=v.useMemo(()=>vd(),[]);return(0,U.jsx)(yL,{"data-slot":`radio`,...n,className:Y(t,r.base()),children:t=>(0,U.jsx)(Bz,{value:{slots:r,state:t},children:typeof e==`function`?e(t):e})})};Vz.displayName=`HeroUI.Radio`;var Hz=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(Bz);return(0,U.jsx)(bL,{"data-slot":`radio-content`,...n,className:Y(t,r?.content()),children:e})};Hz.displayName=`HeroUI.Radio.Content`;var Uz=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(Bz);return(0,U.jsx)(W.span,{className:X(r?.control,t),"data-slot":`radio-control`,...n,children:e})};Uz.displayName=`HeroUI.Radio.Control`;var Wz=({children:e,className:t,...n})=>{let{slots:r,state:i}=(0,v.use)(Bz),a=typeof e==`function`?e(i??{}):e;return(0,U.jsx)(W.span,{"aria-hidden":`true`,className:X(r?.indicator,t),"data-slot":`radio-indicator`,...n,children:a})};Wz.displayName=`HeroUI.Radio.Indicator`;var Gz=Object.assign(Vz,{Root:Vz,Content:Hz,Control:Uz,Indicator:Wz}),Kz=({children:e,className:t,variant:n,...r})=>{let i=v.useMemo(()=>yd({variant:n}),[n]);return(0,U.jsx)(_L,{"data-slot":`radio-group`,...r,className:Y(t,i),children:t=>(0,U.jsx)(U.Fragment,{children:typeof e==`function`?e(t):e})})},qz=Object.assign(Kz,{Root:Kz}),Jz=(0,v.createContext)({}),Yz=({children:e,className:t,status:n,...r})=>{let i=v.useMemo(()=>Uu({status:n}),[n]);return(0,U.jsx)(Jz,{value:{slots:i,status:n},children:(0,U.jsx)(km,{value:{variant:`default`},children:(0,U.jsx)(W.div,{className:i?.base({className:t}),"data-slot":`alert-root`,...r,children:e})})})},Xz=Object.assign(Yz,{Root:Yz,Indicator:({children:e,className:t,...n})=>{let{slots:r,status:i}=(0,v.use)(Jz),a=()=>{switch(i){case`accent`:return(0,U.jsx)(xm,{"data-slot":`alert-default-icon`});case`success`:return(0,U.jsx)(wm,{"data-slot":`alert-default-icon`});case`warning`:return(0,U.jsx)(Sm,{"data-slot":`alert-default-icon`});case`danger`:return(0,U.jsx)(Cm,{"data-slot":`alert-default-icon`});default:return(0,U.jsx)(xm,{"data-slot":`alert-default-icon`})}};return(0,U.jsx)(W.div,{className:X(r?.indicator,t),"data-slot":`alert-indicator`,...n,children:e??a()})},Content:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(Jz);return(0,U.jsx)(W.div,{className:X(r?.content,t),"data-slot":`alert-content`,...n,children:e})},Title:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(Jz);return(0,U.jsx)(W.p,{className:X(r?.title,t),"data-slot":`alert-title`,...n,children:e})},Description:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(Jz);return(0,U.jsx)(W.span,{className:X(r?.description,t),"data-slot":`alert-description`,...n,children:e})}}),Zz=(0,v.createContext)({}),Qz=({children:e,className:t,variant:n,...r})=>{let i=v.useMemo(()=>ud({variant:n}),[n]);return(0,U.jsx)(zS,{className:Y(t,i.item()),"data-slot":`list-box-item`,...r,children:t=>(0,U.jsx)(Zz,{value:{slots:i,state:t},children:typeof e==`function`?e(t):e})})},$z=({children:e,className:t,...n})=>{let{slots:r,state:i}=(0,v.use)(Zz),a=i?.isSelected,o=typeof e==`function`?e(i??{}):e||(0,U.jsx)(`svg`,{"aria-hidden":`true`,"data-slot":`list-box-item-indicator--checkmark`,fill:`none`,role:`presentation`,stroke:`currentColor`,strokeDasharray:22,strokeDashoffset:a?44:66,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,viewBox:`0 0 17 18`,children:(0,U.jsx)(`polyline`,{points:`1 9 7 14 15 4`})});return(0,U.jsx)(W.span,{"aria-hidden":`true`,className:X(r?.indicator,t),"data-slot":`list-box-item-indicator`,"data-visible":a||void 0,...n,children:o})},eB=Object.assign(Qz,{Root:Qz,Indicator:$z}),tB=({children:e,className:t,...n})=>{let r=v.useMemo(()=>dd({class:typeof t==`string`?t:void 0}),[t]);return(0,U.jsx)(RS,{className:r,...n,children:e})};function nB({className:e,variant:t,...n}){let r=v.useMemo(()=>ld({variant:t}),[t]);return(0,U.jsx)(PS,{className:Y(e,r),"data-slot":`list-box`,...n})}var rB=Object.assign(nB,{Root:nB,Item:eB,ItemIndicator:$z,Section:tB}),iB=(0,v.createContext)({}),aB=({children:e,className:t,variant:n,...r})=>{let i=v.useMemo(()=>pd({variant:n}),[n]);return(0,U.jsx)(Qb,{className:Y(t,i.item()),"data-slot":`menu-item`,...r,children:t=>(0,U.jsx)(iB,{value:{slots:i,state:t},children:typeof e==`function`?e(t):e})})},oB=({children:e,className:t,type:n=`checkmark`,...r})=>{let{slots:i,state:a}=(0,v.use)(iB),o=a?.isSelected,s=typeof e==`function`?e(a??{}):e||(n===`dot`?(0,U.jsx)(`svg`,{"aria-hidden":`true`,"data-slot":`menu-item-indicator--dot`,fill:`currentColor`,fillRule:`evenodd`,role:`presentation`,viewBox:`0 0 16 16`,xmlns:`http://www.w3.org/2000/svg`,children:(0,U.jsx)(`path`,{clipRule:`evenodd`,d:`M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14`,fillRule:`evenodd`})}):(0,U.jsx)(`svg`,{"aria-hidden":`true`,"data-slot":`menu-item-indicator--checkmark`,fill:`none`,role:`presentation`,stroke:`currentColor`,strokeDasharray:22,strokeDashoffset:o?44:66,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,viewBox:`0 0 17 18`,children:(0,U.jsx)(`polyline`,{points:`1 9 7 14 15 4`})}));return(0,U.jsx)(W.span,{"aria-hidden":`true`,className:X(i?.indicator,t),"data-slot":`menu-item-indicator`,"data-type":n,"data-visible":o||void 0,...r,children:s})},sB=({children:e,className:t,...n})=>{let{slots:r,state:i}=(0,v.use)(iB);if(!i?.hasSubmenu)return null;let a=e??(0,U.jsx)(ym,{});return(0,U.jsx)(W.span,{"aria-hidden":`true`,className:X(r?.submenuIndicator,t),"data-slot":`submenu-indicator`,...n,children:a})},cB=({children:e,className:t,...n})=>{let r=v.useMemo(()=>md({class:typeof t==`string`?t:void 0}),[t]);return(0,U.jsx)(Xb,{className:r,...n,children:e})},lB=(0,v.createContext)({}),uB=({children:e,...t})=>{let n=v.useMemo(()=>id(),[]);return(0,U.jsx)(lB,{value:{slots:n},children:(0,U.jsx)(Ub,{...t,children:e})})},dB=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(lB);return(0,U.jsx)(cm,{className:Y(t,r?.trigger()),"data-slot":`dropdown-trigger`,...n,children:t=>(0,U.jsx)(U.Fragment,{children:typeof e==`function`?e(t):e})})},fB=({children:e,className:t,placement:n,...r})=>{let{slots:i}=(0,v.use)(lB);return(0,U.jsx)(km,{value:{variant:`default`},children:(0,U.jsx)(f_,{...r,className:Y(t,i?.popover()),"data-slot":`dropdown-popover`,placement:n,children:e})})};function pB({className:e,...t}){let{slots:n}=(0,v.use)(lB);return(0,U.jsx)(Kb,{className:Y(e,n?.menu()),"data-selection-mode":t.selectionMode,"data-slot":`dropdown-menu`,...t})}var mB=Object.assign(uB,{Root:uB,Trigger:dB,Popover:fB,Menu:pB,Section:e=>(0,U.jsx)(cB,{...e}),Item:e=>(0,U.jsx)(aB,{...e}),ItemIndicator:e=>(0,U.jsx)(oB,{...e}),SubmenuIndicator:e=>(0,U.jsx)(sB,{...e}),SubmenuTrigger:({children:e,...t})=>(0,U.jsx)(Gb,{"data-slot":`dropdown-submenu-trigger`,...t,children:e})}),hB=(0,v.createContext)({}),gB=({children:e,state:t,...n})=>{let r=(0,v.useMemo)(()=>({slots:hd(),placement:void 0}),[]),i=(0,v.useMemo)(()=>t?{isOpen:t.isOpen,onOpenChange:t.setOpen}:{},[t]);return(0,U.jsx)(hB,{value:r,children:(0,U.jsx)(nx,{"data-slot":`modal-root`,...V(n,i),children:e})})},Q=Object.assign(gB,{Root:gB,Trigger:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(hB);return(0,U.jsx)(fx,{children:(0,U.jsx)(W.div,{className:X(r?.trigger,t),"data-slot":`modal-trigger`,role:`button`,...n,children:e})})},Backdrop:({children:e,className:t,isDismissable:n=!0,onClick:r,variant:i,...a})=>{let{slots:o}=(0,v.use)(hB),s=(0,v.useMemo)(()=>hd({variant:i}),[i]),c=(0,v.useMemo)(()=>({slots:{...o,...s}}),[o,s]);return(0,U.jsx)(lx,{className:Y(t,s?.backdrop()),"data-slot":`modal-backdrop`,isDismissable:n,onClick:e=>{e.stopPropagation(),r?.(e)},...a,children:t=>(0,U.jsxs)(hB,{value:c,children:[typeof e==`function`?e(t):e,` `]})})},Container:({children:e,className:t,placement:n=`auto`,scroll:r,size:i,...a})=>{let{slots:o}=(0,v.use)(hB),s=(0,v.useMemo)(()=>hd({scroll:r,size:i}),[r,i]),c=(0,v.useMemo)(()=>({placement:n,slots:{...o,...s}}),[o,n,s]);return(0,U.jsx)(sx,{className:Y(t,s?.container()),"data-placement":n,"data-slot":`modal-container`,...a,children:t=>(0,U.jsx)(hB,{value:c,children:typeof e==`function`?e(t):e})})},Dialog:({children:e,className:t,...n})=>{let{placement:r,slots:i}=(0,v.use)(hB);return(0,U.jsx)(km,{value:{variant:`default`},children:(0,U.jsx)(rx,{className:X(i?.dialog,t),"data-placement":r,"data-slot":`modal-dialog`,...n,children:e})})},Header:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(hB);return(0,U.jsx)(W.div,{className:X(r?.header,t),"data-slot":`modal-header`,...n,children:e})},Icon:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(hB);return(0,U.jsx)(W.div,{className:X(r?.icon,t),"data-slot":`modal-icon`,...n,children:e})},Heading:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(hB);return(0,U.jsx)(mm,{className:X(r?.heading,t),"data-slot":`modal-heading`,slot:`title`,...n,children:e})},Body:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(hB);return(0,U.jsx)(W.div,{className:X(r?.body,t),"data-slot":`modal-body`,...n,children:e})},Footer:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(hB);return(0,U.jsx)(W.div,{className:X(r?.footer,t),"data-slot":`modal-footer`,...n,children:e})},CloseTrigger:({className:e,...t})=>{let{slots:n}=(0,v.use)(hB);return(0,U.jsx)(mx,{className:Y(e,n?.closeTrigger()),"data-slot":`modal-close-trigger`,slot:`close`,...t})}}),_B=(0,v.createContext)({}),vB=({children:e,className:t,fullWidth:n,variant:r,...i})=>{let a=v.useMemo(()=>gd({fullWidth:n,variant:r}),[n,r]);return(0,U.jsx)(_B,{value:{slots:a},children:(0,U.jsx)(sL,{"data-slot":`number-field`,...i,className:Y(t,a?.base()),children:t=>(0,U.jsx)(U.Fragment,{children:typeof e==`function`?e(t):e})})})},yB=Object.assign(vB,{Root:vB,Group:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(_B);return(0,U.jsx)(bx,{className:Y(t,r?.group()),"data-slot":`number-field-group`,...n,children:t=>(0,U.jsx)(U.Fragment,{children:typeof e==`function`?e(t):e})})},Input:({className:e,...t})=>{let{slots:n}=(0,v.use)(_B);return(0,U.jsx)(ow,{className:Y(e,n?.input()),"data-slot":`number-field-input`,...t})},IncrementButton:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(_B);return(0,U.jsx)(cm,{className:Y(t,r?.incrementButton()),"data-slot":`number-field-increment-button`,slot:`increment`,...n,children:e&&v.isValidElement(e)?e:(0,U.jsx)(Em,{"data-slot":`number-field-increment-button-icon`})})},DecrementButton:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(_B);return(0,U.jsx)(cm,{className:Y(t,r?.decrementButton()),"data-slot":`number-field-decrement-button`,slot:`decrement`,...n,children:e&&v.isValidElement(e)?e:(0,U.jsx)(Tm,{"data-slot":`number-field-decrement-button-icon`})})}}),bB=(0,v.createContext)({}),xB=({children:e,className:t,size:n,...r})=>{let i=v.useMemo(()=>_d({size:n}),[n]);return(0,U.jsx)(bB,{value:{slots:i},children:(0,U.jsx)(W.nav,{"aria-label":`pagination`,"data-slot":`pagination`,role:`navigation`,...r,className:X(i.base,t),children:e})})};xB.displayName=`HeroUI.Pagination`;var SB=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(bB);return(0,U.jsx)(W.div,{className:X(r?.summary,t),"data-slot":`pagination-summary`,dir:`auto`,...n,children:e})};SB.displayName=`HeroUI.Pagination.Summary`;var CB=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(bB);return(0,U.jsx)(W.ul,{className:X(r?.content,t),"data-slot":`pagination-content`,...n,children:e})};CB.displayName=`HeroUI.Pagination.Content`;var wB=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(bB);return(0,U.jsx)(W.li,{className:X(r?.item,t),"data-slot":`pagination-item`,...n,children:e})};wB.displayName=`HeroUI.Pagination.Item`;var TB=({children:e,className:t,isActive:n,...r})=>{let{slots:i}=(0,v.use)(bB);return(0,U.jsx)(cm,{"aria-current":n?`page`:void 0,className:Y(t,i?.link()),"data-active":n?`true`:void 0,"data-slot":`pagination-link`,...r,children:e})};TB.displayName=`HeroUI.Pagination.Link`;var EB=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(bB),i=`${r?.link()??``} pagination__link--nav`.trim();return(0,U.jsx)(cm,{className:Y(t,i),"data-slot":`pagination-previous`,...n,children:e})};EB.displayName=`HeroUI.Pagination.Previous`;var DB=({children:e,className:t,...n})=>(0,U.jsx)(W.span,{"aria-hidden":`true`,className:t,"data-slot":`pagination-previous-icon`,...n,children:e??(0,U.jsx)(vm,{})});DB.displayName=`HeroUI.Pagination.PreviousIcon`;var OB=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(bB),i=`${r?.link()??``} pagination__link--nav`.trim();return(0,U.jsx)(cm,{className:Y(t,i),"data-slot":`pagination-next`,...n,children:e})};OB.displayName=`HeroUI.Pagination.Next`;var kB=({children:e,className:t,...n})=>(0,U.jsx)(W.span,{"aria-hidden":`true`,className:t,"data-slot":`pagination-next-icon`,...n,children:e??(0,U.jsx)(ym,{})});kB.displayName=`HeroUI.Pagination.NextIcon`;var AB=({className:e,...t})=>{let{slots:n}=(0,v.use)(bB);return(0,U.jsx)(W.span,{"aria-hidden":`true`,className:X(n?.ellipsis,e),"data-slot":`pagination-ellipsis`,...t,children:`…`})};AB.displayName=`HeroUI.Pagination.Ellipsis`;var jB=Object.assign(xB,{Content:CB,Ellipsis:AB,Item:wB,Link:TB,Next:OB,NextIcon:kB,Previous:EB,PreviousIcon:DB,Root:xB,Summary:SB}),MB=(0,v.createContext)({}),NB=({children:e,className:t,fullWidth:n,variant:r,...i})=>{let a=v.useMemo(()=>Sd({fullWidth:n,variant:r}),[n,r]);return(0,U.jsx)(dC,{children:(0,U.jsx)(MB,{value:{slots:a},children:(0,U.jsx)(iC,{"data-slot":`select`,...i,className:Y(t,a?.base()),children:t=>(0,U.jsx)(U.Fragment,{children:typeof e==`function`?e(t):e})})})})},PB=Object.assign(NB,{Root:NB,Trigger:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(MB);return(0,U.jsx)(cm,{className:Y(t,r?.trigger()),"data-slot":`select-trigger`,...n,children:t=>(0,U.jsx)(U.Fragment,{children:typeof e==`function`?e(t):e})})},Value:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(MB);return(0,U.jsx)(cC,{className:Y(t,r?.value()),"data-slot":`select-value`,...n,children:e})},Indicator:({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(MB),i=(0,v.use)(rC);return e&&v.isValidElement(e)?v.cloneElement(e,{...n,className:X(r?.indicator,t),"data-slot":`select-indicator`,"data-open":hm(i?.isOpen)}):(0,U.jsx)(gm,{className:X(r?.indicator,t),"data-open":hm(i?.isOpen),"data-slot":`select-default-indicator`,...n})},Popover:({children:e,className:t,placement:n=`bottom`,...r})=>{let{slots:i}=(0,v.use)(MB);return(0,U.jsx)(km,{value:{variant:`default`},children:(0,U.jsx)(f_,{...r,className:Y(t,i?.popover()),"data-slot":`select-popover`,placement:n,children:e})})}}),FB=(0,v.createContext)({}),IB=({children:e,className:t,color:n,size:r,...i})=>{let a=v.useMemo(()=>fd({color:n,size:r}),[n,r]);return(0,U.jsx)(EN,{"data-slot":`meter`,...i,className:Y(t,a.base()),children:t=>(0,U.jsx)(FB,{value:{slots:a,state:t},children:typeof e==`function`?e(t):e})})};IB.displayName=`HeroUI.Meter`;var LB=({children:e,className:t,...n})=>{let{slots:r,state:i}=(0,v.use)(FB);return(0,U.jsx)(W.span,{className:X(r?.output,t),"data-slot":`meter-output`,...n,children:e??i?.valueText})};LB.displayName=`HeroUI.Meter.Output`;var RB=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(FB);return(0,U.jsx)(W.div,{className:X(r?.track,t),"data-slot":`meter-track`,...n,children:e})};RB.displayName=`HeroUI.Meter.Track`;var zB=({className:e,style:t,...n})=>{let{slots:r,state:i}=(0,v.use)(FB);return(0,U.jsx)(W.div,{className:X(r?.fill,e),"data-slot":`meter-fill`,style:{...t,width:`${i?.percentage??0}%`},...n})};zB.displayName=`HeroUI.Meter.Fill`;var BB=Object.assign(IB,{Root:IB,Output:LB,Track:RB,Fill:zB}),VB=(0,v.createContext)({}),HB=({children:e,className:t,variant:n,...r})=>{let i=v.useMemo(()=>Ed({variant:n}),[n]);return(0,U.jsx)(VB,{value:{slots:i},children:(0,U.jsx)(W.div,{className:i.base({className:t}),"data-slot":`table`,...r,children:e})})};HB.displayName=`HeroUI.Table`;var UB=({className:e,...t})=>{let{slots:n}=(0,v.use)(VB);return(0,U.jsx)(W.div,{className:X(n?.scrollContainer,e),"data-slot":`table-scroll-container`,...t})};UB.displayName=`HeroUI.Table.ScrollContainer`;function WB({className:e,...t}){let{slots:n}=(0,v.use)(VB);return(0,U.jsx)(oz,{className:Y(e,n?.content()),"data-slot":`table-content`,...t})}WB.displayName=`HeroUI.Table.Content`;function GB({className:e,...t}){let{slots:n}=(0,v.use)(VB);return(0,U.jsx)(pz,{className:Y(e,n?.header()),"data-slot":`table-header`,...t})}GB.displayName=`HeroUI.Table.Header`;var KB=({className:e,ref:t,...n})=>{let{slots:r}=(0,v.use)(VB);return(0,U.jsx)(vz,{ref:t,className:Y(e,r?.column()),"data-slot":`table-column`,...n})};KB.displayName=`HeroUI.Table.Column`;function qB({className:e,...t}){let{slots:n}=(0,v.use)(VB);return(0,U.jsx)(Cz,{className:Y(e,n?.body()),"data-slot":`table-body`,...t})}qB.displayName=`HeroUI.Table.Body`;function JB({className:e,...t}){let{slots:n}=(0,v.use)(VB);return(0,U.jsx)(Dz,{className:Y(e,n?.row()),"data-slot":`table-row`,...t})}JB.displayName=`HeroUI.Table.Row`;var YB=({className:e,ref:t,...n})=>{let{slots:r}=(0,v.use)(VB);return(0,U.jsx)(Az,{ref:t,className:Y(e,r?.cell()),"data-slot":`table-cell`,...n})};YB.displayName=`HeroUI.Table.Cell`;var XB=({className:e,...t})=>{let{slots:n}=(0,v.use)(VB);return(0,U.jsx)(W.div,{className:X(n?.footer,e),"data-slot":`table-footer`,...t})};XB.displayName=`HeroUI.Table.Footer`;var ZB=({className:e,ref:t,...n})=>(0,U.jsx)(nz,{ref:t,className:Hu(`table__resizable-container`,e),"data-slot":`table-resizable-container`,...n});ZB.displayName=`HeroUI.Table.ResizableContainer`;var QB=({className:e,ref:t,...n})=>{let{slots:r}=(0,v.use)(VB);return(0,U.jsx)(bz,{ref:t,className:Y(e,r?.columnResizer()),"data-slot":`table-column-resizer`,...n})};QB.displayName=`HeroUI.Table.ColumnResizer`;var $B=({className:e,ref:t,...n})=>{let{slots:r}=(0,v.use)(VB);return(0,U.jsx)(Lz,{ref:t,className:X(r?.loadMore,e),"data-slot":`table-load-more`,...n})};$B.displayName=`HeroUI.Table.LoadMore`;var eV=({className:e,...t})=>{let{slots:n}=(0,v.use)(VB);return(0,U.jsx)(W.div,{className:X(n?.loadMoreContent,e),"data-slot":`table-load-more-content`,...t})};eV.displayName=`HeroUI.Table.LoadMoreContent`;var tV=({children:e,className:t,indicator:n,ref:r,showIndicator:i=!0,sortDirection:a,...o})=>{let{slots:s}=(0,v.use)(VB),c=i&&!!a,l=null;if(c){if(n===void 0)l=(0,U.jsx)(_m,{className:s?.sortableColumnIndicator(),"data-direction":a,"data-slot":`table-sortable-column-indicator`});else if(v.isValidElement(n)){let e=n;l=v.cloneElement(e,{className:X(s?.sortableColumnIndicator,e.props.className),"data-direction":a,"data-slot":`table-sortable-column-indicator`})}else l=n}return(0,U.jsxs)(`span`,{ref:r,className:X(s?.sortableColumnHeader,t),"data-direction":a,"data-slot":`table-sortable-column-header`,...o,children:[e,l]})};tV.displayName=`HeroUI.Table.SortableColumnHeader`;var nV=Object.assign(HB,{Body:qB,Cell:YB,Collection:U_,Column:KB,ColumnResizer:QB,Content:WB,Footer:XB,Header:GB,LoadMore:$B,LoadMoreContent:eV,ResizableContainer:ZB,Root:HB,Row:JB,ScrollContainer:UB,SortableColumnHeader:tV}),rV=(0,v.createContext)(null);function iV(){let e=(0,v.use)(rV);if(!e)throw Error(`useYearPicker must be used within a or component.`);return e}function aV(){let e=(0,v.use)(NM),t=(0,v.use)(PM),n=e??t;if(!n)throw Error(`useCalendarOrRangeState must be used within a or component.`);return n}function oV(e){switch(e){case`buddhist`:return 543;case`ethiopic`:case`ethioaa`:return-8;case`coptic`:return-284;case`hebrew`:return 3760;case`indian`:return-78;case`islamic-civil`:case`islamic-tbla`:case`islamic-umalqura`:return-579;case`persian`:return-600;default:return 0}}function sV(e,t){let n=[];if(!e||!t)return n;let r=yE(e);for(;r.compare(t)<=0;)n.push(r),r=yE(r.add({years:1}));return n}function cV(e,t,n,r=`short`,i=`UTC`){let a=new Intl.DateTimeFormat(t,{weekday:r,timeZone:i}),o=bE(e,t,n),s=[],c=o;for(let e=0;e<7;e++){s.push(a.format(c.toDate(i)));let e=c.add({days:1});if(eE(c,e))break;c=e}for(;s.length<7;)s.push(``);return s}function lV(e,t){let n=[],r=e;for(let e=0;e<7;e++){n.push(r.compare(t)>0?null:r);let e=r.add({days:1});if(eE(r,e)){for(;n.length<7;)n.push(null);return n}r=e}return n}function uV(e,t,n,r){let i=[],a=bE(e,n,r);for(i.push(lV(a,t)),a=a.add({weeks:1});a.compare(t)<=0;){i.push(lV(a,t));let e=a.add({weeks:1});if(eE(a,e))break;a=e}return i}var dV=v.createContext(null);function fV(){let e=v.use(dV);if(!e)throw Error(`CalendarYearPicker trigger components must be used within .`);return e}var pV=({children:e,className:t,onKeyDown:n,onPress:r,...i})=>{let{isYearPickerOpen:a,setIsYearPickerOpen:o}=iV(),s=hM({},aV()),c=v.useMemo(()=>qu(),[]),l=v.useCallback(()=>{o(!a)},[a,o]),u=e=>{n?.(e),!e.defaultPrevented&&e.key===`Escape`&&a&&(e.preventDefault(),o(!1))},d=v.useMemo(()=>({isOpen:a,monthYear:s,toggle:l}),[l,a,s]),f=v.useMemo(()=>({...d,slots:c}),[c,d]);return(0,U.jsx)(dV,{value:f,children:(0,U.jsx)(cm,{"aria-expanded":a,"aria-label":`${s}, year selector`,className:Y(t,c.trigger()),"data-open":a||void 0,"data-slot":`calendar-year-picker-trigger`,slot:null,onKeyDown:u,onPress:e=>{r?.(e),l()},...i,children:typeof e==`function`?e(d):e})})};pV.displayName=`HeroUI.CalendarYearPicker.Trigger`;var mV=({children:e,className:t,format:n,offset:r,...i})=>{let{monthYear:a,slots:o,...s}=fV(),c=aV(),l=hM({format:n,offset:r},c);return(0,U.jsx)(W.span,{className:X(o.triggerHeading,t),"data-slot":`calendar-year-picker-trigger-heading`,...i,children:typeof e==`function`?e({monthYear:a,...s}):e||l})};mV.displayName=`HeroUI.CalendarYearPicker.TriggerHeading`;var hV=({children:e,className:t,...n})=>{let{monthYear:r,slots:i,...a}=fV();return(0,U.jsx)(W.span,{"aria-hidden":`true`,className:X(i.triggerIndicator,t),"data-slot":`calendar-year-picker-trigger-indicator`,...n,children:typeof e==`function`?e({monthYear:r,...a}):e||(0,U.jsx)(ym,{height:`1em`,width:`1em`})})};hV.displayName=`HeroUI.CalendarYearPicker.TriggerIndicator`;var gV=v.createContext(null);function _V(){let e=v.use(gV);if(!e)throw Error(`CalendarYearPicker components must be used within .`);return e}var vV=({children:e,className:t,format:n,onKeyDown:r,visibleYears:i,...a})=>{let{calendarGridSlot:o,calendarRef:s,isYearPickerOpen:c,setIsYearPickerOpen:l}=iV(),u=aV(),d=v.useRef(null),f=v.useMemo(()=>qu(),[]),{"aria-label":p,items:m,onChange:h,value:g}=mM({format:n,visibleYears:v.useMemo(()=>i??(!u.minValue||!u.maxValue?20:sV(u.minValue,u.maxValue).length),[u.maxValue,u.minValue,i])},u),_=m.map(e=>`${e.id}:${e.date.year}`).join(`|`),y=m.map(e=>e.date.year),b=new Map(m.map(e=>[e.date.year,e])),x=m[g]?.date.year??u.focusedDate.year,S=v.useCallback(e=>b.get(e)?.formatted??String(e),[b]),[C,w]=v.useState(x),T=v.useRef(!1);v.useEffect(()=>{let e=d.current;if(!e)return;let t=s.current?.querySelector(`[data-slot='${o}']`);t&&(e.style.top=`${t.offsetTop}px`,e.style.height=`${t.offsetHeight}px`)},[o,s,u.focusedDate]);let E=v.useCallback(e=>{let t=d.current;if(!t)return;let n=t.querySelector(`[data-year='${e}']`);n&&n.focus()},[]);v.useEffect(()=>{let e=c&&!T.current;if(T.current=c,!e||y.length===0)return;let[t]=y;if(t==null)return;let n=y.includes(x)?x:t;w(n);let r=requestAnimationFrame(()=>{E(n)});return()=>{cancelAnimationFrame(r)}},[E,x,c,_,y.length]),v.useEffect(()=>{if(!c||y.length===0)return;let[e]=y;e!=null&&(y.includes(C)||w(e))},[C,c,_,y]);let D=v.useCallback(e=>{let t=b.get(e);t!=null&&(l(!1),h(t.id))},[b,h,l]),O=e=>{if(r?.(e),e.defaultPrevented)return;if(e.key===`Escape`&&c){e.preventDefault(),l(!1);return}if(!c||y.length===0)return;let t=y.indexOf(C);if(t===-1)return;let n=t;switch(e.key){case`ArrowRight`:n=Math.min(t+1,y.length-1);break;case`ArrowLeft`:n=Math.max(t-1,0);break;case`ArrowDown`:n=Math.min(t+3,y.length-1);break;case`ArrowUp`:n=Math.max(t-3,0);break;case`Home`:n=0;break;case`End`:n=y.length-1;break;default:return}if(n!==t){let t=y[n];if(t==null)return;e.preventDefault(),w(t),E(t)}},k=v.useMemo(()=>({activeYear:C,focusedYear:x,getFormattedYear:S,isYearPickerOpen:c,selectYear:D,setActiveYear:w,slots:f,years:y}),[C,x,S,D,c,f,y]);return(0,U.jsx)(gV,{value:k,children:(0,U.jsx)(W.div,{ref:d,"aria-hidden":!c,"aria-label":p,className:X(f.yearGrid,t),"data-open":c||void 0,"data-slot":`calendar-year-picker-grid`,role:`listbox`,tabIndex:-1,onKeyDown:O,...a,children:e})})};vV.displayName=`HeroUI.CalendarYearPicker.Grid`;var yV=({children:e})=>{let{focusedYear:t,getFormattedYear:n,isYearPickerOpen:r,selectYear:i,years:a}=_V(),o=new Date().getFullYear();return(0,U.jsx)(U.Fragment,{children:a.map(a=>{let s=a===t,c={formattedYear:n(a),isCurrentYear:a===o,isOpen:r,isSelected:s,selectYear:()=>i(a),year:a};return(0,U.jsx)(v.Fragment,{children:typeof e==`function`?e(c):(0,U.jsx)(bV,{year:a})},a)})})};yV.displayName=`HeroUI.CalendarYearPicker.GridBody`;var bV=({children:e,className:t,excludeFromTabOrder:n,onFocus:r,onPress:i,year:a,...o})=>{let{activeYear:s,focusedYear:c,getFormattedYear:l,isYearPickerOpen:u,selectYear:d,setActiveYear:f,slots:p}=_V(),m=a===c,h=a===s,g=l(a),_={formattedYear:g,isCurrentYear:a===new Date().getFullYear(),isOpen:u,isSelected:m,selectYear:()=>d(a),year:a};return(0,U.jsx)(cm,{"aria-label":g,"aria-selected":m,className:Y(t,p.yearCell()),"data-selected":m||void 0,"data-slot":`calendar-year-picker-year-cell`,"data-year":a,excludeFromTabOrder:n??!(u&&h),slot:null,onFocus:e=>{r?.(e),f(a)},onPress:e=>{i?.(e),d(a)},...o,children:typeof e==`function`?e(_):e||g})};bV.displayName=`HeroUI.CalendarYearPicker.Cell`;function xV({children:e,className:t,"data-slot":n=`calendar-grid-body`,firstDayOfWeek:r,visibleRange:i}){let{locale:a}=lf(),o=v.useMemo(()=>uV(i.start,i.end,a,r),[r,a,i.end,i.start]);return(0,U.jsx)(W.tbody,{className:t,"data-slot":n,children:o.map((t,n)=>(0,U.jsx)(`tr`,{children:t.map((t,n)=>t?v.cloneElement(e(t),{key:n}):(0,U.jsx)(`td`,{},n))},n))})}function SV({children:e,className:t,"data-slot":n=`calendar-grid-header`,firstDayOfWeek:r,timeZone:i=`UTC`,visibleRange:a,weekdayStyle:o=`short`}){let{locale:s}=lf(),c=v.useMemo(()=>cV(a.start,s,r,o,i),[r,s,i,a.start,o]);return(0,U.jsx)(W.thead,{"aria-hidden":!0,className:t,"data-slot":n,children:(0,U.jsx)(`tr`,{children:c.map((t,n)=>v.cloneElement(e(t),{key:n}))})})}var CV=(0,v.createContext)({});function wV({children:e,className:t,defaultYearPickerOpen:n=!1,firstDayOfWeek:r,isYearPickerOpen:i,maxValue:a,minValue:o,onYearPickerOpenChange:s,visibleDuration:c,...l}){let u=c?.weeks!=null,d=c?.days!=null,f=c?.days,{locale:p}=lf(),m=v.useMemo(()=>Ju(),[]),h=v.useRef(null),[g,_]=fm(i,n,s),y=v.useMemo(()=>{let e=new UO(p).resolvedOptions().calendar;return VO(e)},[p]),b=v.useMemo(()=>oV(y.identifier),[y.identifier]),x=o??new AD(y,1900+b,1,1),S=a??new AD(y,2099+b,12,31);return(0,U.jsx)(rV,{value:{calendarGridSlot:`range-calendar-grid`,isYearPickerOpen:g,setIsYearPickerOpen:_,calendarRef:h},children:(0,U.jsx)(FM,{ref:h,"data-slot":`range-calendar`,firstDayOfWeek:r,maxValue:S,minValue:x,visibleDuration:c,...l,className:Y(t,Hu(m.base(),u&&`range-calendar--week-view`,d&&`range-calendar--day-view`)),children:t=>(0,U.jsx)(CV,{value:{dayView:d&&f!=null?{days:f,firstDayOfWeek:r,timeZone:t.state.timeZone,visibleRange:t.state.visibleRange}:void 0,slots:m},children:typeof e==`function`?e(t):e})})})}wV.displayName=`HeroUI.RangeCalendar`;var TV=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(CV);return(0,U.jsx)(W.header,{className:X(r?.header,t),"data-slot":`range-calendar-header`,...n,children:e})};TV.displayName=`HeroUI.RangeCalendar.Header`;var EV=({className:e,...t})=>{let{slots:n}=(0,v.use)(CV);return(0,U.jsx)(GM,{"data-slot":`range-calendar-heading`,...t,className:X(n?.heading,e)})};EV.displayName=`HeroUI.RangeCalendar.Heading`;var DV=({children:e,className:t,slot:n,...r})=>{let{slots:i}=(0,v.use)(CV);return(0,U.jsx)(cm,{"data-slot":`range-calendar-nav-button`,slot:n,...r,className:Y(t,i?.navButton()),children:e||(n===`previous`?(0,U.jsx)(vm,{className:i?.navButtonIcon(),"data-slot":`range-calendar-nav-button-icon`}):(0,U.jsx)(ym,{className:i?.navButtonIcon(),"data-slot":`range-calendar-nav-button-icon`}))})};DV.displayName=`HeroUI.RangeCalendar.NavButton`;var OV=({children:e,className:t,weekdayStyle:n=`short`,...r})=>{let i=(0,v.use)(CV),{dayView:a,slots:o}=i,s=v.useMemo(()=>({...i,dayView:a?{...a,weekdayStyle:n}:void 0}),[a,i,n]);return(0,U.jsx)(CV,{value:s,children:(0,U.jsx)(LM,{"data-slot":`range-calendar-grid`,weekdayStyle:n,...r,className:X(o?.grid,t),children:e})})};OV.displayName=`HeroUI.RangeCalendar.Grid`;var kV=({children:e,className:t,...n})=>{let{dayView:r,slots:i}=(0,v.use)(CV);return r&&r.days>=7&&typeof e==`function`?(0,U.jsx)(SV,{className:X(i?.gridHeader,t),"data-slot":`range-calendar-grid-header`,firstDayOfWeek:r.firstDayOfWeek,timeZone:r.timeZone,visibleRange:r.visibleRange,weekdayStyle:r.weekdayStyle,children:e}):(0,U.jsx)(zM,{"data-slot":`range-calendar-grid-header`,...n,className:X(i?.gridHeader,t),children:e})};kV.displayName=`HeroUI.RangeCalendar.GridHeader`;var AV=({children:e,className:t,...n})=>{let{dayView:r,slots:i}=(0,v.use)(CV);return r&&r.days>=7&&typeof e==`function`?(0,U.jsx)(xV,{className:X(i?.gridBody,t),"data-slot":`range-calendar-grid-body`,firstDayOfWeek:r.firstDayOfWeek,visibleRange:r.visibleRange,children:e}):(0,U.jsx)(UM,{"data-slot":`range-calendar-grid-body`,...n,className:X(i?.gridBody,t),children:e})};AV.displayName=`HeroUI.RangeCalendar.GridBody`;var jV=({className:e,...t})=>{let{slots:n}=(0,v.use)(CV);return(0,U.jsx)(VM,{"data-slot":`range-calendar-header-cell`,...t,className:X(n?.headerCell,e)})};jV.displayName=`HeroUI.RangeCalendar.HeaderCell`;var MV=({children:e,className:t,...n})=>{let{slots:r}=(0,v.use)(CV);return(0,U.jsx)(WM,{"data-slot":`range-calendar-cell`,...n,className:Y(t,r?.cell()),children:t=>{let{formattedDate:n,isDisabled:r,isHovered:i,isPressed:a,isSelectionEnd:o,isSelectionStart:s}=t,c=typeof e==`function`?e(t):e||n;return(0,U.jsx)(`span`,{className:`range-calendar__cell-button`,"data-disabled":hm(r),"data-hovered":hm(i),"data-pressed":hm(a),"data-selected":hm(s||o),"data-slot":`range-calendar-cell-button`,children:c})}})};MV.displayName=`HeroUI.RangeCalendar.Cell`;var NV=({className:e,...t})=>{let{slots:n}=(0,v.use)(CV);return(0,U.jsx)(W.span,{"aria-hidden":`true`,className:X(n?.cellIndicator,e),"data-slot":`range-calendar-cell-indicator`,...t})};NV.displayName=`HeroUI.RangeCalendar.CellIndicator`;var PV=Object.assign(wV,{Root:wV,Header:TV,Heading:EV,NavButton:DV,Grid:OV,GridHeader:kV,GridBody:AV,HeaderCell:jV,Cell:MV,CellIndicator:NV,YearPickerTrigger:pV,YearPickerTriggerHeading:mV,YearPickerTriggerIndicator:hV,YearPickerGrid:vV,YearPickerGridBody:yV,YearPickerCell:bV}),FV={en:{brandSub:`login state gateway`,controlPlane:`control plane`,workspace:`Workspace`,develop:`Develop`,system:`System`,runtimeSnapshot:`Runtime and scheduler snapshot`,routesHint:`OpenAI-compatible routes`,clientConfig:`Client configuration`,clientConfigHint:`Use the same console key as Bearer token`,authentication:`Authentication`,curlExample:`curl example`,quickTestHint:`Send a real request through the selected account`,response:`Response`,providerCatalog:`Model catalog`,providerCatalogMeta:`SIGNED-IN / LIVE`,accountPool:`Account pool`,accountCreateHint:`Create an isolated runtime first, then sign in with browser or PAT.`,credentialImportHint:`Only credential bundles exported from this console, with matching user blob and machine ID.`,accountEmptyHint:`Create an account runtime to begin.`,oauthDeviceFlow:`OAuth device flow`,navOverview:`Overview`,navAuth:`Accounts`,navProviders:`Models`,navAccess:`Access`,navAccounts:`Accounts`,navLogs:`Logs`,navKeys:`API keys`,navSystem:`System settings`,sidebarFoot:`CLI login-state gateway. More providers later.`,systemSettingsTitle:`System settings`,systemSettingsLead:`Manage cross-provider routing, updates, SQLite protection, and the console API key.`,crossProviderModelPoolTitle:`Cross-provider model pool`,crossProviderModelPoolHint:`When enabled, bare model IDs can route across matching Qoder, WorkBuddy, and Trae accounts. When disabled, bare IDs are rejected and requests must use a provider-prefixed model ID.`,crossProviderModelPoolStatus:`Current status`,crossProviderModelPoolAriaLabel:`Enable cross-provider model pool`,checkUpdates:`Check updates`,versionUpdate:`Version update`,latestVersionHint:`Updates go directly to the latest stable release.`,updateAvailable:`Update available`,upToDate:`Up to date`,currentVersion:`Current version`,latestVersion:`Latest version`,skippedBetweenLabel:`Versions in between`,releaseNotes:`Release notes`,updateNoNotes:`No release notes were provided.`,updaterReady:`Host updater connected`,updaterUnavailable:`Host updater not connected`,updaterNeedsHost:`This process cannot replace its own container`,updaterUnavailableHint:`Console updates need a host updater next to Docker. This page can check GitHub, but it cannot recreate the container until that daemon is connected.`,updaterNeedInstall:`Install the host updater from deploy/install-updater.sh or deploy/install-updater.ps1 so it can talk to Docker.`,updaterNeedCompose:`Linux needs the updater socket mounted into the container. Docker Desktop uses a loopback updater URL instead of a Unix socket.`,updaterNeedRelease:`The running build must be a published GitHub release, not a local or development image.`,updateNow:`Update now`,updateReloadingIn:`Updating… refresh in {seconds}s`,updateInProgress:`Updating…`,updateInProgressHint:`The service is updating and will refresh automatically when it is ready.`,updateUnavailableHint:`Updates are temporarily unavailable. Please try again later.`,updateFailedHint:`The update could not be completed. Please try again.`,updateCheckFailedHint:`Unable to check for updates. Please try again later.`,updatePreparingHint:`Preparing the update: checking the release, pausing new requests, and creating a SQLite backup. Existing connections may be interrupted and retried by the client.`,updateRunningHint:`The host updater accepted the job. The service will come back automatically after the health check.`,updateReloadingHint:`The new service is healthy. Reloading the console…`,updateElapsed:`{seconds}s elapsed`,sqliteProtection:`SQLite protection`,sqliteProtectionHint:`The named volume remains attached and a verified snapshot is created before the update.`,sqliteBackupBeforeUpdate:`Verified SQLite snapshot before replacement`,sqliteKeepFive:`Keep the five most recent snapshots`,sqliteRollbackTogether:`Restore database and image together on failure`,updateStatus:`Update status`,noUpdateJob:`No update job yet`,confirmUpdate:`Confirm update`,confirmUpdateHint:`New requests pause briefly while SQLite is backed up. Existing connections may be interrupted; clients can retry them.`,updateState_idle:`Idle`,updateState_unavailable:`Unavailable`,updateState_queued:`Queued`,updateState_preparing:`Preparing`,updateState_checking:`Checking release`,updateState_backing_up:`Backing up SQLite`,updateState_submitting:`Submitting update`,updateState_running:`Updating service`,updateState_pulling:`Pulling image`,updateState_recreating:`Recreating service`,updateState_health_checking:`Health checking`,updateState_rolling_back:`Rolling back`,updateState_succeeded:`Succeeded`,updateState_rolled_back:`Rolled back`,updateState_failed:`Failed`,checking:`checking`,refresh:`Refresh`,apiKey:`API key`,apiKeyPh:`API key`,needApiKey:`Sign in with the console password to load data.`,loginTitle:`Enter the console`,loginLead:`This host already has a running CLI2API proxy. Use the same API key your clients send to /v1.`,loginDesc:`Same key as Authorization: Bearer on the API.`,loginFormTitle:`Continue`,loginPassword:`Console password`,loginPasswordPh:`API key`,loginNeedKey:`Password is empty.`,loginBadKey:`That key does not match this host.`,loginSubmit:`Continue`,loggingInConsole:`Checking…`,loginHint:`Self-hosted only. Account login happens after this, on Accounts.`,showPassword:`Show password`,hidePassword:`Hide password`,signOut:`Sign out`,checkingSession:`Checking session…`,refreshing:`Refreshing`,pages:{home:{title:`Overview`,desc:`Runtime health, request volume, and ready endpoints.`},auth:{title:`Auth`,desc:`Browser device-flow login, PAT login, and session rewarm.`},providers:{title:`Models`,desc:`Models currently exposed by signed-in accounts.`},access:{title:`Access`,desc:`Copy Base URL and run a quick Chat Completions check.`},accounts:{title:`Accounts`,desc:`One login per account. Browser sign-in first; PAT only when needed.`},logs:{title:`Logs`,desc:`Recent proxy requests and process output.`},keys:{title:`API keys`,desc:`Create client keys and limit them to selected providers.`},system:{title:`System settings`,desc:`Cross-provider routing, managed updates, SQLite protection, and the console API key.`},login:{title:`Enter the console`,desc:`Same API key as /v1.`}},logsLead:`Request history and runtime output from this host.`,logsRequests:`Request history`,logsRuntime:`Runtime logs`,logsEmptyRequests:`No requests recorded yet.`,logsEmptyRuntime:`No runtime lines captured yet.`,logsSearchRuntime:`Search runtime output…`,logsSearchRequestId:`Find a request id`,logsSearchModel:`Find a model`,logsSearchAccount:`Find an account`,logsFilterIdAll:`All request IDs`,logsNoFilterOptions:`No matching options`,logsClear:`Clear history`,logsClearConfirm:`Delete all request history on this host?`,logsColTime:`Time`,logsColAccount:`Account`,logsColProvider:`Provider`,logsColModel:`Model`,logsColStatus:`Status`,logsColLatency:`Latency`,logsColTTFT:`First token`,logsColTokens:`Tokens`,logsTokensIn:`in`,logsTokensOut:`out`,logsColStream:`Mode`,logsStreamYes:`stream`,logsStreamNo:`sync`,logsFilterAll:`All`,logsFilterOk:`OK`,logsFilterError:`Error`,logsFilterCanceled:`Canceled`,logsFilterAccountAll:`All accounts`,logsFilterModelAll:`All models`,logsFilterKindAll:`All errors`,logsFilterStreamAll:`All modes`,logsTimeRange:`Time`,logsTimeAll:`All time`,logsTime1h:`1 hour`,logsTime24h:`24 hours`,logsTime7d:`7 days`,logsTimeCustom:`Custom`,logsTimeFrom:`From`,logsTimeTo:`To`,logsKindQuota:`Quota`,logsKindRateLimit:`Rate limit`,logsKindAuth:`Auth`,logsKindNotReady:`Not ready`,logsKindUnavailable:`Unavailable`,logsKindInvalidRequest:`Invalid request`,logsKindModelNotAvailable:`Model missing`,logsPageSize:`Per page`,logsPage:`Page {page} / {pages}`,logsPrevPage:`Previous`,logsNextPage:`Next`,logsNoMatch:`No requests match these filters.`,logsLevelAll:`All`,logsLevelInfo:`Info`,logsLevelWarn:`Warn`,logsLevelError:`Error`,logsAttempts:`Attempts`,logsRouting:`Routing`,logsRouting_pool:`Pool`,logsRouting_pin:`Pinned`,logsRouting_sticky:`Session sticky`,logsRouting_sticky_escape:`Session escape`,logsNoAttempts:`No attempt details.`,logsDetailTitle:`Request detail`,logsShownTotal:`{shown} / {total}`,logsAutoRefresh:`Live`,failedLogs:`Failed to load logs: {msg}`,homeEyebrow:`Runtime`,homeDisplay:`Gateway pulse`,homeLead:`Runtime health plus request volume, latency, and tokens from this host.`,metricRequests:`Requests`,metricSuccess:`Success`,metricLatency:`p95`,metricTokens:`Tokens`,statsWindow1h:`1h`,statsWindow24h:`24h`,statsWindow7d:`7d`,statsWindowHint:`{window} window`,statsTraffic:`Traffic`,statsTrafficHint:`Completed chat requests in the selected window`,statsEmptyTraffic:`No requests in this window yet.`,statsLatencyP50:`p50`,statsLatencyP95:`p95`,statsLatencyAvg:`avg`,statsTTFB:`TTFB`,statsPool:`Account pool`,statsPoolHint:`Ready workers and remaining quota`,statsCooling:`cooling`,statsTopModels:`Top models`,statsTopAccounts:`Top accounts`,statsTopProviders:`Providers`,statsTopProvidersHint:`Request share by account family`,statsNoProviders:`No provider traffic yet.`,statsErrorMix:`Error mix`,statsErrorMixHint:`Classified failures in this window`,statsNoModels:`No model traffic yet.`,statsNoAccounts:`No account traffic yet.`,statsNoErrors:`No classified errors.`,statsUnknown:`unknown`,statsUnassigned:`unassigned`,failedStats:`Failed to load stats: {msg}`,homeNote:`Signed into the local console. Account logins live on the Accounts page.`,metricRuntime:`Runtime`,metricAccounts:`Accounts`,metricModels:`Models`,metricAuth:`Auth`,metricPort:`Port`,serviceDetail:`Service detail`,endpoints:`Endpoints`,copyBaseUrl:`Copy Base URL`,copied:`Copied`,copy:`Copy`,open:`Open`,waitingOverview:`Waiting for overview…`,signIn:`Sign in`,connectQoder:`Connect account`,rewarm:`Rewarm`,rewarming:`Rewarming`,refreshAccount:`Refresh`,refreshingAccount:`Refreshing`,stepBrowserTitle:`Browser device flow`,stepBrowserDesc:`Opens account selection. Finish in the browser, then this page polls until the session is ready.`,startBrowserLogin:`Sign in with browser`,starting:`Starting…`,authUrl:`Auth URL`,stepPatTitle:`Personal access token`,stepPatDesc:`Optional fallback when browser flow is inconvenient.`,pat:`PAT`,pasteToken:`paste token`,loginWithPat:`Login with PAT`,loggingIn:`Logging in…`,localState:`Local state`,raw:`Raw`,noAuthSnapshot:`No auth snapshot yet.`,catalog:`Catalog`,availableModels:`Available models`,modelsPulled:`Pulled from`,filter:`Filter`,filterPh:`glm / qwen / deepseek`,providerFilterAll:`All providers`,connection:`Connection`,apiPlayground:`API playground`,apiPlaygroundHint:`Compose a real request, inspect the raw response, then copy the matching command.`,readyAccounts:`{ready} of {total} accounts ready`,baseUrl:`Base URL`,externalClients:`External clients`,protocol:`Protocol`,quickTest:`Quick test`,requestBuilder:`Request builder`,responseInspector:`Response inspector`,responseInspectorHint:`Raw JSON from the local proxy`,requestIdle:`Idle`,requestComplete:`Complete`,requestFailed:`Request failed`,responseReceived:`Response received`,responseEmptyTitle:`No response yet`,responseEmptyHint:`Choose a route, write a prompt, and send the request. The raw response appears here.`,sendRequest:`Send request`,promptPlaceholder:`Write a message for the model`,promptHelper:`This test uses a non-streaming Chat Completions request.`,autoAccountHint:`The scheduler chooses an available account.`,fixedAccountHint:`This request is pinned to the selected account.`,modelRoutingHint:`Uses the public model ID exposed by this proxy.`,accountModelHint:`Only models this account currently serves. A pinned request fails if the ID is missing here.`,noAccountModels:`This account has no models to send.`,accountModels:`Available models`,accountModelsTitle:`Models on {name}`,accountModelsHint:`Live catalog from this account. Requests pinned here only use these IDs.`,accountModelsEmpty:`This account has not published a model catalog yet.`,accountModelsError:`Could not load models: {msg}`,noAccountsForTest:`No account runtime is available. Add and sign in to an account before testing.`,curlGeneratedHint:`Generated from the current account, model, and prompt`,prompt:`Prompt`,model:`Model`,send:`Send`,waitingRequest:`Waiting for a request…`,requesting:`Requesting…`,endpointOpenAI:`OpenAI Compatible`,endpointChat:`Chat Completions`,endpointModels:`Models`,endpointHealth:`Health`,hasUserBlob:`Has user blob`,userBlobBytes:`User blob bytes`,machineId:`Machine ID`,sessionHot:`Session hot`,upstreamEndpoint:`Upstream endpoint`,rewarmCount:`Rewarm count`,proxy:`Proxy`,endpoint:`Endpoint`,lastError:`Last error`,running:`Running`,down:`Down`,hot:`Hot`,up:`Up`,ready:`Ready`,missing:`Missing`,degraded:`Degraded`,error:`Error`,yes:`yes`,no:`no`,modelCol:`Model`,mappedKeyCol:`Upstream key`,requestIdCol:`Request ID`,providerCol:`Provider`,qoderKeyCol:`Upstream key`,routedTo:`Upstream model {model}`,stateCol:`State`,contextWindowCol:`Context window`,contextConfigHint:`Per-model defaults · explicit API fields take priority`,contextInvalid:`Context window must be an integer between 1,024 and 4,000,000 tokens.`,contextSaved:`Saved context window for {model}.`,contextReset:`Restored the default context window for {model}.`,contextMaxOn:`Enabled Max context for {model}.`,contextMaxOff:`Disabled Max context for {model}.`,contextMaxUnavailable:`This model has no Max context switch.`,maxMode:`Max`,catalogWindow:`Catalog window`,reasoningLevels:`Reasoning`,reasoningFixed:`Fixed thinking: {type}`,noReasoningLevels:`This model has no selectable reasoning levels.`,reasoningSaved:`Saved reasoning for {model}: {level}.`,reasoningLevel_none:`Off`,reasoningLevel_low:`Low`,reasoningLevel_medium:`Medium`,reasoningLevel_high:`High`,reasoningLevel_xhigh:`Extra high`,reasoningLevel_max:`Max`,modelDetails:`Details`,promptMaxTokens:`Prompt max`,maxOutputTokens:`Output max`,actions:`Actions`,save:`Save`,custom:`Custom`,defaultValue:`Default`,resetDefault:`Restore default`,fallback:`fallback`,shownTotal:`{shown} shown / {total} total`,noModelsYet:`No models yet`,noModelsMatch:`No models match this filter.`,noProviders:`No providers loaded.`,failedOverview:`Failed to load overview: {msg}`,pastePatFirst:`Paste a PAT first`,patDone:`PAT login completed`,loginOpenMsg:`Open the auth URL to finish login`,idle:`idle`,menu:`Menu`,toggleSidebar:`Toggle sidebar`,accountsTitle:`Accounts`,accountsDesc:`One login per account. Chat round-robins and fails over.`,noAccounts:`No accounts yet. Add one to start serving chat.`,accountCount:`Accounts`,signedIn:`Signed in`,enabledAccounts:`Enabled`,availableAccounts:`Available`,needsAttention:`Needs attention`,searchAccounts:`Search name, ID, UID, provider, or auth type`,filterAll:`All`,shownAccounts:`{shown} / {total}`,noAccountsMatch:`No accounts match this filter.`,clearFilters:`Clear filters`,more:`More actions`,partialCooling:`Partial model cooldown`,runtimeState:`Runtime state`,maxInflight:`Max concurrency`,priority:`Priority`,updatedAt:`Updated`,enabledState:`Enabled`,cooling:`Cooling down`,patFallback:`PAT fallback`,usePat:`Use PAT`,account:`Account`,autoAccount:`Auto (round-robin)`,cooldown:`Cooldown`,inFlight:`In-flight`,restarts:`Restarts`,dropSystemPrompt:`Drop system prompt`,dropSystemPromptHint:`Strip caller system prompts before sending; WorkBuddy still gets an empty leading system slot so Global does not reject the request`,autoCheckin:`Daily check-in`,autoCheckinHint:`Opt in to scheduled WorkBuddy credit check-ins around 09:00 and 21:00 local time. Off by default.`,autoCheckinCreateHint:`WorkBuddy only. Schedule daily credit check-ins. You can change this later on the account card.`,checkinNow:`Check in now`,lastCheckin:`Last check-in`,lastCheckinNone:`No check-in yet`,checkinStatus:`Check-in`,checkinToday:`Checked in today`,checkinPending:`Not checked in today`,checkinFailed:`Check-in failed`,checkinRecords:`Check-in records`,checkinRecordsTitle:`Check-in records · {name}`,checkinRecordsHint:`The latest 20 check-in attempts for this account.`,checkinRecordsEmpty:`No check-in records yet`,checkinRecordsCount:`{count} records`,checkinRecordSuccess:`Success`,checkinRecordAlready:`Already checked in`,checkinRecordFailed:`Failed`,refreshCredits:`Refresh credits`,quota:`Quota`,quotaUsed:`Used`,quotaRemaining:`Remaining`,quotaAddOn:`Add-on`,quotaExceeded:`Quota exceeded`,errorKind:`Error kind`,qoderLoginHint:`This signs in the upstream account only. It does not change the console password.`,needQoderLogin:`Needs account login`,waitingQoderLogin:`Waiting for account login…`,qoderLoginDone:`Account login completed`,rewarmDone:`Rewarm completed`,accountsSigned:`{n} / {total} accounts ready`,addAccount:`Add account`,accountName:`Account name`,accountNameRequired:`Enter an account name.`,accountCreated:`Account created. Session is starting.`,importCredential:`Import native credential`,accountImported:`Credential imported and runtime started.`,credentialCopied:`Credential bundle copied.`,addAccountTitle:`Add account`,accountType:`Account type`,loginMethod:`Login method`,accountTypeHint:`Choose the upstream login family for this isolated runtime.`,accountTypeQoderGlobal:`Qoder Global`,accountTypeQoderGlobalHint:`Qoder Global via browser, PAT, or imported credential`,accountTypeQoderCN:`Qoder CN`,accountTypeQoderCNHint:`Qoder China via browser, PAT, or imported credential`,accountTypeWorkBuddyCN:`WorkBuddy CN`,accountTypeWorkBuddyCNHint:`CodeBuddy CN via browser login or imported credential`,accountTypeWorkBuddyGlobal:`WorkBuddy Global`,accountTypeWorkBuddyGlobalHint:`WorkBuddy Global via browser login or imported credential`,accountTypeTraeCN:`Trae CN Solo`,accountTypeTraeCNHint:`Trae China Solo via browser login or imported credential`,addAccountDesc:`Create an isolated account session. Each account keeps its own runtime home.`,tabBrowser:`Browser login`,tabPat:`PAT`,tabImport:`Import credential`,recommended:`Recommended`,wizardSettings:`Account settings`,wizardAdvanced:`Advanced options`,wizardContinue:`Continue`,wizardBack:`Back`,wizardSettingsHint:`Set these before login. You can still change them later from Edit on the account card.`,editAccount:`Edit`,editAccountTitle:`Edit {name}`,editAccountHint:`Change the display name, concurrency, and routing priority.`,maxInflightInvalid:`Concurrency must be an integer from 1 to 32.`,priorityInvalid:`Priority must be an integer from 1 to 100.`,wizardNamePh:`Account name`,maxInflightHint:`How many chats this account may run at once. Changing it later restarts the worker.`,priorityHint:`Higher numbers are preferred when routing later uses this field. Default 50.`,dropSystemPromptCreateHint:`WorkBuddy only. Strip caller system prompts, then send an empty leading system slot so Global still accepts the request.`,wizardBrowserLead:`Opens the authorization page. Finish in the browser and this wizard continues automatically.`,wizardStartBrowser:`Start browser login`,wizardOpenBrowser:`Open authorization page`,wizardStartingSession:`Starting the account session…`,wizardWaitingBrowser:`Waiting for authorization in the browser…`,wizardCallbackLead:`If the browser stays on 127.0.0.1 and this console never finishes, copy the full address-bar URL here.`,wizardCallbackPh:`Paste the full http://127.0.0.1…/authorize?… URL`,wizardSubmitCallback:`Submit callback URL`,wizardStartingWorker:`Authorization received. Starting account session…`,wizardAccountReady:`Account is ready.`,wizardLoginTimeout:`Timed out waiting for browser login. You can retry from the account card.`,wizardPatLead:`Use a personal access token when the browser flow is inconvenient.`,wizardPatLeadCN:`Create a PAT at qoder.com.cn/account/integrations, then paste it here.`,wizardPatPh:`Paste personal access token`,wizardCreateAndLogin:`Create and sign in`,wizardImportLead:`Paste a credential bundle previously exported from this console.`,wizardImportPh:`Paste credential JSON`,wizardChooseFile:`Choose file`,wizardBadJson:`That does not look like a valid credential bundle.`,reLogin:`Sign in`,cancel:`Cancel`,close:`Close`,create:`Create`,import:`Import`,export:`Export`,enable:`Enable`,disable:`Disable`,disabled:`Disabled`,delete:`Delete`,deleteAccountConfirm:`Delete account {name}? This removes its local runtime and stored credential.`,edit:`Edit`,enabled:`Enabled`,keysLead:`Client keys call /v1. Leave providers empty to allow every family. The console key stays on System.`,keysCreate:`Create key`,keysEmpty:`No client keys yet`,keysEmptyHint:`Create a named key for OpenAI-compatible clients. It cannot sign in to this console.`,keysCreateTitle:`Create API key`,keysCreateHint:`The secret is shown once. Store it in the client that will call /v1.`,keysEditTitle:`Edit API key`,keysEditHint:`Rename the key or change which providers it may route to.`,keysName:`Name`,keysNamePh:`CI bot`,keysNameRequired:`Name is required.`,keysProviders:`Providers`,keysProvidersHint:`Leave all unchecked to allow every provider.`,keysAllProviders:`All providers`,keysLastUsed:`Last used {time}`,keysNeverUsed:`Not used yet`,keysSecretTitle:`Store this secret now`,keysSecretHint:`This value is not stored in plaintext. It will not be shown again.`,keysSecretOnce:`Copy the key before closing this dialog.`,keysDeleteConfirm:`Delete API key {name}? Clients using it will fail immediately.`,consoleKeyTitle:`Console API key`,consoleKeyHint:`This is the administrator key used to sign in here.`,consoleKeyLead:`It can call every provider and manage accounts, keys, and updates. Client keys live on the API keys page.`,consoleKeyRotate:`Rotate key`,consoleKeyRotateHint:`Rotating signs you out of other sessions and restarts Qoder workers so they pick up the new secret.`,consoleKeyRotateNow:`Rotate now`,consoleKeySecretTitle:`New console key`,consoleKeySecretHint:`This browser session is already updated. Copy the key for any other clients that used the old console secret.`},zh:{brandSub:`登录态网关`,controlPlane:`控制平面`,workspace:`工作区`,develop:`开发`,system:`系统`,runtimeSnapshot:`运行时与调度器快照`,routesHint:`OpenAI 兼容端点`,clientConfig:`客户端配置`,clientConfigHint:`使用与控制台相同的密钥作为 Bearer Token`,authentication:`认证方式`,curlExample:`curl 示例`,quickTestHint:`通过所选账号发送一条真实请求`,response:`响应`,providerCatalog:`模型目录`,providerCatalogMeta:`已登录 / 实时`,accountPool:`账号池`,accountCreateHint:`先创建隔离运行时,再通过浏览器或 PAT 登录。`,credentialImportHint:`仅支持从本控制台导出、且 user blob 与 machine ID 匹配的凭证包。`,accountEmptyHint:`创建一个账号运行时后即可开始。`,oauthDeviceFlow:`OAuth 浏览器登录`,navOverview:`概览`,navAuth:`账号`,navProviders:`模型`,navAccess:`API 接入`,navAccounts:`账号`,navLogs:`日志`,navKeys:`API 密钥`,navSystem:`系统设置`,sidebarFoot:`CLI 登录态网关,后续扩展更多提供方。`,systemSettingsTitle:`系统设置`,systemSettingsLead:`管理跨 Provider 路由、系统更新、SQLite 保护和控制台管理员密钥。`,crossProviderModelPoolTitle:`跨 Provider 模型池`,crossProviderModelPoolHint:`开启后,不带 Provider 前缀的模型 ID 可以在匹配的 Qoder、WorkBuddy 和 Trae 账号之间调度;关闭后 bare ID 会被拒绝,必须使用带 Provider 前缀的模型 ID。`,crossProviderModelPoolStatus:`当前状态`,crossProviderModelPoolAriaLabel:`开启跨 Provider 模型池`,checkUpdates:`检查更新`,versionUpdate:`版本更新`,latestVersionHint:`更新会直接升级到最新稳定版本。`,updateAvailable:`有可用更新`,upToDate:`已是最新版本`,currentVersion:`当前版本`,latestVersion:`最新版本`,skippedBetweenLabel:`中间经过的版本`,releaseNotes:`版本说明`,updateNoNotes:`该版本暂无说明。`,updaterReady:`宿主机更新器已连接`,updaterUnavailable:`未连接宿主机更新器`,updaterNeedsHost:`当前进程不能替换自己的容器`,updaterUnavailableHint:`控制台更新需要宿主机上的更新器来操作 Docker。这一页可以检查 GitHub,但更新器没连上时不能重建容器。`,updaterNeedInstall:`用 deploy/install-updater.sh 或 deploy/install-updater.ps1 安装宿主机更新器,让它能调用 Docker。`,updaterNeedCompose:`Linux 需要把更新器 socket 挂进容器。Docker Desktop 用本机回环地址,而不是 Unix socket。`,updaterNeedRelease:`当前运行的必须是已发布的 GitHub Release,不能是本地或开发镜像。`,updateNow:`立即更新`,updateReloadingIn:`更新中… {seconds}s 后刷新`,updateInProgress:`更新中…`,updateInProgressHint:`系统正在更新,准备就绪后会自动刷新页面。`,updateUnavailableHint:`暂时无法更新,请稍后重试。`,updateFailedHint:`更新未完成,请重试。`,updateCheckFailedHint:`暂时无法检查更新,请稍后重试。`,updatePreparingHint:`正在准备更新:检查版本、暂停新请求并创建 SQLite 快照。现有连接可能会被中断,客户端可自行重试。`,updateRunningHint:`宿主机更新器已接收任务,健康检查完成后服务会自动恢复。`,updateReloadingHint:`新服务已通过健康检查,正在重新加载控制台…`,updateElapsed:`已用时 {seconds}s`,sqliteProtection:`SQLite 保护`,sqliteProtectionHint:`保留原数据卷,并在更新前创建经过完整性校验的快照。`,sqliteBackupBeforeUpdate:`替换前创建并校验 SQLite 快照`,sqliteKeepFive:`保留最近 5 份快照`,sqliteRollbackTogether:`失败时同时恢复数据库和旧镜像`,updateStatus:`更新状态`,noUpdateJob:`暂无更新任务`,confirmUpdate:`确认更新`,confirmUpdateHint:`系统会短暂停止接收新请求并备份 SQLite。现有连接可能会被中断,客户端可自行重试。`,updateState_idle:`空闲`,updateState_unavailable:`不可用`,updateState_queued:`等待执行`,updateState_preparing:`准备中`,updateState_checking:`检查版本中`,updateState_backing_up:`备份 SQLite 中`,updateState_submitting:`提交更新中`,updateState_running:`更新服务中`,updateState_pulling:`拉取镜像中`,updateState_recreating:`重建服务中`,updateState_health_checking:`健康检查中`,updateState_rolling_back:`回滚中`,updateState_succeeded:`更新成功`,updateState_rolled_back:`已回滚`,updateState_failed:`更新失败`,checking:`检查中`,refresh:`刷新`,apiKey:`API Key`,apiKeyPh:`API Key`,needApiKey:`先用控制台密码登录才能加载数据。`,loginTitle:`进入控制台`,loginLead:`这台机器上的 CLI2API 代理已经在运行。请输入客户端访问 /v1 时使用的 API Key。`,loginDesc:`和接口 Authorization: Bearer 是同一把钥匙。`,loginFormTitle:`继续`,loginPassword:`控制台密码`,loginPasswordPh:`API Key`,loginNeedKey:`密码是空的。`,loginBadKey:`这把钥匙对不上这台机器。`,loginSubmit:`进入`,loggingInConsole:`核对中…`,loginHint:`只解锁本机控制台。账号登录在进入后的「账号」页。`,showPassword:`显示密码`,hidePassword:`隐藏密码`,signOut:`退出`,checkingSession:`正在检查登录态…`,refreshing:`刷新中`,pages:{home:{title:`概览`,desc:`查看运行状态、请求量与可用端点。`},auth:{title:`授权`,desc:`浏览器 device-flow 登录、PAT 登录,以及会话 rewarm。`},providers:{title:`模型`,desc:`当前已登录账号可用的模型列表。`},access:{title:`接入`,desc:`复制 Base URL,并快速验证 Chat Completions。`},accounts:{title:`账号`,desc:`一个账号一个登录态。先走浏览器登录;浏览器不方便再用 PAT。`},logs:{title:`日志`,desc:`查看近期代理请求和进程输出。`},keys:{title:`API 密钥`,desc:`创建客户端密钥,并限制可用的供应商。`},system:{title:`系统设置`,desc:`管理跨 Provider 路由、系统更新、SQLite 保护和控制台管理员密钥。`},login:{title:`进入控制台`,desc:`和 /v1 使用同一把 API Key。`}},logsLead:`本机请求历史与运行时输出。`,logsRequests:`请求历史`,logsRuntime:`运行日志`,logsEmptyRequests:`还没有请求记录。`,logsEmptyRuntime:`还没有捕获到运行输出。`,logsSearchRuntime:`搜索运行输出…`,logsSearchRequestId:`搜索请求 ID`,logsSearchModel:`搜索模型`,logsSearchAccount:`搜索账号`,logsFilterIdAll:`全部请求 ID`,logsNoFilterOptions:`没有匹配项`,logsClear:`清空历史`,logsClearConfirm:`删除本机全部请求历史?`,logsColTime:`时间`,logsColAccount:`账号`,logsColProvider:`供应商`,logsColModel:`模型`,logsColStatus:`状态`,logsColLatency:`延迟`,logsColTTFT:`首字`,logsColTokens:`Tokens`,logsTokensIn:`输入`,logsTokensOut:`输出`,logsColStream:`模式`,logsStreamYes:`流式`,logsStreamNo:`同步`,logsFilterAll:`全部`,logsFilterOk:`成功`,logsFilterError:`失败`,logsFilterCanceled:`取消`,logsFilterAccountAll:`全部账号`,logsFilterModelAll:`全部模型`,logsFilterKindAll:`全部错误`,logsFilterStreamAll:`全部模式`,logsTimeRange:`时间`,logsTimeAll:`全部时间`,logsTime1h:`1 小时`,logsTime24h:`24 小时`,logsTime7d:`7 天`,logsTimeCustom:`自定义`,logsTimeFrom:`开始`,logsTimeTo:`结束`,logsKindQuota:`额度`,logsKindRateLimit:`限流`,logsKindAuth:`鉴权`,logsKindNotReady:`未就绪`,logsKindUnavailable:`不可用`,logsKindInvalidRequest:`非法请求`,logsKindModelNotAvailable:`模型不可用`,logsPageSize:`每页`,logsPage:`第 {page} / {pages} 页`,logsPrevPage:`上一页`,logsNextPage:`下一页`,logsNoMatch:`没有符合当前筛选的请求。`,logsLevelAll:`全部`,logsLevelInfo:`信息`,logsLevelWarn:`警告`,logsLevelError:`错误`,logsAttempts:`尝试记录`,logsRouting:`路由方式`,logsRouting_pool:`常规池`,logsRouting_pin:`显式指定`,logsRouting_sticky:`会话粘性`,logsRouting_sticky_escape:`粘性逃逸`,logsNoAttempts:`没有尝试详情。`,logsDetailTitle:`请求详情`,logsShownTotal:`{shown} / {total}`,logsAutoRefresh:`实时`,failedLogs:`加载日志失败:{msg}`,homeEyebrow:`运行时`,homeDisplay:`网关状态`,homeLead:`运行状态之外,还能看到本机请求量、延迟和 token。`,metricRequests:`请求`,metricSuccess:`成功率`,metricLatency:`p95`,metricTokens:`Tokens`,statsWindow1h:`1小时`,statsWindow24h:`24小时`,statsWindow7d:`7天`,statsWindowHint:`{window}窗口`,statsTraffic:`流量`,statsTrafficHint:`所选时间窗口内的已完成聊天请求`,statsEmptyTraffic:`这个时间窗口还没有请求。`,statsLatencyP50:`p50`,statsLatencyP95:`p95`,statsLatencyAvg:`平均`,statsTTFB:`TTFB`,statsPool:`账号池`,statsPoolHint:`就绪 worker 与剩余额度`,statsCooling:`冷却中`,statsTopModels:`热门模型`,statsTopAccounts:`热门账号`,statsTopProviders:`供应商`,statsTopProvidersHint:`按账号类型统计请求量`,statsNoProviders:`还没有供应商流量。`,statsErrorMix:`错误构成`,statsErrorMixHint:`该窗口内已分类的失败`,statsNoModels:`还没有模型流量。`,statsNoAccounts:`还没有账号流量。`,statsNoErrors:`没有分类错误。`,statsUnknown:`未知`,statsUnassigned:`未分配`,failedStats:`加载统计失败:{msg}`,homeNote:`已登录本机控制台。账号登录在「账号」页。`,metricRuntime:`运行状态`,metricAccounts:`账号`,metricModels:`模型`,metricAuth:`登录态`,metricPort:`端口`,serviceDetail:`服务详情`,endpoints:`可用端点`,copyBaseUrl:`复制 Base URL`,copied:`已复制`,copy:`复制`,open:`打开`,waitingOverview:`等待概览数据…`,signIn:`登录`,connectQoder:`连接账号`,rewarm:`Rewarm`,rewarming:`Rewarm 中`,refreshAccount:`刷新`,refreshingAccount:`刷新中`,stepBrowserTitle:`浏览器 Device Flow`,stepBrowserDesc:`打开账号选择页。浏览器完成授权后,本页会轮询直到会话就绪。`,startBrowserLogin:`用浏览器登录`,starting:`启动中…`,authUrl:`授权链接`,stepPatTitle:`个人访问令牌`,stepPatDesc:`浏览器流程不方便时,可用 PAT 作为备选。`,pat:`PAT`,pasteToken:`粘贴 token`,loginWithPat:`使用 PAT 登录`,loggingIn:`登录中…`,localState:`本地状态`,raw:`原始数据`,noAuthSnapshot:`暂无授权快照。`,catalog:`目录`,availableModels:`可用模型`,modelsPulled:`来源`,filter:`筛选`,filterPh:`glm / qwen / deepseek`,providerFilterAll:`全部供应商`,connection:`连接信息`,apiPlayground:`API 调试台`,apiPlaygroundHint:`组装一条真实请求,检查原始响应,再复制完全一致的调用命令。`,readyAccounts:`{ready} / {total} 个账号就绪`,baseUrl:`Base URL`,externalClients:`外部客户端`,protocol:`协议`,quickTest:`快速测试`,requestBuilder:`请求编排`,responseInspector:`响应检查`,responseInspectorHint:`本地代理返回的原始 JSON`,requestIdle:`等待请求`,requestComplete:`请求完成`,requestFailed:`请求失败`,responseReceived:`已收到响应`,responseEmptyTitle:`还没有响应`,responseEmptyHint:`选择路由、填写提示词并发送请求,原始响应会显示在这里。`,sendRequest:`发送请求`,promptPlaceholder:`输入要发送给模型的内容`,promptHelper:`测试请求使用非流式 Chat Completions。`,autoAccountHint:`由调度器选择一个可用账号。`,fixedAccountHint:`本次请求固定发送到所选账号。`,modelRoutingHint:`使用当前代理暴露的公开模型 ID。`,accountModelHint:`只列出该账号当前能提供的模型。钉死账号后,目录里没有的 ID 会请求失败。`,noAccountModels:`这个账号目前没有可发送的模型。`,accountModels:`可用模型`,accountModelsTitle:`{name} 的模型`,accountModelsHint:`该账号的实时目录。钉到此账号的请求只会使用这些 ID。`,accountModelsEmpty:`这个账号还没有公布模型目录。`,accountModelsError:`无法加载模型:{msg}`,noAccountsForTest:`暂无可用账号运行时,请先添加账号并完成登录。`,curlGeneratedHint:`根据当前账号、模型和提示词实时生成`,prompt:`提示词`,model:`模型`,send:`发送`,waitingRequest:`等待请求…`,requesting:`请求中…`,endpointOpenAI:`OpenAI 兼容`,endpointChat:`Chat Completions`,endpointModels:`模型列表`,endpointHealth:`健康检查`,hasUserBlob:`已有 user blob`,userBlobBytes:`user blob 大小`,machineId:`Machine ID`,sessionHot:`会话热状态`,upstreamEndpoint:`上游端点`,rewarmCount:`Rewarm 次数`,proxy:`Proxy`,endpoint:`端点`,lastError:`最近错误`,running:`运行中`,down:`离线`,hot:`热就绪`,up:`在线`,ready:`就绪`,missing:`缺失`,degraded:`降级`,error:`错误`,yes:`是`,no:`否`,modelCol:`模型`,mappedKeyCol:`上游 Key`,requestIdCol:`请求 ID`,providerCol:`供应商`,qoderKeyCol:`上游 Key`,routedTo:`上游模型 {model}`,stateCol:`状态`,contextWindowCol:`上下文窗口`,contextConfigHint:`按模型配置默认值 · API 显式参数优先`,contextInvalid:`上下文窗口必须是 1,024 到 4,000,000 之间的整数。`,contextSaved:`已保存 {model} 的上下文窗口。`,contextReset:`已恢复 {model} 的默认上下文窗口。`,contextMaxOn:`已开启 {model} 的 Max 上下文。`,contextMaxOff:`已关闭 {model} 的 Max 上下文。`,contextMaxUnavailable:`这个模型没有 Max 上下文开关。`,maxMode:`Max`,catalogWindow:`目录窗口`,reasoningLevels:`推理强度`,reasoningFixed:`固定思考:{type}`,noReasoningLevels:`这个模型没有可选的推理档位。`,reasoningSaved:`已保存 {model} 的推理强度:{level}。`,reasoningLevel_none:`关闭`,reasoningLevel_low:`低`,reasoningLevel_medium:`中`,reasoningLevel_high:`高`,reasoningLevel_xhigh:`极高`,reasoningLevel_max:`最大`,modelDetails:`详情`,promptMaxTokens:`输入上限`,maxOutputTokens:`输出上限`,actions:`操作`,save:`保存`,custom:`自定义`,defaultValue:`默认`,resetDefault:`恢复默认`,fallback:`回退`,shownTotal:`显示 {shown} / 共 {total}`,noModelsYet:`暂无模型`,noModelsMatch:`没有匹配的模型。`,noProviders:`尚未加载供应商。`,failedOverview:`概览加载失败:{msg}`,pastePatFirst:`请先粘贴 PAT`,patDone:`PAT 登录完成`,loginOpenMsg:`请在浏览器打开授权链接完成登录`,idle:`空闲`,menu:`菜单`,toggleSidebar:`收起侧栏`,accountsTitle:`账号`,accountsDesc:`一个账号一个登录态。Chat 会 round-robin,失败切下一个。`,noAccounts:`还没有账号,添加一个即可开始服务。`,accountCount:`账号`,signedIn:`已登录`,enabledAccounts:`已启用`,availableAccounts:`可用`,needsAttention:`需处理`,searchAccounts:`搜索名称、账号 ID、UID、提供方或认证类型`,filterAll:`全部`,shownAccounts:`{shown} / {total}`,noAccountsMatch:`没有符合当前条件的账号。`,clearFilters:`清除筛选`,more:`更多操作`,partialCooling:`部分模型冷却`,runtimeState:`运行状态`,maxInflight:`最大并发`,priority:`优先级`,updatedAt:`更新于`,enabledState:`已启用`,cooling:`冷却中`,patFallback:`PAT 备选`,usePat:`用 PAT`,account:`账号`,autoAccount:`自动(轮询)`,cooldown:`冷却`,inFlight:`进行中`,restarts:`重启次数`,dropSystemPrompt:`丢弃系统提示词`,dropSystemPromptHint:`发送前剥离调用方的系统提示词;仍会补一条空的 system,避免国际版要求第一条必须是系统提示词`,autoCheckin:`每日签到`,autoCheckinHint:`按账号开启后,大约在本地 09:00 / 21:00 自动领取 WorkBuddy 积分。默认关闭。`,autoCheckinCreateHint:`仅 WorkBuddy。开启后按日自动签到,之后仍可在账号卡片上改。`,checkinNow:`立即签到`,lastCheckin:`最近签到`,lastCheckinNone:`还没有签到记录`,checkinStatus:`签到`,checkinToday:`今日已签到`,checkinPending:`今日未签到`,checkinFailed:`签到异常`,checkinRecords:`签到记录`,checkinRecordsTitle:`签到记录 · {name}`,checkinRecordsHint:`显示该账号最近 20 次签到结果。`,checkinRecordsEmpty:`还没有签到记录`,checkinRecordsCount:`{count} 条记录`,checkinRecordSuccess:`成功`,checkinRecordAlready:`今日已签到`,checkinRecordFailed:`失败`,refreshCredits:`刷新积分`,quota:`额度`,quotaUsed:`已用`,quotaRemaining:`剩余`,quotaAddOn:`附加包`,quotaExceeded:`额度已用尽`,errorKind:`错误类型`,qoderLoginHint:`这里登录的是该账号的上游登录态,不会改控制台密码。`,needQoderLogin:`需要账号登录`,waitingQoderLogin:`等待账号登录完成…`,qoderLoginDone:`账号登录完成`,rewarmDone:`Rewarm 完成`,accountsSigned:`{n} / {total} 个账号就绪`,addAccount:`添加账号`,accountName:`账号名称`,accountNameRequired:`请输入账号名称。`,accountCreated:`账号已创建,会话正在启动。`,importCredential:`导入原生凭证`,accountImported:`凭证已导入,运行时已启动。`,credentialCopied:`凭证包已复制。`,addAccountTitle:`添加账号`,accountType:`账号类型`,loginMethod:`登录方式`,accountTypeHint:`选择这个隔离运行时使用的上游登录类型。`,accountTypeQoderGlobal:`Qoder 国际版`,accountTypeQoderGlobalHint:`Qoder 国际版:浏览器、PAT 或导入凭证`,accountTypeQoderCN:`Qoder 国内版`,accountTypeQoderCNHint:`Qoder 中国大陆版:浏览器、PAT 或导入凭证`,accountTypeWorkBuddyCN:`WorkBuddy 国内版`,accountTypeWorkBuddyCNHint:`CodeBuddy 国内版:浏览器登录或导入凭证`,accountTypeWorkBuddyGlobal:`WorkBuddy 国际版`,accountTypeWorkBuddyGlobalHint:`WorkBuddy 国际版:浏览器登录或导入凭证`,accountTypeTraeCN:`Trae 国内版(Solo)`,accountTypeTraeCNHint:`Trae 国内 Solo:浏览器登录或导入凭证`,addAccountDesc:`创建一个隔离会话并登录。每个账号使用独立的运行时目录。`,tabBrowser:`浏览器登录`,tabPat:`PAT`,tabImport:`导入凭证`,recommended:`推荐`,wizardSettings:`账号设置`,wizardAdvanced:`高级选项`,wizardContinue:`继续`,wizardBack:`返回`,wizardSettingsHint:`登录前先设好这些选项,之后仍可在账号卡片上点编辑修改。`,editAccount:`编辑`,editAccountTitle:`编辑 {name}`,editAccountHint:`修改显示名称、并发和调度优先级。`,maxInflightInvalid:`并发必须是 1 到 32 之间的整数。`,priorityInvalid:`优先级必须是 1 到 100 之间的整数。`,wizardNamePh:`账号名称`,maxInflightHint:`这个账号同时能跑多少条对话。之后改并发会重启该账号的 worker。`,priorityHint:`数字越大,之后调度会越优先选这个账号。默认 50。`,dropSystemPromptCreateHint:`仅 WorkBuddy。剥离调用方系统提示词后仍补一条空的 system,避免国际版拒绝请求。`,wizardBrowserLead:`会打开授权页。在浏览器完成授权后,向导会自动继续。`,wizardStartBrowser:`开始浏览器登录`,wizardOpenBrowser:`打开授权页`,wizardStartingSession:`正在启动账号会话…`,wizardWaitingBrowser:`正在等待浏览器完成授权…`,wizardCallbackLead:`如果浏览器停在 127.0.0.1,而控制台一直没有完成,把地址栏完整 URL 粘贴到这里。`,wizardCallbackPh:`粘贴完整的 http://127.0.0.1…/authorize?… 地址`,wizardSubmitCallback:`提交回调地址`,wizardStartingWorker:`已收到授权,正在启动账号会话…`,wizardAccountReady:`账号已就绪。`,wizardLoginTimeout:`等待浏览器登录超时,可在账号卡片重试。`,wizardPatLead:`浏览器流程不方便时,可用个人访问令牌登录。`,wizardPatLeadCN:`在 qoder.com.cn/account/integrations 创建 PAT,然后粘贴到这里。`,wizardPatPh:`粘贴个人访问令牌`,wizardCreateAndLogin:`创建并登录`,wizardImportLead:`粘贴此前从本控制台导出的凭证包。`,wizardImportPh:`粘贴凭证 JSON`,wizardChooseFile:`选择文件`,wizardBadJson:`这看起来不是有效的凭证包。`,reLogin:`登录`,cancel:`取消`,close:`关闭`,create:`创建`,import:`导入`,export:`导出`,enable:`启用`,disable:`停用`,disabled:`已停用`,delete:`删除`,deleteAccountConfirm:`确定删除账号 {name} 吗?这会移除它的本地运行时和已保存凭据。`,edit:`编辑`,enabled:`已启用`,keysLead:`客户端密钥只用于 /v1。供应商留空表示全部可用。控制台管理员密钥在系统页。`,keysCreate:`创建密钥`,keysEmpty:`还没有客户端密钥`,keysEmptyHint:`为 OpenAI 兼容客户端创建命名密钥。它不能登录这个控制台。`,keysCreateTitle:`创建 API 密钥`,keysCreateHint:`明文密钥只显示一次,请保存在会调用 /v1 的客户端里。`,keysEditTitle:`编辑 API 密钥`,keysEditHint:`可以改名称,或限制它能调度到哪些供应商。`,keysName:`名称`,keysNamePh:`CI 机器人`,keysNameRequired:`请填写名称。`,keysProviders:`供应商`,keysProvidersHint:`全部不勾选表示允许所有供应商。`,keysAllProviders:`全部供应商`,keysLastUsed:`最近使用 {time}`,keysNeverUsed:`尚未使用`,keysSecretTitle:`请立刻保存这把密钥`,keysSecretHint:`服务端只存哈希,关闭后无法再查看明文。`,keysSecretOnce:`关闭弹窗前请先复制。`,keysDeleteConfirm:`确定删除 API 密钥 {name} 吗?正在使用它的客户端会立刻失败。`,consoleKeyTitle:`控制台 API 密钥`,consoleKeyHint:`这是登录本控制台的管理员密钥。`,consoleKeyLead:`它可以调用全部供应商,并管理账号、密钥和更新。客户端密钥在「API 密钥」页。`,consoleKeyRotate:`轮换密钥`,consoleKeyRotateHint:`轮换后其他会话会失效,并重启 Qoder worker 以使用新密钥。`,consoleKeyRotateNow:`立即轮换`,consoleKeySecretTitle:`新的控制台密钥`,consoleKeySecretHint:`当前浏览器会话已更新。如果还有客户端在用旧的控制台密钥,请把新值复制过去。`}};function IV(e,t,n={}){let r=FV[e]||FV.en,i=FV.en,a=r[t];return a??=i[t],typeof a==`string`?a.replace(/\{(\w+)\}/g,(e,t)=>n[t]==null?`{${t}}`:String(n[t])):t}function LV(e,t){return((FV[e]||FV.en).pages||FV.en.pages)[t]||{title:t,desc:``}}var RV=(0,v.createContext)(null);function zV({children:e}){let[t,n]=(0,v.useState)(()=>localStorage.getItem(`cli2api_lang`)===`en`?`en`:`zh`),r=(0,v.useMemo)(()=>({lang:t,setLang:e=>{let t=e===`en`?`en`:`zh`;localStorage.setItem(`cli2api_lang`,t),document.documentElement.lang=t===`zh`?`zh-CN`:`en`,n(t)},t:(e,n)=>IV(t,e,n),page:e=>LV(t,e)}),[t]);return(0,U.jsx)(RV.Provider,{value:r,children:e})}function BV(){let e=(0,v.useContext)(RV);if(!e)throw Error(`useI18n must be used within I18nProvider`);return e}var VV=`cli2api_key`,HV=(0,v.createContext)(null);function UV({children:e}){let[t,n]=(0,v.useState)(()=>localStorage.getItem(VV)||``),r=(0,v.useMemo)(()=>({apiKey:t,setApiKey:e=>{let t=String(e||``).trim();t?localStorage.setItem(VV,t):localStorage.removeItem(VV),n(t)},signOut:()=>{localStorage.removeItem(VV),n(``)}}),[t]);return(0,U.jsx)(HV.Provider,{value:r,children:e})}function WV(){let e=(0,v.useContext)(HV);if(!e)throw Error(`useApiKey must be used within ApiKeyProvider`);return e}function GV(){return(localStorage.getItem(VV)||``).trim()}var KV=class extends Error{status;code;constructor(e,t,n){super(e),this.name=`ApiError`,this.status=t,this.code=n}};function qV(e){if(e instanceof KV)return e.status===401||e.code===`invalid_api_key`;let t=e instanceof Error?e.message:String(e||``);return/invalid_api_key|unauthorized|Missing\/invalid API key/i.test(t)}async function JV(e,t={},n){let r=new Headers(t.headers||{});t.body&&!(t.body instanceof FormData)&&!r.has(`Content-Type`)&&r.set(`Content-Type`,`application/json`);let i=(n??GV()).trim();i&&!r.has(`Authorization`)&&r.set(`Authorization`,`Bearer ${i}`);let a=await fetch(e,{...t,headers:r}),o=await a.text(),s;try{s=o?JSON.parse(o):null}catch{s=o}if(!a.ok){let e=typeof s==`string`?s:o,t=/]/i.test(e);throw new KV(s?.error?.message||s?.message||(t?`${a.status} ${a.statusText}`:e||a.statusText),a.status,s?.error?.code)}return s}function YV(e,t){return JV(t?.refreshQuota?`/api/overview?refresh=1`:`/api/overview`,{},e)}function XV(e=!1){return JV(`/api/accounts?refresh=${e?`1`:`0`}`)}function ZV(e){if(!e)throw Error(`account id required`);return JV(`/api/accounts/${encodeURIComponent(e)}/login/device`,{method:`POST`,body:`{}`})}function QV(e){if(!e)throw Error(`account id required`);return JV(`/api/accounts/${encodeURIComponent(e)}/login/status`)}function $V(e,t){if(!e)throw Error(`account id required`);return JV(`/api/accounts/${encodeURIComponent(e)}/login/callback`,{method:`POST`,body:JSON.stringify({callback_url:t})})}function eH(e,t){if(!t)throw Error(`account id required`);return JV(`/api/accounts/${encodeURIComponent(t)}/login/pat`,{method:`POST`,body:JSON.stringify({pat:e})})}function tH(e,t=!1){let n=new URLSearchParams;t&&n.set(`refresh`,`1`),e&&n.set(`account`,e);let r=n.toString();return JV(`/api/models${r?`?${r}`:``}`)}function nH(e){return tH(e,!0)}function rH(e,t){return JV(`/api/models/${encodeURIComponent(e)}`,{method:`PATCH`,body:JSON.stringify({context_length:t})})}function iH(e,t){return JV(`/api/models/trae/${encodeURIComponent(e)}`,{method:`PATCH`,body:JSON.stringify({max_mode:t})})}function aH(e,t,n){return JV(`/api/models/${e}/${encodeURIComponent(t)}`,{method:`PATCH`,body:JSON.stringify({reasoning_effort:n})})}function oH(e,t){if(!e)throw Error(`account id required`);let n=t?.quota?`?quota=1`:``;return JV(`/api/accounts/${encodeURIComponent(e)}/refresh${n}`,{method:`POST`,body:`{}`})}function sH(e,t,n){let r={};return n&&(r[`X-Qoder-Account`]=n),JV(`/api/chat`,{method:`POST`,headers:r,body:JSON.stringify({model:e,stream:!1,messages:[{role:`user`,content:t}]})})}function cH(){return JV(`/api/providers`)}function lH(e,t=`qoder`,n=`global`,r){return JV(`/api/accounts`,{method:`POST`,body:JSON.stringify({name:e,provider:t,region:n,enabled:!0,max_inflight:r?.max_inflight??4,priority:r?.priority??50,drop_system_prompt:r?.drop_system_prompt,workbuddy_auto_checkin:r?.workbuddy_auto_checkin})})}function uH(e){return JV(`/api/accounts/${encodeURIComponent(e)}/checkin`,{method:`POST`,body:`{}`})}function dH(e){return JV(`/api/accounts/${encodeURIComponent(e)}/checkins`)}function fH(e,t){return JV(`/api/accounts/${encodeURIComponent(e)}`,{method:`PATCH`,body:JSON.stringify(t)})}function pH(e){return JV(`/api/accounts/${encodeURIComponent(e)}`,{method:`DELETE`})}function mH(e){return JV(`/api/accounts/import`,{method:`POST`,body:JSON.stringify(e)})}function hH(e){return JV(`/api/accounts/${encodeURIComponent(e)}/export`)}var gH=(0,v.createContext)(null);function _H({children:e}){let{apiKey:t,signOut:n}=WV(),[r,i]=(0,v.useState)(null),[a,o]=(0,v.useState)(!!t),[s,c]=(0,v.useState)(null),l=(0,v.useCallback)(async(e,r)=>{let a=e??t;if(!a)throw i(null),c(null),o(!1),Error(`missing_api_key`);let s=!!r?.silent,l=r?.refreshQuota??!s;s||o(!0);try{let e=await YV(a,{refreshQuota:l});return i(e),c(null),e}catch(e){let t=e instanceof Error?e.message:String(e);throw s||i(null),c(t),qV(e)&&n(),e}finally{s||o(!1)}},[t,n]);(0,v.useEffect)(()=>{if(!t){i(null),o(!1),c(null);return}l().catch(()=>void 0)},[t,l]);let u=(0,v.useMemo)(()=>({overview:r,loading:a,error:s,refresh:l,setOverview:i}),[r,a,s,l]);return(0,U.jsx)(gH.Provider,{value:u,children:e})}function vH(){let e=(0,v.useContext)(gH);if(!e)throw Error(`useOverview must be used within OverviewProvider`);return e}var yH=`cli2api_theme`,bH=(0,v.createContext)(null);function xH(){let e=localStorage.getItem(yH);return e===`light`||e===`dark`?e:window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`}function SH({children:e}){let[t,n]=(0,v.useState)(xH);(0,v.useEffect)(()=>{let e=document.documentElement;e.dataset.theme=t,e.classList.toggle(`dark`,t===`dark`),e.classList.toggle(`light`,t===`light`),e.style.colorScheme=t;let n=t===`dark`?`#060607`:`#F5F5F5`;document.querySelectorAll(`meta[name="theme-color"]`).forEach(e=>{e.setAttribute(`content`,n)})},[t]);let r=(0,v.useMemo)(()=>({theme:t,setTheme:e=>{localStorage.setItem(yH,e),n(e)},toggleTheme:()=>{n(e=>{let t=e===`dark`?`light`:`dark`;return localStorage.setItem(yH,t),t})}}),[t]);return(0,U.jsx)(bH.Provider,{value:r,children:e})}function CH(){let e=(0,v.useContext)(bH);if(!e)throw Error(`useTheme must be used within ThemeProvider`);return e}function wH({title:e,desc:t,onMenu:n}){let{lang:r,setLang:i,t:a}=BV(),{loading:o,refresh:s,overview:c}=vH(),{signOut:l}=WV(),{theme:u,toggleTheme:d}=CH(),f=ct(),p=!!c?.worker?.ok;return(0,U.jsx)(`header`,{className:`relative z-20 shrink-0 border-b border-separator bg-background`,children:(0,U.jsxs)(`div`,{className:`mx-auto flex w-full max-w-[1480px] items-center gap-4 px-4 py-3 sm:px-6 lg:px-8`,children:[(0,U.jsx)(Z,{isIconOnly:!0,size:`sm`,variant:`ghost`,className:`lg:hidden`,onPress:n,"aria-label":a(`menu`),children:(0,U.jsx)(Mi,{size:17})}),(0,U.jsx)(`div`,{className:`min-w-0 flex-1`,children:(0,U.jsxs)(`div`,{className:`flex min-w-0 items-baseline gap-3`,children:[(0,U.jsx)(`span`,{className:`status-dot translate-y-[-1px]`,"data-state":p?`ok`:`danger`}),(0,U.jsx)(`h1`,{className:`truncate text-2xl font-semibold tracking-[-0.035em]`,children:e}),(0,U.jsx)(`p`,{className:`hidden truncate text-sm text-muted xl:block`,children:t})]})}),(0,U.jsxs)(yF,{isAttached:!0,children:[(0,U.jsxs)(GF,{children:[(0,U.jsx)(GF.Trigger,{children:(0,U.jsx)(Z,{isIconOnly:!0,size:`sm`,variant:`ghost`,isPending:o,onPress:()=>void s().catch(()=>void 0),"aria-label":a(`refresh`),children:(0,U.jsx)(Mr,{size:15})})}),(0,U.jsx)(GF.Content,{children:a(`refresh`)})]}),(0,U.jsxs)(GF,{children:[(0,U.jsx)(GF.Trigger,{children:(0,U.jsx)(Z,{isIconOnly:!0,size:`sm`,variant:`ghost`,onPress:()=>i(r===`zh`?`en`:`zh`),"aria-label":r===`zh`?`English`:`中文`,children:(0,U.jsx)(wi,{size:15})})}),(0,U.jsx)(GF.Content,{children:r===`zh`?`English`:`中文`})]}),(0,U.jsxs)(GF,{children:[(0,U.jsx)(GF.Trigger,{children:(0,U.jsx)(Z,{isIconOnly:!0,size:`sm`,variant:`ghost`,onPress:d,"aria-label":u===`dark`?`Light mode`:`Dark mode`,children:u===`dark`?(0,U.jsx)(ia,{size:15}):(0,U.jsx)(Ri,{size:15})})}),(0,U.jsx)(GF.Content,{children:u===`dark`?`Light mode`:`Dark mode`})]}),(0,U.jsxs)(GF,{children:[(0,U.jsx)(GF.Trigger,{children:(0,U.jsx)(Z,{isIconOnly:!0,size:`sm`,variant:`ghost`,onPress:()=>{l(),f(`/login`,{replace:!0})},"aria-label":a(`signOut`),children:(0,U.jsx)(ea,{size:15})})}),(0,U.jsx)(GF.Content,{children:a(`signOut`)})]})]})]})})}var TH=`M 91.413 45.646 A 32.000 32.000 0 1 0 91.413 82.354`,EH=`M 96.889 68.454 A 32.000 32.000 0 0 1 91.413 82.354`;function DH({size:e=24,className:t=``,loading:n=!1}){return(0,U.jsxs)(`svg`,{width:e,height:e,viewBox:`22 22 84 84`,fill:`none`,"aria-hidden":`true`,className:`brand-mark block shrink-0 text-foreground ${n?`brand-mark--loading`:``} ${t}`.trim(),children:[(0,U.jsx)(`path`,{className:`brand-mark__rail`,pathLength:100,d:TH,stroke:`currentColor`,strokeWidth:11.4,strokeLinecap:`round`,strokeLinejoin:`round`}),(0,U.jsx)(`path`,{className:`brand-mark__tip`,pathLength:100,d:EH,stroke:`#22D3EE`,strokeWidth:11.4,strokeLinecap:`round`,strokeLinejoin:`round`}),n?(0,U.jsx)(`path`,{className:`brand-mark__scan`,pathLength:100,d:TH,stroke:`#22D3EE`,strokeWidth:11.4,strokeLinecap:`round`,strokeLinejoin:`round`}):null]})}function $({className:e}){return(0,U.jsx)(RN,{className:`rounded-lg ${e}`})}function OH({rows:e=5}){return(0,U.jsx)(`div`,{className:`divide-y divide-separator`,children:Array.from({length:e},(e,t)=>(0,U.jsxs)(`div`,{className:`space-y-2 px-5 py-3`,children:[(0,U.jsxs)(`div`,{className:`flex items-center justify-between gap-3`,children:[(0,U.jsx)($,{className:`h-4 w-28`}),(0,U.jsx)($,{className:`h-3 w-12`})]}),(0,U.jsx)($,{className:`h-1.5 w-full`})]},t))})}function kH(){return(0,U.jsx)($,{className:`h-72 w-full`})}function AH({rows:e=6}){return(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`div`,{className:`divide-y divide-separator lg:hidden`,children:Array.from({length:e},(e,t)=>(0,U.jsxs)(`div`,{className:`space-y-3 px-4 py-4`,children:[(0,U.jsxs)(`div`,{className:`flex items-start justify-between gap-3`,children:[(0,U.jsxs)(`div`,{className:`space-y-2`,children:[(0,U.jsx)($,{className:`h-4 w-32`}),(0,U.jsx)($,{className:`h-3 w-40`})]}),(0,U.jsx)($,{className:`h-5 w-14`})]}),(0,U.jsx)($,{className:`h-3 w-24`}),(0,U.jsx)($,{className:`h-8 w-40`}),(0,U.jsx)($,{className:`h-8 w-24`})]},`card-${t}`))}),(0,U.jsxs)(`div`,{className:`hidden lg:block`,children:[(0,U.jsxs)(`div`,{className:`grid grid-cols-7 gap-4 border-b border-separator px-5 py-4`,children:[(0,U.jsx)($,{className:`h-3 w-20`}),(0,U.jsx)($,{className:`h-3 w-24`}),(0,U.jsx)($,{className:`h-3 w-24`}),(0,U.jsx)($,{className:`h-3 w-20`}),(0,U.jsx)($,{className:`h-3 w-24`}),(0,U.jsx)($,{className:`h-3 w-16`}),(0,U.jsx)($,{className:`h-3 w-16`})]}),Array.from({length:e},(e,t)=>(0,U.jsxs)(`div`,{className:`grid grid-cols-7 items-center gap-4 border-b border-separator px-5 py-4 last:border-0`,children:[(0,U.jsx)($,{className:`h-5 w-32`}),(0,U.jsx)($,{className:`h-4 w-28`}),(0,U.jsx)($,{className:`h-4 w-20`}),(0,U.jsx)($,{className:`h-4 w-36`}),(0,U.jsx)($,{className:`h-8 w-40`}),(0,U.jsx)($,{className:`h-5 w-14`}),(0,U.jsx)($,{className:`h-8 w-24`})]},`row-${t}`))]})]})}function jH(){return(0,U.jsxs)(`div`,{className:`space-y-6`,"aria-label":`Loading overview`,children:[(0,U.jsxs)(`section`,{className:`flex items-end justify-between gap-4 border-b border-separator pb-4`,children:[(0,U.jsxs)(`div`,{className:`space-y-3`,children:[(0,U.jsx)($,{className:`h-8 w-40`}),(0,U.jsx)($,{className:`h-4 w-80 max-w-[70vw]`})]}),(0,U.jsxs)(`div`,{className:`hidden space-y-2 sm:block`,children:[(0,U.jsx)($,{className:`ml-auto h-8 w-40`}),(0,U.jsx)($,{className:`ml-auto h-4 w-20`})]})]}),(0,U.jsx)(`section`,{className:`grid overflow-hidden rounded-3xl border border-border bg-surface sm:grid-cols-2 xl:grid-cols-4`,children:Array.from({length:4},(e,t)=>(0,U.jsxs)(`div`,{className:`min-h-32 space-y-5 border-separator p-5 first:border-0 sm:border-l sm:first:border-0`,children:[(0,U.jsx)($,{className:`h-4 w-24`}),(0,U.jsx)($,{className:`h-8 w-28`}),(0,U.jsx)($,{className:`h-3 w-36`})]},t))}),(0,U.jsxs)(`section`,{className:`overflow-hidden rounded-3xl border border-border bg-surface p-5`,children:[(0,U.jsx)($,{className:`h-5 w-24`}),(0,U.jsx)($,{className:`mt-2 h-3 w-48`}),(0,U.jsx)($,{className:`mt-6 h-72 w-full`}),(0,U.jsx)(`div`,{className:`mt-5 grid grid-cols-4 gap-3`,children:Array.from({length:4},(e,t)=>(0,U.jsx)($,{className:`h-10 w-full`},t))})]}),(0,U.jsx)(`section`,{className:`grid gap-5 xl:grid-cols-2`,children:Array.from({length:2},(e,t)=>(0,U.jsxs)(`div`,{className:`overflow-hidden rounded-3xl border border-border bg-surface`,children:[(0,U.jsxs)(`div`,{className:`border-b border-separator px-5 py-4`,children:[(0,U.jsx)($,{className:`h-5 w-28`}),(0,U.jsx)($,{className:`mt-2 h-3 w-40`})]}),(0,U.jsx)(OH,{})]},t))}),(0,U.jsx)(`section`,{className:`grid gap-5 xl:grid-cols-2 2xl:grid-cols-3`,children:Array.from({length:3},(e,t)=>(0,U.jsxs)(`div`,{className:`overflow-hidden rounded-3xl border border-border bg-surface`,children:[(0,U.jsx)(`div`,{className:`border-b border-separator px-5 py-4`,children:(0,U.jsx)($,{className:`h-5 w-28`})}),(0,U.jsx)(OH,{rows:4})]},t))})]})}function MH(){return(0,U.jsxs)(`article`,{className:`min-h-[280px] overflow-hidden rounded-3xl border border-border bg-surface`,children:[(0,U.jsx)(`div`,{className:`space-y-2 px-3 pt-2.5 pb-1.5`,children:(0,U.jsxs)(`div`,{className:`flex items-start justify-between gap-2.5`,children:[(0,U.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2.5`,children:[(0,U.jsx)($,{className:`size-8 rounded-xl`}),(0,U.jsxs)(`div`,{className:`min-w-0 space-y-1.5`,children:[(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,U.jsx)($,{className:`h-4 w-28`}),(0,U.jsx)($,{className:`h-4 w-16`})]}),(0,U.jsx)($,{className:`h-3 w-40`})]})]}),(0,U.jsx)($,{className:`h-5 w-14`})]})}),(0,U.jsxs)(`div`,{className:`space-y-2 px-3 pb-2`,children:[(0,U.jsxs)(`div`,{className:`rounded-2xl border border-border bg-surface-secondary/45 p-2`,children:[(0,U.jsx)($,{className:`h-3 w-20`}),(0,U.jsx)($,{className:`mt-2 h-2 w-full`}),(0,U.jsxs)(`div`,{className:`mt-2 grid grid-cols-3 gap-2 border-t border-separator pt-2`,children:[(0,U.jsx)($,{className:`h-7 w-full`}),(0,U.jsx)($,{className:`h-7 w-full`}),(0,U.jsx)($,{className:`h-7 w-full`})]})]}),(0,U.jsxs)(`div`,{className:`min-h-[52px] rounded-2xl border border-border bg-surface-secondary/25 p-2`,children:[(0,U.jsx)($,{className:`h-3 w-20`}),(0,U.jsx)($,{className:`mt-2 h-1.5 w-full rounded-[1px]`}),(0,U.jsx)($,{className:`mt-2 h-3 w-36`})]})]}),(0,U.jsxs)(`div`,{className:`flex flex-wrap items-center gap-1.5 border-t border-separator px-3 py-2`,children:[(0,U.jsx)($,{className:`size-8`}),(0,U.jsx)($,{className:`size-8`}),(0,U.jsx)($,{className:`size-8`}),(0,U.jsx)($,{className:`size-8`}),(0,U.jsx)($,{className:`ml-auto h-[18px] w-[74px]`})]})]})}function NH({count:e=5}){return(0,U.jsx)(`section`,{className:`grid gap-2.5 lg:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-4`,"aria-label":`Loading accounts`,children:Array.from({length:e},(e,t)=>(0,U.jsx)(MH,{},t))})}function PH(){return(0,U.jsxs)(`div`,{className:`space-y-4`,"aria-label":`Loading accounts`,children:[(0,U.jsxs)(`section`,{className:`flex items-end justify-between gap-4 border-b border-separator pb-3`,children:[(0,U.jsxs)(`div`,{className:`flex flex-wrap gap-5`,children:[(0,U.jsx)($,{className:`h-4 w-20`}),(0,U.jsx)($,{className:`h-4 w-24`}),(0,U.jsx)($,{className:`h-4 w-24`}),(0,U.jsx)($,{className:`h-4 w-20`})]}),(0,U.jsx)($,{className:`h-8 w-28`})]}),(0,U.jsxs)(`section`,{className:`flex items-center justify-between gap-4`,children:[(0,U.jsx)($,{className:`h-8 w-full max-w-md`}),(0,U.jsx)($,{className:`h-8 w-72`})]}),(0,U.jsx)(NH,{})]})}function FH(){return(0,U.jsxs)(`div`,{className:`space-y-6`,"aria-label":`Loading models`,children:[(0,U.jsxs)(`section`,{className:`grid gap-5 border-b border-separator pb-6 lg:grid-cols-[minmax(0,1fr)_auto] lg:items-end`,children:[(0,U.jsxs)(`div`,{className:`space-y-3`,children:[(0,U.jsx)($,{className:`h-3 w-24`}),(0,U.jsx)($,{className:`h-8 w-44`}),(0,U.jsx)($,{className:`h-4 w-56`})]}),(0,U.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2 sm:flex-row`,children:[(0,U.jsx)($,{className:`h-8 w-full sm:w-56`}),(0,U.jsx)($,{className:`h-8 w-24`})]})]}),(0,U.jsx)(`div`,{className:`overflow-hidden rounded-3xl border border-border bg-surface`,children:(0,U.jsx)(AH,{})})]})}function IH(){return(0,U.jsxs)(`div`,{className:`space-y-6`,"aria-label":`Loading API keys`,children:[(0,U.jsxs)(`section`,{className:`flex items-end justify-between gap-4 border-b border-separator pb-4`,children:[(0,U.jsxs)(`div`,{className:`space-y-3`,children:[(0,U.jsx)($,{className:`h-8 w-40`}),(0,U.jsx)($,{className:`h-4 w-80 max-w-[70vw]`})]}),(0,U.jsx)($,{className:`h-8 w-28`})]}),(0,U.jsx)(`section`,{className:`grid gap-2.5 lg:grid-cols-2 xl:grid-cols-3`,children:Array.from({length:3},(e,t)=>(0,U.jsxs)(`div`,{className:`overflow-hidden rounded-3xl border border-border bg-surface p-3`,children:[(0,U.jsx)($,{className:`h-4 w-28`}),(0,U.jsx)($,{className:`mt-2 h-3 w-40`}),(0,U.jsx)($,{className:`mt-4 h-6 w-24`}),(0,U.jsx)($,{className:`mt-6 h-8 w-full`})]},t))})]})}function LH(){return(0,U.jsxs)(`div`,{className:`space-y-6`,"aria-label":`Loading access settings`,children:[(0,U.jsxs)(`section`,{className:`grid gap-5 border-b border-separator pb-6 lg:grid-cols-[minmax(0,1fr)_auto] lg:items-end`,children:[(0,U.jsxs)(`div`,{className:`space-y-3`,children:[(0,U.jsx)($,{className:`h-3 w-32`}),(0,U.jsx)($,{className:`h-8 w-44`}),(0,U.jsx)($,{className:`h-4 w-80 max-w-[70vw]`})]}),(0,U.jsx)($,{className:`h-7 w-24`})]}),(0,U.jsxs)(`section`,{className:`grid overflow-hidden rounded-3xl border border-border bg-surface sm:grid-cols-3`,children:[(0,U.jsxs)(`div`,{className:`space-y-3 border-b border-separator p-5 sm:col-span-2 sm:border-r sm:border-b-0`,children:[(0,U.jsx)($,{className:`h-3 w-20`}),(0,U.jsx)($,{className:`h-4 w-72 max-w-full`})]}),(0,U.jsxs)(`div`,{className:`grid grid-cols-2 gap-4 p-5 sm:grid-cols-1`,children:[(0,U.jsx)($,{className:`h-4 w-24`}),(0,U.jsx)($,{className:`h-4 w-28`})]})]}),(0,U.jsxs)(`section`,{className:`grid min-h-[620px] overflow-hidden rounded-3xl border border-border bg-surface xl:grid-cols-[minmax(440px,.92fr)_minmax(0,1.08fr)]`,children:[(0,U.jsxs)(`div`,{className:`space-y-6 border-b border-separator p-7 xl:border-r xl:border-b-0`,children:[(0,U.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,U.jsx)($,{className:`size-9`}),(0,U.jsxs)(`div`,{className:`space-y-2`,children:[(0,U.jsx)($,{className:`h-4 w-32`}),(0,U.jsx)($,{className:`h-3 w-28`})]})]}),(0,U.jsxs)(`div`,{className:`grid gap-5 sm:grid-cols-2`,children:[(0,U.jsxs)(`div`,{className:`space-y-2`,children:[(0,U.jsx)($,{className:`h-4 w-16`}),(0,U.jsx)($,{className:`h-10 w-full`})]}),(0,U.jsxs)(`div`,{className:`space-y-2`,children:[(0,U.jsx)($,{className:`h-4 w-16`}),(0,U.jsx)($,{className:`h-10 w-full`})]})]}),(0,U.jsx)($,{className:`h-56 w-full`}),(0,U.jsx)($,{className:`h-12 w-full`})]}),(0,U.jsxs)(`div`,{className:`space-y-4 bg-surface-secondary p-6`,children:[(0,U.jsxs)(`div`,{className:`flex justify-between`,children:[(0,U.jsxs)(`div`,{className:`space-y-2`,children:[(0,U.jsx)($,{className:`h-4 w-32`}),(0,U.jsx)($,{className:`h-3 w-44`})]}),(0,U.jsx)($,{className:`h-6 w-20`})]}),(0,U.jsx)($,{className:`mt-10 h-3 w-32`}),(0,U.jsx)($,{className:`h-3 w-full`}),(0,U.jsx)($,{className:`h-3 w-[86%]`})]})]}),(0,U.jsxs)(`section`,{className:`overflow-hidden rounded-3xl border border-border bg-surface p-5`,children:[(0,U.jsx)($,{className:`h-4 w-36`}),(0,U.jsx)($,{className:`mt-5 h-24 w-full`})]})]})}function RH(){return(0,U.jsxs)(`div`,{"aria-label":`Loading logs`,children:[(0,U.jsx)(`div`,{className:`hidden grid-cols-9 gap-4 border-b border-separator px-5 py-3 md:grid`,children:Array.from({length:9},(e,t)=>(0,U.jsx)($,{className:`h-3 w-16`},t))}),Array.from({length:8},(e,t)=>(0,U.jsxs)(`div`,{className:`grid grid-cols-2 items-center gap-4 border-b border-separator px-5 py-3.5 last:border-0 md:grid-cols-9`,children:[(0,U.jsx)($,{className:`h-4 w-28`}),(0,U.jsx)($,{className:`h-4 w-24`}),(0,U.jsx)($,{className:`hidden h-4 w-20 md:block`}),(0,U.jsx)($,{className:`hidden h-4 w-16 md:block`}),(0,U.jsx)($,{className:`hidden h-4 w-16 md:block`}),(0,U.jsx)($,{className:`hidden h-4 w-14 md:block`}),(0,U.jsx)($,{className:`hidden h-4 w-12 md:block`}),(0,U.jsx)($,{className:`hidden h-4 w-12 md:block`}),(0,U.jsx)($,{className:`hidden h-4 w-16 md:block`})]},t))]})}function zH(){return(0,U.jsx)(`div`,{className:`divide-y divide-separator`,"aria-label":`Loading logs`,children:Array.from({length:8},(e,t)=>(0,U.jsxs)(`div`,{className:`grid gap-2 px-5 py-3 sm:grid-cols-[150px_72px_minmax(0,1fr)] sm:items-center`,children:[(0,U.jsx)($,{className:`h-3 w-24`}),(0,U.jsx)($,{className:`h-3 w-12`}),(0,U.jsx)($,{className:`h-4 w-full`})]},t))})}function BH(){return(0,U.jsxs)(`div`,{className:`space-y-6`,"aria-label":`Loading logs`,children:[(0,U.jsxs)(`section`,{className:`flex items-end justify-between gap-4 border-b border-separator pb-4`,children:[(0,U.jsxs)(`div`,{className:`space-y-3`,children:[(0,U.jsx)($,{className:`h-8 w-28`}),(0,U.jsx)($,{className:`h-4 w-72 max-w-[70vw]`})]}),(0,U.jsx)($,{className:`h-8 w-24`})]}),(0,U.jsx)($,{className:`h-9 w-full max-w-md`}),(0,U.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-3`,children:[(0,U.jsxs)(`div`,{className:`flex gap-3`,children:[(0,U.jsx)($,{className:`h-8 w-72`}),(0,U.jsx)($,{className:`h-8 w-56`})]}),(0,U.jsx)($,{className:`h-4 w-20`})]}),(0,U.jsx)(`div`,{className:`overflow-hidden rounded-3xl border border-border bg-surface`,children:(0,U.jsx)(RH,{})})]})}function VH(){return(0,U.jsxs)(`div`,{className:`grid gap-5 xl:grid-cols-[minmax(0,1.18fr)_minmax(360px,.82fr)]`,children:[(0,U.jsxs)(`div`,{className:`overflow-hidden rounded-3xl border border-border bg-surface p-5`,children:[(0,U.jsx)($,{className:`h-5 w-28`}),(0,U.jsx)($,{className:`mt-2 h-3 w-48`}),(0,U.jsx)($,{className:`mt-6 h-24 w-full`}),(0,U.jsx)($,{className:`mt-5 h-48 w-full`})]}),(0,U.jsxs)(`div`,{className:`space-y-5`,children:[(0,U.jsxs)(`div`,{className:`overflow-hidden rounded-3xl border border-border bg-surface p-5`,children:[(0,U.jsx)($,{className:`h-5 w-32`}),(0,U.jsx)($,{className:`mt-4 h-10 w-full`}),(0,U.jsx)($,{className:`mt-3 h-3 w-40`})]}),(0,U.jsxs)(`div`,{className:`overflow-hidden rounded-3xl border border-border bg-surface p-5`,children:[(0,U.jsx)($,{className:`h-5 w-28`}),(0,U.jsx)($,{className:`mt-4 h-10 w-full`})]})]})]})}function HH(){return(0,U.jsxs)(`div`,{className:`space-y-6`,"aria-label":`Loading system`,children:[(0,U.jsxs)(`section`,{className:`flex items-end justify-between gap-4 border-b border-separator pb-4`,children:[(0,U.jsxs)(`div`,{className:`space-y-3`,children:[(0,U.jsx)($,{className:`h-8 w-40`}),(0,U.jsx)($,{className:`h-4 w-80 max-w-[70vw]`})]}),(0,U.jsx)($,{className:`h-8 w-28`})]}),(0,U.jsx)(VH,{})]})}function UH(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function WH(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var GH={autoSleep:120,force3D:`auto`,nullTargetWarn:1,units:{lineHeight:``}},KH={duration:.5,overwrite:!1,delay:0},qH,JH,YH,XH=1e8,ZH=1/XH,QH=Math.PI*2,$H=QH/4,eU=0,tU=Math.sqrt,nU=Math.cos,rU=Math.sin,iU=function(e){return typeof e==`string`},aU=function(e){return typeof e==`function`},oU=function(e){return typeof e==`number`},sU=function(e){return e===void 0},cU=function(e){return typeof e==`object`},lU=function(e){return e!==!1},uU=function(){return typeof window<`u`},dU=function(e){return aU(e)||iU(e)},fU=typeof ArrayBuffer==`function`&&ArrayBuffer.isView||function(){},pU=Array.isArray,mU=/random\([^)]+\)/g,hU=/,\s*/g,gU=/(?:-?\.?\d|\.)+/gi,_U=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,vU=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,yU=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,bU=/[+-]=-?[.\d]+/,xU=/[^,'"\[\]\s]+/gi,SU=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,CU,wU,TU,EU,DU={},OU={},kU,AU=function(e){return(OU=cW(e,DU))&&DK},jU=function(e,t){return console.warn(`Invalid property`,e,`set to`,t,`Missing plugin? gsap.registerPlugin()`)},MU=function(e,t){return!t&&console.warn(e)},NU=function(e,t){return e&&(DU[e]=t)&&OU&&(OU[e]=t)||DU},PU=function(){return 0},FU={suppressEvents:!0,isStart:!0,kill:!1},IU={suppressEvents:!0,kill:!1},LU={suppressEvents:!0},RU={},zU=[],BU={},VU,HU={},UU={},WU=30,GU=[],KU=``,qU=function(e){var t=e[0],n,r;if(cU(t)||aU(t)||(e=[e]),!(n=(t._gsap||{}).harness)){for(r=GU.length;r--&&!GU[r].targetTest(t););n=GU[r]}for(r=e.length;r--;)e[r]&&(e[r]._gsap||(e[r]._gsap=new LG(e[r],n)))||e.splice(r,1);return e},JU=function(e){return e._gsap||qU(GW(e))[0]._gsap},YU=function(e,t,n){return(n=e[t])&&aU(n)?e[t]():sU(n)&&e.getAttribute&&e.getAttribute(t)||n},XU=function(e,t){return(e=e.split(`,`)).forEach(t)||e},ZU=function(e){return Math.round(e*1e5)/1e5||0},QU=function(e){return Math.round(e*1e7)/1e7||0},$U=function(e,t){var n=t.charAt(0),r=parseFloat(t.substr(2));return e=parseFloat(e),n===`+`?e+r:n===`-`?e-r:n===`*`?e*r:e/r},eW=function(e,t){for(var n=t.length,r=0;e.indexOf(t[r])<0&&++ro;)a=a._prev;return a?(t._next=a._next,a._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[r]=t,t._prev=a,t.parent=t._dp=e,t},mW=function(e,t,n,r){n===void 0&&(n=`_first`),r===void 0&&(r=`_last`);var i=t._prev,a=t._next;i?i._next=a:e[n]===t&&(e[n]=a),a?a._prev=i:e[r]===t&&(e[r]=i),t._next=t._prev=t.parent=null},hW=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},gW=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},_W=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},vW=function(e,t,n,r){return e._startAt&&(JH?e._startAt.revert(IU):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},yW=function e(t){return!t||t._ts&&e(t.parent)},bW=function(e){return e._repeat?xW(e._tTime,e=e.duration()+e._rDelay)*e:0},xW=function(e,t){var n=Math.floor(e=QU(e/t));return e&&n===e?n-1:n},SW=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},CW=function(e){return e._end=QU(e._start+(e._tDur/Math.abs(e._ts||e._rts||ZH)||0))},wW=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=QU(n._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),CW(e),n._dirty||gW(n,e)),e},TW=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._startZH)&&t.render(n,!0)),gW(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-ZH}},EW=function(e,t,n,r){return t.parent&&hW(t),t._start=QU((oU(n)?n:n||e!==CU?IW(e,n,t):e._time)+t._delay),t._end=QU(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),pW(e,t,`_first`,`_last`,e._sort?`_start`:0),AW(t)||(e._recent=t),r||TW(e,t),e._ts<0&&wW(e,e._tTime),e},DW=function(e,t){return(DU.ScrollTrigger||jU(`scrollTrigger`,t))&&DU.ScrollTrigger.create(t,e)},OW=function(e,t,n,r,i){if(KG(e,t,i),!e._initted)return 1;if(!n&&e._pt&&!JH&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&VU!==CG.frame)return zU.push(e),e._lazy=[i,r],1},kW=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||e(n))},AW=function(e){var t=e.data;return t===`isFromStart`||t===`isStart`},jW=function(e,t,n,r){var i=e.ratio,a=t<0||!t&&(!e._start&&kW(e)&&!(!e._initted&&AW(e))||(e._ts<0||e._dp._ts<0)&&!AW(e))?0:1,o=e._rDelay,s=0,c,l,u;if(o&&e._repeat&&(s=zW(0,e._tDur,t),l=xW(s,o),e._yoyo&&l&1&&(a=1-a),l!==xW(e._tTime,o)&&(i=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==i||JH||r||e._zTime===ZH||!t&&e._zTime){if(!e._initted&&OW(e,t,r,n,s))return;for(u=e._zTime,e._zTime=t||(n?ZH:0),n||=t&&!u,e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=s,c=e._pt;c;)c.r(a,c.d),c=c._next;t<0&&vW(e,t,n,!0),e._onUpdate&&!n&&cG(e,`onUpdate`),s&&e._repeat&&!n&&e.parent&&cG(e,`onRepeat`),(t>=e._tDur||t<0)&&e.ratio===a&&(a&&hW(e,1),!n&&!JH&&(cG(e,a?`onComplete`:`onReverseComplete`,!0),e._prom&&e._prom()))}else e._zTime||=t},MW=function(e,t,n){var r;if(n>t)for(r=e._first;r&&r._start<=n;){if(r.data===`isPause`&&r._start>t)return r;r=r._next}else for(r=e._last;r&&r._start>=n;){if(r.data===`isPause`&&r._start0&&!r&&wW(e,e._tTime=e._tDur*o),e.parent&&CW(e),n||gW(e.parent,e),e},PW=function(e){return e instanceof zG?gW(e):NW(e,e._dur)},FW={_start:0,endTime:PU,totalDuration:PU},IW=function e(t,n,r){var i=t.labels,a=t._recent||FW,o=t.duration()>=XH?a.endTime(!1):t._dur,s,c,l;return iU(n)&&(isNaN(n)||n in i)?(c=n.charAt(0),l=n.substr(-1)===`%`,s=n.indexOf(`=`),c===`<`||c===`>`?(s>=0&&(n=n.replace(/=/,``)),(c===`<`?a._start:a.endTime(a._repeat>=0))+(parseFloat(n.substr(1))||0)*(l?(s<0?a:r).totalDuration()/100:1)):s<0?(n in i||(i[n]=o),i[n]):(c=parseFloat(n.charAt(s-1)+n.substr(s+1)),l&&r&&(c=c/100*(pU(r)?r[0]:r).totalDuration()),s>1?e(t,n.substr(0,s-1),r)+c:o+c)):n==null?o:+n},LW=function(e,t,n){var r=oU(t[1]),i=(r?2:1)+(e<2?0:1),a=t[i],o,s;if(r&&(a.duration=t[1]),a.parent=n,e){for(o=a,s=n;s&&!(`immediateRender`in o);)o=s.vars.defaults||{},s=lU(s.vars.inherit)&&s.parent;a.immediateRender=lU(o.immediateRender),e<2?a.runBackwards=1:a.startAt=t[i-1]}return new $G(t[0],a,t[i+1])},RW=function(e,t){return e||e===0?t(e):t},zW=function(e,t,n){return nt?t:n},BW=function(e,t){return!iU(e)||!(t=SU.exec(e))?``:t[1]},VW=function(e,t,n){return RW(n,function(n){return zW(e,t,n)})},HW=[].slice,UW=function(e,t){return e&&cU(e)&&`length`in e&&(!t&&!e.length||e.length-1 in e&&cU(e[0]))&&!e.nodeType&&e!==wU},WW=function(e,t,n){return n===void 0&&(n=[]),e.forEach(function(e){var r;return iU(e)&&!t||UW(e,1)?(r=n).push.apply(r,GW(e)):n.push(e)})||n},GW=function(e,t,n){return YH&&!t&&YH.selector?YH.selector(e):iU(e)&&!n&&(TU||!wG())?HW.call((t||EU).querySelectorAll(e),0):pU(e)?WW(e,n):UW(e)?HW.call(e,0):e?[e]:[]},KW=function(e){return e=GW(e)[0]||MU(`Invalid scope`)||{},function(t){var n=e.current||e.nativeElement||e;return GW(t,n.querySelectorAll?n:n===e?MU(`Invalid scope`)||EU.createElement(`div`):e)}},qW=function(e){return e.sort(function(){return .5-Math.random()})},JW=function(e){if(aU(e))return e;var t=cU(e)?e:{each:e},n=MG(t.ease),r=t.from||0,i=parseFloat(t.base)||0,a={},o=r>0&&r<1,s=isNaN(r)||o,c=t.axis,l=r,u=r;return iU(r)?l=u={center:.5,edges:.5,end:1}[r]||0:!o&&s&&(l=r[0],u=r[1]),function(e,o,d){var f=(d||t).length,p=a[f],m,h,g,_,v,y,b,x,S;if(!p){if(S=t.grid===`auto`?0:(t.grid||[1,XH])[1],!S){for(b=-XH;b<(b=d[S++].getBoundingClientRect().left)&&Sb&&(b=v),vf?f-1:c?c===`y`?f/S:S:Math.max(S,f/S))||0)*(r===`edges`?-1:1),p.b=f<0?i-f:i,p.u=BW(t.amount||t.each)||0,n=n&&f<0?jG(n):n}return f=(p[e]-p.min)/p.max||0,QU(p.b+(n?n(f):f)*p.v)+p.u}},YW=function(e){var t=10**((e+``).split(`.`)[1]||``).length;return function(n){var r=QU(Math.round(parseFloat(n)/e)*e*t);return(r-r%1)/t+(oU(n)?0:BW(n))}},XW=function(e,t){var n=pU(e),r,i;return!n&&cU(e)&&(r=n=e.radius||XH,e.values?(e=GW(e.values),(i=!oU(e[0]))&&(r*=r)):e=YW(e.increment)),RW(t,n?aU(e)?function(t){return i=e(t),Math.abs(i-t)<=r?i:t}:function(t){for(var n=parseFloat(i?t.x:t),a=parseFloat(i?t.y:0),o=XH,s=0,c=e.length,l,u;c--;)i?(l=e[c].x-n,u=e[c].y-a,l=l*l+u*u):l=Math.abs(e[c]-n),li?a-e:e)})},iG=function(e){return e.replace(mU,function(e){var t=e.indexOf(`[`)+1,n=e.substring(t||7,t?e.indexOf(`]`):e.length-1).split(hU);return ZW(t?n:+n[0],t?0:+n[1],+n[2]||1e-5)})},aG=function(e,t,n,r,i){var a=t-e,o=r-n;return RW(i,function(t){return n+((t-e)/a*o||0)})},oG=function e(t,n,r,i){var a=isNaN(t+n)?0:function(e){return(1-e)*t+e*n};if(!a){var o=iU(t),s={},c,l,u,d,f;if(r===!0&&(i=1)&&(r=null),o)t={p:t},n={p:n};else if(pU(t)&&!pU(n)){for(u=[],d=t.length,f=d-2,l=1;l(o=Math.abs(o))&&(s=a,i=o);return s},cG=function(e,t,n){var r=e.vars,i=r[t],a=YH,o=e._ctx,s,c,l;if(i)return s=r[t+`Params`],c=r.callbackScope||e,n&&zU.length&&tW(),o&&(YH=o),l=s?i.apply(c,s):i.call(c),YH=a,l},lG=function(e){return hW(e),e.scrollTrigger&&e.scrollTrigger.kill(!!JH),e.progress()<1&&cG(e,`onInterrupt`),e},uG,dG=[],fG=function(e){if(e){if(e=!e.name&&e.default||e,uU()||e.headless){var t=e.name,n=aU(e),r=t&&!n&&e.init?function(){this._props=[]}:e,i={init:PU,render:cK,add:VG,kill:uK,modifier:lK,rawVars:0},a={targetTest:0,get:0,getSetter:iK,aliases:{},register:0};if(wG(),e!==r){if(HU[t])return;oW(r,oW(uW(e,i),a)),cW(r.prototype,cW(i,uW(e,a))),HU[r.prop=t]=r,e.targetTest&&(GU.push(r),RU[t]=1),t=(t===`css`?`CSS`:t.charAt(0).toUpperCase()+t.substr(1))+`Plugin`}NU(t,r),e.register&&e.register(DK,r,pK)}else dG.push(e)}},pG=255,mG={aqua:[0,pG,pG],lime:[0,pG,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,pG],navy:[0,0,128],white:[pG,pG,pG],olive:[128,128,0],yellow:[pG,pG,0],orange:[pG,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[pG,0,0],pink:[pG,192,203],cyan:[0,pG,pG],transparent:[pG,pG,pG,0]},hG=function(e,t,n){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(n-t)*e*6:e<.5?n:e*3<2?t+(n-t)*(2/3-e)*6:t)*pG+.5|0},gG=function(e,t,n){var r=e?oU(e)?[e>>16,e>>8&pG,e&pG]:0:mG.black,i,a,o,s,c,l,u,d,f,p;if(!r){if(e.substr(-1)===`,`&&(e=e.substr(0,e.length-1)),mG[e])r=mG[e];else if(e.charAt(0)===`#`){if(e.length<6&&(i=e.charAt(1),a=e.charAt(2),o=e.charAt(3),e=`#`+i+i+a+a+o+o+(e.length===5?e.charAt(4)+e.charAt(4):``)),e.length===9)return r=parseInt(e.substr(1,6),16),[r>>16,r>>8&pG,r&pG,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),r=[e>>16,e>>8&pG,e&pG]}else if(e.substr(0,3)===`hsl`){if(r=p=e.match(gU),!t)s=r[0]%360/360,c=r[1]/100,l=r[2]/100,a=l<=.5?l*(c+1):l+c-l*c,i=l*2-a,r.length>3&&(r[3]*=1),r[0]=hG(s+1/3,i,a),r[1]=hG(s,i,a),r[2]=hG(s-1/3,i,a);else if(~e.indexOf(`=`))return r=e.match(_U),n&&r.length<4&&(r[3]=1),r}else r=e.match(gU)||mG.transparent;r=r.map(Number)}return t&&!p&&(i=r[0]/pG,a=r[1]/pG,o=r[2]/pG,u=Math.max(i,a,o),d=Math.min(i,a,o),l=(u+d)/2,u===d?s=c=0:(f=u-d,c=l>.5?f/(2-u-d):f/(u+d),s=u===i?(a-o)/f+(at||h<0)&&(r+=h-n),i+=h,y=i-r,_=y-o,(_>0||g)&&(b=++d.frame,f=y-d.time*1e3,d.time=y/=1e3,o+=_+(_>=a?4:a-_),v=1),g||(c=l(u)),v)for(p=0;p=t&&p--},_listeners:s},d}(),wG=function(){return!SG&&CG.wake()},TG={},EG=/^[\d.\-M][\d.\-,\s]/,DG=/["']/g,OG=function(e){for(var t={},n=e.substr(1,e.length-3).split(`:`),r=n[0],i=1,a=n.length,o,s,c;i1&&n.config?n.config.apply(null,~e.indexOf(`{`)?[OG(t[1])]:kG(e).split(`,`).map(iW)):TG._CE&&EG.test(e)?TG._CE(``,e):n},jG=function(e){return function(t){return 1-e(1-t)}},MG=function(e,t){return e&&(aU(e)?e:TG[e]||AG(e))||t},NG=function(e,t,n,r){n===void 0&&(n=function(e){return 1-t(1-e)}),r===void 0&&(r=function(e){return e<.5?t(e*2)/2:1-t((1-e)*2)/2});var i={easeIn:t,easeOut:n,easeInOut:r},a;return XU(e,function(e){for(var t in TG[e]=DU[e]=i,TG[a=e.toLowerCase()]=n,i)TG[a+(t===`easeIn`?`.in`:t===`easeOut`?`.out`:`.inOut`)]=TG[e+`.`+t]=i[t]}),i},PG=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},FG=function e(t,n,r){var i=n>=1?n:1,a=(r||(t?.3:.45))/(n<1?n:1),o=a/QH*(Math.asin(1/i)||0),s=function(e){return e===1?1:i*2**(-10*e)*rU((e-o)*a)+1},c=t===`out`?s:t===`in`?function(e){return 1-s(1-e)}:PG(s);return a=QH/a,c.config=function(n,r){return e(t,n,r)},c},IG=function e(t,n){n===void 0&&(n=1.70158);var r=function(e){return e?--e*e*((n+1)*e+n)+1:0},i=t===`out`?r:t===`in`?function(e){return 1-r(1-e)}:PG(r);return i.config=function(n){return e(t,n)},i};XU(`Linear,Quad,Cubic,Quart,Quint,Strong`,function(e,t){var n=t<5?t+1:t;NG(e+`,Power`+(n-1),t?function(e){return e**+n}:function(e){return e},function(e){return 1-(1-e)**n},function(e){return e<.5?(e*2)**n/2:1-((1-e)*2)**n/2})}),TG.Linear.easeNone=TG.none=TG.Linear.easeIn,NG(`Elastic`,FG(`in`),FG(`out`),FG()),(function(e,t){var n=1/t,r=2*n,i=2.5*n,a=function(a){return a0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,NW(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(wG(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(wW(this,e),!n._dp||n.parent||TW(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e0||!this._tDur&&!e)&&EW(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&Math.abs(this._zTime)===ZH||!this._initted&&this._dur&&e||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),rW(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+bW(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-e:e)+bW(this),t):this.duration()?Math.min(1,this._time/this._dur):+(this.rawTime()>0)},t.iteration=function(e,t){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,t):this._repeat?xW(this._tTime,n)+1:1},t.timeScale=function(e,t){if(!arguments.length)return this._rts===-ZH?0:this._rts;if(this._rts===e)return this;var n=this.parent&&this._ts?SW(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||e===-ZH?0:this._rts,this.totalTime(zW(-Math.abs(this._delay),this.totalDuration(),n),t!==!1),CW(this),_W(this)},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(wG(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==ZH&&(this._tTime-=ZH)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=QU(e);var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&EW(t,this,this._start-this._delay),this}return this._start},t.endTime=function(e){return this._start+(lU(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?SW(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){e===void 0&&(e=LU);var t=JH;return JH=e,nW(this)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),this.data!==`nested`&&e.kill!==!1&&this.kill(),JH=t,this},t.globalTime=function(e){for(var t=this,n=arguments.length?e:t.rawTime();t;)n=t._start+n/(Math.abs(t._ts)||1),t=t._dp;return!this.parent&&this._sat?this._sat.globalTime(e):n},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,PW(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,PW(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(IW(this,e),lU(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,lU(t)),this._dur||(this._zTime=-ZH),this},t.play=function(e,t){return e!=null&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return e!=null&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return e!=null&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-ZH:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-ZH,this},t.isActive=function(){var e=this.parent||this._dp,t=this._start,n;return!!(!e||this._ts&&this._initted&&e.isActive()&&(n=e.rawTime(!0))>=t&&n1?(t?(r[e]=t,n&&(r[e+`Params`]=n),e===`onUpdate`&&(this._onUpdate=t)):delete r[e],this):r[e]},t.then=function(e){var t=this,n=t._prom;return new Promise(function(r){var i=aU(e)?e:aW,a=function(){var e=t.then;t.then=null,n&&n(),aU(i)&&(i=i(t))&&(i.then||i===t)&&(t.then=e),r(i),t.then=e};t._initted&&t.totalProgress()===1&&t._ts>=0||!t._tTime&&t._ts<0?a():t._prom=a})},t.kill=function(){lG(this)},e}();oW(RG.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-ZH,_prom:0,_ps:!1,_rts:1});var zG=function(e){WH(t,e);function t(t,n){var r;return t===void 0&&(t={}),r=e.call(this,t)||this,r.labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=lU(t.sortChildren),CU&&EW(t.parent||CU,UH(r),n),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&DW(UH(r),t.scrollTrigger),r}var n=t.prototype;return n.to=function(e,t,n){return LW(0,arguments,this),this},n.from=function(e,t,n){return LW(1,arguments,this),this},n.fromTo=function(e,t,n,r){return LW(2,arguments,this),this},n.set=function(e,t,n){return t.duration=0,t.parent=this,dW(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new $G(e,t,IW(this,n),1),this},n.call=function(e,t,n){return EW(this,$G.delayedCall(0,e,t),n)},n.staggerTo=function(e,t,n,r,i,a,o){return n.duration=t,n.stagger=n.stagger||r,n.onComplete=a,n.onCompleteParams=o,n.parent=this,new $G(e,n,IW(this,i)),this},n.staggerFrom=function(e,t,n,r,i,a,o){return n.runBackwards=1,dW(n).immediateRender=lU(n.immediateRender),this.staggerTo(e,t,n,r,i,a,o)},n.staggerFromTo=function(e,t,n,r,i,a,o,s){return r.startAt=n,dW(r).immediateRender=lU(r.immediateRender),this.staggerTo(e,t,r,i,a,o,s)},n.render=function(e,t,n){var r=this._time,i=this._dirty?this.totalDuration():this._tDur,a=this._dur,o=e<=0?0:QU(e),s=this._zTime<0!=e<0&&(this._initted||!a),c,l,u,d,f,p,m,h,g,_,v,y;if(this!==CU&&o>i&&e>=0&&(o=i),o!==this._tTime||n||s){if(r!==this._time&&a&&(o+=this._time-r,e+=this._time-r),c=o,g=this._start,h=this._ts,p=!h,s&&(a||(r=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(v=this._yoyo,f=a+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(f*100+e,t,n);if(c=QU(o%f),o===i?(d=this._repeat,c=a):(_=QU(o/f),d=~~_,d&&d===_&&(c=a,d--),c>a&&(c=a)),_=xW(this._tTime,f),!r&&this._tTime&&_!==d&&this._tTime-_*f-this._dur<=0&&(_=d),v&&d&1&&(c=a-c,y=1),d!==_&&!this._lock){var b=v&&_&1,x=b===(v&&d&1);if(d<_&&(b=!b),r=b?0:o%a?a:o,this._lock=1,this.render(r||(y?0:QU(d*f)),t,!a)._lock=0,this._tTime=o,!t&&this.parent&&cG(this,`onRepeat`),this.vars.repeatRefresh&&!y&&(this.invalidate()._lock=1,_=d),r&&r!==this._time||p!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act||(a=this._dur,i=this._tDur,x&&(this._lock=2,r=b?a:-1e-4,this.render(r,!0),this.vars.repeatRefresh&&!y&&this.invalidate()),this._lock=0,!this._ts&&!p))return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(m=MW(this,QU(r),QU(c)),m&&(o-=c-(c=m._start))),this._tTime=o,this._time=c,this._act=!!h,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,r=0),!r&&o&&a&&!t&&!_&&(cG(this,`onStart`),this._tTime!==o))return this;if(c>=r&&e>=0)for(l=this._first;l;){if(u=l._next,(l._act||c>=l._start)&&l._ts&&m!==l){if(l.parent!==this)return this.render(e,t,n);if(l.render(l._ts>0?(c-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(c-l._start)*l._ts,t,n),c!==this._time||!this._ts&&!p){m=0,u&&(o+=this._zTime=-ZH);break}}l=u}else{l=this._last;for(var S=e<0?e:c;l;){if(u=l._prev,(l._act||S<=l._end)&&l._ts&&m!==l){if(l.parent!==this)return this.render(e,t,n);if(l.render(l._ts>0?(S-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(S-l._start)*l._ts,t,n||JH&&nW(l)),c!==this._time||!this._ts&&!p){m=0,u&&(o+=this._zTime=S?-ZH:ZH);break}}l=u}}if(m&&!t&&(this.pause(),m.render(c>=r?0:-ZH)._zTime=c>=r?1:-1,this._ts))return this._start=g,CW(this),this.render(e,t,n);this._onUpdate&&!t&&cG(this,`onUpdate`,!0),(o===i&&this._tTime>=this.totalDuration()||!o&&r)&&(g===this._start||Math.abs(h)!==Math.abs(this._ts))&&(this._lock||((e||!a)&&(o===i&&this._ts>0||!o&&this._ts<0)&&hW(this,1),!t&&!(e<0&&!r)&&(o||r||!i)&&(cG(this,o===i&&e>=0?`onComplete`:`onReverseComplete`,!0),this._prom&&!(o0)&&this._prom())))}return this},n.add=function(e,t){var n=this;if(oU(t)||(t=IW(this,t,e)),!(e instanceof RG)){if(pU(e))return e.forEach(function(e){return n.add(e,t)}),this;if(iU(e))return this.addLabel(e,t);if(aU(e))e=$G.delayedCall(0,e);else return this}return this===e?this:EW(this,e,t)},n.getChildren=function(e,t,n,r){e===void 0&&(e=!0),t===void 0&&(t=!0),n===void 0&&(n=!0),r===void 0&&(r=-XH);for(var i=[],a=this._first;a;)a._start>=r&&(a instanceof $G?t&&i.push(a):(n&&i.push(a),e&&i.push.apply(i,a.getChildren(!0,t,n)))),a=a._next;return i},n.getById=function(e){for(var t=this.getChildren(1,1,1),n=t.length;n--;)if(t[n].vars.id===e)return t[n]},n.remove=function(e){return iU(e)?this.removeLabel(e):aU(e)?this.killTweensOf(e):(e.parent===this&&mW(this,e),e===this._recent&&(this._recent=this._last),gW(this))},n.totalTime=function(t,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=QU(CG.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),e.prototype.totalTime.call(this,t,n),this._forcing=0,this):this._tTime},n.addLabel=function(e,t){return this.labels[e]=IW(this,t),this},n.removeLabel=function(e){return delete this.labels[e],this},n.addPause=function(e,t,n){var r=$G.delayedCall(0,t||PU,n);return r.data=`isPause`,this._hasPause=1,EW(this,r,IW(this,e))},n.removePause=function(e){var t=this._first;for(e=IW(this,e);t;)t._start===e&&t.data===`isPause`&&hW(t),t=t._next},n.killTweensOf=function(e,t,n){for(var r=this.getTweensOf(e,n),i=r.length;i--;)WG!==r[i]&&r[i].kill(e,t);return this},n.getTweensOf=function(e,t){for(var n=[],r=GW(e),i=this._first,a=oU(t),o;i;)i instanceof $G?eW(i._targets,r)&&(a?(!WG||i._initted&&i._ts)&&i.globalTime(0)<=t&&i.globalTime(i.totalDuration())>t:!t||i.isActive())&&n.push(i):(o=i.getTweensOf(r,t)).length&&n.push.apply(n,o),i=i._next;return n},n.tweenTo=function(e,t){t||={};var n=this,r=IW(n,e),i=t,a=i.startAt,o=i.onStart,s=i.onStartParams,c=i.immediateRender,l,u=$G.to(n,oW({ease:t.ease||`none`,lazy:!1,immediateRender:!1,time:r,overwrite:`auto`,duration:t.duration||Math.abs((r-(a&&`time`in a?a.time:n._time))/n.timeScale())||ZH,onStart:function(){if(n.pause(),!l){var e=t.duration||Math.abs((r-(a&&`time`in a?a.time:n._time))/n.timeScale());u._dur!==e&&NW(u,e,0,1).render(u._time,!0,!0),l=1}o&&o.apply(u,s||[])}},t));return c?u.render(0):u},n.tweenFromTo=function(e,t,n){return this.tweenTo(t,oW({startAt:{time:IW(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return e===void 0&&(e=this._time),sG(this,IW(this,e))},n.previousLabel=function(e){return e===void 0&&(e=this._time),sG(this,IW(this,e),1)},n.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+ZH)},n.shiftChildren=function(e,t,n){n===void 0&&(n=0);var r=this._first,i=this.labels,a;for(e=QU(e);r;)r._start>=n&&(r._start+=e,r._end+=e),r=r._next;if(t)for(a in i)i[a]>=n&&(i[a]+=e);return gW(this)},n.invalidate=function(t){var n=this._first;for(this._lock=0;n;)n.invalidate(t),n=n._next;return e.prototype.invalidate.call(this,t)},n.clear=function(e){e===void 0&&(e=!0);for(var t=this._first,n;t;)n=t._next,this.remove(t),t=n;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),gW(this)},n.totalDuration=function(e){var t=0,n=this,r=n._last,i=XH,a,o,s;if(arguments.length)return n.timeScale((n._repeat<0?n.duration():n.totalDuration())/(n.reversed()?-e:e));if(n._dirty){for(s=n.parent;r;)a=r._prev,r._dirty&&r.totalDuration(),o=r._start,o>i&&n._sort&&r._ts&&!n._lock?(n._lock=1,EW(n,r,o-r._delay,1)._lock=0):i=o,o<0&&r._ts&&(t-=o,(!s&&!n._dp||s&&s.smoothChildTiming)&&(n._start+=QU(o/n._ts),n._time-=o,n._tTime-=o),n.shiftChildren(-o,!1,-1/0),i=0),r._end>t&&r._ts&&(t=r._end),r=a;NW(n,n===CU&&n._time>t?n._time:t,1,1),n._dirty=0}return n._tDur},t.updateRoot=function(e){if(CU._ts&&(rW(CU,SW(e,CU)),VU=CG.frame),CG.frame>=WU){WU+=GH.autoSleep||120;var t=CU._first;if((!t||!t._ts)&&GH.autoSleep&&CG._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||CG.sleep()}}},t}(RG);oW(zG.prototype,{_lock:0,_hasPause:0,_forcing:0});var BG=function(e,t,n,r,i,a,o){var s=new pK(this._pt,e,t,0,1,sK,null,i),c=0,l=0,u,d,f,p,m,h,g,_;for(s.b=n,s.e=r,n+=``,r+=``,(g=~r.indexOf(`random(`))&&(r=iG(r)),a&&(_=[n,r],a(_,e,t),n=_[0],r=_[1]),d=n.match(yU)||[];u=yU.exec(r);)p=u[0],m=r.substring(c,u.index),f?f=(f+1)%5:m.substr(-5)===`rgba(`&&(f=1),p!==d[l++]&&(h=parseFloat(d[l-1])||0,s._pt={_next:s._pt,p:m||l===1?m:`,`,s:h,c:p.charAt(1)===`=`?$U(h,p)-h:parseFloat(p)-h,m:f&&f<4?Math.round:0},c=yU.lastIndex);return s.c=c`)}),_.duration();else{for(x in y={},f)x===`ease`||x===`easeEach`||YG(x,f[x],y,f.easeEach);for(x in y)for(D=y[x].sort(function(e,t){return e.t-t.t}),E=0,v=0;vi-ZH&&!o?i:ea&&(c=a)),p=this._yoyo&&u&1,p&&(c=a-c),f=xW(this._tTime,d),c===r&&!n&&this._initted&&u===f)return this._tTime=s,this;u!==f&&this.vars.repeatRefresh&&!p&&!this._lock&&c!==d&&this._initted&&(this._lock=n=1,this.render(QU(d*u),!0).invalidate()._lock=0)}if(!this._initted){if(OW(this,o?e:c,n,t,s))return this._tTime=0,this;if(r!==this._time&&!(n&&this.vars.repeatRefresh&&u!==f))return this;if(a!==this._dur)return this.render(e,t,n)}if(this._rEase){var g=c
{t('routesHint')}
{item.url}
{item.hint}
{t('clientConfigHint')}
POST /chat/completions
POST {chatPath}