dsh-mobile-plugin 0.5.73 → 0.5.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/extension-authoring.md +55 -16
- package/lib/impl.js +4 -0
- package/lib/index.js +46 -4
- package/lib/panel/index.html +3 -3
- package/lib/relay/control.js +39 -12
- package/lib/relay/core.js +1 -1
- package/lib/remote/controller.cjs +72 -28
- package/lib/remote/local.cjs +7 -2
- package/lib/remote/network.cjs +46 -5
- package/lib/remote/router.cjs +106 -15
- package/lib/remote/routes.cjs +16 -14
- package/lib/remote/shell.cjs +12 -3
- package/lib/shared/route-channels.cjs +19 -0
- package/lib/tailcat/wiring.cjs +5 -0
- package/lib/update-install.cjs +9 -1
- package/package.json +1 -1
package/lib/panel/index.html
CHANGED
|
@@ -72,7 +72,7 @@ Sugerimos que pergunte à sua IA para configurar uma solução de rede adequada
|
|
|
72
72
|
|
|
73
73
|
Это уведомление исчезнет автоматически, когда ваше устройство перестанет использовать публичную сеть.
|
|
74
74
|
|
|
75
|
-
Советуем спросить у своего ИИ, чтобы он подобрал подходящую схему сети.`,"panel.publicRelayNotice.action":`Понятно`}},{"zh-Hans":{"panel.selfcheck.title":`连接自检`,"panel.selfcheck.firewall":`防火墙`,"panel.selfcheck.mobile":`手机最近来过`,"panel.selfcheck.allowed":`已放行`,"panel.selfcheck.blocked":`挡住了`,"panel.selfcheck.firewallOff":`没开,不会拦`,"panel.selfcheck.unknown":`查不到`,"panel.selfcheck.mobileNever":`还没来过`,"panel.selfcheck.mobileIdle":`三十分钟内没来过`,"panel.selfcheck.mobileRecent":`最近来过`,"panel.selfcheck.verdict.ok":`最近手机连上过,这条链路是通的。`,"panel.selfcheck.verdict.notListening":`直连端口没在监听,手机拨不进来 —— 到主页的「连接状态 → 局域网直连」里重新连一次。`,"panel.selfcheck.verdict.firewallBlocked":`系统防火墙挡住了这个程序 —— 到系统设置里放行它,引导页的「检查防火墙」有逐系统的步骤。`,"panel.selfcheck.verdict.unknown":`这台机器读不到防火墙状态,所以不能算正常 —— 自己确认一下系统防火墙放行了没有。`,"panel.selfcheck.verdict.network":`电脑这侧没问题,但手机最近三十分钟没来过 —— 多半是没连同一个 WiFi、路由器隔离了设备,或者该走中转。`,"panel.selfcheck.short.ok":`正常`,"panel.selfcheck.short.notListening":`直连没在监听`,"panel.selfcheck.short.firewallBlocked":`防火墙挡住了`,"panel.selfcheck.short.unknown":`防火墙状态查不到`,"panel.selfcheck.short.network":`手机三十分钟没来过`,"panel.selfcheck.checking":`检查中…`,"panel.selfcheck.notChecked":`还没自检`,"panel.selfcheck.recheck":`重新自检`,"panel.selfcheck.failed":`自检没做成`,"panel.selfcheck.unavailable":`这台宿主还没有自检接口,更新插件后再看。`,"panel.selfcheck.checkedAt":`查于 {time}`,"panel.selfcheck.port":`端口 {port}`},"zh-Hant":{"panel.selfcheck.title":`連線自檢`,"panel.selfcheck.firewall":`防火牆`,"panel.selfcheck.mobile":`手機最近來過`,"panel.selfcheck.allowed":`已放行`,"panel.selfcheck.blocked":`擋住了`,"panel.selfcheck.firewallOff":`沒開,不會擋`,"panel.selfcheck.unknown":`查不到`,"panel.selfcheck.mobileNever":`還沒來過`,"panel.selfcheck.mobileIdle":`三十分鐘內沒來過`,"panel.selfcheck.mobileRecent":`最近來過`,"panel.selfcheck.verdict.ok":`最近手機連上過,這條鏈路是通的。`,"panel.selfcheck.verdict.notListening":`直連連接埠沒在監聽,手機撥不進來 —— 到主頁的「連線狀態 → 區域網路直連」裡重新連一次。`,"panel.selfcheck.verdict.firewallBlocked":`系統防火牆擋住了這個程式 —— 到系統設定裡放行它,引導頁的「檢查防火牆」有逐系統的步驟。`,"panel.selfcheck.verdict.unknown":`這台機器讀不到防火牆狀態,所以不能算正常 —— 自己確認一下系統防火牆放行了沒有。`,"panel.selfcheck.verdict.network":`電腦這側沒問題,但手機最近三十分鐘沒來過 —— 多半是沒連同一個 WiFi、路由器隔離了裝置,或者該走中轉。`,"panel.selfcheck.short.ok":`正常`,"panel.selfcheck.short.notListening":`直連沒在監聽`,"panel.selfcheck.short.firewallBlocked":`防火牆擋住了`,"panel.selfcheck.short.unknown":`防火牆狀態查不到`,"panel.selfcheck.short.network":`手機三十分鐘沒來過`,"panel.selfcheck.checking":`檢查中…`,"panel.selfcheck.notChecked":`還沒自檢`,"panel.selfcheck.recheck":`重新自檢`,"panel.selfcheck.failed":`自檢沒做成`,"panel.selfcheck.unavailable":`這台宿主還沒有自檢介面,更新外掛後再看。`,"panel.selfcheck.checkedAt":`查於 {time}`,"panel.selfcheck.port":`連接埠 {port}`},en:{"panel.selfcheck.title":`Connection self-check`,"panel.selfcheck.firewall":`Firewall`,"panel.selfcheck.mobile":`Last phone visit`,"panel.selfcheck.allowed":`Allowed`,"panel.selfcheck.blocked":`Blocked`,"panel.selfcheck.firewallOff":`Off — nothing is blocked`,"panel.selfcheck.unknown":`Unknown`,"panel.selfcheck.mobileNever":`Never`,"panel.selfcheck.mobileIdle":`Not in 30 min`,"panel.selfcheck.mobileRecent":`Recently`,"panel.selfcheck.verdict.ok":`The phone connected recently, so this path works.`,"panel.selfcheck.verdict.notListening":`The LAN port is not listening, so the phone cannot reach it — reconnect from Connection status → LAN direct on the main page.`,"panel.selfcheck.verdict.firewallBlocked":`The system firewall is blocking this program — allow it in your system settings; the setup page has a Check firewall dialog with per-OS steps.`,"panel.selfcheck.verdict.unknown":`This machine will not report its firewall state, so this cannot be called normal — check yourself that the system firewall allows the program.`,"panel.selfcheck.verdict.network":`This side looks fine, but the phone has not been here for 30 minutes — most likely a different Wi-Fi, router client isolation, or it should go through the relay.`,"panel.selfcheck.short.ok":`Normal`,"panel.selfcheck.short.notListening":`LAN port not listening`,"panel.selfcheck.short.firewallBlocked":`Firewall blocking`,"panel.selfcheck.short.unknown":`Firewall unknown`,"panel.selfcheck.short.network":`No phone for 30 min`,"panel.selfcheck.checking":`Checking…`,"panel.selfcheck.notChecked":`Not checked yet`,"panel.selfcheck.recheck":`Check again`,"panel.selfcheck.failed":`Self-check failed`,"panel.selfcheck.unavailable":`This host has no self-check endpoint yet — update the plugin and look again.`,"panel.selfcheck.checkedAt":`Checked {time}`,"panel.selfcheck.port":`Port {port}`},ja:{"panel.selfcheck.title":`接続セルフチェック`,"panel.selfcheck.firewall":`ファイアウォール`,"panel.selfcheck.mobile":`最後にスマホが来た時刻`,"panel.selfcheck.allowed":`許可済み`,"panel.selfcheck.blocked":`ブロック中`,"panel.selfcheck.firewallOff":`無効(遮断なし)`,"panel.selfcheck.unknown":`取得できません`,"panel.selfcheck.mobileNever":`まだ来ていません`,"panel.selfcheck.mobileIdle":`30 分来ていません`,"panel.selfcheck.mobileRecent":`最近来ました`,"panel.selfcheck.verdict.ok":`最近スマホが接続できているので、この経路は通っています。`,"panel.selfcheck.verdict.notListening":`LAN ポートが待ち受けていないのでスマホから届きません — ホームの「接続状態 → LAN 直結」で接続し直してください。`,"panel.selfcheck.verdict.firewallBlocked":`システムのファイアウォールがこのプログラムを遮断しています — システム設定で許可してください。セットアップ画面の「ファイアウォールを確認」に OS ごとの手順があります。`,"panel.selfcheck.verdict.unknown":`このマシンではファイアウォールの状態を取得できないため、正常とは言えません — システムのファイアウォールが許可しているかご自身で確認してください。`,"panel.selfcheck.verdict.network":`パソコン側は問題なさそうですが、スマホがこの 30 分来ていません — 同じ Wi-Fi にいない、ルーターの端末分離、または中継を使うべき、のいずれかでしょう。`,"panel.selfcheck.short.ok":`正常`,"panel.selfcheck.short.notListening":`LAN 待ち受けなし`,"panel.selfcheck.short.firewallBlocked":`FW が遮断`,"panel.selfcheck.short.unknown":`FW 状態が不明`,"panel.selfcheck.short.network":`スマホ 30 分なし`,"panel.selfcheck.checking":`確認中…`,"panel.selfcheck.notChecked":`まだ確認していません`,"panel.selfcheck.recheck":`もう一度確認`,"panel.selfcheck.failed":`セルフチェックに失敗しました`,"panel.selfcheck.unavailable":`このホストにはまだセルフチェックの API がありません。プラグインを更新してからご覧ください。`,"panel.selfcheck.checkedAt":`{time} に確認`,"panel.selfcheck.port":`ポート {port}`},ko:{"panel.selfcheck.title":`연결 자체 점검`,"panel.selfcheck.firewall":`방화벽`,"panel.selfcheck.mobile":`최근 휴대폰 접속`,"panel.selfcheck.allowed":`허용됨`,"panel.selfcheck.blocked":`차단됨`,"panel.selfcheck.firewallOff":`꺼짐(차단 없음)`,"panel.selfcheck.unknown":`알 수 없음`,"panel.selfcheck.mobileNever":`아직 없음`,"panel.selfcheck.mobileIdle":`30분간 없음`,"panel.selfcheck.mobileRecent":`최근 방문`,"panel.selfcheck.verdict.ok":`최근에 휴대폰이 연결되었으므로 이 경로는 정상입니다.`,"panel.selfcheck.verdict.notListening":`LAN 포트가 수신 대기 중이 아니라 휴대폰이 들어올 수 없습니다 — 메인 화면의 "연결 상태 → LAN 직접 연결"에서 다시 연결하세요.`,"panel.selfcheck.verdict.firewallBlocked":`시스템 방화벽이 이 프로그램을 차단하고 있습니다 — 시스템 설정에서 허용하세요. 설정 화면의 "방화벽 확인"에 OS별 절차가 있습니다.`,"panel.selfcheck.verdict.unknown":`이 컴퓨터는 방화벽 상태를 읽을 수 없어 정상이라고 할 수 없습니다 — 시스템 방화벽이 허용하는지 직접 확인하세요.`,"panel.selfcheck.verdict.network":`컴퓨터 쪽은 문제없어 보이지만 휴대폰이 30분 동안 오지 않았습니다 — 같은 Wi-Fi가 아니거나, 공유기가 기기를 격리했거나, 중계를 써야 하는 경우입니다.`,"panel.selfcheck.short.ok":`정상`,"panel.selfcheck.short.notListening":`LAN 수신 없음`,"panel.selfcheck.short.firewallBlocked":`방화벽 차단`,"panel.selfcheck.short.unknown":`방화벽 상태 모름`,"panel.selfcheck.short.network":`30분간 휴대폰 없음`,"panel.selfcheck.checking":`확인 중…`,"panel.selfcheck.notChecked":`아직 점검 안 함`,"panel.selfcheck.recheck":`다시 점검`,"panel.selfcheck.failed":`자체 점검 실패`,"panel.selfcheck.unavailable":`이 호스트에는 아직 자체 점검 API가 없습니다. 플러그인을 업데이트한 뒤 확인하세요.`,"panel.selfcheck.checkedAt":`{time} 확인`,"panel.selfcheck.port":`포트 {port}`},de:{"panel.selfcheck.title":`Verbindungs-Selbsttest`,"panel.selfcheck.firewall":`Firewall`,"panel.selfcheck.mobile":`Letzter Handy-Kontakt`,"panel.selfcheck.allowed":`Erlaubt`,"panel.selfcheck.blocked":`Blockiert`,"panel.selfcheck.firewallOff":`Aus — blockiert nichts`,"panel.selfcheck.unknown":`Unbekannt`,"panel.selfcheck.mobileNever":`Noch nie`,"panel.selfcheck.mobileIdle":`Seit 30 Min. nicht`,"panel.selfcheck.mobileRecent":`Zuletzt da`,"panel.selfcheck.verdict.ok":`Das Handy war zuletzt verbunden, dieser Weg funktioniert.`,"panel.selfcheck.verdict.notListening":`Der LAN-Port lauscht nicht, das Handy kommt nicht durch — verbinde neu über Verbindungsstatus → LAN-Direkt auf der Hauptseite.`,"panel.selfcheck.verdict.firewallBlocked":`Die System-Firewall blockiert dieses Programm — erlaube es in den Systemeinstellungen; im Einrichtungsfenster gibt es den Dialog „Firewall prüfen" mit Schritten je System.`,"panel.selfcheck.verdict.unknown":`Dieser Rechner meldet seinen Firewall-Status nicht, deshalb ist das nicht normal — prüfe selbst, ob die System-Firewall das Programm zulässt.`,"panel.selfcheck.verdict.network":`Auf dieser Seite sieht alles gut aus, aber das Handy war 30 Minuten nicht da — meist ein anderes WLAN, Geräte-Isolation im Router oder der Weg über das Relay.`,"panel.selfcheck.short.ok":`Normal`,"panel.selfcheck.short.notListening":`LAN lauscht nicht`,"panel.selfcheck.short.firewallBlocked":`Firewall blockiert`,"panel.selfcheck.short.unknown":`Firewall unbekannt`,"panel.selfcheck.short.network":`30 Min. kein Handy`,"panel.selfcheck.checking":`Prüfe…`,"panel.selfcheck.notChecked":`Noch nicht geprüft`,"panel.selfcheck.recheck":`Erneut prüfen`,"panel.selfcheck.failed":`Selbsttest fehlgeschlagen`,"panel.selfcheck.unavailable":`Dieser Host hat noch keine Selbsttest-Schnittstelle — Plugin aktualisieren und erneut sehen.`,"panel.selfcheck.checkedAt":`Geprüft {time}`,"panel.selfcheck.port":`Port {port}`},es:{"panel.selfcheck.title":`Autodiagnóstico de conexión`,"panel.selfcheck.firewall":`Cortafuegos`,"panel.selfcheck.mobile":`Última visita del móvil`,"panel.selfcheck.allowed":`Permitido`,"panel.selfcheck.blocked":`Bloqueado`,"panel.selfcheck.firewallOff":`Apagado: no bloquea`,"panel.selfcheck.unknown":`Sin datos`,"panel.selfcheck.mobileNever":`Nunca`,"panel.selfcheck.mobileIdle":`30 min sin venir`,"panel.selfcheck.mobileRecent":`Hace poco`,"panel.selfcheck.verdict.ok":`El móvil se conectó hace poco, este camino funciona.`,"panel.selfcheck.verdict.notListening":`El puerto LAN no está escuchando, el móvil no puede entrar — vuelve a conectar desde Estado de conexión → LAN directa en la página principal.`,"panel.selfcheck.verdict.firewallBlocked":`El cortafuegos del sistema está bloqueando este programa — permítelo en los ajustes del sistema; en la página de configuración hay un diálogo «Comprobar cortafuegos» con los pasos por sistema.`,"panel.selfcheck.verdict.unknown":`Este equipo no informa del estado del cortafuegos, así que no se puede decir que esté bien — comprueba tú que el cortafuegos permita el programa.`,"panel.selfcheck.verdict.network":`Por este lado parece todo correcto, pero el móvil no aparece desde hace 30 minutos — probablemente otra Wi-Fi, aislamiento de dispositivos en el router, o toca usar el relé.`,"panel.selfcheck.short.ok":`Normal`,"panel.selfcheck.short.notListening":`LAN sin escuchar`,"panel.selfcheck.short.firewallBlocked":`Cortafuegos bloquea`,"panel.selfcheck.short.unknown":`Cortafuegos sin datos`,"panel.selfcheck.short.network":`30 min sin móvil`,"panel.selfcheck.checking":`Comprobando…`,"panel.selfcheck.notChecked":`Sin comprobar`,"panel.selfcheck.recheck":`Comprobar de nuevo`,"panel.selfcheck.failed":`El autodiagnóstico falló`,"panel.selfcheck.unavailable":`Este host aún no tiene la interfaz de autodiagnóstico — actualiza el plugin y vuelve a mirar.`,"panel.selfcheck.checkedAt":`Comprobado {time}`,"panel.selfcheck.port":`Puerto {port}`},fr:{"panel.selfcheck.title":`Auto-diagnostic de connexion`,"panel.selfcheck.firewall":`Pare-feu`,"panel.selfcheck.mobile":`Dernier passage du téléphone`,"panel.selfcheck.allowed":`Autorisé`,"panel.selfcheck.blocked":`Bloqué`,"panel.selfcheck.firewallOff":`Désactivé : ne bloque rien`,"panel.selfcheck.unknown":`Inconnu`,"panel.selfcheck.mobileNever":`Jamais`,"panel.selfcheck.mobileIdle":`Rien depuis 30 min`,"panel.selfcheck.mobileRecent":`Récemment`,"panel.selfcheck.verdict.ok":`Le téléphone s’est connecté récemment, ce chemin fonctionne.`,"panel.selfcheck.verdict.notListening":`Le port LAN n’écoute pas, le téléphone ne peut pas entrer — reconnecte depuis État de la connexion → LAN direct sur la page principale.`,"panel.selfcheck.verdict.firewallBlocked":`Le pare-feu du système bloque ce programme — autorise-le dans les réglages du système ; la page de configuration propose une fenêtre « Vérifier le pare-feu » avec les étapes par système.`,"panel.selfcheck.verdict.unknown":`Cette machine ne communique pas l’état de son pare-feu, donc on ne peut pas dire que tout va bien — vérifie toi-même que le pare-feu autorise le programme.`,"panel.selfcheck.verdict.network":`De ce côté tout semble correct, mais le téléphone n’est pas venu depuis 30 minutes — sans doute un autre Wi-Fi, l’isolation des appareils sur le routeur, ou il faut passer par le relais.`,"panel.selfcheck.short.ok":`Normal`,"panel.selfcheck.short.notListening":`LAN n’écoute pas`,"panel.selfcheck.short.firewallBlocked":`Pare-feu bloque`,"panel.selfcheck.short.unknown":`Pare-feu inconnu`,"panel.selfcheck.short.network":`30 min sans téléphone`,"panel.selfcheck.checking":`Vérification…`,"panel.selfcheck.notChecked":`Pas encore vérifié`,"panel.selfcheck.recheck":`Vérifier à nouveau`,"panel.selfcheck.failed":`L’auto-diagnostic a échoué`,"panel.selfcheck.unavailable":`Cet hôte n’a pas encore l’interface d’auto-diagnostic — mets le plugin à jour puis reviens.`,"panel.selfcheck.checkedAt":`Vérifié {time}`,"panel.selfcheck.port":`Port {port}`},pt:{"panel.selfcheck.title":`Autodiagnóstico de conexão`,"panel.selfcheck.firewall":`Firewall`,"panel.selfcheck.mobile":`Última visita do celular`,"panel.selfcheck.allowed":`Permitido`,"panel.selfcheck.blocked":`Bloqueado`,"panel.selfcheck.firewallOff":`Desligado: não bloqueia`,"panel.selfcheck.unknown":`Sem dados`,"panel.selfcheck.mobileNever":`Nunca`,"panel.selfcheck.mobileIdle":`30 min sem vir`,"panel.selfcheck.mobileRecent":`Recentemente`,"panel.selfcheck.verdict.ok":`O celular se conectou há pouco, este caminho funciona.`,"panel.selfcheck.verdict.notListening":`A porta LAN não está escutando, o celular não consegue entrar — reconecte em Estado da conexão → LAN direta na página principal.`,"panel.selfcheck.verdict.firewallBlocked":`O firewall do sistema está bloqueando este programa — permita-o nas configurações do sistema; a página de configuração tem a janela "Verificar firewall" com os passos por sistema.`,"panel.selfcheck.verdict.unknown":`Esta máquina não informa o estado do firewall, então não dá para dizer que está normal — confira você mesmo se o firewall permite o programa.`,"panel.selfcheck.verdict.network":`Deste lado parece tudo certo, mas o celular não aparece há 30 minutos — provavelmente outro Wi-Fi, isolamento de dispositivos no roteador, ou é hora de usar o relé.`,"panel.selfcheck.short.ok":`Normal`,"panel.selfcheck.short.notListening":`LAN sem escutar`,"panel.selfcheck.short.firewallBlocked":`Firewall bloqueando`,"panel.selfcheck.short.unknown":`Firewall sem dados`,"panel.selfcheck.short.network":`30 min sem celular`,"panel.selfcheck.checking":`Verificando…`,"panel.selfcheck.notChecked":`Ainda não verificado`,"panel.selfcheck.recheck":`Verificar de novo`,"panel.selfcheck.failed":`O autodiagnóstico falhou`,"panel.selfcheck.unavailable":`Este host ainda não tem a interface de autodiagnóstico — atualize o plugin e veja de novo.`,"panel.selfcheck.checkedAt":`Verificado {time}`,"panel.selfcheck.port":`Porta {port}`},ru:{"panel.selfcheck.title":`Самопроверка подключения`,"panel.selfcheck.firewall":`Брандмауэр`,"panel.selfcheck.mobile":`Последний визит телефона`,"panel.selfcheck.allowed":`Разрешено`,"panel.selfcheck.blocked":`Блокирует`,"panel.selfcheck.firewallOff":`Выключен — не блокирует`,"panel.selfcheck.unknown":`Нет данных`,"panel.selfcheck.mobileNever":`Ни разу`,"panel.selfcheck.mobileIdle":`30 мин не заходил`,"panel.selfcheck.mobileRecent":`Недавно`,"panel.selfcheck.verdict.ok":`Телефон недавно подключался, этот путь работает.`,"panel.selfcheck.verdict.notListening":`Порт LAN не слушает, телефон не может подключиться — переподключитесь в «Состояние подключения → Прямое LAN» на главной странице.`,"panel.selfcheck.verdict.firewallBlocked":`Системный брандмауэр блокирует эту программу — разрешите её в настройках системы; на странице настройки есть окно «Проверить брандмауэр» с шагами для каждой системы.`,"panel.selfcheck.verdict.unknown":`Эта машина не сообщает состояние брандмауэра, поэтому назвать это нормой нельзя — проверьте сами, разрешает ли брандмауэр программу.`,"panel.selfcheck.verdict.network":`С этой стороны всё выглядит нормально, но телефон не появлялся 30 минут — скорее всего другой Wi-Fi, изоляция устройств на роутере или пора идти через ретранслятор.`,"panel.selfcheck.short.ok":`Норма`,"panel.selfcheck.short.notListening":`LAN не слушает`,"panel.selfcheck.short.firewallBlocked":`Брандмауэр блокирует`,"panel.selfcheck.short.unknown":`Брандмауэр неизвестен`,"panel.selfcheck.short.network":`30 мин без телефона`,"panel.selfcheck.checking":`Проверка…`,"panel.selfcheck.notChecked":`Ещё не проверялось`,"panel.selfcheck.recheck":`Проверить снова`,"panel.selfcheck.failed":`Самопроверка не удалась`,"panel.selfcheck.unavailable":`На этом хосте ещё нет интерфейса самопроверки — обновите плагин и посмотрите снова.`,"panel.selfcheck.checkedAt":`Проверено {time}`,"panel.selfcheck.port":`Порт {port}`}},{"zh-Hans":{"panel.console.openBrowser":`在浏览器打开`,"panel.console.replayGuide":`重看引导`,"panel.console.reload":`重新载入`,"panel.console.statusTimeout":`读取插件状态超时,请重新载入后重试。`,"panel.console.retryPairing":`重新获取二维码`,"panel.console.pairingTimeout":`获取二维码超时,请重试。`},"zh-Hant":{"panel.console.openBrowser":`在瀏覽器開啟`,"panel.console.replayGuide":`重看引導`,"panel.console.reload":`重新載入`,"panel.console.statusTimeout":`讀取外掛狀態逾時,請重新載入後再試。`,"panel.console.retryPairing":`重新取得 QR 碼`,"panel.console.pairingTimeout":`取得 QR 碼逾時,請再試一次。`},en:{"panel.console.openBrowser":`Open in browser`,"panel.console.replayGuide":`Replay setup`,"panel.console.reload":`Reload`,"panel.console.statusTimeout":`Reading plugin status timed out. Reload to try again.`,"panel.console.retryPairing":`Get the QR code again`,"panel.console.pairingTimeout":`Getting the QR code timed out. Please try again.`},ja:{"panel.console.openBrowser":`ブラウザーで開く`,"panel.console.replayGuide":`セットアップをやり直す`,"panel.console.reload":`再読み込み`,"panel.console.statusTimeout":`プラグインの状態取得がタイムアウトしました。再読み込みしてお試しください。`,"panel.console.retryPairing":`QR コードを再取得`,"panel.console.pairingTimeout":`QR コードの取得がタイムアウトしました。もう一度お試しください。`},ko:{"panel.console.openBrowser":`브라우저에서 열기`,"panel.console.replayGuide":`설정 안내 다시 보기`,"panel.console.reload":`다시 불러오기`,"panel.console.statusTimeout":`플러그인 상태 요청 시간이 초과되었습니다. 다시 불러와 주세요.`,"panel.console.retryPairing":`QR 코드 다시 가져오기`,"panel.console.pairingTimeout":`QR 코드 요청 시간이 초과되었습니다. 다시 시도해 주세요.`},de:{"panel.console.openBrowser":`Im Browser öffnen`,"panel.console.replayGuide":`Einrichtung erneut ansehen`,"panel.console.reload":`Neu laden`,"panel.console.statusTimeout":`Zeitüberschreitung beim Lesen des Plugin-Status. Bitte neu laden.`,"panel.console.retryPairing":`QR-Code erneut abrufen`,"panel.console.pairingTimeout":`Zeitüberschreitung beim Abrufen des QR-Codes. Bitte erneut versuchen.`},es:{"panel.console.openBrowser":`Abrir en el navegador`,"panel.console.replayGuide":`Ver la configuración otra vez`,"panel.console.reload":`Volver a cargar`,"panel.console.statusTimeout":`Se agotó el tiempo de lectura del estado. Vuelve a cargar para reintentar.`,"panel.console.retryPairing":`Obtener el código QR de nuevo`,"panel.console.pairingTimeout":`Se agotó el tiempo para obtener el código QR. Inténtalo de nuevo.`},fr:{"panel.console.openBrowser":`Ouvrir dans le navigateur`,"panel.console.replayGuide":`Revoir la configuration`,"panel.console.reload":`Recharger`,"panel.console.statusTimeout":`Le délai de lecture de l’état du greffon a expiré. Rechargez pour réessayer.`,"panel.console.retryPairing":`Obtenir à nouveau le code QR`,"panel.console.pairingTimeout":`Le délai de récupération du code QR a expiré. Veuillez réessayer.`},pt:{"panel.console.openBrowser":`Abrir no navegador`,"panel.console.replayGuide":`Rever a configuração`,"panel.console.reload":`Recarregar`,"panel.console.statusTimeout":`A leitura do estado do plugin excedeu o tempo limite. Recarregue para tentar novamente.`,"panel.console.retryPairing":`Obter o código QR novamente`,"panel.console.pairingTimeout":`A obtenção do código QR excedeu o tempo limite. Tente novamente.`},ru:{"panel.console.openBrowser":`Открыть в браузере`,"panel.console.replayGuide":`Посмотреть настройку снова`,"panel.console.reload":`Перезагрузить`,"panel.console.statusTimeout":`Истекло время ожидания состояния плагина. Перезагрузите страницу.`,"panel.console.retryPairing":`Получить QR-код ещё раз`,"panel.console.pairingTimeout":`Истекло время получения QR-кода. Попробуйте снова.`}},{"zh-Hans":{"panel.remote.title":`远程电脑`,"panel.remote.backConsole":`返回控制台`,"panel.remote.hint":`绑定另一台电脑后,在本机的桌面端窗口中打开它的 DSH。窗口开着时会自动续期,关掉窗口后最多再保留一小时。`,"panel.remote.localOnly":`请从这台电脑的本机面板打开远程电脑管理。`,"panel.remote.failed":`操作失败,请在本机插件中检查后重试。`,"panel.remote.errorAuth":`访问授权无效或已撤销,请重新绑定。`,"panel.remote.errorExpired":`本次访问已到期,请重新打开。`,"panel.remote.errorTimeout":`连接超时,请稍后重试。`,"panel.remote.errorConnect":`无法连接远程电脑,请检查网络后重试。`,"panel.remote.errorInvitation":`绑定信息无效、已使用或已到期,请重新生成。`,"panel.remote.errorVersion":`对方插件版本不兼容,请升级到支持远程电脑的版本。`,"panel.remote.createInvite":`生成本机绑定信息`,"panel.remote.add":`添加远程电脑`,"panel.remote.empty":`还没有远程电脑。在另一台电脑生成绑定信息,再粘贴到这里。`,"panel.remote.inviteHint":`把这份信息交给要访问本机的电脑,在它的「添加远程电脑」中粘贴。10 分钟内仅能使用一次,请只交给信任的人。`,"panel.remote.addHint":`粘贴另一台电脑生成的一次性绑定信息。绑定会保留,访问到期后需重新打开。`,"panel.remote.inviteLabel":`一次性绑定信息`,"panel.remote.inviteExpired":`绑定信息已到期,请关闭后重新生成。`,"panel.remote.inviteRemaining":`剩余 {minutes} 分钟,仅能使用一次。`,"panel.remote.copy":`复制绑定信息`,"panel.remote.copied":`已复制绑定信息。`,"panel.remote.manualCopy":`无法自动复制。请选中上面的文本手动复制。`,"panel.remote.added":`已添加远程电脑。`,"panel.remote.open":`在桌面端打开`,"panel.remote.remove":`删除绑定`,"panel.remote.removeConfirm":`删除与「{name}」的绑定并停止访问?以后需重新添加。`,"panel.remote.removed":`已删除绑定。`,"panel.remote.route":`选择线路`,"panel.remote.routeHint":`自动挡按实际连通情况选路;手动挡只使用选中的线路。`,"panel.remote.modeSaved":`已保存线路选择。`,"panel.remote.diagnose":`检测线路`,"panel.remote.diagnoseHint":`逐条检测当前设备的线路连通情况。`,"panel.remote.diagnoseOk":`通`,"panel.remote.diagnoseFail":`不通`,"panel.remote.expiredHint":`本次访问已到期,请重新打开。`,"panel.remote.invalidOpenUrl":`宿主返回的地址不是有效的本机访问入口。`,"panel.remote.externalOpenFailed":`无法打开访问窗口,请从本机插件面板重试。`,"panel.remote.popupBlocked":`新窗口被拦截,请允许弹窗后重试。`,"panel.remote.shellUnavailable":`本机未安装远程电脑桌面端,已改用默认方式打开。`,"panel.remote.shellFellBack":`桌面端没起来,已用浏览器打开。`,"panel.remote.authorizedTitle":`可访问本机的电脑`,"panel.remote.unknownComputer":`未知电脑`,"panel.remote.revoke":`撤销访问`,"panel.remote.revokeConfirm":`撤销「{name}」访问本机的授权?它需要重新绑定才能访问。`,"panel.remote.revoked":`已撤销这台电脑的访问授权。`,"panel.remote.state.idle":`未打开`,"panel.remote.state.connecting":`正在连接`,"panel.remote.state.connected":`已连接`,"panel.remote.state.offline":`连接不可用`,"panel.remote.state.expired":`访问已到期`,"panel.remote.state.revoked":`授权已撤销`,"panel.remote.channel.auto":`自动选路`,"panel.remote.channel.lan":`局域网`,"panel.remote.channel.direct":`直连`,"panel.remote.channel.ipv6":`IPv6`,"panel.remote.channel.relay":`中转`,"panel.remote.channel.tailcat":`Tailcat`,"panel.remote.channel.p2p":`P2P`},"zh-Hant":{"panel.remote.title":`遠端電腦`,"panel.remote.backConsole":`返回主控台`,"panel.remote.hint":`綁定另一台電腦後,在本機的桌面端視窗中開啟它的 DSH。視窗開著時會自動續期,關掉視窗後最多再保留一小時。`,"panel.remote.localOnly":`請從這台電腦的本機面板開啟遠端電腦管理。`,"panel.remote.failed":`操作失敗,請在本機外掛中檢查後重試。`,"panel.remote.errorAuth":`存取授權無效或已撤銷,請重新綁定。`,"panel.remote.errorExpired":`本次存取已到期,請重新開啟。`,"panel.remote.errorTimeout":`連線逾時,請稍後重試。`,"panel.remote.errorConnect":`無法連線遠端電腦,請檢查網路後重試。`,"panel.remote.errorInvitation":`綁定資訊無效、已使用或已到期,請重新產生。`,"panel.remote.errorVersion":`對方外掛版本不相容,請升級到支援遠端電腦的版本。`,"panel.remote.createInvite":`產生本機綁定資訊`,"panel.remote.add":`新增遠端電腦`,"panel.remote.empty":`還沒有遠端電腦。在另一台電腦產生綁定資訊,再貼到這裡。`,"panel.remote.inviteHint":`把這份資訊交給要存取本機的電腦,在它的「新增遠端電腦」中貼上。10 分鐘內僅能使用一次,請只交給信任的人。`,"panel.remote.addHint":`貼上另一台電腦產生的一次性綁定資訊。綁定會保留,存取到期後需重新開啟。`,"panel.remote.inviteLabel":`一次性綁定資訊`,"panel.remote.inviteExpired":`綁定資訊已到期,請關閉後重新產生。`,"panel.remote.inviteRemaining":`剩餘 {minutes} 分鐘,僅能使用一次。`,"panel.remote.copy":`複製綁定資訊`,"panel.remote.copied":`已複製綁定資訊。`,"panel.remote.manualCopy":`無法自動複製。請選取上面的文字手動複製。`,"panel.remote.added":`已新增遠端電腦。`,"panel.remote.open":`在桌面端開啟`,"panel.remote.remove":`刪除綁定`,"panel.remote.removeConfirm":`刪除與「{name}」的綁定並停止存取?以後需重新新增。`,"panel.remote.removed":`已刪除綁定。`,"panel.remote.route":`選擇路線`,"panel.remote.routeHint":`自動模式依實際連通情況選路;手動模式只使用選中的路線。`,"panel.remote.modeSaved":`已儲存路線選擇。`,"panel.remote.diagnose":`檢測路線`,"panel.remote.diagnoseHint":`逐條檢測目前裝置的路線連通情況。`,"panel.remote.diagnoseOk":`通`,"panel.remote.diagnoseFail":`不通`,"panel.remote.expiredHint":`本次存取已到期,請重新開啟。`,"panel.remote.invalidOpenUrl":`宿主回傳的位址不是有效的本機存取入口。`,"panel.remote.externalOpenFailed":`無法開啟存取視窗,請從本機外掛面板重試。`,"panel.remote.popupBlocked":`新視窗被攔截,請允許彈出視窗後重試。`,"panel.remote.shellUnavailable":`本機未安裝遠端電腦桌面端,已改用預設方式開啟。`,"panel.remote.shellFellBack":`桌面端沒起來,已改用瀏覽器開啟。`,"panel.remote.authorizedTitle":`可存取本機的電腦`,"panel.remote.unknownComputer":`未知電腦`,"panel.remote.revoke":`撤銷存取`,"panel.remote.revokeConfirm":`撤銷「{name}」存取本機的授權?它需要重新綁定才能存取。`,"panel.remote.revoked":`已撤銷這台電腦的存取授權。`,"panel.remote.state.idle":`未開啟`,"panel.remote.state.connecting":`正在連線`,"panel.remote.state.connected":`已連線`,"panel.remote.state.offline":`連線無法使用`,"panel.remote.state.expired":`存取已到期`,"panel.remote.state.revoked":`授權已撤銷`,"panel.remote.channel.auto":`自動選路`,"panel.remote.channel.lan":`區域網路`,"panel.remote.channel.direct":`直連`,"panel.remote.channel.ipv6":`IPv6`,"panel.remote.channel.relay":`中繼`,"panel.remote.channel.tailcat":`Tailcat`,"panel.remote.channel.p2p":`P2P`},en:{"panel.remote.title":`Remote computers`,"panel.remote.backConsole":`Back to console`,"panel.remote.hint":`Pair another computer to open its DSH in a desktop window on this computer. While the window stays open it renews automatically; after you close it, access is kept for up to one more hour.`,"panel.remote.localOnly":`Open this computer’s local panel to manage remote computers.`,"panel.remote.failed":`Action failed. Check the local plugin and try again.`,"panel.remote.errorAuth":`Access is invalid or revoked. Pair this computer again.`,"panel.remote.errorExpired":`This visit has expired. Open it again.`,"panel.remote.errorTimeout":`Connection timed out. Try again shortly.`,"panel.remote.errorConnect":`Cannot connect to the remote computer. Check your network and try again.`,"panel.remote.errorInvitation":`The invite is invalid, already used, or expired. Create a new one.`,"panel.remote.errorVersion":`The other plugin version is incompatible. Upgrade to a version that supports remote computers.`,"panel.remote.createInvite":`Create this computer’s invite`,"panel.remote.add":`Add remote computer`,"panel.remote.empty":`No remote computers yet. Create an invite on the other computer, then paste it here.`,"panel.remote.inviteHint":`Give this invite to the computer that will access this one, and paste it into “Add remote computer” there. It works once within 10 minutes. Share it only with someone you trust.`,"panel.remote.addHint":`Paste the one-time invite from the other computer. Pairing is kept; open a new visit after the current one expires.`,"panel.remote.inviteLabel":`One-time invite`,"panel.remote.inviteExpired":`This invite has expired. Close this dialog and create a new one.`,"panel.remote.inviteRemaining":`{minutes} minutes left; single use only.`,"panel.remote.copy":`Copy invite`,"panel.remote.copied":`Invite copied.`,"panel.remote.manualCopy":`Automatic copying failed. Select the text above and copy it manually.`,"panel.remote.added":`Remote computer added.`,"panel.remote.open":`Open in desktop window`,"panel.remote.remove":`Remove pairing`,"panel.remote.removeConfirm":`Remove pairing with “{name}” and stop access? You will need to add it again.`,"panel.remote.removed":`Pairing removed.`,"panel.remote.route":`Choose route`,"panel.remote.routeHint":`Automatic mode selects a working route. Manual mode uses only the selected channel.`,"panel.remote.modeSaved":`Route selection saved.`,"panel.remote.diagnose":`Test routes`,"panel.remote.diagnoseHint":`Test each route of this computer for connectivity.`,"panel.remote.diagnoseOk":`OK`,"panel.remote.diagnoseFail":`Failed`,"panel.remote.expiredHint":`This visit has expired. Open it again.`,"panel.remote.invalidOpenUrl":`The host did not return a valid local access URL.`,"panel.remote.externalOpenFailed":`Could not open the access window. Open the plugin panel on this computer and try again.`,"panel.remote.popupBlocked":`The new window was blocked. Allow pop-ups and try again.`,"panel.remote.shellUnavailable":`The desktop window is not installed on this computer. The default open method was used instead.`,"panel.remote.shellFellBack":`The desktop window did not start; opened in the browser instead.`,"panel.remote.authorizedTitle":`Computers allowed to access this one`,"panel.remote.unknownComputer":`Unknown computer`,"panel.remote.revoke":`Revoke access`,"panel.remote.revokeConfirm":`Revoke access to this computer for “{name}”? It will need to pair again.`,"panel.remote.revoked":`Access for this computer revoked.`,"panel.remote.state.idle":`Not open`,"panel.remote.state.connecting":`Connecting`,"panel.remote.state.connected":`Connected`,"panel.remote.state.offline":`Connection unavailable`,"panel.remote.state.expired":`Access expired`,"panel.remote.state.revoked":`Access revoked`,"panel.remote.channel.auto":`Automatic`,"panel.remote.channel.lan":`LAN`,"panel.remote.channel.direct":`Direct`,"panel.remote.channel.ipv6":`IPv6`,"panel.remote.channel.relay":`Relay`,"panel.remote.channel.tailcat":`Tailcat`,"panel.remote.channel.p2p":`P2P`},ja:{"panel.remote.title":`リモートパソコン`,"panel.remote.backConsole":`コンソールに戻る`,"panel.remote.hint":`別のパソコンを登録すると、このパソコンのデスクトップウィンドウで DSH を開けます。ウィンドウを開いている間は自動で延長され、閉じた後も最大 1 時間は保持されます。`,"panel.remote.localOnly":`このパソコンのローカルパネルからリモートパソコンを管理してください。`,"panel.remote.failed":`操作に失敗しました。ローカルのプラグインで確認して再試行してください。`,"panel.remote.errorAuth":`アクセス権が無効か取り消されています。再登録してください。`,"panel.remote.errorExpired":`アクセス期限が切れました。開き直してください。`,"panel.remote.errorTimeout":`接続がタイムアウトしました。しばらくしてから再試行してください。`,"panel.remote.errorConnect":`リモートパソコンに接続できません。ネットワークを確認して再試行してください。`,"panel.remote.errorInvitation":`招待が無効、使用済み、または期限切れです。作り直してください。`,"panel.remote.errorVersion":`相手のプラグインのバージョンが対応していません。リモートパソコンに対応したバージョンに更新してください。`,"panel.remote.createInvite":`このパソコンの招待を作成`,"panel.remote.add":`リモートパソコンを追加`,"panel.remote.empty":`リモートパソコンはありません。相手のパソコンで招待を作成し、ここに貼り付けてください。`,"panel.remote.inviteHint":`この招待をアクセスするパソコンに渡し、そちらの「リモートパソコンを追加」に貼り付けます。10 分以内に一度だけ使えます。信頼できる相手にだけ渡してください。`,"panel.remote.addHint":`相手のパソコンの使い切り招待を貼り付けてください。登録は残りますが、アクセス期限後は開き直してください。`,"panel.remote.inviteLabel":`使い切り招待`,"panel.remote.inviteExpired":`招待の期限が切れました。閉じて作り直してください。`,"panel.remote.inviteRemaining":`残り {minutes} 分、一度だけ使えます。`,"panel.remote.copy":`招待をコピー`,"panel.remote.copied":`招待をコピーしました。`,"panel.remote.manualCopy":`自動コピーできませんでした。上のテキストを選択して手動でコピーしてください。`,"panel.remote.added":`リモートパソコンを追加しました。`,"panel.remote.open":`デスクトップウィンドウで開く`,"panel.remote.remove":`登録を削除`,"panel.remote.removeConfirm":`「{name}」との登録を削除し、アクセスを停止しますか?再度追加する必要があります。`,"panel.remote.removed":`登録を削除しました。`,"panel.remote.route":`経路を選択`,"panel.remote.routeHint":`自動では接続できる経路を選びます。手動では選択した経路だけを使います。`,"panel.remote.modeSaved":`経路の選択を保存しました。`,"panel.remote.diagnose":`経路をテスト`,"panel.remote.diagnoseHint":`このパソコンの各経路の接続を個別にテストします。`,"panel.remote.diagnoseOk":`接続可`,"panel.remote.diagnoseFail":`接続不可`,"panel.remote.expiredHint":`アクセス期限が切れました。開き直してください。`,"panel.remote.invalidOpenUrl":`ホストが返した URL は有効なローカルアクセス先ではありません。`,"panel.remote.externalOpenFailed":`アクセスウィンドウを開けません。このパソコンのプラグインパネルから再試行してください。`,"panel.remote.popupBlocked":`新しいウィンドウがブロックされました。ポップアップを許可して再試行してください。`,"panel.remote.shellUnavailable":`このパソコンにデスクトップウィンドウがインストールされていないため、既定の方法で開きました。`,"panel.remote.shellFellBack":`デスクトップウィンドウが起動しなかったため、ブラウザで開きました。`,"panel.remote.authorizedTitle":`このパソコンにアクセスできるパソコン`,"panel.remote.unknownComputer":`不明なパソコン`,"panel.remote.revoke":`アクセスを取り消す`,"panel.remote.revokeConfirm":`「{name}」からこのパソコンへのアクセスを取り消しますか?再登録が必要になります。`,"panel.remote.revoked":`このパソコンのアクセス権を取り消しました。`,"panel.remote.state.idle":`未使用`,"panel.remote.state.connecting":`接続中`,"panel.remote.state.connected":`接続済み`,"panel.remote.state.offline":`接続できません`,"panel.remote.state.expired":`アクセス期限切れ`,"panel.remote.state.revoked":`アクセス取り消し済み`,"panel.remote.channel.auto":`自動選択`,"panel.remote.channel.lan":`LAN`,"panel.remote.channel.direct":`直接接続`,"panel.remote.channel.ipv6":`IPv6`,"panel.remote.channel.relay":`リレー`,"panel.remote.channel.tailcat":`Tailcat`,"panel.remote.channel.p2p":`P2P`},ko:{"panel.remote.title":`원격 컴퓨터`,"panel.remote.backConsole":`콘솔로 돌아가기`,"panel.remote.hint":`다른 컴퓨터를 연결하면 이 컴퓨터의 데스크톱 창에서 DSH를 열 수 있습니다. 창을 열어 두는 동안 자동으로 연장되며, 닫은 뒤에도 최대 1시간 유지됩니다.`,"panel.remote.localOnly":`이 컴퓨터의 로컬 패널에서 원격 컴퓨터를 관리해 주세요.`,"panel.remote.failed":`작업에 실패했습니다. 로컬 플러그인을 확인하고 다시 시도하세요.`,"panel.remote.errorAuth":`접속 권한이 유효하지 않거나 취소되었습니다. 다시 연결 등록하세요.`,"panel.remote.errorExpired":`접속이 만료되었습니다. 다시 열어 주세요.`,"panel.remote.errorTimeout":`연결 시간이 초과되었습니다. 잠시 후 다시 시도하세요.`,"panel.remote.errorConnect":`원격 컴퓨터에 연결할 수 없습니다. 네트워크를 확인하고 다시 시도하세요.`,"panel.remote.errorInvitation":`초대가 유효하지 않거나 사용 또는 만료되었습니다. 새로 만드세요.`,"panel.remote.errorVersion":`상대 플러그인 버전이 호환되지 않습니다. 원격 컴퓨터를 지원하는 버전으로 업그레이드하세요.`,"panel.remote.createInvite":`이 컴퓨터의 초대 만들기`,"panel.remote.add":`원격 컴퓨터 추가`,"panel.remote.empty":`원격 컴퓨터가 없습니다. 다른 컴퓨터에서 초대를 만들고 여기에 붙여 넣으세요.`,"panel.remote.inviteHint":`이 컴퓨터에 접속할 컴퓨터로 초대를 보내고 그곳의 “원격 컴퓨터 추가”에 붙여 넣으세요. 10분 안에 한 번만 사용할 수 있습니다. 신뢰하는 사람에게만 공유하세요.`,"panel.remote.addHint":`다른 컴퓨터의 일회용 초대를 붙여 넣으세요. 연결 등록은 유지되며 접속이 만료되면 다시 열어야 합니다.`,"panel.remote.inviteLabel":`일회용 초대`,"panel.remote.inviteExpired":`초대가 만료되었습니다. 닫은 뒤 새로 만드세요.`,"panel.remote.inviteRemaining":`{minutes}분 남음, 한 번만 사용할 수 있습니다.`,"panel.remote.copy":`초대 복사`,"panel.remote.copied":`초대를 복사했습니다.`,"panel.remote.manualCopy":`자동 복사에 실패했습니다. 위 텍스트를 선택해 직접 복사하세요.`,"panel.remote.added":`원격 컴퓨터를 추가했습니다.`,"panel.remote.open":`데스크톱 창에서 열기`,"panel.remote.remove":`연결 등록 삭제`,"panel.remote.removeConfirm":`“{name}” 연결 등록을 삭제하고 접속을 중지할까요? 다시 추가해야 합니다.`,"panel.remote.removed":`연결 등록을 삭제했습니다.`,"panel.remote.route":`경로 선택`,"panel.remote.routeHint":`자동 모드는 실제 연결 가능한 경로를 선택합니다. 수동 모드는 선택한 경로만 사용합니다.`,"panel.remote.modeSaved":`경로 선택을 저장했습니다.`,"panel.remote.diagnose":`경로 테스트`,"panel.remote.diagnoseHint":`이 컴퓨터의 각 경로 연결을 하나씩 테스트합니다.`,"panel.remote.diagnoseOk":`연결됨`,"panel.remote.diagnoseFail":`연결 안 됨`,"panel.remote.expiredHint":`접속이 만료되었습니다. 다시 열어 주세요.`,"panel.remote.invalidOpenUrl":`호스트가 유효한 로컬 접속 주소를 반환하지 않았습니다.`,"panel.remote.externalOpenFailed":`접속 창을 열 수 없습니다. 이 컴퓨터의 플러그인 패널에서 다시 시도하세요.`,"panel.remote.popupBlocked":`새 창이 차단되었습니다. 팝업을 허용한 뒤 다시 시도하세요.`,"panel.remote.shellUnavailable":`이 컴퓨터에 데스크톱 창이 설치되지 않아 기본 방식으로 열었습니다.`,"panel.remote.shellFellBack":`데스크톱 창이 뜨지 않아 브라우저로 열었습니다.`,"panel.remote.authorizedTitle":`이 컴퓨터에 접속할 수 있는 컴퓨터`,"panel.remote.unknownComputer":`알 수 없는 컴퓨터`,"panel.remote.revoke":`접속 권한 취소`,"panel.remote.revokeConfirm":`“{name}”의 이 컴퓨터 접속 권한을 취소할까요? 다시 연결 등록해야 합니다.`,"panel.remote.revoked":`이 컴퓨터의 접속 권한을 취소했습니다.`,"panel.remote.state.idle":`열리지 않음`,"panel.remote.state.connecting":`연결 중`,"panel.remote.state.connected":`연결됨`,"panel.remote.state.offline":`연결할 수 없음`,"panel.remote.state.expired":`접속 만료됨`,"panel.remote.state.revoked":`권한 취소됨`,"panel.remote.channel.auto":`자동 선택`,"panel.remote.channel.lan":`LAN`,"panel.remote.channel.direct":`직접 연결`,"panel.remote.channel.ipv6":`IPv6`,"panel.remote.channel.relay":`릴레이`,"panel.remote.channel.tailcat":`Tailcat`,"panel.remote.channel.p2p":`P2P`},de:{"panel.remote.title":`Entfernte Computer`,"panel.remote.backConsole":`Zurück zur Konsole`,"panel.remote.hint":`Kopple einen anderen Computer, um dessen DSH in einem Desktop-Fenster auf diesem Computer zu öffnen. Solange das Fenster offen ist, wird der Zugriff automatisch verlängert; nach dem Schließen bleibt er bis zu einer weiteren Stunde bestehen.`,"panel.remote.localOnly":`Öffne das lokale Panel dieses Computers, um entfernte Computer zu verwalten.`,"panel.remote.failed":`Aktion fehlgeschlagen. Prüfe das lokale Plugin und versuche es erneut.`,"panel.remote.errorAuth":`Zugriff ungültig oder widerrufen. Kopple den Computer erneut.`,"panel.remote.errorExpired":`Dieser Zugriff ist abgelaufen. Öffne ihn erneut.`,"panel.remote.errorTimeout":`Zeitüberschreitung. Versuche es gleich erneut.`,"panel.remote.errorConnect":`Verbindung zum entfernten Computer nicht möglich. Prüfe dein Netzwerk und versuche es erneut.`,"panel.remote.errorInvitation":`Einladung ungültig, verwendet oder abgelaufen. Erstelle eine neue.`,"panel.remote.errorVersion":`Die andere Plugin-Version ist nicht kompatibel. Aktualisiere auf eine Version, die entfernte Computer unterstützt.`,"panel.remote.createInvite":`Einladung für diesen Computer erstellen`,"panel.remote.add":`Entfernten Computer hinzufügen`,"panel.remote.empty":`Noch keine entfernten Computer. Erstelle auf dem anderen Computer eine Einladung und füge sie hier ein.`,"panel.remote.inviteHint":`Gib diese Einladung dem Computer, der auf diesen zugreifen soll. Füge sie dort unter „Entfernten Computer hinzufügen“ ein. Sie gilt 10 Minuten und ist einmal verwendbar. Teile sie nur mit vertrauten Personen.`,"panel.remote.addHint":`Füge die einmalige Einladung des anderen Computers ein. Die Kopplung bleibt erhalten; nach Ablauf den Zugriff erneut öffnen.`,"panel.remote.inviteLabel":`Einmalige Einladung`,"panel.remote.inviteExpired":`Die Einladung ist abgelaufen. Schließe den Dialog und erstelle eine neue.`,"panel.remote.inviteRemaining":`Noch {minutes} Minuten; nur einmal verwendbar.`,"panel.remote.copy":`Einladung kopieren`,"panel.remote.copied":`Einladung kopiert.`,"panel.remote.manualCopy":`Automatisches Kopieren fehlgeschlagen. Markiere den Text oben und kopiere ihn manuell.`,"panel.remote.added":`Entfernter Computer hinzugefügt.`,"panel.remote.open":`Im Desktop-Fenster öffnen`,"panel.remote.remove":`Kopplung entfernen`,"panel.remote.removeConfirm":`Kopplung mit „{name}“ entfernen und Zugriff beenden? Der Computer muss erneut hinzugefügt werden.`,"panel.remote.removed":`Kopplung entfernt.`,"panel.remote.route":`Route wählen`,"panel.remote.routeHint":`Automatisch wird eine erreichbare Route gewählt. Manuell wird nur der gewählte Kanal verwendet.`,"panel.remote.modeSaved":`Routenauswahl gespeichert.`,"panel.remote.diagnose":`Routen testen`,"panel.remote.diagnoseHint":`Testet die Verbindung jeder Route dieses Computers.`,"panel.remote.diagnoseOk":`Erreichbar`,"panel.remote.diagnoseFail":`Nicht erreichbar`,"panel.remote.expiredHint":`Dieser Zugriff ist abgelaufen. Öffne ihn erneut.`,"panel.remote.invalidOpenUrl":`Der Host hat keine gültige lokale Zugriffsadresse geliefert.`,"panel.remote.externalOpenFailed":`Das Zugriffsfenster konnte nicht geöffnet werden. Öffne das Plugin-Panel auf diesem Computer und versuche es erneut.`,"panel.remote.popupBlocked":`Das neue Fenster wurde blockiert. Erlaube Pop-ups und versuche es erneut.`,"panel.remote.shellUnavailable":`Auf diesem Computer ist kein Desktop-Fenster installiert. Stattdessen wurde die Standardmethode verwendet.`,"panel.remote.shellFellBack":`Das Desktop-Fenster wurde nicht gestartet; stattdessen im Browser geöffnet.`,"panel.remote.authorizedTitle":`Computer mit Zugriff auf diesen Computer`,"panel.remote.unknownComputer":`Unbekannter Computer`,"panel.remote.revoke":`Zugriff widerrufen`,"panel.remote.revokeConfirm":`Zugriff von „{name}“ auf diesen Computer widerrufen? Eine erneute Kopplung ist erforderlich.`,"panel.remote.revoked":`Zugriff für diesen Computer widerrufen.`,"panel.remote.state.idle":`Nicht geöffnet`,"panel.remote.state.connecting":`Verbindungsaufbau`,"panel.remote.state.connected":`Verbunden`,"panel.remote.state.offline":`Verbindung nicht verfügbar`,"panel.remote.state.expired":`Zugriff abgelaufen`,"panel.remote.state.revoked":`Zugriff widerrufen`,"panel.remote.channel.auto":`Automatisch`,"panel.remote.channel.lan":`LAN`,"panel.remote.channel.direct":`Direkt`,"panel.remote.channel.ipv6":`IPv6`,"panel.remote.channel.relay":`Relay`,"panel.remote.channel.tailcat":`Tailcat`,"panel.remote.channel.p2p":`P2P`},es:{"panel.remote.title":`Ordenadores remotos`,"panel.remote.backConsole":`Volver a la consola`,"panel.remote.hint":`Vincula otro ordenador para abrir su DSH en una ventana de escritorio de este ordenador. Mientras la ventana siga abierta se renueva automáticamente; tras cerrarla, el acceso se conserva hasta una hora más.`,"panel.remote.localOnly":`Abre el panel local de este ordenador para gestionar los ordenadores remotos.`,"panel.remote.failed":`Error en la operación. Revisa el complemento local e inténtalo de nuevo.`,"panel.remote.errorAuth":`Acceso no válido o revocado. Vincula de nuevo el ordenador.`,"panel.remote.errorExpired":`Este acceso ha caducado. Ábrelo de nuevo.`,"panel.remote.errorTimeout":`La conexión agotó el tiempo. Inténtalo de nuevo en un momento.`,"panel.remote.errorConnect":`No se puede conectar al ordenador remoto. Comprueba tu red e inténtalo de nuevo.`,"panel.remote.errorInvitation":`La invitación no es válida, ya se usó o caducó. Crea otra.`,"panel.remote.errorVersion":`La versión del otro complemento no es compatible. Actualiza a una versión que admita ordenadores remotos.`,"panel.remote.createInvite":`Crear invitación de este ordenador`,"panel.remote.add":`Añadir ordenador remoto`,"panel.remote.empty":`Aún no hay ordenadores remotos. Crea una invitación en el otro ordenador y pégala aquí.`,"panel.remote.inviteHint":`Entrega esta invitación al ordenador que accederá a este y pégala allí en «Añadir ordenador remoto». Solo se usa una vez en 10 minutos. Compártela solo con alguien de confianza.`,"panel.remote.addHint":`Pega la invitación de un solo uso del otro ordenador. La vinculación se conserva; vuelve a abrir el acceso cuando caduque.`,"panel.remote.inviteLabel":`Invitación de un solo uso`,"panel.remote.inviteExpired":`La invitación ha caducado. Cierra el diálogo y crea otra.`,"panel.remote.inviteRemaining":`Quedan {minutes} minutos; un solo uso.`,"panel.remote.copy":`Copiar invitación`,"panel.remote.copied":`Invitación copiada.`,"panel.remote.manualCopy":`No se pudo copiar automáticamente. Selecciona el texto de arriba y cópialo manualmente.`,"panel.remote.added":`Ordenador remoto añadido.`,"panel.remote.open":`Abrir en ventana de escritorio`,"panel.remote.remove":`Eliminar vinculación`,"panel.remote.removeConfirm":`¿Eliminar la vinculación con «{name}» y detener el acceso? Tendrás que añadirlo de nuevo.`,"panel.remote.removed":`Vinculación eliminada.`,"panel.remote.route":`Elegir ruta`,"panel.remote.routeHint":`El modo automático elige una ruta disponible. El modo manual solo usa el canal seleccionado.`,"panel.remote.modeSaved":`Selección de ruta guardada.`,"panel.remote.diagnose":`Probar rutas`,"panel.remote.diagnoseHint":`Prueba la conexión de cada ruta de este ordenador.`,"panel.remote.diagnoseOk":`Conecta`,"panel.remote.diagnoseFail":`No conecta`,"panel.remote.expiredHint":`Este acceso ha caducado. Ábrelo de nuevo.`,"panel.remote.invalidOpenUrl":`El host no devolvió una dirección de acceso local válida.`,"panel.remote.externalOpenFailed":`No se pudo abrir la ventana de acceso. Abre el panel del complemento en este ordenador e inténtalo de nuevo.`,"panel.remote.popupBlocked":`La nueva ventana fue bloqueada. Permite ventanas emergentes e inténtalo de nuevo.`,"panel.remote.shellUnavailable":`Este ordenador no tiene instalada la ventana de escritorio. Se usó el método de apertura predeterminado.`,"panel.remote.shellFellBack":`La ventana de escritorio no se abrió; se abrió en el navegador.`,"panel.remote.authorizedTitle":`Ordenadores con acceso a este`,"panel.remote.unknownComputer":`Ordenador desconocido`,"panel.remote.revoke":`Revocar acceso`,"panel.remote.revokeConfirm":`¿Revocar el acceso de «{name}» a este ordenador? Tendrá que volver a vincularse.`,"panel.remote.revoked":`Acceso de este ordenador revocado.`,"panel.remote.state.idle":`Sin abrir`,"panel.remote.state.connecting":`Conectando`,"panel.remote.state.connected":`Conectado`,"panel.remote.state.offline":`Conexión no disponible`,"panel.remote.state.expired":`Acceso caducado`,"panel.remote.state.revoked":`Acceso revocado`,"panel.remote.channel.auto":`Automático`,"panel.remote.channel.lan":`LAN`,"panel.remote.channel.direct":`Directa`,"panel.remote.channel.ipv6":`IPv6`,"panel.remote.channel.relay":`Relé`,"panel.remote.channel.tailcat":`Tailcat`,"panel.remote.channel.p2p":`P2P`},fr:{"panel.remote.title":`Ordinateurs distants`,"panel.remote.backConsole":`Retour à la console`,"panel.remote.hint":`Associez un autre ordinateur pour ouvrir son DSH dans une fenêtre de bureau sur cet ordinateur. Tant que la fenêtre reste ouverte, l’accès est renouvelé automatiquement ; après sa fermeture, il est conservé jusqu’à une heure de plus.`,"panel.remote.localOnly":`Ouvrez le panneau local de cet ordinateur pour gérer les ordinateurs distants.`,"panel.remote.failed":`Échec de l’opération. Vérifiez le plugin local et réessayez.`,"panel.remote.errorAuth":`Accès invalide ou révoqué. Associez cet ordinateur à nouveau.`,"panel.remote.errorExpired":`Cet accès a expiré. Rouvrez-le.`,"panel.remote.errorTimeout":`Délai de connexion dépassé. Réessayez dans un instant.`,"panel.remote.errorConnect":`Connexion à l’ordinateur distant impossible. Vérifiez votre réseau et réessayez.`,"panel.remote.errorInvitation":`Invitation invalide, déjà utilisée ou expirée. Créez-en une autre.`,"panel.remote.errorVersion":`La version de l’autre plugin est incompatible. Mettez à jour vers une version prenant en charge les ordinateurs distants.`,"panel.remote.createInvite":`Créer une invitation pour cet ordinateur`,"panel.remote.add":`Ajouter un ordinateur distant`,"panel.remote.empty":`Aucun ordinateur distant. Créez une invitation sur l’autre ordinateur, puis collez-la ici.`,"panel.remote.inviteHint":`Transmettez cette invitation à l’ordinateur qui accédera à celui-ci et collez-la dans « Ajouter un ordinateur distant ». Elle est utilisable une fois pendant 10 minutes. Ne la partagez qu’avec une personne de confiance.`,"panel.remote.addHint":`Collez l’invitation à usage unique de l’autre ordinateur. L’association reste enregistrée ; rouvrez l’accès après son expiration.`,"panel.remote.inviteLabel":`Invitation à usage unique`,"panel.remote.inviteExpired":`Cette invitation a expiré. Fermez la fenêtre et créez-en une autre.`,"panel.remote.inviteRemaining":`Encore {minutes} minutes ; usage unique.`,"panel.remote.copy":`Copier l’invitation`,"panel.remote.copied":`Invitation copiée.`,"panel.remote.manualCopy":`La copie automatique a échoué. Sélectionnez le texte ci-dessus et copiez-le manuellement.`,"panel.remote.added":`Ordinateur distant ajouté.`,"panel.remote.open":`Ouvrir dans une fenêtre de bureau`,"panel.remote.remove":`Supprimer l’association`,"panel.remote.removeConfirm":`Supprimer l’association avec « {name} » et arrêter l’accès ? Il faudra ajouter cet ordinateur à nouveau.`,"panel.remote.removed":`Association supprimée.`,"panel.remote.route":`Choisir une route`,"panel.remote.routeHint":`Le mode automatique choisit une route disponible. Le mode manuel utilise uniquement le canal choisi.`,"panel.remote.modeSaved":`Choix de route enregistré.`,"panel.remote.diagnose":`Tester les routes`,"panel.remote.diagnoseHint":`Teste la connexion de chaque route de cet ordinateur.`,"panel.remote.diagnoseOk":`OK`,"panel.remote.diagnoseFail":`Échec`,"panel.remote.expiredHint":`Cet accès a expiré. Rouvrez-le.`,"panel.remote.invalidOpenUrl":`L’hôte n’a pas renvoyé une adresse d’accès local valide.`,"panel.remote.externalOpenFailed":`Impossible d’ouvrir la fenêtre d’accès. Ouvrez le panneau du plugin sur cet ordinateur et réessayez.`,"panel.remote.popupBlocked":`La nouvelle fenêtre a été bloquée. Autorisez les fenêtres surgissantes et réessayez.`,"panel.remote.shellUnavailable":`La fenêtre de bureau n’est pas installée sur cet ordinateur. La méthode d’ouverture par défaut a été utilisée.`,"panel.remote.shellFellBack":`La fenêtre de bureau ne s’est pas ouverte ; ouverte dans le navigateur.`,"panel.remote.authorizedTitle":`Ordinateurs autorisés à accéder à celui-ci`,"panel.remote.unknownComputer":`Ordinateur inconnu`,"panel.remote.revoke":`Révoquer l’accès`,"panel.remote.revokeConfirm":`Révoquer l’accès de « {name} » à cet ordinateur ? Une nouvelle association sera nécessaire.`,"panel.remote.revoked":`Accès de cet ordinateur révoqué.`,"panel.remote.state.idle":`Non ouvert`,"panel.remote.state.connecting":`Connexion en cours`,"panel.remote.state.connected":`Connecté`,"panel.remote.state.offline":`Connexion indisponible`,"panel.remote.state.expired":`Accès expiré`,"panel.remote.state.revoked":`Accès révoqué`,"panel.remote.channel.auto":`Automatique`,"panel.remote.channel.lan":`Réseau local`,"panel.remote.channel.direct":`Direct`,"panel.remote.channel.ipv6":`IPv6`,"panel.remote.channel.relay":`Relais`,"panel.remote.channel.tailcat":`Tailcat`,"panel.remote.channel.p2p":`P2P`},pt:{"panel.remote.title":`Computadores remotos`,"panel.remote.backConsole":`Voltar ao console`,"panel.remote.hint":`Vincule outro computador para abrir o DSH dele em uma janela de desktop deste computador. Enquanto a janela estiver aberta, o acesso é renovado automaticamente; ao fechá-la, ele é mantido por até mais uma hora.`,"panel.remote.localOnly":`Abra o painel local deste computador para gerenciar computadores remotos.`,"panel.remote.failed":`Falha na operação. Confira o plugin local e tente novamente.`,"panel.remote.errorAuth":`Acesso inválido ou revogado. Vincule este computador novamente.`,"panel.remote.errorExpired":`Este acesso expirou. Abra novamente.`,"panel.remote.errorTimeout":`A conexão expirou. Tente novamente em instantes.`,"panel.remote.errorConnect":`Não foi possível conectar ao computador remoto. Verifique sua rede e tente novamente.`,"panel.remote.errorInvitation":`O convite é inválido, já foi usado ou expirou. Crie outro.`,"panel.remote.errorVersion":`A versão do outro plugin é incompatível. Atualize para uma versão compatível com computadores remotos.`,"panel.remote.createInvite":`Criar convite deste computador`,"panel.remote.add":`Adicionar computador remoto`,"panel.remote.empty":`Nenhum computador remoto. Crie um convite no outro computador e cole aqui.`,"panel.remote.inviteHint":`Envie este convite ao computador que acessará este e cole em “Adicionar computador remoto”. Ele pode ser usado uma vez em 10 minutos. Compartilhe apenas com alguém de confiança.`,"panel.remote.addHint":`Cole o convite de uso único do outro computador. O vínculo é mantido; abra o acesso novamente após expirar.`,"panel.remote.inviteLabel":`Convite de uso único`,"panel.remote.inviteExpired":`Este convite expirou. Feche a janela e crie outro.`,"panel.remote.inviteRemaining":`Restam {minutes} minutos; uso único.`,"panel.remote.copy":`Copiar convite`,"panel.remote.copied":`Convite copiado.`,"panel.remote.manualCopy":`Não foi possível copiar automaticamente. Selecione o texto acima e copie manualmente.`,"panel.remote.added":`Computador remoto adicionado.`,"panel.remote.open":`Abrir na janela de desktop`,"panel.remote.remove":`Remover vínculo`,"panel.remote.removeConfirm":`Remover o vínculo com “{name}” e parar o acesso? Será preciso adicionar novamente.`,"panel.remote.removed":`Vínculo removido.`,"panel.remote.route":`Escolher rota`,"panel.remote.routeHint":`O modo automático escolhe uma rota disponível. O modo manual usa apenas o canal selecionado.`,"panel.remote.modeSaved":`Seleção de rota salva.`,"panel.remote.diagnose":`Testar rotas`,"panel.remote.diagnoseHint":`Testa a conexão de cada rota deste computador.`,"panel.remote.diagnoseOk":`Conecta`,"panel.remote.diagnoseFail":`Sem conexão`,"panel.remote.expiredHint":`Este acesso expirou. Abra novamente.`,"panel.remote.invalidOpenUrl":`O host não retornou um endereço de acesso local válido.`,"panel.remote.externalOpenFailed":`Não foi possível abrir a janela de acesso. Abra o painel do plugin neste computador e tente novamente.`,"panel.remote.popupBlocked":`A nova janela foi bloqueada. Permita pop-ups e tente novamente.`,"panel.remote.shellUnavailable":`A janela de desktop não está instalada neste computador. O método de abertura padrão foi usado.`,"panel.remote.shellFellBack":`A janela de desktop não abriu; aberta no navegador.`,"panel.remote.authorizedTitle":`Computadores com acesso a este`,"panel.remote.unknownComputer":`Computador desconhecido`,"panel.remote.revoke":`Revogar acesso`,"panel.remote.revokeConfirm":`Revogar o acesso de “{name}” a este? Será preciso vincular novamente.`,"panel.remote.revoked":`Acesso deste computador revogado.`,"panel.remote.state.idle":`Não aberto`,"panel.remote.state.connecting":`Conectando`,"panel.remote.state.connected":`Conectado`,"panel.remote.state.offline":`Conexão indisponível`,"panel.remote.state.expired":`Acesso expirado`,"panel.remote.state.revoked":`Acesso revogado`,"panel.remote.channel.auto":`Automático`,"panel.remote.channel.lan":`LAN`,"panel.remote.channel.direct":`Direto`,"panel.remote.channel.ipv6":`IPv6`,"panel.remote.channel.relay":`Retransmissão`,"panel.remote.channel.tailcat":`Tailcat`,"panel.remote.channel.p2p":`P2P`},ru:{"panel.remote.title":`Удалённые компьютеры`,"panel.remote.backConsole":`Вернуться в консоль`,"panel.remote.hint":`Подключите другой компьютер, чтобы открыть его DSH в окне рабочего стола на этом компьютере. Пока окно открыто, доступ продлевается автоматически; после закрытия он сохраняется ещё до одного часа.`,"panel.remote.localOnly":`Откройте локальную панель этого компьютера для управления удалёнными компьютерами.`,"panel.remote.failed":`Ошибка операции. Проверьте локальный плагин и повторите попытку.`,"panel.remote.errorAuth":`Доступ недействителен или отозван. Подключите компьютер заново.`,"panel.remote.errorExpired":`Срок доступа истёк. Откройте заново.`,"panel.remote.errorTimeout":`Время подключения истекло. Повторите попытку чуть позже.`,"panel.remote.errorConnect":`Не удалось подключиться к удалённому компьютеру. Проверьте сеть и повторите попытку.`,"panel.remote.errorInvitation":`Приглашение недействительно, использовано или просрочено. Создайте новое.`,"panel.remote.errorVersion":`Версия другого плагина несовместима. Обновите до версии с поддержкой удалённых компьютеров.`,"panel.remote.createInvite":`Создать приглашение этого компьютера`,"panel.remote.add":`Добавить удалённый компьютер`,"panel.remote.empty":`Удалённых компьютеров нет. Создайте приглашение на другом компьютере и вставьте его сюда.`,"panel.remote.inviteHint":`Передайте приглашение компьютеру, который будет подключаться к этому, и вставьте там в «Добавить удалённый компьютер». Оно действует 10 минут и используется один раз. Передавайте только тем, кому доверяете.`,"panel.remote.addHint":`Вставьте одноразовое приглашение другого компьютера. Связь сохраняется; после истечения срока откройте доступ заново.`,"panel.remote.inviteLabel":`Одноразовое приглашение`,"panel.remote.inviteExpired":`Срок приглашения истёк. Закройте окно и создайте новое.`,"panel.remote.inviteRemaining":`Осталось {minutes} мин.; одно использование.`,"panel.remote.copy":`Копировать приглашение`,"panel.remote.copied":`Приглашение скопировано.`,"panel.remote.manualCopy":`Не удалось скопировать автоматически. Выделите текст выше и скопируйте вручную.`,"panel.remote.added":`Удалённый компьютер добавлен.`,"panel.remote.open":`Открыть в окне рабочего стола`,"panel.remote.remove":`Удалить связь`,"panel.remote.removeConfirm":`Удалить связь с «{name}» и остановить доступ? Потребуется добавить компьютер заново.`,"panel.remote.removed":`Связь удалена.`,"panel.remote.route":`Выбрать маршрут`,"panel.remote.routeHint":`Автоматический режим выбирает рабочий маршрут. Ручной использует только выбранный канал.`,"panel.remote.modeSaved":`Выбор маршрута сохранён.`,"panel.remote.diagnose":`Проверить маршруты`,"panel.remote.diagnoseHint":`Проверяет соединение по каждому маршруту этого компьютера.`,"panel.remote.diagnoseOk":`Есть связь`,"panel.remote.diagnoseFail":`Нет связи`,"panel.remote.expiredHint":`Срок доступа истёк. Откройте заново.`,"panel.remote.invalidOpenUrl":`Хост вернул недопустимый адрес локального доступа.`,"panel.remote.externalOpenFailed":`Не удалось открыть окно доступа. Откройте панель плагина на этом компьютере и повторите попытку.`,"panel.remote.popupBlocked":`Новое окно заблокировано. Разрешите всплывающие окна и повторите попытку.`,"panel.remote.shellUnavailable":`На этом компьютере не установлено окно рабочего стола. Использован способ открытия по умолчанию.`,"panel.remote.shellFellBack":`Окно рабочего стола не запустилось; открыто в браузере.`,"panel.remote.authorizedTitle":`Компьютеры с доступом к этому компьютеру`,"panel.remote.unknownComputer":`Неизвестный компьютер`,"panel.remote.revoke":`Отозвать доступ`,"panel.remote.revokeConfirm":`Отозвать доступ «{name}» к этому компьютеру? Потребуется повторное подключение.`,"panel.remote.revoked":`Доступ этого компьютера отозван.`,"panel.remote.state.idle":`Не открыт`,"panel.remote.state.connecting":`Подключение`,"panel.remote.state.connected":`Подключено`,"panel.remote.state.offline":`Соединение недоступно`,"panel.remote.state.expired":`Срок доступа истёк`,"panel.remote.state.revoked":`Доступ отозван`,"panel.remote.channel.auto":`Автоматически`,"panel.remote.channel.lan":`Локальная сеть`,"panel.remote.channel.direct":`Напрямую`,"panel.remote.channel.ipv6":`IPv6`,"panel.remote.channel.relay":`Ретранслятор`,"panel.remote.channel.tailcat":`Tailcat`,"panel.remote.channel.p2p":`P2P`}}],fg=(()=>{let e={"zh-Hans":{},"zh-Hant":{},en:{},ja:{},ko:{},de:{},es:{},fr:{},pt:{},ru:{}};for(let t of Object.keys(e))e[t]=lg(dg.map(e=>e[t]??{}));return e})();function $(e,t){return ug(fg,sg(),e,t)}function pg(...e){return e.filter(Boolean).join(` `)}var mg={ok:`bg-success`,warn:`bg-warning`,error:`bg-error`,off:`bg-foreground-subtle`},hg={ok:`text-success`,warn:`text-warning`,error:`text-error`,off:`text-foreground-muted`};function gg(e){if(e==null||e===0||e===``)return`—`;let t=new Date(e);if(Number.isNaN(t.getTime()))return String(e);try{return t.toLocaleString(ig(),{hour12:!1})}catch{return t.toLocaleString(void 0,{hour12:!1})}}function _g(e){return e===`connected`?`ok`:e===`error`?`error`:e===`connecting`?`warn`:`off`}function vg(e){let t={connected:`panel.status.connected`,connecting:`panel.status.connecting`,error:`panel.status.error`,off:`panel.status.off`};return t[e]?$(t[e]):e}function yg(e,t){return t?e===`listening`?`ok`:e===`error`?`error`:`warn`:`off`}function bg(e,t){return t?e===`listening`?$(`panel.lan.listening`):e===`error`?$(`panel.lan.error`):e:$(`panel.lan.off`)}function xg(e){let t={healthy:`panel.sidecar.healthy`,starting:`panel.sidecar.starting`,restarting:`panel.sidecar.restarting`,error:`panel.sidecar.error`,stopped:`panel.sidecar.stopped`};return t[e]?$(t[e]):e}function Sg(){return(0,g.useSyncExternalStore)(og,ig,ig)}var Cg=`(max-width: 767px)`;function wg(){let[e,t]=(0,g.useState)(()=>typeof window<`u`&&typeof window.matchMedia==`function`&&window.matchMedia(Cg).matches);return(0,g.useEffect)(()=>{if(typeof window>`u`||typeof window.matchMedia!=`function`)return;let e=window.matchMedia(Cg),n=()=>t(e.matches);return n(),e.addEventListener(`change`,n),()=>e.removeEventListener(`change`,n)},[]),e}function Tg(){return(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,G.jsx)(`circle`,{cx:`12`,cy:`12`,r:`9`}),(0,G.jsx)(`path`,{d:`M3.6 9h16.8M3.6 15h16.8`}),(0,G.jsx)(`path`,{d:`M12 3c2.4 2.4 3.6 5.4 3.6 9s-1.2 6.6-3.6 9c-2.4-2.4-3.6-5.4-3.6-9S9.6 5.4 12 3Z`})]})}function Eg({checked:e}){return(0,G.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,className:pg(`size-4.5 shrink-0 stroke-2`,e?`visible`:`invisible`),children:(0,G.jsx)(`path`,{d:`M4.3 12.55 L9.25 17.5 L19.7 6.5`})})}function Dg(){let e=Sg(),t=$(`panel.language.open`),n=wg(),[r,i]=(0,g.useState)(!1),a=rg(),o=(0,G.jsx)(Q,{variant:`soft`,size:`icon-md`,className:`pointer-events-auto rounded-full shadow-sm`,"aria-label":t,title:`${t} · ${Uh[e]}`,children:(0,G.jsx)(Tg,{})});if(n){let e=(e,t)=>{let n=a===e;return(0,G.jsxs)(`button`,{type:`button`,role:`radio`,"aria-checked":n,onClick:()=>{ag(e),i(!1)},className:pg(`flex w-full cursor-pointer items-center justify-between gap-3 rounded-md px-3 py-2.5 text-left text-sm transition-colors hover:bg-background-muted`,n?`text-foreground-intense`:`text-foreground`),children:[(0,G.jsx)(`span`,{className:`min-w-0 truncate`,children:t}),(0,G.jsx)(Eg,{checked:n})]},e)};return(0,G.jsxs)(Kp,{open:r,onOpenChange:i,children:[(0,G.jsx)(qp,{render:o}),(0,G.jsxs)(tm,{closeLabel:$(`panel.common.close`),children:[(0,G.jsx)(nm,{children:(0,G.jsx)(rm,{children:t})}),(0,G.jsx)(im,{className:`px-3 pb-3`,children:(0,G.jsxs)(`div`,{role:`radiogroup`,"aria-label":t,className:`flex flex-col gap-0.5`,children:[e(`system`,$(`panel.language.system`)),(0,G.jsx)(`div`,{className:`my-1 h-px shrink-0 bg-border`}),Hh.map(t=>e(t,Uh[t]))]})})]})]})}return(0,G.jsxs)(jh,{children:[(0,G.jsx)(Mh,{render:o}),(0,G.jsx)(Fh,{align:`end`,style:{width:`auto`,minWidth:`11rem`},children:(0,G.jsxs)(zh,{value:a,onValueChange:e=>ag(e),children:[(0,G.jsx)(Bh,{value:`system`,children:$(`panel.language.system`)}),(0,G.jsx)(Rh,{}),Hh.map(e=>(0,G.jsx)(Bh,{value:e,children:Uh[e]},e))]})})]})}var Og={local:new Map,session:new Map};function kg(e,t){let n=Og[e],r=n.get(t);return r||(r=new Set,n.set(t,r)),r}function Ag(e,t){Og[e].get(t)?.forEach(e=>e())}function jg(e){try{return e===`session`?window.sessionStorage:window.localStorage}catch{return null}}var Mg=0;function Ng(e){for(let t of[`local`,`session`]){let n=jg(t);e.storageArea&&n&&e.storageArea!==n||(e.key===null?Og[t].forEach(e=>e.forEach(e=>e())):Og[t].get(e.key)?.forEach(e=>e()))}}function Pg(){Mg===0&&typeof window<`u`&&window.addEventListener(`storage`,Ng),Mg++}function Fg(){Mg--,Mg===0&&typeof window<`u`&&window.removeEventListener(`storage`,Ng)}var Ig=new Map;function Lg(e,t,n,r={}){let i=(0,g.useRef)(n),a=(0,g.useRef)(r.serializer),o=(0,g.useRef)(r.deserializer);a.current=r.serializer,o.current=r.deserializer;let s=(0,g.useCallback)(()=>{if(!t)return i.current;let n=jg(e),r=null;try{r=n?.getItem(t)??null}catch{r=null}if(r===null)return i.current;let a=e+`:`+t,s=Ig.get(a);if(s&&s.raw===r)return s.value;let c;try{c=o.current?o.current(r):JSON.parse(r)}catch{c=i.current}return Ig.set(a,{raw:r,value:c}),c},[e,t]),c=(0,g.useCallback)(n=>{if(!t)return()=>{};let r=kg(e,t);return r.add(n),Pg(),()=>{r.delete(n),Fg()}},[e,t]),l=(0,g.useCallback)(()=>i.current,[]);return[(0,g.useSyncExternalStore)(c,s,l),(0,g.useCallback)(n=>{if(!t)return;let r=typeof n==`function`?n(s()):n;try{let n=a.current?a.current(r):JSON.stringify(r);jg(e)?.setItem(t,n)}catch{}Ag(e,t)},[e,t,s]),(0,g.useCallback)(()=>{if(t){try{jg(e)?.removeItem(t)}catch{}Ag(e,t)}},[e,t])]}var Rg=g.createContext(void 0),zg={theme:void 0,setTheme:()=>{},resolvedTheme:void 0,systemTheme:void 0,themes:[],forcedTheme:void 0,mounted:!1};function Bg(){return g.useContext(Rg)??zg}function Vg(){return Bg()}var Hg=`data-ds-dark-theme`,Ug=`data-ds-theme-source`;function Wg(){try{if(typeof window>`u`||window.parent===window)return null;let e=window.parent.document;return e&&e.documentElement?e:null}catch{return null}}function Gg(e){let t=e.body;if(t)return t.hasAttribute(Hg)?`dark`:`light`;let n=e.documentElement.getAttribute(Ug);return n===`dark`?`dark`:n===`light`?`light`:null}function Kg(){try{return window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`}catch{return`light`}}var qg=`dsh-mobile-console-theme`;function Jg(){try{let e=typeof localStorage>`u`?null:localStorage.getItem(qg);return e===`dark`||e===`light`?e:null}catch{return null}}function Yg(e){try{typeof localStorage<`u`&&(e?localStorage.setItem(qg,e):localStorage.removeItem(qg))}catch{}$g(Qg());for(let e of Xg)e()}var Xg=new Set;function Zg(e){return Xg.add(e),()=>Xg.delete(e)}function Qg(){let e=Jg();if(e)return e;let t=Wg();if(t){let e=Gg(t);if(e)return e}return Kg()}function $g(e){if(typeof document>`u`)return;let t=document.documentElement;t.classList.remove(`light`,`dark`),t.classList.add(e),t.style.colorScheme=e}function e_(){let e=()=>$g(Qg());e();let t=[],n=Wg();if(n&&typeof MutationObserver==`function`){let r=new MutationObserver(e);r.observe(n.body||n.documentElement,{attributes:!0,attributeFilter:[Hg]}),r.observe(n.documentElement,{attributes:!0,attributeFilter:[Ug,`class`]}),t.push(()=>r.disconnect())}try{let n=window.matchMedia(`(prefers-color-scheme: dark)`),r=()=>e();n.addEventListener(`change`,r),t.push(()=>n.removeEventListener(`change`,r))}catch{}return()=>{for(let e of t)e()}}function t_(){let[e,t]=(0,g.useState)(()=>Qg());return(0,g.useEffect)(()=>Zg(()=>t(Qg())),[]),e}function n_(){return(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,G.jsx)(`circle`,{cx:`12`,cy:`12`,r:`4`}),(0,G.jsx)(`path`,{d:`M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41`})]})}function r_(){return(0,G.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:(0,G.jsx)(`path`,{d:`M20.5 14.5A8.5 8.5 0 0 1 9.5 3.5a8.5 8.5 0 1 0 11 11Z`})})}function i_(){let{resolvedTheme:e,setTheme:t}=Vg(),n=e===`dark`,r=$(n?`panel.theme.toDay`:`panel.theme.toNight`);return(0,G.jsx)(Q,{variant:`soft`,size:`icon-md`,className:`pointer-events-auto rounded-full shadow-sm`,"aria-label":r,title:r,onClick:()=>t(n?`light`:`dark`),children:n?(0,G.jsx)(n_,{}):(0,G.jsx)(r_,{})})}function a_(){let e=t_()===`dark`,t=$(e?`panel.theme.toDay`:`panel.theme.toNight`);return(0,G.jsx)(Q,{variant:`soft`,size:`icon-md`,className:`pointer-events-auto rounded-full shadow-sm`,"aria-label":t,title:t,onClick:()=>Yg(e?`light`:`dark`),children:e?(0,G.jsx)(n_,{}):(0,G.jsx)(r_,{})})}function o_(){return(0,G.jsxs)(`div`,{className:`pointer-events-none fixed end-6 top-6 z-40 flex items-center gap-2`,children:[(0,G.jsx)(Dg,{}),(0,G.jsx)(i_,{})]})}var s_=`dsh-mobile-plugin:panel-visibility`,c_=null;function l_(){return c_===!1?!1:typeof document>`u`||!document.hidden}function u_(){if(typeof window>`u`||window.parent===window)return()=>{};let e=e=>{let t=e&&e.data;t&&typeof t==`object`&&t.type===s_&&(c_=t.visible===!0)};return window.addEventListener(`message`,e),()=>{window.removeEventListener(`message`,e),c_=null}}var d_=(0,g.createContext)({});function f_(e){let t=(0,g.useRef)(null);return t.current===null&&(t.current=e()),t.current}var p_=typeof window<`u`?g.useLayoutEffect:g.useEffect,m_=(0,g.createContext)(null);function h_(e,t){e.indexOf(t)===-1&&e.push(t)}function g_(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var __=(e,t,n)=>n>t?t:n<e?e:n,v_={},y_=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),b_=e=>typeof e==`object`&&!!e,x_=e=>/^0[^.\s]+$/u.test(e);function S_(e){let t;return()=>(t===void 0&&(t=e()),t)}var C_=e=>e,w_=(...e)=>e.reduce((e,t)=>n=>t(e(n))),T_=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1},E_=class{constructor(){this.subscriptions=[]}add(e){return h_(this.subscriptions,e),()=>this.remove(e)}remove(e){g_(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},D_=e=>e*1e3,O_=e=>e/1e3,k_=(e,t)=>t?1e3/t*e:0,A_=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e},j_=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,M_=1e-7,N_=12;function P_(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=j_(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>M_&&++s<N_);return o}function F_(e,t,n,r){if(e===t&&n===r)return C_;let i=t=>P_(t,0,1,e,n);return e=>e===0||e===1?e:j_(i(e),t,r)}var I_=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,L_=e=>t=>1-e(1-t),R_=F_(.33,1.53,.69,.99),z_=L_(R_),B_=I_(z_),V_=e=>e>=1?1:(e*=2)<1?.5*z_(e):.5*(2-2**(-10*(e-1))),H_=e=>1-Math.sin(Math.acos(e)),U_=L_(H_),W_=I_(H_),G_=F_(.42,0,1,1),K_=F_(0,0,.58,1),q_=F_(.42,0,.58,1),J_=e=>Array.isArray(e)&&typeof e[0]!=`number`;function Y_(e,t){return J_(e)?e[A_(0,e.length,t)]:e}var X_=e=>Array.isArray(e)&&typeof e[0]==`number`,Z_={linear:C_,easeIn:G_,easeInOut:q_,easeOut:K_,circIn:H_,circInOut:W_,circOut:U_,backIn:z_,backInOut:B_,backOut:R_,anticipate:V_},Q_=e=>typeof e==`string`,$_=e=>{if(X_(e)){e.length;let[t,n,r,i]=e;return F_(t,n,r,i)}return Q_(e)?(Z_[e],`${e}`,Z_[e]):e},ev={delta:0,timestamp:0,isProcessing:!1},tv;function nv(){tv=void 0}var rv={now:()=>(tv===void 0&&rv.set(ev.isProcessing||v_.useManualTiming?ev.timestamp:performance.now()),tv),set:e=>{tv=e,queueMicrotask(nv)}},iv=e=>Math.round(e*1e5)/1e5,av=e=>t=>typeof t==`string`&&t.startsWith(e),ov=av(`--`),sv=av(`var(--`),cv=e=>sv(e)?lv.test(e.split(`/*`)[0].trim()):!1,lv=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function uv(e){return typeof e==`string`&&e.split(`/*`)[0].includes(`var(--`)}var dv={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},fv={...dv,transform:e=>__(0,1,e)},pv={...dv,default:1},mv=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function hv(e){return e==null}var gv=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,_v=(e,t)=>n=>!!(typeof n==`string`&&gv.test(n)&&n.startsWith(e)||t&&!hv(n)&&Object.prototype.hasOwnProperty.call(n,t)),vv=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(mv);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},yv=e=>__(0,255,e),bv={...dv,transform:e=>Math.round(yv(e))},xv={test:_v(`rgb`,`red`),parse:vv(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+bv.transform(e)+`, `+bv.transform(t)+`, `+bv.transform(n)+`, `+iv(fv.transform(r))+`)`};function Sv(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var Cv={test:_v(`#`),parse:Sv,transform:xv.transform},wv=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Tv=wv(`deg`),Ev=wv(`%`),Dv=wv(`px`),Ov=wv(`vh`),kv=wv(`vw`),Av={...Ev,parse:e=>Ev.parse(e)/100,transform:e=>Ev.transform(e*100)},jv={test:_v(`hsl`,`hue`),parse:vv(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+Ev.transform(iv(t))+`, `+Ev.transform(iv(n))+`, `+iv(fv.transform(r))+`)`},Mv={test:e=>xv.test(e)||Cv.test(e)||jv.test(e),parse:e=>xv.test(e)?xv.parse(e):jv.test(e)?jv.parse(e):Cv.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?xv.transform(e):jv.transform(e),getAnimatableNone:e=>{let t=Mv.parse(e);return t.alpha=0,Mv.transform(t)}},Nv=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,Pv=new RegExp(mv.source),Fv=new RegExp(Nv.source,`i`);function Iv(e){return isNaN(e)&&typeof e==`string`&&(Pv.test(e)||Fv.test(e))}var Lv=`number`,Rv=`color`,zv=`var`,Bv=`var(`,Vv="${}",Hv=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Uv(e){let t=e.toString();return Pv.test(t)||Fv.test(t)}function Wv(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(Hv,e=>(Mv.test(e)?(r.color.push(a),i.push(Rv),n.push(Mv.parse(e))):e.startsWith(Bv)?(r.var.push(a),i.push(zv),n.push(e)):(r.number.push(a),i.push(Lv),n.push(parseFloat(e))),++a,Vv)).split(Vv),indexes:r,types:i}}function Gv(e){return Wv(e).values}function Kv({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];i+=e===Lv?iv(r[a]):e===Rv?Mv.transform(r[a]):r[a]}return i}}function qv(e){return Kv(Wv(e))}var Jv=e=>typeof e==`number`?0:Mv.test(e)?Mv.getAnimatableNone(e):e,Yv=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:Jv(e);function Xv(e){let t=Wv(e);return Kv(t)(t.values.map((e,n)=>Yv(e,t.split[n])))}var Zv={test:Iv,parse:Gv,createTransformer:qv,getAnimatableNone:Xv};function Qv(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function $v({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=Qv(s,r,e+1/3),a=Qv(s,r,e),o=Qv(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function ey(e,t){return n=>n>0?t:e}var ty=(e,t,n)=>e+(t-e)*n,ny=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},ry=[Cv,xv,jv],iy=e=>ry.find(t=>t.test(e));function ay(e){let t=iy(e);if(!t)return`${e}`,!1;let n=t.parse(e);return t===jv&&(n=$v(n)),n}var oy=(e,t)=>{let n=ay(e),r=ay(t);if(!n||!r)return ey(e,t);let i={...n};return e=>(i.red=ny(n.red,r.red,e),i.green=ny(n.green,r.green,e),i.blue=ny(n.blue,r.blue,e),i.alpha=ty(n.alpha,r.alpha,e),xv.transform(i))},sy=new Set([`none`,`hidden`]);function cy(e,t){return sy.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function ly(e,t){return n=>ty(e,t,n)}function uy(e){return typeof e==`number`?ly:typeof e==`string`?cv(e)?ey:Mv.test(e)?oy:my:Array.isArray(e)?dy:typeof e==`object`?Mv.test(e)?oy:fy:ey}function dy(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>uy(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function fy(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=uy(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function py(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]],s=e.values[o]??0;n[i]=s,r[a]++}return n}var my=(e,t)=>{let n=Zv.createTransformer(t),r=Wv(e),i=Wv(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?sy.has(e)&&!i.values.length||sy.has(t)&&!r.values.length?cy(e,t):w_(dy(py(r,i),i.values),n):(`${e}${t}`,ey(e,t))},hy=/^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;function gy(e,t){let n=hy.exec(e);if(!n)return;let r=hy.exec(t);if(!r||n[2]!==r[2])return;let i=n[2],a=parseFloat(n[1]),o=parseFloat(r[1]);return e=>iv(ty(a,o,e))+i}function _y(e,t,n){if(typeof e==`number`&&typeof t==`number`&&typeof n==`number`)return ty(e,t,n);if(typeof e==`string`&&typeof t==`string`){let n=gy(e,t);if(n)return n}return uy(e)(e,t)}var vy=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`];function yy(e){let t=new Set,n=new Set,r=!1,i=!1,a=new Set,o={delta:0,timestamp:0,isProcessing:!1};function s(t){a.has(t)&&(n.add(t),e()),t(o)}let c={schedule:(e,i=!1,o=!1)=>{let s=o&&r?t:n;return i&&a.add(e),s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0;let a=t;t=n,n=a,t.forEach(s),t.clear(),r=!1,i&&(i=!1,c.process(e))}};return c}var by=40;function xy(e,t,n={delta:0,timestamp:0,isProcessing:!1}){let r=!1,i=!0,a=()=>r=!0,o=vy.reduce((e,t)=>(e[t]=yy(a),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=v_.useManualTiming,o=a?n.timestamp:performance.now();r=!1,a||(n.delta=i?1e3/60:Math.max(Math.min(o-n.timestamp,by),1)),n.timestamp=o,n.isProcessing=!0,s.process(n),c.process(n),l.process(n),u.process(n),d.process(n),f.process(n),p.process(n),m.process(n),n.isProcessing=!1,r&&t&&(i=!1,e(h))},g=()=>{r=!0,i=!0,n.isProcessing||e(h)};return{schedule:vy.reduce((e,t)=>{let n=o[t];return e[t]=(e,t=!1,i=!1)=>(r||g(),n.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<vy.length;t++)o[vy[t]].cancel(e)},state:n,steps:o}}var{schedule:Sy,cancel:Cy,steps:wy}=xy(typeof requestAnimationFrame<`u`?requestAnimationFrame:C_,!0,ev),Ty=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>Sy.update(t,e),stop:()=>Cy(t),now:()=>ev.isProcessing?ev.timestamp:rv.now()}},Ey=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},Dy=2e4;function Oy(e,t=50,n=Dy,r){let i=0,a=e.next(i);for(r?.push(a.value);!a.done&&i<n;)i+=t,a=e.next(i),r?.push(a.value);return i>=n?1/0:i}function ky(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(Oy(r),Dy);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:O_(i)}}var Ay={stiffness:100,damping:10,mass:1,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05},jy=e=>e<0?1/Math.max(1+e,Ay.minDamping):Math.max(1-e,Ay.minDamping);function My(e,t){if(!(e>1))return 1;let n=Math.sqrt(e*e-1),r=e-n,i=e+n,a=2*n*Math.exp(-t)*(1+t);return Fy(e=>i*Math.exp(-r*e)-r*Math.exp(-i*e)-a,e=>Math.exp(-i*e)-Math.exp(-r*e),t)/t}function Ny(e,t){return e*Math.sqrt(1-t*t)}var Py=12;function Fy(e,t,n){let r=n;for(let n=1;n<Py;n++)r-=e(r)/t(r);return r}var Iy=.001;function Ly({duration:e=Ay.duration,bounce:t=Ay.bounce}){let n,r;Ay.maxDuration;let i=jy(t);e=__(Ay.minDuration,Ay.maxDuration,O_(e)),i<1?(n=t=>{let n=t*i,r=n*e,a=Ny(t,i),o=Math.exp(-r);return Iy-n/a*o},r=t=>{let r=t*i*e,a=i*i*t*t*e,o=Math.exp(-r),s=Ny(t*t,i);return(-n(t)+Iy>0?-1:1)*-a*o/s}):(n=t=>-.001+Math.exp(-t*e)*(t*e+1),r=t=>Math.exp(-t*e)*(-t*(e*e)));let a=5/e,o=Fy(n,r,a),s=o*My(i,o*e),c=s*s;return{stiffness:c,damping:i*2*Math.sqrt(c),duration:D_(e)}}var Ry=(e,t)=>(t?e>=0:e>0)&&e<1/0;function zy(e,t){if(Ry(e,t))return e}function By(e){let t=zy(e.stiffness),n=zy(e.damping,!0),r=zy(e.mass),i={...e,stiffness:t??Ay.stiffness,damping:n??Ay.damping,mass:r??Ay.mass,isResolvedFromDuration:!1,isTimeDefined:(t??n??r)===void 0&&(e.duration!==void 0||e.bounce!==void 0)};if(i.isTimeDefined){if(e.visualDuration){let t=jy(e.bounce||0),n=2*Math.PI/(e.visualDuration*1.2)*My(t,2*Math.PI/1.2);i.stiffness=n*n,i.damping=2*t*Math.sqrt(i.stiffness)}else Object.assign(i,Ly(i)),i.isResolvedFromDuration=!0;(!Ry(i.stiffness)||!Ry(i.damping,!0))&&(i.stiffness=Ay.stiffness,i.damping=Ay.damping)}return i}function Vy(e=Ay.visualDuration,t=Ay.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},r=n.keyframes[0],i=n.keyframes[n.keyframes.length-1],a={done:!1,value:r},{stiffness:o,damping:s,mass:c,duration:l,isResolvedFromDuration:u,isTimeDefined:d}=By({...n}),f=e=>d?0:-O_(e),p=s/(2*Math.sqrt(o*c)),m=O_(Math.sqrt(o/c)),h=p*m,g={target:i,delta:i-r,velocity:f(n.velocity||0)||0,restSpeed:0,restDelta:0},_=()=>{let e=Math.abs(g.delta)<5;g.restSpeed=n.restSpeed||(e?Ay.restSpeed.granular:Ay.restSpeed.default),g.restDelta=n.restDelta||(e?Ay.restDelta.granular:Ay.restDelta.default)};_();let v,y,b;if(p<1){let e=Ny(m,p),t={A:0,sinC:0,cosC:0,t:-1,env:0,sin:0,cos:0};b=()=>{t.A=(g.velocity+h*g.delta)/e,t.sinC=h*t.A+g.delta*e,t.cosC=h*g.delta-t.A*e};let n=n=>{n!==t.t&&(t.t=n,t.env=Math.exp(-h*n),t.sin=Math.sin(e*n),t.cos=Math.cos(e*n))};v=e=>(n(e),g.target-t.env*(t.A*t.sin+g.delta*t.cos)),y=e=>(n(e),t.env*(t.sinC*t.sin+t.cosC*t.cos))}else if(p===1){v=e=>g.target-Math.exp(-m*e)*(g.delta+(g.velocity+m*g.delta)*e);let e={C:0};b=()=>{e.C=g.velocity+m*g.delta},y=t=>Math.exp(-m*t)*(m*e.C*t-g.velocity)}else{let e=m*Math.sqrt(p*p-1),t=h-e,n=h+e,r=d?1/0:300/e,i=(e,t)=>Math.exp(t>r?-e*r-h*(t-r):-e*t),a={S:0,F:0};b=()=>{let t=(g.velocity+h*g.delta)/e;a.S=(g.delta+t)/2,a.F=(g.delta-t)/2},v=e=>g.target-a.S*i(t,e)-a.F*i(n,e),y=e=>t*a.S*i(t,e)+n*a.F*i(n,e)}b();let x=u&&l||null,S={calculatedDuration:x,retarget:(e,t)=>{g.target=e[e.length-1],g.delta=g.target-e[0],g.velocity=f(t),n.restSpeed&&n.restDelta||_(),S.calculatedDuration=x,a.done=!1,b()},velocity:e=>D_(y(e)),next:e=>{let t=v(e);if(u)a.done=e>=l;else{let n=D_(y(e));a.done=Math.abs(n)<=g.restSpeed&&Math.abs(g.target-t)<=g.restDelta}return a.value=a.done?g.target:t,a},toString:()=>{let e=Math.min(Oy(S),Dy),t=Ey(t=>S.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return S}Vy.applyToOptions=e=>{let t=ky(e,100,Vy);return e.ease=t.ease,e.duration=D_(t.duration),e.type=`keyframes`,e};function Hy({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>e<s||e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>{let t=v(e);f.done=Math.abs(t)<=l,f.value=f.done?_:_+t},b,x,S=e=>{p(f.value)&&(b=e,x=Vy({keyframes:[f.value,m(f.value)],velocity:-v(e)/r*1e3,damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return!x&&b===void 0&&(t=!0,y(e),S(e)),b!==void 0&&e>=b?x.next(e-b):(!t&&y(e),f)}}}function Uy(e,t,n){let r=[],i=n||v_.mix||_y,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=w_(Array.isArray(t)?t[n]||C_:t,a)),r.push(a)}return r}function Wy(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=Uy(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=T_(e[r],e[r+1],n);return s[r](i)};return n?t=>l(__(e[0],e[a-1],t)):l}function Gy(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=T_(0,t,r);e.push(ty(n,1,i))}}function Ky(e){let t=[0];return Gy(t,e.length-1),t}function qy(e,t){return e.map(e=>e*t)}function Jy(e,t){return e.map(()=>t||q_).splice(0,e.length-1)}function Yy({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=J_(r)?r.map($_):$_(r)||q_,a={done:!1,value:t[0]};if(t.length===2&&!Array.isArray(i)&&(!n||n.length!==2||n[0]===0&&n[1]===1)){let[n,r]=t,o=n===r?void 0:(v_.mix||_y)(n,r);return{calculatedDuration:e,next:t=>(a.value=o?o(i(e>0?__(0,1,t/e):1)):r,a.done=t>=e,a)}}let o=Wy(qy(n&&n.length===t.length?n:Ky(t),e),t,{ease:Array.isArray(i)?i:Jy(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var Xy=5;function Zy(e,t,n){let r=Math.max(t-Xy,0);return k_(n-e(r),t-r)}function Qy(e,t,n=0){return t<=0?n:e.velocity?e.velocity(t):Zy(t=>e.next(t).value,t,e.next(t).value)}var $y=e=>e!==null;function eb(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter($y),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var tb={decay:Hy,inertia:Hy,tween:Yy,keyframes:Yy,spring:Vy};function nb(e){typeof e.type==`string`&&(e.type=tb[e.type])}function rb(e,t){return{kind:e,animation:t,timestamp:rv.now(),frameTimestamp:ev.timestamp,frameIsProcessing:ev.isProcessing}}function ib(e,t,n){let r=globalThis.__MOTION_INSPECT__;if(r)try{r({...rb(`animation-start`,e),options:n?{...t,...n}:t})}catch{}}var ab=class{constructor(){this.isResolved=!1}get finished(){return this._finished||=this.isResolved?Promise.resolve():new Promise(e=>{this._resolve=e}),this._finished}updateFinished(){this._finished=this._resolve=void 0,this.isResolved=!1}notifyFinished(){this.isResolved=!0,this._resolve?.()}then(e,t){return this.finished.then(e,t)}},ob=e=>e/100,sb=class extends ab{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==rv.now()&&this.tick(rv.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause(),ib(this,this.options)}initAnimation(){let{options:e}=this;nb(e);let{type:t=Yy,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||Yy;s!==Yy&&typeof o[0]!=`number`&&(this.mixKeyframes=w_(ob,_y(o[0],o[1])),o=[0,100]);let c=s(o===e.keyframes?e:{...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=Oy(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.currentTime=this.holdTime===null?t:this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=__(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==Hy&&(b.value=eb(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return O_(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+O_(e)}get time(){return O_(this.currentTime)}set time(e){e=D_(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){return Qy(this.generator,this.currentTime,this.options.velocity)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(rv.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=O_(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Ty,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(rv.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}},cb=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function lb(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(mv)||[];if(!r)return e;let i=n.replace(r,``),a=+!!cb.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var ub=/\b([a-z-]*)\(.*?\)/gu,db={...Zv,getAnimatableNone:e=>{let t=e.match(ub);return t?t.map(lb).join(` `):e}},fb={...Zv,getAnimatableNone:e=>{let t=Zv.parse(e);return Zv.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},pb={...dv,transform:Math.round},mb={rotate:Tv,pathRotation:Tv,rotateX:Tv,rotateY:Tv,rotateZ:Tv,scale:pv,scaleX:pv,scaleY:pv,scaleZ:pv,skew:Tv,skewX:Tv,skewY:Tv,distance:Dv,translateX:Dv,translateY:Dv,translateZ:Dv,x:Dv,y:Dv,z:Dv,perspective:Dv,transformPerspective:Dv,opacity:fv,originX:Av,originY:Av,originZ:Dv},hb={borderWidth:Dv,borderTopWidth:Dv,borderRightWidth:Dv,borderBottomWidth:Dv,borderLeftWidth:Dv,borderRadius:Dv,borderTopLeftRadius:Dv,borderTopRightRadius:Dv,borderBottomRightRadius:Dv,borderBottomLeftRadius:Dv,width:Dv,maxWidth:Dv,height:Dv,maxHeight:Dv,top:Dv,right:Dv,bottom:Dv,left:Dv,inset:Dv,insetBlock:Dv,insetBlockStart:Dv,insetBlockEnd:Dv,insetInline:Dv,insetInlineStart:Dv,insetInlineEnd:Dv,padding:Dv,paddingTop:Dv,paddingRight:Dv,paddingBottom:Dv,paddingLeft:Dv,paddingBlock:Dv,paddingBlockStart:Dv,paddingBlockEnd:Dv,paddingInline:Dv,paddingInlineStart:Dv,paddingInlineEnd:Dv,margin:Dv,marginTop:Dv,marginRight:Dv,marginBottom:Dv,marginLeft:Dv,marginBlock:Dv,marginBlockStart:Dv,marginBlockEnd:Dv,marginInline:Dv,marginInlineStart:Dv,marginInlineEnd:Dv,fontSize:Dv,backgroundPositionX:Dv,backgroundPositionY:Dv,...mb,zIndex:pb,fillOpacity:fv,strokeOpacity:fv,numOctaves:pb},gb={...hb,color:Mv,backgroundColor:Mv,outlineColor:Mv,fill:Mv,stroke:Mv,borderColor:Mv,borderTopColor:Mv,borderRightColor:Mv,borderBottomColor:Mv,borderLeftColor:Mv,filter:db,WebkitFilter:db,mask:fb,WebkitMask:fb},_b=e=>gb[e],vb=new Set([db,fb]);function yb(e,t){let n=_b(e);return vb.has(n)||(n=Zv),n.getAnimatableNone?n.getAnimatableNone(t):void 0}function bb(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var xb=e=>e*180/Math.PI,Sb=e=>wb(xb(Math.atan2(e[1],e[0]))),Cb={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Sb,rotateZ:Sb,skewX:e=>xb(Math.atan(e[1])),skewY:e=>xb(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},wb=e=>(e%=360,e<0&&(e+=360),e),Tb=Sb,Eb=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Db=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Ob={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Eb,scaleY:Db,scale:e=>(Eb(e)+Db(e))/2,rotateX:e=>wb(xb(Math.atan2(e[6],e[5]))),rotateY:e=>wb(xb(Math.atan2(-e[2],e[0]))),rotateZ:Tb,rotate:Tb,skewX:e=>xb(Math.atan(e[4])),skewY:e=>xb(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function kb(e){return+!!e.includes(`scale`)}function Ab(e,t){if(!e||e===`none`)return kb(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=Ob,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Cb,i=t}if(!i)return kb(t);let a=r[t],o=i[1].split(`,`).map(Mb);return typeof a==`function`?a(o):o[a]}var jb=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return Ab(n,t)};function Mb(e){return parseFloat(e.trim())}var Nb=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Pb=new Set([...Nb,`pathRotation`]),Fb=e=>e===dv||e===Dv,Ib=new Set([`x`,`y`,`z`]),Lb=Nb.filter(e=>!Ib.has(e));function Rb(e){let t=[];return Lb.forEach(n=>{let r=e.getValue(n);if(r!==void 0){let e=r.get(),i=+!!n.startsWith(`scale`);if(e===i)return;t.push([n,e]),r.set(i)}}),t}var zb=new Set([`bottom`,`right`]);function Bb(e,t,n,r,i,a){let o=parseFloat(e);if(!isNaN(o))return o;let{min:s,max:c}=t()[n],l=c-s;return a===`border-box`?l:l-parseFloat(r)-parseFloat(i)}var Vb={width:({width:e,paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r},i)=>Bb(e,i,`x`,t,n,r),height:({height:e,paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r},i)=>Bb(e,i,`y`,t,n,r),top:({top:e})=>parseFloat(e),left:({left:e})=>parseFloat(e),bottom:({top:e},t)=>{let{y:n}=t();return parseFloat(e)+(n.max-n.min)},right:({left:e},t)=>{let{x:n}=t();return parseFloat(e)+(n.max-n.min)},x:({transform:e})=>Ab(e,`x`),y:({transform:e})=>Ab(e,`y`)};Vb.translateX=Vb.x,Vb.translateY=Vb.y;var Hb=new Set,Ub=!1,Wb=!1,Gb=!1;function Kb(){if(Wb){let e=[],t=new Set,n=new Set;Hb.forEach(r=>{r.needsMeasurement&&(e.push(r),t.add(r.element),zb.has(r.name)&&n.add(r.element))});let r=new Map;n.forEach(e=>{let t=Rb(e);t.length&&(r.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}Wb=!1,Ub=!1,Hb.forEach(e=>e.complete(Gb)),Hb.clear()}function qb(){Hb.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Wb=!0)})}function Jb(){Gb=!0,qb(),Kb(),Gb=!1}function Yb(e,t,n){if(typeof e==`string`){if(y_(e)||x_(e))return parseFloat(e);if(!Zv.test(e)&&Zv.test(n))return yb(t,n)}return e??void 0}var Xb=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(Hb.add(this),Ub||(Ub=!0,Sy.read(qb),Sy.resolveKeyframes(Kb))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=Yb(n.readValue(t,a),t,a);r!==void 0&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}bb(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Hb.delete(this)}cancel(){this.state===`scheduled`&&(Hb.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},Zb=e=>e.startsWith(`--`);function Qb(e,t,n){Zb(t)?e.style.setProperty(t,n):e.style[t]=n}var $b={};function ex(e,t){let n=S_(e);return()=>$b[t]??n()}var tx=ex(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),nx=ex(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),rx=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,ix={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:rx([0,.65,.55,1]),circOut:rx([.55,0,1,.45]),backIn:rx([.31,.01,.66,-.59]),backOut:rx([.33,1.53,.69,.99])};function ax(e,t){if(e)return typeof e==`function`?nx()?Ey(e,t):`ease-out`:X_(e)?rx(e):Array.isArray(e)?e.map(e=>ax(e,t)||ix.easeOut):ix[e]}function ox(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=ax(s,i);Array.isArray(d)&&(u.easing=d);let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};return l&&(f.pseudoElement=l),e.animate(u,f)}function sx(e){return typeof e==`function`&&`applyToOptions`in e}function cx({type:e,...t}){return sx(e)&&nx()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var lx=class extends ab{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=cx(e);this.animation=ox(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=eb(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),Qb(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()},ib(this,e,c)}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e!==`idle`&&e!==`finished`&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return O_(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+O_(e)}get time(){return O_(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=D_(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`finished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,onAttach:t,observe:n,...r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&tx()?(this.animation.timeline=e,Object.assign(this.animation,r),t?.(this.animation),C_):n(this)}},ux={anticipate:V_,backInOut:B_,circInOut:W_};function dx(e){return e in ux}function fx(e){typeof e.ease==`string`&&dx(e.ease)&&(e.ease=ux[e.ease])}var px=10,mx=class extends lx{constructor(e){fx(e),nb(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new sb({...a,autoplay:!1}),s=Math.max(px,rv.now()-this.startTime),c=__(0,px,s-px),l=o.sample(s).value,{name:u}=this.options;i&&u&&Qb(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},hx=(e,t)=>t!==`zIndex`&&!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(Zv.test(e)||e===`0`)&&!e.startsWith(`url(`));function gx(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function _x(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=hx(i,t),s=hx(a,t);return!o||!s?(o!==s&&`${t}${i}${a}${o?a:i}`,!1):gx(e)||(n===`spring`||sx(n))&&r}function vx(e){e.duration=0,e.type=`keyframes`}var yx=new Set([`opacity`,`clipPath`,`filter`,`transform`,`backgroundColor`]),bx=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function xx(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&bx.test(e[t]))return!0;return!1}var Sx=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),Cx=S_(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function wx(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!n||!(yx.has(n)||Sx.has(n)))return!1;let c=t?.owner?.current;if(!(c instanceof HTMLElement)&&!(c instanceof SVGElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return Cx()&&(yx.has(n)||Sx.has(n)&&xx(s))&&(n!==`transform`||!u)&&!l&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var Tx=40,Ex=class extends ab{constructor(e){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=rv.now();let{keyframes:t,name:n,motionValue:r,element:i}=e,a=e;a.autoplay??=!0,a.delay??=0,a.type??=`keyframes`,a.repeat??=0,a.repeatDelay??=0,a.repeatType??=`loop`;let o=i?.KeyframeResolver||Xb;this.keyframeResolver=new o(t,(e,t,n)=>this.onKeyframesResolved(e,t,a,!n),n,r,i),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=rv.now();let u=!0;_x(e,i,a,o)||(u=!1,(v_.instantAnimations||!s)&&l?.(eb(e,n,t)),e[0]=e[e.length-1],vx(n),n.repeat=0);let d=r?this.resolvedAt&&this.resolvedAt-this.createdAt>Tx?this.resolvedAt:this.createdAt:void 0,{onComplete:f}=n;n.startTime??=d,n.finalKeyframe=t,n.keyframes=e,n.onComplete=()=>{f?.(),this.notifyFinished()};let p=u&&!c&&wx(n),m;if(p){n.element=n.motionValue?.owner?.current;try{m=new mx(n)}catch{m=new sb(n)}}else m=new sb(n);this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this._animation.finished:super.finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Jb()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}},Dx=class{constructor(e){this.stop=()=>this.runAll(`stop`),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e){let t=this.animations.map(t=>t.attachTimeline(e));return()=>{t.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll(`time`)}set time(e){this.setAll(`time`,e)}get speed(){return this.getAll(`speed`)}set speed(e){this.setAll(`speed`,e)}get state(){return this.getAll(`state`)}get startTime(){return this.getAll(`startTime`)}get duration(){return Ox(this.animations,`duration`)}get iterationDuration(){return Ox(this.animations,`iterationDuration`)}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll(`play`)}pause(){this.runAll(`pause`)}cancel(){this.runAll(`cancel`)}complete(){this.runAll(`complete`)}};function Ox(e,t){let n=0;for(let r=0;r<e.length;r++){let i=e[r][t];i!==null&&i>n&&(n=i)}return n}var kx=class extends Dx{then(e,t){return this.finished.finally(e).then(()=>{})}};function Ax(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var jx=30,Mx=e=>!isNaN(parseFloat(e)),Nx={current:void 0},Px=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=rv.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.notifyChange(),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=rv.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Mx(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){var n;return e===`change`?this.onChangeSubscribe(t):((n=this.events)[e]||(n[e]=new E_)).add(t)}onChangeSubscribe(e){let{events:t}=this;return!t.change&&!this.changeSubscriber?this.changeSubscriber=e:(t.change||(t.change=new E_,t.change.add(this.changeSubscriber),this.changeSubscriber=void 0),t.change.add(e)),()=>{this.changeSubscriber===e?this.changeSubscriber=void 0:t.change?.remove(e),this.stopIfUnobserved()}}stopIfUnobserved(){Sy.read(()=>{!this.changeSubscriber&&!this.events.change?.getSize()&&this.stop()})}clearListeners(){this.changeSubscriber=void 0;for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.notifyChange()}notifyChange(){let{current:e,changeSubscriber:t}=this;t?t(e):this.events.change?.notify(e)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return Nx.current&&Nx.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=rv.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>jx)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,jx);return k_(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0;let n=!1,r;r=e(()=>{n=!0,this.events.animationComplete?.notify(),this.animation===r&&this.clearAnimation(),t()}),n||(this.animation=r),this.events.animationStart?.notify()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){this.animation=void 0}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function Fx(e,t){return new Px(e,t)}function Ix(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function Lx(e,t){let n=e?.[t]??e?.default??e;return n===e?n:Ix(n,e)}var Rx={type:`spring`,stiffness:500,damping:25,restSpeed:10},zx=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Bx={type:`keyframes`,duration:.8},Vx={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},Hx=(e,{keyframes:t})=>t.length>2?Bx:Pb.has(e)?e.startsWith(`scale`)?zx(t[1]):Rx:Vx,Ux=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function Wx(e){for(let t in e)if(!Ux.has(t))return!0;return!1}var Gx=(e,t,n,r={},i,a)=>o=>{let s=Lx(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=D_(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};Wx(s)||Object.assign(u,Hx(e,u)),u.duration&&=D_(u.duration),u.repeatDelay&&=D_(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(vx(u),u.delay===0&&(d=!0)),(v_.instantAnimations||v_.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,vx(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=eb(u.keyframes,s);if(e!==void 0){Sy.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new sb(u):new Ex(u)},Kx=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function qx(e){let t=Kx.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function Jx(e,t,n=1){`${e}`;let[r,i]=qx(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return y_(e)?parseFloat(e):e}return cv(i)?Jx(i,t,n+1):i}function Yx(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function Xx(e,t,n,r){let i=t=>typeof t==`function`?t(n===void 0?e.custom:n,...Yx(r)):t;return t=i(t),typeof t==`string`&&(t=e.variants&&e.variants[t]),i(t)}function Zx(e,t,n){return Xx(e.getProps(),t,n,e)}var Qx=(e,t)=>t===`exit`?e.presenceContext?.custom:void 0,$x=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Nb]),eS=e=>Array.isArray(e);function tS(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Fx(n))}function nS(e){return eS(e)?e[e.length-1]||0:e}function rS(e,t){let{transitionEnd:n={},transition:r={},...i}=Zx(e,t)||{};i={...i,...n};for(let t in i)tS(e,t,nS(i[t]))}var iS=e=>!!(e&&e.getVelocity);function aS(e){return!!(iS(e)&&e.add)}function oS(e,t){let n=e.getValue(`willChange`);if(aS(n))return n.add(t);if(!n&&v_.WillChange){let n=new v_.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function sS(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var cS=`data-`+sS(`framerAppearId`);function lS(e){return e.props[cS]}var uS=typeof window<`u`;function dS({protectedKeys:e,needsAnimating:t},n){let r=n in e&&!t[n];return t[n]=!1,r}function fS(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?Ix(a,c):c;let l=a?.reduceMotion,u=a?.skipAnimations;r&&(a=r);let d=[],f=i&&e.animationState?.getState()[i],p=a?.path;p&&p.animateVisualElement(e,s,a,n,d);for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||f&&dS(f,t))continue;let o={delay:n,...Lx(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){Sy.update(()=>r.set(i));continue}let p=!1;if(uS&&window.MotionHandoffAnimation){let n=lS(e);if(n){let e=window.MotionHandoffAnimation(n,t,Sy);e!==null&&(o.startTime=e,p=!0)}}oS(e,t);let m=l??e.shouldReduceMotion;r.start(Gx(t,r,i,m&&$x.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>Sy.update(()=>{o&&rS(e,o)});d.length?Promise.all(d).then(t):t()}return d}function pS(e,t,n={}){let r=Zx(e,t,Qx(e,n.type)),i=n.transitionOverride||(r?.transition??(e.getDefaultTransition()||{})),a=()=>Promise.all(r?fS(e,r,n):[]),o=(r=0)=>{let{variantChildren:a}=e,{delayChildren:o=0,staggerChildren:s,staggerDirection:c}=i,l=[];return a?.forEach(e=>{e.notify(`AnimationStart`,t),l.push(pS(e,t,{...n,delay:r+(typeof o==`function`?0:o)+Ax(a,e,o,s,c)}).then(()=>e.notify(`AnimationComplete`,t)))}),Promise.all(l)},{when:s}=i;return s?s===`beforeChildren`?a().then(()=>o()):o().then(a):Promise.all([a(),o(n.delay)])}function mS(e,t,n={}){return e.notify(`AnimationStart`,t),(Array.isArray(t)?Promise.all(t.map(t=>pS(e,t,n))):typeof t==`string`?pS(e,t,n):Promise.all(fS(e,Zx(e,t,n.custom),n))).then(()=>{e.notify(`AnimationComplete`,t)})}var hS={test:e=>e===`auto`,parse:e=>e},gS=e=>t=>t.test(e),_S=[dv,Dv,Ev,Tv,kv,Ov,hS],vS=e=>_S.find(gS(e));function yS(e){return typeof e==`number`?e===0:e===null||e===`none`||e===`0`||x_(e)}var bS=new Set([`auto`,`none`,`0`]);function xS(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!bS.has(t)&&Uv(t)&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]!==i&&(e[r]=yb(n,i))}var SS=class extends Xb{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),cv(r))){let i=Jx(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!$x.has(n)||e.length!==2)return;let[r,i]=e;if(typeof r==`number`&&typeof i==`number`)return;let a=vS(r),o=vS(i);if(uv(r)!==uv(i)&&Vb[n]){this.needsMeasurement=!0;return}if(a!==o){if(Fb(a)&&Fb(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else Vb[n]&&(this.needsMeasurement=!0)}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||yS(e[t]))&&n.push(t);n.length&&xS(e,n,t)}measure(){let{element:e,name:t}=this;return Vb[t](window.getComputedStyle(e.current),()=>e.measureViewportBox())}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=this.measure(),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&this.motionValue?.jump(r,!1)}measureEndState(){let{element:e,unresolvedKeyframes:t}=this;if(!e||!e.current)return;this.motionValue?.jump(this.measuredOrigin,!1);let n=t.length-1,r=t[n];t[n]=this.measure(),r!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}},CS=[];function wS(e){typeof e.test==`function`&&e.read,TS(e),CS.unshift(e)}function TS(e){g_(CS,e)}function ES(e){return CS.find(t=>t.test(e))}function DS(e,t,n={},r){let i=[],{velocity:a}=n,o=n.reduceMotion??r?.shouldReduceMotion;for(let s in t){if(s===`transition`||s===`transitionEnd`)continue;let c=t[s];if(c===void 0)continue;let l=e(s),u=l.get();if(u!==void 0&&!l.isAnimating()&&!Array.isArray(c)&&c===u&&!a){Sy.update(()=>l.set(c));continue}l.start(Gx(s,l,c,o&&$x.has(s)?{type:!1}:n,r)),l.animation&&i.push(l.animation)}let{transitionEnd:s}=t;if(s){let t=()=>Sy.update(()=>{for(let t in s)e(t).set(s[t])});i.length?Promise.all(i).then(t):t()}return i}function OS(e,t,n,r,i){return DS(r=>{let a=e.get(t,r);if(!a){let o;if(!i){let i=n[r];o=kS(i)??e.read(t,r,i),`${r}`}a=Fx(o,{owner:i}),e(t,{[r]:a})}return a},n,r,i)}function kS(e){let t=Array.isArray(e)?e[0]:void 0;return t===null?void 0:t}function AS(e){return b_(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}function jS(e){return b_(e)&&`ownerSVGElement`in e}var MS=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function NS(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var PS=class{constructor(e=Sy.render){this.step=e,this.values=new Map,this.pending=[],this.numPending=0,this.flush=()=>{let{pending:e,numPending:t}=this;this.numPending=0;for(let n=0;n<t;n++)e[n]()}}set(e,t,n,r){if(this.values.get(e)?.onRemove(),r)for(let e of this.values.values())e.value===r&&(n=e.render);let i=()=>n&&this.schedule(n);t.get()!==void 0&&i();let a=t.on(`change`,i),o=()=>{a(),n&&!r&&this.cancel(n),this.values.get(e)?.onRemove===o&&this.values.delete(e)};return this.values.set(e,{value:t,render:r?void 0:n,onRemove:o}),o}get(e){return this.values.get(e)?.value}release(){let e=new Map;return this.values.forEach((t,n)=>{e.set(n,t.value),t.onRemove()}),this.transformKeys=this.transformValues=void 0,e}schedule(e){let{pending:t,numPending:n}=this;for(let r=0;r<n;r++)if(t[r]===e)return;n||this.step(this.flush),t[this.numPending++]=e}cancel(e){let{pending:t}=this;for(let n=0;n<this.numPending;n++)if(t[n]===e){t[n]=t[--this.numPending];return}}};function FS(e,{step:t,...n}={}){let r=new WeakMap;return Object.assign((n,i)=>{let a=r.get(n)??new PS(t);r.set(n,a);let o=[];for(let t in i){let r=i[t],s=e(n,a,t,r);o.push(s)}return()=>{for(let e of o)e()}},n,{get:(e,t)=>r.get(e)?.get(t),flush:e=>r.get(e)?.flush(),state:e=>r.get(e)})}var IS={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},LS={};function RS(e){let t=``,{transformKeys:n=[],transformValues:r={}}=e;for(let e=0;e<n.length;e++){let i=n[e],a=r[i].get();a!==void 0&&(typeof a==`number`?a:parseFloat(a))!==+!!i.startsWith(`scale`)&&(t+=(t&&` `)+(LS[i]||(LS[i]=(IS[i]||i)+`(`))+MS(a,mb[i])+`)`)}let i=e.get(`pathRotation`)?.get();return i&&(t+=(t&&` `)+`rotate(`+MS(i,mb.pathRotation)+`)`),t||`none`}var zS=new Set([`originX`,`originY`,`originZ`]),BS=(e,t)=>MS(e.get(t)?.get(),hb[t]),VS=(e,t,n,r)=>{let i,a;if(Pb.has(n)){if(n!==`pathRotation`){let e=t.transformKeys??=[];(t.transformValues??={})[n]=r,e.includes(n)||(e.push(n),e.sort((e,t)=>Nb.indexOf(e)-Nb.indexOf(t)))}t.get(`transform`)||(!AS(e)&&!t.get(`transformBox`)&&VS(e,t,`transformBox`,new Px(`fill-box`)),t.set(`transform`,new Px(`none`),()=>{e.style.transform=RS(t)})),a=t.get(`transform`)}else zS.has(n)?(t.get(`transformOrigin`)||t.set(`transformOrigin`,new Px(``),()=>{let n=BS(t,`originX`)??`50%`,r=BS(t,`originY`)??`50%`,i=BS(t,`originZ`)??0;e.style.transformOrigin=`${n} ${r} ${i}`}),a=t.get(`transformOrigin`)):i=Zb(n)?()=>{e.style.setProperty(n,r.get())}:()=>{e.style[n]=MS(r.get(),hb[n])};return t.set(n,r,i,a)},HS=e=>AS(e)||jS(e),US=(e,t)=>{if(Pb.has(t))return jb(e,t);let n=getComputedStyle(e),r=Zb(t)?n.getPropertyValue(t):n[t];return typeof r==`string`&&r.trim()||0},WS=FS(VS,{test:HS,read:US}),GS={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},KS=Nb.length;function qS(e,t,n){let r=``,i=!0;for(let a=0;a<KS;a++){let o=Nb[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=MS(s,hb[o]);if(!c){i=!1;let t=GS[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${MS(a,hb.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function JS(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(Pb.has(e)){o=!0;continue}if(ov(e)){i[e]=n;continue}{let t=MS(n,hb[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=qS(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}var YS={offset:`stroke-dashoffset`,array:`stroke-dasharray`},XS={offset:`strokeDashoffset`,array:`strokeDasharray`};function ZS(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?YS:XS;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var QS=[`transform`,`opacity`,`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function $S(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(JS(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;for(let e of QS)d[e]!==void 0&&(f[e]=d[e],delete d[e]);(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox),t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&ZS(d,i,a,o,!1)}function eC(e,t){if(!(t in e))return!1;let n=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),t)||Object.getOwnPropertyDescriptor(e,t);return n&&typeof n.set==`function`}var tC=(e,t,n,r,i=n)=>{let a=eC(e,i);!a&&(i.startsWith(`data`)||i.startsWith(`aria`))&&(i=sS(i));let o=hb[n]||hb[i],s=a?()=>{e[i]=MS(r.get(),hb[n])}:()=>{let t=MS(r.get(),o);t==null?e.removeAttribute(i):e.setAttribute(i,String(t))};return t.set(n,r,s)};function nC(e,t,n,r){return Sy.render(()=>e.setAttribute(`pathLength`,`1`)),n===`pathOffset`?t.set(n,r,()=>{let t=r.get();e.setAttribute(`stroke-dashoffset`,`${-t}`)}):(t.get(`stroke-dasharray`)||t.set(`stroke-dasharray`,new Px(`1 1`),()=>{let n=t.get(`pathLength`)?.get()??1,r=t.get(`pathSpacing`)?.get();e.setAttribute(`stroke-dasharray`,`${n} ${r??1-Number(n)}`)}),t.set(n,r,void 0,t.get(`stroke-dasharray`)))}var rC=FS((e,t,n,r)=>n.startsWith(`path`)?nC(e,t,n,r):n.startsWith(`attr`)?tC(e,t,n,r,iC(n)):(Pb.has(n)||zS.has(n)||Zb(n)||n in e.style?VS:tC)(e,t,n,r),{test:jS,read:(e,t)=>Pb.has(t)?hb[t]?.default||0:Zb(t)||QS.includes(t)?US(e,t)||e.getAttribute(sS(t))||0:(t=iC(t),e.getAttribute(sS(t))??e.getAttribute(t)??void 0)});function iC(e){return e.replace(/^attr([A-Z])/,(e,t)=>t.toLowerCase())}function aC({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function oC(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function sC(e,t){return aC(oC(e.getBoundingClientRect(),t))}var cC={},lC=e=>jS(e)?rC:WS,uC=class{constructor(e,t){this.effect=e,this.current=t,this.KeyframeResolver=SS}getValue(e){return this.effect.get(this.current,e)}readValue(e,t){return this.effect.read(this.current,e,t)}render(){this.effect.flush(this.current)}measureViewportBox(){return sC(this.current)}getProps(){return cC}};function dC(e,t,n,r){if(r)return DS(e=>r.getValue(e,null),t,n,r);let i=lC(e);return OS(i,e,t,n,new uC(i,e))}var fC=FS((e,t,n,r)=>t.set(n,r,()=>{e[n]=r.get()}),{test:e=>b_(e),read:(e,t)=>{let n=e[t];return typeof n==`string`||typeof n==`number`?n:void 0}}),{schedule:pC,cancel:mC}=xy(queueMicrotask,!1),hC={x:!1,y:!1};function gC(){return hC.x||hC.y}function _C(e,t){let n=NS(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function vC(e){return!(e.pointerType===`touch`||gC())}function yC(e,t,n={}){let[r,i,a]=_C(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!vC(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var bC=(e,t)=>t?e===t||bC(e,t.parentElement):!1,xC=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,SC=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function CC(e){return SC.has(e.tagName)||e.isContentEditable===!0}var wC=new WeakSet;function TC(e){return t=>{t.key===`Enter`&&e(t)}}function EC(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var DC=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=TC(()=>{if(wC.has(n))return;EC(n,`down`);let e=TC(()=>{EC(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>EC(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function OC(e){return xC(e)&&!gC()}var kC=new WeakSet;function AC(e,t,n={}){let[r,i,a]=_C(e,n),o=e=>{let r=e.currentTarget;if(!OC(e)||kC.has(e))return;wC.add(r),n.stopPropagation&&kC.add(e);let a=t(r,e),o={...i,capture:!0},s=(e,t)=>{window.removeEventListener(`pointerup`,c,o),window.removeEventListener(`pointercancel`,l,o),wC.has(r)&&wC.delete(r),OC(e)&&typeof a==`function`&&a(e,{success:t})},c=e=>{s(e,r===window||r===document||n.useGlobalTarget||bC(r,e.target))},l=e=>{s(e,!1)};window.addEventListener(`pointerup`,c,o),window.addEventListener(`pointercancel`,l,o)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),AS(e)&&(e.addEventListener(`focus`,e=>DC(e,i)),!CC(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function jC(...e){let t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],a=e[2+n],o=e[3+n],s=Wy(i,a,o);return t?s(r):s}var MC=()=>({min:0,max:0}),NC=()=>({x:MC(),y:MC()}),PC=new WeakMap;function FC(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function IC(e){return typeof e==`string`||Array.isArray(e)}var LC=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],RC=[`initial`,...LC];function zC(e){if(FC(e.animate))return!0;for(let t=0;t<RC.length;t++)if(IC(e[RC[t]]))return!0;return!1}function BC(e){return!!(zC(e)||e.variants)}function VC(e,t,n){for(let r in t){let i=t[r],a=n[r];if(iS(i))e.addValue(r,i);else if(iS(a))e.addValue(r,Fx(i,{owner:e}));else if(a!==i){if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,Fx(t===void 0?i:t,{owner:e}))}}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var HC={current:null},UC={current:!1},WC=typeof window<`u`;function GC(){if(UC.current=!0,WC){if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>HC.current=e.matches;e.addEventListener(`change`,t),t()}else HC.current=!1}}var KC=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],qC={};function JC(e){qC=e}function YC(){return qC}var XC=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Xb,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=rv.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,Sy.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=zC(t),this.isVariantNode=BC(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&iS(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];if(this.current=e,PC.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.isVariantNode&&!this.isControllingVariants){let e=this;do e=e.props.inherit!==!1&&e.parent;while(e&&!e.isVariantNode);if(e){let{variantChildren:t}=e;t.add(this),this.removeFromVariantTree=()=>t.delete(this)}}this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(UC.current||GC(),this.shouldReduceMotion=HC.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Cy(this.notifyUpdate),Cy(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&yx.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new lx({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:D_(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=Pb.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&Sy.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return!this.current||!e.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in qC){let t=qC[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):NC()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<KC.length;t++){let n=KC[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=VC(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}addValue(e,t){let n=this.values.get(e);if(t!==n){n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t);let r=t.get();r!==void 0&&(this.latestValues[e]=r)}}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=Fx(t??this.getDefaultValue?.(e),{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(y_(n)||x_(n))?n=parseFloat(n):typeof n!=`number`&&!Zv.test(n)&&Zv.test(t)&&(n=yb(e,t)),this.setBaseTarget(e,iS(n)?n.get():n)),iS(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}on(e,t){return this.events[e]||(this.events[e]=new E_),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){pC.render(this.render)}},ZC=class extends XC{constructor(){super(...arguments),this.KeyframeResolver=SS}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;iS(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},QC=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function $C(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}var ew={};function tw(e,{layout:t,layoutId:n}){return Pb.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!ew[e]||e===`opacity`)}function nw(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(iS(r[t])||i&&iS(i[t])||tw(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function rw(e){return window.getComputedStyle(e)}var iw=class extends ZC{constructor(){super(...arguments),this.type=`html`,this.renderInstance=$C}mount(e){e.style,super.mount(e)}readValueFromInstance(e,t){if(Pb.has(t))return this.projection?.isProjecting?kb(t):jb(e,t);{let n=rw(e),r=(ov(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return sC(e,t)}build(e,t,n){JS(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return nw(e,t,n)}},aw=new Set([`baseFrequency`,`diffuseConstant`,`kernelMatrix`,`kernelUnitLength`,`keySplines`,`keyTimes`,`limitingConeAngle`,`markerHeight`,`markerWidth`,`numOctaves`,`targetX`,`targetY`,`surfaceScale`,`specularConstant`,`specularExponent`,`stdDeviation`,`tableValues`,`viewBox`,`gradientTransform`,`pathLength`,`startOffset`,`textLength`,`lengthAdjust`]),ow=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function sw(e,t,n,r){$C(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(aw.has(n)?n:sS(n),t.attrs[n])}function cw(e,t,n){let r=nw(e,t,n);for(let n in e)if(iS(e[n])||iS(t[n])){let t=Nb.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var lw=class extends ZC{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=NC}getBaseTargetFromProps(e,t){return Pb.has(t)?super.getBaseTargetFromProps(e,t)??kb(t):e[t]}getDefaultValue(e){return Pb.has(e)?this.latestValues[e]??kb(e):void 0}readValueFromInstance(e,t){if(Pb.has(t)){let e=_b(t);return e&&e.default||0}if(QS.includes(t)){let n=getComputedStyle(e)[t];if(typeof n==`string`&&n)return n.trim()}return t=aw.has(t)?t:sS(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return cw(e,t,n)}build(e,t,n){$S(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){sw(e,t,n,r)}mount(e){this.isSVGTag=ow(e.tagName),super.mount(e)}};function uw(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var dw=[...LC].reverse();function fw(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>mS(e,t,n))),n=mw(),r=!0,i=!1;function a(a){let{props:o,parent:s,manuallyAnimateOnMount:c}=e,l=r||i,u=[],d=new Set,f={},p=1/0,m=e;do m=m.props.inherit!==!1&&m.parent;while(m&&!m.isControllingVariants);if(dw.forEach((t,r)=>{let i=n[t],h=o[t],g=m&&m.props[t],_=h===void 0?IC(g)||g===!1?g:void 0:h,v=IC(_),y=t===a?i.isActive:null;y===!1&&(p=r);let b=v&&h===void 0&&!(l&&c);if(i.protectedKeys={...f},!i.isActive&&y===null||!_&&!i.prevProp||FC(_)||typeof _==`boolean`)return;if(t===`exit`&&i.isActive&&y!==!0){f={...f,...i.prevResolvedValues};return}let x=pw(i.prevProp,_),S=x||v&&(y&&!b||r>p),C=!1,w=Array.isArray(_)?_:[_],T={};if(y!==!1)for(let n of w){let{transition:r,transitionEnd:i,...a}=Zx(e,n,Qx(e,t))||{};T={...T,...a,...i}}let{prevResolvedValues:E}=i;for(let t in{...E,...T}){if(t in f)continue;let n=T[t],r=E[t],a=Array.isArray(n)&&Array.isArray(r)?!uw(n,r)||x:n!==r;if(a&&n==null)d.add(t);else if(a||n!==void 0&&d.has(t)){S=!0,d.delete(t)&&(C=!0),i.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)}else i.protectedKeys[t]=!0}if(i.prevProp=_,i.prevResolvedValues=T,i.isActive&&(f={...f,...T}),S&&(!(b&&x)||C))for(let n of w){let r={type:t};if(typeof n==`string`&&l&&c&&s?.enteringChildren){let t=Zx(s,n)?.transition?.delayChildren;r.delay=Ax(s.enteringChildren,e,t)}u.push({animation:n,options:r})}}),d.size){let{initial:t}=o,n={},r=typeof t!=`boolean`&&Zx(e,Array.isArray(t)?t[0]:t,e.presenceContext?.custom);r&&r.transition&&(n.transition=r.transition),d.forEach(i=>{let a=e.getValue(i);a&&(a.liveStyle=!0);let s=r&&!Array.isArray(t)?r[i]:void 0,c=e.getBaseTargetFromProps(o,i);n[i]=(s===void 0?c!==void 0&&!iS(c)?c:e.initialValues[i]===void 0?e.baseTarget[i]:void 0:s)??null}),u.push({animation:n})}let h=l&&e.blockInitialAnimation||r&&!c&&(o.initial===!1||o.initial===o.animate);return r=i=!1,!h&&u.length?t(u):Promise.resolve()}function o(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=a(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:a,setActive:o,setAnimateFunction:n=>{t=n(e)},getState:()=>n,reset:()=>{n=mw(),i=!0}}}function pw(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!uw(t,e):!1}function mw(){let e={};for(let t of LC)e[t]={isActive:t===`animate`,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}};return e}function hw(e,t,n){let r=iS(e)?e:Fx(e);return r.start(Gx(``,r,t,n)),r.animation}function gw(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function _w(e){return iS(e)?e.get():e}var vw=(0,g.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function yw(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function bw(...e){return t=>{let n=!1,r=e.map(e=>{let r=yw(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():yw(e[t],null)}}}}function xw(...e){return g.useCallback(bw(...e),e)}var Sw=class extends g.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(AS(t)&&e.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let e=t.offsetParent,n=AS(e)&&e.offsetWidth||0,r=AS(e)&&e.offsetHeight||0,i=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=n-a.width-a.left,a.bottom=r-a.height-a.top,a.direction=i.direction}return null}componentDidUpdate(){}render(){return this.props.children}};function Cw({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){let o=(0,g.useId)(),s=(0,g.useRef)(null),c=(0,g.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:`ltr`}),{nonce:l}=(0,g.useContext)(vw),u=xw(s,a===!1?void 0:e.props?.ref??e?.ref);return(0,g.useInsertionEffect)(()=>{let{width:e,height:u,top:d,left:f,right:p,bottom:m,direction:h}=c.current;if(t||a===!1||!s.current||!e||!u)return;let g=h===`rtl`,_=n===`left`?g?`right: ${p}`:`left: ${f}`:g?`left: ${f}`:`right: ${p}`,v=r===`bottom`?`bottom: ${m}`:`top: ${d}`;s.current.dataset.motionPopId=o;let y=document.createElement(`style`);l&&(y.nonce=l);let b=i??document.head;return b.appendChild(y),y.sheet&&y.sheet.insertRule(`
|
|
75
|
+
Советуем спросить у своего ИИ, чтобы он подобрал подходящую схему сети.`,"panel.publicRelayNotice.action":`Понятно`}},{"zh-Hans":{"panel.selfcheck.title":`连接自检`,"panel.selfcheck.firewall":`防火墙`,"panel.selfcheck.mobile":`手机最近来过`,"panel.selfcheck.allowed":`已放行`,"panel.selfcheck.blocked":`挡住了`,"panel.selfcheck.firewallOff":`没开,不会拦`,"panel.selfcheck.unknown":`查不到`,"panel.selfcheck.mobileNever":`还没来过`,"panel.selfcheck.mobileIdle":`三十分钟内没来过`,"panel.selfcheck.mobileRecent":`最近来过`,"panel.selfcheck.verdict.ok":`最近手机连上过,这条链路是通的。`,"panel.selfcheck.verdict.notListening":`直连端口没在监听,手机拨不进来 —— 到主页的「连接状态 → 局域网直连」里重新连一次。`,"panel.selfcheck.verdict.firewallBlocked":`系统防火墙挡住了这个程序 —— 到系统设置里放行它,引导页的「检查防火墙」有逐系统的步骤。`,"panel.selfcheck.verdict.unknown":`这台机器读不到防火墙状态,所以不能算正常 —— 自己确认一下系统防火墙放行了没有。`,"panel.selfcheck.verdict.network":`电脑这侧没问题,但手机最近三十分钟没来过 —— 多半是没连同一个 WiFi、路由器隔离了设备,或者该走中转。`,"panel.selfcheck.short.ok":`正常`,"panel.selfcheck.short.notListening":`直连没在监听`,"panel.selfcheck.short.firewallBlocked":`防火墙挡住了`,"panel.selfcheck.short.unknown":`防火墙状态查不到`,"panel.selfcheck.short.network":`手机三十分钟没来过`,"panel.selfcheck.checking":`检查中…`,"panel.selfcheck.notChecked":`还没自检`,"panel.selfcheck.recheck":`重新自检`,"panel.selfcheck.failed":`自检没做成`,"panel.selfcheck.unavailable":`这台宿主还没有自检接口,更新插件后再看。`,"panel.selfcheck.checkedAt":`查于 {time}`,"panel.selfcheck.port":`端口 {port}`},"zh-Hant":{"panel.selfcheck.title":`連線自檢`,"panel.selfcheck.firewall":`防火牆`,"panel.selfcheck.mobile":`手機最近來過`,"panel.selfcheck.allowed":`已放行`,"panel.selfcheck.blocked":`擋住了`,"panel.selfcheck.firewallOff":`沒開,不會擋`,"panel.selfcheck.unknown":`查不到`,"panel.selfcheck.mobileNever":`還沒來過`,"panel.selfcheck.mobileIdle":`三十分鐘內沒來過`,"panel.selfcheck.mobileRecent":`最近來過`,"panel.selfcheck.verdict.ok":`最近手機連上過,這條鏈路是通的。`,"panel.selfcheck.verdict.notListening":`直連連接埠沒在監聽,手機撥不進來 —— 到主頁的「連線狀態 → 區域網路直連」裡重新連一次。`,"panel.selfcheck.verdict.firewallBlocked":`系統防火牆擋住了這個程式 —— 到系統設定裡放行它,引導頁的「檢查防火牆」有逐系統的步驟。`,"panel.selfcheck.verdict.unknown":`這台機器讀不到防火牆狀態,所以不能算正常 —— 自己確認一下系統防火牆放行了沒有。`,"panel.selfcheck.verdict.network":`電腦這側沒問題,但手機最近三十分鐘沒來過 —— 多半是沒連同一個 WiFi、路由器隔離了裝置,或者該走中轉。`,"panel.selfcheck.short.ok":`正常`,"panel.selfcheck.short.notListening":`直連沒在監聽`,"panel.selfcheck.short.firewallBlocked":`防火牆擋住了`,"panel.selfcheck.short.unknown":`防火牆狀態查不到`,"panel.selfcheck.short.network":`手機三十分鐘沒來過`,"panel.selfcheck.checking":`檢查中…`,"panel.selfcheck.notChecked":`還沒自檢`,"panel.selfcheck.recheck":`重新自檢`,"panel.selfcheck.failed":`自檢沒做成`,"panel.selfcheck.unavailable":`這台宿主還沒有自檢介面,更新外掛後再看。`,"panel.selfcheck.checkedAt":`查於 {time}`,"panel.selfcheck.port":`連接埠 {port}`},en:{"panel.selfcheck.title":`Connection self-check`,"panel.selfcheck.firewall":`Firewall`,"panel.selfcheck.mobile":`Last phone visit`,"panel.selfcheck.allowed":`Allowed`,"panel.selfcheck.blocked":`Blocked`,"panel.selfcheck.firewallOff":`Off — nothing is blocked`,"panel.selfcheck.unknown":`Unknown`,"panel.selfcheck.mobileNever":`Never`,"panel.selfcheck.mobileIdle":`Not in 30 min`,"panel.selfcheck.mobileRecent":`Recently`,"panel.selfcheck.verdict.ok":`The phone connected recently, so this path works.`,"panel.selfcheck.verdict.notListening":`The LAN port is not listening, so the phone cannot reach it — reconnect from Connection status → LAN direct on the main page.`,"panel.selfcheck.verdict.firewallBlocked":`The system firewall is blocking this program — allow it in your system settings; the setup page has a Check firewall dialog with per-OS steps.`,"panel.selfcheck.verdict.unknown":`This machine will not report its firewall state, so this cannot be called normal — check yourself that the system firewall allows the program.`,"panel.selfcheck.verdict.network":`This side looks fine, but the phone has not been here for 30 minutes — most likely a different Wi-Fi, router client isolation, or it should go through the relay.`,"panel.selfcheck.short.ok":`Normal`,"panel.selfcheck.short.notListening":`LAN port not listening`,"panel.selfcheck.short.firewallBlocked":`Firewall blocking`,"panel.selfcheck.short.unknown":`Firewall unknown`,"panel.selfcheck.short.network":`No phone for 30 min`,"panel.selfcheck.checking":`Checking…`,"panel.selfcheck.notChecked":`Not checked yet`,"panel.selfcheck.recheck":`Check again`,"panel.selfcheck.failed":`Self-check failed`,"panel.selfcheck.unavailable":`This host has no self-check endpoint yet — update the plugin and look again.`,"panel.selfcheck.checkedAt":`Checked {time}`,"panel.selfcheck.port":`Port {port}`},ja:{"panel.selfcheck.title":`接続セルフチェック`,"panel.selfcheck.firewall":`ファイアウォール`,"panel.selfcheck.mobile":`最後にスマホが来た時刻`,"panel.selfcheck.allowed":`許可済み`,"panel.selfcheck.blocked":`ブロック中`,"panel.selfcheck.firewallOff":`無効(遮断なし)`,"panel.selfcheck.unknown":`取得できません`,"panel.selfcheck.mobileNever":`まだ来ていません`,"panel.selfcheck.mobileIdle":`30 分来ていません`,"panel.selfcheck.mobileRecent":`最近来ました`,"panel.selfcheck.verdict.ok":`最近スマホが接続できているので、この経路は通っています。`,"panel.selfcheck.verdict.notListening":`LAN ポートが待ち受けていないのでスマホから届きません — ホームの「接続状態 → LAN 直結」で接続し直してください。`,"panel.selfcheck.verdict.firewallBlocked":`システムのファイアウォールがこのプログラムを遮断しています — システム設定で許可してください。セットアップ画面の「ファイアウォールを確認」に OS ごとの手順があります。`,"panel.selfcheck.verdict.unknown":`このマシンではファイアウォールの状態を取得できないため、正常とは言えません — システムのファイアウォールが許可しているかご自身で確認してください。`,"panel.selfcheck.verdict.network":`パソコン側は問題なさそうですが、スマホがこの 30 分来ていません — 同じ Wi-Fi にいない、ルーターの端末分離、または中継を使うべき、のいずれかでしょう。`,"panel.selfcheck.short.ok":`正常`,"panel.selfcheck.short.notListening":`LAN 待ち受けなし`,"panel.selfcheck.short.firewallBlocked":`FW が遮断`,"panel.selfcheck.short.unknown":`FW 状態が不明`,"panel.selfcheck.short.network":`スマホ 30 分なし`,"panel.selfcheck.checking":`確認中…`,"panel.selfcheck.notChecked":`まだ確認していません`,"panel.selfcheck.recheck":`もう一度確認`,"panel.selfcheck.failed":`セルフチェックに失敗しました`,"panel.selfcheck.unavailable":`このホストにはまだセルフチェックの API がありません。プラグインを更新してからご覧ください。`,"panel.selfcheck.checkedAt":`{time} に確認`,"panel.selfcheck.port":`ポート {port}`},ko:{"panel.selfcheck.title":`연결 자체 점검`,"panel.selfcheck.firewall":`방화벽`,"panel.selfcheck.mobile":`최근 휴대폰 접속`,"panel.selfcheck.allowed":`허용됨`,"panel.selfcheck.blocked":`차단됨`,"panel.selfcheck.firewallOff":`꺼짐(차단 없음)`,"panel.selfcheck.unknown":`알 수 없음`,"panel.selfcheck.mobileNever":`아직 없음`,"panel.selfcheck.mobileIdle":`30분간 없음`,"panel.selfcheck.mobileRecent":`최근 방문`,"panel.selfcheck.verdict.ok":`최근에 휴대폰이 연결되었으므로 이 경로는 정상입니다.`,"panel.selfcheck.verdict.notListening":`LAN 포트가 수신 대기 중이 아니라 휴대폰이 들어올 수 없습니다 — 메인 화면의 "연결 상태 → LAN 직접 연결"에서 다시 연결하세요.`,"panel.selfcheck.verdict.firewallBlocked":`시스템 방화벽이 이 프로그램을 차단하고 있습니다 — 시스템 설정에서 허용하세요. 설정 화면의 "방화벽 확인"에 OS별 절차가 있습니다.`,"panel.selfcheck.verdict.unknown":`이 컴퓨터는 방화벽 상태를 읽을 수 없어 정상이라고 할 수 없습니다 — 시스템 방화벽이 허용하는지 직접 확인하세요.`,"panel.selfcheck.verdict.network":`컴퓨터 쪽은 문제없어 보이지만 휴대폰이 30분 동안 오지 않았습니다 — 같은 Wi-Fi가 아니거나, 공유기가 기기를 격리했거나, 중계를 써야 하는 경우입니다.`,"panel.selfcheck.short.ok":`정상`,"panel.selfcheck.short.notListening":`LAN 수신 없음`,"panel.selfcheck.short.firewallBlocked":`방화벽 차단`,"panel.selfcheck.short.unknown":`방화벽 상태 모름`,"panel.selfcheck.short.network":`30분간 휴대폰 없음`,"panel.selfcheck.checking":`확인 중…`,"panel.selfcheck.notChecked":`아직 점검 안 함`,"panel.selfcheck.recheck":`다시 점검`,"panel.selfcheck.failed":`자체 점검 실패`,"panel.selfcheck.unavailable":`이 호스트에는 아직 자체 점검 API가 없습니다. 플러그인을 업데이트한 뒤 확인하세요.`,"panel.selfcheck.checkedAt":`{time} 확인`,"panel.selfcheck.port":`포트 {port}`},de:{"panel.selfcheck.title":`Verbindungs-Selbsttest`,"panel.selfcheck.firewall":`Firewall`,"panel.selfcheck.mobile":`Letzter Handy-Kontakt`,"panel.selfcheck.allowed":`Erlaubt`,"panel.selfcheck.blocked":`Blockiert`,"panel.selfcheck.firewallOff":`Aus — blockiert nichts`,"panel.selfcheck.unknown":`Unbekannt`,"panel.selfcheck.mobileNever":`Noch nie`,"panel.selfcheck.mobileIdle":`Seit 30 Min. nicht`,"panel.selfcheck.mobileRecent":`Zuletzt da`,"panel.selfcheck.verdict.ok":`Das Handy war zuletzt verbunden, dieser Weg funktioniert.`,"panel.selfcheck.verdict.notListening":`Der LAN-Port lauscht nicht, das Handy kommt nicht durch — verbinde neu über Verbindungsstatus → LAN-Direkt auf der Hauptseite.`,"panel.selfcheck.verdict.firewallBlocked":`Die System-Firewall blockiert dieses Programm — erlaube es in den Systemeinstellungen; im Einrichtungsfenster gibt es den Dialog „Firewall prüfen" mit Schritten je System.`,"panel.selfcheck.verdict.unknown":`Dieser Rechner meldet seinen Firewall-Status nicht, deshalb ist das nicht normal — prüfe selbst, ob die System-Firewall das Programm zulässt.`,"panel.selfcheck.verdict.network":`Auf dieser Seite sieht alles gut aus, aber das Handy war 30 Minuten nicht da — meist ein anderes WLAN, Geräte-Isolation im Router oder der Weg über das Relay.`,"panel.selfcheck.short.ok":`Normal`,"panel.selfcheck.short.notListening":`LAN lauscht nicht`,"panel.selfcheck.short.firewallBlocked":`Firewall blockiert`,"panel.selfcheck.short.unknown":`Firewall unbekannt`,"panel.selfcheck.short.network":`30 Min. kein Handy`,"panel.selfcheck.checking":`Prüfe…`,"panel.selfcheck.notChecked":`Noch nicht geprüft`,"panel.selfcheck.recheck":`Erneut prüfen`,"panel.selfcheck.failed":`Selbsttest fehlgeschlagen`,"panel.selfcheck.unavailable":`Dieser Host hat noch keine Selbsttest-Schnittstelle — Plugin aktualisieren und erneut sehen.`,"panel.selfcheck.checkedAt":`Geprüft {time}`,"panel.selfcheck.port":`Port {port}`},es:{"panel.selfcheck.title":`Autodiagnóstico de conexión`,"panel.selfcheck.firewall":`Cortafuegos`,"panel.selfcheck.mobile":`Última visita del móvil`,"panel.selfcheck.allowed":`Permitido`,"panel.selfcheck.blocked":`Bloqueado`,"panel.selfcheck.firewallOff":`Apagado: no bloquea`,"panel.selfcheck.unknown":`Sin datos`,"panel.selfcheck.mobileNever":`Nunca`,"panel.selfcheck.mobileIdle":`30 min sin venir`,"panel.selfcheck.mobileRecent":`Hace poco`,"panel.selfcheck.verdict.ok":`El móvil se conectó hace poco, este camino funciona.`,"panel.selfcheck.verdict.notListening":`El puerto LAN no está escuchando, el móvil no puede entrar — vuelve a conectar desde Estado de conexión → LAN directa en la página principal.`,"panel.selfcheck.verdict.firewallBlocked":`El cortafuegos del sistema está bloqueando este programa — permítelo en los ajustes del sistema; en la página de configuración hay un diálogo «Comprobar cortafuegos» con los pasos por sistema.`,"panel.selfcheck.verdict.unknown":`Este equipo no informa del estado del cortafuegos, así que no se puede decir que esté bien — comprueba tú que el cortafuegos permita el programa.`,"panel.selfcheck.verdict.network":`Por este lado parece todo correcto, pero el móvil no aparece desde hace 30 minutos — probablemente otra Wi-Fi, aislamiento de dispositivos en el router, o toca usar el relé.`,"panel.selfcheck.short.ok":`Normal`,"panel.selfcheck.short.notListening":`LAN sin escuchar`,"panel.selfcheck.short.firewallBlocked":`Cortafuegos bloquea`,"panel.selfcheck.short.unknown":`Cortafuegos sin datos`,"panel.selfcheck.short.network":`30 min sin móvil`,"panel.selfcheck.checking":`Comprobando…`,"panel.selfcheck.notChecked":`Sin comprobar`,"panel.selfcheck.recheck":`Comprobar de nuevo`,"panel.selfcheck.failed":`El autodiagnóstico falló`,"panel.selfcheck.unavailable":`Este host aún no tiene la interfaz de autodiagnóstico — actualiza el plugin y vuelve a mirar.`,"panel.selfcheck.checkedAt":`Comprobado {time}`,"panel.selfcheck.port":`Puerto {port}`},fr:{"panel.selfcheck.title":`Auto-diagnostic de connexion`,"panel.selfcheck.firewall":`Pare-feu`,"panel.selfcheck.mobile":`Dernier passage du téléphone`,"panel.selfcheck.allowed":`Autorisé`,"panel.selfcheck.blocked":`Bloqué`,"panel.selfcheck.firewallOff":`Désactivé : ne bloque rien`,"panel.selfcheck.unknown":`Inconnu`,"panel.selfcheck.mobileNever":`Jamais`,"panel.selfcheck.mobileIdle":`Rien depuis 30 min`,"panel.selfcheck.mobileRecent":`Récemment`,"panel.selfcheck.verdict.ok":`Le téléphone s’est connecté récemment, ce chemin fonctionne.`,"panel.selfcheck.verdict.notListening":`Le port LAN n’écoute pas, le téléphone ne peut pas entrer — reconnecte depuis État de la connexion → LAN direct sur la page principale.`,"panel.selfcheck.verdict.firewallBlocked":`Le pare-feu du système bloque ce programme — autorise-le dans les réglages du système ; la page de configuration propose une fenêtre « Vérifier le pare-feu » avec les étapes par système.`,"panel.selfcheck.verdict.unknown":`Cette machine ne communique pas l’état de son pare-feu, donc on ne peut pas dire que tout va bien — vérifie toi-même que le pare-feu autorise le programme.`,"panel.selfcheck.verdict.network":`De ce côté tout semble correct, mais le téléphone n’est pas venu depuis 30 minutes — sans doute un autre Wi-Fi, l’isolation des appareils sur le routeur, ou il faut passer par le relais.`,"panel.selfcheck.short.ok":`Normal`,"panel.selfcheck.short.notListening":`LAN n’écoute pas`,"panel.selfcheck.short.firewallBlocked":`Pare-feu bloque`,"panel.selfcheck.short.unknown":`Pare-feu inconnu`,"panel.selfcheck.short.network":`30 min sans téléphone`,"panel.selfcheck.checking":`Vérification…`,"panel.selfcheck.notChecked":`Pas encore vérifié`,"panel.selfcheck.recheck":`Vérifier à nouveau`,"panel.selfcheck.failed":`L’auto-diagnostic a échoué`,"panel.selfcheck.unavailable":`Cet hôte n’a pas encore l’interface d’auto-diagnostic — mets le plugin à jour puis reviens.`,"panel.selfcheck.checkedAt":`Vérifié {time}`,"panel.selfcheck.port":`Port {port}`},pt:{"panel.selfcheck.title":`Autodiagnóstico de conexão`,"panel.selfcheck.firewall":`Firewall`,"panel.selfcheck.mobile":`Última visita do celular`,"panel.selfcheck.allowed":`Permitido`,"panel.selfcheck.blocked":`Bloqueado`,"panel.selfcheck.firewallOff":`Desligado: não bloqueia`,"panel.selfcheck.unknown":`Sem dados`,"panel.selfcheck.mobileNever":`Nunca`,"panel.selfcheck.mobileIdle":`30 min sem vir`,"panel.selfcheck.mobileRecent":`Recentemente`,"panel.selfcheck.verdict.ok":`O celular se conectou há pouco, este caminho funciona.`,"panel.selfcheck.verdict.notListening":`A porta LAN não está escutando, o celular não consegue entrar — reconecte em Estado da conexão → LAN direta na página principal.`,"panel.selfcheck.verdict.firewallBlocked":`O firewall do sistema está bloqueando este programa — permita-o nas configurações do sistema; a página de configuração tem a janela "Verificar firewall" com os passos por sistema.`,"panel.selfcheck.verdict.unknown":`Esta máquina não informa o estado do firewall, então não dá para dizer que está normal — confira você mesmo se o firewall permite o programa.`,"panel.selfcheck.verdict.network":`Deste lado parece tudo certo, mas o celular não aparece há 30 minutos — provavelmente outro Wi-Fi, isolamento de dispositivos no roteador, ou é hora de usar o relé.`,"panel.selfcheck.short.ok":`Normal`,"panel.selfcheck.short.notListening":`LAN sem escutar`,"panel.selfcheck.short.firewallBlocked":`Firewall bloqueando`,"panel.selfcheck.short.unknown":`Firewall sem dados`,"panel.selfcheck.short.network":`30 min sem celular`,"panel.selfcheck.checking":`Verificando…`,"panel.selfcheck.notChecked":`Ainda não verificado`,"panel.selfcheck.recheck":`Verificar de novo`,"panel.selfcheck.failed":`O autodiagnóstico falhou`,"panel.selfcheck.unavailable":`Este host ainda não tem a interface de autodiagnóstico — atualize o plugin e veja de novo.`,"panel.selfcheck.checkedAt":`Verificado {time}`,"panel.selfcheck.port":`Porta {port}`},ru:{"panel.selfcheck.title":`Самопроверка подключения`,"panel.selfcheck.firewall":`Брандмауэр`,"panel.selfcheck.mobile":`Последний визит телефона`,"panel.selfcheck.allowed":`Разрешено`,"panel.selfcheck.blocked":`Блокирует`,"panel.selfcheck.firewallOff":`Выключен — не блокирует`,"panel.selfcheck.unknown":`Нет данных`,"panel.selfcheck.mobileNever":`Ни разу`,"panel.selfcheck.mobileIdle":`30 мин не заходил`,"panel.selfcheck.mobileRecent":`Недавно`,"panel.selfcheck.verdict.ok":`Телефон недавно подключался, этот путь работает.`,"panel.selfcheck.verdict.notListening":`Порт LAN не слушает, телефон не может подключиться — переподключитесь в «Состояние подключения → Прямое LAN» на главной странице.`,"panel.selfcheck.verdict.firewallBlocked":`Системный брандмауэр блокирует эту программу — разрешите её в настройках системы; на странице настройки есть окно «Проверить брандмауэр» с шагами для каждой системы.`,"panel.selfcheck.verdict.unknown":`Эта машина не сообщает состояние брандмауэра, поэтому назвать это нормой нельзя — проверьте сами, разрешает ли брандмауэр программу.`,"panel.selfcheck.verdict.network":`С этой стороны всё выглядит нормально, но телефон не появлялся 30 минут — скорее всего другой Wi-Fi, изоляция устройств на роутере или пора идти через ретранслятор.`,"panel.selfcheck.short.ok":`Норма`,"panel.selfcheck.short.notListening":`LAN не слушает`,"panel.selfcheck.short.firewallBlocked":`Брандмауэр блокирует`,"panel.selfcheck.short.unknown":`Брандмауэр неизвестен`,"panel.selfcheck.short.network":`30 мин без телефона`,"panel.selfcheck.checking":`Проверка…`,"panel.selfcheck.notChecked":`Ещё не проверялось`,"panel.selfcheck.recheck":`Проверить снова`,"panel.selfcheck.failed":`Самопроверка не удалась`,"panel.selfcheck.unavailable":`На этом хосте ещё нет интерфейса самопроверки — обновите плагин и посмотрите снова.`,"panel.selfcheck.checkedAt":`Проверено {time}`,"panel.selfcheck.port":`Порт {port}`}},{"zh-Hans":{"panel.console.openBrowser":`在浏览器打开`,"panel.console.replayGuide":`重看引导`,"panel.console.reload":`重新载入`,"panel.console.statusTimeout":`读取插件状态超时,请重新载入后重试。`,"panel.console.retryPairing":`重新获取二维码`,"panel.console.pairingTimeout":`获取二维码超时,请重试。`},"zh-Hant":{"panel.console.openBrowser":`在瀏覽器開啟`,"panel.console.replayGuide":`重看引導`,"panel.console.reload":`重新載入`,"panel.console.statusTimeout":`讀取外掛狀態逾時,請重新載入後再試。`,"panel.console.retryPairing":`重新取得 QR 碼`,"panel.console.pairingTimeout":`取得 QR 碼逾時,請再試一次。`},en:{"panel.console.openBrowser":`Open in browser`,"panel.console.replayGuide":`Replay setup`,"panel.console.reload":`Reload`,"panel.console.statusTimeout":`Reading plugin status timed out. Reload to try again.`,"panel.console.retryPairing":`Get the QR code again`,"panel.console.pairingTimeout":`Getting the QR code timed out. Please try again.`},ja:{"panel.console.openBrowser":`ブラウザーで開く`,"panel.console.replayGuide":`セットアップをやり直す`,"panel.console.reload":`再読み込み`,"panel.console.statusTimeout":`プラグインの状態取得がタイムアウトしました。再読み込みしてお試しください。`,"panel.console.retryPairing":`QR コードを再取得`,"panel.console.pairingTimeout":`QR コードの取得がタイムアウトしました。もう一度お試しください。`},ko:{"panel.console.openBrowser":`브라우저에서 열기`,"panel.console.replayGuide":`설정 안내 다시 보기`,"panel.console.reload":`다시 불러오기`,"panel.console.statusTimeout":`플러그인 상태 요청 시간이 초과되었습니다. 다시 불러와 주세요.`,"panel.console.retryPairing":`QR 코드 다시 가져오기`,"panel.console.pairingTimeout":`QR 코드 요청 시간이 초과되었습니다. 다시 시도해 주세요.`},de:{"panel.console.openBrowser":`Im Browser öffnen`,"panel.console.replayGuide":`Einrichtung erneut ansehen`,"panel.console.reload":`Neu laden`,"panel.console.statusTimeout":`Zeitüberschreitung beim Lesen des Plugin-Status. Bitte neu laden.`,"panel.console.retryPairing":`QR-Code erneut abrufen`,"panel.console.pairingTimeout":`Zeitüberschreitung beim Abrufen des QR-Codes. Bitte erneut versuchen.`},es:{"panel.console.openBrowser":`Abrir en el navegador`,"panel.console.replayGuide":`Ver la configuración otra vez`,"panel.console.reload":`Volver a cargar`,"panel.console.statusTimeout":`Se agotó el tiempo de lectura del estado. Vuelve a cargar para reintentar.`,"panel.console.retryPairing":`Obtener el código QR de nuevo`,"panel.console.pairingTimeout":`Se agotó el tiempo para obtener el código QR. Inténtalo de nuevo.`},fr:{"panel.console.openBrowser":`Ouvrir dans le navigateur`,"panel.console.replayGuide":`Revoir la configuration`,"panel.console.reload":`Recharger`,"panel.console.statusTimeout":`Le délai de lecture de l’état du greffon a expiré. Rechargez pour réessayer.`,"panel.console.retryPairing":`Obtenir à nouveau le code QR`,"panel.console.pairingTimeout":`Le délai de récupération du code QR a expiré. Veuillez réessayer.`},pt:{"panel.console.openBrowser":`Abrir no navegador`,"panel.console.replayGuide":`Rever a configuração`,"panel.console.reload":`Recarregar`,"panel.console.statusTimeout":`A leitura do estado do plugin excedeu o tempo limite. Recarregue para tentar novamente.`,"panel.console.retryPairing":`Obter o código QR novamente`,"panel.console.pairingTimeout":`A obtenção do código QR excedeu o tempo limite. Tente novamente.`},ru:{"panel.console.openBrowser":`Открыть в браузере`,"panel.console.replayGuide":`Посмотреть настройку снова`,"panel.console.reload":`Перезагрузить`,"panel.console.statusTimeout":`Истекло время ожидания состояния плагина. Перезагрузите страницу.`,"panel.console.retryPairing":`Получить QR-код ещё раз`,"panel.console.pairingTimeout":`Истекло время получения QR-кода. Попробуйте снова.`}},{"zh-Hans":{"panel.remote.title":`远程电脑`,"panel.remote.backConsole":`返回控制台`,"panel.remote.hint":`绑定另一台电脑后,在本机的桌面端窗口中打开它的 DSH。窗口开着时会自动续期,关掉窗口后最多再保留一小时。`,"panel.remote.localOnly":`请从这台电脑的本机面板打开远程电脑管理。`,"panel.remote.failed":`操作失败,请在本机插件中检查后重试。`,"panel.remote.errorAuth":`访问授权无效或已撤销,请重新绑定。`,"panel.remote.errorExpired":`本次访问已到期,请重新打开。`,"panel.remote.errorTimeout":`连接超时,请稍后重试。`,"panel.remote.errorConnect":`无法连接远程电脑,请检查网络后重试。`,"panel.remote.errorInvitation":`绑定信息无效、已使用或已到期,请重新生成。`,"panel.remote.errorVersion":`对方插件版本不兼容,请升级到支持远程电脑的版本。`,"panel.remote.errorUnavailable":`对方电脑暂时不可用,请确认它已打开 DSH 后重试。`,"panel.remote.errorNotFound":`找不到这台远程电脑,它可能已被删除,请刷新后重试。`,"panel.remote.errorBadRequest":`请求内容不合法,请刷新面板后重试。`,"panel.remote.createInvite":`生成本机绑定信息`,"panel.remote.add":`添加远程电脑`,"panel.remote.empty":`还没有远程电脑。在另一台电脑生成绑定信息,再粘贴到这里。`,"panel.remote.inviteHint":`把这份信息交给要访问本机的电脑,在它的「添加远程电脑」中粘贴。10 分钟内仅能使用一次,请只交给信任的人。`,"panel.remote.addHint":`粘贴另一台电脑生成的一次性绑定信息。绑定会保留,访问到期后需重新打开。`,"panel.remote.inviteLabel":`一次性绑定信息`,"panel.remote.inviteExpired":`绑定信息已到期,请关闭后重新生成。`,"panel.remote.inviteRemaining":`剩余 {minutes} 分钟,仅能使用一次。`,"panel.remote.copy":`复制绑定信息`,"panel.remote.copied":`已复制绑定信息。`,"panel.remote.manualCopy":`无法自动复制。请选中上面的文本手动复制。`,"panel.remote.added":`已添加远程电脑。`,"panel.remote.open":`在桌面端打开`,"panel.remote.remove":`删除绑定`,"panel.remote.removeConfirm":`删除与「{name}」的绑定并停止访问?以后需重新添加。`,"panel.remote.removed":`已删除绑定。`,"panel.remote.route":`选择线路`,"panel.remote.routeHint":`自动挡按实际连通情况选路;手动挡只使用选中的线路。`,"panel.remote.routeReopenNote":`窗口正开着:改挡位后已打开的窗口仍走当前线路,重新打开窗口后生效。`,"panel.remote.modeSaved":`已保存线路选择。`,"panel.remote.diagnose":`检测线路`,"panel.remote.diagnoseHint":`逐条检测当前设备的线路连通情况。`,"panel.remote.diagnoseOk":`通`,"panel.remote.diagnoseFail":`不通`,"panel.remote.expiredHint":`本次访问已到期,请重新打开。`,"panel.remote.invalidOpenUrl":`宿主返回的地址不是有效的本机访问入口。`,"panel.remote.externalOpenFailed":`无法打开访问窗口,请从本机插件面板重试。`,"panel.remote.popupBlocked":`新窗口被拦截,请允许弹窗后重试。`,"panel.remote.shellUnavailable":`本机未安装远程电脑桌面端,已改用默认方式打开。`,"panel.remote.shellFellBack":`桌面端没起来,已用浏览器打开。`,"panel.remote.authorizedTitle":`可访问本机的电脑`,"panel.remote.unknownComputer":`未知电脑`,"panel.remote.revoke":`撤销访问`,"panel.remote.revokeConfirm":`撤销「{name}」访问本机的授权?它需要重新绑定才能访问。`,"panel.remote.revoked":`已撤销这台电脑的访问授权。`,"panel.remote.state.idle":`未打开`,"panel.remote.state.connecting":`正在连接`,"panel.remote.state.connected":`已连接`,"panel.remote.state.offline":`连接不可用`,"panel.remote.state.expired":`访问已到期`,"panel.remote.state.revoked":`授权已撤销`,"panel.remote.channel.auto":`自动选路`,"panel.remote.channel.lan":`局域网`,"panel.remote.channel.direct":`直连`,"panel.remote.channel.ipv6":`IPv6`,"panel.remote.channel.relay":`中转`,"panel.remote.channel.tailcat":`Tailcat`,"panel.remote.channel.p2p":`P2P`},"zh-Hant":{"panel.remote.title":`遠端電腦`,"panel.remote.backConsole":`返回主控台`,"panel.remote.hint":`綁定另一台電腦後,在本機的桌面端視窗中開啟它的 DSH。視窗開著時會自動續期,關掉視窗後最多再保留一小時。`,"panel.remote.localOnly":`請從這台電腦的本機面板開啟遠端電腦管理。`,"panel.remote.failed":`操作失敗,請在本機外掛中檢查後重試。`,"panel.remote.errorAuth":`存取授權無效或已撤銷,請重新綁定。`,"panel.remote.errorExpired":`本次存取已到期,請重新開啟。`,"panel.remote.errorTimeout":`連線逾時,請稍後重試。`,"panel.remote.errorConnect":`無法連線遠端電腦,請檢查網路後重試。`,"panel.remote.errorInvitation":`綁定資訊無效、已使用或已到期,請重新產生。`,"panel.remote.errorVersion":`對方外掛版本不相容,請升級到支援遠端電腦的版本。`,"panel.remote.errorUnavailable":`對方電腦暫時無法使用,請確認它已開啟 DSH 後重試。`,"panel.remote.errorNotFound":`找不到這台遠端電腦,它可能已被刪除,請重新整理後重試。`,"panel.remote.errorBadRequest":`請求內容不合法,請重新整理面板後重試。`,"panel.remote.createInvite":`產生本機綁定資訊`,"panel.remote.add":`新增遠端電腦`,"panel.remote.empty":`還沒有遠端電腦。在另一台電腦產生綁定資訊,再貼到這裡。`,"panel.remote.inviteHint":`把這份資訊交給要存取本機的電腦,在它的「新增遠端電腦」中貼上。10 分鐘內僅能使用一次,請只交給信任的人。`,"panel.remote.addHint":`貼上另一台電腦產生的一次性綁定資訊。綁定會保留,存取到期後需重新開啟。`,"panel.remote.inviteLabel":`一次性綁定資訊`,"panel.remote.inviteExpired":`綁定資訊已到期,請關閉後重新產生。`,"panel.remote.inviteRemaining":`剩餘 {minutes} 分鐘,僅能使用一次。`,"panel.remote.copy":`複製綁定資訊`,"panel.remote.copied":`已複製綁定資訊。`,"panel.remote.manualCopy":`無法自動複製。請選取上面的文字手動複製。`,"panel.remote.added":`已新增遠端電腦。`,"panel.remote.open":`在桌面端開啟`,"panel.remote.remove":`刪除綁定`,"panel.remote.removeConfirm":`刪除與「{name}」的綁定並停止存取?以後需重新新增。`,"panel.remote.removed":`已刪除綁定。`,"panel.remote.route":`選擇路線`,"panel.remote.routeHint":`自動模式依實際連通情況選路;手動模式只使用選中的路線。`,"panel.remote.routeReopenNote":`視窗開著時:改路線後已開啟的視窗仍走目前路線,重新開啟視窗後才生效。`,"panel.remote.modeSaved":`已儲存路線選擇。`,"panel.remote.diagnose":`檢測路線`,"panel.remote.diagnoseHint":`逐條檢測目前裝置的路線連通情況。`,"panel.remote.diagnoseOk":`通`,"panel.remote.diagnoseFail":`不通`,"panel.remote.expiredHint":`本次存取已到期,請重新開啟。`,"panel.remote.invalidOpenUrl":`宿主回傳的位址不是有效的本機存取入口。`,"panel.remote.externalOpenFailed":`無法開啟存取視窗,請從本機外掛面板重試。`,"panel.remote.popupBlocked":`新視窗被攔截,請允許彈出視窗後重試。`,"panel.remote.shellUnavailable":`本機未安裝遠端電腦桌面端,已改用預設方式開啟。`,"panel.remote.shellFellBack":`桌面端沒起來,已改用瀏覽器開啟。`,"panel.remote.authorizedTitle":`可存取本機的電腦`,"panel.remote.unknownComputer":`未知電腦`,"panel.remote.revoke":`撤銷存取`,"panel.remote.revokeConfirm":`撤銷「{name}」存取本機的授權?它需要重新綁定才能存取。`,"panel.remote.revoked":`已撤銷這台電腦的存取授權。`,"panel.remote.state.idle":`未開啟`,"panel.remote.state.connecting":`正在連線`,"panel.remote.state.connected":`已連線`,"panel.remote.state.offline":`連線無法使用`,"panel.remote.state.expired":`存取已到期`,"panel.remote.state.revoked":`授權已撤銷`,"panel.remote.channel.auto":`自動選路`,"panel.remote.channel.lan":`區域網路`,"panel.remote.channel.direct":`直連`,"panel.remote.channel.ipv6":`IPv6`,"panel.remote.channel.relay":`中繼`,"panel.remote.channel.tailcat":`Tailcat`,"panel.remote.channel.p2p":`P2P`},en:{"panel.remote.title":`Remote computers`,"panel.remote.backConsole":`Back to console`,"panel.remote.hint":`Pair another computer to open its DSH in a desktop window on this computer. While the window stays open it renews automatically; after you close it, access is kept for up to one more hour.`,"panel.remote.localOnly":`Open this computer’s local panel to manage remote computers.`,"panel.remote.failed":`Action failed. Check the local plugin and try again.`,"panel.remote.errorAuth":`Access is invalid or revoked. Pair this computer again.`,"panel.remote.errorExpired":`This visit has expired. Open it again.`,"panel.remote.errorTimeout":`Connection timed out. Try again shortly.`,"panel.remote.errorConnect":`Cannot connect to the remote computer. Check your network and try again.`,"panel.remote.errorInvitation":`The invite is invalid, already used, or expired. Create a new one.`,"panel.remote.errorVersion":`The other plugin version is incompatible. Upgrade to a version that supports remote computers.`,"panel.remote.errorUnavailable":`對方電腦暫時無法使用,請確認它已開啟 DSH 後重試。`,"panel.remote.errorNotFound":`找不到這台遠端電腦,它可能已被刪除,請重新整理後重試。`,"panel.remote.errorBadRequest":`請求內容不合法,請重新整理面板後重試。`,"panel.remote.createInvite":`Create this computer’s invite`,"panel.remote.add":`Add remote computer`,"panel.remote.empty":`No remote computers yet. Create an invite on the other computer, then paste it here.`,"panel.remote.inviteHint":`Give this invite to the computer that will access this one, and paste it into “Add remote computer” there. It works once within 10 minutes. Share it only with someone you trust.`,"panel.remote.addHint":`Paste the one-time invite from the other computer. Pairing is kept; open a new visit after the current one expires.`,"panel.remote.inviteLabel":`One-time invite`,"panel.remote.inviteExpired":`This invite has expired. Close this dialog and create a new one.`,"panel.remote.inviteRemaining":`{minutes} minutes left; single use only.`,"panel.remote.copy":`Copy invite`,"panel.remote.copied":`Invite copied.`,"panel.remote.manualCopy":`Automatic copying failed. Select the text above and copy it manually.`,"panel.remote.added":`Remote computer added.`,"panel.remote.open":`Open in desktop window`,"panel.remote.remove":`Remove pairing`,"panel.remote.removeConfirm":`Remove pairing with “{name}” and stop access? You will need to add it again.`,"panel.remote.removed":`Pairing removed.`,"panel.remote.route":`Choose route`,"panel.remote.routeHint":`Automatic mode selects a working route. Manual mode uses only the selected channel.`,"panel.remote.routeReopenNote":`視窗開著時:改路線後已開啟的視窗仍走目前路線,重新開啟視窗後才生效。`,"panel.remote.modeSaved":`Route selection saved.`,"panel.remote.diagnose":`Test routes`,"panel.remote.diagnoseHint":`Test each route of this computer for connectivity.`,"panel.remote.diagnoseOk":`OK`,"panel.remote.diagnoseFail":`Failed`,"panel.remote.expiredHint":`This visit has expired. Open it again.`,"panel.remote.invalidOpenUrl":`The host did not return a valid local access URL.`,"panel.remote.externalOpenFailed":`Could not open the access window. Open the plugin panel on this computer and try again.`,"panel.remote.popupBlocked":`The new window was blocked. Allow pop-ups and try again.`,"panel.remote.shellUnavailable":`The desktop window is not installed on this computer. The default open method was used instead.`,"panel.remote.shellFellBack":`The desktop window did not start; opened in the browser instead.`,"panel.remote.authorizedTitle":`Computers allowed to access this one`,"panel.remote.unknownComputer":`Unknown computer`,"panel.remote.revoke":`Revoke access`,"panel.remote.revokeConfirm":`Revoke access to this computer for “{name}”? It will need to pair again.`,"panel.remote.revoked":`Access for this computer revoked.`,"panel.remote.state.idle":`Not open`,"panel.remote.state.connecting":`Connecting`,"panel.remote.state.connected":`Connected`,"panel.remote.state.offline":`Connection unavailable`,"panel.remote.state.expired":`Access expired`,"panel.remote.state.revoked":`Access revoked`,"panel.remote.channel.auto":`Automatic`,"panel.remote.channel.lan":`LAN`,"panel.remote.channel.direct":`Direct`,"panel.remote.channel.ipv6":`IPv6`,"panel.remote.channel.relay":`Relay`,"panel.remote.channel.tailcat":`Tailcat`,"panel.remote.channel.p2p":`P2P`},ja:{"panel.remote.title":`リモートパソコン`,"panel.remote.backConsole":`コンソールに戻る`,"panel.remote.hint":`別のパソコンを登録すると、このパソコンのデスクトップウィンドウで DSH を開けます。ウィンドウを開いている間は自動で延長され、閉じた後も最大 1 時間は保持されます。`,"panel.remote.localOnly":`このパソコンのローカルパネルからリモートパソコンを管理してください。`,"panel.remote.failed":`操作に失敗しました。ローカルのプラグインで確認して再試行してください。`,"panel.remote.errorAuth":`アクセス権が無効か取り消されています。再登録してください。`,"panel.remote.errorExpired":`アクセス期限が切れました。開き直してください。`,"panel.remote.errorTimeout":`接続がタイムアウトしました。しばらくしてから再試行してください。`,"panel.remote.errorConnect":`リモートパソコンに接続できません。ネットワークを確認して再試行してください。`,"panel.remote.errorInvitation":`招待が無効、使用済み、または期限切れです。作り直してください。`,"panel.remote.errorVersion":`相手のプラグインのバージョンが対応していません。リモートパソコンに対応したバージョンに更新してください。`,"panel.remote.errorUnavailable":`對方電腦暫時無法使用,請確認它已開啟 DSH 後重試。`,"panel.remote.errorNotFound":`找不到這台遠端電腦,它可能已被刪除,請重新整理後重試。`,"panel.remote.errorBadRequest":`請求內容不合法,請重新整理面板後重試。`,"panel.remote.createInvite":`このパソコンの招待を作成`,"panel.remote.add":`リモートパソコンを追加`,"panel.remote.empty":`リモートパソコンはありません。相手のパソコンで招待を作成し、ここに貼り付けてください。`,"panel.remote.inviteHint":`この招待をアクセスするパソコンに渡し、そちらの「リモートパソコンを追加」に貼り付けます。10 分以内に一度だけ使えます。信頼できる相手にだけ渡してください。`,"panel.remote.addHint":`相手のパソコンの使い切り招待を貼り付けてください。登録は残りますが、アクセス期限後は開き直してください。`,"panel.remote.inviteLabel":`使い切り招待`,"panel.remote.inviteExpired":`招待の期限が切れました。閉じて作り直してください。`,"panel.remote.inviteRemaining":`残り {minutes} 分、一度だけ使えます。`,"panel.remote.copy":`招待をコピー`,"panel.remote.copied":`招待をコピーしました。`,"panel.remote.manualCopy":`自動コピーできませんでした。上のテキストを選択して手動でコピーしてください。`,"panel.remote.added":`リモートパソコンを追加しました。`,"panel.remote.open":`デスクトップウィンドウで開く`,"panel.remote.remove":`登録を削除`,"panel.remote.removeConfirm":`「{name}」との登録を削除し、アクセスを停止しますか?再度追加する必要があります。`,"panel.remote.removed":`登録を削除しました。`,"panel.remote.route":`経路を選択`,"panel.remote.routeHint":`自動では接続できる経路を選びます。手動では選択した経路だけを使います。`,"panel.remote.routeReopenNote":`視窗開著時:改路線後已開啟的視窗仍走目前路線,重新開啟視窗後才生效。`,"panel.remote.modeSaved":`経路の選択を保存しました。`,"panel.remote.diagnose":`経路をテスト`,"panel.remote.diagnoseHint":`このパソコンの各経路の接続を個別にテストします。`,"panel.remote.diagnoseOk":`接続可`,"panel.remote.diagnoseFail":`接続不可`,"panel.remote.expiredHint":`アクセス期限が切れました。開き直してください。`,"panel.remote.invalidOpenUrl":`ホストが返した URL は有効なローカルアクセス先ではありません。`,"panel.remote.externalOpenFailed":`アクセスウィンドウを開けません。このパソコンのプラグインパネルから再試行してください。`,"panel.remote.popupBlocked":`新しいウィンドウがブロックされました。ポップアップを許可して再試行してください。`,"panel.remote.shellUnavailable":`このパソコンにデスクトップウィンドウがインストールされていないため、既定の方法で開きました。`,"panel.remote.shellFellBack":`デスクトップウィンドウが起動しなかったため、ブラウザで開きました。`,"panel.remote.authorizedTitle":`このパソコンにアクセスできるパソコン`,"panel.remote.unknownComputer":`不明なパソコン`,"panel.remote.revoke":`アクセスを取り消す`,"panel.remote.revokeConfirm":`「{name}」からこのパソコンへのアクセスを取り消しますか?再登録が必要になります。`,"panel.remote.revoked":`このパソコンのアクセス権を取り消しました。`,"panel.remote.state.idle":`未使用`,"panel.remote.state.connecting":`接続中`,"panel.remote.state.connected":`接続済み`,"panel.remote.state.offline":`接続できません`,"panel.remote.state.expired":`アクセス期限切れ`,"panel.remote.state.revoked":`アクセス取り消し済み`,"panel.remote.channel.auto":`自動選択`,"panel.remote.channel.lan":`LAN`,"panel.remote.channel.direct":`直接接続`,"panel.remote.channel.ipv6":`IPv6`,"panel.remote.channel.relay":`リレー`,"panel.remote.channel.tailcat":`Tailcat`,"panel.remote.channel.p2p":`P2P`},ko:{"panel.remote.title":`원격 컴퓨터`,"panel.remote.backConsole":`콘솔로 돌아가기`,"panel.remote.hint":`다른 컴퓨터를 연결하면 이 컴퓨터의 데스크톱 창에서 DSH를 열 수 있습니다. 창을 열어 두는 동안 자동으로 연장되며, 닫은 뒤에도 최대 1시간 유지됩니다.`,"panel.remote.localOnly":`이 컴퓨터의 로컬 패널에서 원격 컴퓨터를 관리해 주세요.`,"panel.remote.failed":`작업에 실패했습니다. 로컬 플러그인을 확인하고 다시 시도하세요.`,"panel.remote.errorAuth":`접속 권한이 유효하지 않거나 취소되었습니다. 다시 연결 등록하세요.`,"panel.remote.errorExpired":`접속이 만료되었습니다. 다시 열어 주세요.`,"panel.remote.errorTimeout":`연결 시간이 초과되었습니다. 잠시 후 다시 시도하세요.`,"panel.remote.errorConnect":`원격 컴퓨터에 연결할 수 없습니다. 네트워크를 확인하고 다시 시도하세요.`,"panel.remote.errorInvitation":`초대가 유효하지 않거나 사용 또는 만료되었습니다. 새로 만드세요.`,"panel.remote.errorVersion":`상대 플러그인 버전이 호환되지 않습니다. 원격 컴퓨터를 지원하는 버전으로 업그레이드하세요.`,"panel.remote.errorUnavailable":`對方電腦暫時無法使用,請確認它已開啟 DSH 後重試。`,"panel.remote.errorNotFound":`找不到這台遠端電腦,它可能已被刪除,請重新整理後重試。`,"panel.remote.errorBadRequest":`請求內容不合法,請重新整理面板後重試。`,"panel.remote.createInvite":`이 컴퓨터의 초대 만들기`,"panel.remote.add":`원격 컴퓨터 추가`,"panel.remote.empty":`원격 컴퓨터가 없습니다. 다른 컴퓨터에서 초대를 만들고 여기에 붙여 넣으세요.`,"panel.remote.inviteHint":`이 컴퓨터에 접속할 컴퓨터로 초대를 보내고 그곳의 “원격 컴퓨터 추가”에 붙여 넣으세요. 10분 안에 한 번만 사용할 수 있습니다. 신뢰하는 사람에게만 공유하세요.`,"panel.remote.addHint":`다른 컴퓨터의 일회용 초대를 붙여 넣으세요. 연결 등록은 유지되며 접속이 만료되면 다시 열어야 합니다.`,"panel.remote.inviteLabel":`일회용 초대`,"panel.remote.inviteExpired":`초대가 만료되었습니다. 닫은 뒤 새로 만드세요.`,"panel.remote.inviteRemaining":`{minutes}분 남음, 한 번만 사용할 수 있습니다.`,"panel.remote.copy":`초대 복사`,"panel.remote.copied":`초대를 복사했습니다.`,"panel.remote.manualCopy":`자동 복사에 실패했습니다. 위 텍스트를 선택해 직접 복사하세요.`,"panel.remote.added":`원격 컴퓨터를 추가했습니다.`,"panel.remote.open":`데스크톱 창에서 열기`,"panel.remote.remove":`연결 등록 삭제`,"panel.remote.removeConfirm":`“{name}” 연결 등록을 삭제하고 접속을 중지할까요? 다시 추가해야 합니다.`,"panel.remote.removed":`연결 등록을 삭제했습니다.`,"panel.remote.route":`경로 선택`,"panel.remote.routeHint":`자동 모드는 실제 연결 가능한 경로를 선택합니다. 수동 모드는 선택한 경로만 사용합니다.`,"panel.remote.routeReopenNote":`視窗開著時:改路線後已開啟的視窗仍走目前路線,重新開啟視窗後才生效。`,"panel.remote.modeSaved":`경로 선택을 저장했습니다.`,"panel.remote.diagnose":`경로 테스트`,"panel.remote.diagnoseHint":`이 컴퓨터의 각 경로 연결을 하나씩 테스트합니다.`,"panel.remote.diagnoseOk":`연결됨`,"panel.remote.diagnoseFail":`연결 안 됨`,"panel.remote.expiredHint":`접속이 만료되었습니다. 다시 열어 주세요.`,"panel.remote.invalidOpenUrl":`호스트가 유효한 로컬 접속 주소를 반환하지 않았습니다.`,"panel.remote.externalOpenFailed":`접속 창을 열 수 없습니다. 이 컴퓨터의 플러그인 패널에서 다시 시도하세요.`,"panel.remote.popupBlocked":`새 창이 차단되었습니다. 팝업을 허용한 뒤 다시 시도하세요.`,"panel.remote.shellUnavailable":`이 컴퓨터에 데스크톱 창이 설치되지 않아 기본 방식으로 열었습니다.`,"panel.remote.shellFellBack":`데스크톱 창이 뜨지 않아 브라우저로 열었습니다.`,"panel.remote.authorizedTitle":`이 컴퓨터에 접속할 수 있는 컴퓨터`,"panel.remote.unknownComputer":`알 수 없는 컴퓨터`,"panel.remote.revoke":`접속 권한 취소`,"panel.remote.revokeConfirm":`“{name}”의 이 컴퓨터 접속 권한을 취소할까요? 다시 연결 등록해야 합니다.`,"panel.remote.revoked":`이 컴퓨터의 접속 권한을 취소했습니다.`,"panel.remote.state.idle":`열리지 않음`,"panel.remote.state.connecting":`연결 중`,"panel.remote.state.connected":`연결됨`,"panel.remote.state.offline":`연결할 수 없음`,"panel.remote.state.expired":`접속 만료됨`,"panel.remote.state.revoked":`권한 취소됨`,"panel.remote.channel.auto":`자동 선택`,"panel.remote.channel.lan":`LAN`,"panel.remote.channel.direct":`직접 연결`,"panel.remote.channel.ipv6":`IPv6`,"panel.remote.channel.relay":`릴레이`,"panel.remote.channel.tailcat":`Tailcat`,"panel.remote.channel.p2p":`P2P`},de:{"panel.remote.title":`Entfernte Computer`,"panel.remote.backConsole":`Zurück zur Konsole`,"panel.remote.hint":`Kopple einen anderen Computer, um dessen DSH in einem Desktop-Fenster auf diesem Computer zu öffnen. Solange das Fenster offen ist, wird der Zugriff automatisch verlängert; nach dem Schließen bleibt er bis zu einer weiteren Stunde bestehen.`,"panel.remote.localOnly":`Öffne das lokale Panel dieses Computers, um entfernte Computer zu verwalten.`,"panel.remote.failed":`Aktion fehlgeschlagen. Prüfe das lokale Plugin und versuche es erneut.`,"panel.remote.errorAuth":`Zugriff ungültig oder widerrufen. Kopple den Computer erneut.`,"panel.remote.errorExpired":`Dieser Zugriff ist abgelaufen. Öffne ihn erneut.`,"panel.remote.errorTimeout":`Zeitüberschreitung. Versuche es gleich erneut.`,"panel.remote.errorConnect":`Verbindung zum entfernten Computer nicht möglich. Prüfe dein Netzwerk und versuche es erneut.`,"panel.remote.errorInvitation":`Einladung ungültig, verwendet oder abgelaufen. Erstelle eine neue.`,"panel.remote.errorVersion":`Die andere Plugin-Version ist nicht kompatibel. Aktualisiere auf eine Version, die entfernte Computer unterstützt.`,"panel.remote.errorUnavailable":`對方電腦暫時無法使用,請確認它已開啟 DSH 後重試。`,"panel.remote.errorNotFound":`找不到這台遠端電腦,它可能已被刪除,請重新整理後重試。`,"panel.remote.errorBadRequest":`請求內容不合法,請重新整理面板後重試。`,"panel.remote.createInvite":`Einladung für diesen Computer erstellen`,"panel.remote.add":`Entfernten Computer hinzufügen`,"panel.remote.empty":`Noch keine entfernten Computer. Erstelle auf dem anderen Computer eine Einladung und füge sie hier ein.`,"panel.remote.inviteHint":`Gib diese Einladung dem Computer, der auf diesen zugreifen soll. Füge sie dort unter „Entfernten Computer hinzufügen“ ein. Sie gilt 10 Minuten und ist einmal verwendbar. Teile sie nur mit vertrauten Personen.`,"panel.remote.addHint":`Füge die einmalige Einladung des anderen Computers ein. Die Kopplung bleibt erhalten; nach Ablauf den Zugriff erneut öffnen.`,"panel.remote.inviteLabel":`Einmalige Einladung`,"panel.remote.inviteExpired":`Die Einladung ist abgelaufen. Schließe den Dialog und erstelle eine neue.`,"panel.remote.inviteRemaining":`Noch {minutes} Minuten; nur einmal verwendbar.`,"panel.remote.copy":`Einladung kopieren`,"panel.remote.copied":`Einladung kopiert.`,"panel.remote.manualCopy":`Automatisches Kopieren fehlgeschlagen. Markiere den Text oben und kopiere ihn manuell.`,"panel.remote.added":`Entfernter Computer hinzugefügt.`,"panel.remote.open":`Im Desktop-Fenster öffnen`,"panel.remote.remove":`Kopplung entfernen`,"panel.remote.removeConfirm":`Kopplung mit „{name}“ entfernen und Zugriff beenden? Der Computer muss erneut hinzugefügt werden.`,"panel.remote.removed":`Kopplung entfernt.`,"panel.remote.route":`Route wählen`,"panel.remote.routeHint":`Automatisch wird eine erreichbare Route gewählt. Manuell wird nur der gewählte Kanal verwendet.`,"panel.remote.routeReopenNote":`視窗開著時:改路線後已開啟的視窗仍走目前路線,重新開啟視窗後才生效。`,"panel.remote.modeSaved":`Routenauswahl gespeichert.`,"panel.remote.diagnose":`Routen testen`,"panel.remote.diagnoseHint":`Testet die Verbindung jeder Route dieses Computers.`,"panel.remote.diagnoseOk":`Erreichbar`,"panel.remote.diagnoseFail":`Nicht erreichbar`,"panel.remote.expiredHint":`Dieser Zugriff ist abgelaufen. Öffne ihn erneut.`,"panel.remote.invalidOpenUrl":`Der Host hat keine gültige lokale Zugriffsadresse geliefert.`,"panel.remote.externalOpenFailed":`Das Zugriffsfenster konnte nicht geöffnet werden. Öffne das Plugin-Panel auf diesem Computer und versuche es erneut.`,"panel.remote.popupBlocked":`Das neue Fenster wurde blockiert. Erlaube Pop-ups und versuche es erneut.`,"panel.remote.shellUnavailable":`Auf diesem Computer ist kein Desktop-Fenster installiert. Stattdessen wurde die Standardmethode verwendet.`,"panel.remote.shellFellBack":`Das Desktop-Fenster wurde nicht gestartet; stattdessen im Browser geöffnet.`,"panel.remote.authorizedTitle":`Computer mit Zugriff auf diesen Computer`,"panel.remote.unknownComputer":`Unbekannter Computer`,"panel.remote.revoke":`Zugriff widerrufen`,"panel.remote.revokeConfirm":`Zugriff von „{name}“ auf diesen Computer widerrufen? Eine erneute Kopplung ist erforderlich.`,"panel.remote.revoked":`Zugriff für diesen Computer widerrufen.`,"panel.remote.state.idle":`Nicht geöffnet`,"panel.remote.state.connecting":`Verbindungsaufbau`,"panel.remote.state.connected":`Verbunden`,"panel.remote.state.offline":`Verbindung nicht verfügbar`,"panel.remote.state.expired":`Zugriff abgelaufen`,"panel.remote.state.revoked":`Zugriff widerrufen`,"panel.remote.channel.auto":`Automatisch`,"panel.remote.channel.lan":`LAN`,"panel.remote.channel.direct":`Direkt`,"panel.remote.channel.ipv6":`IPv6`,"panel.remote.channel.relay":`Relay`,"panel.remote.channel.tailcat":`Tailcat`,"panel.remote.channel.p2p":`P2P`},es:{"panel.remote.title":`Ordenadores remotos`,"panel.remote.backConsole":`Volver a la consola`,"panel.remote.hint":`Vincula otro ordenador para abrir su DSH en una ventana de escritorio de este ordenador. Mientras la ventana siga abierta se renueva automáticamente; tras cerrarla, el acceso se conserva hasta una hora más.`,"panel.remote.localOnly":`Abre el panel local de este ordenador para gestionar los ordenadores remotos.`,"panel.remote.failed":`Error en la operación. Revisa el complemento local e inténtalo de nuevo.`,"panel.remote.errorAuth":`Acceso no válido o revocado. Vincula de nuevo el ordenador.`,"panel.remote.errorExpired":`Este acceso ha caducado. Ábrelo de nuevo.`,"panel.remote.errorTimeout":`La conexión agotó el tiempo. Inténtalo de nuevo en un momento.`,"panel.remote.errorConnect":`No se puede conectar al ordenador remoto. Comprueba tu red e inténtalo de nuevo.`,"panel.remote.errorInvitation":`La invitación no es válida, ya se usó o caducó. Crea otra.`,"panel.remote.errorVersion":`La versión del otro complemento no es compatible. Actualiza a una versión que admita ordenadores remotos.`,"panel.remote.errorUnavailable":`對方電腦暫時無法使用,請確認它已開啟 DSH 後重試。`,"panel.remote.errorNotFound":`找不到這台遠端電腦,它可能已被刪除,請重新整理後重試。`,"panel.remote.errorBadRequest":`請求內容不合法,請重新整理面板後重試。`,"panel.remote.createInvite":`Crear invitación de este ordenador`,"panel.remote.add":`Añadir ordenador remoto`,"panel.remote.empty":`Aún no hay ordenadores remotos. Crea una invitación en el otro ordenador y pégala aquí.`,"panel.remote.inviteHint":`Entrega esta invitación al ordenador que accederá a este y pégala allí en «Añadir ordenador remoto». Solo se usa una vez en 10 minutos. Compártela solo con alguien de confianza.`,"panel.remote.addHint":`Pega la invitación de un solo uso del otro ordenador. La vinculación se conserva; vuelve a abrir el acceso cuando caduque.`,"panel.remote.inviteLabel":`Invitación de un solo uso`,"panel.remote.inviteExpired":`La invitación ha caducado. Cierra el diálogo y crea otra.`,"panel.remote.inviteRemaining":`Quedan {minutes} minutos; un solo uso.`,"panel.remote.copy":`Copiar invitación`,"panel.remote.copied":`Invitación copiada.`,"panel.remote.manualCopy":`No se pudo copiar automáticamente. Selecciona el texto de arriba y cópialo manualmente.`,"panel.remote.added":`Ordenador remoto añadido.`,"panel.remote.open":`Abrir en ventana de escritorio`,"panel.remote.remove":`Eliminar vinculación`,"panel.remote.removeConfirm":`¿Eliminar la vinculación con «{name}» y detener el acceso? Tendrás que añadirlo de nuevo.`,"panel.remote.removed":`Vinculación eliminada.`,"panel.remote.route":`Elegir ruta`,"panel.remote.routeHint":`El modo automático elige una ruta disponible. El modo manual solo usa el canal seleccionado.`,"panel.remote.routeReopenNote":`視窗開著時:改路線後已開啟的視窗仍走目前路線,重新開啟視窗後才生效。`,"panel.remote.modeSaved":`Selección de ruta guardada.`,"panel.remote.diagnose":`Probar rutas`,"panel.remote.diagnoseHint":`Prueba la conexión de cada ruta de este ordenador.`,"panel.remote.diagnoseOk":`Conecta`,"panel.remote.diagnoseFail":`No conecta`,"panel.remote.expiredHint":`Este acceso ha caducado. Ábrelo de nuevo.`,"panel.remote.invalidOpenUrl":`El host no devolvió una dirección de acceso local válida.`,"panel.remote.externalOpenFailed":`No se pudo abrir la ventana de acceso. Abre el panel del complemento en este ordenador e inténtalo de nuevo.`,"panel.remote.popupBlocked":`La nueva ventana fue bloqueada. Permite ventanas emergentes e inténtalo de nuevo.`,"panel.remote.shellUnavailable":`Este ordenador no tiene instalada la ventana de escritorio. Se usó el método de apertura predeterminado.`,"panel.remote.shellFellBack":`La ventana de escritorio no se abrió; se abrió en el navegador.`,"panel.remote.authorizedTitle":`Ordenadores con acceso a este`,"panel.remote.unknownComputer":`Ordenador desconocido`,"panel.remote.revoke":`Revocar acceso`,"panel.remote.revokeConfirm":`¿Revocar el acceso de «{name}» a este ordenador? Tendrá que volver a vincularse.`,"panel.remote.revoked":`Acceso de este ordenador revocado.`,"panel.remote.state.idle":`Sin abrir`,"panel.remote.state.connecting":`Conectando`,"panel.remote.state.connected":`Conectado`,"panel.remote.state.offline":`Conexión no disponible`,"panel.remote.state.expired":`Acceso caducado`,"panel.remote.state.revoked":`Acceso revocado`,"panel.remote.channel.auto":`Automático`,"panel.remote.channel.lan":`LAN`,"panel.remote.channel.direct":`Directa`,"panel.remote.channel.ipv6":`IPv6`,"panel.remote.channel.relay":`Relé`,"panel.remote.channel.tailcat":`Tailcat`,"panel.remote.channel.p2p":`P2P`},fr:{"panel.remote.title":`Ordinateurs distants`,"panel.remote.backConsole":`Retour à la console`,"panel.remote.hint":`Associez un autre ordinateur pour ouvrir son DSH dans une fenêtre de bureau sur cet ordinateur. Tant que la fenêtre reste ouverte, l’accès est renouvelé automatiquement ; après sa fermeture, il est conservé jusqu’à une heure de plus.`,"panel.remote.localOnly":`Ouvrez le panneau local de cet ordinateur pour gérer les ordinateurs distants.`,"panel.remote.failed":`Échec de l’opération. Vérifiez le plugin local et réessayez.`,"panel.remote.errorAuth":`Accès invalide ou révoqué. Associez cet ordinateur à nouveau.`,"panel.remote.errorExpired":`Cet accès a expiré. Rouvrez-le.`,"panel.remote.errorTimeout":`Délai de connexion dépassé. Réessayez dans un instant.`,"panel.remote.errorConnect":`Connexion à l’ordinateur distant impossible. Vérifiez votre réseau et réessayez.`,"panel.remote.errorInvitation":`Invitation invalide, déjà utilisée ou expirée. Créez-en une autre.`,"panel.remote.errorVersion":`La version de l’autre plugin est incompatible. Mettez à jour vers une version prenant en charge les ordinateurs distants.`,"panel.remote.errorUnavailable":`對方電腦暫時無法使用,請確認它已開啟 DSH 後重試。`,"panel.remote.errorNotFound":`找不到這台遠端電腦,它可能已被刪除,請重新整理後重試。`,"panel.remote.errorBadRequest":`請求內容不合法,請重新整理面板後重試。`,"panel.remote.createInvite":`Créer une invitation pour cet ordinateur`,"panel.remote.add":`Ajouter un ordinateur distant`,"panel.remote.empty":`Aucun ordinateur distant. Créez une invitation sur l’autre ordinateur, puis collez-la ici.`,"panel.remote.inviteHint":`Transmettez cette invitation à l’ordinateur qui accédera à celui-ci et collez-la dans « Ajouter un ordinateur distant ». Elle est utilisable une fois pendant 10 minutes. Ne la partagez qu’avec une personne de confiance.`,"panel.remote.addHint":`Collez l’invitation à usage unique de l’autre ordinateur. L’association reste enregistrée ; rouvrez l’accès après son expiration.`,"panel.remote.inviteLabel":`Invitation à usage unique`,"panel.remote.inviteExpired":`Cette invitation a expiré. Fermez la fenêtre et créez-en une autre.`,"panel.remote.inviteRemaining":`Encore {minutes} minutes ; usage unique.`,"panel.remote.copy":`Copier l’invitation`,"panel.remote.copied":`Invitation copiée.`,"panel.remote.manualCopy":`La copie automatique a échoué. Sélectionnez le texte ci-dessus et copiez-le manuellement.`,"panel.remote.added":`Ordinateur distant ajouté.`,"panel.remote.open":`Ouvrir dans une fenêtre de bureau`,"panel.remote.remove":`Supprimer l’association`,"panel.remote.removeConfirm":`Supprimer l’association avec « {name} » et arrêter l’accès ? Il faudra ajouter cet ordinateur à nouveau.`,"panel.remote.removed":`Association supprimée.`,"panel.remote.route":`Choisir une route`,"panel.remote.routeHint":`Le mode automatique choisit une route disponible. Le mode manuel utilise uniquement le canal choisi.`,"panel.remote.routeReopenNote":`視窗開著時:改路線後已開啟的視窗仍走目前路線,重新開啟視窗後才生效。`,"panel.remote.modeSaved":`Choix de route enregistré.`,"panel.remote.diagnose":`Tester les routes`,"panel.remote.diagnoseHint":`Teste la connexion de chaque route de cet ordinateur.`,"panel.remote.diagnoseOk":`OK`,"panel.remote.diagnoseFail":`Échec`,"panel.remote.expiredHint":`Cet accès a expiré. Rouvrez-le.`,"panel.remote.invalidOpenUrl":`L’hôte n’a pas renvoyé une adresse d’accès local valide.`,"panel.remote.externalOpenFailed":`Impossible d’ouvrir la fenêtre d’accès. Ouvrez le panneau du plugin sur cet ordinateur et réessayez.`,"panel.remote.popupBlocked":`La nouvelle fenêtre a été bloquée. Autorisez les fenêtres surgissantes et réessayez.`,"panel.remote.shellUnavailable":`La fenêtre de bureau n’est pas installée sur cet ordinateur. La méthode d’ouverture par défaut a été utilisée.`,"panel.remote.shellFellBack":`La fenêtre de bureau ne s’est pas ouverte ; ouverte dans le navigateur.`,"panel.remote.authorizedTitle":`Ordinateurs autorisés à accéder à celui-ci`,"panel.remote.unknownComputer":`Ordinateur inconnu`,"panel.remote.revoke":`Révoquer l’accès`,"panel.remote.revokeConfirm":`Révoquer l’accès de « {name} » à cet ordinateur ? Une nouvelle association sera nécessaire.`,"panel.remote.revoked":`Accès de cet ordinateur révoqué.`,"panel.remote.state.idle":`Non ouvert`,"panel.remote.state.connecting":`Connexion en cours`,"panel.remote.state.connected":`Connecté`,"panel.remote.state.offline":`Connexion indisponible`,"panel.remote.state.expired":`Accès expiré`,"panel.remote.state.revoked":`Accès révoqué`,"panel.remote.channel.auto":`Automatique`,"panel.remote.channel.lan":`Réseau local`,"panel.remote.channel.direct":`Direct`,"panel.remote.channel.ipv6":`IPv6`,"panel.remote.channel.relay":`Relais`,"panel.remote.channel.tailcat":`Tailcat`,"panel.remote.channel.p2p":`P2P`},pt:{"panel.remote.title":`Computadores remotos`,"panel.remote.backConsole":`Voltar ao console`,"panel.remote.hint":`Vincule outro computador para abrir o DSH dele em uma janela de desktop deste computador. Enquanto a janela estiver aberta, o acesso é renovado automaticamente; ao fechá-la, ele é mantido por até mais uma hora.`,"panel.remote.localOnly":`Abra o painel local deste computador para gerenciar computadores remotos.`,"panel.remote.failed":`Falha na operação. Confira o plugin local e tente novamente.`,"panel.remote.errorAuth":`Acesso inválido ou revogado. Vincule este computador novamente.`,"panel.remote.errorExpired":`Este acesso expirou. Abra novamente.`,"panel.remote.errorTimeout":`A conexão expirou. Tente novamente em instantes.`,"panel.remote.errorConnect":`Não foi possível conectar ao computador remoto. Verifique sua rede e tente novamente.`,"panel.remote.errorInvitation":`O convite é inválido, já foi usado ou expirou. Crie outro.`,"panel.remote.errorVersion":`A versão do outro plugin é incompatível. Atualize para uma versão compatível com computadores remotos.`,"panel.remote.errorUnavailable":`對方電腦暫時無法使用,請確認它已開啟 DSH 後重試。`,"panel.remote.errorNotFound":`找不到這台遠端電腦,它可能已被刪除,請重新整理後重試。`,"panel.remote.errorBadRequest":`請求內容不合法,請重新整理面板後重試。`,"panel.remote.createInvite":`Criar convite deste computador`,"panel.remote.add":`Adicionar computador remoto`,"panel.remote.empty":`Nenhum computador remoto. Crie um convite no outro computador e cole aqui.`,"panel.remote.inviteHint":`Envie este convite ao computador que acessará este e cole em “Adicionar computador remoto”. Ele pode ser usado uma vez em 10 minutos. Compartilhe apenas com alguém de confiança.`,"panel.remote.addHint":`Cole o convite de uso único do outro computador. O vínculo é mantido; abra o acesso novamente após expirar.`,"panel.remote.inviteLabel":`Convite de uso único`,"panel.remote.inviteExpired":`Este convite expirou. Feche a janela e crie outro.`,"panel.remote.inviteRemaining":`Restam {minutes} minutos; uso único.`,"panel.remote.copy":`Copiar convite`,"panel.remote.copied":`Convite copiado.`,"panel.remote.manualCopy":`Não foi possível copiar automaticamente. Selecione o texto acima e copie manualmente.`,"panel.remote.added":`Computador remoto adicionado.`,"panel.remote.open":`Abrir na janela de desktop`,"panel.remote.remove":`Remover vínculo`,"panel.remote.removeConfirm":`Remover o vínculo com “{name}” e parar o acesso? Será preciso adicionar novamente.`,"panel.remote.removed":`Vínculo removido.`,"panel.remote.route":`Escolher rota`,"panel.remote.routeHint":`O modo automático escolhe uma rota disponível. O modo manual usa apenas o canal selecionado.`,"panel.remote.routeReopenNote":`視窗開著時:改路線後已開啟的視窗仍走目前路線,重新開啟視窗後才生效。`,"panel.remote.modeSaved":`Seleção de rota salva.`,"panel.remote.diagnose":`Testar rotas`,"panel.remote.diagnoseHint":`Testa a conexão de cada rota deste computador.`,"panel.remote.diagnoseOk":`Conecta`,"panel.remote.diagnoseFail":`Sem conexão`,"panel.remote.expiredHint":`Este acesso expirou. Abra novamente.`,"panel.remote.invalidOpenUrl":`O host não retornou um endereço de acesso local válido.`,"panel.remote.externalOpenFailed":`Não foi possível abrir a janela de acesso. Abra o painel do plugin neste computador e tente novamente.`,"panel.remote.popupBlocked":`A nova janela foi bloqueada. Permita pop-ups e tente novamente.`,"panel.remote.shellUnavailable":`A janela de desktop não está instalada neste computador. O método de abertura padrão foi usado.`,"panel.remote.shellFellBack":`A janela de desktop não abriu; aberta no navegador.`,"panel.remote.authorizedTitle":`Computadores com acesso a este`,"panel.remote.unknownComputer":`Computador desconhecido`,"panel.remote.revoke":`Revogar acesso`,"panel.remote.revokeConfirm":`Revogar o acesso de “{name}” a este? Será preciso vincular novamente.`,"panel.remote.revoked":`Acesso deste computador revogado.`,"panel.remote.state.idle":`Não aberto`,"panel.remote.state.connecting":`Conectando`,"panel.remote.state.connected":`Conectado`,"panel.remote.state.offline":`Conexão indisponível`,"panel.remote.state.expired":`Acesso expirado`,"panel.remote.state.revoked":`Acesso revogado`,"panel.remote.channel.auto":`Automático`,"panel.remote.channel.lan":`LAN`,"panel.remote.channel.direct":`Direto`,"panel.remote.channel.ipv6":`IPv6`,"panel.remote.channel.relay":`Retransmissão`,"panel.remote.channel.tailcat":`Tailcat`,"panel.remote.channel.p2p":`P2P`},ru:{"panel.remote.title":`Удалённые компьютеры`,"panel.remote.backConsole":`Вернуться в консоль`,"panel.remote.hint":`Подключите другой компьютер, чтобы открыть его DSH в окне рабочего стола на этом компьютере. Пока окно открыто, доступ продлевается автоматически; после закрытия он сохраняется ещё до одного часа.`,"panel.remote.localOnly":`Откройте локальную панель этого компьютера для управления удалёнными компьютерами.`,"panel.remote.failed":`Ошибка операции. Проверьте локальный плагин и повторите попытку.`,"panel.remote.errorAuth":`Доступ недействителен или отозван. Подключите компьютер заново.`,"panel.remote.errorExpired":`Срок доступа истёк. Откройте заново.`,"panel.remote.errorTimeout":`Время подключения истекло. Повторите попытку чуть позже.`,"panel.remote.errorConnect":`Не удалось подключиться к удалённому компьютеру. Проверьте сеть и повторите попытку.`,"panel.remote.errorInvitation":`Приглашение недействительно, использовано или просрочено. Создайте новое.`,"panel.remote.errorVersion":`Версия другого плагина несовместима. Обновите до версии с поддержкой удалённых компьютеров.`,"panel.remote.errorUnavailable":`對方電腦暫時無法使用,請確認它已開啟 DSH 後重試。`,"panel.remote.errorNotFound":`找不到這台遠端電腦,它可能已被刪除,請重新整理後重試。`,"panel.remote.errorBadRequest":`請求內容不合法,請重新整理面板後重試。`,"panel.remote.createInvite":`Создать приглашение этого компьютера`,"panel.remote.add":`Добавить удалённый компьютер`,"panel.remote.empty":`Удалённых компьютеров нет. Создайте приглашение на другом компьютере и вставьте его сюда.`,"panel.remote.inviteHint":`Передайте приглашение компьютеру, который будет подключаться к этому, и вставьте там в «Добавить удалённый компьютер». Оно действует 10 минут и используется один раз. Передавайте только тем, кому доверяете.`,"panel.remote.addHint":`Вставьте одноразовое приглашение другого компьютера. Связь сохраняется; после истечения срока откройте доступ заново.`,"panel.remote.inviteLabel":`Одноразовое приглашение`,"panel.remote.inviteExpired":`Срок приглашения истёк. Закройте окно и создайте новое.`,"panel.remote.inviteRemaining":`Осталось {minutes} мин.; одно использование.`,"panel.remote.copy":`Копировать приглашение`,"panel.remote.copied":`Приглашение скопировано.`,"panel.remote.manualCopy":`Не удалось скопировать автоматически. Выделите текст выше и скопируйте вручную.`,"panel.remote.added":`Удалённый компьютер добавлен.`,"panel.remote.open":`Открыть в окне рабочего стола`,"panel.remote.remove":`Удалить связь`,"panel.remote.removeConfirm":`Удалить связь с «{name}» и остановить доступ? Потребуется добавить компьютер заново.`,"panel.remote.removed":`Связь удалена.`,"panel.remote.route":`Выбрать маршрут`,"panel.remote.routeHint":`Автоматический режим выбирает рабочий маршрут. Ручной использует только выбранный канал.`,"panel.remote.routeReopenNote":`視窗開著時:改路線後已開啟的視窗仍走目前路線,重新開啟視窗後才生效。`,"panel.remote.modeSaved":`Выбор маршрута сохранён.`,"panel.remote.diagnose":`Проверить маршруты`,"panel.remote.diagnoseHint":`Проверяет соединение по каждому маршруту этого компьютера.`,"panel.remote.diagnoseOk":`Есть связь`,"panel.remote.diagnoseFail":`Нет связи`,"panel.remote.expiredHint":`Срок доступа истёк. Откройте заново.`,"panel.remote.invalidOpenUrl":`Хост вернул недопустимый адрес локального доступа.`,"panel.remote.externalOpenFailed":`Не удалось открыть окно доступа. Откройте панель плагина на этом компьютере и повторите попытку.`,"panel.remote.popupBlocked":`Новое окно заблокировано. Разрешите всплывающие окна и повторите попытку.`,"panel.remote.shellUnavailable":`На этом компьютере не установлено окно рабочего стола. Использован способ открытия по умолчанию.`,"panel.remote.shellFellBack":`Окно рабочего стола не запустилось; открыто в браузере.`,"panel.remote.authorizedTitle":`Компьютеры с доступом к этому компьютеру`,"panel.remote.unknownComputer":`Неизвестный компьютер`,"panel.remote.revoke":`Отозвать доступ`,"panel.remote.revokeConfirm":`Отозвать доступ «{name}» к этому компьютеру? Потребуется повторное подключение.`,"panel.remote.revoked":`Доступ этого компьютера отозван.`,"panel.remote.state.idle":`Не открыт`,"panel.remote.state.connecting":`Подключение`,"panel.remote.state.connected":`Подключено`,"panel.remote.state.offline":`Соединение недоступно`,"panel.remote.state.expired":`Срок доступа истёк`,"panel.remote.state.revoked":`Доступ отозван`,"panel.remote.channel.auto":`Автоматически`,"panel.remote.channel.lan":`Локальная сеть`,"panel.remote.channel.direct":`Напрямую`,"panel.remote.channel.ipv6":`IPv6`,"panel.remote.channel.relay":`Ретранслятор`,"panel.remote.channel.tailcat":`Tailcat`,"panel.remote.channel.p2p":`P2P`}}],fg=(()=>{let e={"zh-Hans":{},"zh-Hant":{},en:{},ja:{},ko:{},de:{},es:{},fr:{},pt:{},ru:{}};for(let t of Object.keys(e))e[t]=lg(dg.map(e=>e[t]??{}));return e})();function $(e,t){return ug(fg,sg(),e,t)}function pg(...e){return e.filter(Boolean).join(` `)}var mg={ok:`bg-success`,warn:`bg-warning`,error:`bg-error`,off:`bg-foreground-subtle`},hg={ok:`text-success`,warn:`text-warning`,error:`text-error`,off:`text-foreground-muted`};function gg(e){if(e==null||e===0||e===``)return`—`;let t=new Date(e);if(Number.isNaN(t.getTime()))return String(e);try{return t.toLocaleString(ig(),{hour12:!1})}catch{return t.toLocaleString(void 0,{hour12:!1})}}function _g(e){return e===`connected`?`ok`:e===`error`?`error`:e===`connecting`?`warn`:`off`}function vg(e){let t={connected:`panel.status.connected`,connecting:`panel.status.connecting`,error:`panel.status.error`,off:`panel.status.off`};return t[e]?$(t[e]):e}function yg(e,t){return t?e===`listening`?`ok`:e===`error`?`error`:`warn`:`off`}function bg(e,t){return t?e===`listening`?$(`panel.lan.listening`):e===`error`?$(`panel.lan.error`):e:$(`panel.lan.off`)}function xg(e){let t={healthy:`panel.sidecar.healthy`,starting:`panel.sidecar.starting`,restarting:`panel.sidecar.restarting`,error:`panel.sidecar.error`,stopped:`panel.sidecar.stopped`};return t[e]?$(t[e]):e}function Sg(){return(0,g.useSyncExternalStore)(og,ig,ig)}var Cg=`(max-width: 767px)`;function wg(){let[e,t]=(0,g.useState)(()=>typeof window<`u`&&typeof window.matchMedia==`function`&&window.matchMedia(Cg).matches);return(0,g.useEffect)(()=>{if(typeof window>`u`||typeof window.matchMedia!=`function`)return;let e=window.matchMedia(Cg),n=()=>t(e.matches);return n(),e.addEventListener(`change`,n),()=>e.removeEventListener(`change`,n)},[]),e}function Tg(){return(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,G.jsx)(`circle`,{cx:`12`,cy:`12`,r:`9`}),(0,G.jsx)(`path`,{d:`M3.6 9h16.8M3.6 15h16.8`}),(0,G.jsx)(`path`,{d:`M12 3c2.4 2.4 3.6 5.4 3.6 9s-1.2 6.6-3.6 9c-2.4-2.4-3.6-5.4-3.6-9S9.6 5.4 12 3Z`})]})}function Eg({checked:e}){return(0,G.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,className:pg(`size-4.5 shrink-0 stroke-2`,e?`visible`:`invisible`),children:(0,G.jsx)(`path`,{d:`M4.3 12.55 L9.25 17.5 L19.7 6.5`})})}function Dg(){let e=Sg(),t=$(`panel.language.open`),n=wg(),[r,i]=(0,g.useState)(!1),a=rg(),o=(0,G.jsx)(Q,{variant:`soft`,size:`icon-md`,className:`pointer-events-auto rounded-full shadow-sm`,"aria-label":t,title:`${t} · ${Uh[e]}`,children:(0,G.jsx)(Tg,{})});if(n){let e=(e,t)=>{let n=a===e;return(0,G.jsxs)(`button`,{type:`button`,role:`radio`,"aria-checked":n,onClick:()=>{ag(e),i(!1)},className:pg(`flex w-full cursor-pointer items-center justify-between gap-3 rounded-md px-3 py-2.5 text-left text-sm transition-colors hover:bg-background-muted`,n?`text-foreground-intense`:`text-foreground`),children:[(0,G.jsx)(`span`,{className:`min-w-0 truncate`,children:t}),(0,G.jsx)(Eg,{checked:n})]},e)};return(0,G.jsxs)(Kp,{open:r,onOpenChange:i,children:[(0,G.jsx)(qp,{render:o}),(0,G.jsxs)(tm,{closeLabel:$(`panel.common.close`),children:[(0,G.jsx)(nm,{children:(0,G.jsx)(rm,{children:t})}),(0,G.jsx)(im,{className:`px-3 pb-3`,children:(0,G.jsxs)(`div`,{role:`radiogroup`,"aria-label":t,className:`flex flex-col gap-0.5`,children:[e(`system`,$(`panel.language.system`)),(0,G.jsx)(`div`,{className:`my-1 h-px shrink-0 bg-border`}),Hh.map(t=>e(t,Uh[t]))]})})]})]})}return(0,G.jsxs)(jh,{children:[(0,G.jsx)(Mh,{render:o}),(0,G.jsx)(Fh,{align:`end`,style:{width:`auto`,minWidth:`11rem`},children:(0,G.jsxs)(zh,{value:a,onValueChange:e=>ag(e),children:[(0,G.jsx)(Bh,{value:`system`,children:$(`panel.language.system`)}),(0,G.jsx)(Rh,{}),Hh.map(e=>(0,G.jsx)(Bh,{value:e,children:Uh[e]},e))]})})]})}var Og={local:new Map,session:new Map};function kg(e,t){let n=Og[e],r=n.get(t);return r||(r=new Set,n.set(t,r)),r}function Ag(e,t){Og[e].get(t)?.forEach(e=>e())}function jg(e){try{return e===`session`?window.sessionStorage:window.localStorage}catch{return null}}var Mg=0;function Ng(e){for(let t of[`local`,`session`]){let n=jg(t);e.storageArea&&n&&e.storageArea!==n||(e.key===null?Og[t].forEach(e=>e.forEach(e=>e())):Og[t].get(e.key)?.forEach(e=>e()))}}function Pg(){Mg===0&&typeof window<`u`&&window.addEventListener(`storage`,Ng),Mg++}function Fg(){Mg--,Mg===0&&typeof window<`u`&&window.removeEventListener(`storage`,Ng)}var Ig=new Map;function Lg(e,t,n,r={}){let i=(0,g.useRef)(n),a=(0,g.useRef)(r.serializer),o=(0,g.useRef)(r.deserializer);a.current=r.serializer,o.current=r.deserializer;let s=(0,g.useCallback)(()=>{if(!t)return i.current;let n=jg(e),r=null;try{r=n?.getItem(t)??null}catch{r=null}if(r===null)return i.current;let a=e+`:`+t,s=Ig.get(a);if(s&&s.raw===r)return s.value;let c;try{c=o.current?o.current(r):JSON.parse(r)}catch{c=i.current}return Ig.set(a,{raw:r,value:c}),c},[e,t]),c=(0,g.useCallback)(n=>{if(!t)return()=>{};let r=kg(e,t);return r.add(n),Pg(),()=>{r.delete(n),Fg()}},[e,t]),l=(0,g.useCallback)(()=>i.current,[]);return[(0,g.useSyncExternalStore)(c,s,l),(0,g.useCallback)(n=>{if(!t)return;let r=typeof n==`function`?n(s()):n;try{let n=a.current?a.current(r):JSON.stringify(r);jg(e)?.setItem(t,n)}catch{}Ag(e,t)},[e,t,s]),(0,g.useCallback)(()=>{if(t){try{jg(e)?.removeItem(t)}catch{}Ag(e,t)}},[e,t])]}var Rg=g.createContext(void 0),zg={theme:void 0,setTheme:()=>{},resolvedTheme:void 0,systemTheme:void 0,themes:[],forcedTheme:void 0,mounted:!1};function Bg(){return g.useContext(Rg)??zg}function Vg(){return Bg()}var Hg=`data-ds-dark-theme`,Ug=`data-ds-theme-source`;function Wg(){try{if(typeof window>`u`||window.parent===window)return null;let e=window.parent.document;return e&&e.documentElement?e:null}catch{return null}}function Gg(e){let t=e.body;if(t)return t.hasAttribute(Hg)?`dark`:`light`;let n=e.documentElement.getAttribute(Ug);return n===`dark`?`dark`:n===`light`?`light`:null}function Kg(){try{return window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`}catch{return`light`}}var qg=`dsh-mobile-console-theme`;function Jg(){try{let e=typeof localStorage>`u`?null:localStorage.getItem(qg);return e===`dark`||e===`light`?e:null}catch{return null}}function Yg(e){try{typeof localStorage<`u`&&(e?localStorage.setItem(qg,e):localStorage.removeItem(qg))}catch{}$g(Qg());for(let e of Xg)e()}var Xg=new Set;function Zg(e){return Xg.add(e),()=>Xg.delete(e)}function Qg(){let e=Jg();if(e)return e;let t=Wg();if(t){let e=Gg(t);if(e)return e}return Kg()}function $g(e){if(typeof document>`u`)return;let t=document.documentElement;t.classList.remove(`light`,`dark`),t.classList.add(e),t.style.colorScheme=e}function e_(){let e=()=>$g(Qg());e();let t=[],n=Wg();if(n&&typeof MutationObserver==`function`){let r=new MutationObserver(e);r.observe(n.body||n.documentElement,{attributes:!0,attributeFilter:[Hg]}),r.observe(n.documentElement,{attributes:!0,attributeFilter:[Ug,`class`]}),t.push(()=>r.disconnect())}try{let n=window.matchMedia(`(prefers-color-scheme: dark)`),r=()=>e();n.addEventListener(`change`,r),t.push(()=>n.removeEventListener(`change`,r))}catch{}return()=>{for(let e of t)e()}}function t_(){let[e,t]=(0,g.useState)(()=>Qg());return(0,g.useEffect)(()=>Zg(()=>t(Qg())),[]),e}function n_(){return(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,G.jsx)(`circle`,{cx:`12`,cy:`12`,r:`4`}),(0,G.jsx)(`path`,{d:`M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41`})]})}function r_(){return(0,G.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:(0,G.jsx)(`path`,{d:`M20.5 14.5A8.5 8.5 0 0 1 9.5 3.5a8.5 8.5 0 1 0 11 11Z`})})}function i_(){let{resolvedTheme:e,setTheme:t}=Vg(),n=e===`dark`,r=$(n?`panel.theme.toDay`:`panel.theme.toNight`);return(0,G.jsx)(Q,{variant:`soft`,size:`icon-md`,className:`pointer-events-auto rounded-full shadow-sm`,"aria-label":r,title:r,onClick:()=>t(n?`light`:`dark`),children:n?(0,G.jsx)(n_,{}):(0,G.jsx)(r_,{})})}function a_(){let e=t_()===`dark`,t=$(e?`panel.theme.toDay`:`panel.theme.toNight`);return(0,G.jsx)(Q,{variant:`soft`,size:`icon-md`,className:`pointer-events-auto rounded-full shadow-sm`,"aria-label":t,title:t,onClick:()=>Yg(e?`light`:`dark`),children:e?(0,G.jsx)(n_,{}):(0,G.jsx)(r_,{})})}function o_(){return(0,G.jsxs)(`div`,{className:`pointer-events-none fixed end-6 top-6 z-40 flex items-center gap-2`,children:[(0,G.jsx)(Dg,{}),(0,G.jsx)(i_,{})]})}var s_=`dsh-mobile-plugin:panel-visibility`,c_=null;function l_(){return c_===!1?!1:typeof document>`u`||!document.hidden}function u_(){if(typeof window>`u`||window.parent===window)return()=>{};let e=e=>{let t=e&&e.data;t&&typeof t==`object`&&t.type===s_&&(c_=t.visible===!0)};return window.addEventListener(`message`,e),()=>{window.removeEventListener(`message`,e),c_=null}}var d_=(0,g.createContext)({});function f_(e){let t=(0,g.useRef)(null);return t.current===null&&(t.current=e()),t.current}var p_=typeof window<`u`?g.useLayoutEffect:g.useEffect,m_=(0,g.createContext)(null);function h_(e,t){e.indexOf(t)===-1&&e.push(t)}function g_(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var __=(e,t,n)=>n>t?t:n<e?e:n,v_={},y_=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),b_=e=>typeof e==`object`&&!!e,x_=e=>/^0[^.\s]+$/u.test(e);function S_(e){let t;return()=>(t===void 0&&(t=e()),t)}var C_=e=>e,w_=(...e)=>e.reduce((e,t)=>n=>t(e(n))),T_=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1},E_=class{constructor(){this.subscriptions=[]}add(e){return h_(this.subscriptions,e),()=>this.remove(e)}remove(e){g_(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},D_=e=>e*1e3,O_=e=>e/1e3,k_=(e,t)=>t?1e3/t*e:0,A_=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e},j_=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,M_=1e-7,N_=12;function P_(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=j_(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>M_&&++s<N_);return o}function F_(e,t,n,r){if(e===t&&n===r)return C_;let i=t=>P_(t,0,1,e,n);return e=>e===0||e===1?e:j_(i(e),t,r)}var I_=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,L_=e=>t=>1-e(1-t),R_=F_(.33,1.53,.69,.99),z_=L_(R_),B_=I_(z_),V_=e=>e>=1?1:(e*=2)<1?.5*z_(e):.5*(2-2**(-10*(e-1))),H_=e=>1-Math.sin(Math.acos(e)),U_=L_(H_),W_=I_(H_),G_=F_(.42,0,1,1),K_=F_(0,0,.58,1),q_=F_(.42,0,.58,1),J_=e=>Array.isArray(e)&&typeof e[0]!=`number`;function Y_(e,t){return J_(e)?e[A_(0,e.length,t)]:e}var X_=e=>Array.isArray(e)&&typeof e[0]==`number`,Z_={linear:C_,easeIn:G_,easeInOut:q_,easeOut:K_,circIn:H_,circInOut:W_,circOut:U_,backIn:z_,backInOut:B_,backOut:R_,anticipate:V_},Q_=e=>typeof e==`string`,$_=e=>{if(X_(e)){e.length;let[t,n,r,i]=e;return F_(t,n,r,i)}return Q_(e)?(Z_[e],`${e}`,Z_[e]):e},ev={delta:0,timestamp:0,isProcessing:!1},tv;function nv(){tv=void 0}var rv={now:()=>(tv===void 0&&rv.set(ev.isProcessing||v_.useManualTiming?ev.timestamp:performance.now()),tv),set:e=>{tv=e,queueMicrotask(nv)}},iv=e=>Math.round(e*1e5)/1e5,av=e=>t=>typeof t==`string`&&t.startsWith(e),ov=av(`--`),sv=av(`var(--`),cv=e=>sv(e)?lv.test(e.split(`/*`)[0].trim()):!1,lv=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function uv(e){return typeof e==`string`&&e.split(`/*`)[0].includes(`var(--`)}var dv={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},fv={...dv,transform:e=>__(0,1,e)},pv={...dv,default:1},mv=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function hv(e){return e==null}var gv=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,_v=(e,t)=>n=>!!(typeof n==`string`&&gv.test(n)&&n.startsWith(e)||t&&!hv(n)&&Object.prototype.hasOwnProperty.call(n,t)),vv=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(mv);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},yv=e=>__(0,255,e),bv={...dv,transform:e=>Math.round(yv(e))},xv={test:_v(`rgb`,`red`),parse:vv(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+bv.transform(e)+`, `+bv.transform(t)+`, `+bv.transform(n)+`, `+iv(fv.transform(r))+`)`};function Sv(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var Cv={test:_v(`#`),parse:Sv,transform:xv.transform},wv=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Tv=wv(`deg`),Ev=wv(`%`),Dv=wv(`px`),Ov=wv(`vh`),kv=wv(`vw`),Av={...Ev,parse:e=>Ev.parse(e)/100,transform:e=>Ev.transform(e*100)},jv={test:_v(`hsl`,`hue`),parse:vv(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+Ev.transform(iv(t))+`, `+Ev.transform(iv(n))+`, `+iv(fv.transform(r))+`)`},Mv={test:e=>xv.test(e)||Cv.test(e)||jv.test(e),parse:e=>xv.test(e)?xv.parse(e):jv.test(e)?jv.parse(e):Cv.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?xv.transform(e):jv.transform(e),getAnimatableNone:e=>{let t=Mv.parse(e);return t.alpha=0,Mv.transform(t)}},Nv=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,Pv=new RegExp(mv.source),Fv=new RegExp(Nv.source,`i`);function Iv(e){return isNaN(e)&&typeof e==`string`&&(Pv.test(e)||Fv.test(e))}var Lv=`number`,Rv=`color`,zv=`var`,Bv=`var(`,Vv="${}",Hv=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Uv(e){let t=e.toString();return Pv.test(t)||Fv.test(t)}function Wv(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(Hv,e=>(Mv.test(e)?(r.color.push(a),i.push(Rv),n.push(Mv.parse(e))):e.startsWith(Bv)?(r.var.push(a),i.push(zv),n.push(e)):(r.number.push(a),i.push(Lv),n.push(parseFloat(e))),++a,Vv)).split(Vv),indexes:r,types:i}}function Gv(e){return Wv(e).values}function Kv({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];i+=e===Lv?iv(r[a]):e===Rv?Mv.transform(r[a]):r[a]}return i}}function qv(e){return Kv(Wv(e))}var Jv=e=>typeof e==`number`?0:Mv.test(e)?Mv.getAnimatableNone(e):e,Yv=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:Jv(e);function Xv(e){let t=Wv(e);return Kv(t)(t.values.map((e,n)=>Yv(e,t.split[n])))}var Zv={test:Iv,parse:Gv,createTransformer:qv,getAnimatableNone:Xv};function Qv(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function $v({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=Qv(s,r,e+1/3),a=Qv(s,r,e),o=Qv(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function ey(e,t){return n=>n>0?t:e}var ty=(e,t,n)=>e+(t-e)*n,ny=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},ry=[Cv,xv,jv],iy=e=>ry.find(t=>t.test(e));function ay(e){let t=iy(e);if(!t)return`${e}`,!1;let n=t.parse(e);return t===jv&&(n=$v(n)),n}var oy=(e,t)=>{let n=ay(e),r=ay(t);if(!n||!r)return ey(e,t);let i={...n};return e=>(i.red=ny(n.red,r.red,e),i.green=ny(n.green,r.green,e),i.blue=ny(n.blue,r.blue,e),i.alpha=ty(n.alpha,r.alpha,e),xv.transform(i))},sy=new Set([`none`,`hidden`]);function cy(e,t){return sy.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function ly(e,t){return n=>ty(e,t,n)}function uy(e){return typeof e==`number`?ly:typeof e==`string`?cv(e)?ey:Mv.test(e)?oy:my:Array.isArray(e)?dy:typeof e==`object`?Mv.test(e)?oy:fy:ey}function dy(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>uy(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function fy(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=uy(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function py(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]],s=e.values[o]??0;n[i]=s,r[a]++}return n}var my=(e,t)=>{let n=Zv.createTransformer(t),r=Wv(e),i=Wv(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?sy.has(e)&&!i.values.length||sy.has(t)&&!r.values.length?cy(e,t):w_(dy(py(r,i),i.values),n):(`${e}${t}`,ey(e,t))},hy=/^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;function gy(e,t){let n=hy.exec(e);if(!n)return;let r=hy.exec(t);if(!r||n[2]!==r[2])return;let i=n[2],a=parseFloat(n[1]),o=parseFloat(r[1]);return e=>iv(ty(a,o,e))+i}function _y(e,t,n){if(typeof e==`number`&&typeof t==`number`&&typeof n==`number`)return ty(e,t,n);if(typeof e==`string`&&typeof t==`string`){let n=gy(e,t);if(n)return n}return uy(e)(e,t)}var vy=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`];function yy(e){let t=new Set,n=new Set,r=!1,i=!1,a=new Set,o={delta:0,timestamp:0,isProcessing:!1};function s(t){a.has(t)&&(n.add(t),e()),t(o)}let c={schedule:(e,i=!1,o=!1)=>{let s=o&&r?t:n;return i&&a.add(e),s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0;let a=t;t=n,n=a,t.forEach(s),t.clear(),r=!1,i&&(i=!1,c.process(e))}};return c}var by=40;function xy(e,t,n={delta:0,timestamp:0,isProcessing:!1}){let r=!1,i=!0,a=()=>r=!0,o=vy.reduce((e,t)=>(e[t]=yy(a),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=v_.useManualTiming,o=a?n.timestamp:performance.now();r=!1,a||(n.delta=i?1e3/60:Math.max(Math.min(o-n.timestamp,by),1)),n.timestamp=o,n.isProcessing=!0,s.process(n),c.process(n),l.process(n),u.process(n),d.process(n),f.process(n),p.process(n),m.process(n),n.isProcessing=!1,r&&t&&(i=!1,e(h))},g=()=>{r=!0,i=!0,n.isProcessing||e(h)};return{schedule:vy.reduce((e,t)=>{let n=o[t];return e[t]=(e,t=!1,i=!1)=>(r||g(),n.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<vy.length;t++)o[vy[t]].cancel(e)},state:n,steps:o}}var{schedule:Sy,cancel:Cy,steps:wy}=xy(typeof requestAnimationFrame<`u`?requestAnimationFrame:C_,!0,ev),Ty=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>Sy.update(t,e),stop:()=>Cy(t),now:()=>ev.isProcessing?ev.timestamp:rv.now()}},Ey=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},Dy=2e4;function Oy(e,t=50,n=Dy,r){let i=0,a=e.next(i);for(r?.push(a.value);!a.done&&i<n;)i+=t,a=e.next(i),r?.push(a.value);return i>=n?1/0:i}function ky(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(Oy(r),Dy);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:O_(i)}}var Ay={stiffness:100,damping:10,mass:1,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05},jy=e=>e<0?1/Math.max(1+e,Ay.minDamping):Math.max(1-e,Ay.minDamping);function My(e,t){if(!(e>1))return 1;let n=Math.sqrt(e*e-1),r=e-n,i=e+n,a=2*n*Math.exp(-t)*(1+t);return Fy(e=>i*Math.exp(-r*e)-r*Math.exp(-i*e)-a,e=>Math.exp(-i*e)-Math.exp(-r*e),t)/t}function Ny(e,t){return e*Math.sqrt(1-t*t)}var Py=12;function Fy(e,t,n){let r=n;for(let n=1;n<Py;n++)r-=e(r)/t(r);return r}var Iy=.001;function Ly({duration:e=Ay.duration,bounce:t=Ay.bounce}){let n,r;Ay.maxDuration;let i=jy(t);e=__(Ay.minDuration,Ay.maxDuration,O_(e)),i<1?(n=t=>{let n=t*i,r=n*e,a=Ny(t,i),o=Math.exp(-r);return Iy-n/a*o},r=t=>{let r=t*i*e,a=i*i*t*t*e,o=Math.exp(-r),s=Ny(t*t,i);return(-n(t)+Iy>0?-1:1)*-a*o/s}):(n=t=>-.001+Math.exp(-t*e)*(t*e+1),r=t=>Math.exp(-t*e)*(-t*(e*e)));let a=5/e,o=Fy(n,r,a),s=o*My(i,o*e),c=s*s;return{stiffness:c,damping:i*2*Math.sqrt(c),duration:D_(e)}}var Ry=(e,t)=>(t?e>=0:e>0)&&e<1/0;function zy(e,t){if(Ry(e,t))return e}function By(e){let t=zy(e.stiffness),n=zy(e.damping,!0),r=zy(e.mass),i={...e,stiffness:t??Ay.stiffness,damping:n??Ay.damping,mass:r??Ay.mass,isResolvedFromDuration:!1,isTimeDefined:(t??n??r)===void 0&&(e.duration!==void 0||e.bounce!==void 0)};if(i.isTimeDefined){if(e.visualDuration){let t=jy(e.bounce||0),n=2*Math.PI/(e.visualDuration*1.2)*My(t,2*Math.PI/1.2);i.stiffness=n*n,i.damping=2*t*Math.sqrt(i.stiffness)}else Object.assign(i,Ly(i)),i.isResolvedFromDuration=!0;(!Ry(i.stiffness)||!Ry(i.damping,!0))&&(i.stiffness=Ay.stiffness,i.damping=Ay.damping)}return i}function Vy(e=Ay.visualDuration,t=Ay.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},r=n.keyframes[0],i=n.keyframes[n.keyframes.length-1],a={done:!1,value:r},{stiffness:o,damping:s,mass:c,duration:l,isResolvedFromDuration:u,isTimeDefined:d}=By({...n}),f=e=>d?0:-O_(e),p=s/(2*Math.sqrt(o*c)),m=O_(Math.sqrt(o/c)),h=p*m,g={target:i,delta:i-r,velocity:f(n.velocity||0)||0,restSpeed:0,restDelta:0},_=()=>{let e=Math.abs(g.delta)<5;g.restSpeed=n.restSpeed||(e?Ay.restSpeed.granular:Ay.restSpeed.default),g.restDelta=n.restDelta||(e?Ay.restDelta.granular:Ay.restDelta.default)};_();let v,y,b;if(p<1){let e=Ny(m,p),t={A:0,sinC:0,cosC:0,t:-1,env:0,sin:0,cos:0};b=()=>{t.A=(g.velocity+h*g.delta)/e,t.sinC=h*t.A+g.delta*e,t.cosC=h*g.delta-t.A*e};let n=n=>{n!==t.t&&(t.t=n,t.env=Math.exp(-h*n),t.sin=Math.sin(e*n),t.cos=Math.cos(e*n))};v=e=>(n(e),g.target-t.env*(t.A*t.sin+g.delta*t.cos)),y=e=>(n(e),t.env*(t.sinC*t.sin+t.cosC*t.cos))}else if(p===1){v=e=>g.target-Math.exp(-m*e)*(g.delta+(g.velocity+m*g.delta)*e);let e={C:0};b=()=>{e.C=g.velocity+m*g.delta},y=t=>Math.exp(-m*t)*(m*e.C*t-g.velocity)}else{let e=m*Math.sqrt(p*p-1),t=h-e,n=h+e,r=d?1/0:300/e,i=(e,t)=>Math.exp(t>r?-e*r-h*(t-r):-e*t),a={S:0,F:0};b=()=>{let t=(g.velocity+h*g.delta)/e;a.S=(g.delta+t)/2,a.F=(g.delta-t)/2},v=e=>g.target-a.S*i(t,e)-a.F*i(n,e),y=e=>t*a.S*i(t,e)+n*a.F*i(n,e)}b();let x=u&&l||null,S={calculatedDuration:x,retarget:(e,t)=>{g.target=e[e.length-1],g.delta=g.target-e[0],g.velocity=f(t),n.restSpeed&&n.restDelta||_(),S.calculatedDuration=x,a.done=!1,b()},velocity:e=>D_(y(e)),next:e=>{let t=v(e);if(u)a.done=e>=l;else{let n=D_(y(e));a.done=Math.abs(n)<=g.restSpeed&&Math.abs(g.target-t)<=g.restDelta}return a.value=a.done?g.target:t,a},toString:()=>{let e=Math.min(Oy(S),Dy),t=Ey(t=>S.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return S}Vy.applyToOptions=e=>{let t=ky(e,100,Vy);return e.ease=t.ease,e.duration=D_(t.duration),e.type=`keyframes`,e};function Hy({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>e<s||e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>{let t=v(e);f.done=Math.abs(t)<=l,f.value=f.done?_:_+t},b,x,S=e=>{p(f.value)&&(b=e,x=Vy({keyframes:[f.value,m(f.value)],velocity:-v(e)/r*1e3,damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return!x&&b===void 0&&(t=!0,y(e),S(e)),b!==void 0&&e>=b?x.next(e-b):(!t&&y(e),f)}}}function Uy(e,t,n){let r=[],i=n||v_.mix||_y,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=w_(Array.isArray(t)?t[n]||C_:t,a)),r.push(a)}return r}function Wy(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=Uy(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=T_(e[r],e[r+1],n);return s[r](i)};return n?t=>l(__(e[0],e[a-1],t)):l}function Gy(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=T_(0,t,r);e.push(ty(n,1,i))}}function Ky(e){let t=[0];return Gy(t,e.length-1),t}function qy(e,t){return e.map(e=>e*t)}function Jy(e,t){return e.map(()=>t||q_).splice(0,e.length-1)}function Yy({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=J_(r)?r.map($_):$_(r)||q_,a={done:!1,value:t[0]};if(t.length===2&&!Array.isArray(i)&&(!n||n.length!==2||n[0]===0&&n[1]===1)){let[n,r]=t,o=n===r?void 0:(v_.mix||_y)(n,r);return{calculatedDuration:e,next:t=>(a.value=o?o(i(e>0?__(0,1,t/e):1)):r,a.done=t>=e,a)}}let o=Wy(qy(n&&n.length===t.length?n:Ky(t),e),t,{ease:Array.isArray(i)?i:Jy(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var Xy=5;function Zy(e,t,n){let r=Math.max(t-Xy,0);return k_(n-e(r),t-r)}function Qy(e,t,n=0){return t<=0?n:e.velocity?e.velocity(t):Zy(t=>e.next(t).value,t,e.next(t).value)}var $y=e=>e!==null;function eb(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter($y),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var tb={decay:Hy,inertia:Hy,tween:Yy,keyframes:Yy,spring:Vy};function nb(e){typeof e.type==`string`&&(e.type=tb[e.type])}function rb(e,t){return{kind:e,animation:t,timestamp:rv.now(),frameTimestamp:ev.timestamp,frameIsProcessing:ev.isProcessing}}function ib(e,t,n){let r=globalThis.__MOTION_INSPECT__;if(r)try{r({...rb(`animation-start`,e),options:n?{...t,...n}:t})}catch{}}var ab=class{constructor(){this.isResolved=!1}get finished(){return this._finished||=this.isResolved?Promise.resolve():new Promise(e=>{this._resolve=e}),this._finished}updateFinished(){this._finished=this._resolve=void 0,this.isResolved=!1}notifyFinished(){this.isResolved=!0,this._resolve?.()}then(e,t){return this.finished.then(e,t)}},ob=e=>e/100,sb=class extends ab{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==rv.now()&&this.tick(rv.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause(),ib(this,this.options)}initAnimation(){let{options:e}=this;nb(e);let{type:t=Yy,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||Yy;s!==Yy&&typeof o[0]!=`number`&&(this.mixKeyframes=w_(ob,_y(o[0],o[1])),o=[0,100]);let c=s(o===e.keyframes?e:{...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=Oy(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.currentTime=this.holdTime===null?t:this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=__(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==Hy&&(b.value=eb(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return O_(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+O_(e)}get time(){return O_(this.currentTime)}set time(e){e=D_(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){return Qy(this.generator,this.currentTime,this.options.velocity)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(rv.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=O_(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Ty,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(rv.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}},cb=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function lb(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(mv)||[];if(!r)return e;let i=n.replace(r,``),a=+!!cb.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var ub=/\b([a-z-]*)\(.*?\)/gu,db={...Zv,getAnimatableNone:e=>{let t=e.match(ub);return t?t.map(lb).join(` `):e}},fb={...Zv,getAnimatableNone:e=>{let t=Zv.parse(e);return Zv.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},pb={...dv,transform:Math.round},mb={rotate:Tv,pathRotation:Tv,rotateX:Tv,rotateY:Tv,rotateZ:Tv,scale:pv,scaleX:pv,scaleY:pv,scaleZ:pv,skew:Tv,skewX:Tv,skewY:Tv,distance:Dv,translateX:Dv,translateY:Dv,translateZ:Dv,x:Dv,y:Dv,z:Dv,perspective:Dv,transformPerspective:Dv,opacity:fv,originX:Av,originY:Av,originZ:Dv},hb={borderWidth:Dv,borderTopWidth:Dv,borderRightWidth:Dv,borderBottomWidth:Dv,borderLeftWidth:Dv,borderRadius:Dv,borderTopLeftRadius:Dv,borderTopRightRadius:Dv,borderBottomRightRadius:Dv,borderBottomLeftRadius:Dv,width:Dv,maxWidth:Dv,height:Dv,maxHeight:Dv,top:Dv,right:Dv,bottom:Dv,left:Dv,inset:Dv,insetBlock:Dv,insetBlockStart:Dv,insetBlockEnd:Dv,insetInline:Dv,insetInlineStart:Dv,insetInlineEnd:Dv,padding:Dv,paddingTop:Dv,paddingRight:Dv,paddingBottom:Dv,paddingLeft:Dv,paddingBlock:Dv,paddingBlockStart:Dv,paddingBlockEnd:Dv,paddingInline:Dv,paddingInlineStart:Dv,paddingInlineEnd:Dv,margin:Dv,marginTop:Dv,marginRight:Dv,marginBottom:Dv,marginLeft:Dv,marginBlock:Dv,marginBlockStart:Dv,marginBlockEnd:Dv,marginInline:Dv,marginInlineStart:Dv,marginInlineEnd:Dv,fontSize:Dv,backgroundPositionX:Dv,backgroundPositionY:Dv,...mb,zIndex:pb,fillOpacity:fv,strokeOpacity:fv,numOctaves:pb},gb={...hb,color:Mv,backgroundColor:Mv,outlineColor:Mv,fill:Mv,stroke:Mv,borderColor:Mv,borderTopColor:Mv,borderRightColor:Mv,borderBottomColor:Mv,borderLeftColor:Mv,filter:db,WebkitFilter:db,mask:fb,WebkitMask:fb},_b=e=>gb[e],vb=new Set([db,fb]);function yb(e,t){let n=_b(e);return vb.has(n)||(n=Zv),n.getAnimatableNone?n.getAnimatableNone(t):void 0}function bb(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var xb=e=>e*180/Math.PI,Sb=e=>wb(xb(Math.atan2(e[1],e[0]))),Cb={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Sb,rotateZ:Sb,skewX:e=>xb(Math.atan(e[1])),skewY:e=>xb(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},wb=e=>(e%=360,e<0&&(e+=360),e),Tb=Sb,Eb=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Db=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Ob={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Eb,scaleY:Db,scale:e=>(Eb(e)+Db(e))/2,rotateX:e=>wb(xb(Math.atan2(e[6],e[5]))),rotateY:e=>wb(xb(Math.atan2(-e[2],e[0]))),rotateZ:Tb,rotate:Tb,skewX:e=>xb(Math.atan(e[4])),skewY:e=>xb(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function kb(e){return+!!e.includes(`scale`)}function Ab(e,t){if(!e||e===`none`)return kb(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=Ob,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Cb,i=t}if(!i)return kb(t);let a=r[t],o=i[1].split(`,`).map(Mb);return typeof a==`function`?a(o):o[a]}var jb=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return Ab(n,t)};function Mb(e){return parseFloat(e.trim())}var Nb=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Pb=new Set([...Nb,`pathRotation`]),Fb=e=>e===dv||e===Dv,Ib=new Set([`x`,`y`,`z`]),Lb=Nb.filter(e=>!Ib.has(e));function Rb(e){let t=[];return Lb.forEach(n=>{let r=e.getValue(n);if(r!==void 0){let e=r.get(),i=+!!n.startsWith(`scale`);if(e===i)return;t.push([n,e]),r.set(i)}}),t}var zb=new Set([`bottom`,`right`]);function Bb(e,t,n,r,i,a){let o=parseFloat(e);if(!isNaN(o))return o;let{min:s,max:c}=t()[n],l=c-s;return a===`border-box`?l:l-parseFloat(r)-parseFloat(i)}var Vb={width:({width:e,paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r},i)=>Bb(e,i,`x`,t,n,r),height:({height:e,paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r},i)=>Bb(e,i,`y`,t,n,r),top:({top:e})=>parseFloat(e),left:({left:e})=>parseFloat(e),bottom:({top:e},t)=>{let{y:n}=t();return parseFloat(e)+(n.max-n.min)},right:({left:e},t)=>{let{x:n}=t();return parseFloat(e)+(n.max-n.min)},x:({transform:e})=>Ab(e,`x`),y:({transform:e})=>Ab(e,`y`)};Vb.translateX=Vb.x,Vb.translateY=Vb.y;var Hb=new Set,Ub=!1,Wb=!1,Gb=!1;function Kb(){if(Wb){let e=[],t=new Set,n=new Set;Hb.forEach(r=>{r.needsMeasurement&&(e.push(r),t.add(r.element),zb.has(r.name)&&n.add(r.element))});let r=new Map;n.forEach(e=>{let t=Rb(e);t.length&&(r.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}Wb=!1,Ub=!1,Hb.forEach(e=>e.complete(Gb)),Hb.clear()}function qb(){Hb.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Wb=!0)})}function Jb(){Gb=!0,qb(),Kb(),Gb=!1}function Yb(e,t,n){if(typeof e==`string`){if(y_(e)||x_(e))return parseFloat(e);if(!Zv.test(e)&&Zv.test(n))return yb(t,n)}return e??void 0}var Xb=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(Hb.add(this),Ub||(Ub=!0,Sy.read(qb),Sy.resolveKeyframes(Kb))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=Yb(n.readValue(t,a),t,a);r!==void 0&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}bb(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Hb.delete(this)}cancel(){this.state===`scheduled`&&(Hb.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},Zb=e=>e.startsWith(`--`);function Qb(e,t,n){Zb(t)?e.style.setProperty(t,n):e.style[t]=n}var $b={};function ex(e,t){let n=S_(e);return()=>$b[t]??n()}var tx=ex(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),nx=ex(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),rx=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,ix={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:rx([0,.65,.55,1]),circOut:rx([.55,0,1,.45]),backIn:rx([.31,.01,.66,-.59]),backOut:rx([.33,1.53,.69,.99])};function ax(e,t){if(e)return typeof e==`function`?nx()?Ey(e,t):`ease-out`:X_(e)?rx(e):Array.isArray(e)?e.map(e=>ax(e,t)||ix.easeOut):ix[e]}function ox(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=ax(s,i);Array.isArray(d)&&(u.easing=d);let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};return l&&(f.pseudoElement=l),e.animate(u,f)}function sx(e){return typeof e==`function`&&`applyToOptions`in e}function cx({type:e,...t}){return sx(e)&&nx()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var lx=class extends ab{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=cx(e);this.animation=ox(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=eb(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),Qb(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()},ib(this,e,c)}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e!==`idle`&&e!==`finished`&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return O_(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+O_(e)}get time(){return O_(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=D_(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`finished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,onAttach:t,observe:n,...r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&tx()?(this.animation.timeline=e,Object.assign(this.animation,r),t?.(this.animation),C_):n(this)}},ux={anticipate:V_,backInOut:B_,circInOut:W_};function dx(e){return e in ux}function fx(e){typeof e.ease==`string`&&dx(e.ease)&&(e.ease=ux[e.ease])}var px=10,mx=class extends lx{constructor(e){fx(e),nb(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new sb({...a,autoplay:!1}),s=Math.max(px,rv.now()-this.startTime),c=__(0,px,s-px),l=o.sample(s).value,{name:u}=this.options;i&&u&&Qb(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},hx=(e,t)=>t!==`zIndex`&&!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(Zv.test(e)||e===`0`)&&!e.startsWith(`url(`));function gx(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function _x(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=hx(i,t),s=hx(a,t);return!o||!s?(o!==s&&`${t}${i}${a}${o?a:i}`,!1):gx(e)||(n===`spring`||sx(n))&&r}function vx(e){e.duration=0,e.type=`keyframes`}var yx=new Set([`opacity`,`clipPath`,`filter`,`transform`,`backgroundColor`]),bx=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function xx(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&bx.test(e[t]))return!0;return!1}var Sx=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),Cx=S_(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function wx(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!n||!(yx.has(n)||Sx.has(n)))return!1;let c=t?.owner?.current;if(!(c instanceof HTMLElement)&&!(c instanceof SVGElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return Cx()&&(yx.has(n)||Sx.has(n)&&xx(s))&&(n!==`transform`||!u)&&!l&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var Tx=40,Ex=class extends ab{constructor(e){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=rv.now();let{keyframes:t,name:n,motionValue:r,element:i}=e,a=e;a.autoplay??=!0,a.delay??=0,a.type??=`keyframes`,a.repeat??=0,a.repeatDelay??=0,a.repeatType??=`loop`;let o=i?.KeyframeResolver||Xb;this.keyframeResolver=new o(t,(e,t,n)=>this.onKeyframesResolved(e,t,a,!n),n,r,i),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=rv.now();let u=!0;_x(e,i,a,o)||(u=!1,(v_.instantAnimations||!s)&&l?.(eb(e,n,t)),e[0]=e[e.length-1],vx(n),n.repeat=0);let d=r?this.resolvedAt&&this.resolvedAt-this.createdAt>Tx?this.resolvedAt:this.createdAt:void 0,{onComplete:f}=n;n.startTime??=d,n.finalKeyframe=t,n.keyframes=e,n.onComplete=()=>{f?.(),this.notifyFinished()};let p=u&&!c&&wx(n),m;if(p){n.element=n.motionValue?.owner?.current;try{m=new mx(n)}catch{m=new sb(n)}}else m=new sb(n);this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this._animation.finished:super.finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Jb()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}},Dx=class{constructor(e){this.stop=()=>this.runAll(`stop`),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e){let t=this.animations.map(t=>t.attachTimeline(e));return()=>{t.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll(`time`)}set time(e){this.setAll(`time`,e)}get speed(){return this.getAll(`speed`)}set speed(e){this.setAll(`speed`,e)}get state(){return this.getAll(`state`)}get startTime(){return this.getAll(`startTime`)}get duration(){return Ox(this.animations,`duration`)}get iterationDuration(){return Ox(this.animations,`iterationDuration`)}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll(`play`)}pause(){this.runAll(`pause`)}cancel(){this.runAll(`cancel`)}complete(){this.runAll(`complete`)}};function Ox(e,t){let n=0;for(let r=0;r<e.length;r++){let i=e[r][t];i!==null&&i>n&&(n=i)}return n}var kx=class extends Dx{then(e,t){return this.finished.finally(e).then(()=>{})}};function Ax(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var jx=30,Mx=e=>!isNaN(parseFloat(e)),Nx={current:void 0},Px=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=rv.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.notifyChange(),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=rv.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Mx(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){var n;return e===`change`?this.onChangeSubscribe(t):((n=this.events)[e]||(n[e]=new E_)).add(t)}onChangeSubscribe(e){let{events:t}=this;return!t.change&&!this.changeSubscriber?this.changeSubscriber=e:(t.change||(t.change=new E_,t.change.add(this.changeSubscriber),this.changeSubscriber=void 0),t.change.add(e)),()=>{this.changeSubscriber===e?this.changeSubscriber=void 0:t.change?.remove(e),this.stopIfUnobserved()}}stopIfUnobserved(){Sy.read(()=>{!this.changeSubscriber&&!this.events.change?.getSize()&&this.stop()})}clearListeners(){this.changeSubscriber=void 0;for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.notifyChange()}notifyChange(){let{current:e,changeSubscriber:t}=this;t?t(e):this.events.change?.notify(e)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return Nx.current&&Nx.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=rv.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>jx)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,jx);return k_(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0;let n=!1,r;r=e(()=>{n=!0,this.events.animationComplete?.notify(),this.animation===r&&this.clearAnimation(),t()}),n||(this.animation=r),this.events.animationStart?.notify()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){this.animation=void 0}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function Fx(e,t){return new Px(e,t)}function Ix(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function Lx(e,t){let n=e?.[t]??e?.default??e;return n===e?n:Ix(n,e)}var Rx={type:`spring`,stiffness:500,damping:25,restSpeed:10},zx=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Bx={type:`keyframes`,duration:.8},Vx={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},Hx=(e,{keyframes:t})=>t.length>2?Bx:Pb.has(e)?e.startsWith(`scale`)?zx(t[1]):Rx:Vx,Ux=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function Wx(e){for(let t in e)if(!Ux.has(t))return!0;return!1}var Gx=(e,t,n,r={},i,a)=>o=>{let s=Lx(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=D_(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};Wx(s)||Object.assign(u,Hx(e,u)),u.duration&&=D_(u.duration),u.repeatDelay&&=D_(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(vx(u),u.delay===0&&(d=!0)),(v_.instantAnimations||v_.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,vx(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=eb(u.keyframes,s);if(e!==void 0){Sy.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new sb(u):new Ex(u)},Kx=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function qx(e){let t=Kx.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function Jx(e,t,n=1){`${e}`;let[r,i]=qx(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return y_(e)?parseFloat(e):e}return cv(i)?Jx(i,t,n+1):i}function Yx(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function Xx(e,t,n,r){let i=t=>typeof t==`function`?t(n===void 0?e.custom:n,...Yx(r)):t;return t=i(t),typeof t==`string`&&(t=e.variants&&e.variants[t]),i(t)}function Zx(e,t,n){return Xx(e.getProps(),t,n,e)}var Qx=(e,t)=>t===`exit`?e.presenceContext?.custom:void 0,$x=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Nb]),eS=e=>Array.isArray(e);function tS(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Fx(n))}function nS(e){return eS(e)?e[e.length-1]||0:e}function rS(e,t){let{transitionEnd:n={},transition:r={},...i}=Zx(e,t)||{};i={...i,...n};for(let t in i)tS(e,t,nS(i[t]))}var iS=e=>!!(e&&e.getVelocity);function aS(e){return!!(iS(e)&&e.add)}function oS(e,t){let n=e.getValue(`willChange`);if(aS(n))return n.add(t);if(!n&&v_.WillChange){let n=new v_.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function sS(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var cS=`data-`+sS(`framerAppearId`);function lS(e){return e.props[cS]}var uS=typeof window<`u`;function dS({protectedKeys:e,needsAnimating:t},n){let r=n in e&&!t[n];return t[n]=!1,r}function fS(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?Ix(a,c):c;let l=a?.reduceMotion,u=a?.skipAnimations;r&&(a=r);let d=[],f=i&&e.animationState?.getState()[i],p=a?.path;p&&p.animateVisualElement(e,s,a,n,d);for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||f&&dS(f,t))continue;let o={delay:n,...Lx(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){Sy.update(()=>r.set(i));continue}let p=!1;if(uS&&window.MotionHandoffAnimation){let n=lS(e);if(n){let e=window.MotionHandoffAnimation(n,t,Sy);e!==null&&(o.startTime=e,p=!0)}}oS(e,t);let m=l??e.shouldReduceMotion;r.start(Gx(t,r,i,m&&$x.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>Sy.update(()=>{o&&rS(e,o)});d.length?Promise.all(d).then(t):t()}return d}function pS(e,t,n={}){let r=Zx(e,t,Qx(e,n.type)),i=n.transitionOverride||(r?.transition??(e.getDefaultTransition()||{})),a=()=>Promise.all(r?fS(e,r,n):[]),o=(r=0)=>{let{variantChildren:a}=e,{delayChildren:o=0,staggerChildren:s,staggerDirection:c}=i,l=[];return a?.forEach(e=>{e.notify(`AnimationStart`,t),l.push(pS(e,t,{...n,delay:r+(typeof o==`function`?0:o)+Ax(a,e,o,s,c)}).then(()=>e.notify(`AnimationComplete`,t)))}),Promise.all(l)},{when:s}=i;return s?s===`beforeChildren`?a().then(()=>o()):o().then(a):Promise.all([a(),o(n.delay)])}function mS(e,t,n={}){return e.notify(`AnimationStart`,t),(Array.isArray(t)?Promise.all(t.map(t=>pS(e,t,n))):typeof t==`string`?pS(e,t,n):Promise.all(fS(e,Zx(e,t,n.custom),n))).then(()=>{e.notify(`AnimationComplete`,t)})}var hS={test:e=>e===`auto`,parse:e=>e},gS=e=>t=>t.test(e),_S=[dv,Dv,Ev,Tv,kv,Ov,hS],vS=e=>_S.find(gS(e));function yS(e){return typeof e==`number`?e===0:e===null||e===`none`||e===`0`||x_(e)}var bS=new Set([`auto`,`none`,`0`]);function xS(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!bS.has(t)&&Uv(t)&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]!==i&&(e[r]=yb(n,i))}var SS=class extends Xb{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),cv(r))){let i=Jx(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!$x.has(n)||e.length!==2)return;let[r,i]=e;if(typeof r==`number`&&typeof i==`number`)return;let a=vS(r),o=vS(i);if(uv(r)!==uv(i)&&Vb[n]){this.needsMeasurement=!0;return}if(a!==o){if(Fb(a)&&Fb(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else Vb[n]&&(this.needsMeasurement=!0)}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||yS(e[t]))&&n.push(t);n.length&&xS(e,n,t)}measure(){let{element:e,name:t}=this;return Vb[t](window.getComputedStyle(e.current),()=>e.measureViewportBox())}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=this.measure(),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&this.motionValue?.jump(r,!1)}measureEndState(){let{element:e,unresolvedKeyframes:t}=this;if(!e||!e.current)return;this.motionValue?.jump(this.measuredOrigin,!1);let n=t.length-1,r=t[n];t[n]=this.measure(),r!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}},CS=[];function wS(e){typeof e.test==`function`&&e.read,TS(e),CS.unshift(e)}function TS(e){g_(CS,e)}function ES(e){return CS.find(t=>t.test(e))}function DS(e,t,n={},r){let i=[],{velocity:a}=n,o=n.reduceMotion??r?.shouldReduceMotion;for(let s in t){if(s===`transition`||s===`transitionEnd`)continue;let c=t[s];if(c===void 0)continue;let l=e(s),u=l.get();if(u!==void 0&&!l.isAnimating()&&!Array.isArray(c)&&c===u&&!a){Sy.update(()=>l.set(c));continue}l.start(Gx(s,l,c,o&&$x.has(s)?{type:!1}:n,r)),l.animation&&i.push(l.animation)}let{transitionEnd:s}=t;if(s){let t=()=>Sy.update(()=>{for(let t in s)e(t).set(s[t])});i.length?Promise.all(i).then(t):t()}return i}function OS(e,t,n,r,i){return DS(r=>{let a=e.get(t,r);if(!a){let o;if(!i){let i=n[r];o=kS(i)??e.read(t,r,i),`${r}`}a=Fx(o,{owner:i}),e(t,{[r]:a})}return a},n,r,i)}function kS(e){let t=Array.isArray(e)?e[0]:void 0;return t===null?void 0:t}function AS(e){return b_(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}function jS(e){return b_(e)&&`ownerSVGElement`in e}var MS=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function NS(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var PS=class{constructor(e=Sy.render){this.step=e,this.values=new Map,this.pending=[],this.numPending=0,this.flush=()=>{let{pending:e,numPending:t}=this;this.numPending=0;for(let n=0;n<t;n++)e[n]()}}set(e,t,n,r){if(this.values.get(e)?.onRemove(),r)for(let e of this.values.values())e.value===r&&(n=e.render);let i=()=>n&&this.schedule(n);t.get()!==void 0&&i();let a=t.on(`change`,i),o=()=>{a(),n&&!r&&this.cancel(n),this.values.get(e)?.onRemove===o&&this.values.delete(e)};return this.values.set(e,{value:t,render:r?void 0:n,onRemove:o}),o}get(e){return this.values.get(e)?.value}release(){let e=new Map;return this.values.forEach((t,n)=>{e.set(n,t.value),t.onRemove()}),this.transformKeys=this.transformValues=void 0,e}schedule(e){let{pending:t,numPending:n}=this;for(let r=0;r<n;r++)if(t[r]===e)return;n||this.step(this.flush),t[this.numPending++]=e}cancel(e){let{pending:t}=this;for(let n=0;n<this.numPending;n++)if(t[n]===e){t[n]=t[--this.numPending];return}}};function FS(e,{step:t,...n}={}){let r=new WeakMap;return Object.assign((n,i)=>{let a=r.get(n)??new PS(t);r.set(n,a);let o=[];for(let t in i){let r=i[t],s=e(n,a,t,r);o.push(s)}return()=>{for(let e of o)e()}},n,{get:(e,t)=>r.get(e)?.get(t),flush:e=>r.get(e)?.flush(),state:e=>r.get(e)})}var IS={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},LS={};function RS(e){let t=``,{transformKeys:n=[],transformValues:r={}}=e;for(let e=0;e<n.length;e++){let i=n[e],a=r[i].get();a!==void 0&&(typeof a==`number`?a:parseFloat(a))!==+!!i.startsWith(`scale`)&&(t+=(t&&` `)+(LS[i]||(LS[i]=(IS[i]||i)+`(`))+MS(a,mb[i])+`)`)}let i=e.get(`pathRotation`)?.get();return i&&(t+=(t&&` `)+`rotate(`+MS(i,mb.pathRotation)+`)`),t||`none`}var zS=new Set([`originX`,`originY`,`originZ`]),BS=(e,t)=>MS(e.get(t)?.get(),hb[t]),VS=(e,t,n,r)=>{let i,a;if(Pb.has(n)){if(n!==`pathRotation`){let e=t.transformKeys??=[];(t.transformValues??={})[n]=r,e.includes(n)||(e.push(n),e.sort((e,t)=>Nb.indexOf(e)-Nb.indexOf(t)))}t.get(`transform`)||(!AS(e)&&!t.get(`transformBox`)&&VS(e,t,`transformBox`,new Px(`fill-box`)),t.set(`transform`,new Px(`none`),()=>{e.style.transform=RS(t)})),a=t.get(`transform`)}else zS.has(n)?(t.get(`transformOrigin`)||t.set(`transformOrigin`,new Px(``),()=>{let n=BS(t,`originX`)??`50%`,r=BS(t,`originY`)??`50%`,i=BS(t,`originZ`)??0;e.style.transformOrigin=`${n} ${r} ${i}`}),a=t.get(`transformOrigin`)):i=Zb(n)?()=>{e.style.setProperty(n,r.get())}:()=>{e.style[n]=MS(r.get(),hb[n])};return t.set(n,r,i,a)},HS=e=>AS(e)||jS(e),US=(e,t)=>{if(Pb.has(t))return jb(e,t);let n=getComputedStyle(e),r=Zb(t)?n.getPropertyValue(t):n[t];return typeof r==`string`&&r.trim()||0},WS=FS(VS,{test:HS,read:US}),GS={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},KS=Nb.length;function qS(e,t,n){let r=``,i=!0;for(let a=0;a<KS;a++){let o=Nb[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=MS(s,hb[o]);if(!c){i=!1;let t=GS[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${MS(a,hb.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function JS(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(Pb.has(e)){o=!0;continue}if(ov(e)){i[e]=n;continue}{let t=MS(n,hb[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=qS(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}var YS={offset:`stroke-dashoffset`,array:`stroke-dasharray`},XS={offset:`strokeDashoffset`,array:`strokeDasharray`};function ZS(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?YS:XS;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var QS=[`transform`,`opacity`,`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function $S(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(JS(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;for(let e of QS)d[e]!==void 0&&(f[e]=d[e],delete d[e]);(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox),t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&ZS(d,i,a,o,!1)}function eC(e,t){if(!(t in e))return!1;let n=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),t)||Object.getOwnPropertyDescriptor(e,t);return n&&typeof n.set==`function`}var tC=(e,t,n,r,i=n)=>{let a=eC(e,i);!a&&(i.startsWith(`data`)||i.startsWith(`aria`))&&(i=sS(i));let o=hb[n]||hb[i],s=a?()=>{e[i]=MS(r.get(),hb[n])}:()=>{let t=MS(r.get(),o);t==null?e.removeAttribute(i):e.setAttribute(i,String(t))};return t.set(n,r,s)};function nC(e,t,n,r){return Sy.render(()=>e.setAttribute(`pathLength`,`1`)),n===`pathOffset`?t.set(n,r,()=>{let t=r.get();e.setAttribute(`stroke-dashoffset`,`${-t}`)}):(t.get(`stroke-dasharray`)||t.set(`stroke-dasharray`,new Px(`1 1`),()=>{let n=t.get(`pathLength`)?.get()??1,r=t.get(`pathSpacing`)?.get();e.setAttribute(`stroke-dasharray`,`${n} ${r??1-Number(n)}`)}),t.set(n,r,void 0,t.get(`stroke-dasharray`)))}var rC=FS((e,t,n,r)=>n.startsWith(`path`)?nC(e,t,n,r):n.startsWith(`attr`)?tC(e,t,n,r,iC(n)):(Pb.has(n)||zS.has(n)||Zb(n)||n in e.style?VS:tC)(e,t,n,r),{test:jS,read:(e,t)=>Pb.has(t)?hb[t]?.default||0:Zb(t)||QS.includes(t)?US(e,t)||e.getAttribute(sS(t))||0:(t=iC(t),e.getAttribute(sS(t))??e.getAttribute(t)??void 0)});function iC(e){return e.replace(/^attr([A-Z])/,(e,t)=>t.toLowerCase())}function aC({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function oC(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function sC(e,t){return aC(oC(e.getBoundingClientRect(),t))}var cC={},lC=e=>jS(e)?rC:WS,uC=class{constructor(e,t){this.effect=e,this.current=t,this.KeyframeResolver=SS}getValue(e){return this.effect.get(this.current,e)}readValue(e,t){return this.effect.read(this.current,e,t)}render(){this.effect.flush(this.current)}measureViewportBox(){return sC(this.current)}getProps(){return cC}};function dC(e,t,n,r){if(r)return DS(e=>r.getValue(e,null),t,n,r);let i=lC(e);return OS(i,e,t,n,new uC(i,e))}var fC=FS((e,t,n,r)=>t.set(n,r,()=>{e[n]=r.get()}),{test:e=>b_(e),read:(e,t)=>{let n=e[t];return typeof n==`string`||typeof n==`number`?n:void 0}}),{schedule:pC,cancel:mC}=xy(queueMicrotask,!1),hC={x:!1,y:!1};function gC(){return hC.x||hC.y}function _C(e,t){let n=NS(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function vC(e){return!(e.pointerType===`touch`||gC())}function yC(e,t,n={}){let[r,i,a]=_C(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!vC(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var bC=(e,t)=>t?e===t||bC(e,t.parentElement):!1,xC=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,SC=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function CC(e){return SC.has(e.tagName)||e.isContentEditable===!0}var wC=new WeakSet;function TC(e){return t=>{t.key===`Enter`&&e(t)}}function EC(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var DC=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=TC(()=>{if(wC.has(n))return;EC(n,`down`);let e=TC(()=>{EC(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>EC(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function OC(e){return xC(e)&&!gC()}var kC=new WeakSet;function AC(e,t,n={}){let[r,i,a]=_C(e,n),o=e=>{let r=e.currentTarget;if(!OC(e)||kC.has(e))return;wC.add(r),n.stopPropagation&&kC.add(e);let a=t(r,e),o={...i,capture:!0},s=(e,t)=>{window.removeEventListener(`pointerup`,c,o),window.removeEventListener(`pointercancel`,l,o),wC.has(r)&&wC.delete(r),OC(e)&&typeof a==`function`&&a(e,{success:t})},c=e=>{s(e,r===window||r===document||n.useGlobalTarget||bC(r,e.target))},l=e=>{s(e,!1)};window.addEventListener(`pointerup`,c,o),window.addEventListener(`pointercancel`,l,o)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),AS(e)&&(e.addEventListener(`focus`,e=>DC(e,i)),!CC(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function jC(...e){let t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],a=e[2+n],o=e[3+n],s=Wy(i,a,o);return t?s(r):s}var MC=()=>({min:0,max:0}),NC=()=>({x:MC(),y:MC()}),PC=new WeakMap;function FC(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function IC(e){return typeof e==`string`||Array.isArray(e)}var LC=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],RC=[`initial`,...LC];function zC(e){if(FC(e.animate))return!0;for(let t=0;t<RC.length;t++)if(IC(e[RC[t]]))return!0;return!1}function BC(e){return!!(zC(e)||e.variants)}function VC(e,t,n){for(let r in t){let i=t[r],a=n[r];if(iS(i))e.addValue(r,i);else if(iS(a))e.addValue(r,Fx(i,{owner:e}));else if(a!==i){if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,Fx(t===void 0?i:t,{owner:e}))}}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var HC={current:null},UC={current:!1},WC=typeof window<`u`;function GC(){if(UC.current=!0,WC){if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>HC.current=e.matches;e.addEventListener(`change`,t),t()}else HC.current=!1}}var KC=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],qC={};function JC(e){qC=e}function YC(){return qC}var XC=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Xb,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=rv.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,Sy.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=zC(t),this.isVariantNode=BC(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&iS(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];if(this.current=e,PC.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.isVariantNode&&!this.isControllingVariants){let e=this;do e=e.props.inherit!==!1&&e.parent;while(e&&!e.isVariantNode);if(e){let{variantChildren:t}=e;t.add(this),this.removeFromVariantTree=()=>t.delete(this)}}this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(UC.current||GC(),this.shouldReduceMotion=HC.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Cy(this.notifyUpdate),Cy(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&yx.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new lx({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:D_(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=Pb.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&Sy.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return!this.current||!e.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in qC){let t=qC[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):NC()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<KC.length;t++){let n=KC[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=VC(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}addValue(e,t){let n=this.values.get(e);if(t!==n){n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t);let r=t.get();r!==void 0&&(this.latestValues[e]=r)}}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=Fx(t??this.getDefaultValue?.(e),{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(y_(n)||x_(n))?n=parseFloat(n):typeof n!=`number`&&!Zv.test(n)&&Zv.test(t)&&(n=yb(e,t)),this.setBaseTarget(e,iS(n)?n.get():n)),iS(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}on(e,t){return this.events[e]||(this.events[e]=new E_),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){pC.render(this.render)}},ZC=class extends XC{constructor(){super(...arguments),this.KeyframeResolver=SS}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;iS(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},QC=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function $C(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}var ew={};function tw(e,{layout:t,layoutId:n}){return Pb.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!ew[e]||e===`opacity`)}function nw(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(iS(r[t])||i&&iS(i[t])||tw(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function rw(e){return window.getComputedStyle(e)}var iw=class extends ZC{constructor(){super(...arguments),this.type=`html`,this.renderInstance=$C}mount(e){e.style,super.mount(e)}readValueFromInstance(e,t){if(Pb.has(t))return this.projection?.isProjecting?kb(t):jb(e,t);{let n=rw(e),r=(ov(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return sC(e,t)}build(e,t,n){JS(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return nw(e,t,n)}},aw=new Set([`baseFrequency`,`diffuseConstant`,`kernelMatrix`,`kernelUnitLength`,`keySplines`,`keyTimes`,`limitingConeAngle`,`markerHeight`,`markerWidth`,`numOctaves`,`targetX`,`targetY`,`surfaceScale`,`specularConstant`,`specularExponent`,`stdDeviation`,`tableValues`,`viewBox`,`gradientTransform`,`pathLength`,`startOffset`,`textLength`,`lengthAdjust`]),ow=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function sw(e,t,n,r){$C(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(aw.has(n)?n:sS(n),t.attrs[n])}function cw(e,t,n){let r=nw(e,t,n);for(let n in e)if(iS(e[n])||iS(t[n])){let t=Nb.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var lw=class extends ZC{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=NC}getBaseTargetFromProps(e,t){return Pb.has(t)?super.getBaseTargetFromProps(e,t)??kb(t):e[t]}getDefaultValue(e){return Pb.has(e)?this.latestValues[e]??kb(e):void 0}readValueFromInstance(e,t){if(Pb.has(t)){let e=_b(t);return e&&e.default||0}if(QS.includes(t)){let n=getComputedStyle(e)[t];if(typeof n==`string`&&n)return n.trim()}return t=aw.has(t)?t:sS(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return cw(e,t,n)}build(e,t,n){$S(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){sw(e,t,n,r)}mount(e){this.isSVGTag=ow(e.tagName),super.mount(e)}};function uw(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var dw=[...LC].reverse();function fw(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>mS(e,t,n))),n=mw(),r=!0,i=!1;function a(a){let{props:o,parent:s,manuallyAnimateOnMount:c}=e,l=r||i,u=[],d=new Set,f={},p=1/0,m=e;do m=m.props.inherit!==!1&&m.parent;while(m&&!m.isControllingVariants);if(dw.forEach((t,r)=>{let i=n[t],h=o[t],g=m&&m.props[t],_=h===void 0?IC(g)||g===!1?g:void 0:h,v=IC(_),y=t===a?i.isActive:null;y===!1&&(p=r);let b=v&&h===void 0&&!(l&&c);if(i.protectedKeys={...f},!i.isActive&&y===null||!_&&!i.prevProp||FC(_)||typeof _==`boolean`)return;if(t===`exit`&&i.isActive&&y!==!0){f={...f,...i.prevResolvedValues};return}let x=pw(i.prevProp,_),S=x||v&&(y&&!b||r>p),C=!1,w=Array.isArray(_)?_:[_],T={};if(y!==!1)for(let n of w){let{transition:r,transitionEnd:i,...a}=Zx(e,n,Qx(e,t))||{};T={...T,...a,...i}}let{prevResolvedValues:E}=i;for(let t in{...E,...T}){if(t in f)continue;let n=T[t],r=E[t],a=Array.isArray(n)&&Array.isArray(r)?!uw(n,r)||x:n!==r;if(a&&n==null)d.add(t);else if(a||n!==void 0&&d.has(t)){S=!0,d.delete(t)&&(C=!0),i.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)}else i.protectedKeys[t]=!0}if(i.prevProp=_,i.prevResolvedValues=T,i.isActive&&(f={...f,...T}),S&&(!(b&&x)||C))for(let n of w){let r={type:t};if(typeof n==`string`&&l&&c&&s?.enteringChildren){let t=Zx(s,n)?.transition?.delayChildren;r.delay=Ax(s.enteringChildren,e,t)}u.push({animation:n,options:r})}}),d.size){let{initial:t}=o,n={},r=typeof t!=`boolean`&&Zx(e,Array.isArray(t)?t[0]:t,e.presenceContext?.custom);r&&r.transition&&(n.transition=r.transition),d.forEach(i=>{let a=e.getValue(i);a&&(a.liveStyle=!0);let s=r&&!Array.isArray(t)?r[i]:void 0,c=e.getBaseTargetFromProps(o,i);n[i]=(s===void 0?c!==void 0&&!iS(c)?c:e.initialValues[i]===void 0?e.baseTarget[i]:void 0:s)??null}),u.push({animation:n})}let h=l&&e.blockInitialAnimation||r&&!c&&(o.initial===!1||o.initial===o.animate);return r=i=!1,!h&&u.length?t(u):Promise.resolve()}function o(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=a(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:a,setActive:o,setAnimateFunction:n=>{t=n(e)},getState:()=>n,reset:()=>{n=mw(),i=!0}}}function pw(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!uw(t,e):!1}function mw(){let e={};for(let t of LC)e[t]={isActive:t===`animate`,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}};return e}function hw(e,t,n){let r=iS(e)?e:Fx(e);return r.start(Gx(``,r,t,n)),r.animation}function gw(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function _w(e){return iS(e)?e.get():e}var vw=(0,g.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function yw(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function bw(...e){return t=>{let n=!1,r=e.map(e=>{let r=yw(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():yw(e[t],null)}}}}function xw(...e){return g.useCallback(bw(...e),e)}var Sw=class extends g.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(AS(t)&&e.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let e=t.offsetParent,n=AS(e)&&e.offsetWidth||0,r=AS(e)&&e.offsetHeight||0,i=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=n-a.width-a.left,a.bottom=r-a.height-a.top,a.direction=i.direction}return null}componentDidUpdate(){}render(){return this.props.children}};function Cw({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){let o=(0,g.useId)(),s=(0,g.useRef)(null),c=(0,g.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:`ltr`}),{nonce:l}=(0,g.useContext)(vw),u=xw(s,a===!1?void 0:e.props?.ref??e?.ref);return(0,g.useInsertionEffect)(()=>{let{width:e,height:u,top:d,left:f,right:p,bottom:m,direction:h}=c.current;if(t||a===!1||!s.current||!e||!u)return;let g=h===`rtl`,_=n===`left`?g?`right: ${p}`:`left: ${f}`:g?`left: ${f}`:`right: ${p}`,v=r===`bottom`?`bottom: ${m}`:`top: ${d}`;s.current.dataset.motionPopId=o;let y=document.createElement(`style`);l&&(y.nonce=l);let b=i??document.head;return b.appendChild(y),y.sheet&&y.sheet.insertRule(`
|
|
76
76
|
[data-motion-pop-id="${o}"] {
|
|
77
77
|
position: absolute !important;
|
|
78
78
|
width: ${e}px !important;
|
|
@@ -82,12 +82,12 @@ Sugerimos que pergunte à sua IA para configurar uma solução de rede adequada
|
|
|
82
82
|
}
|
|
83
83
|
`),()=>{s.current?.removeAttribute(`data-motion-pop-id`),b.contains(y)&&b.removeChild(y)}},[t]),(0,G.jsx)(Sw,{isPresent:t,childRef:s,sizeRef:c,pop:a,children:a===!1?e:g.cloneElement(e,{ref:u})})}var ww=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:a,mode:o,anchorX:s,anchorY:c,root:l})=>{let u=f_(Tw),d=(0,g.useId)(),f=(0,g.useRef)(n),p=(0,g.useRef)(r);p_(()=>{f.current=n,p.current=r});let m=!0,h=(0,g.useMemo)(()=>(m=!1,{id:d,initial:t,isPresent:n,custom:i,onExitComplete:e=>{u.set(e,!0);for(let e of u.values())if(!e)return;r&&r()},register:e=>(u.set(e,!1),()=>{u.delete(e),!f.current&&!u.size&&p.current?.()})}),[n,u,r]);return a&&m&&(h={...h}),(0,g.useMemo)(()=>{u.forEach((e,t)=>u.set(t,!1))},[n]),g.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),e=(0,G.jsx)(Cw,{pop:o===`popLayout`,isPresent:n,anchorX:s,anchorY:c,root:l,children:e}),(0,G.jsx)(m_.Provider,{value:h,children:e})};function Tw(){return new Map}function Ew(e=!0){let t=(0,g.useContext)(m_);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,g.useId)();(0,g.useEffect)(()=>{if(e)return i(a)},[e]);let o=(0,g.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}var Dw=e=>e.key||``;function Ow(e){let t=[];return g.Children.forEach(e,e=>{(0,g.isValidElement)(e)&&t.push(e)}),t}var kw=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:a=`sync`,propagate:o=!1,anchorX:s=`left`,anchorY:c=`top`,root:l})=>{let[u,d]=Ew(o),f=(0,g.useMemo)(()=>Ow(e),[e]),p=o&&!u?[]:f.map(Dw),m=(0,g.useRef)(!0),h=f_(()=>new Map),_=(0,g.useRef)(new Set),[v,y]=(0,g.useState)(f),[b,x]=(0,g.useState)(f);p_(()=>{o&&!u&&!b.length&&d?.()},[u,o,b.length,d]),p_(()=>{m.current=!1;for(let e=0;e<b.length;e++){let t=Dw(b[e]);p.includes(t)?(h.delete(t),_.current.delete(t)):h.get(t)!==!0&&h.set(t,!1)}},[b,p.length,p.join(`-`)]);let S=[];if(f!==v){let e=[...f],t=0;for(let n of b){let r=p.indexOf(Dw(n));r===-1?(e.splice(t++,0,n),S.push(n)):t=r+S.length+1}return S.every(e=>h.get(Dw(e)))?e=f:a===`wait`&&(e=S),x(Ow(e)),y(f),null}let{forceRender:C}=(0,g.useContext)(d_);return(0,G.jsx)(G.Fragment,{children:b.map(e=>{let g=Dw(e),v=o&&!u?!1:f===b||p.includes(g);return(0,G.jsx)(ww,{isPresent:v,initial:!m.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:a,root:l,onExitComplete:v?void 0:()=>{if(_.current.has(g))return;if(h.has(g))_.current.add(g),h.set(g,!0);else return;let e=!0;h.forEach(t=>{t||(e=!1)}),e&&(C?.(),y([]),o&&d?.(),r&&r())},anchorX:s,anchorY:c,children:e},g)})})},Aw=(0,g.createContext)({strict:!1}),jw={animation:[`animate`,`variants`,`whileHover`,`whileTap`,`exit`,`whileInView`,`whileFocus`,`whileDrag`],exit:[`exit`],drag:[`drag`,`dragControls`],focus:[`whileFocus`],hover:[`whileHover`,`onHoverStart`,`onHoverEnd`],tap:[`whileTap`,`onTap`,`onTapStart`,`onTapCancel`],pan:[`onPan`,`onPanStart`,`onPanSessionStart`,`onPanEnd`],inView:[`whileInView`,`onViewportEnter`,`onViewportLeave`],layout:[`layout`,`layoutId`]},Mw=!1;function Nw(){if(Mw)return;let e={};for(let t in jw)e[t]={isEnabled:e=>jw[t].some(t=>!!e[t])};JC(e),Mw=!0}function Pw(){return Nw(),YC()}function Fw(e){let t=Pw();for(let n in e)t[n]={...t[n],...e[n]};JC(t)}function Iw({children:e,features:t,strict:n=!1}){let[,r]=(0,g.useState)(!Lw(t)),i=(0,g.useRef)(void 0);if(!Lw(t)){let{renderer:e,...n}=t;i.current=e,Fw(n)}return(0,g.useEffect)(()=>{Lw(t)&&t().then(({renderer:e,...t})=>{Fw(t),i.current=e,r(!0)})},[]),(0,G.jsx)(Aw.Provider,{value:{renderer:i.current,strict:n},children:e})}function Lw(e){return typeof e==`function`}var Rw=(0,g.createContext)({});function zw(e,t){if(zC(e)){let{initial:t,animate:n}=e;return{initial:t===!1||IC(t)?t:void 0,animate:IC(n)?n:void 0}}return e.inherit===!1?{}:t}function Bw(e){let{initial:t,animate:n}=zw(e,(0,g.useContext)(Rw));return(0,g.useMemo)(()=>({initial:t,animate:n}),[Vw(t),Vw(n)])}function Vw(e){return Array.isArray(e)?e.join(` `):e}var Hw=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Uw(e,t,n){for(let r in t)!iS(t[r])&&!tw(r,n)&&(e[r]=t[r])}function Ww({transformTemplate:e},t){return(0,g.useMemo)(()=>{let n=Hw();return JS(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Gw(e,t){let n=e.style||{},r={};return Uw(r,n,e),Object.assign(r,Ww(e,t)),r}function Kw(e,t){let n={},r=Gw(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout=`none`,r.touchAction=e.drag===!0?`none`:`pan-${e.drag===`x`?`y`:`x`}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}var qw=()=>({...Hw(),attrs:{}});function Jw(e,t,n,r){let i=(0,g.useMemo)(()=>{let n=qw();return $S(n,t,ow(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};Uw(t,e.style,e),i.style={...t,...i.style}}return i}var Yw=new Set(`animate.exit.variants.initial.style.values.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport`.split(`.`));function Xw(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||Yw.has(e)}function Zw(e,t){return e.startsWith(`on`)?!Xw(e):t?.(e)??!Xw(e)}function Qw(e,t,n,r){let i={};for(let a in e)(a!==`values`||typeof e.values!=`object`)&&(iS(e[a])||(Zw(a,r)||n===!0&&Xw(a)||!t&&!Xw(a)||e.draggable&&a.startsWith(`onDrag`))&&(i[a]=e[a]));return i}var $w=[`animate`,`circle`,`defs`,`desc`,`ellipse`,`g`,`image`,`line`,`filter`,`marker`,`mask`,`metadata`,`path`,`pattern`,`polygon`,`polyline`,`rect`,`stop`,`switch`,`symbol`,`svg`,`text`,`tspan`,`use`,`view`];function eT(e){return typeof e!=`string`||e.includes(`-`)?!1:!!($w.indexOf(e)>-1||/[A-Z]/u.test(e))}function tT(e,t,n,{latestValues:r},i,a=!1,o,s){let c=(o??eT(e)?Jw:Kw)(t,r,i,e),l=Qw(t,typeof e==`string`,a,s),u=e===g.Fragment?{}:{...l,...c,ref:n},{children:d}=t,f=(0,g.useMemo)(()=>iS(d)?d.get():d,[d]);return(0,g.createElement)(e,{...u,children:f})}function nT({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:rT(n,r,i,e),renderState:t()}}function rT(e,t,n,r){let i={},a=r(e,{});for(let e in a)i[e]=_w(a[e]);let{initial:o,animate:s}=e,c=zC(e),l=BC(e);t&&l&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u||=o===!1;let d=u?s:o;if(d&&typeof d!=`boolean`&&!FC(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=Xx(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}t!==null&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}var iT=e=>(t,n)=>{let r=(0,g.useContext)(Rw),i=(0,g.useContext)(m_),a=()=>nT(e,t,r,i);return n?a():f_(a)},aT=iT({scrapeMotionValuesFromProps:nw,createRenderState:Hw}),oT=iT({scrapeMotionValuesFromProps:cw,createRenderState:qw}),sT=Symbol.for(`motionComponentSymbol`);function cT(e,t,n){let r=(0,g.useRef)(n);(0,g.useInsertionEffect)(()=>{r.current=n});let i=(0,g.useRef)(null);return(0,g.useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());let a=r.current;if(typeof a==`function`){if(n){let e=a(n);typeof e==`function`&&(i.current=e)}else i.current?(i.current(),i.current=null):a(n)}else a&&(a.current=n)},[t])}var lT=(0,g.createContext)({});function uT(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}function dT(e,t,n,r,i,a){let{visualElement:o}=(0,g.useContext)(Rw),s=(0,g.useContext)(Aw),c=(0,g.useContext)(m_),l=(0,g.useContext)(vw),u=l.reducedMotion,d=l.skipAnimations,f=(0,g.useRef)(null),p=(0,g.useRef)(!1);r||=s.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u,skipAnimations:d,isSVG:a}),p.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));let m=f.current,h=(0,g.useContext)(lT);m&&!m.projection&&i&&(m.type===`html`||m.type===`svg`)&&fT(f.current,n,i,h);let _=(0,g.useRef)(!1);(0,g.useInsertionEffect)(()=>{m&&_.current&&m.update(n,c)});let v=n[cS],y=(0,g.useRef)(!!v&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return p_(()=>{p.current&&m&&(m.animationState?.animateChanges(),m.enteringChildren=void 0)},[]),p_(()=>{p.current=!0,m&&(_.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),y.current&&m.animationState&&m.animationState.animateChanges())}),(0,g.useEffect)(()=>{m&&(!y.current&&m.animationState&&m.animationState.animateChanges(),y.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),!1),m.enteringChildren=void 0)}),m}function fT(e,t,n,r){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:c,layoutRoot:l,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t[`data-framer-portal-id`]?void 0:pT(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&uT(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}function pT(e){if(e)return e.options.allowProjection===!1?pT(e.parent):e.projection}function mT(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&Fw(r);let a=n?n===`svg`:eT(e),o=a?oT:aT;function s(n,s){let c,l={...(0,g.useContext)(vw),...n,layoutId:hT(n)},{isStatic:u,isValidProp:d}=l,f=Bw(n),p=o(n,u);if(!u&&typeof window<`u`){gT(l,r);let t=_T(l);c=t.MeasureLayout,f.visualElement=dT(e,p,l,i,t.ProjectionNode,a)}return(0,G.jsxs)(Rw.Provider,{value:f,children:[c&&f.visualElement?(0,G.jsx)(c,{visualElement:f.visualElement,...l}):null,tT(e,n,cT(p,f.visualElement,s),p,u,t,a,d)]})}s.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let c=(0,g.forwardRef)(s);return c[sT]=e,c}function hT({layoutId:e}){let t=(0,g.useContext)(d_).id;return t&&e!==void 0?t+`-`+e:e}function gT(e,t){(0,g.useContext)(Aw).strict}function _T(e){let{drag:t,layout:n}=Pw();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function vT(e,t){if(typeof Proxy>`u`)return mT;let n=new Map,r=(n,r)=>mT(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,a)=>a===`create`?r:(n.has(a)||n.set(a,mT(a,void 0,e,t)),n.get(a))})}var yT=vT(),bT=(e,t)=>t.isSVG??eT(e)?new lw(t):new iw(t,{allowProjection:e!==g.Fragment}),xT=class extends QC{constructor(e){super(e),e.animationState||=fw(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();FC(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}},ST=0,CT={animation:{Feature:xT},exit:{Feature:class extends QC{constructor(){super(...arguments),this.id=ST++}update(){let{presenceContext:e,prevPresenceContext:t,animationState:n}=this.node;if(!e||!n)return;let{isPresent:r,onExitComplete:i}=e,a=t?.isPresent;if(r===a)return;if(r&&a===!1){if(this.exit===!0){let{initial:e}=this.node.getProps();if(e&&!Array.isArray(e)){let{transition:t,transitionEnd:n,...r}=Zx(this.node,e)||{};for(let e in r)this.node.getValue(e)?.jump(r[e])}this.node.blockInitialAnimation=!1,n.reset(),n.animateChanges()}else n.setActive(`exit`,!1);this.exit=void 0;return}let o=this.exit=n.setActive(`exit`,!r);i&&!r&&o.then(()=>{this.exit===o&&(this.exit=!0,i(this.id))})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function wT(e){return{point:{x:e.pageX,y:e.pageY}}}function TT(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&Sy.postRender(()=>i(t,wT(t)))}var ET=class extends QC{mount(){let{current:e}=this.node;e&&(this.unmount=yC(e,(e,t)=>(TT(this.node,t,`Start`),e=>TT(this.node,e,`End`))))}unmount(){}},DT=class extends QC{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(`:focus-visible`)}catch{e=!0}e&&this.node.animationState&&(this.node.animationState.setActive(`whileFocus`,!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive(`whileFocus`,!1),this.isActive=!1)}mount(){this.unmount=w_(gw(this.node.current,`focus`,()=>this.onFocus()),gw(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}};function OT(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive(`whileTap`,n===`Start`);let i=r[`onTap`+(n===`End`?``:n)];i&&Sy.postRender(()=>i(t,wT(t)))}var kT=class extends QC{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=AC(e,(e,t)=>(OT(this.node,t,`Start`),(e,{success:t})=>OT(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}},AT=new WeakMap,jT=new WeakMap,MT=e=>{let t=AT.get(e.target);t&&t(e)},NT=e=>{e.forEach(MT)};function PT({root:e,...t}){let n=e||document;jT.has(n)||jT.set(n,{});let r=jT.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(NT,{root:e,...t})),r[i]}function FT(e,t,n){let r=PT(t);return AT.set(e,n),r.observe(e),()=>{AT.delete(e),r.unobserve(e)}}var IT={some:0,all:1},LT=class extends QC{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r=`some`,once:i}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof r==`number`?r:IT[r]},o=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(`whileInView`,t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)};this.stopObserver=FT(this.node.current,a,o)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:t}=this.node;[`amount`,`margin`,`root`].some(RT(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function RT({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var zT={inView:{Feature:LT},tap:{Feature:kT},focus:{Feature:DT},hover:{Feature:ET}};function BT(e){return(0,g.useEffect)(()=>()=>e(),[])}var VT={renderer:bT,...CT,...zT};function HT(e){let t=f_(()=>Fx(e)),{isStatic:n}=(0,g.useContext)(vw);if(n){let[,n]=(0,g.useState)(e);(0,g.useEffect)(()=>t.on(`change`,n),[])}return t}function UT(e,t){let n=HT(t()),r=()=>n.set(t());return r(),p_(()=>{let t=()=>Sy.preRender(r,!1,!0),n=e.map(e=>e.on(`change`,t));return()=>{n.forEach(e=>e()),Cy(r)}}),n}function WT(e){Nx.current=[],e();let t=UT(Nx.current,e);return Nx.current=void 0,t}function GT(e,t,n,r){if(typeof e==`function`)return WT(e);if(n!==void 0&&!Array.isArray(n)&&typeof t!=`function`)return qT(e,t,n,r);let i=typeof t==`function`?t:jC(t,n,r),a=Array.isArray(e)?KT(e,i):KT([e],([e])=>i(e)),o=Array.isArray(e)?void 0:e.accelerate;if(o&&!o.isTransformed&&typeof t!=`function`&&Array.isArray(n)&&r?.clamp!==!1){let e=r?.ease;a.accelerate={...o,times:[0,...t,1],keyframes:[n[0],...n,n[n.length-1]],isTransformed:!0,...e?{ease:Array.isArray(e)?[e[0],...e]:e}:{}}}return a}function KT(e,t){let n=f_(()=>[]);return UT(e,()=>{n.length=0;let r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}function qT(e,t,n,r){let i=f_(()=>Object.keys(n)),a=f_(()=>({}));for(let o of i)a[o]=GT(e,t,n[o],r);return a}function JT(){!UC.current&&GC();let[e]=(0,g.useState)(HC.current);return e}function YT(){let e=JT(),{reducedMotion:t}=(0,g.useContext)(vw);return t===`never`?!1:t===`always`||e}function XT(e){return typeof e==`object`&&!Array.isArray(e)}function ZT(e,t,n,r){return e==null?[]:typeof e==`string`&&XT(t)?NS(e,n,r):e instanceof NodeList?Array.from(e):Array.isArray(e)?e.filter(e=>e!=null):[e]}function QT(e,t,n){return e*(t+1)+n*t}function $T(e,t,n,r){return typeof t==`number`?t:t.startsWith(`-`)||t.startsWith(`+`)?Math.max(0,e+parseFloat(t)):t===`<`?n:t.startsWith(`<`)?Math.max(0,n+parseFloat(t.slice(1))):r.get(t)??e}function eE(e,t,n){for(let r=0;r<e.length;r++){let i=e[r];i.at>t&&i.at<n&&(g_(e,i),r--)}}function tE(e,t,n,r,i,a){eE(e,i,a);for(let o=0;o<t.length;o++)e.push({value:t[o],at:ty(i,a,r[o]),easing:Y_(n,o)})}function nE(e,t,n=0){let r=t+1+t*n;for(let t=0;t<e.length;t++)e[t]=e[t]/r}function rE(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}var iE=`easeInOut`,aE=20;function oE(e,{defaultTransition:t={},...n}={},r,i){let a=t.duration||.3,o=new Map,s=new Map,c={},l=new Map,u=0,d=0,f=0;for(let n=0;n<e.length;n++){let o=e[n];if(typeof o==`string`){l.set(o,d);continue}if(!Array.isArray(o)){l.set(o.name,$T(d,o.at,u,l));continue}let[p,m,h={}]=o;h.at!==void 0&&(d=$T(d,h.at,u,l));let g=0,_=(e,n,r,o=0,s=0)=>{let c=lE(e),{delay:l=0,times:u=Ky(c),type:p=t.type||`keyframes`,repeat:m,repeatType:h,repeatDelay:_=0,...v}=n,{ease:y=t.ease||`easeOut`,duration:b}=n,x=typeof l==`function`?l(o,s):l,S=c.length,C=sx(p)?p:i?.[p||`keyframes`];if(S<=2&&C){let e=100;if(S===2&&fE(c)){let t=c[1]-c[0];e=Math.abs(t)}let n={...t,...v};b!==void 0&&(n.duration=D_(b));let r=ky(n,e,C);y=r.ease,b=r.duration}b??=a;let w=d+x;u.length===1&&u[0]===0&&(u[1]=1);let T=u.length-c.length;if(T>0&&Gy(u,T),c.length===1&&c.unshift(null),m&&`${m}${aE}`,m&&m<aE){let e=b>0?_/b:0;b=QT(b,m,_);let t=[...c],n=[...u];y=Array.isArray(y)?[...y]:[y];let r=[...y],i=h===`reverse`||h===`mirror`,a=t,o=r;i&&(a=[...t].reverse(),h===`reverse`&&(o=[...r].reverse().map(e=>typeof e==`function`?L_(e):e)));for(let s=0;s<m;s++){let l=i&&s%2==0,d=l?a:t,f=l?o:r,p=(s+1)*(1+e);e>0&&(c.push(c[c.length-1]),u.push(p),y.push(`linear`)),c.push(...d);for(let e=0;e<d.length;e++)u.push(n[e]+p),y.push(e===0?`linear`:Y_(f,e-1))}nE(u,m,e)}let E=w+b;tE(r,c,y,u,w,E),g=Math.max(x+b,g),f=Math.max(E,f)};if(iS(p)){let e=sE(p,s);_(m,h,cE(`default`,e))}else{let e=ZT(p,m,r,c),t=e.length;for(let n=0;n<t;n++){m=m,h=h;let r=e[n],i=sE(r,s);for(let e in m)_(m[e],uE(h,e),cE(e,i),n,t)}}u=d,d+=g}return s.forEach((e,r)=>{for(let i in e){let a=e[i];a.sort(rE);let s=[],c=[],l=[];for(let e=0;e<a.length;e++){let{at:t,value:n,easing:r}=a[e];s.push(n),c.push(T_(0,f,t)),l.push(r||`easeOut`)}c[0]!==0&&(c.unshift(0),s.unshift(s[0]),l.unshift(iE)),c[c.length-1]!==1&&(c.push(1),s.push(null)),o.has(r)||o.set(r,{keyframes:{},transition:{}});let u=o.get(r);u.keyframes[i]=s;let{type:d,...p}=t;u.transition[i]={...p,duration:f,ease:l,times:c,...n}}}),o}function sE(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function cE(e,t){return t[e]||(t[e]=[]),t[e]}function lE(e){return Array.isArray(e)?e:[e]}function uE(e,t){return e&&e[t]?{...e,...e[t]}:{...e}}var dE=e=>typeof e==`number`,fE=e=>e.every(dE);function pE(e,t){return iS(e)||typeof e==`number`||typeof e==`string`&&!XT(t)}function mE(e,t,n,r){let i=[];if(pE(e,t))i.push(hw(e,XT(t)&&t.default||t,n&&(n.default||n)));else{if(e==null)return i;let a=ZT(e,t,r),o=a.length;for(let e=0;e<o;e++){let r=a[e],s={...n};`delay`in s&&typeof s.delay==`function`&&(s.delay=s.delay(e,o)),r instanceof Element?i.push(...dC(r,t,s,PC.get(r))):i.push(...OS(ES(r)??fC,r,t,s))}}return i}function hE(e,t,n){let r=[];return oE(e.map(e=>{if(Array.isArray(e)&&typeof e[0]==`function`){let t=e[0],n=Fx(0);return n.on(`change`,t),e.length===1?[n,[0,1]]:e.length===2?[n,[0,1],e[1]]:[n,e[1],e[2]]}return e}),t,n,{spring:Vy}).forEach(({keyframes:e,transition:t},n)=>{r.push(...mE(n,e,t))}),r}function gE(e){return Array.isArray(e)&&e.some(Array.isArray)}function _E(e={}){let{scope:t,reduceMotion:n,skipAnimations:r}=e;function i(e,i,a){let o=[],s,c={};if(n!==void 0&&(c.reduceMotion=n),r!==void 0&&(c.skipAnimations=r),gE(e)){let{onComplete:n,...r}=i||{};typeof n==`function`&&(s=n),o=hE(e,{...c,...r},t)}else{let{onComplete:n,...r}=a||{};typeof n==`function`&&(s=n),o=mE(e,i,{...c,...r},t)}let l=new kx(o);return s&&l.finished.then(s),t&&(t.animations.push(l),l.finished.then(()=>{g_(t.animations,l)})),l}return i}var vE=Object.assign(_E(),{addEffect:wS,removeEffect:TS});function yE(){let e=f_(()=>({current:null,animations:[]})),t=YT()??void 0,{skipAnimations:n}=(0,g.useContext)(vw),r=(0,g.useMemo)(()=>_E({scope:e,reduceMotion:t,skipAnimations:n}),[e,t,n]);return BT(()=>{e.animations.forEach(e=>e.stop()),e.animations.length=0}),[e,r]}var bE=yT,xE=`text-[2.5rem]`,SE={indicator:`text-primary`,track:`text-primary-soft`},CE={indicator:`text-current`,track:`text-current/20`};function wE({colors:e,reduced:t}){return(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 40 40`,fill:`none`,stroke:`currentColor`,strokeWidth:`4`,strokeLinecap:`round`,"aria-hidden":`true`,className:Z(`size-[1em] stroke-4!`,e.indicator),children:[(0,G.jsx)(`circle`,{cx:`20`,cy:`20`,r:`16`,className:e.track}),t?(0,G.jsx)(`circle`,{cx:`20`,cy:`20`,r:`16`,pathLength:1,strokeDasharray:`0.25 0.75`}):(0,G.jsx)(bE.circle,{cx:`20`,cy:`20`,r:`16`,pathLength:1,strokeDasharray:`0.25 0.75`,initial:{strokeDashoffset:0},animate:{strokeDashoffset:-1},transition:{duration:.9,repeat:1/0,ease:`linear`}})]})}var TE=12,EE=1.2;function DE({colors:e,reduced:t}){return(0,G.jsx)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 40 40`,fill:`currentColor`,"aria-hidden":`true`,className:Z(`size-[1em]`,e.indicator),children:Array.from({length:TE},(e,n)=>{let r={x:18,y:2,width:4,height:6,rx:2,transform:`rotate(${360/TE*n} 20 20)`};return t?(0,G.jsx)(`rect`,{...r,opacity:.25},n):(0,G.jsx)(bE.rect,{...r,initial:{opacity:0},animate:{opacity:[0,1,.5,0]},transition:{duration:EE,repeat:1/0,ease:`linear`,delay:n/TE*EE-EE,times:[0,.1,.5,1]}},n)})})}var OE=`M12.846 3.581C12.711 3.231 12.375 3 12 3C11.625 3 11.278 3.263 11.154 3.581C10.604 5.011 10.054 6.442 9.504 7.872C8.752 8.16 8.159 8.752 7.871 9.504C6.441 10.054 5.011 10.604 3.581 11.154C3.41 11.22 3.263 11.336 3.159 11.487C3.055 11.638 3 11.817 3 12C3 12.183 3.056 12.362 3.159 12.513C3.262 12.664 3.41 12.78 3.581 12.846C5.011 13.396 6.442 13.946 7.872 14.496C8.16 15.248 8.752 15.841 9.504 16.129C10.054 17.559 10.604 18.989 11.154 20.419C11.22 20.59 11.336 20.737 11.487 20.841C11.638 20.945 11.817 21 12 21C12.183 21 12.362 20.945 12.513 20.841C12.664 20.737 12.78 20.59 12.846 20.419C13.396 18.989 13.946 17.559 14.496 16.129C15.248 15.841 15.841 15.248 16.129 14.496C17.559 13.946 18.989 13.396 20.419 12.846C20.59 12.78 20.737 12.664 20.841 12.513C20.945 12.362 21 12.183 21 12C21 11.817 20.945 11.638 20.841 11.487C20.737 11.336 20.59 11.22 20.419 11.154C18.989 10.604 17.559 10.054 16.129 9.504C15.841 8.752 15.248 8.16 14.496 7.871C13.946 6.441 13.396 5.011 12.846 3.581Z`,kE=`M12.704 5C12.469 5 12.235 5 12 5C11.765 5 11.531 5 11.296 5C10.161 5.053 9.025 5.106 7.889 5.159C6.979 6.069 6.069 6.979 5.159 7.889C5.106 9.025 5.053 10.161 5 11.296C5 11.395 5 11.494 5 11.593C5 11.729 5 11.864 5 12C5 12.136 5 12.271 5 12.407C5 12.506 5 12.605 5 12.704C5.053 13.839 5.106 14.975 5.159 16.111C6.069 17.021 6.979 17.931 7.889 18.841C9.025 18.894 10.161 18.947 11.296 19C11.395 19 11.494 19 11.593 19C11.729 19 11.864 19 12 19C12.136 19 12.271 19 12.407 19C12.506 19 12.605 19 12.704 19C13.839 18.947 14.975 18.894 16.111 18.841C17.021 17.931 17.931 17.021 18.841 16.111C18.894 14.975 18.947 13.839 19 12.704C19 12.605 19 12.506 19 12.407C19 12.271 19 12.136 19 12C19 11.864 19 11.729 19 11.593C19 11.494 19 11.395 19 11.296C18.947 10.161 18.894 9.025 18.841 7.889C17.931 6.979 17.021 6.069 16.111 5.159C14.975 5.106 13.839 5.053 12.704 5Z`;function AE(e){return e.match(/-?\d+(?:\.\d+)?/g)?.map(Number)??[]}var jE=AE(OE),ME=AE(kE),NE=(jE.length-2)/6;function PE(e){let t=`M${e[0]} ${e[1]}`;for(let n=0;n<NE;n++){let r=2+n*6;t+=`C${e[r]} ${e[r+1]} ${e[r+2]} ${e[r+3]} ${e[r+4]} ${e[r+5]}`}return t+`Z`}function FE(e,t,n){return e+(t-e)*n}function IE(e){return e<.5?2*e*e:1-(-2*e+2)**2/2}var LE=2.5,RE=.4;function zE({colors:e,reduced:t}){let n=HT(0);g.useEffect(()=>{if(t)return;let e=vE(n,1,{duration:LE,repeat:1/0,ease:`linear`});return()=>e.stop()},[t,n]);let r=GT(n,e=>{if(e<RE/2){let t=IE(e/(RE/2));return PE(jE.map((e,n)=>FE(e,ME[n],t)))}if(e<RE){let t=IE((e-RE/2)/(RE/2));return PE(ME.map((e,n)=>FE(e,jE[n],t)))}return OE}),i=GT(n,e=>e<RE?IE(e/RE)*360:360);return(0,G.jsx)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinejoin:`round`,strokeLinecap:`round`,"aria-hidden":`true`,className:Z(`size-[1em]`,e.indicator),children:t?(0,G.jsx)(`path`,{d:OE}):(0,G.jsx)(bE.path,{d:r,style:{transformOrigin:`12px 12px`,rotate:i}})})}var BE={circular:wE,dots:DE,sparkle:zE};function VE({variant:e=`circular`,currentColor:t=!1,"aria-label":n=`Loading`,className:r,...i}){let a=yh(),o=t?CE:SE,s=BE[e],c=(0,G.jsx)(s,{colors:o,reduced:a});return(0,G.jsx)(`span`,{"data-slot":`spinner`,role:`status`,"aria-label":n,className:Z(`inline-flex shrink-0 items-center justify-center align-middle`,xE,r),...i,children:a?c:(0,G.jsx)(Iw,{features:VT,strict:!0,children:c})})}function HE(e,{storage:t=`local`}={}){let[n,r,i]=Lg(t,e,``,{serializer:e=>e,deserializer:e=>e}),a=n!==`1`,o=(0,g.useCallback)(()=>r(`1`),[r]),s=(0,g.useCallback)(()=>i(),[i]);return(0,g.useMemo)(()=>({open:a,dismiss:o,reset:s}),[a,o,s])}var UE=Gu(Z(`group/alert relative rounded-xl border p-5 text-foreground backdrop-blur-xl`,`grid w-full items-start`,`[grid-template-columns:auto_1fr_auto] [grid-template-areas:'icon_title_close'_'._description_.'_'._actions_actions']`,`@min-[460px]:data-[layout=inline]:items-center`,`@min-[460px]:data-[layout=inline]:[grid-template-columns:auto_auto_1fr_auto_auto]`,`@min-[460px]:data-[layout=inline]:[grid-template-areas:'icon_title_description_actions_close']`),{variants:{variant:{default:`bg-background border-border`,primary:`bg-primary-subtle border-primary-soft`,secondary:`bg-secondary-subtle border-secondary-soft`,error:`bg-error-subtle border-error-soft`,success:`bg-success-subtle border-success-soft`,warning:`bg-warning-subtle border-warning-soft`,info:`bg-info-subtle border-info-soft`}},defaultVariants:{variant:`default`}}),WE={default:`text-foreground-intense`,primary:`text-primary`,secondary:`text-secondary-emphasis`,error:`text-error-emphasis`,success:`text-success-emphasis`,warning:`text-warning-emphasis`,info:`text-info-emphasis`},GE=g.createContext(`default`),KE={opacity:0,scale:.88,filter:`blur(12px)`,height:0},qE={opacity:0},JE={default:{duration:.32,ease:[.4,0,.2,1]},height:{duration:.3,ease:[.4,0,.2,1],delay:.18}};function YE({variant:e,layout:t=`block`,dismissible:n=!1,open:r,onOpenChange:i,persistKey:a,persistStorage:o=`local`,closeLabel:s=`Dismiss`,role:c=`alert`,className:l,children:u,style:d,...f}){let p=yh(),[m,h]=g.useState(!0),_=HE(a??``,{storage:o}),v=r!==void 0,y=!v&&a!=null,b=v?r:y?_.open:m,x=g.useCallback(()=>{if(v){i?.(!1);return}y?_.dismiss():h(!1),i?.(!1)},[v,y,_,i]);return(0,G.jsx)(GE.Provider,{value:e??`default`,children:(0,G.jsx)(Iw,{features:VT,strict:!0,children:(0,G.jsx)(kw,{initial:!1,children:b&&(0,G.jsx)(bE.div,{initial:!1,exit:p?qE:KE,transition:p?{duration:0}:JE,className:`@container overflow-hidden`,children:(0,G.jsxs)(`div`,{role:c,"data-slot":`alert`,"data-layout":t,style:d,className:Z(UE({variant:e}),l),...f,children:[u,n&&(0,G.jsx)(`button`,{type:`button`,"aria-label":s,"data-slot":`alert-close`,onClick:x,className:Z(`text-foreground-muted cursor-pointer rounded-md p-1 transition-colors outline-none [grid-area:close]`,`hover:text-foreground-intense`,`focus-visible:ring-ring focus-visible:ring-2`,`self-start @min-[460px]:group-data-[layout=inline]/alert:self-center`,`ms-3 -me-1 -mt-1 @min-[460px]:group-data-[layout=inline]/alert:my-0`),children:(0,G.jsx)(XE,{})})]})},`alert`)})})})}function XE(){return(0,G.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 16`,fill:`currentColor`,"aria-hidden":`true`,className:`size-4`,children:(0,G.jsx)(`path`,{d:`M11.523 3.522c.264-.264.691-.264.955 0s.264.691 0 .955L8.955 8l3.522 3.522c.264.264.264.691 0 .955s-.691.264-.955 0L8 8.955l-3.522 3.522c-.264.264-.691.264-.955 0s-.264-.691 0-.955L7.045 8 3.522 4.478c-.264-.264-.264-.691 0-.955s.691-.264.955 0L8 7.045l3.523-3.522z`})})}function ZE({className:e,...t}){let n=g.useContext(GE);return(0,G.jsx)(`span`,{"data-slot":`alert-icon`,className:Z(`me-3 flex h-lh shrink-0 items-center [grid-area:icon] [&_svg:not([class*='size-'])]:size-5`,WE[n],e),...t})}function QE({className:e,as:t=`h5`,...n}){return(0,G.jsx)(t,{"data-slot":`alert-title`,className:Z(`text-foreground-intense self-center font-semibold [grid-area:title]`,`text-base @min-[460px]:group-data-[layout=inline]/alert:me-3 @min-[460px]:group-data-[layout=inline]/alert:text-sm`,e),...n})}function $E({className:e,...t}){return(0,G.jsx)(`p`,{"data-slot":`alert-description`,className:Z(`text-foreground text-sm [grid-area:description]`,`mt-2 @min-[460px]:group-data-[layout=inline]/alert:mt-0`,e),...t})}function eD(e){return Vr(e.defaultTagName??`div`,e,e)}var tD=[`before:pointer-events-none`,`before:absolute`,`before:inset-0`,`before:-z-1`,`before:rounded-[inherit]`,`[a,button]:before:transition-[opacity,background-color,border-color]`,`[a,button]:before:duration-250`,`motion-reduce:[a,button]:before:transition-none`],nD=Gu(`relative isolate inline-flex shrink-0 items-center justify-center rounded-full whitespace-nowrap outline-offset-1 select-none [&_svg]:shrink-0 [a,button]:transform-gpu [a,button]:cursor-pointer [a,button]:transition [a,button]:duration-250 [a,button]:ease-[cubic-bezier(0.175,0.885,0.32,1.5)] [a,button]:not-data-popup-open:active:translate-y-px [a,button]:not-data-popup-open:active:scale-[0.97] [a,button]:not-data-popup-open:active:duration-100 [a,button]:not-data-popup-open:active:ease-in-out motion-reduce:[a,button]:transition-none`,{variants:{variant:{primary:Z(tD,`bg-primary text-primary-foreground outline-ring-primary [a,button]:before:bg-[radial-gradient(138.15%_78.13%_at_52.05%_50%,var(--primary)_0%,var(--primary-muted)_75%)] [a,button]:before:opacity-0`,`[a,button]:hover:before:opacity-100`,`[a,button]:data-pressed:before:opacity-100`,`[a,button]:data-popup-open:before:opacity-100`),"primary-outline":Z(tD,`text-primary before:border before:border-primary outline-ring-primary`,`[a,button]:hover:before:bg-primary [a,button]:hover:text-primary-foreground`,`[a,button]:data-pressed:before:bg-primary [a,button]:data-pressed:text-primary-foreground`,`[a,button]:data-popup-open:before:bg-primary [a,button]:data-popup-open:text-primary-foreground`),secondary:Z(tD,`bg-secondary-muted text-secondary-foreground outline-ring-secondary [a,button]:before:bg-[radial-gradient(138.15%_78.13%_at_52.05%_50%,var(--secondary)_0%,var(--secondary-muted)_95%)] [a,button]:before:opacity-0`,`[a,button]:hover:before:opacity-100`,`[a,button]:data-pressed:before:opacity-100`,`[a,button]:data-popup-open:before:opacity-100`),soft:Z(tD,`text-foreground-intense before:bg-background-muted before:backdrop-blur-md [a,button]:before:border [a,button]:before:border-transparent outline-ring`,`data-[slot=breadcrumb-link]:not-data-active:text-foreground-muted data-[slot=breadcrumb-link]:hover:text-foreground-intense`,`[a,button]:hover:before:bg-background-subtle [a,button]:hover:before:border-border`,`[a,button]:data-pressed:before:bg-background-subtle [a,button]:data-pressed:before:border-border`,`[a,button]:data-popup-open:before:bg-background-subtle [a,button]:data-popup-open:before:border-border`,`data-active:before:bg-background-subtle data-active:border data-active:before:border-border`),outline:Z(tD,`bg-background text-foreground-intense before:bg-background before:border-border before:border outline-ring`,`data-[slot=breadcrumb-link]:not-data-active:text-foreground-muted data-[slot=breadcrumb-link]:hover:text-foreground-intense`,`[a,button]:hover:before:bg-background-subtle [a,button]:hover:before:border-border-strong`,`[a,button]:data-pressed:before:bg-background-subtle [a,button]:data-pressed:before:border-border-strong`,`[a,button]:data-popup-open:before:bg-background-subtle [a,button]:data-popup-open:before:border-border-strong`,`data-active:before:bg-background-subtle data-active:before:border-border-strong`),error:Z(tD,`bg-error-muted text-error-foreground outline-ring-error [a,button]:before:bg-[radial-gradient(138.15%_78.13%_at_52.05%_50%,var(--error-muted)_0%,rgba(255,255,255,.5)_95%)] [a,button]:before:opacity-0`,`[a,button]:hover:before:opacity-100`,`[a,button]:data-pressed:before:opacity-100`,`[a,button]:data-popup-open:before:opacity-100`),success:Z(tD,`bg-success-muted text-success-foreground outline-ring-success [a,button]:before:bg-[radial-gradient(138.15%_78.13%_at_52.05%_50%,var(--success-muted)_0%,rgba(255,255,255,.5)_95%)] [a,button]:before:opacity-0`,`[a,button]:hover:before:opacity-100`,`[a,button]:data-pressed:before:opacity-100`,`[a,button]:data-popup-open:before:opacity-100`),warning:Z(tD,`bg-warning-muted text-warning-foreground outline-ring-warning [a,button]:before:bg-[radial-gradient(138.15%_78.13%_at_52.05%_50%,var(--warning-muted)_0%,rgba(255,255,255,.5)_95%)] [a,button]:before:opacity-0`,`[a,button]:hover:before:opacity-100`,`[a,button]:data-pressed:before:opacity-100`,`[a,button]:data-popup-open:before:opacity-100`),info:Z(tD,`bg-info-muted text-info-foreground outline-ring-info [a,button]:before:bg-[radial-gradient(138.15%_78.13%_at_52.05%_50%,var(--info-muted)_0%,rgba(255,255,255,.5)_95%)] [a,button]:before:opacity-0`,`[a,button]:hover:before:opacity-100`,`[a,button]:data-pressed:before:opacity-100`,`[a,button]:data-popup-open:before:opacity-100`),light:Z(tD,`text-white before:bg-white/10 before:border-white/10 before:border before:backdrop-blur-md outline-ring-light`,`[a,button]:hover:before:bg-white/15 [a,button]:hover:before:border-white/15`,`[a,button]:data-pressed:before:bg-white/15 [a,button]:data-pressed:before:border-white/15`,`[a,button]:data-popup-open:before:bg-white/15 [a,button]:data-popup-open:before:border-white/15`,`data-active:before:bg-white/15 data-active:before:border-white/15`)},size:{xs:`h-4 w-fit gap-0.5 px-1.5 text-[.625rem] has-data-[icon=end]:pe-1.25 has-data-[icon=start]:ps-1.25 [&_svg:not([class*='size-'])]:size-2.5 [&_svg:not([class*='stroke-'])]:stroke-2`,sm:`h-5 w-fit gap-0.5 px-2 text-xs has-data-[icon=end]:pe-1.5 has-data-[icon=start]:ps-1.5 [&_svg:not([class*='size-'])]:size-3 [&_svg:not([class*='stroke-'])]:stroke-[1.85]`,md:`h-6 w-fit gap-0.75 px-2.5 text-xs has-data-[icon=end]:pe-1.75 has-data-[icon=start]:ps-1.75 [&_svg:not([class*='size-'])]:size-3.5 [&_svg:not([class*='stroke-'])]:stroke-[1.75]`,lg:`h-7 w-fit gap-1 px-3 text-sm has-data-[icon=end]:pe-2.25 has-data-[icon=start]:ps-2.25 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='stroke-'])]:stroke-[1.75]`,"icon-sm":`h-5 w-5 [&_svg:not([class*='size-'])]:size-3 [&_svg:not([class*='stroke-'])]:stroke-[1.85]`,"icon-md":`h-6 w-6 [&_svg:not([class*='size-'])]:size-3.5 [&_svg:not([class*='stroke-'])]:stroke-[1.75]`,"icon-lg":`h-7 w-7 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='stroke-'])]:stroke-[1.75]`}},defaultVariants:{variant:`primary`,size:`md`}});function rD({className:e,variant:t,size:n,render:r,...i}){let a=g.isValidElement(r)?r.props:void 0,o=g.isValidElement(r)&&(r.type===`a`||r.type===`button`)||i.onClick!=null||a?.href!=null||a?.onClick!=null||a?.tabIndex!=null;return eD({defaultTagName:`span`,render:r,state:{variant:t,size:n},props:Dr({"data-slot":`badge`,...o?Hu():{},className:Z(nD({variant:t,size:n}),e)},i)})}var iD=g.forwardRef(function(e,t){let{render:n,className:r,style:i,forceRender:a=!1,...o}=e,s=bd(),c=s.useState(`open`),l=s.useState(`nested`),u=s.useState(`mounted`);return Vr(`div`,e,{state:{open:c,transitionStatus:s.useState(`transitionStatus`)},ref:[s.context.backdropRef,t],stateAttributesMapping:Ft,props:[{role:`presentation`,hidden:!u,style:{userSelect:`none`,WebkitUserSelect:`none`}},o],enabled:a||!l})}),aD=`--nested-dialogs`,oD=g.forwardRef(function(e,t){let{render:n,className:r,style:i,finalFocus:a,initialFocus:o,...s}=e,c=bd(),l=c.useState(`descriptionElementId`),u=c.useState(`disablePointerDismissal`),d=c.useState(`floatingRootContext`),f=c.useState(`popupProps`),p=c.useState(`modal`),m=c.useState(`mounted`),h=c.useState(`nested`),g=c.useState(`nestedOpenDialogCount`),_=c.useState(`open`),v=c.useState(`openMethod`),y=c.useState(`titleElementId`),b=c.useState(`transitionStatus`),x=c.useState(`role`),S=d.useState(`floatingId`);Gd(),ii({open:_,ref:c.context.popupRef,onComplete(){_&&c.context.onOpenChangeComplete?.(!0)}});let C=o===void 0?Gs(c.context.popupRef):o,w=g>0,T=c.useStateSetter(`popupElement`),E=Vr(`div`,e,{state:{open:_,nested:h,transitionStatus:b,nestedDialogOpen:w},props:[f,{id:S,"aria-labelledby":y,"aria-describedby":l,role:x,...Ws,hidden:!m,onKeyDown(e){Xd.has(e.key)&&e.stopPropagation()},style:{[aD]:g}},s],ref:[t,c.context.popupRef,T],stateAttributesMapping:$f});return(0,G.jsx)(Oo,{context:d,openInteractionType:v,disabled:!m,closeOnFocusOut:!u,initialFocus:C,returnFocus:a,modal:p!==!1,restoreFocus:`popup`,children:E})}),sD=F(function(e){return zf(`dialog`,e)}),cD=Object.assign(function(e){return(0,G.jsx)(sD,{...e})},{createHandle:Lp});function lD({className:e,children:t,closeButton:n=!0,closeLabel:r=`Close`,backdrop:i=!0,frame:a=!0,backdropProps:o,viewportProps:s,...c}){let l=a&&i,{portal:u,popup:d}=Vp(c);return(0,G.jsxs)(vf,{...u,children:[i&&(0,G.jsx)(iD,{"data-slot":`dialog-backdrop`,...o,className:Z(`fixed inset-0 z-50 bg-black/30 backdrop-blur-sm supports-[-webkit-touch-callout:none]:absolute`,`motion-safe:transition-opacity motion-safe:duration-250 motion-safe:ease-out`,`data-ending-style:motion-safe:opacity-0 data-starting-style:motion-safe:opacity-0`,o?.className)}),(0,G.jsx)(ep,{"data-slot":`dialog-viewport`,...s,className:Z(`fixed inset-0 z-50 flex items-center justify-center overflow-hidden p-4`,s?.className),children:(0,G.jsx)(oD,{"data-slot":`dialog-popup`,...l?{"data-frame":``}:{},className:Z(`group/dialog-popup relative flex max-h-full min-h-0 w-150 max-w-full flex-col`,`rounded-2xl border`,l?`border-white/15 bg-white/10 p-1.5 backdrop-blur-sm`:`bg-background border-border-overlay`,!l&&`shadow-2xl`,`isolate transform-gpu outline-none`,`motion-safe:transition-[opacity,scale] motion-safe:duration-250 motion-safe:ease-[cubic-bezier(0.175,0.885,0.32,1.5)]`,`data-starting-style:motion-safe:scale-95 data-starting-style:motion-safe:opacity-0`,`data-ending-style:motion-safe:scale-95 data-ending-style:motion-safe:opacity-0 data-ending-style:motion-safe:duration-100 data-ending-style:motion-safe:ease-out`,`data-nested-dialog-open:pointer-events-none data-nested-dialog-open:scale-95 data-nested-dialog-open:opacity-0`,e),...d,children:(0,G.jsxs)(`div`,{"data-slot":`dialog-content`,className:Z(`relative flex min-h-0 flex-col overflow-hidden not-has-[>[data-slot=dialog-footer]]:pb-6 not-has-[>[data-slot=dialog-header]]:pt-6 [&>[data-slot=dialog-header]+[data-slot=dialog-footer]]:pt-0`,l&&`bg-background rounded-[calc(var(--radius-2xl)*5/6)]`),children:[t,n&&(0,G.jsx)(Ad,{"aria-label":r,"data-slot":`dialog-close-button`,className:Z(qu({variant:`outline`,size:`icon-sm`}),`absolute inset-e-3 top-3 z-10`),children:(0,G.jsx)(hD,{})})]})})})]})}function uD({className:e,...t}){return(0,G.jsx)(`div`,{"data-slot":`dialog-header`,className:Z(`flex shrink-0 flex-col gap-2 p-6`,e),...t})}function dD({className:e,...t}){return(0,G.jsx)(Gf,{"data-slot":`dialog-title`,className:Z(`text-foreground-intense text-2xl font-semibold`,e),...t})}function fD({className:e,...t}){return(0,G.jsx)(Fd,{"data-slot":`dialog-description`,className:Z(`text-foreground-muted text-sm`,e),...t})}function pD({className:e,...t}){return(0,G.jsx)(`div`,{"data-slot":`dialog-body`,className:Z(`min-h-0 flex-1 px-6`,e),...t})}function mD({className:e,...t}){return(0,G.jsx)(`div`,{"data-slot":`dialog-footer`,className:Z(`flex flex-col-reverse gap-2 p-6 sm:flex-row sm:justify-end`,e),...t})}function hD(e){return(0,G.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 16`,fill:`currentColor`,"aria-hidden":`true`,...e,children:(0,G.jsx)(`path`,{d:`M11.594 3.594c.225-.225.588-.225.813 0s.225.588 0 .812L8.813 8l3.594 3.594c.225.225.225.588 0 .813s-.588.225-.812 0L8 8.812l-3.594 3.594c-.225.225-.588.225-.812 0s-.225-.588 0-.812L7.188 8 3.594 4.406c-.225-.225-.225-.588 0-.812s.588-.225.813 0L8 7.187l3.594-3.594z`})})}function gD(e,t,n,r,i){return g.isValidElement(t)?g.cloneElement(t,{...i,...t.props,className:Z(n,t.props.className,r)}):g.createElement(e,{...i,className:Z(n,r)})}var _D=`[--card-radius:var(--radius-xl)]`,vD=`rounded-[calc(var(--card-radius)*4/3)]`,yD={none:`rounded-(--card-radius)`,solid:Z(vD,`bg-background-muted/60 p-2 backdrop-blur-xl dark:bg-background-subtle`),glass:Z(vD,`border border-white/15 bg-white/10 p-2 backdrop-blur-sm`)},bD={none:`border`,solid:`border-border-muted border`,glass:``};function xD({frame:e=!1,inset:t=!0,className:n,contentProps:r,render:i,children:a,...o}){let s=e===!0?`solid`:e===!1?`none`:e;return gD(`div`,i,Z(`group/card flex flex-col`,_D,yD[s]),n,{"data-slot":`card`,"data-frame":s,...t?{"data-inset":``}:{},...o,children:(0,G.jsx)(`div`,{"data-slot":`card-content`,...r,className:Z(`bg-background flex min-h-0 flex-1 flex-col overflow-hidden rounded-(--card-radius)`,t&&`p-2`,bD[s],r?.className),children:a})})}function SD({className:e,...t}){return(0,G.jsx)(`div`,{"data-slot":`card-header`,className:Z(`flex flex-1 flex-col gap-1.5 p-6 group-data-inset/card:px-4`,e),...t})}function CD({className:e,render:t,...n}){return gD(`h3`,t,`text-foreground-intense text-lg font-semibold`,e,{"data-slot":`card-title`,...n})}var wD=g.createContext(void 0);function TD(){let e=g.useContext(wD);if(e===void 0)throw Error(S(63));return e}var ED=`data-valid`,DD=`data-invalid`,OD={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},kD={disabled:!1,valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},AD={valid(e){return e===null?null:e?{[ED]:``}:{[DD]:``}}},jD=`data-checked`,MD=`data-unchecked`,ND={...AD,checked(e){return e?{[jD]:``}:{[MD]:``}}},PD={invalid:void 0,name:void 0,validityData:{state:OD,errors:[],error:``,value:``,initialValue:null},setValidityData:p,disabled:void 0,setTouched:p,setDirty:p,setFilled:p,setFocused:p,validationMode:`onSubmit`,shouldValidateOnChange:()=>!1,state:kD,registerFieldControl:p,validation:{getValidationProps:(e,t=h)=>t,inputRef:{current:null},registeredInputs:new Map,registerInput:p,getInputControl:()=>null,commit:async()=>{},change:p}},FD=g.createContext(PD);function ID(e=!0){let t=g.useContext(FD);if(t.setValidityData===p&&!e)throw Error(S(28));return t}function LD(e,t,n,r,i=!0,a){let{registerFieldControl:o}=ID(),s=y(()=>Symbol());b(()=>{let c=s.current;if(!i){o(c,void 0);return}o(c,{controlRef:e,getValue:r,id:t,name:a,value:n})},[e,i,r,t,a,o,s,n]),b(()=>{let e=s.current;return()=>{o(e,void 0)}},[o,s])}var RD=g.createContext({elementRef:{current:null},formRef:{current:{fields:new Map}},errors:{},clearErrors:p,validationMode:`onSubmit`,submitCountRef:{current:0}});function zD(){return g.useContext(RD)}var BD=g.createContext({controlId:void 0,registerControlId:p,resetControlId:p,labelId:void 0,setLabelId:p,messageIds:[],setMessageIds:p,getDescriptionProps:e=>e});function VD(){return g.useContext(BD)}function HD(e,t,n,r=!0,i){let[a,o]=g.useState(),s=Pd(i?`${i}-label`:void 0),c=e??t??a;return b(()=>{let i=e||t||!r?void 0:UD(n.current,s);a!==i&&o(i)}),c}function UD(e,t){let n=WD(e);if(n)return!n.id&&t&&(n.id=t),n.id||void 0}function WD(e){if(!e)return;let t=e.parentElement;if(t&&t.tagName===`LABEL`)return t;let n=e.id;if(n){let t=e.nextElementSibling;if(t&&t.htmlFor===n)return t}let r=e.labels;return r&&r[0]}function GD(e={}){let{id:t,enabled:n=!0}=e,{controlId:r,registerControlId:i,resetControlId:a}=VD(),o=Pd(),s=y(()=>Symbol()),c=g.useRef(!1),l=g.useRef(!1),u=J(()=>{c.current&&i!==p&&(c.current=!1,i(s.current,void 0))});return b(()=>{if(!n||i===p){u();return}let e;if(t!==void 0)l.current=!0,e=t;else if(l.current)e=o;else{a();return}if(e===void 0){u();return}c.current=!0,i(s.current,e)},[t,n,i,a,o,s,u]),b(()=>u,[u]),(n?r:void 0)??t??o}var KD=g.forwardRef(function(e,t){let{checked:n,className:r,defaultChecked:i,"aria-labelledby":a,form:o,id:s,inputRef:c,name:l,nativeButton:u=!1,onCheckedChange:d,readOnly:f=!1,required:p=!1,disabled:m=!1,render:_,uncheckedValue:v,value:y,style:x,...S}=e,{clearErrors:C}=zD(),{state:w,setTouched:T,setDirty:E,validityData:D,setFilled:O,setFocused:k,validationMode:A,disabled:j,name:M,validation:N}=ID(),{labelId:P}=VD(),F=j||m,I=M??l,L=g.useRef(null),R=hr(L,c,N.inputRef),z=g.useRef(null),B=Pd(),V=GD({id:s}),H=u?void 0:V,[U,W]=bf({controlled:n,default:!!i,name:`Switch`,state:`checked`});LD(z,B,U,void 0,!F,l),b(()=>{O(U)},[U,O]),Jf(U,()=>{C(I),E(U!==D.initialValue),N.change(U)});let{getButtonProps:ee,buttonRef:K}=la({disabled:F,native:u}),te=HD(a,P,L,!u,H),q={id:u?V:B,role:`switch`,"aria-checked":U,"aria-readonly":f||void 0,"aria-required":p||void 0,"aria-labelledby":te,onFocus(){F||k(!0)},onBlur(){let e=L.current;e&&!F&&(T(!0),k(!1),A===`onBlur`&&N.commit(e.checked))},onClick(e){if(f||F)return;e.preventDefault();let t=L.current;t&&ca(t,e)}},ne={...N.getValidationProps(F),checked:U,disabled:F,form:o,id:H,name:I,required:p,style:I?pr:fr,tabIndex:-1,type:`checkbox`,"aria-hidden":!0,ref:R,onChange(e){if(e.nativeEvent.defaultPrevented)return;if(f){e.preventDefault();return}let t=e.currentTarget.checked,n=ja(ma,e.nativeEvent);d?.(t,n),!n.isCanceled&&W(t)},onClick(e){e.stopPropagation()},onFocus(){z.current?.focus()},...y===void 0?h:{value:y}},re=g.useMemo(()=>({...w,checked:U,disabled:F,readOnly:f,required:p}),[w,U,F,f,p]),ie=Vr(`span`,e,{state:re,ref:[t,z,K],props:[q,S,ee,e=>N.getValidationProps(F,e)],stateAttributesMapping:ND});return(0,G.jsxs)(wD.Provider,{value:re,children:[ie,!U&&I&&v!==void 0&&(0,G.jsx)(`input`,{type:`hidden`,form:o,name:I,value:v,disabled:F}),(0,G.jsx)(`input`,{...ne,suppressHydrationWarning:!0})]})}),qD=g.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e;return Vr(`span`,e,{state:TD(),ref:t,stateAttributesMapping:ND,props:a})}),JD={sm:{root:`h-4 w-7.5`,thumb:`size-3`,thumbWidthKeyframes:[`0.75rem`,`1.25rem`,`0.75rem`],thumbXKeyframes:[0,`0.3125rem`,`0.875rem`],check:`size-2.5`},md:{root:`h-5 w-9.5`,thumb:`size-4`,thumbWidthKeyframes:[`1rem`,`1.6875rem`,`1rem`],thumbXKeyframes:[0,`0.4375rem`,`1.125rem`],check:`size-3`},lg:{root:`h-6 w-11.5`,thumb:`size-5`,thumbWidthKeyframes:[`1.25rem`,`2.125rem`,`1.25rem`],thumbXKeyframes:[0,`0.5rem`,`1.375rem`],check:`size-4`}},YD={duration:.25,ease:[.4,0,.2,1]};function XD(e,t){return t===1?[...e]:e.map(e=>typeof e==`number`?-e:`-${e}`)}function ZD({renderProps:e,state:t,dirSign:n,sizeConfig:r,reduced:i}){let{checked:a}=t,{ref:o,onDrag:s,onDragStart:c,onDragEnd:l,onAnimationStart:u,onAnimationEnd:d,...f}=e,p=g.useMemo(()=>{let e=XD(r.thumbXKeyframes,n);return a?e:e.reverse()},[a,n,r]),m=p[p.length-1],[h,_]=yE(),v=Vu(o,h),y=g.useRef(a);return g.useEffect(()=>{let e=y.current!==a;y.current=a,e&&!i?_(h.current,{x:p,width:r.thumbWidthKeyframes},YD):_(h.current,{x:m},{duration:0})},[a,r,_,h,i,p,m]),(0,G.jsx)(bE.span,{...f,ref:v,initial:{x:m},children:(0,G.jsx)(bE.svg,{className:Z(`text-foreground-intense`,r.check),xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 12 12`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,style:{strokeDasharray:12},initial:!1,animate:{strokeDashoffset:a?0:12},transition:i?{duration:0}:{strokeDashoffset:{duration:a?.3:0,ease:`easeOut`,delay:a?.25:0}},children:(0,G.jsx)(`path`,{d:`M3 6l2 2 4-4`})})})}function QD({className:e,size:t=`md`,...n}){let r=Wc()===`rtl`?-1:1,i=JD[t],a=yh(),o=n[`aria-invalid`],s=o===!0||o===`true`;return(0,G.jsx)(Iw,{features:VT,strict:!0,children:(0,G.jsx)(KD,{"data-slot":`switch`,className:Z(`bg-background-strong outline-ring flex shrink-0 rounded-full border border-transparent p-px outline-offset-1`,i.root,`transition-background duration-200 motion-reduce:transition-none`,`data-checked:bg-primary data-checked:outline-ring-primary`,`data-disabled:not-data-checked:border-border-strong data-disabled:opacity-disabled data-disabled:cursor-not-allowed data-disabled:not-data-checked:border-dashed`,`data-invalid:border-error data-invalid:not-data-checked:bg-error-subtle data-invalid:outline-ring-error`,e),...n,...s?{"data-invalid":``}:{},children:(0,G.jsx)(qD,{"data-slot":`switch-thumb`,className:Z(`group flex items-center justify-center rounded-full bg-white shadow-2xs`,i.thumb,`data-checked:bg-primary-foreground`),render:(e,t)=>(0,G.jsx)(ZD,{renderProps:e,state:t,dirSign:r,sizeConfig:i,reduced:a})})})})}var $D=g.createContext(void 0);function eO(e){let t=g.useContext($D);if(t===void 0&&!e)throw Error(S(72));return t}var tO={...dc,disabled:e=>e.disabled,instantType:e=>e.instantType,isInstantPhase:e=>e.isInstantPhase,trackCursorAxis:e=>e.trackCursorAxis,disableHoverablePopup:e=>e.disableHoverablePopup,lastOpenChangeReason:e=>e.openChangeReason,closeOnClick:e=>e.closeOnClick,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin},nO=class extends ce{constructor(e,t,n){let r=new ic;super(rO(e,r,t,n),iO(r),tO),q(this,`setOpen`,(e,t)=>{Qs(this,e,t,{extraState:{openChangeReason:t.reason}})})}cancelPendingOpen(e){this.state.floatingRootContext.dispatchOpenChange(!1,ja(ha,e))}};function rO(e,t,n,r=!1){return{...ac(t,n,r),disabled:!1,instantType:void 0,isInstantPhase:!1,trackCursorAxis:`none`,disableHoverablePopup:!1,openChangeReason:null,closeOnClick:!0,closeDelay:0,adaptiveOrigin:void 0,...e}}function iO(e){return{popupRef:g.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:e}}var aO=F(function(e){let{disabled:t=!1,defaultOpen:n=!1,open:r,disableHoverablePopup:i=!1,trackCursorAxis:a=`none`,actionsRef:o,onOpenChange:s,onOpenChangeComplete:c,handle:l,triggerId:u,defaultTriggerId:d=null,children:f}=e,p=Ks((e,t)=>new nO({open:n,openProp:r,activeTriggerId:d,triggerIdProp:u},e,t));p.useControlledProp(`openProp`,r),p.useControlledProp(`triggerIdProp`,u),p.useContextCallback(`onOpenChange`,s),p.useContextCallback(`onOpenChangeComplete`,c);let m=p.useState(`open`),h=!t&&m,_=p.useState(`activeTriggerId`),v=p.useState(`mounted`),y=p.useState(`payload`);p.useSyncedValues({trackCursorAxis:a,disableHoverablePopup:i,disabled:t}),ec(p,{closeOnActiveTriggerUnmount:!0});let{forceUnmount:x,transitionStatus:S}=tc(h,p),C=p.useState(`isInstantPhase`),w=p.useState(`instantType`),T=p.useState(`lastOpenChangeReason`),E=g.useRef(null);b(()=>{m&&t&&p.setOpen(!1,ja(Da))},[m,t,p]),b(()=>{S===`ending`&&T===`none`||S!==`ending`&&C?(w!==`delay`&&(E.current=w),p.set(`instantType`,`delay`)):E.current!==null&&(p.set(`instantType`,E.current),E.current=null)},[S,C,T,w,p]),b(()=>{h&&(_??p.set(`payload`,void 0))},[p,_,h]),g.useImperativeHandle(o,()=>({unmount:x,close:()=>p.setOpen(!1,ja(Oa))}),[x,p]);let D=h||v||!t&&a!==`none`;return(0,G.jsxs)($D.Provider,{value:p,children:[l&&(0,G.jsx)(qs,{handle:l,store:p}),D&&(0,G.jsx)(oO,{store:p,disabled:t,trackCursorAxis:a}),typeof f==`function`?f({payload:y}):f]})});function oO({store:e,disabled:t,trackCursorAxis:n}){let r=e.useState(`floatingRootContext`),i=Fo(r,{enabled:!t,referencePress:()=>e.select(`closeOnClick`)}),a=Mo(r,{enabled:!t&&n!==`none`,axis:n===`none`?void 0:n}),o=g.useMemo(()=>Dr(a.reference,i.reference),[a.reference,i.reference]);return nc(e,{activeTriggerProps:o,inactiveTriggerProps:o,popupProps:i.floating??h}),null}var sO=g.createContext(void 0);function cO(){return g.useContext(sO)}var lO=`data-base-ui-tooltip-trigger`;function uO(e){if(`composedPath`in e){let t=e.composedPath();for(let e=0;e<t.length;e+=1){let n=t[e];if(ge(n))return n}}let t=e.target;return ge(t)?t:null}function dO(e){let t=e;for(;t;){let e=t.closest(`[${lO}]`);if(e)return e;let n=t.getRootNode();t=`host`in n&&ge(n.host)?n.host:null}return null}var fO=I(function(e,t){let{render:n,className:r,style:i,handle:a,payload:o,disabled:s,delay:c,closeOnClick:l=!0,closeDelay:u,id:d,...f}=e,p=eO(!0),m=fc(a)??p;if(!m)throw Error(S(82));let h=Pd(d),_=m.useState(`isTriggerActive`,h),v=m.useState(`isOpenedByTrigger`,h),y=m.useState(`floatingRootContext`),b=g.useRef(null),x=u??0,{registerTrigger:C,isMountedByThisTrigger:w}=$s(h,b,m,{payload:o,closeOnClick:l,closeDelay:x}),T=cO(),{activeIdRef:E,delayRef:D,isInstantPhase:O,hasProvider:k}=Ya(y,{open:v}),A=Sc(y);m.useSyncedValue(`isInstantPhase`,O);let j=m.useState(`disabled`),M=s??j,N=Ba(M),P=m.useState(`trackCursorAxis`),F=m.useState(`disableHoverablePopup`),I=g.useRef(!1),L=Ge(),R=g.useRef(void 0);function z(){return k&&E.current!=null?0:c??T??600}function B(e){let t=b.current;if(!t||!e)return!1;let n=dO(e);return n!==null&&n!==t&&Y(t,n)}function V(e){let t=B(e);return I.current=t,t&&(A.openChangeTimeout.clear(),A.restTimeout.clear(),A.restTimeoutPending=!1,L.clear()),t}let H=Tc(y,{enabled:!M,mouseOnly:!0,move:!1,handleClose:!F&&P!==`both`?Hc():null,restMs:z,delay(){return u==null&&k?{close:Ua(D.current,`close`)}:{close:x}},triggerElementRef:b,isActiveTrigger:_,isClosing:()=>m.select(`transitionStatus`)===`ending`,shouldOpen(){return!I.current}}),U=_c(y,{enabled:!M}).reference,W=e=>{let t=I.current,n=uO(e),r=V(n),i=b.current,a=i&&n&&Y(i,n);if(r&&m.select(`open`)&&m.select(`lastOpenChangeReason`)===`trigger-hover`){m.setOpen(!1,ja(ga,e));return}if(t&&!r&&a&&!N.current&&!m.select(`open`)&&i&&Zt(R.current)){let t=()=>{!I.current&&!N.current&&!m.select(`open`)&&m.setOpen(!0,ja(ga,e,i))},n=z();n===0?(L.clear(),t()):L.start(n,t)}},G=m.useState(`triggerProps`,w);return Vr(`button`,e,{state:{open:v},ref:[t,C,b],props:[H,U,w||P!==`none`?G:void 0,{onMouseOver(e){W(e.nativeEvent)},onFocus(e){B(uO(e.nativeEvent))&&e.preventBaseUIHandler()},onMouseLeave(){I.current=!1,L.clear(),R.current=void 0},onPointerEnter(e){R.current=e.pointerType},onPointerDown(e){R.current=e.pointerType,m.set(`closeOnClick`,l),l&&!m.select(`open`)&&m.cancelPendingOpen(e.nativeEvent)},onClick(e){l&&!m.select(`open`)&&m.cancelPendingOpen(e.nativeEvent)},id:h,[It]:M?``:void 0,[lO]:M?void 0:``},f],stateAttributesMapping:Mt})}),pO=g.createContext(void 0);function mO(){let e=g.useContext(pO);if(e===void 0)throw Error(S(70));return e}var hO=g.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e;return eO().useState(`mounted`)||n?(0,G.jsx)(pO.Provider,{value:n,children:(0,G.jsx)(Ra,{ref:t,...r})}):null}),gO=g.createContext(void 0);function _O(){let e=g.useContext(gO);if(e===void 0)throw Error(S(71));return e}var vO=g.forwardRef(function(e,t){let{render:n,className:r,anchor:i,positionMethod:a=`absolute`,side:o=`top`,align:s=`center`,sideOffset:c=0,alignOffset:l=0,collisionBoundary:u=`clipping-ancestors`,collisionPadding:d=5,arrowPadding:f=5,sticky:p=!1,disableAnchorTracking:m=!1,collisionAvoidance:h=fi,style:_,...v}=e,y=eO(),b=mO(),x=y.useState(`open`),S=y.useState(`mounted`),C=y.useState(`trackCursorAxis`),w=y.useState(`disableHoverablePopup`),T=y.useState(`floatingRootContext`),E=y.useState(`instantType`),D=y.useState(`transitionStatus`),O=il({anchor:i,positionMethod:a,floatingRootContext:T,mounted:S,side:o,sideOffset:c,align:s,alignOffset:l,collisionBoundary:u,collisionPadding:d,sticky:p,arrowPadding:f,disableAnchorTracking:m,keepMounted:b,collisionAvoidance:h,adaptiveOrigin:y.useState(`adaptiveOrigin`)}),k=cl(e,g.useMemo(()=>({open:x,side:O.side,align:O.align,anchorHidden:O.anchorHidden,instant:C===`none`?E:`tracking-cursor`}),[x,O.side,O.align,O.anchorHidden,C,E]),{styles:O.positionerStyles,transitionStatus:D,props:v,refs:[t,y.useStateSetter(`positionerElement`)],hidden:!S,inert:!x||C===`both`||w});return(0,G.jsx)(gO.Provider,{value:O,children:k})}),yO=g.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,o=eO(),{side:s,align:c}=_O(),l=o.useState(`open`),u=o.useState(`instantType`),d=o.useState(`transitionStatus`),f=o.useState(`popupProps`),p=o.useState(`floatingRootContext`),m=o.useState(`disabled`),h=o.useState(`closeDelay`);ii({open:l,ref:o.context.popupRef,onComplete(){l&&o.context.onOpenChangeComplete?.(!0)}}),Cc(p,{enabled:!m,closeDelay:h});let g=o.useStateSetter(`popupElement`);return Vr(`div`,e,{state:{open:l,side:s,align:c,instant:u,transitionStatus:d},ref:[t,o.context.popupRef,g],props:[Ws,f,sl(d),a],stateAttributesMapping:Ft})}),bO=g.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,o=eO(),{arrowRef:s,side:c,align:l,arrowUncentered:u,arrowStyles:d}=_O();return Vr(`div`,e,{state:{open:o.useState(`open`),side:c,align:l,uncentered:u,instant:o.useState(`instantType`)},ref:[t,s],props:[{style:d,"aria-hidden":!0},a],stateAttributesMapping:Pt})});function xO(e){return(0,G.jsx)(aO,{...e})}function SO(e){return(0,G.jsx)(fO,{"data-slot":`tooltip-trigger`,...e})}function CO({className:e,arrow:t=!0,children:n,...r}){let{positioner:i,portal:a,popup:o}=Sh(r);return(0,G.jsx)(hO,{...a,children:(0,G.jsx)(vO,{side:`top`,align:`center`,alignOffset:0,sideOffset:t?8:4,...i,className:Z(`isolate z-50`,i.className),children:(0,G.jsxs)(yO,{"data-slot":`tooltip-content`,className:Z(`bg-background-inverse text-foreground-inverse rounded-xs px-3 py-1.5 text-xs shadow-md`,`motion-safe:origin-(--transform-origin) motion-safe:transition-[opacity,scale] motion-safe:duration-200 motion-safe:ease-[cubic-bezier(0.175,0.885,0.32,1.5)]`,`data-starting-style:motion-safe:scale-90 data-starting-style:motion-safe:opacity-0`,`data-ending-style:motion-safe:scale-95 data-ending-style:motion-safe:opacity-0 data-ending-style:motion-safe:duration-100 data-ending-style:motion-safe:ease-out`,`data-instant:motion-safe:transition-none`,e),...o,children:[n,t&&(0,G.jsx)(bO,{"data-slot":`tooltip-arrow`,className:Z(`bg-background-inverse fill-background-inverse size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px]`,`data-[side=top]:-bottom-2.5`,`data-[side=bottom]:top-1`,`data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2`,`data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2`,`data-[side=inline-start]:-inset-e-1 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-translate-y-1/2`,`data-[side=inline-end]:-inset-s-1 data-[side=inline-end]:top-1/2! data-[side=inline-end]:-translate-y-1/2`)})]})})})}function wO({className:e}){return(0,G.jsxs)(`svg`,{viewBox:`0 0 16 16`,className:e??`size-3.5`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.3`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,G.jsx)(`circle`,{cx:`8`,cy:`8`,r:`6.2`}),(0,G.jsx)(`path`,{d:`M6.3 6.1a1.75 1.75 0 0 1 3.4.55c0 1.15-1.7 1.35-1.7 2.55`}),(0,G.jsx)(`path`,{d:`M8 11.5h.01`})]})}function TO({tone:e}){return(0,G.jsx)(`span`,{className:pg(`inline-block size-2 shrink-0 rounded-full`,mg[e]),"aria-hidden":!0})}function EO({label:e,hint:t,tone:n,mono:r,nowrap:i,children:a}){return(0,G.jsxs)(`div`,{className:pg(`flex justify-between gap-4 border-b border-border-muted py-2 last:border-b-0`,i?`items-center whitespace-nowrap`:`items-baseline`),children:[(0,G.jsx)(`dt`,{className:i?`shrink-0 text-xs text-foreground-muted`:`min-w-0 flex-1 text-sm text-foreground-muted`,children:t?(0,G.jsxs)(`span`,{className:`inline-flex items-center gap-1`,children:[e,(0,G.jsxs)(xO,{children:[(0,G.jsx)(SO,{delay:250,render:(0,G.jsx)(`button`,{type:`button`,"aria-label":t,title:t,className:`shrink-0 cursor-pointer text-foreground-muted transition-colors duration-200 hover:text-foreground-strong focus-visible:outline-none motion-reduce:transition-none`,children:(0,G.jsx)(wO,{})})}),(0,G.jsx)(CO,{className:`max-w-72`,children:(0,G.jsx)(`p`,{children:t})})]})]}):e}),(0,G.jsx)(`dd`,{className:pg(`shrink-0 text-right text-sm`,i?`whitespace-nowrap text-xs`:`min-w-0 break-all`,r?`font-mono text-xs text-foreground-strong`:`text-foreground`,n&&hg[n]),children:a})]})}function DO({children:e,className:t}){return(0,G.jsx)(`dl`,{className:pg(`mt-1`,t),children:e})}function OO({tone:e,text:t,detail:n}){return(0,G.jsxs)(`span`,{className:`inline-flex flex-wrap items-center justify-end gap-x-2`,children:[(0,G.jsx)(TO,{tone:e}),(0,G.jsx)(`span`,{children:t}),n?(0,G.jsx)(`span`,{className:`text-xs text-foreground-muted`,children:n}):null]})}function kO(e){return e.available?e.enabled?e.error?`panel.tailcat.error`:e.ready?`panel.tailcat.ready`:`panel.tailcat.starting`:`panel.tailcat.disabled`:`panel.tailcat.unavailable`}function AO(e){return e.available?e.enabled?e.path===`direct`&&e.active?`panel.p2p.open`:e.error?`panel.p2p.error`:e.path===`failed`?`panel.p2p.blocked`:e.ready?e.path===`waiting`?`panel.p2p.waiting`:`panel.p2p.punching`:e.started?`panel.p2p.punching`:`panel.p2p.waiting`:`panel.p2p.disabled`:`panel.p2p.unavailable`}function jO(e){return!e.available||!e.enabled?`off`:e.path===`direct`&&e.active?`ok`:e.error||e.path===`failed`?`error`:`warn`}function MO(e){return!e.available||!e.enabled?`off`:e.error?`error`:e.ready?`ok`:`warn`}function NO({status:e,addressBook:t,busy:n,onToggle:r,onManageTailcat:i,onManageP2P:a}){let o=e.tunnel,s=e.enabled,c=e.tailcat??null,l=e.p2p??null,u=(t?.manualTcp??``).trim(),d=e.frp??null,f,p,m;return d?.running?(f=`ok`,p=$(`panel.connection.tcpRunning`),m=d.remoteAddress||u||void 0):d?.error?(f=`error`,p=$(`panel.connection.tcpFailed`),m=d.error):u?(f=`warn`,p=$(`panel.connection.tcpSet`),m=u):(f=`off`,p=$(`panel.connection.tcpOff`),m=void 0),(0,G.jsxs)(xD,{frame:`solid`,children:[(0,G.jsx)(SD,{className:`px-4 py-3`,children:(0,G.jsx)(CD,{className:`text-base lg:text-lg`,children:$(`panel.connection.state`)})}),(0,G.jsxs)(`label`,{className:`flex items-center justify-between gap-4 border-b border-border-muted py-3`,children:[(0,G.jsx)(`span`,{className:`text-sm text-foreground-muted`,children:$(`panel.connection.remoteControl`)}),(0,G.jsx)(QD,{size:`md`,checked:s,disabled:n!==``,onCheckedChange:e=>r(e),"aria-label":$(`panel.connection.remoteControl`)})]}),(0,G.jsxs)(DO,{children:[(0,G.jsx)(EO,{label:$(`panel.connection.deviceName`),children:e.name||`—`}),(0,G.jsx)(EO,{label:$(`panel.connection.instanceId`),mono:!0,children:e.instanceId||`—`}),(0,G.jsxs)(EO,{label:$(`panel.connection.platform`),children:[e.platform,` `,e.osVersion,` · `,e.arch]}),(0,G.jsx)(EO,{label:$(`panel.connection.tunnel`),tone:_g(o.state),...o.state===`error`&&o.error?{"data-error":o.error}:{},children:(0,G.jsx)(OO,{tone:_g(o.state),text:vg(o.state),...o.error?{detail:o.error}:{}})}),c?(0,G.jsx)(EO,{label:$(`panel.tailcat.title`),tone:MO(c),children:(0,G.jsxs)(`span`,{className:`inline-flex flex-wrap items-center justify-end gap-x-2`,children:[(0,G.jsx)(OO,{tone:MO(c),text:$(kO(c)),...c.error?{detail:c.error}:{}}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,onClick:i,children:$(`panel.tailcat.manage`)})]})}):null,l?(0,G.jsx)(EO,{label:$(`panel.p2p.title`),tone:jO(l),children:(0,G.jsxs)(`span`,{className:`inline-flex flex-wrap items-center justify-end gap-x-2`,children:[(0,G.jsx)(OO,{tone:jO(l),text:$(AO(l)),...l.error?{detail:l.error}:{}}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,onClick:a,children:$(`panel.p2p.manage`)})]})}):null,(0,G.jsx)(EO,{label:$(`panel.connection.tcp`),tone:f,children:(0,G.jsx)(OO,{tone:f,text:p,...m?{detail:m}:{}})}),(0,G.jsx)(EO,{label:$(`panel.connection.sidecar`),children:(0,G.jsx)(OO,{tone:e.sidecar.state===`healthy`?`ok`:`warn`,text:xg(e.sidecar.state),...e.sidecar.restarts>0?{detail:$(`panel.connection.sidecarRestarts`,{count:e.sidecar.restarts})}:{}})}),(0,G.jsx)(EO,{label:$(`panel.connection.mirror`),children:(0,G.jsx)(OO,{tone:e.mirror.ok?`ok`:e.mirror.error?`error`:`warn`,text:e.mirror.ok?$(`panel.connection.mirrorOk`):$(`panel.connection.mirrorOff`),detail:gg(e.mirror.pushedAt)})})]}),e.lan.recovery?.state===`awaiting-device`?(0,G.jsx)(DO,{children:(0,G.jsx)(EO,{label:$(`panel.connection.lan`),children:(0,G.jsx)(OO,{tone:`warn`,text:$(`panel.connection.lanWaiting`)})})}):e.lan.recovery?.state===`verified`?(0,G.jsx)(DO,{children:(0,G.jsx)(EO,{label:$(`panel.connection.lan`),children:(0,G.jsx)(OO,{tone:`ok`,text:$(`panel.connection.lanVerified`)})})}):null,e.lan.enabled&&(e.lan.error||e.lan.discovery?.error)?(0,G.jsxs)(YE,{variant:`warning`,className:`mt-3`,children:[(0,G.jsx)(ZE,{}),(0,G.jsx)(QE,{children:$(`panel.connection.lan`)}),(0,G.jsx)($E,{children:e.lan.error||e.lan.discovery?.error})]}):null,(0,G.jsx)(PO,{status:e})]})}function PO({status:e}){let t=e.tunnel.admissionHint;return t?t===`register-secret`?(0,G.jsxs)(YE,{variant:`warning`,className:`mt-3`,children:[(0,G.jsx)(ZE,{}),(0,G.jsx)(QE,{children:$(`panel.connection.relayNeedsSecret`)}),(0,G.jsx)($E,{children:$(`panel.connection.relayNeedsSecretBody`)})]}):(0,G.jsxs)(YE,{variant:`warning`,className:`mt-3`,children:[(0,G.jsx)(ZE,{}),(0,G.jsx)(QE,{children:$(`panel.connection.relayRejected`)}),(0,G.jsx)($E,{children:$(`panel.connection.relayRejectedBody`)})]}):null}var FO=`dsh-mobile-plugin:panel-action`;function IO(){return typeof window<`u`&&window.parent!==window}function LO(e){IO()&&window.parent.postMessage({type:FO,action:e},`*`)}function RO(){return(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,className:`size-4`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,G.jsx)(`path`,{d:`M13 5H5.8A1.8 1.8 0 0 0 4 6.8v11.4A1.8 1.8 0 0 0 5.8 20h11.4a1.8 1.8 0 0 0 1.8-1.8V11`}),(0,G.jsx)(`path`,{d:`M14 4h6v6`}),(0,G.jsx)(`path`,{d:`M20 4l-8.5 8.5`})]})}function zO(){return(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,className:`size-4`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,G.jsx)(`path`,{d:`M6 6l12 12`}),(0,G.jsx)(`path`,{d:`M18 6L6 18`})]})}function BO(){return IO()?(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(Q,{variant:`ghost`,size:`icon-md`,"aria-label":$(`panel.console.openBrowser`),title:$(`panel.console.openBrowser`),onClick:()=>LO(`open-browser`),children:(0,G.jsx)(RO,{})}),(0,G.jsx)(Q,{variant:`ghost`,size:`icon-md`,"aria-label":$(`panel.common.close`),title:$(`panel.common.close`),onClick:()=>LO(`close`),children:(0,G.jsx)(zO,{})})]}):null}function VO(e){return zf(`alert-dialog`,e)}var HO=class extends Ip{};function UO(){return new HO}var WO=Object.assign(function(e){return(0,G.jsx)(VO,{...e})},{createHandle:UO});function GO({className:e,children:t,backdrop:n=!0,frame:r=!0,backdropProps:i,viewportProps:a,...o}){let{portal:s,popup:c}=Vp(o),l=i?.forceRender===!0,u=r&&n;return(0,G.jsxs)(vf,{...s,children:[n&&(0,G.jsx)(iD,{"data-slot":`alert-dialog-backdrop`,...i,className:Z(`fixed inset-0 z-50 bg-black/30 backdrop-blur-sm supports-[-webkit-touch-callout:none]:absolute`,`motion-safe:transition-opacity motion-safe:duration-250 motion-safe:ease-out`,`data-ending-style:motion-safe:opacity-0 data-starting-style:motion-safe:opacity-0`,i?.className)}),(0,G.jsx)(ep,{"data-slot":`alert-dialog-viewport`,...a,className:Z(`fixed inset-0 z-50 flex items-center justify-center overflow-hidden p-4`,a?.className),children:(0,G.jsx)(oD,{"data-slot":`alert-dialog-popup`,...u?{"data-frame":``}:{},className:Z(`group/alert-dialog-popup relative flex max-h-full min-h-0 w-100 max-w-full flex-col`,`rounded-2xl border`,u?Z(`border-white/15 bg-white/10 p-1.5 backdrop-blur-sm`,!l&&`data-nested:border-border-overlay data-nested:bg-background data-nested:p-0 data-nested:shadow-2xl data-nested:backdrop-blur-none`):`bg-background border-border-overlay`,!u&&`shadow-2xl`,`isolate transform-gpu outline-none`,`motion-safe:transition-[opacity,scale] motion-safe:duration-250 motion-safe:ease-[cubic-bezier(0.175,0.885,0.32,1.5)]`,`data-starting-style:motion-safe:scale-95 data-starting-style:motion-safe:opacity-0`,`data-ending-style:motion-safe:scale-95 data-ending-style:motion-safe:opacity-0 data-ending-style:motion-safe:duration-100 data-ending-style:motion-safe:ease-out`,e),...c,children:(0,G.jsx)(`div`,{"data-slot":`alert-dialog-content`,className:Z(`flex min-h-0 flex-col overflow-hidden not-has-[>[data-slot=alert-dialog-footer]]:pb-6 not-has-[>[data-slot=alert-dialog-header]]:pt-6 [&>[data-slot=alert-dialog-header]+[data-slot=alert-dialog-footer]]:pt-0`,u&&Z(`bg-background rounded-[calc(var(--radius-2xl)*5/6)]`,!l&&`group-data-nested/alert-dialog-popup:rounded-none group-data-nested/alert-dialog-popup:bg-transparent`)),children:t})})})]})}function KO({className:e,...t}){return(0,G.jsx)(`div`,{"data-slot":`alert-dialog-header`,className:Z(`flex shrink-0 flex-col gap-2 p-6`,e),...t})}function qO({className:e,...t}){return(0,G.jsx)(Gf,{"data-slot":`alert-dialog-title`,className:Z(`text-foreground-intense text-xl font-semibold`,e),...t})}function JO({className:e,...t}){return(0,G.jsx)(Fd,{"data-slot":`alert-dialog-description`,className:Z(`text-foreground-muted text-sm`,e),...t})}function YO({className:e,...t}){return(0,G.jsx)(`div`,{"data-slot":`alert-dialog-body`,className:Z(`min-h-0 flex-1 px-6`,e),...t})}function XO({className:e,...t}){return(0,G.jsx)(`div`,{"data-slot":`alert-dialog-footer`,className:Z(`flex flex-col-reverse gap-2 p-6 sm:flex-row sm:justify-end`,e),...t})}var ZO=`data-checked`,QO=`data-unchecked`,$O={checked(e){return e?{[ZO]:``}:{[QO]:``}},...xt,...AD},ek=`data-composite-item-active`,tk=g.createContext({disabled:!1});function nk(){return g.useContext(tk)}var rk=g.createContext(void 0);function ik(){return g.useContext(rk)}function ak(e){if(e==null)return``;if(typeof e==`string`)return e;try{return JSON.stringify(e)}catch{return String(e)}}var ok=g.createContext(void 0);function sk(){let e=g.useContext(ok);if(e===void 0)throw Error(S(52));return e}var ck=g.forwardRef(function(e,t){let{render:n,className:r,disabled:i=!1,readOnly:a=!1,required:o=!1,"aria-labelledby":s,value:c,inputRef:l,nativeButton:u=!1,id:d,style:f,...m}=e,_=ik(),{disabled:v,readOnly:y,required:x,form:S,checkedValue:C,touched:w=!1,validation:T,name:E,setCheckedValue:D=p,setTouched:O=p,registerInputRef:k=p}=_??{},{setTouched:A,setFilled:j,state:M,disabled:N}=ID(),P=nk(),{labelId:F,getDescriptionProps:I}=VD(),L=N||P.disabled||v||i,R=y||a,z=x||o,B=S,V=_?C===c:c===``,H=g.useRef(null),U=g.useRef(null),W=T?.registerInput,ee=hr(l,U,k,g.useCallback(e=>W?.(e,{controlRef:H,value:void 0}),[W]));b(()=>{U.current?.checked&&j(!0)},[j]),b(()=>{if(U.current){if(L&&V){k(null);return}k(U.current)}},[V,L,k]);let K=Pd(),te=GD({id:d}),q=u?void 0:te,ne={role:`radio`,"aria-checked":V,"aria-labelledby":HD(s,F,U,!u,q),[ek]:V?``:void 0,id:u?te:K,onKeyDown(e){e.key===`Enter`&&e.preventDefault()},onClick(e){if(e.defaultPrevented||L||R)return;e.preventDefault();let t=U.current;t&&ca(t,e)},onFocus(e){e.defaultPrevented||L||R||!w||(U.current?.click(),O(!1))}},{getButtonProps:re,buttonRef:ie}=la({disabled:L,native:u,composite:!1}),ae={type:`radio`,ref:ee,form:B,id:q,name:E,tabIndex:-1,style:E?pr:fr,"aria-hidden":!0,...c===void 0?h:{value:ak(c)},disabled:L,checked:V,required:z,readOnly:R,onChange(e){if(e.nativeEvent.defaultPrevented||L||R||c===void 0)return;let t=ja(ma,e.nativeEvent);D(c,t),!t.isCanceled&&A(!0)},onClick(e){e.stopPropagation()},onFocus(){H.current?.focus()}},J=g.useMemo(()=>({...M,required:z,disabled:L,readOnly:R,checked:V}),[M,L,R,V,z]),oe=J,se=_!==void 0,ce=[t,H,ie],le=[ne,m,re,I,T?e=>T.getValidationProps(L,e):h],ue=Vr(`span`,e,{enabled:!se,state:J,ref:ce,props:le,stateAttributesMapping:$O});return(0,G.jsxs)(ok.Provider,{value:oe,children:[se?(0,G.jsx)(ah,{tag:`span`,render:n,className:r,style:f,state:J,refs:ce,props:le,stateAttributesMapping:$O}):ue,(0,G.jsx)(`input`,{...ae,suppressHydrationWarning:!0})]})}),lk=g.forwardRef(function(e,t){let{render:n,className:r,style:i,keepMounted:a=!1,...o}=e,s=sk(),c=s.checked,{mounted:l,transitionStatus:u,setMounted:d}=Us(c),f={...s,transitionStatus:u},p=g.useRef(null),m=a||l,h=Vr(`span`,e,{ref:[t,p],state:f,props:o,stateAttributesMapping:$O});return ii({batch:!0,enabled:!c,open:c,ref:p,onComplete(){c||d(!1)}}),m?h:null}),uk={duration:.3,ease:[.4,0,.2,1]},dk={duration:.3,ease:[.4,0,.2,1]},fk={duration:0};function pk({checked:e,reduced:t}){return(0,G.jsx)(lk,{"data-slot":`radio-indicator`,className:`flex items-center justify-center`,keepMounted:!0,children:(0,G.jsx)(bE.span,{className:`bg-primary-foreground size-[0.5em] min-h-2 min-w-2 rounded-full`,initial:!1,animate:{scale:+!!e},transition:t?fk:dk})})}function mk({renderProps:e,state:t,reduced:n}){let{checked:r}=t,{ref:i,...a}=e,[o,s]=yE(),c=Vu(i,o),l=g.useRef(r);return g.useEffect(()=>{let e=l.current!==r;l.current=r,e&&!n&&s(o.current,{scale:[1,.8,1.1,1]},uk)},[r,s,o,n]),(0,G.jsx)(`span`,{"data-slot":`radio`,...a,ref:c,children:(0,G.jsx)(pk,{checked:r,reduced:n})})}function hk({className:e,...t}){let n=yh(),r=t[`aria-invalid`],i=r===!0||r===`true`;return(0,G.jsx)(Iw,{features:VT,strict:!0,children:(0,G.jsx)(ck,{...t,...i?{"data-invalid":``}:{},className:Z(`flex size-[1em] min-h-4 min-w-4 shrink-0 cursor-default items-center justify-center`,`bg-background border-border-strong outline-ring-input rounded-full border outline-offset-1`,`transition-[background-color,border-color,box-shadow] duration-200 motion-reduce:transition-none`,`hover:not-data-checked:not-data-disabled:not-data-invalid:border-border-emphasis`,`data-checked:bg-primary data-checked:outline-ring-primary data-checked:border-transparent`,`data-disabled:not-data-checked:bg-background-subtle data-disabled:data-checked:opacity-disabled data-disabled:cursor-not-allowed data-disabled:not-data-checked:border-dashed`,`data-invalid:border-error data-invalid:not-data-checked:bg-error-subtle data-invalid:outline-ring-error`,e),render:(e,t)=>(0,G.jsx)(mk,{renderProps:e,state:t,reduced:n})})})}function gk(e){let{loopFocus:t=!0,orientation:n=`both`,grid:r,onLoop:i,direction:a,highlightedIndex:o,onHighlightedIndexChange:s,rootRef:c,enableHomeAndEndKeys:l=!1,stopEventPropagation:u,disabledIndices:d,modifierKeys:f=m}=e,[p,h]=g.useState(0),_=r!=null,v=g.useRef(null),y=hr(v,c),x=g.useRef([]),S=g.useRef(!1),C=g.useRef(null),w=o??p,T=J((e,t=!1)=>{if(C.current=x.current[e]??null,(s??h)(e),t){let t=x.current[e];tf(v.current,t,a,n)}}),E=J(e=>{if(e.size===0)return;if(S.current){let e=x.current,t=e.indexOf(C.current);if(t===-1){let t=e[w];!t||jn(e,w,d)?T(_k(e,d)):C.current=t}else t!==w&&T(t);return}S.current=!0;let t=Array.from(e.keys()),r=t.find(e=>e?.hasAttribute(`data-composite-item-active`))??null,i=r?e.get(r)?.index??-1:-1;if(i!==-1)T(i);else if(jn(t,w,d)){let e=An(t,{disabledIndices:d});Dn(t,e)||T(e)}tf(v.current,r,a,n)});b(()=>{if(d==null||o!=null||!S.current)return;let e=x.current;if(jn(e,w,d)){let t=An(e,{disabledIndices:d});Dn(e,t)||T(t)}},[d,o,w,x,T]);let D=J((e,t,n)=>i?i(e,t,n,x):n),O=J(e=>{let o=e.key===`Home`||e.key===`End`;if(!Xd.has(e.key)||!l&&o||vk(e,f)||!v.current)return;let s=a===`rtl`,c=s?Jd:Yd,p=s?Yd:Jd,m=n===`vertical`?qd:c,h=n===`vertical`?Kd:p,g=ut(e.nativeEvent);if(g!=null&&ef(g)&&!mh(g)){let t=g.selectionStart,n=g.selectionEnd,r=g.value;if(t==null||e.shiftKey||t!==n||e.key!==h&&t<r.length||e.key!==m&&t>0)return}let y=w,b=On(x,d),S=kn(x,d);r!=null&&(y=r({disabledIndices:d,elementsRef:x,event:e,highlightedIndex:w,loopFocus:t,maxIndex:S,minIndex:b,onLoop:D,orientation:n,rtl:s}));let C=n!==`vertical`&&e.key===c||n!==`horizontal`&&e.key===`ArrowDown`,E=n!==`vertical`&&e.key===p||n!==`horizontal`&&e.key===`ArrowUp`;l&&(e.key===`Home`?y=b:e.key===`End`&&(y=S)),y===w&&(C||E)&&(t&&y===S&&C?(y=b,i&&(y=i(e,w,y,x))):t&&y===b&&E?(y=S,i&&(y=i(e,w,y,x))):y=An(x.current,{startingIndex:y,decrement:E,disabledIndices:d})),y!==w&&!Dn(x.current,y)&&(u&&e.stopPropagation(),(_||o||C||E)&&e.preventDefault(),T(y,!0),queueMicrotask(()=>{x.current[y]?.focus()}))});return{props:{ref:y,onFocus(e){let t=v.current,n=ut(e.nativeEvent);t&&n!=null&&ef(n)&&n.setSelectionRange(0,n.value.length)},onKeyDown:O},highlightedIndex:w,onHighlightedIndexChange:T,elementsRef:x,onMapChange:E,relayKeyboardEvent:O}}function _k(e,t){let n=-1;for(let r=0;r<e.length;r+=1){let i=e[r];if(i&&!jn(e,r,t)){if(i.hasAttribute(`data-composite-item-active`))return r;n===-1&&(n=r)}}return Math.max(n,0)}function vk(e,t){for(let n of Qd)if(!t.includes(n)&&e.getModifierState(n))return!0;return!1}function yk(e){let{render:t,className:n,style:r,refs:i=m,props:a=m,state:o=h,stateAttributesMapping:s,highlightedIndex:c,onHighlightedIndexChange:l,orientation:u,grid:d,loopFocus:f,onLoop:p,enableHomeAndEndKeys:_,onMapChange:v,stopEventPropagation:y=!0,rootRef:b,disabledIndices:x,modifierKeys:S,highlightItemOnHover:C=!1,tag:w=`div`,...T}=e,{props:E,highlightedIndex:D,onHighlightedIndexChange:O,elementsRef:k,onMapChange:A,relayKeyboardEvent:j}=gk({grid:d,loopFocus:f,onLoop:p,orientation:u,highlightedIndex:c,onHighlightedIndexChange:l,rootRef:b,stopEventPropagation:y,enableHomeAndEndKeys:_,direction:Wc(),disabledIndices:x,modifierKeys:S}),M=Vr(w,e,{state:o,ref:i,props:[E,...a,T],stateAttributesMapping:s}),N=g.useMemo(()=>({highlightedIndex:D,onHighlightedIndexChange:O,highlightItemOnHover:C,relayKeyboardEvent:j}),[D,O,C,j]);return(0,G.jsx)(aa.Provider,{value:N,children:(0,G.jsx)(Om,{elementsRef:k,onMapChange:e=>{v?.(e),A(e)},children:M})})}function bk(e,t){return{...e,state:{...e.state,valid:!t&&e.state.valid}}}var xk=Object.keys(OD);function Sk(e,t){return e.matches(`:disabled`)?!1:!t||e.form===t||e.form===null&&!e.hasAttribute(`form`)}function Ck(e,t){let n=null;for(let r of e.keys())if(Sk(r,t)){if(!r.validity.valid)return r;n??=r}return n}function wk(e){return{...OD,valid:!e,customError:e}}function Tk(e){return e&&e.validationMessage?[e.validationMessage]:[]}function Ek(e){let{elementRef:t,formRef:n}=zD(),{setValidityData:r,validate:i,validityData:a,validationDebounceTime:o,invalid:s,markedDirtyRef:c,state:l,shouldValidateOnChange:u,validationMode:d,registeredFieldIdRef:f}=e,{controlId:p,getDescriptionProps:m}=VD(),_=Ge(),v=g.useRef(null),b=y(()=>new Map).current,x=g.useRef(0),S=g.useRef(null),C=g.useCallback((e,t)=>(b.set(e,t),()=>{b.delete(e)}),[b]),w=J(()=>{let e=Ck(b,t.current);return e&&b.get(e)?.controlRef.current||null}),T=J(async(e,o=!1)=>{x.current+=1;let m=x.current;function h(e,t=s){let r=f.current??p;if(r==null)return;let i=n.current.fields.get(r);if(!i)return;let a=bk(e,t);n.current.fields.set(r,{...i,validityData:a})}function g(t,n){let r=t.valid===!1?n:[];return{value:e,state:t,error:r[0]??``,errors:r,initialValue:a.initialValue}}function y(e,t){let n=e.validity.customError?e.validationMessage:``,r=t.replace(/\r\n?/g,`
|
|
84
84
|
`);e.setCustomValidity(r),S.current=[e,r,n]}function C(){let e=S.current;S.current=null,e&&(!e[0].willValidate||e[0].validationMessage===e[1])&&e[0].setCustomValidity(e[2])}function w(e,t,n){let i=g(e,t);h(i,n),r(i)}function T(e){let t=xk.reduce((t,n)=>(t[n]=e.validity[n],t),{}),n=!1;for(let e of xk)if(e!==`valid`){if(e===`valueMissing`&&t[e])n=!0;else if(t[e])return t}return n&&!c.current&&(t.valid=!0,t.valueMissing=!1),t}function E(){return b.size>0?Ck(b,t.current):v.current}let D=E();function O(){return D=E(),D?.willValidate?T(D):wk(!1)}if(o){if(l.valid!==!1||!D)return;if(!D.validity.valueMissing){C();let e=E(),t=e?.validity.customError?Tk(e):[];w(wk(t.length>0),t,!1);return}for(let e of xk)if(e!==`valid`&&e!==`valueMissing`&&e!==`customError`&&D.validity[e])return}_.clear(),C();let k=O(),A=Tk(D),j=u();if(A.length===0||j){let t=Array.from(n.current.fields.values()).reduce((e,t)=>(t.name&&(e[t.name]=t.getValue()),e),{}),r=i(e,t),o;if(typeof r==`object`&&r&&`then`in r){if(k.valid===!1?w(k,A):(d===`onSubmit`||!a.state.customError)&&(k.valid=null,w(k,A)),o=await r,m!==x.current)return;k=O()}else o=r;A=o?[].concat(o).filter(Boolean):[],A.length>0?(k.valid=!1,k.customError=!0,D?.willValidate&&y(D,A.join(`
|
|
85
|
-
`))):A=Tk(D)}w(k,A)}),E=J((e,t=!1)=>{if(_.clear(),x.current+=1,t)return;let n=u();n&&e!==``&&o?_.start(o,()=>{T(e)}):T(e,!n)}),D=g.useCallback((e,t={})=>Dr(m(t),l.valid===!1&&!l.disabled&&!e?{"aria-invalid":!0}:h),[m,l.disabled,l.valid]);return g.useMemo(()=>({getValidationProps:D,inputRef:v,registeredInputs:b,registerInput:C,getInputControl:w,commit:T,change:E}),[D,b,C,w,T,E])}var Dk=g.createContext(void 0);function Ok(e=!1){let t=g.useContext(Dk);if(!t&&!e)throw Error(S(86));return t}var kk=[Zd],Ak=g.forwardRef(function(e,t){let{render:n,className:r,disabled:i,readOnly:a,required:o,onValueChange:s,value:c,defaultValue:l,form:u,name:d,inputRef:f,id:p,style:m,...h}=e,{setTouched:_,setFocused:v,validationMode:y,name:b,disabled:x,state:S,validation:C,setDirty:w,setFilled:T,validityData:E}=ID(),{labelId:D}=VD(),{clearErrors:O,elementRef:k}=zD(),A=Ok(!0),j=x||i,M=b??d,N=Pd(p),[P,F]=bf({controlled:c,default:l,name:`RadioGroup`,state:`value`}),[I,L]=g.useState(!1),R=J((e,t)=>{s?.(e,t),!t.isCanceled&&F(e)}),z=C.getInputControl,B=g.useMemo(()=>({get current(){return z()}}),[z]),V=g.useRef(null),H=g.useRef(null);function U(e){let t;return f&&(typeof f==`function`?t=f(e):f.current=e),V.current=e,t}let W=J(e=>{if(!e||e.disabled)return;H.current||=e;let t=V.current,n=e.checked||t==null||t.disabled?U(e):void 0;return()=>{H.current===e&&(H.current=null),V.current===e?n?(n(),V.current=null):U(null):n?.()}}),ee=J(()=>{let e=k.current;if(!e)return P??null;for(let t of C.registeredInputs.keys())if(t.checked&&Sk(t,e))return P??null;return null});LD(B,N,P??null,ee,!j,d),Jf(P,()=>{O(M),w(P!==E.initialValue),T(P!=null),C.change(P);let e=H.current;P==null&&e&&!e.disabled&&U(e)});let K=D??A?.legendId,te={...S,disabled:j??!1,required:o??!1,readOnly:a??!1},q=g.useMemo(()=>({checkedValue:P,disabled:j,form:u,validation:C,name:M,readOnly:a,registerInputRef:W,required:o,setCheckedValue:R,setTouched:L,touched:I}),[P,j,u,C,M,a,W,o,R,L,I]),ne={id:p,role:`radiogroup`,"aria-required":o||void 0,"aria-disabled":j||void 0,"aria-readonly":a||void 0,"aria-labelledby":K,onFocus(){v(!0)},onBlur(e){Y(e.currentTarget,e.relatedTarget)||(_(!0),v(!1),y===`onBlur`&&C.commit(P))},onKeyDownCapture(e){e.key.startsWith(`Arrow`)&&(L(!0),v(!0))}};return(0,G.jsx)(rk.Provider,{value:q,children:(0,G.jsx)(yk,{render:n,className:r,style:m,state:te,props:[ne,h,e=>C.getValidationProps(j??!1,e)],refs:[t],stateAttributesMapping:AD,enableHomeAndEndKeys:!1,modifierKeys:kk})})});function jk({className:e,orientation:t=`vertical`,...n}){return(0,G.jsx)(Ak,{"data-slot":`radio-group`,"aria-orientation":t,className:Z(`flex`,t===`horizontal`?`flex-wrap gap-4`:`flex-col gap-2`,e),...n})}function Mk(e){if(!Array.isArray(e))return`full`;if(e.length===0)return`none`;let t=new Set(e);return[`input`,`dispatch`,`operate`,`files.write`,`transfer`,`manage`,`config`].some(e=>t.has(e))?`full`:t.has(`approve`)?`approve`:`readonly`}var Nk=3e4,Pk=1e3;function Fk(e,t=Date.now()){let n=e?.tailcat?.expiresAt??0;if(!Number.isFinite(n)||n<=0)return null;let r=n*1e3-t;return r<=0?null:Math.max(r-Nk,Pk)}var Ik=class extends Error{constructor(e,t,n){super(e),q(this,`code`,void 0),q(this,`status`,void 0),this.name=`ApiError`,this.code=t,this.status=n}};async function Lk(e){let t=null;try{t=await e.json()}catch{t=null}let n=t?.error;if(typeof n==`string`&&n)return new Ik(n,`http_${e.status}`,e.status);if(n&&typeof n==`object`){let t=n,r=typeof t.code==`string`&&t.code?t.code:`http_${e.status}`;return new Ik(typeof t.message==`string`&&t.message?t.message:$(`panel.net.requestFailed`,{status:e.status}),r,e.status)}return new Ik($(`panel.net.requestFailed`,{status:e.status}),`http_${e.status}`,e.status)}async function Rk(e){let t=e.split(`?`)[0]===`/api/relay/pairing`,n=t?3e4:e===`/api/relay/status`?12e3:0,r=n?new AbortController:null,i=r?window.setTimeout(()=>r.abort(),n):null;try{let n=await fetch(e,{headers:{accept:`application/json`},...r?{signal:r.signal}:{}});if(!n.ok)throw await Lk(n);let i=await n.json();if(t&&(i?.ok!==!0||typeof i.svg!=`string`||!i.svg.includes(`<svg`)))throw new Ik($(`panel.pairing.qrFailed`),`pairing_invalid`,n.status);return i}catch(e){throw r?.signal.aborted?new Ik($(t?`panel.console.pairingTimeout`:`panel.console.statusTimeout`),t?`pairing_timeout`:`status_timeout`,0):e}finally{i!==null&&window.clearTimeout(i)}}async function zk(e,t){let n=await fetch(e,{method:`POST`,headers:{"content-type":`application/json`,accept:`application/json`},body:JSON.stringify(t??{})});if(!n.ok)throw await Lk(n);let r=await n.json();return Bk(r),r}function Bk(e){let t=e?.applyError;if(typeof t==`string`&&t)throw new Ik($(`panel.shell.applyFailed`,{message:t}),`apply_failed`,200)}function Vk(e){return zk(`/api/relay/frp/import`,{config:e})}function Hk(e,t){return zk(`/api/relay/devices/permissions`,{deviceId:e,tier:t})}function Uk(e){return e instanceof Ik?e.message:e instanceof Error?e.message||$(`panel.net.requestFailedNoStatus`):String(e)}function Wk(e){let t=g.useRef(!0);t.current&&(t.current=!1,e())}var Gk=g.createContext(void 0),Kk=g.createContext(void 0),qk=g.createContext(void 0);function Jk(){let e=g.useContext(Gk);if(e===void 0)throw Error(S(60));return e}function Yk(){let e=g.useContext(Kk);if(e===void 0)throw Error(S(101));return e}function Xk(){let e=g.useContext(qk);if(e===void 0)throw Error(S(61));return e}function Zk(e,t,n=Object.is){let{length:r}=e;if(r!==t.length)return!1;for(let i=0;i<r;i+=1)if(!n(e[i],t[i]))return!1;return!0}var Qk=(e,t)=>Object.is(e,t);function $k(e,t,n){return e==null||t==null?Object.is(e,t):n(e,t)}function eA(e,t,n){return Array.isArray(e)&&Array.isArray(t)?!Zk(e,t,(e,t)=>$k(e,t,n)):e!==t}function tA(e,t,n){return e?e.some(e=>e!==void 0&&$k(t,e,n)):!1}function nA(e,t,n){return e?e.findIndex(e=>e!==void 0&&$k(e,t,n)):-1}function rA(e,t){if(t!==Qk)return n=>tA(e,n,t);let n=new Set(e);return n.delete(void 0),t=>n.has(t)&&(t!==0||e.some(e=>Object.is(t,e)))}function iA(e,t,n,r){let i=r&&Array.isArray(t)?e.findIndex(rA(t,n)):nA(e,t,n);return i===-1?null:i}function aA(e,t,n,r,i,a){return tA(r,t,i)?a!=null&&e>a&&tA(r,n[a],i)?a:e:e===a?iA(n,r,i,!0):a}function oA(e,t,n){return e.filter(e=>!$k(t,e,n))}function sA(e){return typeof e==`object`&&!!e&&Array.isArray(e.items)}function cA(e){return sA(e?.[0])}function lA(e){return cA(e)?e.flatMap(e=>e.items):e}function uA(e){if(!Array.isArray(e))return e!=null&&`null`in e;let t=e;if(cA(t)){for(let e of t)for(let t of e.items)if(t&&t.value==null&&t.label!=null)return!0;return!1}for(let e of t)if(e&&e.value==null&&e.label!=null)return!0;return!1}function dA(e,t){if(t&&e!=null)return t(e)??``;if(e&&typeof e==`object`){if(`label`in e&&e.label!=null)return String(e.label);if(`value`in e)return String(e.value)}return ak(e)}function fA(e,t){return t&&e!=null?t(e)??``:e&&typeof e==`object`&&`value`in e&&`label`in e?ak(e.value):ak(e)}function pA(e,t,n){function r(){return dA(e,n)}if(n&&e!=null)return n(e);if(e&&typeof e==`object`&&`label`in e&&e.label!=null)return e.label;if(t&&!Array.isArray(t))return(Object.hasOwn(t,e)?t[e]:void 0)??r();if(Array.isArray(t)){let n=lA(t);if(typeof e!=`object`||!e){let t=n.find(t=>t.value===e);return t&&t.label!=null?t.label:r()}if(`value`in e){let t=n.find(t=>t&&t.value===e.value);if(t&&t.label!=null)return t.label}}return r()}function mA(e,t,n){return e.reduce((e,r,i)=>(i>0&&e.push(`, `),e.push((0,G.jsx)(g.Fragment,{children:pA(r,t,n)},i)),e),[])}var hA={id:e=>e.id,labelId:e=>e.labelId,modal:e=>e.modal,items:e=>e.items,itemToStringLabel:e=>e.itemToStringLabel,isItemEqualToValue:e=>e.isItemEqualToValue,value:e=>e.value,hasSelectedValue:e=>{let{value:t,multiple:n,itemToStringValue:r}=e;return t==null?!1:n&&Array.isArray(t)?t.length>0:fA(t,r)!==``},hasNullItemLabel:(e,t)=>t?uA(e.items):!1,open:e=>e.open,mounted:e=>e.mounted,forceMount:e=>e.forceMount,transitionStatus:e=>e.transitionStatus,openMethod:e=>e.openMethod,activeIndex:e=>e.activeIndex,selectedIndex:e=>e.selectedIndex,isActive:(e,t)=>e.activeIndex===t,isSelected:(e,t)=>{let n=e.isItemEqualToValue,r=e.value;return e.multiple?Array.isArray(r)&&r.some(e=>$k(t,e,n)):$k(t,r,n)},isSelectedByFocus:(e,t)=>e.selectedIndex===t,popupProps:e=>e.popupProps,triggerProps:e=>e.triggerProps,triggerElement:e=>e.triggerElement,positionerElement:e=>e.positionerElement,listElement:e=>e.listElement,popupSide:e=>e.popupSide,scrollUpArrowVisible:e=>e.scrollUpArrowVisible,scrollDownArrowVisible:e=>e.scrollDownArrowVisible,hasScrollArrows:e=>e.hasScrollArrows};function gA(e,t){return Math.max(0,e-t)}function _A(e,t){if(t<=0)return 0;let n=mi(e,0,t),r=n,i=t-n,a=r<=1,o=i<=1;return a&&o?r<=i?0:t:a?0:o?t:n}function vA(e){let{id:t,value:n,defaultValue:r=null,onValueChange:i,open:a,defaultOpen:o=!1,onOpenChange:s,name:c,form:l,autoComplete:u,disabled:d=!1,readOnly:f=!1,required:_=!1,modal:v=!0,actionsRef:x,inputRef:S,onOpenChangeComplete:C,items:w,multiple:T=!1,itemToStringLabel:E,itemToStringValue:D,isItemEqualToValue:O=Qk,highlightItemOnHover:k=!0,children:A}=e,{clearErrors:j}=zD(),{setDirty:M,setTouched:N,setFocused:P,validityData:F,setFilled:I,name:L,disabled:R,validation:z,validationMode:B}=ID(),V=GD({id:t}),H=R||d,U=L??c,[W,ee]=bf({controlled:n,default:T?r??m:r,name:`Select`,state:`value`}),[K,te]=bf({controlled:a,default:o,name:`Select`,state:`open`}),q=g.useRef([]),ne=g.useRef([]),re=g.useRef(null),ie=g.useRef(null),ae=g.useRef(0),oe=g.useRef(null),se=g.useRef([]),le=g.useRef(!1),ue=g.useRef(null),de=g.useRef(null),fe=g.useRef({allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0}),pe=g.useRef(!1),me=g.useRef(W),{mounted:he,setMounted:ge,transitionStatus:_e}=Us(K),{openMethod:ve,triggerProps:ye}=Xf(K),be=y(()=>new ce({id:V,labelId:void 0,modal:v,multiple:T,itemToStringLabel:E,itemToStringValue:D,isItemEqualToValue:O,value:W,open:K,mounted:he,transitionStatus:_e,items:w,forceMount:!1,openMethod:null,activeIndex:null,selectedIndex:null,popupProps:h,triggerProps:h,triggerElement:null,positionerElement:null,listElement:null,popupSide:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1,hasScrollArrows:!1},{setValue:p,setOpen:p,handleScrollArrowVisibility:p,onOpenChangeComplete:p,listRef:q,popupRef:re,scrollHandlerRef:ie,scrollArrowsMountedCountRef:ae,valueRef:oe,valuesRef:se,labelsRef:ne,typingRef:le,selectionRef:fe,firstItemTextRef:ue,selectedItemTextRef:de,alignItemWithTriggerActiveRef:pe,initialValueRef:me},hA)).current,xe=be.useState(`activeIndex`),Se=be.useState(`selectedIndex`),Ce=be.useState(`triggerElement`),we=be.useState(`positionerElement`),Te=fh(ve),Ee=ve??Te,De=g.useMemo(()=>T?``:fA(W,D),[T,W,D]),Oe=g.useMemo(()=>T&&Array.isArray(W)?W.map(e=>fA(e,D)):fA(W,D),[T,W,D]);LD(Ba(Ce),V,W,J(()=>Oe),!H,c);let ke=T?Array.isArray(W)&&W.length>0:W!=null&&De!==``;b(()=>{I(ke)},[ke,I]),b(function(){let e=iA(se.current,W,O,T);e===null&&(de.current=null),!K&&be.set(`selectedIndex`,e)},[T,K,W,O,be]),Jf(W,()=>{j(U),M(eA(W,F.initialValue,O)),z.change(W)});let Ae=J((e,t)=>{s?.(e,t),!t.isCanceled&&(te(e),!e&&(t.reason===`focus-out`||t.reason===`outside-press`)&&(N(!0),P(!1),B===`onBlur`&&z.commit(W)))}),je=J(()=>{ge(!1),be.update({activeIndex:null,openMethod:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1}),C?.(!1)});ii({enabled:!x,open:K,ref:re,onComplete(){K||je()}}),g.useImperativeHandle(x,()=>({unmount:je}),[je]);let Me=J((e,t)=>{i?.(e,t),!t.isCanceled&&ee(e)}),Ne=J(e=>{let t=gA(e.scrollHeight,e.clientHeight),n=_A(e.scrollTop,t),r=n>0,i=n<t;be.set(`scrollUpArrowVisible`,r),be.set(`scrollDownArrowVisible`,i)}),Pe=pc({open:K,onOpenChange:Ae,elements:{reference:Ce,floating:we}}),Fe=ko(Pe,{enabled:!H,event:`mousedown`}),Ie=Fo(Pe),Le=Nc(Pe,{enabled:!H,listRef:q,activeIndex:xe,selectedIndex:Se,disabledIndices:m,onNavigate(e){(e!==null||K)&&be.set(`activeIndex`,e)},focusItemOnHover:k}),Re=Pc(Pe,{enabled:!H&&(K||!f&&!T),listRef:ne,activeIndex:xe,selectedIndex:Se,disabledIndices:e=>mh(q.current[e]),onMatch(e){K?be.set(`activeIndex`,e):Me(se.current[e],ja(ma))},onTyping(e){le.current=e}}),ze=g.useMemo(()=>Dr(Re.reference,Le.reference,Ie.reference,Fe.reference,ye),[Fe.reference,Re.reference,Le.reference,Ie.reference,ye]),Be=g.useMemo(()=>Dr(Ws,Re.floating,Le.floating,Ie.floating),[Re.floating,Le.floating,Ie.floating]),Ve=Le.item??h;be.useContextCallback(`setValue`,Me),be.useContextCallback(`setOpen`,Ae),be.useContextCallback(`handleScrollArrowVisibility`,Ne),be.useContextCallback(`onOpenChangeComplete`,C),Wk(()=>{be.update({popupProps:Be,triggerProps:ze})}),be.useSyncedValues({id:V,modal:v,multiple:T,value:W,open:K,mounted:he,transitionStatus:_e,popupProps:Be,triggerProps:ze,items:w,itemToStringLabel:E,itemToStringValue:D,isItemEqualToValue:O,openMethod:Ee});let He=g.useMemo(()=>({disabled:H,readOnly:f,required:_,multiple:T,highlightItemOnHover:k,itemProps:Ve}),[H,f,_,T,k,Ve]),Ue=hr(S,z.inputRef),We=T?void 0:U,Ge=g.useMemo(()=>!T||!Array.isArray(W)||!U?null:W.map(e=>{let t=fA(e,D);return(0,G.jsx)(`input`,{type:`hidden`,form:l,name:U,value:t,disabled:H},t)}),[T,W,l,U,D,H]);return(0,G.jsxs)(Gk.Provider,{value:be,children:[(0,G.jsx)(Kk.Provider,{value:He,children:(0,G.jsx)(qk.Provider,{value:Pe,children:A})}),(0,G.jsx)(`input`,{...z.getValidationProps(H,{onFocus(){be.state.triggerElement?.focus({focusVisible:!0})},onChange(e){if(e.nativeEvent.defaultPrevented||H||f)return;let t=e.currentTarget.value,n=ja(ma,e.nativeEvent);function r(){if(T)return;let e=t.toLowerCase(),r=se.current.findIndex(t=>fA(t,D).toLowerCase()===e||dA(t,E).toLowerCase()===e);r===-1&&(r=se.current.findIndex((t,n)=>{let r=ne.current[n];return r!=null&&r.toLowerCase()===e}));let i=se.current[r];i!=null&&Me(i,n)}be.set(`forceMount`,!0),queueMicrotask(r)}}),id:V&&We==null?`${V}-hidden-input`:void 0,form:l,name:We,autoComplete:u,value:De,disabled:H,required:_&&!(T&&ke),readOnly:f,ref:Ue,style:U?pr:fr,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),Ge]})}function yA(e,t){let n=Pd(e);return b(()=>(t(n),()=>{t(e=>e===n?void 0:e)}),[n,t]),n}function bA(e={}){let{id:t,fallbackControlId:n,native:r=!1,setLabelId:i,focusControl:a}=e,{controlId:o,setLabelId:s}=VD(),c=yA(t,J(e=>{s(e),i?.(e)})),l=o??n;function u(e){if(a){a(e,l);return}if(!l)return;let t=Le(e.currentTarget).getElementById(l);_e(t)&&xA(t)}function d(e){ut(e.nativeEvent)?.closest(`button,input,select,textarea`)||(!e.defaultPrevented&&e.detail>1&&e.preventDefault(),!r&&u(e))}return r?{id:c,htmlFor:l,onMouseDown:d}:{id:c,onClick:d,onPointerDown(e){e.preventDefault()}}}function xA(e){e.focus({focusVisible:!0})}function SA(e,t){return e??t}var CA=`data-popup-side`,wA=400,TA={...Nt,...AD,popupSide:e=>e?{[CA]:e}:null,value:()=>null},EA=g.forwardRef(function(e,t){let{render:n,className:r,id:i,disabled:a=!1,nativeButton:o=!0,style:s,...c}=e,{setTouched:l,setFocused:u,validationMode:d,validation:f,state:p,disabled:m}=ID(),{labelId:h}=VD(),_=Jk(),{readOnly:v,required:y,disabled:b}=Yk(),x=m||b||a,S=_.useState(`open`),C=_.useState(`mounted`),w=_.useState(`value`),T=_.useState(`triggerProps`),E=_.useState(`positionerElement`),D=_.useState(`listElement`),O=_.useState(`popupSide`),k=_.useState(`id`),A=_.useState(`labelId`),j=_.useState(`hasSelectedValue`),M=C&&E?O:null,N=i??k,P=SA(h,A);GD({id:i});let F=Ba(E),I=g.useRef(null),{getButtonProps:L,buttonRef:R}=la({disabled:x,native:o}),z=_.useStateSetter(`triggerElement`),B=Ge(),V=Ge(),H=Ge();g.useEffect(()=>{if(S)return H.start(wA,()=>{_.context.selectionRef.current.allowUnselectedMouseUp=!0,_.context.selectionRef.current.allowSelectedMouseUp=!0}),()=>{H.clear()};_.context.selectionRef.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0},V.clear()},[S,_,V,H]);let U=Dr(T,{id:N,role:`combobox`,"aria-expanded":S,"aria-haspopup":`listbox`,"aria-controls":S?D?.id??Wt(E)?.id:void 0,"aria-labelledby":P,"aria-readonly":v||void 0,"aria-required":y||void 0,tabIndex:x?-1:0,onFocus(e){u(!0),S&&_.context.alignItemWithTriggerActiveRef.current&&_.context.setOpen(!1,ja(ma,e.nativeEvent)),B.start(0,()=>{_.set(`forceMount`,!0)})},onBlur(e){Y(E,e.relatedTarget)||(l(!0),u(!1),d===`onBlur`&&f.commit(w))},onMouseDown(e){if(S)return;let t=Le(e.currentTarget);function n(e){if(!I.current)return;let t=e.target;Y(I.current,t)||Y(F.current,t)||nh(e,I.current)||_.context.setOpen(!1,ja(Ta,e))}V.start(0,()=>{t.addEventListener(`mouseup`,n,{once:!0})})}},c,L),W=f.getValidationProps(x,U);W.role=`combobox`;let G={...p,open:S,disabled:x,value:w,readOnly:v,popupSide:M,placeholder:!j};return Vr(`button`,e,{ref:[t,I,R,z],state:G,stateAttributesMapping:TA,props:W})}),DA={value:()=>null},OA=g.forwardRef(function(e,t){let{className:n,render:r,children:i,placeholder:a,style:o,...s}=e,c=Jk(),l=c.useState(`value`),u=c.useState(`items`),d=c.useState(`itemToStringLabel`),f=c.useState(`hasSelectedValue`),p=!f&&a!=null&&i==null,m=c.useState(`hasNullItemLabel`,p),h={value:l,placeholder:!f},g=null;return g=typeof i==`function`?i(l):i??(p&&!m?a:Array.isArray(l)?mA(l,u,d):pA(l,u,d)),Vr(`span`,e,{state:h,ref:[t,c.context.valueRef],props:[{children:g},s],stateAttributesMapping:DA})}),kA=g.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e;return Vr(`span`,e,{state:{open:Jk().useState(`open`)},ref:t,props:[{"aria-hidden":!0,children:`▼`},a],stateAttributesMapping:Mt})}),AA=g.forwardRef(function(e,t){let n=Jk(),r=n.useState(`mounted`),i=n.useState(`forceMount`);return r||i?(0,G.jsx)(La,{ref:t,...e}):null}),jA=g.createContext(void 0);function MA(){let e=g.useContext(jA);if(!e)throw Error(S(59));return e}function NA(e,t){e&&Object.assign(e.style,t)}var PA={position:`relative`,maxHeight:`100%`,overflowX:`hidden`,overflowY:`auto`},FA={position:`fixed`},IA=g.forwardRef(function(e,t){let{anchor:n,className:r,render:i,positionMethod:a,side:o,align:s,sideOffset:c,alignOffset:l,collisionBoundary:u=`clipping-ancestors`,collisionPadding:d,arrowPadding:f,sticky:p,disableAnchorTracking:m,alignItemWithTrigger:h=!0,collisionAvoidance:_=di,style:v,...y}=e,x=Jk(),S=Xk(),C=x.useState(`open`),w=x.useState(`mounted`),T=x.useState(`modal`),E=x.useState(`value`),D=x.useState(`openMethod`),O=x.useState(`positionerElement`),k=x.useState(`triggerElement`),A=x.useState(`isItemEqualToValue`),j=x.useState(`transitionStatus`),M=g.useRef(null),N=g.useRef(null),[P,F]=g.useState(h),I=w&&P&&D!==`touch`;!w&&P!==h&&F(h),g.useImperativeHandle(x.context.alignItemWithTriggerActiveRef,()=>I),Im((I||T)&&C,D===`touch`,O,k);let L=il({anchor:n,floatingRootContext:S,positionMethod:a,mounted:w,side:o,sideOffset:c,align:s,alignOffset:l,arrowPadding:f,collisionBoundary:u,collisionPadding:d,sticky:p,disableAnchorTracking:m??I,collisionAvoidance:_,keepMounted:!0}),R=I?`none`:L.side,z=I?FA:L.positionerStyles,B={open:C,side:R,align:L.align,anchorHidden:L.anchorHidden};b(()=>{x.set(`popupSide`,L.side)},[x,L.side]);let V=cl(e,B,{styles:z,transitionStatus:j,props:y,refs:[t,x.useStateSetter(`positionerElement`)],hidden:!w,inert:!C}),H=g.useRef(0),U=J(e=>{if(x.context.valuesRef.current.length===0)return;let t=H.current;H.current=e.size;let n=ja(ma);if(t!==0&&!x.state.multiple&&E!==null&&nA(x.context.valuesRef.current,E,A)===-1){let e=x.context.initialValueRef.current,t=e!=null&&nA(x.context.valuesRef.current,e,A)!==-1?e:null;x.context.setValue(t,n),t===null&&(x.set(`selectedIndex`,null),x.context.selectedItemTextRef.current=null)}if(t!==0&&x.state.multiple&&Array.isArray(E)){let e=E.filter(e=>nA(x.context.valuesRef.current,e,A)!==-1);e.length!==E.length&&(x.context.setValue(e,n),e.length===0&&(x.set(`selectedIndex`,null),x.context.selectedItemTextRef.current=null))}if(C&&I){x.update({scrollUpArrowVisible:!1,scrollDownArrowVisible:!1});let e={height:``};NA(O,e),NA(x.context.popupRef.current,e)}}),W=g.useMemo(()=>({...L,side:R,alignItemWithTriggerActive:I,setControlledAlignItemWithTrigger:F,scrollUpArrowRef:M,scrollDownArrowRef:N}),[L,R,I,F]);return(0,G.jsx)(Om,{elementsRef:x.context.listRef,labelsRef:x.context.labelsRef,onMapChange:U,children:(0,G.jsxs)(jA.Provider,{value:W,children:[w&&T&&(0,G.jsx)(_f,{inert:Xr(!C),cutout:k}),V]})})}),LA=`base-ui-disable-scrollbar`,RA={className:LA,getElement(e){return(0,G.jsx)(`style`,{nonce:e,href:LA,precedence:`base-ui:low`,children:`.${LA}{scrollbar-width:none}.${LA}::-webkit-scrollbar{display:none}`})}},zA=g.createContext(void 0),BA={disableStyleElements:!1};function VA(){return g.useContext(zA)??BA}var HA=`--transform-origin`,UA={...Pt,...xt},WA=g.forwardRef(function(e,t){let{render:n,className:r,style:i,finalFocus:a,...o}=e,s=Jk(),{multiple:c,readOnly:l,highlightItemOnHover:u}=Yk(),d=Xk(),{side:f,align:p,alignItemWithTriggerActive:m,isPositioned:h,setControlledAlignItemWithTrigger:_}=MA(),v=Cm(!0)!=null,y=Wc(),{nonce:x,disableStyleElements:S}=VA(),C=s.useState(`id`),w=s.useState(`open`),T=s.useState(`openMethod`),E=s.useState(`mounted`),D=s.useState(`popupProps`),O=s.useState(`transitionStatus`),k=s.useState(`triggerElement`),A=s.useState(`positionerElement`),j=s.useState(`listElement`),M=g.useRef(!1),N=g.useRef(!1),P=g.useRef({}),F=He(),I=J(e=>{if(!A||!s.context.popupRef.current||!N.current)return;let t=A.style.top===`0px`,n=A.style.bottom===`0px`;if(M.current||!m||!t&&!n){s.context.handleScrollArrowVisibility(e);return}let r=qA(A),i=JA(A.getBoundingClientRect().height,`y`,r),a=Le(A),o=pe(A),c=o.getComputedStyle(A),l=parseFloat(c.marginTop),u=parseFloat(c.marginBottom),d=GA(o.getComputedStyle(s.context.popupRef.current)),f=Math.min(a.documentElement.clientHeight-l-u,d),p=e.scrollTop,h=KA(e),g=null,_=e=>{A.style.height=`${e}px`},v=t?h-p:p,y=Math.min(i+v,f);if(v<=1){let n=mi(v,0,f-i);n>0&&_(i+n),e.scrollTop=t?h:0,f-(i+n)<=1&&(M.current=!0),s.context.handleScrollArrowVisibility(e);return}f-y>1?g=t?1/0:0:n&&p<h&&(g=p-(v-(i+v-f)));let b=Math.ceil(y);if(b!==0&&_(b),g!=null){let t=mi(g,0,KA(e));Math.abs(e.scrollTop-t)>1&&(e.scrollTop=t)}b>=f-1&&(M.current=!0),s.context.handleScrollArrowVisibility(e)});g.useImperativeHandle(s.context.scrollHandlerRef,()=>I,[I]),ii({open:w,ref:s.context.popupRef,onComplete(){w&&s.context.onOpenChangeComplete(!0)}});let L={open:w,transitionStatus:O,side:f,align:p};b(()=>{A&&s.context.popupRef.current&&!Object.keys(P.current).length&&(P.current={top:A.style.top||`0`,left:A.style.left||`0`,right:A.style.right,height:A.style.height,bottom:A.style.bottom,minHeight:A.style.minHeight,maxHeight:A.style.maxHeight,marginTop:A.style.marginTop,marginBottom:A.style.marginBottom})},[s,A]),b(()=>{w||m||(N.current=!1,M.current=!1,NA(A,P.current))},[w,m,A]),b(()=>{let e=s.context.popupRef.current;if(!w||!k||!A||!e||m&&!h||s.state.transitionStatus===`ending`)return;if(N.current=!0,e.style.removeProperty(HA),!m){F.request(()=>s.context.handleScrollArrowVisibility(j||e));return}let t=ZA(e);try{let t=s.context.selectedItemTextRef.current;t?.isConnected||(t=!s.select(`hasSelectedValue`)&&s.context.firstItemTextRef.current?.isConnected?s.context.firstItemTextRef.current:null);let n=s.context.valueRef.current,r=pe(A),i=r.getComputedStyle(A),a=r.getComputedStyle(e),o=Le(k),c=qA(k),l=YA(k.getBoundingClientRect(),c),d=YA(A.getBoundingClientRect(),c),f=l.height,p=j||e,m=p.scrollHeight,h=parseFloat(a.borderBottomWidth),g=parseFloat(i.marginTop)||10,v=parseFloat(i.marginBottom)||10,b=parseFloat(i.minHeight)||100,x=GA(a),S=o.documentElement.clientHeight-g-v,C=o.documentElement.clientWidth,w=S-l.bottom+f,T,E=y===`rtl`?l.right-d.width:l.left,D=0;if(t&&n){let e=YA(n.getBoundingClientRect(),c);T=YA(t.getBoundingClientRect(),c),E=d.left+(y===`rtl`?e.right-T.right:e.left-T.left);let r=e.top-l.top+e.height/2;D=T.top-d.top+T.height/2-r}let O=w+D+v+h,N=Math.min(S,O),F=S-g-v,I=O-N,L=C-5;A.style.left=`${mi(E,5,L-d.width)}px`,A.style.height=`${N}px`,A.style.maxHeight=`none`,A.style.marginTop=`${g}px`,A.style.marginBottom=`${v}px`,e.style.height=`100%`;let R=KA(p),z=I>=R-1;z&&(N=Math.min(S,d.height)-(I-R));let B=l.top<20||l.bottom>S-20||Math.ceil(N)+1<Math.min(m,b),V=(r.visualViewport?.scale??1)!==1&&ot;if(B||V){NA(A,P.current),_(!1);return}let H=Math.max(b,N);if(z){let e=Math.max(0,S-O);A.style.top=d.height>=F?`0`:`${e}px`,A.style.height=`${N}px`,p.scrollTop=KA(p)}else A.style.bottom=`0`,p.scrollTop=I;if(T){let t=d.top,n=d.height,r=T.top+T.height/2,i=mi(n>0?(r-t)/n*100:50,0,100);e.style.setProperty(HA,`50% ${i}%`)}(H===S||N>=x)&&(M.current=!0),s.context.handleScrollArrowVisibility(p),u&&s.state.selectedIndex===null&&s.state.activeIndex===null&&s.context.listRef.current[0]!=null&&s.set(`activeIndex`,0)}finally{t()}},[s,w,A,k,m,_,F,j,u,y,h]),g.useEffect(()=>{if(!m||!A||!w)return;let e=pe(A);function t(e){s.context.setOpen(!1,ja(Aa,e))}return Re(e,`resize`,t)},[s,m,A,w]);let R={...j?{role:`presentation`}:{role:`listbox`,"aria-multiselectable":c||void 0,"aria-readonly":l||void 0,id:`${C}-list`},onKeyDown(e){v&&Xd.has(e.key)&&e.stopPropagation()},onScroll(e){j||I(e.currentTarget)},...m&&{style:j?{height:`100%`}:PA},className:!j&&m?RA.className:void 0},z=Vr(`div`,e,{ref:[t,s.context.popupRef],state:L,stateAttributesMapping:UA,props:[D,R,sl(O),o]});return(0,G.jsxs)(g.Fragment,{children:[!S&&RA.getElement(x),(0,G.jsx)(Oo,{context:d,modal:!1,disabled:!E,openInteractionType:T,returnFocus:a,restoreFocus:!0,children:z})]})});function GA(e){let t=e.maxHeight;return t.endsWith(`px`)&&parseFloat(t)||1/0}function KA(e){return gA(e.scrollHeight,e.clientHeight)}function qA(e){return vs.getScale(e)}function JA(e,t,n){return e/n[t]}function YA(e,t){return En({x:JA(e.x,`x`,t),y:JA(e.y,`y`,t),width:JA(e.width,`x`,t),height:JA(e.height,`y`,t)})}var XA=[[`transform`,`none`],[`scale`,`1`],[`translate`,`0 0`]];function ZA(e){let{style:t}=e,n={};for(let[e,r]of XA)n[e]=t.getPropertyValue(e),t.setProperty(e,r,`important`);return()=>{for(let[e]of XA){let r=n[e];r?t.setProperty(e,r):t.removeProperty(e)}}}var QA=g.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,o=Jk(),{multiple:s,readOnly:c}=Yk(),{alignItemWithTriggerActive:l}=MA(),u=o.useState(`hasScrollArrows`),d=o.useState(`openMethod`),f={id:`${o.useState(`id`)}-list`,role:`listbox`,"aria-multiselectable":s||void 0,"aria-readonly":c||void 0,onScroll(e){o.context.scrollHandlerRef.current?.(e.currentTarget)},...l&&{style:PA},className:u&&d!==`touch`?RA.className:void 0};return Vr(`div`,e,{ref:[t,o.useStateSetter(`listElement`)],props:[f,a]})}),$A=g.createContext(void 0);function ej(){let e=g.useContext($A);if(!e)throw Error(S(57));return e}var tj=g.memo(g.forwardRef(function(e,t){let{render:n,className:r,style:i,value:a=null,label:o,disabled:s=!1,nativeButton:c=!1,...l}=e,u=g.useRef(null),d=_m({guess:!0,label:o,textRef:u}),f=Jk(),{itemProps:p,multiple:m,disabled:h,readOnly:_}=Yk(),v=h||s,y=f.useState(`isActive`,d.index),x=f.useState(`open`),S=f.useState(`isSelected`,a),C=f.useState(`isSelectedByFocus`,d.index),w=f.useState(`isItemEqualToValue`),T=d.index,E=g.useRef(null);b(()=>{let e=f.context.valuesRef.current;return e[T]=a,()=>{delete e[T]}},[T,a,f]),b(()=>{let e=f.state.value,t=f.state.selectedIndex,n=t,r;m&&Array.isArray(e)?(n=aA(T,a,f.context.valuesRef.current,e,w,t),r=n===T,T===t&&!r&&(f.context.selectedItemTextRef.current=null)):(r=e!==void 0&&$k(a,e,w),r&&(n=T)),f.set(`selectedIndex`,n),r&&u.current&&(f.context.selectedItemTextRef.current=u.current)},[T,m,w,f,a]);let D=g.useRef(`mouse`),O=g.useRef(!1),{getButtonProps:k,buttonRef:A}=la({disabled:v,focusableWhenDisabled:!0,native:c,composite:!0}),j={disabled:v,selected:S,highlighted:y};function M(e){if(h||_)return;let t=f.state.value;if(m){let n=Array.isArray(t)?t:[],r=S?oA(n,a,w):[...n,a];f.context.setValue(r,ja(ya,e))}else f.context.setValue(a,ja(ya,e)),f.context.setOpen(!1,ja(ya,e))}function N(){f.context.selectionRef.current.dragY=0}let P={role:`option`,"aria-selected":S,tabIndex:x&&y?0:-1,onKeyDown(e){f.set(`activeIndex`,T),e.key===` `&&f.context.typingRef.current&&e.preventDefault()},onClick(e){let t=D.current!==`touch`,n=e.nativeEvent.pointerType,r=t&&Yt(e.nativeEvent)&&(n!==void 0||y),i=t&&!r&&!O.current;O.current=!1,!(v||i)&&M(e.nativeEvent)},onPointerEnter(e){D.current=e.pointerType},onPointerMove(e){if(e.pointerType===`mouse`&&e.buttons===1){let t=f.context.selectionRef.current;t.dragY+=e.movementY,t.dragY**2>=64&&(t.allowUnselectedMouseUp=!0)}},onPointerDown(e){D.current=e.pointerType,O.current=!0,N()},onMouseUp(){if(N(),v||D.current===`touch`||O.current)return;let e=!f.context.selectionRef.current.allowSelectedMouseUp&&S,t=!f.context.selectionRef.current.allowUnselectedMouseUp&&!S;e||t||(O.current=!0,E.current?.click(),O.current=!1)}},F=Vr(`div`,e,{ref:[A,t,d.ref,E],state:j,props:[p,P,l,k]}),I=g.useMemo(()=>({selected:S,index:T,textRef:u,selectedByFocus:C}),[S,T,u,C]);return(0,G.jsx)($A.Provider,{value:I,children:F})})),nj=g.forwardRef(function(e,t){let{selected:n}=ej();return e.keepMounted||n?(0,G.jsx)(rj,{...e,ref:t}):null}),rj=g.memo(g.forwardRef((e,t)=>{let{render:n,className:r,style:i,keepMounted:a,...o}=e,{selected:s}=ej(),c=g.useRef(null),{transitionStatus:l,setMounted:u}=Us(s),d=Vr(`span`,e,{ref:[t,c],state:{selected:s,transitionStatus:l},props:[{"aria-hidden":!0,children:`✔️`},o],stateAttributesMapping:xt});return ii({batch:!0,enabled:!s,open:s,ref:c,onComplete(){s||u(!1)}}),d})),ij=g.memo(g.forwardRef(function(e,t){let{index:n,textRef:r,selectedByFocus:i}=ej(),a=Jk(),{render:o,className:s,style:c,...l}=e;return Vr(`div`,e,{ref:[g.useCallback(e=>{e&&(n===0&&(a.context.firstItemTextRef.current=e),i&&(a.context.selectedItemTextRef.current=e))},[a,n,i]),t,r],props:l})})),aj=g.forwardRef(function(e,t){let{render:n,className:r,style:i,direction:a,keepMounted:o,...s}=e,c=a===`up`,l=Jk(),{side:u,scrollDownArrowRef:d,scrollUpArrowRef:f}=MA(),p=c?`scrollUpArrowVisible`:`scrollDownArrowVisible`,m=l.useState(p),h=l.useState(`openMethod`),g=m&&h!==`touch`,_=Ge(),v=c?f:d,{mounted:y,transitionStatus:x,setMounted:S}=Us(g);b(()=>(l.context.scrollArrowsMountedCountRef.current+=1,l.set(`hasScrollArrows`,!0),()=>{l.context.scrollArrowsMountedCountRef.current=Math.max(0,l.context.scrollArrowsMountedCountRef.current-1),l.context.scrollArrowsMountedCountRef.current===0&&l.set(`hasScrollArrows`,!1)}),[l]),ii({open:g,ref:v,onComplete(){g||S(!1)}});let C=Vr(`div`,e,{ref:[t,v],state:{direction:a,visible:g,side:u,transitionStatus:x},props:[{"aria-hidden":!0,children:c?`▲`:`▼`,style:{position:`absolute`},onMouseMove(e){if(e.movementX===0&&e.movementY===0||_.isStarted())return;l.set(`activeIndex`,null);function t(){let e=l.state.listElement??l.context.popupRef.current;if(!e)return;l.set(`activeIndex`,null),l.context.handleScrollArrowVisibility(e);let n=gA(e.scrollHeight,e.clientHeight),r=_A(e.scrollTop,n),i=r===(c?0:n),a=l.context.listRef.current;if(r!==e.scrollTop&&(e.scrollTop=r),i){_.clear();return}if(a.length>0){let t=v.current?.offsetHeight||0;e.scrollTop=oj(a,c,r,e.clientHeight,t,n)}_.start(40,t)}_.start(40,t)},onMouseLeave(){_.clear()}},s],stateAttributesMapping:xt});return y||o?C:null});function oj(e,t,n,r,i,a){if(t){let t=0,r=n+i-1;for(let n=0;n<e.length;n+=1){let i=e[n];if(i&&i.offsetTop>=r){t=n;break}}let o=Math.max(0,t-1),s=e[o];return o<t&&s?_A(s.offsetTop-i,a):0}let o=e.length-1,s=n+r-i+1;for(let t=0;t<e.length;t+=1){let n=e[t];if(n&&n.offsetTop+n.offsetHeight>s){o=Math.max(0,t-1);break}}let c=Math.min(e.length-1,o+1),l=e[c];return c>o&&l?_A(l.offsetTop+l.offsetHeight-r+i,a):a}var sj=g.forwardRef(function(e,t){return(0,G.jsx)(aj,{...e,ref:t,direction:`down`})}),cj=g.forwardRef(function(e,t){return(0,G.jsx)(aj,{...e,ref:t,direction:`up`})}),lj=Gu(`w-full border text-foreground outline-none transition-[background-color,border-color,box-shadow] duration-200 motion-reduce:transition-none [&_svg]:pointer-events-none [&_svg]:shrink-0`,{variants:{variant:{outline:`bg-background border-border-strong hover:not-focus:not-focus-visible:not-has-focus:not-has-focus-visible:not-data-popup-open:not-has-data-popup-open:not-data-pressed:not-has-data-pressed:not-data-invalid:not-has-data-invalid:border-border-emphasis`,soft:`bg-background-muted border-transparent hover:not-focus:not-focus-visible:not-has-focus:not-has-focus-visible:not-data-popup-open:not-has-data-popup-open:not-data-pressed:not-has-data-pressed:not-data-invalid:not-has-data-invalid:border-border-strong`},size:{sm:`h-8 px-3 text-xs pointer-coarse:text-base rounded-sm gap-1.5 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='stroke-'])]:stroke-[1.75]`,md:`h-10 px-3.5 text-sm pointer-coarse:text-base rounded-md gap-2 [&_svg:not([class*='size-'])]:size-4.5 [&_svg:not([class*='stroke-'])]:stroke-[1.65]`,lg:`h-12 px-4 text-base rounded-lg gap-2 [&_svg:not([class*='size-'])]:size-5 [&_svg:not([class*='stroke-'])]:stroke-[1.65]`},state:{self:Z(`focus-visible:ring-3 focus-visible:ring-ring-input focus-visible:border-transparent focus-visible:bg-background`,`data-popup-open:ring-3 data-popup-open:ring-ring-input data-popup-open:border-transparent data-popup-open:bg-background`,`data-pressed:ring-3 data-pressed:ring-ring-input data-pressed:border-transparent data-pressed:bg-background`,`data-invalid:bg-error-subtle data-invalid:border-error`,`data-invalid:focus-visible:border-transparent data-invalid:focus-visible:ring-ring-error data-invalid:focus-visible:bg-background`,`data-invalid:data-popup-open:border-transparent data-invalid:data-popup-open:ring-ring-error data-invalid:data-popup-open:bg-background`,`data-invalid:data-pressed:border-transparent data-invalid:data-pressed:ring-ring-error data-invalid:data-pressed:bg-background`,`data-disabled:border-border-strong! data-disabled:bg-background-subtle! data-disabled:cursor-not-allowed data-disabled:border-dashed data-disabled:opacity-disabled`),within:Z(`flex items-center`,`has-focus:ring-[3px] has-focus:ring-ring-input has-focus:border-transparent has-focus:bg-background`,`has-data-popup-open:ring-3 has-data-popup-open:ring-ring-input has-data-popup-open:border-transparent has-data-popup-open:bg-background`,`has-data-pressed:ring-3 has-data-pressed:ring-ring-input has-data-pressed:border-transparent has-data-pressed:bg-background`,`data-invalid:bg-error-subtle data-invalid:border-error data-invalid:has-focus:border-transparent data-invalid:has-focus:ring-ring-error data-invalid:has-focus:bg-background`,`data-invalid:has-data-popup-open:border-transparent data-invalid:has-data-popup-open:ring-ring-error data-invalid:has-data-popup-open:bg-background`,`data-invalid:has-data-pressed:border-transparent data-invalid:has-data-pressed:ring-ring-error data-invalid:has-data-pressed:bg-background`,`has-data-invalid:bg-error-subtle has-data-invalid:border-error has-data-invalid:has-focus:border-transparent has-data-invalid:has-focus:ring-ring-error has-data-invalid:has-focus:bg-background`,`has-data-invalid:has-data-popup-open:border-transparent has-data-invalid:has-data-popup-open:ring-ring-error has-data-invalid:has-data-popup-open:bg-background`,`has-data-invalid:has-data-pressed:border-transparent has-data-invalid:has-data-pressed:ring-ring-error has-data-invalid:has-data-pressed:bg-background`,`has-[input:disabled]:border-border-strong! has-[input:disabled]:bg-background-subtle! has-[input:disabled]:cursor-not-allowed has-[input:disabled]:border-dashed has-[input:disabled]:opacity-disabled`)}},defaultVariants:{variant:`outline`,size:`md`,state:`self`}}),uj=g.createContext(null);function dj(){let e=g.useContext(uj);if(!e)throw Error(`Select sub-components must be rendered inside <Select>`);return e}function fj({size:e=`md`,variant:t=`outline`,alignItemWithTrigger:n=!0,value:r,defaultValue:i,onValueChange:a,multiple:o=!1,children:s,...c}){let l=yh(),u=r!==void 0,[d,f]=g.useState(i??(o?[]:null)),p=u?r:d,m=o?Array.isArray(p)&&p.length>0:p!=null&&p!==``,h=g.useCallback((e,t)=>{u||f(e),a?.(e,t)},[u,a]),_=g.useCallback(e=>{let t=o?[]:null,n={reason:`none`,event:e?.nativeEvent??new Event(`clear`),trigger:void 0,cancel:()=>{},allowPropagation:()=>{},isCanceled:!1,isPropagationAllowed:!1};h(t,n)},[o,h]),v=g.useMemo(()=>({size:e,variant:t,alignItemWithTrigger:n,hasValue:m,clear:_,multiple:o,reducedMotion:l}),[e,t,n,m,_,o,l]);return(0,G.jsx)(uj.Provider,{value:v,children:(0,G.jsx)(vA,{value:p,onValueChange:h,multiple:o,...c,children:s})})}var pj={sm:`size-4`,md:`size-4.5`,lg:`size-5`};function mj({className:e,clearable:t,startSlot:n,endSlot:r,children:i,onKeyDown:a,...o}){let{size:s,variant:c,alignItemWithTrigger:l,hasValue:u,clear:d}=dj(),f=pj[s],p=o[`aria-invalid`],m=p===!0||p===`true`,h=t&&u,g=e=>{a?.(e),!e.defaultPrevented&&h&&(e.key===`Delete`||e.key===`Backspace`)&&(e.preventDefault(),d(e))};return(0,G.jsxs)(EA,{"data-slot":`select-trigger`,className:Z(lj({variant:c,size:s,state:`self`}),`data-placeholder:text-foreground-subtle flex items-center justify-between`,e),...o,onKeyDown:g,...m?{"data-invalid":``}:{},children:[n&&(0,G.jsx)(`span`,{"data-slot":`select-trigger-start`,className:`-ms-1 shrink-0`,children:n}),(0,G.jsx)(`span`,{className:`flex min-w-0 flex-1 items-center truncate text-start`,children:i}),h?(0,G.jsx)(`span`,{"data-slot":`select-clear`,"aria-hidden":`true`,onPointerDown:e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation(),e.preventDefault(),d(e)},onClick:e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()},className:`text-foreground-subtle hover:text-foreground shrink-0 cursor-pointer transition-colors duration-200 motion-reduce:transition-none`,children:(0,G.jsx)(Dj,{className:`size-[1em]`})}):null,r&&(0,G.jsx)(`span`,{"data-slot":`select-trigger-end`,className:`shrink-0`,children:r}),(0,G.jsx)(kA,{"data-slot":`select-icon`,className:`text-foreground -me-1 shrink-0`,render:l?(0,G.jsx)(Tj,{className:f}):(0,G.jsx)(wj,{className:Z(f,`motion-safe:transition-transform motion-safe:duration-200`,`data-popup-open:rotate-180`)})})]})}function hj({className:e,...t}){return(0,G.jsx)(OA,{"data-slot":`select-value`,className:Z(`min-w-0 flex-1 truncate text-start`,e),...t})}var gj={sm:`rounded-md`,md:`rounded-lg`,lg:`rounded-xl`};function _j({className:e,alignItemWithTrigger:t,children:n,...r}){let{size:i,alignItemWithTrigger:a}=dj(),o=t??a,{positioner:s,portal:c,popup:l}=Sh(r);return(0,G.jsx)(AA,{...c,children:(0,G.jsx)(IA,{sideOffset:6,...s,alignItemWithTrigger:o,className:Z(`isolate z-50`,s.className),children:(0,G.jsxs)(WA,{"data-slot":`select-content`,"data-align-trigger":o||void 0,className:Z(`bg-background border-border-overlay flex flex-col border shadow-2xl outline-none`,gj[i],`min-w-36`,o?`w-[calc(var(--anchor-width)+1rem)]`:`w-(--anchor-width)`,o?`origin-center`:`origin-(--transform-origin)`,`motion-safe:transition-[opacity,scale] motion-safe:duration-200 motion-safe:ease-[cubic-bezier(0.175,0.885,0.32,1.5)]`,`data-starting-style:motion-safe:scale-90 data-starting-style:motion-safe:opacity-0`,`data-ending-style:motion-safe:scale-95 data-ending-style:motion-safe:opacity-0 data-ending-style:motion-safe:duration-100 data-ending-style:motion-safe:ease-out`,e),...l,children:[(0,G.jsx)(yj,{}),(0,G.jsx)(QA,{className:`flex max-h-(--available-height) flex-col gap-0.5 overflow-y-auto p-2`,children:n}),(0,G.jsx)(bj,{})]})})})}var vj=Z(`bg-background text-foreground z-1 flex h-6 w-[calc(100%-var(--border-width)*2)] cursor-default items-center justify-center`);function yj(){let{size:e}=dj();return(0,G.jsx)(cj,{"data-slot":`select-scroll-up`,"aria-hidden":`true`,className:Z(vj,gj[e],`top-px rounded-b-none`),children:(0,G.jsx)(wj,{className:Z(pj[e],`rotate-180`)})})}function bj(){let{size:e}=dj();return(0,G.jsx)(sj,{"data-slot":`select-scroll-down`,"aria-hidden":`true`,className:Z(vj,gj[e],`bottom-px rounded-t-none`),children:(0,G.jsx)(wj,{className:pj[e]})})}var xj={sm:`gap-1 rounded-xs py-1.5 px-2.5 text-xs has-data-[icon=end]:pe-1.5 has-data-[icon=start]:ps-1.5 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='stroke-'])]:stroke-[1.75]`,md:`gap-1.5 rounded-sm py-2 px-3 text-sm has-data-[icon=end]:pe-2 has-data-[icon=start]:ps-2 [&_svg:not([class*='size-'])]:size-4.5 [&_svg:not([class*='stroke-'])]:stroke-[1.65]`,lg:`gap-1.5 rounded-md py-2.5 px-3.5 text-base has-data-[icon=end]:pe-2.5 has-data-[icon=start]:ps-2.5 [&_svg:not([class*='size-'])]:size-5 [&_svg:not([class*='stroke-'])]:stroke-[1.65]`},Sj={sm:`gap-1`,md:`gap-1.5`,lg:`gap-1.5`};function Cj({className:e,children:t,...n}){let{size:r,reducedMotion:i}=dj();return(0,G.jsxs)(tj,{"data-slot":`select-item`,className:Z(`text-foreground relative isolate flex w-full cursor-default items-center justify-between outline-hidden select-none [&_svg]:pointer-events-none [&_svg]:shrink-0`,`before:bg-background-muted before:absolute before:inset-0 before:-z-10 before:rounded-[inherit] before:opacity-0`,`active:translate-y-px active:scale-[0.98]`,`data-highlighted:not-data-disabled:text-foreground-intense data-highlighted:not-data-disabled:before:opacity-100`,`motion-safe:transition motion-safe:duration-250 motion-safe:ease-[cubic-bezier(0.175,0.885,0.32,1.5)]`,`motion-safe:active:duration-100 motion-safe:active:ease-in-out`,`motion-safe:before:transition-opacity motion-safe:before:duration-200 motion-safe:before:ease-out`,`data-disabled:opacity-disabled data-disabled:pointer-events-none`,xj[r],e),...n,children:[(0,G.jsx)(ij,{className:Z(`flex items-center text-start`,Sj[r]),children:t}),(0,G.jsx)(nj,{"data-slot":`select-item-indicator`,keepMounted:!i,className:`group/check text-foreground-intense shrink-0`,children:(0,G.jsx)(Ej,{"data-icon":`end`,className:`me-0.5 size-[1.125em]`})})]})}function wj(e){return(0,G.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 16`,fill:`currentColor`,"aria-hidden":`true`,...e,children:(0,G.jsx)(`path`,{d:`M11.594 5.594c.225-.225.588-.225.813 0s.225.588 0 .813l-4 4c-.225.225-.588.225-.812 0l-4-4c-.225-.225-.225-.588 0-.812s.588-.225.812 0L8 9.187l3.594-3.594z`})})}function Tj(e){return(0,G.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 16`,fill:`currentColor`,"aria-hidden":`true`,...e,children:(0,G.jsx)(`path`,{d:`M10.26 9.593c.225-.224.589-.224.814 0s.224.589 0 .813l-2.667 2.667c-.225.224-.589.224-.813 0l-2.666-2.667c-.225-.225-.225-.589 0-.813s.588-.224.813 0l2.26 2.26 2.261-2.26zM7.593 2.927c.225-.225.589-.225.813 0l2.667 2.666c.224.224.224.589 0 .813s-.589.225-.814 0L7.999 4.146 5.74 6.407c-.225.224-.588.224-.812 0s-.225-.589 0-.813l2.666-2.666z`})})}function Ej({className:e,...t}){return(0,G.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,className:Z(`stroke-2`,e),...t,children:(0,G.jsx)(`path`,{d:`M4.3 12.55 L9.25 17.5 L19.7 6.5`,pathLength:1,strokeDasharray:`1 2`,className:Z(`opacity-0 [stroke-dashoffset:1.02]`,`group-data-selected/check:opacity-100 group-data-selected/check:[stroke-dashoffset:0]`,`motion-safe:transition-[opacity,stroke-dashoffset] motion-safe:ease-out`,`motion-safe:delay-[0ms,150ms] motion-safe:duration-[150ms,0ms]`,`motion-safe:group-data-selected/check:delay-[0ms] motion-safe:group-data-selected/check:duration-[0ms,300ms]`)})})}function Dj(e){return(0,G.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`2 2 16 16`,fill:`currentColor`,"aria-hidden":`true`,...e,children:(0,G.jsx)(`path`,{d:`M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z`})})}function Oj(e){return e?e.lan.length>0?e.lan:e.public:[]}function kj(e){return!e||e.lan.length===0?[]:e.public}function Aj(e){return e?.ipv6??[]}function jj(e,t){let n=$(e===`lan`?`panel.address.lan`:e===`ipv6`?`panel.address.ipv6`:`panel.address.public`);return t?`${n} · ${t}`:n}function Mj(e,t){return`http://${e.includes(`:`)?`[${e}]`:e}:${String(t??``)}`}function Nj({book:e,port:t,value:n,busy:r=!1,onChange:i,fallbackUrls:a=[],align:o=`end`}){let s=o===`start`?`items-start`:`items-end`,c=o===`start`?`justify-start`:`justify-end`,l=o===`start`?`text-start`:`text-end`,u=String(t??``),d=Oj(e),f=kj(e),p=Aj(e),m=e&&e.lan.length>0?`lan`:`public`,h=d.some(e=>e.address===n)?n:d[0]?.address??``;return d.length===0?p.length===0&&a.length>0?(0,G.jsx)(`span`,{className:`flex flex-col gap-0.5 ${s}`,children:a.map(e=>(0,G.jsx)(`span`,{children:e},e))}):p.length===0?(0,G.jsx)(`span`,{className:`font-sans text-foreground-muted`,children:$(`panel.address.empty`)}):(0,G.jsx)(`span`,{className:`flex w-full flex-col gap-1 ${s}`,children:p.map(e=>(0,G.jsxs)(`span`,{className:`inline-flex flex-wrap items-baseline gap-x-2 ${c}`,children:[(0,G.jsx)(`span`,{className:`font-mono text-xs text-foreground-muted`,children:Mj(e.address,u)}),(0,G.jsx)(`span`,{className:`shrink-0 font-sans text-xs text-foreground-subtle`,children:`${jj(`ipv6`,e.interface)}${$(`panel.address.ipv6Hint`)}`})]},e.address))}):(0,G.jsxs)(`span`,{className:`flex w-full flex-col gap-1 ${s}`,children:[d.length>1?(0,G.jsx)(jk,{className:pg(`w-full gap-1`,s,r&&`pointer-events-none opacity-60`),value:h,onValueChange:e=>{typeof e==`string`&&e!==h&&i(e)},children:d.map(e=>(0,G.jsxs)(`label`,{className:`flex w-full cursor-pointer flex-wrap items-baseline gap-x-2 ${c}`,children:[(0,G.jsx)(hk,{value:e.address,"aria-label":Mj(e.address,u)}),(0,G.jsx)(`span`,{className:`font-mono text-xs text-foreground`,children:Mj(e.address,u)}),(0,G.jsx)(`span`,{className:`shrink-0 font-sans text-xs text-foreground-muted`,children:jj(m,e.interface)})]},e.address))}):(0,G.jsxs)(`span`,{className:`inline-flex flex-wrap items-baseline gap-x-2 ${c}`,children:[(0,G.jsx)(`span`,{className:`font-mono`,children:Mj(d[0].address,u)}),(0,G.jsx)(`span`,{className:`shrink-0 font-sans text-xs text-foreground-muted`,children:jj(m,d[0].interface)})]}),f.map(e=>(0,G.jsxs)(`span`,{className:`inline-flex flex-wrap items-baseline gap-x-2 ${c}`,children:[(0,G.jsx)(`span`,{className:`font-mono text-xs text-foreground-muted`,children:Mj(e.address,u)}),(0,G.jsx)(`span`,{className:`shrink-0 font-sans text-xs text-foreground-subtle`,children:`${jj(`public`,e.interface)}${$(`panel.address.publicHint`)}`})]},e.address)),p.map(e=>(0,G.jsxs)(`span`,{className:`inline-flex flex-wrap items-baseline gap-x-2 ${c}`,children:[(0,G.jsx)(`span`,{className:`font-mono text-xs text-foreground-muted`,children:Mj(e.address,u)}),(0,G.jsx)(`span`,{className:`shrink-0 font-sans text-xs text-foreground-subtle`,children:$(`panel.address.ipv6Pick`,{kind:jj(`ipv6`,e.interface)})})]},e.address)),d.length>1?(0,G.jsx)(`span`,{className:`font-sans text-xs text-foreground-muted ${l}`,children:$(`panel.address.hint`)}):null]})}var Pj=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAnP0lEQVR42u19eZhV1ZXvWnuf6d5bd6gJqKIoJkVBQAw4hGesoK2i8nz6UJN0px/a2qaN2PnsaMxLYoja3Rk6xjh0OmWi8TMOL5ikE4dEjYYPRyIQoNRShmIogRqo4Y517z3D3u8P9tHN4Zx7q6DAAu/+vvPVdOsOZ631W/NaAJVTOZVTOZVTOZVTOZVTOZVTOZVTOZVTOZXziThY+fwHHP5JuwH0E/Z5ibiwBLHlx1TOcSLlBzA6IgIhBFpbW9WWlhajpaXFaG1tVSmlgIh+DIEVFXBsfjYCAA4AAOecNExpOCmfzM8qFovTHcdp4JxHOecEABxCiEMISRFCujRN2xWLxbace+65HY8++miBc+4yAj/e1AQex1DPEBHmzJkzbseOHRfl8/nPOo7TzDnXBBEtALDF5XiISxCxqCjKXsMw1tfU1LzS2dm5U2IEVmGAsW3XOAsXLoxu2LDh/xSLxUsZY7UAkBeXS2wmfXUEI8i/Y+K5dEppTtO0NVOnTv1te3t7t3TfeIUBxpjkIyKrrq4+I51Of9O27akAkAWAgkQsl+AysV0UkJGAS0jBAcCglKYjkcivM5nMnwQa4LHOBOR4knxEZOFw+AuDg4Ottm1PAoCkILAiLgww7tDzN/ln93FZx3HUTDp9dSgUuq61tVUVxMeKGzg2iO8YhvFP+Xz+G5zznJBqRZJQHoB8QX+X1YT7OwcACpZlnbxq1aoJDzzwwIZnn32WHctMgMcL8cPh8BdyudxdANDvQ0AmXTLscwn6ZdXgfbzjURsFAIiHw+FX8vn8z4UnwSoI8DFZ+/X19fNSqdR9ADAkuX/cA+Xcx3jjh4AErnE4ZFnW9FgsNlQsFjuk16zYAEcTva688kqtv7//Ds65KjG1HM1zGYL66Hzv49z/px4Dz2svcPG7QiaTuay5+eQGwRhYQYCj+97Zzp3bv2ia1t8DQMpDOD8Dz6v7/dChFCJ4/8YAIGwWclGHOeuORQYgx7D0s1NPPTVRKJg3Cv9elSRaRgHiI+1E+uwojEXiY/37PQdKz08BIF8wC6c2NzdPkZChggBHw+VLJpM3Wpa1BAAyns+CAcaun85Hn7970aMcCqiFQiHMGFtfQYCjZPg1NTU1FovF6wAgJ6QffXR7EAKgpOtpAHJQn8f6oQEBgIJpmnOampqmH2soQI/VaN/Q0NDtjuO0DFP6sUQiBz2RP6+NIKODLPVeD0GzilZY2AIVBDiC79cZP378TNu2vwgAaY/0k4BL9gS8ko8+f/d7rBJgW7i/yxfMwimNjY0nHksocKwhABJCeD6fv5sxNk8Yf8THig9CAe/lp+/RJwDEpa8goYCMDAwADNM0Q4yxdRUVcITcvng8/pl8Pn+nkH4/6PcS2M8V9HsMSNE/FQBCABAHgGoAiEhh5SJ8FEWU1QcFgCJjbHxTU9OWdDo9cCwEh44lv5VwzkFV1T/atv0/hN/v1d9y+NbvZ+752ZVwU/wcBYA68VXzxBVc4g8CwB4A2CGY0FVNtniesK7rfzVN878451hhgFHM8VdVVV2WzWZXwv54PwkgLPNIM/Mx8pinDiAEAA2C8OAT/vVWGaHwPrYBQLsUhAIAcBCRjxs37u6enp6dY72AhB4rId9ly5bp69evf5hznhCEIwF6H0vAPvGx7McDQDMA6FLCB0qoExc1FABoBIDJsL9mYFB6TsO27cixYAvQYyXos2XLlmtM07zOI21QxtiDEsYfCALWegw8LBH08R5L2AvThK2wW6gJZIyNmzx58rvJZDI5lm0BegxIP58zZ051V1fXQ6Kej4F/EQcEoEFQ4cc4AIgJ4uMw1GGpGIIJADUAMBX2F6H0AEDUNE3Vtu0NI6gcQp+AVhBDfyIYgCIiS6VSX7Us6397Ej5BSRwsY/kzAEh4iD9Swvsli2xhOE4TDPGBbdtNPigQFKkMCjfzMkEseji9DDjGgz68sbGxqaur603OuSHp/nIFmUE3zhJEqhUEQx8h4MPICjKf6KBsOOoA8BYAtIfD4Q35fP5nfh6B24OAiICIYNs2veCCC4xkMml0d3froVBINwwDCoUCICJHxGJdXV3Btu3Cm2++WaSUMlGbCO5XT/qalUMeZSzDPyKyffv23co5HycsfyUgXFuKsVGS0KjQ1SB0NwidTUokiyBAArkPA7gnDwDzAcDI5/POzJkzm9vb2ztnzZpVlUqlGrLZ7CTLsqYxxhoZYxMZYwkAqFYUReOc6wCgcM51RNRkVcM5L2zdurXIOS+oqpomhPRTSnsJIR8oirIjGo1uPf/883c9+ugvC5wzb7SXHUsIQAHASSTGzU2l9q3mnFsenQslqnz8Pp8DABFCSJ+maT+jnP7FQWe8bdtX27Z9gWu4lUACP2LzALThnoDSrnA4/J/FYvFnZ599dtPbb78903GcicVisclxnBrO+XjG2DjOeS0AJDjnUcHojmCkInyUeyCeuISc57ARMU0p3UspfU9V1Tdra2v/0tnZ2V2qsWXMMoDo1HnStu3LhGFFD0FPuzBoUEp3nHDCCZdv2bLFbfAAQghomvb1YrH4Xc55oQQS8BKqhZdgAhsANIK4Y87cuZdt2rRpj1cFuGrg5ZdfVpYtW1afzWabC7nCTItZpzmOM5dzPo1zHpb6GrxMZnvcV7e2gRFCBlRVfSsWi/2qr69vk19jC45d6U+0pFKpP3DOM2USK7xMpy8iotZQ1/DZvfv2bhQ2gGv8cUKIo6rqD4vF4ldhf7En8YF1v0CStyaABzScWABQret6q2VZX2OMqZ5sIvjpakSEK664Qlu1atUp2Wz2XNM0lzDGZorny0r/78DBha2W+J4AgI6IpqZpL0+cOPGB7du398pMMBYzVnzlypU0m81+22PYQIkCDj897ZZxJzRNe7irr2ujkA5T7gRijNHrr7/+m4SQdwVzjCRqFxRilqOQCAADpmleVV9fP1tqNPE2oxxQe8A5p0899ZTZ19e3oVgs3n3jjTcujkaj/6goSpswYolP5ZLrEaiSvZTlnJvFYvHCnTt3PhiPx0+TmGPMIYAb8r0im80+IQw/OgJieP1zBRGzkyZNOquzs7NbUgl+r3l5Npv9LXyUYfST9CCo98sxMInAFgDENE172rbtLzHGhhselt1XBwBg1apVysUXX3xDoVC4hXNuSgzFPK9pe35nivthx+PxW5PJ5CYAIGSsBX2uvPLKUD6f/7rHOocR3izX8IsZhnF3Z2dnV4mYvAMAJJPJ/J4Q8hoAGD6p31K6HgJcQRmaAQAGLMv6bG1t7amyBA6DqZmksuiiRYucQqFwfzQavR4R5Y6noDoI928KAJiccy2TyXyjpaWlCgA4GWuVPs8+++w1juOcJvQcOcTIFxNW/8YlS5b8bBgJGUREVlWVuDPA/+dlvAII8AJkJrA450oqlbrWZwbBcBHObXVXM5nMC+Fw+B4pgeWNfvqVx6sAkHccZ/Jbb711ASKOGQZAAGALFiyoLRaL/wL7y7yUErq/nAfAAEAPh8P/9tRTT+WHEYp1AIBks8k/EUJeAICwJLkQ4P5BGd3veDKOXKDAZxoaGuaNAAX8Pq/NOScLFix4mBCyV6AWeKqcgqqjFQAwTdM8ixAyZoxAgoi8ra3tJsbYVGGNDzd66Q33MgBIKIryYiaT+T1IQyLKMSFjDOLx+F2IaPv4zXwYRh/3Ib5soVucc+zv77+GHJ725QDAX3vttSwhZDPsT2f7Faz6lbq5/1//rW99SyFjpcq3ubl5imVZ/+SJ9+MIBjjJbp8dj8fvRMSRdO86AEBTqdQbiPg7gQJ2Ccvf73de6JftAfe5UqZpfqqurm7uYaCAHP7FEpXNflXRLjMUv/Od74wJFYCEEN7V1fV/GWN1wqo9VO/EBoBqVVUfHxgYWOda+CMyHhiDmpqaf0fEovh/XobwzKOjnQA0YJItwFOp1BcPAwUQAGDBggUxxtgpwsIPaonza4lXCSE9lFKHjAW3r6am5jTLsr7gE/HjnkBPqRk9HABUROxvbGz83iGWYzkAQAcGBjaoqvqUqAW0h2EA+nUWOwHIAACQM01zwQg9goMSZe3t7X/DGGuWGCCo5/GgSuZwOPwqY+xjtwE4IQRSqdTtItvHSuj4crlwBwASuq7/565du3YdRikWZ4xhNBr9N0R0m05KuX8swPjzTh6R5xHZnPNiJpO5TKAAH6H0O62trWo+n79FICYNcIW9jS0cACKU0o558+a9BgBIPu4q36qqqgts274koNKnXMGHLIEhQsjmU0455f7D7NdnAEAGBwffV1X1cYECTkAUkh8iEzAASBeLxVPr6urmwMj6CHDx4sX6jTfe+BPHcT4lPCZSoiTugG4oRNRjsdh9q1evLnycDIAAwFtbW9VcLnc7l3KXw0zt+nX9VEUike+vX78+NQqzezhjDBOJxPcRMSmFVXmA4efHBH5M4TKBJVDASafTl4wABRAA2NatW8dRSiOEkA7YX9OoSqoEA4JBDADqDcN4MJlMvu4KIPk4Lf9bbrnl847jLJS4uBwT+I15YQAQo5S+/vTTTz8xSlW4DADIvn37tmua9gsRbHFKRAWDKo8dn9Cs7BFki8XizKamplklUAClziQCALSjo+MD27b/du7cuZ+tqqq6lRDSJ6qcnADJ5wAwzjCMR4vF4gOcc/pxJYM+fEMtLS1VuVzuNk/s/ZCqlxAQE4nEnYsWLbJHcXIX55zjpEmTfoSIvZKUBY2dKVWizgNiBDbnnPf29l7kY7SipLcdke//MLTsOI66cePGfblc7ifTp0+/UFXVl0WxC/OxA+oMw3jYsqw7pDwEP5oMIAcgCCKytWvXflm4MEOe98FHaLVXq5r628HBwT8fittXDgU6Ojp2a5r2oFRDCCV0v/cKihbKCaOhYrE4Y8qUKSdJKIAAwBHROf3002urq6sv0XX9y4Zh3JRIJJbMnj17PCJagku1rVu37nnxxRc/r2naH2B/car7+mFEDIfD4W+bpnmn4zgHFYWQozSnl7W0tBhnnnnmFADgTU1NjYVC4StSexcfhqT7MYaCiOm6urq7GGNHoguHcc5x5syZ9xFCdohaP1YiMRQUGeQ+TSsuM9mcc7Onq+fSVatWfWhrLFu2zNB1/dvr169fk0wmVxaLxXvy+fx/pFKpx9vb21/RNO27Z5xxRky4gOqiRYvsiy66aDml1I0MVhNCemtra6/J5/O/EJJ/kBt9JKuCqRjXyqurqxcODAzMNQxjx759+7JDQ4XvOI59gY8FO5KKHxsAanVdvy+VSq10X+9IfI6enp6sruua8FYyHvtjOB6ANzpoS2liQEQtFA5t7ezsfGfbtm12U1NTzeuvv/4by7KuFqphSLqKnHPDcZyW7u7uRdOmTXtpcHBwEADUzZs3DyUSiT3FYvFqVVUfmzd93vUdH3S8V+rekCMk9Yo7rtUwjDssy5qradqLbW1tvY2NjbNt27wW9nfS0BFY+16GMAghOydPnvyjIzymjXHO8cwzz/yZiLsbHqmGEvkBb7wAJWYgAFClqmqmvr7+kVwu9/Dzzz9vcs5pd3f3g4yxRQCwVzALlYZdusTscRxnzq5dux5ZsmSJm7wiJ5100uq6uroLHMe5af2W9X3l1CIeiVJuROSxWOy8oaGh2w3D+Hk2m32Mc04IIYwQ8rht258XDEDKlGKXCvnWh0KhL+fz+dZR1v2lBlHemM/nfyQaP4jXrfP53pVyt3DDLfAklNLBcDj82plnnvnMSy+9lBLEtSORyOdzudxjANAtVS6DT+DJbVYdFwqFVhSLxXsYY9QTsyh7L0cTARQhLaBp2n9ks9n/UhTltkwm85jb0ROPx892HGepFPIdSRuWbJxVEULWfu1rX/vFUWq+ZJxzPPvssx+hlL4rEkWsTKEI9ynoiCKipev6yydOPPGObDb7mCA+cV+jWCwu8/GMgu6JCgBZ0zT/7rrrrgtLrzPs0fY4Wq4dIrKGhoaTuru7HwOA0PTp0y/cunXrHokxuKqqf7Jt+xyP3+9XVePt/OHekG80Gr0sk8n88ShI/wEoEIlErs1ms/cCQK94b7bnsqRWcTdMSyile3Vd/3NjY+PzHR0duz2l2gAAfOrsqeN3te96kzEWDeha8m2BR0ScOG7iJbt7dr8zUoEgowH5hBAWCoWu6erq2kQI6V+6dOnpgviuhc+i0egVtm2fKyx/MkwmRJ/6/mpFUf6Yy+WOJvFdFCBLly59nBCy0VM0gp7OYRQh5DCl9INIJNI6derUr+Tz+Z9v27Ztt7BZ0DuHKNebG8c5j/gQPygC6r4vI1PITDjald4UAGD+/PlxVVVbAYArivKoiDLJqUeybNkyQ9y0POwv9ByUrgHxu3JXHwD0IWKmrq7utI+pt5ECAMRiMdeG2SyudwBgIwC0AUA7Iq5RVfW+eDx+3uLFi3WpBMxbwXuAINbX15+AiF3CxugWX3sE2vSK33UJ43A3AHQCwA5E7K6urv700bwnCgDAhAkTZhFCXgcArqrqA2T/B0VJwikAQCgUWi64vU/o/6REfJcBBsowQw8AMFVV7xc3lH5MOQy89957dUVRXhYE2Cy+biWE/MkwwrfW1tae5Mn1U59xtXDTTTfpDdOmNQtXD66//vowpXSjuA8yA7hM4DKGzAC7CSHtc+fOHXe0EEBBRIjFYosJIdsF8X9KKQWfCZzk5JNPrkXEnWKiRlJk/bwM4L28DNEHAElCSNfEiRObPEwGHwcKRKPR/4mIg4SQdaqq3huJRM5vaWmpkgiPkuv24S8JITBx4sQTdV2/TlGU3ymK8vTixYv1/X8ioOv63cJ+2CMR3YsCLgPsBICUpmmPiNclR8MQgnA4fA0iDgAAUxTlyZUrV1KfgA5FRNB1/V+F9PdLxE96VMBgGYboBQBmGMYtH6P0H3BaWlqMWCx24bRp08Z5pF2RxtZ+SPQTTjihKRKJ/K2iKA8h4loAeB8A1gNAW01Nzfnic5Hm5uZpSMgewfR7S6iB3QCwGxF76uvrTz3SkV03lwyGYXxVSHOWEPLqwoULoz4SSQAAm5ubpyJiv7D6Uz7wPzgM4veJ12qbO3duZIyucVPgo6FSHxJ98uTJE6qqqq5UFOVBRFwHAB0A8J4g/F8A4A0A2Kgoyq9FGFhBRIjH40sRMSs+/25B8B6J+B8AwD4EHBLCeOSJLxopbxfwtA8Rd02aNGl6gOFBEREURXnILYcWDJAKkHz5Zy8D9AAAj0QinxtDQy1chte8ki6IvlRV1Z8i4gYJqt8FgA3i+isArIP9MwTWAEB7KBT6skASFREhGo1eSgjZKlzKnCQ8OQAwCSEdsUjsC4eLiDhMnW+rqvpN0zTvEFxYH4lErs7lck+6ESxvnV9tbe2CgYGB10T7EpQprgwK+NgAME5RlEcty7oaEclRdPuCiA7yeyCEwPjx45sH0+nP2MXiuYyxBYyxceIxQ9IIOvSZUMakQRXj6+rqbuvv718pdh9Y8+fPr2tvb/+iZVktnPMmIVjdiqKsGjdu3GNlOp5GhQEURLSNcPif87nc3UIHVSuK8hJj7FJP6FG6J4QRQp6zbfsiye/nw5jDL98gAwCqFEVZefnll1/91FNPFY7yqjb0FFQwt2uXMUYmTJgwK5lMnuM4zmdFG7c7bConiO4Nx3p7B93egxAiyWua+nw0Gn2kr69vqzwW12Wye+65RwcAuPnmm4uMsQOE7UjNCaSI6MRisaXpdPpxznlKvPl4PB6/JJVK+eXfKQA40Wj04kwm84zU3hU0WMHbGk1FKlMnhOwMhUI/yufz94sPfDSGLgZK+Zw5cxI7d+5cUCgUWizLOptzfoIY5mAKSbd8Ipc8oBhEEzWMfbqu/yGRSDzZ09PzvkRY2ZZSpGoiOcXuHMn7QSQ/v0tY8N0AkCGEbFixYoUWVLG7P+lD34T93T39Pv6+eyWFcViQQpqDlNLVkUhk+YwZM+rwo7gCHuF6hQNWyiEicM6xoaHh5HA4fI2iKL8Q7eNJwdR9bhAGALaLr+732wBgKwBsETGC90WgqN19nKIoL0YikZumT58+SfIgiE9/34cMKEUPj46uW7FihaYoyioBaa4VaimK8v8CfE7XS/iXcgkSBLQRMUMI2UkpfU3TtNZoNPoPEyZMmCniCUeqXiGQ4JRSOPHEEydGo9Eluq5/n1L6CiJ2CwbNAcA+KfjSKb7/QHy/Sxh6O4Slv00Q/j3BFF2I+J6maY8kEolLlyxZEvaJDh606Fow4ad0Xf9uLBY740i4elgi9XlDPp+/X3xwVUBOjaZpT9i2vcxH/yMA8Hg8vsi27XmmacYBIE4ppY7j2AAwpKpqlhDSp6K6RzGUvc3NzXs2btzYxxjzTrlSRgHi/NrFDxjNMmvWrPGdnZ1zTdNcaNv2pxljMxlj9eL1iwLa7TL7hOTLbSJR9ut2ZIi4xTCMF2Kx2O96e3vbPfqbeQtcERGWL1+uP/HEE5/OZrPnm6Y5nXOuU6puevLJx++66qqr2GhCPwYNZnz33XfXCGvWlizNCKW03bbtMwQH+1r0AkIPWMXu/hww9YNKxRLsMIl90PO4BG+cPn1iuqdnTrFYPMtxnDMYY7M45+NFutoUuQoz4P6wgHFxjkx0AdldiqKsNgzjmXPOOeeV5557bkjq4yOewk3HfY8zZ86csHv37nPy+fwiy7KahF1REO8pWl1dfc/g4OBro5kCR5+Ahh0Oh/9haGjoQaHrVA/nR2Ox2N9nMpmV4sZZnptCfHLZOMIBiOXeL/Fxqw4g9nnnnRdpa2ubms1m59q2Pd9xnE8xxk4Ui6RdghckAwvLbBT1Dprm0lh5QgjpIYT8Rdf15yZPnvzn999/v9sj7d4NpOBK+8qVK+elUqm/MU1zgUgFF4Xa4fJ8Q0rprmuvvfYbDz74oD1aKIABLtx/27Z9MfhP5lQRMZ9IJJYmk8nXBGfToGFHh/GevBB+EDq4xL744ovD69evbx4aGpplmuaptm3PdZgzgzPeyDmvEs/hSpPlM3YNygyHlF9bE0RHQkgXIWStpml/aGhoWLVjx44PPERH73AHRIRfsV/Rm5tunp1KpRYWCoWFjuNMFkZeRnp/3ssGgEg8Hr8vlUqtGi0U8FrxfP78+eG//vWv6zjnkwLGtHB38lQoFPrhKaec0rpu3bp+n0mVfv+HZYYtsYDxHYCI8PLLLys33HBD/cDAwJRsNj/DccxZjLGTGWPTGGONnPOYuPFuQUZRClKREkMleYnCCyJiEgYA2ISQ3YSQNbquv5BINLzS1bV9t0R0Oc3ryLGD5cuX67/5zW9mpdPpMwuFwpmO45wgELQglYpxT12Bd6y9qqpq5zXXXPP10UKBgxhgxowZdVu3bn1LBDZsOLByR+ZoAgAxQkiHqqrPhcPhFxoaGjZs3ry5m3MOASNMwW9Uqvz90qVLQ2+//XZiYGCg3rKsJsuyJluWNV0QebLQ2dWimdStyClKlTgwjGwh94F7uXDThXaKiDlE3EYpfcMwjBcnTpz45ubNm2WG96oj7rpurpFp2/YZpmnOchxnotSVYw1jxoC3ytgSKviBdDr94migwEEM0NLSYrzyyitvcc6nDWNQkyNuVBgRLUTsQcQPKKU7EfEDROxVFCVj23ZOeAJIKSWqquq2bYcopXHLsmKO49QiYj1jrI5zXg37J2bGACDEOVek1zIlQjsQ3BFbrsbQa3+4BpwGAA4hpJsQskFRlNWRSOSV5cuXt915552mD9EPUHmEEJgwYcJpAwMDF4oI4amc8zqR788JiHfjH0Ml9hnL4+OYZ+KXQintPv3007+6Zs2aw46Oot+ETkVRfmWa5hUieKMMo2HDLWHSpBl19BA6cWwJ7hyfOf44zJn+QXMEHSlPrwtY54jYj4ibKaVrDMN4LZFIrNuzZ89eGclK2DkEAHhtbe2CZDL5Q8bY6ZzzkGS8WRJiEskITIv4yj7pPQW1nsnTxiwAiCUSiZ8mk8nfH244GP0GNsTj8fNSqdTzgluVEUSggqx7DIDcUiPeIWBlCx/mnGAmPUYRxNaEukkh4nZK6VpN014Nh8N/6e/v7/AQnEgQW8pbIQDAxo8ff0pvb+9GzrmLVKRE4asc0EmLYNKAVDnE5c4hnwETlFLafdFFF9387LPP5g8HBfxGpRPTNLfrul7jOM65UjyfjMAf95tUhSV2+JVajlCyxdyTYOHSpMwqd/mTiDq+oyjKM6FQ6IFoNHrXrbfe+oNVq1Y9Y5rm20NDQ4OSN0PK7A3yY3o6NDTUo2ma7jjOIs/QhiAGd587BPsXVRHBDLxMvz8X8/7G7d27N22a5ns+7XWHFQlEAMDW1lZ60003/USsaRmS5ujiKCVmcIRLGfyQxc3Ja24PvzDaeoCQzRRxk67r6yKRyMZ9+/bt9Ei4LAD8MI0pAgB88uTJ4zs7OzcKO8YuE1fwIpUi3O6twvaSoZ159hfaAgX6zz777K+sXr06d6goUGoCByeEgGEY1xUKhW8yxqaIFx7ymW+LZdyqcm1e5dQHFVItb/B0PiQ2QAel9F1VVdtUVX2ntra2Y+fOnakyBOejnE2jiOjour6iUCh8Rxh6agDhg7KjVBB/q1C/mo876DKqCQDRSCTyUC6XW3moHgEOp+Fj4sSJNf39/X9nmubnGGNzhIUOnkYINoJAkHfQMZVSn161ZCJiRiRU+gkhHxBC3qOUbjYMY0ttbe2u7du3p32ILffX86PQPYQAALNmzap+77332sSSC6vM5nI/5ncFaBt8NCuZBcwjQEppavbs2cs3bdqUOhQUwOFO8nKDMYlEYlahUPi0ZVmf4pzPZIxN4pzXiIYGbZjP+WHPHCLmASCHiCkA6FcUpQ8J6aaEdGma1q0oSl80Gu1DRFZdXb1nw4YNXT55c/RxzfjHVBtoa5r2VdM0fyjsJzqM8LJfEymITGKvlBzztqOZokvqIbf/cqSMjjCyQomDMmpnnXVWtLOzczyltCqbzdbYth1TVdUYGhpSXdgmhCCllGma5hQKBQcRHU3TbER0ENFyADgFoJZlqYyxsOM4YdM0qznnCcZYlDEWo5SSxprGb3T2du7ysc75WNpxuHDhwqo1a9a0McaaJI+Al6mK8kudo0gx7wtYlOk2mqZnzZp1w9tvv50cKQrgIRo8RLaSRR3Aly3LWkII6WSMUbHmxQYAqqqqwhjTGWMGYywMABGxG8cQwR5N3nQhGTs5dxVKdXX1jQMDA++N9U2cLgqEtNA/5838vQIFlDJSX2okLQokGJTC3N7ZBLFwOPxLsZxqRPcHR8PwicVi56XT6ZdKhH1ZQAOlJV2253tHqB41kUjcOjg4+PpR7gU8LBRoaWmJvPrqqxuE8WyWiIOU2kYiXzul+krHk6BCQkhx9uzZ17W1te0bCQrQw/2gc+bMSezevftpYQOkhRXr7rcZElKcE9/nhTtZ8Anrekeq2AAQr6qq+m4mk3nxGCH+hyiwa9eugqZpluM4l0puHQxzCIafJxSVClS8U0AdznkinU5zx3HeGsmmUnK48/03b978PcbYdPHm1ICgjrfCNmiWjssMRQCIGobxxFBu6LcigXKsEB+kaR2/lKaKOIc5HZwCwCTJ0JZHxykAkC8WixfNmDGjcSSDJ8nhzPiNRqOLLcv6R6luwFvpW2qIouMzU99lgrCiKOvvvffeexhnY13nBxGMtLW15QzD+IFkAwwnwhlUCOuuoZsAB45/d79njLHqzs7Oq8SU9CM2HwABgC9cuDCazWZ/LIw9v5Up3nFofvPz/WbnISFkYOrUqSu+9KUvWUe5F2DUUeDaa699nBDyjgj5OiWWWg9rRrCYOzBOQgV5UVS+WCwunj59etNwh1DTQ93n29vbe6dt2//LI/3lJmg6AcsVHGkYYigWi3177969bUdw8tfROuStt96yQqFQ1rKspT6j8LHMzsPAbSji+4LPsIjY0NAQdRznjeGE7MmhQH9tbe180zS/Iq124WWmZrIA4jNPRW3cMIzH0un0qmPM6CuJArfeeuuvRN9/yKe4NKgEjpfIl7gLsCOSGnAbVAvFonnhcFGAHspyB9M0f+I4jjzls9SoVD/o927WsgEgpCjKhvvvv//2Z5555liFfV8hW716tR2JRPpN0/ychALDTajxEvkDQxjM/MBaA54oFAoDYnV9SY9gJAjg5r1Ptm37PGnQU6ndOcOdnk0IIenm5uZjXe8HosDDDz/835TSdR4UGE6iDAMWZrhET3gMQhUAHNM0PyOmgzqjpQIIAEAymTxP9MRZZcakOj5XEDMY8Xj8u9u3b+88DvS+L2GvuuoqJxQKfS+gWLZkmV5AAQyX+gwjnv2AwBibcuKJJ9aW8zpGwgAcEUFAf1DggvvsznEC3EIumChuGMYTyWTyheNE75dCgd8RQtZIHkHJmowy5W4HLMsQ6sBFAOCch4aGhmpGkwHcUw3l16mxgNJm+WsRACKKoqy77bbbfnyEx72OGRSIRCL/7ukFDLL6g5ZUBRHUkAJDBAB0x3GUIxEHKAxjXLpTorSZiTCwRgjpb25u/vYdd9xhHmd6PxAFHnrooT9QSt/wWUUznBnJUKY20ZD6Es1IJFI2LzDS3bygKMo2H8sfAvx+P2QwRf9/IRaL3Sz0/vEu/QegQCwW+xoishLwD2W6pYKYwjUEQ4SQXR0dHfvKeRtkhJMyIRwOPy+2aZVKZQb5+yYAhAkhqWg0ujyZTLYdp0ZfybV0yWTydV3X7wpYSwcBm7+Ggw4uDap0Xf+9CAmT0VIBDADIwMDAelVVn4H9mymKJULAMjO4Wb8Epcr7TU1N16ZSqY3HsdFXTpCoaZp3GIbxC9i/iYQFrMwr1QHtpxIsAKhVFGXdFVdc8Wv4qEJq9AJBnHNoPKHxjVwydyHnvFnEA5yABI/rKoYQ0dY07ZeXX37ZN9988819nyDYD1pIRDjnv9M0rUrsBlB9egRLLaxkPsupagkhexoaGq559dVXe0eSFh7x+JgpU6ZMVhTlWaEO0rB/qOEu+GhKxg4A6EDEtaqq/jgej8/zTMX4pB+36Bai0egSQsg6icCWiLJmxb1NSaN2+uDAiaHdYoZyr6IoKydMmDB5JPcYD2ftGyEEwuHwZYVCYQljbAYAVHHOHURMEUK2a5q2NhKJrOrv69/GOIORzLH/BB0KAM6KFSuUH/zgB5dYlnUpY2wOANSIvkiOiFzsVjzgElvEBlVV3aTr+rPZbPZPomB22OiKh7v7T25/Xrt2bSSfz7N58+YVHn300YKnzQo+yZA/HCaQi20XLFgQy2azB/jxlFLuGebAN27cmCaEMOle45EuCg2yIxwfBsGjVJN/vKgEEnAvD5UGR4UBYARt2ZVzZGhTudeVUzmVUzmVUzmVUzmVUzmVUzmVUzmVUzmVUzmVUzmVUzmVUzmVUzmVUzmVUzmVUzmVs//8fzjsXcePS1GRAAAAAElFTkSuQmCC`,Fj=`https://github.com/WNLUO/dsh-mobile-server`,Ij=`https://github.com/WNLUO/dsh-mobile-plugin`,Lj=[{platform:`android`,channels:[{nameKey:`panel.links.distPlatform`,hintKey:`panel.links.domesticRecommended`,url:`https://app.wnluo.com/api/public/apps/14/download-latest`},{name:`GitHub`,hintKey:`panel.links.overseasRecommended`,url:`https://github.com/WNLUO/dsh-mobile-plugin/releases/latest/download/ai-hub-android.apk`}]},{platform:`apple`,channels:[{name:`App Store`,hintKey:`panel.links.appStore`,url:`https://apps.apple.com/cn/app/ai-hub/id6821681438`},{name:`TestFlight`,hintKey:`panel.links.testFlight`,url:`https://testflight.apple.com/join/4fn5PCMD`}]}],Rj=[{nameKey:`panel.links.publicRelay`,url:`https://ai-hub-de-1.wnluo.com`}],zj=Rj[0].url;function Bj(e){let t=e=>e.trim().replace(/\/+$/,``),n=t(e);return!!n&&Rj.some(e=>t(e.url)===n)}function Vj(e){return e.name===`GitHub`?(0,G.jsx)(Jj,{}):e.name===`App Store`||e.name===`TestFlight`?(0,G.jsx)(qj,{}):(0,G.jsx)(Yj,{})}function Hj(e){return e===`android`?(0,G.jsx)(Kj,{}):(0,G.jsx)(qj,{})}function Uj({channel:e}){return(0,G.jsxs)(`a`,{className:`flex items-center gap-3 rounded-lg border border-border-muted px-3 py-2.5 transition-colors hover:bg-background-muted`,href:e.url,target:`_blank`,rel:`noreferrer noopener`,children:[(0,G.jsx)(`span`,{className:`flex size-9 shrink-0 items-center justify-center rounded-lg bg-background-muted text-foreground`,children:Vj(e)}),(0,G.jsxs)(`span`,{className:`flex min-w-0 flex-col gap-0.5`,children:[(0,G.jsx)(`span`,{className:`text-sm text-foreground-intense`,children:e.name??(e.nameKey?$(e.nameKey):``)}),(0,G.jsx)(`span`,{className:`truncate text-xs text-foreground-muted`,children:$(e.hintKey)})]})]})}function Wj(){return(0,G.jsx)(`div`,{className:`grid grid-cols-1 gap-4 sm:grid-cols-2`,children:Lj.map(e=>(0,G.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,G.jsxs)(`div`,{className:`flex items-center justify-center gap-1.5 pb-0.5 text-xs text-foreground-muted`,children:[Hj(e.platform),(0,G.jsx)(`span`,{children:$(e.platform===`android`?`panel.links.android`:`panel.links.apple`)})]}),e.channels.map(e=>(0,G.jsx)(Uj,{channel:e},e.url))]},e.platform))})}function Gj({size:e=`md`,variant:t=`outline`,className:n}){let[r,i]=(0,g.useState)(!1),a=(0,g.useRef)(null);return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(Q,{variant:t,size:e,className:n,onClick:()=>i(!0),children:$(`panel.download.open`)}),(0,G.jsx)(cD,{open:r,onOpenChange:i,children:(0,G.jsxs)(lD,{className:`max-w-xl`,closeLabel:$(`panel.common.close`),initialFocus:a,children:[(0,G.jsx)(uD,{children:(0,G.jsxs)(dD,{className:`flex flex-wrap items-center gap-2.5 pr-8`,children:[(0,G.jsx)(`img`,{src:Pj,alt:``,className:`size-8 rounded-lg bg-white p-0.5`}),(0,G.jsx)(`span`,{className:`min-w-0 break-words`,children:$(`panel.download.title`)})]})}),(0,G.jsx)(`div`,{ref:a,tabIndex:-1,className:`outline-none`,children:(0,G.jsx)(pD,{children:(0,G.jsx)(Wj,{})})})]})})]})}function Kj(){return(0,G.jsx)(`svg`,{viewBox:`0 0 24 24`,className:`size-3.5 stroke-0`,fill:`currentColor`,"aria-hidden":`true`,children:(0,G.jsx)(`path`,{d:`M17.523 15.3414c-.5511 0-.9993-.4486-.9993-.9997s.4483-.9993.9993-.9993c.5511 0 .9993.4483.9993.9993.0001.5511-.4482.9997-.9993.9997m-11.046 0c-.5511 0-.9993-.4486-.9993-.9997s.4482-.9993.9993-.9993c.551 0 .9993.4483.9993.9993 0 .5511-.4483.9997-.9993.9997m11.4045-6.02 1.9973-3.4592a.416.416 0 0 0-.1521-.5676.416.416 0 0 0-.5676.1521l-2.0223 3.503C15.5902 8.2439 13.8533 7.8508 12 7.8508s-3.5902.3931-5.1367 1.0989L4.841 5.4467a.4161.4161 0 0 0-.5677-.1521.4157.4157 0 0 0-.1521.5676l1.9973 3.4592C2.6889 11.1867.3432 14.6589 0 18.761h24c-.3435-4.1021-2.6892-7.5743-6.1185-9.4396`})})}function qj(){return(0,G.jsx)(`svg`,{viewBox:`0 0 24 24`,className:`size-4 stroke-0`,fill:`currentColor`,"aria-hidden":`true`,children:(0,G.jsx)(`path`,{d:`M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701`})})}function Jj(){return(0,G.jsx)(`svg`,{viewBox:`0 0 24 24`,className:`size-[18px] stroke-0`,fill:`currentColor`,"aria-hidden":`true`,children:(0,G.jsx)(`path`,{d:`M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12`})})}function Yj(){return(0,G.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:`size-[18px]`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.85`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,G.jsx)(`path`,{d:`M12 4v10`}),(0,G.jsx)(`path`,{d:`m8 10.5 4 4 4-4`}),(0,G.jsx)(`path`,{d:`M4 18.5h16`})]})}function Xj({on:e,what:t,label:n,className:r,disabled:i,onClick:a}){let o=n??$(e?`panel.common.hide`:`panel.common.show`);return(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,className:r,"aria-label":`${o}${t}`,disabled:i,onClick:a,children:o})}function Zj(){return(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,className:`size-6`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.6`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,G.jsx)(`rect`,{x:`3`,y:`3`,width:`7`,height:`7`,rx:`1`}),(0,G.jsx)(`rect`,{x:`14`,y:`3`,width:`7`,height:`7`,rx:`1`}),(0,G.jsx)(`rect`,{x:`3`,y:`14`,width:`7`,height:`7`,rx:`1`}),(0,G.jsx)(`path`,{d:`M14 14h3v3M21 14v.01M14 21h.01M17 21h4v-4`})]})}function Qj({status:e,pairing:t,addressBook:n,busy:r,error:i,restartError:a,onOpenConfig:o,onChangePolicy:s,onChangeTier:c,onChangeAutoReview:l,onOpenSelfCheck:u,onRetryPairing:d,onSavePreferred:f,onEditPort:p,fill:m}){let h=r!==``,_=e.pairingPolicy===`code`,v=e.pairingTier??`full`,y=e.approvalAutoReview===!0,b=t?.relayUrl||e.relayUrl||`—`,x=$j(n,t),[S,C]=g.useState({relay:!1}),[w,T]=g.useState(!1),[E,D]=g.useState(!1),[O,k]=g.useState(!1),A=e=>C(t=>({...t,[e]:!t[e]}));return(0,G.jsxs)(xD,{frame:`solid`,className:m?`flex h-full min-h-0 flex-col`:void 0,children:[(0,G.jsx)(SD,{className:`flex-none px-4 py-3`,children:(0,G.jsxs)(CD,{className:`flex flex-wrap items-center justify-between gap-x-2 gap-y-1 text-base lg:text-lg`,children:[(0,G.jsx)(`span`,{children:$(`panel.pairing.cardTitle`)}),(0,G.jsxs)(`span`,{className:`flex flex-wrap items-center gap-1.5`,children:[(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,className:`px-2 xl:px-4 xl:before:border xl:before:border-border xl:before:bg-background`,disabled:h,onClick:o,children:$(`panel.pairing.openConfig`)}),(0,G.jsx)(Gj,{size:`sm`,variant:`ghost`,className:`px-2 xl:px-4 xl:before:border xl:before:border-border xl:before:bg-background`}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,className:`px-2`,onClick:()=>k(!0),children:$(`panel.common.more`)})]})]})}),i?(0,G.jsxs)(YE,{variant:`warning`,className:`mt-3`,children:[(0,G.jsx)(ZE,{}),(0,G.jsx)(QE,{children:$(`panel.pairing.qrFailed`)}),(0,G.jsx)($E,{children:i})]}):null,(0,G.jsxs)(`div`,{className:`mt-3 flex flex-col gap-4 sm:flex-row sm:items-stretch ${m?`min-h-0 flex-1`:``}`,children:[(0,G.jsx)(`div`,{className:`relative mx-auto aspect-square w-full max-w-[200px] shrink-0 self-center sm:mx-0 sm:w-[150px] sm:max-w-none sm:self-start`,children:t?.svg?(0,G.jsxs)(`button`,{type:`button`,className:`absolute inset-0 flex cursor-zoom-in flex-col items-center justify-center gap-2 rounded-md border border-border-muted bg-background-muted p-3 text-foreground-subtle transition-colors hover:bg-background-subtle focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring`,onClick:()=>D(!0),"aria-label":`${$(`panel.pairing.qrZoom`)}:${$(`panel.pairing.qr`)}`,children:[(0,G.jsx)(Zj,{}),(0,G.jsx)(`span`,{className:`text-xs`,children:$(`panel.pairing.qrHidden`)}),(0,G.jsx)(`span`,{className:`text-xs`,children:$(`panel.common.show`)})]}):(0,G.jsx)(`div`,{className:`absolute inset-0 flex flex-col items-center justify-center gap-2 rounded-md border border-border-muted bg-background-muted p-3 text-foreground-subtle`,children:i?(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(`span`,{className:`text-xs`,children:$(`panel.pairing.qrFailed`)}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,disabled:h,onClick:d,children:$(`panel.console.retryPairing`)})]}):(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(VE,{}),(0,G.jsx)(`span`,{className:`text-xs`,children:$(`panel.pairing.noQr`)})]})})}),(0,G.jsx)(`div`,{className:`flex min-w-0 flex-1 flex-col`,children:(0,G.jsx)(`div`,{className:`hscroll -mx-1 px-1`,children:(0,G.jsxs)(DO,{className:`min-w-max`,children:[(0,G.jsx)(EO,{label:$(`panel.connection.relayUrl`),nowrap:!0,children:(0,G.jsxs)(`span`,{className:`inline-flex min-w-0 flex-wrap items-center justify-end gap-x-2 gap-y-1`,children:[S.relay?(0,G.jsx)(`span`,{className:`min-w-0 font-mono text-xs text-foreground-strong`,children:b}):(0,G.jsx)(`span`,{className:`text-xs text-foreground-subtle`,children:$(`panel.pairing.hidden`)}),(0,G.jsx)(Xj,{on:S.relay,what:$(`panel.connection.relayUrl`),label:S.relay?$(`panel.common.hide`):$(`panel.common.show`),onClick:()=>A(`relay`)})]})}),(0,G.jsx)(EO,{label:$(`panel.pairing.port`),mono:!0,nowrap:!0,children:(0,G.jsxs)(`span`,{className:`inline-flex flex-wrap items-center justify-end gap-x-2 gap-y-1`,children:[(0,G.jsxs)(`span`,{children:[t?.lanPort??e.lan.port,t?.lanPortAdjusted?(0,G.jsx)(`span`,{className:`ml-2 font-sans text-xs text-foreground-muted`,children:$(`panel.pairing.portFallback`)}):null]}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,"aria-label":$(`panel.pairing.portTitle`),disabled:h,onClick:p,children:$(`panel.common.edit`)})]})}),(0,G.jsx)(EO,{label:$(`panel.pairing.phoneAddress`),nowrap:!0,children:(0,G.jsxs)(`span`,{className:`inline-flex flex-wrap items-center justify-end gap-x-2 gap-y-1`,children:[x?null:(0,G.jsx)(`span`,{className:`text-xs text-foreground-subtle`,children:$(`panel.pairing.noAddress`)}),(0,G.jsx)(Xj,{on:!1,what:$(`panel.pairing.phoneAddress`),label:$(`panel.common.show`),onClick:()=>T(!0)})]})})]})})})]}),a?(0,G.jsxs)(YE,{variant:`error`,className:`mt-3`,children:[(0,G.jsx)(ZE,{}),(0,G.jsx)(QE,{children:$(`panel.pairing.sidecarRestartFailed`)}),(0,G.jsx)($E,{children:a})]}):null,(0,G.jsx)(cD,{open:E,onOpenChange:D,children:(0,G.jsxs)(lD,{className:`w-[min(680px,94vw)] max-h-[90vh] max-w-none`,closeLabel:$(`panel.common.close`),children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(`panel.pairing.qr`)})}),(0,G.jsx)(pD,{children:(0,G.jsx)(`div`,{className:`flex items-center justify-center overflow-auto rounded-md bg-white p-2 sm:p-4`,children:t?.svg?(0,G.jsx)(`div`,{className:`aspect-square h-[min(64vh,560px)] w-auto max-w-full [&_svg]:h-full [&_svg]:w-full`,dangerouslySetInnerHTML:{__html:t.svg}}):null})})]})}),(0,G.jsx)(cD,{open:w,onOpenChange:T,children:(0,G.jsxs)(lD,{className:`max-w-xl`,closeLabel:$(`panel.common.close`),children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(`panel.pairing.phoneAddress`)})}),(0,G.jsx)(pD,{children:(0,G.jsx)(Nj,{book:n,port:t?.lanPort??e.lan.port,value:n?.preferred??``,busy:h,onChange:f,fallbackUrls:t?.lanUrls??[]})}),(0,G.jsx)(mD,{className:`flex justify-end`,children:(0,G.jsx)(Q,{variant:`outline`,onClick:()=>T(!1),children:$(`panel.common.close`)})})]})}),(0,G.jsx)(cD,{open:O,onOpenChange:k,children:(0,G.jsxs)(lD,{className:`max-w-md`,closeLabel:$(`panel.common.close`),children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(`panel.common.more`)})}),(0,G.jsxs)(pD,{className:`flex flex-col gap-3`,children:[(0,G.jsxs)(DO,{children:[(0,G.jsx)(EO,{label:$(`panel.pairing.policy`),children:(0,G.jsx)(QD,{size:`md`,checked:_,disabled:h,onCheckedChange:e=>s(e?`code`:`deny`),"aria-label":$(`panel.devices.allowTitle`)})}),(0,G.jsx)(EO,{label:$(`panel.pairing.tier`),hint:$(`panel.pairing.tierHint`),children:(0,G.jsxs)(fj,{size:`sm`,value:v,disabled:h,itemToStringLabel:e=>tM(e),onValueChange:e=>{typeof e==`string`&&e!==v&&c(e)},children:[(0,G.jsx)(mj,{className:`min-w-0 max-w-full`,"aria-label":$(`panel.pairing.tier`),children:(0,G.jsx)(hj,{})}),(0,G.jsx)(_j,{children:eM.map(e=>(0,G.jsx)(Cj,{value:e,children:tM(e)},e))})]})}),(0,G.jsx)(EO,{label:$(`panel.pairing.autoReview`),hint:$(`panel.pairing.autoReviewHint`),children:(0,G.jsx)(QD,{size:`sm`,checked:y,disabled:h,"aria-label":$(`panel.pairing.autoReview`),onCheckedChange:e=>{e!==y&&l(e)}})})]}),(0,G.jsx)(`div`,{className:`flex justify-end`,children:(0,G.jsx)(Q,{variant:`outline`,size:`sm`,onClick:u,children:$(`panel.pairing.checkNetwork`)})})]})]})})]})}function $j(e,t){return e&&e.lan.length+e.public.length>0?`book`:t?.lanUrls?.[0]??``}var eM=[`readonly`,`approve`,`full`];function tM(e){return $(e===`readonly`?`panel.pairing.tierReadonly`:e===`approve`?`panel.pairing.tierApprove`:`panel.pairing.tierFull`)}var nM={ok:4e3,soft:6e3,error:9e3};function rM(){let e=(0,g.useRef)(fd());return e.current=fd(),(0,g.useCallback)((t,n)=>{e.current.add({title:n,type:t,timeout:nM[t],priority:t===`error`?`high`:`low`})},[])}function iM(e){return e===`none`?$(`panel.devices.tierNone`):tM(e)}function aM(e){return e===`none`?`readonly`:e}function oM(e,t){if(!e)return``;let n=Math.max(0,t-e);if(n<6e4)return $(`panel.devices.justNow`);let r=Math.floor(n/6e4);if(r<60)return $(`panel.devices.minutesAgo`,{count:r});let i=Math.floor(r/60);return i<24?$(`panel.devices.hoursAgo`,{count:i}):$(`panel.devices.daysAgo`,{count:Math.floor(i/24)})}function sM(e,t){return e?cM(e,t)?$(`panel.devices.online`):oM(e,t):$(`panel.devices.noRecord`)}function cM(e,t){return e>0&&t-e<=3e5}function lM(e){return{ios:`iOS`,android:`Android`,linux:`Linux`,darwin:`macOS`,win32:`Windows`}[e]??(e||$(`panel.devices.unknownPlatform`))}function uM(e){return $(e===`relay`?`panel.devices.channelRelay`:e===`lan`?`panel.devices.channelLan`:`panel.devices.channelUnknown`)}function dM(e){let t=e?.model||e?.name||$(`panel.devices.unknown`);return e?.suffix?`${t} · ${e.suffix}`:t}function fM(){return(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,className:`size-4`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,G.jsx)(`path`,{d:`M12 3l7 3v5c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6l7-3Z`}),(0,G.jsx)(`path`,{d:`m9 12 2 2 4-4`})]})}function pM(){return(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,className:`size-4`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,G.jsx)(`path`,{d:`M9 15l6-6`}),(0,G.jsx)(`path`,{d:`M7 17l-1 1a3 3 0 0 1-4-4l2-2a3 3 0 0 1 4 0`}),(0,G.jsx)(`path`,{d:`M17 7l1-1a3 3 0 0 1 4 4l-2 2a3 3 0 0 1-4 0`})]})}function mM({onRevokeAll:e,busy:t,fill:n=!1}){let r=rM(),[i,a]=(0,g.useState)(null),[o,s]=(0,g.useState)(null),[c,l]=(0,g.useState)(!1),[u,d]=(0,g.useState)(null),[f,p]=(0,g.useState)(`full`),[m,h]=(0,g.useState)(!1),_=(0,g.useRef)(!1),v=(0,g.useRef)(null),[y,b]=(0,g.useState)(!1),[x,S]=(0,g.useState)(null),[C,w]=(0,g.useState)(!1),[T,E]=(0,g.useState)(!1),[D,O]=(0,g.useState)(!1),k=(0,g.useRef)(0),A=(0,g.useCallback)(async()=>{let e=++k.current;w(!1);try{let t=await Rk(`/api/relay/devices?history=1`);e===k.current&&S(t)}catch{e===k.current&&w(!0)}},[]),j=(0,g.useCallback)(async()=>{try{let e=await Rk(`/api/relay/devices`),t=e.revokedCount??0,n=v.current!==null&&v.current!==t;v.current=t,a(e),n&&_.current&&A()}catch{}},[A]);(0,g.useEffect)(()=>{let e=()=>{l_()&&j()};e();let t=window.setInterval(e,3e3);return document.addEventListener(`visibilitychange`,e),()=>{window.clearInterval(t),document.removeEventListener(`visibilitychange`,e)}},[j]);let M=i?.devices??[],N=i?.serverNow??0,P=i?.revokedCount??0;(0,g.useEffect)(()=>{_.current=y},[y]),(0,g.useEffect)(()=>{y&&A()},[y,A]);function F(e){let t=oM(e.revokedAt||e.expiresAt,N)||`—`;return $(e.kind===`revoked`?`panel.devices.historyRevoked`:`panel.devices.historyExpired`,{time:t})}let I=(x?.devices??[]).filter(e=>e.kind===`revoked`||e.kind===`expired`),L=C||(x?.devices.length??0)>0&&I.length===0;async function R(e){l(!0);try{let t=await zk(`/api/relay/devices/revoke`,{deviceId:e.deviceId});s(null),await j(),y&&A(),r(`soft`,$(t.closed>0?`panel.devices.unbindDoneClosed`:`panel.devices.unbindDone`,{name:dM(e),count:t.revoked,closed:t.closed}))}catch(e){r(`error`,$(`panel.devices.unbindFailed`,{message:Uk(e)}))}finally{l(!1)}}async function z(){O(!0);try{let e=await zk(`/api/relay/devices/history/clear`,{});E(!1),await j(),y&&A(),r(`soft`,$(`panel.devices.historyClearDone`,{count:e.cleared}))}catch(e){r(`error`,$(`panel.devices.historyClearFailed`,{message:Uk(e)}))}finally{O(!1)}}async function B(e,t){h(!0);try{await Hk(e.deviceId,t),d(null),await j(),r(`soft`,$(`panel.devices.permissionsDone`,{name:dM(e),tier:tM(t)}))}catch(e){r(`error`,$(`panel.devices.permissionsFailed`,{message:Uk(e)}))}finally{h(!1)}}return M.length===0&&P===0?null:(0,G.jsxs)(xD,{frame:`solid`,className:n?`flex h-full min-h-0 flex-col`:void 0,children:[(0,G.jsx)(SD,{className:n?`flex-none px-4 py-3`:`px-4 py-3`,children:(0,G.jsxs)(CD,{className:`flex flex-wrap items-center justify-between gap-x-2 gap-y-1 text-base lg:text-lg`,children:[(0,G.jsxs)(`span`,{className:`flex items-center gap-2`,children:[$(`panel.devices.title`),M.length>0?(0,G.jsx)(rD,{variant:`secondary`,size:`sm`,children:M.length}):null]}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,className:`shrink-0 px-2 xl:px-4 xl:before:border xl:before:border-border xl:before:bg-background`,disabled:t!==``,onClick:e,children:$(`panel.pairing.revokeAll`)})]})}),(0,G.jsxs)(`div`,{className:n?`hvscroll mt-1 min-h-0 flex-1`:`hscroll mt-1`,children:[(0,G.jsx)(`div`,{className:`min-w-max`,children:M.map(e=>{let t=cM(e.lastSeenAt,N);return(0,G.jsxs)(`div`,{className:`flex items-center justify-between gap-2 border-b border-border-muted py-2 whitespace-nowrap last:border-b-0`,children:[(0,G.jsxs)(`div`,{className:`flex min-w-0 flex-1 items-center gap-2`,children:[(0,G.jsx)(`span`,{className:`text-sm text-foreground-strong`,children:dM(e)}),(0,G.jsx)(rD,{variant:`secondary`,size:`xs`,children:iM(Mk(e.permissions))}),(0,G.jsxs)(`span`,{className:`flex min-w-0 items-center gap-1 whitespace-nowrap text-xs text-foreground-muted`,children:[(0,G.jsx)(`span`,{children:lM(e.platform)}),(0,G.jsx)(`span`,{"aria-hidden":!0,children:`·`}),(0,G.jsx)(`span`,{children:uM(e.lastChannel)}),(0,G.jsx)(`span`,{"aria-hidden":!0,children:`·`}),t?(0,G.jsx)(TO,{tone:`ok`}):null,(0,G.jsx)(`span`,{children:sM(e.lastSeenAt,N)})]})]}),(0,G.jsxs)(`div`,{className:`flex shrink-0 items-center gap-0.5`,children:[(0,G.jsx)(Q,{variant:`ghost`,size:`icon-md`,"aria-label":$(`panel.devices.permissions`),title:$(`panel.devices.permissions`),onClick:()=>{p(aM(Mk(e.permissions))),d(e)},children:(0,G.jsx)(fM,{})}),(0,G.jsx)(Q,{variant:`ghost`,size:`icon-md`,"aria-label":$(`panel.devices.unbind`),title:$(`panel.devices.unbind`),onClick:()=>s(e),children:(0,G.jsx)(pM,{})})]})]},e.deviceId)})}),(0,G.jsxs)(`div`,{className:`mt-1 border-t border-border-muted pt-2`,children:[(0,G.jsxs)(`div`,{className:`flex w-full items-center justify-between gap-2`,children:[(0,G.jsxs)(`button`,{type:`button`,"aria-expanded":y,className:`flex min-w-0 cursor-pointer items-center gap-2 text-xs text-foreground-muted focus-visible:outline-none`,onClick:()=>b(e=>!e),children:[(0,G.jsxs)(`span`,{className:`flex items-center gap-2`,children:[$(`panel.devices.historyTitle`),(0,G.jsx)(rD,{variant:`secondary`,size:`xs`,children:$(`panel.devices.historyCount`,{count:P})})]}),(0,G.jsx)(`svg`,{viewBox:`0 0 12 12`,className:`size-3 shrink-0 transition-transform ${y?`rotate-90`:``}`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:(0,G.jsx)(`path`,{d:`m4.5 2.5 3.5 3.5-3.5 3.5`})})]}),P>0?(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,className:`shrink-0`,disabled:D||t!==``,onClick:()=>E(!0),children:$(`panel.devices.historyClear`)}):null]}),y?(0,G.jsxs)(`div`,{className:`mt-2`,children:[I.map(e=>(0,G.jsxs)(`div`,{className:`flex flex-col gap-1 py-2`,children:[(0,G.jsxs)(`div`,{className:`flex flex-wrap items-center gap-x-2 gap-y-1`,children:[(0,G.jsx)(`span`,{className:`text-xs text-foreground`,children:dM(e)}),(0,G.jsxs)(`span`,{className:`text-xs text-foreground-muted`,children:[lM(e.platform),e.osVersion?` ${e.osVersion}`:``,e.appVersion?$(`panel.devices.appVersion`,{version:e.appVersion}):``]})]}),(0,G.jsxs)(`div`,{className:`flex flex-wrap items-center gap-x-3 gap-y-1 text-xs text-foreground-muted`,children:[(0,G.jsx)(`span`,{children:$(`panel.devices.historyBoundAt`,{time:oM(e.boundAt,N)||`—`})}),(0,G.jsx)(`span`,{children:$(`panel.devices.historyLastSeen`,{time:e.lastSeenAt?oM(e.lastSeenAt,N):$(`panel.devices.noRecord`)})}),(0,G.jsx)(`span`,{children:F(e)})]})]},e.deviceId)),L?(0,G.jsx)(`p`,{className:`py-2 text-xs text-foreground-muted`,children:$(`panel.devices.historyFailed`)}):null,(0,G.jsx)(`p`,{className:`py-2 text-xs text-foreground-muted`,children:$(`panel.devices.historyRetention`,{days:30})})]}):null]})]}),(0,G.jsx)(WO,{open:o!==null,onOpenChange:e=>{!e&&!c&&s(null)},children:(0,G.jsxs)(GO,{children:[(0,G.jsx)(KO,{children:(0,G.jsx)(qO,{children:$(`panel.devices.unbindTitle`)})}),(0,G.jsxs)(YO,{className:`flex flex-col gap-2 text-sm`,children:[(0,G.jsx)(JO,{children:$(`panel.devices.unbindConfirm`,{name:dM(o)})}),(0,G.jsx)(`p`,{className:`text-foreground-muted`,children:$(o?.legacy?`panel.devices.effectLegacy`:`panel.devices.effectIdentity`)})]}),(0,G.jsxs)(XO,{className:`flex justify-end gap-2`,children:[(0,G.jsx)(Q,{variant:`outline`,disabled:c,onClick:()=>s(null),children:$(`panel.devices.cancel`)}),(0,G.jsx)(Q,{variant:`destructive`,disabled:c,onClick:()=>{o&&R(o)},children:c?(0,G.jsxs)(`span`,{className:`inline-flex items-center gap-1.5`,children:[(0,G.jsx)(VE,{}),$(`panel.devices.unbinding`)]}):$(`panel.devices.unbind`)})]})]})}),(0,G.jsx)(WO,{open:u!==null,onOpenChange:e=>{!e&&!m&&d(null)},children:(0,G.jsxs)(GO,{children:[(0,G.jsx)(KO,{children:(0,G.jsx)(qO,{children:$(`panel.devices.permissionsTitle`)})}),(0,G.jsxs)(YO,{className:`flex flex-col gap-3 text-sm`,children:[(0,G.jsx)(JO,{children:$(`panel.devices.permissionsHint`)}),(0,G.jsx)(jk,{className:`flex flex-col gap-2`,value:f,onValueChange:e=>{typeof e==`string`&&p(e)},children:eM.map(e=>(0,G.jsxs)(`label`,{className:`flex cursor-pointer items-center gap-2`,children:[(0,G.jsx)(hk,{value:e}),(0,G.jsx)(`span`,{children:tM(e)})]},e))})]}),(0,G.jsxs)(XO,{className:`flex justify-end gap-2`,children:[(0,G.jsx)(Q,{variant:`outline`,disabled:m,onClick:()=>d(null),children:$(`panel.devices.cancel`)}),(0,G.jsx)(Q,{variant:`secondary`,disabled:m,onClick:()=>{u&&B(u,f)},children:m?(0,G.jsxs)(`span`,{className:`inline-flex items-center gap-1.5`,children:[(0,G.jsx)(VE,{}),$(`panel.devices.permissionsApply`)]}):$(`panel.devices.permissionsApply`)})]})]})}),(0,G.jsx)(WO,{open:T,onOpenChange:e=>{!e&&!D&&E(!1)},children:(0,G.jsxs)(GO,{children:[(0,G.jsx)(KO,{children:(0,G.jsx)(qO,{children:$(`panel.devices.historyClearTitle`)})}),(0,G.jsxs)(YO,{className:`flex flex-col gap-2 text-sm`,children:[(0,G.jsx)(JO,{children:$(`panel.devices.historyClearConfirm`,{count:P})}),(0,G.jsx)(`p`,{className:`text-foreground-muted`,children:$(`panel.devices.historyClearHint`)})]}),(0,G.jsxs)(XO,{className:`flex justify-end gap-2`,children:[(0,G.jsx)(Q,{variant:`outline`,disabled:D,onClick:()=>E(!1),children:$(`panel.devices.cancel`)}),(0,G.jsx)(Q,{variant:`destructive`,disabled:D,onClick:()=>void z(),children:D?(0,G.jsxs)(`span`,{className:`inline-flex items-center gap-1.5`,children:[(0,G.jsx)(VE,{}),$(`panel.devices.historyClearing`)]}):$(`panel.devices.historyClear`)})]})]})})]})}var hM=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAxgAAAMYAQAAAABgBnzJAAAGdElEQVR42u2dXY7yOBBFbyY8IoWlsICWiPQtYFY8UtCwAJYCEo8deR4gxPFPOgE62MzJQ0Q3kNOmnL5UuVxVGP368ZdgwIABAwYMGDBg5MjYF86xevhywUu987M6F7V0LupidS5qSVKx6k/9s847mFcwYMCA8cMRk4rKdCfdIhHGPvXPDt+BPV7CKI11NE9dMHCpN+t5sRqc7N91om4/y30OAwYMGE/r+VDDPXl3XoI9XsnYP+uae076KoXPytHu3it3PPXBE8wrGDBgwHiFng+9ck/lrSewB4yJDEesPVHvg+7E22HAgAHjGT3vDkesTUzjibfDmLx+7i+Y96LuRSTQcxgwYMB43j8PL5iHHXL0/KX22JmXXdO9VIL+uZct10k+9zkMGDBg/Ip/7mfLSQZ7vNoebfGyCwYulUJ++8wT8woGDBgwns5vn3XCHk8exf+hrsEgKW7kR/QcBgwYMNAPGG9nOOvivkQ7YXUvq90X+sHedewBAwYMGOg5jIUYA+22ve1IWD3sswerzWAPGDBgwEDPYSzpnw+S1x1h9orK+JF3L+iOfw4DBgwY6DmMBfU8ugXNqejqFIQLP3I0HnvAgAEDBnoOYyk99/ehhfamOYF4T8/xz2HAgAEDPYeh966fe3vNf6jjai+Ye+lxVgYd9oABAwYM9BzGQuvn/rp4OAavSXXkBu469oABAwYM9BzG4no+Vpf9HOs8M7KbLcHP6ryR2lX2Nm83/TnncRxuVsl8HG034zd5j+Nwv03yHkcdeJShnp/76VR+Z2yPo6TKmJOkNjl7yEw+rsO4DmRnZhxLjeNk/1kq+x9P2vXPft8H3Q3o9hKVxpjbqftx8N605tVFqq6PTtIl3/vjKG2vj6qZN0ha46hVNreHTd76se4ebOcpSFLjaO/TSlpf/wnnao/7dCoz9s/PG0vE9/UcRU/X59zme58f+9tcWs/6x7vgOEKNzH/sgzp0yOPtWZKyR21PpvJzYjJ1tuNoPjBG1hBPfC+jzaPe66Cb+Wjp9ttx+tt+XeCVVvnXlL6XtCsZ5u6Ceq5Am/O4nt9jvGN73TJYPz+cP8Pmda56XnIPps04ZjuOOg89D7U5t6SvqX/ukx5p2ZJgvL3/vnv5iPvjK+V6MtGtatcQiWWB859TO2XpPEk9t766H5uqqfOcV2v7H9YfaXvMcxyldaOf7aB1fvf55R4iXUvltqizHEdzv0E22kr6Z7KkpzWO+6JH21nnkpieV7Ee5oM+K+uRFmwa7YmeqA5euvBVm+W8Kp2//DjZJ1k+3h7dV3690ZtDIRVjnVNDu96S6D84uNHbWoW0TnFdbdb33YPt4taTvywmd59fp0vdfG0kqWoy6msZOnbNSmrLU+b+x1Fqpcs6dz/qIjUbHU+55l810q655l6dZP5NK/9qRl5f0afzzYu+JzevvtJd55SVBeeks90e9fOqtHP8qmHKXJ8U56TRJZcPp+3XZ8RFJ+seMWSxfv7oG7cfMY7tHIukvF/tuGXfHYxp/nm0I+qkejIKlJJh/zkMGDBgoIMwlq736ihxOG9disfbw11XsQcMGDBgoOcwlu6vNtJuLdol1W147mx4wx4wYMCAgZ7DeE99uEgR95CKO0+8Jx8OBgwYMNBz7IGe+6Ve/YXwUPlXb5ubUwUe/xwGDBgw0HMYy+8/9/PcxtfKbSfd2XWedP12GDBgwEDPYbyasS/6Y/XWeLvjXo80T3NS5qL14bA5DBgwYPyenu8tn2tY3R17vIdR9oUDkhmHHzj3MuOcNDr0HAYMGDD0RJ2iynhlYO1CsE5d2OgFsMcDDNuzDrjX85z0VVqflVMfLuKLRxLgyG+HAQMGjAf1/C7bVbCmu1/gVQo0dMEecxmlU5fv4WNnvpPTc8cDd75xTCg5072DeQUDBgwYs/zzcAc180M/Fuu32OMBe9yWL+Z1mh8ebZHeZ+WsqQ889fAietzLZ17BgAEDxkQ9r0zEU/c7uBjto98KsMfv9mmIueYpflahlPWo9+5vPR/E5ZlXMGDAgDFHz6ON1/y+qpFeq9gDhrzaMeOL46GFdfafw4ABA8ZD/mCnyaOL46GFdTeXDns8YI+d+fDPypHtaS8euPDMKxgwYMCYE991g+4TX1yh54/bI7bynf9nFaod44Tap1abYV7BgAEDxvx4eyjUHorBB+Py2EPU94EBAwYMGDBgwIDx1PEfwPfvNJna2O0AAAAASUVORK5CYII=`,gM=()=>$(`panel.links.wechatQrAlt`);function _M(){return(0,G.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,className:`stroke-0`,fill:`currentColor`,"aria-hidden":`true`,children:(0,G.jsx)(`path`,{d:`M8.691 2.188C3.891 2.188 0 5.476 0 9.53c0 2.212 1.17 4.203 3.002 5.55a.59.59 0 0 1 .213.665l-.39 1.48c-.019.07-.048.141-.048.213 0 .163.13.295.29.295a.326.326 0 0 0 .167-.054l1.903-1.114a.864.864 0 0 1 .717-.098 10.16 10.16 0 0 0 2.837.403c.276 0 .543-.027.811-.05-.857-2.578.157-4.972 1.932-6.446 1.703-1.415 3.882-1.98 5.853-1.838-.576-3.583-4.196-6.348-8.596-6.348zM5.785 5.991c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 0 1-1.162 1.178A1.17 1.17 0 0 1 4.623 7.17c0-.651.52-1.18 1.162-1.18zm5.813 0c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 0 1-1.162 1.178 1.17 1.17 0 0 1-1.162-1.178c0-.651.52-1.18 1.162-1.18zm5.34 2.867c-1.797-.052-3.746.512-5.28 1.786-1.72 1.428-2.687 3.72-1.78 6.22.942 2.453 3.666 4.229 6.884 4.229.826 0 1.622-.12 2.361-.336a.722.722 0 0 1 .598.082l1.584.926a.272.272 0 0 0 .14.047c.134 0 .24-.111.24-.247 0-.06-.023-.12-.038-.177l-.327-1.233a.582.582 0 0 1-.023-.156.49.49 0 0 1 .201-.398C23.024 18.48 24 16.82 24 14.98c0-3.21-2.931-5.837-6.656-6.088V8.89c-.135-.01-.27-.027-.407-.03zm-2.53 3.274c.535 0 .969.44.969.982a.976.976 0 0 1-.969.983.976.976 0 0 1-.969-.983c0-.542.434-.982.97-.982zm4.844 0c.535 0 .969.44.969.982a.976.976 0 0 1-.969.983.976.976 0 0 1-.969-.983c0-.542.434-.982.969-.982z`})})}function vM({compact:e=!1}={}){let[t,n]=(0,g.useState)(!1),r=Sg();return r!==`zh-Hans`&&r!==`zh-Hant`?null:(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(Q,{variant:`primary`,size:e?`sm`:`lg`,className:`pointer-events-auto rounded-full shadow-lg`,onClick:()=>n(!0),children:[(0,G.jsx)(_M,{}),$(`panel.links.joinGroup`)]}),(0,G.jsx)(cD,{open:t,onOpenChange:n,children:(0,G.jsxs)(lD,{className:`max-w-sm`,children:[(0,G.jsx)(dD,{className:`sr-only`,children:$(`panel.links.joinGroup`)}),(0,G.jsx)(pD,{className:`flex justify-center`,children:(0,G.jsx)(`img`,{src:hM,alt:gM(),className:`w-full rounded-md`})})]})})]})}var yM=Gu(``,{variants:{size:{sm:`h-6 gap-0.75 rounded-xs px-2 text-xs has-data-[icon=end]:pe-1.5 has-data-[icon=start]:ps-1.5 [&_svg:not([class*='size-'])]:size-3.5`,md:`h-8 gap-1 rounded-sm px-3 text-sm has-data-[icon=end]:pe-2 has-data-[icon=start]:ps-2 [&_svg:not([class*='size-'])]:size-4`,lg:`h-10 gap-1.25 rounded-md px-3.5 text-base has-data-[icon=end]:pe-2.5 has-data-[icon=start]:ps-2.5 [&_svg:not([class*='size-'])]:size-4.5`}},defaultVariants:{size:`md`}}),bM=g.createContext(null),xM={opacity:0,scale:.85,filter:`blur(8px)`},SM={opacity:0},CM={duration:.28,ease:[.4,0,.2,1]},wM={duration:0},TM={sm:`size-3`,md:`size-3.5`,lg:`size-4`};function EM({className:e,variant:t,size:n,render:r,dismissible:i=!1,open:a,onOpenChange:o,onDismiss:s,closeLabel:c=`Dismiss`,children:l,onClick:u,...d}){let f=g.useContext(bM),p=t??f?.variant??`soft`,m=n??f?.size??`md`,h=yh(),[_,v]=g.useState(!0),y=a!==void 0,b=y?a:_,x=g.useCallback(()=>{y||v(!1),o?.(!1)},[y,o]);g.useEffect(()=>{if(f&&i)return f.register(x)},[f,i,x]);let S=e=>{u?.(e),!e.defaultPrevented&&i&&x()},C=i?(0,G.jsxs)(G.Fragment,{children:[l,(0,G.jsx)(DM,{size:m}),(0,G.jsx)(`span`,{className:`sr-only`,children:c})]}):l,w=eD({defaultTagName:`button`,render:r,state:{variant:p,size:m,dismissible:i},props:Dr({"data-slot":`chip`,"data-dismissible":i||void 0,type:r?void 0:`button`,...Hu(d.disabled),className:Z(qu({variant:p}),yM({size:m}),i&&`group/chip`,e),onClick:S,children:C},d)});return i?(0,G.jsx)(Iw,{features:VT,strict:!0,children:(0,G.jsx)(kw,{initial:!1,onExitComplete:()=>s?.(),children:b&&(0,G.jsx)(bE.span,{initial:!1,exit:h?SM:xM,transition:h?wM:CM,className:`inline-flex align-middle`,children:w},`chip`)})}):w}function DM({size:e}){return(0,G.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 16`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`chip-close-icon`,"data-icon":`end`,className:Z(TM[e],`opacity-60 transition-opacity duration-200 group-hover/chip:opacity-100 motion-reduce:transition-none`),children:(0,G.jsx)(`path`,{d:`M11.523 3.522c.264-.264.691-.264.955 0s.264.691 0 .955L8.955 8l3.522 3.522c.264.264.264.691 0 .955s-.691.264-.955 0L8 8.955l-3.522 3.522c-.264.264-.691.264-.955 0s-.264-.691 0-.955L7.045 8 3.522 4.478c-.264-.264-.264-.691 0-.955s.691-.264.955 0L8 7.045l3.523-3.522z`})})}var OM=`M4.3 12.55 L9.25 17.5 L19.7 6.5`,kM={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:1.5,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0};async function AM(e){if(typeof e==`string`)return e;if(typeof e==`function`)return await e();let t=e.current;if(!t)throw Error("CopyButton: the `value` ref is not attached to an element");return t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement?t.value:t.textContent??``}async function jM(e){if(navigator.clipboard?.writeText){await navigator.clipboard.writeText(e);return}let t=document.createElement(`textarea`);t.value=e,t.setAttribute(`readonly`,``),t.style.position=`fixed`,t.style.opacity=`0`,document.body.appendChild(t),t.select();try{if(!document.execCommand(`copy`))throw Error(`Copying to clipboard is not supported`)}finally{t.remove()}}function MM({value:e,timeout:t=2e3,label:n=`Copy`,copiedLabel:r=`Copied`,onCopy:i,onCopyError:a,icon:o,onClick:s,variant:c=`ghost`,size:l=`icon-sm`,className:u,children:d,...f}){let[p,m]=g.useState(!1),h=g.useRef(void 0);return g.useEffect(()=>()=>clearTimeout(h.current),[]),(0,G.jsxs)(Q,{"data-slot":`copy-button`,"data-copied":p||void 0,type:`button`,variant:c,size:l,"aria-label":p?r:n,onClick:async n=>{if(s?.(n),n.defaultPrevented)return;let r;try{r=await AM(e),await jM(r)}catch(e){a?.(e);return}i?.(r),m(!0),clearTimeout(h.current),h.current=setTimeout(()=>m(!1),t)},className:Z(`group/copy`,u),...f,children:[(0,G.jsxs)(`span`,{"data-icon":d==null?void 0:`start`,className:`grid place-items-center *:[grid-area:1/1]`,children:[(0,G.jsx)(`span`,{className:Z(`grid place-items-center transition-[opacity,scale] delay-150 duration-150 ease-out group-data-copied/copy:delay-0`,`group-data-copied/copy:scale-50 group-data-copied/copy:opacity-0`,`motion-reduce:transition-none`),children:o??(0,G.jsx)(`svg`,{...kM,children:(0,G.jsx)(`path`,{d:`M4.012 16.737c-.307-.175-.562-.427-.739-.732S3.001 15.353 3 15V5c0-1.1.9-2 2-2h10c.75 0 1.158.385 1.5 1M7 9.667c0-.707.281-1.386.781-1.886S8.96 7 9.667 7h8.666c.35 0 .697.069 1.021.203s.618.33.865.578.444.542.578.865A2.67 2.67 0 0 1 21 9.667v8.666a2.67 2.67 0 0 1-.781 1.886 2.67 2.67 0 0 1-1.886.781H9.667a2.67 2.67 0 0 1-1.021-.203c-.324-.134-.618-.331-.865-.578s-.444-.542-.578-.865S7 18.683 7 18.333V9.667z`})})}),(0,G.jsx)(`svg`,{...kM,children:(0,G.jsx)(`path`,{d:OM,pathLength:1,strokeDasharray:`1 2`,className:Z(`[stroke-dashoffset:1.02] group-data-copied/copy:[stroke-dashoffset:0]`,`transition-[stroke-dashoffset] duration-200 ease-in`,`group-data-copied/copy:delay-100 group-data-copied/copy:duration-350 group-data-copied/copy:ease-out`,`motion-reduce:transition-none`)})})]}),typeof d==`string`&&p?r:d,(0,G.jsx)(`span`,{role:`status`,className:`sr-only`,children:p?r:``})]})}var NM=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAewAAAHsAQAAAAA4UaPNAAACeUlEQVR42u2dQW7DMAwEhX5A//+lfsA2sU0umRg9BChKYQwfDNlzEVbKkqKUYZ9ca4CDg4OD/398+DXt5360zOvtcT+vn/flY1tf46MLHPzv8REKfz48Wi6dn89P8R/PPihOCs2Dt9V8muTLW/8JuL6Jj9E8eH/Nx7O/mmJ1DM2Db6d5fbVOP+PennkefE8/b5ba1/CxUD5G8+BdNZ/zNr/c5G3A+2v+Lo2pI8In//wNPQ/eVvNXfHpI/TDz48pPapY+t9Pz4D01v8ZrWsYv179nMmWA0PPgjf18Cl2XCNvD25LMRPPgnb3N8MxkdjWh/7e/AmgevLXmtfYgx7AlOU8MC76Bt0lpmVxjE2r38jO392gevHPextM1teQml1aqsUfz4F3neamoOa/s2+9TPfQ8eGNv46l4jVvVvetbvA14b2+T0+9j1PWpVGY5IquD5sFb5200/a55mzD8MyV20Dx4b2/jlqbYezH2Ec/ibcC3mOfTDpFQdQ5azTS9g+bBW8ewVerTSngbQ2Dh58H7x7BZzyr+aJl5xQrNgzf387EaNWtCPlpyaSWaB288z4uko7Ty7dE3Q2vp6XnwtjFsOehDqmsiq2MS4VJ7AN7a20yTsFTqykYsxeoQkAVZeh68q7fR/VBpJ+xMu6VeBgg9D941hq0HGljdA6uFB/EZmgdv6+ff7H7Nx4BouhLNg+8wz4eMo/G25Ib6efANYtibauF0XqVZqb1E8+B9Ne8K1xTNq8iT1UHz4FtoPkSuZcOl8JL6efC95nldgS2nfNQt4WgefAM/b/Us4pHrE/IJCfQ8+C55m5XWqkpUy5oUeHfN8/dz4ODg4Pvi3/5iKXEUjwVUAAAAAElFTkSuQmCC`,PM=`0x62744c084c272ddba4680920edc3239cb7180718`;function FM(){return(0,G.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,className:`stroke-0`,fill:`currentColor`,"aria-hidden":`true`,children:(0,G.jsx)(`path`,{d:`M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z`})})}function IM({compact:e=!1}={}){let[t,n]=(0,g.useState)(!1),[r,i]=(0,g.useState)(!1);return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(Q,{variant:`secondary`,size:e?`sm`:`lg`,className:`pointer-events-auto rounded-full shadow-lg`,onClick:()=>{i(!1),n(!0)},children:[(0,G.jsx)(FM,{}),$(`panel.links.sponsor`)]}),(0,G.jsx)(LM,{open:t,onOpenChange:n,copyFailed:r,setCopyFailed:i})]})}function LM({open:e,onOpenChange:t,copyFailed:n,setCopyFailed:r}){return(0,G.jsx)(cD,{open:e,onOpenChange:t,children:(0,G.jsxs)(lD,{className:`max-w-sm`,children:[(0,G.jsxs)(uD,{className:`gap-1.5`,children:[(0,G.jsx)(dD,{className:`text-xl`,children:$(`panel.links.sponsorTitle`)}),(0,G.jsx)(fD,{children:$(`panel.links.sponsorIntro`)})]}),(0,G.jsxs)(pD,{className:`flex flex-col gap-4`,children:[(0,G.jsx)(`div`,{className:`flex justify-center`,children:(0,G.jsx)(`img`,{src:NM,alt:$(`panel.links.sponsorQrAlt`),className:`size-44 rounded-lg border border-border-muted bg-white p-2`})}),(0,G.jsxs)(`div`,{className:`flex justify-center gap-2`,children:[(0,G.jsx)(EM,{variant:`soft`,size:`sm`,children:`USDT`}),(0,G.jsx)(EM,{variant:`soft`,size:`sm`,children:`Polygon`})]}),(0,G.jsxs)(`div`,{className:`flex flex-col gap-2 rounded-lg border border-border-muted bg-background-muted p-3`,children:[(0,G.jsxs)(`div`,{className:`flex items-center justify-between gap-2`,children:[(0,G.jsx)(`span`,{className:`text-xs text-foreground-muted`,children:$(`panel.links.sponsorAddress`)}),(0,G.jsx)(MM,{value:PM,label:$(`panel.links.sponsorCopy`),copiedLabel:$(`panel.links.sponsorCopied`),size:`sm`,variant:`outline`,onCopyError:()=>r(!0),onCopy:()=>r(!1),children:$(`panel.links.sponsorCopy`)})]}),(0,G.jsx)(`code`,{className:`block select-all break-all font-mono text-[11px] leading-4 text-foreground-strong`,children:PM}),n?(0,G.jsx)(`p`,{className:`text-[11px] leading-4 text-foreground-strong`,children:$(`panel.links.sponsorCopyFailed`)}):null]})]}),(0,G.jsx)(`div`,{className:`px-6 pt-4 pb-6`,children:(0,G.jsx)(`p`,{className:`text-center text-sm text-foreground-muted`,children:$(`panel.links.sponsorNote`)})})]})})}function RM(){return(0,G.jsx)(`svg`,{viewBox:`0 0 24 24`,className:`size-[18px] stroke-0`,fill:`currentColor`,"aria-hidden":`true`,children:(0,G.jsx)(`path`,{d:`M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12`})})}function zM({compact:e=!1}={}){return(0,G.jsxs)(`a`,{href:Ij,target:`_blank`,rel:`noreferrer noopener`,className:`${qu({variant:`secondary`,size:e?`sm`:`lg`})} pointer-events-auto rounded-full shadow-lg`,children:[(0,G.jsx)(RM,{}),$(`panel.links.star`)]})}function BM({compact:e=!1}){return(0,G.jsxs)(`div`,{className:`flex flex-wrap items-center gap-1.5`,children:[(0,G.jsx)(zM,{compact:e}),(0,G.jsx)(IM,{compact:e}),(0,G.jsx)(vM,{compact:e})]})}function VM(e){let t=Number.isFinite(e)&&e>0?e:0;return t===0?`0 MB`:t<1048576?`${Math.max(1,Math.round(t/1024))} KB`:`${(t/1024/1024).toFixed(1)} MB`}function HM(e,t=Date.now()){if(!e)return``;let n=Math.floor((t-e)/36e5);return n<1?$(`panel.inbox.ageLessThanHour`):n<24?$(`panel.inbox.ageHours`,{hours:n}):$(`panel.inbox.ageDays`,{days:Math.floor(n/24)})}function UM({framed:e=!0}){let t=rM(),[n,r]=(0,g.useState)(null),[i,a]=(0,g.useState)(!1),[o,s]=(0,g.useState)(!1),[c,l]=(0,g.useState)(!1),u=(0,g.useCallback)(async()=>{try{r(await Rk(`/api/relay/inbox/status`))}catch{r(null)}finally{a(!0)}},[]);(0,g.useEffect)(()=>{u()},[u]);let d=n?.deletableFiles??0,f=HM(n?.oldestAt??null),p=n?.stagingFiles??0;async function m(e){if(!c){l(!0);try{let t=await zk(`/api/relay/inbox/auto`,{enabled:e});r(e=>e&&{...e,autoClear:t.data.autoClear})}catch(e){t(`error`,$(`panel.inbox.autoFailed`,{message:Uk(e)}))}finally{l(!1)}}}async function h(){if(o)return;let e=d>0?$(`panel.inbox.confirmDetail`,{count:d,hours:n?.keepHours??24,bytes:VM(n?.deletableBytes??0)}):$(`panel.inbox.confirmNothing`,{hours:n?.keepHours??24});if(window.confirm(`${$(`panel.inbox.confirmTitle`)}\n\n${e}\n\n${$(`panel.inbox.confirmIrreversible`)}`)){s(!0);try{let e=await zk(`/api/relay/inbox/clear`),n=VM(e.freedBytes);t(e.failedFiles>0?`soft`:`ok`,e.deletedFiles>0?`${$(`panel.inbox.cleared`,{bytes:n,count:e.deletedFiles})}${e.failedFiles>0?$(`panel.inbox.clearedSomeFailed`,{count:e.failedFiles}):``}`:$(`panel.inbox.nothingToClear`)),await u()}catch(e){t(`error`,$(`panel.inbox.clearFailed`,{message:Uk(e)}))}finally{s(!1)}}}let _=(0,G.jsxs)(G.Fragment,{children:[i?null:(0,G.jsxs)(`div`,{className:`flex items-center gap-2 py-2 text-sm text-foreground-muted`,children:[(0,G.jsx)(VE,{}),$(`panel.inbox.reading`)]}),i&&n===null?(0,G.jsxs)(YE,{variant:`info`,className:`mt-2`,children:[(0,G.jsx)(ZE,{}),(0,G.jsx)(QE,{children:$(`panel.inbox.unreadableTitle`)}),(0,G.jsx)($E,{children:$(`panel.inbox.unreadableBody`)})]}):null,n===null?null:(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(`dl`,{className:`mt-1`,children:[(0,G.jsxs)(`div`,{className:`flex items-baseline justify-between gap-4 border-b border-border-muted py-2`,children:[(0,G.jsx)(`dt`,{className:`shrink-0 text-sm text-foreground-muted`,children:$(`panel.inbox.used`)}),(0,G.jsx)(`dd`,{className:`min-w-0 text-right text-sm break-all`,children:$(`panel.inbox.usedValue`,{bytes:VM(n.bytes),count:n.files})})]}),(0,G.jsxs)(`div`,{className:`flex items-baseline justify-between gap-4 border-b border-border-muted py-2`,children:[(0,G.jsx)(`dt`,{className:`shrink-0 text-sm text-foreground-muted`,children:$(`panel.inbox.deletable`)}),(0,G.jsx)(`dd`,{className:`min-w-0 text-right text-sm break-all`,children:d>0?$(`panel.inbox.deletableValue`,{bytes:VM(n.deletableBytes),count:d}):$(`panel.common.none`)})]}),(0,G.jsxs)(`div`,{className:`flex items-baseline justify-between gap-4 py-2`,children:[(0,G.jsx)(`dt`,{className:`shrink-0 text-sm text-foreground-muted`,children:$(`panel.inbox.keep`)}),(0,G.jsx)(`dd`,{className:`min-w-0 text-right text-sm break-all`,children:f?$(`panel.inbox.keepValueOldest`,{hours:n.keepHours,age:f}):$(`panel.inbox.keepValue`,{hours:n.keepHours})})]})]}),p>0?(0,G.jsx)(`p`,{className:`mt-1 text-xs text-foreground-muted`,children:$(`panel.inbox.staging`,{bytes:VM(n.stagingBytes??0),count:n.stagingFiles??0})}):null,(0,G.jsxs)(`label`,{className:`mt-3 flex items-center justify-between gap-4 border-t border-border-muted pt-3`,children:[(0,G.jsx)(`span`,{className:`block text-sm text-foreground`,children:$(`panel.inbox.auto`)}),(0,G.jsxs)(`span`,{className:`flex shrink-0 items-center gap-2`,children:[c?(0,G.jsx)(VE,{}):null,(0,G.jsx)(QD,{size:`md`,checked:n.autoClear===!0,disabled:o||c,onCheckedChange:e=>void m(e),"aria-label":$(`panel.inbox.autoA11y`)})]})]}),(0,G.jsx)(`div`,{className:`mt-3 flex justify-center`,children:(0,G.jsx)(Q,{variant:d>0?`primary`:`outline`,size:`md`,disabled:o,onClick:()=>void h(),children:$(o?`panel.inbox.clearing`:`panel.inbox.clear`)})})]})]});return e?(0,G.jsxs)(xD,{frame:`solid`,children:[(0,G.jsx)(SD,{className:`px-4 py-3`,children:(0,G.jsx)(CD,{className:`flex items-center gap-2`,children:(0,G.jsx)(`span`,{children:$(`panel.inbox.title`)})})}),_]}):_}var WM=`https://github.com/WNLUO/dsh-mobile-server`;function GM(){return[$(`panel.notice.promptIntro`),``,`${$(`panel.notice.promptRepo`)}: ${WM}`,``,$(`panel.notice.promptAsk`),``,$(`panel.notice.promptDo`),``,$(`panel.notice.promptAfter`),``,$(`panel.notice.promptStyle`)].join(`
|
|
85
|
+
`))):A=Tk(D)}w(k,A)}),E=J((e,t=!1)=>{if(_.clear(),x.current+=1,t)return;let n=u();n&&e!==``&&o?_.start(o,()=>{T(e)}):T(e,!n)}),D=g.useCallback((e,t={})=>Dr(m(t),l.valid===!1&&!l.disabled&&!e?{"aria-invalid":!0}:h),[m,l.disabled,l.valid]);return g.useMemo(()=>({getValidationProps:D,inputRef:v,registeredInputs:b,registerInput:C,getInputControl:w,commit:T,change:E}),[D,b,C,w,T,E])}var Dk=g.createContext(void 0);function Ok(e=!1){let t=g.useContext(Dk);if(!t&&!e)throw Error(S(86));return t}var kk=[Zd],Ak=g.forwardRef(function(e,t){let{render:n,className:r,disabled:i,readOnly:a,required:o,onValueChange:s,value:c,defaultValue:l,form:u,name:d,inputRef:f,id:p,style:m,...h}=e,{setTouched:_,setFocused:v,validationMode:y,name:b,disabled:x,state:S,validation:C,setDirty:w,setFilled:T,validityData:E}=ID(),{labelId:D}=VD(),{clearErrors:O,elementRef:k}=zD(),A=Ok(!0),j=x||i,M=b??d,N=Pd(p),[P,F]=bf({controlled:c,default:l,name:`RadioGroup`,state:`value`}),[I,L]=g.useState(!1),R=J((e,t)=>{s?.(e,t),!t.isCanceled&&F(e)}),z=C.getInputControl,B=g.useMemo(()=>({get current(){return z()}}),[z]),V=g.useRef(null),H=g.useRef(null);function U(e){let t;return f&&(typeof f==`function`?t=f(e):f.current=e),V.current=e,t}let W=J(e=>{if(!e||e.disabled)return;H.current||=e;let t=V.current,n=e.checked||t==null||t.disabled?U(e):void 0;return()=>{H.current===e&&(H.current=null),V.current===e?n?(n(),V.current=null):U(null):n?.()}}),ee=J(()=>{let e=k.current;if(!e)return P??null;for(let t of C.registeredInputs.keys())if(t.checked&&Sk(t,e))return P??null;return null});LD(B,N,P??null,ee,!j,d),Jf(P,()=>{O(M),w(P!==E.initialValue),T(P!=null),C.change(P);let e=H.current;P==null&&e&&!e.disabled&&U(e)});let K=D??A?.legendId,te={...S,disabled:j??!1,required:o??!1,readOnly:a??!1},q=g.useMemo(()=>({checkedValue:P,disabled:j,form:u,validation:C,name:M,readOnly:a,registerInputRef:W,required:o,setCheckedValue:R,setTouched:L,touched:I}),[P,j,u,C,M,a,W,o,R,L,I]),ne={id:p,role:`radiogroup`,"aria-required":o||void 0,"aria-disabled":j||void 0,"aria-readonly":a||void 0,"aria-labelledby":K,onFocus(){v(!0)},onBlur(e){Y(e.currentTarget,e.relatedTarget)||(_(!0),v(!1),y===`onBlur`&&C.commit(P))},onKeyDownCapture(e){e.key.startsWith(`Arrow`)&&(L(!0),v(!0))}};return(0,G.jsx)(rk.Provider,{value:q,children:(0,G.jsx)(yk,{render:n,className:r,style:m,state:te,props:[ne,h,e=>C.getValidationProps(j??!1,e)],refs:[t],stateAttributesMapping:AD,enableHomeAndEndKeys:!1,modifierKeys:kk})})});function jk({className:e,orientation:t=`vertical`,...n}){return(0,G.jsx)(Ak,{"data-slot":`radio-group`,"aria-orientation":t,className:Z(`flex`,t===`horizontal`?`flex-wrap gap-4`:`flex-col gap-2`,e),...n})}function Mk(e){if(!Array.isArray(e))return`full`;if(e.length===0)return`none`;let t=new Set(e);return[`input`,`dispatch`,`operate`,`files.write`,`transfer`,`manage`,`config`].some(e=>t.has(e))?`full`:t.has(`approve`)?`approve`:`readonly`}var Nk=3e4,Pk=1e3;function Fk(e,t=Date.now()){let n=e?.tailcat?.expiresAt??0;if(!Number.isFinite(n)||n<=0)return null;let r=n*1e3-t;return r<=0?null:Math.max(r-Nk,Pk)}var Ik=class extends Error{constructor(e,t,n){super(e),q(this,`code`,void 0),q(this,`status`,void 0),this.name=`ApiError`,this.code=t,this.status=n}};async function Lk(e){let t=null;try{t=await e.json()}catch{t=null}let n=t?.error;if(typeof n==`string`&&n)return new Ik(n,`http_${e.status}`,e.status);if(n&&typeof n==`object`){let t=n,r=typeof t.code==`string`&&t.code?t.code:`http_${e.status}`;return new Ik(typeof t.message==`string`&&t.message?t.message:$(`panel.net.requestFailed`,{status:e.status}),r,e.status)}return new Ik($(`panel.net.requestFailed`,{status:e.status}),`http_${e.status}`,e.status)}async function Rk(e){let t=e.split(`?`)[0]===`/api/relay/pairing`,n=t?3e4:e===`/api/relay/status`?12e3:0,r=n?new AbortController:null,i=r?window.setTimeout(()=>r.abort(),n):null;try{let n=await fetch(e,{headers:{accept:`application/json`},...r?{signal:r.signal}:{}});if(!n.ok)throw await Lk(n);let i=await n.json();if(t&&(i?.ok!==!0||typeof i.svg!=`string`||!i.svg.includes(`<svg`)))throw new Ik($(`panel.pairing.qrFailed`),`pairing_invalid`,n.status);return i}catch(e){throw r?.signal.aborted?new Ik($(t?`panel.console.pairingTimeout`:`panel.console.statusTimeout`),t?`pairing_timeout`:`status_timeout`,0):e}finally{i!==null&&window.clearTimeout(i)}}async function zk(e,t){let n=await fetch(e,{method:`POST`,headers:{"content-type":`application/json`,accept:`application/json`},body:JSON.stringify(t??{})});if(!n.ok)throw await Lk(n);let r=await n.json();return Bk(r),r}function Bk(e){let t=e?.applyError;if(typeof t==`string`&&t)throw new Ik($(`panel.shell.applyFailed`,{message:t}),`apply_failed`,200)}function Vk(e){return zk(`/api/relay/frp/import`,{config:e})}function Hk(e,t){return zk(`/api/relay/devices/permissions`,{deviceId:e,tier:t})}function Uk(e){return e instanceof Ik?e.message:e instanceof Error?e.message||$(`panel.net.requestFailedNoStatus`):String(e)}function Wk(e){let t=g.useRef(!0);t.current&&(t.current=!1,e())}var Gk=g.createContext(void 0),Kk=g.createContext(void 0),qk=g.createContext(void 0);function Jk(){let e=g.useContext(Gk);if(e===void 0)throw Error(S(60));return e}function Yk(){let e=g.useContext(Kk);if(e===void 0)throw Error(S(101));return e}function Xk(){let e=g.useContext(qk);if(e===void 0)throw Error(S(61));return e}function Zk(e,t,n=Object.is){let{length:r}=e;if(r!==t.length)return!1;for(let i=0;i<r;i+=1)if(!n(e[i],t[i]))return!1;return!0}var Qk=(e,t)=>Object.is(e,t);function $k(e,t,n){return e==null||t==null?Object.is(e,t):n(e,t)}function eA(e,t,n){return Array.isArray(e)&&Array.isArray(t)?!Zk(e,t,(e,t)=>$k(e,t,n)):e!==t}function tA(e,t,n){return e?e.some(e=>e!==void 0&&$k(t,e,n)):!1}function nA(e,t,n){return e?e.findIndex(e=>e!==void 0&&$k(e,t,n)):-1}function rA(e,t){if(t!==Qk)return n=>tA(e,n,t);let n=new Set(e);return n.delete(void 0),t=>n.has(t)&&(t!==0||e.some(e=>Object.is(t,e)))}function iA(e,t,n,r){let i=r&&Array.isArray(t)?e.findIndex(rA(t,n)):nA(e,t,n);return i===-1?null:i}function aA(e,t,n,r,i,a){return tA(r,t,i)?a!=null&&e>a&&tA(r,n[a],i)?a:e:e===a?iA(n,r,i,!0):a}function oA(e,t,n){return e.filter(e=>!$k(t,e,n))}function sA(e){return typeof e==`object`&&!!e&&Array.isArray(e.items)}function cA(e){return sA(e?.[0])}function lA(e){return cA(e)?e.flatMap(e=>e.items):e}function uA(e){if(!Array.isArray(e))return e!=null&&`null`in e;let t=e;if(cA(t)){for(let e of t)for(let t of e.items)if(t&&t.value==null&&t.label!=null)return!0;return!1}for(let e of t)if(e&&e.value==null&&e.label!=null)return!0;return!1}function dA(e,t){if(t&&e!=null)return t(e)??``;if(e&&typeof e==`object`){if(`label`in e&&e.label!=null)return String(e.label);if(`value`in e)return String(e.value)}return ak(e)}function fA(e,t){return t&&e!=null?t(e)??``:e&&typeof e==`object`&&`value`in e&&`label`in e?ak(e.value):ak(e)}function pA(e,t,n){function r(){return dA(e,n)}if(n&&e!=null)return n(e);if(e&&typeof e==`object`&&`label`in e&&e.label!=null)return e.label;if(t&&!Array.isArray(t))return(Object.hasOwn(t,e)?t[e]:void 0)??r();if(Array.isArray(t)){let n=lA(t);if(typeof e!=`object`||!e){let t=n.find(t=>t.value===e);return t&&t.label!=null?t.label:r()}if(`value`in e){let t=n.find(t=>t&&t.value===e.value);if(t&&t.label!=null)return t.label}}return r()}function mA(e,t,n){return e.reduce((e,r,i)=>(i>0&&e.push(`, `),e.push((0,G.jsx)(g.Fragment,{children:pA(r,t,n)},i)),e),[])}var hA={id:e=>e.id,labelId:e=>e.labelId,modal:e=>e.modal,items:e=>e.items,itemToStringLabel:e=>e.itemToStringLabel,isItemEqualToValue:e=>e.isItemEqualToValue,value:e=>e.value,hasSelectedValue:e=>{let{value:t,multiple:n,itemToStringValue:r}=e;return t==null?!1:n&&Array.isArray(t)?t.length>0:fA(t,r)!==``},hasNullItemLabel:(e,t)=>t?uA(e.items):!1,open:e=>e.open,mounted:e=>e.mounted,forceMount:e=>e.forceMount,transitionStatus:e=>e.transitionStatus,openMethod:e=>e.openMethod,activeIndex:e=>e.activeIndex,selectedIndex:e=>e.selectedIndex,isActive:(e,t)=>e.activeIndex===t,isSelected:(e,t)=>{let n=e.isItemEqualToValue,r=e.value;return e.multiple?Array.isArray(r)&&r.some(e=>$k(t,e,n)):$k(t,r,n)},isSelectedByFocus:(e,t)=>e.selectedIndex===t,popupProps:e=>e.popupProps,triggerProps:e=>e.triggerProps,triggerElement:e=>e.triggerElement,positionerElement:e=>e.positionerElement,listElement:e=>e.listElement,popupSide:e=>e.popupSide,scrollUpArrowVisible:e=>e.scrollUpArrowVisible,scrollDownArrowVisible:e=>e.scrollDownArrowVisible,hasScrollArrows:e=>e.hasScrollArrows};function gA(e,t){return Math.max(0,e-t)}function _A(e,t){if(t<=0)return 0;let n=mi(e,0,t),r=n,i=t-n,a=r<=1,o=i<=1;return a&&o?r<=i?0:t:a?0:o?t:n}function vA(e){let{id:t,value:n,defaultValue:r=null,onValueChange:i,open:a,defaultOpen:o=!1,onOpenChange:s,name:c,form:l,autoComplete:u,disabled:d=!1,readOnly:f=!1,required:_=!1,modal:v=!0,actionsRef:x,inputRef:S,onOpenChangeComplete:C,items:w,multiple:T=!1,itemToStringLabel:E,itemToStringValue:D,isItemEqualToValue:O=Qk,highlightItemOnHover:k=!0,children:A}=e,{clearErrors:j}=zD(),{setDirty:M,setTouched:N,setFocused:P,validityData:F,setFilled:I,name:L,disabled:R,validation:z,validationMode:B}=ID(),V=GD({id:t}),H=R||d,U=L??c,[W,ee]=bf({controlled:n,default:T?r??m:r,name:`Select`,state:`value`}),[K,te]=bf({controlled:a,default:o,name:`Select`,state:`open`}),q=g.useRef([]),ne=g.useRef([]),re=g.useRef(null),ie=g.useRef(null),ae=g.useRef(0),oe=g.useRef(null),se=g.useRef([]),le=g.useRef(!1),ue=g.useRef(null),de=g.useRef(null),fe=g.useRef({allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0}),pe=g.useRef(!1),me=g.useRef(W),{mounted:he,setMounted:ge,transitionStatus:_e}=Us(K),{openMethod:ve,triggerProps:ye}=Xf(K),be=y(()=>new ce({id:V,labelId:void 0,modal:v,multiple:T,itemToStringLabel:E,itemToStringValue:D,isItemEqualToValue:O,value:W,open:K,mounted:he,transitionStatus:_e,items:w,forceMount:!1,openMethod:null,activeIndex:null,selectedIndex:null,popupProps:h,triggerProps:h,triggerElement:null,positionerElement:null,listElement:null,popupSide:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1,hasScrollArrows:!1},{setValue:p,setOpen:p,handleScrollArrowVisibility:p,onOpenChangeComplete:p,listRef:q,popupRef:re,scrollHandlerRef:ie,scrollArrowsMountedCountRef:ae,valueRef:oe,valuesRef:se,labelsRef:ne,typingRef:le,selectionRef:fe,firstItemTextRef:ue,selectedItemTextRef:de,alignItemWithTriggerActiveRef:pe,initialValueRef:me},hA)).current,xe=be.useState(`activeIndex`),Se=be.useState(`selectedIndex`),Ce=be.useState(`triggerElement`),we=be.useState(`positionerElement`),Te=fh(ve),Ee=ve??Te,De=g.useMemo(()=>T?``:fA(W,D),[T,W,D]),Oe=g.useMemo(()=>T&&Array.isArray(W)?W.map(e=>fA(e,D)):fA(W,D),[T,W,D]);LD(Ba(Ce),V,W,J(()=>Oe),!H,c);let ke=T?Array.isArray(W)&&W.length>0:W!=null&&De!==``;b(()=>{I(ke)},[ke,I]),b(function(){let e=iA(se.current,W,O,T);e===null&&(de.current=null),!K&&be.set(`selectedIndex`,e)},[T,K,W,O,be]),Jf(W,()=>{j(U),M(eA(W,F.initialValue,O)),z.change(W)});let Ae=J((e,t)=>{s?.(e,t),!t.isCanceled&&(te(e),!e&&(t.reason===`focus-out`||t.reason===`outside-press`)&&(N(!0),P(!1),B===`onBlur`&&z.commit(W)))}),je=J(()=>{ge(!1),be.update({activeIndex:null,openMethod:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1}),C?.(!1)});ii({enabled:!x,open:K,ref:re,onComplete(){K||je()}}),g.useImperativeHandle(x,()=>({unmount:je}),[je]);let Me=J((e,t)=>{i?.(e,t),!t.isCanceled&&ee(e)}),Ne=J(e=>{let t=gA(e.scrollHeight,e.clientHeight),n=_A(e.scrollTop,t),r=n>0,i=n<t;be.set(`scrollUpArrowVisible`,r),be.set(`scrollDownArrowVisible`,i)}),Pe=pc({open:K,onOpenChange:Ae,elements:{reference:Ce,floating:we}}),Fe=ko(Pe,{enabled:!H,event:`mousedown`}),Ie=Fo(Pe),Le=Nc(Pe,{enabled:!H,listRef:q,activeIndex:xe,selectedIndex:Se,disabledIndices:m,onNavigate(e){(e!==null||K)&&be.set(`activeIndex`,e)},focusItemOnHover:k}),Re=Pc(Pe,{enabled:!H&&(K||!f&&!T),listRef:ne,activeIndex:xe,selectedIndex:Se,disabledIndices:e=>mh(q.current[e]),onMatch(e){K?be.set(`activeIndex`,e):Me(se.current[e],ja(ma))},onTyping(e){le.current=e}}),ze=g.useMemo(()=>Dr(Re.reference,Le.reference,Ie.reference,Fe.reference,ye),[Fe.reference,Re.reference,Le.reference,Ie.reference,ye]),Be=g.useMemo(()=>Dr(Ws,Re.floating,Le.floating,Ie.floating),[Re.floating,Le.floating,Ie.floating]),Ve=Le.item??h;be.useContextCallback(`setValue`,Me),be.useContextCallback(`setOpen`,Ae),be.useContextCallback(`handleScrollArrowVisibility`,Ne),be.useContextCallback(`onOpenChangeComplete`,C),Wk(()=>{be.update({popupProps:Be,triggerProps:ze})}),be.useSyncedValues({id:V,modal:v,multiple:T,value:W,open:K,mounted:he,transitionStatus:_e,popupProps:Be,triggerProps:ze,items:w,itemToStringLabel:E,itemToStringValue:D,isItemEqualToValue:O,openMethod:Ee});let He=g.useMemo(()=>({disabled:H,readOnly:f,required:_,multiple:T,highlightItemOnHover:k,itemProps:Ve}),[H,f,_,T,k,Ve]),Ue=hr(S,z.inputRef),We=T?void 0:U,Ge=g.useMemo(()=>!T||!Array.isArray(W)||!U?null:W.map(e=>{let t=fA(e,D);return(0,G.jsx)(`input`,{type:`hidden`,form:l,name:U,value:t,disabled:H},t)}),[T,W,l,U,D,H]);return(0,G.jsxs)(Gk.Provider,{value:be,children:[(0,G.jsx)(Kk.Provider,{value:He,children:(0,G.jsx)(qk.Provider,{value:Pe,children:A})}),(0,G.jsx)(`input`,{...z.getValidationProps(H,{onFocus(){be.state.triggerElement?.focus({focusVisible:!0})},onChange(e){if(e.nativeEvent.defaultPrevented||H||f)return;let t=e.currentTarget.value,n=ja(ma,e.nativeEvent);function r(){if(T)return;let e=t.toLowerCase(),r=se.current.findIndex(t=>fA(t,D).toLowerCase()===e||dA(t,E).toLowerCase()===e);r===-1&&(r=se.current.findIndex((t,n)=>{let r=ne.current[n];return r!=null&&r.toLowerCase()===e}));let i=se.current[r];i!=null&&Me(i,n)}be.set(`forceMount`,!0),queueMicrotask(r)}}),id:V&&We==null?`${V}-hidden-input`:void 0,form:l,name:We,autoComplete:u,value:De,disabled:H,required:_&&!(T&&ke),readOnly:f,ref:Ue,style:U?pr:fr,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),Ge]})}function yA(e,t){let n=Pd(e);return b(()=>(t(n),()=>{t(e=>e===n?void 0:e)}),[n,t]),n}function bA(e={}){let{id:t,fallbackControlId:n,native:r=!1,setLabelId:i,focusControl:a}=e,{controlId:o,setLabelId:s}=VD(),c=yA(t,J(e=>{s(e),i?.(e)})),l=o??n;function u(e){if(a){a(e,l);return}if(!l)return;let t=Le(e.currentTarget).getElementById(l);_e(t)&&xA(t)}function d(e){ut(e.nativeEvent)?.closest(`button,input,select,textarea`)||(!e.defaultPrevented&&e.detail>1&&e.preventDefault(),!r&&u(e))}return r?{id:c,htmlFor:l,onMouseDown:d}:{id:c,onClick:d,onPointerDown(e){e.preventDefault()}}}function xA(e){e.focus({focusVisible:!0})}function SA(e,t){return e??t}var CA=`data-popup-side`,wA=400,TA={...Nt,...AD,popupSide:e=>e?{[CA]:e}:null,value:()=>null},EA=g.forwardRef(function(e,t){let{render:n,className:r,id:i,disabled:a=!1,nativeButton:o=!0,style:s,...c}=e,{setTouched:l,setFocused:u,validationMode:d,validation:f,state:p,disabled:m}=ID(),{labelId:h}=VD(),_=Jk(),{readOnly:v,required:y,disabled:b}=Yk(),x=m||b||a,S=_.useState(`open`),C=_.useState(`mounted`),w=_.useState(`value`),T=_.useState(`triggerProps`),E=_.useState(`positionerElement`),D=_.useState(`listElement`),O=_.useState(`popupSide`),k=_.useState(`id`),A=_.useState(`labelId`),j=_.useState(`hasSelectedValue`),M=C&&E?O:null,N=i??k,P=SA(h,A);GD({id:i});let F=Ba(E),I=g.useRef(null),{getButtonProps:L,buttonRef:R}=la({disabled:x,native:o}),z=_.useStateSetter(`triggerElement`),B=Ge(),V=Ge(),H=Ge();g.useEffect(()=>{if(S)return H.start(wA,()=>{_.context.selectionRef.current.allowUnselectedMouseUp=!0,_.context.selectionRef.current.allowSelectedMouseUp=!0}),()=>{H.clear()};_.context.selectionRef.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0},V.clear()},[S,_,V,H]);let U=Dr(T,{id:N,role:`combobox`,"aria-expanded":S,"aria-haspopup":`listbox`,"aria-controls":S?D?.id??Wt(E)?.id:void 0,"aria-labelledby":P,"aria-readonly":v||void 0,"aria-required":y||void 0,tabIndex:x?-1:0,onFocus(e){u(!0),S&&_.context.alignItemWithTriggerActiveRef.current&&_.context.setOpen(!1,ja(ma,e.nativeEvent)),B.start(0,()=>{_.set(`forceMount`,!0)})},onBlur(e){Y(E,e.relatedTarget)||(l(!0),u(!1),d===`onBlur`&&f.commit(w))},onMouseDown(e){if(S)return;let t=Le(e.currentTarget);function n(e){if(!I.current)return;let t=e.target;Y(I.current,t)||Y(F.current,t)||nh(e,I.current)||_.context.setOpen(!1,ja(Ta,e))}V.start(0,()=>{t.addEventListener(`mouseup`,n,{once:!0})})}},c,L),W=f.getValidationProps(x,U);W.role=`combobox`;let G={...p,open:S,disabled:x,value:w,readOnly:v,popupSide:M,placeholder:!j};return Vr(`button`,e,{ref:[t,I,R,z],state:G,stateAttributesMapping:TA,props:W})}),DA={value:()=>null},OA=g.forwardRef(function(e,t){let{className:n,render:r,children:i,placeholder:a,style:o,...s}=e,c=Jk(),l=c.useState(`value`),u=c.useState(`items`),d=c.useState(`itemToStringLabel`),f=c.useState(`hasSelectedValue`),p=!f&&a!=null&&i==null,m=c.useState(`hasNullItemLabel`,p),h={value:l,placeholder:!f},g=null;return g=typeof i==`function`?i(l):i??(p&&!m?a:Array.isArray(l)?mA(l,u,d):pA(l,u,d)),Vr(`span`,e,{state:h,ref:[t,c.context.valueRef],props:[{children:g},s],stateAttributesMapping:DA})}),kA=g.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e;return Vr(`span`,e,{state:{open:Jk().useState(`open`)},ref:t,props:[{"aria-hidden":!0,children:`▼`},a],stateAttributesMapping:Mt})}),AA=g.forwardRef(function(e,t){let n=Jk(),r=n.useState(`mounted`),i=n.useState(`forceMount`);return r||i?(0,G.jsx)(La,{ref:t,...e}):null}),jA=g.createContext(void 0);function MA(){let e=g.useContext(jA);if(!e)throw Error(S(59));return e}function NA(e,t){e&&Object.assign(e.style,t)}var PA={position:`relative`,maxHeight:`100%`,overflowX:`hidden`,overflowY:`auto`},FA={position:`fixed`},IA=g.forwardRef(function(e,t){let{anchor:n,className:r,render:i,positionMethod:a,side:o,align:s,sideOffset:c,alignOffset:l,collisionBoundary:u=`clipping-ancestors`,collisionPadding:d,arrowPadding:f,sticky:p,disableAnchorTracking:m,alignItemWithTrigger:h=!0,collisionAvoidance:_=di,style:v,...y}=e,x=Jk(),S=Xk(),C=x.useState(`open`),w=x.useState(`mounted`),T=x.useState(`modal`),E=x.useState(`value`),D=x.useState(`openMethod`),O=x.useState(`positionerElement`),k=x.useState(`triggerElement`),A=x.useState(`isItemEqualToValue`),j=x.useState(`transitionStatus`),M=g.useRef(null),N=g.useRef(null),[P,F]=g.useState(h),I=w&&P&&D!==`touch`;!w&&P!==h&&F(h),g.useImperativeHandle(x.context.alignItemWithTriggerActiveRef,()=>I),Im((I||T)&&C,D===`touch`,O,k);let L=il({anchor:n,floatingRootContext:S,positionMethod:a,mounted:w,side:o,sideOffset:c,align:s,alignOffset:l,arrowPadding:f,collisionBoundary:u,collisionPadding:d,sticky:p,disableAnchorTracking:m??I,collisionAvoidance:_,keepMounted:!0}),R=I?`none`:L.side,z=I?FA:L.positionerStyles,B={open:C,side:R,align:L.align,anchorHidden:L.anchorHidden};b(()=>{x.set(`popupSide`,L.side)},[x,L.side]);let V=cl(e,B,{styles:z,transitionStatus:j,props:y,refs:[t,x.useStateSetter(`positionerElement`)],hidden:!w,inert:!C}),H=g.useRef(0),U=J(e=>{if(x.context.valuesRef.current.length===0)return;let t=H.current;H.current=e.size;let n=ja(ma);if(t!==0&&!x.state.multiple&&E!==null&&nA(x.context.valuesRef.current,E,A)===-1){let e=x.context.initialValueRef.current,t=e!=null&&nA(x.context.valuesRef.current,e,A)!==-1?e:null;x.context.setValue(t,n),t===null&&(x.set(`selectedIndex`,null),x.context.selectedItemTextRef.current=null)}if(t!==0&&x.state.multiple&&Array.isArray(E)){let e=E.filter(e=>nA(x.context.valuesRef.current,e,A)!==-1);e.length!==E.length&&(x.context.setValue(e,n),e.length===0&&(x.set(`selectedIndex`,null),x.context.selectedItemTextRef.current=null))}if(C&&I){x.update({scrollUpArrowVisible:!1,scrollDownArrowVisible:!1});let e={height:``};NA(O,e),NA(x.context.popupRef.current,e)}}),W=g.useMemo(()=>({...L,side:R,alignItemWithTriggerActive:I,setControlledAlignItemWithTrigger:F,scrollUpArrowRef:M,scrollDownArrowRef:N}),[L,R,I,F]);return(0,G.jsx)(Om,{elementsRef:x.context.listRef,labelsRef:x.context.labelsRef,onMapChange:U,children:(0,G.jsxs)(jA.Provider,{value:W,children:[w&&T&&(0,G.jsx)(_f,{inert:Xr(!C),cutout:k}),V]})})}),LA=`base-ui-disable-scrollbar`,RA={className:LA,getElement(e){return(0,G.jsx)(`style`,{nonce:e,href:LA,precedence:`base-ui:low`,children:`.${LA}{scrollbar-width:none}.${LA}::-webkit-scrollbar{display:none}`})}},zA=g.createContext(void 0),BA={disableStyleElements:!1};function VA(){return g.useContext(zA)??BA}var HA=`--transform-origin`,UA={...Pt,...xt},WA=g.forwardRef(function(e,t){let{render:n,className:r,style:i,finalFocus:a,...o}=e,s=Jk(),{multiple:c,readOnly:l,highlightItemOnHover:u}=Yk(),d=Xk(),{side:f,align:p,alignItemWithTriggerActive:m,isPositioned:h,setControlledAlignItemWithTrigger:_}=MA(),v=Cm(!0)!=null,y=Wc(),{nonce:x,disableStyleElements:S}=VA(),C=s.useState(`id`),w=s.useState(`open`),T=s.useState(`openMethod`),E=s.useState(`mounted`),D=s.useState(`popupProps`),O=s.useState(`transitionStatus`),k=s.useState(`triggerElement`),A=s.useState(`positionerElement`),j=s.useState(`listElement`),M=g.useRef(!1),N=g.useRef(!1),P=g.useRef({}),F=He(),I=J(e=>{if(!A||!s.context.popupRef.current||!N.current)return;let t=A.style.top===`0px`,n=A.style.bottom===`0px`;if(M.current||!m||!t&&!n){s.context.handleScrollArrowVisibility(e);return}let r=qA(A),i=JA(A.getBoundingClientRect().height,`y`,r),a=Le(A),o=pe(A),c=o.getComputedStyle(A),l=parseFloat(c.marginTop),u=parseFloat(c.marginBottom),d=GA(o.getComputedStyle(s.context.popupRef.current)),f=Math.min(a.documentElement.clientHeight-l-u,d),p=e.scrollTop,h=KA(e),g=null,_=e=>{A.style.height=`${e}px`},v=t?h-p:p,y=Math.min(i+v,f);if(v<=1){let n=mi(v,0,f-i);n>0&&_(i+n),e.scrollTop=t?h:0,f-(i+n)<=1&&(M.current=!0),s.context.handleScrollArrowVisibility(e);return}f-y>1?g=t?1/0:0:n&&p<h&&(g=p-(v-(i+v-f)));let b=Math.ceil(y);if(b!==0&&_(b),g!=null){let t=mi(g,0,KA(e));Math.abs(e.scrollTop-t)>1&&(e.scrollTop=t)}b>=f-1&&(M.current=!0),s.context.handleScrollArrowVisibility(e)});g.useImperativeHandle(s.context.scrollHandlerRef,()=>I,[I]),ii({open:w,ref:s.context.popupRef,onComplete(){w&&s.context.onOpenChangeComplete(!0)}});let L={open:w,transitionStatus:O,side:f,align:p};b(()=>{A&&s.context.popupRef.current&&!Object.keys(P.current).length&&(P.current={top:A.style.top||`0`,left:A.style.left||`0`,right:A.style.right,height:A.style.height,bottom:A.style.bottom,minHeight:A.style.minHeight,maxHeight:A.style.maxHeight,marginTop:A.style.marginTop,marginBottom:A.style.marginBottom})},[s,A]),b(()=>{w||m||(N.current=!1,M.current=!1,NA(A,P.current))},[w,m,A]),b(()=>{let e=s.context.popupRef.current;if(!w||!k||!A||!e||m&&!h||s.state.transitionStatus===`ending`)return;if(N.current=!0,e.style.removeProperty(HA),!m){F.request(()=>s.context.handleScrollArrowVisibility(j||e));return}let t=ZA(e);try{let t=s.context.selectedItemTextRef.current;t?.isConnected||(t=!s.select(`hasSelectedValue`)&&s.context.firstItemTextRef.current?.isConnected?s.context.firstItemTextRef.current:null);let n=s.context.valueRef.current,r=pe(A),i=r.getComputedStyle(A),a=r.getComputedStyle(e),o=Le(k),c=qA(k),l=YA(k.getBoundingClientRect(),c),d=YA(A.getBoundingClientRect(),c),f=l.height,p=j||e,m=p.scrollHeight,h=parseFloat(a.borderBottomWidth),g=parseFloat(i.marginTop)||10,v=parseFloat(i.marginBottom)||10,b=parseFloat(i.minHeight)||100,x=GA(a),S=o.documentElement.clientHeight-g-v,C=o.documentElement.clientWidth,w=S-l.bottom+f,T,E=y===`rtl`?l.right-d.width:l.left,D=0;if(t&&n){let e=YA(n.getBoundingClientRect(),c);T=YA(t.getBoundingClientRect(),c),E=d.left+(y===`rtl`?e.right-T.right:e.left-T.left);let r=e.top-l.top+e.height/2;D=T.top-d.top+T.height/2-r}let O=w+D+v+h,N=Math.min(S,O),F=S-g-v,I=O-N,L=C-5;A.style.left=`${mi(E,5,L-d.width)}px`,A.style.height=`${N}px`,A.style.maxHeight=`none`,A.style.marginTop=`${g}px`,A.style.marginBottom=`${v}px`,e.style.height=`100%`;let R=KA(p),z=I>=R-1;z&&(N=Math.min(S,d.height)-(I-R));let B=l.top<20||l.bottom>S-20||Math.ceil(N)+1<Math.min(m,b),V=(r.visualViewport?.scale??1)!==1&&ot;if(B||V){NA(A,P.current),_(!1);return}let H=Math.max(b,N);if(z){let e=Math.max(0,S-O);A.style.top=d.height>=F?`0`:`${e}px`,A.style.height=`${N}px`,p.scrollTop=KA(p)}else A.style.bottom=`0`,p.scrollTop=I;if(T){let t=d.top,n=d.height,r=T.top+T.height/2,i=mi(n>0?(r-t)/n*100:50,0,100);e.style.setProperty(HA,`50% ${i}%`)}(H===S||N>=x)&&(M.current=!0),s.context.handleScrollArrowVisibility(p),u&&s.state.selectedIndex===null&&s.state.activeIndex===null&&s.context.listRef.current[0]!=null&&s.set(`activeIndex`,0)}finally{t()}},[s,w,A,k,m,_,F,j,u,y,h]),g.useEffect(()=>{if(!m||!A||!w)return;let e=pe(A);function t(e){s.context.setOpen(!1,ja(Aa,e))}return Re(e,`resize`,t)},[s,m,A,w]);let R={...j?{role:`presentation`}:{role:`listbox`,"aria-multiselectable":c||void 0,"aria-readonly":l||void 0,id:`${C}-list`},onKeyDown(e){v&&Xd.has(e.key)&&e.stopPropagation()},onScroll(e){j||I(e.currentTarget)},...m&&{style:j?{height:`100%`}:PA},className:!j&&m?RA.className:void 0},z=Vr(`div`,e,{ref:[t,s.context.popupRef],state:L,stateAttributesMapping:UA,props:[D,R,sl(O),o]});return(0,G.jsxs)(g.Fragment,{children:[!S&&RA.getElement(x),(0,G.jsx)(Oo,{context:d,modal:!1,disabled:!E,openInteractionType:T,returnFocus:a,restoreFocus:!0,children:z})]})});function GA(e){let t=e.maxHeight;return t.endsWith(`px`)&&parseFloat(t)||1/0}function KA(e){return gA(e.scrollHeight,e.clientHeight)}function qA(e){return vs.getScale(e)}function JA(e,t,n){return e/n[t]}function YA(e,t){return En({x:JA(e.x,`x`,t),y:JA(e.y,`y`,t),width:JA(e.width,`x`,t),height:JA(e.height,`y`,t)})}var XA=[[`transform`,`none`],[`scale`,`1`],[`translate`,`0 0`]];function ZA(e){let{style:t}=e,n={};for(let[e,r]of XA)n[e]=t.getPropertyValue(e),t.setProperty(e,r,`important`);return()=>{for(let[e]of XA){let r=n[e];r?t.setProperty(e,r):t.removeProperty(e)}}}var QA=g.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,o=Jk(),{multiple:s,readOnly:c}=Yk(),{alignItemWithTriggerActive:l}=MA(),u=o.useState(`hasScrollArrows`),d=o.useState(`openMethod`),f={id:`${o.useState(`id`)}-list`,role:`listbox`,"aria-multiselectable":s||void 0,"aria-readonly":c||void 0,onScroll(e){o.context.scrollHandlerRef.current?.(e.currentTarget)},...l&&{style:PA},className:u&&d!==`touch`?RA.className:void 0};return Vr(`div`,e,{ref:[t,o.useStateSetter(`listElement`)],props:[f,a]})}),$A=g.createContext(void 0);function ej(){let e=g.useContext($A);if(!e)throw Error(S(57));return e}var tj=g.memo(g.forwardRef(function(e,t){let{render:n,className:r,style:i,value:a=null,label:o,disabled:s=!1,nativeButton:c=!1,...l}=e,u=g.useRef(null),d=_m({guess:!0,label:o,textRef:u}),f=Jk(),{itemProps:p,multiple:m,disabled:h,readOnly:_}=Yk(),v=h||s,y=f.useState(`isActive`,d.index),x=f.useState(`open`),S=f.useState(`isSelected`,a),C=f.useState(`isSelectedByFocus`,d.index),w=f.useState(`isItemEqualToValue`),T=d.index,E=g.useRef(null);b(()=>{let e=f.context.valuesRef.current;return e[T]=a,()=>{delete e[T]}},[T,a,f]),b(()=>{let e=f.state.value,t=f.state.selectedIndex,n=t,r;m&&Array.isArray(e)?(n=aA(T,a,f.context.valuesRef.current,e,w,t),r=n===T,T===t&&!r&&(f.context.selectedItemTextRef.current=null)):(r=e!==void 0&&$k(a,e,w),r&&(n=T)),f.set(`selectedIndex`,n),r&&u.current&&(f.context.selectedItemTextRef.current=u.current)},[T,m,w,f,a]);let D=g.useRef(`mouse`),O=g.useRef(!1),{getButtonProps:k,buttonRef:A}=la({disabled:v,focusableWhenDisabled:!0,native:c,composite:!0}),j={disabled:v,selected:S,highlighted:y};function M(e){if(h||_)return;let t=f.state.value;if(m){let n=Array.isArray(t)?t:[],r=S?oA(n,a,w):[...n,a];f.context.setValue(r,ja(ya,e))}else f.context.setValue(a,ja(ya,e)),f.context.setOpen(!1,ja(ya,e))}function N(){f.context.selectionRef.current.dragY=0}let P={role:`option`,"aria-selected":S,tabIndex:x&&y?0:-1,onKeyDown(e){f.set(`activeIndex`,T),e.key===` `&&f.context.typingRef.current&&e.preventDefault()},onClick(e){let t=D.current!==`touch`,n=e.nativeEvent.pointerType,r=t&&Yt(e.nativeEvent)&&(n!==void 0||y),i=t&&!r&&!O.current;O.current=!1,!(v||i)&&M(e.nativeEvent)},onPointerEnter(e){D.current=e.pointerType},onPointerMove(e){if(e.pointerType===`mouse`&&e.buttons===1){let t=f.context.selectionRef.current;t.dragY+=e.movementY,t.dragY**2>=64&&(t.allowUnselectedMouseUp=!0)}},onPointerDown(e){D.current=e.pointerType,O.current=!0,N()},onMouseUp(){if(N(),v||D.current===`touch`||O.current)return;let e=!f.context.selectionRef.current.allowSelectedMouseUp&&S,t=!f.context.selectionRef.current.allowUnselectedMouseUp&&!S;e||t||(O.current=!0,E.current?.click(),O.current=!1)}},F=Vr(`div`,e,{ref:[A,t,d.ref,E],state:j,props:[p,P,l,k]}),I=g.useMemo(()=>({selected:S,index:T,textRef:u,selectedByFocus:C}),[S,T,u,C]);return(0,G.jsx)($A.Provider,{value:I,children:F})})),nj=g.forwardRef(function(e,t){let{selected:n}=ej();return e.keepMounted||n?(0,G.jsx)(rj,{...e,ref:t}):null}),rj=g.memo(g.forwardRef((e,t)=>{let{render:n,className:r,style:i,keepMounted:a,...o}=e,{selected:s}=ej(),c=g.useRef(null),{transitionStatus:l,setMounted:u}=Us(s),d=Vr(`span`,e,{ref:[t,c],state:{selected:s,transitionStatus:l},props:[{"aria-hidden":!0,children:`✔️`},o],stateAttributesMapping:xt});return ii({batch:!0,enabled:!s,open:s,ref:c,onComplete(){s||u(!1)}}),d})),ij=g.memo(g.forwardRef(function(e,t){let{index:n,textRef:r,selectedByFocus:i}=ej(),a=Jk(),{render:o,className:s,style:c,...l}=e;return Vr(`div`,e,{ref:[g.useCallback(e=>{e&&(n===0&&(a.context.firstItemTextRef.current=e),i&&(a.context.selectedItemTextRef.current=e))},[a,n,i]),t,r],props:l})})),aj=g.forwardRef(function(e,t){let{render:n,className:r,style:i,direction:a,keepMounted:o,...s}=e,c=a===`up`,l=Jk(),{side:u,scrollDownArrowRef:d,scrollUpArrowRef:f}=MA(),p=c?`scrollUpArrowVisible`:`scrollDownArrowVisible`,m=l.useState(p),h=l.useState(`openMethod`),g=m&&h!==`touch`,_=Ge(),v=c?f:d,{mounted:y,transitionStatus:x,setMounted:S}=Us(g);b(()=>(l.context.scrollArrowsMountedCountRef.current+=1,l.set(`hasScrollArrows`,!0),()=>{l.context.scrollArrowsMountedCountRef.current=Math.max(0,l.context.scrollArrowsMountedCountRef.current-1),l.context.scrollArrowsMountedCountRef.current===0&&l.set(`hasScrollArrows`,!1)}),[l]),ii({open:g,ref:v,onComplete(){g||S(!1)}});let C=Vr(`div`,e,{ref:[t,v],state:{direction:a,visible:g,side:u,transitionStatus:x},props:[{"aria-hidden":!0,children:c?`▲`:`▼`,style:{position:`absolute`},onMouseMove(e){if(e.movementX===0&&e.movementY===0||_.isStarted())return;l.set(`activeIndex`,null);function t(){let e=l.state.listElement??l.context.popupRef.current;if(!e)return;l.set(`activeIndex`,null),l.context.handleScrollArrowVisibility(e);let n=gA(e.scrollHeight,e.clientHeight),r=_A(e.scrollTop,n),i=r===(c?0:n),a=l.context.listRef.current;if(r!==e.scrollTop&&(e.scrollTop=r),i){_.clear();return}if(a.length>0){let t=v.current?.offsetHeight||0;e.scrollTop=oj(a,c,r,e.clientHeight,t,n)}_.start(40,t)}_.start(40,t)},onMouseLeave(){_.clear()}},s],stateAttributesMapping:xt});return y||o?C:null});function oj(e,t,n,r,i,a){if(t){let t=0,r=n+i-1;for(let n=0;n<e.length;n+=1){let i=e[n];if(i&&i.offsetTop>=r){t=n;break}}let o=Math.max(0,t-1),s=e[o];return o<t&&s?_A(s.offsetTop-i,a):0}let o=e.length-1,s=n+r-i+1;for(let t=0;t<e.length;t+=1){let n=e[t];if(n&&n.offsetTop+n.offsetHeight>s){o=Math.max(0,t-1);break}}let c=Math.min(e.length-1,o+1),l=e[c];return c>o&&l?_A(l.offsetTop+l.offsetHeight-r+i,a):a}var sj=g.forwardRef(function(e,t){return(0,G.jsx)(aj,{...e,ref:t,direction:`down`})}),cj=g.forwardRef(function(e,t){return(0,G.jsx)(aj,{...e,ref:t,direction:`up`})}),lj=Gu(`w-full border text-foreground outline-none transition-[background-color,border-color,box-shadow] duration-200 motion-reduce:transition-none [&_svg]:pointer-events-none [&_svg]:shrink-0`,{variants:{variant:{outline:`bg-background border-border-strong hover:not-focus:not-focus-visible:not-has-focus:not-has-focus-visible:not-data-popup-open:not-has-data-popup-open:not-data-pressed:not-has-data-pressed:not-data-invalid:not-has-data-invalid:border-border-emphasis`,soft:`bg-background-muted border-transparent hover:not-focus:not-focus-visible:not-has-focus:not-has-focus-visible:not-data-popup-open:not-has-data-popup-open:not-data-pressed:not-has-data-pressed:not-data-invalid:not-has-data-invalid:border-border-strong`},size:{sm:`h-8 px-3 text-xs pointer-coarse:text-base rounded-sm gap-1.5 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='stroke-'])]:stroke-[1.75]`,md:`h-10 px-3.5 text-sm pointer-coarse:text-base rounded-md gap-2 [&_svg:not([class*='size-'])]:size-4.5 [&_svg:not([class*='stroke-'])]:stroke-[1.65]`,lg:`h-12 px-4 text-base rounded-lg gap-2 [&_svg:not([class*='size-'])]:size-5 [&_svg:not([class*='stroke-'])]:stroke-[1.65]`},state:{self:Z(`focus-visible:ring-3 focus-visible:ring-ring-input focus-visible:border-transparent focus-visible:bg-background`,`data-popup-open:ring-3 data-popup-open:ring-ring-input data-popup-open:border-transparent data-popup-open:bg-background`,`data-pressed:ring-3 data-pressed:ring-ring-input data-pressed:border-transparent data-pressed:bg-background`,`data-invalid:bg-error-subtle data-invalid:border-error`,`data-invalid:focus-visible:border-transparent data-invalid:focus-visible:ring-ring-error data-invalid:focus-visible:bg-background`,`data-invalid:data-popup-open:border-transparent data-invalid:data-popup-open:ring-ring-error data-invalid:data-popup-open:bg-background`,`data-invalid:data-pressed:border-transparent data-invalid:data-pressed:ring-ring-error data-invalid:data-pressed:bg-background`,`data-disabled:border-border-strong! data-disabled:bg-background-subtle! data-disabled:cursor-not-allowed data-disabled:border-dashed data-disabled:opacity-disabled`),within:Z(`flex items-center`,`has-focus:ring-[3px] has-focus:ring-ring-input has-focus:border-transparent has-focus:bg-background`,`has-data-popup-open:ring-3 has-data-popup-open:ring-ring-input has-data-popup-open:border-transparent has-data-popup-open:bg-background`,`has-data-pressed:ring-3 has-data-pressed:ring-ring-input has-data-pressed:border-transparent has-data-pressed:bg-background`,`data-invalid:bg-error-subtle data-invalid:border-error data-invalid:has-focus:border-transparent data-invalid:has-focus:ring-ring-error data-invalid:has-focus:bg-background`,`data-invalid:has-data-popup-open:border-transparent data-invalid:has-data-popup-open:ring-ring-error data-invalid:has-data-popup-open:bg-background`,`data-invalid:has-data-pressed:border-transparent data-invalid:has-data-pressed:ring-ring-error data-invalid:has-data-pressed:bg-background`,`has-data-invalid:bg-error-subtle has-data-invalid:border-error has-data-invalid:has-focus:border-transparent has-data-invalid:has-focus:ring-ring-error has-data-invalid:has-focus:bg-background`,`has-data-invalid:has-data-popup-open:border-transparent has-data-invalid:has-data-popup-open:ring-ring-error has-data-invalid:has-data-popup-open:bg-background`,`has-data-invalid:has-data-pressed:border-transparent has-data-invalid:has-data-pressed:ring-ring-error has-data-invalid:has-data-pressed:bg-background`,`has-[input:disabled]:border-border-strong! has-[input:disabled]:bg-background-subtle! has-[input:disabled]:cursor-not-allowed has-[input:disabled]:border-dashed has-[input:disabled]:opacity-disabled`)}},defaultVariants:{variant:`outline`,size:`md`,state:`self`}}),uj=g.createContext(null);function dj(){let e=g.useContext(uj);if(!e)throw Error(`Select sub-components must be rendered inside <Select>`);return e}function fj({size:e=`md`,variant:t=`outline`,alignItemWithTrigger:n=!0,value:r,defaultValue:i,onValueChange:a,multiple:o=!1,children:s,...c}){let l=yh(),u=r!==void 0,[d,f]=g.useState(i??(o?[]:null)),p=u?r:d,m=o?Array.isArray(p)&&p.length>0:p!=null&&p!==``,h=g.useCallback((e,t)=>{u||f(e),a?.(e,t)},[u,a]),_=g.useCallback(e=>{let t=o?[]:null,n={reason:`none`,event:e?.nativeEvent??new Event(`clear`),trigger:void 0,cancel:()=>{},allowPropagation:()=>{},isCanceled:!1,isPropagationAllowed:!1};h(t,n)},[o,h]),v=g.useMemo(()=>({size:e,variant:t,alignItemWithTrigger:n,hasValue:m,clear:_,multiple:o,reducedMotion:l}),[e,t,n,m,_,o,l]);return(0,G.jsx)(uj.Provider,{value:v,children:(0,G.jsx)(vA,{value:p,onValueChange:h,multiple:o,...c,children:s})})}var pj={sm:`size-4`,md:`size-4.5`,lg:`size-5`};function mj({className:e,clearable:t,startSlot:n,endSlot:r,children:i,onKeyDown:a,...o}){let{size:s,variant:c,alignItemWithTrigger:l,hasValue:u,clear:d}=dj(),f=pj[s],p=o[`aria-invalid`],m=p===!0||p===`true`,h=t&&u,g=e=>{a?.(e),!e.defaultPrevented&&h&&(e.key===`Delete`||e.key===`Backspace`)&&(e.preventDefault(),d(e))};return(0,G.jsxs)(EA,{"data-slot":`select-trigger`,className:Z(lj({variant:c,size:s,state:`self`}),`data-placeholder:text-foreground-subtle flex items-center justify-between`,e),...o,onKeyDown:g,...m?{"data-invalid":``}:{},children:[n&&(0,G.jsx)(`span`,{"data-slot":`select-trigger-start`,className:`-ms-1 shrink-0`,children:n}),(0,G.jsx)(`span`,{className:`flex min-w-0 flex-1 items-center truncate text-start`,children:i}),h?(0,G.jsx)(`span`,{"data-slot":`select-clear`,"aria-hidden":`true`,onPointerDown:e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation(),e.preventDefault(),d(e)},onClick:e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()},className:`text-foreground-subtle hover:text-foreground shrink-0 cursor-pointer transition-colors duration-200 motion-reduce:transition-none`,children:(0,G.jsx)(Dj,{className:`size-[1em]`})}):null,r&&(0,G.jsx)(`span`,{"data-slot":`select-trigger-end`,className:`shrink-0`,children:r}),(0,G.jsx)(kA,{"data-slot":`select-icon`,className:`text-foreground -me-1 shrink-0`,render:l?(0,G.jsx)(Tj,{className:f}):(0,G.jsx)(wj,{className:Z(f,`motion-safe:transition-transform motion-safe:duration-200`,`data-popup-open:rotate-180`)})})]})}function hj({className:e,...t}){return(0,G.jsx)(OA,{"data-slot":`select-value`,className:Z(`min-w-0 flex-1 truncate text-start`,e),...t})}var gj={sm:`rounded-md`,md:`rounded-lg`,lg:`rounded-xl`};function _j({className:e,alignItemWithTrigger:t,children:n,...r}){let{size:i,alignItemWithTrigger:a}=dj(),o=t??a,{positioner:s,portal:c,popup:l}=Sh(r);return(0,G.jsx)(AA,{...c,children:(0,G.jsx)(IA,{sideOffset:6,...s,alignItemWithTrigger:o,className:Z(`isolate z-50`,s.className),children:(0,G.jsxs)(WA,{"data-slot":`select-content`,"data-align-trigger":o||void 0,className:Z(`bg-background border-border-overlay flex flex-col border shadow-2xl outline-none`,gj[i],`min-w-36`,o?`w-[calc(var(--anchor-width)+1rem)]`:`w-(--anchor-width)`,o?`origin-center`:`origin-(--transform-origin)`,`motion-safe:transition-[opacity,scale] motion-safe:duration-200 motion-safe:ease-[cubic-bezier(0.175,0.885,0.32,1.5)]`,`data-starting-style:motion-safe:scale-90 data-starting-style:motion-safe:opacity-0`,`data-ending-style:motion-safe:scale-95 data-ending-style:motion-safe:opacity-0 data-ending-style:motion-safe:duration-100 data-ending-style:motion-safe:ease-out`,e),...l,children:[(0,G.jsx)(yj,{}),(0,G.jsx)(QA,{className:`flex max-h-(--available-height) flex-col gap-0.5 overflow-y-auto p-2`,children:n}),(0,G.jsx)(bj,{})]})})})}var vj=Z(`bg-background text-foreground z-1 flex h-6 w-[calc(100%-var(--border-width)*2)] cursor-default items-center justify-center`);function yj(){let{size:e}=dj();return(0,G.jsx)(cj,{"data-slot":`select-scroll-up`,"aria-hidden":`true`,className:Z(vj,gj[e],`top-px rounded-b-none`),children:(0,G.jsx)(wj,{className:Z(pj[e],`rotate-180`)})})}function bj(){let{size:e}=dj();return(0,G.jsx)(sj,{"data-slot":`select-scroll-down`,"aria-hidden":`true`,className:Z(vj,gj[e],`bottom-px rounded-t-none`),children:(0,G.jsx)(wj,{className:pj[e]})})}var xj={sm:`gap-1 rounded-xs py-1.5 px-2.5 text-xs has-data-[icon=end]:pe-1.5 has-data-[icon=start]:ps-1.5 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='stroke-'])]:stroke-[1.75]`,md:`gap-1.5 rounded-sm py-2 px-3 text-sm has-data-[icon=end]:pe-2 has-data-[icon=start]:ps-2 [&_svg:not([class*='size-'])]:size-4.5 [&_svg:not([class*='stroke-'])]:stroke-[1.65]`,lg:`gap-1.5 rounded-md py-2.5 px-3.5 text-base has-data-[icon=end]:pe-2.5 has-data-[icon=start]:ps-2.5 [&_svg:not([class*='size-'])]:size-5 [&_svg:not([class*='stroke-'])]:stroke-[1.65]`},Sj={sm:`gap-1`,md:`gap-1.5`,lg:`gap-1.5`};function Cj({className:e,children:t,...n}){let{size:r,reducedMotion:i}=dj();return(0,G.jsxs)(tj,{"data-slot":`select-item`,className:Z(`text-foreground relative isolate flex w-full cursor-default items-center justify-between outline-hidden select-none [&_svg]:pointer-events-none [&_svg]:shrink-0`,`before:bg-background-muted before:absolute before:inset-0 before:-z-10 before:rounded-[inherit] before:opacity-0`,`active:translate-y-px active:scale-[0.98]`,`data-highlighted:not-data-disabled:text-foreground-intense data-highlighted:not-data-disabled:before:opacity-100`,`motion-safe:transition motion-safe:duration-250 motion-safe:ease-[cubic-bezier(0.175,0.885,0.32,1.5)]`,`motion-safe:active:duration-100 motion-safe:active:ease-in-out`,`motion-safe:before:transition-opacity motion-safe:before:duration-200 motion-safe:before:ease-out`,`data-disabled:opacity-disabled data-disabled:pointer-events-none`,xj[r],e),...n,children:[(0,G.jsx)(ij,{className:Z(`flex items-center text-start`,Sj[r]),children:t}),(0,G.jsx)(nj,{"data-slot":`select-item-indicator`,keepMounted:!i,className:`group/check text-foreground-intense shrink-0`,children:(0,G.jsx)(Ej,{"data-icon":`end`,className:`me-0.5 size-[1.125em]`})})]})}function wj(e){return(0,G.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 16`,fill:`currentColor`,"aria-hidden":`true`,...e,children:(0,G.jsx)(`path`,{d:`M11.594 5.594c.225-.225.588-.225.813 0s.225.588 0 .813l-4 4c-.225.225-.588.225-.812 0l-4-4c-.225-.225-.225-.588 0-.812s.588-.225.812 0L8 9.187l3.594-3.594z`})})}function Tj(e){return(0,G.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 16`,fill:`currentColor`,"aria-hidden":`true`,...e,children:(0,G.jsx)(`path`,{d:`M10.26 9.593c.225-.224.589-.224.814 0s.224.589 0 .813l-2.667 2.667c-.225.224-.589.224-.813 0l-2.666-2.667c-.225-.225-.225-.589 0-.813s.588-.224.813 0l2.26 2.26 2.261-2.26zM7.593 2.927c.225-.225.589-.225.813 0l2.667 2.666c.224.224.224.589 0 .813s-.589.225-.814 0L7.999 4.146 5.74 6.407c-.225.224-.588.224-.812 0s-.225-.589 0-.813l2.666-2.666z`})})}function Ej({className:e,...t}){return(0,G.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,className:Z(`stroke-2`,e),...t,children:(0,G.jsx)(`path`,{d:`M4.3 12.55 L9.25 17.5 L19.7 6.5`,pathLength:1,strokeDasharray:`1 2`,className:Z(`opacity-0 [stroke-dashoffset:1.02]`,`group-data-selected/check:opacity-100 group-data-selected/check:[stroke-dashoffset:0]`,`motion-safe:transition-[opacity,stroke-dashoffset] motion-safe:ease-out`,`motion-safe:delay-[0ms,150ms] motion-safe:duration-[150ms,0ms]`,`motion-safe:group-data-selected/check:delay-[0ms] motion-safe:group-data-selected/check:duration-[0ms,300ms]`)})})}function Dj(e){return(0,G.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`2 2 16 16`,fill:`currentColor`,"aria-hidden":`true`,...e,children:(0,G.jsx)(`path`,{d:`M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z`})})}function Oj(e){return e?e.lan.length>0?e.lan:e.public:[]}function kj(e){return!e||e.lan.length===0?[]:e.public}function Aj(e){return e?.ipv6??[]}function jj(e,t){let n=$(e===`lan`?`panel.address.lan`:e===`ipv6`?`panel.address.ipv6`:`panel.address.public`);return t?`${n} · ${t}`:n}function Mj(e,t){return`http://${e.includes(`:`)?`[${e}]`:e}:${String(t??``)}`}function Nj({book:e,port:t,value:n,busy:r=!1,onChange:i,fallbackUrls:a=[],align:o=`end`}){let s=o===`start`?`items-start`:`items-end`,c=o===`start`?`justify-start`:`justify-end`,l=o===`start`?`text-start`:`text-end`,u=String(t??``),d=Oj(e),f=kj(e),p=Aj(e),m=e&&e.lan.length>0?`lan`:`public`,h=d.some(e=>e.address===n)?n:d[0]?.address??``;return d.length===0?p.length===0&&a.length>0?(0,G.jsx)(`span`,{className:`flex flex-col gap-0.5 ${s}`,children:a.map(e=>(0,G.jsx)(`span`,{children:e},e))}):p.length===0?(0,G.jsx)(`span`,{className:`font-sans text-foreground-muted`,children:$(`panel.address.empty`)}):(0,G.jsx)(`span`,{className:`flex w-full flex-col gap-1 ${s}`,children:p.map(e=>(0,G.jsxs)(`span`,{className:`inline-flex flex-wrap items-baseline gap-x-2 ${c}`,children:[(0,G.jsx)(`span`,{className:`font-mono text-xs text-foreground-muted`,children:Mj(e.address,u)}),(0,G.jsx)(`span`,{className:`shrink-0 font-sans text-xs text-foreground-subtle`,children:`${jj(`ipv6`,e.interface)}${$(`panel.address.ipv6Hint`)}`})]},e.address))}):(0,G.jsxs)(`span`,{className:`flex w-full flex-col gap-1 ${s}`,children:[d.length>1?(0,G.jsx)(jk,{className:pg(`w-full gap-1`,s,r&&`pointer-events-none opacity-60`),value:h,onValueChange:e=>{typeof e==`string`&&e!==h&&i(e)},children:d.map(e=>(0,G.jsxs)(`label`,{className:`flex w-full cursor-pointer flex-wrap items-baseline gap-x-2 ${c}`,children:[(0,G.jsx)(hk,{value:e.address,"aria-label":Mj(e.address,u)}),(0,G.jsx)(`span`,{className:`font-mono text-xs text-foreground`,children:Mj(e.address,u)}),(0,G.jsx)(`span`,{className:`shrink-0 font-sans text-xs text-foreground-muted`,children:jj(m,e.interface)})]},e.address))}):(0,G.jsxs)(`span`,{className:`inline-flex flex-wrap items-baseline gap-x-2 ${c}`,children:[(0,G.jsx)(`span`,{className:`font-mono`,children:Mj(d[0].address,u)}),(0,G.jsx)(`span`,{className:`shrink-0 font-sans text-xs text-foreground-muted`,children:jj(m,d[0].interface)})]}),f.map(e=>(0,G.jsxs)(`span`,{className:`inline-flex flex-wrap items-baseline gap-x-2 ${c}`,children:[(0,G.jsx)(`span`,{className:`font-mono text-xs text-foreground-muted`,children:Mj(e.address,u)}),(0,G.jsx)(`span`,{className:`shrink-0 font-sans text-xs text-foreground-subtle`,children:`${jj(`public`,e.interface)}${$(`panel.address.publicHint`)}`})]},e.address)),p.map(e=>(0,G.jsxs)(`span`,{className:`inline-flex flex-wrap items-baseline gap-x-2 ${c}`,children:[(0,G.jsx)(`span`,{className:`font-mono text-xs text-foreground-muted`,children:Mj(e.address,u)}),(0,G.jsx)(`span`,{className:`shrink-0 font-sans text-xs text-foreground-subtle`,children:$(`panel.address.ipv6Pick`,{kind:jj(`ipv6`,e.interface)})})]},e.address)),d.length>1?(0,G.jsx)(`span`,{className:`font-sans text-xs text-foreground-muted ${l}`,children:$(`panel.address.hint`)}):null]})}var Pj=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAnP0lEQVR42u19eZhV1ZXvWnuf6d5bd6gJqKIoJkVBQAw4hGesoK2i8nz6UJN0px/a2qaN2PnsaMxLYoja3Rk6xjh0OmWi8TMOL5ikE4dEjYYPRyIQoNRShmIogRqo4Y517z3D3u8P9tHN4Zx7q6DAAu/+vvPVdOsOZ631W/NaAJVTOZVTOZVTOZVTOZVTOZVTOZVTOZVTOZXziThY+fwHHP5JuwH0E/Z5ibiwBLHlx1TOcSLlBzA6IgIhBFpbW9WWlhajpaXFaG1tVSmlgIh+DIEVFXBsfjYCAA4AAOecNExpOCmfzM8qFovTHcdp4JxHOecEABxCiEMISRFCujRN2xWLxbace+65HY8++miBc+4yAj/e1AQex1DPEBHmzJkzbseOHRfl8/nPOo7TzDnXBBEtALDF5XiISxCxqCjKXsMw1tfU1LzS2dm5U2IEVmGAsW3XOAsXLoxu2LDh/xSLxUsZY7UAkBeXS2wmfXUEI8i/Y+K5dEppTtO0NVOnTv1te3t7t3TfeIUBxpjkIyKrrq4+I51Of9O27akAkAWAgkQsl+AysV0UkJGAS0jBAcCglKYjkcivM5nMnwQa4LHOBOR4knxEZOFw+AuDg4Ottm1PAoCkILAiLgww7tDzN/ln93FZx3HUTDp9dSgUuq61tVUVxMeKGzg2iO8YhvFP+Xz+G5zznJBqRZJQHoB8QX+X1YT7OwcACpZlnbxq1aoJDzzwwIZnn32WHctMgMcL8cPh8BdyudxdANDvQ0AmXTLscwn6ZdXgfbzjURsFAIiHw+FX8vn8z4UnwSoI8DFZ+/X19fNSqdR9ADAkuX/cA+Xcx3jjh4AErnE4ZFnW9FgsNlQsFjuk16zYAEcTva688kqtv7//Ds65KjG1HM1zGYL66Hzv49z/px4Dz2svcPG7QiaTuay5+eQGwRhYQYCj+97Zzp3bv2ia1t8DQMpDOD8Dz6v7/dChFCJ4/8YAIGwWclGHOeuORQYgx7D0s1NPPTVRKJg3Cv9elSRaRgHiI+1E+uwojEXiY/37PQdKz08BIF8wC6c2NzdPkZChggBHw+VLJpM3Wpa1BAAyns+CAcaun85Hn7970aMcCqiFQiHMGFtfQYCjZPg1NTU1FovF6wAgJ6QffXR7EAKgpOtpAHJQn8f6oQEBgIJpmnOampqmH2soQI/VaN/Q0NDtjuO0DFP6sUQiBz2RP6+NIKODLPVeD0GzilZY2AIVBDiC79cZP378TNu2vwgAaY/0k4BL9gS8ko8+f/d7rBJgW7i/yxfMwimNjY0nHksocKwhABJCeD6fv5sxNk8Yf8THig9CAe/lp+/RJwDEpa8goYCMDAwADNM0Q4yxdRUVcITcvng8/pl8Pn+nkH4/6PcS2M8V9HsMSNE/FQBCABAHgGoAiEhh5SJ8FEWU1QcFgCJjbHxTU9OWdDo9cCwEh44lv5VwzkFV1T/atv0/hN/v1d9y+NbvZ+752ZVwU/wcBYA68VXzxBVc4g8CwB4A2CGY0FVNtniesK7rfzVN878451hhgFHM8VdVVV2WzWZXwv54PwkgLPNIM/Mx8pinDiAEAA2C8OAT/vVWGaHwPrYBQLsUhAIAcBCRjxs37u6enp6dY72AhB4rId9ly5bp69evf5hznhCEIwF6H0vAPvGx7McDQDMA6FLCB0qoExc1FABoBIDJsL9mYFB6TsO27cixYAvQYyXos2XLlmtM07zOI21QxtiDEsYfCALWegw8LBH08R5L2AvThK2wW6gJZIyNmzx58rvJZDI5lm0BegxIP58zZ051V1fXQ6Kej4F/EQcEoEFQ4cc4AIgJ4uMw1GGpGIIJADUAMBX2F6H0AEDUNE3Vtu0NI6gcQp+AVhBDfyIYgCIiS6VSX7Us6397Ej5BSRwsY/kzAEh4iD9Swvsli2xhOE4TDPGBbdtNPigQFKkMCjfzMkEseji9DDjGgz68sbGxqaur603OuSHp/nIFmUE3zhJEqhUEQx8h4MPICjKf6KBsOOoA8BYAtIfD4Q35fP5nfh6B24OAiICIYNs2veCCC4xkMml0d3froVBINwwDCoUCICJHxGJdXV3Btu3Cm2++WaSUMlGbCO5XT/qalUMeZSzDPyKyffv23co5HycsfyUgXFuKsVGS0KjQ1SB0NwidTUokiyBAArkPA7gnDwDzAcDI5/POzJkzm9vb2ztnzZpVlUqlGrLZ7CTLsqYxxhoZYxMZYwkAqFYUReOc6wCgcM51RNRkVcM5L2zdurXIOS+oqpomhPRTSnsJIR8oirIjGo1uPf/883c9+ugvC5wzb7SXHUsIQAHASSTGzU2l9q3mnFsenQslqnz8Pp8DABFCSJ+maT+jnP7FQWe8bdtX27Z9gWu4lUACP2LzALThnoDSrnA4/J/FYvFnZ599dtPbb78903GcicVisclxnBrO+XjG2DjOeS0AJDjnUcHojmCkInyUeyCeuISc57ARMU0p3UspfU9V1Tdra2v/0tnZ2V2qsWXMMoDo1HnStu3LhGFFD0FPuzBoUEp3nHDCCZdv2bLFbfAAQghomvb1YrH4Xc55oQQS8BKqhZdgAhsANIK4Y87cuZdt2rRpj1cFuGrg5ZdfVpYtW1afzWabC7nCTItZpzmOM5dzPo1zHpb6GrxMZnvcV7e2gRFCBlRVfSsWi/2qr69vk19jC45d6U+0pFKpP3DOM2USK7xMpy8iotZQ1/DZvfv2bhQ2gGv8cUKIo6rqD4vF4ldhf7En8YF1v0CStyaABzScWABQret6q2VZX2OMqZ5sIvjpakSEK664Qlu1atUp2Wz2XNM0lzDGZorny0r/78DBha2W+J4AgI6IpqZpL0+cOPGB7du398pMMBYzVnzlypU0m81+22PYQIkCDj897ZZxJzRNe7irr2ujkA5T7gRijNHrr7/+m4SQdwVzjCRqFxRilqOQCAADpmleVV9fP1tqNPE2oxxQe8A5p0899ZTZ19e3oVgs3n3jjTcujkaj/6goSpswYolP5ZLrEaiSvZTlnJvFYvHCnTt3PhiPx0+TmGPMIYAb8r0im80+IQw/OgJieP1zBRGzkyZNOquzs7NbUgl+r3l5Npv9LXyUYfST9CCo98sxMInAFgDENE172rbtLzHGhhselt1XBwBg1apVysUXX3xDoVC4hXNuSgzFPK9pe35nivthx+PxW5PJ5CYAIGSsBX2uvPLKUD6f/7rHOocR3izX8IsZhnF3Z2dnV4mYvAMAJJPJ/J4Q8hoAGD6p31K6HgJcQRmaAQAGLMv6bG1t7amyBA6DqZmksuiiRYucQqFwfzQavR4R5Y6noDoI928KAJiccy2TyXyjpaWlCgA4GWuVPs8+++w1juOcJvQcOcTIFxNW/8YlS5b8bBgJGUREVlWVuDPA/+dlvAII8AJkJrA450oqlbrWZwbBcBHObXVXM5nMC+Fw+B4pgeWNfvqVx6sAkHccZ/Jbb711ASKOGQZAAGALFiyoLRaL/wL7y7yUErq/nAfAAEAPh8P/9tRTT+WHEYp1AIBks8k/EUJeAICwJLkQ4P5BGd3veDKOXKDAZxoaGuaNAAX8Pq/NOScLFix4mBCyV6AWeKqcgqqjFQAwTdM8ixAyZoxAgoi8ra3tJsbYVGGNDzd66Q33MgBIKIryYiaT+T1IQyLKMSFjDOLx+F2IaPv4zXwYRh/3Ib5soVucc+zv77+GHJ725QDAX3vttSwhZDPsT2f7Faz6lbq5/1//rW99SyFjpcq3ubl5imVZ/+SJ9+MIBjjJbp8dj8fvRMSRdO86AEBTqdQbiPg7gQJ2Ccvf73de6JftAfe5UqZpfqqurm7uYaCAHP7FEpXNflXRLjMUv/Od74wJFYCEEN7V1fV/GWN1wqo9VO/EBoBqVVUfHxgYWOda+CMyHhiDmpqaf0fEovh/XobwzKOjnQA0YJItwFOp1BcPAwUQAGDBggUxxtgpwsIPaonza4lXCSE9lFKHjAW3r6am5jTLsr7gE/HjnkBPqRk9HABUROxvbGz83iGWYzkAQAcGBjaoqvqUqAW0h2EA+nUWOwHIAACQM01zwQg9goMSZe3t7X/DGGuWGCCo5/GgSuZwOPwqY+xjtwE4IQRSqdTtItvHSuj4crlwBwASuq7/565du3YdRikWZ4xhNBr9N0R0m05KuX8swPjzTh6R5xHZnPNiJpO5TKAAH6H0O62trWo+n79FICYNcIW9jS0cACKU0o558+a9BgBIPu4q36qqqgts274koNKnXMGHLIEhQsjmU0455f7D7NdnAEAGBwffV1X1cYECTkAUkh8iEzAASBeLxVPr6urmwMj6CHDx4sX6jTfe+BPHcT4lPCZSoiTugG4oRNRjsdh9q1evLnycDIAAwFtbW9VcLnc7l3KXw0zt+nX9VEUike+vX78+NQqzezhjDBOJxPcRMSmFVXmA4efHBH5M4TKBJVDASafTl4wABRAA2NatW8dRSiOEkA7YX9OoSqoEA4JBDADqDcN4MJlMvu4KIPk4Lf9bbrnl847jLJS4uBwT+I15YQAQo5S+/vTTTz8xSlW4DADIvn37tmua9gsRbHFKRAWDKo8dn9Cs7BFki8XizKamplklUAClziQCALSjo+MD27b/du7cuZ+tqqq6lRDSJ6qcnADJ5wAwzjCMR4vF4gOcc/pxJYM+fEMtLS1VuVzuNk/s/ZCqlxAQE4nEnYsWLbJHcXIX55zjpEmTfoSIvZKUBY2dKVWizgNiBDbnnPf29l7kY7SipLcdke//MLTsOI66cePGfblc7ifTp0+/UFXVl0WxC/OxA+oMw3jYsqw7pDwEP5oMIAcgCCKytWvXflm4MEOe98FHaLVXq5r628HBwT8fittXDgU6Ojp2a5r2oFRDCCV0v/cKihbKCaOhYrE4Y8qUKSdJKIAAwBHROf3002urq6sv0XX9y4Zh3JRIJJbMnj17PCJagku1rVu37nnxxRc/r2naH2B/car7+mFEDIfD4W+bpnmn4zgHFYWQozSnl7W0tBhnnnnmFADgTU1NjYVC4StSexcfhqT7MYaCiOm6urq7GGNHoguHcc5x5syZ9xFCdohaP1YiMRQUGeQ+TSsuM9mcc7Onq+fSVatWfWhrLFu2zNB1/dvr169fk0wmVxaLxXvy+fx/pFKpx9vb21/RNO27Z5xxRky4gOqiRYvsiy66aDml1I0MVhNCemtra6/J5/O/EJJ/kBt9JKuCqRjXyqurqxcODAzMNQxjx759+7JDQ4XvOI59gY8FO5KKHxsAanVdvy+VSq10X+9IfI6enp6sruua8FYyHvtjOB6ANzpoS2liQEQtFA5t7ezsfGfbtm12U1NTzeuvv/4by7KuFqphSLqKnHPDcZyW7u7uRdOmTXtpcHBwEADUzZs3DyUSiT3FYvFqVVUfmzd93vUdH3S8V+rekCMk9Yo7rtUwjDssy5qradqLbW1tvY2NjbNt27wW9nfS0BFY+16GMAghOydPnvyjIzymjXHO8cwzz/yZiLsbHqmGEvkBb7wAJWYgAFClqmqmvr7+kVwu9/Dzzz9vcs5pd3f3g4yxRQCwVzALlYZdusTscRxnzq5dux5ZsmSJm7wiJ5100uq6uroLHMe5af2W9X3l1CIeiVJuROSxWOy8oaGh2w3D+Hk2m32Mc04IIYwQ8rht258XDEDKlGKXCvnWh0KhL+fz+dZR1v2lBlHemM/nfyQaP4jXrfP53pVyt3DDLfAklNLBcDj82plnnvnMSy+9lBLEtSORyOdzudxjANAtVS6DT+DJbVYdFwqFVhSLxXsYY9QTsyh7L0cTARQhLaBp2n9ks9n/UhTltkwm85jb0ROPx892HGepFPIdSRuWbJxVEULWfu1rX/vFUWq+ZJxzPPvssx+hlL4rEkWsTKEI9ynoiCKipev6yydOPPGObDb7mCA+cV+jWCwu8/GMgu6JCgBZ0zT/7rrrrgtLrzPs0fY4Wq4dIrKGhoaTuru7HwOA0PTp0y/cunXrHokxuKqqf7Jt+xyP3+9XVePt/OHekG80Gr0sk8n88ShI/wEoEIlErs1ms/cCQK94b7bnsqRWcTdMSyile3Vd/3NjY+PzHR0duz2l2gAAfOrsqeN3te96kzEWDeha8m2BR0ScOG7iJbt7dr8zUoEgowH5hBAWCoWu6erq2kQI6V+6dOnpgviuhc+i0egVtm2fKyx/MkwmRJ/6/mpFUf6Yy+WOJvFdFCBLly59nBCy0VM0gp7OYRQh5DCl9INIJNI6derUr+Tz+Z9v27Ztt7BZ0DuHKNebG8c5j/gQPygC6r4vI1PITDjald4UAGD+/PlxVVVbAYArivKoiDLJqUeybNkyQ9y0POwv9ByUrgHxu3JXHwD0IWKmrq7utI+pt5ECAMRiMdeG2SyudwBgIwC0AUA7Iq5RVfW+eDx+3uLFi3WpBMxbwXuAINbX15+AiF3CxugWX3sE2vSK33UJ43A3AHQCwA5E7K6urv700bwnCgDAhAkTZhFCXgcArqrqA2T/B0VJwikAQCgUWi64vU/o/6REfJcBBsowQw8AMFVV7xc3lH5MOQy89957dUVRXhYE2Cy+biWE/MkwwrfW1tae5Mn1U59xtXDTTTfpDdOmNQtXD66//vowpXSjuA8yA7hM4DKGzAC7CSHtc+fOHXe0EEBBRIjFYosJIdsF8X9KKQWfCZzk5JNPrkXEnWKiRlJk/bwM4L28DNEHAElCSNfEiRObPEwGHwcKRKPR/4mIg4SQdaqq3huJRM5vaWmpkgiPkuv24S8JITBx4sQTdV2/TlGU3ymK8vTixYv1/X8ioOv63cJ+2CMR3YsCLgPsBICUpmmPiNclR8MQgnA4fA0iDgAAUxTlyZUrV1KfgA5FRNB1/V+F9PdLxE96VMBgGYboBQBmGMYtH6P0H3BaWlqMWCx24bRp08Z5pF2RxtZ+SPQTTjihKRKJ/K2iKA8h4loAeB8A1gNAW01Nzfnic5Hm5uZpSMgewfR7S6iB3QCwGxF76uvrTz3SkV03lwyGYXxVSHOWEPLqwoULoz4SSQAAm5ubpyJiv7D6Uz7wPzgM4veJ12qbO3duZIyucVPgo6FSHxJ98uTJE6qqqq5UFOVBRFwHAB0A8J4g/F8A4A0A2Kgoyq9FGFhBRIjH40sRMSs+/25B8B6J+B8AwD4EHBLCeOSJLxopbxfwtA8Rd02aNGl6gOFBEREURXnILYcWDJAKkHz5Zy8D9AAAj0QinxtDQy1chte8ki6IvlRV1Z8i4gYJqt8FgA3i+isArIP9MwTWAEB7KBT6skASFREhGo1eSgjZKlzKnCQ8OQAwCSEdsUjsC4eLiDhMnW+rqvpN0zTvEFxYH4lErs7lck+6ESxvnV9tbe2CgYGB10T7EpQprgwK+NgAME5RlEcty7oaEclRdPuCiA7yeyCEwPjx45sH0+nP2MXiuYyxBYyxceIxQ9IIOvSZUMakQRXj6+rqbuvv718pdh9Y8+fPr2tvb/+iZVktnPMmIVjdiqKsGjdu3GNlOp5GhQEURLSNcPif87nc3UIHVSuK8hJj7FJP6FG6J4QRQp6zbfsiye/nw5jDL98gAwCqFEVZefnll1/91FNPFY7yqjb0FFQwt2uXMUYmTJgwK5lMnuM4zmdFG7c7bConiO4Nx3p7B93egxAiyWua+nw0Gn2kr69vqzwW12Wye+65RwcAuPnmm4uMsQOE7UjNCaSI6MRisaXpdPpxznlKvPl4PB6/JJVK+eXfKQA40Wj04kwm84zU3hU0WMHbGk1FKlMnhOwMhUI/yufz94sPfDSGLgZK+Zw5cxI7d+5cUCgUWizLOptzfoIY5mAKSbd8Ipc8oBhEEzWMfbqu/yGRSDzZ09PzvkRY2ZZSpGoiOcXuHMn7QSQ/v0tY8N0AkCGEbFixYoUWVLG7P+lD34T93T39Pv6+eyWFcViQQpqDlNLVkUhk+YwZM+rwo7gCHuF6hQNWyiEicM6xoaHh5HA4fI2iKL8Q7eNJwdR9bhAGALaLr+732wBgKwBsETGC90WgqN19nKIoL0YikZumT58+SfIgiE9/34cMKEUPj46uW7FihaYoyioBaa4VaimK8v8CfE7XS/iXcgkSBLQRMUMI2UkpfU3TtNZoNPoPEyZMmCniCUeqXiGQ4JRSOPHEEydGo9Eluq5/n1L6CiJ2CwbNAcA+KfjSKb7/QHy/Sxh6O4Slv00Q/j3BFF2I+J6maY8kEolLlyxZEvaJDh606Fow4ad0Xf9uLBY740i4elgi9XlDPp+/X3xwVUBOjaZpT9i2vcxH/yMA8Hg8vsi27XmmacYBIE4ppY7j2AAwpKpqlhDSp6K6RzGUvc3NzXs2btzYxxjzTrlSRgHi/NrFDxjNMmvWrPGdnZ1zTdNcaNv2pxljMxlj9eL1iwLa7TL7hOTLbSJR9ut2ZIi4xTCMF2Kx2O96e3vbPfqbeQtcERGWL1+uP/HEE5/OZrPnm6Y5nXOuU6puevLJx++66qqr2GhCPwYNZnz33XfXCGvWlizNCKW03bbtMwQH+1r0AkIPWMXu/hww9YNKxRLsMIl90PO4BG+cPn1iuqdnTrFYPMtxnDMYY7M45+NFutoUuQoz4P6wgHFxjkx0AdldiqKsNgzjmXPOOeeV5557bkjq4yOewk3HfY8zZ86csHv37nPy+fwiy7KahF1REO8pWl1dfc/g4OBro5kCR5+Ahh0Oh/9haGjoQaHrVA/nR2Ox2N9nMpmV4sZZnptCfHLZOMIBiOXeL/Fxqw4g9nnnnRdpa2ubms1m59q2Pd9xnE8xxk4Ui6RdghckAwvLbBT1Dprm0lh5QgjpIYT8Rdf15yZPnvzn999/v9sj7d4NpOBK+8qVK+elUqm/MU1zgUgFF4Xa4fJ8Q0rprmuvvfYbDz74oD1aKIABLtx/27Z9MfhP5lQRMZ9IJJYmk8nXBGfToGFHh/GevBB+EDq4xL744ovD69evbx4aGpplmuaptm3PdZgzgzPeyDmvEs/hSpPlM3YNygyHlF9bE0RHQkgXIWStpml/aGhoWLVjx44PPERH73AHRIRfsV/Rm5tunp1KpRYWCoWFjuNMFkZeRnp/3ssGgEg8Hr8vlUqtGi0U8FrxfP78+eG//vWv6zjnkwLGtHB38lQoFPrhKaec0rpu3bp+n0mVfv+HZYYtsYDxHYCI8PLLLys33HBD/cDAwJRsNj/DccxZjLGTGWPTGGONnPOYuPFuQUZRClKREkMleYnCCyJiEgYA2ISQ3YSQNbquv5BINLzS1bV9t0R0Oc3ryLGD5cuX67/5zW9mpdPpMwuFwpmO45wgELQglYpxT12Bd6y9qqpq5zXXXPP10UKBgxhgxowZdVu3bn1LBDZsOLByR+ZoAgAxQkiHqqrPhcPhFxoaGjZs3ry5m3MOASNMwW9Uqvz90qVLQ2+//XZiYGCg3rKsJsuyJluWNV0QebLQ2dWimdStyClKlTgwjGwh94F7uXDThXaKiDlE3EYpfcMwjBcnTpz45ubNm2WG96oj7rpurpFp2/YZpmnOchxnotSVYw1jxoC3ytgSKviBdDr94migwEEM0NLSYrzyyitvcc6nDWNQkyNuVBgRLUTsQcQPKKU7EfEDROxVFCVj23ZOeAJIKSWqquq2bYcopXHLsmKO49QiYj1jrI5zXg37J2bGACDEOVek1zIlQjsQ3BFbrsbQa3+4BpwGAA4hpJsQskFRlNWRSOSV5cuXt915552mD9EPUHmEEJgwYcJpAwMDF4oI4amc8zqR788JiHfjH0Ml9hnL4+OYZ+KXQintPv3007+6Zs2aw46Oot+ETkVRfmWa5hUieKMMo2HDLWHSpBl19BA6cWwJ7hyfOf44zJn+QXMEHSlPrwtY54jYj4ibKaVrDMN4LZFIrNuzZ89eGclK2DkEAHhtbe2CZDL5Q8bY6ZzzkGS8WRJiEskITIv4yj7pPQW1nsnTxiwAiCUSiZ8mk8nfH244GP0GNsTj8fNSqdTzgluVEUSggqx7DIDcUiPeIWBlCx/mnGAmPUYRxNaEukkh4nZK6VpN014Nh8N/6e/v7/AQnEgQW8pbIQDAxo8ff0pvb+9GzrmLVKRE4asc0EmLYNKAVDnE5c4hnwETlFLafdFFF9387LPP5g8HBfxGpRPTNLfrul7jOM65UjyfjMAf95tUhSV2+JVajlCyxdyTYOHSpMwqd/mTiDq+oyjKM6FQ6IFoNHrXrbfe+oNVq1Y9Y5rm20NDQ4OSN0PK7A3yY3o6NDTUo2ma7jjOIs/QhiAGd587BPsXVRHBDLxMvz8X8/7G7d27N22a5ns+7XWHFQlEAMDW1lZ60003/USsaRmS5ujiKCVmcIRLGfyQxc3Ja24PvzDaeoCQzRRxk67r6yKRyMZ9+/bt9Ei4LAD8MI0pAgB88uTJ4zs7OzcKO8YuE1fwIpUi3O6twvaSoZ159hfaAgX6zz777K+sXr06d6goUGoCByeEgGEY1xUKhW8yxqaIFx7ymW+LZdyqcm1e5dQHFVItb/B0PiQ2QAel9F1VVdtUVX2ntra2Y+fOnakyBOejnE2jiOjour6iUCh8Rxh6agDhg7KjVBB/q1C/mo876DKqCQDRSCTyUC6XW3moHgEOp+Fj4sSJNf39/X9nmubnGGNzhIUOnkYINoJAkHfQMZVSn161ZCJiRiRU+gkhHxBC3qOUbjYMY0ttbe2u7du3p32ILffX86PQPYQAALNmzap+77332sSSC6vM5nI/5ncFaBt8NCuZBcwjQEppavbs2cs3bdqUOhQUwOFO8nKDMYlEYlahUPi0ZVmf4pzPZIxN4pzXiIYGbZjP+WHPHCLmASCHiCkA6FcUpQ8J6aaEdGma1q0oSl80Gu1DRFZdXb1nw4YNXT55c/RxzfjHVBtoa5r2VdM0fyjsJzqM8LJfEymITGKvlBzztqOZokvqIbf/cqSMjjCyQomDMmpnnXVWtLOzczyltCqbzdbYth1TVdUYGhpSXdgmhCCllGma5hQKBQcRHU3TbER0ENFyADgFoJZlqYyxsOM4YdM0qznnCcZYlDEWo5SSxprGb3T2du7ysc75WNpxuHDhwqo1a9a0McaaJI+Al6mK8kudo0gx7wtYlOk2mqZnzZp1w9tvv50cKQrgIRo8RLaSRR3Aly3LWkII6WSMUbHmxQYAqqqqwhjTGWMGYywMABGxG8cQwR5N3nQhGTs5dxVKdXX1jQMDA++N9U2cLgqEtNA/5838vQIFlDJSX2okLQokGJTC3N7ZBLFwOPxLsZxqRPcHR8PwicVi56XT6ZdKhH1ZQAOlJV2253tHqB41kUjcOjg4+PpR7gU8LBRoaWmJvPrqqxuE8WyWiIOU2kYiXzul+krHk6BCQkhx9uzZ17W1te0bCQrQw/2gc+bMSezevftpYQOkhRXr7rcZElKcE9/nhTtZ8Anrekeq2AAQr6qq+m4mk3nxGCH+hyiwa9eugqZpluM4l0puHQxzCIafJxSVClS8U0AdznkinU5zx3HeGsmmUnK48/03b978PcbYdPHm1ICgjrfCNmiWjssMRQCIGobxxFBu6LcigXKsEB+kaR2/lKaKOIc5HZwCwCTJ0JZHxykAkC8WixfNmDGjcSSDJ8nhzPiNRqOLLcv6R6luwFvpW2qIouMzU99lgrCiKOvvvffeexhnY13nBxGMtLW15QzD+IFkAwwnwhlUCOuuoZsAB45/d79njLHqzs7Oq8SU9CM2HwABgC9cuDCazWZ/LIw9v5Up3nFofvPz/WbnISFkYOrUqSu+9KUvWUe5F2DUUeDaa699nBDyjgj5OiWWWg9rRrCYOzBOQgV5UVS+WCwunj59etNwh1DTQ93n29vbe6dt2//LI/3lJmg6AcsVHGkYYigWi3177969bUdw8tfROuStt96yQqFQ1rKspT6j8LHMzsPAbSji+4LPsIjY0NAQdRznjeGE7MmhQH9tbe180zS/Iq124WWmZrIA4jNPRW3cMIzH0un0qmPM6CuJArfeeuuvRN9/yKe4NKgEjpfIl7gLsCOSGnAbVAvFonnhcFGAHspyB9M0f+I4jjzls9SoVD/o927WsgEgpCjKhvvvv//2Z5555liFfV8hW716tR2JRPpN0/ychALDTajxEvkDQxjM/MBaA54oFAoDYnV9SY9gJAjg5r1Ptm37PGnQU6ndOcOdnk0IIenm5uZjXe8HosDDDz/835TSdR4UGE6iDAMWZrhET3gMQhUAHNM0PyOmgzqjpQIIAEAymTxP9MRZZcakOj5XEDMY8Xj8u9u3b+88DvS+L2GvuuoqJxQKfS+gWLZkmV5AAQyX+gwjnv2AwBibcuKJJ9aW8zpGwgAcEUFAf1DggvvsznEC3EIumChuGMYTyWTyheNE75dCgd8RQtZIHkHJmowy5W4HLMsQ6sBFAOCch4aGhmpGkwHcUw3l16mxgNJm+WsRACKKoqy77bbbfnyEx72OGRSIRCL/7ukFDLL6g5ZUBRHUkAJDBAB0x3GUIxEHKAxjXLpTorSZiTCwRgjpb25u/vYdd9xhHmd6PxAFHnrooT9QSt/wWUUznBnJUKY20ZD6Es1IJFI2LzDS3bygKMo2H8sfAvx+P2QwRf9/IRaL3Sz0/vEu/QegQCwW+xoishLwD2W6pYKYwjUEQ4SQXR0dHfvKeRtkhJMyIRwOPy+2aZVKZQb5+yYAhAkhqWg0ujyZTLYdp0ZfybV0yWTydV3X7wpYSwcBm7+Ggw4uDap0Xf+9CAmT0VIBDADIwMDAelVVn4H9mymKJULAMjO4Wb8Epcr7TU1N16ZSqY3HsdFXTpCoaZp3GIbxC9i/iYQFrMwr1QHtpxIsAKhVFGXdFVdc8Wv4qEJq9AJBnHNoPKHxjVwydyHnvFnEA5yABI/rKoYQ0dY07ZeXX37ZN9988819nyDYD1pIRDjnv9M0rUrsBlB9egRLLaxkPsupagkhexoaGq559dVXe0eSFh7x+JgpU6ZMVhTlWaEO0rB/qOEu+GhKxg4A6EDEtaqq/jgej8/zTMX4pB+36Bai0egSQsg6icCWiLJmxb1NSaN2+uDAiaHdYoZyr6IoKydMmDB5JPcYD2ftGyEEwuHwZYVCYQljbAYAVHHOHURMEUK2a5q2NhKJrOrv69/GOIORzLH/BB0KAM6KFSuUH/zgB5dYlnUpY2wOANSIvkiOiFzsVjzgElvEBlVV3aTr+rPZbPZPomB22OiKh7v7T25/Xrt2bSSfz7N58+YVHn300YKnzQo+yZA/HCaQi20XLFgQy2azB/jxlFLuGebAN27cmCaEMOle45EuCg2yIxwfBsGjVJN/vKgEEnAvD5UGR4UBYARt2ZVzZGhTudeVUzmVUzmVUzmVUzmVUzmVUzmVUzmVUzmVUzmVUzmVUzmVUzmVUzmVUzmVUzmVUzmVs//8fzjsXcePS1GRAAAAAElFTkSuQmCC`,Fj=`https://github.com/WNLUO/dsh-mobile-server`,Ij=`https://github.com/WNLUO/dsh-mobile-plugin`,Lj=[{platform:`android`,channels:[{nameKey:`panel.links.distPlatform`,hintKey:`panel.links.domesticRecommended`,url:`https://app.wnluo.com/api/public/apps/14/download-latest`},{name:`GitHub`,hintKey:`panel.links.overseasRecommended`,url:`https://github.com/WNLUO/dsh-mobile-plugin/releases/latest/download/ai-hub-android.apk`}]},{platform:`apple`,channels:[{name:`App Store`,hintKey:`panel.links.appStore`,url:`https://apps.apple.com/cn/app/ai-hub/id6821681438`},{name:`TestFlight`,hintKey:`panel.links.testFlight`,url:`https://testflight.apple.com/join/4fn5PCMD`}]}],Rj=[{nameKey:`panel.links.publicRelay`,url:`https://ai-hub-de-1.wnluo.com`},{nameKey:`panel.links.publicRelay`,url:`https://dsh.iouf.cn`},{nameKey:`panel.links.publicRelay`,url:`https://dsh.yfyidc.cn`}],zj=Rj[0].url;function Bj(e){let t=e=>e.trim().replace(/\/+$/,``),n=t(e);return!!n&&Rj.some(e=>t(e.url)===n)}function Vj(e){return e.name===`GitHub`?(0,G.jsx)(Jj,{}):e.name===`App Store`||e.name===`TestFlight`?(0,G.jsx)(qj,{}):(0,G.jsx)(Yj,{})}function Hj(e){return e===`android`?(0,G.jsx)(Kj,{}):(0,G.jsx)(qj,{})}function Uj({channel:e}){return(0,G.jsxs)(`a`,{className:`flex items-center gap-3 rounded-lg border border-border-muted px-3 py-2.5 transition-colors hover:bg-background-muted`,href:e.url,target:`_blank`,rel:`noreferrer noopener`,children:[(0,G.jsx)(`span`,{className:`flex size-9 shrink-0 items-center justify-center rounded-lg bg-background-muted text-foreground`,children:Vj(e)}),(0,G.jsxs)(`span`,{className:`flex min-w-0 flex-col gap-0.5`,children:[(0,G.jsx)(`span`,{className:`text-sm text-foreground-intense`,children:e.name??(e.nameKey?$(e.nameKey):``)}),(0,G.jsx)(`span`,{className:`truncate text-xs text-foreground-muted`,children:$(e.hintKey)})]})]})}function Wj(){return(0,G.jsx)(`div`,{className:`grid grid-cols-1 gap-4 sm:grid-cols-2`,children:Lj.map(e=>(0,G.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,G.jsxs)(`div`,{className:`flex items-center justify-center gap-1.5 pb-0.5 text-xs text-foreground-muted`,children:[Hj(e.platform),(0,G.jsx)(`span`,{children:$(e.platform===`android`?`panel.links.android`:`panel.links.apple`)})]}),e.channels.map(e=>(0,G.jsx)(Uj,{channel:e},e.url))]},e.platform))})}function Gj({size:e=`md`,variant:t=`outline`,className:n}){let[r,i]=(0,g.useState)(!1),a=(0,g.useRef)(null);return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(Q,{variant:t,size:e,className:n,onClick:()=>i(!0),children:$(`panel.download.open`)}),(0,G.jsx)(cD,{open:r,onOpenChange:i,children:(0,G.jsxs)(lD,{className:`max-w-xl`,closeLabel:$(`panel.common.close`),initialFocus:a,children:[(0,G.jsx)(uD,{children:(0,G.jsxs)(dD,{className:`flex flex-wrap items-center gap-2.5 pr-8`,children:[(0,G.jsx)(`img`,{src:Pj,alt:``,className:`size-8 rounded-lg bg-white p-0.5`}),(0,G.jsx)(`span`,{className:`min-w-0 break-words`,children:$(`panel.download.title`)})]})}),(0,G.jsx)(`div`,{ref:a,tabIndex:-1,className:`outline-none`,children:(0,G.jsx)(pD,{children:(0,G.jsx)(Wj,{})})})]})})]})}function Kj(){return(0,G.jsx)(`svg`,{viewBox:`0 0 24 24`,className:`size-3.5 stroke-0`,fill:`currentColor`,"aria-hidden":`true`,children:(0,G.jsx)(`path`,{d:`M17.523 15.3414c-.5511 0-.9993-.4486-.9993-.9997s.4483-.9993.9993-.9993c.5511 0 .9993.4483.9993.9993.0001.5511-.4482.9997-.9993.9997m-11.046 0c-.5511 0-.9993-.4486-.9993-.9997s.4482-.9993.9993-.9993c.551 0 .9993.4483.9993.9993 0 .5511-.4483.9997-.9993.9997m11.4045-6.02 1.9973-3.4592a.416.416 0 0 0-.1521-.5676.416.416 0 0 0-.5676.1521l-2.0223 3.503C15.5902 8.2439 13.8533 7.8508 12 7.8508s-3.5902.3931-5.1367 1.0989L4.841 5.4467a.4161.4161 0 0 0-.5677-.1521.4157.4157 0 0 0-.1521.5676l1.9973 3.4592C2.6889 11.1867.3432 14.6589 0 18.761h24c-.3435-4.1021-2.6892-7.5743-6.1185-9.4396`})})}function qj(){return(0,G.jsx)(`svg`,{viewBox:`0 0 24 24`,className:`size-4 stroke-0`,fill:`currentColor`,"aria-hidden":`true`,children:(0,G.jsx)(`path`,{d:`M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701`})})}function Jj(){return(0,G.jsx)(`svg`,{viewBox:`0 0 24 24`,className:`size-[18px] stroke-0`,fill:`currentColor`,"aria-hidden":`true`,children:(0,G.jsx)(`path`,{d:`M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12`})})}function Yj(){return(0,G.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:`size-[18px]`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.85`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,G.jsx)(`path`,{d:`M12 4v10`}),(0,G.jsx)(`path`,{d:`m8 10.5 4 4 4-4`}),(0,G.jsx)(`path`,{d:`M4 18.5h16`})]})}function Xj({on:e,what:t,label:n,className:r,disabled:i,onClick:a}){let o=n??$(e?`panel.common.hide`:`panel.common.show`);return(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,className:r,"aria-label":`${o}${t}`,disabled:i,onClick:a,children:o})}function Zj(){return(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,className:`size-6`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.6`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,G.jsx)(`rect`,{x:`3`,y:`3`,width:`7`,height:`7`,rx:`1`}),(0,G.jsx)(`rect`,{x:`14`,y:`3`,width:`7`,height:`7`,rx:`1`}),(0,G.jsx)(`rect`,{x:`3`,y:`14`,width:`7`,height:`7`,rx:`1`}),(0,G.jsx)(`path`,{d:`M14 14h3v3M21 14v.01M14 21h.01M17 21h4v-4`})]})}function Qj({status:e,pairing:t,addressBook:n,busy:r,error:i,restartError:a,onOpenConfig:o,onChangePolicy:s,onChangeTier:c,onChangeAutoReview:l,onOpenSelfCheck:u,onRetryPairing:d,onSavePreferred:f,onEditPort:p,fill:m}){let h=r!==``,_=e.pairingPolicy===`code`,v=e.pairingTier??`full`,y=e.approvalAutoReview===!0,b=t?.relayUrl||e.relayUrl||`—`,x=$j(n,t),[S,C]=g.useState({relay:!1}),[w,T]=g.useState(!1),[E,D]=g.useState(!1),[O,k]=g.useState(!1),A=e=>C(t=>({...t,[e]:!t[e]}));return(0,G.jsxs)(xD,{frame:`solid`,className:m?`flex h-full min-h-0 flex-col`:void 0,children:[(0,G.jsx)(SD,{className:`flex-none px-4 py-3`,children:(0,G.jsxs)(CD,{className:`flex flex-wrap items-center justify-between gap-x-2 gap-y-1 text-base lg:text-lg`,children:[(0,G.jsx)(`span`,{children:$(`panel.pairing.cardTitle`)}),(0,G.jsxs)(`span`,{className:`flex flex-wrap items-center gap-1.5`,children:[(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,className:`px-2 xl:px-4 xl:before:border xl:before:border-border xl:before:bg-background`,disabled:h,onClick:o,children:$(`panel.pairing.openConfig`)}),(0,G.jsx)(Gj,{size:`sm`,variant:`ghost`,className:`px-2 xl:px-4 xl:before:border xl:before:border-border xl:before:bg-background`}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,className:`px-2`,onClick:()=>k(!0),children:$(`panel.common.more`)})]})]})}),i?(0,G.jsxs)(YE,{variant:`warning`,className:`mt-3`,children:[(0,G.jsx)(ZE,{}),(0,G.jsx)(QE,{children:$(`panel.pairing.qrFailed`)}),(0,G.jsx)($E,{children:i})]}):null,(0,G.jsxs)(`div`,{className:`mt-3 flex flex-col gap-4 sm:flex-row sm:items-stretch ${m?`min-h-0 flex-1`:``}`,children:[(0,G.jsx)(`div`,{className:`relative mx-auto aspect-square w-full max-w-[200px] shrink-0 self-center sm:mx-0 sm:w-[150px] sm:max-w-none sm:self-start`,children:t?.svg?(0,G.jsxs)(`button`,{type:`button`,className:`absolute inset-0 flex cursor-zoom-in flex-col items-center justify-center gap-2 rounded-md border border-border-muted bg-background-muted p-3 text-foreground-subtle transition-colors hover:bg-background-subtle focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring`,onClick:()=>D(!0),"aria-label":`${$(`panel.pairing.qrZoom`)}:${$(`panel.pairing.qr`)}`,children:[(0,G.jsx)(Zj,{}),(0,G.jsx)(`span`,{className:`text-xs`,children:$(`panel.pairing.qrHidden`)}),(0,G.jsx)(`span`,{className:`text-xs`,children:$(`panel.common.show`)})]}):(0,G.jsx)(`div`,{className:`absolute inset-0 flex flex-col items-center justify-center gap-2 rounded-md border border-border-muted bg-background-muted p-3 text-foreground-subtle`,children:i?(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(`span`,{className:`text-xs`,children:$(`panel.pairing.qrFailed`)}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,disabled:h,onClick:d,children:$(`panel.console.retryPairing`)})]}):(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(VE,{}),(0,G.jsx)(`span`,{className:`text-xs`,children:$(`panel.pairing.noQr`)})]})})}),(0,G.jsx)(`div`,{className:`flex min-w-0 flex-1 flex-col`,children:(0,G.jsx)(`div`,{className:`hscroll -mx-1 px-1`,children:(0,G.jsxs)(DO,{className:`min-w-max`,children:[(0,G.jsx)(EO,{label:$(`panel.connection.relayUrl`),nowrap:!0,children:(0,G.jsxs)(`span`,{className:`inline-flex min-w-0 flex-wrap items-center justify-end gap-x-2 gap-y-1`,children:[S.relay?(0,G.jsx)(`span`,{className:`min-w-0 font-mono text-xs text-foreground-strong`,children:b}):(0,G.jsx)(`span`,{className:`text-xs text-foreground-subtle`,children:$(`panel.pairing.hidden`)}),(0,G.jsx)(Xj,{on:S.relay,what:$(`panel.connection.relayUrl`),label:S.relay?$(`panel.common.hide`):$(`panel.common.show`),onClick:()=>A(`relay`)})]})}),(0,G.jsx)(EO,{label:$(`panel.pairing.port`),mono:!0,nowrap:!0,children:(0,G.jsxs)(`span`,{className:`inline-flex flex-wrap items-center justify-end gap-x-2 gap-y-1`,children:[(0,G.jsxs)(`span`,{children:[t?.lanPort??e.lan.port,t?.lanPortAdjusted?(0,G.jsx)(`span`,{className:`ml-2 font-sans text-xs text-foreground-muted`,children:$(`panel.pairing.portFallback`)}):null]}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,"aria-label":$(`panel.pairing.portTitle`),disabled:h,onClick:p,children:$(`panel.common.edit`)})]})}),(0,G.jsx)(EO,{label:$(`panel.pairing.phoneAddress`),nowrap:!0,children:(0,G.jsxs)(`span`,{className:`inline-flex flex-wrap items-center justify-end gap-x-2 gap-y-1`,children:[x?null:(0,G.jsx)(`span`,{className:`text-xs text-foreground-subtle`,children:$(`panel.pairing.noAddress`)}),(0,G.jsx)(Xj,{on:!1,what:$(`panel.pairing.phoneAddress`),label:$(`panel.common.show`),onClick:()=>T(!0)})]})})]})})})]}),a?(0,G.jsxs)(YE,{variant:`error`,className:`mt-3`,children:[(0,G.jsx)(ZE,{}),(0,G.jsx)(QE,{children:$(`panel.pairing.sidecarRestartFailed`)}),(0,G.jsx)($E,{children:a})]}):null,(0,G.jsx)(cD,{open:E,onOpenChange:D,children:(0,G.jsxs)(lD,{className:`w-[min(680px,94vw)] max-h-[90vh] max-w-none`,closeLabel:$(`panel.common.close`),children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(`panel.pairing.qr`)})}),(0,G.jsx)(pD,{children:(0,G.jsx)(`div`,{className:`flex items-center justify-center overflow-auto rounded-md bg-white p-2 sm:p-4`,children:t?.svg?(0,G.jsx)(`div`,{className:`aspect-square h-[min(64vh,560px)] w-auto max-w-full [&_svg]:h-full [&_svg]:w-full`,dangerouslySetInnerHTML:{__html:t.svg}}):null})})]})}),(0,G.jsx)(cD,{open:w,onOpenChange:T,children:(0,G.jsxs)(lD,{className:`max-w-xl`,closeLabel:$(`panel.common.close`),children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(`panel.pairing.phoneAddress`)})}),(0,G.jsx)(pD,{children:(0,G.jsx)(Nj,{book:n,port:t?.lanPort??e.lan.port,value:n?.preferred??``,busy:h,onChange:f,fallbackUrls:t?.lanUrls??[]})}),(0,G.jsx)(mD,{className:`flex justify-end`,children:(0,G.jsx)(Q,{variant:`outline`,onClick:()=>T(!1),children:$(`panel.common.close`)})})]})}),(0,G.jsx)(cD,{open:O,onOpenChange:k,children:(0,G.jsxs)(lD,{className:`max-w-md`,closeLabel:$(`panel.common.close`),children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(`panel.common.more`)})}),(0,G.jsxs)(pD,{className:`flex flex-col gap-3`,children:[(0,G.jsxs)(DO,{children:[(0,G.jsx)(EO,{label:$(`panel.pairing.policy`),children:(0,G.jsx)(QD,{size:`md`,checked:_,disabled:h,onCheckedChange:e=>s(e?`code`:`deny`),"aria-label":$(`panel.devices.allowTitle`)})}),(0,G.jsx)(EO,{label:$(`panel.pairing.tier`),hint:$(`panel.pairing.tierHint`),children:(0,G.jsxs)(fj,{size:`sm`,value:v,disabled:h,itemToStringLabel:e=>tM(e),onValueChange:e=>{typeof e==`string`&&e!==v&&c(e)},children:[(0,G.jsx)(mj,{className:`min-w-0 max-w-full`,"aria-label":$(`panel.pairing.tier`),children:(0,G.jsx)(hj,{})}),(0,G.jsx)(_j,{children:eM.map(e=>(0,G.jsx)(Cj,{value:e,children:tM(e)},e))})]})}),(0,G.jsx)(EO,{label:$(`panel.pairing.autoReview`),hint:$(`panel.pairing.autoReviewHint`),children:(0,G.jsx)(QD,{size:`sm`,checked:y,disabled:h,"aria-label":$(`panel.pairing.autoReview`),onCheckedChange:e=>{e!==y&&l(e)}})})]}),(0,G.jsx)(`div`,{className:`flex justify-end`,children:(0,G.jsx)(Q,{variant:`outline`,size:`sm`,onClick:u,children:$(`panel.pairing.checkNetwork`)})})]})]})})]})}function $j(e,t){return e&&e.lan.length+e.public.length>0?`book`:t?.lanUrls?.[0]??``}var eM=[`readonly`,`approve`,`full`];function tM(e){return $(e===`readonly`?`panel.pairing.tierReadonly`:e===`approve`?`panel.pairing.tierApprove`:`panel.pairing.tierFull`)}var nM={ok:4e3,soft:6e3,error:9e3};function rM(){let e=(0,g.useRef)(fd());return e.current=fd(),(0,g.useCallback)((t,n)=>{e.current.add({title:n,type:t,timeout:nM[t],priority:t===`error`?`high`:`low`})},[])}function iM(e){return e===`none`?$(`panel.devices.tierNone`):tM(e)}function aM(e){return e===`none`?`readonly`:e}function oM(e,t){if(!e)return``;let n=Math.max(0,t-e);if(n<6e4)return $(`panel.devices.justNow`);let r=Math.floor(n/6e4);if(r<60)return $(`panel.devices.minutesAgo`,{count:r});let i=Math.floor(r/60);return i<24?$(`panel.devices.hoursAgo`,{count:i}):$(`panel.devices.daysAgo`,{count:Math.floor(i/24)})}function sM(e,t){return e?cM(e,t)?$(`panel.devices.online`):oM(e,t):$(`panel.devices.noRecord`)}function cM(e,t){return e>0&&t-e<=3e5}function lM(e){return{ios:`iOS`,android:`Android`,linux:`Linux`,darwin:`macOS`,win32:`Windows`}[e]??(e||$(`panel.devices.unknownPlatform`))}function uM(e){return $(e===`relay`?`panel.devices.channelRelay`:e===`lan`?`panel.devices.channelLan`:`panel.devices.channelUnknown`)}function dM(e){let t=e?.model||e?.name||$(`panel.devices.unknown`);return e?.suffix?`${t} · ${e.suffix}`:t}function fM(){return(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,className:`size-4`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,G.jsx)(`path`,{d:`M12 3l7 3v5c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6l7-3Z`}),(0,G.jsx)(`path`,{d:`m9 12 2 2 4-4`})]})}function pM(){return(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,className:`size-4`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,G.jsx)(`path`,{d:`M9 15l6-6`}),(0,G.jsx)(`path`,{d:`M7 17l-1 1a3 3 0 0 1-4-4l2-2a3 3 0 0 1 4 0`}),(0,G.jsx)(`path`,{d:`M17 7l1-1a3 3 0 0 1 4 4l-2 2a3 3 0 0 1-4 0`})]})}function mM({onRevokeAll:e,busy:t,fill:n=!1}){let r=rM(),[i,a]=(0,g.useState)(null),[o,s]=(0,g.useState)(null),[c,l]=(0,g.useState)(!1),[u,d]=(0,g.useState)(null),[f,p]=(0,g.useState)(`full`),[m,h]=(0,g.useState)(!1),_=(0,g.useRef)(!1),v=(0,g.useRef)(null),[y,b]=(0,g.useState)(!1),[x,S]=(0,g.useState)(null),[C,w]=(0,g.useState)(!1),[T,E]=(0,g.useState)(!1),[D,O]=(0,g.useState)(!1),k=(0,g.useRef)(0),A=(0,g.useCallback)(async()=>{let e=++k.current;w(!1);try{let t=await Rk(`/api/relay/devices?history=1`);e===k.current&&S(t)}catch{e===k.current&&w(!0)}},[]),j=(0,g.useCallback)(async()=>{try{let e=await Rk(`/api/relay/devices`),t=e.revokedCount??0,n=v.current!==null&&v.current!==t;v.current=t,a(e),n&&_.current&&A()}catch{}},[A]);(0,g.useEffect)(()=>{let e=()=>{l_()&&j()};e();let t=window.setInterval(e,3e3);return document.addEventListener(`visibilitychange`,e),()=>{window.clearInterval(t),document.removeEventListener(`visibilitychange`,e)}},[j]);let M=i?.devices??[],N=i?.serverNow??0,P=i?.revokedCount??0;(0,g.useEffect)(()=>{_.current=y},[y]),(0,g.useEffect)(()=>{y&&A()},[y,A]);function F(e){let t=oM(e.revokedAt||e.expiresAt,N)||`—`;return $(e.kind===`revoked`?`panel.devices.historyRevoked`:`panel.devices.historyExpired`,{time:t})}let I=(x?.devices??[]).filter(e=>e.kind===`revoked`||e.kind===`expired`),L=C||(x?.devices.length??0)>0&&I.length===0;async function R(e){l(!0);try{let t=await zk(`/api/relay/devices/revoke`,{deviceId:e.deviceId});s(null),await j(),y&&A(),r(`soft`,$(t.closed>0?`panel.devices.unbindDoneClosed`:`panel.devices.unbindDone`,{name:dM(e),count:t.revoked,closed:t.closed}))}catch(e){r(`error`,$(`panel.devices.unbindFailed`,{message:Uk(e)}))}finally{l(!1)}}async function z(){O(!0);try{let e=await zk(`/api/relay/devices/history/clear`,{});E(!1),await j(),y&&A(),r(`soft`,$(`panel.devices.historyClearDone`,{count:e.cleared}))}catch(e){r(`error`,$(`panel.devices.historyClearFailed`,{message:Uk(e)}))}finally{O(!1)}}async function B(e,t){h(!0);try{await Hk(e.deviceId,t),d(null),await j(),r(`soft`,$(`panel.devices.permissionsDone`,{name:dM(e),tier:tM(t)}))}catch(e){r(`error`,$(`panel.devices.permissionsFailed`,{message:Uk(e)}))}finally{h(!1)}}return M.length===0&&P===0?null:(0,G.jsxs)(xD,{frame:`solid`,className:n?`flex h-full min-h-0 flex-col`:void 0,children:[(0,G.jsx)(SD,{className:n?`flex-none px-4 py-3`:`px-4 py-3`,children:(0,G.jsxs)(CD,{className:`flex flex-wrap items-center justify-between gap-x-2 gap-y-1 text-base lg:text-lg`,children:[(0,G.jsxs)(`span`,{className:`flex items-center gap-2`,children:[$(`panel.devices.title`),M.length>0?(0,G.jsx)(rD,{variant:`secondary`,size:`sm`,children:M.length}):null]}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,className:`shrink-0 px-2 xl:px-4 xl:before:border xl:before:border-border xl:before:bg-background`,disabled:t!==``,onClick:e,children:$(`panel.pairing.revokeAll`)})]})}),(0,G.jsxs)(`div`,{className:n?`hvscroll mt-1 min-h-0 flex-1`:`hscroll mt-1`,children:[(0,G.jsx)(`div`,{className:`min-w-max`,children:M.map(e=>{let t=cM(e.lastSeenAt,N);return(0,G.jsxs)(`div`,{className:`flex items-center justify-between gap-2 border-b border-border-muted py-2 whitespace-nowrap last:border-b-0`,children:[(0,G.jsxs)(`div`,{className:`flex min-w-0 flex-1 items-center gap-2`,children:[(0,G.jsx)(`span`,{className:`text-sm text-foreground-strong`,children:dM(e)}),(0,G.jsx)(rD,{variant:`secondary`,size:`xs`,children:iM(Mk(e.permissions))}),(0,G.jsxs)(`span`,{className:`flex min-w-0 items-center gap-1 whitespace-nowrap text-xs text-foreground-muted`,children:[(0,G.jsx)(`span`,{children:lM(e.platform)}),(0,G.jsx)(`span`,{"aria-hidden":!0,children:`·`}),(0,G.jsx)(`span`,{children:uM(e.lastChannel)}),(0,G.jsx)(`span`,{"aria-hidden":!0,children:`·`}),t?(0,G.jsx)(TO,{tone:`ok`}):null,(0,G.jsx)(`span`,{children:sM(e.lastSeenAt,N)})]})]}),(0,G.jsxs)(`div`,{className:`flex shrink-0 items-center gap-0.5`,children:[(0,G.jsx)(Q,{variant:`ghost`,size:`icon-md`,"aria-label":$(`panel.devices.permissions`),title:$(`panel.devices.permissions`),onClick:()=>{p(aM(Mk(e.permissions))),d(e)},children:(0,G.jsx)(fM,{})}),(0,G.jsx)(Q,{variant:`ghost`,size:`icon-md`,"aria-label":$(`panel.devices.unbind`),title:$(`panel.devices.unbind`),onClick:()=>s(e),children:(0,G.jsx)(pM,{})})]})]},e.deviceId)})}),(0,G.jsxs)(`div`,{className:`mt-1 border-t border-border-muted pt-2`,children:[(0,G.jsxs)(`div`,{className:`flex w-full items-center justify-between gap-2`,children:[(0,G.jsxs)(`button`,{type:`button`,"aria-expanded":y,className:`flex min-w-0 cursor-pointer items-center gap-2 text-xs text-foreground-muted focus-visible:outline-none`,onClick:()=>b(e=>!e),children:[(0,G.jsxs)(`span`,{className:`flex items-center gap-2`,children:[$(`panel.devices.historyTitle`),(0,G.jsx)(rD,{variant:`secondary`,size:`xs`,children:$(`panel.devices.historyCount`,{count:P})})]}),(0,G.jsx)(`svg`,{viewBox:`0 0 12 12`,className:`size-3 shrink-0 transition-transform ${y?`rotate-90`:``}`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:(0,G.jsx)(`path`,{d:`m4.5 2.5 3.5 3.5-3.5 3.5`})})]}),P>0?(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,className:`shrink-0`,disabled:D||t!==``,onClick:()=>E(!0),children:$(`panel.devices.historyClear`)}):null]}),y?(0,G.jsxs)(`div`,{className:`mt-2`,children:[I.map(e=>(0,G.jsxs)(`div`,{className:`flex flex-col gap-1 py-2`,children:[(0,G.jsxs)(`div`,{className:`flex flex-wrap items-center gap-x-2 gap-y-1`,children:[(0,G.jsx)(`span`,{className:`text-xs text-foreground`,children:dM(e)}),(0,G.jsxs)(`span`,{className:`text-xs text-foreground-muted`,children:[lM(e.platform),e.osVersion?` ${e.osVersion}`:``,e.appVersion?$(`panel.devices.appVersion`,{version:e.appVersion}):``]})]}),(0,G.jsxs)(`div`,{className:`flex flex-wrap items-center gap-x-3 gap-y-1 text-xs text-foreground-muted`,children:[(0,G.jsx)(`span`,{children:$(`panel.devices.historyBoundAt`,{time:oM(e.boundAt,N)||`—`})}),(0,G.jsx)(`span`,{children:$(`panel.devices.historyLastSeen`,{time:e.lastSeenAt?oM(e.lastSeenAt,N):$(`panel.devices.noRecord`)})}),(0,G.jsx)(`span`,{children:F(e)})]})]},e.deviceId)),L?(0,G.jsx)(`p`,{className:`py-2 text-xs text-foreground-muted`,children:$(`panel.devices.historyFailed`)}):null,(0,G.jsx)(`p`,{className:`py-2 text-xs text-foreground-muted`,children:$(`panel.devices.historyRetention`,{days:30})})]}):null]})]}),(0,G.jsx)(WO,{open:o!==null,onOpenChange:e=>{!e&&!c&&s(null)},children:(0,G.jsxs)(GO,{children:[(0,G.jsx)(KO,{children:(0,G.jsx)(qO,{children:$(`panel.devices.unbindTitle`)})}),(0,G.jsxs)(YO,{className:`flex flex-col gap-2 text-sm`,children:[(0,G.jsx)(JO,{children:$(`panel.devices.unbindConfirm`,{name:dM(o)})}),(0,G.jsx)(`p`,{className:`text-foreground-muted`,children:$(o?.legacy?`panel.devices.effectLegacy`:`panel.devices.effectIdentity`)})]}),(0,G.jsxs)(XO,{className:`flex justify-end gap-2`,children:[(0,G.jsx)(Q,{variant:`outline`,disabled:c,onClick:()=>s(null),children:$(`panel.devices.cancel`)}),(0,G.jsx)(Q,{variant:`destructive`,disabled:c,onClick:()=>{o&&R(o)},children:c?(0,G.jsxs)(`span`,{className:`inline-flex items-center gap-1.5`,children:[(0,G.jsx)(VE,{}),$(`panel.devices.unbinding`)]}):$(`panel.devices.unbind`)})]})]})}),(0,G.jsx)(WO,{open:u!==null,onOpenChange:e=>{!e&&!m&&d(null)},children:(0,G.jsxs)(GO,{children:[(0,G.jsx)(KO,{children:(0,G.jsx)(qO,{children:$(`panel.devices.permissionsTitle`)})}),(0,G.jsxs)(YO,{className:`flex flex-col gap-3 text-sm`,children:[(0,G.jsx)(JO,{children:$(`panel.devices.permissionsHint`)}),(0,G.jsx)(jk,{className:`flex flex-col gap-2`,value:f,onValueChange:e=>{typeof e==`string`&&p(e)},children:eM.map(e=>(0,G.jsxs)(`label`,{className:`flex cursor-pointer items-center gap-2`,children:[(0,G.jsx)(hk,{value:e}),(0,G.jsx)(`span`,{children:tM(e)})]},e))})]}),(0,G.jsxs)(XO,{className:`flex justify-end gap-2`,children:[(0,G.jsx)(Q,{variant:`outline`,disabled:m,onClick:()=>d(null),children:$(`panel.devices.cancel`)}),(0,G.jsx)(Q,{variant:`secondary`,disabled:m,onClick:()=>{u&&B(u,f)},children:m?(0,G.jsxs)(`span`,{className:`inline-flex items-center gap-1.5`,children:[(0,G.jsx)(VE,{}),$(`panel.devices.permissionsApply`)]}):$(`panel.devices.permissionsApply`)})]})]})}),(0,G.jsx)(WO,{open:T,onOpenChange:e=>{!e&&!D&&E(!1)},children:(0,G.jsxs)(GO,{children:[(0,G.jsx)(KO,{children:(0,G.jsx)(qO,{children:$(`panel.devices.historyClearTitle`)})}),(0,G.jsxs)(YO,{className:`flex flex-col gap-2 text-sm`,children:[(0,G.jsx)(JO,{children:$(`panel.devices.historyClearConfirm`,{count:P})}),(0,G.jsx)(`p`,{className:`text-foreground-muted`,children:$(`panel.devices.historyClearHint`)})]}),(0,G.jsxs)(XO,{className:`flex justify-end gap-2`,children:[(0,G.jsx)(Q,{variant:`outline`,disabled:D,onClick:()=>E(!1),children:$(`panel.devices.cancel`)}),(0,G.jsx)(Q,{variant:`destructive`,disabled:D,onClick:()=>void z(),children:D?(0,G.jsxs)(`span`,{className:`inline-flex items-center gap-1.5`,children:[(0,G.jsx)(VE,{}),$(`panel.devices.historyClearing`)]}):$(`panel.devices.historyClear`)})]})]})})]})}var hM=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAxgAAAMYAQAAAABgBnzJAAAGdElEQVR42u2dXY7yOBBFbyY8IoWlsICWiPQtYFY8UtCwAJYCEo8deR4gxPFPOgE62MzJQ0Q3kNOmnL5UuVxVGP368ZdgwIABAwYMGDBg5MjYF86xevhywUu987M6F7V0LupidS5qSVKx6k/9s847mFcwYMCA8cMRk4rKdCfdIhHGPvXPDt+BPV7CKI11NE9dMHCpN+t5sRqc7N91om4/y30OAwYMGE/r+VDDPXl3XoI9XsnYP+uae076KoXPytHu3it3PPXBE8wrGDBgwHiFng+9ck/lrSewB4yJDEesPVHvg+7E22HAgAHjGT3vDkesTUzjibfDmLx+7i+Y96LuRSTQcxgwYMB43j8PL5iHHXL0/KX22JmXXdO9VIL+uZct10k+9zkMGDBg/Ip/7mfLSQZ7vNoebfGyCwYulUJ++8wT8woGDBgwns5vn3XCHk8exf+hrsEgKW7kR/QcBgwYMNAPGG9nOOvivkQ7YXUvq90X+sHedewBAwYMGOg5jIUYA+22ve1IWD3sswerzWAPGDBgwEDPYSzpnw+S1x1h9orK+JF3L+iOfw4DBgwY6DmMBfU8ugXNqejqFIQLP3I0HnvAgAEDBnoOYyk99/ehhfamOYF4T8/xz2HAgAEDPYeh966fe3vNf6jjai+Ye+lxVgYd9oABAwYM9BzGQuvn/rp4OAavSXXkBu469oABAwYM9BzG4no+Vpf9HOs8M7KbLcHP6ryR2lX2Nm83/TnncRxuVsl8HG034zd5j+Nwv03yHkcdeJShnp/76VR+Z2yPo6TKmJOkNjl7yEw+rsO4DmRnZhxLjeNk/1kq+x9P2vXPft8H3Q3o9hKVxpjbqftx8N605tVFqq6PTtIl3/vjKG2vj6qZN0ha46hVNreHTd76se4ebOcpSFLjaO/TSlpf/wnnao/7dCoz9s/PG0vE9/UcRU/X59zme58f+9tcWs/6x7vgOEKNzH/sgzp0yOPtWZKyR21PpvJzYjJ1tuNoPjBG1hBPfC+jzaPe66Cb+Wjp9ttx+tt+XeCVVvnXlL6XtCsZ5u6Ceq5Am/O4nt9jvGN73TJYPz+cP8Pmda56XnIPps04ZjuOOg89D7U5t6SvqX/ukx5p2ZJgvL3/vnv5iPvjK+V6MtGtatcQiWWB859TO2XpPEk9t766H5uqqfOcV2v7H9YfaXvMcxyldaOf7aB1fvf55R4iXUvltqizHEdzv0E22kr6Z7KkpzWO+6JH21nnkpieV7Ee5oM+K+uRFmwa7YmeqA5euvBVm+W8Kp2//DjZJ1k+3h7dV3690ZtDIRVjnVNDu96S6D84uNHbWoW0TnFdbdb33YPt4taTvywmd59fp0vdfG0kqWoy6msZOnbNSmrLU+b+x1Fqpcs6dz/qIjUbHU+55l810q655l6dZP5NK/9qRl5f0afzzYu+JzevvtJd55SVBeeks90e9fOqtHP8qmHKXJ8U56TRJZcPp+3XZ8RFJ+seMWSxfv7oG7cfMY7tHIukvF/tuGXfHYxp/nm0I+qkejIKlJJh/zkMGDBgoIMwlq736ihxOG9disfbw11XsQcMGDBgoOcwlu6vNtJuLdol1W147mx4wx4wYMCAgZ7DeE99uEgR95CKO0+8Jx8OBgwYMNBz7IGe+6Ve/YXwUPlXb5ubUwUe/xwGDBgw0HMYy+8/9/PcxtfKbSfd2XWedP12GDBgwEDPYbyasS/6Y/XWeLvjXo80T3NS5qL14bA5DBgwYPyenu8tn2tY3R17vIdR9oUDkhmHHzj3MuOcNDr0HAYMGDD0RJ2iynhlYO1CsE5d2OgFsMcDDNuzDrjX85z0VVqflVMfLuKLRxLgyG+HAQMGjAf1/C7bVbCmu1/gVQo0dMEecxmlU5fv4WNnvpPTc8cDd75xTCg5072DeQUDBgwYs/zzcAc180M/Fuu32OMBe9yWL+Z1mh8ebZHeZ+WsqQ889fAietzLZ17BgAEDxkQ9r0zEU/c7uBjto98KsMfv9mmIueYpflahlPWo9+5vPR/E5ZlXMGDAgDFHz6ON1/y+qpFeq9gDhrzaMeOL46GFdfafw4ABA8ZD/mCnyaOL46GFdTeXDns8YI+d+fDPypHtaS8euPDMKxgwYMCYE991g+4TX1yh54/bI7bynf9nFaod44Tap1abYV7BgAEDxvx4eyjUHorBB+Py2EPU94EBAwYMGDBgwIDx1PEfwPfvNJna2O0AAAAASUVORK5CYII=`,gM=()=>$(`panel.links.wechatQrAlt`);function _M(){return(0,G.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,className:`stroke-0`,fill:`currentColor`,"aria-hidden":`true`,children:(0,G.jsx)(`path`,{d:`M8.691 2.188C3.891 2.188 0 5.476 0 9.53c0 2.212 1.17 4.203 3.002 5.55a.59.59 0 0 1 .213.665l-.39 1.48c-.019.07-.048.141-.048.213 0 .163.13.295.29.295a.326.326 0 0 0 .167-.054l1.903-1.114a.864.864 0 0 1 .717-.098 10.16 10.16 0 0 0 2.837.403c.276 0 .543-.027.811-.05-.857-2.578.157-4.972 1.932-6.446 1.703-1.415 3.882-1.98 5.853-1.838-.576-3.583-4.196-6.348-8.596-6.348zM5.785 5.991c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 0 1-1.162 1.178A1.17 1.17 0 0 1 4.623 7.17c0-.651.52-1.18 1.162-1.18zm5.813 0c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 0 1-1.162 1.178 1.17 1.17 0 0 1-1.162-1.178c0-.651.52-1.18 1.162-1.18zm5.34 2.867c-1.797-.052-3.746.512-5.28 1.786-1.72 1.428-2.687 3.72-1.78 6.22.942 2.453 3.666 4.229 6.884 4.229.826 0 1.622-.12 2.361-.336a.722.722 0 0 1 .598.082l1.584.926a.272.272 0 0 0 .14.047c.134 0 .24-.111.24-.247 0-.06-.023-.12-.038-.177l-.327-1.233a.582.582 0 0 1-.023-.156.49.49 0 0 1 .201-.398C23.024 18.48 24 16.82 24 14.98c0-3.21-2.931-5.837-6.656-6.088V8.89c-.135-.01-.27-.027-.407-.03zm-2.53 3.274c.535 0 .969.44.969.982a.976.976 0 0 1-.969.983.976.976 0 0 1-.969-.983c0-.542.434-.982.97-.982zm4.844 0c.535 0 .969.44.969.982a.976.976 0 0 1-.969.983.976.976 0 0 1-.969-.983c0-.542.434-.982.969-.982z`})})}function vM({compact:e=!1}={}){let[t,n]=(0,g.useState)(!1),r=Sg();return r!==`zh-Hans`&&r!==`zh-Hant`?null:(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(Q,{variant:`primary`,size:e?`sm`:`lg`,className:`pointer-events-auto rounded-full shadow-lg`,onClick:()=>n(!0),children:[(0,G.jsx)(_M,{}),$(`panel.links.joinGroup`)]}),(0,G.jsx)(cD,{open:t,onOpenChange:n,children:(0,G.jsxs)(lD,{className:`max-w-sm`,children:[(0,G.jsx)(dD,{className:`sr-only`,children:$(`panel.links.joinGroup`)}),(0,G.jsx)(pD,{className:`flex justify-center`,children:(0,G.jsx)(`img`,{src:hM,alt:gM(),className:`w-full rounded-md`})})]})})]})}var yM=Gu(``,{variants:{size:{sm:`h-6 gap-0.75 rounded-xs px-2 text-xs has-data-[icon=end]:pe-1.5 has-data-[icon=start]:ps-1.5 [&_svg:not([class*='size-'])]:size-3.5`,md:`h-8 gap-1 rounded-sm px-3 text-sm has-data-[icon=end]:pe-2 has-data-[icon=start]:ps-2 [&_svg:not([class*='size-'])]:size-4`,lg:`h-10 gap-1.25 rounded-md px-3.5 text-base has-data-[icon=end]:pe-2.5 has-data-[icon=start]:ps-2.5 [&_svg:not([class*='size-'])]:size-4.5`}},defaultVariants:{size:`md`}}),bM=g.createContext(null),xM={opacity:0,scale:.85,filter:`blur(8px)`},SM={opacity:0},CM={duration:.28,ease:[.4,0,.2,1]},wM={duration:0},TM={sm:`size-3`,md:`size-3.5`,lg:`size-4`};function EM({className:e,variant:t,size:n,render:r,dismissible:i=!1,open:a,onOpenChange:o,onDismiss:s,closeLabel:c=`Dismiss`,children:l,onClick:u,...d}){let f=g.useContext(bM),p=t??f?.variant??`soft`,m=n??f?.size??`md`,h=yh(),[_,v]=g.useState(!0),y=a!==void 0,b=y?a:_,x=g.useCallback(()=>{y||v(!1),o?.(!1)},[y,o]);g.useEffect(()=>{if(f&&i)return f.register(x)},[f,i,x]);let S=e=>{u?.(e),!e.defaultPrevented&&i&&x()},C=i?(0,G.jsxs)(G.Fragment,{children:[l,(0,G.jsx)(DM,{size:m}),(0,G.jsx)(`span`,{className:`sr-only`,children:c})]}):l,w=eD({defaultTagName:`button`,render:r,state:{variant:p,size:m,dismissible:i},props:Dr({"data-slot":`chip`,"data-dismissible":i||void 0,type:r?void 0:`button`,...Hu(d.disabled),className:Z(qu({variant:p}),yM({size:m}),i&&`group/chip`,e),onClick:S,children:C},d)});return i?(0,G.jsx)(Iw,{features:VT,strict:!0,children:(0,G.jsx)(kw,{initial:!1,onExitComplete:()=>s?.(),children:b&&(0,G.jsx)(bE.span,{initial:!1,exit:h?SM:xM,transition:h?wM:CM,className:`inline-flex align-middle`,children:w},`chip`)})}):w}function DM({size:e}){return(0,G.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 16`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`chip-close-icon`,"data-icon":`end`,className:Z(TM[e],`opacity-60 transition-opacity duration-200 group-hover/chip:opacity-100 motion-reduce:transition-none`),children:(0,G.jsx)(`path`,{d:`M11.523 3.522c.264-.264.691-.264.955 0s.264.691 0 .955L8.955 8l3.522 3.522c.264.264.264.691 0 .955s-.691.264-.955 0L8 8.955l-3.522 3.522c-.264.264-.691.264-.955 0s-.264-.691 0-.955L7.045 8 3.522 4.478c-.264-.264-.264-.691 0-.955s.691-.264.955 0L8 7.045l3.523-3.522z`})})}var OM=`M4.3 12.55 L9.25 17.5 L19.7 6.5`,kM={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:1.5,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0};async function AM(e){if(typeof e==`string`)return e;if(typeof e==`function`)return await e();let t=e.current;if(!t)throw Error("CopyButton: the `value` ref is not attached to an element");return t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement?t.value:t.textContent??``}async function jM(e){if(navigator.clipboard?.writeText){await navigator.clipboard.writeText(e);return}let t=document.createElement(`textarea`);t.value=e,t.setAttribute(`readonly`,``),t.style.position=`fixed`,t.style.opacity=`0`,document.body.appendChild(t),t.select();try{if(!document.execCommand(`copy`))throw Error(`Copying to clipboard is not supported`)}finally{t.remove()}}function MM({value:e,timeout:t=2e3,label:n=`Copy`,copiedLabel:r=`Copied`,onCopy:i,onCopyError:a,icon:o,onClick:s,variant:c=`ghost`,size:l=`icon-sm`,className:u,children:d,...f}){let[p,m]=g.useState(!1),h=g.useRef(void 0);return g.useEffect(()=>()=>clearTimeout(h.current),[]),(0,G.jsxs)(Q,{"data-slot":`copy-button`,"data-copied":p||void 0,type:`button`,variant:c,size:l,"aria-label":p?r:n,onClick:async n=>{if(s?.(n),n.defaultPrevented)return;let r;try{r=await AM(e),await jM(r)}catch(e){a?.(e);return}i?.(r),m(!0),clearTimeout(h.current),h.current=setTimeout(()=>m(!1),t)},className:Z(`group/copy`,u),...f,children:[(0,G.jsxs)(`span`,{"data-icon":d==null?void 0:`start`,className:`grid place-items-center *:[grid-area:1/1]`,children:[(0,G.jsx)(`span`,{className:Z(`grid place-items-center transition-[opacity,scale] delay-150 duration-150 ease-out group-data-copied/copy:delay-0`,`group-data-copied/copy:scale-50 group-data-copied/copy:opacity-0`,`motion-reduce:transition-none`),children:o??(0,G.jsx)(`svg`,{...kM,children:(0,G.jsx)(`path`,{d:`M4.012 16.737c-.307-.175-.562-.427-.739-.732S3.001 15.353 3 15V5c0-1.1.9-2 2-2h10c.75 0 1.158.385 1.5 1M7 9.667c0-.707.281-1.386.781-1.886S8.96 7 9.667 7h8.666c.35 0 .697.069 1.021.203s.618.33.865.578.444.542.578.865A2.67 2.67 0 0 1 21 9.667v8.666a2.67 2.67 0 0 1-.781 1.886 2.67 2.67 0 0 1-1.886.781H9.667a2.67 2.67 0 0 1-1.021-.203c-.324-.134-.618-.331-.865-.578s-.444-.542-.578-.865S7 18.683 7 18.333V9.667z`})})}),(0,G.jsx)(`svg`,{...kM,children:(0,G.jsx)(`path`,{d:OM,pathLength:1,strokeDasharray:`1 2`,className:Z(`[stroke-dashoffset:1.02] group-data-copied/copy:[stroke-dashoffset:0]`,`transition-[stroke-dashoffset] duration-200 ease-in`,`group-data-copied/copy:delay-100 group-data-copied/copy:duration-350 group-data-copied/copy:ease-out`,`motion-reduce:transition-none`)})})]}),typeof d==`string`&&p?r:d,(0,G.jsx)(`span`,{role:`status`,className:`sr-only`,children:p?r:``})]})}var NM=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAewAAAHsAQAAAAA4UaPNAAACeUlEQVR42u2dQW7DMAwEhX5A//+lfsA2sU0umRg9BChKYQwfDNlzEVbKkqKUYZ9ca4CDg4OD/398+DXt5360zOvtcT+vn/flY1tf46MLHPzv8REKfz48Wi6dn89P8R/PPihOCs2Dt9V8muTLW/8JuL6Jj9E8eH/Nx7O/mmJ1DM2Db6d5fbVOP+PennkefE8/b5ba1/CxUD5G8+BdNZ/zNr/c5G3A+2v+Lo2pI8In//wNPQ/eVvNXfHpI/TDz48pPapY+t9Pz4D01v8ZrWsYv179nMmWA0PPgjf18Cl2XCNvD25LMRPPgnb3N8MxkdjWh/7e/AmgevLXmtfYgx7AlOU8MC76Bt0lpmVxjE2r38jO392gevHPextM1teQml1aqsUfz4F3neamoOa/s2+9TPfQ8eGNv46l4jVvVvetbvA14b2+T0+9j1PWpVGY5IquD5sFb5200/a55mzD8MyV20Dx4b2/jlqbYezH2Ec/ibcC3mOfTDpFQdQ5azTS9g+bBW8ewVerTSngbQ2Dh58H7x7BZzyr+aJl5xQrNgzf387EaNWtCPlpyaSWaB288z4uko7Ty7dE3Q2vp6XnwtjFsOehDqmsiq2MS4VJ7AN7a20yTsFTqykYsxeoQkAVZeh68q7fR/VBpJ+xMu6VeBgg9D941hq0HGljdA6uFB/EZmgdv6+ff7H7Nx4BouhLNg+8wz4eMo/G25Ib6efANYtibauF0XqVZqb1E8+B9Ne8K1xTNq8iT1UHz4FtoPkSuZcOl8JL6efC95nldgS2nfNQt4WgefAM/b/Us4pHrE/IJCfQ8+C55m5XWqkpUy5oUeHfN8/dz4ODg4Pvi3/5iKXEUjwVUAAAAAElFTkSuQmCC`,PM=`0x62744c084c272ddba4680920edc3239cb7180718`;function FM(){return(0,G.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,className:`stroke-0`,fill:`currentColor`,"aria-hidden":`true`,children:(0,G.jsx)(`path`,{d:`M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z`})})}function IM({compact:e=!1}={}){let[t,n]=(0,g.useState)(!1),[r,i]=(0,g.useState)(!1);return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(Q,{variant:`secondary`,size:e?`sm`:`lg`,className:`pointer-events-auto rounded-full shadow-lg`,onClick:()=>{i(!1),n(!0)},children:[(0,G.jsx)(FM,{}),$(`panel.links.sponsor`)]}),(0,G.jsx)(LM,{open:t,onOpenChange:n,copyFailed:r,setCopyFailed:i})]})}function LM({open:e,onOpenChange:t,copyFailed:n,setCopyFailed:r}){return(0,G.jsx)(cD,{open:e,onOpenChange:t,children:(0,G.jsxs)(lD,{className:`max-w-sm`,children:[(0,G.jsxs)(uD,{className:`gap-1.5`,children:[(0,G.jsx)(dD,{className:`text-xl`,children:$(`panel.links.sponsorTitle`)}),(0,G.jsx)(fD,{children:$(`panel.links.sponsorIntro`)})]}),(0,G.jsxs)(pD,{className:`flex flex-col gap-4`,children:[(0,G.jsx)(`div`,{className:`flex justify-center`,children:(0,G.jsx)(`img`,{src:NM,alt:$(`panel.links.sponsorQrAlt`),className:`size-44 rounded-lg border border-border-muted bg-white p-2`})}),(0,G.jsxs)(`div`,{className:`flex justify-center gap-2`,children:[(0,G.jsx)(EM,{variant:`soft`,size:`sm`,children:`USDT`}),(0,G.jsx)(EM,{variant:`soft`,size:`sm`,children:`Polygon`})]}),(0,G.jsxs)(`div`,{className:`flex flex-col gap-2 rounded-lg border border-border-muted bg-background-muted p-3`,children:[(0,G.jsxs)(`div`,{className:`flex items-center justify-between gap-2`,children:[(0,G.jsx)(`span`,{className:`text-xs text-foreground-muted`,children:$(`panel.links.sponsorAddress`)}),(0,G.jsx)(MM,{value:PM,label:$(`panel.links.sponsorCopy`),copiedLabel:$(`panel.links.sponsorCopied`),size:`sm`,variant:`outline`,onCopyError:()=>r(!0),onCopy:()=>r(!1),children:$(`panel.links.sponsorCopy`)})]}),(0,G.jsx)(`code`,{className:`block select-all break-all font-mono text-[11px] leading-4 text-foreground-strong`,children:PM}),n?(0,G.jsx)(`p`,{className:`text-[11px] leading-4 text-foreground-strong`,children:$(`panel.links.sponsorCopyFailed`)}):null]})]}),(0,G.jsx)(`div`,{className:`px-6 pt-4 pb-6`,children:(0,G.jsx)(`p`,{className:`text-center text-sm text-foreground-muted`,children:$(`panel.links.sponsorNote`)})})]})})}function RM(){return(0,G.jsx)(`svg`,{viewBox:`0 0 24 24`,className:`size-[18px] stroke-0`,fill:`currentColor`,"aria-hidden":`true`,children:(0,G.jsx)(`path`,{d:`M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12`})})}function zM({compact:e=!1}={}){return(0,G.jsxs)(`a`,{href:Ij,target:`_blank`,rel:`noreferrer noopener`,className:`${qu({variant:`secondary`,size:e?`sm`:`lg`})} pointer-events-auto rounded-full shadow-lg`,children:[(0,G.jsx)(RM,{}),$(`panel.links.star`)]})}function BM({compact:e=!1}){return(0,G.jsxs)(`div`,{className:`flex flex-wrap items-center gap-1.5`,children:[(0,G.jsx)(zM,{compact:e}),(0,G.jsx)(IM,{compact:e}),(0,G.jsx)(vM,{compact:e})]})}function VM(e){let t=Number.isFinite(e)&&e>0?e:0;return t===0?`0 MB`:t<1048576?`${Math.max(1,Math.round(t/1024))} KB`:`${(t/1024/1024).toFixed(1)} MB`}function HM(e,t=Date.now()){if(!e)return``;let n=Math.floor((t-e)/36e5);return n<1?$(`panel.inbox.ageLessThanHour`):n<24?$(`panel.inbox.ageHours`,{hours:n}):$(`panel.inbox.ageDays`,{days:Math.floor(n/24)})}function UM({framed:e=!0}){let t=rM(),[n,r]=(0,g.useState)(null),[i,a]=(0,g.useState)(!1),[o,s]=(0,g.useState)(!1),[c,l]=(0,g.useState)(!1),u=(0,g.useCallback)(async()=>{try{r(await Rk(`/api/relay/inbox/status`))}catch{r(null)}finally{a(!0)}},[]);(0,g.useEffect)(()=>{u()},[u]);let d=n?.deletableFiles??0,f=HM(n?.oldestAt??null),p=n?.stagingFiles??0;async function m(e){if(!c){l(!0);try{let t=await zk(`/api/relay/inbox/auto`,{enabled:e});r(e=>e&&{...e,autoClear:t.data.autoClear})}catch(e){t(`error`,$(`panel.inbox.autoFailed`,{message:Uk(e)}))}finally{l(!1)}}}async function h(){if(o)return;let e=d>0?$(`panel.inbox.confirmDetail`,{count:d,hours:n?.keepHours??24,bytes:VM(n?.deletableBytes??0)}):$(`panel.inbox.confirmNothing`,{hours:n?.keepHours??24});if(window.confirm(`${$(`panel.inbox.confirmTitle`)}\n\n${e}\n\n${$(`panel.inbox.confirmIrreversible`)}`)){s(!0);try{let e=await zk(`/api/relay/inbox/clear`),n=VM(e.freedBytes);t(e.failedFiles>0?`soft`:`ok`,e.deletedFiles>0?`${$(`panel.inbox.cleared`,{bytes:n,count:e.deletedFiles})}${e.failedFiles>0?$(`panel.inbox.clearedSomeFailed`,{count:e.failedFiles}):``}`:$(`panel.inbox.nothingToClear`)),await u()}catch(e){t(`error`,$(`panel.inbox.clearFailed`,{message:Uk(e)}))}finally{s(!1)}}}let _=(0,G.jsxs)(G.Fragment,{children:[i?null:(0,G.jsxs)(`div`,{className:`flex items-center gap-2 py-2 text-sm text-foreground-muted`,children:[(0,G.jsx)(VE,{}),$(`panel.inbox.reading`)]}),i&&n===null?(0,G.jsxs)(YE,{variant:`info`,className:`mt-2`,children:[(0,G.jsx)(ZE,{}),(0,G.jsx)(QE,{children:$(`panel.inbox.unreadableTitle`)}),(0,G.jsx)($E,{children:$(`panel.inbox.unreadableBody`)})]}):null,n===null?null:(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(`dl`,{className:`mt-1`,children:[(0,G.jsxs)(`div`,{className:`flex items-baseline justify-between gap-4 border-b border-border-muted py-2`,children:[(0,G.jsx)(`dt`,{className:`shrink-0 text-sm text-foreground-muted`,children:$(`panel.inbox.used`)}),(0,G.jsx)(`dd`,{className:`min-w-0 text-right text-sm break-all`,children:$(`panel.inbox.usedValue`,{bytes:VM(n.bytes),count:n.files})})]}),(0,G.jsxs)(`div`,{className:`flex items-baseline justify-between gap-4 border-b border-border-muted py-2`,children:[(0,G.jsx)(`dt`,{className:`shrink-0 text-sm text-foreground-muted`,children:$(`panel.inbox.deletable`)}),(0,G.jsx)(`dd`,{className:`min-w-0 text-right text-sm break-all`,children:d>0?$(`panel.inbox.deletableValue`,{bytes:VM(n.deletableBytes),count:d}):$(`panel.common.none`)})]}),(0,G.jsxs)(`div`,{className:`flex items-baseline justify-between gap-4 py-2`,children:[(0,G.jsx)(`dt`,{className:`shrink-0 text-sm text-foreground-muted`,children:$(`panel.inbox.keep`)}),(0,G.jsx)(`dd`,{className:`min-w-0 text-right text-sm break-all`,children:f?$(`panel.inbox.keepValueOldest`,{hours:n.keepHours,age:f}):$(`panel.inbox.keepValue`,{hours:n.keepHours})})]})]}),p>0?(0,G.jsx)(`p`,{className:`mt-1 text-xs text-foreground-muted`,children:$(`panel.inbox.staging`,{bytes:VM(n.stagingBytes??0),count:n.stagingFiles??0})}):null,(0,G.jsxs)(`label`,{className:`mt-3 flex items-center justify-between gap-4 border-t border-border-muted pt-3`,children:[(0,G.jsx)(`span`,{className:`block text-sm text-foreground`,children:$(`panel.inbox.auto`)}),(0,G.jsxs)(`span`,{className:`flex shrink-0 items-center gap-2`,children:[c?(0,G.jsx)(VE,{}):null,(0,G.jsx)(QD,{size:`md`,checked:n.autoClear===!0,disabled:o||c,onCheckedChange:e=>void m(e),"aria-label":$(`panel.inbox.autoA11y`)})]})]}),(0,G.jsx)(`div`,{className:`mt-3 flex justify-center`,children:(0,G.jsx)(Q,{variant:d>0?`primary`:`outline`,size:`md`,disabled:o,onClick:()=>void h(),children:$(o?`panel.inbox.clearing`:`panel.inbox.clear`)})})]})]});return e?(0,G.jsxs)(xD,{frame:`solid`,children:[(0,G.jsx)(SD,{className:`px-4 py-3`,children:(0,G.jsx)(CD,{className:`flex items-center gap-2`,children:(0,G.jsx)(`span`,{children:$(`panel.inbox.title`)})})}),_]}):_}var WM=`https://github.com/WNLUO/dsh-mobile-server`;function GM(){return[$(`panel.notice.promptIntro`),``,`${$(`panel.notice.promptRepo`)}: ${WM}`,``,$(`panel.notice.promptAsk`),``,$(`panel.notice.promptDo`),``,$(`panel.notice.promptAfter`),``,$(`panel.notice.promptStyle`)].join(`
|
|
86
86
|
`)}function KM({title:e,summary:t,children:n}){return(0,G.jsxs)(`details`,{className:`group rounded-lg border border-border-muted bg-background-muted`,children:[(0,G.jsxs)(`summary`,{className:`flex cursor-pointer list-none flex-col gap-0.5 px-3 py-2.5 marker:content-none`,children:[(0,G.jsxs)(`span`,{className:`flex items-center gap-2 text-sm font-semibold text-foreground-strong`,children:[(0,G.jsx)(`svg`,{viewBox:`0 0 12 12`,className:`size-3 shrink-0 text-foreground-muted transition-transform group-open:rotate-90`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:(0,G.jsx)(`path`,{d:`m4.5 2.5 3.5 3.5-3.5 3.5`})}),e]}),(0,G.jsx)(`span`,{className:`pl-5 text-xs leading-5 text-foreground-muted`,children:t})]}),(0,G.jsx)(`div`,{className:`flex flex-col gap-2.5 border-t border-border-muted px-3 py-3`,children:n})]})}function qM({lines:e}){return(0,G.jsx)(`pre`,{className:`overflow-x-auto rounded bg-background-subtle px-2.5 py-2 font-mono text-[11px] leading-5 break-words whitespace-pre-wrap text-foreground-strong`,children:e.join(`
|
|
87
87
|
`)})}function JM({open:e,onOpenChange:t,port:n}){let r=(0,g.useRef)(null),[i,a]=(0,g.useState)(!1);async function o(){try{await navigator.clipboard.writeText(GM()),a(!0),window.setTimeout(()=>a(!1),2e3)}catch{a(!1)}}return(0,G.jsx)(cD,{open:e,onOpenChange:e=>{e||a(!1),t(e)},children:(0,G.jsxs)(lD,{className:`w-[min(860px,92vw)] max-w-none`,closeLabel:$(`panel.common.close`),initialFocus:r,children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(`panel.notice.setupGuideTitle`)})}),(0,G.jsx)(`div`,{ref:r,tabIndex:-1,className:`flex min-h-0 flex-col outline-none`,children:(0,G.jsxs)(pD,{className:`flex flex-col gap-3 overflow-y-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden`,children:[(0,G.jsxs)(KM,{title:$(`panel.notice.guideRelayTitle`),summary:$(`panel.notice.guideRelaySummary`),children:[(0,G.jsx)(`p`,{className:`text-sm leading-6 text-foreground`,children:$(`panel.notice.guideRelayReady`)}),(0,G.jsx)(`p`,{className:`text-sm leading-6 text-foreground-muted`,children:$(`panel.notice.guideRelayCopyHint`)}),(0,G.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,G.jsx)(Q,{variant:`outline`,size:`sm`,onClick:()=>void o(),children:$(`panel.notice.guideRelayCopy`)}),i?(0,G.jsx)(`span`,{className:`text-xs text-success`,children:$(`panel.notice.guideRelayCopied`)}):null]}),(0,G.jsx)(`p`,{className:`rounded-md border border-border-muted bg-background px-2.5 py-2 text-xs leading-5 text-warning`,children:$(`panel.notice.guideRelayWarn`)})]}),(0,G.jsxs)(KM,{title:$(`panel.notice.guideTunnelTitle`),summary:$(`panel.notice.guideTunnelSummary`),children:[(0,G.jsx)(`p`,{className:`text-sm leading-6 text-foreground`,children:$(`panel.notice.guideTunnelOS`)}),(0,G.jsx)(qM,{lines:[`# macOS`,`brew install cloudflared`,`# Linux`,`curl -L https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64 -o cloudflared`,`chmod +x cloudflared && sudo mv cloudflared /usr/local/bin/`,`# Windows (PowerShell)`,`winget install --id Cloudflare.cloudflared`]}),(0,G.jsx)(`p`,{className:`text-sm leading-6 text-foreground`,children:$(`panel.notice.guideTunnelTry`)}),(0,G.jsx)(qM,{lines:[`cloudflared tunnel --url http://127.0.0.1:${n}`]}),(0,G.jsx)(`p`,{className:`text-sm leading-6 text-foreground`,children:$(`panel.notice.guideTunnelFixed`)}),(0,G.jsx)(qM,{lines:[`cloudflared tunnel login`,`cloudflared tunnel create dsh`,`cloudflared tunnel route dns dsh dsh.example.com`,`cloudflared tunnel run --url http://127.0.0.1:${n} dsh`]}),(0,G.jsx)(`p`,{className:`text-sm leading-6 text-foreground-muted`,children:$(`panel.notice.guideTunnelFill`)}),(0,G.jsx)(`p`,{className:`mt-1 border-t border-border-muted pt-3 text-sm font-semibold text-foreground-strong`,children:$(`panel.notice.guideTailscaleTitle`)}),(0,G.jsx)(`p`,{className:`text-sm leading-6 text-foreground`,children:$(`panel.notice.guideTailscaleInstall`)}),(0,G.jsx)(qM,{lines:[`# macOS`,`brew install tailscale`,`# Linux`,`curl -fsSL https://tailscale.com/install.sh | sh`,`# Windows`,`winget install --id Tailscale.Tailscale`,`sudo tailscale up`]}),(0,G.jsx)(`p`,{className:`text-sm leading-6 text-foreground`,children:$(`panel.notice.guideTailscaleServe`)}),(0,G.jsx)(qM,{lines:[`tailscale serve --bg http://127.0.0.1:${n}`]}),(0,G.jsx)(`p`,{className:`text-sm leading-6 text-foreground-muted`,children:$(`panel.notice.guideTailscaleFill`)})]})]})})]})})}var YM=`0.4.9`;function XM({lanPort:e}){let[t,n]=(0,g.useState)(!1),[r,i]=(0,g.useState)(!1);return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(Q,{variant:`ghost`,size:`sm`,className:`gap-1.5`,onClick:()=>n(!0),children:[(0,G.jsx)(`span`,{children:$(`panel.notice.title`)}),(0,G.jsx)(`span`,{className:`text-xs text-foreground-muted`,children:`${$(`panel.notice.versionLabel`)} ≥ ${YM}`})]}),(0,G.jsx)(cD,{open:t,onOpenChange:n,children:(0,G.jsxs)(lD,{className:`max-w-md`,children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(`panel.notice.title`)})}),(0,G.jsxs)(pD,{className:`flex flex-col gap-3`,children:[(0,G.jsxs)(`section`,{className:`flex flex-col gap-1.5`,children:[(0,G.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-x-3 gap-y-1`,children:[(0,G.jsx)(`span`,{className:`text-sm text-foreground-muted`,children:$(`panel.notice.versionLabel`)}),(0,G.jsx)(rD,{variant:`warning`,size:`sm`,children:`≥ ${YM}`})]}),(0,G.jsxs)(`p`,{className:`flex items-start gap-2 text-sm leading-5 text-foreground-muted`,children:[(0,G.jsx)(`span`,{className:`flex h-5 shrink-0 items-center`,children:(0,G.jsx)(TO,{tone:`warn`})}),(0,G.jsx)(`span`,{className:`min-w-0`,children:$(`panel.notice.effective`)})]}),(0,G.jsx)(`p`,{className:`text-sm leading-6 text-foreground-muted`,children:$(`panel.notice.body`,{version:YM})})]}),(0,G.jsxs)(`section`,{className:`flex flex-col gap-1.5 border-t border-border-muted pt-3`,children:[(0,G.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-x-3 gap-y-1`,children:[(0,G.jsx)(`h3`,{className:`text-sm font-medium text-foreground-strong`,children:$(`panel.notice.selfHostTitle`)}),(0,G.jsx)(`button`,{type:`button`,className:`cursor-pointer text-sm text-foreground-intense underline underline-offset-2 hover:text-foreground-strong`,onClick:()=>{n(!1),i(!0)},children:$(`panel.notice.selfHostAction`)})]}),(0,G.jsx)(`p`,{className:`text-sm leading-6 text-foreground-muted`,children:$(`panel.notice.selfHostBody`)})]})]})]})}),(0,G.jsx)(JM,{open:r,onOpenChange:i,port:e})]})}function ZM(e){return e.available?e.enabled?e.path===`direct`&&e.active?`panel.p2p.open`:e.error?`panel.p2p.error`:e.path===`failed`?`panel.p2p.blocked`:e.ready?e.path===`waiting`?`panel.p2p.waiting`:`panel.p2p.punching`:e.started?`panel.p2p.punching`:`panel.p2p.waiting`:`panel.p2p.disabled`:`panel.p2p.unavailable`}function QM(e){return e.length>16?`${e.slice(0,12)}…${e.slice(-4)}`:e}function $M({open:e,onOpenChange:t}){let[n,r]=(0,g.useState)(null),[i,a]=(0,g.useState)(``),o=(0,g.useCallback)(async()=>{try{let e=await Rk(`/api/relay/p2p`);r(e.status??null),a(``)}catch(e){a(Uk(e))}},[]);(0,g.useEffect)(()=>{if(!e)return;let t=()=>{l_()&&o()};t();let n=window.setInterval(t,2e3);return document.addEventListener(`visibilitychange`,t),()=>{window.clearInterval(n),document.removeEventListener(`visibilitychange`,t)}},[e,o]);let s=n;return(0,G.jsx)(cD,{open:e,onOpenChange:t,children:(0,G.jsxs)(lD,{className:`max-w-md`,children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(`panel.p2p.title`)})}),(0,G.jsxs)(pD,{className:`flex flex-col gap-3`,children:[(0,G.jsx)(`p`,{className:`text-xs leading-5 text-foreground-muted`,children:$(`panel.p2p.hint`)}),i?(0,G.jsx)(`p`,{className:`text-xs text-error`,children:i}):null,s===null?(0,G.jsxs)(`div`,{className:`flex items-center gap-2 py-2 text-sm text-foreground-muted`,children:[(0,G.jsx)(VE,{}),$(`panel.shell.readingStatus`)]}):(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(`div`,{className:`flex items-baseline justify-between gap-4 border-b border-border-muted py-2`,children:[(0,G.jsx)(`span`,{className:`shrink-0 text-sm text-foreground-muted`,children:$(`panel.p2p.stateLabel`)}),(0,G.jsxs)(`span`,{className:`min-w-0 text-right text-sm break-all`,children:[$(ZM(s)),s.error?(0,G.jsx)(`span`,{className:`ml-1 text-xs text-foreground-muted`,children:s.error}):null]})]}),(0,G.jsxs)(`div`,{className:`flex items-baseline justify-between gap-4 border-b border-border-muted py-2`,children:[(0,G.jsx)(`span`,{className:`shrink-0 text-sm text-foreground-muted`,children:$(`panel.p2p.addressLabel`)}),(0,G.jsx)(`span`,{className:`min-w-0 text-right font-mono text-xs break-all text-foreground-strong`,children:s.url||$(`panel.p2p.noAddress`)})]}),(0,G.jsxs)(`div`,{className:`flex flex-col gap-1 border-b border-border-muted py-2`,children:[(0,G.jsxs)(`span`,{className:`text-sm text-foreground-muted`,children:[$(`panel.p2p.candidatesLabel`),` (`,s.candidates.length,`)`]}),s.candidates.length===0?(0,G.jsx)(`span`,{className:`text-xs text-foreground-muted`,children:$(`panel.p2p.noCandidates`)}):(0,G.jsx)(`ul`,{className:`flex flex-col gap-1`,children:s.candidates.map(e=>(0,G.jsx)(`li`,{className:`font-mono text-xs break-all text-foreground-strong`,children:e},e))})]}),(0,G.jsxs)(`div`,{className:`flex items-baseline justify-between gap-4 py-2`,children:[(0,G.jsx)(`span`,{className:`shrink-0 text-sm text-foreground-muted`,children:$(`panel.p2p.keyLabel`)}),(0,G.jsx)(`span`,{className:`min-w-0 text-right font-mono text-xs break-all text-foreground-strong`,children:s.publicKey?QM(s.publicKey):$(`panel.p2p.noKey`)})]})]})]}),(0,G.jsx)(mD,{className:`flex justify-end gap-2`,children:(0,G.jsx)(Q,{variant:`outline`,onClick:()=>t(!1),children:$(`panel.common.close`)})})]})})}var eN=function(e){let t=Pd(),[n,r]=g.useState(t),[i,a]=g.useState(),[o,s]=g.useState([]),c=n===void 0?t:n,l=y(()=>new Map),{messageIds:u}=VD(),d=J((e,t)=>{let n=l.current;t===void 0?n.delete(e):n.set(e,t),r(e=>{if(n.size===0)return e;let t;for(let r of n.values()){if(r===e)return e;t===void 0&&(t=r)}return t})}),f=J(()=>{l.current.size===0&&r(t)}),p=g.useCallback(e=>{let t=e[`aria-describedby`]?e[`aria-describedby`].split(` `):[];return t.push(...u,...o),{...e,"aria-describedby":Array.from(new Set(t)).join(` `)||void 0}},[u,o]),m=g.useMemo(()=>({controlId:c,registerControlId:d,resetControlId:f,labelId:i,setLabelId:a,messageIds:o,setMessageIds:s,getDescriptionProps:p}),[c,d,f,i,a,o,s,p]);return(0,G.jsx)(BD.Provider,{value:m,children:e.children})};function tN(e){let{change:t,commit:n,invalid:r,markedDirtyRef:i,name:a,setRegisteredFieldName:o,registeredFieldIdRef:s,setValidityData:c,validityData:l}=e,{formRef:u}=zD(),d=g.useRef(null),f=g.useRef(null),p=g.useRef(!1),m=J(()=>{let e=f.current;if(e)return e.getValue?e.getValue():e.value});function h(e){return e.value===void 0?m():e.value}let _=J(()=>{let e=f.current;if(i.current=!0,!e){n(l.value);return}n(h(e))});function v(){let e=f.current;e&&e.id&&u.current.fields.set(e.id,{getValue:m,name:a??e.name,controlRef:e.controlRef,validityData:bk(l,r),validate:_})}function y(e=f.current?.id){e&&u.current.fields.delete(e)}function x(e){if(p.current)return;p.current=!0;let t=h(e);c(e=>e.initialValue===t?e:{...e,initialValue:t})}return b(()=>{let e=f.current;e&&e.id&&(o(a?void 0:e.name),u.current.fields.set(e.id,{getValue:m,name:a??e.name,controlRef:e.controlRef,validityData:bk(l,r),validate:_}))},[u,m,r,a,o,_,l]),b(()=>{let e=u.current.fields;return()=>{let t=f.current?.id;t&&e.delete(t)}},[u]),[_,J((e,n)=>{if(!n){d.current===e&&(d.current=null,t(void 0,!0),y(),f.current=null,o(void 0),s.current=void 0);return}let r=f.current?.id,i=d.current;i&&i!==e&&t(void 0,!0),d.current=e,f.current=n,a||o(n.name),s.current=n.id,r&&r!==n.id&&y(r),x(n),v()})]}var nN=g.forwardRef(function(e,t){let{errors:n,validationMode:r,submitCountRef:i}=zD(),{render:a,className:o,validate:s,validationDebounceTime:c=0,validationMode:l=r,name:u,disabled:d=!1,invalid:f,dirty:p,touched:m,actionsRef:h,style:_,...v}=e,y=Ok(!0)?.disabled,x=J(s||(()=>null)),S=y||d,[C,w]=g.useState(!1),[T,E]=g.useState(!1),[D,O]=g.useState(!1),[k,A]=g.useState(!1),j=p??T,M=m??C,N=g.useRef(j),P=g.useRef(void 0),[F,I]=g.useState(),L=u??F;b(()=>{p!==void 0&&(N.current=p)},[p]);let R=J(e=>{p===void 0&&(e&&(N.current=!0),E(e))}),z=J(e=>{m===void 0&&w(e)}),B=J(()=>l===`onChange`||l===`onSubmit`&&i.current>0),V=L&&Object.hasOwn(n,L)?n[L]:null,H=!!(Array.isArray(V)?V.length:V),U=f===!0||H,[W,ee]=g.useState({state:OD,error:``,errors:[],value:null,initialValue:null}),K=!U&&(S?null:W.state.valid),te=g.useMemo(()=>({disabled:S,touched:M,dirty:j,valid:K,filled:D,focused:k}),[S,M,j,K,D,k]),q=Ek({setValidityData:ee,validate:x,validityData:W,validationDebounceTime:c,invalid:U,markedDirtyRef:N,state:te,shouldValidateOnChange:B,validationMode:l,registeredFieldIdRef:P}),[ne,re]=tN({change:q.change,commit:q.commit,invalid:U,markedDirtyRef:N,name:u,setRegisteredFieldName:I,registeredFieldIdRef:P,setValidityData:ee,validityData:W});g.useImperativeHandle(h,()=>({validate:ne}),[ne]);let ie=g.useMemo(()=>({invalid:U,name:L,validityData:W,setValidityData:ee,disabled:S,setTouched:z,setDirty:R,setFilled:O,setFocused:A,validationMode:l,shouldValidateOnChange:B,state:te,registerFieldControl:re,validation:q}),[U,L,W,S,z,R,O,A,l,B,te,re,q]),ae=Vr(`div`,e,{ref:t,state:te,props:v,stateAttributesMapping:AD});return(0,G.jsx)(FD.Provider,{value:ie,children:ae})}),rN=g.forwardRef(function(e,t){return(0,G.jsx)(eN,{children:(0,G.jsx)(nN,{...e,ref:t})})}),iN=g.forwardRef(function(e,t){let{render:n,className:r,style:i,id:a,nativeLabel:o=!0,...s}=e,c=ID(!1),l=nk(),{labelId:u}=VD(),d={...c.state,disabled:c.disabled||l.disabled},f=g.useRef(null),p=bA({id:u??a,native:o});return Vr(`label`,e,{ref:[t,f],state:d,props:[p,s],stateAttributesMapping:AD})}),aN=g.forwardRef(function(e,t){let{render:n,className:r,id:i,name:a,value:o,disabled:s=!1,onValueChange:c,defaultValue:l,autoFocus:u=!1,style:d,...f}=e,{state:p,name:m,disabled:h,setTouched:_,setDirty:v,validityData:y,setFocused:x,setFilled:S,validationMode:C,validation:w}=ID(),{clearErrors:T,elementRef:E,submitCountRef:D}=zD(),O=h||s,k=m??a,A={...p,disabled:O},{labelId:j}=VD(),M=GD({id:i}),[N]=bf({controlled:o,default:l,name:`FieldControl`,state:`value`}),P=o!==void 0,F=P?N:void 0,I=F==null?void 0:String(F),L=J(()=>w.inputRef.current?.value);LD(w.inputRef,M,I,L,!O,a),b(()=>{let e=I??w.inputRef.current?.value;e!==void 0&&S(e!==``)},[I,w.inputRef,S]),Jf(I,()=>{I!==void 0&&(T(k),v(I!==(y.initialValue??``)),w.change(I))});let R=g.useRef(null),z=Ge();return b(()=>{u&&R.current===lt(Le(R.current))&&x(!0)},[u,x]),Vr(`input`,e,{ref:[t,R],state:A,props:[{id:M,disabled:O,name:k,ref:w.inputRef,"aria-labelledby":j,autoFocus:u,...P?{value:F}:{defaultValue:l},onChange(e){let t=e.currentTarget.value,n=ja(ma,e.nativeEvent);c?.(t,n),!P&&(v(t!==(y.initialValue??``)),S(t!==``),!e.nativeEvent.defaultPrevented&&!n.isCanceled&&(T(k),w.change(t)))},onFocus(){x(!0)},onBlur(e){if(_(!0),x(!1),C===`onBlur`){let t=e.currentTarget.value;w.commit(t),P&&queueMicrotask(()=>{let e=w.inputRef.current?.value;e!==void 0&&e!==t&&e!==(y.initialValue??``)&&w.commit(e)})}},onKeyDown(e){if(e.currentTarget.tagName===`INPUT`&&e.key===`Enter`){_(!0);let t=e.currentTarget.value,n=e.currentTarget.form;if(n&&n===E.current&&!e.defaultPrevented){let t=e.currentTarget,n=D.current;z.start(0,()=>{D.current===n&&w.commit(t.value)})}else w.commit(t)}}},f,e=>w.getValidationProps(O,e)],stateAttributesMapping:AD})});function oN({className:e,...t}){return(0,G.jsx)(rN,{"data-slot":`field`,className:Z(e),...t})}function sN({className:e,...t}){return(0,G.jsx)(iN,{"data-slot":`field-label`,className:Z(`text-foreground-intense mb-1.5 flex w-fit items-center text-sm font-medium select-none`,`data-disabled:opacity-disabled`,e),...t})}var cN=g.forwardRef(function(e,t){return(0,G.jsx)(aN,{ref:t,...e})});function lN(e,t){(Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,`value`)?.set)?.call(e,t),e.dispatchEvent(new Event(`input`,{bubbles:!0}))}function uN({className:e,variant:t=`outline`,inputSize:n=`md`,clearable:r,startSlot:i,endSlot:a,onClear:o,inputProps:s,ref:c,...l}){let u=g.useRef(null),d=!!(r||i||a),f=l[`aria-invalid`],p=f===!0||f===`true`,m=Vu(c,u),h=()=>{u.current&&l.value===void 0&&lN(u.current,``),u.current?.focus(),o?.()};return d?(0,G.jsxs)(`div`,{"data-slot":`input-wrapper`,className:Z(lj({variant:t,size:n,state:`within`}),e),...p?{"data-invalid":``}:{},children:[i&&(0,G.jsx)(`div`,{"data-slot":`input-start`,className:`-ms-1 flex shrink-0 items-center`,children:i}),(0,G.jsx)(cN,{"data-slot":`input`,ref:m,placeholder:l.placeholder??` `,...s,className:Z(`peer text-foreground placeholder:text-foreground-subtle h-full min-w-0 flex-1 bg-transparent outline-none disabled:cursor-not-allowed`,s?.className),...l}),r&&(0,G.jsx)(`button`,{"data-slot":`input-clear`,type:`button`,onClick:h,className:`text-foreground-subtle hover:text-foreground pointer-events-none shrink-0 cursor-pointer opacity-0 transition-[opacity,color] duration-200 peer-not-placeholder-shown:pointer-events-auto peer-not-placeholder-shown:opacity-100`,tabIndex:-1,"aria-label":`Clear input`,children:(0,G.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`2 2 16 16`,fill:`currentColor`,className:`size-[1em]`,children:(0,G.jsx)(`path`,{d:`M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z`})})}),a&&(0,G.jsx)(`div`,{"data-slot":`input-end`,className:`-me-1 flex shrink-0 items-center`,children:a})]}):(0,G.jsx)(cN,{"data-slot":`input`,ref:m,...s,className:Z(lj({variant:t,size:n,state:`self`}),`placeholder:text-foreground-subtle`,s?.className,e),...l,...p?{"data-invalid":``}:{}})}var dN=1024,fN=65535;function pN({open:e,onOpenChange:t,port:n,busy:r,onSave:i}){let[a,o]=(0,g.useState)(String(n));(0,g.useEffect)(()=>{e&&o(String(n))},[e]);let s=a.trim(),c=Number(s),l=s!==``&&Number.isInteger(c)&&c>=dN&&c<=fN&&r===``;return(0,G.jsx)(cD,{open:e,onOpenChange:t,children:(0,G.jsxs)(lD,{className:`max-w-sm`,children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(`panel.pairing.portTitle`)})}),(0,G.jsxs)(pD,{className:`flex flex-col gap-2`,children:[(0,G.jsxs)(oN,{children:[(0,G.jsx)(sN,{htmlFor:`relay-lan-port`,children:$(`panel.pairing.port`)}),(0,G.jsx)(uN,{inputProps:{id:`relay-lan-port`,inputMode:`numeric`},value:a,onChange:e=>o(e.target.value)})]}),(0,G.jsx)(`p`,{className:`text-xs text-foreground-muted`,children:$(`panel.pairing.portHint`)})]}),(0,G.jsxs)(mD,{className:`flex justify-end gap-2`,children:[(0,G.jsx)(Q,{variant:`outline`,disabled:r!==``,onClick:()=>t(!1),children:$(`panel.common.cancel`)}),(0,G.jsx)(Q,{variant:`primary`,disabled:!l,onClick:()=>i(c),children:$(`panel.common.save`)})]})]})})}function mN({visible:e,onOpenConfig:t}){let[n,r]=(0,g.useState)(!1);return!e||n?null:(0,G.jsx)(cD,{open:!0,onOpenChange:e=>{e||r(!0)},children:(0,G.jsxs)(lD,{className:`max-w-md`,children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(`panel.publicRelayNotice.title`)})}),(0,G.jsx)(pD,{className:`whitespace-pre-line text-sm leading-6 text-foreground-muted`,children:$(`panel.publicRelayNotice.body`)}),(0,G.jsxs)(mD,{className:`flex justify-end gap-2`,children:[(0,G.jsx)(Q,{variant:`outline`,onClick:()=>{r(!0),t()},children:$(`panel.pairing.openConfig`)}),(0,G.jsx)(Q,{variant:`primary`,onClick:()=>r(!0),children:$(`panel.publicRelayNotice.action`)})]})]})})}var hN={sm:`py-2`,md:`py-2.5`,lg:`py-3`},gN={sm:`min-h-16`,md:`min-h-20`,lg:`min-h-24`},_N={sm:`0.5rem`,md:`0.625rem`,lg:`0.75rem`};function vN(e,t){(Object.getOwnPropertyDescriptor(HTMLTextAreaElement.prototype,`value`)?.set)?.call(e,t),e.dispatchEvent(new Event(`input`,{bubbles:!0}))}function yN({className:e,variant:t=`outline`,inputSize:n=`md`,clearable:r,startSlot:i,endSlot:a,onClear:o,ref:s,rows:c=3,...l}){let u=g.useRef(null),d=Vu(s,u),f=!!(r||i||a),p=l[`aria-invalid`],m=p===!0||p===`true`,h=()=>{u.current&&l.value===void 0&&vN(u.current,``),u.current?.focus(),o?.()};return f?(0,G.jsxs)(`div`,{"data-slot":`textarea-wrapper`,"data-invalid":m?``:void 0,style:{"--textarea-h":`calc(${c} * 1lh + 2 * ${_N[n]} + 2px)`},className:Z(lj({variant:t,size:n,state:`within`}),`h-(--textarea-h) resize-y items-start overflow-hidden`,gN[n],hN[n],`has-[textarea:disabled]:border-border-strong! has-[textarea:disabled]:bg-background-subtle! has-[textarea:disabled]:opacity-disabled has-[textarea:disabled]:cursor-not-allowed has-[textarea:disabled]:border-dashed`,e),children:[i&&(0,G.jsx)(`div`,{"data-slot":`textarea-start`,className:`-ms-1 inline-flex h-lh shrink-0 items-center`,children:i}),(0,G.jsx)(aN,{"data-slot":`textarea`,ref:d,render:(0,G.jsx)(`textarea`,{rows:c}),placeholder:l.placeholder??` `,className:`peer text-foreground placeholder:text-foreground-subtle min-w-0 flex-1 resize-none self-stretch bg-transparent outline-none disabled:cursor-not-allowed`,...l}),r&&(0,G.jsx)(`button`,{"data-slot":`textarea-clear`,type:`button`,onClick:h,className:`text-foreground-subtle hover:text-foreground pointer-events-none inline-flex h-lh shrink-0 cursor-pointer items-center opacity-0 transition-[opacity,color] duration-200 peer-not-placeholder-shown:pointer-events-auto peer-not-placeholder-shown:opacity-100 motion-reduce:transition-none`,tabIndex:-1,"aria-label":`Clear input`,children:(0,G.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`2 2 16 16`,fill:`currentColor`,className:`size-[1em]`,children:(0,G.jsx)(`path`,{d:`M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z`})})}),a&&(0,G.jsx)(`div`,{"data-slot":`textarea-end`,className:`-me-1 inline-flex h-lh shrink-0 items-center`,children:a})]}):(0,G.jsx)(aN,{"data-slot":`textarea`,ref:d,render:(0,G.jsx)(`textarea`,{rows:c}),className:Z(lj({variant:t,size:n,state:`self`}),`placeholder:text-foreground-subtle h-auto resize-y`,hN[n],gN[n],e),...l,...m?{"data-invalid":``}:{}})}function bN(e){return String(e||``).replace(/\s+#.*$/,``).trim().replace(/^["']/,``).replace(/["']$/,``).trim()}function xN(e){let t={};for(let n of String(e||``).split(/\r?\n/)){let e=n.trim();if(!e||e.startsWith(`#`)||e.startsWith(`;`)||e.startsWith(`[`))continue;let r=/^([A-Za-z0-9_.]+)\s*[=:]\s*(.+)$/.exec(e);if(!r)continue;let i=r[1].toLowerCase();i in t||(t[i]=bN(r[2]))}return t}function SN(e){let t=String(e||``).trim();if(!t)return[];let n=[...t.matchAll(/["']([^"']+)["']/g)].map(e=>e[1].trim()).filter(Boolean);return n.length?n:t.replace(/^\[|\]$/g,``).split(/[,\s]+/).map(e=>e.trim()).filter(Boolean)}function CN(e){let t=(...t)=>{for(let n of t)if(e[n])return e[n];return``};return{type:(t(`type`)||``).toLowerCase(),remotePort:t(`remoteport`,`remote_port`),localPort:t(`localport`,`local_port`),domains:SN(t(`customdomains`,`custom_domains`))}}function wN(e){let t=e.split(/\[\[\s*proxies\s*\]\]/i),n=xN(t[0]);return{serverAddr:n.serveraddr||n.server_addr||``,proxies:t.slice(1).map(e=>CN(xN(e)))}}function TN(e){let t=[{name:`__global__`,pairs:{}}];for(let n of e.split(/\r?\n/)){let e=n.trim();if(!e||e.startsWith(`#`)||e.startsWith(`;`))continue;let r=/^\[([^\]]+)\]$/.exec(e);if(r){t.push({name:r[1].trim().toLowerCase(),pairs:{}});continue}let i=/^([A-Za-z0-9_.]+)\s*[=:]\s*(.+)$/.exec(e);if(!i)continue;let a=t[t.length-1],o=i[1].toLowerCase();o in a.pairs||(a.pairs[o]=bN(i[2]))}let n=t.find(e=>e.name===`common`)||t[0];return{serverAddr:n.pairs.server_addr||n.pairs.serveraddr||``,proxies:t.filter(e=>e.name!==`__global__`&&e.name!==`common`).map(e=>CN(e.pairs))}}function EN(e){let t;try{t=JSON.parse(e)}catch{return null}let n=t&&typeof t==`object`?t:{};return{serverAddr:typeof n.serverAddr==`string`?n.serverAddr:typeof n.server_addr==`string`?n.server_addr:``,proxies:(Array.isArray(n.proxies)?n.proxies:[]).map(e=>{let t=e&&typeof e==`object`?e:{},n=e=>typeof e==`string`||typeof e==`number`?String(e):``,r=t.customDomains??t.custom_domains;return{type:n(t.type).toLowerCase(),remotePort:n(t.remotePort??t.remote_port),localPort:n(t.localPort??t.local_port),domains:Array.isArray(r)?r.map(e=>String(e)):SN(n(r))}})}}function DN(e){if(!/^\d+$/.test(String(e||``)))return null;let t=Number(e);return Number.isInteger(t)&&t>=1&&t<=65535?t:null}function ON(e,t){for(let n of t){if(n.type&&n.type!==`tcp`)continue;let t=DN(n.remotePort);if(e&&t!==null)return{ok:!0,field:`tcp`,value:`${e}:${t}`,kind:`tcp`}}for(let e of t)if((e.type===`https`||e.type===`http`)&&e.domains.length)return{ok:!0,field:`direct`,value:`https://${e.domains[0]}`,kind:`https`};for(let n of t){if(n.type&&n.type!==`tcp`)continue;let t=DN(n.localPort);if(e&&t!==null)return{ok:!0,field:`tcp`,value:`${e}:${t}`,kind:`tcp`,note:`inferred-local-port`,port:t}}return{ok:!1,reason:`no-address`}}function kN(e){let t=String(e||``).trim();if(!t)return{ok:!1,reason:`empty`};let n=t.replace(/^[a-z][a-z0-9+.-]*:\/\//i,``).replace(/\/+$/,``).trim(),r=/^(\[[^\]]+\]|[^\s/:?#]+):(\d+)$/.exec(n);if(r){let e=Number(r[2]);return Number.isInteger(e)&&e>=1&&e<=65535?{ok:!0,field:`tcp`,value:`${r[1]}:${e}`,kind:`tcp`}:{ok:!1,reason:`bad-tcp`}}let i;return i=t.startsWith(`{`)?EN(t)||{serverAddr:``,proxies:[]}:/\[\[\s*proxies\s*\]\]/i.test(t)?wN(t):/^\s*\[common\]\s*$/im.test(t)||/(?:^|[\r\n])\s*server_addr\s*=/i.test(t)?TN(t):wN(t),ON(i.serverAddr,i.proxies)}function AN(e){return/serverAddr|server_addr|\[\[\s*proxies\s*\]\]|\[common\]/i.test(e)}function jN({open:e,onOpenChange:t,onImport:n}){let[r,i]=(0,g.useState)(``),[a,o]=(0,g.useState)(!1),[s,c]=(0,g.useState)(``),l=(0,g.useMemo)(()=>kN(r),[r]);(0,g.useEffect)(()=>{e&&c(``)},[e]);async function u(){if(!l.ok||a)return;c(``);let e=``;if(AN(r)){o(!0);try{let t=await Vk(r);if(t?.status&&t.status.error){c(t.status.error),o(!1);return}e=t?.status?.remoteAddress||``}catch(e){c(Uk(e)),o(!1);return}o(!1)}let i=l.field===`tcp`&&e?e:l.value;n({field:l.field,value:i}),t(!1)}return(0,G.jsx)(cD,{open:e,onOpenChange:t,children:(0,G.jsxs)(lD,{className:`w-[min(560px,92vw)]`,children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(`panel.frp.title`)})}),(0,G.jsxs)(pD,{className:`flex flex-col gap-3`,children:[(0,G.jsx)(`p`,{className:`text-xs leading-5 text-foreground-muted`,children:$(`panel.frp.hint`)}),(0,G.jsxs)(oN,{children:[(0,G.jsx)(sN,{htmlFor:`frp-import`,children:$(`panel.frp.label`)}),(0,G.jsx)(yN,{id:`frp-import`,rows:6,value:r,onChange:e=>i(e.target.value),autoComplete:`off`,spellCheck:!1})]}),r.trim()?l.ok?(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(`p`,{role:`status`,className:`text-xs text-foreground-muted`,children:$(l.field===`tcp`?`panel.frp.detectedTcp`:`panel.frp.detectedDirect`,{address:l.value})}),l.note===`inferred-local-port`?(0,G.jsx)(`p`,{className:`text-xs text-foreground-muted`,children:$(`panel.frp.inferredPort`,{port:l.port??``})}):null]}):(0,G.jsx)(`p`,{className:`text-xs text-error`,children:$(l.reason===`empty`?`panel.frp.empty`:`panel.frp.badFormat`)}):null,s?(0,G.jsx)(`p`,{className:`text-xs text-error`,children:s}):null]}),(0,G.jsxs)(mD,{className:`flex justify-end gap-2`,children:[(0,G.jsx)(Q,{variant:`outline`,disabled:a,onClick:()=>t(!1),children:$(`panel.common.cancel`)}),(0,G.jsx)(Q,{variant:`primary`,disabled:!l.ok||a,onClick:u,children:$(`panel.frp.fill`)})]})]})})}function MN({open:e,onOpenChange:t,status:n,addressBook:r,lanUrls:i,busy:a,onSave:o,onSavePreferred:s}){let[c,l]=(0,g.useState)(n.relayUrl),[u,d]=(0,g.useState)(``),[f,p]=(0,g.useState)(``),[m,h]=(0,g.useState)(``),[_,v]=(0,g.useState)(``),[y,b]=(0,g.useState)(``),[x,S]=(0,g.useState)(!1),[C,w]=(0,g.useState)(!1),T=(0,g.useRef)(null),E=(0,g.useRef)(null),D=(0,g.useRef)(!1),O=(0,g.useRef)(!1),k=(0,g.useRef)(!1),A=(0,g.useRef)(!1),j=r?r.lan.length>0?r.lan:r.public:[];(0,g.useEffect)(()=>{e&&l(n.relayUrl)},[e]),(0,g.useEffect)(()=>{e||(S(!1),w(!1))},[e]),(0,g.useEffect)(()=>{if(!e){D.current=!1,O.current=!1,k.current=!1,A.current=!1,b(``);return}if(D.current||d(r?.manual??``),O.current||p(r?.manualIpv6??``),k.current||h(r?.manualTcp??``),!A.current){let e=r?r.lan.length>0?r.lan:r.public:[];v((r?.preferred||``).trim()||(e[0]?.address??``))}},[e,r]);let M=a===``,N=Rj.find(e=>e.url===c.trim())??null,P=n.publicRelayBlocked===!0,F=e=>e.trim().replace(/\/+$/,``);function I(){if(!M)return;let e={};c.trim()!==n.relayUrl&&(e.relayUrl=c.trim());let t=F(u);t!==F(r?.manual??``)&&(e.manualLanUrl=t);let i=F(f);i!==F(r?.manualIpv6??``)&&(e.manualIpv6Url=i);let a=F(m);a!==F(r?.manualTcp??``)&&(e.manualTcpUrl=a);let s=_.trim();if(A.current&&s!==(r?.preferred??``).trim()){if(s&&!j.some(e=>e.address===s)){b($(`panel.address.lanUnknown`));return}e.preferredLanAddress=s}o(e)}return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(cD,{open:e,onOpenChange:t,children:(0,G.jsxs)(lD,{className:`w-[min(1100px,92vw)]`,initialFocus:E,children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(`panel.pairing.openConfig`)})}),(0,G.jsx)(`div`,{ref:E,tabIndex:-1,className:`outline-none`,children:(0,G.jsxs)(pD,{className:`grid max-h-[calc(100vh-13rem)] grid-cols-2 items-start gap-x-8 gap-y-4 overflow-y-auto`,children:[(0,G.jsxs)(oN,{children:[(0,G.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-x-3 gap-y-1`,children:[(0,G.jsx)(sN,{children:$(`panel.relay.publicKind`)}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,disabled:!M||P,onClick:()=>l(N?``:Rj[0].url),children:$(N?`panel.relay.disablePublic`:`panel.relay.enablePublic`)})]}),(0,G.jsx)(`div`,{className:`flex flex-col gap-1`,children:Rj.map(e=>(0,G.jsx)(uN,{inputProps:{className:`font-mono${P?` line-through text-foreground-muted`:``}`,readOnly:!0,"aria-label":$(`panel.relay.publicKind`)},value:e.url},e.url))})]}),(0,G.jsxs)(oN,{children:[(0,G.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-x-3 gap-y-1`,children:[(0,G.jsx)(sN,{htmlFor:`relay-url`,children:$(`panel.relay.selfKind`)}),(0,G.jsx)(`a`,{href:Fj,target:`_blank`,rel:`noreferrer noopener`,className:qu({variant:`ghost`,size:`sm`}),children:$(`panel.relay.selfRepo`)})]}),(0,G.jsx)(uN,{inputProps:{id:`relay-url`,className:`font-mono`},value:N?``:c,placeholder:`https://example.com`,onChange:e=>l(e.target.value)})]}),(0,G.jsxs)(oN,{children:[(0,G.jsx)(sN,{htmlFor:`relay-manual-lan`,children:$(`panel.address.direct`)}),(0,G.jsx)(uN,{inputProps:{id:`relay-manual-lan`,className:`font-mono`},value:u,placeholder:$(`panel.address.directPlaceholder`),onChange:e=>{D.current=!0,d(e.target.value)}})]}),(0,G.jsxs)(oN,{children:[(0,G.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-x-3 gap-y-1`,children:[(0,G.jsx)(sN,{htmlFor:`relay-manual-tcp`,children:$(`panel.address.tcp`)}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,onClick:()=>w(!0),children:$(`panel.address.frpImport`)})]}),(0,G.jsx)(uN,{inputProps:{id:`relay-manual-tcp`,className:`font-mono`},value:m,placeholder:$(`panel.address.tcpPlaceholder`),onChange:e=>{k.current=!0,h(e.target.value)}})]}),(0,G.jsxs)(oN,{children:[(0,G.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-x-3 gap-y-1`,children:[(0,G.jsx)(sN,{htmlFor:`relay-preferred-lan`,children:$(`panel.address.lan`)}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,onClick:()=>S(!0),children:$(`panel.onboarding.chooseAddress`)})]}),(0,G.jsx)(uN,{inputProps:{id:`relay-preferred-lan`,className:`font-mono`,list:`relay-lan-candidates`},value:_,placeholder:$(`panel.address.lanPlaceholder`),onChange:e=>{A.current=!0,b(``),v(e.target.value)}}),(0,G.jsx)(`datalist`,{id:`relay-lan-candidates`,children:j.map(e=>(0,G.jsx)(`option`,{value:e.address,children:e.url},e.address))}),y?(0,G.jsx)(`p`,{className:`text-xs text-error`,children:y}):null]}),(0,G.jsxs)(oN,{children:[(0,G.jsx)(sN,{htmlFor:`relay-manual-ipv6`,children:$(`panel.address.ipv6Url`)}),(0,G.jsx)(uN,{inputProps:{id:`relay-manual-ipv6`,className:`font-mono`},value:f,placeholder:$(`panel.address.ipv6Placeholder`),onChange:e=>{O.current=!0,p(e.target.value)}})]})]})}),(0,G.jsxs)(mD,{className:`flex justify-end gap-2`,children:[(0,G.jsx)(Q,{variant:`outline`,disabled:a===`config`,onClick:()=>t(!1),children:$(`panel.common.cancel`)}),(0,G.jsx)(Q,{variant:`primary`,disabled:!M,onClick:I,children:$(`panel.relay.saveConfig`)})]})]})}),(0,G.jsx)(cD,{open:x,onOpenChange:S,children:(0,G.jsxs)(lD,{className:`w-[min(560px,92vw)]`,initialFocus:T,children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(`panel.address.lan`)})}),(0,G.jsx)(`div`,{ref:T,tabIndex:-1,className:`outline-none`,children:(0,G.jsx)(pD,{className:`max-h-[60vh] overflow-y-auto px-1 py-2`,children:(0,G.jsx)(Nj,{align:`start`,book:r,port:n.lan.port,value:r?.preferred??``,busy:a!==``,fallbackUrls:i,onChange:e=>{s(e),S(!1)}})})}),(0,G.jsx)(mD,{className:`flex justify-end`,children:(0,G.jsx)(Q,{variant:`outline`,onClick:()=>S(!1),children:$(`panel.common.close`)})})]})}),(0,G.jsx)(jN,{open:C,onOpenChange:w,onImport:e=>{e.field===`tcp`?(k.current=!0,h(e.value)):(D.current=!0,d(e.value))}})]})}var NN=18e5,PN=3e5,FN=15e3,IN=null,LN=0,RN=0,zN=null;function BN(e){return typeof e!=`number`||!Number.isFinite(e)?!1:e===0||Date.now()-e>NN}function VN(e){if(!e&&zN)return zN;let t=(async()=>{let t=await Rk(e?`/api/relay/selfcheck?force=1`:`/api/relay/selfcheck`);return IN=t,LN=Date.now(),t})();return e||(zN=t,t.finally(()=>{zN===t&&(zN=null)})),t}function HN(e,t=``){let[n,r]=(0,g.useState)(IN),[i,a]=(0,g.useState)(!1),[o,s]=(0,g.useState)(``),[c,l]=(0,g.useState)(!1),u=(0,g.useRef)(!0);(0,g.useEffect)(()=>(u.current=!0,()=>{u.current=!1}),[]);let d=(0,g.useCallback)(async e=>{if(!e&&IN&&Date.now()-LN<FN){r(IN);return}a(!0);try{let t=await VN(e);if(!u.current)return;r(t),s(``),l(!1)}catch(e){if(!u.current)return;l(e instanceof Ik&&e.status===404),s(Uk(e))}finally{u.current&&a(!1)}},[]);(0,g.useEffect)(()=>{e&&(Date.now()-RN<PN||IN&&Date.now()-LN<FN||(RN=Date.now(),d(!1)))},[e,d]);let f=(0,g.useRef)(null);return(0,g.useEffect)(()=>{if(t){if(f.current===null){f.current=t;return}f.current!==t&&(f.current=t,d(!0))}},[t,d]),{data:n,checking:i,error:o,missing:c,ensure:(0,g.useCallback)(()=>void d(!1),[d]),refresh:(0,g.useCallback)(()=>void d(!0),[d])}}function UN(e){return e===`ok`?`ok`:e===`unknown`?`warn`:`error`}var WN={ok:{long:`panel.selfcheck.verdict.ok`,short:`panel.selfcheck.short.ok`},"not-listening":{long:`panel.selfcheck.verdict.notListening`,short:`panel.selfcheck.short.notListening`},"firewall-blocked":{long:`panel.selfcheck.verdict.firewallBlocked`,short:`panel.selfcheck.short.firewallBlocked`},unknown:{long:`panel.selfcheck.verdict.unknown`,short:`panel.selfcheck.short.unknown`},network:{long:`panel.selfcheck.verdict.network`,short:`panel.selfcheck.short.network`}};function GN(e){return $(WN[e]?.long??`panel.selfcheck.verdict.unknown`)}function KN(e){if(!e)return{tone:`off`,text:$(`panel.selfcheck.notChecked`)};let t=e.firewall,n=YN(t.appPath);return!t.supported||t.enabled===null?{tone:`warn`,text:$(`panel.selfcheck.unknown`)}:t.enabled===!1?{tone:`ok`,text:$(`panel.selfcheck.firewallOff`),...n?{detail:n}:{}}:t.allowsApp===!1?{tone:`error`,text:$(`panel.selfcheck.blocked`),...n?{detail:n}:{}}:t.allowsApp===!0?{tone:`ok`,text:$(`panel.selfcheck.allowed`),...n?{detail:n}:{}}:{tone:`warn`,text:$(`panel.selfcheck.unknown`)}}function qN(e,t){let n=typeof e?.mobile?.lastMobileAt==`number`?e.mobile.lastMobileAt:t;return typeof n!=`number`||!Number.isFinite(n)?{tone:`off`,text:$(`panel.selfcheck.notChecked`)}:n===0?{tone:`warn`,text:$(`panel.selfcheck.mobileNever`)}:(typeof e?.mobile?.idle==`boolean`?e.mobile.idle:BN(n))?{tone:`warn`,text:$(`panel.selfcheck.mobileIdle`),detail:gg(n)}:{tone:`ok`,text:$(`panel.selfcheck.mobileRecent`),detail:gg(n)}}function JN(e){let t={listening:`panel.lan.listening`,off:`panel.status.off`,error:`panel.lan.error`};return t[e]?$(t[e]):e}function YN(e){let t=String(e??``).trim();if(!t)return``;let n=t.split(/[\\/]/);return n[n.length-1]??``}function XN({open:e,onOpenChange:t,state:n,lastMobileAt:r}){(0,g.useEffect)(()=>{e&&n.ensure()},[e,n.ensure]);let i=n.data,a=KN(i),o=qN(i,r),s=i?UN(i.verdict):`warn`;return(0,G.jsx)(cD,{open:e,onOpenChange:t,children:(0,G.jsxs)(lD,{className:`max-w-xl`,children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(`panel.selfcheck.title`)})}),(0,G.jsxs)(pD,{className:`flex flex-col gap-3`,children:[n.error?(0,G.jsxs)(YE,{variant:n.missing?`warning`:`error`,children:[(0,G.jsx)(ZE,{}),(0,G.jsx)(QE,{children:n.missing?$(`panel.selfcheck.unavailable`):$(`panel.selfcheck.failed`)}),n.missing?null:(0,G.jsx)($E,{children:n.error})]}):null,i?(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(`p`,{className:pg(`text-sm`,s===`ok`?`text-foreground`:hg[s]),children:GN(i.verdict)}),(0,G.jsxs)(DO,{children:[(0,G.jsx)(EO,{label:$(`panel.connection.lan`),children:(0,G.jsx)(OO,{tone:i.listening.state===`listening`?`ok`:i.listening.state===`error`?`error`:`off`,text:JN(i.listening.state),detail:$(`panel.selfcheck.port`,{port:i.listening.port})})}),(0,G.jsx)(EO,{label:$(`panel.connection.tunnel`),children:(0,G.jsx)(OO,{tone:_g(i.tunnel.state),text:vg(i.tunnel.state)})}),(0,G.jsx)(EO,{label:$(`panel.selfcheck.firewall`),children:(0,G.jsx)(OO,{tone:a.tone,text:a.text,detail:a.detail})}),(0,G.jsx)(EO,{label:$(`panel.selfcheck.mobile`),children:(0,G.jsx)(OO,{tone:o.tone,text:o.text,detail:o.detail})})]}),(0,G.jsx)(`p`,{className:`text-xs text-foreground-muted`,children:$(`panel.selfcheck.checkedAt`,{time:gg(i.checkedAt)})})]}):n.checking?(0,G.jsxs)(`div`,{className:`flex items-center gap-2 py-2 text-sm text-foreground-muted`,children:[(0,G.jsx)(VE,{}),$(`panel.selfcheck.checking`)]}):null]}),(0,G.jsxs)(mD,{className:`flex justify-end gap-2`,children:[(0,G.jsx)(Q,{variant:`outline`,onClick:()=>t(!1),children:$(`panel.common.close`)}),(0,G.jsx)(Q,{variant:`primary`,disabled:n.checking,onClick:n.refresh,children:n.checking?$(`panel.selfcheck.checking`):$(`panel.selfcheck.recheck`)})]})]})})}function ZN(e){return e.available?e.enabled?e.error?`panel.tailcat.error`:e.ready?`panel.tailcat.ready`:`panel.tailcat.starting`:`panel.tailcat.disabled`:`panel.tailcat.unavailable`}function QN(e){return e.length>16?`${e.slice(0,12)}…${e.slice(-4)}`:e}function $N({open:e,onOpenChange:t,onChanged:n}){let r=rM(),[i,a]=(0,g.useState)(null),[o,s]=(0,g.useState)(``),[c,l]=(0,g.useState)(``),u=(0,g.useCallback)(async()=>{try{a(await Rk(`/api/relay/tailcat`)),s(``)}catch(e){s(Uk(e))}},[]);(0,g.useEffect)(()=>{if(!e)return;let t=()=>{l_()&&u()};t();let n=window.setInterval(t,2e3);return document.addEventListener(`visibilitychange`,t),()=>{window.clearInterval(n),document.removeEventListener(`visibilitychange`,t)}},[e,u]);let d=(0,g.useCallback)(async(e,t,i)=>{l(e);try{a(await t()),r(`soft`,i),n?.()}catch(e){r(`error`,Uk(e))}finally{l(``)}},[r,n]),f=e=>void d(`toggle`,()=>zk(`/api/relay/tailcat/enabled`,{enabled:e}),$(e?`panel.tailcat.enabledToast`:`panel.tailcat.disabledToast`)),p=e=>{window.confirm($(`panel.tailcat.revokeConfirm`))&&d(`revoke`,()=>zk(`/api/relay/tailcat/revoke`,{client:e}),$(`panel.tailcat.revokedToast`))},m=i?.status??null,h=i?.allowedClients??[];return(0,G.jsx)(cD,{open:e,onOpenChange:t,children:(0,G.jsxs)(lD,{className:`max-w-md`,children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(`panel.tailcat.title`)})}),(0,G.jsxs)(pD,{className:`flex flex-col gap-3`,children:[(0,G.jsx)(`p`,{className:`text-xs leading-5 text-foreground-muted`,children:$(`panel.tailcat.hint`)}),o?(0,G.jsx)(`p`,{className:`text-xs text-error`,children:o}):null,i===null?(0,G.jsxs)(`div`,{className:`flex items-center gap-2 py-2 text-sm text-foreground-muted`,children:[(0,G.jsx)(VE,{}),$(`panel.shell.readingStatus`)]}):m===null?(0,G.jsx)(`p`,{className:`text-sm text-foreground-muted`,children:$(`panel.tailcat.unavailable`)}):(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(`div`,{className:`flex items-baseline justify-between gap-4 border-b border-border-muted py-2`,children:[(0,G.jsx)(`span`,{className:`shrink-0 text-sm text-foreground-muted`,children:$(`panel.tailcat.title`)}),(0,G.jsxs)(`span`,{className:`min-w-0 text-right text-sm break-all`,children:[$(ZN(m)),m.error?(0,G.jsx)(`span`,{className:`ml-1 text-xs text-foreground-muted`,children:m.error}):null]})]}),(0,G.jsxs)(`div`,{className:`flex items-baseline justify-between gap-4 border-b border-border-muted py-2`,children:[(0,G.jsx)(`span`,{className:`shrink-0 text-sm text-foreground-muted`,children:$(`panel.tailcat.addressLabel`)}),(0,G.jsx)(`span`,{className:`min-w-0 text-right font-mono text-xs break-all text-foreground-strong`,children:m.address||$(`panel.tailcat.noAddress`)})]}),(0,G.jsxs)(`label`,{className:`flex items-center justify-between gap-4 border-b border-border-muted py-2`,children:[(0,G.jsx)(`span`,{className:`text-sm text-foreground-muted`,children:$(`panel.tailcat.enableLabel`)}),(0,G.jsx)(QD,{size:`md`,checked:m.enabled,disabled:!m.available||c!==``,onCheckedChange:e=>f(e),"aria-label":$(`panel.tailcat.enableLabel`)})]}),(0,G.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,G.jsxs)(`span`,{className:`text-sm text-foreground-muted`,children:[$(`panel.tailcat.pairedLabel`),` (`,m.paired,`)`]}),h.length===0?(0,G.jsx)(`span`,{className:`text-xs text-foreground-muted`,children:$(`panel.tailcat.noClients`)}):(0,G.jsx)(`ul`,{className:`flex flex-col`,children:h.map(e=>(0,G.jsxs)(`li`,{className:`flex items-center justify-between gap-3 border-b border-border-muted py-1.5 last:border-b-0`,children:[(0,G.jsx)(`span`,{className:`min-w-0 font-mono text-xs break-all text-foreground-strong`,children:QN(e)}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,disabled:c!==``,onClick:()=>p(e),children:$(`panel.tailcat.revoke`)})]},e))})]})]})]}),(0,G.jsx)(mD,{className:`flex justify-end gap-2`,children:(0,G.jsx)(Q,{variant:`outline`,disabled:c!==``,onClick:()=>t(!1),children:$(`panel.common.close`)})})]})})}var eP=`/dsh-market/api/v1`,tP=`dsh-mobile-plugin`,nP=class extends Error{constructor(e,t,n){super(n),q(this,`status`,void 0),q(this,`code`,void 0),this.name=`MarketError`,this.status=e,this.code=t}},rP=e=>e&&typeof e==`object`?e:{},iP=e=>typeof e==`string`&&e!==``?e:null;async function aP(e,t){let n;try{n=await fetch(`${eP}${e}`,{credentials:`same-origin`,...t})}catch(e){throw new nP(0,`market_unreachable`,$(`panel.net.marketUnreachable`,{message:String(e?.message||e)}))}let r=await n.json().catch(()=>null);if(!n.ok){let e=rP(r),t=rP(e.failure),i=iP(t.code)??(typeof e.error==`string`?e.error:`HTTP ${n.status}`),a=iP(t.message)??iP(e.error)??$(`panel.net.marketHttp`,{status:n.status});throw new nP(n.status,i,a)}return r}async function oP(){try{return{available:!0,restartSupported:rP(rP(await aP(`/capabilities`)).restart).supported===!0}}catch{return{available:!1,restartSupported:!1}}}async function sP(e=tP,t=!1){let n=rP(await aP(`/updates${`?name=${encodeURIComponent(e)}${t?`&force=1`:``}`}`)),r=rP(n.package??n);return{installedVersion:iP(r.installedVersion),latestVersion:iP(r.latestVersion),updateAvailable:r.updateAvailable===!0,source:iP(r.source)}}var cP={status:`/api/relay/update/status`,check:`/api/relay/update/check`,apply:`/api/relay/update/apply`,auto:`/api/relay/update/auto`,otaStatus:`/api/relay/update/ota/status`,otaCheck:`/api/relay/update/ota/check`,otaApply:`/api/relay/update/ota/apply`},lP=e=>e&&typeof e==`object`?e:{},uP=e=>typeof e==`string`&&e!==``?e:null,dP=e=>typeof e==`boolean`?e:null,fP=e=>typeof e==`number`&&Number.isFinite(e)?e:null;async function pP(e,t){let n=await fetch(e,{credentials:`same-origin`,headers:{accept:`application/json`,...t?.body?{"content-type":`application/json`}:{}},...t}),r=null;try{r=await n.json()}catch{r=null}let i=lP(r),a=lP(i.error);if(!n.ok){let e=uP(a.code)??`http_${n.status}`;throw new Ik(uP(a.message)??$(`panel.net.hostHttp`,{status:n.status}),e,n.status)}return i}function mP(e){return e instanceof Ik?e.status===404:e instanceof SyntaxError}function hP(e){return e instanceof Ik&&e.code===`update_unavailable`}function gP(e){let t=lP(e);return Object.keys(t).length===0?null:{installedVersion:uP(t.installedVersion),latestVersion:uP(t.latestVersion),updateAvailable:t.updateAvailable===!0,source:uP(t.source),checkedAt:uP(t.checkedAt)}}function _P(e){let t=lP(e),n=lP(t.failure),r=uP(n.code);return{installed:dP(t.installed),skipped:dP(t.skipped),state:uP(t.state),beforeVersion:uP(t.beforeVersion),installedVersion:uP(t.installedVersion),swapped:dP(t.swapped),restartRequired:dP(t.restartRequired),refreshRequired:dP(t.refreshRequired),failure:r?{code:r,message:uP(n.message)??r}:null}}function vP(e){let t=lP(e);return{available:t.available===!0,version:uP(t.version),installedVersion:uP(t.installedVersion),source:uP(t.source),previousVersion:uP(t.previousVersion),activatedAt:uP(t.activatedAt),lastError:uP(t.lastError),inFlight:fP(t.inFlight)??0,swapping:t.swapping===!0,autoUpdate:t.autoUpdate===!0,autoIntervalMs:fP(t.autoIntervalMs)??6e5,marketBase:uP(t.marketBase),marketLastCheckedAt:uP(t.marketLastCheckedAt),marketLastError:uP(t.marketLastError),marketResult:gP(t.marketResult),lastApply:t.lastApply?_P(t.lastApply):null,appliedAt:uP(t.appliedAt),runningShellHash:uP(t.runningShellHash),installedShellHash:uP(t.installedShellHash),shellChanged:t.shellChanged===!0}}async function yP(){return vP((await pP(cP.status)).data)}async function bP(){let e=lP((await pP(cP.check,{method:`POST`,body:JSON.stringify({})})).data);return{update:gP(e.update),status:e.status?vP(e.status):null}}async function xP(e=!1){let t=lP((await pP(cP.apply,{method:`POST`,body:JSON.stringify({force:e})})).data),n=lP(t.status);return{..._P(t),status:Object.keys(n).length>0?vP(n):null}}async function SP(e){let t=lP((await pP(cP.auto,{method:`POST`,body:JSON.stringify({enabled:e})})).data);return{enabled:t.enabled===!0,status:t.status?vP(t.status):null}}var CP=new Set([`OPERATION_BUSY`,`RELEASE_TOO_FRESH`,`VERSION_UNCHANGED`,`PLUGIN_NOT_INSTALLED`,`AGENTS_RUNNING`]);function wP(e){let t=e.installedVersion??e.beforeVersion;return e.failure?{text:$(`panel.update.applyFailed`,{message:e.failure.message}),ok:!1}:e.installed===!1?e.skipped?{text:t?$(`panel.update.applyUpToDate`,{version:t}):$(`panel.update.applyUpToDatePlain`),ok:!0}:{text:t?$(`panel.update.applyDiskUnchanged`,{version:t}):$(`panel.update.applyFailedRetry`),ok:!1}:{text:t?$(`panel.update.applySwitched`,{version:t}):$(`panel.update.applySwitchedPlain`),ok:!0}}function TP({version:e,busy:t,onRestartSidecar:n}){let[r,i]=(0,g.useState)(null),[a,o]=(0,g.useState)(!1),[s,c]=(0,g.useState)(!1),[l,u]=(0,g.useState)(null),[d,f]=(0,g.useState)(null),[p,m]=(0,g.useState)(``),h=rM(),[_,v]=(0,g.useState)(!1),y=(0,g.useCallback)(e=>{e&&i(t=>({...e,available:e.available===!0||t?.available===!0}))},[]),b=r!==null&&r.available&&!s,x=t!==``||p!==``,S=(0,g.useCallback)(async()=>{try{let e=await yP();i(e),c(e.available!==!0)}catch(e){i(null),c(hP(e))}finally{o(!0)}},[]);(0,g.useEffect)(()=>{S()},[S]),(0,g.useEffect)(()=>{if(!a)return;let e=!0;return bP().then(t=>{e&&(t.update&&f(t.update),t.status&&y(t.status))}).catch(()=>{}),()=>{e=!1}},[a]);let C=r?.swapping===!0;(0,g.useEffect)(()=>{if(!C)return;let e=window.setInterval(()=>void S(),1500);return()=>window.clearInterval(e)},[C,S]),(0,g.useEffect)(()=>{if(b||!a)return;let e=!0;return oP().then(t=>{e&&u(t)}),()=>{e=!1}},[b,a]);let w=(0,g.useCallback)(e=>{if(e instanceof nP&&CP.has(e.code)){h(`soft`,`${e.message}(${e.code})`);return}h(`error`,Uk(e))},[]),T=(0,g.useCallback)(async()=>{m(`check`);try{let e=await bP();e.status&&y(e.status),e.update&&f(e.update)}catch(e){mP(e)||hP(e)?await S():h(`error`,Uk(e))}finally{m(``)}},[S]),E=(0,g.useCallback)(async e=>{m(`apply`);try{let t=await xP(e);t.status&&y(t.status);let n=wP(t),r=t.failure!==null&&CP.has(t.failure.code);n.ok||r?h(`soft`,n.text):h(`error`,n.text)}catch(e){mP(e)||hP(e)?await S():h(`error`,Uk(e))}finally{m(``)}},[S]),D=(0,g.useCallback)(async()=>{m(`check`);try{let e=await bP();e.status&&y(e.status),f(e.update)}catch(e){if(!mP(e))f(null),h(`error`,Uk(e));else try{f(await sP(void 0,!0))}catch(e){f(null),w(e)}}finally{m(``)}},[w]),O=(0,g.useCallback)(async e=>{v(!0);try{let t=await SP(e);t.status&&y(t.status);let n=Math.round((t.status?.autoIntervalMs??r?.autoIntervalMs??6e5)/6e4);h(`soft`,t.enabled?$(`panel.update.autoOn`,{minutes:n}):$(`panel.update.autoOff`))}catch(e){h(`error`,$(`panel.update.autoToggleFailed`,{message:Uk(e)})),await S()}finally{v(!1)}},[r?.autoIntervalMs,S]),k=d?.latestVersion??r?.marketResult?.latestVersion??null,A=d?.source??r?.marketResult?.source??null,j=A===`linked`||A===`file`||A===`workspace`,M=d?.updateAvailable??r?.marketResult?.updateAvailable??!1,N=r?.lastApply?wP(r.lastApply):null,P=e||`—`,F=r?.version??null,I=b&&!!F&&!!e&&F!==e,L=r?.installedVersion??null,R=b&&!!L&&!!e&&L!==e;return(0,G.jsxs)(xD,{frame:`solid`,children:[(0,G.jsx)(SD,{className:`px-4 py-3`,children:(0,G.jsxs)(CD,{className:`flex items-center gap-2 text-base lg:text-lg`,children:[(0,G.jsx)(`span`,{children:$(`panel.update.title`)}),(0,G.jsx)(rD,{variant:`soft`,size:`sm`,children:e||$(`panel.update.unknownVersion`)})]})}),a?null:(0,G.jsxs)(`div`,{className:`flex items-center gap-2 py-2 text-sm text-foreground-muted`,children:[(0,G.jsx)(VE,{}),$(`panel.update.reading`)]}),s?(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(DO,{children:[(0,G.jsx)(EO,{label:$(`panel.update.runningVersion`),mono:!0,children:P}),(0,G.jsx)(EO,{label:$(`panel.update.latestOnline`),mono:!0,children:k??$(`panel.update.notChecked`)})]}),(0,G.jsxs)(`p`,{className:`mt-3 text-xs text-foreground-muted`,children:[M?$(`panel.update.hasNew`):``,$(`panel.update.nothingToInstall`)]})]}):null,a&&!b&&!s&&l!==null&&!l.available?(0,G.jsxs)(YE,{variant:`info`,className:`mt-3`,children:[(0,G.jsx)(ZE,{}),(0,G.jsx)(QE,{children:$(`panel.update.noMarketTitle`)}),(0,G.jsx)($E,{children:$(`panel.update.noMarketBody`)})]}):null,b&&r?(0,G.jsxs)(G.Fragment,{children:[j?null:(0,G.jsxs)(`label`,{className:`mt-1 flex items-start justify-between gap-4 border-b border-border-muted py-3`,children:[(0,G.jsx)(`span`,{className:`min-w-0`,children:(0,G.jsx)(`span`,{className:`block text-sm text-foreground`,children:$(`panel.update.autoUpdate`)})}),(0,G.jsxs)(`span`,{className:`flex shrink-0 items-center gap-2`,children:[_?(0,G.jsx)(VE,{}):null,(0,G.jsx)(QD,{size:`md`,checked:r.autoUpdate,disabled:x||_,onCheckedChange:e=>void O(e),"aria-label":$(`panel.update.autoUpdate`)})]})]}),(0,G.jsxs)(DO,{children:[(0,G.jsx)(EO,{label:$(`panel.update.runningVersion`),mono:!0,children:P}),L?(0,G.jsx)(EO,{label:$(`panel.update.diskVersion`),mono:!0,children:L}):null,(0,G.jsx)(EO,{label:$(`panel.update.latestOnline`),mono:!0,children:k??$(`panel.update.notChecked`)})]}),I?(0,G.jsx)(`p`,{className:`mt-2 text-xs text-foreground-muted`,children:$(`panel.update.versionDrift`,{version:e??``,shell:F??``})}):null,R?(0,G.jsx)(`p`,{className:`mt-2 text-xs text-foreground-muted`,children:$(`panel.update.diskDrift`,{disk:L??``,running:e??``})}):null,r.lastError?(0,G.jsx)(`p`,{className:`mt-2 text-xs text-foreground-muted`,children:$(`panel.update.lastErrorLine`,{message:r.lastError})}):null,(0,G.jsxs)(`div`,{className:`mt-3 flex flex-wrap justify-end gap-2`,children:[(0,G.jsx)(Q,{variant:`outline`,size:`md`,disabled:x,onClick:n,children:$(`panel.update.restartSidecar`)}),(0,G.jsx)(Q,{variant:`outline`,size:`md`,disabled:x,onClick:()=>void T(),children:$(p===`check`?`panel.update.checking`:`panel.update.check`)}),j?null:(0,G.jsx)(Q,{variant:`primary`,size:`md`,disabled:x,onClick:()=>void E(!1),children:$(p===`apply`?`panel.update.updating`:`panel.update.updateNow`)})]}),!j&&(M||N!==null&&!N.ok)?(0,G.jsx)(`div`,{className:`mt-2 flex justify-end`,children:(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,disabled:x,onClick:()=>void E(!0),children:$(`panel.update.forceHint`)})}):null]}):null,a&&!b&&!s&&l?.available?(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(DO,{children:[(0,G.jsx)(EO,{label:$(`panel.update.runningVersion`),mono:!0,children:P}),(0,G.jsx)(EO,{label:$(`panel.update.latestOnline`),mono:!0,children:k??$(`panel.update.notChecked`)}),(0,G.jsx)(EO,{label:$(`panel.update.checkResult`),children:$(M?`panel.update.resultHasNew`:`panel.update.resultUpToDate`)})]}),(0,G.jsxs)(`div`,{className:`mt-3 flex flex-wrap justify-end gap-2`,children:[(0,G.jsx)(Q,{variant:`outline`,size:`md`,disabled:x,onClick:n,children:$(`panel.update.restartSidecar`)}),(0,G.jsx)(Q,{variant:`outline`,size:`md`,disabled:x,onClick:()=>void D(),children:$(p===`check`?`panel.update.checking`:`panel.update.check`)}),r!==null&&!j?(0,G.jsx)(Q,{variant:`primary`,size:`md`,disabled:x,onClick:()=>void E(!1),children:$(p===`apply`?`panel.update.updating`:`panel.update.updateNow`)}):null]})]}):null]})}function EP({webAccess:e,busy:t,onToggle:n}){let r=e?.enabled===!0,i=typeof e?.expiresAt==`number`?e.expiresAt:0;return(0,G.jsxs)(xD,{frame:`solid`,children:[(0,G.jsx)(SD,{className:`px-4 py-3`,children:(0,G.jsx)(CD,{className:`text-base lg:text-lg`,children:$(`panel.webAccess.title`)})}),(0,G.jsx)(DO,{children:(0,G.jsx)(EO,{label:$(`panel.webAccess.state`),tone:r?`ok`:`off`,children:r?$(`panel.webAccess.expires`,{time:gg(i)}):$(`panel.webAccess.closed`)})}),(0,G.jsx)(`p`,{className:`mt-2 text-xs leading-5 text-foreground-muted`,children:$(`panel.webAccess.hint`)}),(0,G.jsx)(`div`,{className:`mt-3 flex flex-wrap gap-2`,children:r?(0,G.jsx)(Q,{variant:`outline`,size:`sm`,disabled:t===`webAccess`,onClick:()=>n(!1),children:$(`panel.webAccess.close`)}):(0,G.jsx)(Q,{variant:`outline`,size:`sm`,disabled:t===`webAccess`,onClick:()=>n(!0),children:$(`panel.webAccess.open`)})})]})}function DP(e,t=``){let n=document.documentElement;n.setAttribute(`data-dshm-panel-state`,e),t?n.setAttribute(`data-dshm-panel-error`,t):n.removeAttribute(`data-dshm-panel-error`),window.parent!==window&&window.parent.postMessage({type:`dsh-mobile-plugin:panel-state`,state:e,message:t},`*`)}var OP=1500,kP=600;function AP(){return(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,className:`size-4`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,G.jsx)(`path`,{d:`M4 7h16`}),(0,G.jsx)(`path`,{d:`M9 7V4.5A1.5 1.5 0 0 1 10.5 3h3A1.5 1.5 0 0 1 15 4.5V7`}),(0,G.jsx)(`path`,{d:`M6 7l1 12.5A2 2 0 0 0 9 21h6a2 2 0 0 0 2-1.5L18 7`}),(0,G.jsx)(`path`,{d:`M10 11v6M14 11v6`})]})}function jP(){let[e,t]=(0,g.useState)(null),[n,r]=(0,g.useState)(``),[i,a]=(0,g.useState)(``),[o,s]=(0,g.useState)(null),[c,l]=(0,g.useState)(``),[u,d]=(0,g.useState)(null),[f,p]=(0,g.useState)(!1),[m,h]=(0,g.useState)(!1),[_,v]=(0,g.useState)(!1),[y,b]=(0,g.useState)(!1),[x,S]=(0,g.useState)(!1),[C,w]=(0,g.useState)(!1),T=rM();(0,g.useEffect)(()=>{e?DP(`ready`):n&&DP(`error`,n)},[e,n]);let E=(0,g.useRef)(null),[D,O]=(0,g.useState)(0);(0,g.useEffect)(()=>{let e=E.current;if(!e||typeof ResizeObserver>`u`)return;let t=()=>O(e.getBoundingClientRect().height);t();let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[e]);let k=HN(BN(e?.lastMobileAt),e?`${+!!e.enabled}|${+!!e.lan.enabled}|${e.lan.state}|${e.tunnel.state}|${+((e.lastMobileAt??0)>0)}`:``),A=(0,g.useCallback)(async()=>{try{t(await Rk(`/api/relay/status`)),r(``)}catch(e){r(Uk(e))}},[]),j=(0,g.useCallback)(async()=>{l(``);try{s(await Rk(`/api/relay/pairing`)),l(``)}catch(e){s(null),l(Uk(e))}},[]),M=(0,g.useCallback)(async()=>{try{d(await Rk(`/api/relay/addresses`))}catch{d(null)}},[]);(0,g.useEffect)(()=>{let e=()=>{l_()&&A()};e();let t=0,n=window.setTimeout(()=>{t=window.setInterval(e,3e3)},OP);return document.addEventListener(`visibilitychange`,e),()=>{window.clearTimeout(n),t&&window.clearInterval(t),document.removeEventListener(`visibilitychange`,e)}},[A]),(0,g.useEffect)(()=>{if(!e?.enabled)return;let t=window.setTimeout(()=>void j(),kP);return()=>window.clearTimeout(t)},[e?.enabled,j]),(0,g.useEffect)(()=>{e?.enabled&&o&&e.pairingCode&&o.pairingCode!==e.pairingCode&&j()},[e?.pairingCode,e?.enabled,o,j]);let N=(0,g.useCallback)(async()=>{try{s(await Rk(`/api/relay/pairing`)),l(``)}catch{}},[]);(0,g.useEffect)(()=>{if(!e?.enabled)return;let t=Fk(o);if(t===null)return;let n=window.setTimeout(()=>void N(),t);return()=>window.clearTimeout(n)},[o,e?.enabled,N]),(0,g.useEffect)(()=>{if(!e?.enabled)return;let t=window.setTimeout(()=>void M(),kP);return()=>window.clearTimeout(t)},[e?.enabled,o,M]),(0,g.useEffect)(()=>{f&&e?.enabled&&(j(),M())},[f,e?.enabled,j,M]);let P=(0,g.useCallback)(async(e,t)=>{a(e);try{await t()}catch(e){T(`error`,Uk(e))}finally{a(``)}},[T]),F=e=>P(`toggle`,async()=>{t(await zk(`/api/relay/toggle`,{enabled:e})),e?await j():(s(null),l(``)),T(`soft`,$(e?`panel.shell.remoteEnabled`:`panel.shell.remoteDisabled`))}),I=()=>P(`restart`,async()=>{let e=await zk(`/api/relay/restart-sidecar`);t(e.status),T(`soft`,$(`panel.shell.sidecarRestarted`))}),L=()=>{window.confirm($(`panel.shell.revokeConfirm`))&&P(`revoke`,async()=>{let e=await zk(`/api/relay/revoke-all`);await A(),await j(),T(`soft`,`${$(`panel.shell.revoked`,{count:e.revoked})}${e.revokedRelay?$(`panel.shell.revokedRelay`,{count:e.revokedRelay}):``}`)})},R=e=>P(`webAccess`,async()=>{let n=await zk(`/api/relay/web-access`,{enabled:e});t(e=>e&&{...e,webAccess:n.webAccess}),T(`soft`,$(e?`panel.webAccess.opened`:`panel.webAccess.closedNotice`))}),z=e=>P(`config`,async()=>{t(await zk(`/api/relay/config`,e)),p(!1),await j(),T(`soft`,$(`panel.shell.configSaved`))}),B=e=>P(`policy`,async()=>{t(await zk(`/api/relay/config`,{pairingPolicy:e})),T(`soft`,$(e===`code`?`panel.shell.deviceAllowed`:`panel.shell.deviceDenied`))}),V=e=>P(`tier`,async()=>{t(await zk(`/api/relay/config`,{pairingTier:e})),T(`soft`,$(`panel.shell.configSaved`))}),H=e=>P(`autoReview`,async()=>{t(await zk(`/api/relay/config`,{approvalAutoReview:e})),T(`soft`,$(e?`panel.shell.autoReviewOn`:`panel.shell.autoReviewOff`))}),U=e=>P(`lan`,async()=>{t(await zk(`/api/relay/config`,{lanPort:e})),h(!1),await j(),T(`soft`,$(`panel.shell.lanSaved`))}),W=e=>P(`lan`,async()=>{t(await zk(`/api/relay/config`,{preferredLanAddress:e})),await Promise.all([j(),M()]),T(`soft`,e?$(`panel.shell.preferredAddress`,{address:e}):$(`panel.shell.preferredAuto`))}),ee=e?e.tunnel.state===`connected`||e.lan.state===`listening`?`ok`:e.enabled?`warn`:`off`:null;return e?(0,G.jsxs)(`main`,{className:`mx-auto flex w-full max-w-[1200px] flex-col gap-3 p-4 sm:p-5`,children:[(0,G.jsxs)(`header`,{className:`flex flex-wrap items-center gap-x-3 gap-y-2`,children:[(0,G.jsxs)(`div`,{className:`flex min-w-0 flex-1 items-center gap-2`,children:[ee?(0,G.jsx)(TO,{tone:ee}):null,(0,G.jsx)(`span`,{className:`truncate text-sm font-medium text-foreground`,children:e.name||e.instanceId}),(0,G.jsx)(rD,{variant:`soft`,size:`sm`,children:e.appVersion||$(`panel.shell.unknownVersion`)}),(0,G.jsx)(BM,{compact:!0})]}),i?(0,G.jsxs)(`span`,{className:`inline-flex items-center gap-1.5 text-xs text-foreground-muted`,children:[(0,G.jsx)(VE,{}),$(`panel.shell.busy`)]}):null,(0,G.jsxs)(`div`,{className:`flex flex-wrap items-center gap-1`,children:[(0,G.jsx)(XM,{lanPort:e.lan.port}),(0,G.jsx)(Dg,{}),(0,G.jsx)(a_,{}),(0,G.jsx)(Q,{variant:`ghost`,size:`icon-md`,"aria-label":$(`panel.inbox.title`),title:$(`panel.inbox.title`),onClick:()=>w(!0),children:(0,G.jsx)(AP,{})}),(0,G.jsx)(BO,{})]})]}),n?(0,G.jsxs)(YE,{variant:`error`,children:[(0,G.jsx)(ZE,{}),(0,G.jsx)(QE,{children:$(`panel.shell.statusFailed`)}),(0,G.jsx)($E,{children:n})]}):null,(0,G.jsxs)(`div`,{className:`grid grid-cols-1 gap-3`,children:[(0,G.jsxs)(`div`,{className:`grid grid-cols-1 items-stretch gap-3 md:grid-cols-5`,children:[(0,G.jsx)(`div`,{className:`md:col-span-3`,children:(0,G.jsx)(Qj,{fill:!0,status:e,pairing:o,addressBook:u,busy:i,error:c,restartError:e.sidecar.restartError,onOpenConfig:()=>p(!0),onChangePolicy:e=>void B(e),onChangeTier:e=>void V(e),onChangeAutoReview:e=>void H(e),onOpenSelfCheck:()=>v(!0),onRetryPairing:()=>void j(),onSavePreferred:e=>void W(e),onEditPort:()=>h(!0)})}),(0,G.jsx)(`div`,{className:`md:col-span-2`,children:(0,G.jsx)(TP,{version:e.appVersion||``,busy:i,onRestartSidecar:()=>void I()})})]}),(0,G.jsxs)(`div`,{className:`grid grid-cols-1 gap-3 md:grid-cols-2`,children:[(0,G.jsx)(`div`,{ref:E,children:(0,G.jsx)(NO,{status:e,addressBook:u,busy:i,onToggle:F,onManageTailcat:()=>b(!0),onManageP2P:()=>S(!0)})}),(0,G.jsx)(`div`,{className:`min-h-0`,style:D>0?{height:`${D}px`}:void 0,children:(0,G.jsx)(mM,{onRevokeAll:L,busy:i,fill:!0})})]}),(0,G.jsx)(`div`,{className:`columns-1 gap-3 md:columns-2 xl:columns-3 [&>*]:mb-3 [&>*]:break-inside-avoid`,children:e.webAccess?.enabled&&e.panelScope!==`loopback`?(0,G.jsx)(EP,{webAccess:e.webAccess,busy:i,onToggle:e=>void R(e)}):null})]}),(0,G.jsx)(MN,{open:f,onOpenChange:p,status:e,addressBook:u,lanUrls:o?.lanUrls??[],busy:i,onSave:e=>void z(e),onSavePreferred:e=>void W(e)}),(0,G.jsx)(XN,{open:_,onOpenChange:v,state:k,lastMobileAt:e.lastMobileAt}),(0,G.jsx)($N,{open:y,onOpenChange:b,onChanged:()=>void A()}),(0,G.jsx)($M,{open:x,onOpenChange:S}),(0,G.jsx)(pN,{open:m,onOpenChange:h,port:o?.lanPort??e.lan.requestedPort??e.lan.port,busy:i,onSave:e=>void U(e)}),(0,G.jsx)(cD,{open:C,onOpenChange:w,children:(0,G.jsxs)(lD,{className:`max-w-md`,children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(`panel.inbox.title`)})}),(0,G.jsx)(pD,{children:(0,G.jsx)(UM,{framed:!1})})]})}),(0,G.jsx)(mN,{visible:Bj(e.relayUrl),onOpenConfig:()=>p(!0)})]}):(0,G.jsx)(`main`,{className:`mx-auto flex w-full max-w-5xl flex-col gap-3 p-5`,children:n?(0,G.jsx)(`p`,{className:`text-sm text-error`,children:n}):(0,G.jsxs)(`p`,{className:`flex items-center gap-2 text-sm text-foreground-muted`,children:[(0,G.jsx)(VE,{}),$(`panel.shell.readingStatus`)]})})}var MP=[{textKey:`panel.onboarding.linuxStep1`},{text:`systemctl status firewalld`,cmd:!0},{text:`sudo ufw status`,cmd:!0},{textKey:`panel.onboarding.linuxStep2`},{text:`sudo firewall-cmd --permanent --add-port={port}/tcp
|
|
88
88
|
sudo firewall-cmd --reload`,cmd:!0},{text:`sudo ufw allow {port}/tcp`,cmd:!0},{textKey:`panel.onboarding.linuxStep3`}],NP=[{textKey:`panel.onboarding.macStep1`},{text:`/usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate`,cmd:!0},{textKey:`panel.onboarding.macStep2`},{text:`sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off`,cmd:!0},{textKey:`panel.onboarding.macStep3`}],PP=[{textKey:`panel.onboarding.winStep1`},{text:`Get-NetFirewallProfile | Select-Object Name, Enabled`,cmd:!0},{textKey:`panel.onboarding.winStep2`},{text:`New-NetFirewallRule -DisplayName "DSH Mobile {port}" -Direction Inbound -LocalPort {port} -Protocol TCP -Action Allow`,cmd:!0},{textKey:`panel.onboarding.winStep3`}];function FP(){return[$(`panel.onboarding.prompt.intro`),``,$(`panel.onboarding.prompt.situation`),$(`panel.onboarding.prompt.address`),$(`panel.onboarding.prompt.guess`),``,$(`panel.onboarding.prompt.ask`),$(`panel.onboarding.prompt.ask1`),$(`panel.onboarding.prompt.ask2`),$(`panel.onboarding.prompt.ask3`),$(`panel.onboarding.prompt.ask4`),``,$(`panel.onboarding.prompt.extra`)].join(`
|
|
89
89
|
`)}function IP({title:e,steps:t,port:n,onCopied:r}){async function i(){try{await navigator.clipboard.writeText(FP()),r(!0)}catch{r(!1)}}return(0,G.jsxs)(`section`,{className:`flex flex-col gap-1.5 rounded-lg border border-border-muted bg-background-muted p-3`,children:[(0,G.jsx)(`h3`,{className:`text-center text-sm font-semibold text-foreground-intense`,children:e}),t.map(e=>{let t=(e.text??(e.textKey?$(e.textKey):``)).replace(/\{port\}/g,n);return e.cmd?(0,G.jsx)(`pre`,{className:`rounded bg-background-subtle px-2 py-1.5 font-mono text-[11px] leading-5 break-words whitespace-pre-wrap text-foreground-strong`,children:t},t):(0,G.jsx)(`p`,{className:`text-xs leading-5 text-foreground-muted`,children:t},t)}),(0,G.jsx)(Q,{className:`mt-auto`,variant:`outline`,size:`sm`,onClick:()=>void i(),children:$(`panel.onboarding.copyPromptHint`)})]})}function LP({open:e,onOpenChange:t,port:n}){let[r,i]=(0,g.useState)(``),a=e=>i(e?`ok`:`failed`);return(0,G.jsx)(cD,{open:e,onOpenChange:e=>{e||i(``),t(e)},children:(0,G.jsxs)(lD,{className:`w-[min(1200px,92vw)] max-w-none`,backdropProps:{className:`z-[80]`},viewportProps:{className:`z-[80]`},children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(`panel.onboarding.firewallTitle`)})}),(0,G.jsxs)(pD,{className:`flex flex-col gap-4`,children:[(0,G.jsxs)(`p`,{className:`text-sm text-foreground-muted`,children:[$(`panel.onboarding.firewallIntro`),` `,(0,G.jsx)(`span`,{className:`font-mono`,children:n}),$(`panel.onboarding.firewallIntroTail`)]}),(0,G.jsxs)(`div`,{className:`grid gap-4 md:grid-cols-3`,children:[(0,G.jsx)(IP,{title:`Linux`,steps:MP,port:n,onCopied:a}),(0,G.jsx)(IP,{title:`Mac`,steps:NP,port:n,onCopied:a}),(0,G.jsx)(IP,{title:`Windows`,steps:PP,port:n,onCopied:a})]})]}),r?(0,G.jsx)(mD,{className:`flex justify-end`,children:(0,G.jsx)(`span`,{className:`text-xs text-foreground-muted`,children:$(r===`ok`?`panel.onboarding.copiedOk`:`panel.onboarding.copiedFailed`)})}):null]})})}function RP(e){let t=(e.preferred||``).trim();return t&&e.lan.some(e=>e.address===t)?t:e.lan[0]?.address??``}function zP({onDone:e}){let[t,n]=(0,g.useState)(null),[r,i]=(0,g.useState)(``),[a,o]=(0,g.useState)(``),[s,c]=(0,g.useState)(!1),[l,u]=(0,g.useState)(!1),[d,f]=(0,g.useState)(null),[p,m]=(0,g.useState)(null),[h,_]=(0,g.useState)(``),[v,y]=(0,g.useState)(``),[b,x]=(0,g.useState)(!1),[S,C]=(0,g.useState)(!1),[w,T]=(0,g.useState)(!1),[E,D]=(0,g.useState)(``),O=HN(BN(t?.lastMobileAt),t?`${+!!t.enabled}|${+!!t.lan.enabled}|${t.lan.state}|${t.tunnel.state}|${+((t.lastMobileAt??0)>0)}`:``),k=KN(O.data),A=O.data?.verdict??``,j=(0,g.useRef)(!0);(0,g.useEffect)(()=>(j.current=!0,()=>{j.current=!1}),[]),(0,g.useEffect)(()=>{(async()=>{try{let e=await Rk(`/api/relay/addresses`);f(e),y(RP(e))}catch{f(null),u(!0)}})()},[]),(0,g.useEffect)(()=>{(async()=>{try{let e=await Rk(`/api/relay/status`);n(e),e.enabled&&u(!0)}catch(e){i(Uk(e))}await N()})()},[]);let M=(0,g.useRef)(!1);(0,g.useEffect)(()=>{M.current||d!==null&&(M.current=!0,!(t&&t.enabled)&&z())},[d,t]);async function N(){_(``);try{m(await Rk(`/api/relay/pairing`))}catch(e){_(Uk(e))}}(0,g.useEffect)(()=>{let e=Fk(p);if(e===null)return;let t=window.setTimeout(()=>{j.current&&N()},e);return()=>window.clearTimeout(t)},[p]);let P=String(t?.lan.port||d?.port||18787),F=t!==null&&(t.lan.state===`listening`||t.tunnel.state===`connected`),I=t!==null&&l&&!O.checking&&A!==`ok`&&!(A===`not-listening`&&F);async function L(){let e=Date.now();for(;j.current&&Date.now()-e<2e4;){if(await new Promise(e=>window.setTimeout(e,1500)),!j.current)return;let e;try{e=await Rk(`/api/relay/status`)}catch{continue}if(n(e),e.lan.state===`listening`||e.tunnel.state===`connected`||e.lan.state===`error`&&e.tunnel.state===`error`)return}}async function R(e){if(s)return;c(!0),e&&u(!1),o(``);let t={relayUrl:zj,lanEnabled:!0,pairingPolicy:`code`};v&&(t.preferredLanAddress=v);try{n(await zk(`/api/relay/config`,t)),e&&(n(await zk(`/api/relay/toggle`,{enabled:!0})),await zk(`/api/relay/onboarded`,{}).catch(()=>void 0)),await N(),e&&L().finally(()=>{j.current&&u(!0)})}catch(t){e&&j.current&&u(!0),o(Uk(t))}finally{c(!1)}}async function z(){await R(!0)}function B(){e?e():window.location.assign(`/`)}async function V(){let e=[$(`panel.onboarding.tailcatPrompt.intro`),``,$(`panel.onboarding.tailcatPrompt.situation`),$(`panel.onboarding.tailcatPrompt.state`,{state:K}),$(`panel.onboarding.tailcatPrompt.guess`),``,$(`panel.onboarding.tailcatPrompt.ask`),$(`panel.onboarding.tailcatPrompt.ask1`),$(`panel.onboarding.tailcatPrompt.ask2`),$(`panel.onboarding.tailcatPrompt.ask3`)].join(`
|
|
90
|
-
`);try{return await navigator.clipboard.writeText(e),!0}catch{return!1}}let H=p?.svg??``,U=t?.tailcat??null,W=!U||!U.available?`unavailable`:U.enabled?U.error?`error`:U.ready?`ready`:`starting`:`disabled`,ee=W!==`ready`&&W!==`starting`,K={ready:$(`panel.tailcat.ready`),starting:$(`panel.tailcat.starting`),disabled:$(`panel.tailcat.disabled`),error:$(`panel.tailcat.error`),unavailable:$(`panel.tailcat.unavailable`)}[W],te=W===`ready`?`ok`:W===`starting`?`warn`:`off`;return(0,G.jsxs)(`main`,{className:`flex min-h-screen flex-col items-center justify-center gap-4 px-6 pt-6 pb-24`,children:[r?(0,G.jsxs)(YE,{className:`w-full max-w-4xl`,variant:`error`,children:[(0,G.jsx)(ZE,{}),(0,G.jsx)(QE,{children:$(`panel.onboarding.statusFailed`)}),(0,G.jsx)($E,{children:r})]}):null,a?(0,G.jsxs)(YE,{className:`w-full max-w-4xl`,variant:`error`,children:[(0,G.jsx)(ZE,{}),(0,G.jsx)(QE,{children:$(`panel.onboarding.stepFailed`)}),(0,G.jsx)($E,{children:a})]}):null,(0,G.jsxs)(xD,{frame:`solid`,className:`w-full max-w-4xl`,children:[(0,G.jsxs)(`div`,{className:`grid items-center gap-6 px-4 pb-2 md:grid-cols-[minmax(320px,1fr)_minmax(0,1fr)]`,children:[(0,G.jsxs)(`div`,{className:`flex flex-col items-center gap-2 md:col-start-1 md:row-start-1`,children:[(0,G.jsxs)(`div`,{className:`flex h-5 w-full max-w-[320px] items-center justify-center gap-1.5`,children:[(0,G.jsx)(`p`,{className:`text-sm font-medium leading-5 text-foreground-strong`,children:$(`panel.onboarding.pairingHint`)}),H?(0,G.jsx)(`button`,{type:`button`,"aria-label":`${$(`panel.pairing.qrZoom`)}:${$(`panel.pairing.qr`)}`,title:$(`panel.pairing.qrZoom`),className:`cursor-pointer text-foreground-muted hover:text-foreground-strong focus-visible:outline-none`,onClick:()=>C(!0),children:(0,G.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:`size-4`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`,children:[(0,G.jsx)(`circle`,{cx:`10.5`,cy:`10.5`,r:`6`}),(0,G.jsx)(`path`,{d:`m15 15 4.5 4.5M8.5 10.5h4M10.5 8.5v4`})]})}):null]}),H?(0,G.jsx)(`button`,{type:`button`,className:`cursor-zoom-in rounded-lg focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none`,onClick:()=>C(!0),"aria-label":`${$(`panel.pairing.qrZoom`)}:${$(`panel.pairing.qr`)}`,children:(0,G.jsx)(`div`,{className:`size-[320px] max-w-full rounded-lg bg-white p-3 [&_svg]:h-full [&_svg]:w-full`,dangerouslySetInnerHTML:{__html:H}})}):(0,G.jsx)(`div`,{className:`flex size-[320px] max-w-full items-center justify-center rounded-lg border border-border-muted text-xs text-foreground-muted`,children:h?(0,G.jsxs)(`div`,{className:`flex flex-col items-center gap-2 p-3 text-center`,children:[(0,G.jsx)(`span`,{role:`alert`,children:h}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,disabled:s,onClick:()=>void N(),children:$(`panel.console.retryPairing`)})]}):s?(0,G.jsx)(VE,{}):$(`panel.onboarding.noQr`)}),(0,G.jsx)(`p`,{className:`min-h-4 max-w-[320px] text-center text-xs leading-4 text-foreground-muted`,children:!F&&H?$(`panel.onboarding.relayNotConnected`):``})]}),(0,G.jsxs)(`div`,{className:`flex min-w-0 flex-col justify-center gap-3 md:col-start-2 md:row-start-1`,children:[(0,G.jsx)(`p`,{className:`text-center text-sm font-medium text-foreground-strong`,children:$(`panel.download.title`)}),(0,G.jsx)(Wj,{})]}),(0,G.jsxs)(`div`,{className:`w-full md:col-span-2 md:row-start-2 [&_dt]:text-foreground-strong`,children:[(0,G.jsxs)(DO,{children:[(0,G.jsx)(EO,{label:$(`panel.onboarding.direct`),children:(0,G.jsx)(OO,{tone:yg(t?.lan.state??`off`,!0),text:bg(t?.lan.state??`off`,!0)})}),(0,G.jsx)(EO,{label:$(`panel.connection.tunnel`),children:(0,G.jsx)(OO,{tone:_g(t?.tunnel.state??`off`),text:vg(t?.tunnel.state??`off`)})}),(0,G.jsx)(EO,{label:$(`panel.tailcat.title`),children:(0,G.jsxs)(`span`,{className:`inline-flex items-center justify-end gap-1.5`,children:[(0,G.jsx)(OO,{tone:te,text:K}),ee?(0,G.jsx)(`button`,{type:`button`,"aria-label":$(`panel.onboarding.tailcatWhy`),title:$(`panel.onboarding.tailcatWhy`),className:`cursor-pointer text-foreground-muted hover:text-foreground-strong focus-visible:outline-none`,onClick:()=>T(!0),children:(0,G.jsx)(wO,{})}):null]})}),(0,G.jsx)(EO,{label:$(`panel.selfcheck.firewall`),children:(0,G.jsx)(OO,{tone:k.tone,text:k.text,detail:k.detail})})]}),I?(0,G.jsx)(`p`,{className:`mt-2 text-sm leading-relaxed break-words ${hg[UN(A)]}`,children:GN(A)}):null,t!==null&&(t.lan.state===`error`||t.tunnel.state===`error`)?(0,G.jsxs)(YE,{className:`mt-2`,variant:`error`,children:[(0,G.jsx)(ZE,{}),(0,G.jsx)(QE,{children:t.lan.state===`error`?$(`panel.onboarding.lanFailed`):$(`panel.onboarding.relayFailed`)}),(0,G.jsx)($E,{children:t.lan.state===`error`?t.lan.error?$(`panel.onboarding.lanErrorWithPort`,{error:t.lan.error}):$(`panel.onboarding.lanNoStart`):t.tunnel.error?$(`panel.onboarding.tunnelErrorHint`,{error:t.tunnel.error}):$(`panel.onboarding.tunnelNoStart`)})]}):null]})]}),(0,G.jsxs)(`div`,{className:`flex flex-wrap items-center justify-end gap-2 px-4 py-4`,children:[(0,G.jsx)(`button`,{type:`button`,className:`cursor-pointer text-sm text-foreground-intense underline underline-offset-2 hover:text-foreground-strong`,onClick:()=>x(!0),children:$(`panel.onboarding.checkFirewall`)}),F?(0,G.jsx)(Q,{variant:`primary`,onClick:B,children:$(`panel.onboarding.enterPlugin`)}):(0,G.jsx)(Q,{variant:`primary`,disabled:s||r!==``,onClick:()=>void z(),children:$(s?`panel.onboarding.opening`:`panel.onboarding.connectRelay`)})]})]}),(0,G.jsx)(LP,{open:b,onOpenChange:x,port:P}),(0,G.jsx)(cD,{open:S,onOpenChange:C,children:(0,G.jsxs)(lD,{className:`w-[min(680px,94vw)] max-w-none`,closeLabel:$(`panel.common.close`),children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(`panel.pairing.qr`)})}),(0,G.jsx)(pD,{children:(0,G.jsx)(`div`,{className:`flex flex-col items-center gap-3`,children:(0,G.jsx)(`div`,{className:`flex items-center justify-center rounded-md bg-white p-4`,children:H?(0,G.jsx)(`div`,{className:`size-[min(72vh,600px)] [&_svg]:h-full [&_svg]:w-full`,dangerouslySetInnerHTML:{__html:H}}):null})})})]})}),(0,G.jsx)(cD,{open:w,onOpenChange:T,children:(0,G.jsxs)(lD,{className:`max-w-md`,closeLabel:$(`panel.common.close`),children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(`panel.tailcat.title`)})}),(0,G.jsxs)(pD,{className:`flex flex-col gap-2.5`,children:[(0,G.jsx)(`p`,{className:`text-xs leading-5 text-foreground-muted`,children:$(`panel.onboarding.tailcatWhat`)}),(0,G.jsx)(`p`,{className:`text-sm text-foreground`,children:$(`panel.onboarding.tailcat.${W}`)}),(0,G.jsx)(Q,{variant:`outline`,size:`sm`,onClick:()=>{V().then(e=>D($(e?`panel.onboarding.copiedOk`:`panel.onboarding.copiedFailed`)))},children:$(`panel.onboarding.copyPromptHint`)}),E?(0,G.jsx)(`p`,{className:`text-xs text-foreground-muted`,children:E}):null]})]})})]})}function BP(e){let t=typeof e==`string`?e:e instanceof Ik?e.code:``,n={"credentials-unavailable":`errorAuth`,REMOTE_AUTH:`errorAuth`,REMOTE_REVOKED:`errorAuth`,REMOTE_EXPIRED:`errorExpired`,REMOTE_TIMEOUT:`errorTimeout`,REMOTE_CONNECT:`errorConnect`,REMOTE_INVITATION:`errorInvitation`,REMOTE_OPEN_URL:`invalidOpenUrl`,REMOTE_POPUP:`popupBlocked`,REMOTE_EXTERNAL_OPEN:`externalOpenFailed`,REMOTE_VERSION:`errorVersion`,SHELL_UNAVAILABLE:`shellUnavailable`};return $(n[t]?`panel.remote.${n[t]}`:`panel.remote.failed`)}var VP=`/api/relay/remote-computers`,HP={list:()=>Rk(VP),invite:()=>zk(`${VP}/invite`,{}),add:e=>zk(`${VP}/add`,{invite:e}),open:e=>zk(`${VP}/open`,{id:e}),openShell:e=>zk(`${VP}/open-shell`,{id:e}),diagnose:e=>zk(`${VP}/diagnose`,{id:e}),remove:e=>zk(`${VP}/remove`,{id:e}),mode:(e,t)=>zk(`${VP}/mode`,{id:e,mode:t}),revoke:e=>zk(`${VP}/revoke`,{deviceId:e})};function UP(e){return[`auto`,...new Set(e.map(e=>e.channel).filter(e=>e&&e!==`auto`&&e!==`direct`))]}function WP(e){let t;try{t=new URL(e)}catch{throw new Ik($(`panel.remote.invalidOpenUrl`),`REMOTE_OPEN_URL`,0)}if(t.protocol!==`http:`||t.hostname!==`127.0.0.1`||!t.port||t.username||t.password)throw new Ik($(`panel.remote.invalidOpenUrl`),`REMOTE_OPEN_URL`,0);return t.href}function GP(e){return e instanceof Ik?e.code===`SHELL_UNAVAILABLE`||e.status===404||e.status===405||e.status===0:e instanceof TypeError}async function KP(e){try{let t=await HP.openShell(e);return WP(t.url),t.shellOpened===!1?{...await qP(e),shellOpened:!1}:t}catch(e){if(!GP(e))throw e}return qP(e)}async function qP(e){let t=window.location.protocol===`http:`||window.location.protocol===`https:`,n=t?window.open(`about:blank`,`_blank`):null;if(t&&!n)throw new Ik($(`panel.remote.popupBlocked`),`REMOTE_POPUP`,0);try{n&&(n.opener=null);let t=await HP.open(e),r=WP(t.url);if(n)n.location.replace(r);else try{let e=window.top;if(!e||e.location.origin!==window.location.origin)throw Error(`origin`);e.location.href=r}catch{throw new Ik($(`panel.remote.externalOpenFailed`),`REMOTE_EXTERNAL_OPEN`,0)}return t}catch(e){throw n?.close(),e}}function JP(){return(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,className:`size-4`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,G.jsx)(`rect`,{x:`3`,y:`4`,width:`18`,height:`13`,rx:`2`}),(0,G.jsx)(`path`,{d:`M8 21h8M12 17v4`})]})}function YP(){return(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,className:`size-4`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,G.jsx)(`path`,{d:`M4 7h16`}),(0,G.jsx)(`path`,{d:`M9 7V4.5A1.5 1.5 0 0 1 10.5 3h3A1.5 1.5 0 0 1 15 4.5V7`}),(0,G.jsx)(`path`,{d:`M6 7l1 12.5A2 2 0 0 0 9 21h6a2 2 0 0 0 2-1.5L18 7`}),(0,G.jsx)(`path`,{d:`M10 11v6M14 11v6`})]})}function XP(e){let t={auto:`auto`,lan:`lan`,direct:`direct`,ipv6:`ipv6`,relay:`relay`,tunnel:`tailcat`,tailcat:`tailcat`,p2p:`p2p`};return e?t[e]?$(`panel.remote.channel.${t[e]}`):e:$(`panel.common.none`)}function ZP(){let e=rM(),[t,n]=(0,g.useState)(null),[r,i]=(0,g.useState)(!1),[a,o]=(0,g.useState)(!1),[s,c]=(0,g.useState)(``),[l,u]=(0,g.useState)([]),[d,f]=(0,g.useState)(null),[p,m]=(0,g.useState)(null),[h,_]=(0,g.useState)(``),[v,y]=(0,g.useState)(!1),[b,x]=(0,g.useState)(null),[S,C]=(0,g.useState)(`auto`),[w,T]=(0,g.useState)(null),[E,D]=(0,g.useState)(!1),[O,k]=(0,g.useState)(0),A=(0,g.useRef)(0),j=(0,g.useRef)(!1),M=(0,g.useRef)(!1),N=(0,g.useCallback)(async()=>{if(!j.current){j.current=!0;try{let e=await HP.list();if(!M.current)return;A.current=e.serverNow-Date.now(),k(e.serverNow),n(e),o(!1),c(``)}catch(e){if(!M.current)return;let t=e instanceof Ik&&e.status===403;o(t),c(t?``:BP(e)),t&&n(null)}finally{j.current=!1,M.current&&i(!0)}}},[]);(0,g.useEffect)(()=>{M.current=!0;let e=()=>{l_()&&(k(Date.now()+A.current),N())};e();let t=window.setInterval(e,3e3);return document.addEventListener(`visibilitychange`,e),()=>{M.current=!1,window.clearInterval(t),document.removeEventListener(`visibilitychange`,e)}},[N]);let P=e=>l.includes(e),F=e=>l.some(t=>t.endsWith(`:${e}`));async function I(t,r,i){if(!l.includes(t)){u(e=>[...e,t]);try{await r(),i&&e(`ok`,$(i)),await N()}catch(t){t instanceof Ik&&t.status===403&&(o(!0),n(null),f(null),x(null),m(null)),e(`error`,t instanceof Ik&&t.status===403?$(`panel.remote.localOnly`):BP(t))}finally{u(e=>e.filter(e=>e!==t))}}}async function L(t){if(!E){D(!0);try{T((await HP.diagnose(t.id)).routes)}catch(t){e(`error`,BP(t))}finally{D(!1)}}}function R(){m(null),y(!1),f(`invite`),I(`invite`,async()=>{m(await HP.invite())})}async function z(){if(!(!p||p.expiresAt<=O))try{await navigator.clipboard.writeText(p.invite),y(!1),e(`ok`,$(`panel.remote.copied`))}catch{y(!0)}}function B(t){I(`open:${t.id}`,async()=>{(await KP(t.id)).shellOpened===!1&&e(`ok`,$(`panel.remote.shellFellBack`))})}function V(e){window.confirm($(`panel.remote.removeConfirm`,{name:e.name||e.instanceId}))&&I(`remove:${e.id}`,()=>HP.remove(e.id),`panel.remote.removed`)}let H=t?.devices??[],U=t?.authorizedComputers??[],W=r&&!a&&t!==null,ee=p!==null&&p.expiresAt<=O,K=d===`invite`?P(`invite`):d===`add`&&P(`add`),te=b!==null&&P(`mode:${b.id}`);return(0,G.jsxs)(xD,{frame:`solid`,className:`flex h-full min-h-0 flex-col`,children:[(0,G.jsx)(SD,{className:`flex-none px-4 py-3`,children:(0,G.jsxs)(CD,{className:`flex flex-wrap items-center justify-between gap-x-2 gap-y-1 text-base lg:text-lg`,children:[(0,G.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,G.jsx)(`span`,{children:$(`panel.remote.title`)}),H.length>0?(0,G.jsx)(rD,{variant:`secondary`,size:`sm`,children:H.length}):null]}),W?(0,G.jsxs)(`span`,{className:`flex flex-wrap items-center gap-1.5`,children:[(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,className:`px-2 text-xs xl:px-4 xl:text-sm xl:before:border xl:before:border-border xl:before:bg-background`,disabled:P(`invite`),onClick:R,children:$(`panel.remote.createInvite`)}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,className:`px-2 text-xs xl:px-4 xl:text-sm xl:before:border xl:before:border-border xl:before:bg-background`,disabled:P(`add`),onClick:()=>{_(``),f(`add`)},children:$(`panel.remote.add`)})]}):null]})}),r?null:(0,G.jsxs)(`div`,{className:`flex items-center gap-2 py-2 text-sm text-foreground-muted`,children:[(0,G.jsx)(VE,{}),$(`panel.shell.readingStatus`)]}),a?(0,G.jsx)(`p`,{className:`mt-2 text-sm text-foreground-muted`,children:$(`panel.remote.localOnly`)}):null,s?(0,G.jsx)(`p`,{className:`mt-2 text-xs text-error`,children:s}):null,W?(0,G.jsxs)(G.Fragment,{children:[H.length===0?(0,G.jsx)(`p`,{className:`mt-3 text-xs text-foreground-muted`,children:$(`panel.remote.empty`)}):null,(0,G.jsx)(`div`,{className:`mt-1 flex min-h-0 flex-1 flex-col`,children:H.map(e=>{let t=e.expiresAt??0,n=e.state===`expired`||t>0&&t<=O,r=e.state===`revoked`?`revoked`:n?`expired`:e.state,i=e.attached&&e.state!==`revoked`,a=F(e.id);return(0,G.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-col justify-between gap-2 border-b border-border-muted py-2 last:border-b-0`,children:[(0,G.jsxs)(`div`,{className:`flex items-center justify-between gap-2`,children:[(0,G.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2`,children:[(0,G.jsx)(`span`,{className:`truncate text-sm text-foreground-strong`,children:e.name||e.instanceId}),(0,G.jsx)(rD,{variant:`secondary`,size:`xs`,children:$(`panel.remote.state.${r}`)})]}),(0,G.jsxs)(`span`,{className:`flex shrink-0 items-center gap-1.5`,children:[(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,className:`px-2 text-xs xl:px-2 xl:text-sm`,disabled:a,onClick:()=>{C(e.mode),T(null),x(e)},children:$(`panel.remote.route`)}),i?(0,G.jsxs)(`span`,{className:`whitespace-nowrap px-1 text-xs text-foreground-muted`,children:[XP(e.mode),` · `,XP(e.channel),e.latencyMs!==null&&Number.isFinite(e.latencyMs)?` · ${Math.round(e.latencyMs)} ms`:``]}):(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,className:`px-2`,"aria-label":$(`panel.remote.open`),disabled:a||e.state===`revoked`,onClick:()=>B(e),children:(0,G.jsx)(JP,{})}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,className:`px-2`,"aria-label":$(`panel.remote.remove`),disabled:a,onClick:()=>V(e),children:(0,G.jsx)(YP,{})}),a?(0,G.jsx)(VE,{}):null]})]}),n&&e.state!==`revoked`?(0,G.jsx)(`p`,{className:`text-xs text-foreground-muted`,children:$(`panel.remote.expiredHint`)}):null,e.lastError||e.lastErrorCode?(0,G.jsx)(`p`,{className:`text-xs break-all text-error`,children:BP(e.lastErrorCode)}):null]},e.id)})}),U.length>0?(0,G.jsxs)(`div`,{className:`mt-1 border-t border-border-muted pt-2`,children:[(0,G.jsx)(`p`,{className:`text-xs text-foreground-muted`,children:$(`panel.remote.authorizedTitle`)}),U.map(e=>(0,G.jsxs)(`div`,{className:`flex items-center justify-between gap-2 border-b border-border-muted py-3 last:border-b-0`,children:[(0,G.jsx)(`div`,{className:`min-w-0`,children:(0,G.jsx)(`p`,{className:`truncate text-sm text-foreground-strong`,children:e.name||$(`panel.remote.unknownComputer`)})}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,className:`px-2`,"aria-label":$(`panel.remote.revoke`),disabled:P(`revoke:${e.deviceId}`),onClick:()=>{window.confirm($(`panel.remote.revokeConfirm`,{name:e.name||$(`panel.remote.unknownComputer`)}))&&I(`revoke:${e.deviceId}`,()=>HP.revoke(e.deviceId),`panel.remote.revoked`)},children:(0,G.jsx)(YP,{})})]},e.deviceId))]}):null]}):null,(0,G.jsx)(cD,{open:d!==null,onOpenChange:e=>{!e&&!K&&(f(null),m(null))},children:(0,G.jsxs)(lD,{className:`max-w-md`,children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(d===`invite`?`panel.remote.createInvite`:`panel.remote.add`)})}),(0,G.jsxs)(pD,{className:`flex flex-col gap-3`,children:[d===`invite`||d===`add`?(0,G.jsx)(`p`,{className:`text-xs leading-5 text-foreground-muted`,children:$(d===`invite`?`panel.remote.inviteHint`:`panel.remote.addHint`)}):null,d===`invite`?p?(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(oN,{children:[(0,G.jsx)(sN,{htmlFor:`remote-computer-invite`,children:$(`panel.remote.inviteLabel`)}),(0,G.jsx)(yN,{id:`remote-computer-invite`,rows:4,readOnly:!0,value:p.invite,onFocus:e=>e.target.select()})]}),(0,G.jsx)(`p`,{className:`text-xs text-foreground-muted`,children:$(ee?`panel.remote.inviteExpired`:`panel.remote.inviteRemaining`,{minutes:Math.max(0,Math.ceil((p.expiresAt-O)/6e4))})}),v?(0,G.jsx)(`p`,{role:`status`,className:`text-xs text-foreground-muted`,children:$(`panel.remote.manualCopy`)}):null]}):K?(0,G.jsx)(VE,{}):null:(0,G.jsxs)(oN,{children:[(0,G.jsx)(sN,{htmlFor:`remote-computer-add`,children:$(`panel.remote.inviteLabel`)}),(0,G.jsx)(yN,{id:`remote-computer-add`,rows:4,value:h,onChange:e=>_(e.target.value),autoComplete:`off`,spellCheck:!1})]})]}),(0,G.jsxs)(mD,{className:`flex justify-end gap-2`,children:[(0,G.jsx)(Q,{variant:`outline`,disabled:K,onClick:()=>{f(null),m(null)},children:$(`panel.common.close`)}),d===`invite`?(0,G.jsx)(Q,{variant:`primary`,disabled:K||!p||ee,onClick:()=>void z(),children:$(`panel.remote.copy`)}):(0,G.jsx)(Q,{variant:`primary`,disabled:K||!h.trim(),onClick:()=>void I(`add`,async()=>{await HP.add(h.trim()),_(``),f(null)},`panel.remote.added`),children:$(`panel.remote.add`)})]})]})}),(0,G.jsx)(cD,{open:b!==null,onOpenChange:e=>{!e&&!te&&(x(null),T(null))},children:(0,G.jsxs)(lD,{className:`max-w-sm`,children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(`panel.remote.route`)})}),(0,G.jsxs)(pD,{className:`flex flex-col gap-3 text-sm`,children:[(0,G.jsx)(`p`,{className:`text-xs leading-5 text-foreground-muted`,children:$(`panel.remote.routeHint`)}),(0,G.jsx)(jk,{className:`flex flex-col gap-2`,value:S,onValueChange:e=>{typeof e==`string`&&C(e)},children:UP(b?.routes??[]).map(e=>(0,G.jsxs)(`label`,{className:`flex cursor-pointer items-center gap-2`,children:[(0,G.jsx)(hk,{value:e}),(0,G.jsx)(`span`,{children:XP(e)})]},e))}),(0,G.jsxs)(`div`,{className:`border-t border-border-muted pt-2`,children:[(0,G.jsxs)(`div`,{className:`flex items-center justify-between gap-2`,children:[(0,G.jsx)(`span`,{className:`text-xs text-foreground-muted`,children:$(`panel.remote.diagnoseHint`)}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,className:`px-2 text-xs`,disabled:E,onClick:()=>{b&&L(b)},children:$(`panel.remote.diagnose`)})]}),E?(0,G.jsx)(VE,{}):null,w?(0,G.jsx)(`ul`,{className:`mt-1 flex flex-col gap-1`,children:w.map(e=>(0,G.jsxs)(`li`,{className:`flex items-center justify-between gap-2 text-xs`,children:[(0,G.jsx)(`span`,{className:`truncate`,children:XP(e.channel)}),(0,G.jsxs)(`span`,{className:`shrink-0 whitespace-nowrap text-foreground-muted`,children:[e.ok?$(`panel.remote.diagnoseOk`):$(`panel.remote.diagnoseFail`),e.ok&&e.latencyMs!==null?` · ${e.latencyMs} ms`:``,!e.ok&&e.errorCode?` · ${BP(e.errorCode)}`:``]})]},`${e.channel}:${e.url}`))}):null]})]}),(0,G.jsxs)(mD,{className:`flex justify-end gap-2`,children:[(0,G.jsx)(Q,{variant:`outline`,disabled:te,onClick:()=>x(null),children:$(`panel.common.cancel`)}),(0,G.jsx)(Q,{variant:`primary`,disabled:te||!UP(b?.routes??[]).includes(S),onClick:()=>{b&&I(`mode:${b.id}`,async()=>{await HP.mode(b.id,S),x(null)},`panel.remote.modeSaved`)},children:$(`panel.common.save`)})]})]})})]})}function QP(){try{let e=new URL(document.baseURI);return e.pathname=e.pathname.replace(/\/remote\/?$/,`/console`),e.search=``,e.hash=``,e.href}catch{return``}}function $P(){return(0,G.jsxs)(`main`,{className:`mx-auto flex w-full max-w-5xl flex-col gap-3 p-5`,children:[(0,G.jsxs)(`header`,{className:`flex flex-wrap items-center justify-between gap-2`,children:[(0,G.jsx)(`h1`,{className:`text-lg font-semibold text-foreground-strong`,children:$(`panel.remote.title`)}),(0,G.jsxs)(`div`,{className:`flex flex-wrap items-center gap-1`,children:[(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,onClick:()=>{window.location.href=QP()},children:$(`panel.remote.backConsole`)}),(0,G.jsx)(BO,{})]})]}),(0,G.jsx)(ZP,{})]})}function eF(){let e=window.location.pathname.replace(/\/+$/,``),t=e.endsWith(`/setup`),n=e.endsWith(`/settings`),r=e.endsWith(`/remote`),i=!t&&!n&&!r,[a,o]=(0,g.useState)(n?!0:null),[s,c]=(0,g.useState)(``),[l,u]=(0,g.useState)(!1);return(0,g.useEffect)(()=>{s?DP(`error`,s):(!i||a!==null)&&DP(`ready`)},[a,s,i]),(0,g.useEffect)(()=>{if(!i)return;let e=!0;return(async()=>{try{let t=await Rk(`/api/relay/status`);e&&o(t.onboarded===!0||t.enabled===!0)}catch(t){e&&c(Uk(t))}})(),()=>{e=!1}},[i]),s?(0,G.jsxs)(`main`,{className:`mx-auto flex w-full max-w-5xl flex-col gap-3 p-5`,children:[(0,G.jsx)(`p`,{className:`text-sm text-error`,role:`alert`,children:s}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,onClick:()=>window.location.reload(),children:$(`panel.console.reload`)})]}):r?(0,G.jsx)($P,{}):t?l?(0,G.jsx)(jP,{}):(0,G.jsx)(zP,{onDone:()=>u(!0)}):a===null?(0,G.jsxs)(`main`,{className:`flex min-h-screen items-center justify-center gap-2 p-6 text-sm text-foreground-muted`,children:[(0,G.jsx)(VE,{}),$(`panel.shell.loading`)]}):!a&&!l?(0,G.jsx)(zP,{onDone:()=>u(!0)}):(0,G.jsx)(jP,{})}function tF(){let e=Sg();(0,g.useEffect)(()=>{typeof document<`u`&&(document.documentElement.lang=e,document.title=$(`panel.shell.title`))},[e]);let t=window.location.pathname.replace(/\/+$/,``),n=!/\/demo(\.html)?$/.test(t);return(0,g.useEffect)(()=>{if(n)return e_()},[n]),(0,g.useEffect)(()=>u_(),[]),(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(eF,{}),n?null:(0,G.jsx)(o_,{})]})}function nF(){if(!/Android/i.test(navigator.userAgent)||window.parent===window)return;let e=window.frameElement;e&&e.tagName===`IFRAME`&&e.classList.contains(`dshm_frame`)&&(e.style.transform=`translateZ(0)`,e.style.isolation=`isolate`,e.style.contain=`paint`)}nF();function rF(){return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(tF,{}),(0,G.jsx)(td,{position:`top-right`})]})}(0,gd.createRoot)(document.getElementById(`root`),{onUncaughtError:e=>DP(`error`,Uk(e))}).render((0,G.jsx)(g.StrictMode,{children:(0,G.jsx)(ed,{children:(0,G.jsx)(rF,{})})}));</script>
|
|
90
|
+
`);try{return await navigator.clipboard.writeText(e),!0}catch{return!1}}let H=p?.svg??``,U=t?.tailcat??null,W=!U||!U.available?`unavailable`:U.enabled?U.error?`error`:U.ready?`ready`:`starting`:`disabled`,ee=W!==`ready`&&W!==`starting`,K={ready:$(`panel.tailcat.ready`),starting:$(`panel.tailcat.starting`),disabled:$(`panel.tailcat.disabled`),error:$(`panel.tailcat.error`),unavailable:$(`panel.tailcat.unavailable`)}[W],te=W===`ready`?`ok`:W===`starting`?`warn`:`off`;return(0,G.jsxs)(`main`,{className:`flex min-h-screen flex-col items-center justify-center gap-4 px-6 pt-6 pb-24`,children:[r?(0,G.jsxs)(YE,{className:`w-full max-w-4xl`,variant:`error`,children:[(0,G.jsx)(ZE,{}),(0,G.jsx)(QE,{children:$(`panel.onboarding.statusFailed`)}),(0,G.jsx)($E,{children:r})]}):null,a?(0,G.jsxs)(YE,{className:`w-full max-w-4xl`,variant:`error`,children:[(0,G.jsx)(ZE,{}),(0,G.jsx)(QE,{children:$(`panel.onboarding.stepFailed`)}),(0,G.jsx)($E,{children:a})]}):null,(0,G.jsxs)(xD,{frame:`solid`,className:`w-full max-w-4xl`,children:[(0,G.jsxs)(`div`,{className:`grid items-center gap-6 px-4 pb-2 md:grid-cols-[minmax(320px,1fr)_minmax(0,1fr)]`,children:[(0,G.jsxs)(`div`,{className:`flex flex-col items-center gap-2 md:col-start-1 md:row-start-1`,children:[(0,G.jsxs)(`div`,{className:`flex h-5 w-full max-w-[320px] items-center justify-center gap-1.5`,children:[(0,G.jsx)(`p`,{className:`text-sm font-medium leading-5 text-foreground-strong`,children:$(`panel.onboarding.pairingHint`)}),H?(0,G.jsx)(`button`,{type:`button`,"aria-label":`${$(`panel.pairing.qrZoom`)}:${$(`panel.pairing.qr`)}`,title:$(`panel.pairing.qrZoom`),className:`cursor-pointer text-foreground-muted hover:text-foreground-strong focus-visible:outline-none`,onClick:()=>C(!0),children:(0,G.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:`size-4`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`,children:[(0,G.jsx)(`circle`,{cx:`10.5`,cy:`10.5`,r:`6`}),(0,G.jsx)(`path`,{d:`m15 15 4.5 4.5M8.5 10.5h4M10.5 8.5v4`})]})}):null]}),H?(0,G.jsx)(`button`,{type:`button`,className:`cursor-zoom-in rounded-lg focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none`,onClick:()=>C(!0),"aria-label":`${$(`panel.pairing.qrZoom`)}:${$(`panel.pairing.qr`)}`,children:(0,G.jsx)(`div`,{className:`size-[320px] max-w-full rounded-lg bg-white p-3 [&_svg]:h-full [&_svg]:w-full`,dangerouslySetInnerHTML:{__html:H}})}):(0,G.jsx)(`div`,{className:`flex size-[320px] max-w-full items-center justify-center rounded-lg border border-border-muted text-xs text-foreground-muted`,children:h?(0,G.jsxs)(`div`,{className:`flex flex-col items-center gap-2 p-3 text-center`,children:[(0,G.jsx)(`span`,{role:`alert`,children:h}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,disabled:s,onClick:()=>void N(),children:$(`panel.console.retryPairing`)})]}):s?(0,G.jsx)(VE,{}):$(`panel.onboarding.noQr`)}),(0,G.jsx)(`p`,{className:`min-h-4 max-w-[320px] text-center text-xs leading-4 text-foreground-muted`,children:!F&&H?$(`panel.onboarding.relayNotConnected`):``})]}),(0,G.jsxs)(`div`,{className:`flex min-w-0 flex-col justify-center gap-3 md:col-start-2 md:row-start-1`,children:[(0,G.jsx)(`p`,{className:`text-center text-sm font-medium text-foreground-strong`,children:$(`panel.download.title`)}),(0,G.jsx)(Wj,{})]}),(0,G.jsxs)(`div`,{className:`w-full md:col-span-2 md:row-start-2 [&_dt]:text-foreground-strong`,children:[(0,G.jsxs)(DO,{children:[(0,G.jsx)(EO,{label:$(`panel.onboarding.direct`),children:(0,G.jsx)(OO,{tone:yg(t?.lan.state??`off`,!0),text:bg(t?.lan.state??`off`,!0)})}),(0,G.jsx)(EO,{label:$(`panel.connection.tunnel`),children:(0,G.jsx)(OO,{tone:_g(t?.tunnel.state??`off`),text:vg(t?.tunnel.state??`off`)})}),(0,G.jsx)(EO,{label:$(`panel.tailcat.title`),children:(0,G.jsxs)(`span`,{className:`inline-flex items-center justify-end gap-1.5`,children:[(0,G.jsx)(OO,{tone:te,text:K}),ee?(0,G.jsx)(`button`,{type:`button`,"aria-label":$(`panel.onboarding.tailcatWhy`),title:$(`panel.onboarding.tailcatWhy`),className:`cursor-pointer text-foreground-muted hover:text-foreground-strong focus-visible:outline-none`,onClick:()=>T(!0),children:(0,G.jsx)(wO,{})}):null]})}),(0,G.jsx)(EO,{label:$(`panel.selfcheck.firewall`),children:(0,G.jsx)(OO,{tone:k.tone,text:k.text,detail:k.detail})})]}),I?(0,G.jsx)(`p`,{className:`mt-2 text-sm leading-relaxed break-words ${hg[UN(A)]}`,children:GN(A)}):null,t!==null&&(t.lan.state===`error`||t.tunnel.state===`error`)?(0,G.jsxs)(YE,{className:`mt-2`,variant:`error`,children:[(0,G.jsx)(ZE,{}),(0,G.jsx)(QE,{children:t.lan.state===`error`?$(`panel.onboarding.lanFailed`):$(`panel.onboarding.relayFailed`)}),(0,G.jsx)($E,{children:t.lan.state===`error`?t.lan.error?$(`panel.onboarding.lanErrorWithPort`,{error:t.lan.error}):$(`panel.onboarding.lanNoStart`):t.tunnel.error?$(`panel.onboarding.tunnelErrorHint`,{error:t.tunnel.error}):$(`panel.onboarding.tunnelNoStart`)})]}):null]})]}),(0,G.jsxs)(`div`,{className:`flex flex-wrap items-center justify-end gap-2 px-4 py-4`,children:[(0,G.jsx)(`button`,{type:`button`,className:`cursor-pointer text-sm text-foreground-intense underline underline-offset-2 hover:text-foreground-strong`,onClick:()=>x(!0),children:$(`panel.onboarding.checkFirewall`)}),F?(0,G.jsx)(Q,{variant:`primary`,onClick:B,children:$(`panel.onboarding.enterPlugin`)}):(0,G.jsx)(Q,{variant:`primary`,disabled:s||r!==``,onClick:()=>void z(),children:$(s?`panel.onboarding.opening`:`panel.onboarding.connectRelay`)})]})]}),(0,G.jsx)(LP,{open:b,onOpenChange:x,port:P}),(0,G.jsx)(cD,{open:S,onOpenChange:C,children:(0,G.jsxs)(lD,{className:`w-[min(680px,94vw)] max-w-none`,closeLabel:$(`panel.common.close`),children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(`panel.pairing.qr`)})}),(0,G.jsx)(pD,{children:(0,G.jsx)(`div`,{className:`flex flex-col items-center gap-3`,children:(0,G.jsx)(`div`,{className:`flex items-center justify-center rounded-md bg-white p-4`,children:H?(0,G.jsx)(`div`,{className:`size-[min(72vh,600px)] [&_svg]:h-full [&_svg]:w-full`,dangerouslySetInnerHTML:{__html:H}}):null})})})]})}),(0,G.jsx)(cD,{open:w,onOpenChange:T,children:(0,G.jsxs)(lD,{className:`max-w-md`,closeLabel:$(`panel.common.close`),children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(`panel.tailcat.title`)})}),(0,G.jsxs)(pD,{className:`flex flex-col gap-2.5`,children:[(0,G.jsx)(`p`,{className:`text-xs leading-5 text-foreground-muted`,children:$(`panel.onboarding.tailcatWhat`)}),(0,G.jsx)(`p`,{className:`text-sm text-foreground`,children:$(`panel.onboarding.tailcat.${W}`)}),(0,G.jsx)(Q,{variant:`outline`,size:`sm`,onClick:()=>{V().then(e=>D($(e?`panel.onboarding.copiedOk`:`panel.onboarding.copiedFailed`)))},children:$(`panel.onboarding.copyPromptHint`)}),E?(0,G.jsx)(`p`,{className:`text-xs text-foreground-muted`,children:E}):null]})]})})]})}function BP(e){let t=typeof e==`string`?e:e instanceof Ik?e.code:``,n={"credentials-unavailable":`errorAuth`,REMOTE_AUTH:`errorAuth`,REMOTE_REVOKED:`errorAuth`,REMOTE_EXPIRED:`errorExpired`,REMOTE_TIMEOUT:`errorTimeout`,REMOTE_CONNECT:`errorConnect`,REMOTE_INVITATION:`errorInvitation`,REMOTE_OPEN_URL:`invalidOpenUrl`,REMOTE_POPUP:`popupBlocked`,REMOTE_EXTERNAL_OPEN:`externalOpenFailed`,REMOTE_VERSION:`errorVersion`,SHELL_UNAVAILABLE:`shellUnavailable`,REMOTE_UNAVAILABLE:`errorUnavailable`,REMOTE_NOT_FOUND:`errorNotFound`,"bad-invite":`errorInvitation`,"bad-id":`errorBadRequest`,"bad-mode":`errorBadRequest`};return $(n[t]?`panel.remote.${n[t]}`:`panel.remote.failed`)}var VP=`/api/relay/remote-computers`,HP={list:()=>Rk(VP),invite:()=>zk(`${VP}/invite`,{}),add:e=>zk(`${VP}/add`,{invite:e}),open:e=>zk(`${VP}/open`,{id:e}),openShell:e=>zk(`${VP}/open-shell`,{id:e}),diagnose:e=>zk(`${VP}/diagnose`,{id:e}),remove:e=>zk(`${VP}/remove`,{id:e}),mode:(e,t)=>zk(`${VP}/mode`,{id:e,mode:t}),revoke:e=>zk(`${VP}/revoke`,{deviceId:e})};function UP(e){return[`auto`,...new Set(e.map(e=>e.channel).filter(e=>e&&e!==`auto`&&e!==`direct`))]}function WP(e){let t;try{t=new URL(e)}catch{throw new Ik($(`panel.remote.invalidOpenUrl`),`REMOTE_OPEN_URL`,0)}if(t.protocol!==`http:`||t.hostname!==`127.0.0.1`||!t.port||t.username||t.password)throw new Ik($(`panel.remote.invalidOpenUrl`),`REMOTE_OPEN_URL`,0);return t.href}function GP(e){return e instanceof Ik?e.code===`SHELL_UNAVAILABLE`||e.status===404||e.status===405||e.status===0:e instanceof TypeError}async function KP(e){try{let t=await HP.openShell(e);return WP(t.url),t.shellOpened===!1?{...await qP(e),shellOpened:!1}:t}catch(t){if(!GP(t))throw t;return{...await qP(e),shellMissing:!0}}}async function qP(e){let t=window.location.protocol===`http:`||window.location.protocol===`https:`,n=t?window.open(`about:blank`,`_blank`):null;if(t&&!n)throw new Ik($(`panel.remote.popupBlocked`),`REMOTE_POPUP`,0);try{n&&(n.opener=null);let t=await HP.open(e),r=WP(t.url);if(n)n.location.replace(r);else try{let e=window.top;if(!e||e.location.origin!==window.location.origin)throw Error(`origin`);e.location.href=r}catch{throw new Ik($(`panel.remote.externalOpenFailed`),`REMOTE_EXTERNAL_OPEN`,0)}return t}catch(e){throw n?.close(),e}}function JP(){return(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,className:`size-4`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,G.jsx)(`rect`,{x:`3`,y:`4`,width:`18`,height:`13`,rx:`2`}),(0,G.jsx)(`path`,{d:`M8 21h8M12 17v4`})]})}function YP(){return(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,className:`size-4`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,G.jsx)(`path`,{d:`M4 7h16`}),(0,G.jsx)(`path`,{d:`M9 7V4.5A1.5 1.5 0 0 1 10.5 3h3A1.5 1.5 0 0 1 15 4.5V7`}),(0,G.jsx)(`path`,{d:`M6 7l1 12.5A2 2 0 0 0 9 21h6a2 2 0 0 0 2-1.5L18 7`}),(0,G.jsx)(`path`,{d:`M10 11v6M14 11v6`})]})}function XP(e){let t={auto:`auto`,lan:`lan`,direct:`direct`,ipv6:`ipv6`,relay:`relay`,tunnel:`tailcat`,tailcat:`tailcat`,p2p:`p2p`};return e?t[e]?$(`panel.remote.channel.${t[e]}`):e:$(`panel.common.none`)}function ZP(e){try{return new URL(e).host}catch{return e}}function QP(){let e=rM(),[t,n]=(0,g.useState)(null),[r,i]=(0,g.useState)(!1),[a,o]=(0,g.useState)(!1),[s,c]=(0,g.useState)(``),[l,u]=(0,g.useState)([]),[d,f]=(0,g.useState)(null),[p,m]=(0,g.useState)(null),[h,_]=(0,g.useState)(``),[v,y]=(0,g.useState)(!1),[b,x]=(0,g.useState)(null),[S,C]=(0,g.useState)(`auto`),[w,T]=(0,g.useState)(null),[E,D]=(0,g.useState)(!1),[O,k]=(0,g.useState)(0),A=(0,g.useRef)(0),j=(0,g.useRef)(!1),M=(0,g.useRef)(!1),N=(0,g.useCallback)(async()=>{if(!j.current){j.current=!0;try{let e=await HP.list();if(!M.current)return;A.current=e.serverNow-Date.now(),k(e.serverNow),n(e),o(!1),c(``)}catch(e){if(!M.current)return;let t=e instanceof Ik&&e.status===403;o(t),c(t?``:BP(e)),t&&n(null)}finally{j.current=!1,M.current&&i(!0)}}},[]);(0,g.useEffect)(()=>{M.current=!0;let e=()=>{l_()&&(k(Date.now()+A.current),N())};e();let t=window.setInterval(e,3e3);return document.addEventListener(`visibilitychange`,e),()=>{M.current=!1,window.clearInterval(t),document.removeEventListener(`visibilitychange`,e)}},[N]);let P=e=>l.includes(e),F=e=>l.some(t=>t.endsWith(`:${e}`));async function I(t,r,i){if(!l.includes(t)){u(e=>[...e,t]);try{await r(),i&&e(`ok`,$(i)),await N()}catch(t){t instanceof Ik&&t.status===403&&(o(!0),n(null),f(null),x(null),m(null)),e(`error`,t instanceof Ik&&t.status===403?$(`panel.remote.localOnly`):BP(t))}finally{u(e=>e.filter(e=>e!==t))}}}async function L(t){if(!E){D(!0);try{T((await HP.diagnose(t.id)).routes)}catch(t){e(`error`,BP(t))}finally{D(!1)}}}function R(){m(null),y(!1),f(`invite`),I(`invite`,async()=>{m(await HP.invite())})}async function z(){if(!(!p||p.expiresAt<=O))try{await navigator.clipboard.writeText(p.invite),y(!1),e(`ok`,$(`panel.remote.copied`))}catch{y(!0)}}function B(t){I(`open:${t.id}`,async()=>{let n=await KP(t.id);n.shellMissing?e(`ok`,$(`panel.remote.shellUnavailable`)):n.shellOpened===!1&&e(`ok`,$(`panel.remote.shellFellBack`))})}function V(e){window.confirm($(`panel.remote.removeConfirm`,{name:e.name||e.instanceId}))&&I(`remove:${e.id}`,()=>HP.remove(e.id),`panel.remote.removed`)}let H=t?.devices??[],U=t?.authorizedComputers??[],W=r&&!a&&t!==null,ee=p!==null&&p.expiresAt<=O,K=d===`invite`?P(`invite`):d===`add`&&P(`add`),te=b!==null&&P(`mode:${b.id}`);return(0,G.jsxs)(xD,{frame:`solid`,className:`flex h-full min-h-0 flex-col`,children:[(0,G.jsx)(SD,{className:`flex-none px-4 py-3`,children:(0,G.jsxs)(CD,{className:`flex flex-wrap items-center justify-between gap-x-2 gap-y-1 text-base lg:text-lg`,children:[(0,G.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,G.jsx)(`span`,{children:$(`panel.remote.title`)}),H.length>0?(0,G.jsx)(rD,{variant:`secondary`,size:`sm`,children:H.length}):null]}),W?(0,G.jsxs)(`span`,{className:`flex flex-wrap items-center gap-1.5`,children:[(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,className:`px-2 text-xs xl:px-4 xl:text-sm xl:before:border xl:before:border-border xl:before:bg-background`,disabled:P(`invite`),onClick:R,children:$(`panel.remote.createInvite`)}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,className:`px-2 text-xs xl:px-4 xl:text-sm xl:before:border xl:before:border-border xl:before:bg-background`,disabled:P(`add`),onClick:()=>{_(``),f(`add`)},children:$(`panel.remote.add`)})]}):null]})}),W?(0,G.jsx)(`p`,{className:`mt-2 text-xs leading-5 text-foreground-muted`,children:$(`panel.remote.hint`)}):null,r?null:(0,G.jsxs)(`div`,{className:`flex items-center gap-2 py-2 text-sm text-foreground-muted`,children:[(0,G.jsx)(VE,{}),$(`panel.shell.readingStatus`)]}),a?(0,G.jsx)(`p`,{className:`mt-2 text-sm text-foreground-muted`,children:$(`panel.remote.localOnly`)}):null,s?(0,G.jsx)(`p`,{className:`mt-2 text-xs text-error`,children:s}):null,W?(0,G.jsxs)(G.Fragment,{children:[H.length===0?(0,G.jsx)(`p`,{className:`mt-3 text-xs text-foreground-muted`,children:$(`panel.remote.empty`)}):null,(0,G.jsx)(`div`,{className:`mt-1 flex min-h-0 flex-1 flex-col`,children:H.map(e=>{let t=e.expiresAt??0,n=e.state===`expired`||t>0&&t<=O,r=e.state===`revoked`?`revoked`:n?`expired`:e.state,i=e.attached&&e.state!==`revoked`,a=F(e.id);return(0,G.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-col justify-between gap-2 border-b border-border-muted py-2 last:border-b-0`,children:[(0,G.jsxs)(`div`,{className:`flex items-center justify-between gap-2`,children:[(0,G.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2`,children:[(0,G.jsx)(`span`,{className:`truncate text-sm text-foreground-strong`,children:e.name||e.instanceId}),(0,G.jsx)(rD,{variant:`secondary`,size:`xs`,children:$(`panel.remote.state.${r}`)})]}),(0,G.jsxs)(`span`,{className:`flex shrink-0 items-center gap-1.5`,children:[(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,className:`px-2 text-xs xl:px-2 xl:text-sm`,disabled:a,onClick:()=>{C(e.mode),T(null),x(e)},children:$(`panel.remote.route`)}),i?(0,G.jsxs)(`span`,{className:`whitespace-nowrap px-1 text-xs text-foreground-muted`,children:[XP(e.mode),` · `,XP(e.channel),e.latencyMs!==null&&Number.isFinite(e.latencyMs)?` · ${Math.round(e.latencyMs)} ms`:``]}):(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,className:`px-2`,"aria-label":$(`panel.remote.open`),disabled:a||e.state===`revoked`||e.state===`connecting`,onClick:()=>B(e),children:(0,G.jsx)(JP,{})}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,className:`px-2`,"aria-label":$(`panel.remote.remove`),disabled:a,onClick:()=>V(e),children:(0,G.jsx)(YP,{})}),a?(0,G.jsx)(VE,{}):null]})]}),n&&e.state!==`revoked`?(0,G.jsx)(`p`,{className:`text-xs text-foreground-muted`,children:$(`panel.remote.expiredHint`)}):null,e.lastError||e.lastErrorCode?(0,G.jsx)(`p`,{className:`text-xs break-all text-error`,children:BP(e.lastErrorCode)}):null]},e.id)})}),U.length>0?(0,G.jsxs)(`div`,{className:`mt-1 border-t border-border-muted pt-2`,children:[(0,G.jsx)(`p`,{className:`text-xs text-foreground-muted`,children:$(`panel.remote.authorizedTitle`)}),U.map(e=>(0,G.jsxs)(`div`,{className:`flex items-center justify-between gap-2 border-b border-border-muted py-3 last:border-b-0`,children:[(0,G.jsx)(`div`,{className:`min-w-0`,children:(0,G.jsx)(`p`,{className:`truncate text-sm text-foreground-strong`,children:e.name||$(`panel.remote.unknownComputer`)})}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,className:`px-2`,"aria-label":$(`panel.remote.revoke`),disabled:P(`revoke:${e.deviceId}`),onClick:()=>{window.confirm($(`panel.remote.revokeConfirm`,{name:e.name||$(`panel.remote.unknownComputer`)}))&&I(`revoke:${e.deviceId}`,()=>HP.revoke(e.deviceId),`panel.remote.revoked`)},children:(0,G.jsx)(YP,{})})]},e.deviceId))]}):null]}):null,(0,G.jsx)(cD,{open:d!==null,onOpenChange:e=>{!e&&!K&&(f(null),m(null))},children:(0,G.jsxs)(lD,{className:`max-w-md`,children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(d===`invite`?`panel.remote.createInvite`:`panel.remote.add`)})}),(0,G.jsxs)(pD,{className:`flex flex-col gap-3`,children:[d===`invite`||d===`add`?(0,G.jsx)(`p`,{className:`text-xs leading-5 text-foreground-muted`,children:$(d===`invite`?`panel.remote.inviteHint`:`panel.remote.addHint`)}):null,d===`invite`?p?(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(oN,{children:[(0,G.jsx)(sN,{htmlFor:`remote-computer-invite`,children:$(`panel.remote.inviteLabel`)}),(0,G.jsx)(yN,{id:`remote-computer-invite`,rows:4,readOnly:!0,value:p.invite,onFocus:e=>e.target.select()})]}),(0,G.jsx)(`p`,{className:`text-xs text-foreground-muted`,children:$(ee?`panel.remote.inviteExpired`:`panel.remote.inviteRemaining`,{minutes:Math.max(0,Math.ceil((p.expiresAt-O)/6e4))})}),v?(0,G.jsx)(`p`,{role:`status`,className:`text-xs text-foreground-muted`,children:$(`panel.remote.manualCopy`)}):null]}):K?(0,G.jsx)(VE,{}):null:(0,G.jsxs)(oN,{children:[(0,G.jsx)(sN,{htmlFor:`remote-computer-add`,children:$(`panel.remote.inviteLabel`)}),(0,G.jsx)(yN,{id:`remote-computer-add`,rows:4,value:h,onChange:e=>_(e.target.value),autoComplete:`off`,spellCheck:!1})]})]}),(0,G.jsxs)(mD,{className:`flex justify-end gap-2`,children:[(0,G.jsx)(Q,{variant:`outline`,disabled:K,onClick:()=>{f(null),m(null)},children:$(`panel.common.close`)}),d===`invite`?(0,G.jsx)(Q,{variant:`primary`,disabled:K||!p||ee,onClick:()=>void z(),children:$(`panel.remote.copy`)}):(0,G.jsx)(Q,{variant:`primary`,disabled:K||!h.trim(),onClick:()=>void I(`add`,async()=>{await HP.add(h.trim()),_(``),f(null)},`panel.remote.added`),children:$(`panel.remote.add`)})]})]})}),(0,G.jsx)(cD,{open:b!==null,onOpenChange:e=>{!e&&!te&&(x(null),T(null))},children:(0,G.jsxs)(lD,{className:`max-w-sm`,children:[(0,G.jsx)(uD,{children:(0,G.jsx)(dD,{children:$(`panel.remote.route`)})}),(0,G.jsxs)(pD,{className:`flex flex-col gap-3 text-sm`,children:[(0,G.jsx)(`p`,{className:`text-xs leading-5 text-foreground-muted`,children:$(`panel.remote.routeHint`)}),b?.attached?(0,G.jsx)(`p`,{className:`text-xs leading-5 text-foreground-muted`,children:$(`panel.remote.routeReopenNote`)}):null,(0,G.jsx)(jk,{className:`flex flex-col gap-2`,value:S,onValueChange:e=>{typeof e==`string`&&C(e)},children:UP(b?.routes??[]).map(e=>(0,G.jsxs)(`label`,{className:`flex cursor-pointer items-center gap-2`,children:[(0,G.jsx)(hk,{value:e}),(0,G.jsx)(`span`,{children:XP(e)})]},e))}),(0,G.jsxs)(`div`,{className:`border-t border-border-muted pt-2`,children:[(0,G.jsxs)(`div`,{className:`flex items-center justify-between gap-2`,children:[(0,G.jsx)(`span`,{className:`text-xs text-foreground-muted`,children:$(`panel.remote.diagnoseHint`)}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,className:`px-2 text-xs`,disabled:E,onClick:()=>{b&&L(b)},children:$(`panel.remote.diagnose`)})]}),E?(0,G.jsx)(VE,{}):null,w?(0,G.jsx)(`ul`,{className:`mt-1 flex flex-col gap-1`,children:w.map(e=>(0,G.jsxs)(`li`,{className:`flex items-center justify-between gap-2 text-xs`,children:[(0,G.jsxs)(`span`,{className:`truncate`,children:[XP(e.channel),` · `,ZP(e.url)]}),(0,G.jsxs)(`span`,{className:`shrink-0 whitespace-nowrap text-foreground-muted`,children:[e.ok?$(`panel.remote.diagnoseOk`):$(`panel.remote.diagnoseFail`),e.ok&&e.latencyMs!==null?` · ${e.latencyMs} ms`:``,!e.ok&&e.errorCode?` · ${BP(e.errorCode)}`:``]})]},`${e.channel}:${e.url}`))}):null]})]}),(0,G.jsxs)(mD,{className:`flex justify-end gap-2`,children:[(0,G.jsx)(Q,{variant:`outline`,disabled:te,onClick:()=>x(null),children:$(`panel.common.cancel`)}),(0,G.jsx)(Q,{variant:`primary`,disabled:te||!UP(b?.routes??[]).includes(S),onClick:()=>{b&&I(`mode:${b.id}`,async()=>{await HP.mode(b.id,S),x(null)},`panel.remote.modeSaved`)},children:$(`panel.common.save`)})]})]})})]})}function $P(){try{let e=new URL(document.baseURI);return e.pathname=e.pathname.replace(/\/remote\/?$/,`/console`),e.search=``,e.hash=``,e.href}catch{return``}}function eF(){return(0,G.jsxs)(`main`,{className:`mx-auto flex w-full max-w-5xl flex-col gap-3 p-5`,children:[(0,G.jsxs)(`header`,{className:`flex flex-wrap items-center justify-between gap-2`,children:[(0,G.jsx)(`h1`,{className:`text-lg font-semibold text-foreground-strong`,children:$(`panel.remote.title`)}),(0,G.jsxs)(`div`,{className:`flex flex-wrap items-center gap-1`,children:[(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,onClick:()=>{window.location.href=$P()},children:$(`panel.remote.backConsole`)}),(0,G.jsx)(BO,{})]})]}),(0,G.jsx)(QP,{})]})}function tF(){let e=window.location.pathname.replace(/\/+$/,``),t=e.endsWith(`/setup`),n=e.endsWith(`/settings`),r=e.endsWith(`/remote`),i=!t&&!n&&!r,[a,o]=(0,g.useState)(n?!0:null),[s,c]=(0,g.useState)(``),[l,u]=(0,g.useState)(!1);return(0,g.useEffect)(()=>{s?DP(`error`,s):(!i||a!==null)&&DP(`ready`)},[a,s,i]),(0,g.useEffect)(()=>{if(!i)return;let e=!0;return(async()=>{try{let t=await Rk(`/api/relay/status`);e&&o(t.onboarded===!0||t.enabled===!0)}catch(t){e&&c(Uk(t))}})(),()=>{e=!1}},[i]),s?(0,G.jsxs)(`main`,{className:`mx-auto flex w-full max-w-5xl flex-col gap-3 p-5`,children:[(0,G.jsx)(`p`,{className:`text-sm text-error`,role:`alert`,children:s}),(0,G.jsx)(Q,{variant:`ghost`,size:`sm`,onClick:()=>window.location.reload(),children:$(`panel.console.reload`)})]}):r?(0,G.jsx)(eF,{}):t?l?(0,G.jsx)(jP,{}):(0,G.jsx)(zP,{onDone:()=>u(!0)}):a===null?(0,G.jsxs)(`main`,{className:`flex min-h-screen items-center justify-center gap-2 p-6 text-sm text-foreground-muted`,children:[(0,G.jsx)(VE,{}),$(`panel.shell.loading`)]}):!a&&!l?(0,G.jsx)(zP,{onDone:()=>u(!0)}):(0,G.jsx)(jP,{})}function nF(){let e=Sg();(0,g.useEffect)(()=>{typeof document<`u`&&(document.documentElement.lang=e,document.title=$(`panel.shell.title`))},[e]);let t=window.location.pathname.replace(/\/+$/,``),n=!/\/demo(\.html)?$/.test(t);return(0,g.useEffect)(()=>{if(n)return e_()},[n]),(0,g.useEffect)(()=>u_(),[]),(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(tF,{}),n?null:(0,G.jsx)(o_,{})]})}function rF(){if(!/Android/i.test(navigator.userAgent)||window.parent===window)return;let e=window.frameElement;e&&e.tagName===`IFRAME`&&e.classList.contains(`dshm_frame`)&&(e.style.transform=`translateZ(0)`,e.style.isolation=`isolate`,e.style.contain=`paint`)}rF();function iF(){return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(nF,{}),(0,G.jsx)(td,{position:`top-right`})]})}(0,gd.createRoot)(document.getElementById(`root`),{onUncaughtError:e=>DP(`error`,Uk(e))}).render((0,G.jsx)(g.StrictMode,{children:(0,G.jsx)(ed,{children:(0,G.jsx)(iF,{})})}));</script>
|
|
91
91
|
<style>/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
92
92
|
@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-pan-x:initial;--tw-pan-y:initial;--tw-pinch-zoom:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-content:"";--gradient-glow-rotation:0deg;--border-beam-angle:0deg}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-pan-x:initial;--tw-pan-y:initial;--tw-pinch-zoom:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-content:"";--gradient-glow-rotation:0deg;--border-beam-angle:0deg}}:root:not(#\#),:host:not(#\#){--font-sans:var(--font-sans);--font-mono:var(--font-mono);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-md:28rem;--container-xl:36rem;--container-4xl:56rem;--container-5xl:64rem;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--leading-relaxed:1.625;--radius-xs:var(--radius-xs);--radius-sm:var(--radius-sm);--radius-md:var(--radius-md);--radius-lg:var(--radius-lg);--radius-xl:var(--radius-xl);--radius-2xl:var(--radius-2xl);--radius-3xl:var(--radius-3xl);--radius-4xl:var(--radius-4xl);--ease-in:cubic-bezier(.4, 0, 1, 1);--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--blur-md:12px;--blur-lg:16px;--blur-xl:24px;--blur-2xl:40px;--blur-3xl:64px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--radius:var(--radius);--color-border-intense:var(--border-intense);--radius-4xs:var(--radius-4xs);--radius-3xs:var(--radius-3xs);--radius-2xs:var(--radius-2xs);--opacity-disabled:var(--opacity-disabled)}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){:not(#\#):not(#\#)::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){:not(#\#):not(#\#)::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}:not(#\#):not(#\#),:not(#\#):not(#\#):after,:not(#\#):not(#\#):before{box-sizing:border-box;border:0 solid;margin:0;padding:0}:not(#\#):not(#\#)::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}:not(#\#):not(#\#)::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html:not(#\#):not(#\#),:host:not(#\#):not(#\#){-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr:not(#\#):not(#\#){height:0;color:inherit;border-top-width:1px}abbr:where([title]):not(#\#):not(#\#){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1:not(#\#):not(#\#),h2:not(#\#):not(#\#),h3:not(#\#):not(#\#),h4:not(#\#):not(#\#),h5:not(#\#):not(#\#),h6:not(#\#):not(#\#){font-size:inherit;font-weight:inherit}a:not(#\#):not(#\#){color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b:not(#\#):not(#\#),strong:not(#\#):not(#\#){font-weight:bolder}code:not(#\#):not(#\#),kbd:not(#\#):not(#\#),samp:not(#\#):not(#\#),pre:not(#\#):not(#\#){font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small:not(#\#):not(#\#){font-size:80%}sub:not(#\#):not(#\#),sup:not(#\#):not(#\#){vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub:not(#\#):not(#\#){bottom:-.25em}sup:not(#\#):not(#\#){top:-.5em}table:not(#\#):not(#\#){text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)):not(#\#):not(#\#){outline:auto}progress:not(#\#):not(#\#){vertical-align:baseline}summary:not(#\#):not(#\#){display:list-item}ol:not(#\#):not(#\#),ul:not(#\#):not(#\#),menu:not(#\#):not(#\#){list-style:none}img:not(#\#):not(#\#),svg:not(#\#):not(#\#),video:not(#\#):not(#\#),canvas:not(#\#):not(#\#),audio:not(#\#):not(#\#),iframe:not(#\#):not(#\#),embed:not(#\#):not(#\#),object:not(#\#):not(#\#){vertical-align:middle;display:block}img:not(#\#):not(#\#),video:not(#\#):not(#\#){max-width:100%;height:auto}button:not(#\#):not(#\#),input:not(#\#):not(#\#),select:not(#\#):not(#\#),optgroup:not(#\#):not(#\#),textarea:not(#\#):not(#\#){font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:not(#\#):not(#\#)::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])):not(#\#):not(#\#) optgroup{font-weight:bolder}:where(select:is([multiple],[size])):not(#\#):not(#\#) optgroup option{padding-inline-start:20px}:not(#\#):not(#\#)::file-selector-button{margin-inline-end:4px}:not(#\#):not(#\#)::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){:not(#\#):not(#\#)::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){:not(#\#):not(#\#)::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea:not(#\#):not(#\#){resize:vertical}:not(#\#):not(#\#)::-webkit-search-decoration{-webkit-appearance:none}:not(#\#):not(#\#)::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}:not(#\#):not(#\#)::-webkit-datetime-edit{display:inline-flex}:not(#\#):not(#\#)::-webkit-datetime-edit-fields-wrapper{padding:0}:not(#\#):not(#\#)::-webkit-datetime-edit{padding-block:0}:not(#\#):not(#\#)::-webkit-datetime-edit-year-field{padding-block:0}:not(#\#):not(#\#)::-webkit-datetime-edit-month-field{padding-block:0}:not(#\#):not(#\#)::-webkit-datetime-edit-day-field{padding-block:0}:not(#\#):not(#\#)::-webkit-datetime-edit-hour-field{padding-block:0}:not(#\#):not(#\#)::-webkit-datetime-edit-minute-field{padding-block:0}:not(#\#):not(#\#)::-webkit-datetime-edit-second-field{padding-block:0}:not(#\#):not(#\#)::-webkit-datetime-edit-millisecond-field{padding-block:0}:not(#\#):not(#\#)::-webkit-datetime-edit-meridiem-field{padding-block:0}:not(#\#):not(#\#)::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid:not(#\#):not(#\#){box-shadow:none}button:not(#\#):not(#\#),input:where([type=button],[type=reset],[type=submit]):not(#\#):not(#\#){-webkit-appearance:button;appearance:button}:not(#\#):not(#\#)::file-selector-button{-webkit-appearance:button;appearance:button}:not(#\#):not(#\#)::-webkit-inner-spin-button{height:auto}:not(#\#):not(#\#)::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])):not(#\#):not(#\#):not(#\#){display:none!important}:not(#\#):not(#\#){border-color:var(--border)}:focus-visible:not(#\#):not(#\#){outline-style:var(--tw-outline-style);outline-width:3px}:not(#\#):not(#\#)::selection{background-color:var(--selection-color)}body:not(#\#):not(#\#){background-color:var(--background);min-height:100dvh;color:var(--foreground);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:relative}.\@container:not(#\#):not(#\#):not(#\#):not(#\#){container-type:inline-size}.pointer-events-auto:not(#\#):not(#\#):not(#\#):not(#\#){pointer-events:auto}.pointer-events-none:not(#\#):not(#\#):not(#\#):not(#\#){pointer-events:none}.invisible:not(#\#):not(#\#):not(#\#):not(#\#){visibility:hidden}.visible:not(#\#):not(#\#):not(#\#):not(#\#){visibility:visible}.skeleton-shimmer:not(#\#):not(#\#):not(#\#):not(#\#){position:relative;overflow:hidden}.skeleton-shimmer:not(#\#):not(#\#):not(#\#):not(#\#):after{content:"";background:linear-gradient(90deg, transparent, var(--skeleton-highlight,currentColor), transparent);position:absolute;inset:0;transform:translate(-100%)}@supports (color:color-mix(in lab, red, red)){.skeleton-shimmer:not(#\#):not(#\#):not(#\#):not(#\#):after{background:linear-gradient(90deg, transparent, var(--skeleton-highlight,color-mix(in oklab, currentColor 12%, transparent)), transparent)}}.skeleton-shimmer:not(#\#):not(#\#):not(#\#):not(#\#):after{animation:1.6s ease-in-out infinite skeleton-shimmer}.sr-only:not(#\#):not(#\#):not(#\#):not(#\#){clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute:not(#\#):not(#\#):not(#\#):not(#\#){position:absolute}.fixed:not(#\#):not(#\#):not(#\#):not(#\#){position:fixed}.relative:not(#\#):not(#\#):not(#\#):not(#\#){position:relative}.static:not(#\#):not(#\#):not(#\#):not(#\#){position:static}.sticky:not(#\#):not(#\#):not(#\#):not(#\#){position:sticky}.inset-0:not(#\#):not(#\#):not(#\#):not(#\#){inset:0}.inset-x-0:not(#\#):not(#\#):not(#\#):not(#\#){inset-inline:0}.inset-y-0:not(#\#):not(#\#):not(#\#):not(#\#){inset-block:0}.inset-s-0:not(#\#):not(#\#):not(#\#):not(#\#){inset-inline-start:0}.start-5:not(#\#):not(#\#):not(#\#):not(#\#){inset-inline-start:calc(var(--spacing) * 5)}.end-6:not(#\#):not(#\#):not(#\#):not(#\#){inset-inline-end:calc(var(--spacing) * 6)}.inset-e-0:not(#\#):not(#\#):not(#\#):not(#\#){inset-inline-end:0}.inset-e-3:not(#\#):not(#\#):not(#\#):not(#\#){inset-inline-end:calc(var(--spacing) * 3)}.top-0:not(#\#):not(#\#):not(#\#):not(#\#){top:0}.top-3:not(#\#):not(#\#):not(#\#):not(#\#){top:calc(var(--spacing) * 3)}.top-4:not(#\#):not(#\#):not(#\#):not(#\#){top:calc(var(--spacing) * 4)}.top-6:not(#\#):not(#\#):not(#\#):not(#\#){top:calc(var(--spacing) * 6)}.top-px:not(#\#):not(#\#):not(#\#):not(#\#){top:1px}.right-0:not(#\#):not(#\#):not(#\#):not(#\#){right:0}.right-4:not(#\#):not(#\#):not(#\#):not(#\#){right:calc(var(--spacing) * 4)}.bottom-0:not(#\#):not(#\#):not(#\#):not(#\#){bottom:0}.bottom-4:not(#\#):not(#\#):not(#\#):not(#\#){bottom:calc(var(--spacing) * 4)}.bottom-px:not(#\#):not(#\#):not(#\#):not(#\#){bottom:1px}.left-0:not(#\#):not(#\#):not(#\#):not(#\#){left:0}.left-1\/2:not(#\#):not(#\#):not(#\#):not(#\#){left:50%}.left-4:not(#\#):not(#\#):not(#\#):not(#\#){left:calc(var(--spacing) * 4)}.isolate:not(#\#):not(#\#):not(#\#):not(#\#){isolation:isolate}.-z-10:not(#\#):not(#\#):not(#\#):not(#\#){z-index:calc(10 * -1)}.z-0:not(#\#):not(#\#):not(#\#):not(#\#){z-index:0}.z-1:not(#\#):not(#\#):not(#\#):not(#\#){z-index:1}.z-10:not(#\#):not(#\#):not(#\#):not(#\#){z-index:10}.z-40:not(#\#):not(#\#):not(#\#):not(#\#){z-index:40}.z-50:not(#\#):not(#\#):not(#\#):not(#\#){z-index:50}.z-\[80\]:not(#\#):not(#\#):not(#\#):not(#\#){z-index:80}.z-\[calc\(1000-var\(--toast-index\)\)\]:not(#\#):not(#\#):not(#\#):not(#\#){z-index:calc(1000 - var(--toast-index))}.container:not(#\#):not(#\#):not(#\#):not(#\#){width:100%}@media (min-width:40rem){.container:not(#\#):not(#\#):not(#\#):not(#\#){max-width:40rem}}@media (min-width:48rem){.container:not(#\#):not(#\#):not(#\#):not(#\#){max-width:48rem}}@media (min-width:64rem){.container:not(#\#):not(#\#):not(#\#):not(#\#){max-width:64rem}}@media (min-width:80rem){.container:not(#\#):not(#\#):not(#\#):not(#\#){max-width:80rem}}@media (min-width:96rem){.container:not(#\#):not(#\#):not(#\#):not(#\#){max-width:96rem}}.-m-0\.5:not(#\#):not(#\#):not(#\#):not(#\#){margin:calc(var(--spacing) * -.5)}.m-0\.5:not(#\#):not(#\#):not(#\#):not(#\#){margin:calc(var(--spacing) * .5)}.-mx-1:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline:calc(var(--spacing) * -1)}.-mx-2:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline:calc(var(--spacing) * -2)}.-mx-5:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline:calc(var(--spacing) * -5)}.mx-auto:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline:auto}.my-1:not(#\#):not(#\#):not(#\#):not(#\#){margin-block:var(--spacing)}.my-1\.5:not(#\#):not(#\#):not(#\#):not(#\#){margin-block:calc(var(--spacing) * 1.5)}.-ms-0\.5:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline-start:calc(var(--spacing) * -.5)}.-ms-1:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline-start:calc(var(--spacing) * -1)}.-ms-2\.5:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline-start:calc(var(--spacing) * -2.5)}.-ms-3:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline-start:calc(var(--spacing) * -3)}.-ms-3\.5:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline-start:calc(var(--spacing) * -3.5)}.-ms-4:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline-start:calc(var(--spacing) * -4)}.ms-0:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline-start:0}.ms-3:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline-start:calc(var(--spacing) * 3)}.ms-auto:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline-start:auto}.-me-0\.5:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline-end:calc(var(--spacing) * -.5)}.-me-1:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline-end:calc(var(--spacing) * -1)}.-me-1\.25:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline-end:calc(var(--spacing) * -1.25)}.-me-1\.75:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline-end:calc(var(--spacing) * -1.75)}.-me-2\.5:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline-end:calc(var(--spacing) * -2.5)}.-me-2\.25:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline-end:calc(var(--spacing) * -2.25)}.-me-3:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline-end:calc(var(--spacing) * -3)}.-me-3\.5:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline-end:calc(var(--spacing) * -3.5)}.me-0\.5:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline-end:calc(var(--spacing) * .5)}.me-3:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline-end:calc(var(--spacing) * 3)}.-mt-1:not(#\#):not(#\#):not(#\#):not(#\#){margin-top:calc(var(--spacing) * -1)}.-mt-4:not(#\#):not(#\#):not(#\#):not(#\#){margin-top:calc(var(--spacing) * -4)}.mt-0:not(#\#):not(#\#):not(#\#):not(#\#){margin-top:0}.mt-1:not(#\#):not(#\#):not(#\#):not(#\#){margin-top:var(--spacing)}.mt-1\.5:not(#\#):not(#\#):not(#\#):not(#\#){margin-top:calc(var(--spacing) * 1.5)}.mt-2:not(#\#):not(#\#):not(#\#):not(#\#){margin-top:calc(var(--spacing) * 2)}.mt-3:not(#\#):not(#\#):not(#\#):not(#\#){margin-top:calc(var(--spacing) * 3)}.mt-auto:not(#\#):not(#\#):not(#\#):not(#\#){margin-top:auto}.mr-1:not(#\#):not(#\#):not(#\#):not(#\#){margin-right:var(--spacing)}.-mb-3\.5:not(#\#):not(#\#):not(#\#):not(#\#){margin-bottom:calc(var(--spacing) * -3.5)}.-mb-5:not(#\#):not(#\#):not(#\#):not(#\#){margin-bottom:calc(var(--spacing) * -5)}.mb-1\.5:not(#\#):not(#\#):not(#\#):not(#\#){margin-bottom:calc(var(--spacing) * 1.5)}.ml-1:not(#\#):not(#\#):not(#\#):not(#\#){margin-left:var(--spacing)}.ml-2:not(#\#):not(#\#):not(#\#):not(#\#){margin-left:calc(var(--spacing) * 2)}.block:not(#\#):not(#\#):not(#\#):not(#\#){display:block}.contents:not(#\#):not(#\#):not(#\#):not(#\#){display:contents}.flex:not(#\#):not(#\#):not(#\#):not(#\#){display:flex}.grid:not(#\#):not(#\#):not(#\#):not(#\#){display:grid}.hidden:not(#\#):not(#\#):not(#\#):not(#\#){display:none}.inline:not(#\#):not(#\#):not(#\#):not(#\#){display:inline}.inline-block:not(#\#):not(#\#):not(#\#):not(#\#){display:inline-block}.inline-flex:not(#\#):not(#\#):not(#\#):not(#\#){display:inline-flex}.table:not(#\#):not(#\#):not(#\#):not(#\#){display:table}.table-caption:not(#\#):not(#\#):not(#\#):not(#\#){display:table-caption}.table-cell:not(#\#):not(#\#):not(#\#):not(#\#){display:table-cell}.table-row:not(#\#):not(#\#):not(#\#):not(#\#){display:table-row}.aspect-square:not(#\#):not(#\#):not(#\#):not(#\#){aspect-ratio:1}.size-\(--cell-size\):not(#\#):not(#\#):not(#\#):not(#\#){width:var(--cell-size);height:var(--cell-size)}.size-\(--rating-size\):not(#\#):not(#\#):not(#\#):not(#\#){width:var(--rating-size);height:var(--rating-size)}.size-2:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-10:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.size-11:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-12:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 12);height:calc(var(--spacing) * 12)}.size-44:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 44);height:calc(var(--spacing) * 44)}.size-56:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 56);height:calc(var(--spacing) * 56)}.size-\[0\.5em\]:not(#\#):not(#\#):not(#\#):not(#\#){width:.5em;height:.5em}.size-\[1\.12em\]:not(#\#):not(#\#):not(#\#):not(#\#){width:1.12em;height:1.12em}.size-\[1\.125em\]:not(#\#):not(#\#):not(#\#):not(#\#){width:1.125em;height:1.125em}.size-\[1\.778em\]:not(#\#):not(#\#):not(#\#):not(#\#){width:1.778em;height:1.778em}.size-\[1em\]:not(#\#):not(#\#):not(#\#):not(#\#){width:1em;height:1em}.size-\[18px\]:not(#\#):not(#\#):not(#\#):not(#\#){width:18px;height:18px}.size-\[30\%\]:not(#\#):not(#\#):not(#\#):not(#\#){width:30%;height:30%}.size-\[50\%\]:not(#\#):not(#\#):not(#\#):not(#\#){width:50%;height:50%}.size-\[56\%\]:not(#\#):not(#\#):not(#\#):not(#\#){width:56%;height:56%}.size-\[66\%\]:not(#\#):not(#\#):not(#\#):not(#\#){width:66%;height:66%}.size-\[320px\]:not(#\#):not(#\#):not(#\#):not(#\#){width:320px;height:320px}.size-\[min\(72vh\,600px\)\]:not(#\#):not(#\#):not(#\#):not(#\#){width:min(72vh,600px);height:min(72vh,600px)}.size-auto:not(#\#):not(#\#):not(#\#):not(#\#){width:auto;height:auto}.size-full:not(#\#):not(#\#):not(#\#):not(#\#){width:100%;height:100%}.\[height\:var\(--drawer-height\,auto\)\]:not(#\#):not(#\#):not(#\#):not(#\#){height:var(--drawer-height,auto)}.h-\(--accordion-panel-height\):not(#\#):not(#\#):not(#\#):not(#\#){height:var(--accordion-panel-height)}.h-\(--cell-size\):not(#\#):not(#\#):not(#\#):not(#\#){height:var(--cell-size)}.h-\(--collapsible-panel-height\):not(#\#):not(#\#):not(#\#):not(#\#){height:var(--collapsible-panel-height)}.h-\(--popup-height\):not(#\#):not(#\#):not(#\#):not(#\#){height:var(--popup-height)}.h-\(--positioner-height\):not(#\#):not(#\#):not(#\#):not(#\#){height:var(--positioner-height)}.h-\(--textarea-h\):not(#\#):not(#\#):not(#\#):not(#\#){height:var(--textarea-h)}.h-1:not(#\#):not(#\#):not(#\#):not(#\#){height:var(--spacing)}.h-1\.5:not(#\#):not(#\#):not(#\#):not(#\#){height:calc(var(--spacing) * 1.5)}.h-4:not(#\#):not(#\#):not(#\#):not(#\#){height:calc(var(--spacing) * 4)}.h-5:not(#\#):not(#\#):not(#\#):not(#\#){height:calc(var(--spacing) * 5)}.h-6:not(#\#):not(#\#):not(#\#):not(#\#){height:calc(var(--spacing) * 6)}.h-7:not(#\#):not(#\#):not(#\#):not(#\#){height:calc(var(--spacing) * 7)}.h-8:not(#\#):not(#\#):not(#\#):not(#\#){height:calc(var(--spacing) * 8)}.h-10:not(#\#):not(#\#):not(#\#):not(#\#){height:calc(var(--spacing) * 10)}.h-12:not(#\#):not(#\#):not(#\#):not(#\#){height:calc(var(--spacing) * 12)}.h-\[0\.2em\]\!:not(#\#){height:.2em!important}.h-\[0\.35em\]\!:not(#\#){height:.35em!important}.h-\[1em\]:not(#\#):not(#\#):not(#\#):not(#\#){height:1em}.h-\[calc\(100\%\+\(--spacing\(1\)\)\)\]:not(#\#):not(#\#):not(#\#):not(#\#){height:calc(100% + (var(--spacing)))}.h-\[calc\(100dvh-1\.5rem-var\(--snap-offset\,0\)\)\]:not(#\#):not(#\#):not(#\#):not(#\#){height:calc(100dvh - 1.5rem - var(--snap-offset,0))}.h-\[calc\(100dvh-1rem\)\]:not(#\#):not(#\#):not(#\#):not(#\#){height:calc(100dvh - 1rem)}.h-\[min\(64vh\,560px\)\]:not(#\#):not(#\#):not(#\#):not(#\#){height:min(64vh,560px)}.h-\[var\(--height\)\]:not(#\#):not(#\#):not(#\#):not(#\#){height:var(--height)}.h-auto:not(#\#):not(#\#):not(#\#):not(#\#){height:auto}.h-full:not(#\#):not(#\#):not(#\#):not(#\#){height:100%}.h-lh:not(#\#):not(#\#):not(#\#):not(#\#){height:1lh}.h-px:not(#\#):not(#\#):not(#\#):not(#\#){height:1px}.max-h-\(--available-height\):not(#\#):not(#\#):not(#\#):not(#\#){max-height:var(--available-height)}.max-h-\[60vh\]:not(#\#):not(#\#):not(#\#):not(#\#){max-height:60vh}.max-h-\[90vh\]:not(#\#):not(#\#):not(#\#):not(#\#){max-height:90vh}.max-h-\[calc\(100vh-13rem\)\]:not(#\#):not(#\#):not(#\#):not(#\#){max-height:calc(100vh - 13rem)}.max-h-full:not(#\#):not(#\#):not(#\#):not(#\#){max-height:100%}.min-h-0:not(#\#):not(#\#):not(#\#):not(#\#){min-height:0}.min-h-2:not(#\#):not(#\#):not(#\#):not(#\#){min-height:calc(var(--spacing) * 2)}.min-h-4:not(#\#):not(#\#):not(#\#):not(#\#){min-height:calc(var(--spacing) * 4)}.min-h-16:not(#\#):not(#\#):not(#\#):not(#\#){min-height:calc(var(--spacing) * 16)}.min-h-20:not(#\#):not(#\#):not(#\#):not(#\#){min-height:calc(var(--spacing) * 20)}.min-h-24:not(#\#):not(#\#):not(#\#):not(#\#){min-height:calc(var(--spacing) * 24)}.min-h-screen:not(#\#):not(#\#):not(#\#):not(#\#){min-height:100vh}.w-\(--active-tab-width\):not(#\#):not(#\#):not(#\#):not(#\#){width:var(--active-tab-width)}.w-\(--anchor-width\):not(#\#):not(#\#):not(#\#):not(#\#){width:var(--anchor-width)}.w-\(--popup-width\):not(#\#):not(#\#):not(#\#):not(#\#){width:var(--popup-width)}.w-\(--positioner-width\):not(#\#):not(#\#):not(#\#):not(#\#){width:var(--positioner-width)}.w-1\.5:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 1.5)}.w-3:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 3)}.w-4:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 4)}.w-5:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 5)}.w-6:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 6)}.w-7:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 7)}.w-7\.5:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 7.5)}.w-8:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 8)}.w-9\.5:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 9.5)}.w-10:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 10)}.w-11\.5:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 11.5)}.w-12:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 12)}.w-18:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 18)}.w-24:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 24)}.w-30:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 30)}.w-35:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 35)}.w-90:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 90)}.w-96:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 96)}.w-100:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 100)}.w-150:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 150)}.w-\[0\.8em\]\!:not(#\#){width:.8em!important}.w-\[1\.4em\]\!:not(#\#){width:1.4em!important}.w-\[calc\(100\%-var\(--border-width\)\*2\)\]:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(100% - var(--border-width) * 2)}.w-\[calc\(var\(--anchor-width\)\+1rem\)\]:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--anchor-width) + 1rem)}.w-\[min\(560px\,92vw\)\]:not(#\#):not(#\#):not(#\#):not(#\#){width:min(560px,92vw)}.w-\[min\(680px\,94vw\)\]:not(#\#):not(#\#):not(#\#):not(#\#){width:min(680px,94vw)}.w-\[min\(860px\,92vw\)\]:not(#\#):not(#\#):not(#\#):not(#\#){width:min(860px,92vw)}.w-\[min\(1100px\,92vw\)\]:not(#\#):not(#\#):not(#\#):not(#\#){width:min(1100px,92vw)}.w-\[min\(1200px\,92vw\)\]:not(#\#):not(#\#):not(#\#):not(#\#){width:min(1200px,92vw)}.w-auto:not(#\#):not(#\#):not(#\#):not(#\#){width:auto}.w-fit:not(#\#):not(#\#):not(#\#):not(#\#){width:fit-content}.w-full:not(#\#):not(#\#):not(#\#):not(#\#){width:100%}.w-max:not(#\#):not(#\#):not(#\#):not(#\#){width:max-content}.w-px:not(#\#):not(#\#):not(#\#):not(#\#){width:1px}.max-w-\(--available-width\):not(#\#):not(#\#):not(#\#):not(#\#){max-width:var(--available-width)}.max-w-4xl:not(#\#):not(#\#):not(#\#):not(#\#){max-width:var(--container-4xl)}.max-w-5xl:not(#\#):not(#\#):not(#\#):not(#\#){max-width:var(--container-5xl)}.max-w-60:not(#\#):not(#\#):not(#\#):not(#\#){max-width:calc(var(--spacing) * 60)}.max-w-72:not(#\#):not(#\#):not(#\#):not(#\#){max-width:calc(var(--spacing) * 72)}.max-w-80:not(#\#):not(#\#):not(#\#):not(#\#){max-width:calc(var(--spacing) * 80)}.max-w-\[200px\]:not(#\#):not(#\#):not(#\#):not(#\#){max-width:200px}.max-w-\[320px\]:not(#\#):not(#\#):not(#\#):not(#\#){max-width:320px}.max-w-\[1200px\]:not(#\#):not(#\#):not(#\#):not(#\#){max-width:1200px}.max-w-\[calc\(100vw-2rem\)\]:not(#\#):not(#\#):not(#\#):not(#\#){max-width:calc(100vw - 2rem)}.max-w-full:not(#\#):not(#\#):not(#\#):not(#\#){max-width:100%}.max-w-md:not(#\#):not(#\#):not(#\#):not(#\#){max-width:var(--container-md)}.max-w-none:not(#\#):not(#\#):not(#\#):not(#\#){max-width:none}.max-w-sm:not(#\#):not(#\#):not(#\#):not(#\#){max-width:var(--container-sm)}.max-w-xl:not(#\#):not(#\#):not(#\#):not(#\#){max-width:var(--container-xl)}.min-w-0:not(#\#):not(#\#):not(#\#):not(#\#){min-width:0}.min-w-2:not(#\#):not(#\#):not(#\#):not(#\#){min-width:calc(var(--spacing) * 2)}.min-w-3\.5:not(#\#):not(#\#):not(#\#):not(#\#){min-width:calc(var(--spacing) * 3.5)}.min-w-4:not(#\#):not(#\#):not(#\#):not(#\#){min-width:calc(var(--spacing) * 4)}.min-w-5:not(#\#):not(#\#):not(#\#):not(#\#){min-width:calc(var(--spacing) * 5)}.min-w-6:not(#\#):not(#\#):not(#\#):not(#\#){min-width:calc(var(--spacing) * 6)}.min-w-6\.5:not(#\#):not(#\#):not(#\#):not(#\#){min-width:calc(var(--spacing) * 6.5)}.min-w-7:not(#\#):not(#\#):not(#\#):not(#\#){min-width:calc(var(--spacing) * 7)}.min-w-8:not(#\#):not(#\#):not(#\#):not(#\#){min-width:calc(var(--spacing) * 8)}.min-w-8\.5:not(#\#):not(#\#):not(#\#):not(#\#){min-width:calc(var(--spacing) * 8.5)}.min-w-10:not(#\#):not(#\#):not(#\#):not(#\#){min-width:calc(var(--spacing) * 10)}.min-w-10\.5:not(#\#):not(#\#):not(#\#):not(#\#){min-width:calc(var(--spacing) * 10.5)}.min-w-12:not(#\#):not(#\#):not(#\#):not(#\#){min-width:calc(var(--spacing) * 12)}.min-w-15:not(#\#):not(#\#):not(#\#):not(#\#){min-width:calc(var(--spacing) * 15)}.min-w-36:not(#\#):not(#\#):not(#\#):not(#\#){min-width:calc(var(--spacing) * 36)}.min-w-40:not(#\#):not(#\#):not(#\#):not(#\#){min-width:calc(var(--spacing) * 40)}.min-w-48:not(#\#):not(#\#):not(#\#):not(#\#){min-width:calc(var(--spacing) * 48)}.min-w-50:not(#\#):not(#\#):not(#\#):not(#\#){min-width:calc(var(--spacing) * 50)}.min-w-56:not(#\#):not(#\#):not(#\#):not(#\#){min-width:calc(var(--spacing) * 56)}.min-w-max:not(#\#):not(#\#):not(#\#):not(#\#){min-width:max-content}.flex-1:not(#\#):not(#\#):not(#\#):not(#\#){flex:1}.flex-none:not(#\#):not(#\#):not(#\#):not(#\#){flex:none}.shrink:not(#\#):not(#\#):not(#\#):not(#\#){flex-shrink:1}.shrink-0:not(#\#):not(#\#):not(#\#):not(#\#){flex-shrink:0}.grow:not(#\#):not(#\#):not(#\#):not(#\#){flex-grow:1}.grow-0:not(#\#):not(#\#):not(#\#):not(#\#){flex-grow:0}.basis-full:not(#\#):not(#\#):not(#\#):not(#\#){flex-basis:100%}.caption-bottom:not(#\#):not(#\#):not(#\#):not(#\#){caption-side:bottom}.caption-top:not(#\#):not(#\#):not(#\#):not(#\#){caption-side:top}.border-collapse:not(#\#):not(#\#):not(#\#):not(#\#){border-collapse:collapse}.border-separate:not(#\#):not(#\#):not(#\#):not(#\#){border-collapse:separate}.border-spacing-0:not(#\#):not(#\#):not(#\#):not(#\#){--tw-border-spacing-x:0px;--tw-border-spacing-y:0px;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y)}.origin-\(--transform-origin\):not(#\#):not(#\#):not(#\#):not(#\#){transform-origin:var(--transform-origin)}.origin-bottom:not(#\#):not(#\#):not(#\#):not(#\#){transform-origin:bottom}.origin-center:not(#\#):not(#\#):not(#\#):not(#\#){transform-origin:50%}.origin-left:not(#\#):not(#\#):not(#\#):not(#\#){transform-origin:0}.origin-right:not(#\#):not(#\#):not(#\#):not(#\#){transform-origin:100%}.origin-top:not(#\#):not(#\#):not(#\#):not(#\#){transform-origin:top}.-translate-x-1\/2:not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2:not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full:not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-\[calc\(-50\%-2px\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-y:calc(-50% - 2px);translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90:not(#\#):not(#\#):not(#\#):not(#\#){rotate:-90deg}.rotate-45:not(#\#):not(#\#):not(#\#):not(#\#){rotate:45deg}.rotate-90:not(#\#):not(#\#):not(#\#):not(#\#){rotate:90deg}.rotate-180:not(#\#):not(#\#):not(#\#):not(#\#){rotate:180deg}.\[transform\:translateX\(calc\(var\(--drawer-swipe-movement-x\)\+var\(--stack-offset\)\)\)_scale\(var\(--stack-scale\)\)\]:not(#\#):not(#\#):not(#\#):not(#\#){transform:translateX(calc(var(--drawer-swipe-movement-x) + var(--stack-offset))) scale(var(--stack-scale))}.\[transform\:translateX\(calc\(var\(--drawer-swipe-movement-x\)-var\(--stack-offset\)\)\)_scale\(var\(--stack-scale\)\)\]:not(#\#):not(#\#):not(#\#):not(#\#){transform:translateX(calc(var(--drawer-swipe-movement-x) - var(--stack-offset))) scale(var(--stack-scale))}.\[transform\:translateX\(var\(--toast-swipe-movement-x\)\)_translateY\(calc\(var\(--toast-swipe-movement-y\)\+\(var\(--toast-index\)\*var\(--peek\)\)\+\(var\(--shrink\)\*var\(--height\)\)\)\)_scale\(var\(--scale\)\)\]:not(#\#):not(#\#):not(#\#):not(#\#){transform:translateX(var(--toast-swipe-movement-x)) translateY(calc(var(--toast-swipe-movement-y) + (var(--toast-index) * var(--peek)) + (var(--shrink) * var(--height)))) scale(var(--scale))}.\[transform\:translateX\(var\(--toast-swipe-movement-x\)\)_translateY\(calc\(var\(--toast-swipe-movement-y\)-\(var\(--toast-index\)\*var\(--peek\)\)-\(var\(--shrink\)\*var\(--height\)\)\)\)_scale\(var\(--scale\)\)\]:not(#\#):not(#\#):not(#\#):not(#\#){transform:translateX(var(--toast-swipe-movement-x)) translateY(calc(var(--toast-swipe-movement-y) - (var(--toast-index) * var(--peek)) - (var(--shrink) * var(--height)))) scale(var(--scale))}.\[transform\:translateY\(calc\(var\(--drawer-snap-point-offset\,0px\)\+var\(--drawer-swipe-movement-y\)\)\)\]:not(#\#):not(#\#):not(#\#):not(#\#){transform:translateY(calc(var(--drawer-snap-point-offset,0px) + var(--drawer-swipe-movement-y)))}.\[transform\:translateY\(calc\(var\(--drawer-swipe-movement-y\)\+var\(--stack-offset\)\)\)_scale\(var\(--stack-scale\)\)\]:not(#\#):not(#\#):not(#\#):not(#\#){transform:translateY(calc(var(--drawer-swipe-movement-y) + var(--stack-offset))) scale(var(--stack-scale))}.\[transform\:translateY\(calc\(var\(--drawer-swipe-movement-y\)-var\(--stack-offset\)\)\)_scale\(var\(--stack-scale\)\)\]:not(#\#):not(#\#):not(#\#):not(#\#){transform:translateY(calc(var(--drawer-swipe-movement-y) - var(--stack-offset))) scale(var(--stack-scale))}.transform:not(#\#):not(#\#):not(#\#):not(#\#){transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.transform-gpu:not(#\#):not(#\#):not(#\#):not(#\#){transform:translateZ(0) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-\[toast-progress_linear_forwards\]:not(#\#):not(#\#):not(#\#):not(#\#){animation:linear forwards toast-progress}.animate-ping-paced:not(#\#):not(#\#):not(#\#):not(#\#){animation:2.5s cubic-bezier(0,0,.2,1) infinite ping-paced}.cursor-default:not(#\#):not(#\#):not(#\#):not(#\#){cursor:default}.cursor-not-allowed:not(#\#):not(#\#):not(#\#):not(#\#){cursor:not-allowed}.cursor-pointer:not(#\#):not(#\#):not(#\#):not(#\#){cursor:pointer}.cursor-zoom-in:not(#\#):not(#\#):not(#\#):not(#\#){cursor:zoom-in}.touch-pan-x:not(#\#):not(#\#):not(#\#):not(#\#){--tw-pan-x:pan-x;touch-action:var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)}.touch-pan-y:not(#\#):not(#\#):not(#\#):not(#\#){--tw-pan-y:pan-y;touch-action:var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)}.touch-pinch-zoom:not(#\#):not(#\#):not(#\#):not(#\#){--tw-pinch-zoom:pinch-zoom;touch-action:var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)}.touch-none:not(#\#):not(#\#):not(#\#):not(#\#){touch-action:none}.resize:not(#\#):not(#\#):not(#\#):not(#\#){resize:both}.resize-none:not(#\#):not(#\#):not(#\#):not(#\#){resize:none}.resize-y:not(#\#):not(#\#):not(#\#):not(#\#){resize:vertical}.\[scrollbar-width\:none\]:not(#\#):not(#\#):not(#\#):not(#\#),.scrollbar-none:not(#\#):not(#\#):not(#\#):not(#\#){scrollbar-width:none}.list-none:not(#\#):not(#\#):not(#\#):not(#\#){list-style-type:none}.columns-1:not(#\#):not(#\#):not(#\#):not(#\#){columns:1}.break-inside-avoid:not(#\#):not(#\#):not(#\#):not(#\#){break-inside:avoid}.\[grid-template-columns\:auto_1fr_auto\]:not(#\#):not(#\#):not(#\#):not(#\#){grid-template-columns:auto 1fr auto}.grid-cols-1:not(#\#):not(#\#):not(#\#):not(#\#){grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2:not(#\#):not(#\#):not(#\#):not(#\#){grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-\[1fr_auto\]:not(#\#):not(#\#):not(#\#):not(#\#){grid-template-columns:1fr auto}.grid-cols-\[auto_1fr_auto\]:not(#\#):not(#\#):not(#\#):not(#\#){grid-template-columns:auto 1fr auto}.grid-rows-\[0fr\]:not(#\#):not(#\#):not(#\#):not(#\#){grid-template-rows:0fr}.flex-col:not(#\#):not(#\#):not(#\#):not(#\#){flex-direction:column}.flex-col-reverse:not(#\#):not(#\#):not(#\#):not(#\#){flex-direction:column-reverse}.flex-row:not(#\#):not(#\#):not(#\#):not(#\#){flex-direction:row}.flex-row-reverse:not(#\#):not(#\#):not(#\#):not(#\#){flex-direction:row-reverse}.flex-wrap:not(#\#):not(#\#):not(#\#):not(#\#){flex-wrap:wrap}.place-items-center:not(#\#):not(#\#):not(#\#):not(#\#){place-items:center}.items-baseline:not(#\#):not(#\#):not(#\#):not(#\#){align-items:baseline}.items-center:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center}.items-end:not(#\#):not(#\#):not(#\#):not(#\#){align-items:flex-end}.items-start:not(#\#):not(#\#):not(#\#):not(#\#){align-items:flex-start}.items-stretch:not(#\#):not(#\#):not(#\#):not(#\#){align-items:stretch}.justify-between:not(#\#):not(#\#):not(#\#):not(#\#){justify-content:space-between}.justify-center:not(#\#):not(#\#):not(#\#):not(#\#){justify-content:center}.justify-end:not(#\#):not(#\#):not(#\#):not(#\#){justify-content:flex-end}.justify-start:not(#\#):not(#\#):not(#\#):not(#\#){justify-content:flex-start}.gap-0\.5:not(#\#):not(#\#):not(#\#):not(#\#){gap:calc(var(--spacing) * .5)}.gap-0\.75:not(#\#):not(#\#):not(#\#):not(#\#){gap:calc(var(--spacing) * .75)}.gap-1:not(#\#):not(#\#):not(#\#):not(#\#){gap:var(--spacing)}.gap-1\.5:not(#\#):not(#\#):not(#\#):not(#\#){gap:calc(var(--spacing) * 1.5)}.gap-1\.25:not(#\#):not(#\#):not(#\#):not(#\#){gap:calc(var(--spacing) * 1.25)}.gap-2:not(#\#):not(#\#):not(#\#):not(#\#){gap:calc(var(--spacing) * 2)}.gap-2\.5:not(#\#):not(#\#):not(#\#):not(#\#){gap:calc(var(--spacing) * 2.5)}.gap-3:not(#\#):not(#\#):not(#\#):not(#\#){gap:calc(var(--spacing) * 3)}.gap-3\.5:not(#\#):not(#\#):not(#\#):not(#\#){gap:calc(var(--spacing) * 3.5)}.gap-4:not(#\#):not(#\#):not(#\#):not(#\#){gap:calc(var(--spacing) * 4)}.gap-4\.5:not(#\#):not(#\#):not(#\#):not(#\#){gap:calc(var(--spacing) * 4.5)}.gap-6:not(#\#):not(#\#):not(#\#):not(#\#){gap:calc(var(--spacing) * 6)}.gap-7:not(#\#):not(#\#):not(#\#):not(#\#){gap:calc(var(--spacing) * 7)}.gap-\[3\%\]:not(#\#):not(#\#):not(#\#):not(#\#){gap:3%}:where(.-space-y-\(--border-width\)>:not(:last-child)):not(#\#):not(#\#):not(#\#):not(#\#){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--border-width) * -1) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--border-width) * -1) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-\(--border-width\)>:not(:last-child)):not(#\#):not(#\#):not(#\#):not(#\#){--tw-space-y-reverse:0;margin-block-start:calc(var(--border-width) * var(--tw-space-y-reverse));margin-block-end:calc(var(--border-width) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-\[-0\.2em\]>:not(:last-child)):not(#\#):not(#\#):not(#\#):not(#\#){--tw-space-y-reverse:0;margin-block-start:calc(-.2em * var(--tw-space-y-reverse));margin-block-end:calc(-.2em * calc(1 - var(--tw-space-y-reverse)))}.gap-x-0:not(#\#):not(#\#):not(#\#):not(#\#){column-gap:0}.gap-x-2:not(#\#):not(#\#):not(#\#):not(#\#){column-gap:calc(var(--spacing) * 2)}.gap-x-3:not(#\#):not(#\#):not(#\#):not(#\#){column-gap:calc(var(--spacing) * 3)}.gap-x-6:not(#\#):not(#\#):not(#\#):not(#\#){column-gap:calc(var(--spacing) * 6)}.gap-x-8:not(#\#):not(#\#):not(#\#):not(#\#){column-gap:calc(var(--spacing) * 8)}:where(.-space-x-\(--border-width\)>:not(:last-child)):not(#\#):not(#\#):not(#\#):not(#\#){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--border-width) * -1) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--border-width) * -1) * calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-\(--border-width\)>:not(:last-child)):not(#\#):not(#\#):not(#\#):not(#\#){--tw-space-x-reverse:0;margin-inline-start:calc(var(--border-width) * var(--tw-space-x-reverse));margin-inline-end:calc(var(--border-width) * calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-\[-0\.2em\]>:not(:last-child)):not(#\#):not(#\#):not(#\#):not(#\#){--tw-space-x-reverse:0;margin-inline-start:calc(-.2em * var(--tw-space-x-reverse));margin-inline-end:calc(-.2em * calc(1 - var(--tw-space-x-reverse)))}.gap-y-1:not(#\#):not(#\#):not(#\#):not(#\#){row-gap:var(--spacing)}.gap-y-1\.5:not(#\#):not(#\#):not(#\#):not(#\#){row-gap:calc(var(--spacing) * 1.5)}.gap-y-2:not(#\#):not(#\#):not(#\#):not(#\#){row-gap:calc(var(--spacing) * 2)}.gap-y-4:not(#\#):not(#\#):not(#\#):not(#\#){row-gap:calc(var(--spacing) * 4)}.self-center:not(#\#):not(#\#):not(#\#):not(#\#){align-self:center}.self-start:not(#\#):not(#\#):not(#\#):not(#\#){align-self:flex-start}.self-stretch:not(#\#):not(#\#):not(#\#):not(#\#){align-self:stretch}.truncate:not(#\#):not(#\#):not(#\#):not(#\#){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto:not(#\#):not(#\#):not(#\#):not(#\#){overflow:auto}.overflow-hidden:not(#\#):not(#\#):not(#\#):not(#\#){overflow:hidden}.overflow-visible:not(#\#):not(#\#):not(#\#):not(#\#){overflow:visible}.overflow-x-auto:not(#\#):not(#\#):not(#\#):not(#\#){overflow-x:auto}.overflow-x-hidden:not(#\#):not(#\#):not(#\#):not(#\#){overflow-x:hidden}.overflow-y-auto:not(#\#):not(#\#):not(#\#):not(#\#){overflow-y:auto}.overscroll-contain:not(#\#):not(#\#):not(#\#):not(#\#){overscroll-behavior:contain}.rounded:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:var(--radius)}.rounded-\(--card-radius\):not(#\#):not(#\#):not(#\#):not(#\#){border-radius:var(--card-radius)}.rounded-2xl:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:var(--radius-2xl)}.rounded-2xs:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:var(--radius-2xs)}.rounded-3xs:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:var(--radius-3xs)}.rounded-4xs:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:var(--radius-4xs)}.rounded-\[2px\]:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:2px}.rounded-\[3px\]:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:3px}.rounded-\[calc\(tan\(atan2\(var\(--radius-3xs\)\,1rem\)\)\*100\%\)\]:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:calc(tan(atan2(var(--radius-3xs), 1rem)) * 100%)}.rounded-\[calc\(tan\(atan2\(var\(--radius-md\)\,2\.5rem\)\)\*100\%\)\]:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:calc(tan(atan2(var(--radius-md), 2.5rem)) * 100%)}.rounded-\[calc\(tan\(atan2\(var\(--radius-sm\)\,2rem\)\)\*100\%\)\]:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:calc(tan(atan2(var(--radius-sm), 2rem)) * 100%)}.rounded-\[calc\(var\(--card-radius\)\*4\/3\)\]:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:calc(var(--card-radius) * 4 / 3)}.rounded-\[calc\(var\(--radius-2xl\)\*5\/6\)\]:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:calc(var(--radius-2xl) * 5 / 6)}.rounded-\[calc\(var\(--radius-xs\)-0\.0625rem\)\]:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:calc(var(--radius-xs) - .0625rem)}.rounded-\[inherit\]:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:inherit}.rounded-full:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:2147483647px}.rounded-lg:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:var(--radius-lg)}.rounded-md:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:var(--radius-md)}.rounded-none:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:0}.rounded-sm:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:var(--radius-sm)}.rounded-xl:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:var(--radius-xl)}.rounded-xs:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:var(--radius-xs)}.rounded-s-md:not(#\#):not(#\#):not(#\#):not(#\#){border-start-start-radius:var(--radius-md);border-end-start-radius:var(--radius-md)}.rounded-s-sm:not(#\#):not(#\#):not(#\#):not(#\#){border-start-start-radius:var(--radius-sm);border-end-start-radius:var(--radius-sm)}.rounded-s-xs:not(#\#):not(#\#):not(#\#):not(#\#){border-start-start-radius:var(--radius-xs);border-end-start-radius:var(--radius-xs)}.rounded-e-md:not(#\#):not(#\#):not(#\#):not(#\#){border-start-end-radius:var(--radius-md);border-end-end-radius:var(--radius-md)}.rounded-e-sm:not(#\#):not(#\#):not(#\#):not(#\#){border-start-end-radius:var(--radius-sm);border-end-end-radius:var(--radius-sm)}.rounded-e-xs:not(#\#):not(#\#):not(#\#):not(#\#){border-start-end-radius:var(--radius-xs);border-end-end-radius:var(--radius-xs)}.rounded-t-\[min\(var\(--radius-3xs\)\,35\%\)\]:not(#\#):not(#\#):not(#\#):not(#\#){border-top-left-radius:min(var(--radius-3xs), 35%);border-top-right-radius:min(var(--radius-3xs), 35%)}.rounded-t-none:not(#\#):not(#\#):not(#\#):not(#\#){border-top-left-radius:0;border-top-right-radius:0}.rounded-b-\[inherit\]:not(#\#):not(#\#):not(#\#):not(#\#){border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.rounded-b-\[min\(var\(--radius-3xs\)\,35\%\)\]:not(#\#):not(#\#):not(#\#):not(#\#){border-bottom-right-radius:min(var(--radius-3xs), 35%);border-bottom-left-radius:min(var(--radius-3xs), 35%)}.rounded-b-none:not(#\#):not(#\#):not(#\#):not(#\#){border-bottom-right-radius:0;border-bottom-left-radius:0}.border:not(#\#):not(#\#):not(#\#):not(#\#){border-style:var(--tw-border-style);border-width:var(--border-width)}.border-2:not(#\#):not(#\#):not(#\#):not(#\#){border-style:var(--tw-border-style);border-width:2px}.border-3:not(#\#):not(#\#):not(#\#):not(#\#){border-style:var(--tw-border-style);border-width:3px}.border-s:not(#\#):not(#\#):not(#\#):not(#\#){border-inline-start-style:var(--tw-border-style);border-inline-start-width:var(--border-width)}.border-t:not(#\#):not(#\#):not(#\#):not(#\#){border-top-style:var(--tw-border-style);border-top-width:var(--border-width)}.border-b:not(#\#):not(#\#):not(#\#):not(#\#){border-bottom-style:var(--tw-border-style);border-bottom-width:var(--border-width)}.border-dashed:not(#\#):not(#\#):not(#\#):not(#\#){--tw-border-style:dashed;border-style:dashed}.border-double:not(#\#):not(#\#):not(#\#):not(#\#){--tw-border-style:double;border-style:double}.border-solid:not(#\#):not(#\#):not(#\#):not(#\#){--tw-border-style:solid;border-style:solid}.border-border:not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--border)}.border-border-inverse:not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--border-inverse)}.border-border-muted:not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--border-muted)}.border-border-overlay:not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--border-overlay)}.border-border-strong:not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--border-strong)}.border-current:not(#\#):not(#\#):not(#\#):not(#\#){border-color:currentColor}.border-error-soft:not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--error-soft)}.border-info-soft:not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--info-soft)}.border-primary:not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--primary)}.border-primary-soft:not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--primary-soft)}.border-secondary-soft:not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--secondary-soft)}.border-success-soft:not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--success-soft)}.border-transparent:not(#\#):not(#\#):not(#\#):not(#\#){border-color:#0000}.border-warning-soft:not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--warning-soft)}.border-white:not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--color-white)}.border-white\/15:not(#\#):not(#\#):not(#\#):not(#\#){border-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){.border-white\/15:not(#\#):not(#\#):not(#\#):not(#\#){border-color:color-mix(in oklab, var(--color-white) 15%, transparent)}}.border-white\/25:not(#\#):not(#\#):not(#\#):not(#\#){border-color:#ffffff40}@supports (color:color-mix(in lab, red, red)){.border-white\/25:not(#\#):not(#\#):not(#\#):not(#\#){border-color:color-mix(in oklab, var(--color-white) 25%, transparent)}}.bg-\(--progress-color\):not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--progress-color)}.bg-\(--sparkline-color\):not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--sparkline-color)}.bg-background:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background)}.bg-background-inverse:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background-inverse)}.bg-background-muted:not(#\#):not(#\#):not(#\#):not(#\#),.bg-background-muted\/60:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background-muted)}@supports (color:color-mix(in lab, red, red)){.bg-background-muted\/60:not(#\#):not(#\#):not(#\#):not(#\#){background-color:color-mix(in oklab, var(--background-muted) 60%, transparent)}}.bg-background-strong:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background-strong)}.bg-background-subtle:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background-subtle)}.bg-black\/30:not(#\#):not(#\#):not(#\#):not(#\#){background-color:#0000004d}@supports (color:color-mix(in lab, red, red)){.bg-black\/30:not(#\#):not(#\#):not(#\#):not(#\#){background-color:color-mix(in oklab, var(--color-black) 30%, transparent)}}.bg-border:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--border)}.bg-border-strong:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--border-strong)}.bg-current:not(#\#):not(#\#):not(#\#):not(#\#),.bg-current\/5:not(#\#):not(#\#):not(#\#):not(#\#){background-color:currentColor}@supports (color:color-mix(in lab, red, red)){.bg-current\/5:not(#\#):not(#\#):not(#\#):not(#\#){background-color:color-mix(in oklab, currentcolor 5%, transparent)}}.bg-current\/9:not(#\#):not(#\#):not(#\#):not(#\#){background-color:currentColor}@supports (color:color-mix(in lab, red, red)){.bg-current\/9:not(#\#):not(#\#):not(#\#):not(#\#){background-color:color-mix(in oklab, currentcolor 9%, transparent)}}.bg-current\/10:not(#\#):not(#\#):not(#\#):not(#\#){background-color:currentColor}@supports (color:color-mix(in lab, red, red)){.bg-current\/10:not(#\#):not(#\#):not(#\#):not(#\#){background-color:color-mix(in oklab, currentcolor 10%, transparent)}}.bg-current\/12:not(#\#):not(#\#):not(#\#):not(#\#){background-color:currentColor}@supports (color:color-mix(in lab, red, red)){.bg-current\/12:not(#\#):not(#\#):not(#\#):not(#\#){background-color:color-mix(in oklab, currentcolor 12%, transparent)}}.bg-current\/14:not(#\#):not(#\#):not(#\#):not(#\#){background-color:currentColor}@supports (color:color-mix(in lab, red, red)){.bg-current\/14:not(#\#):not(#\#):not(#\#):not(#\#){background-color:color-mix(in oklab, currentcolor 14%, transparent)}}.bg-current\/32:not(#\#):not(#\#):not(#\#):not(#\#){background-color:currentColor}@supports (color:color-mix(in lab, red, red)){.bg-current\/32:not(#\#):not(#\#):not(#\#):not(#\#){background-color:color-mix(in oklab, currentcolor 32%, transparent)}}.bg-current\/62:not(#\#):not(#\#):not(#\#):not(#\#){background-color:currentColor}@supports (color:color-mix(in lab, red, red)){.bg-current\/62:not(#\#):not(#\#):not(#\#):not(#\#){background-color:color-mix(in oklab, currentcolor 62%, transparent)}}.bg-error:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--error)}.bg-error-emphasis:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--error-emphasis)}.bg-error-muted:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--error-muted)}.bg-error-subtle:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--error-subtle)}.bg-foreground-intense:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--foreground-intense)}.bg-foreground-subtle:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--foreground-subtle)}.bg-info-muted:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--info-muted)}.bg-info-subtle:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--info-subtle)}.bg-primary:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--primary)}.bg-primary-foreground:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--primary-foreground)}.bg-primary-subtle:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--primary-subtle)}.bg-secondary:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--secondary)}.bg-secondary-muted:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--secondary-muted)}.bg-secondary-subtle:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--secondary-subtle)}.bg-success:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--success)}.bg-success-emphasis:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--success-emphasis)}.bg-success-muted:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--success-muted)}.bg-success-subtle:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--success-subtle)}.bg-transparent:not(#\#):not(#\#):not(#\#):not(#\#){background-color:#0000}.bg-warning:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--warning)}.bg-warning-emphasis:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--warning-emphasis)}.bg-warning-muted:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--warning-muted)}.bg-warning-subtle:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--warning-subtle)}.bg-white:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--color-white)}.bg-white\/10:not(#\#):not(#\#):not(#\#):not(#\#){background-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.bg-white\/10:not(#\#):not(#\#):not(#\#):not(#\#){background-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.bg-white\/25:not(#\#):not(#\#):not(#\#):not(#\#){background-color:#ffffff40}@supports (color:color-mix(in lab, red, red)){.bg-white\/25:not(#\#):not(#\#):not(#\#):not(#\#){background-color:color-mix(in oklab, var(--color-white) 25%, transparent)}}.mask-intersect:not(#\#):not(#\#):not(#\#):not(#\#){-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;mask-composite:intersect}.mask-no-repeat:not(#\#):not(#\#):not(#\#):not(#\#){-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.fill-background-inverse:not(#\#):not(#\#):not(#\#):not(#\#){fill:var(--background-inverse)}.stroke-background-strong:not(#\#):not(#\#):not(#\#):not(#\#){stroke:var(--background-strong)}.stroke-border:not(#\#):not(#\#):not(#\#):not(#\#){stroke:var(--border)}.stroke-border-strong:not(#\#):not(#\#):not(#\#):not(#\#){stroke:var(--border-strong)}.stroke-primary:not(#\#):not(#\#):not(#\#):not(#\#){stroke:var(--primary)}.stroke-white:not(#\#):not(#\#):not(#\#):not(#\#){stroke:var(--color-white)}.stroke-white\/25:not(#\#):not(#\#):not(#\#):not(#\#){stroke:#ffffff40}@supports (color:color-mix(in lab, red, red)){.stroke-white\/25:not(#\#):not(#\#):not(#\#):not(#\#){stroke:color-mix(in oklab, var(--color-white) 25%, transparent)}}.stroke-0:not(#\#):not(#\#):not(#\#):not(#\#){stroke-width:0}.stroke-2:not(#\#):not(#\#):not(#\#):not(#\#){stroke-width:2px}.stroke-4\!:not(#\#){stroke-width:4px!important}.object-cover:not(#\#):not(#\#):not(#\#):not(#\#){object-fit:cover}.p-0:not(#\#):not(#\#):not(#\#):not(#\#){padding:0}.p-0\.5:not(#\#):not(#\#):not(#\#):not(#\#){padding:calc(var(--spacing) * .5)}.p-1:not(#\#):not(#\#):not(#\#):not(#\#){padding:var(--spacing)}.p-1\.5:not(#\#):not(#\#):not(#\#):not(#\#){padding:calc(var(--spacing) * 1.5)}.p-1\.25:not(#\#):not(#\#):not(#\#):not(#\#){padding:calc(var(--spacing) * 1.25)}.p-2:not(#\#):not(#\#):not(#\#):not(#\#){padding:calc(var(--spacing) * 2)}.p-2\.5:not(#\#):not(#\#):not(#\#):not(#\#){padding:calc(var(--spacing) * 2.5)}.p-3:not(#\#):not(#\#):not(#\#):not(#\#){padding:calc(var(--spacing) * 3)}.p-4:not(#\#):not(#\#):not(#\#):not(#\#){padding:calc(var(--spacing) * 4)}.p-5:not(#\#):not(#\#):not(#\#):not(#\#){padding:calc(var(--spacing) * 5)}.p-6:not(#\#):not(#\#):not(#\#):not(#\#){padding:calc(var(--spacing) * 6)}.p-\[calc\(var\(--rating-size\)\/6\)\]:not(#\#):not(#\#):not(#\#):not(#\#){padding:calc(var(--rating-size) / 6)}.p-px:not(#\#):not(#\#):not(#\#):not(#\#){padding:1px}.px-0:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:0}.px-0\.5:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:calc(var(--spacing) * .5)}.px-1:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:var(--spacing)}.px-1\.5:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:calc(var(--spacing) * 1.5)}.px-1\.25:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:calc(var(--spacing) * 1.25)}.px-1\.75:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:calc(var(--spacing) * 1.75)}.px-2:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:calc(var(--spacing) * 2)}.px-2\.5:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:calc(var(--spacing) * 2.5)}.px-3:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:calc(var(--spacing) * 3)}.px-3\.5:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:calc(var(--spacing) * 3.5)}.px-4:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:calc(var(--spacing) * 4)}.px-4\.5:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:calc(var(--spacing) * 4.5)}.px-5:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:calc(var(--spacing) * 5)}.px-5\.5:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:calc(var(--spacing) * 5.5)}.px-6:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:calc(var(--spacing) * 6)}.px-\[calc\(var\(--cell-size\)\+0\.5rem\)\]:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:calc(var(--cell-size) + .5rem)}.py-0\.5:not(#\#):not(#\#):not(#\#):not(#\#){padding-block:calc(var(--spacing) * .5)}.py-1:not(#\#):not(#\#):not(#\#):not(#\#){padding-block:var(--spacing)}.py-1\.5:not(#\#):not(#\#):not(#\#):not(#\#){padding-block:calc(var(--spacing) * 1.5)}.py-2:not(#\#):not(#\#):not(#\#):not(#\#){padding-block:calc(var(--spacing) * 2)}.py-2\.5:not(#\#):not(#\#):not(#\#):not(#\#){padding-block:calc(var(--spacing) * 2.5)}.py-3:not(#\#):not(#\#):not(#\#):not(#\#){padding-block:calc(var(--spacing) * 3)}.py-3\.5:not(#\#):not(#\#):not(#\#):not(#\#){padding-block:calc(var(--spacing) * 3.5)}.py-4:not(#\#):not(#\#):not(#\#):not(#\#){padding-block:calc(var(--spacing) * 4)}.py-8:not(#\#):not(#\#):not(#\#):not(#\#){padding-block:calc(var(--spacing) * 8)}.ps-4:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 4)}.ps-4\!:not(#\#){padding-inline-start:calc(var(--spacing) * 4)!important}.ps-7:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 7)}.ps-10:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 10)}.ps-13:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 13)}.ps-16:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 16)}.pe-4\!:not(#\#){padding-inline-end:calc(var(--spacing) * 4)!important}.pt-1:not(#\#):not(#\#):not(#\#):not(#\#){padding-top:var(--spacing)}.pt-1\.5:not(#\#):not(#\#):not(#\#):not(#\#){padding-top:calc(var(--spacing) * 1.5)}.pt-2:not(#\#):not(#\#):not(#\#):not(#\#){padding-top:calc(var(--spacing) * 2)}.pt-2\.5:not(#\#):not(#\#):not(#\#):not(#\#){padding-top:calc(var(--spacing) * 2.5)}.pt-3:not(#\#):not(#\#):not(#\#):not(#\#){padding-top:calc(var(--spacing) * 3)}.pt-4:not(#\#):not(#\#):not(#\#):not(#\#){padding-top:calc(var(--spacing) * 4)}.pt-4\!:not(#\#){padding-top:calc(var(--spacing) * 4)!important}.pt-6:not(#\#):not(#\#):not(#\#):not(#\#){padding-top:calc(var(--spacing) * 6)}.pr-8:not(#\#):not(#\#):not(#\#):not(#\#){padding-right:calc(var(--spacing) * 8)}.pb-0\.5:not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:calc(var(--spacing) * .5)}.pb-1:not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:var(--spacing)}.pb-1\.5:not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:calc(var(--spacing) * 1.5)}.pb-1\.25:not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:calc(var(--spacing) * 1.25)}.pb-2:not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:calc(var(--spacing) * 2)}.pb-3:not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:calc(var(--spacing) * 3)}.pb-3\.5:not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:calc(var(--spacing) * 3.5)}.pb-4:not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:calc(var(--spacing) * 4)}.pb-4\!:not(#\#){padding-bottom:calc(var(--spacing) * 4)!important}.pb-5:not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:calc(var(--spacing) * 5)}.pb-6:not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:calc(var(--spacing) * 6)}.pb-24:not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:calc(var(--spacing) * 24)}.pl-5:not(#\#):not(#\#):not(#\#):not(#\#){padding-left:calc(var(--spacing) * 5)}.text-center:not(#\#):not(#\#):not(#\#):not(#\#){text-align:center}.text-end:not(#\#):not(#\#):not(#\#):not(#\#){text-align:end}.text-left:not(#\#):not(#\#):not(#\#):not(#\#){text-align:left}.text-right:not(#\#):not(#\#):not(#\#):not(#\#){text-align:right}.text-start:not(#\#):not(#\#):not(#\#):not(#\#){text-align:start}.align-middle:not(#\#):not(#\#):not(#\#):not(#\#){vertical-align:middle}.font-mono:not(#\#):not(#\#):not(#\#):not(#\#){font-family:var(--font-mono)}.font-sans:not(#\#):not(#\#):not(#\#):not(#\#){font-family:var(--font-sans)}.text-2xl:not(#\#):not(#\#):not(#\#):not(#\#){font-size:1.5rem;line-height:var(--tw-leading,1.875rem)}.text-base:not(#\#):not(#\#):not(#\#):not(#\#){font-size:1rem;line-height:var(--tw-leading,1.5rem)}.text-lg:not(#\#):not(#\#):not(#\#):not(#\#){font-size:1.125rem;line-height:var(--tw-leading,1.625rem)}.text-sm:not(#\#):not(#\#):not(#\#):not(#\#){font-size:.875rem;line-height:var(--tw-leading,1.25rem)}.text-xl:not(#\#):not(#\#):not(#\#):not(#\#){font-size:1.25rem;line-height:var(--tw-leading,1.75rem)}.text-xs:not(#\#):not(#\#):not(#\#):not(#\#){font-size:.75rem;line-height:var(--tw-leading,1rem)}.text-\[\.625rem\]:not(#\#):not(#\#):not(#\#):not(#\#){font-size:.625rem}.text-\[0\.4em\]:not(#\#):not(#\#):not(#\#):not(#\#){font-size:.4em}.text-\[0\.8em\]:not(#\#):not(#\#):not(#\#):not(#\#){font-size:.8em}.text-\[1\.5rem\]:not(#\#):not(#\#):not(#\#):not(#\#){font-size:1.5rem}.text-\[1\.25rem\]:not(#\#):not(#\#):not(#\#):not(#\#){font-size:1.25rem}.text-\[1rem\]:not(#\#):not(#\#):not(#\#):not(#\#){font-size:1rem}.text-\[2\.5rem\]:not(#\#):not(#\#):not(#\#):not(#\#){font-size:2.5rem}.text-\[2rem\]:not(#\#):not(#\#):not(#\#):not(#\#){font-size:2rem}.text-\[3rem\]:not(#\#):not(#\#):not(#\#):not(#\#){font-size:3rem}.text-\[4rem\]:not(#\#):not(#\#):not(#\#):not(#\#){font-size:4rem}.text-\[5rem\]:not(#\#):not(#\#):not(#\#):not(#\#){font-size:5rem}.text-\[11px\]:not(#\#):not(#\#):not(#\#):not(#\#){font-size:11px}.leading-4:not(#\#):not(#\#):not(#\#):not(#\#){--tw-leading:calc(var(--spacing) * 4);line-height:calc(var(--spacing) * 4)}.leading-5:not(#\#):not(#\#):not(#\#):not(#\#){--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-6:not(#\#):not(#\#):not(#\#):not(#\#){--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-none:not(#\#):not(#\#):not(#\#):not(#\#){--tw-leading:1;line-height:1}.leading-relaxed:not(#\#):not(#\#):not(#\#):not(#\#){--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-medium:not(#\#):not(#\#):not(#\#):not(#\#){--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal:not(#\#):not(#\#):not(#\#):not(#\#){--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold:not(#\#):not(#\#):not(#\#):not(#\#){--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.break-words:not(#\#):not(#\#):not(#\#):not(#\#),.wrap-break-word:not(#\#):not(#\#):not(#\#):not(#\#){overflow-wrap:break-word}.break-all:not(#\#):not(#\#):not(#\#):not(#\#){word-break:break-all}.whitespace-nowrap:not(#\#):not(#\#):not(#\#):not(#\#){white-space:nowrap}.whitespace-pre:not(#\#):not(#\#):not(#\#):not(#\#){white-space:pre}.whitespace-pre-line:not(#\#):not(#\#):not(#\#):not(#\#){white-space:pre-line}.whitespace-pre-wrap:not(#\#):not(#\#):not(#\#):not(#\#){white-space:pre-wrap}.text-\(--pattern-color\):not(#\#):not(#\#):not(#\#):not(#\#){color:var(--pattern-color)}.text-background:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--background)}.text-background-muted:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--background-muted)}.text-border:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--border)}.text-border-overlay:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--border-overlay)}.text-border-strong:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--border-strong)}.text-current:not(#\#):not(#\#):not(#\#):not(#\#),.text-current\/20:not(#\#):not(#\#):not(#\#):not(#\#){color:currentColor}@supports (color:color-mix(in lab, red, red)){.text-current\/20:not(#\#):not(#\#):not(#\#):not(#\#){color:color-mix(in oklab, currentcolor 20%, transparent)}}.text-error:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--error)}.text-error-emphasis:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--error-emphasis)}.text-error-foreground:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--error-foreground)}.text-foreground:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--foreground)}.text-foreground-emphasis:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--foreground-emphasis)}.text-foreground-intense:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--foreground-intense)}.text-foreground-inverse:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--foreground-inverse)}.text-foreground-muted:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--foreground-muted)}.text-foreground-strong:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--foreground-strong)}.text-foreground-subtle:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--foreground-subtle)}.text-info-emphasis:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--info-emphasis)}.text-info-foreground:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--info-foreground)}.text-primary:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--primary)}.text-primary-foreground:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--primary-foreground)}.text-primary-soft:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--primary-soft)}.text-secondary-emphasis:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--secondary-emphasis)}.text-secondary-foreground:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--secondary-foreground)}.text-success:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--success)}.text-success-emphasis:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--success-emphasis)}.text-success-foreground:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--success-foreground)}.text-warning:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--warning)}.text-warning-emphasis:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--warning-emphasis)}.text-warning-foreground:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--warning-foreground)}.text-white:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--color-white)}.uppercase:not(#\#):not(#\#):not(#\#):not(#\#){text-transform:uppercase}.tabular-nums:not(#\#):not(#\#):not(#\#):not(#\#){--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.line-through:not(#\#):not(#\#):not(#\#):not(#\#){text-decoration-line:line-through}.underline:not(#\#):not(#\#):not(#\#):not(#\#){text-decoration-line:underline}.underline-offset-2:not(#\#):not(#\#):not(#\#):not(#\#){text-underline-offset:2px}.caret-transparent:not(#\#):not(#\#):not(#\#):not(#\#){caret-color:#0000}.opacity-\(--gradient-glow-opacity\):not(#\#):not(#\#):not(#\#):not(#\#){opacity:var(--gradient-glow-opacity)}.opacity-0:not(#\#):not(#\#):not(#\#):not(#\#){opacity:0}.opacity-25:not(#\#):not(#\#):not(#\#):not(#\#){opacity:.25}.opacity-50:not(#\#):not(#\#):not(#\#):not(#\#){opacity:.5}.opacity-60:not(#\#):not(#\#):not(#\#):not(#\#){opacity:.6}.opacity-65:not(#\#):not(#\#):not(#\#):not(#\#){opacity:.65}.opacity-100:not(#\#):not(#\#):not(#\#):not(#\#){opacity:1}.opacity-\[calc\(1-var\(--drawer-swipe-progress\)\)\]:not(#\#):not(#\#):not(#\#):not(#\#){opacity:calc(1 - var(--drawer-swipe-progress))}.opacity-disabled:not(#\#):not(#\#):not(#\#):not(#\#){opacity:var(--opacity-disabled)}.shadow-2xl:not(#\#):not(#\#):not(#\#):not(#\#){--tw-shadow:0 24px 32px -12px var(--tw-shadow-color,var(--shadow-color));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-2xs:not(#\#):not(#\#):not(#\#):not(#\#){--tw-shadow:0 1px var(--tw-shadow-color,var(--shadow-color));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[-24px_0_32px_-12px_var\(--shadow-color\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-shadow:-24px 0 32px -12px var(--tw-shadow-color,var(--shadow-color));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_-8px_16px_-4px_var\(--shadow-color\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-shadow:0 -8px 16px -4px var(--tw-shadow-color,var(--shadow-color));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_-24px_32px_-12px_var\(--shadow-color\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-shadow:0 -24px 32px -12px var(--tw-shadow-color,var(--shadow-color));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[24px_0_32px_-12px_var\(--shadow-color\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-shadow:24px 0 32px -12px var(--tw-shadow-color,var(--shadow-color));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg:not(#\#):not(#\#):not(#\#):not(#\#){--tw-shadow:0 8px 16px -4px var(--tw-shadow-color,var(--shadow-color));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-md:not(#\#):not(#\#):not(#\#):not(#\#){--tw-shadow:0 4px 8px -2px var(--tw-shadow-color,var(--shadow-color));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-sm:not(#\#):not(#\#):not(#\#):not(#\#){--tw-shadow:0 2px 8px -2px var(--tw-shadow-color,var(--shadow-color));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs:not(#\#):not(#\#):not(#\#):not(#\#){--tw-shadow:0 1px 4px 0 var(--tw-shadow-color,var(--shadow-color));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring:not(#\#):not(#\#):not(#\#):not(#\#),.ring-1:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.inset-ring-1:not(#\#):not(#\#):not(#\#):not(#\#){--tw-inset-ring-shadow:inset 0 0 0 1px var(--tw-inset-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-color:var(--background)}.ring-black\/20:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-color:#0003}@supports (color:color-mix(in lab, red, red)){.ring-black\/20:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-color:color-mix(in oklab, var(--color-black) 20%, transparent)}}.ring-border:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-color:var(--border)}.inset-ring-black\/20:not(#\#):not(#\#):not(#\#):not(#\#){--tw-inset-ring-color:#0003}@supports (color:color-mix(in lab, red, red)){.inset-ring-black\/20:not(#\#):not(#\#):not(#\#):not(#\#){--tw-inset-ring-color:color-mix(in oklab, var(--color-black) 20%, transparent)}}.outline-hidden:not(#\#):not(#\#):not(#\#):not(#\#){--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden:not(#\#):not(#\#):not(#\#):not(#\#){outline-offset:2px;outline:2px solid #0000}}.outline:not(#\#):not(#\#):not(#\#):not(#\#){outline-style:var(--tw-outline-style);outline-width:1px}.outline-offset-1:not(#\#):not(#\#):not(#\#):not(#\#){outline-offset:1px}.outline-offset-2:not(#\#):not(#\#):not(#\#):not(#\#){outline-offset:2px}.outline-ring:not(#\#):not(#\#):not(#\#):not(#\#){outline-color:var(--focus-ring)}.outline-ring-error:not(#\#):not(#\#):not(#\#):not(#\#){outline-color:var(--focus-ring-error)}.outline-ring-info:not(#\#):not(#\#):not(#\#):not(#\#){outline-color:var(--focus-ring-info)}.outline-ring-input:not(#\#):not(#\#):not(#\#):not(#\#){outline-color:var(--focus-ring-input)}.outline-ring-light:not(#\#):not(#\#):not(#\#):not(#\#){outline-color:var(--focus-ring-light)}.outline-ring-primary:not(#\#):not(#\#):not(#\#):not(#\#){outline-color:var(--focus-ring-primary)}.outline-ring-secondary:not(#\#):not(#\#):not(#\#):not(#\#){outline-color:var(--focus-ring-secondary)}.outline-ring-success:not(#\#):not(#\#):not(#\#):not(#\#){outline-color:var(--focus-ring-success)}.outline-ring-warning:not(#\#):not(#\#):not(#\#):not(#\#){outline-color:var(--focus-ring-warning)}.blur:not(#\#):not(#\#):not(#\#):not(#\#){--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.blur-2xl:not(#\#):not(#\#):not(#\#):not(#\#){--tw-blur:blur(var(--blur-2xl));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.blur-3xl:not(#\#):not(#\#):not(#\#):not(#\#){--tw-blur:blur(var(--blur-3xl));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.blur-lg:not(#\#):not(#\#):not(#\#):not(#\#){--tw-blur:blur(var(--blur-lg));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.blur-md:not(#\#):not(#\#):not(#\#):not(#\#){--tw-blur:blur(var(--blur-md));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.blur-sm:not(#\#):not(#\#):not(#\#):not(#\#){--tw-blur:blur(var(--blur-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.blur-xl:not(#\#):not(#\#):not(#\#):not(#\#){--tw-blur:blur(var(--blur-xl));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter:not(#\#):not(#\#):not(#\#):not(#\#){filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-lg:not(#\#):not(#\#):not(#\#):not(#\#){--tw-backdrop-blur:blur(var(--blur-lg));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-md:not(#\#):not(#\#):not(#\#):not(#\#){--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm:not(#\#):not(#\#):not(#\#):not(#\#){--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-xl:not(#\#):not(#\#):not(#\#):not(#\#){--tw-backdrop-blur:blur(var(--blur-xl));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition:not(#\#):not(#\#):not(#\#):not(#\#){transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]:not(#\#):not(#\#):not(#\#):not(#\#){transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[height\]:not(#\#):not(#\#):not(#\#):not(#\#){transition-property:height;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[opacity\,color\]:not(#\#):not(#\#):not(#\#):not(#\#){transition-property:opacity,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[opacity\,filter\]:not(#\#):not(#\#):not(#\#):not(#\#){transition-property:opacity,filter;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[opacity\,scale\]:not(#\#):not(#\#):not(#\#):not(#\#){transition-property:opacity,scale;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[opacity\,translate\,scale\]:not(#\#):not(#\#):not(#\#):not(#\#){transition-property:opacity,translate,scale;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[stroke-dashoffset\]:not(#\#):not(#\#):not(#\#):not(#\#){transition-property:stroke-dashoffset;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[transform\,border-radius\]:not(#\#):not(#\#):not(#\#):not(#\#){transition-property:transform,border-radius;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[translate\,width\,height\]:not(#\#):not(#\#):not(#\#):not(#\#){transition-property:translate,width,height;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,background-color\]:not(#\#):not(#\#):not(#\#):not(#\#){transition-property:width,background-color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,opacity\]:not(#\#):not(#\#):not(#\#):not(#\#){transition-property:width,height,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\]:not(#\#):not(#\#):not(#\#):not(#\#){transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors:not(#\#):not(#\#):not(#\#):not(#\#){transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity:not(#\#):not(#\#):not(#\#):not(#\#){transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform:not(#\#):not(#\#):not(#\#):not(#\#){transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.delay-150:not(#\#):not(#\#):not(#\#):not(#\#){transition-delay:.15s}.duration-150:not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.15s;transition-duration:.15s}.duration-200:not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.2s;transition-duration:.2s}.duration-250:not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.25s;transition-duration:.25s}.duration-300:not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.3s;transition-duration:.3s}.duration-400:not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.4s;transition-duration:.4s}.duration-500:not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.5s;transition-duration:.5s}.duration-\[300ms\,250ms\,250ms\]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.3s,.25s,.25s;transition-duration:.3s,.25s,.25s}.ease-\[cubic-bezier\(0\.32\,0\.72\,0\,1\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ease:cubic-bezier(.32,.72,0,1);transition-timing-function:cubic-bezier(.32,.72,0,1)}.ease-\[cubic-bezier\(0\.65\,0\,0\.35\,1\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ease:cubic-bezier(.65,0,.35,1);transition-timing-function:cubic-bezier(.65,0,.35,1)}.ease-\[cubic-bezier\(0\.175\,0\.885\,0\.32\,1\.5\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ease:cubic-bezier(.175,.885,.32,1.5);transition-timing-function:cubic-bezier(.175,.885,.32,1.5)}.ease-\[ease-out\,cubic-bezier\(0\.175\,0\.885\,0\.32\,1\.5\)\,cubic-bezier\(0\.175\,0\.885\,0\.32\,1\.5\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ease:ease-out,cubic-bezier(.175,.885,.32,1.5),cubic-bezier(.175,.885,.32,1.5);transition-timing-function:ease-out,cubic-bezier(.175,.885,.32,1.5),cubic-bezier(.175,.885,.32,1.5)}.ease-in:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ease:var(--ease-in);transition-timing-function:var(--ease-in)}.ease-out:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.forced-color-adjust-none:not(#\#):not(#\#):not(#\#):not(#\#){forced-color-adjust:none}.outline-none:not(#\#):not(#\#):not(#\#):not(#\#){--tw-outline-style:none;outline-style:none}.select-all:not(#\#):not(#\#):not(#\#):not(#\#){-webkit-user-select:all;user-select:all}.select-none:not(#\#):not(#\#):not(#\#):not(#\#){-webkit-user-select:none;user-select:none}.\[--card-radius\:var\(--radius-xl\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--card-radius:var(--radius-xl)}.\[--cell-size\:--spacing\(6\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--cell-size:calc(var(--spacing) * 6)}.\[--cell-size\:--spacing\(8\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--cell-size:calc(var(--spacing) * 8)}.\[--cell-size\:--spacing\(10\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--cell-size:calc(var(--spacing) * 10)}.\[--gap\:0\.75rem\]:not(#\#):not(#\#):not(#\#):not(#\#){--gap:.75rem}.\[--gradient-glow-opacity\:1\]:not(#\#):not(#\#):not(#\#):not(#\#){--gradient-glow-opacity:1}.\[--height\:var\(--toast-frontmost-height\,var\(--toast-height\)\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--height:var(--toast-frontmost-height,var(--toast-height))}.\[--indent-transition\:calc\(1-clamp\(0\,calc\(var\(--drawer-swipe-progress\)\*100000\)\,1\)\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--indent-transition:calc(1 - clamp(0, calc(var(--drawer-swipe-progress) * 100000), 1))}.\[--offset-y\:calc\(var\(--toast-offset-y\)\*-1\+calc\(var\(--toast-index\)\*var\(--gap\)\*-1\)\+var\(--toast-swipe-movement-y\)\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--offset-y:calc(var(--toast-offset-y) * -1 + calc(var(--toast-index) * var(--gap) * -1) + var(--toast-swipe-movement-y))}.\[--offset-y\:calc\(var\(--toast-offset-y\)\+\(var\(--toast-index\)\*var\(--gap\)\)\+var\(--toast-swipe-movement-y\)\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--offset-y:calc(var(--toast-offset-y) + (var(--toast-index) * var(--gap)) + var(--toast-swipe-movement-y))}.\[--pattern-color\:var\(--color-border-intense\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--pattern-color:var(--color-border-intense)}.\[--pattern-highlight\:var\(--spotlight-size\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--pattern-highlight:var(--spotlight-size)}.\[--peek\:0\.75rem\]:not(#\#):not(#\#):not(#\#):not(#\#){--peek:.75rem}.\[--scale\:calc\(max\(0\,1-\(var\(--toast-index\)\*0\.1\)\)\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--scale:calc(max(0, 1 - (var(--toast-index) * .1)))}.\[--shrink\:calc\(1-var\(--scale\)\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--shrink:calc(1 - var(--scale))}.\[--snap-offset\:var\(--drawer-snap-point-offset\,0px\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--snap-offset:var(--drawer-snap-point-offset,0px)}.\[--spotlight-size\:200px\]:not(#\#):not(#\#):not(#\#):not(#\#){--spotlight-size:200px}.\[--stack-count\:max\(0\,calc\(var\(--nested-drawers\,0\)-var\(--stack-progress\)\)\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--stack-count:max(0, calc(var(--nested-drawers,0) - var(--stack-progress)))}.\[--stack-extent\:25rem\]:not(#\#):not(#\#):not(#\#):not(#\#){--stack-extent:25rem}.\[--stack-extent\:var\(--drawer-frontmost-height\,var\(--drawer-height\,0px\)\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--stack-extent:var(--drawer-frontmost-height,var(--drawer-height,0px))}.\[--stack-offset\:calc\(var\(--stack-peek\)\+var\(--stack-shrink\)\*var\(--stack-extent\)\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--stack-offset:calc(var(--stack-peek) + var(--stack-shrink) * var(--stack-extent))}.\[--stack-peek\:calc\(var\(--stack-count\)\*1\.5rem\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--stack-peek:calc(var(--stack-count) * 1.5rem)}.\[--stack-progress\:clamp\(0\,var\(--drawer-swipe-progress\,0\)\,1\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--stack-progress:clamp(0, var(--drawer-swipe-progress,0), 1)}.\[--stack-scale\:clamp\(0\,calc\(1-var\(--stack-step\)\*var\(--stack-count\)\)\,1\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--stack-scale:clamp(0, calc(1 - var(--stack-step) * var(--stack-count)), 1)}.\[--stack-shrink\:calc\(1-var\(--stack-scale\)\)\]:not(#\#):not(#\#):not(#\#):not(#\#){--stack-shrink:calc(1 - var(--stack-scale))}.\[--stack-step\:0\.05\]:not(#\#):not(#\#):not(#\#):not(#\#){--stack-step:.05}.\[animation-play-state\:paused\]:not(#\#):not(#\#):not(#\#):not(#\#){animation-play-state:paused}.\[animation-play-state\:running\]:not(#\#):not(#\#):not(#\#):not(#\#){animation-play-state:running}.\[grid-area\:actions\]:not(#\#):not(#\#):not(#\#):not(#\#){grid-area:actions}.\[grid-area\:close\]:not(#\#):not(#\#):not(#\#):not(#\#){grid-area:close}.\[grid-area\:description\]:not(#\#):not(#\#):not(#\#):not(#\#){grid-area:description}.\[grid-area\:icon\]:not(#\#):not(#\#):not(#\#):not(#\#){grid-area:icon}.\[grid-area\:title\]:not(#\#):not(#\#):not(#\#):not(#\#){grid-area:title}.\[grid-template-areas\:\'icon_title_close\'\]:not(#\#):not(#\#):not(#\#):not(#\#){grid-template-areas:"icon title close"}.\[grid-template-areas\:\'icon_title_close\'_\'\._description_\.\'_\'\._actions_actions\'\]:not(#\#):not(#\#):not(#\#):not(#\#){grid-template-areas:"icon title close"".description."".actions actions"}.\[stroke-dasharray\:2\.5_2\]:not(#\#):not(#\#):not(#\#):not(#\#){stroke-dasharray:2.5 2}.\[stroke-dashoffset\:1\.02\]:not(#\#):not(#\#):not(#\#):not(#\#){stroke-dashoffset:1.02px}.\[transition\:opacity_500ms_ease-out\,scale_150ms_ease-out\,translate_150ms_ease-out\]:not(#\#):not(#\#):not(#\#):not(#\#){transition:opacity .5s ease-out,scale .15s ease-out,translate .15s ease-out}.\[transition\:scale_150ms_ease-out\,translate_150ms_ease-out\]:not(#\#):not(#\#):not(#\#):not(#\#){transition:scale .15s ease-out,translate .15s ease-out}.\[transition\:transform_0\.5s_cubic-bezier\(0\.22\,1\,0\.36\,1\)\,opacity_0\.5s\,height_0\.15s\]:not(#\#):not(#\#):not(#\#):not(#\#){transition:transform .5s cubic-bezier(.22,1,.36,1),opacity .5s,height .15s}.ring-inset:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-inset:inset}:is(.\*\:relative>*):not(#\#):not(#\#):not(#\#):not(#\#){position:relative}:is(.\*\:size-full>*):not(#\#):not(#\#):not(#\#):not(#\#){width:100%;height:100%}:is(.\*\:shrink-0>*):not(#\#):not(#\#):not(#\#):not(#\#){flex-shrink:0}:is(.\*\:\[grid-area\:1\/1\]>*):not(#\#):not(#\#):not(#\#):not(#\#){grid-area:1/1}.not-placeholder-shown\:text-transparent:not(:placeholder-shown):not(#\#):not(#\#):not(#\#):not(#\#){color:#0000}.not-placeholder-shown\:caret-transparent:not(:placeholder-shown):not(#\#):not(#\#):not(#\#):not(#\#){caret-color:#0000}.not-has-\[\>\[data-slot\=alert-dialog-footer\]\]\:pb-6:not(:has(>[data-slot=alert-dialog-footer])):not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:calc(var(--spacing) * 6)}.not-has-\[\>\[data-slot\=alert-dialog-header\]\]\:pt-6:not(:has(>[data-slot=alert-dialog-header])):not(#\#):not(#\#):not(#\#):not(#\#){padding-top:calc(var(--spacing) * 6)}.not-has-\[\>\[data-slot\=dialog-footer\]\]\:pb-6:not(:has(>[data-slot=dialog-footer])):not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:calc(var(--spacing) * 6)}.not-has-\[\>\[data-slot\=dialog-header\]\]\:pt-6:not(:has(>[data-slot=dialog-header])):not(#\#):not(#\#):not(#\#):not(#\#){padding-top:calc(var(--spacing) * 6)}.not-has-\[\>\[data-slot\=drawer-footer\]\]\:pb-6:not(:has(>[data-slot=drawer-footer])):not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:calc(var(--spacing) * 6)}.not-has-\[\>\[data-slot\=drawer-header\]\]\:pt-6:not(:has(>[data-slot=drawer-header])):not(#\#):not(#\#):not(#\#):not(#\#){padding-top:calc(var(--spacing) * 6)}.group-open\:rotate-90:is(:where(.group):is([open],:popover-open,:open) *):not(#\#):not(#\#):not(#\#):not(#\#){rotate:90deg}.group-focus-within\:scale-110:is(:where(.group):focus-within *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-focus-within\:scale-125:is(:where(.group):focus-within *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-scale-x:125%;--tw-scale-y:125%;--tw-scale-z:125%;scale:var(--tw-scale-x) var(--tw-scale-y)}@media (hover:hover){.group-hover\:scale-110:is(:where(.group):hover *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-hover\:scale-125:is(:where(.group):hover *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-scale-x:125%;--tw-scale-y:125%;--tw-scale-z:125%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-hover\/beam\:opacity-100:is(:where(.group\/beam):hover *):not(#\#):not(#\#):not(#\#):not(#\#){opacity:1}.group-hover\/beam\:\[animation-play-state\:running\]:is(:where(.group\/beam):hover *):not(#\#):not(#\#):not(#\#):not(#\#){animation-play-state:running}.group-hover\/chip\:opacity-100:is(:where(.group\/chip):hover *):not(#\#):not(#\#):not(#\#):not(#\#){opacity:1}.group-hover\/glow\:opacity-\(--gradient-glow-opacity\):is(:where(.group\/glow):hover *):not(#\#):not(#\#):not(#\#):not(#\#){opacity:var(--gradient-glow-opacity)}.group-hover\/glow\:\[animation-play-state\:running\]:is(:where(.group\/glow):hover *):not(#\#):not(#\#):not(#\#):not(#\#){animation-play-state:running}}.group-active\/beam\:translate-y-px:is(:where(.group\/beam):active *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-y:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.group-active\/beam\:scale-\[0\.97\]:is(:where(.group\/beam):active *):not(#\#):not(#\#):not(#\#):not(#\#){scale:.97}.group-active\/beam\:opacity-100:is(:where(.group\/beam):active *):not(#\#):not(#\#):not(#\#):not(#\#){opacity:1}.group-active\/beam\:\[animation-play-state\:running\]:is(:where(.group\/beam):active *):not(#\#):not(#\#):not(#\#):not(#\#){animation-play-state:running}.group-active\/color-control\:scale-125:is(:where(.group\/color-control):active *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-scale-x:125%;--tw-scale-y:125%;--tw-scale-z:125%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-active\/glow\:translate-y-px:is(:where(.group\/glow):active *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-y:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.group-active\/glow\:scale-\[0\.97\]:is(:where(.group\/glow):active *):not(#\#):not(#\#):not(#\#):not(#\#){scale:.97}.group-active\/glow\:opacity-\(--gradient-glow-opacity\):is(:where(.group\/glow):active *):not(#\#):not(#\#):not(#\#):not(#\#){opacity:var(--gradient-glow-opacity)}.group-active\/glow\:\[animation-play-state\:running\]:is(:where(.group\/glow):active *):not(#\#):not(#\#):not(#\#):not(#\#){animation-play-state:running}.group-active\/trigger\:translate-y-px:is(:where(.group\/trigger):active *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-y:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.group-active\/trigger\:scale-\[0\.97\]:is(:where(.group\/trigger):active *):not(#\#):not(#\#):not(#\#):not(#\#){scale:.97}.group-active\/trigger\:duration-100:is(:where(.group\/trigger):active *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.1s;transition-duration:.1s}.group-active\/trigger\:ease-in-out:is(:where(.group\/trigger):active *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.group-has-data-\[slot\=combobox-chip\]\/combobox-chips\:pe-2:is(:where(.group\/combobox-chips):has([data-slot=combobox-chip]) *):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--spacing) * 2)}.group-has-data-\[slot\=combobox-chip\]\/combobox-chips\:pe-2\.5:is(:where(.group\/combobox-chips):has([data-slot=combobox-chip]) *):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--spacing) * 2.5)}.group-has-data-\[slot\=combobox-chip\]\/combobox-chips\:pe-3:is(:where(.group\/combobox-chips):has([data-slot=combobox-chip]) *):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--spacing) * 3)}.group-has-data-\[slot\=combobox-chip\]\/combobox-chips\:pt-1:is(:where(.group\/combobox-chips):has([data-slot=combobox-chip]) *):not(#\#):not(#\#):not(#\#):not(#\#){padding-top:var(--spacing)}.group-has-data-\[slot\=combobox-chip\]\/combobox-chips\:pt-1\.5:is(:where(.group\/combobox-chips):has([data-slot=combobox-chip]) *):not(#\#):not(#\#):not(#\#):not(#\#){padding-top:calc(var(--spacing) * 1.5)}.group-has-data-\[slot\=combobox-chip\]\/combobox-chips\:pt-2\.5:is(:where(.group\/combobox-chips):has([data-slot=combobox-chip]) *):not(#\#):not(#\#):not(#\#):not(#\#){padding-top:calc(var(--spacing) * 2.5)}.group-data-checked\/check\:opacity-100:is(:where(.group\/check)[data-checked] *):not(#\#):not(#\#):not(#\#):not(#\#){opacity:1}.group-data-checked\/check\:\[stroke-dashoffset\:0\]:is(:where(.group\/check)[data-checked] *):not(#\#):not(#\#):not(#\#):not(#\#){stroke-dashoffset:0}.group-data-copied\/copy\:scale-50:is(:where(.group\/copy)[data-copied] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-scale-x:50%;--tw-scale-y:50%;--tw-scale-z:50%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-data-copied\/copy\:opacity-0:is(:where(.group\/copy)[data-copied] *):not(#\#):not(#\#):not(#\#):not(#\#){opacity:0}.group-data-copied\/copy\:delay-0:is(:where(.group\/copy)[data-copied] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-delay:0s}.group-data-copied\/copy\:delay-100:is(:where(.group\/copy)[data-copied] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-delay:.1s}.group-data-copied\/copy\:duration-350:is(:where(.group\/copy)[data-copied] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.35s;transition-duration:.35s}.group-data-copied\/copy\:ease-out:is(:where(.group\/copy)[data-copied] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.group-data-copied\/copy\:\[stroke-dashoffset\:0\]:is(:where(.group\/copy)[data-copied] *):not(#\#):not(#\#):not(#\#):not(#\#){stroke-dashoffset:0}.group-data-disabled\/color-control\:border:is(:where(.group\/color-control)[data-disabled] *):not(#\#):not(#\#):not(#\#):not(#\#){border-style:var(--tw-border-style);border-width:var(--border-width)}.group-data-disabled\/color-control\:border-dashed:is(:where(.group\/color-control)[data-disabled] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-border-style:dashed;border-style:dashed}.group-data-disabled\/color-control\:ring-0:is(:where(.group\/color-control)[data-disabled] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-data-disabled\/submenu-trigger\:pointer-events-none:is(:where(.group\/submenu-trigger)[data-disabled] *):not(#\#):not(#\#):not(#\#):not(#\#){pointer-events:none}.group-data-disabled\/submenu-trigger\:opacity-disabled:is(:where(.group\/submenu-trigger)[data-disabled] *):not(#\#):not(#\#):not(#\#):not(#\#){opacity:var(--opacity-disabled)}.group-data-dragging\/color-control\:scale-125:is(:where(.group\/color-control)[data-dragging] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-scale-x:125%;--tw-scale-y:125%;--tw-scale-z:125%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-data-empty\/autocomplete-content\:block:is(:where(.group\/autocomplete-content)[data-empty] *):not(#\#):not(#\#):not(#\#):not(#\#),.group-data-empty\/combobox-content\:block:is(:where(.group\/combobox-content)[data-empty] *):not(#\#):not(#\#):not(#\#):not(#\#){display:block}.group-data-expanded\/toast\:\[animation-play-state\:paused\]:is(:where(.group\/toast)[data-expanded] *):not(#\#):not(#\#):not(#\#):not(#\#){animation-play-state:paused}.group-data-highlighted\/submenu-trigger\:not-data-disabled\:text-foreground-intense:is(:where(.group\/submenu-trigger)[data-highlighted] *):not([data-disabled]):not(#\#):not(#\#):not(#\#):not(#\#){color:var(--foreground-intense)}.group-data-inset\/card\:rounded-\[calc\(var\(--card-radius\)\*3\/4\)\]:is(:where(.group\/card)[data-inset] *):not(#\#):not(#\#):not(#\#):not(#\#){border-radius:calc(var(--card-radius) * 3 / 4)}.group-data-inset\/card\:px-4:is(:where(.group\/card)[data-inset] *):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:calc(var(--spacing) * 4)}.group-data-inset\/card\:pb-4:is(:where(.group\/card)[data-inset] *):not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:calc(var(--spacing) * 4)}.group-data-nested\/alert-dialog-popup\:rounded-none:is(:where(.group\/alert-dialog-popup)[data-nested] *):not(#\#):not(#\#):not(#\#):not(#\#){border-radius:0}.group-data-nested\/alert-dialog-popup\:bg-transparent:is(:where(.group\/alert-dialog-popup)[data-nested] *):not(#\#):not(#\#):not(#\#):not(#\#){background-color:#0000}.group-data-open\/accordion-item\:rotate-90:is(:where(.group\/accordion-item)[data-open] *):not(#\#):not(#\#):not(#\#):not(#\#){rotate:90deg}.group-data-open\/accordion-item\:rotate-180:is(:where(.group\/accordion-item)[data-open] *):not(#\#):not(#\#):not(#\#):not(#\#),.group-data-popup-open\/autocomplete-icon\:rotate-180:is(:where(.group\/autocomplete-icon)[data-popup-open] *):not(#\#):not(#\#):not(#\#):not(#\#),.group-data-popup-open\/combobox-toggle\:rotate-180:is(:where(.group\/combobox-toggle)[data-popup-open] *):not(#\#):not(#\#):not(#\#):not(#\#),.group-data-popup-open\/combobox-trigger\:rotate-180:is(:where(.group\/combobox-trigger)[data-popup-open] *):not(#\#):not(#\#):not(#\#):not(#\#){rotate:180deg}.group-data-popup-open\/navigation-menu-icon\:rotate-90:is(:where(.group\/navigation-menu-icon)[data-popup-open] *):not(#\#):not(#\#):not(#\#):not(#\#){rotate:90deg}.group-data-popup-open\/navigation-menu-icon\:rotate-180:is(:where(.group\/navigation-menu-icon)[data-popup-open] *):not(#\#):not(#\#):not(#\#):not(#\#){rotate:180deg}.group-data-popup-open\/submenu-trigger\:not-data-disabled\:text-foreground-intense:is(:where(.group\/submenu-trigger)[data-popup-open] *):not([data-disabled]):not(#\#):not(#\#):not(#\#):not(#\#){color:var(--foreground-intense)}.group-data-selected\/check\:opacity-100:is(:where(.group\/check)[data-selected] *):not(#\#):not(#\#):not(#\#):not(#\#){opacity:1}.group-data-selected\/check\:\[stroke-dashoffset\:0\]:is(:where(.group\/check)[data-selected] *):not(#\#):not(#\#):not(#\#):not(#\#){stroke-dashoffset:0}.group-data-\[side\=bottom\]\/popup\:border-t-2:is(:where(.group\/popup)[data-side=bottom] *):not(#\#):not(#\#):not(#\#):not(#\#){border-top-style:var(--tw-border-style);border-top-width:2px}.group-data-\[side\=inline-end\]\/popup\:border-s-2:is(:where(.group\/popup)[data-side=inline-end] *):not(#\#):not(#\#):not(#\#):not(#\#){border-inline-start-style:var(--tw-border-style);border-inline-start-width:2px}.group-data-\[side\=inline-start\]\/popup\:border-e-2:is(:where(.group\/popup)[data-side=inline-start] *):not(#\#):not(#\#):not(#\#):not(#\#){border-inline-end-style:var(--tw-border-style);border-inline-end-width:2px}.group-data-\[side\=left\]\/popup\:border-r-2:is(:where(.group\/popup)[data-side=left] *):not(#\#):not(#\#):not(#\#):not(#\#){border-right-style:var(--tw-border-style);border-right-width:2px}.group-data-\[side\=right\]\/popup\:border-l-2:is(:where(.group\/popup)[data-side=right] *):not(#\#):not(#\#):not(#\#):not(#\#){border-left-style:var(--tw-border-style);border-left-width:2px}.group-data-\[side\=top\]\/popup\:border-b-2:is(:where(.group\/popup)[data-side=top] *):not(#\#):not(#\#):not(#\#):not(#\#){border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.peer-not-placeholder-shown\:pointer-events-auto:is(:where(.peer):not(:placeholder-shown)~*):not(#\#):not(#\#):not(#\#):not(#\#){pointer-events:auto}.peer-not-placeholder-shown\:opacity-100:is(:where(.peer):not(:placeholder-shown)~*):not(#\#):not(#\#):not(#\#):not(#\#){opacity:1}.peer-placeholder-shown\:invisible:is(:where(.peer):placeholder-shown~*):not(#\#):not(#\#):not(#\#):not(#\#){visibility:hidden}.marker\:content-none:not(#\#):not(#\#):not(#\#):not(#\#) ::marker{--tw-content:none;content:none}.marker\:content-none:not(#\#):not(#\#):not(#\#):not(#\#)::marker{--tw-content:none;content:none}.marker\:content-none:not(#\#):not(#\#):not(#\#):not(#\#) ::-webkit-details-marker{--tw-content:none;content:none}.marker\:content-none:not(#\#):not(#\#):not(#\#):not(#\#)::-webkit-details-marker{--tw-content:none;content:none}.placeholder\:text-foreground-subtle:not(#\#):not(#\#):not(#\#):not(#\#)::placeholder{color:var(--foreground-subtle)}.before\:pointer-events-none:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);pointer-events:none}.before\:absolute:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);position:absolute}.before\:inset-0:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);inset:0}.before\:-inset-s-px:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);inset-inline-start:-1px}.before\:inset-s-1\.5:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);inset-inline-start:calc(var(--spacing) * 1.5)}.before\:inset-e-1\.5:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);inset-inline-end:calc(var(--spacing) * 1.5)}.before\:top-\(--toc-indicator-top\):not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);top:var(--toc-indicator-top)}.before\:top-1\.5:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);top:calc(var(--spacing) * 1.5)}.before\:top-1\/2:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);top:50%}.before\:bottom-1\.5:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);bottom:calc(var(--spacing) * 1.5)}.before\:left-1\/2:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);left:50%}.before\:-z-1:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);z-index:calc(1 * -1)}.before\:-z-10:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);z-index:calc(10 * -1)}.before\:h-\(--toc-indicator-height\):not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);height:var(--toc-indicator-height)}.before\:h-1:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);height:var(--spacing)}.before\:h-11\.5:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);height:calc(var(--spacing) * 11.5)}.before\:w-0\.5:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);width:calc(var(--spacing) * .5)}.before\:w-1:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);width:var(--spacing)}.before\:w-11\.5:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);width:calc(var(--spacing) * 11.5)}.before\:-translate-x-1\/2:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.before\:-translate-y-1\/2:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.before\:rounded-\[inherit\]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-radius:inherit}.before\:rounded-full:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-radius:2147483647px}.before\:border:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-style:var(--tw-border-style);border-width:var(--border-width)}.before\:border-border:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:var(--border)}.before\:border-primary:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:var(--primary)}.before\:border-transparent:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:#0000}.before\:border-white\/10:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.before\:border-white\/10:not(#\#):not(#\#):not(#\#):not(#\#):before{border-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.before\:bg-background:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--background)}.before\:bg-background-muted:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--background-muted)}.before\:bg-background-strong:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--background-strong)}.before\:bg-foreground-intense:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--foreground-intense)}.before\:bg-primary:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--primary)}.before\:bg-white\/10:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.before\:bg-white\/10:not(#\#):not(#\#):not(#\#):not(#\#):before{background-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.before\:bg-\[radial-gradient\(138\.15\%_78\.13\%_at_52\.05\%_50\%\,var\(--error\)_0\%\,var\(--error-muted\)_95\%\)\]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-image:radial-gradient(138.15% 78.13% at 52.05% 50%,var(--error) 0%,var(--error-muted) 95%)}.before\:bg-\[radial-gradient\(138\.15\%_78\.13\%_at_52\.05\%_50\%\,var\(--primary\)_0\%\,var\(--primary-muted\)_80\%\)\]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-image:radial-gradient(138.15% 78.13% at 52.05% 50%,var(--primary) 0%,var(--primary-muted) 80%)}.before\:bg-\[radial-gradient\(138\.15\%_78\.13\%_at_52\.05\%_50\%\,var\(--secondary\)_0\%\,var\(--secondary-muted\)_95\%\)\]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-image:radial-gradient(138.15% 78.13% at 52.05% 50%,var(--secondary) 0%,var(--secondary-muted) 95%)}.before\:opacity-0:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);opacity:0}.before\:opacity-0\!:not(#\#):before{opacity:0!important}.before\:opacity-0\!:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content)}.before\:opacity-100:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);opacity:1}.before\:backdrop-blur-md:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.before\:transition-\[opacity\,background-color\,border-color\]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);transition-property:opacity,background-color,border-color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.before\:transition-\[top\,height\,opacity\]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);transition-property:top,height,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.before\:transition-all:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.before\:transition-colors:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.before\:transition-opacity:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.before\:duration-250:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);--tw-duration:.25s;transition-duration:.25s}.before\:duration-300:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);--tw-duration:.3s;transition-duration:.3s}.before\:ease-out:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}@media (hover:hover){.group-hover\/trigger\:before\:bg-background-subtle:is(:where(.group\/trigger):hover *):not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--background-subtle)}}.group-data-highlighted\/submenu-trigger\:not-data-disabled\:before\:bg-background-muted:is(:where(.group\/submenu-trigger)[data-highlighted] *):not([data-disabled]):not(#\#):not(#\#):not(#\#):not(#\#):before,.group-data-popup-open\/submenu-trigger\:not-data-disabled\:before\:bg-background-muted:is(:where(.group\/submenu-trigger)[data-popup-open] *):not([data-disabled]):not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--background-muted)}.after\:absolute:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);position:absolute}.after\:top-full:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);top:100%}.after\:bottom-full:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);bottom:100%}.after\:left-0:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);left:0}.after\:h-\[calc\(var\(--gap\)\+1px\)\]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);height:calc(var(--gap) + 1px)}.after\:w-full:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);width:100%}.after\:rounded-full:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);border-radius:2147483647px}.after\:\[background-image\:linear-gradient\(0deg\,currentColor\,currentColor\)\]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-image:linear-gradient(currentColor,currentColor)}.after\:bg-no-repeat:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-repeat:no-repeat}.after\:transition-\[background-size\]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);transition-property:background-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.after\:duration-300:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);--tw-duration:.3s;transition-duration:.3s}.after\:content-\[\'\'\]:not(#\#):not(#\#):not(#\#):not(#\#):after{--tw-content:"";content:var(--tw-content)}.last\:border-b-0:last-child:not(#\#):not(#\#):not(#\#):not(#\#){border-bottom-style:var(--tw-border-style);border-bottom-width:0}@media (hover:hover){.hover\:border-border:hover:not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--border)}.hover\:border-transparent:hover:not(#\#):not(#\#):not(#\#):not(#\#){border-color:#0000}.hover\:bg-background-muted:hover:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background-muted)}.hover\:bg-background-subtle:hover:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background-subtle)}.hover\:font-medium:hover:not(#\#):not(#\#):not(#\#):not(#\#){--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.hover\:text-foreground:hover:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--foreground)}.hover\:text-foreground-intense:hover:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--foreground-intense)}.hover\:text-foreground-strong:hover:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--foreground-strong)}.hover\:text-primary-foreground:hover:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--primary-foreground)}.hover\:opacity-100:hover:not(#\#):not(#\#):not(#\#):not(#\#){opacity:1}:is(.\*\:hover\:z-2>*):hover:not(#\#):not(#\#):not(#\#):not(#\#){z-index:2}.hover\:not-data-checked\:not-data-disabled\:not-data-invalid\:border-border-emphasis:hover:not([data-checked]):not([data-disabled]):not([data-invalid]):not(#\#):not(#\#):not(#\#):not(#\#),.hover\:not-data-checked\:not-data-indeterminate\:not-data-disabled\:not-data-invalid\:border-border-emphasis:hover:not([data-checked]):not([data-indeterminate]):not([data-disabled]):not([data-invalid]):not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--border-emphasis)}.hover\:not-focus\:not-focus-visible\:not-has-focus\:not-has-focus-visible\:not-data-popup-open\:not-has-data-popup-open\:not-data-pressed\:not-has-data-pressed\:not-data-invalid\:not-has-data-invalid\:border-border-emphasis:hover:not(:focus):not(:focus-visible):not(:has(:focus)):not(:has(:focus-visible)):not([data-popup-open]):not(:has([data-popup-open])):not([data-pressed]):not(:has([data-pressed])):not([data-invalid]):not(:has([data-invalid])):not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--border-emphasis)}.hover\:not-focus\:not-focus-visible\:not-has-focus\:not-has-focus-visible\:not-data-popup-open\:not-has-data-popup-open\:not-data-pressed\:not-has-data-pressed\:not-data-invalid\:not-has-data-invalid\:border-border-strong:hover:not(:focus):not(:focus-visible):not(:has(:focus)):not(:has(:focus-visible)):not([data-popup-open]):not(:has([data-popup-open])):not([data-pressed]):not(:has([data-pressed])):not([data-invalid]):not(:has([data-invalid])):not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--border-strong)}.hover\:before\:border-border:hover:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:var(--border)}.hover\:before\:border-border-strong:hover:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:var(--border-strong)}.hover\:before\:border-white\/15:hover:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){.hover\:before\:border-white\/15:hover:not(#\#):not(#\#):not(#\#):not(#\#):before{border-color:color-mix(in oklab, var(--color-white) 15%, transparent)}}.hover\:before\:bg-background-muted:hover:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--background-muted)}.hover\:before\:bg-background-subtle:hover:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--background-subtle)}.hover\:before\:bg-primary:hover:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--primary)}.hover\:before\:bg-transparent:hover:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:#0000}.hover\:before\:bg-white\/15:hover:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){.hover\:before\:bg-white\/15:hover:not(#\#):not(#\#):not(#\#):not(#\#):before{background-color:color-mix(in oklab, var(--color-white) 15%, transparent)}}.hover\:before\:opacity-100:hover:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);opacity:1}}.focus\:bg-\(--selection-color\):focus:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--selection-color)}.focus\:placeholder\:text-transparent:focus:not(#\#):not(#\#):not(#\#):not(#\#)::placeholder{color:#0000}.focus-visible\:border-transparent:focus-visible:not(#\#):not(#\#):not(#\#):not(#\#){border-color:#0000}.focus-visible\:border-transparent\!:focus-visible:not(#\#){border-color:#0000!important}.focus-visible\:bg-background:focus-visible:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background)}.focus-visible\:text-foreground-intense:focus-visible:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--foreground-intense)}.focus-visible\:ring-2:focus-visible:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-3:focus-visible:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-ring:focus-visible:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-color:var(--focus-ring)}.focus-visible\:ring-ring-input:focus-visible:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-color:var(--focus-ring-input)}.focus-visible\:outline-2:focus-visible:not(#\#):not(#\#):not(#\#):not(#\#){outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:outline-3:focus-visible:not(#\#):not(#\#):not(#\#):not(#\#){outline-style:var(--tw-outline-style);outline-width:3px}.focus-visible\:outline-none:focus-visible:not(#\#):not(#\#):not(#\#):not(#\#){--tw-outline-style:none;outline-style:none}:is(.\*\:focus-visible\:z-2>*):focus-visible:not(#\#):not(#\#):not(#\#):not(#\#){z-index:2}.focus-visible\:before\:bg-background-muted:focus-visible:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--background-muted)}.active\:translate-y-px:active:not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-y:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.active\:scale-\[0\.97\]:active:not(#\#):not(#\#):not(#\#):not(#\#){scale:.97}.active\:scale-\[0\.98\]:active:not(#\#):not(#\#):not(#\#):not(#\#){scale:.98}.active\:duration-100:active:not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.1s;transition-duration:.1s}.active\:duration-\[300ms\,100ms\,100ms\]:active:not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.3s,.1s,.1s;transition-duration:.3s,.1s,.1s}.active\:ease-\[ease-out\,ease-in-out\,ease-in-out\]:active:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ease:ease-out,ease-in-out,ease-in-out;transition-timing-function:ease-out,ease-in-out,ease-in-out}.active\:ease-in-out:active:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}:is(.\*\:active\:z-2>*):active:not(#\#):not(#\#):not(#\#):not(#\#){z-index:2}.not-data-popup-open\:active\:translate-y-px:not([data-popup-open]):active:not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-y:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.not-data-popup-open\:active\:scale-\[0\.97\]:not([data-popup-open]):active:not(#\#):not(#\#):not(#\#):not(#\#){scale:.97}.not-data-popup-open\:active\:duration-100:not([data-popup-open]):active:not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.1s;transition-duration:.1s}.not-data-popup-open\:active\:ease-in-out:not([data-popup-open]):active:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.disabled\:pointer-events-none:disabled:not(#\#):not(#\#):not(#\#):not(#\#){pointer-events:none}.disabled\:cursor-not-allowed:disabled:not(#\#):not(#\#):not(#\#):not(#\#){cursor:not-allowed}.disabled\:opacity-disabled:disabled:not(#\#):not(#\#):not(#\#):not(#\#){opacity:var(--opacity-disabled)}:where([aria-orientation=vertical]):not(#\#):not(#\#):not(#\#):not(#\#) .in-aria-\[orientation\=vertical\]\:rounded-md{border-radius:var(--radius-md)}:where([aria-orientation=vertical]):not(#\#):not(#\#):not(#\#):not(#\#) .in-aria-\[orientation\=vertical\]\:rounded-sm{border-radius:var(--radius-sm)}:where([aria-orientation=vertical]):not(#\#):not(#\#):not(#\#):not(#\#) .in-aria-\[orientation\=vertical\]\:rounded-xs{border-radius:var(--radius-xs)}:where([aria-orientation=vertical]):not(#\#):not(#\#):not(#\#):not(#\#) .in-aria-\[orientation\=vertical\]\:px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}:where([aria-orientation=vertical]):not(#\#):not(#\#):not(#\#):not(#\#) .in-aria-\[orientation\=vertical\]\:px-3{padding-inline:calc(var(--spacing) * 3)}:where([aria-orientation=vertical]):not(#\#):not(#\#):not(#\#):not(#\#) .in-aria-\[orientation\=vertical\]\:px-3\.5{padding-inline:calc(var(--spacing) * 3.5)}:where([aria-orientation=vertical]):not(#\#):not(#\#):not(#\#):not(#\#) .in-aria-\[orientation\=vertical\]\:py-1\.5{padding-block:calc(var(--spacing) * 1.5)}:where([aria-orientation=vertical]):not(#\#):not(#\#):not(#\#):not(#\#) .in-aria-\[orientation\=vertical\]\:py-2{padding-block:calc(var(--spacing) * 2)}:where([aria-orientation=vertical]):not(#\#):not(#\#):not(#\#):not(#\#) .in-aria-\[orientation\=vertical\]\:py-2\.5{padding-block:calc(var(--spacing) * 2.5)}:where([data-slot=tooltip-content]):not(#\#):not(#\#):not(#\#):not(#\#) .in-data-\[slot\=tooltip-content\]\:border-white\/25{border-color:#ffffff40}@supports (color:color-mix(in lab, red, red)){:where([data-slot=tooltip-content]):not(#\#):not(#\#):not(#\#):not(#\#) .in-data-\[slot\=tooltip-content\]\:border-white\/25{border-color:color-mix(in oklab, var(--color-white) 25%, transparent)}}:where([data-slot=tooltip-content]):not(#\#):not(#\#):not(#\#):not(#\#) .in-data-\[slot\=tooltip-content\]\:bg-background-inverse{background-color:var(--background-inverse)}:where([data-slot=tooltip-content]):not(#\#):not(#\#):not(#\#):not(#\#) .in-data-\[slot\=tooltip-content\]\:text-foreground-inverse\/75{color:var(--foreground-inverse)}@supports (color:color-mix(in lab, red, red)){:where([data-slot=tooltip-content]):not(#\#):not(#\#):not(#\#):not(#\#) .in-data-\[slot\=tooltip-content\]\:text-foreground-inverse\/75{color:color-mix(in oklab, var(--foreground-inverse) 75%, transparent)}}.has-focus\:border-transparent:has(:focus):not(#\#):not(#\#):not(#\#):not(#\#){border-color:#0000}.has-focus\:bg-background:has(:focus):not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background)}.has-focus\:ring-\[3px\]:has(:focus):not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.has-focus\:ring-ring-input:has(:focus):not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-color:var(--focus-ring-input)}.has-focus-visible\:ring-3:has(:focus-visible):not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.has-focus-visible\:ring-ring:has(:focus-visible):not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-color:var(--focus-ring)}.has-focus-visible\:outline-3:has(:focus-visible):not(#\#):not(#\#):not(#\#):not(#\#){outline-style:var(--tw-outline-style);outline-width:3px}.has-data-empty\:py-0:has([data-empty]):not(#\#):not(#\#):not(#\#):not(#\#){padding-block:0}.has-data-invalid\:border-error:has([data-invalid]):not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--error)}.has-data-invalid\:bg-error-subtle:has([data-invalid]):not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--error-subtle)}.has-data-invalid\:has-focus\:border-transparent:has([data-invalid]):has(:focus):not(#\#):not(#\#):not(#\#):not(#\#){border-color:#0000}.has-data-invalid\:has-focus\:bg-background:has([data-invalid]):has(:focus):not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background)}.has-data-invalid\:has-focus\:ring-ring-error:has([data-invalid]):has(:focus):not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-color:var(--focus-ring-error)}.has-data-popup-open\:border-transparent:has([data-popup-open]):not(#\#):not(#\#):not(#\#):not(#\#){border-color:#0000}.has-data-popup-open\:bg-background:has([data-popup-open]):not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background)}.has-data-popup-open\:ring-3:has([data-popup-open]):not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.has-data-popup-open\:ring-ring-input:has([data-popup-open]):not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-color:var(--focus-ring-input)}.has-data-invalid\:has-data-popup-open\:border-transparent:has([data-invalid]):has([data-popup-open]):not(#\#):not(#\#):not(#\#):not(#\#){border-color:#0000}.has-data-invalid\:has-data-popup-open\:bg-background:has([data-invalid]):has([data-popup-open]):not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background)}.has-data-invalid\:has-data-popup-open\:ring-ring-error:has([data-invalid]):has([data-popup-open]):not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-color:var(--focus-ring-error)}.has-data-pressed\:border-transparent:has([data-pressed]):not(#\#):not(#\#):not(#\#):not(#\#){border-color:#0000}.has-data-pressed\:bg-background:has([data-pressed]):not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background)}.has-data-pressed\:ring-3:has([data-pressed]):not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.has-data-pressed\:ring-ring-input:has([data-pressed]):not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-color:var(--focus-ring-input)}.has-data-invalid\:has-data-pressed\:border-transparent:has([data-invalid]):has([data-pressed]):not(#\#):not(#\#):not(#\#):not(#\#){border-color:#0000}.has-data-invalid\:has-data-pressed\:bg-background:has([data-invalid]):has([data-pressed]):not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background)}.has-data-invalid\:has-data-pressed\:ring-ring-error:has([data-invalid]):has([data-pressed]):not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-color:var(--focus-ring-error)}.has-data-\[icon\=end\]\:pe-1:has([data-icon=end]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-end:var(--spacing)}.has-data-\[icon\=end\]\:pe-1\.5:has([data-icon=end]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--spacing) * 1.5)}.has-data-\[icon\=end\]\:pe-1\.25:has([data-icon=end]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--spacing) * 1.25)}.has-data-\[icon\=end\]\:pe-1\.75:has([data-icon=end]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--spacing) * 1.75)}.has-data-\[icon\=end\]\:pe-2:has([data-icon=end]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--spacing) * 2)}.has-data-\[icon\=end\]\:pe-2\.5:has([data-icon=end]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--spacing) * 2.5)}.has-data-\[icon\=end\]\:pe-2\.25:has([data-icon=end]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--spacing) * 2.25)}.has-data-\[icon\=end\]\:pe-3:has([data-icon=end]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--spacing) * 3)}.has-data-\[icon\=end\]\:pe-3\.5:has([data-icon=end]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--spacing) * 3.5)}.has-data-\[icon\=end\]\:pe-4:has([data-icon=end]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--spacing) * 4)}.has-data-\[icon\=end\]\:pe-4\.5:has([data-icon=end]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--spacing) * 4.5)}:where([aria-orientation=vertical]):not(#\#):not(#\#):not(#\#):not(#\#) .in-aria-\[orientation\=vertical\]\:has-data-\[icon\=end\]\:pe-1\.5:has([data-icon=end]){padding-inline-end:calc(var(--spacing) * 1.5)}:where([aria-orientation=vertical]):not(#\#):not(#\#):not(#\#):not(#\#) .in-aria-\[orientation\=vertical\]\:has-data-\[icon\=end\]\:pe-2:has([data-icon=end]){padding-inline-end:calc(var(--spacing) * 2)}:where([aria-orientation=vertical]):not(#\#):not(#\#):not(#\#):not(#\#) .in-aria-\[orientation\=vertical\]\:has-data-\[icon\=end\]\:pe-2\.5:has([data-icon=end]){padding-inline-end:calc(var(--spacing) * 2.5)}.has-data-\[icon\=start\]\:ps-1:has([data-icon=start]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:var(--spacing)}.has-data-\[icon\=start\]\:ps-1\.5:has([data-icon=start]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 1.5)}.has-data-\[icon\=start\]\:ps-1\.25:has([data-icon=start]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 1.25)}.has-data-\[icon\=start\]\:ps-1\.75:has([data-icon=start]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 1.75)}.has-data-\[icon\=start\]\:ps-2:has([data-icon=start]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 2)}.has-data-\[icon\=start\]\:ps-2\.5:has([data-icon=start]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 2.5)}.has-data-\[icon\=start\]\:ps-2\.25:has([data-icon=start]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 2.25)}.has-data-\[icon\=start\]\:ps-3:has([data-icon=start]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 3)}.has-data-\[icon\=start\]\:ps-3\.5:has([data-icon=start]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 3.5)}.has-data-\[icon\=start\]\:ps-4:has([data-icon=start]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 4)}.has-data-\[icon\=start\]\:ps-4\.5:has([data-icon=start]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 4.5)}:where([aria-orientation=vertical]):not(#\#):not(#\#):not(#\#):not(#\#) .in-aria-\[orientation\=vertical\]\:has-data-\[icon\=start\]\:ps-1\.5:has([data-icon=start]){padding-inline-start:calc(var(--spacing) * 1.5)}:where([aria-orientation=vertical]):not(#\#):not(#\#):not(#\#):not(#\#) .in-aria-\[orientation\=vertical\]\:has-data-\[icon\=start\]\:ps-2:has([data-icon=start]){padding-inline-start:calc(var(--spacing) * 2)}:where([aria-orientation=vertical]):not(#\#):not(#\#):not(#\#):not(#\#) .in-aria-\[orientation\=vertical\]\:has-data-\[icon\=start\]\:ps-2\.5:has([data-icon=start]){padding-inline-start:calc(var(--spacing) * 2.5)}.has-data-\[slot\=combobox-chip\]\:h-auto:has([data-slot=combobox-chip]):not(#\#):not(#\#):not(#\#):not(#\#){height:auto}.has-data-\[slot\=combobox-chip\]\:min-h-8:has([data-slot=combobox-chip]):not(#\#):not(#\#):not(#\#):not(#\#){min-height:calc(var(--spacing) * 8)}.has-data-\[slot\=combobox-chip\]\:min-h-10:has([data-slot=combobox-chip]):not(#\#):not(#\#):not(#\#):not(#\#){min-height:calc(var(--spacing) * 10)}.has-data-\[slot\=combobox-chip\]\:min-h-12:has([data-slot=combobox-chip]):not(#\#):not(#\#):not(#\#):not(#\#){min-height:calc(var(--spacing) * 12)}.has-data-\[slot\=combobox-chip\]\:flex-wrap:has([data-slot=combobox-chip]):not(#\#):not(#\#):not(#\#):not(#\#){flex-wrap:wrap}.has-data-\[slot\=combobox-chip\]\:items-start:has([data-slot=combobox-chip]):not(#\#):not(#\#):not(#\#):not(#\#){align-items:flex-start}.has-data-\[slot\=combobox-chip\]\:p-1:has([data-slot=combobox-chip]):not(#\#):not(#\#):not(#\#):not(#\#){padding:var(--spacing)}.has-data-\[slot\=toast-actions\]\:not-has-data-\[slot\=toast-description\]\:\[grid-template-areas\:\'icon_title_close\'_\'icon_actions_actions\'\]:has([data-slot=toast-actions]):not(:has([data-slot=toast-description])):not(#\#):not(#\#):not(#\#):not(#\#){grid-template-areas:"icon title close""icon actions actions"}.has-data-\[slot\=toast-description\]\:\[grid-template-areas\:\'icon_title_close\'_\'icon_description_close\'\]:has([data-slot=toast-description]):not(#\#):not(#\#):not(#\#):not(#\#){grid-template-areas:"icon title close""icon description close"}.has-data-\[slot\=toast-actions\]\:has-data-\[slot\=toast-description\]\:\[grid-template-areas\:\'icon_title_close\'_\'icon_description_close\'_\'icon_actions_actions\'\]:has([data-slot=toast-actions]):has([data-slot=toast-description]):not(#\#):not(#\#):not(#\#):not(#\#){grid-template-areas:"icon title close""icon description close""icon actions actions"}.has-data-\[slot\=toast-icon\]\:gap-x-3:has([data-slot=toast-icon]):not(#\#):not(#\#):not(#\#):not(#\#){column-gap:calc(var(--spacing) * 3)}.has-\[\[data-slot\=field-error\]\:not\(\[data-starting-style\]\)\:not\(\[data-ending-style\]\)\]\:grid-rows-\[1fr\]:has([data-slot=field-error]:not([data-starting-style]):not([data-ending-style])):not(#\#):not(#\#):not(#\#):not(#\#){grid-template-rows:1fr}.has-\[input\:disabled\]\:cursor-not-allowed:has(:is(input:disabled)):not(#\#):not(#\#):not(#\#):not(#\#){cursor:not-allowed}.has-\[input\:disabled\]\:border-dashed:has(:is(input:disabled)):not(#\#):not(#\#):not(#\#):not(#\#){--tw-border-style:dashed;border-style:dashed}.has-\[input\:disabled\]\:border-border-strong\!:has(:is(input:disabled)):not(#\#){border-color:var(--border-strong)!important}.has-\[input\:disabled\]\:bg-background-subtle\!:has(:is(input:disabled)):not(#\#){background-color:var(--background-subtle)!important}.has-\[input\:disabled\]\:opacity-disabled:has(:is(input:disabled)):not(#\#):not(#\#):not(#\#):not(#\#){opacity:var(--opacity-disabled)}.has-\[svg\]\:text-\[1em\]:has(:is(svg)):not(#\#):not(#\#):not(#\#):not(#\#){font-size:1em}.has-\[textarea\:disabled\]\:cursor-not-allowed:has(:is(textarea:disabled)):not(#\#):not(#\#):not(#\#):not(#\#){cursor:not-allowed}.has-\[textarea\:disabled\]\:border-dashed:has(:is(textarea:disabled)):not(#\#):not(#\#):not(#\#):not(#\#){--tw-border-style:dashed;border-style:dashed}.has-\[textarea\:disabled\]\:border-border-strong\!:has(:is(textarea:disabled)):not(#\#){border-color:var(--border-strong)!important}.has-\[textarea\:disabled\]\:bg-background-subtle\!:has(:is(textarea:disabled)):not(#\#){background-color:var(--background-subtle)!important}.has-\[textarea\:disabled\]\:opacity-disabled:has(:is(textarea:disabled)):not(#\#):not(#\#):not(#\#):not(#\#){opacity:var(--opacity-disabled)}.has-\[\>svg\]\:h-lh:has(>svg):not(#\#):not(#\#):not(#\#):not(#\#){height:1lh}.data-active\:pointer-events-none[data-active]:not(#\#):not(#\#):not(#\#):not(#\#){pointer-events:none}.data-active\:transform-\[scale\(calc\(0\.95\+0\.03\*var\(--drawer-swipe-progress\)\)\)\][data-active]:not(#\#):not(#\#):not(#\#):not(#\#){transform:scale(calc(.95 + .03 * var(--drawer-swipe-progress)))}.data-active\:rounded-2xl[data-active]:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:var(--radius-2xl)}.data-active\:border[data-active]:not(#\#):not(#\#):not(#\#):not(#\#){border-style:var(--tw-border-style);border-width:var(--border-width)}.data-active\:bg-background-strong[data-active]:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background-strong)}.data-active\:text-black[data-active]:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--color-black)}.data-active\:text-foreground-intense[data-active]:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--foreground-intense)}.data-active\:before\:border-border[data-active]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:var(--border)}.data-active\:before\:border-border-strong[data-active]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:var(--border-strong)}.data-active\:before\:border-white\/15[data-active]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){.data-active\:before\:border-white\/15[data-active]:not(#\#):not(#\#):not(#\#):not(#\#):before{border-color:color-mix(in oklab, var(--color-white) 15%, transparent)}}.data-active\:before\:bg-background-muted[data-active]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--background-muted)}.data-active\:before\:bg-background-subtle[data-active]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--background-subtle)}.data-active\:before\:bg-white\/15[data-active]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){.data-active\:before\:bg-white\/15[data-active]:not(#\#):not(#\#):not(#\#):not(#\#):before{background-color:color-mix(in oklab, var(--color-white) 15%, transparent)}}.data-checked\:border-transparent[data-checked]:not(#\#):not(#\#):not(#\#):not(#\#){border-color:#0000}.data-checked\:bg-primary[data-checked]:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--primary)}.data-checked\:bg-primary-foreground[data-checked]:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--primary-foreground)}.data-checked\:outline-ring-primary[data-checked]:not(#\#):not(#\#):not(#\#):not(#\#){outline-color:var(--focus-ring-primary)}.data-disabled\:pointer-events-none[data-disabled]:not(#\#):not(#\#):not(#\#):not(#\#){pointer-events:none}.data-disabled\:cursor-default[data-disabled]:not(#\#):not(#\#):not(#\#):not(#\#){cursor:default}.data-disabled\:cursor-not-allowed[data-disabled]:not(#\#):not(#\#):not(#\#):not(#\#){cursor:not-allowed}.data-disabled\:border-dashed[data-disabled]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-border-style:dashed;border-style:dashed}.data-disabled\:border-border-strong\![data-disabled]:not(#\#){border-color:var(--border-strong)!important}.data-disabled\:bg-background-muted[data-disabled]:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background-muted)}.data-disabled\:bg-background-subtle\![data-disabled]:not(#\#){background-color:var(--background-subtle)!important}.data-disabled\:opacity-disabled[data-disabled]:not(#\#):not(#\#):not(#\#):not(#\#){opacity:var(--opacity-disabled)}.data-disabled\:not-data-checked\:border-dashed[data-disabled]:not([data-checked]):not(#\#):not(#\#):not(#\#):not(#\#){--tw-border-style:dashed;border-style:dashed}.data-disabled\:not-data-checked\:border-border-strong[data-disabled]:not([data-checked]):not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--border-strong)}.data-disabled\:not-data-checked\:bg-background-subtle[data-disabled]:not([data-checked]):not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background-subtle)}.data-disabled\:not-data-checked\:not-data-indeterminate\:border-dashed[data-disabled]:not([data-checked]):not([data-indeterminate]):not(#\#):not(#\#):not(#\#):not(#\#){--tw-border-style:dashed;border-style:dashed}.data-disabled\:not-data-checked\:not-data-indeterminate\:bg-background-subtle[data-disabled]:not([data-checked]):not([data-indeterminate]):not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background-subtle)}.data-disabled\:data-checked\:opacity-disabled[data-disabled][data-checked]:not(#\#):not(#\#):not(#\#):not(#\#){opacity:var(--opacity-disabled)}.data-ending-style\:h-0[data-ending-style]:not(#\#):not(#\#):not(#\#):not(#\#){height:0}.data-ending-style\:\[transform\:translateX\(calc\(-100\%-0\.5rem\)\)\][data-ending-style]:not(#\#):not(#\#):not(#\#):not(#\#){transform:translate(calc(-100% - .5rem))}.data-ending-style\:\[transform\:translateX\(calc\(100\%\+0\.5rem\)\)\][data-ending-style]:not(#\#):not(#\#):not(#\#):not(#\#){transform:translate(calc(100% + .5rem))}.data-ending-style\:\[transform\:translateY\(calc\(-100\%-0\.5rem\)\)\][data-ending-style]:not(#\#):not(#\#):not(#\#):not(#\#){transform:translateY(calc(-100% - .5rem))}.data-ending-style\:\[transform\:translateY\(calc\(100\%\+0\.5rem\)\)\][data-ending-style]:not(#\#):not(#\#):not(#\#):not(#\#){transform:translateY(calc(100% + .5rem))}.data-ending-style\:opacity-0[data-ending-style]:not(#\#):not(#\#):not(#\#):not(#\#){opacity:0}.data-expanded\:h-\[var\(--toast-height\)\][data-expanded]:not(#\#):not(#\#):not(#\#):not(#\#){height:var(--toast-height)}.data-expanded\:\[transform\:translateX\(var\(--toast-swipe-movement-x\)\)_translateY\(calc\(var\(--offset-y\)\)\)\][data-expanded]:not(#\#):not(#\#):not(#\#):not(#\#){transform:translateX(var(--toast-swipe-movement-x)) translateY(calc(var(--offset-y)))}.data-expanded\:border-white\/15[data-expanded]:not(#\#):not(#\#):not(#\#):not(#\#){border-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){.data-expanded\:border-white\/15[data-expanded]:not(#\#):not(#\#):not(#\#):not(#\#){border-color:color-mix(in oklab, var(--color-white) 15%, transparent)}}.data-expanded\:bg-white\/10[data-expanded]:not(#\#):not(#\#):not(#\#):not(#\#){background-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.data-expanded\:bg-white\/10[data-expanded]:not(#\#):not(#\#):not(#\#):not(#\#){background-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.data-expanded\:p-1\.5[data-expanded]:not(#\#):not(#\#):not(#\#):not(#\#){padding:calc(var(--spacing) * 1.5)}.data-expanded\:shadow-none[data-expanded]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-expanded\:backdrop-blur-sm[data-expanded]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.data-expanded\:before\:bg-background[data-expanded]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--background)}.data-highlighted\:not-data-disabled\:text-foreground-intense[data-highlighted]:not([data-disabled]):not(#\#):not(#\#):not(#\#):not(#\#){color:var(--foreground-intense)}.data-highlighted\:not-data-disabled\:before\:bg-background-muted[data-highlighted]:not([data-disabled]):not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--background-muted)}.data-highlighted\:not-data-disabled\:before\:opacity-100[data-highlighted]:not([data-disabled]):not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);opacity:1}.data-indeterminate\:border-transparent[data-indeterminate]:not(#\#):not(#\#):not(#\#):not(#\#){border-color:#0000}.data-indeterminate\:bg-primary[data-indeterminate]:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--primary)}.data-indeterminate\:outline-ring-primary[data-indeterminate]:not(#\#):not(#\#):not(#\#):not(#\#){outline-color:var(--focus-ring-primary)}.data-disabled\:data-indeterminate\:opacity-disabled[data-disabled][data-indeterminate]:not(#\#):not(#\#):not(#\#):not(#\#){opacity:var(--opacity-disabled)}.data-invalid\:border-error[data-invalid]:not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--error)}.data-invalid\:bg-error-subtle[data-invalid]:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--error-subtle)}.data-invalid\:outline-ring-error[data-invalid]:not(#\#):not(#\#):not(#\#):not(#\#){outline-color:var(--focus-ring-error)}.data-invalid\:not-data-checked\:bg-error-subtle[data-invalid]:not([data-checked]):not(#\#):not(#\#):not(#\#):not(#\#),.data-invalid\:not-data-checked\:not-data-indeterminate\:bg-error-subtle[data-invalid]:not([data-checked]):not([data-indeterminate]):not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--error-subtle)}.data-invalid\:focus-visible\:border-transparent[data-invalid]:focus-visible:not(#\#):not(#\#):not(#\#):not(#\#){border-color:#0000}.data-invalid\:focus-visible\:bg-background[data-invalid]:focus-visible:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background)}.data-invalid\:focus-visible\:ring-ring-error[data-invalid]:focus-visible:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-color:var(--focus-ring-error)}.data-invalid\:has-focus\:border-transparent[data-invalid]:has(:focus):not(#\#):not(#\#):not(#\#):not(#\#){border-color:#0000}.data-invalid\:has-focus\:bg-background[data-invalid]:has(:focus):not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background)}.data-invalid\:has-focus\:ring-ring-error[data-invalid]:has(:focus):not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-color:var(--focus-ring-error)}.data-invalid\:has-data-popup-open\:border-transparent[data-invalid]:has([data-popup-open]):not(#\#):not(#\#):not(#\#):not(#\#){border-color:#0000}.data-invalid\:has-data-popup-open\:bg-background[data-invalid]:has([data-popup-open]):not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background)}.data-invalid\:has-data-popup-open\:ring-ring-error[data-invalid]:has([data-popup-open]):not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-color:var(--focus-ring-error)}.data-invalid\:has-data-pressed\:border-transparent[data-invalid]:has([data-pressed]):not(#\#):not(#\#):not(#\#):not(#\#){border-color:#0000}.data-invalid\:has-data-pressed\:bg-background[data-invalid]:has([data-pressed]):not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background)}.data-invalid\:has-data-pressed\:ring-ring-error[data-invalid]:has([data-pressed]):not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-color:var(--focus-ring-error)}.data-limited\:opacity-0[data-limited]:not(#\#):not(#\#):not(#\#):not(#\#){opacity:0}.data-nested\:border-border-overlay[data-nested]:not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--border-overlay)}.data-nested\:bg-background[data-nested]:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background)}.data-nested\:p-0[data-nested]:not(#\#):not(#\#):not(#\#):not(#\#){padding:0}.data-nested\:shadow-2xl[data-nested]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-shadow:0 24px 32px -12px var(--tw-shadow-color,var(--shadow-color));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-nested\:backdrop-blur-none[data-nested]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-backdrop-blur: ;-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.data-nested-dialog-open\:pointer-events-none[data-nested-dialog-open]:not(#\#):not(#\#):not(#\#):not(#\#){pointer-events:none}.data-nested-dialog-open\:scale-95[data-nested-dialog-open]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-nested-dialog-open\:opacity-0[data-nested-dialog-open]:not(#\#):not(#\#):not(#\#):not(#\#){opacity:0}.data-nested-drawer-open\:\[height\:var\(--drawer-frontmost-height\,auto\)\][data-nested-drawer-open]:not(#\#):not(#\#):not(#\#):not(#\#){height:var(--drawer-frontmost-height,auto)}.data-nested-drawer-open\:overflow-hidden[data-nested-drawer-open]:not(#\#):not(#\#):not(#\#):not(#\#){overflow:hidden}.data-nested-drawer-swiping\:duration-0[data-nested-drawer-swiping]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:0s;transition-duration:0s}.data-open\:border-border[data-open]:not(#\#):not(#\#):not(#\#):not(#\#){border-color:var(--border)}.data-open\:border-transparent[data-open]:not(#\#):not(#\#):not(#\#):not(#\#){border-color:#0000}.data-open\:bg-background-muted[data-open]:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background-muted)}.data-placeholder\:text-foreground-subtle[data-placeholder]:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--foreground-subtle)}.data-popup-open\:rotate-180[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#){rotate:180deg}.data-popup-open\:border-transparent[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#){border-color:#0000}.data-popup-open\:bg-background[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background)}.data-popup-open\:text-foreground-intense[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--foreground-intense)}.data-popup-open\:text-primary-foreground[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--primary-foreground)}.data-popup-open\:ring-3[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-popup-open\:ring-ring-input[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-color:var(--focus-ring-input)}.data-popup-open\:before\:border-border[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:var(--border)}.data-popup-open\:before\:border-border-strong[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:var(--border-strong)}.data-popup-open\:before\:border-white\/15[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){.data-popup-open\:before\:border-white\/15[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#):before{border-color:color-mix(in oklab, var(--color-white) 15%, transparent)}}.data-popup-open\:before\:bg-background-muted[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--background-muted)}.data-popup-open\:before\:bg-background-subtle[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--background-subtle)}.data-popup-open\:before\:bg-primary[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--primary)}.data-popup-open\:before\:bg-transparent[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:#0000}.data-popup-open\:before\:bg-white\/15[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){.data-popup-open\:before\:bg-white\/15[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#):before{background-color:color-mix(in oklab, var(--color-white) 15%, transparent)}}.data-popup-open\:before\:opacity-100[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);opacity:1}.data-invalid\:data-popup-open\:border-transparent[data-invalid][data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#){border-color:#0000}.data-invalid\:data-popup-open\:bg-background[data-invalid][data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background)}.data-invalid\:data-popup-open\:ring-ring-error[data-invalid][data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-color:var(--focus-ring-error)}.data-pressed\:border-transparent[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#){border-color:#0000}.data-pressed\:bg-background[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background)}.data-pressed\:text-foreground-intense[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--foreground-intense)}.data-pressed\:text-primary-foreground[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--primary-foreground)}.data-pressed\:ring-3[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-pressed\:ring-ring-input[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-color:var(--focus-ring-input)}.data-pressed\:before\:border-border[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:var(--border)}.data-pressed\:before\:border-border-strong[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:var(--border-strong)}.data-pressed\:before\:border-white\/15[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){.data-pressed\:before\:border-white\/15[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#):before{border-color:color-mix(in oklab, var(--color-white) 15%, transparent)}}.data-pressed\:before\:bg-background-muted[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--background-muted)}.data-pressed\:before\:bg-background-subtle[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--background-subtle)}.data-pressed\:before\:bg-primary[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--primary)}.data-pressed\:before\:bg-transparent[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:#0000}.data-pressed\:before\:bg-white\/15[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){.data-pressed\:before\:bg-white\/15[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#):before{background-color:color-mix(in oklab, var(--color-white) 15%, transparent)}}.data-pressed\:before\:opacity-100[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);opacity:1}.data-invalid\:data-pressed\:border-transparent[data-invalid][data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#){border-color:#0000}.data-invalid\:data-pressed\:bg-background[data-invalid][data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background)}.data-invalid\:data-pressed\:ring-ring-error[data-invalid][data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-color:var(--focus-ring-error)}.data-starting-style\:h-0[data-starting-style]:not(#\#):not(#\#):not(#\#):not(#\#){height:0}.data-starting-style\:\[transform\:translateX\(calc\(-100\%-0\.5rem\)\)\][data-starting-style]:not(#\#):not(#\#):not(#\#):not(#\#){transform:translate(calc(-100% - .5rem))}.data-starting-style\:\[transform\:translateX\(calc\(100\%\+0\.5rem\)\)\][data-starting-style]:not(#\#):not(#\#):not(#\#):not(#\#){transform:translate(calc(100% + .5rem))}.data-starting-style\:\[transform\:translateY\(calc\(-100\%-0\.5rem\)\)\][data-starting-style]:not(#\#):not(#\#):not(#\#):not(#\#){transform:translateY(calc(-100% - .5rem))}.data-starting-style\:\[transform\:translateY\(calc\(100\%\+0\.5rem\)\)\][data-starting-style]:not(#\#):not(#\#):not(#\#):not(#\#){transform:translateY(calc(100% + .5rem))}.data-starting-style\:opacity-0[data-starting-style]:not(#\#):not(#\#):not(#\#):not(#\#){opacity:0}.data-swiping\:duration-0[data-swiping]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:0s;transition-duration:0s}.data-swiping\:select-none[data-swiping]:not(#\#):not(#\#):not(#\#):not(#\#){-webkit-user-select:none;user-select:none}.data-\[ending-style\]\:hidden[data-ending-style]:not(#\#):not(#\#):not(#\#):not(#\#){display:none}.data-\[hovering\]\:pointer-events-auto[data-hovering]:not(#\#):not(#\#):not(#\#):not(#\#){pointer-events:auto}.data-\[hovering\]\:opacity-100[data-hovering]:not(#\#):not(#\#):not(#\#):not(#\#){opacity:1}.data-\[orientation\=horizontal\]\:-inset-s-14[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){inset-inline-start:calc(var(--spacing) * -14)}.data-\[orientation\=horizontal\]\:inset-s-0[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){inset-inline-start:0}.data-\[orientation\=horizontal\]\:inset-s-4[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){inset-inline-start:calc(var(--spacing) * 4)}.data-\[orientation\=horizontal\]\:-inset-e-14[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){inset-inline-end:calc(var(--spacing) * -14)}.data-\[orientation\=horizontal\]\:inset-e-0[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){inset-inline-end:0}.data-\[orientation\=horizontal\]\:inset-e-4[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){inset-inline-end:calc(var(--spacing) * 4)}.data-\[orientation\=horizontal\]\:top-0\.5[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){top:calc(var(--spacing) * .5)}.data-\[orientation\=horizontal\]\:top-1\/2[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){top:50%}.data-\[orientation\=horizontal\]\:bottom-0[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){bottom:0}.data-\[orientation\=horizontal\]\:bottom-full[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){bottom:100%}.data-\[orientation\=horizontal\]\:left-1\/2[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){left:50%}.data-\[orientation\=horizontal\]\:mx-\[calc\(var\(--rating-size\)\/-6\)\][data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline:calc(var(--rating-size) / -6)}.data-\[orientation\=horizontal\]\:my-0\.5[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){margin-block:calc(var(--spacing) * .5)}.data-\[orientation\=horizontal\]\:mb-1[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){margin-bottom:var(--spacing)}.data-\[orientation\=horizontal\]\:h-\(--border-width\)[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){height:var(--border-width)}.data-\[orientation\=horizontal\]\:h-0\.5[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){height:calc(var(--spacing) * .5)}.data-\[orientation\=horizontal\]\:h-1\.5[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){height:calc(var(--spacing) * 1.5)}.data-\[orientation\=horizontal\]\:h-1\.25[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){height:calc(var(--spacing) * 1.25)}.data-\[orientation\=horizontal\]\:h-5[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){height:calc(var(--spacing) * 5)}.data-\[orientation\=horizontal\]\:h-\[calc\(100\%-0\.25rem\)\][data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){height:calc(100% - .25rem)}.data-\[orientation\=horizontal\]\:h-full[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){height:100%}.data-\[orientation\=horizontal\]\:w-\(--active-tab-width\)[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){width:var(--active-tab-width)}.data-\[orientation\=horizontal\]\:w-full[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){width:100%}.data-\[orientation\=horizontal\]\:origin-bottom[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){transform-origin:bottom}.data-\[orientation\=horizontal\]\:-translate-x-1\/2[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[orientation\=horizontal\]\:-translate-y-1\/2[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[orientation\=horizontal\]\:flex-col[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){flex-direction:column}.data-\[orientation\=horizontal\]\:items-center[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center}.data-\[orientation\=horizontal\]\:justify-center[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){justify-content:center}.data-\[orientation\=horizontal\]\:gap-5[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){gap:calc(var(--spacing) * 5)}.data-\[orientation\=horizontal\]\:gap-6[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){gap:calc(var(--spacing) * 6)}.data-\[orientation\=horizontal\]\:gap-7[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){gap:calc(var(--spacing) * 7)}.data-\[orientation\=horizontal\]\:rounded-lg[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:var(--radius-lg)}.data-\[orientation\=horizontal\]\:rounded-md[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:var(--radius-md)}.data-\[orientation\=horizontal\]\:rounded-sm[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:var(--radius-sm)}.data-\[orientation\=horizontal\]\:border-t[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){border-top-style:var(--tw-border-style);border-top-width:var(--border-width)}.data-\[orientation\=horizontal\]\:border-t-\[calc\(var\(--border-width\)\*3\)\][data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){border-top-style:var(--tw-border-style);border-top-width:calc(var(--border-width) * 3)}.data-\[orientation\=horizontal\]\:bg-\[linear-gradient\(to_right\,transparent\,currentColor_26\%\,currentColor_74\%\,transparent\)\][data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){background-image:linear-gradient(90deg,#0000,currentColor 26% 74%,#0000)}.data-\[orientation\=horizontal\]\:px-3[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:calc(var(--spacing) * 3)}.data-\[orientation\=horizontal\]\:px-3\.5[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:calc(var(--spacing) * 3.5)}.data-\[orientation\=horizontal\]\:px-4[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:calc(var(--spacing) * 4)}.data-\[orientation\=horizontal\]\:py-2[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){padding-block:calc(var(--spacing) * 2)}.data-\[orientation\=horizontal\]\:py-2\.5[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){padding-block:calc(var(--spacing) * 2.5)}.data-\[orientation\=horizontal\]\:py-3[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){padding-block:calc(var(--spacing) * 3)}.data-\[orientation\=horizontal\]\:text-center[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){text-align:center}.data-\[orientation\=horizontal\]\:whitespace-nowrap[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#){white-space:nowrap}.data-\[orientation\=horizontal\]\:after\:inset-x-0[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);inset-inline:0}.data-\[orientation\=horizontal\]\:after\:bottom-1[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);bottom:var(--spacing)}.data-\[orientation\=horizontal\]\:after\:bottom-1\.5[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);bottom:calc(var(--spacing) * 1.5)}.data-\[orientation\=horizontal\]\:after\:bottom-2[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);bottom:calc(var(--spacing) * 2)}.data-\[orientation\=horizontal\]\:after\:h-0\.5[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);height:calc(var(--spacing) * .5)}.data-\[orientation\=horizontal\]\:after\:bg-size-\[0_2px\][data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-size:0 2px}@media (hover:hover){.data-\[orientation\=horizontal\]\:hover\:h-2[data-orientation=horizontal]:hover:not(#\#):not(#\#):not(#\#):not(#\#){height:calc(var(--spacing) * 2)}.hover\:data-\[orientation\=horizontal\]\:after\:bg-size-\[100\%_2px\]:hover[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-size:100% 2px}}.focus-visible\:data-\[orientation\=horizontal\]\:after\:bg-size-\[100\%_2px\]:focus-visible[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-size:100% 2px}.data-\[orientation\=horizontal\]\:has-data-\[icon\=end\]\:pe-2[data-orientation=horizontal]:has([data-icon=end]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--spacing) * 2)}.data-\[orientation\=horizontal\]\:has-data-\[icon\=end\]\:pe-2\.5[data-orientation=horizontal]:has([data-icon=end]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--spacing) * 2.5)}.data-\[orientation\=horizontal\]\:has-data-\[icon\=end\]\:pe-3[data-orientation=horizontal]:has([data-icon=end]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--spacing) * 3)}.data-\[orientation\=horizontal\]\:has-data-\[icon\=start\]\:ps-2[data-orientation=horizontal]:has([data-icon=start]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 2)}.data-\[orientation\=horizontal\]\:has-data-\[icon\=start\]\:ps-2\.5[data-orientation=horizontal]:has([data-icon=start]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 2.5)}.data-\[orientation\=horizontal\]\:has-data-\[icon\=start\]\:ps-3[data-orientation=horizontal]:has([data-icon=start]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 3)}.data-active\:data-\[orientation\=horizontal\]\:after\:bg-size-\[100\%_2px\][data-active][data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#):after,.data-popup-open\:data-\[orientation\=horizontal\]\:after\:bg-size-\[100\%_2px\][data-popup-open][data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#):after,.data-pressed\:data-\[orientation\=horizontal\]\:after\:bg-size-\[100\%_2px\][data-pressed][data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-size:100% 2px}.data-\[orientation\=vertical\]\:inset-s-0\.5[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){inset-inline-start:calc(var(--spacing) * .5)}.data-\[orientation\=vertical\]\:inset-s-1\/2[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){inset-inline-start:50%}.data-\[orientation\=vertical\]\:inset-s-full[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){inset-inline-start:100%}.data-\[orientation\=vertical\]\:-top-14[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){top:calc(var(--spacing) * -14)}.data-\[orientation\=vertical\]\:top-0[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){top:0}.data-\[orientation\=vertical\]\:top-1\/2[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){top:50%}.data-\[orientation\=vertical\]\:top-4[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){top:calc(var(--spacing) * 4)}.data-\[orientation\=vertical\]\:top-\[calc\(var\(--active-tab-height\)\/4\)\][data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){top:calc(var(--active-tab-height) / 4)}.data-\[orientation\=vertical\]\:-bottom-14[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){bottom:calc(var(--spacing) * -14)}.data-\[orientation\=vertical\]\:bottom-\(--active-tab-bottom\)[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){bottom:var(--active-tab-bottom)}.data-\[orientation\=vertical\]\:bottom-0[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){bottom:0}.data-\[orientation\=vertical\]\:bottom-4[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){bottom:calc(var(--spacing) * 4)}.data-\[orientation\=vertical\]\:mx-0\.5[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline:calc(var(--spacing) * .5)}.data-\[orientation\=vertical\]\:my-\[calc\(var\(--rating-size\)\/-6\)\][data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){margin-block:calc(var(--rating-size) / -6)}.data-\[orientation\=vertical\]\:ms-1[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline-start:var(--spacing)}.data-\[orientation\=vertical\]\:h-\(--active-tab-height\)[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){height:var(--active-tab-height)}.data-\[orientation\=vertical\]\:h-5[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){height:calc(var(--spacing) * 5)}.data-\[orientation\=vertical\]\:h-40[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){height:calc(var(--spacing) * 40)}.data-\[orientation\=vertical\]\:h-\[calc\(var\(--active-tab-height\)\/2\)\][data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){height:calc(var(--active-tab-height) / 2)}.data-\[orientation\=vertical\]\:h-fit[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){height:fit-content}.data-\[orientation\=vertical\]\:h-full[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){height:100%}.data-\[orientation\=vertical\]\:min-h-40[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){min-height:calc(var(--spacing) * 40)}.data-\[orientation\=vertical\]\:w-\(--border-width\)[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){width:var(--border-width)}.data-\[orientation\=vertical\]\:w-0\.5[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * .5)}.data-\[orientation\=vertical\]\:w-1\.5[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 1.5)}.data-\[orientation\=vertical\]\:w-1\.25[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 1.25)}.data-\[orientation\=vertical\]\:w-5[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 5)}.data-\[orientation\=vertical\]\:w-auto[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){width:auto}.data-\[orientation\=vertical\]\:w-fit[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){width:fit-content}.data-\[orientation\=vertical\]\:w-full[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){width:100%}.data-\[orientation\=vertical\]\:min-w-32[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){min-width:calc(var(--spacing) * 32)}.data-\[orientation\=vertical\]\:min-w-36[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){min-width:calc(var(--spacing) * 36)}.data-\[orientation\=vertical\]\:min-w-40[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){min-width:calc(var(--spacing) * 40)}.data-\[orientation\=vertical\]\:-translate-x-1\/2[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[orientation\=vertical\]\:-translate-y-1\/2[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[orientation\=vertical\]\:translate-y-\(--active-tab-top\)[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-y:var(--active-tab-top);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[orientation\=vertical\]\:translate-y-1\/2[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-y:calc(1 / 2 * 100%);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[orientation\=vertical\]\:flex-col[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){flex-direction:column}.data-\[orientation\=vertical\]\:items-stretch[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){align-items:stretch}.data-\[orientation\=vertical\]\:justify-center[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){justify-content:center}.data-\[orientation\=vertical\]\:self-stretch[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){align-self:stretch}.data-\[orientation\=vertical\]\:rounded-md[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:var(--radius-md)}.data-\[orientation\=vertical\]\:rounded-sm[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:var(--radius-sm)}.data-\[orientation\=vertical\]\:rounded-xs[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){border-radius:var(--radius-xs)}.data-\[orientation\=vertical\]\:border-l[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){border-left-style:var(--tw-border-style);border-left-width:var(--border-width)}.data-\[orientation\=vertical\]\:border-l-\[calc\(var\(--border-width\)\*3\)\][data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){border-left-style:var(--tw-border-style);border-left-width:calc(var(--border-width) * 3)}.data-\[orientation\=vertical\]\:bg-\[linear-gradient\(to_bottom\,transparent\,currentColor_26\%\,currentColor_74\%\,transparent\)\][data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){background-image:linear-gradient(#0000,currentColor 26% 74%,#0000)}.data-\[orientation\=vertical\]\:px-2\.5[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:calc(var(--spacing) * 2.5)}.data-\[orientation\=vertical\]\:px-3[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:calc(var(--spacing) * 3)}.data-\[orientation\=vertical\]\:px-3\.5[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:calc(var(--spacing) * 3.5)}.data-\[orientation\=vertical\]\:py-1\.5[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){padding-block:calc(var(--spacing) * 1.5)}.data-\[orientation\=vertical\]\:py-2[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){padding-block:calc(var(--spacing) * 2)}.data-\[orientation\=vertical\]\:py-2\.5[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){padding-block:calc(var(--spacing) * 2.5)}.data-\[orientation\=vertical\]\:ps-2\.5[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 2.5)}.data-\[orientation\=vertical\]\:ps-3[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 3)}.data-\[orientation\=vertical\]\:ps-3\.5[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 3.5)}.data-\[orientation\=vertical\]\:ps-4[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 4)}.data-\[orientation\=vertical\]\:ps-5[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 5)}.data-\[orientation\=vertical\]\:text-start[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#){text-align:start}.data-\[orientation\=vertical\]\:after\:inset-s-0[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);inset-inline-start:0}.data-\[orientation\=vertical\]\:after\:top-\[25\%\][data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);top:25%}.data-\[orientation\=vertical\]\:after\:bottom-\[25\%\][data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);bottom:25%}.data-\[orientation\=vertical\]\:after\:w-0\.5[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);width:calc(var(--spacing) * .5)}.data-\[orientation\=vertical\]\:after\:bg-size-\[2px_0\][data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-size:2px 0}.data-\[orientation\=vertical\]\:after\:\[background-position-y\:bottom\][data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-position-y:bottom}@media (hover:hover){.data-\[orientation\=vertical\]\:hover\:w-2[data-orientation=vertical]:hover:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 2)}.hover\:data-\[orientation\=vertical\]\:after\:bg-size-\[2px_100\%\]:hover[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-size:2px 100%}.hover\:data-\[orientation\=vertical\]\:after\:\[background-position-y\:top\]:hover[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-position-y:top}}.focus-visible\:data-\[orientation\=vertical\]\:after\:bg-size-\[2px_100\%\]:focus-visible[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-size:2px 100%}.focus-visible\:data-\[orientation\=vertical\]\:after\:\[background-position-y\:top\]:focus-visible[data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-position-y:top}.data-\[orientation\=vertical\]\:has-data-\[icon\=end\]\:pe-1\.5[data-orientation=vertical]:has([data-icon=end]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--spacing) * 1.5)}.data-\[orientation\=vertical\]\:has-data-\[icon\=end\]\:pe-2[data-orientation=vertical]:has([data-icon=end]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--spacing) * 2)}.data-\[orientation\=vertical\]\:has-data-\[icon\=end\]\:pe-2\.5[data-orientation=vertical]:has([data-icon=end]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--spacing) * 2.5)}.data-\[orientation\=vertical\]\:has-data-\[icon\=end\]\:pe-3[data-orientation=vertical]:has([data-icon=end]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--spacing) * 3)}.data-\[orientation\=vertical\]\:has-data-\[icon\=end\]\:pe-4[data-orientation=vertical]:has([data-icon=end]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--spacing) * 4)}.data-\[orientation\=vertical\]\:has-data-\[icon\=start\]\:ps-1\.5[data-orientation=vertical]:has([data-icon=start]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 1.5)}.data-\[orientation\=vertical\]\:has-data-\[icon\=start\]\:ps-2[data-orientation=vertical]:has([data-icon=start]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 2)}.data-\[orientation\=vertical\]\:has-data-\[icon\=start\]\:ps-2\.5[data-orientation=vertical]:has([data-icon=start]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 2.5)}.data-\[orientation\=vertical\]\:has-data-\[icon\=start\]\:ps-3[data-orientation=vertical]:has([data-icon=start]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 3)}.data-\[orientation\=vertical\]\:has-data-\[icon\=start\]\:ps-4[data-orientation=vertical]:has([data-icon=start]):not(#\#):not(#\#):not(#\#):not(#\#){padding-inline-start:calc(var(--spacing) * 4)}.data-active\:data-\[orientation\=vertical\]\:after\:bg-size-\[2px_100\%\][data-active][data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-size:2px 100%}.data-active\:data-\[orientation\=vertical\]\:after\:\[background-position-y\:top\][data-active][data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-position-y:top}.data-popup-open\:data-\[orientation\=vertical\]\:after\:bg-size-\[2px_100\%\][data-popup-open][data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-size:2px 100%}.data-popup-open\:data-\[orientation\=vertical\]\:after\:\[background-position-y\:top\][data-popup-open][data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-position-y:top}.data-pressed\:data-\[orientation\=vertical\]\:after\:bg-size-\[2px_100\%\][data-pressed][data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-size:2px 100%}.data-pressed\:data-\[orientation\=vertical\]\:after\:\[background-position-y\:top\][data-pressed][data-orientation=vertical]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-position-y:top}.data-\[scrolling\]\:pointer-events-auto[data-scrolling]:not(#\#):not(#\#):not(#\#):not(#\#){pointer-events:auto}.data-\[scrolling\]\:opacity-100[data-scrolling]:not(#\#):not(#\#):not(#\#):not(#\#){opacity:1}.data-\[scrolling\]\:duration-0[data-scrolling]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:0s;transition-duration:0s}.data-\[side\=bottom\]\:-top-2\.25[data-side=bottom]:not(#\#):not(#\#):not(#\#):not(#\#){top:calc(var(--spacing) * -2.25)}.data-\[side\=bottom\]\:top-1[data-side=bottom]:not(#\#):not(#\#):not(#\#):not(#\#){top:var(--spacing)}.data-\[side\=inline-end\]\:-inset-s-1[data-side=inline-end]:not(#\#):not(#\#):not(#\#):not(#\#){inset-inline-start:calc(var(--spacing) * -1)}.data-\[side\=inline-end\]\:-inset-s-3\.25[data-side=inline-end]:not(#\#):not(#\#):not(#\#):not(#\#){inset-inline-start:calc(var(--spacing) * -3.25)}.data-\[side\=inline-end\]\:top-1\/2\![data-side=inline-end]:not(#\#){top:50%!important}.data-\[side\=inline-end\]\:-translate-y-1\/2[data-side=inline-end]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=inline-start\]\:-inset-e-1[data-side=inline-start]:not(#\#):not(#\#):not(#\#):not(#\#){inset-inline-end:calc(var(--spacing) * -1)}.data-\[side\=inline-start\]\:-inset-e-3\.25[data-side=inline-start]:not(#\#):not(#\#):not(#\#):not(#\#){inset-inline-end:calc(var(--spacing) * -3.25)}.data-\[side\=inline-start\]\:top-1\/2\![data-side=inline-start]:not(#\#){top:50%!important}.data-\[side\=inline-start\]\:-translate-y-1\/2[data-side=inline-start]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=left\]\:top-1\/2\![data-side=left]:not(#\#){top:50%!important}.data-\[side\=left\]\:-right-1[data-side=left]:not(#\#):not(#\#):not(#\#):not(#\#){right:calc(var(--spacing) * -1)}.data-\[side\=left\]\:-right-3\.25[data-side=left]:not(#\#):not(#\#):not(#\#):not(#\#){right:calc(var(--spacing) * -3.25)}.data-\[side\=left\]\:-translate-y-1\/2[data-side=left]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=left\]\:rotate-90[data-side=left]:not(#\#):not(#\#):not(#\#):not(#\#){rotate:90deg}.data-\[side\=right\]\:top-1\/2\![data-side=right]:not(#\#){top:50%!important}.data-\[side\=right\]\:-left-1[data-side=right]:not(#\#):not(#\#):not(#\#):not(#\#){left:calc(var(--spacing) * -1)}.data-\[side\=right\]\:-left-3\.25[data-side=right]:not(#\#):not(#\#):not(#\#):not(#\#){left:calc(var(--spacing) * -3.25)}.data-\[side\=right\]\:-translate-y-1\/2[data-side=right]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=right\]\:-rotate-90[data-side=right]:not(#\#):not(#\#):not(#\#):not(#\#){rotate:-90deg}.data-\[side\=top\]\:-bottom-2\.5[data-side=top]:not(#\#):not(#\#):not(#\#):not(#\#){bottom:calc(var(--spacing) * -2.5)}.data-\[side\=top\]\:-bottom-2\.25[data-side=top]:not(#\#):not(#\#):not(#\#):not(#\#){bottom:calc(var(--spacing) * -2.25)}.data-\[side\=top\]\:rotate-180[data-side=top]:not(#\#):not(#\#):not(#\#):not(#\#){rotate:180deg}:is(.\*\:data-\[slot\=avatar\]\:ring-\[calc\(1em\/12\)\]>*)[data-slot=avatar]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(calc(1em / 12) + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}:is(.\*\:data-\[slot\=avatar\]\:ring-background>*)[data-slot=avatar]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ring-color:var(--background)}.data-\[slot\=breadcrumb-link\]\:not-data-active\:text-foreground-muted[data-slot=breadcrumb-link]:not([data-active]):not(#\#):not(#\#):not(#\#):not(#\#){color:var(--foreground-muted)}@media (hover:hover){.data-\[slot\=breadcrumb-link\]\:hover\:text-foreground-intense[data-slot=breadcrumb-link]:hover:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--foreground-intense)}}:is(.\*\*\:data-\[slot\=combobox-input-field\]\:px-1 *)[data-slot=combobox-input-field]:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:var(--spacing)}:is(.\*\*\:data-\[slot\=meter-label\]\:col-start-1 *)[data-slot=meter-label]:not(#\#):not(#\#):not(#\#):not(#\#){grid-column-start:1}:is(.\*\*\:data-\[slot\=meter-label\]\:row-start-1 *)[data-slot=meter-label]:not(#\#):not(#\#):not(#\#):not(#\#){grid-row-start:1}:is(.\*\*\:data-\[slot\=meter-progress\]\:col-span-2 *)[data-slot=meter-progress]:not(#\#):not(#\#):not(#\#):not(#\#){grid-column:span 2/span 2}:is(.\*\*\:data-\[slot\=meter-value\]\:col-start-2 *)[data-slot=meter-value]:not(#\#):not(#\#):not(#\#):not(#\#){grid-column-start:2}:is(.\*\*\:data-\[slot\=meter-value\]\:row-start-1 *)[data-slot=meter-value]:not(#\#):not(#\#):not(#\#):not(#\#){grid-row-start:1}:is(.\*\*\:data-\[slot\=meter-value\]\:justify-self-end *)[data-slot=meter-value]:not(#\#):not(#\#):not(#\#):not(#\#){justify-self:flex-end}:is(.\*\*\:data-\[slot\=navigation-link-indicator\]\:inline-flex *)[data-slot=navigation-link-indicator]:not(#\#):not(#\#):not(#\#):not(#\#){display:inline-flex}:is(.\*\*\:data-\[slot\=navigation-link-indicator\]\:w-0 *)[data-slot=navigation-link-indicator]:not(#\#):not(#\#):not(#\#):not(#\#){width:0}:is(.\*\*\:data-\[slot\=navigation-link-indicator\]\:shrink-0 *)[data-slot=navigation-link-indicator]:not(#\#):not(#\#):not(#\#):not(#\#){flex-shrink:0}:is(.\*\*\:data-\[slot\=navigation-link-indicator\]\:items-center *)[data-slot=navigation-link-indicator]:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center}:is(.\*\*\:data-\[slot\=navigation-link-indicator\]\:justify-center *)[data-slot=navigation-link-indicator]:not(#\#):not(#\#):not(#\#):not(#\#){justify-content:center}:is(.\*\*\:data-\[slot\=navigation-link-indicator\]\:overflow-hidden *)[data-slot=navigation-link-indicator]:not(#\#):not(#\#):not(#\#):not(#\#){overflow:hidden}:is(.\*\*\:data-\[slot\=navigation-link-indicator\]\:opacity-0 *)[data-slot=navigation-link-indicator]:not(#\#):not(#\#):not(#\#):not(#\#){opacity:0}:is(.\*\*\:data-\[slot\=navigation-link-indicator\]\:transition-\[width\,opacity\] *)[data-slot=navigation-link-indicator]:not(#\#):not(#\#):not(#\#):not(#\#){transition-property:width,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}:is(.\*\*\:data-\[slot\=navigation-link-indicator\]\:duration-250 *)[data-slot=navigation-link-indicator]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.25s;transition-duration:.25s}:is(.\*\*\:data-\[slot\=navigation-link-indicator\]\:ease-out *)[data-slot=navigation-link-indicator]:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}@media (hover:hover){:is(.hover\:\*\*\:data-\[slot\=navigation-link-indicator\]\:w-4:hover *)[data-slot=navigation-link-indicator]:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 4)}:is(.hover\:\*\*\:data-\[slot\=navigation-link-indicator\]\:w-4\.5:hover *)[data-slot=navigation-link-indicator]:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 4.5)}:is(.hover\:\*\*\:data-\[slot\=navigation-link-indicator\]\:w-5:hover *)[data-slot=navigation-link-indicator]:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 5)}:is(.hover\:\*\*\:data-\[slot\=navigation-link-indicator\]\:opacity-100:hover *)[data-slot=navigation-link-indicator]:not(#\#):not(#\#):not(#\#):not(#\#){opacity:1}}:is(.focus-visible\:\*\*\:data-\[slot\=navigation-link-indicator\]\:w-4:focus-visible *)[data-slot=navigation-link-indicator]:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 4)}:is(.focus-visible\:\*\*\:data-\[slot\=navigation-link-indicator\]\:w-4\.5:focus-visible *)[data-slot=navigation-link-indicator]:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 4.5)}:is(.focus-visible\:\*\*\:data-\[slot\=navigation-link-indicator\]\:w-5:focus-visible *)[data-slot=navigation-link-indicator]:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 5)}:is(.focus-visible\:\*\*\:data-\[slot\=navigation-link-indicator\]\:opacity-100:focus-visible *)[data-slot=navigation-link-indicator]:not(#\#):not(#\#):not(#\#):not(#\#){opacity:1}:is(.data-active\:\*\*\:data-\[slot\=navigation-link-indicator\]\:w-4[data-active] *)[data-slot=navigation-link-indicator]:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 4)}:is(.data-active\:\*\*\:data-\[slot\=navigation-link-indicator\]\:w-4\.5[data-active] *)[data-slot=navigation-link-indicator]:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 4.5)}:is(.data-active\:\*\*\:data-\[slot\=navigation-link-indicator\]\:w-5[data-active] *)[data-slot=navigation-link-indicator]:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--spacing) * 5)}:is(.data-active\:\*\*\:data-\[slot\=navigation-link-indicator\]\:opacity-100[data-active] *)[data-slot=navigation-link-indicator]:not(#\#):not(#\#):not(#\#):not(#\#){opacity:1}:is(.\*\*\:data-\[slot\=navigation-link-label\]\:min-w-0 *)[data-slot=navigation-link-label]:not(#\#):not(#\#):not(#\#):not(#\#){min-width:0}:is(.\*\*\:data-\[slot\=navigation-link-label\]\:flex-1 *)[data-slot=navigation-link-label]:not(#\#):not(#\#):not(#\#):not(#\#){flex:1}:is(.\*\*\:data-\[slot\=navigation-link-label\]\:truncate *)[data-slot=navigation-link-label]:not(#\#):not(#\#):not(#\#):not(#\#){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.data-\[starting-style\]\:opacity-0[data-starting-style]:not(#\#):not(#\#):not(#\#):not(#\#){opacity:0}.data-\[variant\=bar\]\:grid-cols-\[1fr_auto\][data-variant=bar]:not(#\#):not(#\#):not(#\#):not(#\#){grid-template-columns:1fr auto}:is(.data-\[variant\=bar\]\:\*\*\:data-\[slot\=progress-label\]\:col-start-1[data-variant=bar] *)[data-slot=progress-label]:not(#\#):not(#\#):not(#\#):not(#\#){grid-column-start:1}:is(.data-\[variant\=bar\]\:\*\*\:data-\[slot\=progress-label\]\:row-start-1[data-variant=bar] *)[data-slot=progress-label]:not(#\#):not(#\#):not(#\#):not(#\#){grid-row-start:1}:is(.data-\[variant\=bar\]\:\*\*\:data-\[slot\=progress-track\]\:col-span-2[data-variant=bar] *)[data-slot=progress-track]:not(#\#):not(#\#):not(#\#):not(#\#){grid-column:span 2/span 2}:is(.data-\[variant\=bar\]\:\*\*\:data-\[slot\=progress-value\]\:col-start-2[data-variant=bar] *)[data-slot=progress-value]:not(#\#):not(#\#):not(#\#):not(#\#){grid-column-start:2}:is(.data-\[variant\=bar\]\:\*\*\:data-\[slot\=progress-value\]\:row-start-1[data-variant=bar] *)[data-slot=progress-value]:not(#\#):not(#\#):not(#\#):not(#\#){grid-row-start:1}:is(.data-\[variant\=bar\]\:\*\*\:data-\[slot\=progress-value\]\:justify-self-end[data-variant=bar] *)[data-slot=progress-value]:not(#\#):not(#\#):not(#\#):not(#\#){justify-self:flex-end}.data-\[variant\=circular\]\:w-fit[data-variant=circular]:not(#\#):not(#\#):not(#\#):not(#\#){width:fit-content}.data-\[variant\=circular\]\:justify-items-center[data-variant=circular]:not(#\#):not(#\#):not(#\#):not(#\#){justify-items:center}:is(.data-\[variant\=circular\]\:\*\*\:data-\[slot\=progress-circular\]\:col-start-1[data-variant=circular] *)[data-slot=progress-circular]:not(#\#):not(#\#):not(#\#):not(#\#){grid-column-start:1}:is(.data-\[variant\=circular\]\:\*\*\:data-\[slot\=progress-circular\]\:row-start-1[data-variant=circular] *)[data-slot=progress-circular]:not(#\#):not(#\#):not(#\#):not(#\#){grid-row-start:1}:is(.data-\[variant\=circular\]\:\*\*\:data-\[slot\=progress-label\]\:row-start-2[data-variant=circular] *)[data-slot=progress-label]:not(#\#):not(#\#):not(#\#):not(#\#){grid-row-start:2}:is(.data-\[variant\=circular\]\:\*\*\:data-\[slot\=progress-value\]\:col-start-1[data-variant=circular] *)[data-slot=progress-value]:not(#\#):not(#\#):not(#\#):not(#\#){grid-column-start:1}:is(.data-\[variant\=circular\]\:\*\*\:data-\[slot\=progress-value\]\:row-start-1[data-variant=circular] *)[data-slot=progress-value]:not(#\#):not(#\#):not(#\#):not(#\#){grid-row-start:1}:is(.data-\[variant\=circular\]\:\*\*\:data-\[slot\=progress-value\]\:place-self-center[data-variant=circular] *)[data-slot=progress-value]:not(#\#):not(#\#):not(#\#):not(#\#){place-self:center}@supports (-webkit-touch-callout:none){.supports-\[-webkit-touch-callout\:none\]\:absolute:not(#\#):not(#\#):not(#\#):not(#\#){position:absolute}}@supports (font:-apple-system-body){.supports-\[font\:-apple-system-body\]\:before\:hidden:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);display:none}}@media (prefers-reduced-motion:no-preference){.motion-safe\:origin-\(--transform-origin\):not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){transform-origin:var(--transform-origin)}.motion-safe\:animate-pulse:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){animation:var(--animate-pulse)}.motion-safe\:animate-text-caret:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){animation:1s step-end infinite text-caret}.motion-safe\:transition:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.motion-safe\:transition-\[grid-template-rows\]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-property:grid-template-rows;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.motion-safe\:transition-\[height\]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-property:height;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.motion-safe\:transition-\[left\,top\]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-property:left,top;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.motion-safe\:transition-\[left\]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-property:left;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.motion-safe\:transition-\[opacity\,scale\]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-property:opacity,scale;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.motion-safe\:transition-\[opacity\,stroke-dashoffset\]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-property:opacity,stroke-dashoffset;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.motion-safe\:transition-\[opacity\,translate\]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-property:opacity,translate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.motion-safe\:transition-\[scale\]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-property:scale;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.motion-safe\:transition-\[stroke-dashoffset\]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-property:stroke-dashoffset;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.motion-safe\:transition-\[top\,left\,right\,bottom\]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-property:top,left,right,bottom;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.motion-safe\:transition-\[transform\,height\]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-property:transform,height;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.motion-safe\:transition-\[translate\,width\,height\]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-property:translate,width,height;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.motion-safe\:transition-\[width\,height\,background-color\]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-property:width,height,background-color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.motion-safe\:transition-\[width\]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.motion-safe\:transition-all:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.motion-safe\:transition-colors:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.motion-safe\:transition-opacity:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.motion-safe\:transition-transform:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.motion-safe\:delay-\[0ms\,150ms\]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-delay:0s,.15s}.motion-safe\:duration-150:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.15s;transition-duration:.15s}.motion-safe\:duration-200:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.2s;transition-duration:.2s}.motion-safe\:duration-250:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.25s;transition-duration:.25s}.motion-safe\:duration-300:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.3s;transition-duration:.3s}.motion-safe\:duration-350:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.35s;transition-duration:.35s}.motion-safe\:duration-400:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.4s;transition-duration:.4s}.motion-safe\:duration-\[150ms\,0ms\]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.15s,0s;transition-duration:.15s,0s}.motion-safe\:duration-\[calc\(var\(--indent-transition\)\*400ms\)\]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:calc(var(--indent-transition) * .4s);transition-duration:calc(var(--indent-transition) * .4s)}.motion-safe\:ease-\[cubic-bezier\(0\.22\,1\,0\.36\,1\)\]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-ease:cubic-bezier(.22,1,.36,1);transition-timing-function:cubic-bezier(.22,1,.36,1)}.motion-safe\:ease-\[cubic-bezier\(0\.32\,1\.2\,0\.4\,1\)\]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-ease:cubic-bezier(.32,1.2,.4,1);transition-timing-function:cubic-bezier(.32,1.2,.4,1)}.motion-safe\:ease-\[cubic-bezier\(0\.175\,0\.885\,0\.32\,1\.5\)\]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-ease:cubic-bezier(.175,.885,.32,1.5);transition-timing-function:cubic-bezier(.175,.885,.32,1.5)}.motion-safe\:ease-linear:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-ease:linear;transition-timing-function:linear}.motion-safe\:ease-out:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.motion-safe\:animate-border-beam:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){animation-name:border-beam;animation-duration:var(--border-beam-duration,5s);animation-delay:var(--border-beam-delay,0s);animation-timing-function:linear;animation-iteration-count:infinite}.motion-safe\:animate-gradient-glow:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){animation-name:gradient-glow;animation-duration:var(--gradient-glow-duration,4s);animation-timing-function:linear;animation-iteration-count:infinite}.motion-safe\:animate-gradient-glow-aura:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){animation-name:gradient-glow,gradient-glow-pulse;animation-duration:var(--gradient-glow-duration,4s);animation-timing-function:linear,ease-in-out;animation-iteration-count:infinite}.motion-safe\:\[transition\:opacity_300ms_cubic-bezier\(0\.175\,0\.885\,0\.32\,1\.5\)\,scale_300ms_cubic-bezier\(0\.175\,0\.885\,0\.32\,1\.5\)\,width_300ms_cubic-bezier\(0\.22\,1\,0\.36\,1\)\,height_300ms_cubic-bezier\(0\.22\,1\,0\.36\,1\)\]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){transition:opacity .3s cubic-bezier(.175,.885,.32,1.5),scale .3s cubic-bezier(.175,.885,.32,1.5),width .3s cubic-bezier(.22,1,.36,1),height .3s cubic-bezier(.22,1,.36,1)}.motion-safe\:group-data-checked\/check\:delay-\[0ms\]:not([data-disable-animations] *):is(:where(.group\/check)[data-checked] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-delay:0s}.motion-safe\:group-data-checked\/check\:duration-\[0ms\,300ms\]:not([data-disable-animations] *):is(:where(.group\/check)[data-checked] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:0s,.3s;transition-duration:0s,.3s}.group-data-ending-style\/popup\:motion-safe\:scale-95:is(:where(.group\/popup)[data-ending-style] *):not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-data-ending-style\/popup\:motion-safe\:opacity-0:is(:where(.group\/popup)[data-ending-style] *):not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){opacity:0}.group-data-ending-style\/popup\:motion-safe\:duration-100:is(:where(.group\/popup)[data-ending-style] *):not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.1s;transition-duration:.1s}.group-data-ending-style\/popup\:motion-safe\:ease-out:is(:where(.group\/popup)[data-ending-style] *):not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.motion-safe\:group-data-selected\/check\:delay-\[0ms\]:not([data-disable-animations] *):is(:where(.group\/check)[data-selected] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-delay:0s}.motion-safe\:group-data-selected\/check\:duration-\[0ms\,300ms\]:not([data-disable-animations] *):is(:where(.group\/check)[data-selected] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:0s,.3s;transition-duration:0s,.3s}.group-data-starting-style\/popup\:motion-safe\:scale-90:is(:where(.group\/popup)[data-starting-style] *):not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-data-starting-style\/popup\:motion-safe\:opacity-0:is(:where(.group\/popup)[data-starting-style] *):not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){opacity:0}.motion-safe\:before\:transition-opacity:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.motion-safe\:before\:duration-200:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);--tw-duration:.2s;transition-duration:.2s}.motion-safe\:before\:ease-out:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.motion-safe\:active\:translate-y-px:not([data-disable-animations] *):active:not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-y:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.motion-safe\:active\:scale-90:not([data-disable-animations] *):active:not(#\#):not(#\#):not(#\#):not(#\#){--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x) var(--tw-scale-y)}.motion-safe\:active\:duration-100:not([data-disable-animations] *):active:not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.1s;transition-duration:.1s}.motion-safe\:active\:ease-in-out:not([data-disable-animations] *):active:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.data-ending-style\:motion-safe\:scale-95[data-ending-style]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-ending-style\:motion-safe\:opacity-0[data-ending-style]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){opacity:0}.data-ending-style\:motion-safe\:duration-100[data-ending-style]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.1s;transition-duration:.1s}.data-ending-style\:motion-safe\:duration-150[data-ending-style]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.15s;transition-duration:.15s}.data-ending-style\:motion-safe\:duration-300[data-ending-style]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.3s;transition-duration:.3s}.data-ending-style\:motion-safe\:ease-out[data-ending-style]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.data-instant\:motion-safe\:transition-none[data-instant]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-property:none}.data-starting-style\:motion-safe\:scale-90[data-starting-style]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-starting-style\:motion-safe\:scale-95[data-starting-style]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.motion-safe\:data-starting-style\:\[transform\:translateY\(-150\%\)\]:not([data-disable-animations] *)[data-starting-style]:not(#\#):not(#\#):not(#\#):not(#\#){transform:translateY(-150%)}.motion-safe\:data-starting-style\:\[transform\:translateY\(150\%\)\]:not([data-disable-animations] *)[data-starting-style]:not(#\#):not(#\#):not(#\#):not(#\#){transform:translateY(150%)}.data-starting-style\:motion-safe\:opacity-0[data-starting-style]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){opacity:0}.data-\[activation-direction\=down\]\:data-ending-style\:motion-safe\:-translate-y-4[data-activation-direction=down][data-ending-style]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-y:calc(var(--spacing) * -4);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[activation-direction\=down\]\:data-starting-style\:motion-safe\:translate-y-4[data-activation-direction=down][data-starting-style]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-y:calc(var(--spacing) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[activation-direction\=left\]\:data-ending-style\:motion-safe\:translate-x-4[data-activation-direction=left][data-ending-style]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-x:calc(var(--spacing) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[activation-direction\=left\]\:data-starting-style\:motion-safe\:-translate-x-4[data-activation-direction=left][data-starting-style]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#),.data-\[activation-direction\=right\]\:data-ending-style\:motion-safe\:-translate-x-4[data-activation-direction=right][data-ending-style]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-x:calc(var(--spacing) * -4);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[activation-direction\=right\]\:data-starting-style\:motion-safe\:translate-x-4[data-activation-direction=right][data-starting-style]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-x:calc(var(--spacing) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[activation-direction\=up\]\:data-ending-style\:motion-safe\:translate-y-4[data-activation-direction=up][data-ending-style]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-y:calc(var(--spacing) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[activation-direction\=up\]\:data-starting-style\:motion-safe\:-translate-y-4[data-activation-direction=up][data-starting-style]:not([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-y:calc(var(--spacing) * -4);translate:var(--tw-translate-x) var(--tw-translate-y)}.motion-safe\:data-ending-style\:data-\[swipe-direction\=down\]\:\[transform\:translateY\(calc\(var\(--toast-swipe-movement-y\)\+150\%\)\)\]:not([data-disable-animations] *)[data-ending-style][data-swipe-direction=down]:not(#\#):not(#\#):not(#\#):not(#\#),.motion-safe\:data-expanded\:data-ending-style\:data-\[swipe-direction\=down\]\:\[transform\:translateY\(calc\(var\(--toast-swipe-movement-y\)\+150\%\)\)\]:not([data-disable-animations] *)[data-expanded][data-ending-style][data-swipe-direction=down]:not(#\#):not(#\#):not(#\#):not(#\#){transform:translateY(calc(var(--toast-swipe-movement-y) + 150%))}.motion-safe\:data-ending-style\:data-\[swipe-direction\=left\]\:\[transform\:translateX\(calc\(var\(--toast-swipe-movement-x\)-150\%\)\)_translateY\(var\(--offset-y\)\)\]:not([data-disable-animations] *)[data-ending-style][data-swipe-direction=left]:not(#\#):not(#\#):not(#\#):not(#\#),.motion-safe\:data-expanded\:data-ending-style\:data-\[swipe-direction\=left\]\:\[transform\:translateX\(calc\(var\(--toast-swipe-movement-x\)-150\%\)\)_translateY\(var\(--offset-y\)\)\]:not([data-disable-animations] *)[data-expanded][data-ending-style][data-swipe-direction=left]:not(#\#):not(#\#):not(#\#):not(#\#){transform:translateX(calc(var(--toast-swipe-movement-x) - 150%)) translateY(var(--offset-y))}.motion-safe\:data-ending-style\:data-\[swipe-direction\=right\]\:\[transform\:translateX\(calc\(var\(--toast-swipe-movement-x\)\+150\%\)\)_translateY\(var\(--offset-y\)\)\]:not([data-disable-animations] *)[data-ending-style][data-swipe-direction=right]:not(#\#):not(#\#):not(#\#):not(#\#),.motion-safe\:data-expanded\:data-ending-style\:data-\[swipe-direction\=right\]\:\[transform\:translateX\(calc\(var\(--toast-swipe-movement-x\)\+150\%\)\)_translateY\(var\(--offset-y\)\)\]:not([data-disable-animations] *)[data-expanded][data-ending-style][data-swipe-direction=right]:not(#\#):not(#\#):not(#\#):not(#\#){transform:translateX(calc(var(--toast-swipe-movement-x) + 150%)) translateY(var(--offset-y))}.motion-safe\:data-ending-style\:data-\[swipe-direction\=up\]\:\[transform\:translateY\(calc\(var\(--toast-swipe-movement-y\)-150\%\)\)\]:not([data-disable-animations] *)[data-ending-style][data-swipe-direction=up]:not(#\#):not(#\#):not(#\#):not(#\#),.motion-safe\:data-expanded\:data-ending-style\:data-\[swipe-direction\=up\]\:\[transform\:translateY\(calc\(var\(--toast-swipe-movement-y\)-150\%\)\)\]:not([data-disable-animations] *)[data-expanded][data-ending-style][data-swipe-direction=up]:not(#\#):not(#\#):not(#\#):not(#\#){transform:translateY(calc(var(--toast-swipe-movement-y) - 150%))}}@media (prefers-reduced-motion:reduce){.motion-reduce\:hidden:not(#\#):not(#\#):not(#\#):not(#\#){display:none}}.motion-reduce\:hidden:is([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){display:none}@media (prefers-reduced-motion:reduce){.motion-reduce\:animate-none:not(#\#):not(#\#):not(#\#):not(#\#){animation:none}}.motion-reduce\:animate-none:is([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){animation:none}@media (prefers-reduced-motion:reduce){.motion-reduce\:transition-none:not(#\#):not(#\#):not(#\#):not(#\#){transition-property:none}}.motion-reduce\:transition-none:is([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#){transition-property:none}@media (prefers-reduced-motion:reduce){.motion-reduce\:before\:transition-none:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);transition-property:none}}.motion-reduce\:before\:transition-none:is([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);transition-property:none}@media (prefers-reduced-motion:reduce){.motion-reduce\:after\:transition-none:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);transition-property:none}}.motion-reduce\:after\:transition-none:is([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);transition-property:none}@media (prefers-reduced-motion:reduce){:is(.motion-reduce\:\*\*\:data-\[slot\=navigation-link-indicator\]\:transition-none *)[data-slot=navigation-link-indicator]:not(#\#):not(#\#):not(#\#):not(#\#){transition-property:none}}:is(.motion-reduce\:\*\*\:data-\[slot\=navigation-link-indicator\]\:transition-none:is([data-disable-animations] *) *)[data-slot=navigation-link-indicator]:not(#\#):not(#\#):not(#\#):not(#\#){transition-property:none}@media (min-width:40rem){.sm\:mx-0:not(#\#):not(#\#):not(#\#):not(#\#){margin-inline:0}.sm\:w-\[150px\]:not(#\#):not(#\#):not(#\#):not(#\#){width:150px}.sm\:max-w-none:not(#\#):not(#\#):not(#\#):not(#\#){max-width:none}.sm\:grid-cols-2:not(#\#):not(#\#):not(#\#):not(#\#){grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row:not(#\#):not(#\#):not(#\#):not(#\#){flex-direction:row}.sm\:items-center:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center}.sm\:items-stretch:not(#\#):not(#\#):not(#\#):not(#\#){align-items:stretch}.sm\:justify-end:not(#\#):not(#\#):not(#\#):not(#\#){justify-content:flex-end}.sm\:self-start:not(#\#):not(#\#):not(#\#):not(#\#){align-self:flex-start}.sm\:p-4:not(#\#):not(#\#):not(#\#):not(#\#){padding:calc(var(--spacing) * 4)}.sm\:p-5:not(#\#):not(#\#):not(#\#):not(#\#){padding:calc(var(--spacing) * 5)}}@media (min-width:48rem){.md\:col-span-2:not(#\#):not(#\#):not(#\#):not(#\#){grid-column:span 2/span 2}.md\:col-span-3:not(#\#):not(#\#):not(#\#):not(#\#){grid-column:span 3/span 3}.md\:col-start-1:not(#\#):not(#\#):not(#\#):not(#\#){grid-column-start:1}.md\:col-start-2:not(#\#):not(#\#):not(#\#):not(#\#){grid-column-start:2}.md\:row-start-1:not(#\#):not(#\#):not(#\#):not(#\#){grid-row-start:1}.md\:row-start-2:not(#\#):not(#\#):not(#\#):not(#\#){grid-row-start:2}.md\:columns-2:not(#\#):not(#\#):not(#\#):not(#\#){columns:2}.md\:grid-cols-2:not(#\#):not(#\#):not(#\#):not(#\#){grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3:not(#\#):not(#\#):not(#\#):not(#\#){grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-5:not(#\#):not(#\#):not(#\#):not(#\#){grid-template-columns:repeat(5,minmax(0,1fr))}.md\:grid-cols-\[minmax\(320px\,1fr\)_minmax\(0\,1fr\)\]:not(#\#):not(#\#):not(#\#):not(#\#){grid-template-columns:minmax(320px,1fr) minmax(0,1fr)}}@media (min-width:64rem){.lg\:text-lg:not(#\#):not(#\#):not(#\#):not(#\#){font-size:1.125rem;line-height:var(--tw-leading,1.625rem)}}@media (min-width:80rem){.xl\:columns-3:not(#\#):not(#\#):not(#\#):not(#\#){columns:3}.xl\:px-2:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:calc(var(--spacing) * 2)}.xl\:px-4:not(#\#):not(#\#):not(#\#):not(#\#){padding-inline:calc(var(--spacing) * 4)}.xl\:text-sm:not(#\#):not(#\#):not(#\#):not(#\#){font-size:.875rem;line-height:var(--tw-leading,1.25rem)}.xl\:before\:border:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-style:var(--tw-border-style);border-width:var(--border-width)}.xl\:before\:border-border:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:var(--border)}.xl\:before\:bg-background:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--background)}}@container (width>=460px){.\@min-\[460px\]\:group-data-\[layout\=inline\]\/alert\:my-0:is(:where(.group\/alert)[data-layout=inline] *):not(#\#):not(#\#):not(#\#):not(#\#){margin-block:0}.\@min-\[460px\]\:group-data-\[layout\=inline\]\/alert\:ms-3:is(:where(.group\/alert)[data-layout=inline] *):not(#\#):not(#\#):not(#\#):not(#\#){margin-inline-start:calc(var(--spacing) * 3)}.\@min-\[460px\]\:group-data-\[layout\=inline\]\/alert\:me-3:is(:where(.group\/alert)[data-layout=inline] *):not(#\#):not(#\#):not(#\#):not(#\#){margin-inline-end:calc(var(--spacing) * 3)}.\@min-\[460px\]\:group-data-\[layout\=inline\]\/alert\:mt-0:is(:where(.group\/alert)[data-layout=inline] *):not(#\#):not(#\#):not(#\#):not(#\#){margin-top:0}.\@min-\[460px\]\:group-data-\[layout\=inline\]\/alert\:self-center:is(:where(.group\/alert)[data-layout=inline] *):not(#\#):not(#\#):not(#\#):not(#\#){align-self:center}.\@min-\[460px\]\:group-data-\[layout\=inline\]\/alert\:pt-0:is(:where(.group\/alert)[data-layout=inline] *):not(#\#):not(#\#):not(#\#):not(#\#){padding-top:0}.\@min-\[460px\]\:group-data-\[layout\=inline\]\/alert\:text-sm:is(:where(.group\/alert)[data-layout=inline] *):not(#\#):not(#\#):not(#\#):not(#\#){font-size:.875rem;line-height:var(--tw-leading,1.25rem)}.\@min-\[460px\]\:data-\[layout\=inline\]\:\[grid-template-columns\:auto_auto_1fr_auto_auto\][data-layout=inline]:not(#\#):not(#\#):not(#\#):not(#\#){grid-template-columns:auto auto 1fr auto auto}.\@min-\[460px\]\:data-\[layout\=inline\]\:items-center[data-layout=inline]:not(#\#):not(#\#):not(#\#):not(#\#){align-items:center}.\@min-\[460px\]\:data-\[layout\=inline\]\:\[grid-template-areas\:\'icon_title_description_actions_close\'\][data-layout=inline]:not(#\#):not(#\#):not(#\#):not(#\#){grid-template-areas:"icon title description actions close"}}.ltr\:\[mask-image\:linear-gradient\(to_bottom\,transparent_0\,black_min\(40px\,var\(--scroll-area-overflow-y-start\)\)\,black_calc\(100\%_-_min\(40px\,var\(--scroll-area-overflow-y-end\,40px\)\)\)\,transparent_100\%\)\,linear-gradient\(to_right\,transparent_0\,black_min\(40px\,var\(--scroll-area-overflow-x-start\)\)\,black_calc\(100\%_-_min\(40px\,var\(--scroll-area-overflow-x-end\,40px\)\)\)\,transparent_100\%\)\]:where(:not(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=ltr],[dir=ltr] *):not(#\#):not(#\#):not(#\#):not(#\#){-webkit-mask-image:linear-gradient(to bottom,transparent 0,black min(40px, var(--scroll-area-overflow-y-start)),black calc(100% - min(40px, var(--scroll-area-overflow-y-end,40px))),transparent 100%),linear-gradient(to right,transparent 0,black min(40px, var(--scroll-area-overflow-x-start)),black calc(100% - min(40px, var(--scroll-area-overflow-x-end,40px))),transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0,black min(40px, var(--scroll-area-overflow-y-start)),black calc(100% - min(40px, var(--scroll-area-overflow-y-end,40px))),transparent 100%),linear-gradient(to right,transparent 0,black min(40px, var(--scroll-area-overflow-x-start)),black calc(100% - min(40px, var(--scroll-area-overflow-x-end,40px))),transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0,black min(40px, var(--scroll-area-overflow-y-start)),black calc(100% - min(40px, var(--scroll-area-overflow-y-end,40px))),transparent 100%),linear-gradient(to right,transparent 0,black min(40px, var(--scroll-area-overflow-x-start)),black calc(100% - min(40px, var(--scroll-area-overflow-x-end,40px))),transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,black min(40px, var(--scroll-area-overflow-y-start)),black calc(100% - min(40px, var(--scroll-area-overflow-y-end,40px))),transparent 100%),linear-gradient(to right,transparent 0,black min(40px, var(--scroll-area-overflow-x-start)),black calc(100% - min(40px, var(--scroll-area-overflow-x-end,40px))),transparent 100%)}.data-\[orientation\=horizontal\]\:ltr\:-translate-x-1\/2[data-orientation=horizontal]:where(:not(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=ltr],[dir=ltr] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[orientation\=horizontal\]\:ltr\:translate-x-\(--active-tab-left\)[data-orientation=horizontal]:where(:not(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=ltr],[dir=ltr] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-x:var(--active-tab-left);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[orientation\=horizontal\]\:ltr\:translate-x-1\/2[data-orientation=horizontal]:where(:not(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=ltr],[dir=ltr] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-x:calc(1 / 2 * 100%);translate:var(--tw-translate-x) var(--tw-translate-y)}.ltr\:data-\[orientation\=horizontal\]\:after\:bg-right:where(:not(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=ltr],[dir=ltr] *)[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-position:100%}@media (hover:hover){.ltr\:hover\:data-\[orientation\=horizontal\]\:after\:bg-left:where(:not(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=ltr],[dir=ltr] *):hover[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-position:0}}.ltr\:data-active\:data-\[orientation\=horizontal\]\:after\:bg-left:where(:not(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=ltr],[dir=ltr] *)[data-active][data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#):after,.ltr\:data-popup-open\:data-\[orientation\=horizontal\]\:after\:bg-left:where(:not(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=ltr],[dir=ltr] *)[data-popup-open][data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#):after,.ltr\:data-pressed\:data-\[orientation\=horizontal\]\:after\:bg-left:where(:not(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=ltr],[dir=ltr] *)[data-pressed][data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-position:0}.ltr\:focus-visible\:data-\[orientation\=horizontal\]\:after\:bg-left:where(:not(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=ltr],[dir=ltr] *):focus-visible[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-position:0}.data-\[orientation\=vertical\]\:ltr\:origin-left[data-orientation=vertical]:where(:not(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=ltr],[dir=ltr] *):not(#\#):not(#\#):not(#\#):not(#\#){transform-origin:0}.data-\[side\=inline-end\]\:ltr\:-rotate-90[data-side=inline-end]:where(:not(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=ltr],[dir=ltr] *):not(#\#):not(#\#):not(#\#):not(#\#){rotate:-90deg}.data-\[side\=inline-start\]\:ltr\:rotate-90[data-side=inline-start]:where(:not(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=ltr],[dir=ltr] *):not(#\#):not(#\#):not(#\#):not(#\#){rotate:90deg}.rtl\:origin-right:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *):not(#\#):not(#\#):not(#\#):not(#\#){transform-origin:100%}.rtl\:translate-x-1\/2:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-x:calc(1 / 2 * 100%);translate:var(--tw-translate-x) var(--tw-translate-y)}.rtl\:rotate-90:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *):not(#\#):not(#\#):not(#\#):not(#\#){rotate:90deg}.rtl\:rotate-180:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *):not(#\#):not(#\#):not(#\#):not(#\#){rotate:180deg}.rtl\:transform-\[scaleX\(-1\)\]:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *):not(#\#):not(#\#):not(#\#):not(#\#){transform:scaleX(-1)}.rtl\:\[mask-image\:linear-gradient\(to_bottom\,transparent_0\,black_min\(40px\,var\(--scroll-area-overflow-y-start\)\)\,black_calc\(100\%_-_min\(40px\,var\(--scroll-area-overflow-y-end\,40px\)\)\)\,transparent_100\%\)\,linear-gradient\(to_left\,transparent_0\,black_min\(40px\,var\(--scroll-area-overflow-x-start\)\)\,black_calc\(100\%_-_min\(40px\,var\(--scroll-area-overflow-x-end\,40px\)\)\)\,transparent_100\%\)\]:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *):not(#\#):not(#\#):not(#\#):not(#\#){-webkit-mask-image:linear-gradient(to bottom,transparent 0,black min(40px, var(--scroll-area-overflow-y-start)),black calc(100% - min(40px, var(--scroll-area-overflow-y-end,40px))),transparent 100%),linear-gradient(to left,transparent 0,black min(40px, var(--scroll-area-overflow-x-start)),black calc(100% - min(40px, var(--scroll-area-overflow-x-end,40px))),transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0,black min(40px, var(--scroll-area-overflow-y-start)),black calc(100% - min(40px, var(--scroll-area-overflow-y-end,40px))),transparent 100%),linear-gradient(to left,transparent 0,black min(40px, var(--scroll-area-overflow-x-start)),black calc(100% - min(40px, var(--scroll-area-overflow-x-end,40px))),transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0,black min(40px, var(--scroll-area-overflow-y-start)),black calc(100% - min(40px, var(--scroll-area-overflow-y-end,40px))),transparent 100%),linear-gradient(to left,transparent 0,black min(40px, var(--scroll-area-overflow-x-start)),black calc(100% - min(40px, var(--scroll-area-overflow-x-end,40px))),transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,black min(40px, var(--scroll-area-overflow-y-start)),black calc(100% - min(40px, var(--scroll-area-overflow-y-end,40px))),transparent 100%),linear-gradient(to left,transparent 0,black min(40px, var(--scroll-area-overflow-x-start)),black calc(100% - min(40px, var(--scroll-area-overflow-x-end,40px))),transparent 100%)}.data-\[orientation\=horizontal\]\:rtl\:-translate-x-\(--active-tab-right\)[data-orientation=horizontal]:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-x:calc(var(--active-tab-right) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[orientation\=horizontal\]\:rtl\:-translate-x-1\/2[data-orientation=horizontal]:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[orientation\=horizontal\]\:rtl\:translate-x-1\/2[data-orientation=horizontal]:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *):not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-x:calc(1 / 2 * 100%);translate:var(--tw-translate-x) var(--tw-translate-y)}.rtl\:data-\[orientation\=horizontal\]\:after\:bg-left:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *)[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-position:0}@media (hover:hover){.rtl\:hover\:data-\[orientation\=horizontal\]\:after\:bg-right:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *):hover[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-position:100%}}.rtl\:data-active\:data-\[orientation\=horizontal\]\:after\:bg-right:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *)[data-active][data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#):after,.rtl\:data-popup-open\:data-\[orientation\=horizontal\]\:after\:bg-right:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *)[data-popup-open][data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#):after,.rtl\:data-pressed\:data-\[orientation\=horizontal\]\:after\:bg-right:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *)[data-pressed][data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-position:100%}.rtl\:focus-visible\:data-\[orientation\=horizontal\]\:after\:bg-right:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *):focus-visible[data-orientation=horizontal]:not(#\#):not(#\#):not(#\#):not(#\#):after{content:var(--tw-content);background-position:100%}.data-\[orientation\=vertical\]\:rtl\:origin-right[data-orientation=vertical]:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *):not(#\#):not(#\#):not(#\#):not(#\#){transform-origin:100%}.data-\[side\=inline-end\]\:rtl\:rotate-90[data-side=inline-end]:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *):not(#\#):not(#\#):not(#\#):not(#\#){rotate:90deg}.data-\[side\=inline-start\]\:rtl\:-rotate-90[data-side=inline-start]:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *):not(#\#):not(#\#):not(#\#):not(#\#){rotate:-90deg}:is(.rtl\:\*\*\:data-\[slot\=navigation-link-indicator\]\:rotate-180:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *) *)[data-slot=navigation-link-indicator]:not(#\#):not(#\#):not(#\#):not(#\#){rotate:180deg}.dark\:bg-background-subtle:is(.dark *):not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background-subtle)}.dark\:bg-current\/14:is(.dark *):not(#\#):not(#\#):not(#\#):not(#\#){background-color:currentColor}@supports (color:color-mix(in lab, red, red)){.dark\:bg-current\/14:is(.dark *):not(#\#):not(#\#):not(#\#):not(#\#){background-color:color-mix(in oklab, currentcolor 14%, transparent)}}.dark\:bg-current\/38:is(.dark *):not(#\#):not(#\#):not(#\#):not(#\#){background-color:currentColor}@supports (color:color-mix(in lab, red, red)){.dark\:bg-current\/38:is(.dark *):not(#\#):not(#\#):not(#\#):not(#\#){background-color:color-mix(in oklab, currentcolor 38%, transparent)}}.dark\:bg-current\/68:is(.dark *):not(#\#):not(#\#):not(#\#):not(#\#){background-color:currentColor}@supports (color:color-mix(in lab, red, red)){.dark\:bg-current\/68:is(.dark *):not(#\#):not(#\#):not(#\#):not(#\#){background-color:color-mix(in oklab, currentcolor 68%, transparent)}}.dark\:\[--gradient-glow-opacity\:0\.6\]:is(.dark *):not(#\#):not(#\#):not(#\#):not(#\#){--gradient-glow-opacity:.6}:where([data-slot=tooltip-content]):not(#\#):not(#\#):not(#\#):not(#\#) .dark\:in-data-\[slot\=tooltip-content\]\:border-border-intense\/20:is(.dark *){border-color:var(--border-intense)}@supports (color:color-mix(in lab, red, red)){:where([data-slot=tooltip-content]):not(#\#):not(#\#):not(#\#):not(#\#) .dark\:in-data-\[slot\=tooltip-content\]\:border-border-intense\/20:is(.dark *){border-color:color-mix(in oklab, var(--border-intense) 20%, transparent)}}@media (pointer:coarse){.pointer-coarse\:text-base:not(#\#):not(#\#):not(#\#):not(#\#){font-size:1rem;line-height:var(--tw-leading,1.5rem)}}@media (hover:none){.hover-none\:opacity-\(--gradient-glow-opacity\):not(#\#):not(#\#):not(#\#):not(#\#){opacity:var(--gradient-glow-opacity)}.hover-none\:opacity-100:not(#\#):not(#\#):not(#\#):not(#\#){opacity:1}.hover-none\:\[animation-play-state\:running\]:not(#\#):not(#\#):not(#\#):not(#\#){animation-play-state:running}}.\[\&_dt\]\:text-foreground-strong:not(#\#):not(#\#):not(#\#):not(#\#) dt{color:var(--foreground-strong)}.\[\&_svg\]\:pointer-events-none:not(#\#):not(#\#):not(#\#):not(#\#) svg{pointer-events:none}.\[\&_svg\]\:size-3:not(#\#):not(#\#):not(#\#):not(#\#) svg{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.\[\&_svg\]\:size-3\.5:not(#\#):not(#\#):not(#\#):not(#\#) svg{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.\[\&_svg\]\:size-3\.5\!:not(#\#) svg{width:calc(var(--spacing) * 3.5)!important;height:calc(var(--spacing) * 3.5)!important}.\[\&_svg\]\:size-4:not(#\#):not(#\#):not(#\#):not(#\#) svg{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\&_svg\]\:size-4\!:not(#\#) svg{width:calc(var(--spacing) * 4)!important;height:calc(var(--spacing) * 4)!important}.\[\&_svg\]\:size-4\.5:not(#\#):not(#\#):not(#\#):not(#\#) svg{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.\[\&_svg\]\:size-4\.5\!:not(#\#) svg{width:calc(var(--spacing) * 4.5)!important;height:calc(var(--spacing) * 4.5)!important}.\[\&_svg\]\:size-5:not(#\#):not(#\#):not(#\#):not(#\#) svg{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.\[\&_svg\]\:h-full:not(#\#):not(#\#):not(#\#):not(#\#) svg{height:100%}.\[\&_svg\]\:w-full:not(#\#):not(#\#):not(#\#):not(#\#) svg{width:100%}.\[\&_svg\]\:shrink-0:not(#\#):not(#\#):not(#\#):not(#\#) svg{flex-shrink:0}.\[\&_svg\]\:rotate-180:not(#\#):not(#\#):not(#\#):not(#\#) svg{rotate:180deg}.\[\&_svg\]\:rtl\:rotate-0:not(#\#):not(#\#):not(#\#):not(#\#) svg:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){rotate:0deg}.\[\&_svg\]\:rtl\:rotate-180:not(#\#):not(#\#):not(#\#):not(#\#) svg:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){rotate:180deg}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-2\.5:not(#\#):not(#\#):not(#\#):not(#\#) svg:not([class*=size-]){width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3:not(#\#):not(#\#):not(#\#):not(#\#) svg:not([class*=size-]){width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3\.5:not(#\#):not(#\#):not(#\#):not(#\#) svg:not([class*=size-]){width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4:not(#\#):not(#\#):not(#\#):not(#\#) svg:not([class*=size-]){width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4\.5:not(#\#):not(#\#):not(#\#):not(#\#) svg:not([class*=size-]){width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-5:not(#\#):not(#\#):not(#\#):not(#\#) svg:not([class*=size-]){width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-5\.5:not(#\#):not(#\#):not(#\#):not(#\#) svg:not([class*=size-]){width:calc(var(--spacing) * 5.5);height:calc(var(--spacing) * 5.5)}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-\[0\.5em\]:not(#\#):not(#\#):not(#\#):not(#\#) svg:not([class*=size-]){width:.5em;height:.5em}.\[\&_svg\:not\(\[class\*\=\'stroke-\'\]\)\]\:stroke-2:not(#\#):not(#\#):not(#\#):not(#\#) svg:not([class*=stroke-]){stroke-width:2px}.\[\&_svg\:not\(\[class\*\=\'stroke-\'\]\)\]\:stroke-\[1\.65\]:not(#\#):not(#\#):not(#\#):not(#\#) svg:not([class*=stroke-]){stroke-width:1.65px}.\[\&_svg\:not\(\[class\*\=\'stroke-\'\]\)\]\:stroke-\[1\.75\]:not(#\#):not(#\#):not(#\#):not(#\#) svg:not([class*=stroke-]){stroke-width:1.75px}.\[\&_svg\:not\(\[class\*\=\'stroke-\'\]\)\]\:stroke-\[1\.85\]:not(#\#):not(#\#):not(#\#):not(#\#) svg:not([class*=stroke-]){stroke-width:1.85px}.\[\&_td\]\:border-b:not(#\#):not(#\#):not(#\#):not(#\#) td{border-bottom-style:var(--tw-border-style);border-bottom-width:var(--border-width)}.\[\&_td\]\:border-b-0:not(#\#):not(#\#):not(#\#):not(#\#) td{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.\[\&_td\]\:border-dashed:not(#\#):not(#\#):not(#\#):not(#\#) td{--tw-border-style:dashed;border-style:dashed}.\[\&_td\]\:border-border:not(#\#):not(#\#):not(#\#):not(#\#) td{border-color:var(--border)}.\[\&_td\]\:border-border-strong:not(#\#):not(#\#):not(#\#):not(#\#) td{border-color:var(--border-strong)}.\[\&_td\]\:p-3:not(#\#):not(#\#):not(#\#):not(#\#) td{padding:calc(var(--spacing) * 3)}.\[\&_td\]\:p-3\.5:not(#\#):not(#\#):not(#\#):not(#\#) td{padding:calc(var(--spacing) * 3.5)}.\[\&_td\]\:p-4:not(#\#):not(#\#):not(#\#):not(#\#) td{padding:calc(var(--spacing) * 4)}.\[\&_td\]\:align-middle:not(#\#):not(#\#):not(#\#):not(#\#) td{vertical-align:middle}.\[\&_th\]\:p-3:not(#\#):not(#\#):not(#\#):not(#\#) th{padding:calc(var(--spacing) * 3)}.\[\&_th\]\:p-3\.5:not(#\#):not(#\#):not(#\#):not(#\#) th{padding:calc(var(--spacing) * 3.5)}.\[\&_th\]\:p-4:not(#\#):not(#\#):not(#\#):not(#\#) th{padding:calc(var(--spacing) * 4)}.\[\&\:\:-webkit-scrollbar\]\:hidden:not(#\#):not(#\#):not(#\#):not(#\#)::-webkit-scrollbar{display:none}.\[a\,button\]\:transform-gpu:is(a,button):not(#\#):not(#\#):not(#\#):not(#\#){transform:translateZ(0) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.\[a\,button\]\:cursor-pointer:is(a,button):not(#\#):not(#\#):not(#\#):not(#\#){cursor:pointer}.\[a\,button\]\:transition:is(a,button):not(#\#):not(#\#):not(#\#):not(#\#){transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.\[a\,button\]\:duration-250:is(a,button):not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.25s;transition-duration:.25s}.\[a\,button\]\:ease-\[cubic-bezier\(0\.175\,0\.885\,0\.32\,1\.5\)\]:is(a,button):not(#\#):not(#\#):not(#\#):not(#\#){--tw-ease:cubic-bezier(.175,.885,.32,1.5);transition-timing-function:cubic-bezier(.175,.885,.32,1.5)}.\[a\,button\]\:before\:border:is(a,button):not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-style:var(--tw-border-style);border-width:var(--border-width)}.\[a\,button\]\:before\:border-transparent:is(a,button):not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:#0000}.\[a\,button\]\:before\:bg-\[radial-gradient\(138\.15\%_78\.13\%_at_52\.05\%_50\%\,var\(--error-muted\)_0\%\,rgba\(255\,255\,255\,\.5\)_95\%\)\]:is(a,button):not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-image:radial-gradient(138.15% 78.13% at 52.05% 50%,var(--error-muted) 0%,#ffffff80 95%)}.\[a\,button\]\:before\:bg-\[radial-gradient\(138\.15\%_78\.13\%_at_52\.05\%_50\%\,var\(--info-muted\)_0\%\,rgba\(255\,255\,255\,\.5\)_95\%\)\]:is(a,button):not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-image:radial-gradient(138.15% 78.13% at 52.05% 50%,var(--info-muted) 0%,#ffffff80 95%)}.\[a\,button\]\:before\:bg-\[radial-gradient\(138\.15\%_78\.13\%_at_52\.05\%_50\%\,var\(--primary\)_0\%\,var\(--primary-muted\)_75\%\)\]:is(a,button):not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-image:radial-gradient(138.15% 78.13% at 52.05% 50%,var(--primary) 0%,var(--primary-muted) 75%)}.\[a\,button\]\:before\:bg-\[radial-gradient\(138\.15\%_78\.13\%_at_52\.05\%_50\%\,var\(--secondary\)_0\%\,var\(--secondary-muted\)_95\%\)\]:is(a,button):not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-image:radial-gradient(138.15% 78.13% at 52.05% 50%,var(--secondary) 0%,var(--secondary-muted) 95%)}.\[a\,button\]\:before\:bg-\[radial-gradient\(138\.15\%_78\.13\%_at_52\.05\%_50\%\,var\(--success-muted\)_0\%\,rgba\(255\,255\,255\,\.5\)_95\%\)\]:is(a,button):not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-image:radial-gradient(138.15% 78.13% at 52.05% 50%,var(--success-muted) 0%,#ffffff80 95%)}.\[a\,button\]\:before\:bg-\[radial-gradient\(138\.15\%_78\.13\%_at_52\.05\%_50\%\,var\(--warning-muted\)_0\%\,rgba\(255\,255\,255\,\.5\)_95\%\)\]:is(a,button):not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-image:radial-gradient(138.15% 78.13% at 52.05% 50%,var(--warning-muted) 0%,#ffffff80 95%)}.\[a\,button\]\:before\:opacity-0:is(a,button):not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);opacity:0}.\[a\,button\]\:before\:transition-\[opacity\,background-color\,border-color\]:is(a,button):not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);transition-property:opacity,background-color,border-color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.\[a\,button\]\:before\:duration-250:is(a,button):not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);--tw-duration:.25s;transition-duration:.25s}@media (hover:hover){.\[a\,button\]\:hover\:text-primary-foreground:is(a,button):hover:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--primary-foreground)}.\[a\,button\]\:hover\:before\:border-border:is(a,button):hover:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:var(--border)}.\[a\,button\]\:hover\:before\:border-border-strong:is(a,button):hover:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:var(--border-strong)}.\[a\,button\]\:hover\:before\:border-white\/15:is(a,button):hover:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){.\[a\,button\]\:hover\:before\:border-white\/15:is(a,button):hover:not(#\#):not(#\#):not(#\#):not(#\#):before{border-color:color-mix(in oklab, var(--color-white) 15%, transparent)}}.\[a\,button\]\:hover\:before\:bg-background-subtle:is(a,button):hover:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--background-subtle)}.\[a\,button\]\:hover\:before\:bg-primary:is(a,button):hover:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--primary)}.\[a\,button\]\:hover\:before\:bg-white\/15:is(a,button):hover:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){.\[a\,button\]\:hover\:before\:bg-white\/15:is(a,button):hover:not(#\#):not(#\#):not(#\#):not(#\#):before{background-color:color-mix(in oklab, var(--color-white) 15%, transparent)}}.\[a\,button\]\:hover\:before\:opacity-100:is(a,button):hover:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);opacity:1}}.\[a\,button\]\:not-data-popup-open\:active\:translate-y-px:is(a,button):not([data-popup-open]):active:not(#\#):not(#\#):not(#\#):not(#\#){--tw-translate-y:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.\[a\,button\]\:not-data-popup-open\:active\:scale-\[0\.97\]:is(a,button):not([data-popup-open]):active:not(#\#):not(#\#):not(#\#):not(#\#){scale:.97}.\[a\,button\]\:not-data-popup-open\:active\:duration-100:is(a,button):not([data-popup-open]):active:not(#\#):not(#\#):not(#\#):not(#\#){--tw-duration:.1s;transition-duration:.1s}.\[a\,button\]\:not-data-popup-open\:active\:ease-in-out:is(a,button):not([data-popup-open]):active:not(#\#):not(#\#):not(#\#):not(#\#){--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.\[a\,button\]\:data-popup-open\:text-primary-foreground:is(a,button)[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--primary-foreground)}.\[a\,button\]\:data-popup-open\:before\:border-border:is(a,button)[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:var(--border)}.\[a\,button\]\:data-popup-open\:before\:border-border-strong:is(a,button)[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:var(--border-strong)}.\[a\,button\]\:data-popup-open\:before\:border-white\/15:is(a,button)[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){.\[a\,button\]\:data-popup-open\:before\:border-white\/15:is(a,button)[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#):before{border-color:color-mix(in oklab, var(--color-white) 15%, transparent)}}.\[a\,button\]\:data-popup-open\:before\:bg-background-subtle:is(a,button)[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--background-subtle)}.\[a\,button\]\:data-popup-open\:before\:bg-primary:is(a,button)[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--primary)}.\[a\,button\]\:data-popup-open\:before\:bg-white\/15:is(a,button)[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){.\[a\,button\]\:data-popup-open\:before\:bg-white\/15:is(a,button)[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#):before{background-color:color-mix(in oklab, var(--color-white) 15%, transparent)}}.\[a\,button\]\:data-popup-open\:before\:opacity-100:is(a,button)[data-popup-open]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);opacity:1}.\[a\,button\]\:data-pressed\:text-primary-foreground:is(a,button)[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#){color:var(--primary-foreground)}.\[a\,button\]\:data-pressed\:before\:border-border:is(a,button)[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:var(--border)}.\[a\,button\]\:data-pressed\:before\:border-border-strong:is(a,button)[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:var(--border-strong)}.\[a\,button\]\:data-pressed\:before\:border-white\/15:is(a,button)[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);border-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){.\[a\,button\]\:data-pressed\:before\:border-white\/15:is(a,button)[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#):before{border-color:color-mix(in oklab, var(--color-white) 15%, transparent)}}.\[a\,button\]\:data-pressed\:before\:bg-background-subtle:is(a,button)[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--background-subtle)}.\[a\,button\]\:data-pressed\:before\:bg-primary:is(a,button)[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:var(--primary)}.\[a\,button\]\:data-pressed\:before\:bg-white\/15:is(a,button)[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);background-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){.\[a\,button\]\:data-pressed\:before\:bg-white\/15:is(a,button)[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#):before{background-color:color-mix(in oklab, var(--color-white) 15%, transparent)}}.\[a\,button\]\:data-pressed\:before\:opacity-100:is(a,button)[data-pressed]:not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);opacity:1}@media (prefers-reduced-motion:reduce){.motion-reduce\:\[a\,button\]\:transition-none:is(a,button):not(#\#):not(#\#):not(#\#):not(#\#){transition-property:none}}.motion-reduce\:\[a\,button\]\:transition-none:is([data-disable-animations] *):is(a,button):not(#\#):not(#\#):not(#\#):not(#\#){transition-property:none}@media (prefers-reduced-motion:reduce){.motion-reduce\:\[a\,button\]\:before\:transition-none:is(a,button):not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);transition-property:none}}.motion-reduce\:\[a\,button\]\:before\:transition-none:is([data-disable-animations] *):is(a,button):not(#\#):not(#\#):not(#\#):not(#\#):before{content:var(--tw-content);transition-property:none}.\[\&\:not\(\:has\(thead\)\)\>tbody\:first-of-type\>tr\:first-child\>\:first-child\]\:rounded-ss-lg:not(:has(thead)):not(#\#):not(#\#):not(#\#):not(#\#)>tbody:first-of-type>tr:first-child>:first-child{border-start-start-radius:var(--radius-lg)}.\[\&\:not\(\:has\(thead\)\)\>tbody\:first-of-type\>tr\:first-child\>\:first-child\]\:rounded-ss-md:not(:has(thead)):not(#\#):not(#\#):not(#\#):not(#\#)>tbody:first-of-type>tr:first-child>:first-child{border-start-start-radius:var(--radius-md)}.\[\&\:not\(\:has\(thead\)\)\>tbody\:first-of-type\>tr\:first-child\>\:first-child\]\:rounded-ss-sm:not(:has(thead)):not(#\#):not(#\#):not(#\#):not(#\#)>tbody:first-of-type>tr:first-child>:first-child{border-start-start-radius:var(--radius-sm)}.\[\&\:not\(\:has\(thead\)\)\>tbody\:first-of-type\>tr\:first-child\>\:last-child\]\:rounded-se-lg:not(:has(thead)):not(#\#):not(#\#):not(#\#):not(#\#)>tbody:first-of-type>tr:first-child>:last-child{border-start-end-radius:var(--radius-lg)}.\[\&\:not\(\:has\(thead\)\)\>tbody\:first-of-type\>tr\:first-child\>\:last-child\]\:rounded-se-md:not(:has(thead)):not(#\#):not(#\#):not(#\#):not(#\#)>tbody:first-of-type>tr:first-child>:last-child{border-start-end-radius:var(--radius-md)}.\[\&\:not\(\:has\(thead\)\)\>tbody\:first-of-type\>tr\:first-child\>\:last-child\]\:rounded-se-sm:not(:has(thead)):not(#\#):not(#\#):not(#\#):not(#\#)>tbody:first-of-type>tr:first-child>:last-child{border-start-end-radius:var(--radius-sm)}.\[\&\>\*\]\:mb-3:not(#\#):not(#\#):not(#\#):not(#\#)>*{margin-bottom:calc(var(--spacing) * 3)}.\[\&\>\*\]\:break-inside-avoid:not(#\#):not(#\#):not(#\#):not(#\#)>*{break-inside:avoid}.\[\&\>\*\:not\(\:first-of-type\)\]\:rounded-s-none:not(#\#):not(#\#):not(#\#):not(#\#)>:not(:first-of-type){border-start-start-radius:0;border-end-start-radius:0}.\[\&\>\*\:not\(\:first-of-type\)\]\:rounded-t-none:not(#\#):not(#\#):not(#\#):not(#\#)>:not(:first-of-type){border-top-left-radius:0;border-top-right-radius:0}.\[\&\>\*\:not\(\:last-of-type\)\]\:rounded-e-none:not(#\#):not(#\#):not(#\#):not(#\#)>:not(:last-of-type){border-start-end-radius:0;border-end-end-radius:0}.\[\&\>\*\:not\(\:last-of-type\)\]\:rounded-b-none:not(#\#):not(#\#):not(#\#):not(#\#)>:not(:last-of-type){border-bottom-right-radius:0;border-bottom-left-radius:0}.\[\&\>\:not\(\[data-slot\=drawer-close-button\]\)\]\:-ms-4:not(#\#):not(#\#):not(#\#):not(#\#)>:not([data-slot=drawer-close-button]){margin-inline-start:calc(var(--spacing) * -4)}.\[\&\>\:not\(\[data-slot\=drawer-close-button\]\)\]\:-me-4:not(#\#):not(#\#):not(#\#):not(#\#)>:not([data-slot=drawer-close-button]){margin-inline-end:calc(var(--spacing) * -4)}.\[\&\>\[data-slot\=alert-dialog-header\]\+\[data-slot\=alert-dialog-footer\]\]\:pt-0:not(#\#):not(#\#):not(#\#):not(#\#)>[data-slot=alert-dialog-header]+[data-slot=alert-dialog-footer],.\[\&\>\[data-slot\=dialog-header\]\+\[data-slot\=dialog-footer\]\]\:pt-0:not(#\#):not(#\#):not(#\#):not(#\#)>[data-slot=dialog-header]+[data-slot=dialog-footer]{padding-top:0}.\[\&\>\[data-slot\=drawer-close-button\]\]\:inset-e-0:not(#\#):not(#\#):not(#\#):not(#\#)>[data-slot=drawer-close-button]{inset-inline-end:0}.\[\&\>\[data-slot\=drawer-close-button\]\]\:top-0:not(#\#):not(#\#):not(#\#):not(#\#)>[data-slot=drawer-close-button]{top:0}.\[\&\>\[data-slot\=drawer-footer\]\]\:-mb-4:not(#\#):not(#\#):not(#\#):not(#\#)>[data-slot=drawer-footer]{margin-bottom:calc(var(--spacing) * -4)}.\[\&\>\[data-slot\=drawer-header\]\]\:-mt-4:not(#\#):not(#\#):not(#\#):not(#\#)>[data-slot=drawer-header]{margin-top:calc(var(--spacing) * -4)}.\[\&\>\[data-slot\=drawer-header\]\+\[data-slot\=drawer-footer\]\]\:pt-0:not(#\#):not(#\#):not(#\#):not(#\#)>[data-slot=drawer-header]+[data-slot=drawer-footer]{padding-top:0}.\[\&\>img\]\:size-full:not(#\#):not(#\#):not(#\#):not(#\#)>img{width:100%;height:100%}.\[\&\>img\]\:object-cover:not(#\#):not(#\#):not(#\#):not(#\#)>img{object-fit:cover}.\[\&\>svg\]\:size-3\.5:not(#\#):not(#\#):not(#\#):not(#\#)>svg{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.\[\&\>svg\]\:size-4:not(#\#):not(#\#):not(#\#):not(#\#)>svg{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\&\>svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-5:not(#\#):not(#\#):not(#\#):not(#\#)>svg:not([class*=size-]){width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.\[\&\>tbody_th\]\:border-b:not(#\#):not(#\#):not(#\#):not(#\#)>tbody th{border-bottom-style:var(--tw-border-style);border-bottom-width:var(--border-width)}.\[\&\>tbody_th\]\:border-b-0:not(#\#):not(#\#):not(#\#):not(#\#)>tbody th{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.\[\&\>tbody_th\]\:border-dashed:not(#\#):not(#\#):not(#\#):not(#\#)>tbody th{--tw-border-style:dashed;border-style:dashed}.\[\&\>tbody_th\]\:border-border:not(#\#):not(#\#):not(#\#):not(#\#)>tbody th{border-color:var(--border)}.\[\&\>tbody_th\]\:border-border-strong:not(#\#):not(#\#):not(#\#):not(#\#)>tbody th{border-color:var(--border-strong)}.\[\&\>tbody_th\]\:font-medium:not(#\#):not(#\#):not(#\#):not(#\#)>tbody th{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.\[\&\>tbody_th\]\:text-foreground-intense:not(#\#):not(#\#):not(#\#):not(#\#)>tbody th{color:var(--foreground-intense)}.\[\&\>tbody\:last-of-type\>tr\:last-child\>\:first-child\]\:rounded-es-lg:not(#\#):not(#\#):not(#\#):not(#\#)>tbody:last-of-type>tr:last-child>:first-child{border-end-start-radius:var(--radius-lg)}.\[\&\>tbody\:last-of-type\>tr\:last-child\>\:first-child\]\:rounded-es-md:not(#\#):not(#\#):not(#\#):not(#\#)>tbody:last-of-type>tr:last-child>:first-child{border-end-start-radius:var(--radius-md)}.\[\&\>tbody\:last-of-type\>tr\:last-child\>\:first-child\]\:rounded-es-sm:not(#\#):not(#\#):not(#\#):not(#\#)>tbody:last-of-type>tr:last-child>:first-child{border-end-start-radius:var(--radius-sm)}.\[\&\>tbody\:last-of-type\>tr\:last-child\>\:last-child\]\:rounded-ee-lg:not(#\#):not(#\#):not(#\#):not(#\#)>tbody:last-of-type>tr:last-child>:last-child{border-end-end-radius:var(--radius-lg)}.\[\&\>tbody\:last-of-type\>tr\:last-child\>\:last-child\]\:rounded-ee-md:not(#\#):not(#\#):not(#\#):not(#\#)>tbody:last-of-type>tr:last-child>:last-child{border-end-end-radius:var(--radius-md)}.\[\&\>tbody\:last-of-type\>tr\:last-child\>\:last-child\]\:rounded-ee-sm:not(#\#):not(#\#):not(#\#):not(#\#)>tbody:last-of-type>tr:last-child>:last-child{border-end-end-radius:var(--radius-sm)}.\[\&\>tbody\:last-of-type\>tr\:last-child\>td\]\:border-b-0:not(#\#):not(#\#):not(#\#):not(#\#)>tbody:last-of-type>tr:last-child>td,.\[\&\>tbody\:last-of-type\>tr\:last-child\>th\]\:border-b-0:not(#\#):not(#\#):not(#\#):not(#\#)>tbody:last-of-type>tr:last-child>th{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.\[\&\>tbody\>tr\]\:transition-colors:not(#\#):not(#\#):not(#\#):not(#\#)>tbody>tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.\[\&\>tbody\>tr\]\:duration-200:not(#\#):not(#\#):not(#\#):not(#\#)>tbody>tr{--tw-duration:.2s;transition-duration:.2s}@media (prefers-reduced-motion:reduce){.motion-reduce\:\[\&\>tbody\>tr\]\:transition-none:not(#\#):not(#\#):not(#\#):not(#\#)>tbody>tr{transition-property:none}}.motion-reduce\:\[\&\>tbody\>tr\]\:transition-none:is([data-disable-animations] *):not(#\#):not(#\#):not(#\#):not(#\#)>tbody>tr{transition-property:none}.\[\&\>tbody\>tr\:hover\]\:bg-background-subtle:not(#\#):not(#\#):not(#\#):not(#\#)>tbody>tr:hover,.\[\&\>tbody\>tr\:nth-child\(2n\)\]\:bg-background-subtle:not(#\#):not(#\#):not(#\#):not(#\#)>tbody>tr:nth-child(2n),.\[\&\>tbody\>tr\>\:nth-child\(2n\)\]\:bg-background-subtle:not(#\#):not(#\#):not(#\#):not(#\#)>tbody>tr>:nth-child(2n),.\[\&\>tbody\>tr\[data-highlighted\]\]\:bg-background-subtle:not(#\#):not(#\#):not(#\#):not(#\#)>tbody>tr[data-highlighted]{background-color:var(--background-subtle)}.\[\&\>thead\>tr\:first-child\>th\:first-child\]\:rounded-ss-lg:not(#\#):not(#\#):not(#\#):not(#\#)>thead>tr:first-child>th:first-child{border-start-start-radius:var(--radius-lg)}.\[\&\>thead\>tr\:first-child\>th\:first-child\]\:rounded-ss-md:not(#\#):not(#\#):not(#\#):not(#\#)>thead>tr:first-child>th:first-child{border-start-start-radius:var(--radius-md)}.\[\&\>thead\>tr\:first-child\>th\:first-child\]\:rounded-ss-sm:not(#\#):not(#\#):not(#\#):not(#\#)>thead>tr:first-child>th:first-child{border-start-start-radius:var(--radius-sm)}.\[\&\>thead\>tr\:first-child\>th\:last-child\]\:rounded-se-lg:not(#\#):not(#\#):not(#\#):not(#\#)>thead>tr:first-child>th:last-child{border-start-end-radius:var(--radius-lg)}.\[\&\>thead\>tr\:first-child\>th\:last-child\]\:rounded-se-md:not(#\#):not(#\#):not(#\#):not(#\#)>thead>tr:first-child>th:last-child{border-start-end-radius:var(--radius-md)}.\[\&\>thead\>tr\:first-child\>th\:last-child\]\:rounded-se-sm:not(#\#):not(#\#):not(#\#):not(#\#)>thead>tr:first-child>th:last-child{border-start-end-radius:var(--radius-sm)}.\[\&\>thead\>tr\:last-child\>th\:first-child\]\:rounded-es-lg:not(#\#):not(#\#):not(#\#):not(#\#)>thead>tr:last-child>th:first-child{border-end-start-radius:var(--radius-lg)}.\[\&\>thead\>tr\:last-child\>th\:first-child\]\:rounded-es-md:not(#\#):not(#\#):not(#\#):not(#\#)>thead>tr:last-child>th:first-child{border-end-start-radius:var(--radius-md)}.\[\&\>thead\>tr\:last-child\>th\:first-child\]\:rounded-es-sm:not(#\#):not(#\#):not(#\#):not(#\#)>thead>tr:last-child>th:first-child{border-end-start-radius:var(--radius-sm)}.\[\&\>thead\>tr\:last-child\>th\:last-child\]\:rounded-ee-lg:not(#\#):not(#\#):not(#\#):not(#\#)>thead>tr:last-child>th:last-child{border-end-end-radius:var(--radius-lg)}.\[\&\>thead\>tr\:last-child\>th\:last-child\]\:rounded-ee-md:not(#\#):not(#\#):not(#\#):not(#\#)>thead>tr:last-child>th:last-child{border-end-end-radius:var(--radius-md)}.\[\&\>thead\>tr\:last-child\>th\:last-child\]\:rounded-ee-sm:not(#\#):not(#\#):not(#\#):not(#\#)>thead>tr:last-child>th:last-child{border-end-end-radius:var(--radius-sm)}.\[\&\>thead\>tr\>th\]\:bg-background-muted:not(#\#):not(#\#):not(#\#):not(#\#)>thead>tr>th{background-color:var(--background-muted)}.\[\&\>thead\>tr\>th\]\:font-medium:not(#\#):not(#\#):not(#\#):not(#\#)>thead>tr>th{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.\[\&\>thead\>tr\>th\]\:text-foreground-intense:not(#\#):not(#\#):not(#\#):not(#\#)>thead>tr>th{color:var(--foreground-intense)}.\[\&\>video\]\:size-full:not(#\#):not(#\#):not(#\#):not(#\#)>video{width:100%;height:100%}.\[\&\>video\]\:object-cover:not(#\#):not(#\#):not(#\#):not(#\#)>video{object-fit:cover}@media (prefers-reduced-motion:no-preference){.motion-safe\:\[\&\[data-ending-style\]\:not\(\[data-limited\]\)\:not\(\[data-swipe-direction\]\)\]\:\[transform\:translateY\(-150\%\)\]:not([data-disable-animations] *)[data-ending-style]:not([data-limited]):not([data-swipe-direction]):not(#\#):not(#\#):not(#\#):not(#\#){transform:translateY(-150%)}.motion-safe\:\[\&\[data-ending-style\]\:not\(\[data-limited\]\)\:not\(\[data-swipe-direction\]\)\]\:\[transform\:translateY\(150\%\)\]:not([data-disable-animations] *)[data-ending-style]:not([data-limited]):not([data-swipe-direction]):not(#\#):not(#\#):not(#\#):not(#\#){transform:translateY(150%)}}:root:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#),.light:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#){--foreground:#4a5565;--foreground-subtle:#99a1af;--foreground-muted:#6a7282;--foreground-strong:#364153;--foreground-emphasis:#1e2939;--foreground-intense:#101828;--foreground-inverse:#fff;--background:#fff;--background-subtle:#f9fafb;--background-muted:#f3f4f6;--background-strong:#e5e7eb;--background-inverse:#030712;--border:#e5e7eb;--border-muted:#f3f4f6;--border-strong:#d1d5dc;--border-emphasis:#99a1af;--border-intense:#6a7282;--border-inverse:#1e2939;--border-overlay:#f3f4f6;--primary:#101828;--primary-subtle:#f3f4f6;--primary-soft:#e5e7eb;--primary-muted:#364153;--primary-strong:#030712;--primary-foreground:#fff;--secondary:#90c5ff;--secondary-subtle:#3080ff1a;--secondary-soft:#3080ff33;--secondary-muted:#bedbff;--secondary-strong:#54a2ff;--secondary-emphasis:#3080ff;--secondary-intense:#155dfc;--secondary-foreground:#030712;--error:#ffa3a3;--error-subtle:#fb2c361a;--error-soft:#fb2c3633;--error-muted:#ffcaca;--error-strong:#ff6568;--error-emphasis:#fb2c36;--error-intense:#e40014;--error-foreground:#030712;--success:#5ee9b5;--success-subtle:#00bb7f1a;--success-soft:#00bb7f33;--success-muted:#a4f4cf;--success-strong:#00d294;--success-emphasis:#00bb7f;--success-intense:#009767;--success-foreground:#030712;--warning:#ffb96d;--warning-subtle:#fe6e001a;--warning-soft:#fe6e0033;--warning-muted:#ffd7a8;--warning-strong:#ff8b1a;--warning-emphasis:#fe6e00;--warning-intense:#f05100;--warning-foreground:#030712;--info:#77d4ff;--info-subtle:#00a5ef1a;--info-soft:#00a5ef33;--info-muted:#b8e6fe;--info-strong:#00bcfe;--info-emphasis:#00a5ef;--info-intense:#0084cc;--info-foreground:#030712;--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--focus-ring:#d1d5dc;--focus-ring-input:#e5e7eb;--focus-ring-primary:#d1d5dc;--focus-ring-secondary:#3080ff4d;--focus-ring-error:#fb2c364d;--focus-ring-success:#00bb7f4d;--focus-ring-warning:#fe6e004d;--focus-ring-info:#00a5ef4d;--focus-ring-light:#ffffff40;--border-width:1px;--radius:.875rem;--radius-4xs:calc(var(--radius) * 2 / 7);--radius-3xs:calc(var(--radius) * 3 / 7);--radius-2xs:calc(var(--radius) * 4 / 7);--radius-xs:calc(var(--radius) * 5 / 7);--radius-sm:calc(var(--radius) * 6 / 7);--radius-md:var(--radius);--radius-lg:calc(var(--radius) * 8 / 7);--radius-xl:calc(var(--radius) * 9 / 7);--radius-2xl:calc(var(--radius) * 12 / 7);--radius-3xl:calc(var(--radius) * 16 / 7);--radius-4xl:calc(var(--radius) * 20 / 7);--shadow-color:#6a72822e;--selection-color:#0307121a;--opacity-disabled:.65}@supports (color:lab(0% 0 0)){:root:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#),.light:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#){--foreground:lab(35.6337% -1.58697 -10.8425);--foreground-subtle:lab(65.9269% -.832707 -8.17473);--foreground-muted:lab(47.7841% -.393182 -10.0268);--foreground-strong:lab(27.1134% -.956401 -12.3224);--foreground-emphasis:lab(16.1051% -1.18239 -11.7533);--foreground-intense:lab(8.11897% .811279 -12.254);--foreground-inverse:lab(100% 0 0);--background:lab(100% 0 0);--background-subtle:lab(98.2596% -.247031 -.706708);--background-muted:lab(96.1596% -.0823438 -1.13575);--background-strong:lab(91.6229% -.159115 -2.26791);--background-inverse:lab(1.90334% .278696 -5.48866);--border:lab(91.6229% -.159115 -2.26791);--border-muted:lab(96.1596% -.0823438 -1.13575);--border-strong:lab(85.1236% -.612259 -3.7138);--border-emphasis:lab(65.9269% -.832707 -8.17473);--border-intense:lab(47.7841% -.393182 -10.0268);--border-inverse:lab(16.1051% -1.18239 -11.7533);--border-overlay:lab(96.1596% -.0823438 -1.13575);--primary:lab(8.11897% .811279 -12.254);--primary-subtle:lab(96.1596% -.0823438 -1.13575);--primary-soft:lab(91.6229% -.159115 -2.26791);--primary-muted:lab(27.1134% -.956401 -12.3224);--primary-strong:lab(1.90334% .278696 -5.48866);--primary-foreground:lab(100% 0 0);--secondary:lab(77.5052% -6.4629 -36.42);--secondary-subtle:lab(54.1736% 13.3369 -74.6839/.1);--secondary-soft:lab(54.1736% 13.3369 -74.6839/.2);--secondary-muted:lab(86.15% -4.04379 -21.0797);--secondary-strong:lab(65.0361% -1.42065 -56.9802);--secondary-emphasis:lab(54.1736% 13.3369 -74.6839);--secondary-intense:lab(44.0605% 29.0279 -86.0352);--secondary-foreground:lab(1.90334% .278696 -5.48866);--error:lab(76.5514% 36.422 15.5335);--error-subtle:lab(55.4814% 75.0732 48.8528/.1);--error-soft:lab(55.4814% 75.0732 48.8528/.2);--error-muted:lab(86.017% 19.8815 7.75869);--error-strong:lab(63.7053% 60.745 31.3109);--error-emphasis:lab(55.4814% 75.0732 48.8528);--error-intense:lab(48.4493% 77.4328 61.5452);--error-foreground:lab(1.90334% .278696 -5.48866);--success:lab(83.9203% -48.7124 13.8849);--success-subtle:lab(66.9756% -58.27 19.5419/.1);--success-soft:lab(66.9756% -58.27 19.5419/.2);--success-muted:lab(90.2247% -31.039 9.47084);--success-strong:lab(75.0771% -60.7313 19.4147);--success-emphasis:lab(66.9756% -58.27 19.5419);--success-intense:lab(55.0481% -49.9246 15.93);--success-foreground:lab(1.90334% .278696 -5.48866);--warning:lab(80.8059% 21.7313 50.4455);--warning-subtle:lab(64.272% 57.1788 90.3583/.1);--warning-soft:lab(64.272% 57.1788 90.3583/.2);--warning-muted:lab(88.4871% 9.94918 28.8378);--warning-strong:lab(70.0429% 42.5156 75.8207);--warning-emphasis:lab(64.272% 57.1788 90.3583);--warning-intense:lab(57.1026% 64.2584 89.8886);--warning-foreground:lab(1.90334% .278696 -5.48866);--info:lab(80.3307% -20.2945 -31.385);--info-subtle:lab(63.3038% -18.433 -51.0407/.1);--info-soft:lab(63.3038% -18.433 -51.0407/.2);--info-muted:lab(88.6983% -11.3978 -16.8488);--info-strong:lab(70.687% -23.6078 -45.9483);--info-emphasis:lab(63.3038% -18.433 -51.0407);--info-intense:lab(51.7754% -11.4712 -49.8349);--info-foreground:lab(1.90334% .278696 -5.48866);--focus-ring:lab(85.1236% -.612259 -3.7138);--focus-ring-input:lab(91.6229% -.159115 -2.26791);--focus-ring-primary:lab(85.1236% -.612259 -3.7138);--focus-ring-secondary:lab(54.1736% 13.3369 -74.6839/.3);--focus-ring-error:lab(55.4814% 75.0732 48.8528/.3);--focus-ring-success:lab(66.9756% -58.27 19.5419/.3);--focus-ring-warning:lab(64.272% 57.1788 90.3583/.3);--focus-ring-info:lab(63.3038% -18.433 -51.0407/.3);--focus-ring-light:lab(100% 0 0/.25);--shadow-color:lab(47.7841% -.393182 -10.0268/.18);--selection-color:lab(1.90334% .278696 -5.48866/.1)}}.dark:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#){--foreground:#d1d5dc;--foreground-subtle:#6a7282;--foreground-muted:#99a1af;--foreground-strong:#e5e7eb;--foreground-emphasis:#f3f4f6;--foreground-intense:#fff;--foreground-inverse:#101828;--background:#030712;--background-subtle:#6a728214;--background-muted:#101828;--background-strong:#1e2939;--background-inverse:#fff;--border:#1e2939;--border-muted:#101828;--border-strong:#364153;--border-emphasis:#4a5565;--border-intense:#6a7282;--border-inverse:#e5e7eb;--border-overlay:#1e2939;--primary:#fff;--primary-subtle:#101828;--primary-soft:#1e2939;--primary-muted:#e5e7eb;--primary-strong:#fff;--primary-foreground:#101828;--secondary:#54a2ff;--secondary-subtle:#3080ff1a;--secondary-soft:#3080ff33;--secondary-muted:#90c5ff;--secondary-strong:#54a2ff;--secondary-emphasis:#3080ff;--secondary-intense:#155dfc;--secondary-foreground:#030712;--error:#ff6568;--error-subtle:#fb2c361a;--error-soft:#fb2c3633;--error-muted:#ffa3a3;--error-strong:#ff6568;--error-emphasis:#fb2c36;--error-intense:#e40014;--error-foreground:#030712;--success:#00d294;--success-subtle:#00bb7f1a;--success-soft:#00bb7f33;--success-muted:#5ee9b5;--success-strong:#00d294;--success-emphasis:#00bb7f;--success-intense:#009767;--success-foreground:#030712;--warning:#ff8b1a;--warning-subtle:#fe6e001a;--warning-soft:#fe6e0033;--warning-muted:#ffb96d;--warning-strong:#ff8b1a;--warning-emphasis:#fe6e00;--warning-intense:#f05100;--warning-foreground:#030712;--info:#00bcfe;--info-subtle:#00a5ef1a;--info-soft:#00a5ef33;--info-muted:#77d4ff;--info-strong:#00bcfe;--info-emphasis:#00a5ef;--info-intense:#0084cc;--info-foreground:#030712;--focus-ring:#364153;--focus-ring-input:#1e2939;--focus-ring-primary:#364153;--focus-ring-secondary:#3080ff80;--focus-ring-error:#fb2c3680;--focus-ring-success:#00bb7f80;--focus-ring-warning:#fe6e0080;--focus-ring-info:#00a5ef80;--focus-ring-light:#ffffff40;--shadow-color:#0000004d;--selection-color:#ffffff26}@supports (color:lab(0% 0 0)){.dark:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#){--foreground:lab(85.1236% -.612259 -3.7138);--foreground-subtle:lab(47.7841% -.393182 -10.0268);--foreground-muted:lab(65.9269% -.832707 -8.17473);--foreground-strong:lab(91.6229% -.159115 -2.26791);--foreground-emphasis:lab(96.1596% -.0823438 -1.13575);--foreground-intense:lab(100% 0 0);--foreground-inverse:lab(8.11897% .811279 -12.254);--background:lab(1.90334% .278696 -5.48866);--background-subtle:lab(47.7841% -.393182 -10.0268/.08);--background-muted:lab(8.11897% .811279 -12.254);--background-strong:lab(16.1051% -1.18239 -11.7533);--background-inverse:lab(100% 0 0);--border:lab(16.1051% -1.18239 -11.7533);--border-muted:lab(8.11897% .811279 -12.254);--border-strong:lab(27.1134% -.956401 -12.3224);--border-emphasis:lab(35.6337% -1.58697 -10.8425);--border-intense:lab(47.7841% -.393182 -10.0268);--border-inverse:lab(91.6229% -.159115 -2.26791);--border-overlay:lab(16.1051% -1.18239 -11.7533);--primary:lab(100% 0 0);--primary-subtle:lab(8.11897% .811279 -12.254);--primary-soft:lab(16.1051% -1.18239 -11.7533);--primary-muted:lab(91.6229% -.159115 -2.26791);--primary-strong:lab(100% 0 0);--primary-foreground:lab(8.11897% .811279 -12.254);--secondary:lab(65.0361% -1.42065 -56.9802);--secondary-subtle:lab(54.1736% 13.3369 -74.6839/.1);--secondary-soft:lab(54.1736% 13.3369 -74.6839/.2);--secondary-muted:lab(77.5052% -6.4629 -36.42);--secondary-strong:lab(65.0361% -1.42065 -56.9802);--secondary-emphasis:lab(54.1736% 13.3369 -74.6839);--secondary-intense:lab(44.0605% 29.0279 -86.0352);--secondary-foreground:lab(1.90334% .278696 -5.48866);--error:lab(63.7053% 60.745 31.3109);--error-subtle:lab(55.4814% 75.0732 48.8528/.1);--error-soft:lab(55.4814% 75.0732 48.8528/.2);--error-muted:lab(76.5514% 36.422 15.5335);--error-strong:lab(63.7053% 60.745 31.3109);--error-emphasis:lab(55.4814% 75.0732 48.8528);--error-intense:lab(48.4493% 77.4328 61.5452);--error-foreground:lab(1.90334% .278696 -5.48866);--success:lab(75.0771% -60.7313 19.4147);--success-subtle:lab(66.9756% -58.27 19.5419/.1);--success-soft:lab(66.9756% -58.27 19.5419/.2);--success-muted:lab(83.9203% -48.7124 13.8849);--success-strong:lab(75.0771% -60.7313 19.4147);--success-emphasis:lab(66.9756% -58.27 19.5419);--success-intense:lab(55.0481% -49.9246 15.93);--success-foreground:lab(1.90334% .278696 -5.48866);--warning:lab(70.0429% 42.5156 75.8207);--warning-subtle:lab(64.272% 57.1788 90.3583/.1);--warning-soft:lab(64.272% 57.1788 90.3583/.2);--warning-muted:lab(80.8059% 21.7313 50.4455);--warning-strong:lab(70.0429% 42.5156 75.8207);--warning-emphasis:lab(64.272% 57.1788 90.3583);--warning-intense:lab(57.1026% 64.2584 89.8886);--warning-foreground:lab(1.90334% .278696 -5.48866);--info:lab(70.687% -23.6078 -45.9483);--info-subtle:lab(63.3038% -18.433 -51.0407/.1);--info-soft:lab(63.3038% -18.433 -51.0407/.2);--info-muted:lab(80.3307% -20.2945 -31.385);--info-strong:lab(70.687% -23.6078 -45.9483);--info-emphasis:lab(63.3038% -18.433 -51.0407);--info-intense:lab(51.7754% -11.4712 -49.8349);--info-foreground:lab(1.90334% .278696 -5.48866);--focus-ring:lab(27.1134% -.956401 -12.3224);--focus-ring-input:lab(16.1051% -1.18239 -11.7533);--focus-ring-primary:lab(27.1134% -.956401 -12.3224);--focus-ring-secondary:lab(54.1736% 13.3369 -74.6839/.5);--focus-ring-error:lab(55.4814% 75.0732 48.8528/.5);--focus-ring-success:lab(66.9756% -58.27 19.5419/.5);--focus-ring-warning:lab(64.272% 57.1788 90.3583/.5);--focus-ring-info:lab(63.3038% -18.433 -51.0407/.5);--focus-ring-light:lab(100% 0 0/.25);--shadow-color:lab(0% 0 0/.3);--selection-color:lab(100% 0 0/.15)}}@keyframes ping-paced{25%,to{opacity:0;transform:scale(2.2)}}@media (prefers-reduced-motion:reduce){.skeleton-shimmer:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):after{animation:none}}[data-disable-animations]:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) .skeleton-shimmer:after{animation:none}[dir=rtl]:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) .skeleton-shimmer:after{animation-direction:reverse}@keyframes skeleton-shimmer{to{transform:translate(100%)}}[data-disable-animations]:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) [data-slot=toast-progress-indicator]{animation:none}@keyframes toast-progress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@keyframes shake{10%,90%{transform:translate(-1px)}20%,80%{transform:translate(2px)}30%,50%,70%{transform:translate(-4px)}40%,60%{transform:translate(4px)}}@keyframes text-caret{50%{opacity:0}}@property --gradient-glow-rotation{syntax:"<angle>";inherits:false;initial-value:0deg}@keyframes gradient-glow{to{--gradient-glow-rotation:360deg}}@keyframes gradient-glow-pulse{0%,to{transform:scale(.94)}50%{transform:scale(1.03)}}@property --border-beam-angle{syntax:"<angle>";inherits:false;initial-value:0deg}@keyframes border-beam{to{--border-beam-angle:360deg}}[data-slot=toast]:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#){background-color:var(--background);color:var(--foreground);border-color:var(--border-overlay,var(--border));isolation:isolate}.hscroll:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#){scrollbar-width:thin;scrollbar-color:transparent transparent;overflow:auto hidden}.hscroll:hover:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#){scrollbar-color:#94a3b880 transparent}.hscroll:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::-webkit-scrollbar{height:6px}.hscroll:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::-webkit-scrollbar-track{background:0 0}.hscroll:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::-webkit-scrollbar-thumb{background:0 0;border-radius:999px}.hscroll:hover:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::-webkit-scrollbar-thumb{background:#94a3b880}.hvscroll:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#){scrollbar-width:thin;scrollbar-color:transparent transparent;overflow:auto}.hvscroll:hover:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#){scrollbar-color:#94a3b880 transparent}.hvscroll:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::-webkit-scrollbar{width:6px;height:6px}.hvscroll:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::-webkit-scrollbar-track{background:0 0}.hvscroll:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::-webkit-scrollbar-thumb{background:0 0;border-radius:999px}.hvscroll:hover:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::-webkit-scrollbar-thumb{background:#94a3b880}@property --tw-border-spacing-x{syntax:"<length>";inherits:false;initial-value:0}@property --tw-border-spacing-y{syntax:"<length>";inherits:false;initial-value:0}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-pan-x{syntax:"*";inherits:false}@property --tw-pan-y{syntax:"*";inherits:false}@property --tw-pinch-zoom{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes pulse{50%{opacity:.5}}
|
|
93
93
|
/*$vite$:1*/</style>
|