@joy-ride/game 0.29.0 → 0.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bookmarklet.d.ts +1 -1
- package/bookmarklet.js +1 -1
- package/embed-chunks/{CodeBlock-C-uqwCCE.js → CodeBlock-CmdFck30.js} +1 -1
- package/embed-chunks/{Documentation-CCpuHmnH.js → Documentation-C5yd8S9T.js} +2 -2
- package/embed-chunks/{EmbedPanel-CltTMTEZ.js → EmbedPanel-BDZ9gPAY.js} +1 -1
- package/embed-chunks/{JoyRideView-dbTrQ6zf.js → JoyRideView-CGO2LlqF.js} +1 -1
- package/embed-chunks/{configuration~index~embed-E9p3ySKG.js → configuration~index~embed-CRXVkf5S.js} +1 -1
- package/embed-chunks/configuration~index~embed~bookmarklet-6dUo7fKK.js +1 -0
- package/embed-chunks/{runtime~JoyRideView~browser-session-core-hIS-xQed.js → runtime~JoyRideView~browser-session-core-W3T3KGBY.js} +1 -1
- package/embed-chunks/{runtime~browser-session-core-DfamcX9U.js → runtime~browser-session-core-ABdeer0k.js} +1 -1
- package/embed-chunks/{runtime~index~embed-Bm1M0iiY.js → runtime~index~embed-Cdk1V9Yq.js} +2 -2
- package/embed-chunks/{runtime~index~embed~vehicle-popover~browser-session-core~renderer-iEgK-2uE.js → runtime~index~embed~vehicle-popover~browser-session-core~renderer-DKaOSaI2.js} +1 -1
- package/embed-chunks/{runtime~vehicle-popover-CA1iUObq.js → runtime~vehicle-popover-B9t-I45z.js} +1 -1
- package/embed-chunks/{runtime~vehicle-popover~browser-session-core-B5JA0YNt.js → runtime~vehicle-popover~browser-session-core-hzAmTyN1.js} +1 -1
- package/embed-chunks/{runtime~vehicle-popover~browser-session-core~renderer-FYzuLkAN.js → runtime~vehicle-popover~browser-session-core~renderer-DRXQjSAc.js} +1 -1
- package/embed-chunks/{runtime~vehicle-popover~renderer-B44auM3E.js → runtime~vehicle-popover~renderer-CFfqUX4J.js} +3 -3
- package/embed-chunks/{src-sen5Yp2R.js → src-v40jgxEo.js} +2 -2
- package/embed-chunks/{vehicle-catalog~index~embed-CKTjozQr.js → vehicle-catalog~index~embed-CkmzFsdm.js} +1 -1
- package/embed-chunks/{vehicle-popover-RZXv8RjT.js → vehicle-popover-Cah1Jwwj.js} +1 -1
- package/embed.js +1 -1
- package/{index-DztYDfpU.d.ts → index-Cr-53zu5.d.ts} +2 -1
- package/index.d.ts +2 -2
- package/index.js +1 -1
- package/npm-chunks/{Documentation-DjEkQvvy.js → Documentation-C8s_aL0s.js} +2 -2
- package/npm-chunks/{EmbedPanel-DBoR1Dci.js → EmbedPanel-a4F6OnOH.js} +1 -1
- package/npm-chunks/{JoyRideView-CqVA2IWS.js → JoyRideView-BAXi_AFI.js} +1 -1
- package/npm-chunks/{VehicleHint-BaLJr7O5.js → VehicleHint-CS6L9FO9.js} +1 -1
- package/npm-chunks/{configuration~react-Wr_iMhZB.js → configuration~react-B3URe5Hp.js} +1 -1
- package/npm-chunks/configuration~react~vehicle-popover~JoyRideView~browser-session-core~renderer-BASSGxIF.js +1 -0
- package/npm-chunks/{runtime~JoyRideView~browser-session-core-Del73NUd.js → runtime~JoyRideView~browser-session-core-7d-89abo.js} +1 -1
- package/npm-chunks/runtime~browser-session-core-CTEOkb8N.js +1 -0
- package/npm-chunks/{runtime~react-De_WENZT.js → runtime~react-DuHGu6qC.js} +1 -1
- package/npm-chunks/{runtime~react~browser-session-core-DPWW9TnO.js → runtime~react~browser-session-core-BOMyEw_b.js} +1 -1
- package/npm-chunks/{runtime~react~vehicle-popover~browser-session-core~renderer-DKpExYhH.js → runtime~react~vehicle-popover~browser-session-core~renderer-5hzldoVR.js} +1 -1
- package/npm-chunks/{runtime~vehicle-popover-QsSxwpN_.js → runtime~vehicle-popover-DF_vkfqT.js} +1 -1
- package/npm-chunks/{runtime~vehicle-popover~browser-session-core-CrZME-1Y.js → runtime~vehicle-popover~browser-session-core-CDg6b0po.js} +1 -1
- package/npm-chunks/{runtime~vehicle-popover~browser-session-core~renderer-L2_7uaz1.js → runtime~vehicle-popover~browser-session-core~renderer-D_NBXTcG.js} +1 -1
- package/npm-chunks/{runtime~vehicle-popover~renderer-CTrAfI2e.js → runtime~vehicle-popover~renderer-C7Eq6aHr.js} +3 -3
- package/npm-chunks/{theme-CyUONXaD.js → theme-CkSpDTIL.js} +1 -1
- package/npm-chunks/{vehicle-catalog~react~browser-session-core-Ck9lXSBn.js → vehicle-catalog~react~browser-session-core-CxP3HQ_B.js} +1 -1
- package/npm-chunks/{vehicle-popover-CAG797YN.js → vehicle-popover-CYhUl7Ae.js} +1 -1
- package/package.json +1 -1
- package/{playground-B7tHL_J3.d.ts → playground-C1crX0w5.d.ts} +0 -5
- package/react.d.ts +2 -2
- package/react.js +10 -10
- package/embed-chunks/configuration~index~embed~bookmarklet-5ym-TX_u.js +0 -1
- package/npm-chunks/configuration~react~vehicle-popover~JoyRideView~browser-session-core~renderer-BwD100vD.js +0 -1
- package/npm-chunks/runtime~browser-session-core-Cicrs9mu.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,t}from"./rolldown-runtime-XKyaHtl9.js";import{n,r}from"./controls~index~embed-x6xN6BFw.js";import{a as i,t as a}from"./runtime~index~embed~vehicle-popover~browser-session-core~renderer-iEgK-2uE.js";import{c as o,i as s,n as c,r as l,s as u,t as d}from"./configuration~index~embed~bookmarklet~vehicle-popover~EmbedPanel~Documentation~JoyRideView~~n76yhyet-C39ouO-X.js";import{n as f}from"./configuration~index~embed~bookmarklet~vehicle-popover~EmbedPanel~JoyRideView~browser-sessio~iaaa3ndj-DF2q8EGO.js";import{c as p,f as m,g as h,i as g,l as _,u as v}from"./configuration~index~embed~bookmarklet-5ym-TX_u.js";import{_ as y,u as b}from"./runtime~index~embed-Bm1M0iiY.js";import{i as x,r as S,t as C}from"./vehicle-catalog~index~embed-CKTjozQr.js";import{r as w,t as T}from"./runtime~vehicle-popover~renderer-B44auM3E.js";import{r as E}from"./controls~index~embed~vehicle-popover~JoyRideView~browser-session-core~renderer-Cnf30Q_A.js";import{t as D}from"./runtime~vehicle-popover~browser-session-core-B5JA0YNt.js";import{t as O}from"./runtime~vehicle-popover-CA1iUObq.js";import{n as k,r as A,t as j}from"./react-vendor~index~embed~vehicle-popover~EmbedPanel~Documentation~JoyRideView-DSe2UFlv.js";import{a as M,i as N,o as P}from"./src-sen5Yp2R.js";import{A as F,B as I,C as L,D as R,E as z,F as B,H as V,I as H,L as ee,M as te,N as ne,O as U,P as re,R as ie,S as W,T as G,U as ae,V as oe,_ as se,a as ce,b as le,c as ue,d as de,f as K,g as fe,h as pe,i as me,j as q,k as he,m as ge,n as _e,o as J,p as ve,r as ye,s as be,t as xe,u as Se,v as Ce,w as we,x as Y,y as Te,z as Ee}from"./X.es-BZV6GJho.js";function X(e){return e?.ownerDocument||document}var Z=e(A(),1),De=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M228,128a100,100,0,0,1-98.66,100H128a99.39,99.39,0,0,1-68.62-27.29,12,12,0,0,1,16.48-17.45,76,76,0,1,0-1.57-109c-.13.13-.25.25-.39.37L54.89,92H72a12,12,0,0,1,0,24H24a12,12,0,0,1-12-12V56a12,12,0,0,1,24,0V76.72L57.48,57.06A100,100,0,0,1,228,128Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L44.59,96H72a8,8,0,0,1,0,16H24a8,8,0,0,1-8-8V56a8,8,0,0,1,16,0V85.8L60.25,60A96,96,0,0,1,224,128Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L60.63,81.29l17,17A8,8,0,0,1,72,112H24a8,8,0,0,1-8-8V56A8,8,0,0,1,29.66,50.3L49.31,70,60.25,60A96,96,0,0,1,224,128Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M222,128a94,94,0,0,1-92.74,94H128a93.43,93.43,0,0,1-64.5-25.65,6,6,0,1,1,8.24-8.72A82,82,0,1,0,70,70l-.19.19L39.44,98H72a6,6,0,0,1,0,12H24a6,6,0,0,1-6-6V56a6,6,0,0,1,12,0V90.34L61.63,61.4A94,94,0,0,1,222,128Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L44.59,96H72a8,8,0,0,1,0,16H24a8,8,0,0,1-8-8V56a8,8,0,0,1,16,0V85.8L60.25,60A96,96,0,0,1,224,128Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M220,128a92,92,0,0,1-90.77,92H128a91.47,91.47,0,0,1-63.13-25.1,4,4,0,1,1,5.5-5.82A84,84,0,1,0,68.6,68.57l-.13.12L34.3,100H72a4,4,0,0,1,0,8H24a4,4,0,0,1-4-4V56a4,4,0,0,1,8,0V94.89l35-32A92,92,0,0,1,220,128Z`}))]]),Oe=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,44H160a43.86,43.86,0,0,0-32,13.85A43.86,43.86,0,0,0,96,44H24A12,12,0,0,0,12,56V200a12,12,0,0,0,12,12H96a20,20,0,0,1,20,20,12,12,0,0,0,24,0,20,20,0,0,1,20-20h72a12,12,0,0,0,12-12V56A12,12,0,0,0,232,44ZM96,188H36V68H96a20,20,0,0,1,20,20V192.81A43.79,43.79,0,0,0,96,188Zm124,0H160a43.71,43.71,0,0,0-20,4.83V88a20,20,0,0,1,20-20h60ZM164,96h32a12,12,0,0,1,0,24H164a12,12,0,0,1,0-24Zm44,52a12,12,0,0,1-12,12H164a12,12,0,0,1,0-24h32A12,12,0,0,1,208,148Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,56V200H160a32,32,0,0,0-32,32V88a32,32,0,0,1,32-32Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64ZM160,88h40a8,8,0,0,1,0,16H160a8,8,0,0,1,0-16Zm48,40a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,128Zm0,32a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,160Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,48H168a32,32,0,0,0-32,32v87.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V80A32,32,0,0,0,88,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,23.94,7.9,7.9,0,0,0,5.12,7.55A8,8,0,0,0,136,232a24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM208,168H168.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h39.73a8.17,8.17,0,0,1,8.25,7.47A8,8,0,0,1,208,168Zm0-32H168.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h39.73a8.17,8.17,0,0,1,8.25,7.47A8,8,0,0,1,208,136Zm0-32H168.27A8.17,8.17,0,0,1,160,96.53,8,8,0,0,1,168,88h39.73A8.17,8.17,0,0,1,216,95.47,8,8,0,0,1,208,104Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,50H160a38,38,0,0,0-32,17.55A38,38,0,0,0,96,50H24a6,6,0,0,0-6,6V200a6,6,0,0,0,6,6H96a26,26,0,0,1,26,26,6,6,0,0,0,12,0,26,26,0,0,1,26-26h72a6,6,0,0,0,6-6V56A6,6,0,0,0,232,50ZM96,194H30V62H96a26,26,0,0,1,26,26V204.31A37.86,37.86,0,0,0,96,194Zm130,0H160a37.87,37.87,0,0,0-26,10.32V88a26,26,0,0,1,26-26h66ZM160,90h40a6,6,0,0,1,0,12H160a6,6,0,0,1,0-12Zm46,38a6,6,0,0,1-6,6H160a6,6,0,0,1,0-12h40A6,6,0,0,1,206,128Zm0,32a6,6,0,0,1-6,6H160a6,6,0,0,1,0-12h40A6,6,0,0,1,206,160Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64ZM160,88h40a8,8,0,0,1,0,16H160a8,8,0,0,1,0-16Zm48,40a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,128Zm0,32a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,160Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,52H160a36,36,0,0,0-32,19.54A36,36,0,0,0,96,52H24a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H96a28,28,0,0,1,28,28,4,4,0,0,0,8,0,28,28,0,0,1,28-28h72a4,4,0,0,0,4-4V56A4,4,0,0,0,232,52ZM96,196H28V60H96a28,28,0,0,1,28,28V209.4A35.94,35.94,0,0,0,96,196Zm132,0H160a35.94,35.94,0,0,0-28,13.41V88a28,28,0,0,1,28-28h68ZM160,92h40a4,4,0,0,1,0,8H160a4,4,0,0,1,0-8Zm44,36a4,4,0,0,1-4,4H160a4,4,0,0,1,0-8h40A4,4,0,0,1,204,128Zm0,32a4,4,0,0,1-4,4H160a4,4,0,0,1,0-8h40A4,4,0,0,1,204,160Z`}))]]),ke=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M236,108H213L170.83,65.86A19.86,19.86,0,0,0,156.69,60H48.28a20,20,0,0,0-16.64,8.91L2,113.34A12,12,0,0,0,0,120v48a20,20,0,0,0,20,20H33.5a34,34,0,0,0,65,0h59a34,34,0,0,0,65,0H236a20,20,0,0,0,20-20V128A20,20,0,0,0,236,108ZM50.42,84H155l24,24H34.42ZM66,188a10,10,0,1,1,10-10A10,10,0,0,1,66,188Zm124,0a10,10,0,1,1,10-10A10,10,0,0,1,190,188Zm42-24H221A34,34,0,0,0,159,164H97A34,34,0,0,0,35,164H24V132H232Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M88,176a24,24,0,1,1-24-24A24,24,0,0,1,88,176Zm104-24a24,24,0,1,0,24,24A24,24,0,0,0,192,152ZM162.34,74.34A8,8,0,0,0,156.69,72H44.28a8,8,0,0,0-6.66,3.56L8,120H208Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M240,112H211.31L168,68.69A15.86,15.86,0,0,0,156.69,64H44.28A16,16,0,0,0,31,71.12L1.34,115.56A8.07,8.07,0,0,0,0,120v48a16,16,0,0,0,16,16H33a32,32,0,0,0,62,0h66a32,32,0,0,0,62,0h17a16,16,0,0,0,16-16V128A16,16,0,0,0,240,112ZM44.28,80H156.69l32,32H23ZM64,192a16,16,0,1,1,16-16A16,16,0,0,1,64,192Zm128,0a16,16,0,1,1,16-16A16,16,0,0,1,192,192Zm48-24H223a32,32,0,0,0-62,0H95a32,32,0,0,0-62,0H16V128H240Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M240,112H211.31L168,68.69A15.86,15.86,0,0,0,156.69,64H44.28A16,16,0,0,0,31,71.12L1.34,115.56A8.07,8.07,0,0,0,0,120v48a16,16,0,0,0,16,16H33a32,32,0,0,0,62,0h66a32,32,0,0,0,62,0h17a16,16,0,0,0,16-16V128A16,16,0,0,0,240,112ZM44.28,80H156.69l32,32H23ZM64,192a16,16,0,1,1,16-16A16,16,0,0,1,64,192Zm128,0a16,16,0,1,1,16-16A16,16,0,0,1,192,192Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M240,114H210.49l-43.9-43.9a13.94,13.94,0,0,0-9.9-4.1H44.28a14,14,0,0,0-11.65,6.23L3,116.67A6,6,0,0,0,2,120v48a14,14,0,0,0,14,14H34.6a30,30,0,0,0,58.8,0h69.2a30,30,0,0,0,58.8,0H240a14,14,0,0,0,14-14V128A14,14,0,0,0,240,114ZM42.62,78.89A2,2,0,0,1,44.28,78H156.69a2,2,0,0,1,1.41.59L193.52,114H19.21ZM64,194a18,18,0,1,1,18-18A18,18,0,0,1,64,194Zm128,0a18,18,0,1,1,18-18A18,18,0,0,1,192,194Zm50-26a2,2,0,0,1-2,2H221.4a30,30,0,0,0-58.8,0H93.4a30,30,0,0,0-58.8,0H16a2,2,0,0,1-2-2V126H240a2,2,0,0,1,2,2Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M240,112H211.31L168,68.69A15.86,15.86,0,0,0,156.69,64H44.28A16,16,0,0,0,31,71.12L1.34,115.56A8.07,8.07,0,0,0,0,120v48a16,16,0,0,0,16,16H33a32,32,0,0,0,62,0h66a32,32,0,0,0,62,0h17a16,16,0,0,0,16-16V128A16,16,0,0,0,240,112ZM44.28,80H156.69l32,32H23ZM64,192a16,16,0,1,1,16-16A16,16,0,0,1,64,192Zm128,0a16,16,0,1,1,16-16A16,16,0,0,1,192,192Zm48-24H223a32,32,0,0,0-62,0H95a32,32,0,0,0-62,0H16V128H240Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M240,116H209.66L165.17,71.52A11.9,11.9,0,0,0,156.69,68H44.28a12,12,0,0,0-10,5.34L4.67,117.78A4,4,0,0,0,4,120v48a12,12,0,0,0,12,12H36.29a28,28,0,0,0,55.42,0h72.58a28,28,0,0,0,55.42,0H240a12,12,0,0,0,12-12V128A12,12,0,0,0,240,116ZM41,77.78A4,4,0,0,1,44.28,76H156.69a4,4,0,0,1,2.82,1.17L198.34,116H15.47ZM64,196a20,20,0,1,1,20-20A20,20,0,0,1,64,196Zm128,0a20,20,0,1,1,20-20A20,20,0,0,1,192,196Zm52-28a4,4,0,0,1-4,4H219.71a28,28,0,0,0-55.42,0H91.71a28,28,0,0,0-55.42,0H16a4,4,0,0,1-4-4V124H240a4,4,0,0,1,4,4Z`}))]]),Ae=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M208,96l-80,80L48,96Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z`}))]]),je=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M160,48V208L80,128Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z`}))]]),Me=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M176,128,96,208V48Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z`}))]]),Ne=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M216.49,168.49a12,12,0,0,1-17,0L128,97,56.49,168.49a12,12,0,0,1-17-17l80-80a12,12,0,0,1,17,0l80,80A12,12,0,0,1,216.49,168.49Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M208,160H48l80-80Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M213.66,154.34l-80-80a8,8,0,0,0-11.32,0l-80,80A8,8,0,0,0,48,168H208a8,8,0,0,0,5.66-13.66ZM67.31,152,128,91.31,188.69,152Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M215.39,163.06A8,8,0,0,1,208,168H48a8,8,0,0,1-5.66-13.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,215.39,163.06Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M212.24,164.24a6,6,0,0,1-8.48,0L128,88.49,52.24,164.24a6,6,0,0,1-8.48-8.48l80-80a6,6,0,0,1,8.48,0l80,80A6,6,0,0,1,212.24,164.24Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M213.66,165.66a8,8,0,0,1-11.32,0L128,91.31,53.66,165.66a8,8,0,0,1-11.32-11.32l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,213.66,165.66Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M210.83,162.83a4,4,0,0,1-5.66,0L128,85.66,50.83,162.83a4,4,0,0,1-5.66-5.66l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,210.83,162.83Z`}))]]),Pe=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z`}))]]),Fe=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M236,128a108,108,0,0,1-216,0c0-42.52,24.73-81.34,63-98.9A12,12,0,1,1,93,50.91C63.24,64.57,44,94.83,44,128a84,84,0,0,0,168,0c0-33.17-19.24-63.43-49-77.09A12,12,0,1,1,173,29.1C211.27,46.66,236,85.48,236,128Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,176A72,72,0,0,1,92,65.64a8,8,0,0,1,8,13.85,56,56,0,1,0,56,0,8,8,0,0,1,8-13.85A72,72,0,0,1,128,200Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M230,128a102,102,0,0,1-204,0c0-40.18,23.35-76.86,59.5-93.45a6,6,0,0,1,5,10.9C58.61,60.09,38,92.49,38,128a90,90,0,0,0,180,0c0-35.51-20.61-67.91-52.5-82.55a6,6,0,0,1,5-10.9C206.65,51.14,230,87.82,230,128Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M228,128a100,100,0,0,1-200,0c0-39.4,22.9-75.37,58.33-91.63a4,4,0,1,1,3.34,7.27C57.07,58.6,36,91.71,36,128a92,92,0,0,0,184,0c0-36.29-21.07-69.4-53.67-84.36a4,4,0,1,1,3.34-7.27C205.1,52.63,228,88.6,228,128Z`}))]]),Ie=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M71.68,97.22,34.74,128l36.94,30.78a12,12,0,1,1-15.36,18.44l-48-40a12,12,0,0,1,0-18.44l48-40A12,12,0,0,1,71.68,97.22Zm176,21.56-48-40a12,12,0,1,0-15.36,18.44L221.26,128l-36.94,30.78a12,12,0,1,0,15.36,18.44l48-40a12,12,0,0,0,0-18.44ZM164.1,28.72a12,12,0,0,0-15.38,7.18l-64,176a12,12,0,0,0,7.18,15.37A11.79,11.79,0,0,0,96,228a12,12,0,0,0,11.28-7.9l64-176A12,12,0,0,0,164.1,28.72Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M240,128l-48,40H64L16,128,64,88H192Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M69.12,94.15,28.5,128l40.62,33.85a8,8,0,1,1-10.24,12.29l-48-40a8,8,0,0,1,0-12.29l48-40a8,8,0,0,1,10.24,12.3Zm176,27.7-48-40a8,8,0,1,0-10.24,12.3L227.5,128l-40.62,33.85a8,8,0,1,0,10.24,12.29l48-40a8,8,0,0,0,0-12.29ZM162.73,32.48a8,8,0,0,0-10.25,4.79l-64,176a8,8,0,0,0,4.79,10.26A8.14,8.14,0,0,0,96,224a8,8,0,0,0,7.52-5.27l64-176A8,8,0,0,0,162.73,32.48Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM92.8,145.6a8,8,0,1,1-9.6,12.8l-32-24a8,8,0,0,1,0-12.8l32-24a8,8,0,0,1,9.6,12.8L69.33,128Zm58.89-71.4-32,112a8,8,0,1,1-15.38-4.4l32-112a8,8,0,0,1,15.38,4.4Zm53.11,60.2-32,24a8,8,0,0,1-9.6-12.8L186.67,128,163.2,110.4a8,8,0,1,1,9.6-12.8l32,24a8,8,0,0,1,0,12.8Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M67.84,92.61,25.37,128l42.47,35.39a6,6,0,1,1-7.68,9.22l-48-40a6,6,0,0,1,0-9.22l48-40a6,6,0,0,1,7.68,9.22Zm176,30.78-48-40a6,6,0,1,0-7.68,9.22L230.63,128l-42.47,35.39a6,6,0,1,0,7.68,9.22l48-40a6,6,0,0,0,0-9.22Zm-81.79-89A6,6,0,0,0,154.36,38l-64,176A6,6,0,0,0,94,221.64a6.15,6.15,0,0,0,2,.36,6,6,0,0,0,5.64-3.95l64-176A6,6,0,0,0,162.05,34.36Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M69.12,94.15,28.5,128l40.62,33.85a8,8,0,1,1-10.24,12.29l-48-40a8,8,0,0,1,0-12.29l48-40a8,8,0,0,1,10.24,12.3Zm176,27.7-48-40a8,8,0,1,0-10.24,12.3L227.5,128l-40.62,33.85a8,8,0,1,0,10.24,12.29l48-40a8,8,0,0,0,0-12.29ZM162.73,32.48a8,8,0,0,0-10.25,4.79l-64,176a8,8,0,0,0,4.79,10.26A8.14,8.14,0,0,0,96,224a8,8,0,0,0,7.52-5.27l64-176A8,8,0,0,0,162.73,32.48Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M66.56,91.07,22.25,128l44.31,36.93A4,4,0,0,1,64,172a3.94,3.94,0,0,1-2.56-.93l-48-40a4,4,0,0,1,0-6.14l48-40a4,4,0,0,1,5.12,6.14Zm176,33.86-48-40a4,4,0,1,0-5.12,6.14L233.75,128l-44.31,36.93a4,4,0,1,0,5.12,6.14l48-40a4,4,0,0,0,0-6.14ZM161.37,36.24a4,4,0,0,0-5.13,2.39l-64,176a4,4,0,0,0,2.39,5.13A4.12,4.12,0,0,0,96,220a4,4,0,0,0,3.76-2.63l64-176A4,4,0,0,0,161.37,36.24Z`}))]]),Le=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,116h-4.72A100.21,100.21,0,0,0,140,28.72V24a12,12,0,0,0-24,0v4.72A100.21,100.21,0,0,0,28.72,116H24a12,12,0,0,0,0,24h4.72A100.21,100.21,0,0,0,116,227.28V232a12,12,0,0,0,24,0v-4.72A100.21,100.21,0,0,0,227.28,140H232a12,12,0,0,0,0-24Zm-92,87v-3a12,12,0,0,0-24,0v3a76.15,76.15,0,0,1-63-63h3a12,12,0,0,0,0-24H53a76.15,76.15,0,0,1,63-63v3a12,12,0,0,0,24,0V53a76.15,76.15,0,0,1,63,63h-3a12,12,0,0,0,0,24h3A76.15,76.15,0,0,1,140,203ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M160,128a32,32,0,1,1-32-32A32,32,0,0,1,160,128Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M232,120h-8.34A96.14,96.14,0,0,0,136,32.34V24a8,8,0,0,0-16,0v8.34A96.14,96.14,0,0,0,32.34,120H24a8,8,0,0,0,0,16h8.34A96.14,96.14,0,0,0,120,223.66V232a8,8,0,0,0,16,0v-8.34A96.14,96.14,0,0,0,223.66,136H232a8,8,0,0,0,0-16Zm-96,87.6V200a8,8,0,0,0-16,0v7.6A80.15,80.15,0,0,1,48.4,136H56a8,8,0,0,0,0-16H48.4A80.15,80.15,0,0,1,120,48.4V56a8,8,0,0,0,16,0V48.4A80.15,80.15,0,0,1,207.6,120H200a8,8,0,0,0,0,16h7.6A80.15,80.15,0,0,1,136,207.6ZM128,88a40,40,0,1,0,40,40A40,40,0,0,0,128,88Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,128,152Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,120h-8.34A96.14,96.14,0,0,0,136,32.34V24a8,8,0,0,0-16,0v8.34A96.14,96.14,0,0,0,32.34,120H24a8,8,0,0,0,0,16h8.34A96.14,96.14,0,0,0,120,223.66V232a8,8,0,0,0,16,0v-8.34A96.14,96.14,0,0,0,223.66,136H232a8,8,0,0,0,0-16Zm-32,16h7.6A80.15,80.15,0,0,1,136,207.6V200a8,8,0,0,0-16,0v7.6A80.15,80.15,0,0,1,48.4,136H56a8,8,0,0,0,0-16H48.4A80.15,80.15,0,0,1,120,48.4V56a8,8,0,0,0,16,0V48.4A80.15,80.15,0,0,1,207.6,120H200a8,8,0,0,0,0,16Zm-32-8a40,40,0,1,1-40-40A40,40,0,0,1,168,128Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,122H221.8A94.13,94.13,0,0,0,134,34.2V24a6,6,0,0,0-12,0V34.2A94.13,94.13,0,0,0,34.2,122H24a6,6,0,0,0,0,12H34.2A94.13,94.13,0,0,0,122,221.8V232a6,6,0,0,0,12,0V221.8A94.13,94.13,0,0,0,221.8,134H232a6,6,0,0,0,0-12Zm-98,87.76V200a6,6,0,0,0-12,0v9.76A82.09,82.09,0,0,1,46.24,134H56a6,6,0,0,0,0-12H46.24A82.09,82.09,0,0,1,122,46.24V56a6,6,0,0,0,12,0V46.24A82.09,82.09,0,0,1,209.76,122H200a6,6,0,0,0,0,12h9.76A82.09,82.09,0,0,1,134,209.76ZM128,90a38,38,0,1,0,38,38A38,38,0,0,0,128,90Zm0,64a26,26,0,1,1,26-26A26,26,0,0,1,128,154Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,120h-8.34A96.14,96.14,0,0,0,136,32.34V24a8,8,0,0,0-16,0v8.34A96.14,96.14,0,0,0,32.34,120H24a8,8,0,0,0,0,16h8.34A96.14,96.14,0,0,0,120,223.66V232a8,8,0,0,0,16,0v-8.34A96.14,96.14,0,0,0,223.66,136H232a8,8,0,0,0,0-16Zm-96,87.6V200a8,8,0,0,0-16,0v7.6A80.15,80.15,0,0,1,48.4,136H56a8,8,0,0,0,0-16H48.4A80.15,80.15,0,0,1,120,48.4V56a8,8,0,0,0,16,0V48.4A80.15,80.15,0,0,1,207.6,120H200a8,8,0,0,0,0,16h7.6A80.15,80.15,0,0,1,136,207.6ZM128,88a40,40,0,1,0,40,40A40,40,0,0,0,128,88Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,128,152Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,124H219.91A92.13,92.13,0,0,0,132,36.09V24a4,4,0,0,0-8,0V36.09A92.13,92.13,0,0,0,36.09,124H24a4,4,0,0,0,0,8H36.09A92.13,92.13,0,0,0,124,219.91V232a4,4,0,0,0,8,0V219.91A92.13,92.13,0,0,0,219.91,132H232a4,4,0,0,0,0-8ZM132,211.9V200a4,4,0,0,0-8,0v11.9A84.11,84.11,0,0,1,44.1,132H56a4,4,0,0,0,0-8H44.1A84.11,84.11,0,0,1,124,44.1V56a4,4,0,0,0,8,0V44.1A84.11,84.11,0,0,1,211.9,124H200a4,4,0,0,0,0,8h11.9A84.11,84.11,0,0,1,132,211.9ZM128,92a36,36,0,1,0,36,36A36,36,0,0,0,128,92Zm0,64a28,28,0,1,1,28-28A28,28,0,0,1,128,156Z`}))]]),Re=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M225.6,62.64l-88-48.17a19.91,19.91,0,0,0-19.2,0l-88,48.17A20,20,0,0,0,20,80.19v95.62a20,20,0,0,0,10.4,17.55l88,48.17a19.89,19.89,0,0,0,19.2,0l88-48.17A20,20,0,0,0,236,175.81V80.19A20,20,0,0,0,225.6,62.64ZM128,36.57,200,76,128,115.4,56,76ZM44,96.79l72,39.4v76.67L44,173.44Zm96,116.07V136.19l72-39.4v76.65Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M128,129.09V232a8,8,0,0,1-3.84-1l-88-48.16a8,8,0,0,1-4.16-7V80.2a8,8,0,0,1,.7-3.27Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M223.68,66.15,135.68,18h0a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32h0l80.34,44L128,120,47.66,76ZM40,90l80,43.78v85.79L40,175.82Zm96,129.57V133.82L216,90v85.78Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,120,47.65,76,128,32l80.35,44Zm8,99.64V133.83l80-43.78v85.76Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M222.72,67.9l-88-48.17a13.9,13.9,0,0,0-13.44,0l-88,48.18A14,14,0,0,0,26,80.18v95.64a14,14,0,0,0,7.28,12.27l88,48.18a13.92,13.92,0,0,0,13.44,0l88-48.18A14,14,0,0,0,230,175.82V80.18A14,14,0,0,0,222.72,67.9ZM127,30.25a2,2,0,0,1,1.92,0L212.51,76,128,122.24,43.49,76ZM39,177.57a2,2,0,0,1-1-1.75V86.66l84,46V223Zm177.92,0L134,223V132.64l84-46v89.16A2,2,0,0,1,217,177.57Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M223.68,66.15,135.68,18h0a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32h0l80.34,44L128,120,47.66,76ZM40,90l80,43.78v85.79L40,175.82Zm96,129.57V133.82L216,90v85.78Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M221.76,69.66l-88-48.18a12,12,0,0,0-11.52,0l-88,48.18A12,12,0,0,0,28,80.18v95.64a12,12,0,0,0,6.24,10.52l88,48.18a11.95,11.95,0,0,0,11.52,0l88-48.18A12,12,0,0,0,228,175.82V80.18A12,12,0,0,0,221.76,69.66ZM126.08,28.5a3.94,3.94,0,0,1,3.84,0L216.67,76,128,124.52,39.33,76Zm-88,150.83A4,4,0,0,1,36,175.82V83.29l88,48.16v94.91Zm179.84,0-85.92,47V131.45l88-48.16v92.53A4,4,0,0,1,217.92,179.32Z`}))]]),ze=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M236,100H225L190.83,65.86A19.86,19.86,0,0,0,176.69,60H144V44h20a12,12,0,0,0,0-24H100a12,12,0,0,0,0,24h20V60H64A20,20,0,0,0,44,80v48H28V108a12,12,0,0,0-24,0v64a12,12,0,0,0,24,0V152H44v16.69a19.86,19.86,0,0,0,5.86,14.14l39.31,39.31A19.86,19.86,0,0,0,103.31,228h73.38a19.86,19.86,0,0,0,14.14-5.86L225,188h11a20,20,0,0,0,20-20V120A20,20,0,0,0,236,100Zm-4,64H220a12,12,0,0,0-8.49,3.51L175,204H105L68,167V84H175l36.48,36.49A12,12,0,0,0,220,124h12Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M248,120v48a8,8,0,0,1-8,8H224l-37.66,37.66a8,8,0,0,1-5.65,2.34H103.31a8,8,0,0,1-5.65-2.34L58.34,174.34A8,8,0,0,1,56,168.69V80a8,8,0,0,1,8-8H180.69a8,8,0,0,1,5.65,2.34L224,112h16A8,8,0,0,1,248,120Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M240,104H227.31L192,68.69A15.86,15.86,0,0,0,180.69,64H140V40h24a8,8,0,0,0,0-16H100a8,8,0,0,0,0,16h24V64H64A16,16,0,0,0,48,80v52H24V108a8,8,0,0,0-16,0v64a8,8,0,0,0,16,0V148H48v20.69A15.86,15.86,0,0,0,52.69,180L92,219.31A15.86,15.86,0,0,0,103.31,224h77.38A15.86,15.86,0,0,0,192,219.31L227.31,184H240a16,16,0,0,0,16-16V120A16,16,0,0,0,240,104Zm0,64H224a8,8,0,0,0-5.66,2.34L180.69,208H103.31L64,168.69V80H180.69l37.65,37.66A8,8,0,0,0,224,120h16Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M256,120v48a16,16,0,0,1-16,16H227.31L192,219.31A15.86,15.86,0,0,1,180.69,224H103.31A15.86,15.86,0,0,1,92,219.31L52.69,180A15.86,15.86,0,0,1,48,168.69V148H24v24a8,8,0,0,1-16,0V108a8,8,0,0,1,16,0v24H48V80A16,16,0,0,1,64,64h60V40H100a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16H140V64h40.69A15.86,15.86,0,0,1,192,68.69L227.31,104H240A16,16,0,0,1,256,120Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M240,106H226.49L190.58,70.1a13.9,13.9,0,0,0-9.89-4.1H138V38h26a6,6,0,0,0,0-12H100a6,6,0,0,0,0,12h26V66H64A14,14,0,0,0,50,80v54H22V108a6,6,0,0,0-12,0v64a6,6,0,0,0,12,0V146H50v22.69a13.9,13.9,0,0,0,4.1,9.89L93.42,217.9a13.9,13.9,0,0,0,9.89,4.1h77.38a13.9,13.9,0,0,0,9.89-4.1L226.49,182H240a14,14,0,0,0,14-14V120A14,14,0,0,0,240,106Zm2,62a2,2,0,0,1-2,2H224a6,6,0,0,0-4.24,1.76L182.1,209.42a2,2,0,0,1-1.41.58H103.31a2,2,0,0,1-1.41-.58L62.58,170.1a2,2,0,0,1-.58-1.41V80a2,2,0,0,1,2-2H180.69a2,2,0,0,1,1.41.58l37.66,37.66A6,6,0,0,0,224,118h16a2,2,0,0,1,2,2Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M240,104H227.31L192,68.69A15.86,15.86,0,0,0,180.69,64H140V40h24a8,8,0,0,0,0-16H100a8,8,0,0,0,0,16h24V64H64A16,16,0,0,0,48,80v52H24V108a8,8,0,0,0-16,0v64a8,8,0,0,0,16,0V148H48v20.69A15.86,15.86,0,0,0,52.69,180L92,219.31A15.86,15.86,0,0,0,103.31,224h77.38A15.86,15.86,0,0,0,192,219.31L227.31,184H240a16,16,0,0,0,16-16V120A16,16,0,0,0,240,104Zm0,64H224a8,8,0,0,0-5.66,2.34L180.69,208H103.31L64,168.69V80H180.69l37.65,37.66A8,8,0,0,0,224,120h16Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M240,108H225.66L189.17,71.51A11.93,11.93,0,0,0,180.69,68H136V36h28a4,4,0,0,0,0-8H100a4,4,0,0,0,0,8h28V68H64A12,12,0,0,0,52,80v56H20V108a4,4,0,0,0-8,0v64a4,4,0,0,0,8,0V144H52v24.69a11.93,11.93,0,0,0,3.51,8.48l39.32,39.32a11.93,11.93,0,0,0,8.48,3.51h77.38a11.93,11.93,0,0,0,8.48-3.51L225.66,180H240a12,12,0,0,0,12-12V120A12,12,0,0,0,240,108Zm4,60a4,4,0,0,1-4,4H224a4,4,0,0,0-2.83,1.17l-37.66,37.66a4,4,0,0,1-2.82,1.17H103.31a4,4,0,0,1-2.82-1.17L61.17,171.51A4,4,0,0,1,60,168.69V80a4,4,0,0,1,4-4H180.69a4,4,0,0,1,2.82,1.17l37.66,37.66A4,4,0,0,0,224,116h16a4,4,0,0,1,4,4Z`}))]]),Be=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z`}))]]),Ve=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm92-27.21v-1.58l14-17.51a12,12,0,0,0,2.23-10.59A111.75,111.75,0,0,0,225,71.89,12,12,0,0,0,215.89,66L193.61,63.5l-1.11-1.11L190,40.1A12,12,0,0,0,184.11,31a111.67,111.67,0,0,0-27.23-11.27A12,12,0,0,0,146.3,22L128.79,36h-1.58L109.7,22a12,12,0,0,0-10.59-2.23A111.75,111.75,0,0,0,71.89,31.05,12,12,0,0,0,66,40.11L63.5,62.39,62.39,63.5,40.1,66A12,12,0,0,0,31,71.89,111.67,111.67,0,0,0,19.77,99.12,12,12,0,0,0,22,109.7l14,17.51v1.58L22,146.3a12,12,0,0,0-2.23,10.59,111.75,111.75,0,0,0,11.29,27.22A12,12,0,0,0,40.11,190l22.28,2.48,1.11,1.11L66,215.9A12,12,0,0,0,71.89,225a111.67,111.67,0,0,0,27.23,11.27A12,12,0,0,0,109.7,234l17.51-14h1.58l17.51,14a12,12,0,0,0,10.59,2.23A111.75,111.75,0,0,0,184.11,225a12,12,0,0,0,5.91-9.06l2.48-22.28,1.11-1.11L215.9,190a12,12,0,0,0,9.06-5.91,111.67,111.67,0,0,0,11.27-27.23A12,12,0,0,0,234,146.3Zm-24.12-4.89a70.1,70.1,0,0,1,0,8.2,12,12,0,0,0,2.61,8.22l12.84,16.05A86.47,86.47,0,0,1,207,166.86l-20.43,2.27a12,12,0,0,0-7.65,4,69,69,0,0,1-5.8,5.8,12,12,0,0,0-4,7.65L166.86,207a86.47,86.47,0,0,1-10.49,4.35l-16.05-12.85a12,12,0,0,0-7.5-2.62c-.24,0-.48,0-.72,0a70.1,70.1,0,0,1-8.2,0,12.06,12.06,0,0,0-8.22,2.6L99.63,211.33A86.47,86.47,0,0,1,89.14,207l-2.27-20.43a12,12,0,0,0-4-7.65,69,69,0,0,1-5.8-5.8,12,12,0,0,0-7.65-4L49,166.86a86.47,86.47,0,0,1-4.35-10.49l12.84-16.05a12,12,0,0,0,2.61-8.22,70.1,70.1,0,0,1,0-8.2,12,12,0,0,0-2.61-8.22L44.67,99.63A86.47,86.47,0,0,1,49,89.14l20.43-2.27a12,12,0,0,0,7.65-4,69,69,0,0,1,5.8-5.8,12,12,0,0,0,4-7.65L89.14,49a86.47,86.47,0,0,1,10.49-4.35l16.05,12.85a12.06,12.06,0,0,0,8.22,2.6,70.1,70.1,0,0,1,8.2,0,12,12,0,0,0,8.22-2.6l16.05-12.85A86.47,86.47,0,0,1,166.86,49l2.27,20.43a12,12,0,0,0,4,7.65,69,69,0,0,1,5.8,5.8,12,12,0,0,0,7.65,4L207,89.14a86.47,86.47,0,0,1,4.35,10.49l-12.84,16.05A12,12,0,0,0,195.88,123.9Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M207.86,123.18l16.78-21a99.14,99.14,0,0,0-10.07-24.29l-26.7-3a81,81,0,0,0-6.81-6.81l-3-26.71a99.43,99.43,0,0,0-24.3-10l-21,16.77a81.59,81.59,0,0,0-9.64,0l-21-16.78A99.14,99.14,0,0,0,77.91,41.43l-3,26.7a81,81,0,0,0-6.81,6.81l-26.71,3a99.43,99.43,0,0,0-10,24.3l16.77,21a81.59,81.59,0,0,0,0,9.64l-16.78,21a99.14,99.14,0,0,0,10.07,24.29l26.7,3a81,81,0,0,0,6.81,6.81l3,26.71a99.43,99.43,0,0,0,24.3,10l21-16.77a81.59,81.59,0,0,0,9.64,0l21,16.78a99.14,99.14,0,0,0,24.29-10.07l3-26.7a81,81,0,0,0,6.81-6.81l26.71-3a99.43,99.43,0,0,0,10-24.3l-16.77-21A81.59,81.59,0,0,0,207.86,123.18ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8.06,8.06,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8.06,8.06,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M216,130.16q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M128,82a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162ZM214,130.84c.06-1.89.06-3.79,0-5.68L229.33,106a6,6,0,0,0,1.11-5.29A105.34,105.34,0,0,0,219.76,74.9a6,6,0,0,0-4.53-3l-24.45-2.71q-1.93-2.07-4-4l-2.72-24.46a6,6,0,0,0-3-4.53,105.65,105.65,0,0,0-25.77-10.66A6,6,0,0,0,150,26.68l-19.2,15.37c-1.89-.06-3.79-.06-5.68,0L106,26.67a6,6,0,0,0-5.29-1.11A105.34,105.34,0,0,0,74.9,36.24a6,6,0,0,0-3,4.53L69.23,65.22q-2.07,1.94-4,4L40.76,72a6,6,0,0,0-4.53,3,105.65,105.65,0,0,0-10.66,25.77A6,6,0,0,0,26.68,106l15.37,19.2c-.06,1.89-.06,3.79,0,5.68L26.67,150.05a6,6,0,0,0-1.11,5.29A105.34,105.34,0,0,0,36.24,181.1a6,6,0,0,0,4.53,3l24.45,2.71q1.94,2.07,4,4L72,215.24a6,6,0,0,0,3,4.53,105.65,105.65,0,0,0,25.77,10.66,6,6,0,0,0,5.29-1.11L125.16,214c1.89.06,3.79.06,5.68,0l19.21,15.38a6,6,0,0,0,3.75,1.31,6.2,6.2,0,0,0,1.54-.2,105.34,105.34,0,0,0,25.76-10.68,6,6,0,0,0,3-4.53l2.71-24.45q2.07-1.93,4-4l24.46-2.72a6,6,0,0,0,4.53-3,105.49,105.49,0,0,0,10.66-25.77,6,6,0,0,0-1.11-5.29Zm-3.1,41.63-23.64,2.63a6,6,0,0,0-3.82,2,75.14,75.14,0,0,1-6.31,6.31,6,6,0,0,0-2,3.82l-2.63,23.63A94.28,94.28,0,0,1,155.14,218l-18.57-14.86a6,6,0,0,0-3.75-1.31h-.36a78.07,78.07,0,0,1-8.92,0,6,6,0,0,0-4.11,1.3L100.87,218a94.13,94.13,0,0,1-17.34-7.17L80.9,187.21a6,6,0,0,0-2-3.82,75.14,75.14,0,0,1-6.31-6.31,6,6,0,0,0-3.82-2l-23.63-2.63A94.28,94.28,0,0,1,38,155.14l14.86-18.57a6,6,0,0,0,1.3-4.11,78.07,78.07,0,0,1,0-8.92,6,6,0,0,0-1.3-4.11L38,100.87a94.13,94.13,0,0,1,7.17-17.34L68.79,80.9a6,6,0,0,0,3.82-2,75.14,75.14,0,0,1,6.31-6.31,6,6,0,0,0,2-3.82l2.63-23.63A94.28,94.28,0,0,1,100.86,38l18.57,14.86a6,6,0,0,0,4.11,1.3,78.07,78.07,0,0,1,8.92,0,6,6,0,0,0,4.11-1.3L155.13,38a94.13,94.13,0,0,1,17.34,7.17l2.63,23.64a6,6,0,0,0,2,3.82,75.14,75.14,0,0,1,6.31,6.31,6,6,0,0,0,3.82,2l23.63,2.63A94.28,94.28,0,0,1,218,100.86l-14.86,18.57a6,6,0,0,0-1.3,4.11,78.07,78.07,0,0,1,0,8.92,6,6,0,0,0,1.3,4.11L218,155.13A94.13,94.13,0,0,1,210.85,172.47Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Zm83.93-32.49q.13-3.51,0-7l15.83-19.79a4,4,0,0,0,.75-3.53A103.64,103.64,0,0,0,218,75.9a4,4,0,0,0-3-2l-25.19-2.8c-1.58-1.71-3.24-3.37-4.95-4.95L182.07,41a4,4,0,0,0-2-3A104,104,0,0,0,154.82,27.5a4,4,0,0,0-3.53.74L131.51,44.07q-3.51-.14-7,0L104.7,28.24a4,4,0,0,0-3.53-.75A103.64,103.64,0,0,0,75.9,38a4,4,0,0,0-2,3l-2.8,25.19c-1.71,1.58-3.37,3.24-4.95,4.95L41,73.93a4,4,0,0,0-3,2A104,104,0,0,0,27.5,101.18a4,4,0,0,0,.74,3.53l15.83,19.78q-.14,3.51,0,7L28.24,151.3a4,4,0,0,0-.75,3.53A103.64,103.64,0,0,0,38,180.1a4,4,0,0,0,3,2l25.19,2.8c1.58,1.71,3.24,3.37,4.95,4.95l2.8,25.2a4,4,0,0,0,2,3,104,104,0,0,0,25.28,10.46,4,4,0,0,0,3.53-.74l19.78-15.83q3.51.13,7,0l19.79,15.83a4,4,0,0,0,2.5.88,4,4,0,0,0,1-.13A103.64,103.64,0,0,0,180.1,218a4,4,0,0,0,2-3l2.8-25.19c1.71-1.58,3.37-3.24,4.95-4.95l25.2-2.8a4,4,0,0,0,3-2,104,104,0,0,0,10.46-25.28,4,4,0,0,0-.74-3.53Zm.17,42.83-24.67,2.74a4,4,0,0,0-2.55,1.32,76.2,76.2,0,0,1-6.48,6.48,4,4,0,0,0-1.32,2.55l-2.74,24.66a95.45,95.45,0,0,1-19.64,8.15l-19.38-15.51a4,4,0,0,0-2.5-.87h-.24a73.67,73.67,0,0,1-9.16,0,4,4,0,0,0-2.74.87l-19.37,15.5a95.33,95.33,0,0,1-19.65-8.13l-2.74-24.67a4,4,0,0,0-1.32-2.55,76.2,76.2,0,0,1-6.48-6.48,4,4,0,0,0-2.55-1.32l-24.66-2.74a95.45,95.45,0,0,1-8.15-19.64l15.51-19.38a4,4,0,0,0,.87-2.74,77.76,77.76,0,0,1,0-9.16,4,4,0,0,0-.87-2.74l-15.5-19.37A95.33,95.33,0,0,1,43.9,81.66l24.67-2.74a4,4,0,0,0,2.55-1.32,76.2,76.2,0,0,1,6.48-6.48,4,4,0,0,0,1.32-2.55l2.74-24.66a95.45,95.45,0,0,1,19.64-8.15l19.38,15.51a4,4,0,0,0,2.74.87,73.67,73.67,0,0,1,9.16,0,4,4,0,0,0,2.74-.87l19.37-15.5a95.33,95.33,0,0,1,19.65,8.13l2.74,24.67a4,4,0,0,0,1.32,2.55,76.2,76.2,0,0,1,6.48,6.48,4,4,0,0,0,2.55,1.32l24.66,2.74a95.45,95.45,0,0,1,8.15,19.64l-15.51,19.38a4,4,0,0,0-.87,2.74,77.76,77.76,0,0,1,0,9.16,4,4,0,0,0,.87,2.74l15.5,19.37A95.33,95.33,0,0,1,212.1,174.34Z`}))]]),He=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M212.62,75.17A63.7,63.7,0,0,0,206.39,26,12,12,0,0,0,196,20a63.71,63.71,0,0,0-50,24H126A63.71,63.71,0,0,0,76,20a12,12,0,0,0-10.39,6,63.7,63.7,0,0,0-6.23,49.17A61.5,61.5,0,0,0,52,104v8a60.1,60.1,0,0,0,45.76,58.28A43.66,43.66,0,0,0,92,192v4H76a20,20,0,0,1-20-20,44.05,44.05,0,0,0-44-44,12,12,0,0,0,0,24,20,20,0,0,1,20,20,44.05,44.05,0,0,0,44,44H92v12a12,12,0,0,0,24,0V192a20,20,0,0,1,40,0v40a12,12,0,0,0,24,0V192a43.66,43.66,0,0,0-5.76-21.72A60.1,60.1,0,0,0,220,112v-8A61.5,61.5,0,0,0,212.62,75.17ZM196,112a36,36,0,0,1-36,36H112a36,36,0,0,1-36-36v-8a37.87,37.87,0,0,1,6.13-20.12,11.65,11.65,0,0,0,1.58-11.49,39.9,39.9,0,0,1-.4-27.72,39.87,39.87,0,0,1,26.41,17.8A12,12,0,0,0,119.82,68h32.35a12,12,0,0,0,10.11-5.53,39.84,39.84,0,0,1,26.41-17.8,39.9,39.9,0,0,1-.4,27.72,12,12,0,0,0,1.61,11.53A37.85,37.85,0,0,1,196,104Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M208,104v8a48,48,0,0,1-48,48H136a32,32,0,0,1,32,32v40H104V192a32,32,0,0,1,32-32H112a48,48,0,0,1-48-48v-8a49.28,49.28,0,0,1,8.51-27.3A51.92,51.92,0,0,1,76,32a52,52,0,0,1,43.83,24h32.34A52,52,0,0,1,196,32a51.92,51.92,0,0,1,3.49,44.7A49.28,49.28,0,0,1,208,104Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M208.3,75.68A59.74,59.74,0,0,0,202.93,28,8,8,0,0,0,196,24a59.75,59.75,0,0,0-48,24H124A59.75,59.75,0,0,0,76,24a8,8,0,0,0-6.93,4,59.78,59.78,0,0,0-5.38,47.68A58.14,58.14,0,0,0,56,104v8a56.06,56.06,0,0,0,48.44,55.47A39.8,39.8,0,0,0,96,192v8H72a24,24,0,0,1-24-24A40,40,0,0,0,8,136a8,8,0,0,0,0,16,24,24,0,0,1,24,24,40,40,0,0,0,40,40H96v16a8,8,0,0,0,16,0V192a24,24,0,0,1,48,0v40a8,8,0,0,0,16,0V192a39.8,39.8,0,0,0-8.44-24.53A56.06,56.06,0,0,0,216,112v-8A58,58,0,0,0,208.3,75.68ZM200,112a40,40,0,0,1-40,40H112a40,40,0,0,1-40-40v-8a41.74,41.74,0,0,1,6.9-22.48A8,8,0,0,0,80,73.83a43.81,43.81,0,0,1,.79-33.58,43.88,43.88,0,0,1,32.32,20.06A8,8,0,0,0,119.82,64h32.35a8,8,0,0,0,6.74-3.69,43.87,43.87,0,0,1,32.32-20.06A43.81,43.81,0,0,1,192,73.83a8.09,8.09,0,0,0,1,7.65A41.76,41.76,0,0,1,200,104Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M216,104v8a56.06,56.06,0,0,1-48.44,55.47A39.8,39.8,0,0,1,176,192v40a8,8,0,0,1-8,8H104a8,8,0,0,1-8-8V216H72a40,40,0,0,1-40-40A24,24,0,0,0,8,152a8,8,0,0,1,0-16,40,40,0,0,1,40,40,24,24,0,0,0,24,24H96v-8a39.8,39.8,0,0,1,8.44-24.53A56.06,56.06,0,0,1,56,112v-8a58.14,58.14,0,0,1,7.69-28.32A59.78,59.78,0,0,1,69.07,28,8,8,0,0,1,76,24a59.75,59.75,0,0,1,48,24h24a59.75,59.75,0,0,1,48-24,8,8,0,0,1,6.93,4,59.74,59.74,0,0,1,5.37,47.68A58,58,0,0,1,216,104Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M206.13,75.92A57.79,57.79,0,0,0,201.2,29a6,6,0,0,0-5.2-3,57.77,57.77,0,0,0-47,24H123A57.77,57.77,0,0,0,76,26a6,6,0,0,0-5.2,3,57.79,57.79,0,0,0-4.93,46.92A55.88,55.88,0,0,0,58,104v8a54.06,54.06,0,0,0,50.45,53.87A37.85,37.85,0,0,0,98,192v10H72a26,26,0,0,1-26-26A38,38,0,0,0,8,138a6,6,0,0,0,0,12,26,26,0,0,1,26,26,38,38,0,0,0,38,38H98v18a6,6,0,0,0,12,0V192a26,26,0,0,1,52,0v40a6,6,0,0,0,12,0V192a37.85,37.85,0,0,0-10.45-26.13A54.06,54.06,0,0,0,214,112v-8A55.88,55.88,0,0,0,206.13,75.92ZM202,112a42,42,0,0,1-42,42H112a42,42,0,0,1-42-42v-8a43.86,43.86,0,0,1,7.3-23.69,6,6,0,0,0,.81-5.76,45.85,45.85,0,0,1,1.43-36.42,45.85,45.85,0,0,1,35.23,21.1A6,6,0,0,0,119.83,62h32.34a6,6,0,0,0,5.06-2.76,45.83,45.83,0,0,1,35.23-21.11,45.85,45.85,0,0,1,1.43,36.42,6,6,0,0,0,.79,5.74A43.78,43.78,0,0,1,202,104Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M208.31,75.68A59.78,59.78,0,0,0,202.93,28,8,8,0,0,0,196,24a59.75,59.75,0,0,0-48,24H124A59.75,59.75,0,0,0,76,24a8,8,0,0,0-6.93,4,59.78,59.78,0,0,0-5.38,47.68A58.14,58.14,0,0,0,56,104v8a56.06,56.06,0,0,0,48.44,55.47A39.8,39.8,0,0,0,96,192v8H72a24,24,0,0,1-24-24A40,40,0,0,0,8,136a8,8,0,0,0,0,16,24,24,0,0,1,24,24,40,40,0,0,0,40,40H96v16a8,8,0,0,0,16,0V192a24,24,0,0,1,48,0v40a8,8,0,0,0,16,0V192a39.8,39.8,0,0,0-8.44-24.53A56.06,56.06,0,0,0,216,112v-8A58.14,58.14,0,0,0,208.31,75.68ZM200,112a40,40,0,0,1-40,40H112a40,40,0,0,1-40-40v-8a41.74,41.74,0,0,1,6.9-22.48A8,8,0,0,0,80,73.83a43.81,43.81,0,0,1,.79-33.58,43.88,43.88,0,0,1,32.32,20.06A8,8,0,0,0,119.82,64h32.35a8,8,0,0,0,6.74-3.69,43.87,43.87,0,0,1,32.32-20.06A43.81,43.81,0,0,1,192,73.83a8.09,8.09,0,0,0,1,7.65A41.72,41.72,0,0,1,200,104Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M203.94,76.16A55.73,55.73,0,0,0,199.46,30,4,4,0,0,0,196,28a55.78,55.78,0,0,0-46,24H122A55.78,55.78,0,0,0,76,28a4,4,0,0,0-3.46,2,55.73,55.73,0,0,0-4.48,46.16A53.78,53.78,0,0,0,60,104v8a52.06,52.06,0,0,0,52,52h1.41A36,36,0,0,0,100,192v12H72a28,28,0,0,1-28-28A36,36,0,0,0,8,140a4,4,0,0,0,0,8,28,28,0,0,1,28,28,36,36,0,0,0,36,36h28v20a4,4,0,0,0,8,0V192a28,28,0,0,1,56,0v40a4,4,0,0,0,8,0V192a36,36,0,0,0-13.41-28H160a52.06,52.06,0,0,0,52-52v-8A53.78,53.78,0,0,0,203.94,76.16ZM204,112a44.05,44.05,0,0,1-44,44H112a44.05,44.05,0,0,1-44-44v-8a45.76,45.76,0,0,1,7.71-24.89,4,4,0,0,0,.53-3.84,47.82,47.82,0,0,1,2.1-39.21,47.8,47.8,0,0,1,38.12,22.1A4,4,0,0,0,119.83,60h32.34a4,4,0,0,0,3.37-1.84,47.8,47.8,0,0,1,38.12-22.1,47.82,47.82,0,0,1,2.1,39.21,4,4,0,0,0,.53,3.83A45.85,45.85,0,0,1,204,104Z`}))]]),Ue=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M224,44H32A20,20,0,0,0,12,64V192a20,20,0,0,0,20,20H224a20,20,0,0,0,20-20V64A20,20,0,0,0,224,44Zm-4,144H36V68H220ZM52,128a12,12,0,0,1,12-12H192a12,12,0,0,1,0,24H64A12,12,0,0,1,52,128Zm0-36A12,12,0,0,1,64,80H192a12,12,0,0,1,0,24H64A12,12,0,0,1,52,92Zm0,72a12,12,0,0,1,12-12h8a12,12,0,0,1,0,24H64A12,12,0,0,1,52,164Zm108,0a12,12,0,0,1-12,12H108a12,12,0,0,1,0-24h40A12,12,0,0,1,160,164Zm44,0a12,12,0,0,1-12,12h-8a12,12,0,0,1,0-24h8A12,12,0,0,1,204,164Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,64V192a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V64a8,8,0,0,1,8-8H224A8,8,0,0,1,232,64Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M224,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48Zm0,144H32V64H224V192Zm-16-64a8,8,0,0,1-8,8H56a8,8,0,0,1,0-16H200A8,8,0,0,1,208,128Zm0-32a8,8,0,0,1-8,8H56a8,8,0,0,1,0-16H200A8,8,0,0,1,208,96ZM72,160a8,8,0,0,1-8,8H56a8,8,0,0,1,0-16h8A8,8,0,0,1,72,160Zm96,0a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,160Zm40,0a8,8,0,0,1-8,8h-8a8,8,0,0,1,0-16h8A8,8,0,0,1,208,160Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M224,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48ZM64,168H48a8,8,0,0,1,0-16H64a8,8,0,0,1,0,16Zm96,0H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm48,0H192a8,8,0,0,1,0-16h16a8,8,0,0,1,0,16Zm0-32H48a8,8,0,0,1,0-16H208a8,8,0,0,1,0,16Zm0-32H48a8,8,0,0,1,0-16H208a8,8,0,0,1,0,16Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M224,50H32A14,14,0,0,0,18,64V192a14,14,0,0,0,14,14H224a14,14,0,0,0,14-14V64A14,14,0,0,0,224,50Zm2,142a2,2,0,0,1-2,2H32a2,2,0,0,1-2-2V64a2,2,0,0,1,2-2H224a2,2,0,0,1,2,2Zm-20-64a6,6,0,0,1-6,6H56a6,6,0,0,1,0-12H200A6,6,0,0,1,206,128Zm0-32a6,6,0,0,1-6,6H56a6,6,0,0,1,0-12H200A6,6,0,0,1,206,96ZM70,160a6,6,0,0,1-6,6H56a6,6,0,0,1,0-12h8A6,6,0,0,1,70,160Zm96,0a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,160Zm40,0a6,6,0,0,1-6,6h-8a6,6,0,0,1,0-12h8A6,6,0,0,1,206,160Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M224,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48Zm0,144H32V64H224V192Zm-16-64a8,8,0,0,1-8,8H56a8,8,0,0,1,0-16H200A8,8,0,0,1,208,128Zm0-32a8,8,0,0,1-8,8H56a8,8,0,0,1,0-16H200A8,8,0,0,1,208,96ZM72,160a8,8,0,0,1-8,8H56a8,8,0,0,1,0-16h8A8,8,0,0,1,72,160Zm96,0a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,160Zm40,0a8,8,0,0,1-8,8h-8a8,8,0,0,1,0-16h8A8,8,0,0,1,208,160Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M224,52H32A12,12,0,0,0,20,64V192a12,12,0,0,0,12,12H224a12,12,0,0,0,12-12V64A12,12,0,0,0,224,52Zm4,140a4,4,0,0,1-4,4H32a4,4,0,0,1-4-4V64a4,4,0,0,1,4-4H224a4,4,0,0,1,4,4Zm-24-64a4,4,0,0,1-4,4H56a4,4,0,0,1,0-8H200A4,4,0,0,1,204,128Zm0-32a4,4,0,0,1-4,4H56a4,4,0,0,1,0-8H200A4,4,0,0,1,204,96ZM68,160a4,4,0,0,1-4,4H56a4,4,0,0,1,0-8h8A4,4,0,0,1,68,160Zm96,0a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,160Zm40,0a4,4,0,0,1-4,4h-8a4,4,0,0,1,0-8h8A4,4,0,0,1,204,160Z`}))]]),We=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M236.37,139.4a12,12,0,0,0-12-3A84.07,84.07,0,0,1,119.6,31.59a12,12,0,0,0-15-15A108.86,108.86,0,0,0,49.69,55.07,108,108,0,0,0,136,228a107.09,107.09,0,0,0,64.93-21.69,108.86,108.86,0,0,0,38.44-54.94A12,12,0,0,0,236.37,139.4Zm-49.88,47.74A84,84,0,0,1,68.86,69.51,84.93,84.93,0,0,1,92.27,48.29Q92,52.13,92,56A108.12,108.12,0,0,0,200,164q3.87,0,7.71-.27A84.79,84.79,0,0,1,186.49,187.14Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M227.89,147.89A96,96,0,1,1,108.11,28.11,96.09,96.09,0,0,0,227.89,147.89Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M233.54,142.23a8,8,0,0,0-8-2,88.08,88.08,0,0,1-109.8-109.8,8,8,0,0,0-10-10,104.84,104.84,0,0,0-52.91,37A104,104,0,0,0,136,224a103.09,103.09,0,0,0,62.52-20.88,104.84,104.84,0,0,0,37-52.91A8,8,0,0,0,233.54,142.23ZM188.9,190.34A88,88,0,0,1,65.66,67.11a89,89,0,0,1,31.4-26A106,106,0,0,0,96,56,104.11,104.11,0,0,0,200,160a106,106,0,0,0,14.92-1.06A89,89,0,0,1,188.9,190.34Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M235.54,150.21a104.84,104.84,0,0,1-37,52.91A104,104,0,0,1,32,120,103.09,103.09,0,0,1,52.88,57.48a104.84,104.84,0,0,1,52.91-37,8,8,0,0,1,10,10,88.08,88.08,0,0,0,109.8,109.8,8,8,0,0,1,10,10Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232.13,143.64a6,6,0,0,0-6-1.49A90.07,90.07,0,0,1,113.86,29.85a6,6,0,0,0-7.49-7.48A102.88,102.88,0,0,0,54.48,58.68,102,102,0,0,0,197.32,201.52a102.88,102.88,0,0,0,36.31-51.89A6,6,0,0,0,232.13,143.64Zm-42,48.29a90,90,0,0,1-126-126A90.9,90.9,0,0,1,99.65,37.66,102.06,102.06,0,0,0,218.34,156.35,90.9,90.9,0,0,1,190.1,191.93Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M233.54,142.23a8,8,0,0,0-8-2,88.08,88.08,0,0,1-109.8-109.8,8,8,0,0,0-10-10,104.84,104.84,0,0,0-52.91,37A104,104,0,0,0,136,224a103.09,103.09,0,0,0,62.52-20.88,104.84,104.84,0,0,0,37-52.91A8,8,0,0,0,233.54,142.23ZM188.9,190.34A88,88,0,0,1,65.66,67.11a89,89,0,0,1,31.4-26A106,106,0,0,0,96,56,104.11,104.11,0,0,0,200,160a106,106,0,0,0,14.92-1.06A89,89,0,0,1,188.9,190.34Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M230.72,145.06a4,4,0,0,0-4-1A92.08,92.08,0,0,1,111.94,29.27a4,4,0,0,0-5-5A100.78,100.78,0,0,0,56.08,59.88a100,100,0,0,0,140,140,100.78,100.78,0,0,0,35.59-50.87A4,4,0,0,0,230.72,145.06ZM191.3,193.53A92,92,0,0,1,62.47,64.7a93,93,0,0,1,39.88-30.35,100.09,100.09,0,0,0,119.3,119.3A93,93,0,0,1,191.3,193.53Z`}))]]),Ge=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M100,36H56A20,20,0,0,0,36,56v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V56A20,20,0,0,0,100,36ZM96,96H60V60H96ZM200,36H156a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V56A20,20,0,0,0,200,36Zm-4,60H160V60h36Zm-96,40H56a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V156A20,20,0,0,0,100,136Zm-4,60H60V160H96Zm104-60H156a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V156A20,20,0,0,0,200,136Zm-4,60H160V160h36Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M112,56v48a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8h48A8,8,0,0,1,112,56Zm88-8H152a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V56A8,8,0,0,0,200,48Zm-96,96H56a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V152A8,8,0,0,0,104,144Zm96,0H152a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V152A8,8,0,0,0,200,144Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M200,136H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Zm0,64H152V152h48v48ZM104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-96,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M120,56v48a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40h48A16,16,0,0,1,120,56Zm80-16H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm-96,96H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm96,0H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M104,42H56A14,14,0,0,0,42,56v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V56A14,14,0,0,0,104,42Zm2,62a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm94-62H152a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V56A14,14,0,0,0,200,42Zm2,62a2,2,0,0,1-2,2H152a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm-98,34H56a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V152A14,14,0,0,0,104,138Zm2,62a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V152a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm94-62H152a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V152A14,14,0,0,0,200,138Zm2,62a2,2,0,0,1-2,2H152a2,2,0,0,1-2-2V152a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-96,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Zm0,64H152V152h48v48Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M104,44H56A12,12,0,0,0,44,56v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V56A12,12,0,0,0,104,44Zm4,60a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Zm92-60H152a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V56A12,12,0,0,0,200,44Zm4,60a4,4,0,0,1-4,4H152a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4ZM104,140H56a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V152A12,12,0,0,0,104,140Zm4,60a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V152a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Zm92-60H152a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V152A12,12,0,0,0,200,140Zm4,60a4,4,0,0,1-4,4H152a4,4,0,0,1-4-4V152a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Z`}))]]),Ke=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M116,36V20a12,12,0,0,1,24,0V36a12,12,0,0,1-24,0Zm80,92a68,68,0,1,1-68-68A68.07,68.07,0,0,1,196,128Zm-24,0a44,44,0,1,0-44,44A44.05,44.05,0,0,0,172,128ZM51.51,68.49a12,12,0,1,0,17-17l-12-12a12,12,0,0,0-17,17Zm0,119-12,12a12,12,0,0,0,17,17l12-12a12,12,0,1,0-17-17ZM196,72a12,12,0,0,0,8.49-3.51l12-12a12,12,0,0,0-17-17l-12,12A12,12,0,0,0,196,72Zm8.49,115.51a12,12,0,0,0-17,17l12,12a12,12,0,0,0,17-17ZM48,128a12,12,0,0,0-12-12H20a12,12,0,0,0,0,24H36A12,12,0,0,0,48,128Zm80,80a12,12,0,0,0-12,12v16a12,12,0,0,0,24,0V220A12,12,0,0,0,128,208Zm108-92H220a12,12,0,0,0,0,24h16a12,12,0,0,0,0-24Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M184,128a56,56,0,1,1-56-56A56,56,0,0,1,184,128Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M120,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm72,88a64,64,0,1,1-64-64A64.07,64.07,0,0,1,192,128Zm-16,0a48,48,0,1,0-48,48A48.05,48.05,0,0,0,176,128ZM58.34,69.66A8,8,0,0,0,69.66,58.34l-16-16A8,8,0,0,0,42.34,53.66Zm0,116.68-16,16a8,8,0,0,0,11.32,11.32l16-16a8,8,0,0,0-11.32-11.32ZM192,72a8,8,0,0,0,5.66-2.34l16-16a8,8,0,0,0-11.32-11.32l-16,16A8,8,0,0,0,192,72Zm5.66,114.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32-11.32ZM48,128a8,8,0,0,0-8-8H16a8,8,0,0,0,0,16H40A8,8,0,0,0,48,128Zm80,80a8,8,0,0,0-8,8v24a8,8,0,0,0,16,0V216A8,8,0,0,0,128,208Zm112-88H216a8,8,0,0,0,0,16h24a8,8,0,0,0,0-16Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M120,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm8,24a64,64,0,1,0,64,64A64.07,64.07,0,0,0,128,64ZM58.34,69.66A8,8,0,0,0,69.66,58.34l-16-16A8,8,0,0,0,42.34,53.66Zm0,116.68-16,16a8,8,0,0,0,11.32,11.32l16-16a8,8,0,0,0-11.32-11.32ZM192,72a8,8,0,0,0,5.66-2.34l16-16a8,8,0,0,0-11.32-11.32l-16,16A8,8,0,0,0,192,72Zm5.66,114.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32-11.32ZM48,128a8,8,0,0,0-8-8H16a8,8,0,0,0,0,16H40A8,8,0,0,0,48,128Zm80,80a8,8,0,0,0-8,8v24a8,8,0,0,0,16,0V216A8,8,0,0,0,128,208Zm112-88H216a8,8,0,0,0,0,16h24a8,8,0,0,0,0-16Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M122,40V16a6,6,0,0,1,12,0V40a6,6,0,0,1-12,0Zm68,88a62,62,0,1,1-62-62A62.07,62.07,0,0,1,190,128Zm-12,0a50,50,0,1,0-50,50A50.06,50.06,0,0,0,178,128ZM59.76,68.24a6,6,0,1,0,8.48-8.48l-16-16a6,6,0,0,0-8.48,8.48Zm0,119.52-16,16a6,6,0,1,0,8.48,8.48l16-16a6,6,0,1,0-8.48-8.48ZM192,70a6,6,0,0,0,4.24-1.76l16-16a6,6,0,0,0-8.48-8.48l-16,16A6,6,0,0,0,192,70Zm4.24,117.76a6,6,0,0,0-8.48,8.48l16,16a6,6,0,0,0,8.48-8.48ZM46,128a6,6,0,0,0-6-6H16a6,6,0,0,0,0,12H40A6,6,0,0,0,46,128Zm82,82a6,6,0,0,0-6,6v24a6,6,0,0,0,12,0V216A6,6,0,0,0,128,210Zm112-88H216a6,6,0,0,0,0,12h24a6,6,0,0,0,0-12Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M120,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm72,88a64,64,0,1,1-64-64A64.07,64.07,0,0,1,192,128Zm-16,0a48,48,0,1,0-48,48A48.05,48.05,0,0,0,176,128ZM58.34,69.66A8,8,0,0,0,69.66,58.34l-16-16A8,8,0,0,0,42.34,53.66Zm0,116.68-16,16a8,8,0,0,0,11.32,11.32l16-16a8,8,0,0,0-11.32-11.32ZM192,72a8,8,0,0,0,5.66-2.34l16-16a8,8,0,0,0-11.32-11.32l-16,16A8,8,0,0,0,192,72Zm5.66,114.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32-11.32ZM48,128a8,8,0,0,0-8-8H16a8,8,0,0,0,0,16H40A8,8,0,0,0,48,128Zm80,80a8,8,0,0,0-8,8v24a8,8,0,0,0,16,0V216A8,8,0,0,0,128,208Zm112-88H216a8,8,0,0,0,0,16h24a8,8,0,0,0,0-16Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M124,40V16a4,4,0,0,1,8,0V40a4,4,0,0,1-8,0Zm64,88a60,60,0,1,1-60-60A60.07,60.07,0,0,1,188,128Zm-8,0a52,52,0,1,0-52,52A52.06,52.06,0,0,0,180,128ZM61.17,66.83a4,4,0,0,0,5.66-5.66l-16-16a4,4,0,0,0-5.66,5.66Zm0,122.34-16,16a4,4,0,0,0,5.66,5.66l16-16a4,4,0,0,0-5.66-5.66ZM192,68a4,4,0,0,0,2.83-1.17l16-16a4,4,0,1,0-5.66-5.66l-16,16A4,4,0,0,0,192,68Zm2.83,121.17a4,4,0,0,0-5.66,5.66l16,16a4,4,0,0,0,5.66-5.66ZM40,124H16a4,4,0,0,0,0,8H40a4,4,0,0,0,0-8Zm88,88a4,4,0,0,0-4,4v24a4,4,0,0,0,8,0V216A4,4,0,0,0,128,212Zm112-88H216a4,4,0,0,0,0,8h24a4,4,0,0,0,0-8Z`}))]]),qe=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M216,48H180V36A28,28,0,0,0,152,8H104A28,28,0,0,0,76,36V48H40a12,12,0,0,0,0,24h4V208a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V72h4a12,12,0,0,0,0-24ZM100,36a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V48H100Zm88,168H68V72H188ZM116,104v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Zm48,0v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM112,168a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm0-120H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M216,50H174V40a22,22,0,0,0-22-22H104A22,22,0,0,0,82,40V50H40a6,6,0,0,0,0,12H50V208a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V62h10a6,6,0,0,0,0-12ZM94,40a10,10,0,0,1,10-10h48a10,10,0,0,1,10,10V50H94ZM194,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V62H194ZM110,104v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm48,0v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M216,52H172V40a20,20,0,0,0-20-20H104A20,20,0,0,0,84,40V52H40a4,4,0,0,0,0,8H52V208a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V60h12a4,4,0,0,0,0-8ZM92,40a12,12,0,0,1,12-12h48a12,12,0,0,1,12,12V52H92ZM196,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V60H196ZM108,104v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Zm48,0v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Z`}))]]),Je=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:De}));Je.displayName=`ArrowCounterClockwiseIcon`;var Ye=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Oe}));Ye.displayName=`BookOpenTextIcon`;var Xe=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:ke}));Xe.displayName=`CarProfileIcon`;var Ze=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Ae}));Ze.displayName=`CaretDownIcon`;var Qe=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:je}));Qe.displayName=`CaretLeftIcon`;var $e=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Me}));$e.displayName=`CaretRightIcon`;var et=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Ne}));et.displayName=`CaretUpIcon`;var tt=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Pe}));tt.displayName=`CheckIcon`;var nt=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Fe}));nt.displayName=`CircleNotchIcon`;var rt=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Ie}));rt.displayName=`CodeIcon`;var it=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Le}));it.displayName=`CrosshairIcon`;var at=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Re}));at.displayName=`CubeIcon`;var ot=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:ze}));ot.displayName=`EngineIcon`;var st=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Be}));st.displayName=`EyeIcon`;var ct=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Ve}));ct.displayName=`GearIcon`;var lt=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:He}));lt.displayName=`GithubLogoIcon`;var ut=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Ue}));ut.displayName=`KeyboardIcon`;var dt=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:We}));dt.displayName=`MoonIcon`;var ft=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Ge}));ft.displayName=`SquaresFourIcon`;var pt=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Ke}));pt.displayName=`SunIcon`;var mt=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:qe}));mt.displayName=`TrashIcon`;var ht=`data-valid`,gt=`data-invalid`,_t={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},vt={disabled:!1,valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},yt={valid(e){return e===null?null:e?{[ht]:``}:{[gt]:``}}},bt={invalid:void 0,name:void 0,validityData:{state:_t,errors:[],error:``,value:``,initialValue:null},setValidityData:K,disabled:void 0,setTouched:K,setDirty:K,setFilled:K,setFocused:K,focusOwnerRef:{current:void 0},validationMode:`onSubmit`,shouldValidateOnChange:()=>!1,state:vt,registerFieldControl:K,validation:{getValidationProps:(e,t=de)=>t,inputRef:{current:null},registeredInputs:new Map,registerInput:K,getInputControl:()=>null,commit:async()=>{},change:K}},xt=Z.createContext(bt);function St(e=!0){let t=Z.useContext(xt);if(t.setValidityData===K&&!e)throw Error(Te(28));return t}var Ct=Z.createContext({elementRef:{current:null},formRef:{current:{fields:new Map}},errors:{},clearErrors:K,validationMode:`onSubmit`,submitCountRef:{current:0}});function wt(){return Z.useContext(Ct)}function Tt(){let[,e]=Z.useState({});return Z.useCallback(()=>{e({})},[])}var Et=0;function Dt(e,t=`mui`){let n=Z.useRef(void 0),r=Tt(),i=e??n.current;return Z.useEffect(()=>{n.current??(Et+=1,n.current=`${t}-${Et}`,e??r())},[e,t,r]),i}var Ot=we.useId;function kt(e,t){if(Ot!==void 0){let n=Ot();return e??(t?`${t}-${n}`:n)}return Dt(e,t)}function At(e){return kt(e,`base-ui`)}var jt=Z.createContext({controlId:void 0,registerControlId:K,resetControlId:K,labelId:void 0,setLabelId:K,messageIds:[],setMessageIds:K,getDescriptionProps:e=>e});function Mt(){return Z.useContext(jt)}function Nt(e,t,n,r=!0,i,a){let[o,s]=Z.useState(),c=At(i?`${i}-label`:void 0),l=!!a?.trim(),u=e??(l?void 0:t)??o;return Y(()=>{let i=e||t||l||!r?void 0:Pt(n.current,c);o!==i&&s(i)}),u}function Pt(e,t){let n=Ft(e);if(n)return!n.id&&t&&(n.id=t),n.id||void 0}function Ft(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 It(e={}){let{id:t,enabled:n=!0}=e,{controlId:r,registerControlId:i,resetControlId:a}=Mt(),o=At(),s=L(()=>Symbol()),c=Z.useRef(!1),l=Z.useRef(!1),u=W(()=>{c.current&&i!==K&&(c.current=!1,i(s.current,void 0))});return Y(()=>{if(!n||i===K){u();return}let e;if(t!==void 0)l.current=!0,e=t;else if(l.current)e=o;else{a();return}e===void 0?u():(c.current=!0,i(s.current,e))},[t,n,i,a,o,s,u]),Y(()=>u,[u]),(n?r:void 0)??t??o}function Lt(){return typeof navigator>`u`?{userAgent:``,platform:``,maxTouchPoints:0}:{userAgent:navigator.userAgent,platform:navigator.platform??``,maxTouchPoints:navigator.maxTouchPoints??0}}var{userAgent:Rt,platform:zt,maxTouchPoints:Bt}=Lt(),Vt=Rt.toLowerCase(),Ht=zt.toLowerCase(),Ut=/^i(os$|p)/.test(Ht)||Ht===`macintel`&&Bt>1,Wt=`android`,Gt=Ht===Wt||Vt.includes(Wt),Kt=!Ut&&Ht.startsWith(`mac`);Ht.startsWith(`win`),!Gt&&/^(linux|chrome os)/.test(Ht);var qt=Kt||Ut,Jt=typeof CSS<`u`&&!!CSS.supports?.(`-webkit-backdrop-filter:none`);!Jt&&Vt.includes(`firefox`),!Jt&&Vt.includes(`chrom`);var Yt=qt,Xt=/jsdom|happydom/.test(Vt);function Zt(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function Q(e,t){if(!e||!t)return!1;let n=t.getRootNode?.();if(e.contains(t))return!0;if(n&&I(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function Qt(e,t){let n=e;for(;n;){if(B(n)&&n.matches(t))return n;n=n.assignedSlot??n.parentNode??(I(n)?n.host:null)}return null}function $t(e){return`composedPath`in e?e.composedPath()[0]??e.target:e.target}var en=`data-base-ui-focusable`,tn=`ArrowLeft`,nn=`ArrowRight`,rn=`ArrowUp`,an=`ArrowDown`,on=`data-starting-style`,sn=`data-ending-style`,cn={[on]:``},ln={[sn]:``},un={transitionStatus(e){return e===`starting`?cn:e===`ending`?ln:null}},dn=`data-open`,fn=`data-closed`,pn=`data-anchor-hidden`,mn=`data-popup-open`,hn=`data-pressed`,gn={[mn]:``},_n={[mn]:``,[hn]:``},vn={[dn]:``},yn={[fn]:``},bn={[pn]:``},xn={open(e){return e?gn:null}},Sn={open(e){return e?_n:null}},Cn={open(e){return e?vn:yn},anchorHidden(e){return e?bn:null}};({...Cn,...un});function wn(e,t){if(t==null)return!1;if(`composedPath`in e)return e.composedPath().includes(t);let n=e;return n.target!=null&&t.contains(n.target)}function Tn(e){return e.matches(`html,body`)}function En(e){return H(e)&&e.matches(`input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])`)}function Dn(e){return e?e.getAttribute(`role`)===`combobox`&&En(e):!1}function On(e){if(!e||Xt)return!0;try{return e.matches(`:focus-visible`)}catch{return!0}}function kn(e){return e?e.hasAttribute(`data-base-ui-focusable`)?e:e.querySelector(`[data-base-ui-focusable]`)||e:null}function An(e,t,n=!0){return e.filter(e=>e.parentId===t).flatMap(t=>[...!n||t.context?.open?[t]:[],...An(e,t.id,n)])}function jn(e,t){let n=[],r=e.find(e=>e.id===t)?.parentId;for(;r;){let t=e.find(e=>e.id===r);r=t?.parentId,t&&(n=n.concat(t))}return n}function Mn(e){e.preventDefault(),e.stopPropagation()}function Nn(e){return`nativeEvent`in e}function Pn(e){return e.pointerType===``&&e.isTrusted?!0:Gt&&e.pointerType?e.type===`click`&&e.buttons===1:e.detail===0&&!e.pointerType}function Fn(e){return Xt?!1:!Gt&&e.width===0&&e.height===0||e.type===`pointerdown`&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType===`mouse`&&(Gt||e.buttons===0)||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType===`touch`}function In(e,t){let n=[`mouse`,`pen`];return t||n.push(``,void 0),n.includes(e)}function Ln(e){let t=e.type;return t===`click`||t===`mousedown`||t===`keydown`||t===`keyup`}var Rn=Math.min,zn=Math.max,Bn=Math.round,Vn=Math.floor,Hn=e=>({x:e,y:e}),Un={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function Wn(e,t,n){return zn(e,Rn(t,n))}function Gn(e,t){return typeof e==`function`?e(t):e}function Kn(e){return e.split(`-`)[0]}function qn(e){return e.split(`-`)[1]}function Jn(e){return e===`x`?`y`:`x`}function Yn(e){return e===`y`?`height`:`width`}function Xn(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function Zn(e){return Jn(Xn(e))}function Qn(e,t,n){n===void 0&&(n=!1);let r=qn(e),i=Zn(e),a=Yn(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=sr(o)),[o,sr(o)]}function $n(e){let t=sr(e);return[er(e),t,er(t)]}function er(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var tr=[`left`,`right`],nr=[`right`,`left`],rr=[`top`,`bottom`],ir=[`bottom`,`top`];function ar(e,t,n){switch(e){case`top`:case`bottom`:return n?t?nr:tr:t?tr:nr;case`left`:case`right`:return t?rr:ir;default:return[]}}function or(e,t,n,r){let i=qn(e),a=ar(Kn(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(er)))),a}function sr(e){let t=Kn(e);return Un[t]+e.slice(t.length)}function cr(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}function lr(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:cr(e)}function ur(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function dr(e,t){return t<0||t>=e.length}function fr(e,t){return hr(e.current,{disabledIndices:t})}function pr(e,t){return hr(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function mr(e,t,n){let{decrement:r,loopFocus:i,allowEscape:a,disabledIndices:o,minIndex:s,maxIndex:c}=n,l=()=>hr(e,{startingIndex:t,decrement:r,disabledIndices:o}),u,d=!1;if(!i)u=r?Math.max(s,l()):Math.min(c,l());else if(r?t<=s:t>=c){let n=r?-1:e.length;a&&t!==n?u=-1:(u=r?c:s,d=!0)}else u=l();return{index:dr(e,u)?-1:u,wrapped:d}}function hr(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:r,amount:i=1}={}){let a=t;do a+=n?-i:i;while(a>=0&&a<=e.length-1&&gr(e,a,r));return a}function gr(e,t,n){if(typeof n==`function`?n(t):n?.includes(t)??!1)return!0;let r=e[t];return r?!vr(r)||r.matches(`:disabled`)?!0:!n&&(r.hasAttribute(`disabled`)||r.getAttribute(`aria-disabled`)===`true`):!1}function _r(e){return e.visibility===`hidden`||e.visibility===`collapse`}function vr(e,t=e?G(e):null){return!e||!e.isConnected||!t||_r(t)?!1:typeof e.checkVisibility==`function`?e.checkVisibility():t.display!==`none`&&t.display!==`contents`}var yr=`a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]`;function br(e){let t=e.assignedSlot;if(t)return t;if(e.parentElement)return e.parentElement;let n=e.getRootNode();return I(n)?n.host:null}function xr(e){for(let t of Array.from(e.children))if(he(t)===`summary`)return t;return null}function Sr(e,t){let n=xr(t);return!!n&&(e===n||Q(n,e))}function Cr(e){let t=e?he(e):``;return e!=null&&e.matches(yr)&&(t!==`summary`||e.parentElement!=null&&he(e.parentElement)===`details`&&xr(e.parentElement)===e)&&(t!==`details`||xr(e)==null)&&(t!==`input`||e.type!==`hidden`)}function wr(e){if(!Cr(e)||!e.isConnected||e.matches(`:disabled`))return!1;for(let t=e;t;t=br(t)){let n=t!==e,r=he(t)===`slot`;if(t.hasAttribute(`inert`)||n&&he(t)===`details`&&!t.open&&!Sr(e,t)||t.hasAttribute(`hidden`)||!r&&!Tr(t,n))return!1}return!0}function Tr(e,t){let n=G(e);return t?n.display!==`none`:vr(e,n)}function Er(e){let t=e.tabIndex;if(t<0){let t=he(e);if(t===`details`||t===`audio`||t===`video`||H(e)&&e.isContentEditable)return 0}return t}function Dr(e){if(he(e)!==`input`)return null;let t=e;return t.type===`radio`&&t.name!==``?t:null}function Or(e,t){let n=Dr(e);if(!n)return!0;let r=t.find(e=>{let t=Dr(e);return t?.name===n.name&&t.form===n.form&&t.checked});return r?r===n:t.find(e=>{let t=Dr(e);return t?.name===n.name&&t.form===n.form})===n}function kr(e){if(H(e)&&he(e)===`slot`){let t=e.assignedElements({flatten:!0});if(t.length>0)return t}return H(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function Ar(e,t){kr(e).forEach(e=>{Cr(e)&&t.push(e),Ar(e,t)})}function jr(e,t,n){kr(e).forEach(e=>{H(e)&&e.matches(t)&&n.push(e),jr(e,t,n)})}function Mr(e){return wr(e)&&Er(e)>=0}function Nr(e){let t=[];return Ar(e,t),t.filter(wr)}function Pr(e){let t=Nr(e);return t.filter(e=>Er(e)>=0&&Or(e,t))}function Fr(e,t){let n=Pr(e),r=n.length;if(r===0)return;let i=Zt(X(e)),a=n.indexOf(i);return n[a===-1?t===1?0:r-1:a+t]}function Ir(e){return Fr(X(e).body,1)||e}function Lr(e){return Fr(X(e).body,-1)||e}function Rr(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!Q(n,r)}function zr(e){Pr(e).forEach(e=>{e.dataset.tabindex=e.getAttribute(`tabindex`)||``,e.setAttribute(`tabindex`,`-1`)})}function Br(e){let t=[];jr(e,`[data-tabindex]`,t),t.forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute(`tabindex`,t):e.removeAttribute(`tabindex`)})}function Vr(e,t){let n=At(e);return Y(()=>(t(n),()=>{t(e=>e===n?void 0:e)}),[n,t]),n}function Hr(e){Z.useEffect(e,Se)}var Ur=0,Wr=class e{static create(){return new e}currentId=Ur;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=Ur,t()},e)}isStarted(){return this.currentId!==Ur}clear=()=>{this.currentId!==Ur&&(clearTimeout(this.currentId),this.currentId=Ur)};disposeEffect=()=>this.clear};function Gr(){let e=L(Wr.create).current;return Hr(e.disposeEffect),e}var Kr=Z.createContext({disabled:!1});function qr(){return Z.useContext(Kr)}var Jr=null;globalThis.requestAnimationFrame;var Yr=new class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n<t.length;n+=1)t[n]?.(e)};request(e){let t=this.nextId;return this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1,this.isScheduled||=(requestAnimationFrame(this.tick),!0),t}cancel(e){let t=e-this.startId;t<0||t>=this.callbacks.length||this.callbacks[t]!==null&&(this.callbacks[t]=null,--this.callbacksCount)}},Xr=class e{static create(){return new e}static request(e){return Yr.request(e)}static cancel(e){return Yr.cancel(e)}currentId=Jr;request(e){this.cancel(),this.currentId=Yr.request(()=>{this.currentId=Jr,e()})}cancel=()=>{this.currentId!==Jr&&(Yr.cancel(this.currentId),this.currentId=Jr)};disposeEffect=()=>this.cancel};function Zr(){let e=L(Xr.create).current;return Hr(e.disposeEffect),e}function Qr(e){return e==null?e:`current`in e?e.current:e}function $r(e,t){return e.getAnimations(t).filter(e=>{let t=e.effect?.getTiming();return t?.duration!==1/0&&t?.iterations!==1/0})}var ei=e(k(),1),ti=null;function ni(e){if(!ti){let e=[];ti=e,queueMicrotask(()=>{ti=null,ei.flushSync(()=>{for(let t of e)t()})})}ti.push(e)}function ri(e,t=!1,n=!1){let r=Zr();return W((i,a=null)=>{r.cancel();let o=Qr(e);if(o==null)return;let s=o,c=()=>{n?ni(()=>{a?.aborted||i()}):ei.flushSync(i)};if(typeof s.getAnimations!=`function`||globalThis.BASE_UI_ANIMATIONS_DISABLED){i();return}function l(){Promise.all($r(s).map(e=>e.finished.then(K))).then(()=>{a?.aborted||c()},()=>{a?.aborted||($r(s).some(e=>e.pending||e.playState!==`finished`)?l():c())})}if(t){let e=on;if(!s.hasAttribute(e)){r.request(l);return}let t=new MutationObserver(()=>{s.hasAttribute(e)||(t.disconnect(),l())});t.observe(s,{attributes:!0,attributeFilter:[e]}),a?.addEventListener(`abort`,()=>t.disconnect(),{once:!0})}else r.request(l)})}function ii(e){let{enabled:t=!0,open:n,ref:r,batch:i=!1,onComplete:a}=e,o=W(a),s=ri(r,n,i);Z.useEffect(()=>{if(!t)return;let e=new AbortController;return s(o,e.signal),()=>{e.abort()}},[t,n,o,s])}function ai(e,t=!1,n=!1,r=!1){let[i,a]=Z.useState(e&&t?`idle`:void 0),[o,s]=Z.useState(e&&!r);return e&&!o&&(s(!0),a(`starting`)),!e&&o&&i!==`ending`&&!n&&a(`ending`),!e&&!o&&i===`ending`&&a(void 0),Y(()=>{if(!e&&o&&i!==`ending`&&n){let e=Xr.request(()=>{a(`ending`)});return()=>{Xr.cancel(e)}}},[e,o,i,n]),Y(()=>{if(!e||t||i===void 0)return;let n=Xr.request(()=>{a(void 0)});return()=>{Xr.cancel(n)}},[t,e,i]),Y(()=>{if(!e||!t)return;e&&o&&i!==`idle`&&a(`starting`);let n=Xr.request(()=>{a(`idle`)});return()=>{Xr.cancel(n)}},[t,e,o,i]),{mounted:o,setMounted:s,transitionStatus:i}}function oi(e,t,n){let{setFocused:r,focusOwnerRef:i}=St(),a=W(t=>{(t?!e:i.current===a)&&(i.current=t&&a,n?.(t),r(t))});return Y(()=>{let e=t.current;return e?.getRootNode()?.activeElement===e&&a(!0),()=>a(!1)},[e,t,a]),a}function si(e,t,n,r,i=!0,a){let{registerFieldControl:o}=St(),s=L(()=>Symbol());Y(()=>{let c=s.current;i?o(c,{controlRef:e,getValue:r,id:t,name:a,value:n}):o(c,void 0)},[e,i,r,t,a,o,s,n]),Y(()=>{let e=s.current;return()=>{o(e,void 0)}},[o,s])}function ci(e,t){let n=Z.useRef(e),r=W(t);Y(()=>{n.current!==e&&r(n.current),n.current=e},[e,r])}function li(e,t,n,r){let i=!1,a=!1,o=r??de;return{reason:e,event:t??new Event(`base-ui`),cancel(){i=!0},allowPropagation(){a=!0},get isCanceled(){return i},get isPropagationAllowed(){return a},trigger:n,...o}}function ui(e,t,n){let r=n??de;return{reason:e,event:t??new Event(`base-ui`),...r}}var di=`none`,fi=`trigger-press`,pi=`outside-press`,mi=`item-press`,hi=`track-press`,gi=`input-change`,_i=`focus-out`,vi=`escape-key`,yi=`list-navigation`,bi=`keyboard`,xi=`drag`,Si=`cancel-open`,Ci=`disabled`,wi=`missing`,Ti=`initial`,Ei=`imperative-action`,Di=`window-resize`,Oi=Z.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:g,setDirty:_,validityData:v,setFilled:y,validationMode:b,validation:x}=St(),{clearErrors:S,elementRef:C,submitCountRef:w}=wt(),T=h||s,E=m??a,D={...p,disabled:T},{labelId:O}=Mt(),k=It({id:i}),A=o!==void 0,j=o==null?void 0:String(o),M=W(()=>x.inputRef.current?.value);si(x.inputRef,k,j,M,!T,a),Y(()=>{let e=j??x.inputRef.current?.value;e!==void 0&&y(e!==``)},[j,l,x.inputRef,y]),ci(j,()=>{j!==void 0&&(S(E),_(j!==(v.initialValue??``)),x.change(j))});let N=Z.useRef(null),P=oi(T,N),F=Gr();return ue(`input`,e,{ref:[t,N],state:D,props:[{id:k,disabled:T,name:E,ref:x.inputRef,"aria-labelledby":O,autoFocus:u,...A?{value:o}:{defaultValue:l},onChange(e){let t=e.currentTarget.value,n=li(di,e.nativeEvent);c?.(t,n),!A&&(_(t!==(v.initialValue??``)),y(t!==``),!e.nativeEvent.defaultPrevented&&!n.isCanceled&&(S(E),x.change(t)))},onFocus(){P(!0)},onBlur(e){if(g(!0),P(!1),b===`onBlur`){let t=e.currentTarget.value;x.commit(t),A&&queueMicrotask(()=>{let e=x.inputRef.current?.value;e!==void 0&&e!==t&&e!==(v.initialValue??``)&&x.commit(e)})}},onKeyDown(e){if(e.currentTarget.tagName===`INPUT`&&e.key===`Enter`){g(!0);let t=e.currentTarget.value,n=e.currentTarget.form;if(n&&n===C.current&&!e.defaultPrevented){let t=e.currentTarget,n=w.current;F.start(0,()=>{w.current===n&&x.commit(t.value)})}else x.commit(t)}}},f,e=>x.getValidationProps(T,e)],stateAttributesMapping:yt})}),$=j(),ki=Z.forwardRef(function(e,t){return(0,$.jsx)(Oi,{ref:t,...e})});function Ai({className:e,type:t,...n}){return(0,$.jsx)(ki,{type:t,"data-slot":`input`,className:J(`h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,e),...n})}function ji({className:e,...t}){return(0,$.jsx)(`kbd`,{"data-slot":`kbd`,className:J(`pointer-events-none inline-flex h-5 min-w-5 items-center justify-center rounded-sm bg-muted px-1 font-sans text-xs font-medium text-muted-foreground select-none`,e),...t})}function Mi({className:e,...t}){return(0,$.jsx)(`span`,{"data-slot":`kbd-group`,className:J(`inline-flex items-center gap-1`,e),...t})}function Ni({controlled:e,default:t,name:n,state:r=`value`}){let{current:i}=Z.useRef(e!==void 0),[a,o]=Z.useState(()=>t);return[i&&e!==void 0?e:a,Z.useCallback(e=>{i||o(e)},[])]}var Pi=Z.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},nextIndexRef:{current:0}});function Fi(){return Z.useContext(Pi)}function Ii(e){let{children:t,elementsRef:n,labelsRef:r,onMapChange:i}=e,a=W(i),[,o]=Z.useState(0),s=L(Ri).current,c=L(Li).current,l=Z.useRef(0),u=Z.useRef(!0),d=Z.useRef(null),f=Z.useRef(null),p=W(()=>{u.current||(u.current=!0,o(e=>e+1))}),m=W((e,t)=>{c.set(e,t),p()}),h=W(e=>{c.delete(e),p()}),g=W(e=>{let t=new Map;return n.current.length=0,r&&(r.current.length=0),e.forEach(e=>{t.set(e.element,{...e.registration.metadata??{},index:e.index}),n.current[e.index]=e.element,r&&(r.current[e.index]=e.registration.label===void 0?e.registration.textRef?.current?.textContent??e.element.textContent:e.registration.label)}),l.current=n.current.length,t});function _(e){if(f.current?.disconnect(),f.current=null,typeof MutationObserver!=`function`||e.length<2)return;let t=new MutationObserver(n=>{if(!Vi(n))return;let r=null;for(let n of e)if(n.isConnected){if(r&&Hi(r,n)>0){t.disconnect(),p();return}r=n}});f.current=t;let n=new Set;for(let t=1;t<e.length;t+=1){let r=Bi(e[t-1],e[t]);r&&n.add(r)}n.forEach(e=>t.observe(e,{childList:!0}))}let v=W(()=>{let[e,t]=zi(c),n=g(e),r=d.current,i=!r||r.length!==e.length||e.some((e,t)=>{let n=r[t];return e.index!==n.index||e.element!==n.element||e.registration.index!==n.registration.index||e.registration.metadata!==n.registration.metadata});_(t),d.current=e,u.current=!1,i&&(s.forEach(e=>e(n)),a(n))});Y(()=>(!u.current&&d.current&&g(d.current),()=>{n.current=[],r&&(r.current=[])}),[n,r,g]),Y(()=>{u.current&&v()}),Y(()=>()=>{f.current?.disconnect(),u.current=!0},[]);let y=W(e=>(s.add(e),()=>{s.delete(e)})),b=Z.useMemo(()=>({register:m,unregister:h,subscribeMapChange:y,nextIndexRef:l}),[m,h,y,l]);return(0,$.jsx)(Pi.Provider,{value:b,children:t})}function Li(){return new Map}function Ri(){return new Set}function zi(e){let t=new Set,n=[],r=[];e.forEach((e,i)=>{if(!i.isConnected)return;let a=e.index,o={index:a??-1,element:i,registration:e};a===null?r.push(o):a>=0&&(t.add(a),n.push(o))});let i=0;return r.sort((e,t)=>Hi(e.element,t.element)),r.forEach(e=>{for(;t.has(i);)i+=1;e.index=i,n.push(e),i+=1}),t.size>0&&n.sort((e,t)=>e.index-t.index),[n,r.map(e=>e.element)]}function Bi(e,t){let n=e.parentElement;for(;n&&!n.contains(t);)n=n.parentElement;return n}function Vi(e){for(let t of e)for(let e=0;e<t.removedNodes.length;e+=1)if(t.removedNodes[e].isConnected)return!0;return!1}function Hi(e,t){return e.nextElementSibling===t?-1:t.nextElementSibling===e?1:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}function Ui(e={}){let{guess:t,label:n,metadata:r,textRef:i,index:a}=e,{register:o,unregister:s,subscribeMapChange:c,nextIndexRef:l}=Fi(),u=Z.useRef(-1),[d,f]=Z.useState(a==null&&t?()=>{if(u.current===-1){let e=l.current;l.current+=1,u.current=e}return u.current}:-1),p=a??d,m=Z.useRef(null),h=Z.useCallback(e=>{let t=m.current;t&&s(t),m.current=e,e&&o(e,{metadata:r??null,index:a??null,label:n,textRef:i})},[a,o,s,r,n,i]);return Y(()=>{if(a==null)return c(e=>{let t=m.current?e.get(m.current)?.index:null;t!=null&&f(t)})},[a,c]),{ref:h,index:p}}function Wi(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function Gi(e){let t=L(Ki,e).current;return t.next=e,Y(t.effect),t}function Ki(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}var qi={clipPath:`inset(50%)`,overflow:`hidden`,whiteSpace:`nowrap`,border:0,padding:0,width:1,height:1,margin:-1},Ji={...qi,position:`fixed`,margin:0,top:0,left:0},Yi={...qi,position:`absolute`},Xi=Z.createContext(void 0);function Zi(){let e=Z.useContext(Xi);if(e===void 0)throw Error(Te(63));return e}var Qi=`data-checked`,$i=`data-unchecked`,ea={...yt,checked(e){return e?{[Qi]:``}:{[$i]:``}}},ta=Z.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:h,uncheckedValue:g,value:_,style:v,...y}=e,{clearErrors:b}=wt(),{state:x,setTouched:S,setDirty:C,validityData:w,setFilled:T,validationMode:E,disabled:D,name:O,validation:k}=St(),{labelId:A}=Mt(),j=D||m,M=O??l,N=Z.useRef(null),P=ge(N,c,k.inputRef),F=Z.useRef(null),I=oi(j,F),L=At(),R=It({id:s}),z=u?void 0:R,[B,V]=Ni({controlled:n,default:!!i,name:`Switch`,state:`checked`});si(F,L,B,void 0,!j,l),Y(()=>{T(B)},[B,T]),ci(B,()=>{b(M),C(B!==w.initialValue),k.change(B)});let{getButtonProps:H,buttonRef:ee}=pe({disabled:j,native:u}),te=Nt(a,A,N,!u,z,y[`aria-label`]),ne={id:u?R:L,role:`switch`,"aria-checked":B,"aria-readonly":f||void 0,"aria-required":p||void 0,"aria-labelledby":te,onFocus(){I(!0)},onBlur(){let e=N.current;e&&!j&&(S(!0),I(!1),E===`onBlur`&&k.commit(e.checked))},onClick(e){if(f||j)return;e.preventDefault();let t=N.current;t&&fe(t,e)}},U={...k.getValidationProps(j),checked:B,disabled:j,form:o,id:z,name:M,required:p,style:M?Yi:Ji,tabIndex:-1,type:`checkbox`,"aria-hidden":!0,ref:P,onChange(e){if(e.nativeEvent.defaultPrevented)return;if(f){e.preventDefault();return}let t=e.currentTarget.checked,n=li(di,e.nativeEvent);d?.(t,n),!n.isCanceled&&V(t)},onClick(e){e.stopPropagation()},onFocus(){F.current?.focus()},..._===void 0?de:{value:_}},re=Z.useMemo(()=>({...x,checked:B,disabled:j,readOnly:f,required:p}),[x,B,j,f,p]),ie=ue(`span`,e,{state:re,ref:[t,F,ee],props:[ne,y,H,e=>k.getValidationProps(j,e)],stateAttributesMapping:ea});return(0,$.jsxs)(Xi.Provider,{value:re,children:[ie,!B&&M&&g!==void 0&&(0,$.jsx)(`input`,{type:`hidden`,form:o,name:M,value:g,disabled:j}),(0,$.jsx)(`input`,{...U,suppressHydrationWarning:!0})]})}),na=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,o=Zi();return ue(`span`,e,{state:o,ref:t,stateAttributesMapping:ea,props:a})});function ra({className:e,...t}){return(0,$.jsx)(ta,{"data-slot":`switch`,className:J(`inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border border-transparent bg-input transition-colors outline-none data-checked:bg-primary focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50`,e),...t,children:(0,$.jsx)(na,{"data-slot":`switch-thumb`,className:`pointer-events-none block size-4 translate-x-0.5 rounded-full bg-background shadow-sm transition-transform data-checked:translate-x-4 data-checked:bg-primary-foreground`})})}function ia(e){if(!e)return null;for(let t of e.elements){let e=t.tagName;if(e===`BUTTON`||e===`INPUT`){let e=t;if(e.type===`submit`)return e}}return null}var aa=`data-checked`,oa=`data-unchecked`;function sa(e){return{checked(t){return e.indeterminate?{}:t?{[aa]:``}:{[oa]:``}},...yt}}var ca=Z.createContext(void 0);function la(){return Z.useContext(ca)}var ua=Z.createContext(void 0);function da(){let e=Z.useContext(ua);if(e===void 0)throw Error(Te(14));return e}var fa=`data-parent`,pa=Z.forwardRef(function(e,t){let{checked:n,className:r,defaultChecked:i=!1,"aria-labelledby":a,disabled:o=!1,form:s,id:c,indeterminate:l=!1,inputRef:u,name:d,onCheckedChange:f,parent:p=!1,readOnly:m=!1,render:h,required:g=!1,uncheckedValue:_,value:v,nativeButton:y=!1,style:b,...x}=e,{clearErrors:S}=wt(),{disabled:C,name:w,setDirty:T,setFilled:E,setTouched:D,state:O,validationMode:k,validityData:A,validation:j}=St(),M=qr(),{labelId:N,registerControlId:P,getDescriptionProps:F}=Mt(),I=la(),L=I?.allValues===void 0?void 0:I.parent,R=L!==void 0,z=C||M.disabled||I?.disabled||o,B=w??d,V=v??B,H=At(),ee=I?.registerControlId!==P,te=It({id:c||void 0,enabled:ee}),U=y?te:H,re={};R&&(p?re=L.getParentProps():V!==void 0&&(re=L.getChildProps(V)));let{checked:ie=n,indeterminate:W=l,onCheckedChange:G,...ae}=re,oe=I?.value,se=Z.useRef(null),ce=oi(z,se),{getButtonProps:K,buttonRef:me}=pe({disabled:z,native:y}),q=I?.validation??j,[he,_e]=Ni({controlled:V!==void 0&&oe!==void 0&&!p?oe.includes(V):ie,default:i,name:`Checkbox`,state:`checked`}),J=R?!!ie:he,ve=R&&W||l;si(se,H,he,void 0,!I&&!z,d);let ye=L?.registerChildId,be=Z.useRef(null),xe=q.registerInput,Se=I?V:void 0,Ce=Z.useCallback(e=>xe(e,{controlRef:se,value:Se}),[xe,Se]),we=ge(u,be,p?void 0:Ce),Te=Nt(a,N,be,!y,te,x[`aria-label`]);Y(()=>{be.current&&(be.current.indeterminate=ve),I||E(he)},[he,ve,I,E]),ci(he,()=>{I||(S(B),T(he!==A.initialValue),q.change(he))});let Ee=le({checked:he,disabled:z,form:s,name:p?void 0:B,id:y?void 0:te,required:g,ref:we,style:B?Yi:Ji,tabIndex:-1,type:`checkbox`,"aria-hidden":!0,onChange(e){if(e.nativeEvent.defaultPrevented)return;if(m){e.preventDefault();return}let t=e.currentTarget.checked,n=li(di,e.nativeEvent);if(f?.(t,n),!n.isCanceled&&(G?.(t,n),!n.isCanceled&&(_e(t),V!==void 0&&I!==void 0&&!p&&!R))){let e=t?[...I.value,V]:I.value.filter(e=>e!==V);I.setValue(e,n)}},onClick(e){e.stopPropagation()},onFocus(){se.current?.focus()}},v===void 0?de:{value:(I?he&&v:v)||``},F,e=>q.getValidationProps(z,e));Z.useEffect(()=>{if(!L||V===void 0)return;let e=L.disabledStatesRef.current;return e.set(V,z),()=>{e.delete(V)}},[L,z,V]);let X=Z.useMemo(()=>({...O,checked:J,disabled:z,readOnly:m,required:g,indeterminate:ve}),[O,J,z,m,g,ve]),De=sa(X),Oe=ue(`span`,e,{state:X,ref:[me,se,t],props:[{id:U,role:`checkbox`,"aria-checked":ve?`mixed`:J,"aria-readonly":m||void 0,"aria-required":g||void 0,"aria-labelledby":Te,[fa]:p?``:void 0,onFocus(){ce(!0)},onBlur(){let e=be.current;e&&(D(!0),ce(!1),k===`onBlur`&&q.commit(I?oe:e.checked))},onKeyDown(e){if(e.key!==`Enter`||(e.preventBaseUIHandler(),e.defaultPrevented))return;let t=be.current?.form??null,n=e.currentTarget,r=e.nativeEvent,i=e.preventDefault,a=r.preventDefault,o=!1;e.preventDefault=()=>{o=!0,i.call(e)},r.preventDefault=()=>{o=!0,a.call(r)},a.call(r),ne(n).queueMicrotask(()=>{e.preventDefault=i,r.preventDefault=a,o||ia(t)?.click()})},onClick(e){if(m||z)return;e.preventDefault();let t=be.current;t&&fe(t,e)}},x,ae,K,F,e=>q.getValidationProps(z,e)],stateAttributesMapping:De}),ke=Oe.props.id;return Y(()=>{if(ye&&!p&&V!==void 0&&ke!==void 0)return ye(V,ke)},[ye,p,V,ke]),(0,$.jsxs)(ua.Provider,{value:X,children:[Oe,!he&&!I&&B&&!p&&_!==void 0&&(0,$.jsx)(`input`,{type:`hidden`,form:s,name:B,value:_,disabled:z}),(0,$.jsx)(`input`,{...Ee,suppressHydrationWarning:!0})]})}),ma=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,keepMounted:a=!1,...o}=e,s=da(),c=s.checked||s.indeterminate,{mounted:l,transitionStatus:u,setMounted:d}=ai(c),f=Z.useRef(null),p={...s,transitionStatus:u};ii({batch:!0,enabled:!c,open:c,ref:f,onComplete(){c||d(!1)}});let m={...sa(s),...un},h=a||l,g=ue(`span`,e,{ref:[t,f],state:p,stateAttributesMapping:m,props:o});return h?g:null});function ha({className:e,...t}){return(0,$.jsx)(pa,{"data-slot":`checkbox`,className:J(`peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 group-has-[:focus-visible]/field-label:ring-0 group-has-[:focus-visible]/field-label:not-data-checked:border-input after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground group-has-[:focus-visible]/field-label:data-checked:border-primary dark:data-checked:bg-primary`,e),...t,children:(0,$.jsx)(ma,{"data-slot":`checkbox-indicator`,className:`grid place-content-center text-current transition-none [&>svg]:size-3.5`,children:(0,$.jsx)(tt,{})})})}function ga(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function _a(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}function va(e){return e==null?void 0:`${e}-label`}function ya(e,t){return e??t}function ba(e,t){return e-t}function xa(e,t,n,r,i,a){let o=ga(e,n,r);if(!i)return o;let s=a.slice();return s[t]=ga(o,a[t-1]??-1/0,a[t+1]??1/0),s.sort(ba)}function Sa(e,t,n){if(!Array.isArray(e))return!0;let r=t*n;for(let t=0;t<e.length-1;t+=1)if(!(Math.abs(e[t]-e[t+1])>=r))return!1;return!0}var Ca=()=>null,wa={activeThumbIndex:Ca,max:Ca,min:Ca,minStepsBetweenValues:Ca,step:Ca,values:Ca,...yt},Ta=Z.createContext(void 0);function Ea(){let e=Z.useContext(Ta);if(e===void 0)throw Error(Te(62));return e}function Da(e,t){return e===t||Array.isArray(e)&&Array.isArray(t)&&_a(e,t)}var Oa=Z.forwardRef(function(e,t){let{"aria-labelledby":n,className:r,defaultValue:i,disabled:a=!1,id:o,format:s,largeStep:c=10,locale:l,render:u,max:d=100,min:f=0,minStepsBetweenValues:p=0,form:m,name:h,onValueChange:g,onValueCommitted:_,orientation:v=`horizontal`,step:y=1,thumbCollisionBehavior:b=`push`,thumbAlignment:x=`center`,value:S,style:C,...w}=e,T=At(o),E=va(T),D=W(g),O=W(_),{clearErrors:k}=wt(),{state:A,disabled:j,name:M,setTouched:N,setDirty:P,validityData:F,validation:I}=St(),{labelId:L}=Mt(),[R,z]=Z.useState(),B=n??ya(L,R),V=j||a,H=M??h,[ee,te]=Ni({controlled:S,default:i??f,name:`Slider`}),ne=Z.useRef(null),U=Z.useRef(null),re=Z.useRef([]),ie=Z.useRef(null),G=Z.useRef(-1),ae=Z.useRef(null),oe=Z.useRef(di),[se,ce]=Z.useState(-1),[le,de]=Z.useState(-1),[K,fe]=Z.useState(!1),[pe,me]=Z.useState(()=>new Map),[q,he]=Z.useState([void 0,void 0]),ge=W(e=>{ce(e),e!==-1&&de(e)}),_e=W(e=>{e&&(U.current=e)}),J=Array.isArray(ee),ve=Z.useMemo(()=>J?ee.map(e=>ga(e,f,d)).sort(ba):[ga(ee,f,d)],[d,f,J,ee]),ye=J?ve:ve[0];si(I.inputRef,T,ye,void 0,!V,h),ci(ye,()=>{k(H),I.change(ye);let e=F.initialValue,t;t=Array.isArray(ye)&&Array.isArray(e)?!_a(ye,e):ye!==e,P(t)});let be=W((e,t)=>{if(Number.isNaN(e)||Da(e,ee))return!1;let n=t.event,r=n.constructor,i=new r(n.type,n);return Object.defineProperty(i,"target",{writable:!0,value:{value:e,name:H}}),t.event=i,D(e,t),!t.isCanceled&&(oe.current=t.reason,te(e),!0)}),xe=W((e,t,n)=>{let r=xa(e,t,f,d,J,ve);if(Sa(r,y,p)){let e=`key`in n?bi:gi,i=be(r,li(e,n.nativeEvent,void 0,{activeThumbIndex:t}));N(!0),i&&O(r,ui(e,n.nativeEvent))}});Y(()=>{if(!V)return;let e=Zt(X(ne.current));Q(ne.current,e)&&e.blur(),se!==-1&&ge(-1)},[se,V,ge]);let Se=Z.useMemo(()=>({...A,activeThumbIndex:se,disabled:V,dragging:K,orientation:v,max:d,min:f,minStepsBetweenValues:p,step:y,values:ve}),[A,se,V,K,d,f,p,v,y,ve]),Ce=Z.useMemo(()=>({active:se,controlRef:U,disabled:V,dragging:K,validation:I,format:s,handleInputChange:xe,indicatorPosition:q,inset:x!==`center`,isArrayValue:J,labelId:B,rootLabelId:E,largeStep:c,lastUsedThumbIndex:le,lastChangeReasonRef:oe,form:m,locale:l,max:d,min:f,minStepsBetweenValues:p,name:H,onValueCommitted:O,orientation:v,pressedThumbCenterOffsetRef:ie,pressedThumbIndexRef:G,pressedValuesRef:ae,registerFieldControlRef:_e,renderBeforeHydration:x===`edge`,setActive:ge,setDragging:fe,setIndicatorPosition:he,setLabelId:z,setValue:be,state:Se,step:y,thumbCollisionBehavior:b,thumbMap:pe,thumbRefs:re,values:ve}),[se,B,E,V,K,I,s,xe,q,c,le,m,l,d,f,p,H,O,v,J,_e,ge,be,Se,y,b,x,pe,ve]),we=ue(`div`,e,{state:Se,ref:[t,ne],props:[{"aria-labelledby":B,id:T,role:`group`},w,e=>I.getValidationProps(V,e)],stateAttributesMapping:wa});return(0,$.jsx)(Ta.Provider,{value:Ce,children:(0,$.jsx)(Ii,{elementsRef:re,onMapChange:me,children:we})})});function ka(e){return Array.isArray(e)?e.map(e=>ka(e)).join(`,`):e==null?``:String(e)}var Aa=new Map;function ja(e,t){let n=JSON.stringify({locale:ka(e),options:t}),r=Aa.get(n);if(r)return r;let i=new Intl.NumberFormat(e,t);return Aa.set(n,i),i}function Ma(e,t,n){return e==null?``:ja(t,n).format(e)}var Na=Z.createContext(void 0);function Pa(){return Z.useContext(Na)?.direction??`ltr`}function Fa(e){return e===`touch`||e===`pen`}function Ia(e,t){let n=e.getBoundingClientRect();return t?(n.top+n.bottom)/2:(n.left+n.right)/2}function La(e){if(e===0)return 0;if(Math.abs(e)<1){let t=e.toExponential().split(`e-`),n=t[0].split(`.`)[1];return(n?n.length:0)+parseInt(t[1],10)}let t=e.toString().split(`.`)[1];return t?t.length:0}function Ra(e,t,n){let r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(Math.max(La(t),La(n))))}function za(e,t,n,r,i,a,o,s){let c=e.slice(),l=a*o,u=c.length-1,d=s??e;c[t]=ga(n,r+t*l,i-(u-t)*l);for(let e=t+1;e<=u;e+=1){let t=c[e-1]+l,n=i-(u-e)*l,r=d[e],a=Math.max(c[e],t);r<a&&(a=Math.max(r,t)),c[e]=ga(a,t,n)}for(let e=t-1;e>=0;--e){let t=c[e+1]-l,n=r+e*l,i=d[e],a=Math.min(c[e],t);i>a&&(a=Math.min(i,t)),c[e]=ga(a,n,t)}for(let e=0;e<=u;e+=1)c[e]=Number(c[e].toFixed(12));return c}function Ba(e,t,n,r,i,a,o,s,c,l){let u=n??t,d=r??t;if(!(u.length>1))return{value:a,thumbIndex:0,didSwap:!1};let f=c*l;if(e===`push`)return{value:za(u,i,a,o,s,c,l),thumbIndex:i,didSwap:!1};let p=u.slice(),m=p[i-1],h=p[i+1],g=m==null?o:m+f,_=h==null?s:h-f,v=Number(ga(a,g,_).toFixed(12));switch(p[i]=v,e){case`swap`:{let e=u[i],t=1e-7,n=a>e,r=a<e,g=n&&h!=null&&a>=h-t,_=r&&m!=null&&a<=m+t;if(!g&&!_)return{value:p,thumbIndex:i,didSwap:!1};let y=g?i+1:i-1,b=p.map((e,t)=>t===i?v:d[t]??u[t]),x=a;x=g?Math.max(a,p[y]):Math.min(a,p[y]);let S=za(p,y,x,o,s,c,l,b),C=g?y-1:y+1,w=S[C-1],T=S[C+1],E=w==null?o:w+f;E=Math.max(E,o+C*f);let D=T==null?s:T-f;D=Math.min(D,s-(S.length-1-C)*f);let O=ga(v,E,D);return S[C]=Number(O.toFixed(12)),{value:S,thumbIndex:y,didSwap:!0}}default:return{value:p,thumbIndex:i,didSwap:!1}}}var Va=2;function Ha(e,t){if(!e)return{start:0,end:0};function n(e){let t=e==null?0:parseFloat(e);return Number.isNaN(t)?0:t}let r=t?`Top`:`InlineStart`,i=t?`Bottom`:`InlineEnd`;return{start:n(e[`border${r}Width`])+n(e[`padding${r}`]),end:n(e[`border${i}Width`])+n(e[`padding${i}`])}}function Ua(e,t){if(t.current!=null&&e.changedTouches){let n=e;for(let e=0;e<n.changedTouches.length;e+=1){let r=n.changedTouches[e];if(r.identifier===t.current)return{x:r.clientX,y:r.clientY}}return null}return{x:e.clientX,y:e.clientY}}var Wa=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,{disabled:o,dragging:s,inset:c,isArrayValue:l,lastChangeReasonRef:u,max:d,min:f,minStepsBetweenValues:p,onValueCommitted:m,orientation:h,pressedThumbCenterOffsetRef:g,pressedThumbIndexRef:_,pressedValuesRef:v,registerFieldControlRef:y,renderBeforeHydration:b,setActive:x,setDragging:S,setValue:C,state:w,step:T,thumbCollisionBehavior:E,thumbRefs:D,values:O}=Ea(),k=Pa(),A=O.length>1,j=h===`vertical`,M=Z.useRef(null),N=Z.useRef(null),P=W(e=>{e&&N.current==null&&(N.current=ne(e).getComputedStyle(e))}),F=Z.useRef(null),I=Z.useRef(0),L=Z.useRef(0),R=Z.useRef(null),z=Z.useRef(!1),V=Gi(O);function H(e){return e?.querySelector(`input[type="range"]`)}function ee(e){_.current=e,D.current[e]||(g.current=null)}function te(){_.current=-1,g.current=null}function U(e){return B(e)?D.current.some(t=>!B(t)||!Q(t,e)?!1:H(t)?.disabled===!0):!1}function re(e){let t=M.current,n=_.current;if(!t||n<0||n>=O.length)return n>=O.length&&(R.current=null),null;let{width:r,height:i,bottom:a,left:o,right:s}=t.getBoundingClientRect(),c=Ha(N.current,j),u=L.current,m=(j?i:r)-c.start-c.end-u*2,h=g.current??0,y=e.x-h,b=e.y-h,x=ga(((j?a-b-c.end:(k===`rtl`?s-y:y-o)-c.start)-u)/m,0,1),S=(d-f)*x+f;return S=Ra(S,T,f),S=ga(S,f,d),A?Ba(E,O,V.current,v.current,n,S,f,d,T,p):{value:l?[S]:S,thumbIndex:n,didSwap:!1}}function ie(e){v.current=A?O.slice():null,R.current=null,V.current=O;let t=_.current,n=t;if(t>-1&&t<O.length){if(O[t]===d){let e=t;for(;e>0&&O[e-1]===d;)--e;n=e}}else{let t=j?`y`:`x`,r;n=-1;for(let i=0;i<D.current.length;i+=1){let a=D.current[i];if(B(a)&&!H(a)?.disabled){let o=Ia(a,j),s=Math.abs(e[t]-o);(r===void 0||s<=r)&&(n=i,r=s)}}}if(n>-1&&n!==t&&ee(n),c){let e=D.current[n];if(B(e)){let t=e.getBoundingClientRect();L.current=t[j?`height`:`width`]/2}}}function G(e){let t=H(D.current?.[e]);t&&t.focus({preventScroll:!0,focusVisible:!1})}function ae(e,t,n){let r=C(e.value,li(t,n,void 0,{activeThumbIndex:e.thumbIndex}));return r&&(R.current=e.value,V.current=Array.isArray(e.value)?e.value:[e.value],e.didSwap&&(ee(e.thumbIndex),G(e.thumbIndex))),r}let oe=W(e=>{let t=Ua(e,F);if(t==null)return;if(I.current+=1,e.type===`pointermove`&&e.buttons===0){se(e);return}let n=re(t);n!=null&&Sa(n.value,T,p)&&(!s&&I.current>Va&&S(!0),ae(n,xi,e))}),se=W(e=>{if(Ua(e,F)==null)return;x(-1),S(!1),g.current=null;let t=R.current;if(Array.isArray(t)&&t.length!==O.length&&(R.current=null),R.current!=null){let t=u.current;m(R.current,ui(t,e))}`pointerType`in e&&M.current?.hasPointerCapture(e.pointerId)&&M.current?.releasePointerCapture(e.pointerId),_.current=-1,de()}),ce=W(e=>{F.current??se(e)}),le=W(e=>{let t=z.current;if(z.current=!1,o)return;if(U($t(e))){te();return}let n=e.changedTouches[0];if(n==null)return;if(F.current=n.identifier,!t){let t={x:n.clientX,y:n.clientY};ie(t);let r=re(t);if(r==null)return;G(r.thumbIndex),ae(r,hi,e),I.current=0}let r=X(M.current);r.addEventListener(`touchmove`,oe,{passive:!0}),r.addEventListener(`touchend`,se,{passive:!0}),r.addEventListener(`touchcancel`,se,{passive:!0})}),de=W(()=>{let e=X(M.current);e.removeEventListener(`pointermove`,oe),e.removeEventListener(`pointerup`,se),e.removeEventListener(`pointercancel`,ce),e.removeEventListener(`touchmove`,oe),e.removeEventListener(`touchend`,se),e.removeEventListener(`touchcancel`,se),F.current=null,v.current=null,R.current=null,z.current=!1}),K=Zr();return Z.useEffect(()=>{let e=M.current;if(!e)return()=>de();let t=Wi(e,`touchstart`,le,{passive:!0});return()=>{t(),K.cancel(),de()}},[de,le,M,K]),Z.useEffect(()=>{o&&de()},[o,de]),ue(`div`,e,{state:w,ref:[t,y,M,P],props:[{"data-base-ui-slider-control":b?``:void 0,onPointerDown(e){z.current=!1;let t=M.current,n=$t(e.nativeEvent);if(!t||o||e.defaultPrevented||!B(n)||e.button!==0)return;if(U(n)){te();return}let r={x:e.clientX,y:e.clientY};ie(r);let i=re(r);if(i==null)return;Q(D.current[i.thumbIndex],Zt(X(t)))?e.preventDefault():K.request(()=>{G(i.thumbIndex)}),S(!0),g.current??ae(i,hi,e.nativeEvent),e.nativeEvent.pointerId&&t.setPointerCapture(e.nativeEvent.pointerId),I.current=0,z.current=Fa(e.pointerType);let a=X(t);a.addEventListener(`pointermove`,oe,{passive:!0}),a.addEventListener(`pointerup`,se,{once:!0}),a.addEventListener(`pointercancel`,ce,{once:!0})}},a],stateAttributesMapping:wa})}),Ga=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,{state:o}=Ea();return ue(`div`,e,{state:o,ref:t,props:[{style:{position:`relative`}},a],stateAttributesMapping:wa})}),Ka=t((e=>{var t=A();function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var d=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;e.useSyncExternalStore=t.useSyncExternalStore===void 0?d:t.useSyncExternalStore})),qa=t(((e,t)=>{t.exports=Ka()})),Ja=qa(),Ya=()=>()=>{},Xa=()=>!0,Za=()=>!1;function Qa(){return(0,Ja.useSyncExternalStore)(Ya,Xa,Za)}function $a(){let[e,t]=Z.useState(!1);return Z.useEffect(()=>{t(!0)},[]),e}var eo=ve(18)?Qa:$a;function to(){return!eo()}function no(e,t,n){return(e-t)*100/(n-t)}var ro=`ArrowUp`,io=`ArrowDown`,ao=`ArrowLeft`,oo=`ArrowRight`,so=`Home`,co=`PageUp`,lo=`PageDown`,uo=new Set([ro,io,ao,oo,so,`End`]),fo=[`Shift`,`Control`,`Alt`,`Meta`];function po(e){return H(e)&&e.tagName===`INPUT`}function mo(e){return!!(po(e)&&e.selectionStart!=null||H(e)&&e.tagName===`TEXTAREA`)}function ho(e,t,n,r){if(!e||!t||!t.scrollTo)return;let i=e.scrollLeft,a=e.scrollTop,o=e.clientWidth<e.scrollWidth,s=e.clientHeight<e.scrollHeight;if(o&&r!==`vertical`){let r=go(e,t,`left`),a=_o(e),o=_o(t);n===`ltr`&&(r+t.offsetWidth+o.scrollMarginRight>e.scrollLeft+e.clientWidth-a.scrollPaddingRight?i=r+t.offsetWidth+o.scrollMarginRight-e.clientWidth+a.scrollPaddingRight:r-o.scrollMarginLeft<e.scrollLeft+a.scrollPaddingLeft&&(i=r-o.scrollMarginLeft-a.scrollPaddingLeft)),n===`rtl`&&(r-o.scrollMarginLeft<e.scrollLeft+a.scrollPaddingLeft?i=r-o.scrollMarginLeft-a.scrollPaddingLeft:r+t.offsetWidth+o.scrollMarginRight>e.scrollLeft+e.clientWidth-a.scrollPaddingRight&&(i=r+t.offsetWidth+o.scrollMarginRight-e.clientWidth+a.scrollPaddingRight))}if(s&&r!==`horizontal`){let n=go(e,t,`top`),r=_o(e),i=_o(t);n-i.scrollMarginTop<e.scrollTop+r.scrollPaddingTop?a=n-i.scrollMarginTop-r.scrollPaddingTop:n+t.offsetHeight+i.scrollMarginBottom>e.scrollTop+e.clientHeight-r.scrollPaddingBottom&&(a=n+t.offsetHeight+i.scrollMarginBottom-e.clientHeight+r.scrollPaddingBottom)}e.scrollTo({left:i,top:a,behavior:`auto`})}function go(e,t,n){let r=n===`left`?`offsetLeft`:`offsetTop`,i=0;for(;t.offsetParent&&(i+=t[r],t.offsetParent!==e);)t=t.offsetParent;return i}function _o(e){let t=getComputedStyle(e);return{scrollMarginTop:parseFloat(t.scrollMarginTop)||0,scrollMarginRight:parseFloat(t.scrollMarginRight)||0,scrollMarginBottom:parseFloat(t.scrollMarginBottom)||0,scrollMarginLeft:parseFloat(t.scrollMarginLeft)||0,scrollPaddingTop:parseFloat(t.scrollPaddingTop)||0,scrollPaddingRight:parseFloat(t.scrollPaddingRight)||0,scrollPaddingBottom:parseFloat(t.scrollPaddingBottom)||0,scrollPaddingLeft:parseFloat(t.scrollPaddingLeft)||0}}var vo=Z.createContext(void 0),yo={disableStyleElements:!1};function bo(){return Z.useContext(vo)??yo}function xo(e){let{script:t}=e,{nonce:n}=bo();return to()?(0,$.jsx)(`script`,{nonce:n,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0}):null}var So=`data-index`,Co,wo=new Set([...uo,co,lo]);function To(e,t,n,r){if(!(t<0))return e.length===2?`${Ma(e[t],r,n)} ${t===0?`start`:`end`} range`:n?Ma(e[t],r,n):void 0}function Eo(e,t,n,r,i){let a=e+t*n;return ga(Number(a.toFixed(Math.max(La(e),La(t),La(r)))),r,i)}var Do=Z.forwardRef(function(e,t){let{render:n,children:r,className:i,"aria-describedby":a,"aria-label":o,"aria-labelledby":s,"aria-valuetext":c,disabled:l=!1,getAriaLabel:u,getAriaValueText:d,id:f,index:p,inputRef:m,onBlur:h,onFocus:g,onKeyDown:_,tabIndex:v,style:y,...b}=e,x=At(f),{active:S,lastUsedThumbIndex:C,controlRef:w,disabled:T,validation:E,format:D,handleInputChange:O,inset:k,isArrayValue:A,labelId:j,largeStep:M,locale:N,max:P,min:F,minStepsBetweenValues:I,form:L,name:R,orientation:z,pressedThumbCenterOffsetRef:B,pressedThumbIndexRef:V,renderBeforeHydration:H,setActive:ee,setIndicatorPosition:te,state:U,step:re,thumbRefs:ie,values:G}=Ea(),ae=Pa(),oe=l||T,se=G.length>1,ce=z===`vertical`,de=ae===`rtl`,{setTouched:K,validationMode:fe}=St(),pe=Z.useRef(null),me=Z.useRef(null),q=oi(oe,me),he=Z.useRef(!1),_e=W(e=>{he.current||g?.(e)}),J=W(e=>{he.current||h?.(e)}),ve=At(),ye=It(),be=se?ve:ye,{ref:xe,index:Se}=Ui({metadata:Z.useMemo(()=>({inputId:be}),[be])}),Ce=se?p??Se:0,we=Ce===G.length-1,Te=G[Ce],Ee=no(Te,F,P),[X,De]=Z.useState(),Oe=to(),ke=C>=0&&C<G.length?C:-1,Ae=W(()=>{let e=w.current,t=pe.current;if(!e||!t)return;let n=t.getBoundingClientRect(),r=e.getBoundingClientRect(),i=ce?`height`:`width`,a=r[i]-n[i],o=(n[i]/2+a*Ee/100)/r[i]*100,s=Number.isFinite(o)?o:void 0;De(s),Ce===0?te(e=>[s,e[1]]):we&&te(e=>[e[0],s])});Y(()=>{k&&queueMicrotask(Ae)},[Ae,k]),Y(()=>{k&&Ae()},[Ae,k,Ee]),Y(()=>{if(!k)return;let e=w.current,t=pe.current;if(!e||!t)return;let n=ne(e).ResizeObserver;if(typeof n!=`function`)return;let r=new n(Ae);return r.observe(e),r.observe(t),()=>{r.disconnect()}},[w,Ae,k]);let je=ce?`bottom`:`insetInlineStart`,Me=ce?`left`:`top`,Ne;se?S===Ce?Ne=2:ke===Ce&&(Ne=1):S===Ce&&(Ne=1);let Pe;Pe=!k&&!Number.isFinite(Ee)?Ji:{position:`absolute`,[je]:k?`var(--position)`:`${Ee}%`,[Me]:`50%`,translate:`${(ce||!de?-1:1)*50}% ${(ce?1:-1)*50}%`,zIndex:Ne,...k&&{"--position":`${X??0}%`,visibility:H&&Oe||X===void 0?`hidden`:void 0}};let Fe;ce&&(Fe=de?`vertical-rl`:`vertical-lr`);let Ie=typeof u==`function`?u(Ce):o,Le=le({"aria-label":Ie,"aria-labelledby":s??(Ie==null?j:void 0),"aria-describedby":a,"aria-orientation":z,"aria-valuenow":Te,"aria-valuetext":typeof d==`function`?d(Ma(Te,N,D),Te,Ce):c??To(G,Ce,D,N),disabled:oe,form:L,id:be,max:P,min:F,name:R,onChange(e){O(e.currentTarget.valueAsNumber,Ce,e)},onFocus(e){let t=he.current;he.current=!1,ee(Ce),q(!0),t&&e.stopPropagation()},onBlur(e){he.current?e.stopPropagation():(ee(-1),!ie.current.some(t=>Q(t,e.relatedTarget))&&(K(!0),q(!1),fe===`onBlur`&&E.commit(xa(Te,Ce,F,P,A,G))))},onKeyDown(e){if(e.defaultPrevented||!wo.has(e.key))return;uo.has(e.key)&&e.stopPropagation();let t=null,n=0,r=e.shiftKey?M:re,i=Ra(Te,re,F);switch(e.key){case ro:n=1;break;case oo:n=de?-1:1;break;case io:n=-1;break;case ao:n=de?1:-1;break;case co:r=M,n=1;break;case lo:r=M,n=-1;break;case`End`:t=se&&Number.isFinite(G[Ce+1])?G[Ce+1]-re*I:P;break;case so:t=se&&Number.isFinite(G[Ce-1])?G[Ce-1]+re*I:F}if(n!==0&&(t=Eo(i,r,n,F,P)),t!==null){let n=e.currentTarget;On(n)||(he.current=!0,n.blur(),n.focus({preventScroll:!0,focusVisible:!0})),O(t,Ce,e),e.preventDefault()}},step:re,style:{...Ji,width:`100%`,height:`100%`,writingMode:Fe},tabIndex:v,type:`range`,value:Te??``},e=>E.getValidationProps(oe,e),{onFocus:_e,onBlur:J,onKeyDown:_}),Re=ge(me,E.inputRef,m);return ue(`div`,e,{state:U,ref:[t,xe,pe],props:[{[So]:Ce,children:(0,$.jsxs)(Z.Fragment,{children:[r,(0,$.jsx)(`input`,{ref:Re,...Le,suppressHydrationWarning:!0}),k&&we&&H&&(Co||=(0,$.jsx)(xo,{script:``}))]}),id:x,onPointerDown(e){if(oe)return;V.current=Ce;let t=Ia(e.currentTarget,ce);B.current=(ce?e.clientY:e.clientX)-t},style:Pe,suppressHydrationWarning:H||void 0},b],stateAttributesMapping:wa})});function Oo(e,t,n,r,i,a){let o={visibility:a||n&&(r===void 0||t&&i===void 0)?`hidden`:void 0,position:e?`absolute`:`relative`,[e?`width`:`height`]:`inherit`},s=`${r??0}%`,c=`${(i??0)-(r??0)}%`;return n&&(o[`--start-position`]=s,s=`var(--start-position)`,t&&(o[`--relative-size`]=c,c=`var(--relative-size)`)),o[e?`bottom`:`insetInlineStart`]=t?s:0,o[e?`height`:`width`]=t?c:s,o}var ko=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,{indicatorPosition:o,inset:s,max:c,min:l,orientation:u,renderBeforeHydration:d,state:f,values:p}=Ea(),m=to(),h=Oo(u===`vertical`,p.length>1,s,s?o[0]:no(p[0],l,c),s?o[1]:no(p[p.length-1],l,c),s&&d&&m);return ue(`div`,e,{state:f,ref:t,props:[{"data-base-ui-slider-indicator":d?``:void 0,style:h,suppressHydrationWarning:d||void 0},a],stateAttributesMapping:wa})});function Ao({className:e,defaultValue:t,value:n,min:r=0,max:i=100,...a}){let o=Array.isArray(n)?n:Array.isArray(t)?t:[r,i];return(0,$.jsx)(Oa,{className:J(`data-horizontal:w-full data-vertical:h-full`,e),"data-slot":`slider`,defaultValue:t,value:n,min:r,max:i,thumbAlignment:`edge`,...a,children:(0,$.jsxs)(Wa,{className:`relative flex w-full touch-none items-center select-none data-disabled:opacity-50 data-vertical:h-full data-vertical:min-h-40 data-vertical:w-auto data-vertical:flex-col`,children:[(0,$.jsx)(Ga,{"data-slot":`slider-track`,className:`relative grow overflow-hidden rounded-full bg-muted select-none data-horizontal:h-1 data-horizontal:w-full data-vertical:h-full data-vertical:w-1`,children:(0,$.jsx)(ko,{"data-slot":`slider-range`,className:`bg-primary select-none data-horizontal:h-full data-vertical:w-full`})}),Array.from({length:o.length},(e,t)=>(0,$.jsx)(Do,{"data-slot":`slider-thumb`,className:`relative block size-3 shrink-0 rounded-full border border-ring bg-white ring-ring/50 transition-[color,box-shadow] select-none after:absolute after:-inset-2 hover:ring-3 focus-visible:ring-3 focus-visible:outline-hidden active:ring-3 disabled:pointer-events-none disabled:opacity-50`},t))]})})}function jo(e){let t=Z.useRef(!0);t.current&&(t.current=!1,e())}function Mo(e){let[t,n]=Z.useState({current:e,previous:null});return Object.is(e,t.current)||n({current:e,previous:t.current}),t.previous}function No(e){return e==null||e.hasAttribute(`disabled`)||e.getAttribute(`aria-disabled`)===`true`}var Po=t((e=>{var t=A(),n=qa();function r(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var i=typeof Object.is==`function`?Object.is:r,a=n.useSyncExternalStore,o=t.useRef,s=t.useEffect,c=t.useMemo,l=t.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,r,u){var d=o(null);if(d.current===null){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=c(function(){function e(e){if(!a){if(a=!0,o=e,e=r(e),u!==void 0&&f.hasValue){var t=f.value;if(u(t,e))return s=t}return s=e}if(t=s,i(o,e))return t;var n=r(e);return u!==void 0&&u(t,n)?(o=e,t):(o=e,s=n)}var a=!1,o,s,c=n===void 0?null:n;return[function(){return e(t())},c===null?void 0:function(){return e(c())}]},[t,n,r,u]);var p=a(e,d[0],d[1]);return s(function(){f.hasValue=!0,f.value=p},[p]),l(p),p}})),Fo=t(((e,t)=>{t.exports=Po()})),Io=[],Lo=void 0;function Ro(){return Lo}function zo(e){Io.push(e)}var Bo=Fo(),Vo=ve(19)?Wo:Go;function Ho(e,t,n,r,i){return Vo(e,t,n,r,i)}function Uo(e,t,n,r,i){let a=Z.useCallback(()=>t(e.getSnapshot(),n,r,i),[e,t,n,r,i]);return(0,Ja.useSyncExternalStore)(e.subscribe,a,a)}zo({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n<e.syncHooks.length;n+=1){let r=e.syncHooks[n],i=r.selector(r.store.state,r.a1,r.a2,r.a3);Object.is(r.value,i)||(t=!0,r.value=i)}return t&&(e.syncTick+=1),e.syncTick})},after(e){e.syncHooks.length>0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{let n=new Set;for(let t of e.syncHooks)n.add(t.store);let r=[];for(let e of n)r.push(e.subscribe(t));return()=>{for(let e of r)e()}}),(0,Ja.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}});function Wo(e,t,n,r,i){let a=Ro();if(!a)return Uo(e,t,n,r,i);let o=a.syncIndex;a.syncIndex+=1;let s;return a.didInitialize?(s=a.syncHooks[o],s.store===e&&s.selector===t&&Object.is(s.a1,n)&&Object.is(s.a2,r)&&Object.is(s.a3,i)||(s.store!==e&&(a.didChangeStore=!0),s.store=e,s.selector=t,s.a1=n,s.a2=r,s.a3=i,s.value=t(e.getSnapshot(),n,r,i))):(s={store:e,selector:t,a1:n,a2:r,a3:i,value:t(e.getSnapshot(),n,r,i)},a.syncHooks.push(s)),s.value}function Go(e,t,n,r,i){return(0,Bo.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,n,r,i))}var Ko=class{static create(e){return new this(e)}constructor(e){this.state=e,this.listeners=new Set,this.updateTick=0}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.state;setState(e){if(this.state===e)return;this.state=e,this.updateTick+=1;let t=this.updateTick;for(let n of this.listeners){if(t!==this.updateTick)return;n(e)}}update(e){for(let t in e)if(!Object.is(this.state[t],e[t])){this.setState({...this.state,...e});return}}set(e,t){Object.is(this.state[e],t)||this.setState({...this.state,[e]:t})}notifyAll(){let e={...this.state};this.setState(e)}use(e,t,n,r){return Ho(this,e,t,n,r)}},qo=class extends Ko{constructor(e,t={},n){super(e),this.context=t,this.selectors=n}useSyncedValue(e,t){Z.useDebugValue(e);let n=this;Y(()=>{n.state[e]!==t&&n.set(e,t)},[n,e,t])}useSyncedValueWithCleanup(e,t){let n=this;Y(()=>(n.state[e]!==t&&n.set(e,t),()=>{n.set(e,void 0)}),[n,e,t])}useSyncedValues(e){let t=this,n=Object.values(e);Y(()=>{t.update(e)},[t,...n])}useControlledProp(e,t){Z.useDebugValue(e);let n=this,r=t!==void 0;Y(()=>{r&&!Object.is(n.state[e],t)&&n.setState({...n.state,[e]:t})},[n,e,t,r])}select(e,t,n,r){let i=this.selectors[e];return i(this.state,t,n,r)}useState(e,t,n,r){return Z.useDebugValue(e),Ho(this,this.selectors[e],t,n,r)}useContextCallback(e,t){Z.useDebugValue(e);let n=W(t??K);this.context[e]=n}useStateSetter(e){let t=Z.useRef(void 0);return t.current===void 0&&(t.current=t=>{this.set(e,t)}),t.current}observe(e,t){let n;n=typeof e==`function`?e:this.selectors[e];let r=n(this.state);return t(r,r,this),this.subscribe(e=>{let i=n(e);if(!Object.is(r,i)){let e=r;r=i,t(i,e,this)}})}};function Jo(...e){return()=>{for(let t=0;t<e.length;t+=1){let n=e[t];n&&n()}}}var Yo=Z.forwardRef(function(e,t){let[n,r]=Z.useState();Y(()=>{Yt&&Jt&&r(`button`)},[]);let i={tabIndex:0,role:n};return(0,$.jsx)(`span`,{...e,ref:t,style:Ji,"aria-hidden":!n||void 0,...i,"data-base-ui-focus-guard":``})});function Xo(e){return`data-base-ui-${e}`}var Zo=0;function Qo(e,t={}){let{preventScroll:n=!1,sync:r=!1,shouldFocus:i}=t;cancelAnimationFrame(Zo);function a(){(!i||i())&&e?.focus({preventScroll:n})}if(r)return a(),K;let o=requestAnimationFrame(a);return Zo=o,()=>{Zo===o&&(cancelAnimationFrame(o),Zo=0)}}var $o=`data-base-ui-inert`,es=new WeakMap,ts=new WeakSet,ns=new WeakMap,rs=0;function is(e){return e?I(e)?e.host:is(e.parentNode):null}var as=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=is(t);return e.contains(n)?n:null}).filter(e=>e!=null),os=e=>{let t=new Set;return e.forEach(e=>{let n=e;for(;n&&!t.has(n);)t.add(n),n=n.parentNode}),t},ss=(e,t,n)=>{let r=[],i=e=>{e&&!n.has(e)&&Array.from(e.children).forEach(e=>{he(e)!==`script`&&(t.has(e)?i(e):r.push(e))})};return i(e),r};function cs(e,t,n,{mark:r=!0}){let i=as(t,e),a=r?ss(t,os(i),new Set(i)):[],o=[],s=[];if(n){let e=as(t,Array.from(t.querySelectorAll(`[aria-live]`))),n=i.concat(e);ss(t,os(n),new Set(n)).forEach(e=>{let t=e.getAttribute(`aria-hidden`),n=t!==null&&t!==`false`,r=(es.get(e)||0)+1;es.set(e,r),o.push(e),r===1&&n&&ts.add(e),n||e.setAttribute(`aria-hidden`,`true`)})}return r&&a.forEach(e=>{let t=(ns.get(e)||0)+1;ns.set(e,t),s.push(e),t===1&&e.setAttribute($o,``)}),rs+=1,()=>{o.forEach(e=>{let t=(es.get(e)||0)-1;es.set(e,t),t||(ts.has(e)||e.removeAttribute(`aria-hidden`),ts.delete(e))}),r&&s.forEach(e=>{let t=(ns.get(e)||0)-1;ns.set(e,t),t||e.removeAttribute($o)}),--rs,rs||(es=new WeakMap,ts=new WeakSet,ns=new WeakMap)}}function ls(e,t={}){let{ariaHidden:n=!1,mark:r=!0}=t,i=X(e[0]).body;return cs(e,i,n,{mark:r})}var us={style:{transition:`none`}},ds={fallbackAxisSide:`none`},fs={clipPath:`inset(50%)`,position:`fixed`,top:0,left:0},ps=Z.createContext(null),ms=()=>Z.useContext(ps),hs=Xo(`portal`);function gs(e={}){let{ref:t,container:n,componentProps:r=de,elementProps:i}=e,a=kt(),o=ms()?.portalNode,[s,c]=Z.useState(null),[l,u]=Z.useState(null),d=W(e=>{e!==null&&u(e)}),f=Z.useRef(null);Y(()=>{if(n===null){f.current&&(f.current=null,u(null),c(null));return}let e=(n&&(ie(n)?n:n.current))??o??document.body;e==null?f.current&&(f.current=null,u(null),c(null)):f.current!==e&&(f.current=e,u(null),c(e))},[n,o]);let p=ue(`div`,r,{ref:[t,d],props:[{id:a,[hs]:``},i]}),m=s&&p?ei.createPortal(p,s):null;return{node:l,nodeId:Z.isValidElement(p)?p.props.id:void 0,subtree:m}}var _s=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,children:a,container:o,portalOwnerRole:s,...c}=e,{node:l,nodeId:u,subtree:d}=gs({container:o,ref:t,componentProps:e,elementProps:c}),f=Z.useRef(null),p=Z.useRef(null),m=Z.useRef(null),h=Z.useRef(null),[g,_]=Z.useState(null),v=Z.useRef(!1),y=g?.modal,b=g?.open,x=!!g&&!g.modal&&g.open&&!!l;Z.useEffect(()=>{if(!l||y)return;function e(e){l&&e.relatedTarget&&Rr(e)&&(e.type===`focusin`?v.current&&=(Br(l),!1):(zr(l),v.current=!0))}return Jo(Wi(l,`focusin`,e,!0),Wi(l,`focusout`,e,!0))},[l,y]),Y(()=>{l&&b===!0&&v.current&&(Br(l),v.current=!1)},[b,l]);let S=Z.useMemo(()=>({beforeOutsideRef:f,afterOutsideRef:p,beforeInsideRef:m,afterInsideRef:h,portalNode:l,setFocusManagerState:_}),[l]);return(0,$.jsxs)(Z.Fragment,{children:[d,(0,$.jsxs)(ps.Provider,{value:S,children:[x&&l&&(0,$.jsx)(Yo,{"data-type":`outside`,ref:f,onFocus:e=>{Rr(e,l)?m.current?.focus():Lr(g?g.domReference:null)?.focus()}}),x&&l&&(0,$.jsx)(`span`,{role:s,"aria-owns":u,style:fs}),l&&ei.createPortal(a,l),x&&l&&(0,$.jsx)(Yo,{"data-type":`outside`,ref:p,onFocus:e=>{Rr(e,l)?h.current?.focus():(Ir(g?g.domReference:null)?.focus(),g?.closeOnFocusOut&&g?.onOpenChange(!1,li(`focus-out`,e.nativeEvent)))}})]})]})});function vs(){let e=new Map;return{emit(t,n){e.get(t)?.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){e.get(t)?.delete(n)}}}var ys=Z.createContext(null),bs=Z.createContext(null),xs=()=>Z.useContext(ys)?.id||null,Ss=e=>{let t=Z.useContext(bs);return e??t};function Cs(e,t){let n=ne($t(e));return e instanceof n.KeyboardEvent?`keyboard`:e instanceof n.FocusEvent?t||`keyboard`:`pointerType`in e?e.pointerType||(Pn(e)?`keyboard`:t||`mouse`):`touches`in e?`touch`:e instanceof n.MouseEvent?t||(e.detail===0?`keyboard`:`mouse`):``}var ws=20,Ts=[];function Es(){Ts=Ts.filter(e=>e.deref()?.isConnected)}function Ds(e){Es(),e&&he(e)!==`body`&&(Ts.push(new WeakRef(e)),Ts.length>ws&&(Ts=Ts.slice(-20)))}function Os(){return Es(),Ts[Ts.length-1]?.deref()}function ks(e){return e?Mr(e)?e:Pr(e)[0]||e:null}function As(e){if(e.hasAttribute(`tabindex`)&&!e.hasAttribute(`data-tabindex`)||!e.getAttribute(`role`)?.includes(`dialog`))return;let t=Nr(e).filter(e=>{let t=e.getAttribute(`data-tabindex`)||``;return Mr(e)||e.hasAttribute(`data-tabindex`)&&!t.startsWith(`-`)}),n=e.getAttribute(`tabindex`);t.length===0?n!==`0`&&(e.setAttribute(`tabindex`,`0`),e.setAttribute(`data-tabindex`,`0`)):(n!==`-1`||e.hasAttribute(`data-tabindex`)&&e.getAttribute(`data-tabindex`)!==`-1`)&&(e.setAttribute(`tabindex`,`-1`),e.setAttribute(`data-tabindex`,`-1`))}function js(e){let{context:t,children:n,disabled:r=!1,initialFocus:i=!0,returnFocus:a=!0,explicitReturnFocus:o,restoreFocus:s=!1,modal:c=!0,closeOnFocusOut:l=!0,openInteractionType:u=``,nextFocusableElement:d,previousFocusableElement:f,beforeContentFocusGuardRef:p,externalTree:m,getInsideElements:h}=e,g=t.useState(`open`),_=t.useState(`domReferenceElement`),v=t.useState(`floatingElement`),{events:y,dataRef:b}=t.context,x=W(()=>b.current.floatingContext?.nodeId),S=i===!1,C=Dn(_)&&S,w=Gi(i),T=Gi(a),E=Gi(o),D=Gi(u),O=Gi(g),k=Ss(m),A=ms(),j=Z.useRef(!1),M=Z.useRef(!1),N=Z.useRef(!1),P=Z.useRef(null),F=Z.useRef(``),I=Z.useRef(``),L=Z.useRef(null),R=Z.useRef(null),z=ge(L,p,A?.beforeInsideRef),B=ge(R,A?.afterInsideRef),V=Gr(),ee=Gr(),te=Zr(),ne=A!=null,U=kn(v),re=W((e=U)=>e?Pr(e):[]),ie=W(()=>h?.().filter(e=>e!=null)??[]);Z.useEffect(()=>{if(r||!c)return;function e(e){e.key===`Tab`&&Q(U,Zt(X(U)))&&re().length===0&&!C&&Mn(e)}return Wi(X(U),`keydown`,e)},[r,U,c,C,re]),Z.useEffect(()=>{if(r||!g)return;let e=X(U);function t(){N.current=!1}function n(e){let t=$t(e),n=ie(),r=Q(v,t)||Q(_,t)||Q(A?.portalNode,t)||n.some(e=>e===t||Q(e,t));N.current=!r,I.current=e.pointerType||`keyboard`,Qt(t,`[data-base-ui-click-trigger]`)&&(M.current=!0,ee.start(0,()=>{M.current=!1}))}function i(){I.current=`keyboard`}return Jo(Wi(e,`pointerdown`,n,!0),Wi(e,`pointerup`,t,!0),Wi(e,`pointercancel`,t,!0),Wi(e,`keydown`,i,!0),t)},[r,v,_,U,g,A,ee,ie]),Z.useEffect(()=>{if(r||!l)return;let e=X(U);function n(){M.current=!0,ee.start(0,()=>{M.current=!1})}function i(e){let t=$t(e);Mr(t)&&(P.current=t)}function a(n){let r=n.relatedTarget,i=n.currentTarget,a=$t(n);c&&r==null&&a!=null&&Q(v,a)&&Ds(a),queueMicrotask(()=>{let o=x(),l=t.context.triggerElements,u=ie(),p=r?.hasAttribute(Xo(`focus-guard`))&&[L.current,R.current,A?.beforeInsideRef.current,A?.afterInsideRef.current,A?.beforeOutsideRef.current,A?.afterOutsideRef.current,Qr(f),Qr(d)].includes(r),m=!(Q(_,r)||Q(v,r)||Q(r,v)||Q(A?.portalNode,r)||u.some(e=>e===r||Q(e,r))||l.hasMatchingElement(e=>Q(e,r))||p||k&&(An(k.nodesRef.current,o).find(e=>Q(e.context?.elements.floating,r)||Q(e.context?.elements.domReference,r))||jn(k.nodesRef.current,o).find(e=>[e.context?.elements.floating,kn(e.context?.elements.floating)].includes(r)||e.context?.elements.domReference===r)));if(i===_&&U&&As(U),s&&i!==_&&!vr(a)&&Zt(e)===e.body){if(H(U)&&(U.focus(),s===`popup`)){te.request(()=>{U.focus()});return}let e=re(),t=P.current,n=(t&&e.includes(t)?t:null)||e[e.length-1]||U;H(n)&&n.focus()}b.current.insideReactTree?b.current.insideReactTree=!1:(C||!c)&&r&&m&&!M.current&&(C||r!==Os())&&(j.current=!0,t.setOpen(!1,li(_i,n)))})}function o(){N.current||(b.current.insideReactTree=!0,V.start(0,()=>{b.current.insideReactTree=!1}))}let u=H(_)?_:null;if(v||u)return Jo(u&&Wi(u,`focusout`,a),u&&Wi(u,`pointerdown`,n),v&&Wi(v,`focusin`,i),v&&Wi(v,`focusout`,a),v&&A&&Wi(v,`focusout`,o,!0))},[r,_,v,U,c,k,A,t,l,s,re,C,x,b,V,ee,te,d,f,ie]),Z.useEffect(()=>{if(r||!v||!g)return;let e=Array.from(A?.portalNode?.querySelectorAll(`[${Xo(`portal`)}]`)||[]),t=(k?jn(k.nodesRef.current,x()):[]).find(e=>Dn(e.context?.elements.domReference||null))?.context?.elements.domReference,n=ls([v,...e,L.current,R.current,A?.beforeOutsideRef.current,A?.afterOutsideRef.current,...ie(),t,Qr(f),Qr(d),C?_:null].filter(e=>e!=null),{ariaHidden:c||C,mark:!1}),i=ls([v,...e].filter(e=>e!=null));return()=>{i(),n()}},[g,r,_,v,c,A,C,k,x,d,f,ie]),Y(()=>{if(!g||r||!H(U))return;F.current=``,I.current=``;let e=X(U),t=Zt(e);queueMicrotask(()=>{let n=w.current,r=typeof n==`function`?n(D.current||``):n;if(r===void 0||r===!1||Q(U,t))return;let i=null,a=()=>(i??=re(U),i[0]||U),o;o=r===!0||r===null?a():Qr(r),o||=a();let s=Q(U,Zt(e)),c=b.current.openEvent,l=c?.type===`mousedown`&&Pn(c);Qo(o,{sync:l,preventScroll:o===U,shouldFocus(){if(!O.current)return!1;if(s)return!0;let t=Zt(e);return!(t!==o&&Q(U,t))}})})},[r,g,U,re,w,D,O,b]);let G=Z.useRef(null);Y(()=>{if(r||!U){G.current=null;return}G.current&&=(G.current.cancelled=!0,null);let e=X(U),t=Zt(e),n=D.current==null;Ds(t);function i(e){if(e.open||(F.current=Cs(e.nativeEvent,I.current)),(e.reason===`focus-out`&&e.triggerElement?.hasAttribute(Xo(`focus-guard`))||e.reason===`trigger-hover`&&e.nativeEvent.type===`mouseleave`)&&(j.current=!0),e.reason===`outside-press`){if(e.nested)j.current=!1;else if(Pn(e.nativeEvent)||Fn(e.nativeEvent))j.current=!1;else{let e=!1;X(U).createElement(`div`).focus({get preventScroll(){return e=!0,!1}}),e?j.current=!1:j.current=!0}}}y.on(`openchange`,i);function a(e){let r=T.current,i=typeof r==`function`?r(e):r;if(i===void 0||i===!1)return null;i===null&&(i=!0);let a=_?.isConnected?_:null,o=t?.isConnected&&he(t)!==`body`?t:null,s=n?o||a:a||o;return s||=Os()||null,typeof i==`boolean`?s:Qr(i)||s||null}return()=>{y.off(`openchange`,i);let t=Zt(e),n=ie(),r=Q(v,t)||n.some(e=>e===t||Q(e,t))||k&&An(k.nodesRef.current,x(),!1).some(e=>Q(e.context?.elements.floating,t)),o=T.current,s=F.current,c=a(s),l={cancelled:!1};G.current=l,queueMicrotask(()=>{G.current===l&&(G.current=null);let n=ks(c),i=E.current??typeof o!=`boolean`;if(!l.cancelled&&o&&!j.current&&H(n)&&(i||n===t||t===e.body||r)){let e={preventScroll:!0};s===`keyboard`&&(e.focusVisible=!0),n.focus(e)}j.current=!1})}},[r,v,U,T,E,D,y,k,_,x,ie]),Y(()=>{if(!Jt||g||!v)return;let e=Zt(X(v));H(e)&&En(e)&&Q(v,e)&&e.blur()},[g,v]),Y(()=>{if(!r&&A)return A.setFocusManagerState({modal:c,closeOnFocusOut:l,open:g,onOpenChange:t.setOpen,domReference:_}),()=>{A.setFocusManagerState(null)}},[r,A,c,g,t,l,_]),Y(()=>{if(!r&&U)return As(U),()=>{queueMicrotask(Es)}},[r,U]);let ae=!r&&(!c||!C)&&(ne||c);return(0,$.jsxs)(Z.Fragment,{children:[ae&&(0,$.jsx)(Yo,{"data-type":`inside`,ref:z,onFocus:e=>{if(c){let e=re();Qo(e[e.length-1])}else A?.portalNode&&(j.current=!1,Rr(e,A.portalNode)?Ir(_)?.focus():Qr(f??A.beforeOutsideRef)?.focus())}}),n,ae&&(0,$.jsx)(Yo,{"data-type":`inside`,ref:B,onFocus:e=>{c?Qo(re()[0]):A?.portalNode&&(l&&(j.current=!0),Rr(e,A.portalNode)?Lr(_)?.focus():Qr(d??A.afterOutsideRef)?.focus())}})]})}function Ms(e,t={}){let{enabled:n=!0,event:r=`click`,toggle:i=!0,ignoreMouse:a=!1,stickIfOpen:o=!0,touchOpenDelay:s=0,reason:c=fi}=t,l=e.context.dataRef,u=Z.useRef(void 0),d=Zr(),f=Gr(),p=Z.useMemo(()=>{function t(t,n,r,i){let a=li(c,n,r);t&&i===`touch`&&s>0?f.start(s,()=>{e.setOpen(!0,a)}):e.setOpen(t,a)}function n(t,n,r){let a=l.current.openEvent,s=e.select(`domReferenceElement`)!==n;return t&&s||!t||!i?!0:a&&(typeof o==`function`?o():o)?!r(a.type):!1}return{onPointerDown(e){u.current=In(e.pointerType,!0)&&Fn(e.nativeEvent)?`virtual`:e.pointerType},onMouseDown(i){let o=u.current,s=i.nativeEvent,c=e.select(`open`);if(i.button!==0||r===`click`||In(o,!0)&&a)return;let l=n(c,i.currentTarget,e=>e===`click`||e===`mousedown`),f=$t(s),p=En(f);if(p||o===`virtual`){t(l,s,p?f:i.currentTarget,o);return}let m=i.currentTarget;d.request(()=>{t(l,s,m,o)})},onClick(i){if(r===`mousedown-only`)return;let o=u.current;r===`mousedown`&&o?u.current=void 0:In(o,!0)&&a||t(n(e.select(`open`),i.currentTarget,e=>e===`click`||e===`mousedown`||e===`keydown`||e===`keyup`),i.nativeEvent,i.currentTarget,o)},onKeyDown(){u.current=void 0}}},[l,r,a,c,e,o,i,d,f,s]);return Z.useMemo(()=>n?{reference:p}:de,[n,p])}function Ns(){return!1}function Ps(e){return{escapeKey:typeof e==`boolean`?e:e?.escapeKey??!1,outsidePress:typeof e==`boolean`?e:e?.outsidePress??!0}}function Fs(e,t={}){let{enabled:n=!0,escapeKey:r=!0,outsidePress:i=!0,outsidePressEvent:a=`sloppy`,referencePress:o=Ns,bubbles:s,externalTree:c}=t,l=e.useState(`open`),u=e.useState(`floatingElement`),{dataRef:d,events:f}=e.context,p=Ss(c),m=W(typeof i==`function`?i:()=>!1),h=typeof i==`function`?m:i,g=h!==!1,_=W(()=>a),{escapeKey:v,outsidePress:y}=Ps(s),b=Z.useRef(!1),x=Z.useRef(!1),S=Z.useRef(!1),C=Z.useRef(!1),w=Z.useRef(!1),T=Z.useRef(``),E=Z.useRef(null),D=Gr(),O=Gr(),k=Gr(),A=W(()=>{O.clear(),d.current.insideReactTree=!1}),j=W(e=>{let t=d.current.floatingContext?.nodeId;return(p?An(p.nodesRef.current,t):[]).some(t=>t.context?.open&&!t.context.dataRef.current[e])}),M=W(t=>wn(t,e.select(`floatingElement`))||wn(t,e.select(`domReferenceElement`))),N=W(t=>{o()&&e.setOpen(!1,li(fi,t.nativeEvent))}),P=W(t=>{if(!l||!n||!r||t.key!==`Escape`)return;let i=Nn(t)?t.nativeEvent:t;if(w.current||i.isComposing||!v&&j(`__escapeKeyBubbles`))return;let a=li(vi,i);e.setOpen(!1,a),a.isCanceled||t.preventDefault(),!v&&!a.isPropagationAllowed&&t.stopPropagation()}),F=W(()=>{d.current.insideReactTree=!0,O.start(0,A)}),L=W(t=>{if(!l||!n||t.button!==0)return;let r=$t(t.nativeEvent);Q(e.select(`floatingElement`),r)&&(b.current||(b.current=!0,x.current=!1))}),R=W(e=>{l&&n&&(e.defaultPrevented||e.nativeEvent.defaultPrevented)&&b.current&&(x.current=!0)});Z.useEffect(()=>{function e(e){e.open||(C.current=!1)}return f.on(`openchange`,e),()=>{f.off(`openchange`,e)}},[f]),Z.useEffect(()=>A,[A]),Z.useEffect(()=>{if(!l||!n)return l||(C.current=!1,w.current=!1,T.current=``,E.current=null),A;d.current.__escapeKeyBubbles=v,d.current.__outsidePressBubbles=y;let t=new Wr,i=X(u);function a(){k.clear(),w.current=!0}function o(){w.current=!0,k.start(Jt?5:0,()=>{w.current=!1})}function s(){S.current=!0,t.start(0,()=>{S.current=!1})}function c(){b.current=!1,x.current=!1}function f(){let e=T.current,t=e===`pen`||!e?`mouse`:e,n=_(),r=typeof n==`function`?n():n;return typeof r==`string`?r:r[t]}function m(e){let t=f();return t===`intentional`&&e.type!==`click`||t===`sloppy`&&e.type===`click`}function O(e){let t=d.current.floatingContext?.nodeId,n=p&&An(p.nodesRef.current,t).some(t=>wn(e,t.context?.elements.floating));return M(e)||n}function N(n){if(m(n)){n.type!==`click`&&!M(n)&&(t.clear(),S.current=!1),A();return}if(d.current.insideReactTree){A();return}let r=$t(n),i=`[${Xo(`inert`)}]`,a=B(r)?r.getRootNode():null,o=Array.from((I(a)?a:X(e.select(`floatingElement`))).querySelectorAll(i)),s=e.context.triggerElements;if(r&&(s.hasElement(r)||s.hasMatchingElement(e=>Q(e,r))))return;let c=B(r)?r:null;for(;c&&!ee(c);){let e=te(c);if(ee(e)||!B(e))break;c=e}if(!(o.length&&B(r)&&!Tn(r)&&!Q(r,e.select(`floatingElement`))&&o.every(e=>!Q(c,e)))){if(H(r)&&!(`touches`in n)){let e=ee(r),t=G(r),i=/auto|scroll/,a=e||i.test(t.overflowX),o=e||i.test(t.overflowY),s=a&&r.clientWidth>0&&r.scrollWidth>r.clientWidth,c=o&&r.clientHeight>0&&r.scrollHeight>r.clientHeight,l=t.direction===`rtl`,u=c&&(l?n.offsetX<=r.offsetWidth-r.clientWidth:n.offsetX>r.clientWidth),d=s&&n.offsetY>r.clientHeight;if(u||d)return}if(!O(n)){if(f()===`intentional`){if(n.detail!==0&&!Pn(n)&&!C.current)return;if(S.current){t.clear(),S.current=!1;return}}typeof h==`function`&&!h(n)||j(`__outsidePressBubbles`)||(e.setOpen(!1,li(pi,n)),A())}}}function F(t){f()===`sloppy`&&t.pointerType!==`touch`&&e.select(`open`)&&n&&!M(t)&&N(t)}function L(t){if(f()!==`sloppy`||!e.select(`open`)||!n||M(t))return;let r=t.touches[0];r&&(E.current={startTime:Date.now(),startX:r.clientX,startY:r.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},D.start(1e3,()=>{E.current&&(E.current.dismissOnTouchEnd=!1,E.current.dismissOnMouseDown=!1)}))}function R(e,t){let n=$t(e);if(!n)return;let r=Wi(n,e.type,()=>{t(e),r()})}function z(e){T.current=`touch`,R(e,L)}function V(e){D.clear(),e.type===`pointerdown`&&(e.button===0&&(C.current=!0),T.current=e.pointerType),(e.type!==`mousedown`||!E.current||E.current.dismissOnMouseDown)&&R(e,e=>{e.type===`pointerdown`?F(e):N(e)})}function ne(e){if(e.type===`pointercancel`&&(C.current=!1),!b.current)return;let n=x.current;c(),f()===`intentional`&&(e.type===`pointercancel`?n&&s():O(e)||(n?s():(typeof h!=`function`||h(e))&&(t.clear(),S.current=!0,A())))}function U(e){if(f()!==`sloppy`||!E.current||M(e))return;let t=e.touches[0];if(!t)return;let n=Math.abs(t.clientX-E.current.startX),r=Math.abs(t.clientY-E.current.startY),i=Math.sqrt(n*n+r*r);i>5&&(E.current.dismissOnTouchEnd=!0),i>10&&(N(e),D.clear(),E.current=null)}function re(e){R(e,U)}function ie(e){f()===`sloppy`&&E.current&&!M(e)&&(E.current.dismissOnTouchEnd&&N(e),D.clear(),E.current=null)}function W(e){R(e,ie)}let ae=Jo(r&&Jo(Wi(i,`keydown`,P),Wi(i,`compositionstart`,a),Wi(i,`compositionend`,o)),g&&Jo(Wi(i,`click`,V,!0),Wi(i,`pointerdown`,V,!0),Wi(i,`pointerup`,ne,!0),Wi(i,`pointercancel`,ne,!0),Wi(i,`mousedown`,V,!0),Wi(i,`mouseup`,ne,!0),Wi(i,`touchstart`,z,{capture:!0,passive:!0}),Wi(i,`touchmove`,re,{capture:!0,passive:!0}),Wi(i,`touchend`,W,{capture:!0,passive:!0})));return()=>{ae(),t.clear(),c(),S.current=!1}},[d,u,r,g,h,l,n,v,y,P,A,_,j,M,p,e,D,k]);let z=Z.useMemo(()=>({onKeyDown:P,onPointerDown:N,onClick:N}),[P,N]),V=Z.useMemo(()=>({onKeyDown:P,onPointerDown:R,onMouseDown:R,onClickCapture:F,onMouseDownCapture(e){F(),L(e)},onPointerDownCapture(e){F(),L(e)},onMouseUpCapture:F,onTouchEndCapture:F,onTouchMoveCapture:F}),[P,F,L,R]);return Z.useMemo(()=>n?{reference:z,floating:V,trigger:z}:{},[n,z,V])}function Is(e){let{open:t,ref:n,preventUnmountOnClose:r,setPreventUnmountOnClose:i,onUnmount:a,animateInitialOpen:o}=e,s=W(i),{mounted:c,setMounted:l,transitionStatus:u}=ai(t,!1,!1,o),d=!t&&r;Y(()=>{t&&s(!1)},[t,s]);let f=Z.useRef(c),p=Z.useRef(!1),m=Tt(),h=()=>{f.current=!1,l(!1),a()};Y(()=>{f.current=c,p.current&&(p.current=!1,!t&&c&&h())});let g=W(()=>{f.current&&(t?(p.current=!0,m()):h())});return ii({enabled:c&&!t&&!d,open:t,ref:n,onComplete(){t||g()}}),{mounted:c,transitionStatus:u,preventUnmountingOnClose:d,forceUnmount:g}}var Ls={tabIndex:-1,[en]:``};function Rs(e){let t=!1;return e.preventUnmountOnClose=()=>{t=!0},()=>t}var zs=class{idMap=new Map;add(e,t){this.idMap.set(e,t)}delete(e){this.idMap.delete(e)}hasElement(e){for(let t of this.idMap.values())if(t===e)return!0;return!1}hasMatchingElement(e){for(let t of this.idMap.values())if(e(t))return!0;return!1}getById(e){return this.idMap.get(e)}entries(){return this.idMap.entries()}elements(){return this.idMap.values()}get size(){return this.idMap.size}},Bs={open:e=>e.open,transitionStatus:e=>e.transitionStatus,domReferenceElement:e=>e.domReferenceElement,referenceElement:e=>e.positionReference??e.referenceElement,floatingElement:e=>e.floatingElement,floatingId:e=>e.floatingId},Vs=class extends qo{constructor(e){let{syncOnly:t,nested:n,onOpenChange:r,triggerElements:i,...a}=e;super({...a,positionReference:a.referenceElement,domReferenceElement:a.referenceElement},{onOpenChange:r,dataRef:{current:{}},events:vs(),nested:n,triggerElements:i},Bs),this.syncOnly=t}syncOpenEvent=(e,t)=>{(!e||!this.state.open||t!=null&&Ln(t))&&(this.context.dataRef.current.openEvent=e?t:void 0)};dispatchOpenChange=(e,t)=>{this.syncOpenEvent(e,t.event);let n={open:e,reason:t.reason,nativeEvent:t.event,nested:this.context.nested,triggerElement:t.trigger};this.context.events.emit(`openchange`,n)};setOpen=(e,t)=>{this.syncOnly||this.dispatchOpenChange(e,t),this.context.onOpenChange?.(e,t)}};function Hs(e){let{open:t=!1,onOpenChange:n,elements:r={}}=e,i=kt(),a=xs()!=null,o=L(()=>new Vs({open:t,transitionStatus:void 0,onOpenChange:n,referenceElement:r.reference??null,floatingElement:r.floating??null,triggerElements:new zs,floatingId:i,syncOnly:!1,nested:a})).current;return Y(()=>{let e={open:t,floatingId:i};r.reference!==void 0&&(e.referenceElement=r.reference,e.domReferenceElement=B(r.reference)?r.reference:null),r.floating!==void 0&&(e.floatingElement=r.floating),o.update(e)},[t,i,r.reference,r.floating,o]),o.context.onOpenChange=n,o.context.nested=a,o}function Us(e){return Jt&&e.movementX===0&&e.movementY===0}function Ws(e,t,n){switch(e){case`vertical`:return t;case`horizontal`:return n;default:return t||n}}function Gs(e,t){return Ws(t,e===`ArrowUp`||e===`ArrowDown`,e===`ArrowLeft`||e===`ArrowRight`)}function Ks(e,t,n){return Ws(t,e===`ArrowDown`,n?e===`ArrowLeft`:e===`ArrowRight`)||e===`Enter`||e===` `||e===``}function qs(e,t,n){return Ws(t,n?e===tn:e===nn,e===an)}function Js(e,t,n,r){return t===`both`||t===`horizontal`&&r?e===`Escape`:Ws(t,n?e===nn:e===tn,e===rn)}function Ys(e,t){let{listRef:n,activeIndex:r,onNavigate:i=()=>{},enabled:a=!0,selectedIndex:o=null,allowEscape:s=!1,loopFocus:c=!1,nested:l=!1,rtl:u=!1,virtual:d=!1,focusItemOnOpen:f=`auto`,focusItemOnHover:p=!0,openOnArrowKeyDown:m=!0,disabledIndices:h=void 0,orientation:g=`vertical`,triggerOrientation:_=g,parentOrientation:v,id:y,resetOnPointerLeave:b=!0,externalTree:x,nestedReturnFocusRef:S,grid:C}=t,w=C!=null,T=e.useState(`open`),E=e.useState(`floatingElement`),D=e.useState(`domReferenceElement`),O=e.context.dataRef,k=kn(E),A=Dn(D),j=Gi(k),M=xs(),N=Ss(x),P=Z.useRef(f),F=Z.useRef(o??-1),I=Z.useRef(null),L=Z.useRef(!0),R=W(e=>{i(F.current===-1?null:F.current,e)}),z=Z.useRef(!!E),B=Z.useRef(T),V=Z.useRef(!1),ee=Z.useRef(!1),te=Z.useRef(null),ne=Gi(h),U=Gi(T),re=Gi(o),ie=Gi(b),G=Zr(),ae=Zr(),oe=W(()=>{G.cancel();function e(e){d||(te.current=Qo(e,{sync:V.current,preventScroll:!0}))}let t=n.current[F.current],r=ee.current;t&&e(t),(V.current?e=>e():e=>G.request(e))(()=>{let i=n.current[F.current]||t;i&&(t||e(i),K&&(r||!L.current)&&i.scrollIntoView?.({block:`nearest`,inline:`nearest`}))})});Y(()=>{O.current.orientation=g},[O,g]),Y(()=>{T||(I.current=null),T&&f===`auto`||(P.current=f)},[T,f]),Y(()=>{a&&(T&&E?(F.current=o??-1,P.current&&o!=null&&(ee.current=!0,R())):z.current&&(F.current=-1,R()))},[a,T,E,o,R]),Y(()=>{if(a){if(!T)V.current=!1;else if(E){if(r==null){if(V.current=!1,re.current!=null)return;if(z.current&&(F.current=-1,oe()),(!B.current||!z.current)&&P.current&&(I.current!=null||P.current===!0&&I.current==null)){let e=0,t=()=>{n.current[0]==null?(e<2&&(e?e=>ae.request(e):queueMicrotask)(t),e+=1):(F.current=I.current==null||Ks(I.current,_,u)||l?fr(n):pr(n),I.current=null,R())};t()}}else dr(n.current,r)||(F.current=r,oe(),ee.current=!1)}}},[a,T,E,r,re,l,n,_,u,R,oe,ae]),Y(()=>{if(!a||E||!N||d||!z.current)return;let e=N.nodesRef.current,t=e.find(e=>e.id===M)?.context?.elements.floating,n=Zt(X(D??t??null)),r=e.some(e=>e.context&&Q(e.context.elements.floating,n));t&&!r&&L.current&&t.focus({preventScroll:!0})},[a,E,D,N,M,d]),Y(()=>{B.current=T,z.current=!!E});let se=r!=null,ce=W(e=>{if(!U.current)return;let t=n.current.indexOf(e.currentTarget);t!==-1&&(F.current!==t||r!==t)&&(F.current=t,R(e))}),le=W(()=>v??N?.nodesRef.current.find(e=>e.id===M)?.context?.dataRef?.current.orientation),ue=W(()=>fr(n,ne.current)),de=W(t=>{if(L.current=!1,V.current=!0,t.which===229||!U.current&&t.currentTarget===j.current)return;if(l&&Js(t.key,g,u,w)){Gs(t.key,le())||Mn(t),e.setOpen(!1,li(yi,t.nativeEvent));let n=S?.current??D;H(n)&&n.focus();return}r!=null&&r!==F.current&&!dr(n.current,r)&&(F.current=r);let i=F.current,a=fr(n,h),o=pr(n,h);if(A||(t.key===`Home`&&(Mn(t),F.current=a,R(t)),t.key===`End`&&(Mn(t),F.current=o,R(t))),C!=null){let e=C(t,F.current,n,g,c,u,h,a,o);if(e!=null&&e!==F.current&&(F.current=e,R(t)),g===`both`)return}if(Gs(t.key,g)){Mn(t);let e=Zt(t.currentTarget.ownerDocument);if(T&&!d&&Q(t.currentTarget,e)&&!n.current.some(t=>t!=null&&Q(t,e))){F.current=Ks(t.key,g,u)?a:o,R(t),r===F.current&&oe();return}let{index:l,wrapped:f}=mr(n.current,i,{decrement:!Ks(t.key,g,u),loopFocus:c,allowEscape:s,disabledIndices:h,minIndex:a,maxIndex:o});f&&(V.current=!1),F.current=l,R(t)}}),K=Z.useMemo(()=>({onFocus(e){V.current=!0,ce(e)},onClick({currentTarget:e}){d||e.focus({preventScroll:!0})},onMouseMove(e){Us(e)||(V.current=!0,ee.current=!1,p&&ce(e))},onPointerLeave(e){if(!U.current||!L.current||e.pointerType===`touch`)return;V.current=!0;let t=e.relatedTarget;if(p&&!n.current.includes(t)&&ie.current&&(te.current?.(),te.current=null,F.current=-1,R(e),!d)){let e=j.current,t=Zt(X(e));e&&Q(e,t)&&e.focus({preventScroll:!0})}}}),[ce,U,j,p,n,R,ie,d]),fe=Z.useMemo(()=>d&&T&&se&&{"aria-activedescendant":`${y}-${r}`},[d,T,se,y,r]),pe=Z.useMemo(()=>({...A?{}:fe,onKeyDown(t){if(t.key===`Tab`&&t.shiftKey&&T&&!d){let n=$t(t.nativeEvent);if(n&&!Q(j.current,n))return;Mn(t);let r=li(_i,t.nativeEvent);e.setOpen(!1,r);let i=S?.current??D;!r.isCanceled&&H(i)&&i.focus()}else de(t)},onPointerMove(e){Us(e)||(L.current=!0)}}),[fe,de,j,A,e,T,d,D,S]),me=Z.useMemo(()=>{function t(t){e.setOpen(!0,li(yi,t.nativeEvent,t.currentTarget))}function n(e){f===`auto`&&Pn(e.nativeEvent)&&(P.current=!d)}function r(e){P.current=f,f===`auto`&&Fn(e.nativeEvent)&&(P.current=!0)}return{onKeyDown(n){let r=e.select(`open`);L.current=!1;let i=n.key.startsWith(`Arrow`),a=qs(n.key,le(),u),o=Gs(n.key,r?g:_),s=(l?a:o)||n.key===`Enter`||n.key.trim()===``;if(d&&r&&(!l||En(n.currentTarget)))return de(n);if(r||m||!i){if(s){let e=Gs(n.key,le());I.current=l&&e?null:n.key}l?a&&(Mn(n),r?(F.current=ue(),R(n),d&&j.current?.focus()):t(n)):o&&(re.current!=null&&(F.current=re.current),Mn(n),!r&&m?t(n):de(n),r&&R(n))}},onFocus(t){t.target===t.currentTarget&&e.select(`open`)&&!d&&(F.current=-1,R(t))},onPointerDown:r,onPointerEnter:r,onMouseDown:n,onClick:n}},[de,f,ue,l,R,e,m,g,_,le,u,re,d,j]),q=Z.useMemo(()=>({...fe,...me}),[fe,me]);return Z.useMemo(()=>a?{reference:q,floating:pe,item:K,trigger:me}:{},[a,q,pe,me,K])}function Xs(e,t){let{listRef:n,elementsRef:r,activeIndex:i,onMatch:a,disabledIndices:o,onTyping:s,enabled:c=!0,resetMs:l=750,selectedIndex:u=null}=t,d=W(s),f=e.useState(`open`),p=Gr(),m=Z.useRef(``),h=Z.useRef(u??i??-1),g=Z.useRef(null),_=W(e=>{function t(e){return r?.current[e]}function s(e){let n=t(e);return n&&!vr(n)||n?.matches(`:disabled`)?!1:o==null||!gr(Se,e,o)}function c(e,t,n=0){if(e.length===0)return-1;let r=(n%e.length+e.length)%e.length,i=t.toLowerCase();for(let t=0;t<e.length;t+=1){let n=(r+t)%e.length;if(e[n]?.toLowerCase().startsWith(i)&&s(n))return n}return-1}let _=n.current;if(m.current.length>0&&e.key===` `&&(Mn(e),d?.(!0)),m.current.length>0&&m.current[0]!==` `&&c(_,m.current)===-1&&e.key!==` `&&d?.(!1),_==null||e.key.length!==1||e.ctrlKey||e.metaKey||e.altKey)return;f&&e.key!==` `&&(Mn(e),d?.(!0));let v=m.current===``;v&&(h.current=u??i??-1),_.every((e,t)=>e&&s(t)?e[0]?.toLowerCase()!==e[1]?.toLowerCase():!0)&&m.current===e.key&&(m.current=``,h.current=g.current),m.current+=e.key,p.start(l,()=>{m.current=``,h.current=g.current,d?.(!1)});let y=((v?u??i??-1:h.current)??0)+1,b=c(_,m.current,y);b===-1?e.key!==` `&&(m.current=``,d?.(!1)):(a?.(b,e),g.current=b)}),v=W(t=>{let n=t.relatedTarget,r=e.select(`domReferenceElement`),i=e.select(`floatingElement`);Q(r,n)||Q(i,n)||(p.clear(),m.current=``,h.current=g.current,d?.(!1))});Y(()=>{(f||u===null)&&(p.clear(),g.current=null,m.current!==``&&(m.current=``,d?.(!1)))},[f,u,p,d]);let y=Z.useMemo(()=>({onKeyDown:_,onBlur:v}),[_,v]);return Z.useMemo(()=>c?{reference:y,floating:y}:{},[c,y])}function Zs(e,t,n){let{reference:r,floating:i}=e,a=Xn(t),o=Zn(t),s=Yn(o),c=Kn(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=qn(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function Qs(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=Gn(t,e),p=lr(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=ur(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=ur(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var $s=50,ec=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Qs},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Zs(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<$s&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=Zs(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},tc=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=Gn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=Kn(r),_=Xn(o),v=Kn(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[sr(o)]:$n(o)),x=p!==`none`;!d&&x&&b.push(...or(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=Qn(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(u!==`alignment`||_===Xn(t)||T.every(e=>Xn(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=Xn(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o}if(r!==n)return{reset:{placement:n}}}return{}}}},nc=new Set([`left`,`top`]);async function rc(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Kn(n),s=qn(n),c=Xn(n)===`y`,l=nc.has(o)?-1:1,u=a&&c?-1:1,d=Gn(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var ic=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await rc(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},ac=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=Gn(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=Xn(i),p=Jn(f),m=u[p],h=u[f],g=(e,t)=>Wn(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}},oc=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=Gn(e,t),u={x:n,y:r},d=Xn(i),f=Jn(d),p=u[f],m=u[d],h=Gn(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:h.mainAxis??0,crossAxis:h.crossAxis??0};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=nc.has(Kn(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},sc=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){let{placement:n,rects:r,platform:i,elements:a}=t,{apply:o=()=>{},...s}=Gn(e,t),c=await i.detectOverflow(t,s),l=Kn(n),u=qn(n),d=Xn(n)===`y`,{width:f,height:p}=r.floating,m,h;l===`top`||l===`bottom`?(m=l,h=u===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?`start`:`end`)?`left`:`right`):(h=l,m=u===`end`?`top`:`bottom`);let g=p-c.top-c.bottom,_=f-c.left-c.right,v=Rn(p-c[m],g),y=Rn(f-c[h],_),b=t.middlewareData.shift,x=!b,S=v,C=y;b!=null&&b.enabled.x&&(C=_),b!=null&&b.enabled.y&&(S=g),x&&!u&&(d?C=f-2*zn(c.left,c.right):S=p-2*zn(c.top,c.bottom)),await o({...t,availableWidth:C,availableHeight:S});let w=await i.getDimensions(a.floating);return f!==w.width||p!==w.height?{reset:{rects:!0}}:{}}}};function cc(e){let t=G(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=H(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=Bn(n)!==a||Bn(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function lc(e){return B(e)?e:e.contextElement}function uc(e){let t=lc(e);if(!H(t))return Hn(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=cc(t),o=(a?Bn(n.width):n.width)/r,s=(a?Bn(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),s&&Number.isFinite(s)||(s=1),{x:o,y:s}}var dc=Hn(0);function fc(e){let t=ne(e);return!ae()||!t.visualViewport?dc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function pc(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===ne(e)}function mc(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=lc(e),o=Hn(1);t&&(r?B(r)&&(o=uc(r)):o=uc(e));let s=pc(a,n,r)?fc(a):Hn(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=ne(a),t=B(r)?ne(r):r,n=e,i=U(n);for(;i&&t!==n;){let e=uc(i),t=i.getBoundingClientRect(),r=G(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=ne(i),i=U(n)}}return ur({width:u,height:d,x:c,y:l})}function hc(e,t){let n=F(e).scrollLeft;return t?t.left+n:mc(R(e)).left+n}function gc(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-hc(e,n),y:n.top+t.scrollTop}}function _c(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=R(r),s=t?V(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=Hn(1),u=Hn(0),d=H(r);if((d||!a)&&((he(r)!==`body`||Ee(o))&&(c=F(r)),d)){let e=mc(r);l=uc(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?gc(o,c):Hn(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function vc(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function yc(e){let t=F(e),n=e.ownerDocument.body,r=zn(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=zn(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+hc(e),o=-t.scrollTop;return G(n).direction===`rtl`&&(a+=zn(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}var bc=25;function xc(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=ne(e),a=R(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!ae()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(hc(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=bc&&(s-=o)}return{width:s,height:c,x:l,y:u}}function Sc(e,t){let n=mc(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=uc(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Cc(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=xc(e,n,t);else if(t===`document`)r=yc(R(e));else if(B(t))r=Sc(t,n);else{let n=fc(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return ur(r)}function wc(e,t){let n=t.get(e);if(n)return n;let r=q(e,[],!1).filter(e=>B(e)&&he(e)!==`body`),i=null,a=G(e).position===`fixed`,o=a?te(e):e;for(;B(o)&&!ee(o);){let e=G(o),t=re(o),n=i?i.position:a?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==o):i=e,o=te(o)}return t.set(e,r),r}function Tc(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?V(t)?[]:wc(t,this._c):[].concat(n),r],o=Cc(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=Cc(t,a[e],i);s=zn(n.top,s),c=Rn(n.right,c),l=Rn(n.bottom,l),u=zn(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function Ec(e){let{width:t,height:n}=cc(e);return{width:t,height:n}}function Dc(e,t,n){let r=H(t),i=R(t),a=n===`fixed`,o=mc(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=Hn(0);if((r||!a)&&((he(t)!==`body`||Ee(i))&&(s=F(t)),r)){let e=mc(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=hc(i));let l=i&&!r&&!a?gc(i,s):Hn(0);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function Oc(e){return G(e).position===`static`}function kc(e,t){if(!H(e)||G(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return R(e)===n&&(n=n.ownerDocument.body),n}function Ac(e,t){let n=ne(e);if(V(e))return n;if(!H(e)){let t=te(e);for(;t&&!ee(t);){if(B(t)&&!Oc(t))return t;t=te(t)}return n}let r=kc(e,t);for(;r&&oe(r)&&Oc(r);)r=kc(r,t);return r&&ee(r)&&Oc(r)&&!re(r)?n:r||z(e)||n}var jc=async function(e){let t=this.getOffsetParent||Ac,n=this.getDimensions,r=await n(e.floating);return{reference:Dc(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Mc(e){return G(e).direction===`rtl`}var Nc={convertOffsetParentRelativeRectToViewportRelativeRect:_c,getDocumentElement:R,getClippingRect:Tc,getOffsetParent:Ac,getElementRects:jc,getClientRects:vc,getDimensions:Ec,getScale:uc,isElement:B,isRTL:Mc};function Pc(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Fc(e,t,n){let r=null,i,a=R(e);function o(){var e;clearTimeout(i),(e=r)==null||e.disconnect(),r=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let m=Vn(d),h=Vn(a.clientWidth-(u+f)),g=Vn(a.clientHeight-(d+p)),_=Vn(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:zn(0,Rn(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(!Pc(l,e.getBoundingClientRect()))return s();if(n!==c){if(!y)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{r=new IntersectionObserver(b,{...v,root:a.ownerDocument})}catch{r=new IntersectionObserver(b,v)}r.observe(e)}let c=ne(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}function Ic(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=lc(e),u=i||a?[...l?q(l):[],...t?q(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)});let d=l&&s?Fc(l,n,a):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?mc(e):null;c&&g();function g(){let t=mc(e);h&&!Pc(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var Lc=ic,Rc=ac,zc=tc,Bc=sc,Vc=oc,Hc=(e,t,n)=>{let r=new Map,i=n??{},a={...Nc,...i.platform,_c:r};return ec(e,t,{...i,platform:a})},Uc=typeof document<`u`?Z.useLayoutEffect:function(){};function Wc(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e==`function`&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e==`object`){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Wc(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){let n=i[r];if(!(n===`_owner`&&e.$$typeof)&&!Wc(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function Gc(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Kc(e,t){let n=Gc(e);return Math.round(t*n)/n}function qc(e){let t=Z.useRef(e);return Uc(()=>{t.current=e}),t}function Jc(e){e===void 0&&(e={});let{placement:t=`bottom`,strategy:n=`absolute`,middleware:r=[],platform:i,elements:{reference:a,floating:o}={},transform:s=!0,whileElementsMounted:c,open:l}=e,[u,d]=Z.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=Z.useState(r);Wc(f,r)||p(r);let[m,h]=Z.useState(null),[g,_]=Z.useState(null),v=Z.useCallback(e=>{e!==S.current&&(S.current=e,h(e))},[]),y=Z.useCallback(e=>{e!==C.current&&(C.current=e,_(e))},[]),b=a||m,x=o||g,S=Z.useRef(null),C=Z.useRef(null),w=Z.useRef(u),T=c!=null,E=qc(c),D=qc(i),O=qc(l),k=Z.useCallback(()=>{if(!S.current||!C.current)return;let e={placement:t,strategy:n,middleware:f};D.current&&(e.platform=D.current),Hc(S.current,C.current,e).then(e=>{let t={...e,isPositioned:O.current!==!1};A.current&&!Wc(w.current,t)&&(w.current=t,ei.flushSync(()=>{d(t)}))})},[f,t,n,D,O]);Uc(()=>{l===!1&&w.current.isPositioned&&(w.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[l]);let A=Z.useRef(!1);Uc(()=>(A.current=!0,()=>{A.current=!1}),[]),Uc(()=>{if(b&&(S.current=b),x&&(C.current=x),b&&x){if(E.current)return E.current(b,x,k);k()}},[b,x,k,E,T]);let j=Z.useMemo(()=>({reference:S,floating:C,setReference:v,setFloating:y}),[v,y]),M=Z.useMemo(()=>({reference:b,floating:x}),[b,x]),N=Z.useMemo(()=>{let e={position:n,left:0,top:0};if(!M.floating)return e;let t=Kc(M.floating,u.x),r=Kc(M.floating,u.y);return s?{...e,transform:`translate(`+t+`px, `+r+`px)`,...Gc(M.floating)>=1.5&&{willChange:`transform`}}:{position:n,left:t,top:r}},[n,s,M.floating,u.x,u.y]);return Z.useMemo(()=>({...u,update:k,refs:j,elements:M,floatingStyles:N}),[u,k,j,M,N])}var Yc=(e,t)=>{let n=Lc(e);return{name:n.name,fn:n.fn,options:[e,t]}},Xc=(e,t)=>{let n=Rc(e);return{name:n.name,fn:n.fn,options:[e,t]}},Zc=(e,t)=>({fn:Vc(e).fn,options:[e,t]}),Qc=(e,t)=>{let n=zc(e);return{name:n.name,fn:n.fn,options:[e,t]}},$c=(e,t)=>{let n=Bc(e);return{name:n.name,fn:n.fn,options:[e,t]}},el=Z.createContext(void 0),tl=Z.createContext(void 0);function nl(){let e=Z.useContext(el);if(e===void 0)throw Error(Te(60));return e}function rl(){let e=Z.useContext(tl);if(e===void 0)throw Error(Te(61));return e}var il=(e,t)=>Object.is(e,t);function al(e,t,n){return e==null||t==null?Object.is(e,t):n(e,t)}function ol(e,t,n){return Array.isArray(e)&&Array.isArray(t)?!_a(e,t,(e,t)=>al(e,t,n)):e!==t}function sl(e,t,n){return e?e.some(e=>e!==void 0&&al(t,e,n)):!1}function cl(e,t,n){return e?e.findIndex(e=>e!==void 0&&al(e,t,n)):-1}function ll(e,t){if(t!==il)return n=>sl(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 ul(e,t,n,r){let i=r&&Array.isArray(t)?e.findIndex(ll(t,n)):cl(e,t,n);return i===-1?null:i}function dl(e,t,n,r,i,a){return sl(r,t,i)?a!=null&&e>a&&sl(r,n[a],i)?a:e:e===a?ul(n,r,i,!0):a}function fl(e,t,n){return e.filter(e=>!al(t,e,n))}function pl(e){if(e==null)return``;if(typeof e==`string`)return e;try{return JSON.stringify(e)}catch{return String(e)}}function ml(e){return typeof e==`object`&&!!e&&Array.isArray(e.items)}function hl(e){return ml(e?.[0])}function gl(e){return hl(e)?e.flatMap(e=>e.items):e}function _l(e){if(!Array.isArray(e))return e!=null&&`null`in e;let t=e;if(hl(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 vl(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 pl(e)}function yl(e,t){return t&&e!=null?t(e)??``:e&&typeof e==`object`&&`value`in e&&`label`in e?pl(e.value):pl(e)}function bl(e,t,n){function r(){return vl(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=gl(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 xl(e,t,n){return e.reduce((e,r,i)=>(i>0&&e.push(`, `),e.push((0,$.jsx)(Z.Fragment,{children:bl(r,t,n)},i)),e),[])}var Sl={id:e=>e.id,labelId:e=>e.labelId,modal:e=>e.modal,multiple:e=>e.multiple,disabled:e=>e.disabled,readOnly:e=>e.readOnly,required:e=>e.required,highlightItemOnHover:e=>e.highlightItemOnHover,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:yl(t,r)!==``},hasNullItemLabel:(e,t)=>t?_l(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=>al(t,e,n)):al(t,r,n)},isSelectedByFocus:(e,t)=>e.selectedIndex===t,popupProps:e=>e.popupProps,triggerProps:e=>e.triggerProps,itemRoot:e=>e.itemRoot,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 Cl(e){let t=Z.useRef(``),n=Z.useCallback(n=>{n.defaultPrevented||(t.current=n.pointerType,e(n,n.pointerType))},[e]);return{onClick:Z.useCallback(n=>{n.detail===0?e(n,`keyboard`):(`pointerType`in n?e(n,n.pointerType):e(n,t.current),t.current=``)},[e]),onPointerDown:n}}function wl(e,t){let{onClick:n,onPointerDown:r}=Cl(W((n,r)=>{(typeof e==`function`?e():e)||t(r||(Ut?`touch`:``))}));return Z.useMemo(()=>({onClick:n,onPointerDown:r}),[n,r])}function Tl(e){let[t,n]=Z.useState(null),r=wl(e,n);return ci(e,t=>{t&&!e&&n(null)}),Z.useMemo(()=>({openMethod:t,triggerProps:r}),[t,r])}function El(e,t){return Math.max(0,e-t)}function Dl(e,t){if(t<=0)return 0;let n=ga(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 Ol(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:p=!1,modal:m=!0,actionsRef:h,inputRef:g,onOpenChangeComplete:_,items:v,multiple:y=!1,itemToStringLabel:b,itemToStringValue:x,isItemEqualToValue:S=il,highlightItemOnHover:C=!0,children:w}=e,{clearErrors:T}=wt(),{setDirty:E,setTouched:D,setFocused:O,validityData:k,setFilled:A,name:j,disabled:M,validation:N,validationMode:P}=St(),F=It({id:t}),I=M||d,R=j??c,[z,B]=Ni({controlled:n,default:y?r??Se:r,name:`Select`,state:`value`}),[V,H]=Ni({controlled:a,default:o,name:`Select`,state:`open`}),ee=Z.useRef([]),te=Z.useRef([]),ne=Z.useRef(null),U=Z.useRef(null),re=Z.useRef(0),ie=Z.useRef(null),G=Z.useRef([]),ae=Z.useRef(!1),oe=Z.useRef(null),se=Z.useRef(null),ce=Z.useRef({allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0}),ue=Z.useRef(!1),fe=Z.useRef(z),{openMethod:pe,triggerProps:me}=Tl(V),q=L(()=>new qo({id:F,labelId:void 0,modal:m,multiple:y,disabled:I,readOnly:f,required:p,highlightItemOnHover:C,itemToStringLabel:b,itemToStringValue:x,isItemEqualToValue:S,value:z,open:V,mounted:V,transitionStatus:void 0,items:v,forceMount:!1,openMethod:null,activeIndex:null,selectedIndex:null,popupProps:de,triggerProps:de,itemRoot:{props:de,multiple:y,disabled:I,readOnly:f,isItemEqualToValue:S},triggerElement:null,positionerElement:null,listElement:null,popupSide:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1,hasScrollArrows:!1},{setValue:K,setOpen:K,handleScrollArrowVisibility:K,onOpenChangeComplete:K,listRef:ee,popupRef:ne,scrollHandlerRef:U,scrollArrowsMountedCountRef:re,valueRef:ie,valuesRef:G,labelsRef:te,typingRef:ae,selectionRef:ce,firstItemTextRef:oe,selectedItemTextRef:se,alignItemWithTriggerActiveRef:ue,initialValueRef:fe},Sl)).current,[he,_e]=Z.useState(!1),{mounted:J,transitionStatus:ve,forceUnmount:ye}=Is({open:V,ref:ne,preventUnmountOnClose:he,setPreventUnmountOnClose:_e,onUnmount(){q.update({activeIndex:null,openMethod:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1}),_?.(!1)}}),be=q.useState(`activeIndex`),xe=q.useState(`selectedIndex`),Ce=q.useState(`triggerElement`),we=q.useState(`positionerElement`),Te=Mo(pe),Ee=pe??Te,X=Z.useMemo(()=>y?``:yl(z,x),[y,z,x]),De=Z.useMemo(()=>y&&Array.isArray(z)?z.map(e=>yl(e,x)):yl(z,x),[y,z,x]);si(Gi(Ce),F,z,W(()=>De),!I,c);let Oe=y?Array.isArray(z)&&z.length>0:z!=null&&X!==``;Y(()=>{A(Oe)},[Oe,A]),Y(function(){let e=ul(G.current,z,S,y);e===null&&(se.current=null),!V&&q.set(`selectedIndex`,e)},[y,V,z,S,q]),ci(z,()=>{T(R),E(ol(z,k.initialValue,S)),N.change(z)});let ke=W((e,t)=>{let n=t,r=Rs(n);s?.(e,n),!t.isCanceled&&(e||_e(r()),H(e),e||t.reason!==`focus-out`&&t.reason!==`outside-press`||(D(!0),O(!1),P===`onBlur`&&N.commit(z)))});Z.useImperativeHandle(h,()=>({unmount:ye,close:()=>{q.state.open&&ke(!1,li(Ei))}}),[ye,ke,q]);let Ae=W((e,t)=>{i?.(e,t),!t.isCanceled&&B(e)}),je=W(e=>{let t=El(e.scrollHeight,e.clientHeight),n=Dl(e.scrollTop,t),r=n>0,i=n<t;q.set(`scrollUpArrowVisible`,r),q.set(`scrollDownArrowVisible`,i)}),Me=Hs({open:V,onOpenChange:ke,elements:{reference:Ce,floating:we}}),Ne=Ms(Me,{enabled:!I,event:`mousedown`}),Pe=Fs(Me),Fe=Ys(Me,{enabled:!I,listRef:ee,activeIndex:be,selectedIndex:xe,disabledIndices:Se,onNavigate(e){(e!==null||V)&&q.set(`activeIndex`,e)},focusItemOnHover:C}),Ie=Xs(Me,{enabled:!I&&(V||!f&&!y),listRef:te,activeIndex:be,selectedIndex:xe,disabledIndices:e=>No(ee.current[e]),onMatch(e){V?q.set(`activeIndex`,e):Ae(G.current[e],li(di))},onTyping(e){ae.current=e}}),Le=Z.useMemo(()=>le(Ie.reference,Fe.reference,Pe.reference,Ne.reference,me),[Ne.reference,Ie.reference,Fe.reference,Pe.reference,me]),Re=Z.useMemo(()=>le(Ls,Ie.floating,Fe.floating,Pe.floating),[Ie.floating,Fe.floating,Pe.floating]),ze=Fe.item??de,Be=Z.useMemo(()=>({props:ze,multiple:y,disabled:I,readOnly:f,isItemEqualToValue:S}),[ze,y,I,f,S]);q.useContextCallback(`setValue`,Ae),q.useContextCallback(`setOpen`,ke),q.useContextCallback(`handleScrollArrowVisibility`,je),q.useContextCallback(`onOpenChangeComplete`,_),jo(()=>{q.update({popupProps:Re,triggerProps:Le,itemRoot:Be})}),q.useSyncedValues({id:F,modal:m,multiple:y,disabled:I,readOnly:f,required:p,highlightItemOnHover:C,value:z,open:V,mounted:J,transitionStatus:ve,popupProps:Re,triggerProps:Le,itemRoot:Be,items:v,itemToStringLabel:b,itemToStringValue:x,isItemEqualToValue:S,openMethod:Ee});let Ve=ge(g,N.inputRef),He=y?void 0:R,Ue=Z.useMemo(()=>!y||!Array.isArray(z)||!R?null:z.map(e=>{let t=yl(e,x);return(0,$.jsx)(`input`,{type:`hidden`,form:l,name:R,value:t,disabled:I},t)}),[y,z,l,R,x,I]);return(0,$.jsxs)(el.Provider,{value:q,children:[(0,$.jsx)(tl.Provider,{value:Me,children:w}),(0,$.jsx)(`input`,{...N.getValidationProps(I,{onFocus(){q.state.triggerElement?.focus({focusVisible:!0})},onChange(e){if(e.nativeEvent.defaultPrevented||I||f)return;let t=e.currentTarget.value,n=li(di,e.nativeEvent);function r(){if(y)return;let e=t.toLowerCase(),r=G.current.findIndex(t=>yl(t,x).toLowerCase()===e||vl(t,b).toLowerCase()===e);r===-1&&(r=G.current.findIndex((t,n)=>{let r=te.current[n];return r!=null&&r.toLowerCase()===e}));let i=G.current[r];i!=null&&Ae(i,n)}q.set(`forceMount`,!0),queueMicrotask(r)}}),id:F&&He==null?`${F}-hidden-input`:void 0,form:l,name:He,autoComplete:u,value:X,disabled:I,required:p&&!(y&&Oe),readOnly:f,ref:Ve,style:R?Yi:Ji,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),Ue]})}var kl=5;function Al(e,t){let n=jl(t);return e.clientX>=n.left-kl&&e.clientX<=n.right+kl&&e.clientY>=n.top-kl&&e.clientY<=n.bottom+kl}function jl(e){let t=e.getBoundingClientRect(),n=ne(e);if(Xt)return t;let r=n.getComputedStyle(e,`::before`),i=n.getComputedStyle(e,`::after`);if(r.content===`none`&&i.content===`none`)return t;let a=parseFloat(r.width)||0,o=parseFloat(r.height)||0,s=parseFloat(i.width)||0,c=parseFloat(i.height)||0,l=Math.max(t.width,a,s),u=Math.max(t.height,o,c),d=l-t.width,f=u-t.height;return{left:t.left-d/2,right:t.right+d/2,top:t.top-f/2,bottom:t.bottom+f/2}}var Ml=`data-popup-side`,Nl=400,Pl={...Sn,...yt,popupSide:e=>e?{[Ml]:e}:null,value:()=>null},Fl=Z.forwardRef(function(e,t){let{render:n,className:r,id:i,disabled:a=!1,nativeButton:o=!0,style:s,...c}=e,{setTouched:l,validationMode:u,validation:d,state:f,disabled:p}=St(),{labelId:m}=Mt(),h=nl(),g=h.useState(`readOnly`),_=h.useState(`required`),v=h.useState(`disabled`),y=p||v||a,b=h.useState(`open`),x=h.useState(`mounted`),S=h.useState(`value`),C=h.useState(`triggerProps`),w=h.useState(`positionerElement`),T=h.useState(`listElement`),E=h.useState(`popupSide`),D=h.useState(`id`),O=h.useState(`labelId`),k=h.useState(`hasSelectedValue`),A=x&&w?E:null,j=i??D,M=ya(m,O);It({id:i});let N=Gi(w),P=Z.useRef(null),F=oi(y,P),{getButtonProps:I,buttonRef:L}=pe({disabled:y,native:o}),R=h.useStateSetter(`triggerElement`),z=Gr(),B=Gr(),V=Gr();Z.useEffect(()=>{if(b)return V.start(Nl,()=>{h.context.selectionRef.current.allowUnselectedMouseUp=!0,h.context.selectionRef.current.allowSelectedMouseUp=!0}),()=>{V.clear()};h.context.selectionRef.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0},B.clear()},[b,h,B,V]);let H=le(C,{id:j,role:`combobox`,"aria-expanded":b,"aria-haspopup":`listbox`,"aria-controls":b?T?.id??kn(w)?.id:void 0,"aria-labelledby":M,"aria-readonly":g||void 0,"aria-required":_||void 0,tabIndex:y?-1:0,onFocus(e){F(!0),b&&h.context.alignItemWithTriggerActiveRef.current&&h.context.setOpen(!1,li(di,e.nativeEvent)),z.start(0,()=>{h.set(`forceMount`,!0)})},onBlur(e){Q(w,e.relatedTarget)||(l(!0),F(!1),u===`onBlur`&&d.commit(S))},onMouseDown(e){if(b)return;let t=X(e.currentTarget);function n(e){if(!P.current)return;let t=e.target;Q(P.current,t)||Q(N.current,t)||Al(e,P.current)||h.context.setOpen(!1,li(Si,e))}B.start(0,()=>{t.addEventListener(`mouseup`,n,{once:!0})})}},c,I),ee=d.getValidationProps(y,H);ee.role=`combobox`;let te={...f,open:b,disabled:y,value:S,readOnly:g,popupSide:A,placeholder:!k};return ue(`button`,e,{ref:[t,P,L,R],state:te,stateAttributesMapping:Pl,props:ee})}),Il={value:()=>null},Ll=Z.forwardRef(function(e,t){let{className:n,render:r,children:i,placeholder:a,style:o,...s}=e,c=nl(),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)?xl(l,u,d):bl(l,u,d)),ue(`span`,e,{state:h,ref:[t,c.context.valueRef],props:[{children:g},s],stateAttributesMapping:Il})}),Rl=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,o={open:nl().useState(`open`)};return ue(`span`,e,{state:o,ref:t,props:[{"aria-hidden":!0,children:`▼`},a],stateAttributesMapping:xn})}),zl=Z.forwardRef(function(e,t){let n=nl(),r=n.useState(`mounted`),i=n.useState(`forceMount`);return r||i?(0,$.jsx)(_s,{ref:t,...e}):null});function Bl(e){return ve(19)?e:e?`true`:void 0}function Vl(e){let{nodeId:t,externalTree:n,rootContext:r}=e,i=r.useState(`referenceElement`),a=r.useState(`floatingElement`),o=r.useState(`domReferenceElement`),s=r.useState(`open`),c=r.useState(`floatingId`),[l,u]=Z.useState(null),d=Z.useRef(null),f=Ss(n),p=Z.useMemo(()=>({reference:i,floating:a,domReference:o}),[i,a,o]),m=Jc({...e,elements:{...p,...l&&{reference:l}}}),h=Z.useCallback(e=>{let t=B(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;u(t),m.refs.setReference(t)},[m.refs]),g=Z.useMemo(()=>({...m.refs,setPositionReference:h,domReference:d}),[m.refs,h]),_=Z.useMemo(()=>({...m.elements,domReference:o}),[m.elements,o]),v=Z.useMemo(()=>({...m,dataRef:r.context.dataRef,open:s,onOpenChange:r.setOpen,events:r.context.events,floatingId:c,refs:g,elements:_,nodeId:t,rootStore:r}),[m,g,_,t,r,s,c]);return Y(()=>{o&&(d.current=o)},[o]),Y(()=>{r.context.dataRef.current.floatingContext=v;let e=f?.nodesRef.current.find(e=>e.id===t);e&&(e.context=v)}),Z.useMemo(()=>({...m,context:v,refs:g,elements:_,rootStore:r}),[m,g,_,v,r])}var Hl=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=Gn(e,t)||{};if(l==null)return{};let d=lr(u),f={x:n,y:r},p=Zn(i),m=Yn(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=s.floating[y]||a.floating[m],C=b/2-x/2,w=S/2-h[m]/2-1,T=Math.min(d[_],w),E=Math.min(d[v],w),D=T,O=S-h[m]-E,k=S/2-h[m]/2+C,A=Wn(D,k,O),j=!c.arrow&&qn(i)!=null&&k!==A&&a.reference[m]/2-(k<D?T:E)-h[m]/2<0,M=j?k<D?k-D:k-O:0;return{[p]:f[p]+M,data:{[p]:A,centerOffset:k-A-M,...j&&{alignmentOffset:M}},reset:j}}}),Ul=(e,t)=>{let{name:n,fn:r}=Hl(e);return{name:n,fn:r,options:[e,t]}},Wl={name:`hide`,async fn(e){let{width:t,height:n,x:r,y:i}=e.rects.reference,a=t===0&&n===0&&r===0&&i===0,o=await e.platform.detectOverflow(e,{elementContext:`reference`});return{data:{referenceHidden:o.top-n>=0||o.right-t>=0||o.bottom-n>=0||o.left-t>=0||a}}}},Gl={sideX:`left`,sideY:`top`},Kl=`--available-width`,ql=`--available-height`,Jl=`--anchor-width`,Yl=`--anchor-height`,Xl=`--transform-origin`,Zl=Kl,Ql=ql;function $l(e,t,n){let r=e===`inline-start`||e===`inline-end`;return{top:`top`,right:r?n?`inline-start`:`inline-end`:`right`,bottom:`bottom`,left:r?n?`inline-end`:`inline-start`:`left`}[t]}function eu(e,t,n){let{rects:r,placement:i}=e;return{side:$l(t,Kn(i),n),align:qn(i)||`center`,anchor:{width:r.reference.width,height:r.reference.height},positioner:{width:r.floating.width,height:r.floating.height}}}function tu(e){return nu(e,Vl)}function nu(e,t){let{anchor:n,positionMethod:r=`absolute`,side:i=`bottom`,sideOffset:a=0,align:o=`center`,alignOffset:s=0,collisionBoundary:c,collisionPadding:l=5,sticky:u=!1,arrowPadding:d=5,disableAnchorTracking:f=!1,inline:p,keepMounted:m=!1,floatingRootContext:h,mounted:g,collisionAvoidance:_,shift:v,nodeId:y,adaptiveOrigin:b,lazyFlip:x=!1,externalTree:S}=e,C=_.side||`flip`,w=_.align||`flip`,T=_.fallbackAxisSide||`end`,E=v?.crossAxis??!1,D=v?.rootBoundary,O=typeof n==`function`?n:void 0,k=W(O),A=O?k:n,j=Gi(n),M=Gi(g),N=Pa()===`rtl`,[P,F]=Z.useState(null);!g&&P!==null&&F(null);let I=x===`placement`,L=P?Kn(P):null,R=P&&I?qn(P)||`center`:null,z=L||{top:`top`,right:`right`,bottom:`bottom`,left:`left`,"inline-end":N?`left`:`right`,"inline-start":N?`right`:`left`}[i],B=R||o,V=B===`center`?z:`${z}-${B}`,H=l;typeof H==`number`?H={top:H,right:H,bottom:H,left:H}:H&&={top:H.top||0,right:H.right||0,bottom:H.bottom||0,left:H.left||0};let ee=+(i===`bottom`),te=+(i===`top`),U=+(i===`right`),re=+(i===`left`),ie={boundary:c===`clipping-ancestors`?`clippingAncestors`:c,padding:H},G=Z.useRef(null),ae=Gi(a),oe=Gi(s),se=typeof a==`function`?0:a,ce=typeof s==`function`?0:s,le=[];p&&le.push(p),le.push(Yc(e=>{let t=eu(e,i,N),n=typeof ae.current==`function`?ae.current(t):ae.current,r=typeof oe.current==`function`?oe.current(t):oe.current;return{mainAxis:n,crossAxis:r,alignmentAxis:r}},[se,ce,N,i]));let ue=w===`none`&&C!==`shift`,de=!ue&&(u||E||C===`shift`),K=C===`none`?null:Qc({...ie,padding:{top:H.top+1+ee,right:H.right+1+re,bottom:H.bottom+1+te,left:H.left+1+U},mainAxis:!E&&C===`flip`,crossAxis:w===`flip`&&`alignment`,fallbackAxisSideDirection:T}),fe=ue?null:Xc({...ie,rootBoundary:D,mainAxis:w!==`none`,crossAxis:de,limiter:u||E?void 0:Zc(e=>{if(!G.current)return{};let{width:t,height:n}=G.current.getBoundingClientRect(),r=Xn(Kn(e.placement)),i=r===`y`?t:n,a=r===`y`?H.left+H.right:H.top+H.bottom;return{offset:i/2+a/2}})},[ie,u,E,D,H,w]);C===`shift`||w===`shift`||B===`center`?le.push(fe,K):le.push(K,fe),le.push($c({...ie,apply({elements:{floating:e},availableWidth:t,availableHeight:n,rects:r}){if(!M.current)return;let i=e.style;i.setProperty(Zl,`${t}px`),i.setProperty(Ql,`${n}px`);let a=ne(e).devicePixelRatio||1,{x:o,y:s,width:c,height:l}=r.reference,u=(Math.round((o+c)*a)-Math.round(o*a))/a,d=(Math.round((s+l)*a)-Math.round(s*a))/a;i.setProperty(Jl,`${u}px`),i.setProperty(Yl,`${d}px`)}}),Ul(e=>({element:G.current||X(e.elements.floating).createElement(`div`),padding:G.current?d:0}),[d]),{name:`transformOrigin`,fn(e){let{elements:{floating:t},middlewareData:n,placement:r,platform:o,rects:s,y:c}=e,l=Kn(r),u=qn(r),d=Xn(l)===`y`,f=G.current,p=typeof a==`function`?a(eu(e,i,N)):a,m;m=!f&&u&&Math.abs(d?n.shift?.x||0:n.shift?.y||0)<=1?u===`start`===(d&&o.isRTL?.(t)===!0)?`100%`:`0%`:`${(d?n.arrow?.x||0:n.arrow?.y||0)+(d?f?.clientWidth||0:f?.clientHeight||0)/2}px`;let h=l===`top`||l===`left`?`calc(100% + ${p}px)`:`${-p}px`;return de&&d&&Math.abs(n.shift?.y||0)>p&&(h=`${s.reference.y+s.reference.height/2-c}px`),t.style.setProperty(Xl,d?`${m} ${h}`:`${h} ${m}`),{}}},Wl,b),Y(()=>{!g&&h&&h.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[g,h]);let pe=Z.useMemo(()=>({ancestorScroll:!f,elementResize:!f&&typeof ResizeObserver<`u`,layoutShift:!f&&typeof IntersectionObserver<`u`}),[f]),{refs:me,elements:q,x:he,y:ge,middlewareData:_e,update:J,placement:ve,context:ye,isPositioned:be,floatingStyles:xe}=t({rootContext:h,open:m?g:void 0,placement:V,middleware:le,strategy:r,whileElementsMounted:m?void 0:(...e)=>Ic(...e,pe),nodeId:y,externalTree:S}),{sideX:Se,sideY:Ce}=_e.adaptiveOrigin||Gl,we=be?r:`fixed`,Te=Z.useMemo(()=>{let e;return e=be?b?{position:we,[Se]:he,[Ce]:ge}:{...xe,position:we}:{position:we,top:0,left:0},e[Zl]=`100vw`,e[Ql]=`100vh`,be||(e.opacity=0),e},[b,we,Se,he,Ce,ge,xe,be]),Ee=Z.useRef(null);Y(()=>{if(!g)return;let e=j.current,t=typeof e==`function`?e():e,n=(ru(t)?t.current:t)||null;n!==Ee.current&&(me.setPositionReference(n),Ee.current=n)},[g,me,A,j]),Z.useEffect(()=>{if(!g)return;let e=j.current;typeof e!=`function`&&ru(e)&&e.current!==Ee.current&&(me.setPositionReference(e.current),Ee.current=e.current)},[g,me,A,j]),Z.useEffect(()=>{if(m&&g&&q.reference&&q.floating)return Ic(q.reference,q.floating,J,pe)},[m,g,q,J,pe]);let De=Kn(ve),Oe=$l(i,De,N),ke=qn(ve)||`center`,Ae=!!_e.hide?.referenceHidden;Y(()=>{x&&g&&be&&(De!==z||I&&ke!==B)&&F(ve)},[x,I,g,be,ve,De,ke,z,B]);let je=Z.useMemo(()=>({position:`absolute`,top:_e.arrow?.y,left:_e.arrow?.x}),[_e.arrow]),Me=_e.arrow?.centerOffset!==0;return Z.useMemo(()=>({positionerStyles:Te,arrowStyles:je,arrowRef:G,arrowUncentered:Me,side:Oe,align:ke,physicalSide:De,anchorHidden:Ae,refs:me,context:ye,isPositioned:be,update:J}),[Te,je,G,Me,Oe,ke,De,Ae,me,ye,be,J])}function ru(e){return e!=null&&`current`in e}var iu=Z.createContext(void 0);function au(){let e=Z.useContext(iu);if(!e)throw Error(Te(59));return e}var ou=Z.forwardRef(function(e,t){let{cutout:n,...r}=e,i;if(n){let e=n.getBoundingClientRect();i=`polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${e.left}px ${e.top}px,${e.left}px ${e.bottom}px,${e.right}px ${e.bottom}px,${e.right}px ${e.top}px,${e.left}px ${e.top}px)`}return(0,$.jsx)(`div`,{ref:t,role:`presentation`,"data-base-ui-inert":``,...r,style:{position:`fixed`,inset:0,userSelect:`none`,WebkitUserSelect:`none`,clipPath:i}})});function su(e,t){e&&Object.assign(e.style,t)}var cu={position:`relative`,maxHeight:`100%`,overflowX:`hidden`,overflowY:`auto`};function lu(e){return e===`starting`?us:de}function uu(e,t,{styles:n,transitionStatus:r,props:i,refs:a,hidden:o,inert:s=!1}){let c={...n};return s&&(c.pointerEvents=`none`),ue(`div`,e,{state:t,ref:a,props:[{role:`presentation`,hidden:o,style:c},lu(r),i],stateAttributesMapping:Cn})}var du={},fu={},pu=``;function mu(e,t){return Ee(e)?e:t}function hu(e,t,n){return/hidden|clip/.test(e.getComputedStyle(mu(t,n)).overflowY)}function gu(e){if(typeof document>`u`)return!1;let t=X(e);return ne(t).innerWidth-t.documentElement.clientWidth>0}function _u(e){if(!(typeof CSS<`u`&&CSS.supports&&CSS.supports(`scrollbar-gutter`,`stable`))||typeof document>`u`)return!1;let t=X(e),n=t.documentElement,r=t.body,i=mu(n,r),a=i.style.overflowY,o=n.style.scrollbarGutter;n.style.scrollbarGutter=`stable`,i.style.overflowY=`scroll`;let s=i.offsetWidth;i.style.overflowY=`hidden`;let c=i.offsetWidth;return i.style.overflowY=a,n.style.scrollbarGutter=o,s===c}function vu(e){let t=X(e),n=t.documentElement,r=t.body,i=mu(n,r),a={overflowY:i.style.overflowY,overflowX:i.style.overflowX};return Object.assign(i.style,{overflowY:`hidden`,overflowX:`hidden`}),()=>{Object.assign(i.style,a)}}function yu(e){let t=X(e),n=t.documentElement,r=t.body,i=ne(n),a=0,o=0,s=!1,c=Xr.create();if(Jt&&(i.visualViewport?.scale??1)!==1)return()=>{};function l(){let t=i.getComputedStyle(n),c=i.getComputedStyle(r),l=(t.scrollbarGutter||``).includes(`both-edges`)?`stable both-edges`:`stable`;a=n.scrollTop,o=n.scrollLeft,du={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},pu=n.style.scrollBehavior,fu={position:r.style.position,height:r.style.height,width:r.style.width,boxSizing:r.style.boxSizing,overflowY:r.style.overflowY,overflowX:r.style.overflowX,scrollBehavior:r.style.scrollBehavior};let u=n.scrollHeight>n.clientHeight,d=n.scrollWidth>n.clientWidth,f=t.overflowY===`scroll`||c.overflowY===`scroll`,p=t.overflowX===`scroll`||c.overflowX===`scroll`,m=Math.max(0,i.innerWidth-r.clientWidth),h=Math.max(0,i.innerHeight-r.clientHeight),g=parseFloat(c.marginTop)+parseFloat(c.marginBottom),_=parseFloat(c.marginLeft)+parseFloat(c.marginRight),v=mu(n,r);s=_u(e),s?(n.style.scrollbarGutter=l,v.style.overflowY=`hidden`,v.style.overflowX=`hidden`):(Object.assign(n.style,{scrollbarGutter:l,overflowY:`hidden`,overflowX:`hidden`}),(u||f)&&(n.style.overflowY=`scroll`),(d||p)&&(n.style.overflowX=`scroll`),Object.assign(r.style,{position:`relative`,height:g||h?`calc(100dvh - ${g+h}px)`:`100dvh`,width:_||m?`calc(100vw - ${_+m}px)`:`100vw`,boxSizing:`border-box`,overflowY:`hidden`,overflowX:`hidden`,scrollBehavior:`unset`}),r.scrollTop=a,r.scrollLeft=o,n.setAttribute(`data-base-ui-scroll-locked`,``),n.style.scrollBehavior=`unset`)}function u(){Object.assign(n.style,du),Object.assign(r.style,fu),s||(n.scrollTop=a,n.scrollLeft=o,n.removeAttribute(`data-base-ui-scroll-locked`),n.style.scrollBehavior=pu)}function d(){u(),c.request(l)}l();let f=Wi(i,`resize`,d);return()=>{c.cancel(),u(),typeof i.removeEventListener==`function`&&f()}}var bu=new class{lockCount=0;restore=null;timeoutLock=Wr.create();timeoutUnlock=Wr.create();acquire(e){return this.lockCount+=1,this.lockCount===1&&this.restore===null&&this.timeoutLock.start(0,()=>this.lock(e)),this.release}release=()=>{--this.lockCount,this.lockCount===0&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{this.lockCount===0&&this.restore&&(this.restore?.(),this.restore=null)};lock(e){if(this.lockCount===0||this.restore!==null)return;let t=X(e),n=t.documentElement,r=t.body,i=ne(n);if(hu(i,n,r)){let t=new i.MutationObserver(()=>{hu(i,n,r)||(t.disconnect(),this.restore=null,this.lock(e))}),a={attributes:!0};t.observe(n,a),t.observe(r,a),this.restore=()=>t.disconnect();return}let a=Ut||!gu(e);this.restore=a?vu(e):yu(e)}};function xu(e=!0,t=null){Y(()=>{if(e)return bu.acquire(t)},[e,t])}var Su=20;function Cu(e,t,n,r){let[i,a]=Z.useState(!1);Y(()=>{if(!e||!t||n==null){a(!1);return}let r=X(n).documentElement.clientWidth,i=n.offsetWidth;a(r>0&&i>0&&i>=r-Su)},[e,t,n]),xu(e&&(!t||i),r)}var wu={position:`fixed`},Tu=Z.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:g=ds,style:_,...v}=e,y=nl(),b=rl(),x=y.useState(`open`),S=y.useState(`mounted`),C=y.useState(`modal`),w=y.useState(`value`),T=y.useState(`openMethod`),E=y.useState(`positionerElement`),D=y.useState(`triggerElement`),O=y.useState(`isItemEqualToValue`),k=y.useState(`transitionStatus`),A=Z.useRef(null),j=Z.useRef(null),[M,N]=Z.useState(h),P=S&&M&&T!==`touch`;!S&&M!==h&&N(h),Z.useImperativeHandle(y.context.alignItemWithTriggerActiveRef,()=>P),Cu((P||C)&&x,T===`touch`,E,D);let F=tu({anchor:n,floatingRootContext:b,positionMethod:a,mounted:S,side:o,sideOffset:c,align:s,alignOffset:l,arrowPadding:f,collisionBoundary:u,collisionPadding:d,sticky:p,disableAnchorTracking:m??P,collisionAvoidance:g,keepMounted:!0}),I=P?`none`:F.side,L=P?wu:F.positionerStyles,R={open:x,side:I,align:F.align,anchorHidden:F.anchorHidden};Y(()=>{y.set(`popupSide`,F.side)},[y,F.side]);let z=uu(e,R,{styles:L,transitionStatus:k,props:v,refs:[t,y.useStateSetter(`positionerElement`)],hidden:!S,inert:!x}),B=Z.useRef(0),V=W(e=>{if(y.context.valuesRef.current.length===0)return;let t=B.current;B.current=e.size;let n=li(di);if(t!==0&&!y.state.multiple&&w!==null&&cl(y.context.valuesRef.current,w,O)===-1){let e=y.context.initialValueRef.current,t=e!=null&&cl(y.context.valuesRef.current,e,O)!==-1?e:null;y.context.setValue(t,n),t===null&&(y.set(`selectedIndex`,null),y.context.selectedItemTextRef.current=null)}if(t!==0&&y.state.multiple&&Array.isArray(w)){let e=w.filter(e=>cl(y.context.valuesRef.current,e,O)!==-1);e.length!==w.length&&(y.context.setValue(e,n),e.length===0&&(y.set(`selectedIndex`,null),y.context.selectedItemTextRef.current=null))}if(x&&P){y.update({scrollUpArrowVisible:!1,scrollDownArrowVisible:!1});let e={height:``};su(E,e),su(y.context.popupRef.current,e)}}),H=Z.useMemo(()=>({...F,side:I,alignItemWithTriggerActive:P,setControlledAlignItemWithTrigger:N,scrollUpArrowRef:A,scrollDownArrowRef:j}),[F,I,P,N]);return(0,$.jsx)(Ii,{elementsRef:y.context.listRef,labelsRef:y.context.labelsRef,onMapChange:V,children:(0,$.jsxs)(iu.Provider,{value:H,children:[S&&C&&(0,$.jsx)(ou,{inert:Bl(!x),cutout:D}),z]})})}),Eu=`base-ui-disable-scrollbar`,Du={className:Eu,getElement(e){return(0,$.jsx)(`style`,{nonce:e,href:Eu,precedence:`base-ui:low`,children:`.${Eu}{scrollbar-width:none}.${Eu}::-webkit-scrollbar{display:none}`})}},Ou=Z.createContext(void 0);function ku(e){let t=Z.useContext(Ou);if(t===void 0&&!e)throw Error(Te(69));return t}var Au=`--transform-origin`,ju={...Cn,...un},Mu=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,finalFocus:a,...o}=e,s=nl(),c=s.useState(`multiple`),l=s.useState(`readOnly`),u=s.useState(`highlightItemOnHover`),d=rl(),{side:f,align:p,alignItemWithTriggerActive:m,isPositioned:h,setControlledAlignItemWithTrigger:g}=au(),_=ku(!0)!=null,v=Pa(),{nonce:y,disableStyleElements:b}=bo(),x=s.useState(`id`),S=s.useState(`open`),C=s.useState(`openMethod`),w=s.useState(`mounted`),T=s.useState(`popupProps`),E=s.useState(`transitionStatus`),D=s.useState(`triggerElement`),O=s.useState(`positionerElement`),k=s.useState(`listElement`),A=Z.useRef(!1),j=Z.useRef(!1),M=Z.useRef({}),N=Zr(),P=W(e=>{if(!O||!s.context.popupRef.current||!j.current)return;let t=O.style.top===`0px`,n=O.style.bottom===`0px`;if(A.current||!m||!t&&!n){s.context.handleScrollArrowVisibility(e);return}let r=Fu(O),i=Iu(O.getBoundingClientRect().height,`y`,r),a=X(O),o=ne(O),c=o.getComputedStyle(O),l=parseFloat(c.marginTop),u=parseFloat(c.marginBottom),d=Nu(o.getComputedStyle(s.context.popupRef.current)),f=Math.min(a.documentElement.clientHeight-l-u,d),p=e.scrollTop,h=Pu(e),g=null,_=e=>{O.style.height=`${e}px`},v=t?h-p:p,y=Math.min(i+v,f);if(v<=1){let n=ga(v,0,f-i);n>0&&_(i+n),e.scrollTop=t?h:0,f-(i+n)<=1&&(A.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=ga(g,0,Pu(e));Math.abs(e.scrollTop-t)>1&&(e.scrollTop=t)}b>=f-1&&(A.current=!0),s.context.handleScrollArrowVisibility(e)});Z.useImperativeHandle(s.context.scrollHandlerRef,()=>P,[P]),ii({open:S,ref:s.context.popupRef,onComplete(){S&&s.context.onOpenChangeComplete(!0)}});let F={open:S,transitionStatus:E,side:f,align:p};Y(()=>{O&&s.context.popupRef.current&&!Object.keys(M.current).length&&(M.current={top:O.style.top||`0`,left:O.style.left||`0`,right:O.style.right,height:O.style.height,bottom:O.style.bottom,minHeight:O.style.minHeight,maxHeight:O.style.maxHeight,marginTop:O.style.marginTop,marginBottom:O.style.marginBottom})},[s,O]),Y(()=>{S||m||(j.current=!1,A.current=!1,su(O,M.current))},[S,m,O]),Y(()=>{let e=s.context.popupRef.current;if(!S||!D||!O||!e||m&&!h||s.state.transitionStatus===`ending`)return;if(j.current=!0,e.style.removeProperty(Au),!m){N.request(()=>s.context.handleScrollArrowVisibility(k||e));return}let t=zu(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=ne(O),i=r.getComputedStyle(O),a=r.getComputedStyle(e),o=X(D),c=Fu(D),l=Lu(D.getBoundingClientRect(),c),d=Lu(O.getBoundingClientRect(),c),f=l.height,p=k||e,m=p.scrollHeight,h=parseFloat(a.borderBottomWidth),_=parseFloat(i.marginTop)||10,y=parseFloat(i.marginBottom)||10,b=parseFloat(i.minHeight)||100,x=Nu(a),S=o.documentElement.clientHeight-_-y,C=o.documentElement.clientWidth,w=S-l.bottom+f,T,E=v===`rtl`?l.right-d.width:l.left,j=0;if(t&&n){let e=Lu(n.getBoundingClientRect(),c);T=Lu(t.getBoundingClientRect(),c),E=d.left+(v===`rtl`?e.right-T.right:e.left-T.left);let r=e.top-l.top+e.height/2;j=T.top-d.top+T.height/2-r}let N=w+j+y+h,P=Math.min(S,N),F=S-_-y,I=N-P,L=C-5;O.style.left=`${ga(E,5,L-d.width)}px`,O.style.height=`${P}px`,O.style.maxHeight=`none`,O.style.marginTop=`${_}px`,O.style.marginBottom=`${y}px`,e.style.height=`100%`;let R=Pu(p),z=I>=R-1;z&&(P=Math.min(S,d.height)-(I-R));let B=l.top<20||l.bottom>S-20||Math.ceil(P)+1<Math.min(m,b),V=(r.visualViewport?.scale??1)!==1&&Jt;if(B||V){su(O,M.current),g(!1);return}let H=Math.max(b,P);if(z){let e=Math.max(0,S-N);O.style.top=d.height>=F?`0`:`${e}px`,O.style.height=`${P}px`,p.scrollTop=Pu(p)}else O.style.bottom=`0`,p.scrollTop=I;if(T){let t=d.top,n=d.height,r=T.top+T.height/2,i=ga(n>0?(r-t)/n*100:50,0,100);e.style.setProperty(Au,`50% ${i}%`)}(H===S||P>=x)&&(A.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,S,O,D,m,g,N,k,u,v,h]),Z.useEffect(()=>{if(!m||!O||!S)return;let e=ne(O);function t(e){s.context.setOpen(!1,li(Di,e))}return Wi(e,`resize`,t)},[s,m,O,S]);let I={...k?{role:`presentation`}:{role:`listbox`,"aria-multiselectable":c||void 0,"aria-readonly":l||void 0,id:`${x}-list`},onKeyDown(e){_&&uo.has(e.key)&&e.stopPropagation()},onScroll(e){k||P(e.currentTarget)},...m&&{style:k?{height:`100%`}:cu},className:!k&&m?Du.className:void 0},L=ue(`div`,e,{ref:[t,s.context.popupRef],state:F,stateAttributesMapping:ju,props:[T,I,lu(E),o]});return(0,$.jsxs)(Z.Fragment,{children:[!b&&Du.getElement(y),(0,$.jsx)(js,{context:d,modal:!1,disabled:!w,openInteractionType:C,returnFocus:a,restoreFocus:!0,children:L})]})});function Nu(e){let t=e.maxHeight;return t.endsWith(`px`)&&parseFloat(t)||1/0}function Pu(e){return El(e.scrollHeight,e.clientHeight)}function Fu(e){return Nc.getScale(e)}function Iu(e,t,n){return e/n[t]}function Lu(e,t){return ur({x:Iu(e.x,`x`,t),y:Iu(e.y,`y`,t),width:Iu(e.width,`x`,t),height:Iu(e.height,`y`,t)})}var Ru=[[`transform`,`none`],[`scale`,`1`],[`translate`,`0 0`]];function zu(e){let{style:t}=e,n={};for(let[e,r]of Ru)n[e]=t.getPropertyValue(e),t.setProperty(e,r,`important`);return()=>{for(let[e]of Ru){let r=n[e];r?t.setProperty(e,r):t.removeProperty(e)}}}var Bu=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,o=nl(),s=o.useState(`multiple`),c=o.useState(`readOnly`),{alignItemWithTriggerActive:l}=au(),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:cu},className:u&&d!==`touch`?Du.className:void 0},p=o.useStateSetter(`listElement`);return ue(`div`,e,{ref:[t,p],props:[f,a]})}),Vu=Z.createContext(void 0);function Hu(){let e=Z.useContext(Vu);if(!e)throw Error(Te(57));return e}var Uu=Z.memo(Z.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=Z.useRef(null),d=Ui({guess:!0,label:o,textRef:u}),f=nl(),{props:p,multiple:m,disabled:h,readOnly:g,isItemEqualToValue:_}=f.useState(`itemRoot`),v=h||s,y=f.useState(`isActive`,d.index),b=f.useState(`open`),x=f.useState(`isSelected`,a),S=f.useState(`isSelectedByFocus`,d.index),C=d.index,w=Z.useRef(null);Y(()=>{let e=f.context.valuesRef.current;return e[C]=a,()=>{delete e[C]}},[C,a,f]),Y(()=>{let e=f.state.value,t=f.state.selectedIndex,n=t,r;m&&Array.isArray(e)?(n=dl(C,a,f.context.valuesRef.current,e,_,t),r=n===C,C===t&&!r&&(f.context.selectedItemTextRef.current=null)):(r=e!==void 0&&al(a,e,_),r&&(n=C)),f.set(`selectedIndex`,n),r&&u.current&&(f.context.selectedItemTextRef.current=u.current)},[C,m,_,f,a]);let T=Z.useRef(`mouse`),E=Z.useRef(!1),{getButtonProps:D,buttonRef:O}=pe({disabled:v,focusableWhenDisabled:!0,native:c,composite:!0}),k={disabled:v,selected:x,highlighted:y};function A(e){if(h||g)return;let t=f.state.value;if(m){let n=Array.isArray(t)?t:[],r=x?fl(n,a,_):[...n,a];f.context.setValue(r,li(mi,e))}else f.context.setValue(a,li(mi,e)),f.context.setOpen(!1,li(mi,e))}function j(){f.context.selectionRef.current.dragY=0}let M={role:`option`,"aria-selected":x,tabIndex:b&&y?0:-1,onKeyDown(e){f.set(`activeIndex`,C),e.key===` `&&f.context.typingRef.current&&e.preventDefault()},onClick(e){let t=T.current!==`touch`,n=e.nativeEvent.pointerType,r=t&&Pn(e.nativeEvent)&&(n!==void 0||y),i=t&&!r&&!E.current;E.current=!1,!(v||i)&&A(e.nativeEvent)},onPointerEnter(e){T.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){T.current=e.pointerType,E.current=!0,j()},onMouseUp(){if(j(),v||T.current===`touch`||E.current)return;let e=!f.context.selectionRef.current.allowSelectedMouseUp&&x,t=!f.context.selectionRef.current.allowUnselectedMouseUp&&!x;e||t||(E.current=!0,w.current?.click(),E.current=!1)}},N=ue(`div`,e,{ref:[O,t,d.ref,w],state:k,props:[p,M,l,D]}),P=Z.useMemo(()=>({selected:x,index:C,textRef:u,selectedByFocus:S}),[x,C,u,S]);return(0,$.jsx)(Vu.Provider,{value:P,children:N})})),Wu=Z.memo(Z.forwardRef(function(e,t){let{render:n,className:r,style:i,keepMounted:a,selected:o,...s}=e,c=Z.useRef(null),{transitionStatus:l,setMounted:u}=ai(o),d=ue(`span`,e,{ref:[t,c],state:{selected:o,transitionStatus:l},props:[{"aria-hidden":!0,children:`✔️`},s],stateAttributesMapping:un});return ii({batch:!0,enabled:!o,open:o,ref:c,onComplete(){o||u(!1)}}),d})),Gu=Z.forwardRef(function(e,t){let{selected:n}=Hu();return e.keepMounted||n?(0,$.jsx)(Wu,{...e,selected:n,ref:t}):null}),Ku=Z.memo(Z.forwardRef(function(e,t){let{index:n,textRef:r,selectedByFocus:i}=Hu(),a=nl(),{render:o,className:s,style:c,...l}=e,u=Z.useCallback(e=>{e&&(n===0&&(a.context.firstItemTextRef.current=e),i&&(a.context.selectedItemTextRef.current=e))},[a,n,i]);return ue(`div`,e,{ref:[u,t,r],props:l})})),qu=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,direction:a,keepMounted:o,...s}=e,c=a===`up`,l=nl(),{side:u,scrollDownArrowRef:d,scrollUpArrowRef:f}=au(),p=c?`scrollUpArrowVisible`:`scrollDownArrowVisible`,m=l.useState(p),h=l.useState(`openMethod`),g=m&&h!==`touch`,_=Gr(),v=c?f:d,{mounted:y,transitionStatus:b,setMounted:x}=ai(g);Y(()=>(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||x(!1)}});let S=ue(`div`,e,{ref:[t,v],state:{direction:a,visible:g,side:u,transitionStatus:b},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=El(e.scrollHeight,e.clientHeight),r=Dl(e.scrollTop,n),i=r===(c?0:n),a=l.context.listRef.current;if(r!==e.scrollTop&&(e.scrollTop=r),i)_.clear();else{if(a.length>0){let t=v.current?.offsetHeight||0;e.scrollTop=Ju(a,c,r,e.clientHeight,t,n)}_.start(40,t)}}_.start(40,t)},onMouseLeave(){_.clear()}},s],stateAttributesMapping:un});return y||o?S:null});function Ju(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?Dl(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?Dl(l.offsetTop+l.offsetHeight-r+i,a):a}var Yu=Z.forwardRef(function(e,t){return(0,$.jsx)(qu,{...e,ref:t,direction:`down`})}),Xu=Z.forwardRef(function(e,t){return(0,$.jsx)(qu,{...e,ref:t,direction:`up`})}),Zu=Ol;function Qu({className:e,...t}){return(0,$.jsx)(Ll,{"data-slot":`select-value`,className:J(`flex flex-1 text-left`,e),...t})}function $u({className:e,size:t=`default`,children:n,...r}){return(0,$.jsxs)(Fl,{"data-slot":`select-trigger`,"data-size":t,className:J(`flex w-fit items-center justify-between gap-1.5 rounded-lg border border-input bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...r,children:[n,(0,$.jsx)(Rl,{render:(0,$.jsx)(Ze,{className:`pointer-events-none size-4 text-muted-foreground`})})]})}function ed({className:e,children:t,container:n,side:r=`bottom`,sideOffset:i=4,align:a=`center`,alignOffset:o=0,alignItemWithTrigger:s=!0,...c}){return(0,$.jsx)(zl,{container:n,children:(0,$.jsx)(Tu,{side:r,sideOffset:i,align:a,alignOffset:o,alignItemWithTrigger:s,className:`pointer-events-auto isolate z-50`,children:(0,$.jsxs)(Mu,{"data-slot":`select-content`,"data-align-trigger":s,className:J(`relative isolate z-50 max-h-(--available-height) w-(--anchor-width) min-w-36 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95`,e),...c,children:[(0,$.jsx)(nd,{}),(0,$.jsx)(Bu,{children:t}),(0,$.jsx)(rd,{})]})})})}function td({className:e,children:t,...n}){return(0,$.jsxs)(Uu,{"data-slot":`select-item`,className:J(`relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2`,e),...n,children:[(0,$.jsx)(Ku,{className:`flex flex-1 shrink-0 gap-2 whitespace-nowrap`,children:t}),(0,$.jsx)(Gu,{render:(0,$.jsx)(`span`,{className:`pointer-events-none absolute right-2 flex size-4 items-center justify-center`}),children:(0,$.jsx)(tt,{className:`pointer-events-none`})})]})}function nd({className:e,...t}){return(0,$.jsx)(Xu,{"data-slot":`select-scroll-up-button`,className:J(`top-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4`,e),...t,children:(0,$.jsx)(et,{})})}function rd({className:e,...t}){return(0,$.jsx)(Yu,{"data-slot":`select-scroll-down-button`,className:J(`bottom-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4`,e),...t,children:(0,$.jsx)(Ze,{})})}var id=e=>e[0]?.toUpperCase()+e.slice(1);function ad({entry:e,value:t,onChange:n,container:r,id:i}){if(e.control===`toggle`)return(0,$.jsx)(ra,{id:i,"aria-label":e.label,checked:!!t,onCheckedChange:n});if(e.control===`select`)return(0,$.jsxs)(Zu,{value:String(t),onValueChange:n,children:[(0,$.jsx)($u,{id:i,"aria-label":e.label,size:`sm`,className:`w-40 text-xs`,children:(0,$.jsx)(Qu,{children:id(String(t))})}),(0,$.jsx)(ed,{container:r,children:e.choices?.map(e=>(0,$.jsx)(td,{value:e,children:id(e)},e))})]});if(e.control===`number`)return(0,$.jsxs)(`div`,{className:`flex w-40 items-center gap-3`,children:[(0,$.jsx)(Ao,{id:i,"aria-label":e.label,min:e.min,max:e.max,step:e.step,value:[Number(t)],onValueChange:e=>n(Number(Array.isArray(e)?e[0]:e))}),(0,$.jsx)(`output`,{className:`min-w-8 text-right tabular-nums`,children:e.max===1?`${Math.round(Number(t)*100)}%`:String(t)})]});if(e.control===`tabs`){let r=t;return(0,$.jsx)(`fieldset`,{id:i,"aria-label":e.label,className:`grid w-full grid-cols-2 gap-x-4 gap-y-2`,children:e.choices?.map(e=>(0,$.jsxs)(`label`,{className:`flex items-center gap-2 text-xs`,children:[(0,$.jsx)(ha,{checked:r.includes(e),onCheckedChange:t=>n(t?[...r,e]:r.filter(t=>t!==e))}),e===`weapons`?`Tools`:e===`settings`?`Settings`:id(e)]},e))})}if(e.control===`hint`){let r=t,a=e.key===`requireFocus`?c:l,s=e=>n({...typeof r==`object`?r:{},...e});return(0,$.jsxs)(`fieldset`,{id:i,"aria-label":e.label,className:`w-full space-y-3`,children:[(0,$.jsxs)(`label`,{className:`flex items-center gap-2`,children:[(0,$.jsx)(ra,{checked:r!==!1,onCheckedChange:t=>n(t?e.key===`requireFocus`||{}:!1)}),e.key===`requireFocus`?`Require focus to drive`:`Show after arrival`]}),e.key===`requireFocus`&&r!==!1&&(0,$.jsxs)(`label`,{className:`flex items-center gap-2`,children:[(0,$.jsx)(ra,{checked:typeof r==`object`,onCheckedChange:e=>n(!e||{})}),`Show focus hint`]}),typeof r==`object`&&(0,$.jsxs)(`div`,{className:`grid grid-cols-2 gap-3`,children:[(0,$.jsxs)(`label`,{className:`grid gap-1`,children:[`Text`,(0,$.jsx)(Ai,{value:r.text??a.text,onChange:e=>s({text:e.target.value})})]}),(0,$.jsxs)(`label`,{className:`grid gap-1`,children:[`Delay (ms)`,(0,$.jsx)(Ai,{type:`number`,min:0,value:r.showAfter??a.showAfter,onChange:e=>s({showAfter:Number(e.target.value)})})]}),(0,$.jsxs)(`label`,{className:`grid gap-1`,children:[`Placement`,(0,$.jsx)(`select`,{value:r.placement??a.placement,onChange:e=>s({placement:e.target.value}),children:o.map(e=>(0,$.jsx)(`option`,{children:e},e))})]}),e.key!==`requireFocus`&&(0,$.jsxs)(`label`,{className:`grid gap-1`,children:[`Dismiss on`,(0,$.jsx)(`select`,{value:r.dismiss??a.dismiss,onChange:e=>s({dismiss:e.target.value}),children:u.map(e=>(0,$.jsx)(`option`,{children:e},e))})]})]})]})}return e.control===`color`&&e.default===void 0?(0,$.jsxs)(`div`,{className:`flex w-40 items-center justify-end gap-3`,children:[(0,$.jsx)(ra,{id:i,"aria-label":e.label,checked:typeof t==`string`,onCheckedChange:e=>n(e?`#66e6ff`:void 0)}),typeof t==`string`&&(0,$.jsx)(Ai,{type:`color`,"aria-label":`${e.label} color`,className:`w-20 p-1`,value:t,onChange:e=>n(e.target.value)})]}):(0,$.jsx)(Ai,{id:i,"aria-label":e.label,type:e.control,className:e.control===`color`?`w-20 p-1`:`w-40 text-xs`,value:String(t??(e.control===`color`?`#000000`:``)),onChange:e=>n(e.target.value||void 0)})}var od=Z.createContext(void 0);function sd(){let e=Z.useContext(od);if(e===void 0)throw Error(Te(64));return e}var cd=`data-activation-direction`,ld={tabActivationDirection:e=>({[cd]:e})},ud=Z.forwardRef(function(e,t){let{className:n,defaultValue:r=0,onValueChange:i,orientation:a=`horizontal`,render:o,value:s,style:c,...l}=e,u=e.defaultValue!==void 0,d=Z.useRef([]),[f,p]=Z.useState(()=>new Map),[m,h]=Ni({controlled:s,default:r,name:`Tabs`,state:`value`}),g=s!==void 0,[_,v]=Z.useState(()=>new Map),y=Z.useRef(void 0),b=Z.useCallback(e=>dd(_,e),[_]),[x,S]=Z.useState(()=>({previousValue:m,tabActivationDirection:`none`})),{previousValue:C,tabActivationDirection:w}=x,T=w,E=!1;C!==m&&(T=fd(C,m,a,_),E=C!=null&&m!=null&&b(m)==null);let D=E?C:m,O=C!==D||w!==T;Y(()=>{O&&S({previousValue:D,tabActivationDirection:T})},[D,O,T]);let k=W((e,t)=>{t.activationDirection=fd(m,e,a,_),i?.(e,t),!t.isCanceled&&h(()=>e)}),A=W((e,t)=>{i?.(e,li(t,void 0,void 0,{activationDirection:`none`}))}),j=W((e,t)=>(p(n=>{let r=new Map(n);return r.set(e,t),r}),()=>{p(n=>{if(n.get(e)!==t)return n;let r=new Map(n);return r.delete(e),r})})),M=Z.useCallback(e=>f.get(e),[f]),N=Z.useCallback(e=>{for(let t of _.values())if(e===t.value)return t.id},[_]),P=Z.useMemo(()=>({getTabElementBySelectedValue:b,getTabIdByPanelValue:N,getTabPanelIdByValue:M,onValueChange:k,orientation:a,registerMountedTabPanel:j,setTabMap:v,tabActivationDirection:T,value:m}),[b,N,M,k,a,j,v,T,m]),F=Z.useMemo(()=>{for(let e of _.values())if(e.value===m)return e},[_,m]),I=Z.useMemo(()=>{for(let e of _.values())if(!e.disabled)return e.value},[_]),L=Z.useRef(!u),R=Z.useRef(r),z=Z.useRef(u),B=Z.useRef(!1);Y(()=>{if(g)return;function e(e,t){h(()=>e),S({previousValue:e,tabActivationDirection:`none`}),A(e,t),L.current=!1}if(_.size===0){B.current&&m!==null&&!y.current?.isConnected&&e(null,wi);return}B.current=!0,y.current=_.keys().next().value;let t=F?.disabled,n=F==null&&m!==null;if(!t&&m===R.current&&(z.current=!1),z.current&&t&&m===R.current)return;let r=L.current;if(t||n){let n=I??null;if(m===n){L.current=!1;return}let i=wi;r?i=Ti:t&&(i=Ci),e(n,i)}else r&&F!=null&&(A(m,Ti),L.current=!1)},[I,g,A,F,h,_,m]);let V=ue(`div`,e,{state:{orientation:a,tabActivationDirection:T},ref:t,props:l,stateAttributesMapping:ld});return(0,$.jsx)(od.Provider,{value:P,children:(0,$.jsx)(Ii,{elementsRef:d,children:V})})});function dd(e,t){for(let[n,r]of e.entries())if(t===r.value)return n;return null}function fd(e,t,n,r){if(e==null||t==null)return`none`;let[i,a,o]=n===`horizontal`?[`left`,`left`,`right`]:[`top`,`up`,`down`],s=dd(r,e),c=dd(r,t);if(s==null||c==null)return s!==c&&(typeof e==`number`||typeof e==`string`)&&typeof e==typeof t?t>e?o:a:`none`;let l=s.getBoundingClientRect()[i],u=c.getBoundingClientRect()[i];return u<l?a:u>l?o:`none`}var pd=`data-composite-item-active`;function md(e={}){let{highlightItemOnHover:t,highlightedIndex:n,onHighlightedIndexChange:r}=Ce(),{ref:i,index:a}=Ui(e),o=n===a,s=Z.useRef(null),c=ge(i,s);return{compositeProps:{tabIndex:o?0:-1,onFocus(){r(a)},onMouseMove(){let e=s.current;if(!t||!e)return;let n=e.hasAttribute(`disabled`)||e.ariaDisabled===`true`;!o&&!n&&e.focus()}},compositeRef:c,index:a}}var hd=Z.createContext(void 0);function gd(){let e=Z.useContext(hd);if(e===void 0)throw Error(Te(65));return e}var _d=Z.forwardRef(function(e,t){let{className:n,disabled:r=!1,render:i,value:a,id:o,nativeButton:s=!0,style:c,...l}=e,{value:u,getTabPanelIdByValue:d,onValueChange:f,orientation:p,tabActivationDirection:m}=sd(),{activateOnFocus:h,registerTabResizeObserverElement:g,tabsListElement:_}=gd(),{highlightedIndex:v,onHighlightedIndexChange:y}=Ce(),b=At(o),{compositeProps:x,compositeRef:S,index:C}=md({metadata:Z.useMemo(()=>({disabled:r,id:b,value:a}),[r,b,a])}),w=a===u,T=Z.useRef(!1),E=Z.useRef(null),D=W(e=>{E.current?.(),E.current=e?g(e):null});Y(()=>{if(T.current){T.current=!1;return}if(!(w&&C>-1&&v!==C))return;let e=_;if(e!=null){let t=Zt(X(e));if(t&&Q(e,t))return}r||y(C)},[w,C,v,y,r,_]);let{getButtonProps:O,buttonRef:k}=pe({disabled:r,native:s,focusableWhenDisabled:!0}),A=d(a),j=Z.useRef(!1),M=Z.useRef(!1);function N(e){f(a,li(di,e.nativeEvent,void 0,{activationDirection:`none`}))}function P(e){w||r||N(e)}function F(e){w||r||h&&(!j.current||M.current)&&N(e)}function I(e){if(w||r)return;j.current=!0,M.current=e.button===0;let t=X(e.currentTarget);function n(){j.current=!1,M.current=!1,t.removeEventListener(`pointerup`,n),t.removeEventListener(`pointercancel`,n)}t.addEventListener(`pointerup`,n),t.addEventListener(`pointercancel`,n)}return ue(`button`,e,{state:{disabled:r,active:w,orientation:p,tabActivationDirection:m},ref:[t,k,S,D],props:[x,{role:`tab`,"aria-controls":A,"aria-selected":w,id:b,onClick:P,onFocus:F,onPointerDown:I,[pd]:w?``:void 0,onKeyDownCapture(){T.current=!0}},l,O],stateAttributesMapping:ld})});function vd(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=Se}=e,[p,m]=Z.useState(0),h=r!=null,g=Z.useRef(null),_=ge(g,c),v=Z.useRef([]),y=Z.useRef(!1),b=Z.useRef(null),x=o??p,S=W((e,t=!1)=>{if(b.current=v.current[e]??null,(s??m)(e),t){let t=v.current[e];ho(g.current,t,a,n)}}),C=W(e=>{if(e.size===0)return;if(y.current){let e=v.current,t=e.indexOf(b.current);if(t===-1){let t=e[x];!t||gr(e,x,d)?S(yd(e,d)):b.current=t}else t!==x&&S(t);return}y.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)S(i);else if(gr(t,x,d)){let e=hr(t,{disabledIndices:d});dr(t,e)||S(e)}ho(g.current,r,a,n)});Y(()=>{if(d==null||o!=null||!y.current)return;let e=v.current;if(gr(e,x,d)){let t=hr(e,{disabledIndices:d});dr(e,t)||S(t)}},[d,o,x,v,S]);let w=W((e,t,n)=>i?i(e,t,n,v):n),T=W(e=>{let o=e.key===`Home`||e.key===`End`;if(!uo.has(e.key)||!l&&o||bd(e,f)||!g.current)return;let s=a===`rtl`,c=s?ao:oo,p=s?oo:ao,m=n===`vertical`?io:c,_=n===`vertical`?ro:p,y=$t(e.nativeEvent);if(y!=null&&mo(y)&&!No(y)){let t=y.selectionStart,n=y.selectionEnd,r=y.value;if(t==null||e.shiftKey||t!==n||e.key!==_&&t<r.length||e.key!==m&&t>0)return}let b=x,C=fr(v,d),T=pr(v,d);r!=null&&(b=r({disabledIndices:d,elementsRef:v,event:e,highlightedIndex:x,loopFocus:t,maxIndex:T,minIndex:C,onLoop:w,orientation:n,rtl:s}));let E=n!==`vertical`&&e.key===c||n!==`horizontal`&&e.key===`ArrowDown`,D=n!==`vertical`&&e.key===p||n!==`horizontal`&&e.key===`ArrowUp`;l&&(e.key===`Home`?b=C:e.key===`End`&&(b=T)),b===x&&(E||D)&&(t&&b===T&&E?(b=C,i&&(b=i(e,x,b,v))):t&&b===C&&D?(b=T,i&&(b=i(e,x,b,v))):b=hr(v.current,{startingIndex:b,decrement:D,disabledIndices:d})),b!==x&&!dr(v.current,b)&&(u&&e.stopPropagation(),(h||o||E||D)&&e.preventDefault(),S(b,!0),queueMicrotask(()=>{v.current[b]?.focus()}))});return{props:{ref:_,onFocus(e){let t=g.current,n=$t(e.nativeEvent);t&&n!=null&&mo(n)&&n.setSelectionRange(0,n.value.length)},onKeyDown:T},highlightedIndex:x,onHighlightedIndexChange:S,elementsRef:v,onMapChange:C,relayKeyboardEvent:T}}function yd(e,t){let n=-1;for(let r=0;r<e.length;r+=1){let i=e[r];if(i&&!gr(e,r,t)){if(i.hasAttribute(`data-composite-item-active`))return r;n===-1&&(n=r)}}return Math.max(n,0)}function bd(e,t){for(let n of fo)if(!t.includes(n)&&e.getModifierState(n))return!0;return!1}function xd(e){let{render:t,className:n,style:r,refs:i=Se,props:a=Se,state:o=de,stateAttributesMapping:s,highlightedIndex:c,onHighlightedIndexChange:l,orientation:u,grid:d,loopFocus:f,onLoop:p,enableHomeAndEndKeys:m,onMapChange:h,stopEventPropagation:g=!0,rootRef:_,disabledIndices:v,modifierKeys:y,highlightItemOnHover:b=!1,tag:x=`div`,...S}=e,{props:C,highlightedIndex:w,onHighlightedIndexChange:T,elementsRef:E,onMapChange:D,relayKeyboardEvent:O}=vd({grid:d,loopFocus:f,onLoop:p,orientation:u,highlightedIndex:c,onHighlightedIndexChange:l,rootRef:_,stopEventPropagation:g,enableHomeAndEndKeys:m,direction:Pa(),disabledIndices:v,modifierKeys:y}),k=ue(x,e,{state:o,ref:i,props:[C,...a,S],stateAttributesMapping:s}),A=Z.useMemo(()=>({highlightedIndex:w,onHighlightedIndexChange:T,highlightItemOnHover:b,relayKeyboardEvent:O}),[w,T,b,O]);return(0,$.jsx)(se.Provider,{value:A,children:(0,$.jsx)(Ii,{elementsRef:E,onMapChange:e=>{h?.(e),D(e)},children:k})})}var Sd=Z.forwardRef(function(e,t){let{activateOnFocus:n=!1,className:r,loopFocus:i=!0,render:a,style:o,...s}=e,{orientation:c,setTabMap:l,tabActivationDirection:u}=sd(),[d,f]=Z.useState(0),[p,m]=Z.useState(null),h=Z.useRef(new Set),g=Z.useRef(new Set),_=Z.useRef(null);Y(()=>{if(typeof ResizeObserver>`u`)return;let e=new ResizeObserver(()=>{h.current.forEach(e=>{e()})});return _.current=e,p&&e.observe(p),g.current.forEach(t=>{e.observe(t)}),()=>{e.disconnect(),_.current=null}},[p]);let v=W(e=>(h.current.add(e),()=>{h.current.delete(e)})),y=W(e=>(g.current.add(e),_.current?.observe(e),()=>{g.current.delete(e),_.current?.unobserve(e)})),b={orientation:c,tabActivationDirection:u},x={"aria-orientation":c===`vertical`?`vertical`:void 0,role:`tablist`},S=Z.useMemo(()=>({activateOnFocus:n,registerIndicatorUpdateListener:v,registerTabResizeObserverElement:y,tabsListElement:p}),[n,v,y,p]);return(0,$.jsx)(hd.Provider,{value:S,children:(0,$.jsx)(xd,{render:a,className:r,style:o,state:b,refs:[t,m],props:[x,s],stateAttributesMapping:ld,highlightedIndex:d,enableHomeAndEndKeys:!0,loopFocus:i,orientation:c,onHighlightedIndexChange:f,onMapChange:l,disabledIndices:Se})})});function Cd({className:e,orientation:t=`horizontal`,...n}){return(0,$.jsx)(ud,{"data-slot":`tabs`,"data-orientation":t,className:J(`group/tabs flex gap-2 data-horizontal:flex-col`,e),...n})}var wd=be(`group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-horizontal/tabs:h-8 group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col data-[variant=line]:rounded-none`,{variants:{variant:{default:`bg-muted`,line:`gap-1 bg-transparent`}},defaultVariants:{variant:`default`}});function Td({className:e,variant:t=`default`,...n}){return(0,$.jsx)(Sd,{"data-slot":`tabs-list`,"data-variant":t,className:J(wd({variant:t}),e),...n})}function Ed({className:e,...t}){return(0,$.jsx)(_d,{"data-slot":`tabs-trigger`,className:J(`relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 aria-disabled:pointer-events-none aria-disabled:opacity-50 dark:text-muted-foreground dark:hover:text-foreground group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,`group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent`,`data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground`,`after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-right-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100`,e),...t})}function Dd({className:e,...t}){return(0,$.jsx)(`div`,{"data-slot":`sidebar`,className:J(`flex h-full w-(--pause-sidebar-width) flex-col bg-sidebar text-sidebar-foreground`,e),...t})}function Od({className:e,...t}){return(0,$.jsx)(`div`,{"data-slot":`sidebar-header`,"data-sidebar":`header`,className:J(`flex flex-col gap-2 p-2`,e),...t})}function kd({className:e,...t}){return(0,$.jsx)(`div`,{"data-slot":`sidebar-footer`,"data-sidebar":`footer`,className:J(`flex flex-col gap-2 p-2`,e),...t})}function Ad({className:e,...t}){return(0,$.jsx)(`div`,{"data-slot":`sidebar-content`,"data-sidebar":`content`,className:J(`no-scrollbar flex min-h-0 flex-1 flex-col gap-0 overflow-auto`,e),...t})}function jd({className:e,...t}){return(0,$.jsx)(`div`,{"data-slot":`sidebar-group`,"data-sidebar":`group`,className:J(`relative flex w-full min-w-0 flex-col p-2`,e),...t})}function Md({className:e,...t}){return(0,$.jsx)(`ul`,{"data-slot":`sidebar-menu`,"data-sidebar":`menu`,className:J(`flex w-full min-w-0 flex-col gap-0`,e),...t})}function Nd({className:e,...t}){return(0,$.jsx)(`li`,{"data-slot":`sidebar-menu-item`,"data-sidebar":`menu-item`,className:J(`group/menu-item relative`,e),...t})}function Pd({isActive:e=!1,className:t,...n}){return(0,$.jsx)(`button`,{type:`button`,"data-slot":`sidebar-menu-button`,"data-sidebar":`menu-button`,"data-active":e,className:J(`flex h-8 w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm ring-sidebar-ring outline-hidden hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-active:bg-sidebar-accent data-active:font-medium data-active:text-sidebar-accent-foreground [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate`,t),...n})}var Fd={viewBox:`9 147 389 250`,wordmarkPath:`M88,381L85,384L84,384L83,385L86,385L86,384L87,383L87,382ZM68,375L63,380L62,380L62,381L61,382L60,382L58,384L57,384L56,383L61,378L61,377L63,375L64,375L65,374L67,374ZM67,374L68,373L69,374L68,375ZM27,372L26,372L25,373L24,373L23,374L22,374L20,376L19,376L17,378L16,378L15,379L14,379L13,380L12,380L11,381L12,381L13,380L14,380L16,378L18,378L21,375L22,375L24,373L26,373ZM61,370L62,369L63,370L62,371ZM124,362L123,362L122,363L120,363L119,364L117,364L116,365L115,365L114,366L112,366L111,367L109,367L108,368L106,368L105,369L104,369L107,369L108,368L109,368L110,367L112,367L113,366L115,366L116,365L117,365L118,364L120,364L121,363L123,363ZM120,357L119,356L116,359L115,359L112,362L111,362L109,364L110,364L112,362L113,362L114,361L115,361L116,360L117,360L119,358L120,358ZM130,352L129,352L126,355L125,355L124,354L123,354L123,355L124,356L124,357L128,353L129,353ZM61,341L61,340L62,339L63,339L64,340L62,342ZM269,329L270,330L271,330L270,329ZM262,323L263,322L264,323L263,324ZM41,320L40,320L36,324L36,325L39,328L40,328L42,326L42,325L44,323ZM360,316L359,317L359,320L359,319L360,318ZM53,303L53,305L54,306L54,304ZM65,299L64,299L63,300L62,300L64,300ZM86,298L87,297L88,297L89,298L88,299L87,299ZM394,297L392,297L391,298L388,298L387,299L386,299L385,300L383,300L382,301L380,301L379,302L377,302L376,303L375,303L374,304L372,304L371,305L370,305L369,306L368,306L367,307L365,307L364,308L363,308L362,309L361,309L360,310L358,310L357,311L358,311L359,310L360,310L361,309L363,309L364,308L365,308L366,307L368,307L369,306L371,306L372,305L373,305L374,304L376,304L377,303L378,303L379,302L381,302L382,301L383,301L384,300L387,300L388,299L389,299L390,298L391,298L392,297ZM88,297L89,296L90,296L91,297L90,298L89,298ZM72,296L71,296L70,297L69,297L68,298L67,298L69,298L70,297L71,297ZM161,294L162,295L162,297L161,298L161,299L160,300L160,302L159,303L159,304L158,305L158,306L157,307L157,308L156,309L156,310L155,311L155,312L154,313L154,314L153,315L153,316L152,317L152,318L151,319L151,320L150,321L150,322L149,323L148,323L147,324L145,324L144,325L142,325L141,326L139,326L138,325L138,324L139,323L139,321L140,320L140,319L141,318L141,317L142,316L142,315L143,314L143,313L144,312L144,311L146,309L146,308L147,307L147,306L148,305L148,304L149,303L149,302L150,301L150,300L151,299L151,298L152,297L153,297L154,296L156,296L157,295L159,295L160,294ZM88,289L87,290L85,290L84,291L83,291L82,292L81,292L80,293L78,293L77,294L76,294L75,295L74,295L76,295L77,294L78,294L79,293L80,293L81,292L82,292L83,291L85,291L86,290L87,290ZM77,284L75,286L77,288L78,288L80,286L80,285L79,285L78,284ZM254,282L254,283L253,284L253,285L252,286L252,287L248,291L247,291L246,292L245,292L244,293L243,293L242,294L241,294L240,295L239,295L238,294L238,293L240,291L240,290L241,289L241,288L242,287L242,286L243,285L243,284L244,283L245,283L246,282L249,282L250,281L253,281ZM178,285L177,285L175,283L174,283L173,282L172,282L171,281L169,281L168,282L165,282L164,283L161,283L160,284L158,284L157,285L155,285L154,286L151,286L150,287L149,287L147,289L146,289L144,291L143,291L142,292L141,292L137,296L137,299L136,300L136,301L134,303L134,304L133,305L133,306L131,308L131,309L130,310L130,311L129,312L129,313L128,314L128,315L127,316L127,317L126,318L126,319L125,320L125,321L124,322L124,323L122,325L122,326L121,327L121,328L120,329L120,332L119,333L119,335L121,337L121,338L124,341L125,341L126,342L126,344L129,341L130,341L131,340L134,340L135,339L137,339L138,338L141,338L142,337L144,337L145,336L147,336L148,337L146,339L148,337L149,337L152,334L153,334L154,333L155,333L156,332L157,332L164,325L164,324L165,323L165,322L166,321L166,320L167,319L167,318L168,317L168,315L169,314L169,313L170,312L170,310L171,309L171,307L172,306L172,305L173,304L173,303L174,302L174,301L175,300L175,298L176,297L176,296L177,295L177,294L178,293L178,291L177,290L177,289L178,288ZM224,274L225,273L226,273L227,274L226,275L225,275ZM315,272L316,273L316,274L315,275L315,276L314,277L314,278L313,279L313,280L312,281L312,282L311,283L311,284L310,285L310,286L309,287L309,289L303,295L302,295L300,297L299,297L297,299L296,299L295,300L294,300L293,299L294,298L294,297L295,296L295,295L296,294L296,293L297,292L297,290L298,289L298,288L299,287L299,286L300,285L300,284L301,283L301,282L302,281L302,280L303,279L303,278L304,277L304,276L307,273L310,273L311,272ZM266,271L265,271L263,269L262,270L259,270L258,271L254,271L253,272L249,272L248,273L245,273L244,274L240,274L239,273L239,272L240,271L240,269L241,268L240,269L240,270L239,271L239,272L234,277L232,277L231,278L231,279L229,281L229,282L227,284L228,283L229,283L230,282L231,283L231,285L230,286L230,287L229,288L229,289L228,290L228,291L226,293L226,295L224,297L224,298L223,299L223,300L220,303L219,303L218,304L217,304L216,305L215,305L216,305L218,307L218,310L217,311L217,312L216,313L216,314L215,315L215,316L214,317L214,318L213,319L213,320L212,321L212,322L211,323L211,324L210,325L210,326L209,327L209,328L208,329L208,330L207,331L207,332L204,335L204,336L205,337L205,338L208,335L211,335L214,332L215,332L217,330L218,330L219,331L222,328L225,328L226,327L227,327L224,327L223,326L223,323L224,322L224,321L225,320L225,319L226,318L226,317L227,316L227,315L228,314L228,313L230,311L230,310L232,308L233,309L234,309L237,312L238,312L241,315L242,315L246,319L247,319L249,321L250,321L251,322L253,322L254,323L255,323L257,325L258,324L260,324L261,325L262,325L264,327L265,327L266,328L266,327L263,324L264,323L265,323L266,324L262,320L262,319L258,315L258,314L246,302L246,301L247,300L249,300L251,298L252,298L253,297L254,297L256,295L257,295L261,291L261,290L265,286L265,285L266,284L266,283L267,282L267,281L268,280L268,279L269,278L269,277L270,276L270,275ZM170,266L169,266L168,267L166,267L165,268L164,268L163,269L161,269L160,270L158,270L157,271L155,271L154,272L152,272L151,273L150,273L149,274L147,274L146,275L145,275L144,276L141,276L140,275L139,275L138,276L137,276L136,277L134,277L133,278L131,278L130,279L128,279L127,280L125,280L124,281L123,281L122,282L119,282L116,285L115,285L114,286L112,286L111,287L110,287L109,288L107,288L106,289L104,289L103,290L102,290L101,291L99,291L98,292L97,292L96,293L94,293L93,294L92,294L91,295L90,295L89,296L88,296L87,297L86,297L85,298L84,298L83,299L82,299L83,299L84,298L86,298L87,299L84,302L84,303L82,305L83,305L84,304L85,305L85,306L83,308L82,308L81,309L80,309L78,311L77,311L76,312L75,312L74,313L73,313L72,314L73,313L75,313L76,312L77,312L78,311L79,312L80,312L81,311L83,311L85,309L87,309L88,308L90,308L91,307L92,307L93,306L95,306L96,305L97,305L98,304L99,304L100,303L102,303L103,302L104,302L105,301L107,301L108,300L109,300L110,301L110,302L109,303L109,304L107,306L107,307L106,308L106,309L104,311L104,312L103,313L103,314L102,315L102,316L100,318L100,319L99,320L99,321L97,323L97,324L96,325L96,326L94,328L94,329L93,330L93,331L91,333L91,334L90,335L90,336L89,337L89,338L87,340L87,341L85,343L85,344L82,347L81,347L79,349L78,349L77,350L76,350L75,351L74,351L72,353L71,353L70,354L68,354L67,353L67,351L68,350L68,348L70,346L70,345L71,344L71,343L72,342L72,341L74,339L74,338L75,337L75,335L77,333L77,332L79,330L77,332L76,332L74,334L73,334L71,336L70,336L68,338L67,338L65,340L64,340L63,339L66,336L67,336L69,334L67,336L66,336L64,338L63,338L61,340L60,340L57,343L56,343L52,347L51,347L49,349L48,349L46,351L45,351L43,353L42,353L39,356L38,356L37,355L37,354L35,356L34,356L35,356L36,357L36,358L34,360L33,360L32,361L31,361L29,363L28,363L26,365L25,365L23,367L24,367L26,365L27,365L28,364L29,364L31,362L32,362L34,360L35,360L37,358L38,358L41,355L42,355L44,353L45,353L48,350L49,350L52,347L53,347L54,348L53,349L53,350L51,352L51,353L49,355L49,357L48,358L48,359L47,360L47,361L41,367L41,368L39,370L43,366L45,366L46,367L42,371L41,371L39,373L39,374L36,377L35,377L25,387L24,387L16,395L17,395L18,394L19,394L23,390L24,390L27,387L28,387L30,385L31,385L34,382L35,382L37,380L38,380L39,379L41,379L45,375L46,375L49,372L51,372L52,373L59,373L60,374L60,375L57,378L57,379L54,382L54,383L52,385L52,386L51,387L51,388L49,390L49,391L48,392L48,393L47,394L50,391L51,391L54,388L55,388L64,379L65,379L68,376L68,375L73,370L74,371L74,374L74,373L75,372L75,371L77,369L77,368L79,366L80,366L82,364L85,364L87,362L88,362L90,360L91,360L93,358L94,358L96,356L97,356L99,354L99,353L100,352L100,351L102,349L102,348L103,347L103,346L104,345L104,344L105,343L105,342L106,341L106,340L108,338L108,337L109,336L109,335L110,334L110,333L112,331L114,331L114,330L113,329L113,328L114,327L114,326L115,325L115,324L117,322L117,321L118,320L119,320L120,319L119,318L119,317L120,316L120,315L121,314L121,313L122,312L122,311L124,309L124,308L126,306L126,305L127,304L126,303L127,302L127,301L128,300L128,299L130,297L130,296L131,295L131,294L132,293L132,292L133,291L134,291L135,290L137,290L138,289L139,289L140,288L141,288L144,285L146,285L148,283L149,283L150,282L152,282L153,281L155,281L156,280L157,280L158,279L159,279L160,278L161,278L160,278L159,279L157,279L156,280L154,280L153,279L154,278L155,278L157,276L158,276L160,274L161,274L163,272L164,272L163,272L162,273L160,273L159,272L161,270L162,270L163,269L164,269L165,268L167,268L168,267L169,267ZM291,266L287,270L286,269L286,268L285,269L284,269L283,268L282,269L280,269L279,268L280,267L280,265L281,264L281,262L281,263L280,264L280,265L279,266L279,267L278,268L278,269L277,270L277,271L276,272L276,273L275,274L275,275L274,276L274,277L273,278L273,280L272,281L272,282L271,283L271,284L270,285L270,286L269,287L269,288L268,289L268,290L267,291L267,292L266,293L266,294L265,295L265,296L264,297L264,298L263,299L263,300L262,301L262,302L261,303L261,305L260,306L260,307L259,308L259,310L258,311L259,311L259,310L261,308L262,308L263,309L263,313L264,313L268,309L269,310L269,311L270,310L270,309L271,308L271,307L272,306L272,305L273,304L273,303L274,302L274,301L275,300L275,299L276,298L276,297L277,296L277,295L278,294L278,293L279,292L279,291L280,290L280,288L281,287L281,286L282,285L282,284L283,283L283,282L284,281L284,280L285,279L285,278L286,277L286,276L287,275L287,274L288,273L288,272L290,270L290,269L291,268ZM326,262L325,262L324,261L323,261L322,260L320,260L319,261L317,261L316,262L313,262L312,263L310,263L309,264L306,264L305,265L302,265L301,266L300,266L298,264L299,263L299,262L300,261L298,263L298,264L297,265L297,266L296,267L296,268L295,269L295,270L293,272L293,274L292,275L292,278L291,279L291,280L290,281L290,283L289,284L289,285L288,286L288,287L287,288L287,289L286,290L286,291L285,292L285,293L284,294L284,295L283,296L283,297L282,298L282,299L281,300L281,301L280,302L280,303L279,304L279,305L278,306L278,307L274,311L274,312L273,313L273,314L272,315L273,314L276,314L277,315L277,318L276,319L276,320L275,321L277,319L278,320L278,321L280,319L281,319L282,318L283,318L286,315L287,315L288,314L289,314L291,312L293,312L294,311L295,311L296,310L298,310L299,309L300,309L303,306L304,306L306,304L307,304L310,301L311,301L314,298L314,297L315,296L316,296L318,294L318,293L319,292L319,291L320,290L320,289L321,288L321,287L322,286L322,285L323,284L323,283L324,282L324,281L325,280L325,279L326,278L326,277L327,276L327,275L328,274L328,273L329,272L329,270L330,269L330,266ZM240,259L234,265L233,265L232,266L231,265L231,264L234,261L232,263L231,263L228,266L227,266L226,267L225,267L223,269L222,268L221,269L220,269L218,271L217,271L216,272L215,271L215,270L217,268L215,270L215,271L213,273L213,274L211,276L211,277L209,279L209,280L207,282L207,283L204,286L204,287L201,290L201,291L198,294L197,293L197,291L196,290L196,285L195,284L195,276L194,276L193,275L193,274L191,276L186,276L185,277L184,276L183,276L183,277L182,278L181,278L180,277L180,275L179,274L179,272L179,279L180,280L180,282L181,283L181,287L182,288L182,294L183,295L183,301L184,302L184,305L185,306L185,308L186,309L186,311L185,312L185,313L184,314L184,315L182,317L182,318L181,319L181,320L180,321L180,322L179,323L179,324L177,326L177,327L176,328L176,329L175,330L175,331L174,332L174,333L172,335L172,336L171,337L171,338L170,339L170,340L168,342L168,343L167,344L167,345L166,346L166,347L165,348L165,349L166,348L166,347L168,345L169,345L170,344L171,344L172,343L173,344L173,346L171,348L171,349L170,350L170,351L169,352L169,353L166,356L167,357L167,356L170,353L170,352L171,351L171,350L174,347L174,346L176,344L177,344L181,340L181,339L182,338L183,338L184,339L184,340L183,341L184,340L184,339L186,337L186,336L188,334L188,333L189,332L189,331L190,330L190,329L191,328L191,327L193,325L193,324L194,323L194,322L195,321L195,320L197,318L197,317L198,316L198,315L199,314L199,313L200,312L200,311L202,309L202,308L203,307L203,306L210,299L210,298L214,294L214,293L218,289L218,288L222,284L222,283L225,280L225,279L228,276L228,275L231,272L231,271L234,268L234,267L237,264L237,263L240,260ZM332,249L329,252L330,252L331,251L332,251ZM171,249L171,250L172,250L172,249ZM92,247L92,250L94,252L95,251L96,251L96,247ZM220,248L219,247L219,246L218,245L217,245L216,246L212,246L209,249L209,250L211,252L212,252L213,253L215,253L216,252L217,252L218,251L219,251L220,250ZM396,240L395,241L394,241L393,242L391,242L390,243L389,243L388,244L386,244L385,245L384,245L383,246L380,246L379,247L376,247L375,248L373,248L372,249L371,249L370,250L368,250L367,251L365,251L364,252L363,252L362,253L360,253L359,254L357,254L356,255L354,255L353,256L352,256L351,255L351,254L349,256L348,256L347,257L346,257L345,258L343,258L342,259L340,257L341,256L341,255L342,254L342,252L343,251L342,252L342,253L341,254L341,255L339,257L339,259L337,261L336,261L335,262L334,262L334,263L335,264L335,266L334,267L334,268L335,269L334,270L334,271L333,272L333,273L332,274L332,275L331,276L331,278L330,279L330,280L329,281L329,282L328,283L327,283L326,284L326,286L325,287L324,287L325,288L325,291L324,292L324,293L323,294L323,296L322,297L322,298L321,299L321,300L320,301L320,302L319,303L319,304L318,305L318,306L316,308L315,308L315,311L313,313L313,314L312,315L312,316L314,314L317,314L318,315L318,319L317,320L317,321L315,323L315,324L314,325L314,327L313,328L314,327L314,326L315,325L315,324L316,323L316,322L318,320L318,318L320,316L321,317L321,319L322,320L322,319L328,313L330,313L331,312L332,312L333,311L335,311L336,310L337,310L338,309L340,309L341,308L343,308L344,307L347,307L348,306L349,306L350,305L353,305L354,304L355,304L356,303L357,303L358,302L360,302L361,301L362,301L363,300L364,300L363,300L362,301L360,301L359,300L361,298L362,298L363,297L364,297L368,293L369,293L367,293L366,292L368,290L369,290L370,289L372,289L373,288L374,288L375,287L376,287L374,287L373,288L371,288L370,289L368,289L367,290L364,290L363,291L361,291L360,292L358,292L357,293L355,293L354,294L351,294L350,295L349,295L348,296L346,296L345,297L343,297L342,298L340,298L339,299L337,299L336,300L335,300L334,299L334,298L335,297L335,296L336,295L336,294L337,293L337,291L340,288L342,288L343,287L344,287L345,286L347,286L348,285L350,285L351,284L353,284L354,283L356,283L357,282L358,282L359,281L359,279L360,278L361,278L364,275L363,275L362,274L365,271L367,271L367,270L366,271L364,271L363,272L361,272L360,273L357,273L356,274L354,274L353,275L352,275L351,276L348,276L347,277L345,277L344,276L345,275L345,273L346,272L346,271L347,270L347,269L348,268L349,268L350,267L352,267L353,266L355,266L356,265L357,265L358,264L360,264L361,263L362,263L363,262L365,262L366,261L367,261L368,260L372,260L373,259L374,259L375,258L376,258L377,257L378,257L379,256L381,256L382,255L381,255L380,256L378,256L377,255L379,253L380,253L381,252L382,252L386,248L385,249L383,249L382,248L384,246L385,246L386,245L388,245L389,244L390,244L391,243L392,243L393,242L394,242L395,241L396,241ZM173,237L173,239L174,239L174,238ZM354,232L351,232L348,235L349,235L352,232L353,233L353,234L352,235L354,233ZM148,228L149,229L149,230L148,231L147,231L146,230ZM147,226L145,228L145,230L147,232L149,232L150,231L150,230L151,229L148,226ZM198,223L196,223L195,224L195,225L194,226L194,228L192,230L192,233L191,234L191,236L190,237L190,239L189,240L189,241L188,242L188,243L186,245L186,248L185,249L185,250L184,251L184,253L183,254L183,255L184,254L184,252L186,250L187,251L187,252L187,251L188,250L188,249L189,248L189,244L190,243L190,241L192,239L193,239L194,240L194,243L194,238L195,237L195,236L196,235L196,229L197,228L197,226L198,225ZM276,217L275,218L275,220L276,221L277,220L277,218ZM166,214L166,215L167,216L166,217L165,217L164,216L164,215L163,216L163,221L165,223L168,223L169,222L170,222L171,221L171,219L172,218L171,217L171,216L170,215L169,215L168,214ZM102,201L101,202L101,203L100,204L100,205L99,206L99,209L101,211L101,212L102,213L107,213L108,214L109,214L110,213L110,212L112,210L112,204L109,201ZM199,184L199,185L200,186L200,188L198,190L198,191L197,192L197,197L198,198L198,199L201,202L201,203L200,204L200,210L199,211L199,212L198,213L198,216L197,217L198,216L199,217L200,216L200,213L201,212L201,210L202,209L202,208L203,207L203,206L204,205L204,204L205,203L209,203L210,202L211,202L212,201L212,200L213,199L213,198L214,197L214,196L213,195L214,194L214,192L212,190L212,189L211,188L210,188L209,187L208,187L207,186L203,186L202,187ZM189,171L189,172L190,173L191,173L191,172L190,171ZM165,149L165,150L164,151L164,152L165,153L165,154L169,154L169,150L168,149Z`,crownPath:`M150,261L147,261L146,262L144,262L143,263L141,263L140,264L138,264L137,265L135,265L134,266L132,266L131,267L130,267L129,268L127,268L126,269L124,269L123,270L121,270L120,271L119,271L118,272L116,272L115,273L114,273L113,274L112,274L110,276L111,276L112,277L114,277L115,276L116,276L117,275L119,275L120,274L122,274L123,273L125,273L126,272L128,272L129,271L130,271L131,270L133,270L134,269L136,269L137,268L139,268L140,267L142,267L143,266L145,266L146,265L148,265L149,264L150,264ZM100,254L100,255L103,258L103,259L104,260L104,261L106,263L106,264L107,265L107,266L109,268L109,269L110,270L110,271L111,270L112,270L113,269L113,268L111,266L111,265L110,264L112,262L113,263L114,263L115,264L117,264L119,266L120,266L121,265L122,265L123,264L123,250L124,249L129,254L129,255L134,260L134,261L135,260L137,260L138,259L138,257L139,256L139,255L140,254L140,253L141,252L141,251L142,250L142,249L143,248L145,250L145,258L146,258L147,257L148,257L148,252L147,251L147,241L146,240L146,236L145,237L145,238L143,240L143,241L141,243L141,244L139,246L139,247L138,248L138,249L137,250L137,251L135,253L132,250L132,249L128,245L128,244L125,241L125,240L121,236L121,235L117,231L117,230L116,229L116,240L117,241L117,259L116,260L115,259L112,259L111,258L109,258L108,257L107,257L106,256L104,256L103,255L101,255Z`},Id=Object.freeze({...Fd,path:Fd.wordmarkPath+Fd.crownPath}),Ld=[0,45,105,145,225,265,335,380,475,520,610,650,750,790,890,940,1e3],Rd=[1,0,.6,1,0,.45,0,.9,0,.65,0,1,0,.55,.75,0];function zd(e,t,n){let r=(e^Math.imul(t+1,2654435769)^Math.imul(n,2246822507))>>>0;return r=Math.imul(r^r>>>16,569420461),r=Math.imul(r^r>>>15,1935289751),((r^r>>>15)>>>0)/4294967296}function Bd(e,t=0){if(!Number.isFinite(e)||e<0||e>=1e3)return;let n=Ld.length-1;for(;e<Ld[n];)n--;let r=Rd[n];if(!r)return{x:0,y:0,rotation:0};let i=zd(t,n,1)<.5?-1:1;return{x:Math.round(i*(3+zd(t,n,2)*3)*r),y:Math.round((zd(t,n,3)*4-2)*r),rotation:Math.round((zd(t,n,4)*2-1)*r*4)*Math.PI/720}}function Vd({hovered:e,breakable:t=!1,animateOnEnter:n=!1,...r}){let i=(0,Z.useRef)(null),[a,o]=(0,Z.useState)(!1),[s,c]=(0,Z.useState)(n),l=(e??a)||s;return(0,Z.useEffect)(()=>{if(c(n),!n)return;let e=window.setTimeout(()=>c(!1),1e3);return()=>window.clearTimeout(e)},[n]),(0,Z.useEffect)(()=>{let e=i.current;if(!e||!l)return;let t=window.matchMedia(`(prefers-reduced-motion: reduce)`),n=Math.floor(Math.random()*4294967296),r=performance.now(),a,o=()=>{if(clearTimeout(a),t.matches){e.style.removeProperty(`transform`);return}let i=performance.now()-r,s=i%1e3,c=Bd(s,n+Math.floor(i/1e3));c&&(e.style.transform=`translate(${c.x*.28}px, ${c.y*.28}px) rotate(${c.rotation}rad)`);let l=Ld.find(e=>e>s)??1e3;a=setTimeout(o,Math.max(1,l-s))};return o(),t.addEventListener(`change`,o),()=>{clearTimeout(a),e.style.removeProperty(`transform`),t.removeEventListener(`change`,o)}},[l]),(0,$.jsxs)(`svg`,{...r,ref:i,viewBox:Id.viewBox,role:r.role??`img`,"aria-label":r[`aria-label`]??`Joy Ride`,"data-jr-breakable":t||void 0,"data-jr-combustible":t||void 0,style:{overflow:`visible`,transformOrigin:`center`,...r.style},onPointerEnter:e=>{o(!0),r.onPointerEnter?.(e)},onPointerLeave:e=>{o(!1),r.onPointerLeave?.(e)},children:[(0,$.jsx)(`path`,{d:Id.wordmarkPath,fill:`currentColor`,fillRule:`evenodd`}),(0,$.jsx)(`path`,{d:Id.crownPath,fill:`var(--joy-logo-accent, var(--drive-accent, #d63228))`,fillRule:`evenodd`})]})}function Hd(){return(0,$.jsxs)(ce,{variant:`outline`,size:`default`,className:`w-full justify-center`,nativeButton:!1,render:(0,$.jsx)(`a`,{href:`https://github.com/jakiestfu/joy-ride`,target:`_blank`,rel:`noreferrer`}),children:[(0,$.jsx)(lt,{"aria-hidden":`true`}),`GitHub`]})}var Ud=`.joy-pause-menu{--pause-accent:var(--joy-ride-accent-color,var(--primary));--pause-accent-foreground:var(--joy-ride-accent-foreground,var(--primary-foreground));--joy-logo-accent:var(--pause-accent);--font-sans:var(--jr-dialog-font-family,"Inter Variable", sans-serif);--pause-inset:20px;--text-xs:10px;--text-sm:12px;--text-base:13px;z-index:2;pointer-events:auto;color:var(--foreground);font-family:var(--font-sans);outline:none;font-size:12px;position:fixed}.joy-pause-frame{border:1px solid var(--border);background:var(--background);width:100%;height:100%;display:flex;overflow:hidden;box-shadow:0 24px 80px #0005}.joy-pause-layout{--pause-sidebar-width:160px;align-items:stretch;height:100%;min-height:0}.joy-pause-sidebar{border-right:1px solid var(--sidebar-border);flex-shrink:0}.joy-pause-brand{justify-content:center;align-items:flex-start;min-height:100px;padding:18px 16px 12px}.joy-pause-logo-backing{isolation:isolate;place-items:center;width:138px;height:76px;display:grid;position:relative;left:-8px}.joy-pause-logo-backing:before{content:"";z-index:-1;background:var(--sidebar);pointer-events:none;position:absolute;inset:-8px;-webkit-mask:url(`+new URL(`../embed-assets/logo-backing-DQNUb3C2.svg`,import.meta.url).href+`) 50%/100% 100% no-repeat;mask:url(`+new URL(`../embed-assets/logo-backing-DQNUb3C2.svg`,import.meta.url).href+`) 50%/100% 100% no-repeat}.joy-pause-logo{width:124px;height:76px;display:block;overflow:visible}.joy-pause-sidebar [data-slot=sidebar-menu]{gap:5px}.joy-pause-sidebar [data-slot=sidebar-group]{padding:16px 10px}.joy-pause-sidebar [data-slot=sidebar-menu-button]{min-height:38px;padding-inline:12px;font-weight:550}.joy-pause-sidebar [data-slot=sidebar-menu-button][data-active=true]{font-weight:650}.joy-pause-sidebar-footer{align-items:stretch;padding:10px 12px 14px}.joy-pause-workspace{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.joy-pause-header{padding:18px var(--pause-inset) 16px;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;display:flex}.joy-pause-header[data-documentation]{border-bottom:1px solid var(--border);padding-bottom:18px}.joy-pause-header[data-dragging]{cursor:grabbing}.joy-pause-header:focus-visible{outline:2px solid var(--ring);outline-offset:-3px}.joy-pause-heading{min-width:0}.joy-pause-heading h1{letter-spacing:-.04em;margin:0;font-size:22px;font-weight:650;line-height:1.25}.joy-pause-header-actions{flex:none;align-items:center;gap:8px;display:flex}.joy-pause-documentation-search{align-items:center;gap:8px;width:min(28vw,280px);min-width:0;margin-right:4px;display:flex}@media (width<=800px){.joy-pause-header[data-documentation]{flex-wrap:wrap}.joy-pause-header[data-documentation] .joy-pause-header-actions{width:100%}.joy-pause-documentation-search{flex:1;width:auto}.joy-pause-documentation-search .joy-docs-results{width:min(320px,100vw - 130px);left:0;right:auto}}.joy-pause-content,.joy-pause-body{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.joy-pause-panels{min-width:0}.joy-pause-panels>section{padding:2px var(--pause-inset) 16px}.joy-pause-panels>section>section+section{margin-top:16px}.joy-pause-settings-main>label{grid-template-columns:minmax(110px,.8fr) minmax(0,1fr);align-items:center;gap:20px;font-size:12px;font-weight:500;display:grid}.joy-pause-settings-main>label+label{margin-top:14px}.joy-pause-audio{grid-template-columns:minmax(110px,.8fr) minmax(0,1fr);align-items:center;gap:20px;display:grid}.joy-pause-audio>div{align-items:center;gap:14px;display:flex}.joy-pause-audio [data-slot=slider]{flex:1;min-width:0}.joy-pause-audio output{text-align:right;min-width:3ch;color:var(--muted-foreground);font-size:12px}.joy-pause-tool{border-radius:var(--radius-lg);border:0;padding:8px 0}.joy-pause-vehicle-image{place-items:center;height:160px;display:grid}.joy-pause-vehicle-image img{object-fit:contain;max-width:220px;max-height:140px}.joy-pause-vehicle-image svg{width:180px}.joy-pause-vehicle-name{margin:6px 0;font-size:17px;font-weight:600;line-height:1.4;display:block}.joy-pause-vehicle-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin-top:16px;display:grid}.joy-pause-vehicle-stats>div>span{color:var(--muted-foreground);font-size:11px}.joy-pause-footer{padding:12px var(--pause-inset) 16px;flex-shrink:0;justify-content:flex-end;display:flex}.joy-pause-footer-actions{gap:10px;display:flex}.joy-pause-close-button{background:var(--pause-accent);color:var(--pause-accent-foreground)}.joy-pause-close-button:hover{background:color-mix(in srgb, var(--pause-accent) 82%, var(--foreground));color:var(--pause-accent-foreground)}@media (width<=600px){.joy-pause-menu{--pause-inset:16px}.joy-pause-layout{--pause-sidebar-width:62px}.joy-pause-brand{min-height:86px;padding:16px 5px}.joy-pause-logo-backing{width:52px;height:42px;left:-2px}.joy-pause-logo{width:50px;height:40px}.joy-pause-sidebar [data-slot=sidebar-group]{padding-inline:8px}.joy-pause-sidebar [data-slot=sidebar-menu-button]{justify-content:center;height:40px;padding:8px}.joy-pause-sidebar [data-slot=sidebar-menu-button]>span{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.joy-pause-sidebar-footer{align-items:stretch;gap:10px;padding:12px 6px}.joy-pause-sidebar-footer [data-slot=button]{gap:0;width:100%;padding:0;font-size:0}.joy-pause-header{gap:8px;padding-top:14px;padding-bottom:14px}.joy-pause-heading h1{font-size:21px}.joy-pause-header-actions{gap:4px}.joy-pause-settings-main>label,.joy-pause-audio{grid-template-columns:minmax(0,1fr);gap:8px}.joy-pause-vehicle-image img{max-width:165px}.joy-pause-vehicle-image{height:135px}.joy-pause-vehicle-stats{grid-template-columns:minmax(0,1fr)}}@media (height<=600px){.joy-pause-header{padding-block:16px}.joy-pause-footer{padding-block:12px}.joy-pause-brand{min-height:90px}}`,Wd=`.joy-docs-prose :is(h2,h3,h4){color:var(--foreground);letter-spacing:-.025em;scroll-margin-top:20px;font-weight:600;line-height:1.35}.joy-docs-prose h2{margin:0 0 12px;font-size:24px}.joy-docs-prose h3{border-top:1px solid var(--border);margin:32px 0 12px;padding-top:20px;font-size:16px}.joy-docs-prose h4{margin:24px 0 8px;font-size:13px}.joy-docs-prose :is(h2,h3,h4):focus{outline:none}.joy-docs-prose :is(h2,h3,h4):focus-visible{outline:2px solid var(--ring);outline-offset:4px}.joy-docs-prose p{max-width:74ch;margin:12px 0}.joy-docs-prose :is(ul,ol){max-width:74ch;margin:14px 0;padding-left:22px}.joy-docs-prose ul{list-style:outside}.joy-docs-prose ol{list-style:decimal}.joy-docs-prose li{margin-block:5px}.joy-docs-prose strong{color:var(--foreground);font-weight:600}.joy-docs-prose a{color:var(--foreground);text-underline-offset:3px;text-decoration:underline}.joy-docs-prose a:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.joy-docs-prose a.joy-docs-property-link,.joy-docs-table a{color:inherit;text-decoration:none}.joy-docs-prose a.joy-docs-property-link:hover,.joy-docs-table a:hover{text-decoration:underline}.joy-docs-prose :not(pre)>code{color:var(--foreground);background:var(--muted);border-radius:var(--radius-sm);padding:2px 4px;font-family:ui-monospace,monospace;font-size:.9em}.joy-docs-prose blockquote{border-left:2px solid var(--border);color:var(--muted-foreground);margin:18px 0;padding:4px 16px}.joy-docs-prose [data-slot=code-block]{max-width:100%;margin-block:16px}.joy-docs-table :is(th,td):first-child{white-space:nowrap}.joy-pause-panels[data-documentation]{overflow:clip}.joy-pause-menu[data-documentation] .joy-pause-header{padding-bottom:28px}.joy-pause-menu[data-documentation] .joy-pause-footer{padding-block:8px}@media (width<=800px){.joy-docs-prose h2{font-size:21px}}`,Gd={name:`@joy-ride/ui`,version:`0.29.0`,type:`module`,private:!1,dependencies:{"@base-ui/react":`^1.9.0`,"@joy-ride/browser":`workspace:*`,"@joy-ride/engine":`workspace:*`,"@phosphor-icons/react":`^2.1.10`,"class-variance-authority":`^0.7.1`,cn:`^0.5.0`,"mdast-util-to-string":`^4.0.0`,react:`19.3.1`,"react-dom":`19.3.1`,"react-markdown":`^10.1.0`,"remark-gfm":`^4.0.1`,"remark-parse":`^11.0.0`,shadcn:`^4.23.0`,"sugar-high":`^2.6.4`,"tw-animate-css":`^1.4.0`,unified:`^11.0.5`},exports:{".":{source:`./src/index.ts`,types:`./src/index.ts`,import:`./lib/index.js`,default:`./lib/index.js`},"./embed-core":{source:`./src/embed-core.ts`,types:`./src/embed-core.ts`,import:`./lib/embed-core.js`,default:`./lib/embed-core.js`},"./vehicle-popover":{source:`./src/vehicle-popover.ts`,types:`./src/vehicle-popover.ts`,import:`./lib/vehicle-popover.js`,default:`./lib/vehicle-popover.js`},"./controls":{source:`./src/controls.ts`,types:`./src/controls.ts`,import:`./lib/controls.js`,default:`./lib/controls.js`},"./documentation":{source:`./src/documentation.ts`,types:`./src/documentation.ts`,import:`./lib/documentation.js`,default:`./lib/documentation.js`},"./documentation.css":`./src/components/documentation/Documentation.css`,"./theme":{source:`./src/theme.ts`,types:`./src/theme.ts`,import:`./lib/theme.js`,default:`./lib/theme.js`},"./theme.css":`./src/components/ui/theme.css`,"./brand":{source:`./src/brand.ts`,types:`./src/brand.ts`,import:`./lib/brand.js`,default:`./lib/brand.js`},"./code-block":{source:`./src/components/documentation/CodeBlock.tsx`,types:`./src/components/documentation/CodeBlock.tsx`,import:`./lib/code-block.js`,default:`./lib/code-block.js`},"./vehicle-hint":{source:`./src/components/overlays/VehicleHint.tsx`,types:`./src/components/overlays/VehicleHint.tsx`,import:`./lib/vehicle-hint.js`,default:`./lib/vehicle-hint.js`},"./styles.css":{source:`./src/styles.css`,default:`./lib/styles.css`},"./brand/logo":{source:`./src/brand/logo.ts`,types:`./src/brand/logo.ts`,import:`./lib/brand/logo.js`,default:`./lib/brand/logo.js`}},scripts:{logo:`node scripts/sync-logo.ts`,build:`vite build`,dev:`vite build --watch --emptyOutDir false`},sideEffects:[`**/*.css`],devDependencies:{vite:`8.3.5`}},Kd=14,qd=(e,t,n)=>Math.max(t,Math.min(n,e));function Jd(e,t={width:480,height:560},n={x:0,y:0}){let r=Math.min(Kd,e.width/2,e.height/2),i=Math.min(t.width,Math.max(0,e.width-r*2)),a=Math.min(t.height,Math.max(0,e.height-r*2));return{width:i,height:a,left:qd((e.width-i)/2+n.x,r,e.width-r-i),top:qd((e.height-a)/2+n.y,r,e.height-r-a)}}function Yd({styles:e,theme:t=`auto`,size:r,onEscape:i,onReset:a,shortcutsEnabled:o}){let s=(0,Z.useRef)(e),[c,l]=(0,Z.useState)(null),[u,d]=(0,Z.useState)(()=>({width:window.innerWidth,height:Math.min(window.innerHeight,window.visualViewport?.height??window.innerHeight)})),[f,p]=(0,Z.useState)({x:0,y:0}),[m,h]=(0,Z.useState)(!1),g=(0,Z.useRef)(null),_=(0,Z.useRef)(null);(0,Z.useLayoutEffect)(()=>{let e=document.createElement(`div`);e.dataset.jrUi=``,e.dataset.jrPopoverHost=``,e.style.cssText=`position:fixed;inset:0;z-index:${E(`dialog`)};pointer-events:none`;let n=e.attachShadow({mode:`open`}),r=document.createElement(`style`);r.dataset.jrDialogStyles=``,r.textContent=s.current,n.append(r);let i=M(e,t);return document.body.append(e),l(n),()=>{i(),e.remove()}},[t]),(0,Z.useLayoutEffect)(()=>{let t=c?.querySelector(`style`);t&&(t.textContent=e)},[c,e]),(0,Z.useEffect)(()=>{let e=()=>d({width:window.innerWidth,height:Math.min(window.innerHeight,window.visualViewport?.height??window.innerHeight)});window.addEventListener(`resize`,e),window.visualViewport?.addEventListener(`resize`,e);let t=e=>{e.defaultPrevented||(e.key===`Escape`?(e.preventDefault(),e.stopPropagation(),i()):e.repeat||e.metaKey||e.ctrlKey||e.altKey||n(e)||o&&e.code===`KeyC`&&(e.preventDefault(),e.stopPropagation(),a()))};return document.addEventListener(`keydown`,t),()=>{window.removeEventListener(`resize`,e),window.visualViewport?.removeEventListener(`resize`,e),document.removeEventListener(`keydown`,t)}},[i,a,o]),(0,Z.useEffect)(()=>{if(!c)return;let e=document.activeElement;for(;e?.shadowRoot?.activeElement;)e=e.shadowRoot.activeElement;let t=document.documentElement,n=t.style.overflow,r=t.style.scrollbarGutter;getComputedStyle(t).scrollbarGutter===`auto`&&(t.style.scrollbarGutter=`stable`),t.style.overflow=`hidden`;let i=requestAnimationFrame(()=>g.current?.focus({preventScroll:!0})),a=e=>{if(e.key!==`Tab`||e.ctrlKey||e.metaKey||e.altKey)return;let t=[...c.querySelectorAll(`button,a[href],input,select,textarea,[tabindex]`)].filter(e=>e.tabIndex>=0&&!e.matches(`:disabled,[aria-hidden="true"]`)&&e.getClientRects().length&&getComputedStyle(e).visibility!==`hidden`),n=c.activeElement;for(;n?.shadowRoot?.activeElement;)n=n.shadowRoot.activeElement;t.length?(!n||!c.contains(n)||n===g.current||(e.shiftKey?n===t[0]:n===t.at(-1)))&&(e.preventDefault(),(e.shiftKey?t.at(-1):t[0])?.focus()):(e.preventDefault(),g.current?.focus())};return document.addEventListener(`keydown`,a,!0),()=>{cancelAnimationFrame(i),document.removeEventListener(`keydown`,a,!0),t.style.overflow=n,t.style.scrollbarGutter=r,e instanceof HTMLElement&&e.isConnected&&e.focus({preventScroll:!0})}},[c]);let v=Jd(u,r,f);return{portalRoot:c,dialogRef:g,placement:v,dragging:m,headerProps:{onPointerDown:e=>{e.button!==0||e.target instanceof Element&&e.target.closest(`button,a,input,select,textarea,[role="button"]`)||(e.preventDefault(),_.current={pointer:e.pointerId,x:e.clientX,y:e.clientY,offset:{x:v.left-(u.width-v.width)/2,y:v.top-(u.height-v.height)/2}},e.currentTarget.setPointerCapture(e.pointerId),h(!0))},onPointerMove:e=>{let t=_.current;t&&t.pointer===e.pointerId&&p({x:t.offset.x+e.clientX-t.x,y:t.offset.y+e.clientY-t.y})},onPointerUp:e=>{_.current?.pointer===e.pointerId&&(_.current=null,h(!1),e.currentTarget.hasPointerCapture(e.pointerId)&&e.currentTarget.releasePointerCapture(e.pointerId))},onLostPointerCapture:()=>{_.current=null,h(!1)},onKeyDown:e=>{if(e.target!==e.currentTarget)return;let t=e.shiftKey?20:8,n={ArrowLeft:[-t,0],ArrowRight:[t,0],ArrowUp:[0,-t],ArrowDown:[0,t]};if(e.key!==`Home`&&!n[e.key])return;e.preventDefault(),e.stopPropagation();let[r,i]=n[e.key]??[0,0];p(e.key===`Home`?{x:0,y:0}:{x:v.left-(u.width-v.width)/2+r,y:v.top-(u.height-v.height)/2+i})}}}}var Xd=Z.createContext(void 0);function Zd(){let e=Z.useContext(Xd);if(e===void 0)throw Error(Te(51));return e}var Qd=`data-complete`,$d=`data-indeterminate`,ef=`data-progressing`,tf={status(e){return e===`progressing`?{[ef]:``}:e===`complete`?{[Qd]:``}:e===`indeterminate`?{[$d]:``}:null}},nf=Z.forwardRef(function(e,t){let{format:n,getAriaValueText:r,locale:i,max:a=100,min:o=0,value:s,render:c,className:l,children:u,style:d,...f}=e,[p,m]=Z.useState(),h=`indeterminate`,g=null,_=null,v=``,y=`indeterminate progress`;if(s!=null&&Number.isFinite(s)){let e=no(s,o,a);g=ga(Number.isNaN(e)?0:e,0,100),_=ga(s,o,a),h=_===a?`complete`:`progressing`,v=n?Ma(_,i,n):Ma(g/100,i,{style:`percent`}),y=v}let b=Z.useMemo(()=>({status:h}),[h]),x={"aria-labelledby":p,"aria-valuemax":a,"aria-valuemin":o,"aria-valuenow":_??void 0,"aria-valuetext":r?r(v,s):y,role:`progressbar`,children:(0,$.jsxs)(Z.Fragment,{children:[u,(0,$.jsx)(`span`,{role:`presentation`,style:Ji,children:`x`})]})},S=Z.useMemo(()=>({formattedValue:v,percentageValue:g,setLabelId:m,state:b,value:s}),[v,g,m,b,s]),C=ue(`div`,e,{state:b,ref:t,props:[x,f],stateAttributesMapping:tf});return(0,$.jsx)(Xd.Provider,{value:S,children:C})}),rf=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,{state:o}=Zd();return ue(`div`,e,{state:o,ref:t,props:a,stateAttributesMapping:tf})}),af=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,{percentageValue:o,state:s}=Zd(),c=o==null?{}:{insetInlineStart:0,height:`inherit`,width:`${o}%`};return ue(`div`,e,{state:s,ref:t,props:[{style:c},a],stateAttributesMapping:tf})}),of=Z.forwardRef(function(e,t){let{className:n,render:r,children:i,style:a,...o}=e,{value:s,formattedValue:c,state:l}=Zd(),u=l.status===`indeterminate`;return ue(`span`,e,{state:l,ref:t,props:[{"aria-hidden":!0,children:typeof i==`function`?i(u?`indeterminate`:c,s):u?null:c},o],stateAttributesMapping:tf})}),sf=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,id:a,...o}=e,{setLabelId:s,state:c}=Zd(),l=Vr(a,s);return ue(`span`,e,{state:c,ref:t,props:[{id:l,role:`presentation`},o],stateAttributesMapping:tf})});function cf({className:e,children:t,value:n,...r}){return(0,$.jsxs)(nf,{value:n,"data-slot":`progress`,className:J(`flex flex-wrap gap-3`,e),...r,children:[t,(0,$.jsx)(lf,{children:(0,$.jsx)(uf,{})})]})}function lf({className:e,...t}){return(0,$.jsx)(rf,{className:J(`relative flex h-1 w-full items-center overflow-x-hidden rounded-full bg-muted`,e),"data-slot":`progress-track`,...t})}function uf({className:e,...t}){return(0,$.jsx)(af,{"data-slot":`progress-indicator`,className:J(`h-full bg-primary transition-all`,e),...t})}function df({className:e,...t}){return(0,$.jsx)(sf,{className:J(`text-sm font-medium`,e),"data-slot":`progress-label`,...t})}function ff({className:e,...t}){return(0,$.jsx)(of,{className:J(`ml-auto text-sm text-muted-foreground tabular-nums`,e),"data-slot":`progress-value`,...t})}function pf(e,t){return{throttle:+!!e,steer:0,action:t&&!e,boost:!1}}var mf=Math.max(6.8,...Object.values(v).map(({geometry:e})=>e.lengthM+2.4)),hf=Math.max(4.8,...Object.values(v).map(({geometry:e})=>e.widthM+2.6));function gf(e,t,n){return Math.min(t/(28*Math.max(mf,e.geometry.lengthM+2.4)),n/(28*Math.max(hf,e.geometry.widthM+2.6)))}var _f=class{sim=new a;revSeconds=0;constructor(e){this.reset(e)}reset(e){this.revSeconds=0,this.sim.setMode(`car`),this.sim.setPreset(e),this.sim.barrier=!1,this.sim.body.position={x:0,y:0},this.sim.body.velocity={x:0,y:0},this.sim.body.angle=0,this.sim.body.spin=0}rev(){this.revSeconds=.25}step(e,t,n=!1,r=!0){let a=t===`engine`||this.revSeconds>0,o=pf(a,!1);n&&a&&r&&(this.sim.body.velocity.x+=(24-this.sim.body.velocity.x)*(1-Math.exp(-e*5))),r&&(this.revSeconds=Math.max(0,this.revSeconds-e),this.sim.tick(o,e));let s=i(this.sim.body.velocity);return{controls:o,speedMps:s,active:a||t===`horn`||s>.45}}};function vf(e,t,n=0){if(t===`exhaust`)return w(e).map(({xM:e,yM:t},r)=>({x:e,y:t,selected:r===n}));let r=e.geometry,i,a;return t===`front`||t===`rear`?(i=t===`front`?r.frontAxleXM??r.wheelbaseM/2:r.rearAxleXM??-r.wheelbaseM/2,a=(t===`front`?r.frontTrackWidthM??r.trackWidthM:r.rearTrackWidthM??r.trackWidthM)/2):t===`headlights`||t===`taillights`?{xM:i,yM:a}=_(e)[t]:t===`door`?(i=g(e).xM,a=r.widthM*.43):{xM:i,yM:a}=e.roofRocket,(t===`roof`?[1]:[-1,1]).map(e=>({x:i,y:a*e,selected:!0}))}var yf=[{value:`idle`,label:`Idle`},{value:`boosting`,label:`Boosting`,tool:`boost`},{value:`firing`,label:`Firing`,tool:`machineGun`},{value:`rocket`,label:`Rocket open`,tool:`rocket`}];function bf({preset:e,point:t=null,exhaustIndex:n=0,onPlace:r,availableTools:o,masterVolume:s=1,showVehicleNames:c=!0}){let l=(0,Z.useRef)(null),u=(0,Z.useRef)(null),[d,f]=(0,Z.useState)(()=>typeof document<`u`&&document.documentElement.classList.contains(`dark`));(0,Z.useLayoutEffect)(()=>{let e=l.current?.getRootNode(),t=e instanceof ShadowRoot?e.host:document.documentElement,n=()=>f(t.classList.contains(`dark`));n();let r=new MutationObserver(n);return r.observe(t,{attributes:!0,attributeFilter:[`class`]}),()=>r.disconnect()},[]);let[p,m]=(0,Z.useState)(`idle`),[h,g]=(0,Z.useState)(null),[_,v]=(0,Z.useState)(0),[y,x]=(0,Z.useState)(null),[S,C]=(0,Z.useState)(null),w=(0,Z.useRef)(null),E=(0,Z.useRef)(null),O=e.image?.src??null,k=!!O&&S===O,A=!!O&&y!==O&&!k,j=(0,Z.useRef)(``),M=s>0?s:.65,N=yf.filter(({tool:e})=>!e||o.includes(e)),P=N.some(({value:e})=>e===p)?p:`idle`,F=(0,Z.useRef)({preset:e,point:t,exhaustIndex:n,dark:d,state:p,held:h,masterVolume:s});F.current={preset:e,point:t,exhaustIndex:n,dark:d,state:P,held:h,masterVolume:M};let I=()=>{g(null),u.current?.sound?.setHorn(!1)};(0,Z.useEffect)(()=>{let e=l.current;if(!e)return;let t=new a;t.setMode(`car`),t.setPreset(F.current.preset),t.barrier=!1;let n=new D(`preview`,t),r=new T(e,!1,`high`,!0);r.deadZone=!1,r.cameraSmoothing=0,r.setTireSmokeEnabled(!1),r.setScreenShakeEnabled(!1);let o=new _f(F.current.preset);u.current={renderer:r,vehicle:n,sound:null,audioMotion:o};let s=0,c=0,d=0,f=0,p=a=>{if(s=requestAnimationFrame(p),document.hidden||!e.clientWidth||!e.clientHeight){c=a;return}let l=Math.min(1/30,Math.max(0,(a-(c||a))/1e3));c=a;let m=F.current,h=u.current?.sound,g=m.state===`boosting`||m.held===`engine`,_=pf(g,m.dark);g?m.state===`boosting`&&(t.body.velocity={x:t.body.velocity.x+(24-t.body.velocity.x)*(1-Math.exp(-l*5)),y:0}):t.body.velocity={x:0,y:0},t.tick(_,l,h?.rpm);let y=i(t.body.velocity);a-d>=100&&(v(Math.round(y*2.236936)),d=a),t.body.angle=0,t.body.spin=0;let b=o.step(l,m.held,m.state===`boosting`,h?.rpm!=null);h?.setActive(b.active),h?.setMasterVolume(m.masterVolume),h?.setHorn(m.held===`horn`),h?.update(l,b.controls,b.speedMps),h&&r.queueExhaustPops(h.takeExhaustPops()),t.lastInput={..._,machineGun:m.state===`firing`},n.weapons.rocket.previewOpen=m.state===`rocket`,f+=l,m.state===`boosting`&&f>=.08&&(r.queueExhaustPops([.95]),f=0),r.setSurfaceTone(m.dark?`dark`:`light`);let S=gf(m.preset,e.clientWidth,e.clientHeight);r.setCanvasWorldScale(S,4),r.advanceEffects(n,l,{driven:!1});let T=r.vehicleImageLoadState(m.preset);if(T===`ready`)r.render(n,a),m.preset.image?.src&&w.current!==m.preset.image.src&&(w.current=m.preset.image.src,x(m.preset.image.src));else if(T===`failed`&&m.preset.image?.src){let e=m.preset.image.src;E.current!==e&&(E.current=e,C(e))}if(m.point){let n=e.getContext(`2d`);n.save(),n.setTransform(e.width/e.clientWidth,0,0,e.height/e.clientHeight,0,0);for(let{x:e,y:i,selected:a}of vf(m.preset,m.point,m.exhaustIndex)){let o=r.viewportFromDocument(r.documentPoint(t.body.world({x:e,y:i})));n.beginPath(),n.arc(o.x,o.y,a?7:4,0,Math.PI*2),n.fillStyle=a?`#fff`:`#9ca3af`,n.fill(),n.strokeStyle=`#18181b`,n.lineWidth=2,n.stroke(),n.beginPath(),n.arc(o.x,o.y,a?12:8,0,Math.PI*2),n.strokeStyle=m.dark?`#fff9`:`#18181b88`,n.lineWidth=1,n.stroke()}n.restore()}};s=requestAnimationFrame(p);let m=()=>{g(null),u.current?.sound?.setHorn(!1)},h=()=>{m(),o.reset(F.current.preset),u.current?.sound?.setActive(!1)};return window.addEventListener(`blur`,h),document.addEventListener(`visibilitychange`,h),window.addEventListener(`pointerup`,m),window.addEventListener(`pointercancel`,m),()=>{cancelAnimationFrame(s),window.removeEventListener(`blur`,h),window.removeEventListener(`pointerup`,m),window.removeEventListener(`pointercancel`,m),document.removeEventListener(`visibilitychange`,h),u.current?.sound?.dispose(),r.dispose(),n.dispose(),u.current=null}},[]),(0,Z.useEffect)(()=>{I();let t=u.current;if(!t)return;t.vehicle.setPreset(e),t.audioMotion.reset(e),t.sound?.setActive(!1);let n=JSON.stringify(e.sound);j.current!==n&&(t.sound?.setPreset(e),j.current=n)},[e]);let L=t=>{let n=u.current;n&&(n.sound||=new b(e,{idleSound:!1,masterVolume:M}),t===`engine`&&n.audioMotion.rev(),n.sound.setActive(!0),n.sound.start(),n.sound.setHorn(t===`horn`),g(t))},R=e=>({onPointerDown:t=>{t.button===0&&(t.currentTarget.setPointerCapture(t.pointerId),L(e))},onPointerUp:I,onPointerCancel:I,onLostPointerCapture:I,onBlur:I,onKeyDown:t=>{(t.key===` `||t.key===`Enter`)&&(t.preventDefault(),t.repeat||L(e))},onKeyUp:e=>{(e.key===` `||e.key===`Enter`)&&(e.preventDefault(),I())},"aria-pressed":h===e});return(0,$.jsxs)(`div`,{className:`grid min-w-0 gap-3`,children:[N.length>1&&(0,$.jsx)(Cd,{value:P,onValueChange:e=>{I(),m(e)},children:(0,$.jsx)(Td,{className:`w-full`,"aria-label":`Vehicle preview state`,children:N.map(({value:e,label:t})=>(0,$.jsx)(Ed,{value:e,children:t},e))})}),(0,$.jsxs)(`div`,{className:`relative overflow-hidden rounded-xl border border-border`,style:{colorScheme:d?`dark`:`light`,backgroundColor:d?`#171b1d`:`#fafbfc`},children:[(0,$.jsx)(`canvas`,{ref:l,className:`block h-[220px] w-full max-sm:h-[190px] ${r&&t?`cursor-crosshair`:``}`,style:{visibility:A||k?`hidden`:`visible`},role:`img`,"aria-label":`${c?e.name:`Vehicle`} ${P} preview${t?`; place ${t}`:``}`,onClick:n=>{if(!r||!t||!u.current)return;let i=n.currentTarget.getBoundingClientRect(),a=u.current.renderer,o=a.worldFromDocument(a.documentFromViewport({x:(n.clientX-i.left)/i.width*n.currentTarget.clientWidth,y:(n.clientY-i.top)/i.height*n.currentTarget.clientHeight})),s=e.geometry,c=u.current.vehicle.sim.body,l=o.x-c.position.x,d=o.y-c.position.y,f=t===`exhaust`?.25:0;Math.abs(l)<=s.lengthM/2+f&&Math.abs(d)<=s.widthM/2+f&&r(l,d)}}),A&&(0,$.jsx)(`div`,{className:`absolute inset-0 grid place-items-center`,role:`status`,"aria-label":`Loading vehicle preview`,children:(0,$.jsx)(nt,{className:`h-8 w-8 animate-spin text-muted-foreground`,"aria-hidden":`true`})}),k&&(0,$.jsx)(`div`,{className:`absolute inset-0 grid place-items-center text-xs text-muted-foreground`,role:`status`,children:`Preview unavailable`}),(0,$.jsx)(ce,{variant:`outline`,size:`icon-sm`,className:`absolute right-3 top-3 bg-background text-foreground`,onClick:()=>f(!d),"aria-label":d?`Use light preview surface`:`Use dark preview surface`,children:d?(0,$.jsx)(pt,{}):(0,$.jsx)(dt,{})}),(0,$.jsx)(`span`,{className:`pointer-events-none absolute bottom-3 left-3 text-[10px]`,style:{color:d?`#aaa`:`#737373`},children:d?`Night · lights auto`:`Day · lights auto`}),(P===`boosting`||h===`engine`)&&(0,$.jsxs)(`output`,{"aria-label":`Simulated speed`,className:`pointer-events-none absolute bottom-3 right-3 text-[10px] tabular-nums`,style:{color:d?`#aaa`:`#737373`},children:[_,` mph`]})]}),(0,$.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[(0,$.jsxs)(ce,{variant:`outline`,size:`sm`,className:`touch-none select-none`,...R(`engine`),children:[(0,$.jsx)(ot,{}),` Engine`]}),(0,$.jsxs)(ce,{variant:`outline`,size:`sm`,className:`touch-none select-none`,...R(`horn`),children:[(0,$.jsx)(ye,{}),` Horn`]}),(0,$.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:`Press and hold to listen`})]})]})}function xf({preset:e,presets:t,tools:n,options:r,showVehicleNames:i,onSelectPreset:a}){let[o,s]=(0,Z.useState)(!1),c=(0,Z.useRef)(null);(0,Z.useLayoutEffect)(()=>{if(!o||!c.current)return;let e=c.current.closest(`.joy-pause-panels`);if(!e)return;let t=c.current.getBoundingClientRect(),n=e.getBoundingClientRect();e.scrollTop+=t.top+t.height/2-(n.top+n.height/2)},[o,e.id]);let l=Math.max(0,t.findIndex(t=>t.id===e.id)),u=e=>{let n=t[Math.max(0,Math.min(t.length-1,e))];n&&a(n)};return(0,$.jsxs)(`section`,{className:`joy-pause-vehicle-panel min-h-full text-sm`,children:[(0,$.jsxs)(`div`,{className:`mb-3 flex items-center justify-between gap-3 rounded-xl border border-border bg-muted/40 p-2.5`,children:[(0,$.jsxs)(ce,{variant:`outline`,size:`sm`,onClick:()=>u(l-1),disabled:l===0,"aria-label":`Previous vehicle`,children:[(0,$.jsx)(Qe,{}),` `,(0,$.jsx)(`span`,{className:`hidden min-[601px]:inline`,children:`Previous`})]}),(0,$.jsxs)(`div`,{className:`min-w-0 text-center`,children:[(0,$.jsxs)(`span`,{className:`block whitespace-nowrap text-[10px] font-semibold uppercase tracking-wider text-muted-foreground`,children:[`Vehicle `,l+1,` of `,t.length]}),i&&(0,$.jsx)(`strong`,{className:`block truncate text-sm`,children:e.name})]}),(0,$.jsxs)(`div`,{className:`flex shrink-0 items-center gap-1`,children:[(0,$.jsx)(ce,{variant:`ghost`,size:`icon-sm`,"aria-label":o?`Back to vehicle`:`View all vehicles`,title:o?`Back to vehicle`:`View all vehicles`,"aria-pressed":o,onClick:()=>s(!o),children:(0,$.jsx)(ft,{})}),(0,$.jsxs)(ce,{variant:`outline`,size:`sm`,onClick:()=>u(l+1),disabled:l===t.length-1,"aria-label":`Next vehicle`,children:[`Next `,(0,$.jsx)($e,{})]})]})]}),o?(0,$.jsx)(`div`,{"aria-label":`All vehicles`,className:`space-y-5`,children:p.map(n=>{let r=t.filter(e=>(e.category??`Sports cars`)===n);return r.length?(0,$.jsxs)(`section`,{"aria-label":n,children:[(0,$.jsxs)(`h3`,{className:`mb-2 text-xs font-semibold uppercase tracking-wider text-muted-foreground`,children:[n,` `,(0,$.jsxs)(`span`,{className:`font-normal`,children:[`(`,r.length,`)`]})]}),(0,$.jsx)(`div`,{className:`grid grid-cols-2 gap-3 min-[601px]:grid-cols-4`,children:r.map(n=>{let r=n.id===e.id;return(0,$.jsxs)(`button`,{ref:r?c:void 0,type:`button`,"aria-pressed":r,"aria-label":`Select ${i?n.name:`vehicle ${t.indexOf(n)+1}`}`,onClick:()=>{a(n),s(!1)},className:`relative flex min-w-0 flex-col items-center rounded-xl border p-2 transition-colors focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring ${r?`border-primary bg-primary/10 ring-1 ring-primary`:`border-border bg-muted/20 hover:bg-muted/60`}`,children:[r&&(0,$.jsx)(tt,{"aria-label":`Selected`,className:`absolute top-2 right-2 size-4 text-primary`}),(0,$.jsx)(`div`,{className:`flex h-36 w-full items-center justify-center overflow-hidden`,children:n.image?(0,$.jsx)(`img`,{src:n.image.src,alt:``,className:`w-32 max-w-none rotate-90 object-contain`}):(0,$.jsxs)(`span`,{className:`text-xs text-muted-foreground`,children:[`Vehicle `,t.indexOf(n)+1]})}),i&&(0,$.jsx)(`span`,{className:`min-h-8 w-full text-center text-[11px] leading-4`,children:n.name})]},n.id)})})]},n):null})}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(bf,{preset:e,availableTools:n.map(e=>e.id),masterVolume:r.masterVolume,showVehicleNames:i}),(0,$.jsx)(`div`,{className:`joy-pause-vehicle-stats`,children:O(e,t).map(e=>(0,$.jsxs)(cf,{value:e.value,className:`gap-1.5`,children:[(0,$.jsx)(df,{className:`text-xs text-muted-foreground`,children:e.label}),(0,$.jsx)(ff,{className:`text-xs`})]},e.label))})]})]})}function Sf({options:e,onChange:t,portalRoot:n}){let r=d.filter(e=>e.category===`game`&&e.visitor!==!1);return e.showGameSettings?(0,$.jsxs)(`section`,{"aria-label":`Game settings`,className:`min-h-full space-y-1 px-5 py-3 text-xs`,children:[(0,$.jsx)(`p`,{className:`mb-3 text-muted-foreground`,children:`Adjust visuals, sound, performance, and playground rules.`}),r.map(r=>{let i=r.storage===`lighting`?f(e.lighting)[r.key]:e[r.key],a=n=>t(r.storage===`lighting`?{lighting:{...f(e.lighting),[r.key]:n}}:{[r.key]:n}),o=`settings-${r.key}`;return(0,$.jsxs)(`div`,{className:`flex items-center justify-between gap-5 border-b border-border/60 py-3 last:border-0`,children:[(0,$.jsxs)(`label`,{htmlFor:o,className:`grid min-w-0 gap-1 font-medium`,children:[(0,$.jsx)(`span`,{children:r.label}),r.help&&(0,$.jsx)(`span`,{className:`max-w-60 font-normal text-muted-foreground`,children:r.help})]}),(0,$.jsx)(ad,{entry:r,value:i,onChange:a,id:o,container:n})]},r.key)})]}):null}function Cf(e,t){let n=new Set(e.map(e=>e.id));return r.flatMap(e=>{if(e.id===`boost`&&!n.has(`boost`))return[];if(!e.id.startsWith(`slot`))return[e];let r=t.find(({number:t})=>`slot${t}`===e.id);if(!r)return[];let i=x.find(({id:e})=>e===r.slot.action),a=r.slot.action===`eject`?`Pour ${r.slot.liquid}`:i?.label??`Use tool`;return[{...e,label:a}]})}function wf({tools:e,assignments:t}){return(0,$.jsxs)(`section`,{className:`min-h-full text-sm`,children:[(0,$.jsx)(`div`,{className:`mb-3 text-xs font-semibold text-muted-foreground`,children:`Keyboard shortcuts`}),(0,$.jsx)(`div`,{className:`grid grid-cols-1 gap-x-7 gap-y-1 min-[601px]:grid-cols-2`,children:Cf(e,t).map(e=>(0,$.jsxs)(`div`,{className:`flex min-w-0 items-center justify-between gap-2 border-b border-border/60 py-2`,children:[(0,$.jsx)(`span`,{className:`text-muted-foreground`,children:e.label}),(0,$.jsx)(Mi,{className:`shrink-0`,children:e.keys.map((e,t)=>(0,$.jsxs)(`span`,{className:`inline-flex items-center gap-1`,children:[t>0&&(0,$.jsx)(`span`,{"aria-hidden":`true`,children:`/`}),(0,$.jsx)(ji,{children:e})]},e))})]},e.id))})]})}function Tf({tools:e}){return(0,$.jsxs)(`section`,{className:`min-h-full space-y-3 px-3 py-2.5 text-xs`,children:[(0,$.jsx)(`h2`,{className:`font-mono text-xs font-semibold uppercase`,children:`Tools`}),(0,$.jsx)(`p`,{className:`text-muted-foreground`,children:`Hold a shortcut while driving.`}),(0,$.jsx)(`div`,{className:`grid gap-1.5`,children:e.map(e=>(0,$.jsxs)(`div`,{className:`joy-pause-tool flex items-center gap-2 rounded-sm border border-border px-2 py-1.5`,children:[(0,$.jsx)(Mi,{className:`shrink-0`,children:e.keys.map((e,t)=>(0,$.jsxs)(`span`,{className:`inline-flex items-center gap-1`,children:[t>0&&(0,$.jsx)(`span`,{"aria-hidden":`true`,children:`/`}),(0,$.jsx)(ji,{children:e})]},e))}),(0,$.jsxs)(`div`,{className:`flex min-w-0 flex-1 items-baseline justify-between gap-2`,children:[(0,$.jsx)(`span`,{className:`font-semibold`,children:e.label}),(0,$.jsx)(`span`,{className:`truncate text-muted-foreground`,children:e.description})]})]},e.id))}),!e.length&&(0,$.jsx)(`p`,{className:`text-muted-foreground`,children:`No tools are enabled for this world.`})]})}function Ef({className:e,size:t=`default`,...n}){return(0,$.jsxs)(`div`,{className:J(`group/native-select relative w-fit has-[select:disabled]:opacity-50`,e),"data-slot":`native-select-wrapper`,"data-size":t,children:[(0,$.jsx)(`select`,{"data-slot":`native-select`,"data-size":t,className:`h-8 w-full min-w-0 appearance-none rounded-lg border border-input bg-transparent py-1 pr-8 pl-2.5 text-sm transition-colors outline-none select-none selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-[size=sm]:py-0.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,...n}),(0,$.jsx)(Ze,{className:`pointer-events-none absolute top-1/2 right-2.5 size-4 -translate-y-1/2 text-muted-foreground select-none`,"aria-hidden":`true`,"data-slot":`native-select-icon`})]})}function Df({className:e,...t}){return(0,$.jsx)(`option`,{"data-slot":`native-select-option`,className:J(`bg-[Canvas] text-[CanvasText]`,e),...t})}var Of=Object.freeze([]),kf=()=>Of,Af=()=>()=>{};function jf({objects:e,onReveal:t,onDriveTo:n,onReset:r}){let i=(0,Z.useSyncExternalStore)(e?.subscribe??Af,e?.getSnapshot??kf,kf),[a,o]=(0,Z.useState)(``),[s,c]=(0,Z.useState)(`all`),[l,u]=(0,Z.useState)(``),d=[...new Set([...i.flatMap(e=>e.capabilities),...s===`all`?[]:[s]])].sort(),f=a.trim().toLowerCase(),p=i.filter(e=>(s===`all`||e.capabilities.includes(s))&&[e.name,e.id,e.element,...e.capabilities].join(` `).toLowerCase().includes(f)),m=n=>{e?.getTarget(n.id)?(t(),requestAnimationFrame(()=>e.reveal(n.id))):u(`That object is no longer available.`)},h=t=>{let r=e?.getTarget(t.id);r?n?.(r):u(`That object is no longer available.`)};return(0,$.jsxs)(`section`,{"aria-label":`Scene objects`,className:`min-h-full space-y-4 px-3 py-3 text-xs`,children:[(0,$.jsxs)(`div`,{className:`flex items-start justify-between gap-4`,children:[(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`h2`,{className:`text-sm font-semibold`,children:[i.length,` active `,i.length===1?`object`:`objects`]}),(0,$.jsx)(`p`,{className:`mt-1.5 leading-relaxed text-muted-foreground`,children:`Show highlights an object on the page. Drive to makes a short skid toward it. Reset restores that object; remove leaves the HTML in place.`})]}),(0,$.jsx)(ce,{variant:`ghost`,size:`sm`,className:`shrink-0 text-[11px]`,onClick:()=>{r(),u(`Scene reset.`)},children:`Reset scene`})]}),(0,$.jsxs)(`div`,{className:`flex gap-2`,children:[(0,$.jsx)(Ai,{"aria-label":`Search scene objects`,placeholder:`Find an object…`,value:a,onChange:e=>{o(e.target.value),u(``)},className:`h-8 min-w-0 flex-1 text-xs`}),(0,$.jsxs)(Ef,{"aria-label":`Object type`,size:`sm`,value:s,onChange:e=>{c(e.target.value),u(``)},children:[(0,$.jsx)(Df,{value:`all`,children:`All types`}),d.map(e=>(0,$.jsx)(Df,{value:e,children:e},e))]})]}),(0,$.jsx)(`p`,{role:`status`,"aria-live":`polite`,className:`min-h-4 text-[10px] text-muted-foreground`,children:l||(a||s!==`all`?`${p.length} of ${i.length} objects`:`Live objects from this simulation`)}),p.length?(0,$.jsx)(`ul`,{"aria-label":`Active scene objects`,className:`divide-y divide-border`,children:p.map(t=>(0,$.jsxs)(`li`,{"data-object-id":t.id,className:`flex items-center gap-2 py-3`,children:[(0,$.jsxs)(`div`,{className:`flex min-w-0 flex-1 items-center gap-3`,children:[(0,$.jsx)(`span`,{className:`relative flex size-12 shrink-0 items-center justify-center overflow-hidden rounded-md border bg-muted/40`,style:{backgroundColor:t.preview.image&&!t.preview.image.startsWith(`data:image/svg+xml`)?`#e4e7e9`:t.preview.image?void 0:t.preview.color},children:t.preview.image?(0,$.jsx)(`img`,{src:t.preview.image,alt:``,loading:`lazy`,className:`size-full object-contain p-1`,onError:e=>{e.currentTarget.style.visibility=`hidden`}}):t.preview.text?(0,$.jsx)(`span`,{className:`px-1 text-center text-[9px] font-semibold leading-tight text-foreground [text-shadow:0_0_3px_var(--background)]`,children:t.preview.text}):(0,$.jsx)(at,{size:19,className:`text-muted-foreground`})}),(0,$.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[(0,$.jsx)(`span`,{className:`flex items-center gap-1.5`,children:(0,$.jsx)(`strong`,{className:`truncate text-xs font-semibold`,children:t.name})}),(0,$.jsxs)(`span`,{className:`mt-1 flex flex-wrap gap-x-2 gap-y-1 text-[9px] text-muted-foreground`,title:t.id,children:[(0,$.jsx)(`code`,{children:t.element}),t.state!==`Active`&&(0,$.jsx)(`span`,{children:t.state})]}),(0,$.jsx)(`span`,{className:`mt-1.5 flex flex-wrap gap-1`,children:t.capabilities.map(e=>(0,$.jsx)(`span`,{className:`rounded-sm bg-muted px-1.5 py-0.5 text-[9px] text-muted-foreground`,children:e},e))})]})]}),(0,$.jsxs)(`div`,{className:`flex shrink-0 gap-0.5`,children:[(0,$.jsx)(ce,{variant:`ghost`,size:`icon-sm`,"aria-label":`Show ${t.name} (${t.id})`,title:`Show object`,onClick:()=>m(t),children:(0,$.jsx)(st,{size:15})}),n&&(0,$.jsx)(ce,{variant:`ghost`,size:`icon-sm`,"aria-label":`Drive to ${t.name} (${t.id})`,title:`Drive to object`,onClick:()=>h(t),children:(0,$.jsx)(Xe,{size:15})}),(0,$.jsx)(ce,{variant:`ghost`,size:`icon-sm`,disabled:!t.resettable,"aria-label":`Reset ${t.name} (${t.id})`,title:`Reset object`,onClick:()=>u(e?.reset(t.id)?`Reset ${t.name}.`:`That object is no longer available.`),children:(0,$.jsx)(Je,{size:15})}),(0,$.jsx)(ce,{variant:`ghost`,size:`icon-sm`,"aria-label":`Remove ${t.name} (${t.id}) from simulation`,title:`Remove from simulation`,onClick:()=>u(e?.remove(t.id)?`Removed ${t.name} from the simulation.`:`That object is no longer available.`),children:(0,$.jsx)(mt,{size:15})})]})]},t.id))}):(0,$.jsxs)(`div`,{className:`rounded-lg border border-dashed p-8 text-center leading-relaxed text-muted-foreground`,children:[(0,$.jsx)(at,{size:24,className:`mx-auto mb-3 opacity-50`}),i.length?`No objects match those filters.`:e?`No active objects in this scene yet.`:`Start a playground to inspect its objects here.`]})]})}var Mf=`${P(N)}\n${Ud}\n${Wd}`,Nf=(0,Z.lazy)(()=>y(()=>import(`./Documentation-CCpuHmnH.js`).then(e=>({default:e.Documentation})),[],import.meta.url)),Pf=(0,Z.lazy)(()=>y(()=>import(`./EmbedPanel-CltTMTEZ.js`).then(e=>({default:e.EmbedPanel})),[],import.meta.url));function Ff(e){return[1,3,5].map(t=>parseInt(e.slice(t,t+2),16)/255).reduce((e,t,n)=>e+(t<=.04045?t/12.92:((t+.055)/1.055)**2.4)*[.2126,.7152,.0722][n],0)>.179?`#111111`:`#ffffff`}function If({children:e,...t}){return(0,$.jsx)(`div`,{...t,children:e})}var Lf={vehicle:{title:`Vehicle`,icon:Xe},objects:{title:`Objects`,icon:at},weapons:{title:`Tools`,icon:it},settings:{title:`Settings`,icon:ct},controls:{title:`Controls`,icon:ut},embed:{title:`Embed`,icon:rt},documentation:{title:`Documentation`,icon:Ye}};function Rf({muted:e}){return e?(0,$.jsx)(_e,{"aria-hidden":`true`}):(0,$.jsx)(ye,{"aria-hidden":`true`})}function zf(e){return(0,$.jsx)(Bf,{...e,appearance:m({...e.options,...e})})}function Bf({appearance:e,dialogTheme:t,frame:n,preset:r,slots:i,presets:a,options:o,onSelectPreset:c,onChange:l,onClose:u,onQuit:d,onReset:f,initialTab:p=`vehicle`,embed:m,objects:g,onDriveToObject:_}){let v=n??If,[y,b]=(0,Z.useState)(p),[x,w]=(0,Z.useState)({chapter:``,anchor:``}),[T,D]=(0,Z.useState)(null),[O,k]=(0,Z.useState)(!1),A=(0,Z.useRef)(o.masterVolume||1),j=e.toolsEnabled&&o.toolsEnabled,M=C(i,j),N=M.filter(e=>e.id!==`boost`&&e.keys.length>0),P=S(i,{toolsEnabled:j}),F=e.showGameSettings&&o.showGameSettings,I=e=>l(h({...o,showGameSettings:F},e)),L=s.filter(t=>e.vehicleTabs.includes(t)&&(t!==`settings`||F)&&(t!==`weapons`||N.length>0)&&(t!==`embed`||!!m)),R=L.includes(y)?y:L[0]??`vehicle`,{portalRoot:z,dialogRef:B,placement:V,dragging:H,headerProps:ee}=Yd({styles:Mf,theme:t,size:R===`documentation`?{width:1040,height:720}:{width:760,height:650},onEscape:u,onReset:f,shortcutsEnabled:R!==`documentation`}),te=Math.round(o.masterVolume*100),ne=e.showVehicleNames?r.name:`Vehicle`;(0,Z.useEffect)(()=>{o.masterVolume>0&&(A.current=o.masterVolume)},[o.masterVolume]),(0,Z.useEffect)(()=>b(p),[p]);let U={...V,pointerEvents:`auto`,...e.accentColor?{"--joy-ride-accent-color":e.accentColor,"--joy-ride-accent-foreground":Ff(e.accentColor)}:{},...o.dialogFontFamily?{"--jr-dialog-font-family":o.dialogFontFamily===`inherit`?getComputedStyle(document.body).fontFamily:o.dialogFontFamily}:{}},re=()=>I({masterVolume:o.masterVolume>0?0:A.current});return z?(0,$.jsxs)($.Fragment,{children:[(0,ei.createPortal)((0,$.jsx)(`div`,{"data-jr-ui":``,"aria-hidden":`true`,onClick:e=>{e.stopPropagation(),u()},style:{position:`fixed`,inset:0,zIndex:E(`dialogBackdrop`),pointerEvents:`auto`,background:`#11182766`}}),document.body),(0,ei.createPortal)((0,$.jsx)($.Fragment,{children:(0,$.jsx)(`div`,{ref:B,"data-jr-ui":``,className:`joy-pause-menu`,"data-documentation":R===`documentation`||void 0,role:`dialog`,"aria-label":`Joy Ride pause menu — ${ne}`,"aria-modal":`true`,tabIndex:-1,style:U,onPointerEnter:()=>k(!0),onPointerLeave:()=>k(!1),children:(0,$.jsx)(v,{className:`joy-pause-frame rounded-xl`,children:(0,$.jsxs)(`div`,{className:`joy-pause-layout flex w-full`,children:[(0,$.jsxs)(Dd,{className:`joy-pause-sidebar`,children:[e.showLogo&&(0,$.jsx)(Od,{className:`joy-pause-brand`,children:(0,$.jsx)(`div`,{className:`joy-pause-logo-backing`,children:(0,$.jsx)(Vd,{className:`joy-pause-logo`,hovered:O})})}),(0,$.jsx)(Ad,{children:(0,$.jsx)(jd,{children:(0,$.jsx)(`nav`,{"aria-label":`Vehicle configuration`,children:(0,$.jsx)(Md,{children:L.map(e=>{let t=Lf[e].icon;return(0,$.jsx)(Nd,{children:(0,$.jsxs)(Pd,{isActive:R===e,"aria-current":R===e?`page`:void 0,title:Lf[e].title,onClick:()=>{b(e)},children:[(0,$.jsx)(t,{"aria-hidden":`true`}),(0,$.jsx)(`span`,{children:Lf[e].title})]})},e)})})})})}),(0,$.jsx)(`div`,{className:`joy-pause-version px-4 py-2 font-mono text-[10px] text-muted-foreground ${e.showGithub?`border-b border-sidebar-border`:``}`,children:Gd.version}),e.showGithub&&(0,$.jsx)(kd,{className:`joy-pause-sidebar-footer`,children:(0,$.jsx)(Hd,{})})]}),(0,$.jsxs)(`div`,{className:`joy-pause-workspace`,children:[(0,$.jsxs)(`header`,{className:`joy-pause-header`,"data-unbranded":e.showLogo?void 0:``,"data-documentation":R===`documentation`||void 0,role:`group`,tabIndex:0,"aria-label":`Move pause menu. Drag or use arrow keys; Home centers it.`,"data-dragging":H||void 0,...ee,children:[(0,$.jsx)(`div`,{className:`joy-pause-heading`,children:(0,$.jsx)(`h1`,{children:Lf[R].title})}),(0,$.jsxs)(`div`,{className:`joy-pause-header-actions`,children:[R===`documentation`&&(0,$.jsx)(`div`,{ref:D,className:`joy-pause-documentation-search`}),(0,$.jsx)(ce,{variant:`outline`,size:`icon`,onClick:re,"aria-label":o.masterVolume?`Mute audio`:`Unmute audio`,title:`${o.masterVolume?`Mute`:`Unmute`} audio (${te}%)`,children:(0,$.jsx)(Rf,{muted:!o.masterVolume})}),(0,$.jsx)(ce,{variant:`outline`,size:`icon`,onClick:u,"aria-label":`Close vehicle settings`,children:(0,$.jsx)(xe,{})})]})]}),(0,$.jsxs)(`div`,{className:`joy-pause-content`,children:[(0,$.jsx)(`div`,{className:`joy-pause-body min-h-0 flex-1`,children:(0,$.jsxs)(`div`,{className:`joy-pause-panels min-h-0 flex-1 overflow-auto`,"data-documentation":R===`documentation`||void 0,children:[R===`documentation`&&(0,$.jsx)(Z.Suspense,{fallback:(0,$.jsx)(`p`,{role:`status`,className:`p-5 text-muted-foreground`,children:`Loading API reference…`}),children:(0,$.jsx)(Nf,{location:x,onNavigate:w,searchTarget:T})}),R===`vehicle`&&(0,$.jsx)(xf,{preset:r,presets:a,options:o,tools:M,showVehicleNames:e.showVehicleNames,onSelectPreset:c}),R===`objects`&&(0,$.jsx)(jf,{objects:g,onReveal:u,onDriveTo:_,onReset:f}),R===`settings`&&F&&(0,$.jsx)(Sf,{options:o,onChange:I,portalRoot:z}),R===`controls`&&(0,$.jsx)(wf,{tools:M,assignments:P}),R===`weapons`&&(0,$.jsx)(Tf,{tools:N}),m&&R===`embed`&&(0,$.jsx)(Z.Suspense,{fallback:(0,$.jsx)(`p`,{role:`status`,className:`p-5 text-muted-foreground`,children:`Loading embed options…`}),children:(0,$.jsx)(Pf,{embed:m})})]})}),(0,$.jsx)(`footer`,{className:`joy-pause-footer`,children:(0,$.jsxs)(`div`,{className:`joy-pause-footer-actions`,children:[(0,$.jsx)(ce,{type:`button`,variant:`outline`,onClick:d,children:`Quit`}),(0,$.jsx)(ce,{type:`button`,className:`joy-pause-close-button`,onClick:u,children:`Close`})]})})]})]})]})})})}),z)]}):null}export{on as C,Ze as D,et as E,sn as S,tt as T,zf as VehiclePopover,ii as _,Gi as a,Wr as b,Ii as c,Mi as d,Ai as f,ai as g,li as h,ad as i,Ni as l,fi as m,Td as n,Wi as o,di as p,Ed as r,Ui as s,Cd as t,ji as u,ri as v,At as w,un as x,Xr as y};
|
|
1
|
+
import{r as e,t}from"./rolldown-runtime-XKyaHtl9.js";import{n,r}from"./controls~index~embed-x6xN6BFw.js";import{a as i,t as a}from"./runtime~index~embed~vehicle-popover~browser-session-core~renderer-DKaOSaI2.js";import{c as o,i as s,n as c,r as l,s as u,t as d}from"./configuration~index~embed~bookmarklet~vehicle-popover~EmbedPanel~Documentation~JoyRideView~~n76yhyet-C39ouO-X.js";import{n as f}from"./configuration~index~embed~bookmarklet~vehicle-popover~EmbedPanel~JoyRideView~browser-sessio~iaaa3ndj-DF2q8EGO.js";import{c as p,f as m,g as h,i as g,l as _,u as v}from"./configuration~index~embed~bookmarklet-6dUo7fKK.js";import{_ as y,u as b}from"./runtime~index~embed-Cdk1V9Yq.js";import{i as x,r as S,t as C}from"./vehicle-catalog~index~embed-CkmzFsdm.js";import{r as w,t as T}from"./runtime~vehicle-popover~renderer-CFfqUX4J.js";import{r as E}from"./controls~index~embed~vehicle-popover~JoyRideView~browser-session-core~renderer-Cnf30Q_A.js";import{t as D}from"./runtime~vehicle-popover~browser-session-core-hzAmTyN1.js";import{t as O}from"./runtime~vehicle-popover-B9t-I45z.js";import{n as k,r as A,t as j}from"./react-vendor~index~embed~vehicle-popover~EmbedPanel~Documentation~JoyRideView-DSe2UFlv.js";import{a as M,i as N,o as P}from"./src-v40jgxEo.js";import{A as F,B as I,C as L,D as R,E as z,F as B,H as V,I as H,L as ee,M as te,N as ne,O as U,P as re,R as ie,S as W,T as G,U as ae,V as oe,_ as se,a as ce,b as le,c as ue,d as de,f as K,g as fe,h as pe,i as me,j as q,k as he,m as ge,n as _e,o as J,p as ve,r as ye,s as be,t as xe,u as Se,v as Ce,w as we,x as Y,y as Te,z as Ee}from"./X.es-BZV6GJho.js";function X(e){return e?.ownerDocument||document}var Z=e(A(),1),De=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M228,128a100,100,0,0,1-98.66,100H128a99.39,99.39,0,0,1-68.62-27.29,12,12,0,0,1,16.48-17.45,76,76,0,1,0-1.57-109c-.13.13-.25.25-.39.37L54.89,92H72a12,12,0,0,1,0,24H24a12,12,0,0,1-12-12V56a12,12,0,0,1,24,0V76.72L57.48,57.06A100,100,0,0,1,228,128Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L44.59,96H72a8,8,0,0,1,0,16H24a8,8,0,0,1-8-8V56a8,8,0,0,1,16,0V85.8L60.25,60A96,96,0,0,1,224,128Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L60.63,81.29l17,17A8,8,0,0,1,72,112H24a8,8,0,0,1-8-8V56A8,8,0,0,1,29.66,50.3L49.31,70,60.25,60A96,96,0,0,1,224,128Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M222,128a94,94,0,0,1-92.74,94H128a93.43,93.43,0,0,1-64.5-25.65,6,6,0,1,1,8.24-8.72A82,82,0,1,0,70,70l-.19.19L39.44,98H72a6,6,0,0,1,0,12H24a6,6,0,0,1-6-6V56a6,6,0,0,1,12,0V90.34L61.63,61.4A94,94,0,0,1,222,128Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L44.59,96H72a8,8,0,0,1,0,16H24a8,8,0,0,1-8-8V56a8,8,0,0,1,16,0V85.8L60.25,60A96,96,0,0,1,224,128Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M220,128a92,92,0,0,1-90.77,92H128a91.47,91.47,0,0,1-63.13-25.1,4,4,0,1,1,5.5-5.82A84,84,0,1,0,68.6,68.57l-.13.12L34.3,100H72a4,4,0,0,1,0,8H24a4,4,0,0,1-4-4V56a4,4,0,0,1,8,0V94.89l35-32A92,92,0,0,1,220,128Z`}))]]),Oe=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,44H160a43.86,43.86,0,0,0-32,13.85A43.86,43.86,0,0,0,96,44H24A12,12,0,0,0,12,56V200a12,12,0,0,0,12,12H96a20,20,0,0,1,20,20,12,12,0,0,0,24,0,20,20,0,0,1,20-20h72a12,12,0,0,0,12-12V56A12,12,0,0,0,232,44ZM96,188H36V68H96a20,20,0,0,1,20,20V192.81A43.79,43.79,0,0,0,96,188Zm124,0H160a43.71,43.71,0,0,0-20,4.83V88a20,20,0,0,1,20-20h60ZM164,96h32a12,12,0,0,1,0,24H164a12,12,0,0,1,0-24Zm44,52a12,12,0,0,1-12,12H164a12,12,0,0,1,0-24h32A12,12,0,0,1,208,148Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,56V200H160a32,32,0,0,0-32,32V88a32,32,0,0,1,32-32Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64ZM160,88h40a8,8,0,0,1,0,16H160a8,8,0,0,1,0-16Zm48,40a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,128Zm0,32a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,160Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,48H168a32,32,0,0,0-32,32v87.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V80A32,32,0,0,0,88,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,23.94,7.9,7.9,0,0,0,5.12,7.55A8,8,0,0,0,136,232a24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM208,168H168.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h39.73a8.17,8.17,0,0,1,8.25,7.47A8,8,0,0,1,208,168Zm0-32H168.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h39.73a8.17,8.17,0,0,1,8.25,7.47A8,8,0,0,1,208,136Zm0-32H168.27A8.17,8.17,0,0,1,160,96.53,8,8,0,0,1,168,88h39.73A8.17,8.17,0,0,1,216,95.47,8,8,0,0,1,208,104Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,50H160a38,38,0,0,0-32,17.55A38,38,0,0,0,96,50H24a6,6,0,0,0-6,6V200a6,6,0,0,0,6,6H96a26,26,0,0,1,26,26,6,6,0,0,0,12,0,26,26,0,0,1,26-26h72a6,6,0,0,0,6-6V56A6,6,0,0,0,232,50ZM96,194H30V62H96a26,26,0,0,1,26,26V204.31A37.86,37.86,0,0,0,96,194Zm130,0H160a37.87,37.87,0,0,0-26,10.32V88a26,26,0,0,1,26-26h66ZM160,90h40a6,6,0,0,1,0,12H160a6,6,0,0,1,0-12Zm46,38a6,6,0,0,1-6,6H160a6,6,0,0,1,0-12h40A6,6,0,0,1,206,128Zm0,32a6,6,0,0,1-6,6H160a6,6,0,0,1,0-12h40A6,6,0,0,1,206,160Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64ZM160,88h40a8,8,0,0,1,0,16H160a8,8,0,0,1,0-16Zm48,40a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,128Zm0,32a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,160Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,52H160a36,36,0,0,0-32,19.54A36,36,0,0,0,96,52H24a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H96a28,28,0,0,1,28,28,4,4,0,0,0,8,0,28,28,0,0,1,28-28h72a4,4,0,0,0,4-4V56A4,4,0,0,0,232,52ZM96,196H28V60H96a28,28,0,0,1,28,28V209.4A35.94,35.94,0,0,0,96,196Zm132,0H160a35.94,35.94,0,0,0-28,13.41V88a28,28,0,0,1,28-28h68ZM160,92h40a4,4,0,0,1,0,8H160a4,4,0,0,1,0-8Zm44,36a4,4,0,0,1-4,4H160a4,4,0,0,1,0-8h40A4,4,0,0,1,204,128Zm0,32a4,4,0,0,1-4,4H160a4,4,0,0,1,0-8h40A4,4,0,0,1,204,160Z`}))]]),ke=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M236,108H213L170.83,65.86A19.86,19.86,0,0,0,156.69,60H48.28a20,20,0,0,0-16.64,8.91L2,113.34A12,12,0,0,0,0,120v48a20,20,0,0,0,20,20H33.5a34,34,0,0,0,65,0h59a34,34,0,0,0,65,0H236a20,20,0,0,0,20-20V128A20,20,0,0,0,236,108ZM50.42,84H155l24,24H34.42ZM66,188a10,10,0,1,1,10-10A10,10,0,0,1,66,188Zm124,0a10,10,0,1,1,10-10A10,10,0,0,1,190,188Zm42-24H221A34,34,0,0,0,159,164H97A34,34,0,0,0,35,164H24V132H232Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M88,176a24,24,0,1,1-24-24A24,24,0,0,1,88,176Zm104-24a24,24,0,1,0,24,24A24,24,0,0,0,192,152ZM162.34,74.34A8,8,0,0,0,156.69,72H44.28a8,8,0,0,0-6.66,3.56L8,120H208Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M240,112H211.31L168,68.69A15.86,15.86,0,0,0,156.69,64H44.28A16,16,0,0,0,31,71.12L1.34,115.56A8.07,8.07,0,0,0,0,120v48a16,16,0,0,0,16,16H33a32,32,0,0,0,62,0h66a32,32,0,0,0,62,0h17a16,16,0,0,0,16-16V128A16,16,0,0,0,240,112ZM44.28,80H156.69l32,32H23ZM64,192a16,16,0,1,1,16-16A16,16,0,0,1,64,192Zm128,0a16,16,0,1,1,16-16A16,16,0,0,1,192,192Zm48-24H223a32,32,0,0,0-62,0H95a32,32,0,0,0-62,0H16V128H240Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M240,112H211.31L168,68.69A15.86,15.86,0,0,0,156.69,64H44.28A16,16,0,0,0,31,71.12L1.34,115.56A8.07,8.07,0,0,0,0,120v48a16,16,0,0,0,16,16H33a32,32,0,0,0,62,0h66a32,32,0,0,0,62,0h17a16,16,0,0,0,16-16V128A16,16,0,0,0,240,112ZM44.28,80H156.69l32,32H23ZM64,192a16,16,0,1,1,16-16A16,16,0,0,1,64,192Zm128,0a16,16,0,1,1,16-16A16,16,0,0,1,192,192Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M240,114H210.49l-43.9-43.9a13.94,13.94,0,0,0-9.9-4.1H44.28a14,14,0,0,0-11.65,6.23L3,116.67A6,6,0,0,0,2,120v48a14,14,0,0,0,14,14H34.6a30,30,0,0,0,58.8,0h69.2a30,30,0,0,0,58.8,0H240a14,14,0,0,0,14-14V128A14,14,0,0,0,240,114ZM42.62,78.89A2,2,0,0,1,44.28,78H156.69a2,2,0,0,1,1.41.59L193.52,114H19.21ZM64,194a18,18,0,1,1,18-18A18,18,0,0,1,64,194Zm128,0a18,18,0,1,1,18-18A18,18,0,0,1,192,194Zm50-26a2,2,0,0,1-2,2H221.4a30,30,0,0,0-58.8,0H93.4a30,30,0,0,0-58.8,0H16a2,2,0,0,1-2-2V126H240a2,2,0,0,1,2,2Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M240,112H211.31L168,68.69A15.86,15.86,0,0,0,156.69,64H44.28A16,16,0,0,0,31,71.12L1.34,115.56A8.07,8.07,0,0,0,0,120v48a16,16,0,0,0,16,16H33a32,32,0,0,0,62,0h66a32,32,0,0,0,62,0h17a16,16,0,0,0,16-16V128A16,16,0,0,0,240,112ZM44.28,80H156.69l32,32H23ZM64,192a16,16,0,1,1,16-16A16,16,0,0,1,64,192Zm128,0a16,16,0,1,1,16-16A16,16,0,0,1,192,192Zm48-24H223a32,32,0,0,0-62,0H95a32,32,0,0,0-62,0H16V128H240Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M240,116H209.66L165.17,71.52A11.9,11.9,0,0,0,156.69,68H44.28a12,12,0,0,0-10,5.34L4.67,117.78A4,4,0,0,0,4,120v48a12,12,0,0,0,12,12H36.29a28,28,0,0,0,55.42,0h72.58a28,28,0,0,0,55.42,0H240a12,12,0,0,0,12-12V128A12,12,0,0,0,240,116ZM41,77.78A4,4,0,0,1,44.28,76H156.69a4,4,0,0,1,2.82,1.17L198.34,116H15.47ZM64,196a20,20,0,1,1,20-20A20,20,0,0,1,64,196Zm128,0a20,20,0,1,1,20-20A20,20,0,0,1,192,196Zm52-28a4,4,0,0,1-4,4H219.71a28,28,0,0,0-55.42,0H91.71a28,28,0,0,0-55.42,0H16a4,4,0,0,1-4-4V124H240a4,4,0,0,1,4,4Z`}))]]),Ae=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M208,96l-80,80L48,96Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z`}))]]),je=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M160,48V208L80,128Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z`}))]]),Me=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M176,128,96,208V48Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z`}))]]),Ne=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M216.49,168.49a12,12,0,0,1-17,0L128,97,56.49,168.49a12,12,0,0,1-17-17l80-80a12,12,0,0,1,17,0l80,80A12,12,0,0,1,216.49,168.49Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M208,160H48l80-80Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M213.66,154.34l-80-80a8,8,0,0,0-11.32,0l-80,80A8,8,0,0,0,48,168H208a8,8,0,0,0,5.66-13.66ZM67.31,152,128,91.31,188.69,152Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M215.39,163.06A8,8,0,0,1,208,168H48a8,8,0,0,1-5.66-13.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,215.39,163.06Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M212.24,164.24a6,6,0,0,1-8.48,0L128,88.49,52.24,164.24a6,6,0,0,1-8.48-8.48l80-80a6,6,0,0,1,8.48,0l80,80A6,6,0,0,1,212.24,164.24Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M213.66,165.66a8,8,0,0,1-11.32,0L128,91.31,53.66,165.66a8,8,0,0,1-11.32-11.32l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,213.66,165.66Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M210.83,162.83a4,4,0,0,1-5.66,0L128,85.66,50.83,162.83a4,4,0,0,1-5.66-5.66l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,210.83,162.83Z`}))]]),Pe=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z`}))]]),Fe=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M236,128a108,108,0,0,1-216,0c0-42.52,24.73-81.34,63-98.9A12,12,0,1,1,93,50.91C63.24,64.57,44,94.83,44,128a84,84,0,0,0,168,0c0-33.17-19.24-63.43-49-77.09A12,12,0,1,1,173,29.1C211.27,46.66,236,85.48,236,128Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,176A72,72,0,0,1,92,65.64a8,8,0,0,1,8,13.85,56,56,0,1,0,56,0,8,8,0,0,1,8-13.85A72,72,0,0,1,128,200Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M230,128a102,102,0,0,1-204,0c0-40.18,23.35-76.86,59.5-93.45a6,6,0,0,1,5,10.9C58.61,60.09,38,92.49,38,128a90,90,0,0,0,180,0c0-35.51-20.61-67.91-52.5-82.55a6,6,0,0,1,5-10.9C206.65,51.14,230,87.82,230,128Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M228,128a100,100,0,0,1-200,0c0-39.4,22.9-75.37,58.33-91.63a4,4,0,1,1,3.34,7.27C57.07,58.6,36,91.71,36,128a92,92,0,0,0,184,0c0-36.29-21.07-69.4-53.67-84.36a4,4,0,1,1,3.34-7.27C205.1,52.63,228,88.6,228,128Z`}))]]),Ie=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M71.68,97.22,34.74,128l36.94,30.78a12,12,0,1,1-15.36,18.44l-48-40a12,12,0,0,1,0-18.44l48-40A12,12,0,0,1,71.68,97.22Zm176,21.56-48-40a12,12,0,1,0-15.36,18.44L221.26,128l-36.94,30.78a12,12,0,1,0,15.36,18.44l48-40a12,12,0,0,0,0-18.44ZM164.1,28.72a12,12,0,0,0-15.38,7.18l-64,176a12,12,0,0,0,7.18,15.37A11.79,11.79,0,0,0,96,228a12,12,0,0,0,11.28-7.9l64-176A12,12,0,0,0,164.1,28.72Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M240,128l-48,40H64L16,128,64,88H192Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M69.12,94.15,28.5,128l40.62,33.85a8,8,0,1,1-10.24,12.29l-48-40a8,8,0,0,1,0-12.29l48-40a8,8,0,0,1,10.24,12.3Zm176,27.7-48-40a8,8,0,1,0-10.24,12.3L227.5,128l-40.62,33.85a8,8,0,1,0,10.24,12.29l48-40a8,8,0,0,0,0-12.29ZM162.73,32.48a8,8,0,0,0-10.25,4.79l-64,176a8,8,0,0,0,4.79,10.26A8.14,8.14,0,0,0,96,224a8,8,0,0,0,7.52-5.27l64-176A8,8,0,0,0,162.73,32.48Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM92.8,145.6a8,8,0,1,1-9.6,12.8l-32-24a8,8,0,0,1,0-12.8l32-24a8,8,0,0,1,9.6,12.8L69.33,128Zm58.89-71.4-32,112a8,8,0,1,1-15.38-4.4l32-112a8,8,0,0,1,15.38,4.4Zm53.11,60.2-32,24a8,8,0,0,1-9.6-12.8L186.67,128,163.2,110.4a8,8,0,1,1,9.6-12.8l32,24a8,8,0,0,1,0,12.8Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M67.84,92.61,25.37,128l42.47,35.39a6,6,0,1,1-7.68,9.22l-48-40a6,6,0,0,1,0-9.22l48-40a6,6,0,0,1,7.68,9.22Zm176,30.78-48-40a6,6,0,1,0-7.68,9.22L230.63,128l-42.47,35.39a6,6,0,1,0,7.68,9.22l48-40a6,6,0,0,0,0-9.22Zm-81.79-89A6,6,0,0,0,154.36,38l-64,176A6,6,0,0,0,94,221.64a6.15,6.15,0,0,0,2,.36,6,6,0,0,0,5.64-3.95l64-176A6,6,0,0,0,162.05,34.36Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M69.12,94.15,28.5,128l40.62,33.85a8,8,0,1,1-10.24,12.29l-48-40a8,8,0,0,1,0-12.29l48-40a8,8,0,0,1,10.24,12.3Zm176,27.7-48-40a8,8,0,1,0-10.24,12.3L227.5,128l-40.62,33.85a8,8,0,1,0,10.24,12.29l48-40a8,8,0,0,0,0-12.29ZM162.73,32.48a8,8,0,0,0-10.25,4.79l-64,176a8,8,0,0,0,4.79,10.26A8.14,8.14,0,0,0,96,224a8,8,0,0,0,7.52-5.27l64-176A8,8,0,0,0,162.73,32.48Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M66.56,91.07,22.25,128l44.31,36.93A4,4,0,0,1,64,172a3.94,3.94,0,0,1-2.56-.93l-48-40a4,4,0,0,1,0-6.14l48-40a4,4,0,0,1,5.12,6.14Zm176,33.86-48-40a4,4,0,1,0-5.12,6.14L233.75,128l-44.31,36.93a4,4,0,1,0,5.12,6.14l48-40a4,4,0,0,0,0-6.14ZM161.37,36.24a4,4,0,0,0-5.13,2.39l-64,176a4,4,0,0,0,2.39,5.13A4.12,4.12,0,0,0,96,220a4,4,0,0,0,3.76-2.63l64-176A4,4,0,0,0,161.37,36.24Z`}))]]),Le=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,116h-4.72A100.21,100.21,0,0,0,140,28.72V24a12,12,0,0,0-24,0v4.72A100.21,100.21,0,0,0,28.72,116H24a12,12,0,0,0,0,24h4.72A100.21,100.21,0,0,0,116,227.28V232a12,12,0,0,0,24,0v-4.72A100.21,100.21,0,0,0,227.28,140H232a12,12,0,0,0,0-24Zm-92,87v-3a12,12,0,0,0-24,0v3a76.15,76.15,0,0,1-63-63h3a12,12,0,0,0,0-24H53a76.15,76.15,0,0,1,63-63v3a12,12,0,0,0,24,0V53a76.15,76.15,0,0,1,63,63h-3a12,12,0,0,0,0,24h3A76.15,76.15,0,0,1,140,203ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M160,128a32,32,0,1,1-32-32A32,32,0,0,1,160,128Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M232,120h-8.34A96.14,96.14,0,0,0,136,32.34V24a8,8,0,0,0-16,0v8.34A96.14,96.14,0,0,0,32.34,120H24a8,8,0,0,0,0,16h8.34A96.14,96.14,0,0,0,120,223.66V232a8,8,0,0,0,16,0v-8.34A96.14,96.14,0,0,0,223.66,136H232a8,8,0,0,0,0-16Zm-96,87.6V200a8,8,0,0,0-16,0v7.6A80.15,80.15,0,0,1,48.4,136H56a8,8,0,0,0,0-16H48.4A80.15,80.15,0,0,1,120,48.4V56a8,8,0,0,0,16,0V48.4A80.15,80.15,0,0,1,207.6,120H200a8,8,0,0,0,0,16h7.6A80.15,80.15,0,0,1,136,207.6ZM128,88a40,40,0,1,0,40,40A40,40,0,0,0,128,88Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,128,152Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,120h-8.34A96.14,96.14,0,0,0,136,32.34V24a8,8,0,0,0-16,0v8.34A96.14,96.14,0,0,0,32.34,120H24a8,8,0,0,0,0,16h8.34A96.14,96.14,0,0,0,120,223.66V232a8,8,0,0,0,16,0v-8.34A96.14,96.14,0,0,0,223.66,136H232a8,8,0,0,0,0-16Zm-32,16h7.6A80.15,80.15,0,0,1,136,207.6V200a8,8,0,0,0-16,0v7.6A80.15,80.15,0,0,1,48.4,136H56a8,8,0,0,0,0-16H48.4A80.15,80.15,0,0,1,120,48.4V56a8,8,0,0,0,16,0V48.4A80.15,80.15,0,0,1,207.6,120H200a8,8,0,0,0,0,16Zm-32-8a40,40,0,1,1-40-40A40,40,0,0,1,168,128Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,122H221.8A94.13,94.13,0,0,0,134,34.2V24a6,6,0,0,0-12,0V34.2A94.13,94.13,0,0,0,34.2,122H24a6,6,0,0,0,0,12H34.2A94.13,94.13,0,0,0,122,221.8V232a6,6,0,0,0,12,0V221.8A94.13,94.13,0,0,0,221.8,134H232a6,6,0,0,0,0-12Zm-98,87.76V200a6,6,0,0,0-12,0v9.76A82.09,82.09,0,0,1,46.24,134H56a6,6,0,0,0,0-12H46.24A82.09,82.09,0,0,1,122,46.24V56a6,6,0,0,0,12,0V46.24A82.09,82.09,0,0,1,209.76,122H200a6,6,0,0,0,0,12h9.76A82.09,82.09,0,0,1,134,209.76ZM128,90a38,38,0,1,0,38,38A38,38,0,0,0,128,90Zm0,64a26,26,0,1,1,26-26A26,26,0,0,1,128,154Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,120h-8.34A96.14,96.14,0,0,0,136,32.34V24a8,8,0,0,0-16,0v8.34A96.14,96.14,0,0,0,32.34,120H24a8,8,0,0,0,0,16h8.34A96.14,96.14,0,0,0,120,223.66V232a8,8,0,0,0,16,0v-8.34A96.14,96.14,0,0,0,223.66,136H232a8,8,0,0,0,0-16Zm-96,87.6V200a8,8,0,0,0-16,0v7.6A80.15,80.15,0,0,1,48.4,136H56a8,8,0,0,0,0-16H48.4A80.15,80.15,0,0,1,120,48.4V56a8,8,0,0,0,16,0V48.4A80.15,80.15,0,0,1,207.6,120H200a8,8,0,0,0,0,16h7.6A80.15,80.15,0,0,1,136,207.6ZM128,88a40,40,0,1,0,40,40A40,40,0,0,0,128,88Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,128,152Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,124H219.91A92.13,92.13,0,0,0,132,36.09V24a4,4,0,0,0-8,0V36.09A92.13,92.13,0,0,0,36.09,124H24a4,4,0,0,0,0,8H36.09A92.13,92.13,0,0,0,124,219.91V232a4,4,0,0,0,8,0V219.91A92.13,92.13,0,0,0,219.91,132H232a4,4,0,0,0,0-8ZM132,211.9V200a4,4,0,0,0-8,0v11.9A84.11,84.11,0,0,1,44.1,132H56a4,4,0,0,0,0-8H44.1A84.11,84.11,0,0,1,124,44.1V56a4,4,0,0,0,8,0V44.1A84.11,84.11,0,0,1,211.9,124H200a4,4,0,0,0,0,8h11.9A84.11,84.11,0,0,1,132,211.9ZM128,92a36,36,0,1,0,36,36A36,36,0,0,0,128,92Zm0,64a28,28,0,1,1,28-28A28,28,0,0,1,128,156Z`}))]]),Re=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M225.6,62.64l-88-48.17a19.91,19.91,0,0,0-19.2,0l-88,48.17A20,20,0,0,0,20,80.19v95.62a20,20,0,0,0,10.4,17.55l88,48.17a19.89,19.89,0,0,0,19.2,0l88-48.17A20,20,0,0,0,236,175.81V80.19A20,20,0,0,0,225.6,62.64ZM128,36.57,200,76,128,115.4,56,76ZM44,96.79l72,39.4v76.67L44,173.44Zm96,116.07V136.19l72-39.4v76.65Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M128,129.09V232a8,8,0,0,1-3.84-1l-88-48.16a8,8,0,0,1-4.16-7V80.2a8,8,0,0,1,.7-3.27Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M223.68,66.15,135.68,18h0a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32h0l80.34,44L128,120,47.66,76ZM40,90l80,43.78v85.79L40,175.82Zm96,129.57V133.82L216,90v85.78Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,120,47.65,76,128,32l80.35,44Zm8,99.64V133.83l80-43.78v85.76Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M222.72,67.9l-88-48.17a13.9,13.9,0,0,0-13.44,0l-88,48.18A14,14,0,0,0,26,80.18v95.64a14,14,0,0,0,7.28,12.27l88,48.18a13.92,13.92,0,0,0,13.44,0l88-48.18A14,14,0,0,0,230,175.82V80.18A14,14,0,0,0,222.72,67.9ZM127,30.25a2,2,0,0,1,1.92,0L212.51,76,128,122.24,43.49,76ZM39,177.57a2,2,0,0,1-1-1.75V86.66l84,46V223Zm177.92,0L134,223V132.64l84-46v89.16A2,2,0,0,1,217,177.57Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M223.68,66.15,135.68,18h0a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32h0l80.34,44L128,120,47.66,76ZM40,90l80,43.78v85.79L40,175.82Zm96,129.57V133.82L216,90v85.78Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M221.76,69.66l-88-48.18a12,12,0,0,0-11.52,0l-88,48.18A12,12,0,0,0,28,80.18v95.64a12,12,0,0,0,6.24,10.52l88,48.18a11.95,11.95,0,0,0,11.52,0l88-48.18A12,12,0,0,0,228,175.82V80.18A12,12,0,0,0,221.76,69.66ZM126.08,28.5a3.94,3.94,0,0,1,3.84,0L216.67,76,128,124.52,39.33,76Zm-88,150.83A4,4,0,0,1,36,175.82V83.29l88,48.16v94.91Zm179.84,0-85.92,47V131.45l88-48.16v92.53A4,4,0,0,1,217.92,179.32Z`}))]]),ze=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M236,100H225L190.83,65.86A19.86,19.86,0,0,0,176.69,60H144V44h20a12,12,0,0,0,0-24H100a12,12,0,0,0,0,24h20V60H64A20,20,0,0,0,44,80v48H28V108a12,12,0,0,0-24,0v64a12,12,0,0,0,24,0V152H44v16.69a19.86,19.86,0,0,0,5.86,14.14l39.31,39.31A19.86,19.86,0,0,0,103.31,228h73.38a19.86,19.86,0,0,0,14.14-5.86L225,188h11a20,20,0,0,0,20-20V120A20,20,0,0,0,236,100Zm-4,64H220a12,12,0,0,0-8.49,3.51L175,204H105L68,167V84H175l36.48,36.49A12,12,0,0,0,220,124h12Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M248,120v48a8,8,0,0,1-8,8H224l-37.66,37.66a8,8,0,0,1-5.65,2.34H103.31a8,8,0,0,1-5.65-2.34L58.34,174.34A8,8,0,0,1,56,168.69V80a8,8,0,0,1,8-8H180.69a8,8,0,0,1,5.65,2.34L224,112h16A8,8,0,0,1,248,120Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M240,104H227.31L192,68.69A15.86,15.86,0,0,0,180.69,64H140V40h24a8,8,0,0,0,0-16H100a8,8,0,0,0,0,16h24V64H64A16,16,0,0,0,48,80v52H24V108a8,8,0,0,0-16,0v64a8,8,0,0,0,16,0V148H48v20.69A15.86,15.86,0,0,0,52.69,180L92,219.31A15.86,15.86,0,0,0,103.31,224h77.38A15.86,15.86,0,0,0,192,219.31L227.31,184H240a16,16,0,0,0,16-16V120A16,16,0,0,0,240,104Zm0,64H224a8,8,0,0,0-5.66,2.34L180.69,208H103.31L64,168.69V80H180.69l37.65,37.66A8,8,0,0,0,224,120h16Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M256,120v48a16,16,0,0,1-16,16H227.31L192,219.31A15.86,15.86,0,0,1,180.69,224H103.31A15.86,15.86,0,0,1,92,219.31L52.69,180A15.86,15.86,0,0,1,48,168.69V148H24v24a8,8,0,0,1-16,0V108a8,8,0,0,1,16,0v24H48V80A16,16,0,0,1,64,64h60V40H100a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16H140V64h40.69A15.86,15.86,0,0,1,192,68.69L227.31,104H240A16,16,0,0,1,256,120Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M240,106H226.49L190.58,70.1a13.9,13.9,0,0,0-9.89-4.1H138V38h26a6,6,0,0,0,0-12H100a6,6,0,0,0,0,12h26V66H64A14,14,0,0,0,50,80v54H22V108a6,6,0,0,0-12,0v64a6,6,0,0,0,12,0V146H50v22.69a13.9,13.9,0,0,0,4.1,9.89L93.42,217.9a13.9,13.9,0,0,0,9.89,4.1h77.38a13.9,13.9,0,0,0,9.89-4.1L226.49,182H240a14,14,0,0,0,14-14V120A14,14,0,0,0,240,106Zm2,62a2,2,0,0,1-2,2H224a6,6,0,0,0-4.24,1.76L182.1,209.42a2,2,0,0,1-1.41.58H103.31a2,2,0,0,1-1.41-.58L62.58,170.1a2,2,0,0,1-.58-1.41V80a2,2,0,0,1,2-2H180.69a2,2,0,0,1,1.41.58l37.66,37.66A6,6,0,0,0,224,118h16a2,2,0,0,1,2,2Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M240,104H227.31L192,68.69A15.86,15.86,0,0,0,180.69,64H140V40h24a8,8,0,0,0,0-16H100a8,8,0,0,0,0,16h24V64H64A16,16,0,0,0,48,80v52H24V108a8,8,0,0,0-16,0v64a8,8,0,0,0,16,0V148H48v20.69A15.86,15.86,0,0,0,52.69,180L92,219.31A15.86,15.86,0,0,0,103.31,224h77.38A15.86,15.86,0,0,0,192,219.31L227.31,184H240a16,16,0,0,0,16-16V120A16,16,0,0,0,240,104Zm0,64H224a8,8,0,0,0-5.66,2.34L180.69,208H103.31L64,168.69V80H180.69l37.65,37.66A8,8,0,0,0,224,120h16Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M240,108H225.66L189.17,71.51A11.93,11.93,0,0,0,180.69,68H136V36h28a4,4,0,0,0,0-8H100a4,4,0,0,0,0,8h28V68H64A12,12,0,0,0,52,80v56H20V108a4,4,0,0,0-8,0v64a4,4,0,0,0,8,0V144H52v24.69a11.93,11.93,0,0,0,3.51,8.48l39.32,39.32a11.93,11.93,0,0,0,8.48,3.51h77.38a11.93,11.93,0,0,0,8.48-3.51L225.66,180H240a12,12,0,0,0,12-12V120A12,12,0,0,0,240,108Zm4,60a4,4,0,0,1-4,4H224a4,4,0,0,0-2.83,1.17l-37.66,37.66a4,4,0,0,1-2.82,1.17H103.31a4,4,0,0,1-2.82-1.17L61.17,171.51A4,4,0,0,1,60,168.69V80a4,4,0,0,1,4-4H180.69a4,4,0,0,1,2.82,1.17l37.66,37.66A4,4,0,0,0,224,116h16a4,4,0,0,1,4,4Z`}))]]),Be=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z`}))]]),Ve=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm92-27.21v-1.58l14-17.51a12,12,0,0,0,2.23-10.59A111.75,111.75,0,0,0,225,71.89,12,12,0,0,0,215.89,66L193.61,63.5l-1.11-1.11L190,40.1A12,12,0,0,0,184.11,31a111.67,111.67,0,0,0-27.23-11.27A12,12,0,0,0,146.3,22L128.79,36h-1.58L109.7,22a12,12,0,0,0-10.59-2.23A111.75,111.75,0,0,0,71.89,31.05,12,12,0,0,0,66,40.11L63.5,62.39,62.39,63.5,40.1,66A12,12,0,0,0,31,71.89,111.67,111.67,0,0,0,19.77,99.12,12,12,0,0,0,22,109.7l14,17.51v1.58L22,146.3a12,12,0,0,0-2.23,10.59,111.75,111.75,0,0,0,11.29,27.22A12,12,0,0,0,40.11,190l22.28,2.48,1.11,1.11L66,215.9A12,12,0,0,0,71.89,225a111.67,111.67,0,0,0,27.23,11.27A12,12,0,0,0,109.7,234l17.51-14h1.58l17.51,14a12,12,0,0,0,10.59,2.23A111.75,111.75,0,0,0,184.11,225a12,12,0,0,0,5.91-9.06l2.48-22.28,1.11-1.11L215.9,190a12,12,0,0,0,9.06-5.91,111.67,111.67,0,0,0,11.27-27.23A12,12,0,0,0,234,146.3Zm-24.12-4.89a70.1,70.1,0,0,1,0,8.2,12,12,0,0,0,2.61,8.22l12.84,16.05A86.47,86.47,0,0,1,207,166.86l-20.43,2.27a12,12,0,0,0-7.65,4,69,69,0,0,1-5.8,5.8,12,12,0,0,0-4,7.65L166.86,207a86.47,86.47,0,0,1-10.49,4.35l-16.05-12.85a12,12,0,0,0-7.5-2.62c-.24,0-.48,0-.72,0a70.1,70.1,0,0,1-8.2,0,12.06,12.06,0,0,0-8.22,2.6L99.63,211.33A86.47,86.47,0,0,1,89.14,207l-2.27-20.43a12,12,0,0,0-4-7.65,69,69,0,0,1-5.8-5.8,12,12,0,0,0-7.65-4L49,166.86a86.47,86.47,0,0,1-4.35-10.49l12.84-16.05a12,12,0,0,0,2.61-8.22,70.1,70.1,0,0,1,0-8.2,12,12,0,0,0-2.61-8.22L44.67,99.63A86.47,86.47,0,0,1,49,89.14l20.43-2.27a12,12,0,0,0,7.65-4,69,69,0,0,1,5.8-5.8,12,12,0,0,0,4-7.65L89.14,49a86.47,86.47,0,0,1,10.49-4.35l16.05,12.85a12.06,12.06,0,0,0,8.22,2.6,70.1,70.1,0,0,1,8.2,0,12,12,0,0,0,8.22-2.6l16.05-12.85A86.47,86.47,0,0,1,166.86,49l2.27,20.43a12,12,0,0,0,4,7.65,69,69,0,0,1,5.8,5.8,12,12,0,0,0,7.65,4L207,89.14a86.47,86.47,0,0,1,4.35,10.49l-12.84,16.05A12,12,0,0,0,195.88,123.9Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M207.86,123.18l16.78-21a99.14,99.14,0,0,0-10.07-24.29l-26.7-3a81,81,0,0,0-6.81-6.81l-3-26.71a99.43,99.43,0,0,0-24.3-10l-21,16.77a81.59,81.59,0,0,0-9.64,0l-21-16.78A99.14,99.14,0,0,0,77.91,41.43l-3,26.7a81,81,0,0,0-6.81,6.81l-26.71,3a99.43,99.43,0,0,0-10,24.3l16.77,21a81.59,81.59,0,0,0,0,9.64l-16.78,21a99.14,99.14,0,0,0,10.07,24.29l26.7,3a81,81,0,0,0,6.81,6.81l3,26.71a99.43,99.43,0,0,0,24.3,10l21-16.77a81.59,81.59,0,0,0,9.64,0l21,16.78a99.14,99.14,0,0,0,24.29-10.07l3-26.7a81,81,0,0,0,6.81-6.81l26.71-3a99.43,99.43,0,0,0,10-24.3l-16.77-21A81.59,81.59,0,0,0,207.86,123.18ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8.06,8.06,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8.06,8.06,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M216,130.16q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M128,82a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162ZM214,130.84c.06-1.89.06-3.79,0-5.68L229.33,106a6,6,0,0,0,1.11-5.29A105.34,105.34,0,0,0,219.76,74.9a6,6,0,0,0-4.53-3l-24.45-2.71q-1.93-2.07-4-4l-2.72-24.46a6,6,0,0,0-3-4.53,105.65,105.65,0,0,0-25.77-10.66A6,6,0,0,0,150,26.68l-19.2,15.37c-1.89-.06-3.79-.06-5.68,0L106,26.67a6,6,0,0,0-5.29-1.11A105.34,105.34,0,0,0,74.9,36.24a6,6,0,0,0-3,4.53L69.23,65.22q-2.07,1.94-4,4L40.76,72a6,6,0,0,0-4.53,3,105.65,105.65,0,0,0-10.66,25.77A6,6,0,0,0,26.68,106l15.37,19.2c-.06,1.89-.06,3.79,0,5.68L26.67,150.05a6,6,0,0,0-1.11,5.29A105.34,105.34,0,0,0,36.24,181.1a6,6,0,0,0,4.53,3l24.45,2.71q1.94,2.07,4,4L72,215.24a6,6,0,0,0,3,4.53,105.65,105.65,0,0,0,25.77,10.66,6,6,0,0,0,5.29-1.11L125.16,214c1.89.06,3.79.06,5.68,0l19.21,15.38a6,6,0,0,0,3.75,1.31,6.2,6.2,0,0,0,1.54-.2,105.34,105.34,0,0,0,25.76-10.68,6,6,0,0,0,3-4.53l2.71-24.45q2.07-1.93,4-4l24.46-2.72a6,6,0,0,0,4.53-3,105.49,105.49,0,0,0,10.66-25.77,6,6,0,0,0-1.11-5.29Zm-3.1,41.63-23.64,2.63a6,6,0,0,0-3.82,2,75.14,75.14,0,0,1-6.31,6.31,6,6,0,0,0-2,3.82l-2.63,23.63A94.28,94.28,0,0,1,155.14,218l-18.57-14.86a6,6,0,0,0-3.75-1.31h-.36a78.07,78.07,0,0,1-8.92,0,6,6,0,0,0-4.11,1.3L100.87,218a94.13,94.13,0,0,1-17.34-7.17L80.9,187.21a6,6,0,0,0-2-3.82,75.14,75.14,0,0,1-6.31-6.31,6,6,0,0,0-3.82-2l-23.63-2.63A94.28,94.28,0,0,1,38,155.14l14.86-18.57a6,6,0,0,0,1.3-4.11,78.07,78.07,0,0,1,0-8.92,6,6,0,0,0-1.3-4.11L38,100.87a94.13,94.13,0,0,1,7.17-17.34L68.79,80.9a6,6,0,0,0,3.82-2,75.14,75.14,0,0,1,6.31-6.31,6,6,0,0,0,2-3.82l2.63-23.63A94.28,94.28,0,0,1,100.86,38l18.57,14.86a6,6,0,0,0,4.11,1.3,78.07,78.07,0,0,1,8.92,0,6,6,0,0,0,4.11-1.3L155.13,38a94.13,94.13,0,0,1,17.34,7.17l2.63,23.64a6,6,0,0,0,2,3.82,75.14,75.14,0,0,1,6.31,6.31,6,6,0,0,0,3.82,2l23.63,2.63A94.28,94.28,0,0,1,218,100.86l-14.86,18.57a6,6,0,0,0-1.3,4.11,78.07,78.07,0,0,1,0,8.92,6,6,0,0,0,1.3,4.11L218,155.13A94.13,94.13,0,0,1,210.85,172.47Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Zm83.93-32.49q.13-3.51,0-7l15.83-19.79a4,4,0,0,0,.75-3.53A103.64,103.64,0,0,0,218,75.9a4,4,0,0,0-3-2l-25.19-2.8c-1.58-1.71-3.24-3.37-4.95-4.95L182.07,41a4,4,0,0,0-2-3A104,104,0,0,0,154.82,27.5a4,4,0,0,0-3.53.74L131.51,44.07q-3.51-.14-7,0L104.7,28.24a4,4,0,0,0-3.53-.75A103.64,103.64,0,0,0,75.9,38a4,4,0,0,0-2,3l-2.8,25.19c-1.71,1.58-3.37,3.24-4.95,4.95L41,73.93a4,4,0,0,0-3,2A104,104,0,0,0,27.5,101.18a4,4,0,0,0,.74,3.53l15.83,19.78q-.14,3.51,0,7L28.24,151.3a4,4,0,0,0-.75,3.53A103.64,103.64,0,0,0,38,180.1a4,4,0,0,0,3,2l25.19,2.8c1.58,1.71,3.24,3.37,4.95,4.95l2.8,25.2a4,4,0,0,0,2,3,104,104,0,0,0,25.28,10.46,4,4,0,0,0,3.53-.74l19.78-15.83q3.51.13,7,0l19.79,15.83a4,4,0,0,0,2.5.88,4,4,0,0,0,1-.13A103.64,103.64,0,0,0,180.1,218a4,4,0,0,0,2-3l2.8-25.19c1.71-1.58,3.37-3.24,4.95-4.95l25.2-2.8a4,4,0,0,0,3-2,104,104,0,0,0,10.46-25.28,4,4,0,0,0-.74-3.53Zm.17,42.83-24.67,2.74a4,4,0,0,0-2.55,1.32,76.2,76.2,0,0,1-6.48,6.48,4,4,0,0,0-1.32,2.55l-2.74,24.66a95.45,95.45,0,0,1-19.64,8.15l-19.38-15.51a4,4,0,0,0-2.5-.87h-.24a73.67,73.67,0,0,1-9.16,0,4,4,0,0,0-2.74.87l-19.37,15.5a95.33,95.33,0,0,1-19.65-8.13l-2.74-24.67a4,4,0,0,0-1.32-2.55,76.2,76.2,0,0,1-6.48-6.48,4,4,0,0,0-2.55-1.32l-24.66-2.74a95.45,95.45,0,0,1-8.15-19.64l15.51-19.38a4,4,0,0,0,.87-2.74,77.76,77.76,0,0,1,0-9.16,4,4,0,0,0-.87-2.74l-15.5-19.37A95.33,95.33,0,0,1,43.9,81.66l24.67-2.74a4,4,0,0,0,2.55-1.32,76.2,76.2,0,0,1,6.48-6.48,4,4,0,0,0,1.32-2.55l2.74-24.66a95.45,95.45,0,0,1,19.64-8.15l19.38,15.51a4,4,0,0,0,2.74.87,73.67,73.67,0,0,1,9.16,0,4,4,0,0,0,2.74-.87l19.37-15.5a95.33,95.33,0,0,1,19.65,8.13l2.74,24.67a4,4,0,0,0,1.32,2.55,76.2,76.2,0,0,1,6.48,6.48,4,4,0,0,0,2.55,1.32l24.66,2.74a95.45,95.45,0,0,1,8.15,19.64l-15.51,19.38a4,4,0,0,0-.87,2.74,77.76,77.76,0,0,1,0,9.16,4,4,0,0,0,.87,2.74l15.5,19.37A95.33,95.33,0,0,1,212.1,174.34Z`}))]]),He=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M212.62,75.17A63.7,63.7,0,0,0,206.39,26,12,12,0,0,0,196,20a63.71,63.71,0,0,0-50,24H126A63.71,63.71,0,0,0,76,20a12,12,0,0,0-10.39,6,63.7,63.7,0,0,0-6.23,49.17A61.5,61.5,0,0,0,52,104v8a60.1,60.1,0,0,0,45.76,58.28A43.66,43.66,0,0,0,92,192v4H76a20,20,0,0,1-20-20,44.05,44.05,0,0,0-44-44,12,12,0,0,0,0,24,20,20,0,0,1,20,20,44.05,44.05,0,0,0,44,44H92v12a12,12,0,0,0,24,0V192a20,20,0,0,1,40,0v40a12,12,0,0,0,24,0V192a43.66,43.66,0,0,0-5.76-21.72A60.1,60.1,0,0,0,220,112v-8A61.5,61.5,0,0,0,212.62,75.17ZM196,112a36,36,0,0,1-36,36H112a36,36,0,0,1-36-36v-8a37.87,37.87,0,0,1,6.13-20.12,11.65,11.65,0,0,0,1.58-11.49,39.9,39.9,0,0,1-.4-27.72,39.87,39.87,0,0,1,26.41,17.8A12,12,0,0,0,119.82,68h32.35a12,12,0,0,0,10.11-5.53,39.84,39.84,0,0,1,26.41-17.8,39.9,39.9,0,0,1-.4,27.72,12,12,0,0,0,1.61,11.53A37.85,37.85,0,0,1,196,104Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M208,104v8a48,48,0,0,1-48,48H136a32,32,0,0,1,32,32v40H104V192a32,32,0,0,1,32-32H112a48,48,0,0,1-48-48v-8a49.28,49.28,0,0,1,8.51-27.3A51.92,51.92,0,0,1,76,32a52,52,0,0,1,43.83,24h32.34A52,52,0,0,1,196,32a51.92,51.92,0,0,1,3.49,44.7A49.28,49.28,0,0,1,208,104Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M208.3,75.68A59.74,59.74,0,0,0,202.93,28,8,8,0,0,0,196,24a59.75,59.75,0,0,0-48,24H124A59.75,59.75,0,0,0,76,24a8,8,0,0,0-6.93,4,59.78,59.78,0,0,0-5.38,47.68A58.14,58.14,0,0,0,56,104v8a56.06,56.06,0,0,0,48.44,55.47A39.8,39.8,0,0,0,96,192v8H72a24,24,0,0,1-24-24A40,40,0,0,0,8,136a8,8,0,0,0,0,16,24,24,0,0,1,24,24,40,40,0,0,0,40,40H96v16a8,8,0,0,0,16,0V192a24,24,0,0,1,48,0v40a8,8,0,0,0,16,0V192a39.8,39.8,0,0,0-8.44-24.53A56.06,56.06,0,0,0,216,112v-8A58,58,0,0,0,208.3,75.68ZM200,112a40,40,0,0,1-40,40H112a40,40,0,0,1-40-40v-8a41.74,41.74,0,0,1,6.9-22.48A8,8,0,0,0,80,73.83a43.81,43.81,0,0,1,.79-33.58,43.88,43.88,0,0,1,32.32,20.06A8,8,0,0,0,119.82,64h32.35a8,8,0,0,0,6.74-3.69,43.87,43.87,0,0,1,32.32-20.06A43.81,43.81,0,0,1,192,73.83a8.09,8.09,0,0,0,1,7.65A41.76,41.76,0,0,1,200,104Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M216,104v8a56.06,56.06,0,0,1-48.44,55.47A39.8,39.8,0,0,1,176,192v40a8,8,0,0,1-8,8H104a8,8,0,0,1-8-8V216H72a40,40,0,0,1-40-40A24,24,0,0,0,8,152a8,8,0,0,1,0-16,40,40,0,0,1,40,40,24,24,0,0,0,24,24H96v-8a39.8,39.8,0,0,1,8.44-24.53A56.06,56.06,0,0,1,56,112v-8a58.14,58.14,0,0,1,7.69-28.32A59.78,59.78,0,0,1,69.07,28,8,8,0,0,1,76,24a59.75,59.75,0,0,1,48,24h24a59.75,59.75,0,0,1,48-24,8,8,0,0,1,6.93,4,59.74,59.74,0,0,1,5.37,47.68A58,58,0,0,1,216,104Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M206.13,75.92A57.79,57.79,0,0,0,201.2,29a6,6,0,0,0-5.2-3,57.77,57.77,0,0,0-47,24H123A57.77,57.77,0,0,0,76,26a6,6,0,0,0-5.2,3,57.79,57.79,0,0,0-4.93,46.92A55.88,55.88,0,0,0,58,104v8a54.06,54.06,0,0,0,50.45,53.87A37.85,37.85,0,0,0,98,192v10H72a26,26,0,0,1-26-26A38,38,0,0,0,8,138a6,6,0,0,0,0,12,26,26,0,0,1,26,26,38,38,0,0,0,38,38H98v18a6,6,0,0,0,12,0V192a26,26,0,0,1,52,0v40a6,6,0,0,0,12,0V192a37.85,37.85,0,0,0-10.45-26.13A54.06,54.06,0,0,0,214,112v-8A55.88,55.88,0,0,0,206.13,75.92ZM202,112a42,42,0,0,1-42,42H112a42,42,0,0,1-42-42v-8a43.86,43.86,0,0,1,7.3-23.69,6,6,0,0,0,.81-5.76,45.85,45.85,0,0,1,1.43-36.42,45.85,45.85,0,0,1,35.23,21.1A6,6,0,0,0,119.83,62h32.34a6,6,0,0,0,5.06-2.76,45.83,45.83,0,0,1,35.23-21.11,45.85,45.85,0,0,1,1.43,36.42,6,6,0,0,0,.79,5.74A43.78,43.78,0,0,1,202,104Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M208.31,75.68A59.78,59.78,0,0,0,202.93,28,8,8,0,0,0,196,24a59.75,59.75,0,0,0-48,24H124A59.75,59.75,0,0,0,76,24a8,8,0,0,0-6.93,4,59.78,59.78,0,0,0-5.38,47.68A58.14,58.14,0,0,0,56,104v8a56.06,56.06,0,0,0,48.44,55.47A39.8,39.8,0,0,0,96,192v8H72a24,24,0,0,1-24-24A40,40,0,0,0,8,136a8,8,0,0,0,0,16,24,24,0,0,1,24,24,40,40,0,0,0,40,40H96v16a8,8,0,0,0,16,0V192a24,24,0,0,1,48,0v40a8,8,0,0,0,16,0V192a39.8,39.8,0,0,0-8.44-24.53A56.06,56.06,0,0,0,216,112v-8A58.14,58.14,0,0,0,208.31,75.68ZM200,112a40,40,0,0,1-40,40H112a40,40,0,0,1-40-40v-8a41.74,41.74,0,0,1,6.9-22.48A8,8,0,0,0,80,73.83a43.81,43.81,0,0,1,.79-33.58,43.88,43.88,0,0,1,32.32,20.06A8,8,0,0,0,119.82,64h32.35a8,8,0,0,0,6.74-3.69,43.87,43.87,0,0,1,32.32-20.06A43.81,43.81,0,0,1,192,73.83a8.09,8.09,0,0,0,1,7.65A41.72,41.72,0,0,1,200,104Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M203.94,76.16A55.73,55.73,0,0,0,199.46,30,4,4,0,0,0,196,28a55.78,55.78,0,0,0-46,24H122A55.78,55.78,0,0,0,76,28a4,4,0,0,0-3.46,2,55.73,55.73,0,0,0-4.48,46.16A53.78,53.78,0,0,0,60,104v8a52.06,52.06,0,0,0,52,52h1.41A36,36,0,0,0,100,192v12H72a28,28,0,0,1-28-28A36,36,0,0,0,8,140a4,4,0,0,0,0,8,28,28,0,0,1,28,28,36,36,0,0,0,36,36h28v20a4,4,0,0,0,8,0V192a28,28,0,0,1,56,0v40a4,4,0,0,0,8,0V192a36,36,0,0,0-13.41-28H160a52.06,52.06,0,0,0,52-52v-8A53.78,53.78,0,0,0,203.94,76.16ZM204,112a44.05,44.05,0,0,1-44,44H112a44.05,44.05,0,0,1-44-44v-8a45.76,45.76,0,0,1,7.71-24.89,4,4,0,0,0,.53-3.84,47.82,47.82,0,0,1,2.1-39.21,47.8,47.8,0,0,1,38.12,22.1A4,4,0,0,0,119.83,60h32.34a4,4,0,0,0,3.37-1.84,47.8,47.8,0,0,1,38.12-22.1,47.82,47.82,0,0,1,2.1,39.21,4,4,0,0,0,.53,3.83A45.85,45.85,0,0,1,204,104Z`}))]]),Ue=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M224,44H32A20,20,0,0,0,12,64V192a20,20,0,0,0,20,20H224a20,20,0,0,0,20-20V64A20,20,0,0,0,224,44Zm-4,144H36V68H220ZM52,128a12,12,0,0,1,12-12H192a12,12,0,0,1,0,24H64A12,12,0,0,1,52,128Zm0-36A12,12,0,0,1,64,80H192a12,12,0,0,1,0,24H64A12,12,0,0,1,52,92Zm0,72a12,12,0,0,1,12-12h8a12,12,0,0,1,0,24H64A12,12,0,0,1,52,164Zm108,0a12,12,0,0,1-12,12H108a12,12,0,0,1,0-24h40A12,12,0,0,1,160,164Zm44,0a12,12,0,0,1-12,12h-8a12,12,0,0,1,0-24h8A12,12,0,0,1,204,164Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,64V192a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V64a8,8,0,0,1,8-8H224A8,8,0,0,1,232,64Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M224,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48Zm0,144H32V64H224V192Zm-16-64a8,8,0,0,1-8,8H56a8,8,0,0,1,0-16H200A8,8,0,0,1,208,128Zm0-32a8,8,0,0,1-8,8H56a8,8,0,0,1,0-16H200A8,8,0,0,1,208,96ZM72,160a8,8,0,0,1-8,8H56a8,8,0,0,1,0-16h8A8,8,0,0,1,72,160Zm96,0a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,160Zm40,0a8,8,0,0,1-8,8h-8a8,8,0,0,1,0-16h8A8,8,0,0,1,208,160Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M224,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48ZM64,168H48a8,8,0,0,1,0-16H64a8,8,0,0,1,0,16Zm96,0H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm48,0H192a8,8,0,0,1,0-16h16a8,8,0,0,1,0,16Zm0-32H48a8,8,0,0,1,0-16H208a8,8,0,0,1,0,16Zm0-32H48a8,8,0,0,1,0-16H208a8,8,0,0,1,0,16Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M224,50H32A14,14,0,0,0,18,64V192a14,14,0,0,0,14,14H224a14,14,0,0,0,14-14V64A14,14,0,0,0,224,50Zm2,142a2,2,0,0,1-2,2H32a2,2,0,0,1-2-2V64a2,2,0,0,1,2-2H224a2,2,0,0,1,2,2Zm-20-64a6,6,0,0,1-6,6H56a6,6,0,0,1,0-12H200A6,6,0,0,1,206,128Zm0-32a6,6,0,0,1-6,6H56a6,6,0,0,1,0-12H200A6,6,0,0,1,206,96ZM70,160a6,6,0,0,1-6,6H56a6,6,0,0,1,0-12h8A6,6,0,0,1,70,160Zm96,0a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,160Zm40,0a6,6,0,0,1-6,6h-8a6,6,0,0,1,0-12h8A6,6,0,0,1,206,160Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M224,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48Zm0,144H32V64H224V192Zm-16-64a8,8,0,0,1-8,8H56a8,8,0,0,1,0-16H200A8,8,0,0,1,208,128Zm0-32a8,8,0,0,1-8,8H56a8,8,0,0,1,0-16H200A8,8,0,0,1,208,96ZM72,160a8,8,0,0,1-8,8H56a8,8,0,0,1,0-16h8A8,8,0,0,1,72,160Zm96,0a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,160Zm40,0a8,8,0,0,1-8,8h-8a8,8,0,0,1,0-16h8A8,8,0,0,1,208,160Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M224,52H32A12,12,0,0,0,20,64V192a12,12,0,0,0,12,12H224a12,12,0,0,0,12-12V64A12,12,0,0,0,224,52Zm4,140a4,4,0,0,1-4,4H32a4,4,0,0,1-4-4V64a4,4,0,0,1,4-4H224a4,4,0,0,1,4,4Zm-24-64a4,4,0,0,1-4,4H56a4,4,0,0,1,0-8H200A4,4,0,0,1,204,128Zm0-32a4,4,0,0,1-4,4H56a4,4,0,0,1,0-8H200A4,4,0,0,1,204,96ZM68,160a4,4,0,0,1-4,4H56a4,4,0,0,1,0-8h8A4,4,0,0,1,68,160Zm96,0a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,160Zm40,0a4,4,0,0,1-4,4h-8a4,4,0,0,1,0-8h8A4,4,0,0,1,204,160Z`}))]]),We=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M236.37,139.4a12,12,0,0,0-12-3A84.07,84.07,0,0,1,119.6,31.59a12,12,0,0,0-15-15A108.86,108.86,0,0,0,49.69,55.07,108,108,0,0,0,136,228a107.09,107.09,0,0,0,64.93-21.69,108.86,108.86,0,0,0,38.44-54.94A12,12,0,0,0,236.37,139.4Zm-49.88,47.74A84,84,0,0,1,68.86,69.51,84.93,84.93,0,0,1,92.27,48.29Q92,52.13,92,56A108.12,108.12,0,0,0,200,164q3.87,0,7.71-.27A84.79,84.79,0,0,1,186.49,187.14Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M227.89,147.89A96,96,0,1,1,108.11,28.11,96.09,96.09,0,0,0,227.89,147.89Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M233.54,142.23a8,8,0,0,0-8-2,88.08,88.08,0,0,1-109.8-109.8,8,8,0,0,0-10-10,104.84,104.84,0,0,0-52.91,37A104,104,0,0,0,136,224a103.09,103.09,0,0,0,62.52-20.88,104.84,104.84,0,0,0,37-52.91A8,8,0,0,0,233.54,142.23ZM188.9,190.34A88,88,0,0,1,65.66,67.11a89,89,0,0,1,31.4-26A106,106,0,0,0,96,56,104.11,104.11,0,0,0,200,160a106,106,0,0,0,14.92-1.06A89,89,0,0,1,188.9,190.34Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M235.54,150.21a104.84,104.84,0,0,1-37,52.91A104,104,0,0,1,32,120,103.09,103.09,0,0,1,52.88,57.48a104.84,104.84,0,0,1,52.91-37,8,8,0,0,1,10,10,88.08,88.08,0,0,0,109.8,109.8,8,8,0,0,1,10,10Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232.13,143.64a6,6,0,0,0-6-1.49A90.07,90.07,0,0,1,113.86,29.85a6,6,0,0,0-7.49-7.48A102.88,102.88,0,0,0,54.48,58.68,102,102,0,0,0,197.32,201.52a102.88,102.88,0,0,0,36.31-51.89A6,6,0,0,0,232.13,143.64Zm-42,48.29a90,90,0,0,1-126-126A90.9,90.9,0,0,1,99.65,37.66,102.06,102.06,0,0,0,218.34,156.35,90.9,90.9,0,0,1,190.1,191.93Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M233.54,142.23a8,8,0,0,0-8-2,88.08,88.08,0,0,1-109.8-109.8,8,8,0,0,0-10-10,104.84,104.84,0,0,0-52.91,37A104,104,0,0,0,136,224a103.09,103.09,0,0,0,62.52-20.88,104.84,104.84,0,0,0,37-52.91A8,8,0,0,0,233.54,142.23ZM188.9,190.34A88,88,0,0,1,65.66,67.11a89,89,0,0,1,31.4-26A106,106,0,0,0,96,56,104.11,104.11,0,0,0,200,160a106,106,0,0,0,14.92-1.06A89,89,0,0,1,188.9,190.34Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M230.72,145.06a4,4,0,0,0-4-1A92.08,92.08,0,0,1,111.94,29.27a4,4,0,0,0-5-5A100.78,100.78,0,0,0,56.08,59.88a100,100,0,0,0,140,140,100.78,100.78,0,0,0,35.59-50.87A4,4,0,0,0,230.72,145.06ZM191.3,193.53A92,92,0,0,1,62.47,64.7a93,93,0,0,1,39.88-30.35,100.09,100.09,0,0,0,119.3,119.3A93,93,0,0,1,191.3,193.53Z`}))]]),Ge=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M100,36H56A20,20,0,0,0,36,56v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V56A20,20,0,0,0,100,36ZM96,96H60V60H96ZM200,36H156a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V56A20,20,0,0,0,200,36Zm-4,60H160V60h36Zm-96,40H56a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V156A20,20,0,0,0,100,136Zm-4,60H60V160H96Zm104-60H156a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V156A20,20,0,0,0,200,136Zm-4,60H160V160h36Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M112,56v48a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8h48A8,8,0,0,1,112,56Zm88-8H152a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V56A8,8,0,0,0,200,48Zm-96,96H56a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V152A8,8,0,0,0,104,144Zm96,0H152a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V152A8,8,0,0,0,200,144Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M200,136H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Zm0,64H152V152h48v48ZM104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-96,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M120,56v48a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40h48A16,16,0,0,1,120,56Zm80-16H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm-96,96H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm96,0H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M104,42H56A14,14,0,0,0,42,56v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V56A14,14,0,0,0,104,42Zm2,62a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm94-62H152a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V56A14,14,0,0,0,200,42Zm2,62a2,2,0,0,1-2,2H152a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm-98,34H56a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V152A14,14,0,0,0,104,138Zm2,62a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V152a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm94-62H152a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V152A14,14,0,0,0,200,138Zm2,62a2,2,0,0,1-2,2H152a2,2,0,0,1-2-2V152a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-96,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Zm0,64H152V152h48v48Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M104,44H56A12,12,0,0,0,44,56v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V56A12,12,0,0,0,104,44Zm4,60a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Zm92-60H152a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V56A12,12,0,0,0,200,44Zm4,60a4,4,0,0,1-4,4H152a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4ZM104,140H56a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V152A12,12,0,0,0,104,140Zm4,60a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V152a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Zm92-60H152a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V152A12,12,0,0,0,200,140Zm4,60a4,4,0,0,1-4,4H152a4,4,0,0,1-4-4V152a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Z`}))]]),Ke=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M116,36V20a12,12,0,0,1,24,0V36a12,12,0,0,1-24,0Zm80,92a68,68,0,1,1-68-68A68.07,68.07,0,0,1,196,128Zm-24,0a44,44,0,1,0-44,44A44.05,44.05,0,0,0,172,128ZM51.51,68.49a12,12,0,1,0,17-17l-12-12a12,12,0,0,0-17,17Zm0,119-12,12a12,12,0,0,0,17,17l12-12a12,12,0,1,0-17-17ZM196,72a12,12,0,0,0,8.49-3.51l12-12a12,12,0,0,0-17-17l-12,12A12,12,0,0,0,196,72Zm8.49,115.51a12,12,0,0,0-17,17l12,12a12,12,0,0,0,17-17ZM48,128a12,12,0,0,0-12-12H20a12,12,0,0,0,0,24H36A12,12,0,0,0,48,128Zm80,80a12,12,0,0,0-12,12v16a12,12,0,0,0,24,0V220A12,12,0,0,0,128,208Zm108-92H220a12,12,0,0,0,0,24h16a12,12,0,0,0,0-24Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M184,128a56,56,0,1,1-56-56A56,56,0,0,1,184,128Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M120,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm72,88a64,64,0,1,1-64-64A64.07,64.07,0,0,1,192,128Zm-16,0a48,48,0,1,0-48,48A48.05,48.05,0,0,0,176,128ZM58.34,69.66A8,8,0,0,0,69.66,58.34l-16-16A8,8,0,0,0,42.34,53.66Zm0,116.68-16,16a8,8,0,0,0,11.32,11.32l16-16a8,8,0,0,0-11.32-11.32ZM192,72a8,8,0,0,0,5.66-2.34l16-16a8,8,0,0,0-11.32-11.32l-16,16A8,8,0,0,0,192,72Zm5.66,114.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32-11.32ZM48,128a8,8,0,0,0-8-8H16a8,8,0,0,0,0,16H40A8,8,0,0,0,48,128Zm80,80a8,8,0,0,0-8,8v24a8,8,0,0,0,16,0V216A8,8,0,0,0,128,208Zm112-88H216a8,8,0,0,0,0,16h24a8,8,0,0,0,0-16Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M120,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm8,24a64,64,0,1,0,64,64A64.07,64.07,0,0,0,128,64ZM58.34,69.66A8,8,0,0,0,69.66,58.34l-16-16A8,8,0,0,0,42.34,53.66Zm0,116.68-16,16a8,8,0,0,0,11.32,11.32l16-16a8,8,0,0,0-11.32-11.32ZM192,72a8,8,0,0,0,5.66-2.34l16-16a8,8,0,0,0-11.32-11.32l-16,16A8,8,0,0,0,192,72Zm5.66,114.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32-11.32ZM48,128a8,8,0,0,0-8-8H16a8,8,0,0,0,0,16H40A8,8,0,0,0,48,128Zm80,80a8,8,0,0,0-8,8v24a8,8,0,0,0,16,0V216A8,8,0,0,0,128,208Zm112-88H216a8,8,0,0,0,0,16h24a8,8,0,0,0,0-16Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M122,40V16a6,6,0,0,1,12,0V40a6,6,0,0,1-12,0Zm68,88a62,62,0,1,1-62-62A62.07,62.07,0,0,1,190,128Zm-12,0a50,50,0,1,0-50,50A50.06,50.06,0,0,0,178,128ZM59.76,68.24a6,6,0,1,0,8.48-8.48l-16-16a6,6,0,0,0-8.48,8.48Zm0,119.52-16,16a6,6,0,1,0,8.48,8.48l16-16a6,6,0,1,0-8.48-8.48ZM192,70a6,6,0,0,0,4.24-1.76l16-16a6,6,0,0,0-8.48-8.48l-16,16A6,6,0,0,0,192,70Zm4.24,117.76a6,6,0,0,0-8.48,8.48l16,16a6,6,0,0,0,8.48-8.48ZM46,128a6,6,0,0,0-6-6H16a6,6,0,0,0,0,12H40A6,6,0,0,0,46,128Zm82,82a6,6,0,0,0-6,6v24a6,6,0,0,0,12,0V216A6,6,0,0,0,128,210Zm112-88H216a6,6,0,0,0,0,12h24a6,6,0,0,0,0-12Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M120,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm72,88a64,64,0,1,1-64-64A64.07,64.07,0,0,1,192,128Zm-16,0a48,48,0,1,0-48,48A48.05,48.05,0,0,0,176,128ZM58.34,69.66A8,8,0,0,0,69.66,58.34l-16-16A8,8,0,0,0,42.34,53.66Zm0,116.68-16,16a8,8,0,0,0,11.32,11.32l16-16a8,8,0,0,0-11.32-11.32ZM192,72a8,8,0,0,0,5.66-2.34l16-16a8,8,0,0,0-11.32-11.32l-16,16A8,8,0,0,0,192,72Zm5.66,114.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32-11.32ZM48,128a8,8,0,0,0-8-8H16a8,8,0,0,0,0,16H40A8,8,0,0,0,48,128Zm80,80a8,8,0,0,0-8,8v24a8,8,0,0,0,16,0V216A8,8,0,0,0,128,208Zm112-88H216a8,8,0,0,0,0,16h24a8,8,0,0,0,0-16Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M124,40V16a4,4,0,0,1,8,0V40a4,4,0,0,1-8,0Zm64,88a60,60,0,1,1-60-60A60.07,60.07,0,0,1,188,128Zm-8,0a52,52,0,1,0-52,52A52.06,52.06,0,0,0,180,128ZM61.17,66.83a4,4,0,0,0,5.66-5.66l-16-16a4,4,0,0,0-5.66,5.66Zm0,122.34-16,16a4,4,0,0,0,5.66,5.66l16-16a4,4,0,0,0-5.66-5.66ZM192,68a4,4,0,0,0,2.83-1.17l16-16a4,4,0,1,0-5.66-5.66l-16,16A4,4,0,0,0,192,68Zm2.83,121.17a4,4,0,0,0-5.66,5.66l16,16a4,4,0,0,0,5.66-5.66ZM40,124H16a4,4,0,0,0,0,8H40a4,4,0,0,0,0-8Zm88,88a4,4,0,0,0-4,4v24a4,4,0,0,0,8,0V216A4,4,0,0,0,128,212Zm112-88H216a4,4,0,0,0,0,8h24a4,4,0,0,0,0-8Z`}))]]),qe=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M216,48H180V36A28,28,0,0,0,152,8H104A28,28,0,0,0,76,36V48H40a12,12,0,0,0,0,24h4V208a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V72h4a12,12,0,0,0,0-24ZM100,36a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V48H100Zm88,168H68V72H188ZM116,104v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Zm48,0v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM112,168a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm0-120H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M216,50H174V40a22,22,0,0,0-22-22H104A22,22,0,0,0,82,40V50H40a6,6,0,0,0,0,12H50V208a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V62h10a6,6,0,0,0,0-12ZM94,40a10,10,0,0,1,10-10h48a10,10,0,0,1,10,10V50H94ZM194,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V62H194ZM110,104v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm48,0v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M216,52H172V40a20,20,0,0,0-20-20H104A20,20,0,0,0,84,40V52H40a4,4,0,0,0,0,8H52V208a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V60h12a4,4,0,0,0,0-8ZM92,40a12,12,0,0,1,12-12h48a12,12,0,0,1,12,12V52H92ZM196,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V60H196ZM108,104v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Zm48,0v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Z`}))]]),Je=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:De}));Je.displayName=`ArrowCounterClockwiseIcon`;var Ye=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Oe}));Ye.displayName=`BookOpenTextIcon`;var Xe=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:ke}));Xe.displayName=`CarProfileIcon`;var Ze=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Ae}));Ze.displayName=`CaretDownIcon`;var Qe=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:je}));Qe.displayName=`CaretLeftIcon`;var $e=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Me}));$e.displayName=`CaretRightIcon`;var et=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Ne}));et.displayName=`CaretUpIcon`;var tt=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Pe}));tt.displayName=`CheckIcon`;var nt=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Fe}));nt.displayName=`CircleNotchIcon`;var rt=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Ie}));rt.displayName=`CodeIcon`;var it=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Le}));it.displayName=`CrosshairIcon`;var at=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Re}));at.displayName=`CubeIcon`;var ot=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:ze}));ot.displayName=`EngineIcon`;var st=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Be}));st.displayName=`EyeIcon`;var ct=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Ve}));ct.displayName=`GearIcon`;var lt=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:He}));lt.displayName=`GithubLogoIcon`;var ut=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Ue}));ut.displayName=`KeyboardIcon`;var dt=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:We}));dt.displayName=`MoonIcon`;var ft=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Ge}));ft.displayName=`SquaresFourIcon`;var pt=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:Ke}));pt.displayName=`SunIcon`;var mt=Z.forwardRef((e,t)=>Z.createElement(me,{ref:t,...e,weights:qe}));mt.displayName=`TrashIcon`;var ht=`data-valid`,gt=`data-invalid`,_t={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},vt={disabled:!1,valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},yt={valid(e){return e===null?null:e?{[ht]:``}:{[gt]:``}}},bt={invalid:void 0,name:void 0,validityData:{state:_t,errors:[],error:``,value:``,initialValue:null},setValidityData:K,disabled:void 0,setTouched:K,setDirty:K,setFilled:K,setFocused:K,focusOwnerRef:{current:void 0},validationMode:`onSubmit`,shouldValidateOnChange:()=>!1,state:vt,registerFieldControl:K,validation:{getValidationProps:(e,t=de)=>t,inputRef:{current:null},registeredInputs:new Map,registerInput:K,getInputControl:()=>null,commit:async()=>{},change:K}},xt=Z.createContext(bt);function St(e=!0){let t=Z.useContext(xt);if(t.setValidityData===K&&!e)throw Error(Te(28));return t}var Ct=Z.createContext({elementRef:{current:null},formRef:{current:{fields:new Map}},errors:{},clearErrors:K,validationMode:`onSubmit`,submitCountRef:{current:0}});function wt(){return Z.useContext(Ct)}function Tt(){let[,e]=Z.useState({});return Z.useCallback(()=>{e({})},[])}var Et=0;function Dt(e,t=`mui`){let n=Z.useRef(void 0),r=Tt(),i=e??n.current;return Z.useEffect(()=>{n.current??(Et+=1,n.current=`${t}-${Et}`,e??r())},[e,t,r]),i}var Ot=we.useId;function kt(e,t){if(Ot!==void 0){let n=Ot();return e??(t?`${t}-${n}`:n)}return Dt(e,t)}function At(e){return kt(e,`base-ui`)}var jt=Z.createContext({controlId:void 0,registerControlId:K,resetControlId:K,labelId:void 0,setLabelId:K,messageIds:[],setMessageIds:K,getDescriptionProps:e=>e});function Mt(){return Z.useContext(jt)}function Nt(e,t,n,r=!0,i,a){let[o,s]=Z.useState(),c=At(i?`${i}-label`:void 0),l=!!a?.trim(),u=e??(l?void 0:t)??o;return Y(()=>{let i=e||t||l||!r?void 0:Pt(n.current,c);o!==i&&s(i)}),u}function Pt(e,t){let n=Ft(e);if(n)return!n.id&&t&&(n.id=t),n.id||void 0}function Ft(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 It(e={}){let{id:t,enabled:n=!0}=e,{controlId:r,registerControlId:i,resetControlId:a}=Mt(),o=At(),s=L(()=>Symbol()),c=Z.useRef(!1),l=Z.useRef(!1),u=W(()=>{c.current&&i!==K&&(c.current=!1,i(s.current,void 0))});return Y(()=>{if(!n||i===K){u();return}let e;if(t!==void 0)l.current=!0,e=t;else if(l.current)e=o;else{a();return}e===void 0?u():(c.current=!0,i(s.current,e))},[t,n,i,a,o,s,u]),Y(()=>u,[u]),(n?r:void 0)??t??o}function Lt(){return typeof navigator>`u`?{userAgent:``,platform:``,maxTouchPoints:0}:{userAgent:navigator.userAgent,platform:navigator.platform??``,maxTouchPoints:navigator.maxTouchPoints??0}}var{userAgent:Rt,platform:zt,maxTouchPoints:Bt}=Lt(),Vt=Rt.toLowerCase(),Ht=zt.toLowerCase(),Ut=/^i(os$|p)/.test(Ht)||Ht===`macintel`&&Bt>1,Wt=`android`,Gt=Ht===Wt||Vt.includes(Wt),Kt=!Ut&&Ht.startsWith(`mac`);Ht.startsWith(`win`),!Gt&&/^(linux|chrome os)/.test(Ht);var qt=Kt||Ut,Jt=typeof CSS<`u`&&!!CSS.supports?.(`-webkit-backdrop-filter:none`);!Jt&&Vt.includes(`firefox`),!Jt&&Vt.includes(`chrom`);var Yt=qt,Xt=/jsdom|happydom/.test(Vt);function Zt(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function Q(e,t){if(!e||!t)return!1;let n=t.getRootNode?.();if(e.contains(t))return!0;if(n&&I(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function Qt(e,t){let n=e;for(;n;){if(B(n)&&n.matches(t))return n;n=n.assignedSlot??n.parentNode??(I(n)?n.host:null)}return null}function $t(e){return`composedPath`in e?e.composedPath()[0]??e.target:e.target}var en=`data-base-ui-focusable`,tn=`ArrowLeft`,nn=`ArrowRight`,rn=`ArrowUp`,an=`ArrowDown`,on=`data-starting-style`,sn=`data-ending-style`,cn={[on]:``},ln={[sn]:``},un={transitionStatus(e){return e===`starting`?cn:e===`ending`?ln:null}},dn=`data-open`,fn=`data-closed`,pn=`data-anchor-hidden`,mn=`data-popup-open`,hn=`data-pressed`,gn={[mn]:``},_n={[mn]:``,[hn]:``},vn={[dn]:``},yn={[fn]:``},bn={[pn]:``},xn={open(e){return e?gn:null}},Sn={open(e){return e?_n:null}},Cn={open(e){return e?vn:yn},anchorHidden(e){return e?bn:null}};({...Cn,...un});function wn(e,t){if(t==null)return!1;if(`composedPath`in e)return e.composedPath().includes(t);let n=e;return n.target!=null&&t.contains(n.target)}function Tn(e){return e.matches(`html,body`)}function En(e){return H(e)&&e.matches(`input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])`)}function Dn(e){return e?e.getAttribute(`role`)===`combobox`&&En(e):!1}function On(e){if(!e||Xt)return!0;try{return e.matches(`:focus-visible`)}catch{return!0}}function kn(e){return e?e.hasAttribute(`data-base-ui-focusable`)?e:e.querySelector(`[data-base-ui-focusable]`)||e:null}function An(e,t,n=!0){return e.filter(e=>e.parentId===t).flatMap(t=>[...!n||t.context?.open?[t]:[],...An(e,t.id,n)])}function jn(e,t){let n=[],r=e.find(e=>e.id===t)?.parentId;for(;r;){let t=e.find(e=>e.id===r);r=t?.parentId,t&&(n=n.concat(t))}return n}function Mn(e){e.preventDefault(),e.stopPropagation()}function Nn(e){return`nativeEvent`in e}function Pn(e){return e.pointerType===``&&e.isTrusted?!0:Gt&&e.pointerType?e.type===`click`&&e.buttons===1:e.detail===0&&!e.pointerType}function Fn(e){return Xt?!1:!Gt&&e.width===0&&e.height===0||e.type===`pointerdown`&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType===`mouse`&&(Gt||e.buttons===0)||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType===`touch`}function In(e,t){let n=[`mouse`,`pen`];return t||n.push(``,void 0),n.includes(e)}function Ln(e){let t=e.type;return t===`click`||t===`mousedown`||t===`keydown`||t===`keyup`}var Rn=Math.min,zn=Math.max,Bn=Math.round,Vn=Math.floor,Hn=e=>({x:e,y:e}),Un={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function Wn(e,t,n){return zn(e,Rn(t,n))}function Gn(e,t){return typeof e==`function`?e(t):e}function Kn(e){return e.split(`-`)[0]}function qn(e){return e.split(`-`)[1]}function Jn(e){return e===`x`?`y`:`x`}function Yn(e){return e===`y`?`height`:`width`}function Xn(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function Zn(e){return Jn(Xn(e))}function Qn(e,t,n){n===void 0&&(n=!1);let r=qn(e),i=Zn(e),a=Yn(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=sr(o)),[o,sr(o)]}function $n(e){let t=sr(e);return[er(e),t,er(t)]}function er(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var tr=[`left`,`right`],nr=[`right`,`left`],rr=[`top`,`bottom`],ir=[`bottom`,`top`];function ar(e,t,n){switch(e){case`top`:case`bottom`:return n?t?nr:tr:t?tr:nr;case`left`:case`right`:return t?rr:ir;default:return[]}}function or(e,t,n,r){let i=qn(e),a=ar(Kn(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(er)))),a}function sr(e){let t=Kn(e);return Un[t]+e.slice(t.length)}function cr(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}function lr(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:cr(e)}function ur(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function dr(e,t){return t<0||t>=e.length}function fr(e,t){return hr(e.current,{disabledIndices:t})}function pr(e,t){return hr(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function mr(e,t,n){let{decrement:r,loopFocus:i,allowEscape:a,disabledIndices:o,minIndex:s,maxIndex:c}=n,l=()=>hr(e,{startingIndex:t,decrement:r,disabledIndices:o}),u,d=!1;if(!i)u=r?Math.max(s,l()):Math.min(c,l());else if(r?t<=s:t>=c){let n=r?-1:e.length;a&&t!==n?u=-1:(u=r?c:s,d=!0)}else u=l();return{index:dr(e,u)?-1:u,wrapped:d}}function hr(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:r,amount:i=1}={}){let a=t;do a+=n?-i:i;while(a>=0&&a<=e.length-1&&gr(e,a,r));return a}function gr(e,t,n){if(typeof n==`function`?n(t):n?.includes(t)??!1)return!0;let r=e[t];return r?!vr(r)||r.matches(`:disabled`)?!0:!n&&(r.hasAttribute(`disabled`)||r.getAttribute(`aria-disabled`)===`true`):!1}function _r(e){return e.visibility===`hidden`||e.visibility===`collapse`}function vr(e,t=e?G(e):null){return!e||!e.isConnected||!t||_r(t)?!1:typeof e.checkVisibility==`function`?e.checkVisibility():t.display!==`none`&&t.display!==`contents`}var yr=`a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]`;function br(e){let t=e.assignedSlot;if(t)return t;if(e.parentElement)return e.parentElement;let n=e.getRootNode();return I(n)?n.host:null}function xr(e){for(let t of Array.from(e.children))if(he(t)===`summary`)return t;return null}function Sr(e,t){let n=xr(t);return!!n&&(e===n||Q(n,e))}function Cr(e){let t=e?he(e):``;return e!=null&&e.matches(yr)&&(t!==`summary`||e.parentElement!=null&&he(e.parentElement)===`details`&&xr(e.parentElement)===e)&&(t!==`details`||xr(e)==null)&&(t!==`input`||e.type!==`hidden`)}function wr(e){if(!Cr(e)||!e.isConnected||e.matches(`:disabled`))return!1;for(let t=e;t;t=br(t)){let n=t!==e,r=he(t)===`slot`;if(t.hasAttribute(`inert`)||n&&he(t)===`details`&&!t.open&&!Sr(e,t)||t.hasAttribute(`hidden`)||!r&&!Tr(t,n))return!1}return!0}function Tr(e,t){let n=G(e);return t?n.display!==`none`:vr(e,n)}function Er(e){let t=e.tabIndex;if(t<0){let t=he(e);if(t===`details`||t===`audio`||t===`video`||H(e)&&e.isContentEditable)return 0}return t}function Dr(e){if(he(e)!==`input`)return null;let t=e;return t.type===`radio`&&t.name!==``?t:null}function Or(e,t){let n=Dr(e);if(!n)return!0;let r=t.find(e=>{let t=Dr(e);return t?.name===n.name&&t.form===n.form&&t.checked});return r?r===n:t.find(e=>{let t=Dr(e);return t?.name===n.name&&t.form===n.form})===n}function kr(e){if(H(e)&&he(e)===`slot`){let t=e.assignedElements({flatten:!0});if(t.length>0)return t}return H(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function Ar(e,t){kr(e).forEach(e=>{Cr(e)&&t.push(e),Ar(e,t)})}function jr(e,t,n){kr(e).forEach(e=>{H(e)&&e.matches(t)&&n.push(e),jr(e,t,n)})}function Mr(e){return wr(e)&&Er(e)>=0}function Nr(e){let t=[];return Ar(e,t),t.filter(wr)}function Pr(e){let t=Nr(e);return t.filter(e=>Er(e)>=0&&Or(e,t))}function Fr(e,t){let n=Pr(e),r=n.length;if(r===0)return;let i=Zt(X(e)),a=n.indexOf(i);return n[a===-1?t===1?0:r-1:a+t]}function Ir(e){return Fr(X(e).body,1)||e}function Lr(e){return Fr(X(e).body,-1)||e}function Rr(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!Q(n,r)}function zr(e){Pr(e).forEach(e=>{e.dataset.tabindex=e.getAttribute(`tabindex`)||``,e.setAttribute(`tabindex`,`-1`)})}function Br(e){let t=[];jr(e,`[data-tabindex]`,t),t.forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute(`tabindex`,t):e.removeAttribute(`tabindex`)})}function Vr(e,t){let n=At(e);return Y(()=>(t(n),()=>{t(e=>e===n?void 0:e)}),[n,t]),n}function Hr(e){Z.useEffect(e,Se)}var Ur=0,Wr=class e{static create(){return new e}currentId=Ur;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=Ur,t()},e)}isStarted(){return this.currentId!==Ur}clear=()=>{this.currentId!==Ur&&(clearTimeout(this.currentId),this.currentId=Ur)};disposeEffect=()=>this.clear};function Gr(){let e=L(Wr.create).current;return Hr(e.disposeEffect),e}var Kr=Z.createContext({disabled:!1});function qr(){return Z.useContext(Kr)}var Jr=null;globalThis.requestAnimationFrame;var Yr=new class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n<t.length;n+=1)t[n]?.(e)};request(e){let t=this.nextId;return this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1,this.isScheduled||=(requestAnimationFrame(this.tick),!0),t}cancel(e){let t=e-this.startId;t<0||t>=this.callbacks.length||this.callbacks[t]!==null&&(this.callbacks[t]=null,--this.callbacksCount)}},Xr=class e{static create(){return new e}static request(e){return Yr.request(e)}static cancel(e){return Yr.cancel(e)}currentId=Jr;request(e){this.cancel(),this.currentId=Yr.request(()=>{this.currentId=Jr,e()})}cancel=()=>{this.currentId!==Jr&&(Yr.cancel(this.currentId),this.currentId=Jr)};disposeEffect=()=>this.cancel};function Zr(){let e=L(Xr.create).current;return Hr(e.disposeEffect),e}function Qr(e){return e==null?e:`current`in e?e.current:e}function $r(e,t){return e.getAnimations(t).filter(e=>{let t=e.effect?.getTiming();return t?.duration!==1/0&&t?.iterations!==1/0})}var ei=e(k(),1),ti=null;function ni(e){if(!ti){let e=[];ti=e,queueMicrotask(()=>{ti=null,ei.flushSync(()=>{for(let t of e)t()})})}ti.push(e)}function ri(e,t=!1,n=!1){let r=Zr();return W((i,a=null)=>{r.cancel();let o=Qr(e);if(o==null)return;let s=o,c=()=>{n?ni(()=>{a?.aborted||i()}):ei.flushSync(i)};if(typeof s.getAnimations!=`function`||globalThis.BASE_UI_ANIMATIONS_DISABLED){i();return}function l(){Promise.all($r(s).map(e=>e.finished.then(K))).then(()=>{a?.aborted||c()},()=>{a?.aborted||($r(s).some(e=>e.pending||e.playState!==`finished`)?l():c())})}if(t){let e=on;if(!s.hasAttribute(e)){r.request(l);return}let t=new MutationObserver(()=>{s.hasAttribute(e)||(t.disconnect(),l())});t.observe(s,{attributes:!0,attributeFilter:[e]}),a?.addEventListener(`abort`,()=>t.disconnect(),{once:!0})}else r.request(l)})}function ii(e){let{enabled:t=!0,open:n,ref:r,batch:i=!1,onComplete:a}=e,o=W(a),s=ri(r,n,i);Z.useEffect(()=>{if(!t)return;let e=new AbortController;return s(o,e.signal),()=>{e.abort()}},[t,n,o,s])}function ai(e,t=!1,n=!1,r=!1){let[i,a]=Z.useState(e&&t?`idle`:void 0),[o,s]=Z.useState(e&&!r);return e&&!o&&(s(!0),a(`starting`)),!e&&o&&i!==`ending`&&!n&&a(`ending`),!e&&!o&&i===`ending`&&a(void 0),Y(()=>{if(!e&&o&&i!==`ending`&&n){let e=Xr.request(()=>{a(`ending`)});return()=>{Xr.cancel(e)}}},[e,o,i,n]),Y(()=>{if(!e||t||i===void 0)return;let n=Xr.request(()=>{a(void 0)});return()=>{Xr.cancel(n)}},[t,e,i]),Y(()=>{if(!e||!t)return;e&&o&&i!==`idle`&&a(`starting`);let n=Xr.request(()=>{a(`idle`)});return()=>{Xr.cancel(n)}},[t,e,o,i]),{mounted:o,setMounted:s,transitionStatus:i}}function oi(e,t,n){let{setFocused:r,focusOwnerRef:i}=St(),a=W(t=>{(t?!e:i.current===a)&&(i.current=t&&a,n?.(t),r(t))});return Y(()=>{let e=t.current;return e?.getRootNode()?.activeElement===e&&a(!0),()=>a(!1)},[e,t,a]),a}function si(e,t,n,r,i=!0,a){let{registerFieldControl:o}=St(),s=L(()=>Symbol());Y(()=>{let c=s.current;i?o(c,{controlRef:e,getValue:r,id:t,name:a,value:n}):o(c,void 0)},[e,i,r,t,a,o,s,n]),Y(()=>{let e=s.current;return()=>{o(e,void 0)}},[o,s])}function ci(e,t){let n=Z.useRef(e),r=W(t);Y(()=>{n.current!==e&&r(n.current),n.current=e},[e,r])}function li(e,t,n,r){let i=!1,a=!1,o=r??de;return{reason:e,event:t??new Event(`base-ui`),cancel(){i=!0},allowPropagation(){a=!0},get isCanceled(){return i},get isPropagationAllowed(){return a},trigger:n,...o}}function ui(e,t,n){let r=n??de;return{reason:e,event:t??new Event(`base-ui`),...r}}var di=`none`,fi=`trigger-press`,pi=`outside-press`,mi=`item-press`,hi=`track-press`,gi=`input-change`,_i=`focus-out`,vi=`escape-key`,yi=`list-navigation`,bi=`keyboard`,xi=`drag`,Si=`cancel-open`,Ci=`disabled`,wi=`missing`,Ti=`initial`,Ei=`imperative-action`,Di=`window-resize`,Oi=Z.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:g,setDirty:_,validityData:v,setFilled:y,validationMode:b,validation:x}=St(),{clearErrors:S,elementRef:C,submitCountRef:w}=wt(),T=h||s,E=m??a,D={...p,disabled:T},{labelId:O}=Mt(),k=It({id:i}),A=o!==void 0,j=o==null?void 0:String(o),M=W(()=>x.inputRef.current?.value);si(x.inputRef,k,j,M,!T,a),Y(()=>{let e=j??x.inputRef.current?.value;e!==void 0&&y(e!==``)},[j,l,x.inputRef,y]),ci(j,()=>{j!==void 0&&(S(E),_(j!==(v.initialValue??``)),x.change(j))});let N=Z.useRef(null),P=oi(T,N),F=Gr();return ue(`input`,e,{ref:[t,N],state:D,props:[{id:k,disabled:T,name:E,ref:x.inputRef,"aria-labelledby":O,autoFocus:u,...A?{value:o}:{defaultValue:l},onChange(e){let t=e.currentTarget.value,n=li(di,e.nativeEvent);c?.(t,n),!A&&(_(t!==(v.initialValue??``)),y(t!==``),!e.nativeEvent.defaultPrevented&&!n.isCanceled&&(S(E),x.change(t)))},onFocus(){P(!0)},onBlur(e){if(g(!0),P(!1),b===`onBlur`){let t=e.currentTarget.value;x.commit(t),A&&queueMicrotask(()=>{let e=x.inputRef.current?.value;e!==void 0&&e!==t&&e!==(v.initialValue??``)&&x.commit(e)})}},onKeyDown(e){if(e.currentTarget.tagName===`INPUT`&&e.key===`Enter`){g(!0);let t=e.currentTarget.value,n=e.currentTarget.form;if(n&&n===C.current&&!e.defaultPrevented){let t=e.currentTarget,n=w.current;F.start(0,()=>{w.current===n&&x.commit(t.value)})}else x.commit(t)}}},f,e=>x.getValidationProps(T,e)],stateAttributesMapping:yt})}),$=j(),ki=Z.forwardRef(function(e,t){return(0,$.jsx)(Oi,{ref:t,...e})});function Ai({className:e,type:t,...n}){return(0,$.jsx)(ki,{type:t,"data-slot":`input`,className:J(`h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,e),...n})}function ji({className:e,...t}){return(0,$.jsx)(`kbd`,{"data-slot":`kbd`,className:J(`pointer-events-none inline-flex h-5 min-w-5 items-center justify-center rounded-sm bg-muted px-1 font-sans text-xs font-medium text-muted-foreground select-none`,e),...t})}function Mi({className:e,...t}){return(0,$.jsx)(`span`,{"data-slot":`kbd-group`,className:J(`inline-flex items-center gap-1`,e),...t})}function Ni({controlled:e,default:t,name:n,state:r=`value`}){let{current:i}=Z.useRef(e!==void 0),[a,o]=Z.useState(()=>t);return[i&&e!==void 0?e:a,Z.useCallback(e=>{i||o(e)},[])]}var Pi=Z.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},nextIndexRef:{current:0}});function Fi(){return Z.useContext(Pi)}function Ii(e){let{children:t,elementsRef:n,labelsRef:r,onMapChange:i}=e,a=W(i),[,o]=Z.useState(0),s=L(Ri).current,c=L(Li).current,l=Z.useRef(0),u=Z.useRef(!0),d=Z.useRef(null),f=Z.useRef(null),p=W(()=>{u.current||(u.current=!0,o(e=>e+1))}),m=W((e,t)=>{c.set(e,t),p()}),h=W(e=>{c.delete(e),p()}),g=W(e=>{let t=new Map;return n.current.length=0,r&&(r.current.length=0),e.forEach(e=>{t.set(e.element,{...e.registration.metadata??{},index:e.index}),n.current[e.index]=e.element,r&&(r.current[e.index]=e.registration.label===void 0?e.registration.textRef?.current?.textContent??e.element.textContent:e.registration.label)}),l.current=n.current.length,t});function _(e){if(f.current?.disconnect(),f.current=null,typeof MutationObserver!=`function`||e.length<2)return;let t=new MutationObserver(n=>{if(!Vi(n))return;let r=null;for(let n of e)if(n.isConnected){if(r&&Hi(r,n)>0){t.disconnect(),p();return}r=n}});f.current=t;let n=new Set;for(let t=1;t<e.length;t+=1){let r=Bi(e[t-1],e[t]);r&&n.add(r)}n.forEach(e=>t.observe(e,{childList:!0}))}let v=W(()=>{let[e,t]=zi(c),n=g(e),r=d.current,i=!r||r.length!==e.length||e.some((e,t)=>{let n=r[t];return e.index!==n.index||e.element!==n.element||e.registration.index!==n.registration.index||e.registration.metadata!==n.registration.metadata});_(t),d.current=e,u.current=!1,i&&(s.forEach(e=>e(n)),a(n))});Y(()=>(!u.current&&d.current&&g(d.current),()=>{n.current=[],r&&(r.current=[])}),[n,r,g]),Y(()=>{u.current&&v()}),Y(()=>()=>{f.current?.disconnect(),u.current=!0},[]);let y=W(e=>(s.add(e),()=>{s.delete(e)})),b=Z.useMemo(()=>({register:m,unregister:h,subscribeMapChange:y,nextIndexRef:l}),[m,h,y,l]);return(0,$.jsx)(Pi.Provider,{value:b,children:t})}function Li(){return new Map}function Ri(){return new Set}function zi(e){let t=new Set,n=[],r=[];e.forEach((e,i)=>{if(!i.isConnected)return;let a=e.index,o={index:a??-1,element:i,registration:e};a===null?r.push(o):a>=0&&(t.add(a),n.push(o))});let i=0;return r.sort((e,t)=>Hi(e.element,t.element)),r.forEach(e=>{for(;t.has(i);)i+=1;e.index=i,n.push(e),i+=1}),t.size>0&&n.sort((e,t)=>e.index-t.index),[n,r.map(e=>e.element)]}function Bi(e,t){let n=e.parentElement;for(;n&&!n.contains(t);)n=n.parentElement;return n}function Vi(e){for(let t of e)for(let e=0;e<t.removedNodes.length;e+=1)if(t.removedNodes[e].isConnected)return!0;return!1}function Hi(e,t){return e.nextElementSibling===t?-1:t.nextElementSibling===e?1:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}function Ui(e={}){let{guess:t,label:n,metadata:r,textRef:i,index:a}=e,{register:o,unregister:s,subscribeMapChange:c,nextIndexRef:l}=Fi(),u=Z.useRef(-1),[d,f]=Z.useState(a==null&&t?()=>{if(u.current===-1){let e=l.current;l.current+=1,u.current=e}return u.current}:-1),p=a??d,m=Z.useRef(null),h=Z.useCallback(e=>{let t=m.current;t&&s(t),m.current=e,e&&o(e,{metadata:r??null,index:a??null,label:n,textRef:i})},[a,o,s,r,n,i]);return Y(()=>{if(a==null)return c(e=>{let t=m.current?e.get(m.current)?.index:null;t!=null&&f(t)})},[a,c]),{ref:h,index:p}}function Wi(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function Gi(e){let t=L(Ki,e).current;return t.next=e,Y(t.effect),t}function Ki(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}var qi={clipPath:`inset(50%)`,overflow:`hidden`,whiteSpace:`nowrap`,border:0,padding:0,width:1,height:1,margin:-1},Ji={...qi,position:`fixed`,margin:0,top:0,left:0},Yi={...qi,position:`absolute`},Xi=Z.createContext(void 0);function Zi(){let e=Z.useContext(Xi);if(e===void 0)throw Error(Te(63));return e}var Qi=`data-checked`,$i=`data-unchecked`,ea={...yt,checked(e){return e?{[Qi]:``}:{[$i]:``}}},ta=Z.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:h,uncheckedValue:g,value:_,style:v,...y}=e,{clearErrors:b}=wt(),{state:x,setTouched:S,setDirty:C,validityData:w,setFilled:T,validationMode:E,disabled:D,name:O,validation:k}=St(),{labelId:A}=Mt(),j=D||m,M=O??l,N=Z.useRef(null),P=ge(N,c,k.inputRef),F=Z.useRef(null),I=oi(j,F),L=At(),R=It({id:s}),z=u?void 0:R,[B,V]=Ni({controlled:n,default:!!i,name:`Switch`,state:`checked`});si(F,L,B,void 0,!j,l),Y(()=>{T(B)},[B,T]),ci(B,()=>{b(M),C(B!==w.initialValue),k.change(B)});let{getButtonProps:H,buttonRef:ee}=pe({disabled:j,native:u}),te=Nt(a,A,N,!u,z,y[`aria-label`]),ne={id:u?R:L,role:`switch`,"aria-checked":B,"aria-readonly":f||void 0,"aria-required":p||void 0,"aria-labelledby":te,onFocus(){I(!0)},onBlur(){let e=N.current;e&&!j&&(S(!0),I(!1),E===`onBlur`&&k.commit(e.checked))},onClick(e){if(f||j)return;e.preventDefault();let t=N.current;t&&fe(t,e)}},U={...k.getValidationProps(j),checked:B,disabled:j,form:o,id:z,name:M,required:p,style:M?Yi:Ji,tabIndex:-1,type:`checkbox`,"aria-hidden":!0,ref:P,onChange(e){if(e.nativeEvent.defaultPrevented)return;if(f){e.preventDefault();return}let t=e.currentTarget.checked,n=li(di,e.nativeEvent);d?.(t,n),!n.isCanceled&&V(t)},onClick(e){e.stopPropagation()},onFocus(){F.current?.focus()},..._===void 0?de:{value:_}},re=Z.useMemo(()=>({...x,checked:B,disabled:j,readOnly:f,required:p}),[x,B,j,f,p]),ie=ue(`span`,e,{state:re,ref:[t,F,ee],props:[ne,y,H,e=>k.getValidationProps(j,e)],stateAttributesMapping:ea});return(0,$.jsxs)(Xi.Provider,{value:re,children:[ie,!B&&M&&g!==void 0&&(0,$.jsx)(`input`,{type:`hidden`,form:o,name:M,value:g,disabled:j}),(0,$.jsx)(`input`,{...U,suppressHydrationWarning:!0})]})}),na=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,o=Zi();return ue(`span`,e,{state:o,ref:t,stateAttributesMapping:ea,props:a})});function ra({className:e,...t}){return(0,$.jsx)(ta,{"data-slot":`switch`,className:J(`inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border border-transparent bg-input transition-colors outline-none data-checked:bg-primary focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50`,e),...t,children:(0,$.jsx)(na,{"data-slot":`switch-thumb`,className:`pointer-events-none block size-4 translate-x-0.5 rounded-full bg-background shadow-sm transition-transform data-checked:translate-x-4 data-checked:bg-primary-foreground`})})}function ia(e){if(!e)return null;for(let t of e.elements){let e=t.tagName;if(e===`BUTTON`||e===`INPUT`){let e=t;if(e.type===`submit`)return e}}return null}var aa=`data-checked`,oa=`data-unchecked`;function sa(e){return{checked(t){return e.indeterminate?{}:t?{[aa]:``}:{[oa]:``}},...yt}}var ca=Z.createContext(void 0);function la(){return Z.useContext(ca)}var ua=Z.createContext(void 0);function da(){let e=Z.useContext(ua);if(e===void 0)throw Error(Te(14));return e}var fa=`data-parent`,pa=Z.forwardRef(function(e,t){let{checked:n,className:r,defaultChecked:i=!1,"aria-labelledby":a,disabled:o=!1,form:s,id:c,indeterminate:l=!1,inputRef:u,name:d,onCheckedChange:f,parent:p=!1,readOnly:m=!1,render:h,required:g=!1,uncheckedValue:_,value:v,nativeButton:y=!1,style:b,...x}=e,{clearErrors:S}=wt(),{disabled:C,name:w,setDirty:T,setFilled:E,setTouched:D,state:O,validationMode:k,validityData:A,validation:j}=St(),M=qr(),{labelId:N,registerControlId:P,getDescriptionProps:F}=Mt(),I=la(),L=I?.allValues===void 0?void 0:I.parent,R=L!==void 0,z=C||M.disabled||I?.disabled||o,B=w??d,V=v??B,H=At(),ee=I?.registerControlId!==P,te=It({id:c||void 0,enabled:ee}),U=y?te:H,re={};R&&(p?re=L.getParentProps():V!==void 0&&(re=L.getChildProps(V)));let{checked:ie=n,indeterminate:W=l,onCheckedChange:G,...ae}=re,oe=I?.value,se=Z.useRef(null),ce=oi(z,se),{getButtonProps:K,buttonRef:me}=pe({disabled:z,native:y}),q=I?.validation??j,[he,_e]=Ni({controlled:V!==void 0&&oe!==void 0&&!p?oe.includes(V):ie,default:i,name:`Checkbox`,state:`checked`}),J=R?!!ie:he,ve=R&&W||l;si(se,H,he,void 0,!I&&!z,d);let ye=L?.registerChildId,be=Z.useRef(null),xe=q.registerInput,Se=I?V:void 0,Ce=Z.useCallback(e=>xe(e,{controlRef:se,value:Se}),[xe,Se]),we=ge(u,be,p?void 0:Ce),Te=Nt(a,N,be,!y,te,x[`aria-label`]);Y(()=>{be.current&&(be.current.indeterminate=ve),I||E(he)},[he,ve,I,E]),ci(he,()=>{I||(S(B),T(he!==A.initialValue),q.change(he))});let Ee=le({checked:he,disabled:z,form:s,name:p?void 0:B,id:y?void 0:te,required:g,ref:we,style:B?Yi:Ji,tabIndex:-1,type:`checkbox`,"aria-hidden":!0,onChange(e){if(e.nativeEvent.defaultPrevented)return;if(m){e.preventDefault();return}let t=e.currentTarget.checked,n=li(di,e.nativeEvent);if(f?.(t,n),!n.isCanceled&&(G?.(t,n),!n.isCanceled&&(_e(t),V!==void 0&&I!==void 0&&!p&&!R))){let e=t?[...I.value,V]:I.value.filter(e=>e!==V);I.setValue(e,n)}},onClick(e){e.stopPropagation()},onFocus(){se.current?.focus()}},v===void 0?de:{value:(I?he&&v:v)||``},F,e=>q.getValidationProps(z,e));Z.useEffect(()=>{if(!L||V===void 0)return;let e=L.disabledStatesRef.current;return e.set(V,z),()=>{e.delete(V)}},[L,z,V]);let X=Z.useMemo(()=>({...O,checked:J,disabled:z,readOnly:m,required:g,indeterminate:ve}),[O,J,z,m,g,ve]),De=sa(X),Oe=ue(`span`,e,{state:X,ref:[me,se,t],props:[{id:U,role:`checkbox`,"aria-checked":ve?`mixed`:J,"aria-readonly":m||void 0,"aria-required":g||void 0,"aria-labelledby":Te,[fa]:p?``:void 0,onFocus(){ce(!0)},onBlur(){let e=be.current;e&&(D(!0),ce(!1),k===`onBlur`&&q.commit(I?oe:e.checked))},onKeyDown(e){if(e.key!==`Enter`||(e.preventBaseUIHandler(),e.defaultPrevented))return;let t=be.current?.form??null,n=e.currentTarget,r=e.nativeEvent,i=e.preventDefault,a=r.preventDefault,o=!1;e.preventDefault=()=>{o=!0,i.call(e)},r.preventDefault=()=>{o=!0,a.call(r)},a.call(r),ne(n).queueMicrotask(()=>{e.preventDefault=i,r.preventDefault=a,o||ia(t)?.click()})},onClick(e){if(m||z)return;e.preventDefault();let t=be.current;t&&fe(t,e)}},x,ae,K,F,e=>q.getValidationProps(z,e)],stateAttributesMapping:De}),ke=Oe.props.id;return Y(()=>{if(ye&&!p&&V!==void 0&&ke!==void 0)return ye(V,ke)},[ye,p,V,ke]),(0,$.jsxs)(ua.Provider,{value:X,children:[Oe,!he&&!I&&B&&!p&&_!==void 0&&(0,$.jsx)(`input`,{type:`hidden`,form:s,name:B,value:_,disabled:z}),(0,$.jsx)(`input`,{...Ee,suppressHydrationWarning:!0})]})}),ma=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,keepMounted:a=!1,...o}=e,s=da(),c=s.checked||s.indeterminate,{mounted:l,transitionStatus:u,setMounted:d}=ai(c),f=Z.useRef(null),p={...s,transitionStatus:u};ii({batch:!0,enabled:!c,open:c,ref:f,onComplete(){c||d(!1)}});let m={...sa(s),...un},h=a||l,g=ue(`span`,e,{ref:[t,f],state:p,stateAttributesMapping:m,props:o});return h?g:null});function ha({className:e,...t}){return(0,$.jsx)(pa,{"data-slot":`checkbox`,className:J(`peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 group-has-[:focus-visible]/field-label:ring-0 group-has-[:focus-visible]/field-label:not-data-checked:border-input after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground group-has-[:focus-visible]/field-label:data-checked:border-primary dark:data-checked:bg-primary`,e),...t,children:(0,$.jsx)(ma,{"data-slot":`checkbox-indicator`,className:`grid place-content-center text-current transition-none [&>svg]:size-3.5`,children:(0,$.jsx)(tt,{})})})}function ga(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function _a(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}function va(e){return e==null?void 0:`${e}-label`}function ya(e,t){return e??t}function ba(e,t){return e-t}function xa(e,t,n,r,i,a){let o=ga(e,n,r);if(!i)return o;let s=a.slice();return s[t]=ga(o,a[t-1]??-1/0,a[t+1]??1/0),s.sort(ba)}function Sa(e,t,n){if(!Array.isArray(e))return!0;let r=t*n;for(let t=0;t<e.length-1;t+=1)if(!(Math.abs(e[t]-e[t+1])>=r))return!1;return!0}var Ca=()=>null,wa={activeThumbIndex:Ca,max:Ca,min:Ca,minStepsBetweenValues:Ca,step:Ca,values:Ca,...yt},Ta=Z.createContext(void 0);function Ea(){let e=Z.useContext(Ta);if(e===void 0)throw Error(Te(62));return e}function Da(e,t){return e===t||Array.isArray(e)&&Array.isArray(t)&&_a(e,t)}var Oa=Z.forwardRef(function(e,t){let{"aria-labelledby":n,className:r,defaultValue:i,disabled:a=!1,id:o,format:s,largeStep:c=10,locale:l,render:u,max:d=100,min:f=0,minStepsBetweenValues:p=0,form:m,name:h,onValueChange:g,onValueCommitted:_,orientation:v=`horizontal`,step:y=1,thumbCollisionBehavior:b=`push`,thumbAlignment:x=`center`,value:S,style:C,...w}=e,T=At(o),E=va(T),D=W(g),O=W(_),{clearErrors:k}=wt(),{state:A,disabled:j,name:M,setTouched:N,setDirty:P,validityData:F,validation:I}=St(),{labelId:L}=Mt(),[R,z]=Z.useState(),B=n??ya(L,R),V=j||a,H=M??h,[ee,te]=Ni({controlled:S,default:i??f,name:`Slider`}),ne=Z.useRef(null),U=Z.useRef(null),re=Z.useRef([]),ie=Z.useRef(null),G=Z.useRef(-1),ae=Z.useRef(null),oe=Z.useRef(di),[se,ce]=Z.useState(-1),[le,de]=Z.useState(-1),[K,fe]=Z.useState(!1),[pe,me]=Z.useState(()=>new Map),[q,he]=Z.useState([void 0,void 0]),ge=W(e=>{ce(e),e!==-1&&de(e)}),_e=W(e=>{e&&(U.current=e)}),J=Array.isArray(ee),ve=Z.useMemo(()=>J?ee.map(e=>ga(e,f,d)).sort(ba):[ga(ee,f,d)],[d,f,J,ee]),ye=J?ve:ve[0];si(I.inputRef,T,ye,void 0,!V,h),ci(ye,()=>{k(H),I.change(ye);let e=F.initialValue,t;t=Array.isArray(ye)&&Array.isArray(e)?!_a(ye,e):ye!==e,P(t)});let be=W((e,t)=>{if(Number.isNaN(e)||Da(e,ee))return!1;let n=t.event,r=n.constructor,i=new r(n.type,n);return Object.defineProperty(i,"target",{writable:!0,value:{value:e,name:H}}),t.event=i,D(e,t),!t.isCanceled&&(oe.current=t.reason,te(e),!0)}),xe=W((e,t,n)=>{let r=xa(e,t,f,d,J,ve);if(Sa(r,y,p)){let e=`key`in n?bi:gi,i=be(r,li(e,n.nativeEvent,void 0,{activeThumbIndex:t}));N(!0),i&&O(r,ui(e,n.nativeEvent))}});Y(()=>{if(!V)return;let e=Zt(X(ne.current));Q(ne.current,e)&&e.blur(),se!==-1&&ge(-1)},[se,V,ge]);let Se=Z.useMemo(()=>({...A,activeThumbIndex:se,disabled:V,dragging:K,orientation:v,max:d,min:f,minStepsBetweenValues:p,step:y,values:ve}),[A,se,V,K,d,f,p,v,y,ve]),Ce=Z.useMemo(()=>({active:se,controlRef:U,disabled:V,dragging:K,validation:I,format:s,handleInputChange:xe,indicatorPosition:q,inset:x!==`center`,isArrayValue:J,labelId:B,rootLabelId:E,largeStep:c,lastUsedThumbIndex:le,lastChangeReasonRef:oe,form:m,locale:l,max:d,min:f,minStepsBetweenValues:p,name:H,onValueCommitted:O,orientation:v,pressedThumbCenterOffsetRef:ie,pressedThumbIndexRef:G,pressedValuesRef:ae,registerFieldControlRef:_e,renderBeforeHydration:x===`edge`,setActive:ge,setDragging:fe,setIndicatorPosition:he,setLabelId:z,setValue:be,state:Se,step:y,thumbCollisionBehavior:b,thumbMap:pe,thumbRefs:re,values:ve}),[se,B,E,V,K,I,s,xe,q,c,le,m,l,d,f,p,H,O,v,J,_e,ge,be,Se,y,b,x,pe,ve]),we=ue(`div`,e,{state:Se,ref:[t,ne],props:[{"aria-labelledby":B,id:T,role:`group`},w,e=>I.getValidationProps(V,e)],stateAttributesMapping:wa});return(0,$.jsx)(Ta.Provider,{value:Ce,children:(0,$.jsx)(Ii,{elementsRef:re,onMapChange:me,children:we})})});function ka(e){return Array.isArray(e)?e.map(e=>ka(e)).join(`,`):e==null?``:String(e)}var Aa=new Map;function ja(e,t){let n=JSON.stringify({locale:ka(e),options:t}),r=Aa.get(n);if(r)return r;let i=new Intl.NumberFormat(e,t);return Aa.set(n,i),i}function Ma(e,t,n){return e==null?``:ja(t,n).format(e)}var Na=Z.createContext(void 0);function Pa(){return Z.useContext(Na)?.direction??`ltr`}function Fa(e){return e===`touch`||e===`pen`}function Ia(e,t){let n=e.getBoundingClientRect();return t?(n.top+n.bottom)/2:(n.left+n.right)/2}function La(e){if(e===0)return 0;if(Math.abs(e)<1){let t=e.toExponential().split(`e-`),n=t[0].split(`.`)[1];return(n?n.length:0)+parseInt(t[1],10)}let t=e.toString().split(`.`)[1];return t?t.length:0}function Ra(e,t,n){let r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(Math.max(La(t),La(n))))}function za(e,t,n,r,i,a,o,s){let c=e.slice(),l=a*o,u=c.length-1,d=s??e;c[t]=ga(n,r+t*l,i-(u-t)*l);for(let e=t+1;e<=u;e+=1){let t=c[e-1]+l,n=i-(u-e)*l,r=d[e],a=Math.max(c[e],t);r<a&&(a=Math.max(r,t)),c[e]=ga(a,t,n)}for(let e=t-1;e>=0;--e){let t=c[e+1]-l,n=r+e*l,i=d[e],a=Math.min(c[e],t);i>a&&(a=Math.min(i,t)),c[e]=ga(a,n,t)}for(let e=0;e<=u;e+=1)c[e]=Number(c[e].toFixed(12));return c}function Ba(e,t,n,r,i,a,o,s,c,l){let u=n??t,d=r??t;if(!(u.length>1))return{value:a,thumbIndex:0,didSwap:!1};let f=c*l;if(e===`push`)return{value:za(u,i,a,o,s,c,l),thumbIndex:i,didSwap:!1};let p=u.slice(),m=p[i-1],h=p[i+1],g=m==null?o:m+f,_=h==null?s:h-f,v=Number(ga(a,g,_).toFixed(12));switch(p[i]=v,e){case`swap`:{let e=u[i],t=1e-7,n=a>e,r=a<e,g=n&&h!=null&&a>=h-t,_=r&&m!=null&&a<=m+t;if(!g&&!_)return{value:p,thumbIndex:i,didSwap:!1};let y=g?i+1:i-1,b=p.map((e,t)=>t===i?v:d[t]??u[t]),x=a;x=g?Math.max(a,p[y]):Math.min(a,p[y]);let S=za(p,y,x,o,s,c,l,b),C=g?y-1:y+1,w=S[C-1],T=S[C+1],E=w==null?o:w+f;E=Math.max(E,o+C*f);let D=T==null?s:T-f;D=Math.min(D,s-(S.length-1-C)*f);let O=ga(v,E,D);return S[C]=Number(O.toFixed(12)),{value:S,thumbIndex:y,didSwap:!0}}default:return{value:p,thumbIndex:i,didSwap:!1}}}var Va=2;function Ha(e,t){if(!e)return{start:0,end:0};function n(e){let t=e==null?0:parseFloat(e);return Number.isNaN(t)?0:t}let r=t?`Top`:`InlineStart`,i=t?`Bottom`:`InlineEnd`;return{start:n(e[`border${r}Width`])+n(e[`padding${r}`]),end:n(e[`border${i}Width`])+n(e[`padding${i}`])}}function Ua(e,t){if(t.current!=null&&e.changedTouches){let n=e;for(let e=0;e<n.changedTouches.length;e+=1){let r=n.changedTouches[e];if(r.identifier===t.current)return{x:r.clientX,y:r.clientY}}return null}return{x:e.clientX,y:e.clientY}}var Wa=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,{disabled:o,dragging:s,inset:c,isArrayValue:l,lastChangeReasonRef:u,max:d,min:f,minStepsBetweenValues:p,onValueCommitted:m,orientation:h,pressedThumbCenterOffsetRef:g,pressedThumbIndexRef:_,pressedValuesRef:v,registerFieldControlRef:y,renderBeforeHydration:b,setActive:x,setDragging:S,setValue:C,state:w,step:T,thumbCollisionBehavior:E,thumbRefs:D,values:O}=Ea(),k=Pa(),A=O.length>1,j=h===`vertical`,M=Z.useRef(null),N=Z.useRef(null),P=W(e=>{e&&N.current==null&&(N.current=ne(e).getComputedStyle(e))}),F=Z.useRef(null),I=Z.useRef(0),L=Z.useRef(0),R=Z.useRef(null),z=Z.useRef(!1),V=Gi(O);function H(e){return e?.querySelector(`input[type="range"]`)}function ee(e){_.current=e,D.current[e]||(g.current=null)}function te(){_.current=-1,g.current=null}function U(e){return B(e)?D.current.some(t=>!B(t)||!Q(t,e)?!1:H(t)?.disabled===!0):!1}function re(e){let t=M.current,n=_.current;if(!t||n<0||n>=O.length)return n>=O.length&&(R.current=null),null;let{width:r,height:i,bottom:a,left:o,right:s}=t.getBoundingClientRect(),c=Ha(N.current,j),u=L.current,m=(j?i:r)-c.start-c.end-u*2,h=g.current??0,y=e.x-h,b=e.y-h,x=ga(((j?a-b-c.end:(k===`rtl`?s-y:y-o)-c.start)-u)/m,0,1),S=(d-f)*x+f;return S=Ra(S,T,f),S=ga(S,f,d),A?Ba(E,O,V.current,v.current,n,S,f,d,T,p):{value:l?[S]:S,thumbIndex:n,didSwap:!1}}function ie(e){v.current=A?O.slice():null,R.current=null,V.current=O;let t=_.current,n=t;if(t>-1&&t<O.length){if(O[t]===d){let e=t;for(;e>0&&O[e-1]===d;)--e;n=e}}else{let t=j?`y`:`x`,r;n=-1;for(let i=0;i<D.current.length;i+=1){let a=D.current[i];if(B(a)&&!H(a)?.disabled){let o=Ia(a,j),s=Math.abs(e[t]-o);(r===void 0||s<=r)&&(n=i,r=s)}}}if(n>-1&&n!==t&&ee(n),c){let e=D.current[n];if(B(e)){let t=e.getBoundingClientRect();L.current=t[j?`height`:`width`]/2}}}function G(e){let t=H(D.current?.[e]);t&&t.focus({preventScroll:!0,focusVisible:!1})}function ae(e,t,n){let r=C(e.value,li(t,n,void 0,{activeThumbIndex:e.thumbIndex}));return r&&(R.current=e.value,V.current=Array.isArray(e.value)?e.value:[e.value],e.didSwap&&(ee(e.thumbIndex),G(e.thumbIndex))),r}let oe=W(e=>{let t=Ua(e,F);if(t==null)return;if(I.current+=1,e.type===`pointermove`&&e.buttons===0){se(e);return}let n=re(t);n!=null&&Sa(n.value,T,p)&&(!s&&I.current>Va&&S(!0),ae(n,xi,e))}),se=W(e=>{if(Ua(e,F)==null)return;x(-1),S(!1),g.current=null;let t=R.current;if(Array.isArray(t)&&t.length!==O.length&&(R.current=null),R.current!=null){let t=u.current;m(R.current,ui(t,e))}`pointerType`in e&&M.current?.hasPointerCapture(e.pointerId)&&M.current?.releasePointerCapture(e.pointerId),_.current=-1,de()}),ce=W(e=>{F.current??se(e)}),le=W(e=>{let t=z.current;if(z.current=!1,o)return;if(U($t(e))){te();return}let n=e.changedTouches[0];if(n==null)return;if(F.current=n.identifier,!t){let t={x:n.clientX,y:n.clientY};ie(t);let r=re(t);if(r==null)return;G(r.thumbIndex),ae(r,hi,e),I.current=0}let r=X(M.current);r.addEventListener(`touchmove`,oe,{passive:!0}),r.addEventListener(`touchend`,se,{passive:!0}),r.addEventListener(`touchcancel`,se,{passive:!0})}),de=W(()=>{let e=X(M.current);e.removeEventListener(`pointermove`,oe),e.removeEventListener(`pointerup`,se),e.removeEventListener(`pointercancel`,ce),e.removeEventListener(`touchmove`,oe),e.removeEventListener(`touchend`,se),e.removeEventListener(`touchcancel`,se),F.current=null,v.current=null,R.current=null,z.current=!1}),K=Zr();return Z.useEffect(()=>{let e=M.current;if(!e)return()=>de();let t=Wi(e,`touchstart`,le,{passive:!0});return()=>{t(),K.cancel(),de()}},[de,le,M,K]),Z.useEffect(()=>{o&&de()},[o,de]),ue(`div`,e,{state:w,ref:[t,y,M,P],props:[{"data-base-ui-slider-control":b?``:void 0,onPointerDown(e){z.current=!1;let t=M.current,n=$t(e.nativeEvent);if(!t||o||e.defaultPrevented||!B(n)||e.button!==0)return;if(U(n)){te();return}let r={x:e.clientX,y:e.clientY};ie(r);let i=re(r);if(i==null)return;Q(D.current[i.thumbIndex],Zt(X(t)))?e.preventDefault():K.request(()=>{G(i.thumbIndex)}),S(!0),g.current??ae(i,hi,e.nativeEvent),e.nativeEvent.pointerId&&t.setPointerCapture(e.nativeEvent.pointerId),I.current=0,z.current=Fa(e.pointerType);let a=X(t);a.addEventListener(`pointermove`,oe,{passive:!0}),a.addEventListener(`pointerup`,se,{once:!0}),a.addEventListener(`pointercancel`,ce,{once:!0})}},a],stateAttributesMapping:wa})}),Ga=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,{state:o}=Ea();return ue(`div`,e,{state:o,ref:t,props:[{style:{position:`relative`}},a],stateAttributesMapping:wa})}),Ka=t((e=>{var t=A();function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var d=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;e.useSyncExternalStore=t.useSyncExternalStore===void 0?d:t.useSyncExternalStore})),qa=t(((e,t)=>{t.exports=Ka()})),Ja=qa(),Ya=()=>()=>{},Xa=()=>!0,Za=()=>!1;function Qa(){return(0,Ja.useSyncExternalStore)(Ya,Xa,Za)}function $a(){let[e,t]=Z.useState(!1);return Z.useEffect(()=>{t(!0)},[]),e}var eo=ve(18)?Qa:$a;function to(){return!eo()}function no(e,t,n){return(e-t)*100/(n-t)}var ro=`ArrowUp`,io=`ArrowDown`,ao=`ArrowLeft`,oo=`ArrowRight`,so=`Home`,co=`PageUp`,lo=`PageDown`,uo=new Set([ro,io,ao,oo,so,`End`]),fo=[`Shift`,`Control`,`Alt`,`Meta`];function po(e){return H(e)&&e.tagName===`INPUT`}function mo(e){return!!(po(e)&&e.selectionStart!=null||H(e)&&e.tagName===`TEXTAREA`)}function ho(e,t,n,r){if(!e||!t||!t.scrollTo)return;let i=e.scrollLeft,a=e.scrollTop,o=e.clientWidth<e.scrollWidth,s=e.clientHeight<e.scrollHeight;if(o&&r!==`vertical`){let r=go(e,t,`left`),a=_o(e),o=_o(t);n===`ltr`&&(r+t.offsetWidth+o.scrollMarginRight>e.scrollLeft+e.clientWidth-a.scrollPaddingRight?i=r+t.offsetWidth+o.scrollMarginRight-e.clientWidth+a.scrollPaddingRight:r-o.scrollMarginLeft<e.scrollLeft+a.scrollPaddingLeft&&(i=r-o.scrollMarginLeft-a.scrollPaddingLeft)),n===`rtl`&&(r-o.scrollMarginLeft<e.scrollLeft+a.scrollPaddingLeft?i=r-o.scrollMarginLeft-a.scrollPaddingLeft:r+t.offsetWidth+o.scrollMarginRight>e.scrollLeft+e.clientWidth-a.scrollPaddingRight&&(i=r+t.offsetWidth+o.scrollMarginRight-e.clientWidth+a.scrollPaddingRight))}if(s&&r!==`horizontal`){let n=go(e,t,`top`),r=_o(e),i=_o(t);n-i.scrollMarginTop<e.scrollTop+r.scrollPaddingTop?a=n-i.scrollMarginTop-r.scrollPaddingTop:n+t.offsetHeight+i.scrollMarginBottom>e.scrollTop+e.clientHeight-r.scrollPaddingBottom&&(a=n+t.offsetHeight+i.scrollMarginBottom-e.clientHeight+r.scrollPaddingBottom)}e.scrollTo({left:i,top:a,behavior:`auto`})}function go(e,t,n){let r=n===`left`?`offsetLeft`:`offsetTop`,i=0;for(;t.offsetParent&&(i+=t[r],t.offsetParent!==e);)t=t.offsetParent;return i}function _o(e){let t=getComputedStyle(e);return{scrollMarginTop:parseFloat(t.scrollMarginTop)||0,scrollMarginRight:parseFloat(t.scrollMarginRight)||0,scrollMarginBottom:parseFloat(t.scrollMarginBottom)||0,scrollMarginLeft:parseFloat(t.scrollMarginLeft)||0,scrollPaddingTop:parseFloat(t.scrollPaddingTop)||0,scrollPaddingRight:parseFloat(t.scrollPaddingRight)||0,scrollPaddingBottom:parseFloat(t.scrollPaddingBottom)||0,scrollPaddingLeft:parseFloat(t.scrollPaddingLeft)||0}}var vo=Z.createContext(void 0),yo={disableStyleElements:!1};function bo(){return Z.useContext(vo)??yo}function xo(e){let{script:t}=e,{nonce:n}=bo();return to()?(0,$.jsx)(`script`,{nonce:n,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0}):null}var So=`data-index`,Co,wo=new Set([...uo,co,lo]);function To(e,t,n,r){if(!(t<0))return e.length===2?`${Ma(e[t],r,n)} ${t===0?`start`:`end`} range`:n?Ma(e[t],r,n):void 0}function Eo(e,t,n,r,i){let a=e+t*n;return ga(Number(a.toFixed(Math.max(La(e),La(t),La(r)))),r,i)}var Do=Z.forwardRef(function(e,t){let{render:n,children:r,className:i,"aria-describedby":a,"aria-label":o,"aria-labelledby":s,"aria-valuetext":c,disabled:l=!1,getAriaLabel:u,getAriaValueText:d,id:f,index:p,inputRef:m,onBlur:h,onFocus:g,onKeyDown:_,tabIndex:v,style:y,...b}=e,x=At(f),{active:S,lastUsedThumbIndex:C,controlRef:w,disabled:T,validation:E,format:D,handleInputChange:O,inset:k,isArrayValue:A,labelId:j,largeStep:M,locale:N,max:P,min:F,minStepsBetweenValues:I,form:L,name:R,orientation:z,pressedThumbCenterOffsetRef:B,pressedThumbIndexRef:V,renderBeforeHydration:H,setActive:ee,setIndicatorPosition:te,state:U,step:re,thumbRefs:ie,values:G}=Ea(),ae=Pa(),oe=l||T,se=G.length>1,ce=z===`vertical`,de=ae===`rtl`,{setTouched:K,validationMode:fe}=St(),pe=Z.useRef(null),me=Z.useRef(null),q=oi(oe,me),he=Z.useRef(!1),_e=W(e=>{he.current||g?.(e)}),J=W(e=>{he.current||h?.(e)}),ve=At(),ye=It(),be=se?ve:ye,{ref:xe,index:Se}=Ui({metadata:Z.useMemo(()=>({inputId:be}),[be])}),Ce=se?p??Se:0,we=Ce===G.length-1,Te=G[Ce],Ee=no(Te,F,P),[X,De]=Z.useState(),Oe=to(),ke=C>=0&&C<G.length?C:-1,Ae=W(()=>{let e=w.current,t=pe.current;if(!e||!t)return;let n=t.getBoundingClientRect(),r=e.getBoundingClientRect(),i=ce?`height`:`width`,a=r[i]-n[i],o=(n[i]/2+a*Ee/100)/r[i]*100,s=Number.isFinite(o)?o:void 0;De(s),Ce===0?te(e=>[s,e[1]]):we&&te(e=>[e[0],s])});Y(()=>{k&&queueMicrotask(Ae)},[Ae,k]),Y(()=>{k&&Ae()},[Ae,k,Ee]),Y(()=>{if(!k)return;let e=w.current,t=pe.current;if(!e||!t)return;let n=ne(e).ResizeObserver;if(typeof n!=`function`)return;let r=new n(Ae);return r.observe(e),r.observe(t),()=>{r.disconnect()}},[w,Ae,k]);let je=ce?`bottom`:`insetInlineStart`,Me=ce?`left`:`top`,Ne;se?S===Ce?Ne=2:ke===Ce&&(Ne=1):S===Ce&&(Ne=1);let Pe;Pe=!k&&!Number.isFinite(Ee)?Ji:{position:`absolute`,[je]:k?`var(--position)`:`${Ee}%`,[Me]:`50%`,translate:`${(ce||!de?-1:1)*50}% ${(ce?1:-1)*50}%`,zIndex:Ne,...k&&{"--position":`${X??0}%`,visibility:H&&Oe||X===void 0?`hidden`:void 0}};let Fe;ce&&(Fe=de?`vertical-rl`:`vertical-lr`);let Ie=typeof u==`function`?u(Ce):o,Le=le({"aria-label":Ie,"aria-labelledby":s??(Ie==null?j:void 0),"aria-describedby":a,"aria-orientation":z,"aria-valuenow":Te,"aria-valuetext":typeof d==`function`?d(Ma(Te,N,D),Te,Ce):c??To(G,Ce,D,N),disabled:oe,form:L,id:be,max:P,min:F,name:R,onChange(e){O(e.currentTarget.valueAsNumber,Ce,e)},onFocus(e){let t=he.current;he.current=!1,ee(Ce),q(!0),t&&e.stopPropagation()},onBlur(e){he.current?e.stopPropagation():(ee(-1),!ie.current.some(t=>Q(t,e.relatedTarget))&&(K(!0),q(!1),fe===`onBlur`&&E.commit(xa(Te,Ce,F,P,A,G))))},onKeyDown(e){if(e.defaultPrevented||!wo.has(e.key))return;uo.has(e.key)&&e.stopPropagation();let t=null,n=0,r=e.shiftKey?M:re,i=Ra(Te,re,F);switch(e.key){case ro:n=1;break;case oo:n=de?-1:1;break;case io:n=-1;break;case ao:n=de?1:-1;break;case co:r=M,n=1;break;case lo:r=M,n=-1;break;case`End`:t=se&&Number.isFinite(G[Ce+1])?G[Ce+1]-re*I:P;break;case so:t=se&&Number.isFinite(G[Ce-1])?G[Ce-1]+re*I:F}if(n!==0&&(t=Eo(i,r,n,F,P)),t!==null){let n=e.currentTarget;On(n)||(he.current=!0,n.blur(),n.focus({preventScroll:!0,focusVisible:!0})),O(t,Ce,e),e.preventDefault()}},step:re,style:{...Ji,width:`100%`,height:`100%`,writingMode:Fe},tabIndex:v,type:`range`,value:Te??``},e=>E.getValidationProps(oe,e),{onFocus:_e,onBlur:J,onKeyDown:_}),Re=ge(me,E.inputRef,m);return ue(`div`,e,{state:U,ref:[t,xe,pe],props:[{[So]:Ce,children:(0,$.jsxs)(Z.Fragment,{children:[r,(0,$.jsx)(`input`,{ref:Re,...Le,suppressHydrationWarning:!0}),k&&we&&H&&(Co||=(0,$.jsx)(xo,{script:``}))]}),id:x,onPointerDown(e){if(oe)return;V.current=Ce;let t=Ia(e.currentTarget,ce);B.current=(ce?e.clientY:e.clientX)-t},style:Pe,suppressHydrationWarning:H||void 0},b],stateAttributesMapping:wa})});function Oo(e,t,n,r,i,a){let o={visibility:a||n&&(r===void 0||t&&i===void 0)?`hidden`:void 0,position:e?`absolute`:`relative`,[e?`width`:`height`]:`inherit`},s=`${r??0}%`,c=`${(i??0)-(r??0)}%`;return n&&(o[`--start-position`]=s,s=`var(--start-position)`,t&&(o[`--relative-size`]=c,c=`var(--relative-size)`)),o[e?`bottom`:`insetInlineStart`]=t?s:0,o[e?`height`:`width`]=t?c:s,o}var ko=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,{indicatorPosition:o,inset:s,max:c,min:l,orientation:u,renderBeforeHydration:d,state:f,values:p}=Ea(),m=to(),h=Oo(u===`vertical`,p.length>1,s,s?o[0]:no(p[0],l,c),s?o[1]:no(p[p.length-1],l,c),s&&d&&m);return ue(`div`,e,{state:f,ref:t,props:[{"data-base-ui-slider-indicator":d?``:void 0,style:h,suppressHydrationWarning:d||void 0},a],stateAttributesMapping:wa})});function Ao({className:e,defaultValue:t,value:n,min:r=0,max:i=100,...a}){let o=Array.isArray(n)?n:Array.isArray(t)?t:[r,i];return(0,$.jsx)(Oa,{className:J(`data-horizontal:w-full data-vertical:h-full`,e),"data-slot":`slider`,defaultValue:t,value:n,min:r,max:i,thumbAlignment:`edge`,...a,children:(0,$.jsxs)(Wa,{className:`relative flex w-full touch-none items-center select-none data-disabled:opacity-50 data-vertical:h-full data-vertical:min-h-40 data-vertical:w-auto data-vertical:flex-col`,children:[(0,$.jsx)(Ga,{"data-slot":`slider-track`,className:`relative grow overflow-hidden rounded-full bg-muted select-none data-horizontal:h-1 data-horizontal:w-full data-vertical:h-full data-vertical:w-1`,children:(0,$.jsx)(ko,{"data-slot":`slider-range`,className:`bg-primary select-none data-horizontal:h-full data-vertical:w-full`})}),Array.from({length:o.length},(e,t)=>(0,$.jsx)(Do,{"data-slot":`slider-thumb`,className:`relative block size-3 shrink-0 rounded-full border border-ring bg-white ring-ring/50 transition-[color,box-shadow] select-none after:absolute after:-inset-2 hover:ring-3 focus-visible:ring-3 focus-visible:outline-hidden active:ring-3 disabled:pointer-events-none disabled:opacity-50`},t))]})})}function jo(e){let t=Z.useRef(!0);t.current&&(t.current=!1,e())}function Mo(e){let[t,n]=Z.useState({current:e,previous:null});return Object.is(e,t.current)||n({current:e,previous:t.current}),t.previous}function No(e){return e==null||e.hasAttribute(`disabled`)||e.getAttribute(`aria-disabled`)===`true`}var Po=t((e=>{var t=A(),n=qa();function r(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var i=typeof Object.is==`function`?Object.is:r,a=n.useSyncExternalStore,o=t.useRef,s=t.useEffect,c=t.useMemo,l=t.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,r,u){var d=o(null);if(d.current===null){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=c(function(){function e(e){if(!a){if(a=!0,o=e,e=r(e),u!==void 0&&f.hasValue){var t=f.value;if(u(t,e))return s=t}return s=e}if(t=s,i(o,e))return t;var n=r(e);return u!==void 0&&u(t,n)?(o=e,t):(o=e,s=n)}var a=!1,o,s,c=n===void 0?null:n;return[function(){return e(t())},c===null?void 0:function(){return e(c())}]},[t,n,r,u]);var p=a(e,d[0],d[1]);return s(function(){f.hasValue=!0,f.value=p},[p]),l(p),p}})),Fo=t(((e,t)=>{t.exports=Po()})),Io=[],Lo=void 0;function Ro(){return Lo}function zo(e){Io.push(e)}var Bo=Fo(),Vo=ve(19)?Wo:Go;function Ho(e,t,n,r,i){return Vo(e,t,n,r,i)}function Uo(e,t,n,r,i){let a=Z.useCallback(()=>t(e.getSnapshot(),n,r,i),[e,t,n,r,i]);return(0,Ja.useSyncExternalStore)(e.subscribe,a,a)}zo({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n<e.syncHooks.length;n+=1){let r=e.syncHooks[n],i=r.selector(r.store.state,r.a1,r.a2,r.a3);Object.is(r.value,i)||(t=!0,r.value=i)}return t&&(e.syncTick+=1),e.syncTick})},after(e){e.syncHooks.length>0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{let n=new Set;for(let t of e.syncHooks)n.add(t.store);let r=[];for(let e of n)r.push(e.subscribe(t));return()=>{for(let e of r)e()}}),(0,Ja.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}});function Wo(e,t,n,r,i){let a=Ro();if(!a)return Uo(e,t,n,r,i);let o=a.syncIndex;a.syncIndex+=1;let s;return a.didInitialize?(s=a.syncHooks[o],s.store===e&&s.selector===t&&Object.is(s.a1,n)&&Object.is(s.a2,r)&&Object.is(s.a3,i)||(s.store!==e&&(a.didChangeStore=!0),s.store=e,s.selector=t,s.a1=n,s.a2=r,s.a3=i,s.value=t(e.getSnapshot(),n,r,i))):(s={store:e,selector:t,a1:n,a2:r,a3:i,value:t(e.getSnapshot(),n,r,i)},a.syncHooks.push(s)),s.value}function Go(e,t,n,r,i){return(0,Bo.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,n,r,i))}var Ko=class{static create(e){return new this(e)}constructor(e){this.state=e,this.listeners=new Set,this.updateTick=0}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.state;setState(e){if(this.state===e)return;this.state=e,this.updateTick+=1;let t=this.updateTick;for(let n of this.listeners){if(t!==this.updateTick)return;n(e)}}update(e){for(let t in e)if(!Object.is(this.state[t],e[t])){this.setState({...this.state,...e});return}}set(e,t){Object.is(this.state[e],t)||this.setState({...this.state,[e]:t})}notifyAll(){let e={...this.state};this.setState(e)}use(e,t,n,r){return Ho(this,e,t,n,r)}},qo=class extends Ko{constructor(e,t={},n){super(e),this.context=t,this.selectors=n}useSyncedValue(e,t){Z.useDebugValue(e);let n=this;Y(()=>{n.state[e]!==t&&n.set(e,t)},[n,e,t])}useSyncedValueWithCleanup(e,t){let n=this;Y(()=>(n.state[e]!==t&&n.set(e,t),()=>{n.set(e,void 0)}),[n,e,t])}useSyncedValues(e){let t=this,n=Object.values(e);Y(()=>{t.update(e)},[t,...n])}useControlledProp(e,t){Z.useDebugValue(e);let n=this,r=t!==void 0;Y(()=>{r&&!Object.is(n.state[e],t)&&n.setState({...n.state,[e]:t})},[n,e,t,r])}select(e,t,n,r){let i=this.selectors[e];return i(this.state,t,n,r)}useState(e,t,n,r){return Z.useDebugValue(e),Ho(this,this.selectors[e],t,n,r)}useContextCallback(e,t){Z.useDebugValue(e);let n=W(t??K);this.context[e]=n}useStateSetter(e){let t=Z.useRef(void 0);return t.current===void 0&&(t.current=t=>{this.set(e,t)}),t.current}observe(e,t){let n;n=typeof e==`function`?e:this.selectors[e];let r=n(this.state);return t(r,r,this),this.subscribe(e=>{let i=n(e);if(!Object.is(r,i)){let e=r;r=i,t(i,e,this)}})}};function Jo(...e){return()=>{for(let t=0;t<e.length;t+=1){let n=e[t];n&&n()}}}var Yo=Z.forwardRef(function(e,t){let[n,r]=Z.useState();Y(()=>{Yt&&Jt&&r(`button`)},[]);let i={tabIndex:0,role:n};return(0,$.jsx)(`span`,{...e,ref:t,style:Ji,"aria-hidden":!n||void 0,...i,"data-base-ui-focus-guard":``})});function Xo(e){return`data-base-ui-${e}`}var Zo=0;function Qo(e,t={}){let{preventScroll:n=!1,sync:r=!1,shouldFocus:i}=t;cancelAnimationFrame(Zo);function a(){(!i||i())&&e?.focus({preventScroll:n})}if(r)return a(),K;let o=requestAnimationFrame(a);return Zo=o,()=>{Zo===o&&(cancelAnimationFrame(o),Zo=0)}}var $o=`data-base-ui-inert`,es=new WeakMap,ts=new WeakSet,ns=new WeakMap,rs=0;function is(e){return e?I(e)?e.host:is(e.parentNode):null}var as=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=is(t);return e.contains(n)?n:null}).filter(e=>e!=null),os=e=>{let t=new Set;return e.forEach(e=>{let n=e;for(;n&&!t.has(n);)t.add(n),n=n.parentNode}),t},ss=(e,t,n)=>{let r=[],i=e=>{e&&!n.has(e)&&Array.from(e.children).forEach(e=>{he(e)!==`script`&&(t.has(e)?i(e):r.push(e))})};return i(e),r};function cs(e,t,n,{mark:r=!0}){let i=as(t,e),a=r?ss(t,os(i),new Set(i)):[],o=[],s=[];if(n){let e=as(t,Array.from(t.querySelectorAll(`[aria-live]`))),n=i.concat(e);ss(t,os(n),new Set(n)).forEach(e=>{let t=e.getAttribute(`aria-hidden`),n=t!==null&&t!==`false`,r=(es.get(e)||0)+1;es.set(e,r),o.push(e),r===1&&n&&ts.add(e),n||e.setAttribute(`aria-hidden`,`true`)})}return r&&a.forEach(e=>{let t=(ns.get(e)||0)+1;ns.set(e,t),s.push(e),t===1&&e.setAttribute($o,``)}),rs+=1,()=>{o.forEach(e=>{let t=(es.get(e)||0)-1;es.set(e,t),t||(ts.has(e)||e.removeAttribute(`aria-hidden`),ts.delete(e))}),r&&s.forEach(e=>{let t=(ns.get(e)||0)-1;ns.set(e,t),t||e.removeAttribute($o)}),--rs,rs||(es=new WeakMap,ts=new WeakSet,ns=new WeakMap)}}function ls(e,t={}){let{ariaHidden:n=!1,mark:r=!0}=t,i=X(e[0]).body;return cs(e,i,n,{mark:r})}var us={style:{transition:`none`}},ds={fallbackAxisSide:`none`},fs={clipPath:`inset(50%)`,position:`fixed`,top:0,left:0},ps=Z.createContext(null),ms=()=>Z.useContext(ps),hs=Xo(`portal`);function gs(e={}){let{ref:t,container:n,componentProps:r=de,elementProps:i}=e,a=kt(),o=ms()?.portalNode,[s,c]=Z.useState(null),[l,u]=Z.useState(null),d=W(e=>{e!==null&&u(e)}),f=Z.useRef(null);Y(()=>{if(n===null){f.current&&(f.current=null,u(null),c(null));return}let e=(n&&(ie(n)?n:n.current))??o??document.body;e==null?f.current&&(f.current=null,u(null),c(null)):f.current!==e&&(f.current=e,u(null),c(e))},[n,o]);let p=ue(`div`,r,{ref:[t,d],props:[{id:a,[hs]:``},i]}),m=s&&p?ei.createPortal(p,s):null;return{node:l,nodeId:Z.isValidElement(p)?p.props.id:void 0,subtree:m}}var _s=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,children:a,container:o,portalOwnerRole:s,...c}=e,{node:l,nodeId:u,subtree:d}=gs({container:o,ref:t,componentProps:e,elementProps:c}),f=Z.useRef(null),p=Z.useRef(null),m=Z.useRef(null),h=Z.useRef(null),[g,_]=Z.useState(null),v=Z.useRef(!1),y=g?.modal,b=g?.open,x=!!g&&!g.modal&&g.open&&!!l;Z.useEffect(()=>{if(!l||y)return;function e(e){l&&e.relatedTarget&&Rr(e)&&(e.type===`focusin`?v.current&&=(Br(l),!1):(zr(l),v.current=!0))}return Jo(Wi(l,`focusin`,e,!0),Wi(l,`focusout`,e,!0))},[l,y]),Y(()=>{l&&b===!0&&v.current&&(Br(l),v.current=!1)},[b,l]);let S=Z.useMemo(()=>({beforeOutsideRef:f,afterOutsideRef:p,beforeInsideRef:m,afterInsideRef:h,portalNode:l,setFocusManagerState:_}),[l]);return(0,$.jsxs)(Z.Fragment,{children:[d,(0,$.jsxs)(ps.Provider,{value:S,children:[x&&l&&(0,$.jsx)(Yo,{"data-type":`outside`,ref:f,onFocus:e=>{Rr(e,l)?m.current?.focus():Lr(g?g.domReference:null)?.focus()}}),x&&l&&(0,$.jsx)(`span`,{role:s,"aria-owns":u,style:fs}),l&&ei.createPortal(a,l),x&&l&&(0,$.jsx)(Yo,{"data-type":`outside`,ref:p,onFocus:e=>{Rr(e,l)?h.current?.focus():(Ir(g?g.domReference:null)?.focus(),g?.closeOnFocusOut&&g?.onOpenChange(!1,li(`focus-out`,e.nativeEvent)))}})]})]})});function vs(){let e=new Map;return{emit(t,n){e.get(t)?.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){e.get(t)?.delete(n)}}}var ys=Z.createContext(null),bs=Z.createContext(null),xs=()=>Z.useContext(ys)?.id||null,Ss=e=>{let t=Z.useContext(bs);return e??t};function Cs(e,t){let n=ne($t(e));return e instanceof n.KeyboardEvent?`keyboard`:e instanceof n.FocusEvent?t||`keyboard`:`pointerType`in e?e.pointerType||(Pn(e)?`keyboard`:t||`mouse`):`touches`in e?`touch`:e instanceof n.MouseEvent?t||(e.detail===0?`keyboard`:`mouse`):``}var ws=20,Ts=[];function Es(){Ts=Ts.filter(e=>e.deref()?.isConnected)}function Ds(e){Es(),e&&he(e)!==`body`&&(Ts.push(new WeakRef(e)),Ts.length>ws&&(Ts=Ts.slice(-20)))}function Os(){return Es(),Ts[Ts.length-1]?.deref()}function ks(e){return e?Mr(e)?e:Pr(e)[0]||e:null}function As(e){if(e.hasAttribute(`tabindex`)&&!e.hasAttribute(`data-tabindex`)||!e.getAttribute(`role`)?.includes(`dialog`))return;let t=Nr(e).filter(e=>{let t=e.getAttribute(`data-tabindex`)||``;return Mr(e)||e.hasAttribute(`data-tabindex`)&&!t.startsWith(`-`)}),n=e.getAttribute(`tabindex`);t.length===0?n!==`0`&&(e.setAttribute(`tabindex`,`0`),e.setAttribute(`data-tabindex`,`0`)):(n!==`-1`||e.hasAttribute(`data-tabindex`)&&e.getAttribute(`data-tabindex`)!==`-1`)&&(e.setAttribute(`tabindex`,`-1`),e.setAttribute(`data-tabindex`,`-1`))}function js(e){let{context:t,children:n,disabled:r=!1,initialFocus:i=!0,returnFocus:a=!0,explicitReturnFocus:o,restoreFocus:s=!1,modal:c=!0,closeOnFocusOut:l=!0,openInteractionType:u=``,nextFocusableElement:d,previousFocusableElement:f,beforeContentFocusGuardRef:p,externalTree:m,getInsideElements:h}=e,g=t.useState(`open`),_=t.useState(`domReferenceElement`),v=t.useState(`floatingElement`),{events:y,dataRef:b}=t.context,x=W(()=>b.current.floatingContext?.nodeId),S=i===!1,C=Dn(_)&&S,w=Gi(i),T=Gi(a),E=Gi(o),D=Gi(u),O=Gi(g),k=Ss(m),A=ms(),j=Z.useRef(!1),M=Z.useRef(!1),N=Z.useRef(!1),P=Z.useRef(null),F=Z.useRef(``),I=Z.useRef(``),L=Z.useRef(null),R=Z.useRef(null),z=ge(L,p,A?.beforeInsideRef),B=ge(R,A?.afterInsideRef),V=Gr(),ee=Gr(),te=Zr(),ne=A!=null,U=kn(v),re=W((e=U)=>e?Pr(e):[]),ie=W(()=>h?.().filter(e=>e!=null)??[]);Z.useEffect(()=>{if(r||!c)return;function e(e){e.key===`Tab`&&Q(U,Zt(X(U)))&&re().length===0&&!C&&Mn(e)}return Wi(X(U),`keydown`,e)},[r,U,c,C,re]),Z.useEffect(()=>{if(r||!g)return;let e=X(U);function t(){N.current=!1}function n(e){let t=$t(e),n=ie(),r=Q(v,t)||Q(_,t)||Q(A?.portalNode,t)||n.some(e=>e===t||Q(e,t));N.current=!r,I.current=e.pointerType||`keyboard`,Qt(t,`[data-base-ui-click-trigger]`)&&(M.current=!0,ee.start(0,()=>{M.current=!1}))}function i(){I.current=`keyboard`}return Jo(Wi(e,`pointerdown`,n,!0),Wi(e,`pointerup`,t,!0),Wi(e,`pointercancel`,t,!0),Wi(e,`keydown`,i,!0),t)},[r,v,_,U,g,A,ee,ie]),Z.useEffect(()=>{if(r||!l)return;let e=X(U);function n(){M.current=!0,ee.start(0,()=>{M.current=!1})}function i(e){let t=$t(e);Mr(t)&&(P.current=t)}function a(n){let r=n.relatedTarget,i=n.currentTarget,a=$t(n);c&&r==null&&a!=null&&Q(v,a)&&Ds(a),queueMicrotask(()=>{let o=x(),l=t.context.triggerElements,u=ie(),p=r?.hasAttribute(Xo(`focus-guard`))&&[L.current,R.current,A?.beforeInsideRef.current,A?.afterInsideRef.current,A?.beforeOutsideRef.current,A?.afterOutsideRef.current,Qr(f),Qr(d)].includes(r),m=!(Q(_,r)||Q(v,r)||Q(r,v)||Q(A?.portalNode,r)||u.some(e=>e===r||Q(e,r))||l.hasMatchingElement(e=>Q(e,r))||p||k&&(An(k.nodesRef.current,o).find(e=>Q(e.context?.elements.floating,r)||Q(e.context?.elements.domReference,r))||jn(k.nodesRef.current,o).find(e=>[e.context?.elements.floating,kn(e.context?.elements.floating)].includes(r)||e.context?.elements.domReference===r)));if(i===_&&U&&As(U),s&&i!==_&&!vr(a)&&Zt(e)===e.body){if(H(U)&&(U.focus(),s===`popup`)){te.request(()=>{U.focus()});return}let e=re(),t=P.current,n=(t&&e.includes(t)?t:null)||e[e.length-1]||U;H(n)&&n.focus()}b.current.insideReactTree?b.current.insideReactTree=!1:(C||!c)&&r&&m&&!M.current&&(C||r!==Os())&&(j.current=!0,t.setOpen(!1,li(_i,n)))})}function o(){N.current||(b.current.insideReactTree=!0,V.start(0,()=>{b.current.insideReactTree=!1}))}let u=H(_)?_:null;if(v||u)return Jo(u&&Wi(u,`focusout`,a),u&&Wi(u,`pointerdown`,n),v&&Wi(v,`focusin`,i),v&&Wi(v,`focusout`,a),v&&A&&Wi(v,`focusout`,o,!0))},[r,_,v,U,c,k,A,t,l,s,re,C,x,b,V,ee,te,d,f,ie]),Z.useEffect(()=>{if(r||!v||!g)return;let e=Array.from(A?.portalNode?.querySelectorAll(`[${Xo(`portal`)}]`)||[]),t=(k?jn(k.nodesRef.current,x()):[]).find(e=>Dn(e.context?.elements.domReference||null))?.context?.elements.domReference,n=ls([v,...e,L.current,R.current,A?.beforeOutsideRef.current,A?.afterOutsideRef.current,...ie(),t,Qr(f),Qr(d),C?_:null].filter(e=>e!=null),{ariaHidden:c||C,mark:!1}),i=ls([v,...e].filter(e=>e!=null));return()=>{i(),n()}},[g,r,_,v,c,A,C,k,x,d,f,ie]),Y(()=>{if(!g||r||!H(U))return;F.current=``,I.current=``;let e=X(U),t=Zt(e);queueMicrotask(()=>{let n=w.current,r=typeof n==`function`?n(D.current||``):n;if(r===void 0||r===!1||Q(U,t))return;let i=null,a=()=>(i??=re(U),i[0]||U),o;o=r===!0||r===null?a():Qr(r),o||=a();let s=Q(U,Zt(e)),c=b.current.openEvent,l=c?.type===`mousedown`&&Pn(c);Qo(o,{sync:l,preventScroll:o===U,shouldFocus(){if(!O.current)return!1;if(s)return!0;let t=Zt(e);return!(t!==o&&Q(U,t))}})})},[r,g,U,re,w,D,O,b]);let G=Z.useRef(null);Y(()=>{if(r||!U){G.current=null;return}G.current&&=(G.current.cancelled=!0,null);let e=X(U),t=Zt(e),n=D.current==null;Ds(t);function i(e){if(e.open||(F.current=Cs(e.nativeEvent,I.current)),(e.reason===`focus-out`&&e.triggerElement?.hasAttribute(Xo(`focus-guard`))||e.reason===`trigger-hover`&&e.nativeEvent.type===`mouseleave`)&&(j.current=!0),e.reason===`outside-press`){if(e.nested)j.current=!1;else if(Pn(e.nativeEvent)||Fn(e.nativeEvent))j.current=!1;else{let e=!1;X(U).createElement(`div`).focus({get preventScroll(){return e=!0,!1}}),e?j.current=!1:j.current=!0}}}y.on(`openchange`,i);function a(e){let r=T.current,i=typeof r==`function`?r(e):r;if(i===void 0||i===!1)return null;i===null&&(i=!0);let a=_?.isConnected?_:null,o=t?.isConnected&&he(t)!==`body`?t:null,s=n?o||a:a||o;return s||=Os()||null,typeof i==`boolean`?s:Qr(i)||s||null}return()=>{y.off(`openchange`,i);let t=Zt(e),n=ie(),r=Q(v,t)||n.some(e=>e===t||Q(e,t))||k&&An(k.nodesRef.current,x(),!1).some(e=>Q(e.context?.elements.floating,t)),o=T.current,s=F.current,c=a(s),l={cancelled:!1};G.current=l,queueMicrotask(()=>{G.current===l&&(G.current=null);let n=ks(c),i=E.current??typeof o!=`boolean`;if(!l.cancelled&&o&&!j.current&&H(n)&&(i||n===t||t===e.body||r)){let e={preventScroll:!0};s===`keyboard`&&(e.focusVisible=!0),n.focus(e)}j.current=!1})}},[r,v,U,T,E,D,y,k,_,x,ie]),Y(()=>{if(!Jt||g||!v)return;let e=Zt(X(v));H(e)&&En(e)&&Q(v,e)&&e.blur()},[g,v]),Y(()=>{if(!r&&A)return A.setFocusManagerState({modal:c,closeOnFocusOut:l,open:g,onOpenChange:t.setOpen,domReference:_}),()=>{A.setFocusManagerState(null)}},[r,A,c,g,t,l,_]),Y(()=>{if(!r&&U)return As(U),()=>{queueMicrotask(Es)}},[r,U]);let ae=!r&&(!c||!C)&&(ne||c);return(0,$.jsxs)(Z.Fragment,{children:[ae&&(0,$.jsx)(Yo,{"data-type":`inside`,ref:z,onFocus:e=>{if(c){let e=re();Qo(e[e.length-1])}else A?.portalNode&&(j.current=!1,Rr(e,A.portalNode)?Ir(_)?.focus():Qr(f??A.beforeOutsideRef)?.focus())}}),n,ae&&(0,$.jsx)(Yo,{"data-type":`inside`,ref:B,onFocus:e=>{c?Qo(re()[0]):A?.portalNode&&(l&&(j.current=!0),Rr(e,A.portalNode)?Lr(_)?.focus():Qr(d??A.afterOutsideRef)?.focus())}})]})}function Ms(e,t={}){let{enabled:n=!0,event:r=`click`,toggle:i=!0,ignoreMouse:a=!1,stickIfOpen:o=!0,touchOpenDelay:s=0,reason:c=fi}=t,l=e.context.dataRef,u=Z.useRef(void 0),d=Zr(),f=Gr(),p=Z.useMemo(()=>{function t(t,n,r,i){let a=li(c,n,r);t&&i===`touch`&&s>0?f.start(s,()=>{e.setOpen(!0,a)}):e.setOpen(t,a)}function n(t,n,r){let a=l.current.openEvent,s=e.select(`domReferenceElement`)!==n;return t&&s||!t||!i?!0:a&&(typeof o==`function`?o():o)?!r(a.type):!1}return{onPointerDown(e){u.current=In(e.pointerType,!0)&&Fn(e.nativeEvent)?`virtual`:e.pointerType},onMouseDown(i){let o=u.current,s=i.nativeEvent,c=e.select(`open`);if(i.button!==0||r===`click`||In(o,!0)&&a)return;let l=n(c,i.currentTarget,e=>e===`click`||e===`mousedown`),f=$t(s),p=En(f);if(p||o===`virtual`){t(l,s,p?f:i.currentTarget,o);return}let m=i.currentTarget;d.request(()=>{t(l,s,m,o)})},onClick(i){if(r===`mousedown-only`)return;let o=u.current;r===`mousedown`&&o?u.current=void 0:In(o,!0)&&a||t(n(e.select(`open`),i.currentTarget,e=>e===`click`||e===`mousedown`||e===`keydown`||e===`keyup`),i.nativeEvent,i.currentTarget,o)},onKeyDown(){u.current=void 0}}},[l,r,a,c,e,o,i,d,f,s]);return Z.useMemo(()=>n?{reference:p}:de,[n,p])}function Ns(){return!1}function Ps(e){return{escapeKey:typeof e==`boolean`?e:e?.escapeKey??!1,outsidePress:typeof e==`boolean`?e:e?.outsidePress??!0}}function Fs(e,t={}){let{enabled:n=!0,escapeKey:r=!0,outsidePress:i=!0,outsidePressEvent:a=`sloppy`,referencePress:o=Ns,bubbles:s,externalTree:c}=t,l=e.useState(`open`),u=e.useState(`floatingElement`),{dataRef:d,events:f}=e.context,p=Ss(c),m=W(typeof i==`function`?i:()=>!1),h=typeof i==`function`?m:i,g=h!==!1,_=W(()=>a),{escapeKey:v,outsidePress:y}=Ps(s),b=Z.useRef(!1),x=Z.useRef(!1),S=Z.useRef(!1),C=Z.useRef(!1),w=Z.useRef(!1),T=Z.useRef(``),E=Z.useRef(null),D=Gr(),O=Gr(),k=Gr(),A=W(()=>{O.clear(),d.current.insideReactTree=!1}),j=W(e=>{let t=d.current.floatingContext?.nodeId;return(p?An(p.nodesRef.current,t):[]).some(t=>t.context?.open&&!t.context.dataRef.current[e])}),M=W(t=>wn(t,e.select(`floatingElement`))||wn(t,e.select(`domReferenceElement`))),N=W(t=>{o()&&e.setOpen(!1,li(fi,t.nativeEvent))}),P=W(t=>{if(!l||!n||!r||t.key!==`Escape`)return;let i=Nn(t)?t.nativeEvent:t;if(w.current||i.isComposing||!v&&j(`__escapeKeyBubbles`))return;let a=li(vi,i);e.setOpen(!1,a),a.isCanceled||t.preventDefault(),!v&&!a.isPropagationAllowed&&t.stopPropagation()}),F=W(()=>{d.current.insideReactTree=!0,O.start(0,A)}),L=W(t=>{if(!l||!n||t.button!==0)return;let r=$t(t.nativeEvent);Q(e.select(`floatingElement`),r)&&(b.current||(b.current=!0,x.current=!1))}),R=W(e=>{l&&n&&(e.defaultPrevented||e.nativeEvent.defaultPrevented)&&b.current&&(x.current=!0)});Z.useEffect(()=>{function e(e){e.open||(C.current=!1)}return f.on(`openchange`,e),()=>{f.off(`openchange`,e)}},[f]),Z.useEffect(()=>A,[A]),Z.useEffect(()=>{if(!l||!n)return l||(C.current=!1,w.current=!1,T.current=``,E.current=null),A;d.current.__escapeKeyBubbles=v,d.current.__outsidePressBubbles=y;let t=new Wr,i=X(u);function a(){k.clear(),w.current=!0}function o(){w.current=!0,k.start(Jt?5:0,()=>{w.current=!1})}function s(){S.current=!0,t.start(0,()=>{S.current=!1})}function c(){b.current=!1,x.current=!1}function f(){let e=T.current,t=e===`pen`||!e?`mouse`:e,n=_(),r=typeof n==`function`?n():n;return typeof r==`string`?r:r[t]}function m(e){let t=f();return t===`intentional`&&e.type!==`click`||t===`sloppy`&&e.type===`click`}function O(e){let t=d.current.floatingContext?.nodeId,n=p&&An(p.nodesRef.current,t).some(t=>wn(e,t.context?.elements.floating));return M(e)||n}function N(n){if(m(n)){n.type!==`click`&&!M(n)&&(t.clear(),S.current=!1),A();return}if(d.current.insideReactTree){A();return}let r=$t(n),i=`[${Xo(`inert`)}]`,a=B(r)?r.getRootNode():null,o=Array.from((I(a)?a:X(e.select(`floatingElement`))).querySelectorAll(i)),s=e.context.triggerElements;if(r&&(s.hasElement(r)||s.hasMatchingElement(e=>Q(e,r))))return;let c=B(r)?r:null;for(;c&&!ee(c);){let e=te(c);if(ee(e)||!B(e))break;c=e}if(!(o.length&&B(r)&&!Tn(r)&&!Q(r,e.select(`floatingElement`))&&o.every(e=>!Q(c,e)))){if(H(r)&&!(`touches`in n)){let e=ee(r),t=G(r),i=/auto|scroll/,a=e||i.test(t.overflowX),o=e||i.test(t.overflowY),s=a&&r.clientWidth>0&&r.scrollWidth>r.clientWidth,c=o&&r.clientHeight>0&&r.scrollHeight>r.clientHeight,l=t.direction===`rtl`,u=c&&(l?n.offsetX<=r.offsetWidth-r.clientWidth:n.offsetX>r.clientWidth),d=s&&n.offsetY>r.clientHeight;if(u||d)return}if(!O(n)){if(f()===`intentional`){if(n.detail!==0&&!Pn(n)&&!C.current)return;if(S.current){t.clear(),S.current=!1;return}}typeof h==`function`&&!h(n)||j(`__outsidePressBubbles`)||(e.setOpen(!1,li(pi,n)),A())}}}function F(t){f()===`sloppy`&&t.pointerType!==`touch`&&e.select(`open`)&&n&&!M(t)&&N(t)}function L(t){if(f()!==`sloppy`||!e.select(`open`)||!n||M(t))return;let r=t.touches[0];r&&(E.current={startTime:Date.now(),startX:r.clientX,startY:r.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},D.start(1e3,()=>{E.current&&(E.current.dismissOnTouchEnd=!1,E.current.dismissOnMouseDown=!1)}))}function R(e,t){let n=$t(e);if(!n)return;let r=Wi(n,e.type,()=>{t(e),r()})}function z(e){T.current=`touch`,R(e,L)}function V(e){D.clear(),e.type===`pointerdown`&&(e.button===0&&(C.current=!0),T.current=e.pointerType),(e.type!==`mousedown`||!E.current||E.current.dismissOnMouseDown)&&R(e,e=>{e.type===`pointerdown`?F(e):N(e)})}function ne(e){if(e.type===`pointercancel`&&(C.current=!1),!b.current)return;let n=x.current;c(),f()===`intentional`&&(e.type===`pointercancel`?n&&s():O(e)||(n?s():(typeof h!=`function`||h(e))&&(t.clear(),S.current=!0,A())))}function U(e){if(f()!==`sloppy`||!E.current||M(e))return;let t=e.touches[0];if(!t)return;let n=Math.abs(t.clientX-E.current.startX),r=Math.abs(t.clientY-E.current.startY),i=Math.sqrt(n*n+r*r);i>5&&(E.current.dismissOnTouchEnd=!0),i>10&&(N(e),D.clear(),E.current=null)}function re(e){R(e,U)}function ie(e){f()===`sloppy`&&E.current&&!M(e)&&(E.current.dismissOnTouchEnd&&N(e),D.clear(),E.current=null)}function W(e){R(e,ie)}let ae=Jo(r&&Jo(Wi(i,`keydown`,P),Wi(i,`compositionstart`,a),Wi(i,`compositionend`,o)),g&&Jo(Wi(i,`click`,V,!0),Wi(i,`pointerdown`,V,!0),Wi(i,`pointerup`,ne,!0),Wi(i,`pointercancel`,ne,!0),Wi(i,`mousedown`,V,!0),Wi(i,`mouseup`,ne,!0),Wi(i,`touchstart`,z,{capture:!0,passive:!0}),Wi(i,`touchmove`,re,{capture:!0,passive:!0}),Wi(i,`touchend`,W,{capture:!0,passive:!0})));return()=>{ae(),t.clear(),c(),S.current=!1}},[d,u,r,g,h,l,n,v,y,P,A,_,j,M,p,e,D,k]);let z=Z.useMemo(()=>({onKeyDown:P,onPointerDown:N,onClick:N}),[P,N]),V=Z.useMemo(()=>({onKeyDown:P,onPointerDown:R,onMouseDown:R,onClickCapture:F,onMouseDownCapture(e){F(),L(e)},onPointerDownCapture(e){F(),L(e)},onMouseUpCapture:F,onTouchEndCapture:F,onTouchMoveCapture:F}),[P,F,L,R]);return Z.useMemo(()=>n?{reference:z,floating:V,trigger:z}:{},[n,z,V])}function Is(e){let{open:t,ref:n,preventUnmountOnClose:r,setPreventUnmountOnClose:i,onUnmount:a,animateInitialOpen:o}=e,s=W(i),{mounted:c,setMounted:l,transitionStatus:u}=ai(t,!1,!1,o),d=!t&&r;Y(()=>{t&&s(!1)},[t,s]);let f=Z.useRef(c),p=Z.useRef(!1),m=Tt(),h=()=>{f.current=!1,l(!1),a()};Y(()=>{f.current=c,p.current&&(p.current=!1,!t&&c&&h())});let g=W(()=>{f.current&&(t?(p.current=!0,m()):h())});return ii({enabled:c&&!t&&!d,open:t,ref:n,onComplete(){t||g()}}),{mounted:c,transitionStatus:u,preventUnmountingOnClose:d,forceUnmount:g}}var Ls={tabIndex:-1,[en]:``};function Rs(e){let t=!1;return e.preventUnmountOnClose=()=>{t=!0},()=>t}var zs=class{idMap=new Map;add(e,t){this.idMap.set(e,t)}delete(e){this.idMap.delete(e)}hasElement(e){for(let t of this.idMap.values())if(t===e)return!0;return!1}hasMatchingElement(e){for(let t of this.idMap.values())if(e(t))return!0;return!1}getById(e){return this.idMap.get(e)}entries(){return this.idMap.entries()}elements(){return this.idMap.values()}get size(){return this.idMap.size}},Bs={open:e=>e.open,transitionStatus:e=>e.transitionStatus,domReferenceElement:e=>e.domReferenceElement,referenceElement:e=>e.positionReference??e.referenceElement,floatingElement:e=>e.floatingElement,floatingId:e=>e.floatingId},Vs=class extends qo{constructor(e){let{syncOnly:t,nested:n,onOpenChange:r,triggerElements:i,...a}=e;super({...a,positionReference:a.referenceElement,domReferenceElement:a.referenceElement},{onOpenChange:r,dataRef:{current:{}},events:vs(),nested:n,triggerElements:i},Bs),this.syncOnly=t}syncOpenEvent=(e,t)=>{(!e||!this.state.open||t!=null&&Ln(t))&&(this.context.dataRef.current.openEvent=e?t:void 0)};dispatchOpenChange=(e,t)=>{this.syncOpenEvent(e,t.event);let n={open:e,reason:t.reason,nativeEvent:t.event,nested:this.context.nested,triggerElement:t.trigger};this.context.events.emit(`openchange`,n)};setOpen=(e,t)=>{this.syncOnly||this.dispatchOpenChange(e,t),this.context.onOpenChange?.(e,t)}};function Hs(e){let{open:t=!1,onOpenChange:n,elements:r={}}=e,i=kt(),a=xs()!=null,o=L(()=>new Vs({open:t,transitionStatus:void 0,onOpenChange:n,referenceElement:r.reference??null,floatingElement:r.floating??null,triggerElements:new zs,floatingId:i,syncOnly:!1,nested:a})).current;return Y(()=>{let e={open:t,floatingId:i};r.reference!==void 0&&(e.referenceElement=r.reference,e.domReferenceElement=B(r.reference)?r.reference:null),r.floating!==void 0&&(e.floatingElement=r.floating),o.update(e)},[t,i,r.reference,r.floating,o]),o.context.onOpenChange=n,o.context.nested=a,o}function Us(e){return Jt&&e.movementX===0&&e.movementY===0}function Ws(e,t,n){switch(e){case`vertical`:return t;case`horizontal`:return n;default:return t||n}}function Gs(e,t){return Ws(t,e===`ArrowUp`||e===`ArrowDown`,e===`ArrowLeft`||e===`ArrowRight`)}function Ks(e,t,n){return Ws(t,e===`ArrowDown`,n?e===`ArrowLeft`:e===`ArrowRight`)||e===`Enter`||e===` `||e===``}function qs(e,t,n){return Ws(t,n?e===tn:e===nn,e===an)}function Js(e,t,n,r){return t===`both`||t===`horizontal`&&r?e===`Escape`:Ws(t,n?e===nn:e===tn,e===rn)}function Ys(e,t){let{listRef:n,activeIndex:r,onNavigate:i=()=>{},enabled:a=!0,selectedIndex:o=null,allowEscape:s=!1,loopFocus:c=!1,nested:l=!1,rtl:u=!1,virtual:d=!1,focusItemOnOpen:f=`auto`,focusItemOnHover:p=!0,openOnArrowKeyDown:m=!0,disabledIndices:h=void 0,orientation:g=`vertical`,triggerOrientation:_=g,parentOrientation:v,id:y,resetOnPointerLeave:b=!0,externalTree:x,nestedReturnFocusRef:S,grid:C}=t,w=C!=null,T=e.useState(`open`),E=e.useState(`floatingElement`),D=e.useState(`domReferenceElement`),O=e.context.dataRef,k=kn(E),A=Dn(D),j=Gi(k),M=xs(),N=Ss(x),P=Z.useRef(f),F=Z.useRef(o??-1),I=Z.useRef(null),L=Z.useRef(!0),R=W(e=>{i(F.current===-1?null:F.current,e)}),z=Z.useRef(!!E),B=Z.useRef(T),V=Z.useRef(!1),ee=Z.useRef(!1),te=Z.useRef(null),ne=Gi(h),U=Gi(T),re=Gi(o),ie=Gi(b),G=Zr(),ae=Zr(),oe=W(()=>{G.cancel();function e(e){d||(te.current=Qo(e,{sync:V.current,preventScroll:!0}))}let t=n.current[F.current],r=ee.current;t&&e(t),(V.current?e=>e():e=>G.request(e))(()=>{let i=n.current[F.current]||t;i&&(t||e(i),K&&(r||!L.current)&&i.scrollIntoView?.({block:`nearest`,inline:`nearest`}))})});Y(()=>{O.current.orientation=g},[O,g]),Y(()=>{T||(I.current=null),T&&f===`auto`||(P.current=f)},[T,f]),Y(()=>{a&&(T&&E?(F.current=o??-1,P.current&&o!=null&&(ee.current=!0,R())):z.current&&(F.current=-1,R()))},[a,T,E,o,R]),Y(()=>{if(a){if(!T)V.current=!1;else if(E){if(r==null){if(V.current=!1,re.current!=null)return;if(z.current&&(F.current=-1,oe()),(!B.current||!z.current)&&P.current&&(I.current!=null||P.current===!0&&I.current==null)){let e=0,t=()=>{n.current[0]==null?(e<2&&(e?e=>ae.request(e):queueMicrotask)(t),e+=1):(F.current=I.current==null||Ks(I.current,_,u)||l?fr(n):pr(n),I.current=null,R())};t()}}else dr(n.current,r)||(F.current=r,oe(),ee.current=!1)}}},[a,T,E,r,re,l,n,_,u,R,oe,ae]),Y(()=>{if(!a||E||!N||d||!z.current)return;let e=N.nodesRef.current,t=e.find(e=>e.id===M)?.context?.elements.floating,n=Zt(X(D??t??null)),r=e.some(e=>e.context&&Q(e.context.elements.floating,n));t&&!r&&L.current&&t.focus({preventScroll:!0})},[a,E,D,N,M,d]),Y(()=>{B.current=T,z.current=!!E});let se=r!=null,ce=W(e=>{if(!U.current)return;let t=n.current.indexOf(e.currentTarget);t!==-1&&(F.current!==t||r!==t)&&(F.current=t,R(e))}),le=W(()=>v??N?.nodesRef.current.find(e=>e.id===M)?.context?.dataRef?.current.orientation),ue=W(()=>fr(n,ne.current)),de=W(t=>{if(L.current=!1,V.current=!0,t.which===229||!U.current&&t.currentTarget===j.current)return;if(l&&Js(t.key,g,u,w)){Gs(t.key,le())||Mn(t),e.setOpen(!1,li(yi,t.nativeEvent));let n=S?.current??D;H(n)&&n.focus();return}r!=null&&r!==F.current&&!dr(n.current,r)&&(F.current=r);let i=F.current,a=fr(n,h),o=pr(n,h);if(A||(t.key===`Home`&&(Mn(t),F.current=a,R(t)),t.key===`End`&&(Mn(t),F.current=o,R(t))),C!=null){let e=C(t,F.current,n,g,c,u,h,a,o);if(e!=null&&e!==F.current&&(F.current=e,R(t)),g===`both`)return}if(Gs(t.key,g)){Mn(t);let e=Zt(t.currentTarget.ownerDocument);if(T&&!d&&Q(t.currentTarget,e)&&!n.current.some(t=>t!=null&&Q(t,e))){F.current=Ks(t.key,g,u)?a:o,R(t),r===F.current&&oe();return}let{index:l,wrapped:f}=mr(n.current,i,{decrement:!Ks(t.key,g,u),loopFocus:c,allowEscape:s,disabledIndices:h,minIndex:a,maxIndex:o});f&&(V.current=!1),F.current=l,R(t)}}),K=Z.useMemo(()=>({onFocus(e){V.current=!0,ce(e)},onClick({currentTarget:e}){d||e.focus({preventScroll:!0})},onMouseMove(e){Us(e)||(V.current=!0,ee.current=!1,p&&ce(e))},onPointerLeave(e){if(!U.current||!L.current||e.pointerType===`touch`)return;V.current=!0;let t=e.relatedTarget;if(p&&!n.current.includes(t)&&ie.current&&(te.current?.(),te.current=null,F.current=-1,R(e),!d)){let e=j.current,t=Zt(X(e));e&&Q(e,t)&&e.focus({preventScroll:!0})}}}),[ce,U,j,p,n,R,ie,d]),fe=Z.useMemo(()=>d&&T&&se&&{"aria-activedescendant":`${y}-${r}`},[d,T,se,y,r]),pe=Z.useMemo(()=>({...A?{}:fe,onKeyDown(t){if(t.key===`Tab`&&t.shiftKey&&T&&!d){let n=$t(t.nativeEvent);if(n&&!Q(j.current,n))return;Mn(t);let r=li(_i,t.nativeEvent);e.setOpen(!1,r);let i=S?.current??D;!r.isCanceled&&H(i)&&i.focus()}else de(t)},onPointerMove(e){Us(e)||(L.current=!0)}}),[fe,de,j,A,e,T,d,D,S]),me=Z.useMemo(()=>{function t(t){e.setOpen(!0,li(yi,t.nativeEvent,t.currentTarget))}function n(e){f===`auto`&&Pn(e.nativeEvent)&&(P.current=!d)}function r(e){P.current=f,f===`auto`&&Fn(e.nativeEvent)&&(P.current=!0)}return{onKeyDown(n){let r=e.select(`open`);L.current=!1;let i=n.key.startsWith(`Arrow`),a=qs(n.key,le(),u),o=Gs(n.key,r?g:_),s=(l?a:o)||n.key===`Enter`||n.key.trim()===``;if(d&&r&&(!l||En(n.currentTarget)))return de(n);if(r||m||!i){if(s){let e=Gs(n.key,le());I.current=l&&e?null:n.key}l?a&&(Mn(n),r?(F.current=ue(),R(n),d&&j.current?.focus()):t(n)):o&&(re.current!=null&&(F.current=re.current),Mn(n),!r&&m?t(n):de(n),r&&R(n))}},onFocus(t){t.target===t.currentTarget&&e.select(`open`)&&!d&&(F.current=-1,R(t))},onPointerDown:r,onPointerEnter:r,onMouseDown:n,onClick:n}},[de,f,ue,l,R,e,m,g,_,le,u,re,d,j]),q=Z.useMemo(()=>({...fe,...me}),[fe,me]);return Z.useMemo(()=>a?{reference:q,floating:pe,item:K,trigger:me}:{},[a,q,pe,me,K])}function Xs(e,t){let{listRef:n,elementsRef:r,activeIndex:i,onMatch:a,disabledIndices:o,onTyping:s,enabled:c=!0,resetMs:l=750,selectedIndex:u=null}=t,d=W(s),f=e.useState(`open`),p=Gr(),m=Z.useRef(``),h=Z.useRef(u??i??-1),g=Z.useRef(null),_=W(e=>{function t(e){return r?.current[e]}function s(e){let n=t(e);return n&&!vr(n)||n?.matches(`:disabled`)?!1:o==null||!gr(Se,e,o)}function c(e,t,n=0){if(e.length===0)return-1;let r=(n%e.length+e.length)%e.length,i=t.toLowerCase();for(let t=0;t<e.length;t+=1){let n=(r+t)%e.length;if(e[n]?.toLowerCase().startsWith(i)&&s(n))return n}return-1}let _=n.current;if(m.current.length>0&&e.key===` `&&(Mn(e),d?.(!0)),m.current.length>0&&m.current[0]!==` `&&c(_,m.current)===-1&&e.key!==` `&&d?.(!1),_==null||e.key.length!==1||e.ctrlKey||e.metaKey||e.altKey)return;f&&e.key!==` `&&(Mn(e),d?.(!0));let v=m.current===``;v&&(h.current=u??i??-1),_.every((e,t)=>e&&s(t)?e[0]?.toLowerCase()!==e[1]?.toLowerCase():!0)&&m.current===e.key&&(m.current=``,h.current=g.current),m.current+=e.key,p.start(l,()=>{m.current=``,h.current=g.current,d?.(!1)});let y=((v?u??i??-1:h.current)??0)+1,b=c(_,m.current,y);b===-1?e.key!==` `&&(m.current=``,d?.(!1)):(a?.(b,e),g.current=b)}),v=W(t=>{let n=t.relatedTarget,r=e.select(`domReferenceElement`),i=e.select(`floatingElement`);Q(r,n)||Q(i,n)||(p.clear(),m.current=``,h.current=g.current,d?.(!1))});Y(()=>{(f||u===null)&&(p.clear(),g.current=null,m.current!==``&&(m.current=``,d?.(!1)))},[f,u,p,d]);let y=Z.useMemo(()=>({onKeyDown:_,onBlur:v}),[_,v]);return Z.useMemo(()=>c?{reference:y,floating:y}:{},[c,y])}function Zs(e,t,n){let{reference:r,floating:i}=e,a=Xn(t),o=Zn(t),s=Yn(o),c=Kn(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=qn(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function Qs(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=Gn(t,e),p=lr(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=ur(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=ur(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var $s=50,ec=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Qs},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Zs(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<$s&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=Zs(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},tc=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=Gn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=Kn(r),_=Xn(o),v=Kn(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[sr(o)]:$n(o)),x=p!==`none`;!d&&x&&b.push(...or(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=Qn(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(u!==`alignment`||_===Xn(t)||T.every(e=>Xn(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=Xn(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o}if(r!==n)return{reset:{placement:n}}}return{}}}},nc=new Set([`left`,`top`]);async function rc(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Kn(n),s=qn(n),c=Xn(n)===`y`,l=nc.has(o)?-1:1,u=a&&c?-1:1,d=Gn(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var ic=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await rc(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},ac=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=Gn(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=Xn(i),p=Jn(f),m=u[p],h=u[f],g=(e,t)=>Wn(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}},oc=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=Gn(e,t),u={x:n,y:r},d=Xn(i),f=Jn(d),p=u[f],m=u[d],h=Gn(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:h.mainAxis??0,crossAxis:h.crossAxis??0};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=nc.has(Kn(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},sc=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){let{placement:n,rects:r,platform:i,elements:a}=t,{apply:o=()=>{},...s}=Gn(e,t),c=await i.detectOverflow(t,s),l=Kn(n),u=qn(n),d=Xn(n)===`y`,{width:f,height:p}=r.floating,m,h;l===`top`||l===`bottom`?(m=l,h=u===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?`start`:`end`)?`left`:`right`):(h=l,m=u===`end`?`top`:`bottom`);let g=p-c.top-c.bottom,_=f-c.left-c.right,v=Rn(p-c[m],g),y=Rn(f-c[h],_),b=t.middlewareData.shift,x=!b,S=v,C=y;b!=null&&b.enabled.x&&(C=_),b!=null&&b.enabled.y&&(S=g),x&&!u&&(d?C=f-2*zn(c.left,c.right):S=p-2*zn(c.top,c.bottom)),await o({...t,availableWidth:C,availableHeight:S});let w=await i.getDimensions(a.floating);return f!==w.width||p!==w.height?{reset:{rects:!0}}:{}}}};function cc(e){let t=G(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=H(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=Bn(n)!==a||Bn(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function lc(e){return B(e)?e:e.contextElement}function uc(e){let t=lc(e);if(!H(t))return Hn(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=cc(t),o=(a?Bn(n.width):n.width)/r,s=(a?Bn(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),s&&Number.isFinite(s)||(s=1),{x:o,y:s}}var dc=Hn(0);function fc(e){let t=ne(e);return!ae()||!t.visualViewport?dc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function pc(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===ne(e)}function mc(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=lc(e),o=Hn(1);t&&(r?B(r)&&(o=uc(r)):o=uc(e));let s=pc(a,n,r)?fc(a):Hn(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=ne(a),t=B(r)?ne(r):r,n=e,i=U(n);for(;i&&t!==n;){let e=uc(i),t=i.getBoundingClientRect(),r=G(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=ne(i),i=U(n)}}return ur({width:u,height:d,x:c,y:l})}function hc(e,t){let n=F(e).scrollLeft;return t?t.left+n:mc(R(e)).left+n}function gc(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-hc(e,n),y:n.top+t.scrollTop}}function _c(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=R(r),s=t?V(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=Hn(1),u=Hn(0),d=H(r);if((d||!a)&&((he(r)!==`body`||Ee(o))&&(c=F(r)),d)){let e=mc(r);l=uc(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?gc(o,c):Hn(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function vc(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function yc(e){let t=F(e),n=e.ownerDocument.body,r=zn(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=zn(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+hc(e),o=-t.scrollTop;return G(n).direction===`rtl`&&(a+=zn(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}var bc=25;function xc(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=ne(e),a=R(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!ae()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(hc(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=bc&&(s-=o)}return{width:s,height:c,x:l,y:u}}function Sc(e,t){let n=mc(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=uc(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Cc(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=xc(e,n,t);else if(t===`document`)r=yc(R(e));else if(B(t))r=Sc(t,n);else{let n=fc(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return ur(r)}function wc(e,t){let n=t.get(e);if(n)return n;let r=q(e,[],!1).filter(e=>B(e)&&he(e)!==`body`),i=null,a=G(e).position===`fixed`,o=a?te(e):e;for(;B(o)&&!ee(o);){let e=G(o),t=re(o),n=i?i.position:a?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==o):i=e,o=te(o)}return t.set(e,r),r}function Tc(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?V(t)?[]:wc(t,this._c):[].concat(n),r],o=Cc(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=Cc(t,a[e],i);s=zn(n.top,s),c=Rn(n.right,c),l=Rn(n.bottom,l),u=zn(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function Ec(e){let{width:t,height:n}=cc(e);return{width:t,height:n}}function Dc(e,t,n){let r=H(t),i=R(t),a=n===`fixed`,o=mc(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=Hn(0);if((r||!a)&&((he(t)!==`body`||Ee(i))&&(s=F(t)),r)){let e=mc(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=hc(i));let l=i&&!r&&!a?gc(i,s):Hn(0);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function Oc(e){return G(e).position===`static`}function kc(e,t){if(!H(e)||G(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return R(e)===n&&(n=n.ownerDocument.body),n}function Ac(e,t){let n=ne(e);if(V(e))return n;if(!H(e)){let t=te(e);for(;t&&!ee(t);){if(B(t)&&!Oc(t))return t;t=te(t)}return n}let r=kc(e,t);for(;r&&oe(r)&&Oc(r);)r=kc(r,t);return r&&ee(r)&&Oc(r)&&!re(r)?n:r||z(e)||n}var jc=async function(e){let t=this.getOffsetParent||Ac,n=this.getDimensions,r=await n(e.floating);return{reference:Dc(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Mc(e){return G(e).direction===`rtl`}var Nc={convertOffsetParentRelativeRectToViewportRelativeRect:_c,getDocumentElement:R,getClippingRect:Tc,getOffsetParent:Ac,getElementRects:jc,getClientRects:vc,getDimensions:Ec,getScale:uc,isElement:B,isRTL:Mc};function Pc(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Fc(e,t,n){let r=null,i,a=R(e);function o(){var e;clearTimeout(i),(e=r)==null||e.disconnect(),r=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let m=Vn(d),h=Vn(a.clientWidth-(u+f)),g=Vn(a.clientHeight-(d+p)),_=Vn(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:zn(0,Rn(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(!Pc(l,e.getBoundingClientRect()))return s();if(n!==c){if(!y)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{r=new IntersectionObserver(b,{...v,root:a.ownerDocument})}catch{r=new IntersectionObserver(b,v)}r.observe(e)}let c=ne(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}function Ic(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=lc(e),u=i||a?[...l?q(l):[],...t?q(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)});let d=l&&s?Fc(l,n,a):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?mc(e):null;c&&g();function g(){let t=mc(e);h&&!Pc(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var Lc=ic,Rc=ac,zc=tc,Bc=sc,Vc=oc,Hc=(e,t,n)=>{let r=new Map,i=n??{},a={...Nc,...i.platform,_c:r};return ec(e,t,{...i,platform:a})},Uc=typeof document<`u`?Z.useLayoutEffect:function(){};function Wc(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e==`function`&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e==`object`){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Wc(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){let n=i[r];if(!(n===`_owner`&&e.$$typeof)&&!Wc(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function Gc(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Kc(e,t){let n=Gc(e);return Math.round(t*n)/n}function qc(e){let t=Z.useRef(e);return Uc(()=>{t.current=e}),t}function Jc(e){e===void 0&&(e={});let{placement:t=`bottom`,strategy:n=`absolute`,middleware:r=[],platform:i,elements:{reference:a,floating:o}={},transform:s=!0,whileElementsMounted:c,open:l}=e,[u,d]=Z.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=Z.useState(r);Wc(f,r)||p(r);let[m,h]=Z.useState(null),[g,_]=Z.useState(null),v=Z.useCallback(e=>{e!==S.current&&(S.current=e,h(e))},[]),y=Z.useCallback(e=>{e!==C.current&&(C.current=e,_(e))},[]),b=a||m,x=o||g,S=Z.useRef(null),C=Z.useRef(null),w=Z.useRef(u),T=c!=null,E=qc(c),D=qc(i),O=qc(l),k=Z.useCallback(()=>{if(!S.current||!C.current)return;let e={placement:t,strategy:n,middleware:f};D.current&&(e.platform=D.current),Hc(S.current,C.current,e).then(e=>{let t={...e,isPositioned:O.current!==!1};A.current&&!Wc(w.current,t)&&(w.current=t,ei.flushSync(()=>{d(t)}))})},[f,t,n,D,O]);Uc(()=>{l===!1&&w.current.isPositioned&&(w.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[l]);let A=Z.useRef(!1);Uc(()=>(A.current=!0,()=>{A.current=!1}),[]),Uc(()=>{if(b&&(S.current=b),x&&(C.current=x),b&&x){if(E.current)return E.current(b,x,k);k()}},[b,x,k,E,T]);let j=Z.useMemo(()=>({reference:S,floating:C,setReference:v,setFloating:y}),[v,y]),M=Z.useMemo(()=>({reference:b,floating:x}),[b,x]),N=Z.useMemo(()=>{let e={position:n,left:0,top:0};if(!M.floating)return e;let t=Kc(M.floating,u.x),r=Kc(M.floating,u.y);return s?{...e,transform:`translate(`+t+`px, `+r+`px)`,...Gc(M.floating)>=1.5&&{willChange:`transform`}}:{position:n,left:t,top:r}},[n,s,M.floating,u.x,u.y]);return Z.useMemo(()=>({...u,update:k,refs:j,elements:M,floatingStyles:N}),[u,k,j,M,N])}var Yc=(e,t)=>{let n=Lc(e);return{name:n.name,fn:n.fn,options:[e,t]}},Xc=(e,t)=>{let n=Rc(e);return{name:n.name,fn:n.fn,options:[e,t]}},Zc=(e,t)=>({fn:Vc(e).fn,options:[e,t]}),Qc=(e,t)=>{let n=zc(e);return{name:n.name,fn:n.fn,options:[e,t]}},$c=(e,t)=>{let n=Bc(e);return{name:n.name,fn:n.fn,options:[e,t]}},el=Z.createContext(void 0),tl=Z.createContext(void 0);function nl(){let e=Z.useContext(el);if(e===void 0)throw Error(Te(60));return e}function rl(){let e=Z.useContext(tl);if(e===void 0)throw Error(Te(61));return e}var il=(e,t)=>Object.is(e,t);function al(e,t,n){return e==null||t==null?Object.is(e,t):n(e,t)}function ol(e,t,n){return Array.isArray(e)&&Array.isArray(t)?!_a(e,t,(e,t)=>al(e,t,n)):e!==t}function sl(e,t,n){return e?e.some(e=>e!==void 0&&al(t,e,n)):!1}function cl(e,t,n){return e?e.findIndex(e=>e!==void 0&&al(e,t,n)):-1}function ll(e,t){if(t!==il)return n=>sl(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 ul(e,t,n,r){let i=r&&Array.isArray(t)?e.findIndex(ll(t,n)):cl(e,t,n);return i===-1?null:i}function dl(e,t,n,r,i,a){return sl(r,t,i)?a!=null&&e>a&&sl(r,n[a],i)?a:e:e===a?ul(n,r,i,!0):a}function fl(e,t,n){return e.filter(e=>!al(t,e,n))}function pl(e){if(e==null)return``;if(typeof e==`string`)return e;try{return JSON.stringify(e)}catch{return String(e)}}function ml(e){return typeof e==`object`&&!!e&&Array.isArray(e.items)}function hl(e){return ml(e?.[0])}function gl(e){return hl(e)?e.flatMap(e=>e.items):e}function _l(e){if(!Array.isArray(e))return e!=null&&`null`in e;let t=e;if(hl(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 vl(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 pl(e)}function yl(e,t){return t&&e!=null?t(e)??``:e&&typeof e==`object`&&`value`in e&&`label`in e?pl(e.value):pl(e)}function bl(e,t,n){function r(){return vl(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=gl(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 xl(e,t,n){return e.reduce((e,r,i)=>(i>0&&e.push(`, `),e.push((0,$.jsx)(Z.Fragment,{children:bl(r,t,n)},i)),e),[])}var Sl={id:e=>e.id,labelId:e=>e.labelId,modal:e=>e.modal,multiple:e=>e.multiple,disabled:e=>e.disabled,readOnly:e=>e.readOnly,required:e=>e.required,highlightItemOnHover:e=>e.highlightItemOnHover,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:yl(t,r)!==``},hasNullItemLabel:(e,t)=>t?_l(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=>al(t,e,n)):al(t,r,n)},isSelectedByFocus:(e,t)=>e.selectedIndex===t,popupProps:e=>e.popupProps,triggerProps:e=>e.triggerProps,itemRoot:e=>e.itemRoot,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 Cl(e){let t=Z.useRef(``),n=Z.useCallback(n=>{n.defaultPrevented||(t.current=n.pointerType,e(n,n.pointerType))},[e]);return{onClick:Z.useCallback(n=>{n.detail===0?e(n,`keyboard`):(`pointerType`in n?e(n,n.pointerType):e(n,t.current),t.current=``)},[e]),onPointerDown:n}}function wl(e,t){let{onClick:n,onPointerDown:r}=Cl(W((n,r)=>{(typeof e==`function`?e():e)||t(r||(Ut?`touch`:``))}));return Z.useMemo(()=>({onClick:n,onPointerDown:r}),[n,r])}function Tl(e){let[t,n]=Z.useState(null),r=wl(e,n);return ci(e,t=>{t&&!e&&n(null)}),Z.useMemo(()=>({openMethod:t,triggerProps:r}),[t,r])}function El(e,t){return Math.max(0,e-t)}function Dl(e,t){if(t<=0)return 0;let n=ga(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 Ol(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:p=!1,modal:m=!0,actionsRef:h,inputRef:g,onOpenChangeComplete:_,items:v,multiple:y=!1,itemToStringLabel:b,itemToStringValue:x,isItemEqualToValue:S=il,highlightItemOnHover:C=!0,children:w}=e,{clearErrors:T}=wt(),{setDirty:E,setTouched:D,setFocused:O,validityData:k,setFilled:A,name:j,disabled:M,validation:N,validationMode:P}=St(),F=It({id:t}),I=M||d,R=j??c,[z,B]=Ni({controlled:n,default:y?r??Se:r,name:`Select`,state:`value`}),[V,H]=Ni({controlled:a,default:o,name:`Select`,state:`open`}),ee=Z.useRef([]),te=Z.useRef([]),ne=Z.useRef(null),U=Z.useRef(null),re=Z.useRef(0),ie=Z.useRef(null),G=Z.useRef([]),ae=Z.useRef(!1),oe=Z.useRef(null),se=Z.useRef(null),ce=Z.useRef({allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0}),ue=Z.useRef(!1),fe=Z.useRef(z),{openMethod:pe,triggerProps:me}=Tl(V),q=L(()=>new qo({id:F,labelId:void 0,modal:m,multiple:y,disabled:I,readOnly:f,required:p,highlightItemOnHover:C,itemToStringLabel:b,itemToStringValue:x,isItemEqualToValue:S,value:z,open:V,mounted:V,transitionStatus:void 0,items:v,forceMount:!1,openMethod:null,activeIndex:null,selectedIndex:null,popupProps:de,triggerProps:de,itemRoot:{props:de,multiple:y,disabled:I,readOnly:f,isItemEqualToValue:S},triggerElement:null,positionerElement:null,listElement:null,popupSide:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1,hasScrollArrows:!1},{setValue:K,setOpen:K,handleScrollArrowVisibility:K,onOpenChangeComplete:K,listRef:ee,popupRef:ne,scrollHandlerRef:U,scrollArrowsMountedCountRef:re,valueRef:ie,valuesRef:G,labelsRef:te,typingRef:ae,selectionRef:ce,firstItemTextRef:oe,selectedItemTextRef:se,alignItemWithTriggerActiveRef:ue,initialValueRef:fe},Sl)).current,[he,_e]=Z.useState(!1),{mounted:J,transitionStatus:ve,forceUnmount:ye}=Is({open:V,ref:ne,preventUnmountOnClose:he,setPreventUnmountOnClose:_e,onUnmount(){q.update({activeIndex:null,openMethod:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1}),_?.(!1)}}),be=q.useState(`activeIndex`),xe=q.useState(`selectedIndex`),Ce=q.useState(`triggerElement`),we=q.useState(`positionerElement`),Te=Mo(pe),Ee=pe??Te,X=Z.useMemo(()=>y?``:yl(z,x),[y,z,x]),De=Z.useMemo(()=>y&&Array.isArray(z)?z.map(e=>yl(e,x)):yl(z,x),[y,z,x]);si(Gi(Ce),F,z,W(()=>De),!I,c);let Oe=y?Array.isArray(z)&&z.length>0:z!=null&&X!==``;Y(()=>{A(Oe)},[Oe,A]),Y(function(){let e=ul(G.current,z,S,y);e===null&&(se.current=null),!V&&q.set(`selectedIndex`,e)},[y,V,z,S,q]),ci(z,()=>{T(R),E(ol(z,k.initialValue,S)),N.change(z)});let ke=W((e,t)=>{let n=t,r=Rs(n);s?.(e,n),!t.isCanceled&&(e||_e(r()),H(e),e||t.reason!==`focus-out`&&t.reason!==`outside-press`||(D(!0),O(!1),P===`onBlur`&&N.commit(z)))});Z.useImperativeHandle(h,()=>({unmount:ye,close:()=>{q.state.open&&ke(!1,li(Ei))}}),[ye,ke,q]);let Ae=W((e,t)=>{i?.(e,t),!t.isCanceled&&B(e)}),je=W(e=>{let t=El(e.scrollHeight,e.clientHeight),n=Dl(e.scrollTop,t),r=n>0,i=n<t;q.set(`scrollUpArrowVisible`,r),q.set(`scrollDownArrowVisible`,i)}),Me=Hs({open:V,onOpenChange:ke,elements:{reference:Ce,floating:we}}),Ne=Ms(Me,{enabled:!I,event:`mousedown`}),Pe=Fs(Me),Fe=Ys(Me,{enabled:!I,listRef:ee,activeIndex:be,selectedIndex:xe,disabledIndices:Se,onNavigate(e){(e!==null||V)&&q.set(`activeIndex`,e)},focusItemOnHover:C}),Ie=Xs(Me,{enabled:!I&&(V||!f&&!y),listRef:te,activeIndex:be,selectedIndex:xe,disabledIndices:e=>No(ee.current[e]),onMatch(e){V?q.set(`activeIndex`,e):Ae(G.current[e],li(di))},onTyping(e){ae.current=e}}),Le=Z.useMemo(()=>le(Ie.reference,Fe.reference,Pe.reference,Ne.reference,me),[Ne.reference,Ie.reference,Fe.reference,Pe.reference,me]),Re=Z.useMemo(()=>le(Ls,Ie.floating,Fe.floating,Pe.floating),[Ie.floating,Fe.floating,Pe.floating]),ze=Fe.item??de,Be=Z.useMemo(()=>({props:ze,multiple:y,disabled:I,readOnly:f,isItemEqualToValue:S}),[ze,y,I,f,S]);q.useContextCallback(`setValue`,Ae),q.useContextCallback(`setOpen`,ke),q.useContextCallback(`handleScrollArrowVisibility`,je),q.useContextCallback(`onOpenChangeComplete`,_),jo(()=>{q.update({popupProps:Re,triggerProps:Le,itemRoot:Be})}),q.useSyncedValues({id:F,modal:m,multiple:y,disabled:I,readOnly:f,required:p,highlightItemOnHover:C,value:z,open:V,mounted:J,transitionStatus:ve,popupProps:Re,triggerProps:Le,itemRoot:Be,items:v,itemToStringLabel:b,itemToStringValue:x,isItemEqualToValue:S,openMethod:Ee});let Ve=ge(g,N.inputRef),He=y?void 0:R,Ue=Z.useMemo(()=>!y||!Array.isArray(z)||!R?null:z.map(e=>{let t=yl(e,x);return(0,$.jsx)(`input`,{type:`hidden`,form:l,name:R,value:t,disabled:I},t)}),[y,z,l,R,x,I]);return(0,$.jsxs)(el.Provider,{value:q,children:[(0,$.jsx)(tl.Provider,{value:Me,children:w}),(0,$.jsx)(`input`,{...N.getValidationProps(I,{onFocus(){q.state.triggerElement?.focus({focusVisible:!0})},onChange(e){if(e.nativeEvent.defaultPrevented||I||f)return;let t=e.currentTarget.value,n=li(di,e.nativeEvent);function r(){if(y)return;let e=t.toLowerCase(),r=G.current.findIndex(t=>yl(t,x).toLowerCase()===e||vl(t,b).toLowerCase()===e);r===-1&&(r=G.current.findIndex((t,n)=>{let r=te.current[n];return r!=null&&r.toLowerCase()===e}));let i=G.current[r];i!=null&&Ae(i,n)}q.set(`forceMount`,!0),queueMicrotask(r)}}),id:F&&He==null?`${F}-hidden-input`:void 0,form:l,name:He,autoComplete:u,value:X,disabled:I,required:p&&!(y&&Oe),readOnly:f,ref:Ve,style:R?Yi:Ji,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),Ue]})}var kl=5;function Al(e,t){let n=jl(t);return e.clientX>=n.left-kl&&e.clientX<=n.right+kl&&e.clientY>=n.top-kl&&e.clientY<=n.bottom+kl}function jl(e){let t=e.getBoundingClientRect(),n=ne(e);if(Xt)return t;let r=n.getComputedStyle(e,`::before`),i=n.getComputedStyle(e,`::after`);if(r.content===`none`&&i.content===`none`)return t;let a=parseFloat(r.width)||0,o=parseFloat(r.height)||0,s=parseFloat(i.width)||0,c=parseFloat(i.height)||0,l=Math.max(t.width,a,s),u=Math.max(t.height,o,c),d=l-t.width,f=u-t.height;return{left:t.left-d/2,right:t.right+d/2,top:t.top-f/2,bottom:t.bottom+f/2}}var Ml=`data-popup-side`,Nl=400,Pl={...Sn,...yt,popupSide:e=>e?{[Ml]:e}:null,value:()=>null},Fl=Z.forwardRef(function(e,t){let{render:n,className:r,id:i,disabled:a=!1,nativeButton:o=!0,style:s,...c}=e,{setTouched:l,validationMode:u,validation:d,state:f,disabled:p}=St(),{labelId:m}=Mt(),h=nl(),g=h.useState(`readOnly`),_=h.useState(`required`),v=h.useState(`disabled`),y=p||v||a,b=h.useState(`open`),x=h.useState(`mounted`),S=h.useState(`value`),C=h.useState(`triggerProps`),w=h.useState(`positionerElement`),T=h.useState(`listElement`),E=h.useState(`popupSide`),D=h.useState(`id`),O=h.useState(`labelId`),k=h.useState(`hasSelectedValue`),A=x&&w?E:null,j=i??D,M=ya(m,O);It({id:i});let N=Gi(w),P=Z.useRef(null),F=oi(y,P),{getButtonProps:I,buttonRef:L}=pe({disabled:y,native:o}),R=h.useStateSetter(`triggerElement`),z=Gr(),B=Gr(),V=Gr();Z.useEffect(()=>{if(b)return V.start(Nl,()=>{h.context.selectionRef.current.allowUnselectedMouseUp=!0,h.context.selectionRef.current.allowSelectedMouseUp=!0}),()=>{V.clear()};h.context.selectionRef.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0},B.clear()},[b,h,B,V]);let H=le(C,{id:j,role:`combobox`,"aria-expanded":b,"aria-haspopup":`listbox`,"aria-controls":b?T?.id??kn(w)?.id:void 0,"aria-labelledby":M,"aria-readonly":g||void 0,"aria-required":_||void 0,tabIndex:y?-1:0,onFocus(e){F(!0),b&&h.context.alignItemWithTriggerActiveRef.current&&h.context.setOpen(!1,li(di,e.nativeEvent)),z.start(0,()=>{h.set(`forceMount`,!0)})},onBlur(e){Q(w,e.relatedTarget)||(l(!0),F(!1),u===`onBlur`&&d.commit(S))},onMouseDown(e){if(b)return;let t=X(e.currentTarget);function n(e){if(!P.current)return;let t=e.target;Q(P.current,t)||Q(N.current,t)||Al(e,P.current)||h.context.setOpen(!1,li(Si,e))}B.start(0,()=>{t.addEventListener(`mouseup`,n,{once:!0})})}},c,I),ee=d.getValidationProps(y,H);ee.role=`combobox`;let te={...f,open:b,disabled:y,value:S,readOnly:g,popupSide:A,placeholder:!k};return ue(`button`,e,{ref:[t,P,L,R],state:te,stateAttributesMapping:Pl,props:ee})}),Il={value:()=>null},Ll=Z.forwardRef(function(e,t){let{className:n,render:r,children:i,placeholder:a,style:o,...s}=e,c=nl(),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)?xl(l,u,d):bl(l,u,d)),ue(`span`,e,{state:h,ref:[t,c.context.valueRef],props:[{children:g},s],stateAttributesMapping:Il})}),Rl=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,o={open:nl().useState(`open`)};return ue(`span`,e,{state:o,ref:t,props:[{"aria-hidden":!0,children:`▼`},a],stateAttributesMapping:xn})}),zl=Z.forwardRef(function(e,t){let n=nl(),r=n.useState(`mounted`),i=n.useState(`forceMount`);return r||i?(0,$.jsx)(_s,{ref:t,...e}):null});function Bl(e){return ve(19)?e:e?`true`:void 0}function Vl(e){let{nodeId:t,externalTree:n,rootContext:r}=e,i=r.useState(`referenceElement`),a=r.useState(`floatingElement`),o=r.useState(`domReferenceElement`),s=r.useState(`open`),c=r.useState(`floatingId`),[l,u]=Z.useState(null),d=Z.useRef(null),f=Ss(n),p=Z.useMemo(()=>({reference:i,floating:a,domReference:o}),[i,a,o]),m=Jc({...e,elements:{...p,...l&&{reference:l}}}),h=Z.useCallback(e=>{let t=B(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;u(t),m.refs.setReference(t)},[m.refs]),g=Z.useMemo(()=>({...m.refs,setPositionReference:h,domReference:d}),[m.refs,h]),_=Z.useMemo(()=>({...m.elements,domReference:o}),[m.elements,o]),v=Z.useMemo(()=>({...m,dataRef:r.context.dataRef,open:s,onOpenChange:r.setOpen,events:r.context.events,floatingId:c,refs:g,elements:_,nodeId:t,rootStore:r}),[m,g,_,t,r,s,c]);return Y(()=>{o&&(d.current=o)},[o]),Y(()=>{r.context.dataRef.current.floatingContext=v;let e=f?.nodesRef.current.find(e=>e.id===t);e&&(e.context=v)}),Z.useMemo(()=>({...m,context:v,refs:g,elements:_,rootStore:r}),[m,g,_,v,r])}var Hl=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=Gn(e,t)||{};if(l==null)return{};let d=lr(u),f={x:n,y:r},p=Zn(i),m=Yn(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=s.floating[y]||a.floating[m],C=b/2-x/2,w=S/2-h[m]/2-1,T=Math.min(d[_],w),E=Math.min(d[v],w),D=T,O=S-h[m]-E,k=S/2-h[m]/2+C,A=Wn(D,k,O),j=!c.arrow&&qn(i)!=null&&k!==A&&a.reference[m]/2-(k<D?T:E)-h[m]/2<0,M=j?k<D?k-D:k-O:0;return{[p]:f[p]+M,data:{[p]:A,centerOffset:k-A-M,...j&&{alignmentOffset:M}},reset:j}}}),Ul=(e,t)=>{let{name:n,fn:r}=Hl(e);return{name:n,fn:r,options:[e,t]}},Wl={name:`hide`,async fn(e){let{width:t,height:n,x:r,y:i}=e.rects.reference,a=t===0&&n===0&&r===0&&i===0,o=await e.platform.detectOverflow(e,{elementContext:`reference`});return{data:{referenceHidden:o.top-n>=0||o.right-t>=0||o.bottom-n>=0||o.left-t>=0||a}}}},Gl={sideX:`left`,sideY:`top`},Kl=`--available-width`,ql=`--available-height`,Jl=`--anchor-width`,Yl=`--anchor-height`,Xl=`--transform-origin`,Zl=Kl,Ql=ql;function $l(e,t,n){let r=e===`inline-start`||e===`inline-end`;return{top:`top`,right:r?n?`inline-start`:`inline-end`:`right`,bottom:`bottom`,left:r?n?`inline-end`:`inline-start`:`left`}[t]}function eu(e,t,n){let{rects:r,placement:i}=e;return{side:$l(t,Kn(i),n),align:qn(i)||`center`,anchor:{width:r.reference.width,height:r.reference.height},positioner:{width:r.floating.width,height:r.floating.height}}}function tu(e){return nu(e,Vl)}function nu(e,t){let{anchor:n,positionMethod:r=`absolute`,side:i=`bottom`,sideOffset:a=0,align:o=`center`,alignOffset:s=0,collisionBoundary:c,collisionPadding:l=5,sticky:u=!1,arrowPadding:d=5,disableAnchorTracking:f=!1,inline:p,keepMounted:m=!1,floatingRootContext:h,mounted:g,collisionAvoidance:_,shift:v,nodeId:y,adaptiveOrigin:b,lazyFlip:x=!1,externalTree:S}=e,C=_.side||`flip`,w=_.align||`flip`,T=_.fallbackAxisSide||`end`,E=v?.crossAxis??!1,D=v?.rootBoundary,O=typeof n==`function`?n:void 0,k=W(O),A=O?k:n,j=Gi(n),M=Gi(g),N=Pa()===`rtl`,[P,F]=Z.useState(null);!g&&P!==null&&F(null);let I=x===`placement`,L=P?Kn(P):null,R=P&&I?qn(P)||`center`:null,z=L||{top:`top`,right:`right`,bottom:`bottom`,left:`left`,"inline-end":N?`left`:`right`,"inline-start":N?`right`:`left`}[i],B=R||o,V=B===`center`?z:`${z}-${B}`,H=l;typeof H==`number`?H={top:H,right:H,bottom:H,left:H}:H&&={top:H.top||0,right:H.right||0,bottom:H.bottom||0,left:H.left||0};let ee=+(i===`bottom`),te=+(i===`top`),U=+(i===`right`),re=+(i===`left`),ie={boundary:c===`clipping-ancestors`?`clippingAncestors`:c,padding:H},G=Z.useRef(null),ae=Gi(a),oe=Gi(s),se=typeof a==`function`?0:a,ce=typeof s==`function`?0:s,le=[];p&&le.push(p),le.push(Yc(e=>{let t=eu(e,i,N),n=typeof ae.current==`function`?ae.current(t):ae.current,r=typeof oe.current==`function`?oe.current(t):oe.current;return{mainAxis:n,crossAxis:r,alignmentAxis:r}},[se,ce,N,i]));let ue=w===`none`&&C!==`shift`,de=!ue&&(u||E||C===`shift`),K=C===`none`?null:Qc({...ie,padding:{top:H.top+1+ee,right:H.right+1+re,bottom:H.bottom+1+te,left:H.left+1+U},mainAxis:!E&&C===`flip`,crossAxis:w===`flip`&&`alignment`,fallbackAxisSideDirection:T}),fe=ue?null:Xc({...ie,rootBoundary:D,mainAxis:w!==`none`,crossAxis:de,limiter:u||E?void 0:Zc(e=>{if(!G.current)return{};let{width:t,height:n}=G.current.getBoundingClientRect(),r=Xn(Kn(e.placement)),i=r===`y`?t:n,a=r===`y`?H.left+H.right:H.top+H.bottom;return{offset:i/2+a/2}})},[ie,u,E,D,H,w]);C===`shift`||w===`shift`||B===`center`?le.push(fe,K):le.push(K,fe),le.push($c({...ie,apply({elements:{floating:e},availableWidth:t,availableHeight:n,rects:r}){if(!M.current)return;let i=e.style;i.setProperty(Zl,`${t}px`),i.setProperty(Ql,`${n}px`);let a=ne(e).devicePixelRatio||1,{x:o,y:s,width:c,height:l}=r.reference,u=(Math.round((o+c)*a)-Math.round(o*a))/a,d=(Math.round((s+l)*a)-Math.round(s*a))/a;i.setProperty(Jl,`${u}px`),i.setProperty(Yl,`${d}px`)}}),Ul(e=>({element:G.current||X(e.elements.floating).createElement(`div`),padding:G.current?d:0}),[d]),{name:`transformOrigin`,fn(e){let{elements:{floating:t},middlewareData:n,placement:r,platform:o,rects:s,y:c}=e,l=Kn(r),u=qn(r),d=Xn(l)===`y`,f=G.current,p=typeof a==`function`?a(eu(e,i,N)):a,m;m=!f&&u&&Math.abs(d?n.shift?.x||0:n.shift?.y||0)<=1?u===`start`===(d&&o.isRTL?.(t)===!0)?`100%`:`0%`:`${(d?n.arrow?.x||0:n.arrow?.y||0)+(d?f?.clientWidth||0:f?.clientHeight||0)/2}px`;let h=l===`top`||l===`left`?`calc(100% + ${p}px)`:`${-p}px`;return de&&d&&Math.abs(n.shift?.y||0)>p&&(h=`${s.reference.y+s.reference.height/2-c}px`),t.style.setProperty(Xl,d?`${m} ${h}`:`${h} ${m}`),{}}},Wl,b),Y(()=>{!g&&h&&h.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[g,h]);let pe=Z.useMemo(()=>({ancestorScroll:!f,elementResize:!f&&typeof ResizeObserver<`u`,layoutShift:!f&&typeof IntersectionObserver<`u`}),[f]),{refs:me,elements:q,x:he,y:ge,middlewareData:_e,update:J,placement:ve,context:ye,isPositioned:be,floatingStyles:xe}=t({rootContext:h,open:m?g:void 0,placement:V,middleware:le,strategy:r,whileElementsMounted:m?void 0:(...e)=>Ic(...e,pe),nodeId:y,externalTree:S}),{sideX:Se,sideY:Ce}=_e.adaptiveOrigin||Gl,we=be?r:`fixed`,Te=Z.useMemo(()=>{let e;return e=be?b?{position:we,[Se]:he,[Ce]:ge}:{...xe,position:we}:{position:we,top:0,left:0},e[Zl]=`100vw`,e[Ql]=`100vh`,be||(e.opacity=0),e},[b,we,Se,he,Ce,ge,xe,be]),Ee=Z.useRef(null);Y(()=>{if(!g)return;let e=j.current,t=typeof e==`function`?e():e,n=(ru(t)?t.current:t)||null;n!==Ee.current&&(me.setPositionReference(n),Ee.current=n)},[g,me,A,j]),Z.useEffect(()=>{if(!g)return;let e=j.current;typeof e!=`function`&&ru(e)&&e.current!==Ee.current&&(me.setPositionReference(e.current),Ee.current=e.current)},[g,me,A,j]),Z.useEffect(()=>{if(m&&g&&q.reference&&q.floating)return Ic(q.reference,q.floating,J,pe)},[m,g,q,J,pe]);let De=Kn(ve),Oe=$l(i,De,N),ke=qn(ve)||`center`,Ae=!!_e.hide?.referenceHidden;Y(()=>{x&&g&&be&&(De!==z||I&&ke!==B)&&F(ve)},[x,I,g,be,ve,De,ke,z,B]);let je=Z.useMemo(()=>({position:`absolute`,top:_e.arrow?.y,left:_e.arrow?.x}),[_e.arrow]),Me=_e.arrow?.centerOffset!==0;return Z.useMemo(()=>({positionerStyles:Te,arrowStyles:je,arrowRef:G,arrowUncentered:Me,side:Oe,align:ke,physicalSide:De,anchorHidden:Ae,refs:me,context:ye,isPositioned:be,update:J}),[Te,je,G,Me,Oe,ke,De,Ae,me,ye,be,J])}function ru(e){return e!=null&&`current`in e}var iu=Z.createContext(void 0);function au(){let e=Z.useContext(iu);if(!e)throw Error(Te(59));return e}var ou=Z.forwardRef(function(e,t){let{cutout:n,...r}=e,i;if(n){let e=n.getBoundingClientRect();i=`polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${e.left}px ${e.top}px,${e.left}px ${e.bottom}px,${e.right}px ${e.bottom}px,${e.right}px ${e.top}px,${e.left}px ${e.top}px)`}return(0,$.jsx)(`div`,{ref:t,role:`presentation`,"data-base-ui-inert":``,...r,style:{position:`fixed`,inset:0,userSelect:`none`,WebkitUserSelect:`none`,clipPath:i}})});function su(e,t){e&&Object.assign(e.style,t)}var cu={position:`relative`,maxHeight:`100%`,overflowX:`hidden`,overflowY:`auto`};function lu(e){return e===`starting`?us:de}function uu(e,t,{styles:n,transitionStatus:r,props:i,refs:a,hidden:o,inert:s=!1}){let c={...n};return s&&(c.pointerEvents=`none`),ue(`div`,e,{state:t,ref:a,props:[{role:`presentation`,hidden:o,style:c},lu(r),i],stateAttributesMapping:Cn})}var du={},fu={},pu=``;function mu(e,t){return Ee(e)?e:t}function hu(e,t,n){return/hidden|clip/.test(e.getComputedStyle(mu(t,n)).overflowY)}function gu(e){if(typeof document>`u`)return!1;let t=X(e);return ne(t).innerWidth-t.documentElement.clientWidth>0}function _u(e){if(!(typeof CSS<`u`&&CSS.supports&&CSS.supports(`scrollbar-gutter`,`stable`))||typeof document>`u`)return!1;let t=X(e),n=t.documentElement,r=t.body,i=mu(n,r),a=i.style.overflowY,o=n.style.scrollbarGutter;n.style.scrollbarGutter=`stable`,i.style.overflowY=`scroll`;let s=i.offsetWidth;i.style.overflowY=`hidden`;let c=i.offsetWidth;return i.style.overflowY=a,n.style.scrollbarGutter=o,s===c}function vu(e){let t=X(e),n=t.documentElement,r=t.body,i=mu(n,r),a={overflowY:i.style.overflowY,overflowX:i.style.overflowX};return Object.assign(i.style,{overflowY:`hidden`,overflowX:`hidden`}),()=>{Object.assign(i.style,a)}}function yu(e){let t=X(e),n=t.documentElement,r=t.body,i=ne(n),a=0,o=0,s=!1,c=Xr.create();if(Jt&&(i.visualViewport?.scale??1)!==1)return()=>{};function l(){let t=i.getComputedStyle(n),c=i.getComputedStyle(r),l=(t.scrollbarGutter||``).includes(`both-edges`)?`stable both-edges`:`stable`;a=n.scrollTop,o=n.scrollLeft,du={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},pu=n.style.scrollBehavior,fu={position:r.style.position,height:r.style.height,width:r.style.width,boxSizing:r.style.boxSizing,overflowY:r.style.overflowY,overflowX:r.style.overflowX,scrollBehavior:r.style.scrollBehavior};let u=n.scrollHeight>n.clientHeight,d=n.scrollWidth>n.clientWidth,f=t.overflowY===`scroll`||c.overflowY===`scroll`,p=t.overflowX===`scroll`||c.overflowX===`scroll`,m=Math.max(0,i.innerWidth-r.clientWidth),h=Math.max(0,i.innerHeight-r.clientHeight),g=parseFloat(c.marginTop)+parseFloat(c.marginBottom),_=parseFloat(c.marginLeft)+parseFloat(c.marginRight),v=mu(n,r);s=_u(e),s?(n.style.scrollbarGutter=l,v.style.overflowY=`hidden`,v.style.overflowX=`hidden`):(Object.assign(n.style,{scrollbarGutter:l,overflowY:`hidden`,overflowX:`hidden`}),(u||f)&&(n.style.overflowY=`scroll`),(d||p)&&(n.style.overflowX=`scroll`),Object.assign(r.style,{position:`relative`,height:g||h?`calc(100dvh - ${g+h}px)`:`100dvh`,width:_||m?`calc(100vw - ${_+m}px)`:`100vw`,boxSizing:`border-box`,overflowY:`hidden`,overflowX:`hidden`,scrollBehavior:`unset`}),r.scrollTop=a,r.scrollLeft=o,n.setAttribute(`data-base-ui-scroll-locked`,``),n.style.scrollBehavior=`unset`)}function u(){Object.assign(n.style,du),Object.assign(r.style,fu),s||(n.scrollTop=a,n.scrollLeft=o,n.removeAttribute(`data-base-ui-scroll-locked`),n.style.scrollBehavior=pu)}function d(){u(),c.request(l)}l();let f=Wi(i,`resize`,d);return()=>{c.cancel(),u(),typeof i.removeEventListener==`function`&&f()}}var bu=new class{lockCount=0;restore=null;timeoutLock=Wr.create();timeoutUnlock=Wr.create();acquire(e){return this.lockCount+=1,this.lockCount===1&&this.restore===null&&this.timeoutLock.start(0,()=>this.lock(e)),this.release}release=()=>{--this.lockCount,this.lockCount===0&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{this.lockCount===0&&this.restore&&(this.restore?.(),this.restore=null)};lock(e){if(this.lockCount===0||this.restore!==null)return;let t=X(e),n=t.documentElement,r=t.body,i=ne(n);if(hu(i,n,r)){let t=new i.MutationObserver(()=>{hu(i,n,r)||(t.disconnect(),this.restore=null,this.lock(e))}),a={attributes:!0};t.observe(n,a),t.observe(r,a),this.restore=()=>t.disconnect();return}let a=Ut||!gu(e);this.restore=a?vu(e):yu(e)}};function xu(e=!0,t=null){Y(()=>{if(e)return bu.acquire(t)},[e,t])}var Su=20;function Cu(e,t,n,r){let[i,a]=Z.useState(!1);Y(()=>{if(!e||!t||n==null){a(!1);return}let r=X(n).documentElement.clientWidth,i=n.offsetWidth;a(r>0&&i>0&&i>=r-Su)},[e,t,n]),xu(e&&(!t||i),r)}var wu={position:`fixed`},Tu=Z.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:g=ds,style:_,...v}=e,y=nl(),b=rl(),x=y.useState(`open`),S=y.useState(`mounted`),C=y.useState(`modal`),w=y.useState(`value`),T=y.useState(`openMethod`),E=y.useState(`positionerElement`),D=y.useState(`triggerElement`),O=y.useState(`isItemEqualToValue`),k=y.useState(`transitionStatus`),A=Z.useRef(null),j=Z.useRef(null),[M,N]=Z.useState(h),P=S&&M&&T!==`touch`;!S&&M!==h&&N(h),Z.useImperativeHandle(y.context.alignItemWithTriggerActiveRef,()=>P),Cu((P||C)&&x,T===`touch`,E,D);let F=tu({anchor:n,floatingRootContext:b,positionMethod:a,mounted:S,side:o,sideOffset:c,align:s,alignOffset:l,arrowPadding:f,collisionBoundary:u,collisionPadding:d,sticky:p,disableAnchorTracking:m??P,collisionAvoidance:g,keepMounted:!0}),I=P?`none`:F.side,L=P?wu:F.positionerStyles,R={open:x,side:I,align:F.align,anchorHidden:F.anchorHidden};Y(()=>{y.set(`popupSide`,F.side)},[y,F.side]);let z=uu(e,R,{styles:L,transitionStatus:k,props:v,refs:[t,y.useStateSetter(`positionerElement`)],hidden:!S,inert:!x}),B=Z.useRef(0),V=W(e=>{if(y.context.valuesRef.current.length===0)return;let t=B.current;B.current=e.size;let n=li(di);if(t!==0&&!y.state.multiple&&w!==null&&cl(y.context.valuesRef.current,w,O)===-1){let e=y.context.initialValueRef.current,t=e!=null&&cl(y.context.valuesRef.current,e,O)!==-1?e:null;y.context.setValue(t,n),t===null&&(y.set(`selectedIndex`,null),y.context.selectedItemTextRef.current=null)}if(t!==0&&y.state.multiple&&Array.isArray(w)){let e=w.filter(e=>cl(y.context.valuesRef.current,e,O)!==-1);e.length!==w.length&&(y.context.setValue(e,n),e.length===0&&(y.set(`selectedIndex`,null),y.context.selectedItemTextRef.current=null))}if(x&&P){y.update({scrollUpArrowVisible:!1,scrollDownArrowVisible:!1});let e={height:``};su(E,e),su(y.context.popupRef.current,e)}}),H=Z.useMemo(()=>({...F,side:I,alignItemWithTriggerActive:P,setControlledAlignItemWithTrigger:N,scrollUpArrowRef:A,scrollDownArrowRef:j}),[F,I,P,N]);return(0,$.jsx)(Ii,{elementsRef:y.context.listRef,labelsRef:y.context.labelsRef,onMapChange:V,children:(0,$.jsxs)(iu.Provider,{value:H,children:[S&&C&&(0,$.jsx)(ou,{inert:Bl(!x),cutout:D}),z]})})}),Eu=`base-ui-disable-scrollbar`,Du={className:Eu,getElement(e){return(0,$.jsx)(`style`,{nonce:e,href:Eu,precedence:`base-ui:low`,children:`.${Eu}{scrollbar-width:none}.${Eu}::-webkit-scrollbar{display:none}`})}},Ou=Z.createContext(void 0);function ku(e){let t=Z.useContext(Ou);if(t===void 0&&!e)throw Error(Te(69));return t}var Au=`--transform-origin`,ju={...Cn,...un},Mu=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,finalFocus:a,...o}=e,s=nl(),c=s.useState(`multiple`),l=s.useState(`readOnly`),u=s.useState(`highlightItemOnHover`),d=rl(),{side:f,align:p,alignItemWithTriggerActive:m,isPositioned:h,setControlledAlignItemWithTrigger:g}=au(),_=ku(!0)!=null,v=Pa(),{nonce:y,disableStyleElements:b}=bo(),x=s.useState(`id`),S=s.useState(`open`),C=s.useState(`openMethod`),w=s.useState(`mounted`),T=s.useState(`popupProps`),E=s.useState(`transitionStatus`),D=s.useState(`triggerElement`),O=s.useState(`positionerElement`),k=s.useState(`listElement`),A=Z.useRef(!1),j=Z.useRef(!1),M=Z.useRef({}),N=Zr(),P=W(e=>{if(!O||!s.context.popupRef.current||!j.current)return;let t=O.style.top===`0px`,n=O.style.bottom===`0px`;if(A.current||!m||!t&&!n){s.context.handleScrollArrowVisibility(e);return}let r=Fu(O),i=Iu(O.getBoundingClientRect().height,`y`,r),a=X(O),o=ne(O),c=o.getComputedStyle(O),l=parseFloat(c.marginTop),u=parseFloat(c.marginBottom),d=Nu(o.getComputedStyle(s.context.popupRef.current)),f=Math.min(a.documentElement.clientHeight-l-u,d),p=e.scrollTop,h=Pu(e),g=null,_=e=>{O.style.height=`${e}px`},v=t?h-p:p,y=Math.min(i+v,f);if(v<=1){let n=ga(v,0,f-i);n>0&&_(i+n),e.scrollTop=t?h:0,f-(i+n)<=1&&(A.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=ga(g,0,Pu(e));Math.abs(e.scrollTop-t)>1&&(e.scrollTop=t)}b>=f-1&&(A.current=!0),s.context.handleScrollArrowVisibility(e)});Z.useImperativeHandle(s.context.scrollHandlerRef,()=>P,[P]),ii({open:S,ref:s.context.popupRef,onComplete(){S&&s.context.onOpenChangeComplete(!0)}});let F={open:S,transitionStatus:E,side:f,align:p};Y(()=>{O&&s.context.popupRef.current&&!Object.keys(M.current).length&&(M.current={top:O.style.top||`0`,left:O.style.left||`0`,right:O.style.right,height:O.style.height,bottom:O.style.bottom,minHeight:O.style.minHeight,maxHeight:O.style.maxHeight,marginTop:O.style.marginTop,marginBottom:O.style.marginBottom})},[s,O]),Y(()=>{S||m||(j.current=!1,A.current=!1,su(O,M.current))},[S,m,O]),Y(()=>{let e=s.context.popupRef.current;if(!S||!D||!O||!e||m&&!h||s.state.transitionStatus===`ending`)return;if(j.current=!0,e.style.removeProperty(Au),!m){N.request(()=>s.context.handleScrollArrowVisibility(k||e));return}let t=zu(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=ne(O),i=r.getComputedStyle(O),a=r.getComputedStyle(e),o=X(D),c=Fu(D),l=Lu(D.getBoundingClientRect(),c),d=Lu(O.getBoundingClientRect(),c),f=l.height,p=k||e,m=p.scrollHeight,h=parseFloat(a.borderBottomWidth),_=parseFloat(i.marginTop)||10,y=parseFloat(i.marginBottom)||10,b=parseFloat(i.minHeight)||100,x=Nu(a),S=o.documentElement.clientHeight-_-y,C=o.documentElement.clientWidth,w=S-l.bottom+f,T,E=v===`rtl`?l.right-d.width:l.left,j=0;if(t&&n){let e=Lu(n.getBoundingClientRect(),c);T=Lu(t.getBoundingClientRect(),c),E=d.left+(v===`rtl`?e.right-T.right:e.left-T.left);let r=e.top-l.top+e.height/2;j=T.top-d.top+T.height/2-r}let N=w+j+y+h,P=Math.min(S,N),F=S-_-y,I=N-P,L=C-5;O.style.left=`${ga(E,5,L-d.width)}px`,O.style.height=`${P}px`,O.style.maxHeight=`none`,O.style.marginTop=`${_}px`,O.style.marginBottom=`${y}px`,e.style.height=`100%`;let R=Pu(p),z=I>=R-1;z&&(P=Math.min(S,d.height)-(I-R));let B=l.top<20||l.bottom>S-20||Math.ceil(P)+1<Math.min(m,b),V=(r.visualViewport?.scale??1)!==1&&Jt;if(B||V){su(O,M.current),g(!1);return}let H=Math.max(b,P);if(z){let e=Math.max(0,S-N);O.style.top=d.height>=F?`0`:`${e}px`,O.style.height=`${P}px`,p.scrollTop=Pu(p)}else O.style.bottom=`0`,p.scrollTop=I;if(T){let t=d.top,n=d.height,r=T.top+T.height/2,i=ga(n>0?(r-t)/n*100:50,0,100);e.style.setProperty(Au,`50% ${i}%`)}(H===S||P>=x)&&(A.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,S,O,D,m,g,N,k,u,v,h]),Z.useEffect(()=>{if(!m||!O||!S)return;let e=ne(O);function t(e){s.context.setOpen(!1,li(Di,e))}return Wi(e,`resize`,t)},[s,m,O,S]);let I={...k?{role:`presentation`}:{role:`listbox`,"aria-multiselectable":c||void 0,"aria-readonly":l||void 0,id:`${x}-list`},onKeyDown(e){_&&uo.has(e.key)&&e.stopPropagation()},onScroll(e){k||P(e.currentTarget)},...m&&{style:k?{height:`100%`}:cu},className:!k&&m?Du.className:void 0},L=ue(`div`,e,{ref:[t,s.context.popupRef],state:F,stateAttributesMapping:ju,props:[T,I,lu(E),o]});return(0,$.jsxs)(Z.Fragment,{children:[!b&&Du.getElement(y),(0,$.jsx)(js,{context:d,modal:!1,disabled:!w,openInteractionType:C,returnFocus:a,restoreFocus:!0,children:L})]})});function Nu(e){let t=e.maxHeight;return t.endsWith(`px`)&&parseFloat(t)||1/0}function Pu(e){return El(e.scrollHeight,e.clientHeight)}function Fu(e){return Nc.getScale(e)}function Iu(e,t,n){return e/n[t]}function Lu(e,t){return ur({x:Iu(e.x,`x`,t),y:Iu(e.y,`y`,t),width:Iu(e.width,`x`,t),height:Iu(e.height,`y`,t)})}var Ru=[[`transform`,`none`],[`scale`,`1`],[`translate`,`0 0`]];function zu(e){let{style:t}=e,n={};for(let[e,r]of Ru)n[e]=t.getPropertyValue(e),t.setProperty(e,r,`important`);return()=>{for(let[e]of Ru){let r=n[e];r?t.setProperty(e,r):t.removeProperty(e)}}}var Bu=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,o=nl(),s=o.useState(`multiple`),c=o.useState(`readOnly`),{alignItemWithTriggerActive:l}=au(),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:cu},className:u&&d!==`touch`?Du.className:void 0},p=o.useStateSetter(`listElement`);return ue(`div`,e,{ref:[t,p],props:[f,a]})}),Vu=Z.createContext(void 0);function Hu(){let e=Z.useContext(Vu);if(!e)throw Error(Te(57));return e}var Uu=Z.memo(Z.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=Z.useRef(null),d=Ui({guess:!0,label:o,textRef:u}),f=nl(),{props:p,multiple:m,disabled:h,readOnly:g,isItemEqualToValue:_}=f.useState(`itemRoot`),v=h||s,y=f.useState(`isActive`,d.index),b=f.useState(`open`),x=f.useState(`isSelected`,a),S=f.useState(`isSelectedByFocus`,d.index),C=d.index,w=Z.useRef(null);Y(()=>{let e=f.context.valuesRef.current;return e[C]=a,()=>{delete e[C]}},[C,a,f]),Y(()=>{let e=f.state.value,t=f.state.selectedIndex,n=t,r;m&&Array.isArray(e)?(n=dl(C,a,f.context.valuesRef.current,e,_,t),r=n===C,C===t&&!r&&(f.context.selectedItemTextRef.current=null)):(r=e!==void 0&&al(a,e,_),r&&(n=C)),f.set(`selectedIndex`,n),r&&u.current&&(f.context.selectedItemTextRef.current=u.current)},[C,m,_,f,a]);let T=Z.useRef(`mouse`),E=Z.useRef(!1),{getButtonProps:D,buttonRef:O}=pe({disabled:v,focusableWhenDisabled:!0,native:c,composite:!0}),k={disabled:v,selected:x,highlighted:y};function A(e){if(h||g)return;let t=f.state.value;if(m){let n=Array.isArray(t)?t:[],r=x?fl(n,a,_):[...n,a];f.context.setValue(r,li(mi,e))}else f.context.setValue(a,li(mi,e)),f.context.setOpen(!1,li(mi,e))}function j(){f.context.selectionRef.current.dragY=0}let M={role:`option`,"aria-selected":x,tabIndex:b&&y?0:-1,onKeyDown(e){f.set(`activeIndex`,C),e.key===` `&&f.context.typingRef.current&&e.preventDefault()},onClick(e){let t=T.current!==`touch`,n=e.nativeEvent.pointerType,r=t&&Pn(e.nativeEvent)&&(n!==void 0||y),i=t&&!r&&!E.current;E.current=!1,!(v||i)&&A(e.nativeEvent)},onPointerEnter(e){T.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){T.current=e.pointerType,E.current=!0,j()},onMouseUp(){if(j(),v||T.current===`touch`||E.current)return;let e=!f.context.selectionRef.current.allowSelectedMouseUp&&x,t=!f.context.selectionRef.current.allowUnselectedMouseUp&&!x;e||t||(E.current=!0,w.current?.click(),E.current=!1)}},N=ue(`div`,e,{ref:[O,t,d.ref,w],state:k,props:[p,M,l,D]}),P=Z.useMemo(()=>({selected:x,index:C,textRef:u,selectedByFocus:S}),[x,C,u,S]);return(0,$.jsx)(Vu.Provider,{value:P,children:N})})),Wu=Z.memo(Z.forwardRef(function(e,t){let{render:n,className:r,style:i,keepMounted:a,selected:o,...s}=e,c=Z.useRef(null),{transitionStatus:l,setMounted:u}=ai(o),d=ue(`span`,e,{ref:[t,c],state:{selected:o,transitionStatus:l},props:[{"aria-hidden":!0,children:`✔️`},s],stateAttributesMapping:un});return ii({batch:!0,enabled:!o,open:o,ref:c,onComplete(){o||u(!1)}}),d})),Gu=Z.forwardRef(function(e,t){let{selected:n}=Hu();return e.keepMounted||n?(0,$.jsx)(Wu,{...e,selected:n,ref:t}):null}),Ku=Z.memo(Z.forwardRef(function(e,t){let{index:n,textRef:r,selectedByFocus:i}=Hu(),a=nl(),{render:o,className:s,style:c,...l}=e,u=Z.useCallback(e=>{e&&(n===0&&(a.context.firstItemTextRef.current=e),i&&(a.context.selectedItemTextRef.current=e))},[a,n,i]);return ue(`div`,e,{ref:[u,t,r],props:l})})),qu=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,direction:a,keepMounted:o,...s}=e,c=a===`up`,l=nl(),{side:u,scrollDownArrowRef:d,scrollUpArrowRef:f}=au(),p=c?`scrollUpArrowVisible`:`scrollDownArrowVisible`,m=l.useState(p),h=l.useState(`openMethod`),g=m&&h!==`touch`,_=Gr(),v=c?f:d,{mounted:y,transitionStatus:b,setMounted:x}=ai(g);Y(()=>(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||x(!1)}});let S=ue(`div`,e,{ref:[t,v],state:{direction:a,visible:g,side:u,transitionStatus:b},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=El(e.scrollHeight,e.clientHeight),r=Dl(e.scrollTop,n),i=r===(c?0:n),a=l.context.listRef.current;if(r!==e.scrollTop&&(e.scrollTop=r),i)_.clear();else{if(a.length>0){let t=v.current?.offsetHeight||0;e.scrollTop=Ju(a,c,r,e.clientHeight,t,n)}_.start(40,t)}}_.start(40,t)},onMouseLeave(){_.clear()}},s],stateAttributesMapping:un});return y||o?S:null});function Ju(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?Dl(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?Dl(l.offsetTop+l.offsetHeight-r+i,a):a}var Yu=Z.forwardRef(function(e,t){return(0,$.jsx)(qu,{...e,ref:t,direction:`down`})}),Xu=Z.forwardRef(function(e,t){return(0,$.jsx)(qu,{...e,ref:t,direction:`up`})}),Zu=Ol;function Qu({className:e,...t}){return(0,$.jsx)(Ll,{"data-slot":`select-value`,className:J(`flex flex-1 text-left`,e),...t})}function $u({className:e,size:t=`default`,children:n,...r}){return(0,$.jsxs)(Fl,{"data-slot":`select-trigger`,"data-size":t,className:J(`flex w-fit items-center justify-between gap-1.5 rounded-lg border border-input bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...r,children:[n,(0,$.jsx)(Rl,{render:(0,$.jsx)(Ze,{className:`pointer-events-none size-4 text-muted-foreground`})})]})}function ed({className:e,children:t,container:n,side:r=`bottom`,sideOffset:i=4,align:a=`center`,alignOffset:o=0,alignItemWithTrigger:s=!0,...c}){return(0,$.jsx)(zl,{container:n,children:(0,$.jsx)(Tu,{side:r,sideOffset:i,align:a,alignOffset:o,alignItemWithTrigger:s,className:`pointer-events-auto isolate z-50`,children:(0,$.jsxs)(Mu,{"data-slot":`select-content`,"data-align-trigger":s,className:J(`relative isolate z-50 max-h-(--available-height) w-(--anchor-width) min-w-36 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95`,e),...c,children:[(0,$.jsx)(nd,{}),(0,$.jsx)(Bu,{children:t}),(0,$.jsx)(rd,{})]})})})}function td({className:e,children:t,...n}){return(0,$.jsxs)(Uu,{"data-slot":`select-item`,className:J(`relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2`,e),...n,children:[(0,$.jsx)(Ku,{className:`flex flex-1 shrink-0 gap-2 whitespace-nowrap`,children:t}),(0,$.jsx)(Gu,{render:(0,$.jsx)(`span`,{className:`pointer-events-none absolute right-2 flex size-4 items-center justify-center`}),children:(0,$.jsx)(tt,{className:`pointer-events-none`})})]})}function nd({className:e,...t}){return(0,$.jsx)(Xu,{"data-slot":`select-scroll-up-button`,className:J(`top-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4`,e),...t,children:(0,$.jsx)(et,{})})}function rd({className:e,...t}){return(0,$.jsx)(Yu,{"data-slot":`select-scroll-down-button`,className:J(`bottom-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4`,e),...t,children:(0,$.jsx)(Ze,{})})}var id=e=>e[0]?.toUpperCase()+e.slice(1);function ad({entry:e,value:t,onChange:n,container:r,id:i}){if(e.control===`toggle`)return(0,$.jsx)(ra,{id:i,"aria-label":e.label,checked:!!t,onCheckedChange:n});if(e.control===`select`)return(0,$.jsxs)(Zu,{value:String(t),onValueChange:n,children:[(0,$.jsx)($u,{id:i,"aria-label":e.label,size:`sm`,className:`w-40 text-xs`,children:(0,$.jsx)(Qu,{children:id(String(t))})}),(0,$.jsx)(ed,{container:r,children:e.choices?.map(e=>(0,$.jsx)(td,{value:e,children:id(e)},e))})]});if(e.control===`number`)return(0,$.jsxs)(`div`,{className:`flex w-40 items-center gap-3`,children:[(0,$.jsx)(Ao,{id:i,"aria-label":e.label,min:e.min,max:e.max,step:e.step,value:[Number(t)],onValueChange:e=>n(Number(Array.isArray(e)?e[0]:e))}),(0,$.jsx)(`output`,{className:`min-w-8 text-right tabular-nums`,children:e.max===1?`${Math.round(Number(t)*100)}%`:String(t)})]});if(e.control===`tabs`){let r=t;return(0,$.jsx)(`fieldset`,{id:i,"aria-label":e.label,className:`grid w-full grid-cols-2 gap-x-4 gap-y-2`,children:e.choices?.map(e=>(0,$.jsxs)(`label`,{className:`flex items-center gap-2 text-xs`,children:[(0,$.jsx)(ha,{checked:r.includes(e),onCheckedChange:t=>n(t?[...r,e]:r.filter(t=>t!==e))}),e===`weapons`?`Tools`:e===`settings`?`Settings`:id(e)]},e))})}if(e.control===`hint`){let r=t,a=e.key===`requireFocus`?c:l,s=e=>n({...typeof r==`object`?r:{},...e});return(0,$.jsxs)(`fieldset`,{id:i,"aria-label":e.label,className:`w-full space-y-3`,children:[(0,$.jsxs)(`label`,{className:`flex items-center gap-2`,children:[(0,$.jsx)(ra,{checked:r!==!1,onCheckedChange:t=>n(t?e.key===`requireFocus`||{}:!1)}),e.key===`requireFocus`?`Require focus to drive`:`Show after arrival`]}),e.key===`requireFocus`&&r!==!1&&(0,$.jsxs)(`label`,{className:`flex items-center gap-2`,children:[(0,$.jsx)(ra,{checked:typeof r==`object`,onCheckedChange:e=>n(!e||{})}),`Show focus hint`]}),typeof r==`object`&&(0,$.jsxs)(`div`,{className:`grid grid-cols-2 gap-3`,children:[(0,$.jsxs)(`label`,{className:`grid gap-1`,children:[`Text`,(0,$.jsx)(Ai,{value:r.text??a.text,onChange:e=>s({text:e.target.value})})]}),(0,$.jsxs)(`label`,{className:`grid gap-1`,children:[`Delay (ms)`,(0,$.jsx)(Ai,{type:`number`,min:0,value:r.showAfter??a.showAfter,onChange:e=>s({showAfter:Number(e.target.value)})})]}),(0,$.jsxs)(`label`,{className:`grid gap-1`,children:[`Placement`,(0,$.jsx)(`select`,{value:r.placement??a.placement,onChange:e=>s({placement:e.target.value}),children:o.map(e=>(0,$.jsx)(`option`,{children:e},e))})]}),e.key!==`requireFocus`&&(0,$.jsxs)(`label`,{className:`grid gap-1`,children:[`Dismiss on`,(0,$.jsx)(`select`,{value:r.dismiss??a.dismiss,onChange:e=>s({dismiss:e.target.value}),children:u.map(e=>(0,$.jsx)(`option`,{children:e},e))})]})]})]})}return e.control===`color`&&e.default===void 0?(0,$.jsxs)(`div`,{className:`flex w-40 items-center justify-end gap-3`,children:[(0,$.jsx)(ra,{id:i,"aria-label":e.label,checked:typeof t==`string`,onCheckedChange:e=>n(e?`#66e6ff`:void 0)}),typeof t==`string`&&(0,$.jsx)(Ai,{type:`color`,"aria-label":`${e.label} color`,className:`w-20 p-1`,value:t,onChange:e=>n(e.target.value)})]}):(0,$.jsx)(Ai,{id:i,"aria-label":e.label,type:e.control,className:e.control===`color`?`w-20 p-1`:`w-40 text-xs`,value:String(t??(e.control===`color`?`#000000`:``)),onChange:e=>n(e.target.value||void 0)})}var od=Z.createContext(void 0);function sd(){let e=Z.useContext(od);if(e===void 0)throw Error(Te(64));return e}var cd=`data-activation-direction`,ld={tabActivationDirection:e=>({[cd]:e})},ud=Z.forwardRef(function(e,t){let{className:n,defaultValue:r=0,onValueChange:i,orientation:a=`horizontal`,render:o,value:s,style:c,...l}=e,u=e.defaultValue!==void 0,d=Z.useRef([]),[f,p]=Z.useState(()=>new Map),[m,h]=Ni({controlled:s,default:r,name:`Tabs`,state:`value`}),g=s!==void 0,[_,v]=Z.useState(()=>new Map),y=Z.useRef(void 0),b=Z.useCallback(e=>dd(_,e),[_]),[x,S]=Z.useState(()=>({previousValue:m,tabActivationDirection:`none`})),{previousValue:C,tabActivationDirection:w}=x,T=w,E=!1;C!==m&&(T=fd(C,m,a,_),E=C!=null&&m!=null&&b(m)==null);let D=E?C:m,O=C!==D||w!==T;Y(()=>{O&&S({previousValue:D,tabActivationDirection:T})},[D,O,T]);let k=W((e,t)=>{t.activationDirection=fd(m,e,a,_),i?.(e,t),!t.isCanceled&&h(()=>e)}),A=W((e,t)=>{i?.(e,li(t,void 0,void 0,{activationDirection:`none`}))}),j=W((e,t)=>(p(n=>{let r=new Map(n);return r.set(e,t),r}),()=>{p(n=>{if(n.get(e)!==t)return n;let r=new Map(n);return r.delete(e),r})})),M=Z.useCallback(e=>f.get(e),[f]),N=Z.useCallback(e=>{for(let t of _.values())if(e===t.value)return t.id},[_]),P=Z.useMemo(()=>({getTabElementBySelectedValue:b,getTabIdByPanelValue:N,getTabPanelIdByValue:M,onValueChange:k,orientation:a,registerMountedTabPanel:j,setTabMap:v,tabActivationDirection:T,value:m}),[b,N,M,k,a,j,v,T,m]),F=Z.useMemo(()=>{for(let e of _.values())if(e.value===m)return e},[_,m]),I=Z.useMemo(()=>{for(let e of _.values())if(!e.disabled)return e.value},[_]),L=Z.useRef(!u),R=Z.useRef(r),z=Z.useRef(u),B=Z.useRef(!1);Y(()=>{if(g)return;function e(e,t){h(()=>e),S({previousValue:e,tabActivationDirection:`none`}),A(e,t),L.current=!1}if(_.size===0){B.current&&m!==null&&!y.current?.isConnected&&e(null,wi);return}B.current=!0,y.current=_.keys().next().value;let t=F?.disabled,n=F==null&&m!==null;if(!t&&m===R.current&&(z.current=!1),z.current&&t&&m===R.current)return;let r=L.current;if(t||n){let n=I??null;if(m===n){L.current=!1;return}let i=wi;r?i=Ti:t&&(i=Ci),e(n,i)}else r&&F!=null&&(A(m,Ti),L.current=!1)},[I,g,A,F,h,_,m]);let V=ue(`div`,e,{state:{orientation:a,tabActivationDirection:T},ref:t,props:l,stateAttributesMapping:ld});return(0,$.jsx)(od.Provider,{value:P,children:(0,$.jsx)(Ii,{elementsRef:d,children:V})})});function dd(e,t){for(let[n,r]of e.entries())if(t===r.value)return n;return null}function fd(e,t,n,r){if(e==null||t==null)return`none`;let[i,a,o]=n===`horizontal`?[`left`,`left`,`right`]:[`top`,`up`,`down`],s=dd(r,e),c=dd(r,t);if(s==null||c==null)return s!==c&&(typeof e==`number`||typeof e==`string`)&&typeof e==typeof t?t>e?o:a:`none`;let l=s.getBoundingClientRect()[i],u=c.getBoundingClientRect()[i];return u<l?a:u>l?o:`none`}var pd=`data-composite-item-active`;function md(e={}){let{highlightItemOnHover:t,highlightedIndex:n,onHighlightedIndexChange:r}=Ce(),{ref:i,index:a}=Ui(e),o=n===a,s=Z.useRef(null),c=ge(i,s);return{compositeProps:{tabIndex:o?0:-1,onFocus(){r(a)},onMouseMove(){let e=s.current;if(!t||!e)return;let n=e.hasAttribute(`disabled`)||e.ariaDisabled===`true`;!o&&!n&&e.focus()}},compositeRef:c,index:a}}var hd=Z.createContext(void 0);function gd(){let e=Z.useContext(hd);if(e===void 0)throw Error(Te(65));return e}var _d=Z.forwardRef(function(e,t){let{className:n,disabled:r=!1,render:i,value:a,id:o,nativeButton:s=!0,style:c,...l}=e,{value:u,getTabPanelIdByValue:d,onValueChange:f,orientation:p,tabActivationDirection:m}=sd(),{activateOnFocus:h,registerTabResizeObserverElement:g,tabsListElement:_}=gd(),{highlightedIndex:v,onHighlightedIndexChange:y}=Ce(),b=At(o),{compositeProps:x,compositeRef:S,index:C}=md({metadata:Z.useMemo(()=>({disabled:r,id:b,value:a}),[r,b,a])}),w=a===u,T=Z.useRef(!1),E=Z.useRef(null),D=W(e=>{E.current?.(),E.current=e?g(e):null});Y(()=>{if(T.current){T.current=!1;return}if(!(w&&C>-1&&v!==C))return;let e=_;if(e!=null){let t=Zt(X(e));if(t&&Q(e,t))return}r||y(C)},[w,C,v,y,r,_]);let{getButtonProps:O,buttonRef:k}=pe({disabled:r,native:s,focusableWhenDisabled:!0}),A=d(a),j=Z.useRef(!1),M=Z.useRef(!1);function N(e){f(a,li(di,e.nativeEvent,void 0,{activationDirection:`none`}))}function P(e){w||r||N(e)}function F(e){w||r||h&&(!j.current||M.current)&&N(e)}function I(e){if(w||r)return;j.current=!0,M.current=e.button===0;let t=X(e.currentTarget);function n(){j.current=!1,M.current=!1,t.removeEventListener(`pointerup`,n),t.removeEventListener(`pointercancel`,n)}t.addEventListener(`pointerup`,n),t.addEventListener(`pointercancel`,n)}return ue(`button`,e,{state:{disabled:r,active:w,orientation:p,tabActivationDirection:m},ref:[t,k,S,D],props:[x,{role:`tab`,"aria-controls":A,"aria-selected":w,id:b,onClick:P,onFocus:F,onPointerDown:I,[pd]:w?``:void 0,onKeyDownCapture(){T.current=!0}},l,O],stateAttributesMapping:ld})});function vd(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=Se}=e,[p,m]=Z.useState(0),h=r!=null,g=Z.useRef(null),_=ge(g,c),v=Z.useRef([]),y=Z.useRef(!1),b=Z.useRef(null),x=o??p,S=W((e,t=!1)=>{if(b.current=v.current[e]??null,(s??m)(e),t){let t=v.current[e];ho(g.current,t,a,n)}}),C=W(e=>{if(e.size===0)return;if(y.current){let e=v.current,t=e.indexOf(b.current);if(t===-1){let t=e[x];!t||gr(e,x,d)?S(yd(e,d)):b.current=t}else t!==x&&S(t);return}y.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)S(i);else if(gr(t,x,d)){let e=hr(t,{disabledIndices:d});dr(t,e)||S(e)}ho(g.current,r,a,n)});Y(()=>{if(d==null||o!=null||!y.current)return;let e=v.current;if(gr(e,x,d)){let t=hr(e,{disabledIndices:d});dr(e,t)||S(t)}},[d,o,x,v,S]);let w=W((e,t,n)=>i?i(e,t,n,v):n),T=W(e=>{let o=e.key===`Home`||e.key===`End`;if(!uo.has(e.key)||!l&&o||bd(e,f)||!g.current)return;let s=a===`rtl`,c=s?ao:oo,p=s?oo:ao,m=n===`vertical`?io:c,_=n===`vertical`?ro:p,y=$t(e.nativeEvent);if(y!=null&&mo(y)&&!No(y)){let t=y.selectionStart,n=y.selectionEnd,r=y.value;if(t==null||e.shiftKey||t!==n||e.key!==_&&t<r.length||e.key!==m&&t>0)return}let b=x,C=fr(v,d),T=pr(v,d);r!=null&&(b=r({disabledIndices:d,elementsRef:v,event:e,highlightedIndex:x,loopFocus:t,maxIndex:T,minIndex:C,onLoop:w,orientation:n,rtl:s}));let E=n!==`vertical`&&e.key===c||n!==`horizontal`&&e.key===`ArrowDown`,D=n!==`vertical`&&e.key===p||n!==`horizontal`&&e.key===`ArrowUp`;l&&(e.key===`Home`?b=C:e.key===`End`&&(b=T)),b===x&&(E||D)&&(t&&b===T&&E?(b=C,i&&(b=i(e,x,b,v))):t&&b===C&&D?(b=T,i&&(b=i(e,x,b,v))):b=hr(v.current,{startingIndex:b,decrement:D,disabledIndices:d})),b!==x&&!dr(v.current,b)&&(u&&e.stopPropagation(),(h||o||E||D)&&e.preventDefault(),S(b,!0),queueMicrotask(()=>{v.current[b]?.focus()}))});return{props:{ref:_,onFocus(e){let t=g.current,n=$t(e.nativeEvent);t&&n!=null&&mo(n)&&n.setSelectionRange(0,n.value.length)},onKeyDown:T},highlightedIndex:x,onHighlightedIndexChange:S,elementsRef:v,onMapChange:C,relayKeyboardEvent:T}}function yd(e,t){let n=-1;for(let r=0;r<e.length;r+=1){let i=e[r];if(i&&!gr(e,r,t)){if(i.hasAttribute(`data-composite-item-active`))return r;n===-1&&(n=r)}}return Math.max(n,0)}function bd(e,t){for(let n of fo)if(!t.includes(n)&&e.getModifierState(n))return!0;return!1}function xd(e){let{render:t,className:n,style:r,refs:i=Se,props:a=Se,state:o=de,stateAttributesMapping:s,highlightedIndex:c,onHighlightedIndexChange:l,orientation:u,grid:d,loopFocus:f,onLoop:p,enableHomeAndEndKeys:m,onMapChange:h,stopEventPropagation:g=!0,rootRef:_,disabledIndices:v,modifierKeys:y,highlightItemOnHover:b=!1,tag:x=`div`,...S}=e,{props:C,highlightedIndex:w,onHighlightedIndexChange:T,elementsRef:E,onMapChange:D,relayKeyboardEvent:O}=vd({grid:d,loopFocus:f,onLoop:p,orientation:u,highlightedIndex:c,onHighlightedIndexChange:l,rootRef:_,stopEventPropagation:g,enableHomeAndEndKeys:m,direction:Pa(),disabledIndices:v,modifierKeys:y}),k=ue(x,e,{state:o,ref:i,props:[C,...a,S],stateAttributesMapping:s}),A=Z.useMemo(()=>({highlightedIndex:w,onHighlightedIndexChange:T,highlightItemOnHover:b,relayKeyboardEvent:O}),[w,T,b,O]);return(0,$.jsx)(se.Provider,{value:A,children:(0,$.jsx)(Ii,{elementsRef:E,onMapChange:e=>{h?.(e),D(e)},children:k})})}var Sd=Z.forwardRef(function(e,t){let{activateOnFocus:n=!1,className:r,loopFocus:i=!0,render:a,style:o,...s}=e,{orientation:c,setTabMap:l,tabActivationDirection:u}=sd(),[d,f]=Z.useState(0),[p,m]=Z.useState(null),h=Z.useRef(new Set),g=Z.useRef(new Set),_=Z.useRef(null);Y(()=>{if(typeof ResizeObserver>`u`)return;let e=new ResizeObserver(()=>{h.current.forEach(e=>{e()})});return _.current=e,p&&e.observe(p),g.current.forEach(t=>{e.observe(t)}),()=>{e.disconnect(),_.current=null}},[p]);let v=W(e=>(h.current.add(e),()=>{h.current.delete(e)})),y=W(e=>(g.current.add(e),_.current?.observe(e),()=>{g.current.delete(e),_.current?.unobserve(e)})),b={orientation:c,tabActivationDirection:u},x={"aria-orientation":c===`vertical`?`vertical`:void 0,role:`tablist`},S=Z.useMemo(()=>({activateOnFocus:n,registerIndicatorUpdateListener:v,registerTabResizeObserverElement:y,tabsListElement:p}),[n,v,y,p]);return(0,$.jsx)(hd.Provider,{value:S,children:(0,$.jsx)(xd,{render:a,className:r,style:o,state:b,refs:[t,m],props:[x,s],stateAttributesMapping:ld,highlightedIndex:d,enableHomeAndEndKeys:!0,loopFocus:i,orientation:c,onHighlightedIndexChange:f,onMapChange:l,disabledIndices:Se})})});function Cd({className:e,orientation:t=`horizontal`,...n}){return(0,$.jsx)(ud,{"data-slot":`tabs`,"data-orientation":t,className:J(`group/tabs flex gap-2 data-horizontal:flex-col`,e),...n})}var wd=be(`group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-horizontal/tabs:h-8 group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col data-[variant=line]:rounded-none`,{variants:{variant:{default:`bg-muted`,line:`gap-1 bg-transparent`}},defaultVariants:{variant:`default`}});function Td({className:e,variant:t=`default`,...n}){return(0,$.jsx)(Sd,{"data-slot":`tabs-list`,"data-variant":t,className:J(wd({variant:t}),e),...n})}function Ed({className:e,...t}){return(0,$.jsx)(_d,{"data-slot":`tabs-trigger`,className:J(`relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 aria-disabled:pointer-events-none aria-disabled:opacity-50 dark:text-muted-foreground dark:hover:text-foreground group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,`group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent`,`data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground`,`after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-right-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100`,e),...t})}function Dd({className:e,...t}){return(0,$.jsx)(`div`,{"data-slot":`sidebar`,className:J(`flex h-full w-(--pause-sidebar-width) flex-col bg-sidebar text-sidebar-foreground`,e),...t})}function Od({className:e,...t}){return(0,$.jsx)(`div`,{"data-slot":`sidebar-header`,"data-sidebar":`header`,className:J(`flex flex-col gap-2 p-2`,e),...t})}function kd({className:e,...t}){return(0,$.jsx)(`div`,{"data-slot":`sidebar-footer`,"data-sidebar":`footer`,className:J(`flex flex-col gap-2 p-2`,e),...t})}function Ad({className:e,...t}){return(0,$.jsx)(`div`,{"data-slot":`sidebar-content`,"data-sidebar":`content`,className:J(`no-scrollbar flex min-h-0 flex-1 flex-col gap-0 overflow-auto`,e),...t})}function jd({className:e,...t}){return(0,$.jsx)(`div`,{"data-slot":`sidebar-group`,"data-sidebar":`group`,className:J(`relative flex w-full min-w-0 flex-col p-2`,e),...t})}function Md({className:e,...t}){return(0,$.jsx)(`ul`,{"data-slot":`sidebar-menu`,"data-sidebar":`menu`,className:J(`flex w-full min-w-0 flex-col gap-0`,e),...t})}function Nd({className:e,...t}){return(0,$.jsx)(`li`,{"data-slot":`sidebar-menu-item`,"data-sidebar":`menu-item`,className:J(`group/menu-item relative`,e),...t})}function Pd({isActive:e=!1,className:t,...n}){return(0,$.jsx)(`button`,{type:`button`,"data-slot":`sidebar-menu-button`,"data-sidebar":`menu-button`,"data-active":e,className:J(`flex h-8 w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm ring-sidebar-ring outline-hidden hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-active:bg-sidebar-accent data-active:font-medium data-active:text-sidebar-accent-foreground [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate`,t),...n})}var Fd={viewBox:`9 147 389 250`,wordmarkPath:`M88,381L85,384L84,384L83,385L86,385L86,384L87,383L87,382ZM68,375L63,380L62,380L62,381L61,382L60,382L58,384L57,384L56,383L61,378L61,377L63,375L64,375L65,374L67,374ZM67,374L68,373L69,374L68,375ZM27,372L26,372L25,373L24,373L23,374L22,374L20,376L19,376L17,378L16,378L15,379L14,379L13,380L12,380L11,381L12,381L13,380L14,380L16,378L18,378L21,375L22,375L24,373L26,373ZM61,370L62,369L63,370L62,371ZM124,362L123,362L122,363L120,363L119,364L117,364L116,365L115,365L114,366L112,366L111,367L109,367L108,368L106,368L105,369L104,369L107,369L108,368L109,368L110,367L112,367L113,366L115,366L116,365L117,365L118,364L120,364L121,363L123,363ZM120,357L119,356L116,359L115,359L112,362L111,362L109,364L110,364L112,362L113,362L114,361L115,361L116,360L117,360L119,358L120,358ZM130,352L129,352L126,355L125,355L124,354L123,354L123,355L124,356L124,357L128,353L129,353ZM61,341L61,340L62,339L63,339L64,340L62,342ZM269,329L270,330L271,330L270,329ZM262,323L263,322L264,323L263,324ZM41,320L40,320L36,324L36,325L39,328L40,328L42,326L42,325L44,323ZM360,316L359,317L359,320L359,319L360,318ZM53,303L53,305L54,306L54,304ZM65,299L64,299L63,300L62,300L64,300ZM86,298L87,297L88,297L89,298L88,299L87,299ZM394,297L392,297L391,298L388,298L387,299L386,299L385,300L383,300L382,301L380,301L379,302L377,302L376,303L375,303L374,304L372,304L371,305L370,305L369,306L368,306L367,307L365,307L364,308L363,308L362,309L361,309L360,310L358,310L357,311L358,311L359,310L360,310L361,309L363,309L364,308L365,308L366,307L368,307L369,306L371,306L372,305L373,305L374,304L376,304L377,303L378,303L379,302L381,302L382,301L383,301L384,300L387,300L388,299L389,299L390,298L391,298L392,297ZM88,297L89,296L90,296L91,297L90,298L89,298ZM72,296L71,296L70,297L69,297L68,298L67,298L69,298L70,297L71,297ZM161,294L162,295L162,297L161,298L161,299L160,300L160,302L159,303L159,304L158,305L158,306L157,307L157,308L156,309L156,310L155,311L155,312L154,313L154,314L153,315L153,316L152,317L152,318L151,319L151,320L150,321L150,322L149,323L148,323L147,324L145,324L144,325L142,325L141,326L139,326L138,325L138,324L139,323L139,321L140,320L140,319L141,318L141,317L142,316L142,315L143,314L143,313L144,312L144,311L146,309L146,308L147,307L147,306L148,305L148,304L149,303L149,302L150,301L150,300L151,299L151,298L152,297L153,297L154,296L156,296L157,295L159,295L160,294ZM88,289L87,290L85,290L84,291L83,291L82,292L81,292L80,293L78,293L77,294L76,294L75,295L74,295L76,295L77,294L78,294L79,293L80,293L81,292L82,292L83,291L85,291L86,290L87,290ZM77,284L75,286L77,288L78,288L80,286L80,285L79,285L78,284ZM254,282L254,283L253,284L253,285L252,286L252,287L248,291L247,291L246,292L245,292L244,293L243,293L242,294L241,294L240,295L239,295L238,294L238,293L240,291L240,290L241,289L241,288L242,287L242,286L243,285L243,284L244,283L245,283L246,282L249,282L250,281L253,281ZM178,285L177,285L175,283L174,283L173,282L172,282L171,281L169,281L168,282L165,282L164,283L161,283L160,284L158,284L157,285L155,285L154,286L151,286L150,287L149,287L147,289L146,289L144,291L143,291L142,292L141,292L137,296L137,299L136,300L136,301L134,303L134,304L133,305L133,306L131,308L131,309L130,310L130,311L129,312L129,313L128,314L128,315L127,316L127,317L126,318L126,319L125,320L125,321L124,322L124,323L122,325L122,326L121,327L121,328L120,329L120,332L119,333L119,335L121,337L121,338L124,341L125,341L126,342L126,344L129,341L130,341L131,340L134,340L135,339L137,339L138,338L141,338L142,337L144,337L145,336L147,336L148,337L146,339L148,337L149,337L152,334L153,334L154,333L155,333L156,332L157,332L164,325L164,324L165,323L165,322L166,321L166,320L167,319L167,318L168,317L168,315L169,314L169,313L170,312L170,310L171,309L171,307L172,306L172,305L173,304L173,303L174,302L174,301L175,300L175,298L176,297L176,296L177,295L177,294L178,293L178,291L177,290L177,289L178,288ZM224,274L225,273L226,273L227,274L226,275L225,275ZM315,272L316,273L316,274L315,275L315,276L314,277L314,278L313,279L313,280L312,281L312,282L311,283L311,284L310,285L310,286L309,287L309,289L303,295L302,295L300,297L299,297L297,299L296,299L295,300L294,300L293,299L294,298L294,297L295,296L295,295L296,294L296,293L297,292L297,290L298,289L298,288L299,287L299,286L300,285L300,284L301,283L301,282L302,281L302,280L303,279L303,278L304,277L304,276L307,273L310,273L311,272ZM266,271L265,271L263,269L262,270L259,270L258,271L254,271L253,272L249,272L248,273L245,273L244,274L240,274L239,273L239,272L240,271L240,269L241,268L240,269L240,270L239,271L239,272L234,277L232,277L231,278L231,279L229,281L229,282L227,284L228,283L229,283L230,282L231,283L231,285L230,286L230,287L229,288L229,289L228,290L228,291L226,293L226,295L224,297L224,298L223,299L223,300L220,303L219,303L218,304L217,304L216,305L215,305L216,305L218,307L218,310L217,311L217,312L216,313L216,314L215,315L215,316L214,317L214,318L213,319L213,320L212,321L212,322L211,323L211,324L210,325L210,326L209,327L209,328L208,329L208,330L207,331L207,332L204,335L204,336L205,337L205,338L208,335L211,335L214,332L215,332L217,330L218,330L219,331L222,328L225,328L226,327L227,327L224,327L223,326L223,323L224,322L224,321L225,320L225,319L226,318L226,317L227,316L227,315L228,314L228,313L230,311L230,310L232,308L233,309L234,309L237,312L238,312L241,315L242,315L246,319L247,319L249,321L250,321L251,322L253,322L254,323L255,323L257,325L258,324L260,324L261,325L262,325L264,327L265,327L266,328L266,327L263,324L264,323L265,323L266,324L262,320L262,319L258,315L258,314L246,302L246,301L247,300L249,300L251,298L252,298L253,297L254,297L256,295L257,295L261,291L261,290L265,286L265,285L266,284L266,283L267,282L267,281L268,280L268,279L269,278L269,277L270,276L270,275ZM170,266L169,266L168,267L166,267L165,268L164,268L163,269L161,269L160,270L158,270L157,271L155,271L154,272L152,272L151,273L150,273L149,274L147,274L146,275L145,275L144,276L141,276L140,275L139,275L138,276L137,276L136,277L134,277L133,278L131,278L130,279L128,279L127,280L125,280L124,281L123,281L122,282L119,282L116,285L115,285L114,286L112,286L111,287L110,287L109,288L107,288L106,289L104,289L103,290L102,290L101,291L99,291L98,292L97,292L96,293L94,293L93,294L92,294L91,295L90,295L89,296L88,296L87,297L86,297L85,298L84,298L83,299L82,299L83,299L84,298L86,298L87,299L84,302L84,303L82,305L83,305L84,304L85,305L85,306L83,308L82,308L81,309L80,309L78,311L77,311L76,312L75,312L74,313L73,313L72,314L73,313L75,313L76,312L77,312L78,311L79,312L80,312L81,311L83,311L85,309L87,309L88,308L90,308L91,307L92,307L93,306L95,306L96,305L97,305L98,304L99,304L100,303L102,303L103,302L104,302L105,301L107,301L108,300L109,300L110,301L110,302L109,303L109,304L107,306L107,307L106,308L106,309L104,311L104,312L103,313L103,314L102,315L102,316L100,318L100,319L99,320L99,321L97,323L97,324L96,325L96,326L94,328L94,329L93,330L93,331L91,333L91,334L90,335L90,336L89,337L89,338L87,340L87,341L85,343L85,344L82,347L81,347L79,349L78,349L77,350L76,350L75,351L74,351L72,353L71,353L70,354L68,354L67,353L67,351L68,350L68,348L70,346L70,345L71,344L71,343L72,342L72,341L74,339L74,338L75,337L75,335L77,333L77,332L79,330L77,332L76,332L74,334L73,334L71,336L70,336L68,338L67,338L65,340L64,340L63,339L66,336L67,336L69,334L67,336L66,336L64,338L63,338L61,340L60,340L57,343L56,343L52,347L51,347L49,349L48,349L46,351L45,351L43,353L42,353L39,356L38,356L37,355L37,354L35,356L34,356L35,356L36,357L36,358L34,360L33,360L32,361L31,361L29,363L28,363L26,365L25,365L23,367L24,367L26,365L27,365L28,364L29,364L31,362L32,362L34,360L35,360L37,358L38,358L41,355L42,355L44,353L45,353L48,350L49,350L52,347L53,347L54,348L53,349L53,350L51,352L51,353L49,355L49,357L48,358L48,359L47,360L47,361L41,367L41,368L39,370L43,366L45,366L46,367L42,371L41,371L39,373L39,374L36,377L35,377L25,387L24,387L16,395L17,395L18,394L19,394L23,390L24,390L27,387L28,387L30,385L31,385L34,382L35,382L37,380L38,380L39,379L41,379L45,375L46,375L49,372L51,372L52,373L59,373L60,374L60,375L57,378L57,379L54,382L54,383L52,385L52,386L51,387L51,388L49,390L49,391L48,392L48,393L47,394L50,391L51,391L54,388L55,388L64,379L65,379L68,376L68,375L73,370L74,371L74,374L74,373L75,372L75,371L77,369L77,368L79,366L80,366L82,364L85,364L87,362L88,362L90,360L91,360L93,358L94,358L96,356L97,356L99,354L99,353L100,352L100,351L102,349L102,348L103,347L103,346L104,345L104,344L105,343L105,342L106,341L106,340L108,338L108,337L109,336L109,335L110,334L110,333L112,331L114,331L114,330L113,329L113,328L114,327L114,326L115,325L115,324L117,322L117,321L118,320L119,320L120,319L119,318L119,317L120,316L120,315L121,314L121,313L122,312L122,311L124,309L124,308L126,306L126,305L127,304L126,303L127,302L127,301L128,300L128,299L130,297L130,296L131,295L131,294L132,293L132,292L133,291L134,291L135,290L137,290L138,289L139,289L140,288L141,288L144,285L146,285L148,283L149,283L150,282L152,282L153,281L155,281L156,280L157,280L158,279L159,279L160,278L161,278L160,278L159,279L157,279L156,280L154,280L153,279L154,278L155,278L157,276L158,276L160,274L161,274L163,272L164,272L163,272L162,273L160,273L159,272L161,270L162,270L163,269L164,269L165,268L167,268L168,267L169,267ZM291,266L287,270L286,269L286,268L285,269L284,269L283,268L282,269L280,269L279,268L280,267L280,265L281,264L281,262L281,263L280,264L280,265L279,266L279,267L278,268L278,269L277,270L277,271L276,272L276,273L275,274L275,275L274,276L274,277L273,278L273,280L272,281L272,282L271,283L271,284L270,285L270,286L269,287L269,288L268,289L268,290L267,291L267,292L266,293L266,294L265,295L265,296L264,297L264,298L263,299L263,300L262,301L262,302L261,303L261,305L260,306L260,307L259,308L259,310L258,311L259,311L259,310L261,308L262,308L263,309L263,313L264,313L268,309L269,310L269,311L270,310L270,309L271,308L271,307L272,306L272,305L273,304L273,303L274,302L274,301L275,300L275,299L276,298L276,297L277,296L277,295L278,294L278,293L279,292L279,291L280,290L280,288L281,287L281,286L282,285L282,284L283,283L283,282L284,281L284,280L285,279L285,278L286,277L286,276L287,275L287,274L288,273L288,272L290,270L290,269L291,268ZM326,262L325,262L324,261L323,261L322,260L320,260L319,261L317,261L316,262L313,262L312,263L310,263L309,264L306,264L305,265L302,265L301,266L300,266L298,264L299,263L299,262L300,261L298,263L298,264L297,265L297,266L296,267L296,268L295,269L295,270L293,272L293,274L292,275L292,278L291,279L291,280L290,281L290,283L289,284L289,285L288,286L288,287L287,288L287,289L286,290L286,291L285,292L285,293L284,294L284,295L283,296L283,297L282,298L282,299L281,300L281,301L280,302L280,303L279,304L279,305L278,306L278,307L274,311L274,312L273,313L273,314L272,315L273,314L276,314L277,315L277,318L276,319L276,320L275,321L277,319L278,320L278,321L280,319L281,319L282,318L283,318L286,315L287,315L288,314L289,314L291,312L293,312L294,311L295,311L296,310L298,310L299,309L300,309L303,306L304,306L306,304L307,304L310,301L311,301L314,298L314,297L315,296L316,296L318,294L318,293L319,292L319,291L320,290L320,289L321,288L321,287L322,286L322,285L323,284L323,283L324,282L324,281L325,280L325,279L326,278L326,277L327,276L327,275L328,274L328,273L329,272L329,270L330,269L330,266ZM240,259L234,265L233,265L232,266L231,265L231,264L234,261L232,263L231,263L228,266L227,266L226,267L225,267L223,269L222,268L221,269L220,269L218,271L217,271L216,272L215,271L215,270L217,268L215,270L215,271L213,273L213,274L211,276L211,277L209,279L209,280L207,282L207,283L204,286L204,287L201,290L201,291L198,294L197,293L197,291L196,290L196,285L195,284L195,276L194,276L193,275L193,274L191,276L186,276L185,277L184,276L183,276L183,277L182,278L181,278L180,277L180,275L179,274L179,272L179,279L180,280L180,282L181,283L181,287L182,288L182,294L183,295L183,301L184,302L184,305L185,306L185,308L186,309L186,311L185,312L185,313L184,314L184,315L182,317L182,318L181,319L181,320L180,321L180,322L179,323L179,324L177,326L177,327L176,328L176,329L175,330L175,331L174,332L174,333L172,335L172,336L171,337L171,338L170,339L170,340L168,342L168,343L167,344L167,345L166,346L166,347L165,348L165,349L166,348L166,347L168,345L169,345L170,344L171,344L172,343L173,344L173,346L171,348L171,349L170,350L170,351L169,352L169,353L166,356L167,357L167,356L170,353L170,352L171,351L171,350L174,347L174,346L176,344L177,344L181,340L181,339L182,338L183,338L184,339L184,340L183,341L184,340L184,339L186,337L186,336L188,334L188,333L189,332L189,331L190,330L190,329L191,328L191,327L193,325L193,324L194,323L194,322L195,321L195,320L197,318L197,317L198,316L198,315L199,314L199,313L200,312L200,311L202,309L202,308L203,307L203,306L210,299L210,298L214,294L214,293L218,289L218,288L222,284L222,283L225,280L225,279L228,276L228,275L231,272L231,271L234,268L234,267L237,264L237,263L240,260ZM332,249L329,252L330,252L331,251L332,251ZM171,249L171,250L172,250L172,249ZM92,247L92,250L94,252L95,251L96,251L96,247ZM220,248L219,247L219,246L218,245L217,245L216,246L212,246L209,249L209,250L211,252L212,252L213,253L215,253L216,252L217,252L218,251L219,251L220,250ZM396,240L395,241L394,241L393,242L391,242L390,243L389,243L388,244L386,244L385,245L384,245L383,246L380,246L379,247L376,247L375,248L373,248L372,249L371,249L370,250L368,250L367,251L365,251L364,252L363,252L362,253L360,253L359,254L357,254L356,255L354,255L353,256L352,256L351,255L351,254L349,256L348,256L347,257L346,257L345,258L343,258L342,259L340,257L341,256L341,255L342,254L342,252L343,251L342,252L342,253L341,254L341,255L339,257L339,259L337,261L336,261L335,262L334,262L334,263L335,264L335,266L334,267L334,268L335,269L334,270L334,271L333,272L333,273L332,274L332,275L331,276L331,278L330,279L330,280L329,281L329,282L328,283L327,283L326,284L326,286L325,287L324,287L325,288L325,291L324,292L324,293L323,294L323,296L322,297L322,298L321,299L321,300L320,301L320,302L319,303L319,304L318,305L318,306L316,308L315,308L315,311L313,313L313,314L312,315L312,316L314,314L317,314L318,315L318,319L317,320L317,321L315,323L315,324L314,325L314,327L313,328L314,327L314,326L315,325L315,324L316,323L316,322L318,320L318,318L320,316L321,317L321,319L322,320L322,319L328,313L330,313L331,312L332,312L333,311L335,311L336,310L337,310L338,309L340,309L341,308L343,308L344,307L347,307L348,306L349,306L350,305L353,305L354,304L355,304L356,303L357,303L358,302L360,302L361,301L362,301L363,300L364,300L363,300L362,301L360,301L359,300L361,298L362,298L363,297L364,297L368,293L369,293L367,293L366,292L368,290L369,290L370,289L372,289L373,288L374,288L375,287L376,287L374,287L373,288L371,288L370,289L368,289L367,290L364,290L363,291L361,291L360,292L358,292L357,293L355,293L354,294L351,294L350,295L349,295L348,296L346,296L345,297L343,297L342,298L340,298L339,299L337,299L336,300L335,300L334,299L334,298L335,297L335,296L336,295L336,294L337,293L337,291L340,288L342,288L343,287L344,287L345,286L347,286L348,285L350,285L351,284L353,284L354,283L356,283L357,282L358,282L359,281L359,279L360,278L361,278L364,275L363,275L362,274L365,271L367,271L367,270L366,271L364,271L363,272L361,272L360,273L357,273L356,274L354,274L353,275L352,275L351,276L348,276L347,277L345,277L344,276L345,275L345,273L346,272L346,271L347,270L347,269L348,268L349,268L350,267L352,267L353,266L355,266L356,265L357,265L358,264L360,264L361,263L362,263L363,262L365,262L366,261L367,261L368,260L372,260L373,259L374,259L375,258L376,258L377,257L378,257L379,256L381,256L382,255L381,255L380,256L378,256L377,255L379,253L380,253L381,252L382,252L386,248L385,249L383,249L382,248L384,246L385,246L386,245L388,245L389,244L390,244L391,243L392,243L393,242L394,242L395,241L396,241ZM173,237L173,239L174,239L174,238ZM354,232L351,232L348,235L349,235L352,232L353,233L353,234L352,235L354,233ZM148,228L149,229L149,230L148,231L147,231L146,230ZM147,226L145,228L145,230L147,232L149,232L150,231L150,230L151,229L148,226ZM198,223L196,223L195,224L195,225L194,226L194,228L192,230L192,233L191,234L191,236L190,237L190,239L189,240L189,241L188,242L188,243L186,245L186,248L185,249L185,250L184,251L184,253L183,254L183,255L184,254L184,252L186,250L187,251L187,252L187,251L188,250L188,249L189,248L189,244L190,243L190,241L192,239L193,239L194,240L194,243L194,238L195,237L195,236L196,235L196,229L197,228L197,226L198,225ZM276,217L275,218L275,220L276,221L277,220L277,218ZM166,214L166,215L167,216L166,217L165,217L164,216L164,215L163,216L163,221L165,223L168,223L169,222L170,222L171,221L171,219L172,218L171,217L171,216L170,215L169,215L168,214ZM102,201L101,202L101,203L100,204L100,205L99,206L99,209L101,211L101,212L102,213L107,213L108,214L109,214L110,213L110,212L112,210L112,204L109,201ZM199,184L199,185L200,186L200,188L198,190L198,191L197,192L197,197L198,198L198,199L201,202L201,203L200,204L200,210L199,211L199,212L198,213L198,216L197,217L198,216L199,217L200,216L200,213L201,212L201,210L202,209L202,208L203,207L203,206L204,205L204,204L205,203L209,203L210,202L211,202L212,201L212,200L213,199L213,198L214,197L214,196L213,195L214,194L214,192L212,190L212,189L211,188L210,188L209,187L208,187L207,186L203,186L202,187ZM189,171L189,172L190,173L191,173L191,172L190,171ZM165,149L165,150L164,151L164,152L165,153L165,154L169,154L169,150L168,149Z`,crownPath:`M150,261L147,261L146,262L144,262L143,263L141,263L140,264L138,264L137,265L135,265L134,266L132,266L131,267L130,267L129,268L127,268L126,269L124,269L123,270L121,270L120,271L119,271L118,272L116,272L115,273L114,273L113,274L112,274L110,276L111,276L112,277L114,277L115,276L116,276L117,275L119,275L120,274L122,274L123,273L125,273L126,272L128,272L129,271L130,271L131,270L133,270L134,269L136,269L137,268L139,268L140,267L142,267L143,266L145,266L146,265L148,265L149,264L150,264ZM100,254L100,255L103,258L103,259L104,260L104,261L106,263L106,264L107,265L107,266L109,268L109,269L110,270L110,271L111,270L112,270L113,269L113,268L111,266L111,265L110,264L112,262L113,263L114,263L115,264L117,264L119,266L120,266L121,265L122,265L123,264L123,250L124,249L129,254L129,255L134,260L134,261L135,260L137,260L138,259L138,257L139,256L139,255L140,254L140,253L141,252L141,251L142,250L142,249L143,248L145,250L145,258L146,258L147,257L148,257L148,252L147,251L147,241L146,240L146,236L145,237L145,238L143,240L143,241L141,243L141,244L139,246L139,247L138,248L138,249L137,250L137,251L135,253L132,250L132,249L128,245L128,244L125,241L125,240L121,236L121,235L117,231L117,230L116,229L116,240L117,241L117,259L116,260L115,259L112,259L111,258L109,258L108,257L107,257L106,256L104,256L103,255L101,255Z`},Id=Object.freeze({...Fd,path:Fd.wordmarkPath+Fd.crownPath}),Ld=[0,45,105,145,225,265,335,380,475,520,610,650,750,790,890,940,1e3],Rd=[1,0,.6,1,0,.45,0,.9,0,.65,0,1,0,.55,.75,0];function zd(e,t,n){let r=(e^Math.imul(t+1,2654435769)^Math.imul(n,2246822507))>>>0;return r=Math.imul(r^r>>>16,569420461),r=Math.imul(r^r>>>15,1935289751),((r^r>>>15)>>>0)/4294967296}function Bd(e,t=0){if(!Number.isFinite(e)||e<0||e>=1e3)return;let n=Ld.length-1;for(;e<Ld[n];)n--;let r=Rd[n];if(!r)return{x:0,y:0,rotation:0};let i=zd(t,n,1)<.5?-1:1;return{x:Math.round(i*(3+zd(t,n,2)*3)*r),y:Math.round((zd(t,n,3)*4-2)*r),rotation:Math.round((zd(t,n,4)*2-1)*r*4)*Math.PI/720}}function Vd({hovered:e,breakable:t=!1,animateOnEnter:n=!1,...r}){let i=(0,Z.useRef)(null),[a,o]=(0,Z.useState)(!1),[s,c]=(0,Z.useState)(n),l=(e??a)||s;return(0,Z.useEffect)(()=>{if(c(n),!n)return;let e=window.setTimeout(()=>c(!1),1e3);return()=>window.clearTimeout(e)},[n]),(0,Z.useEffect)(()=>{let e=i.current;if(!e||!l)return;let t=window.matchMedia(`(prefers-reduced-motion: reduce)`),n=Math.floor(Math.random()*4294967296),r=performance.now(),a,o=()=>{if(clearTimeout(a),t.matches){e.style.removeProperty(`transform`);return}let i=performance.now()-r,s=i%1e3,c=Bd(s,n+Math.floor(i/1e3));c&&(e.style.transform=`translate(${c.x*.28}px, ${c.y*.28}px) rotate(${c.rotation}rad)`);let l=Ld.find(e=>e>s)??1e3;a=setTimeout(o,Math.max(1,l-s))};return o(),t.addEventListener(`change`,o),()=>{clearTimeout(a),e.style.removeProperty(`transform`),t.removeEventListener(`change`,o)}},[l]),(0,$.jsxs)(`svg`,{...r,ref:i,viewBox:Id.viewBox,role:r.role??`img`,"aria-label":r[`aria-label`]??`Joy Ride`,"data-jr-breakable":t||void 0,"data-jr-combustible":t||void 0,style:{overflow:`visible`,transformOrigin:`center`,...r.style},onPointerEnter:e=>{o(!0),r.onPointerEnter?.(e)},onPointerLeave:e=>{o(!1),r.onPointerLeave?.(e)},children:[(0,$.jsx)(`path`,{d:Id.wordmarkPath,fill:`currentColor`,fillRule:`evenodd`}),(0,$.jsx)(`path`,{d:Id.crownPath,fill:`var(--joy-logo-accent, var(--drive-accent, #d63228))`,fillRule:`evenodd`})]})}function Hd(){return(0,$.jsxs)(ce,{variant:`outline`,size:`default`,className:`w-full justify-center`,nativeButton:!1,render:(0,$.jsx)(`a`,{href:`https://github.com/jakiestfu/joy-ride`,target:`_blank`,rel:`noreferrer`}),children:[(0,$.jsx)(lt,{"aria-hidden":`true`}),`GitHub`]})}var Ud=`.joy-pause-menu{--pause-accent:var(--joy-ride-accent-color,var(--primary));--pause-accent-foreground:var(--joy-ride-accent-foreground,var(--primary-foreground));--joy-logo-accent:var(--pause-accent);--font-sans:var(--jr-dialog-font-family,"Inter Variable", sans-serif);--pause-inset:20px;--text-xs:10px;--text-sm:12px;--text-base:13px;z-index:2;pointer-events:auto;color:var(--foreground);font-family:var(--font-sans);outline:none;font-size:12px;position:fixed}.joy-pause-frame{border:1px solid var(--border);background:var(--background);width:100%;height:100%;display:flex;overflow:hidden;box-shadow:0 24px 80px #0005}.joy-pause-layout{--pause-sidebar-width:160px;align-items:stretch;height:100%;min-height:0}.joy-pause-sidebar{border-right:1px solid var(--sidebar-border);flex-shrink:0}.joy-pause-brand{justify-content:center;align-items:flex-start;min-height:100px;padding:18px 16px 12px}.joy-pause-logo-backing{isolation:isolate;place-items:center;width:138px;height:76px;display:grid;position:relative;left:-8px}.joy-pause-logo-backing:before{content:"";z-index:-1;background:var(--sidebar);pointer-events:none;position:absolute;inset:-8px;-webkit-mask:url(`+new URL(`../embed-assets/logo-backing-DQNUb3C2.svg`,import.meta.url).href+`) 50%/100% 100% no-repeat;mask:url(`+new URL(`../embed-assets/logo-backing-DQNUb3C2.svg`,import.meta.url).href+`) 50%/100% 100% no-repeat}.joy-pause-logo{width:124px;height:76px;display:block;overflow:visible}.joy-pause-sidebar [data-slot=sidebar-menu]{gap:5px}.joy-pause-sidebar [data-slot=sidebar-group]{padding:16px 10px}.joy-pause-sidebar [data-slot=sidebar-menu-button]{min-height:38px;padding-inline:12px;font-weight:550}.joy-pause-sidebar [data-slot=sidebar-menu-button][data-active=true]{font-weight:650}.joy-pause-sidebar-footer{align-items:stretch;padding:10px 12px 14px}.joy-pause-workspace{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.joy-pause-header{padding:18px var(--pause-inset) 16px;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;display:flex}.joy-pause-header[data-documentation]{border-bottom:1px solid var(--border);padding-bottom:18px}.joy-pause-header[data-dragging]{cursor:grabbing}.joy-pause-header:focus-visible{outline:2px solid var(--ring);outline-offset:-3px}.joy-pause-heading{min-width:0}.joy-pause-heading h1{letter-spacing:-.04em;margin:0;font-size:22px;font-weight:650;line-height:1.25}.joy-pause-header-actions{flex:none;align-items:center;gap:8px;display:flex}.joy-pause-documentation-search{align-items:center;gap:8px;width:min(28vw,280px);min-width:0;margin-right:4px;display:flex}@media (width<=800px){.joy-pause-header[data-documentation]{flex-wrap:wrap}.joy-pause-header[data-documentation] .joy-pause-header-actions{width:100%}.joy-pause-documentation-search{flex:1;width:auto}.joy-pause-documentation-search .joy-docs-results{width:min(320px,100vw - 130px);left:0;right:auto}}.joy-pause-content,.joy-pause-body{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.joy-pause-panels{min-width:0}.joy-pause-panels>section{padding:2px var(--pause-inset) 16px}.joy-pause-panels>section>section+section{margin-top:16px}.joy-pause-settings-main>label{grid-template-columns:minmax(110px,.8fr) minmax(0,1fr);align-items:center;gap:20px;font-size:12px;font-weight:500;display:grid}.joy-pause-settings-main>label+label{margin-top:14px}.joy-pause-audio{grid-template-columns:minmax(110px,.8fr) minmax(0,1fr);align-items:center;gap:20px;display:grid}.joy-pause-audio>div{align-items:center;gap:14px;display:flex}.joy-pause-audio [data-slot=slider]{flex:1;min-width:0}.joy-pause-audio output{text-align:right;min-width:3ch;color:var(--muted-foreground);font-size:12px}.joy-pause-tool{border-radius:var(--radius-lg);border:0;padding:8px 0}.joy-pause-vehicle-image{place-items:center;height:160px;display:grid}.joy-pause-vehicle-image img{object-fit:contain;max-width:220px;max-height:140px}.joy-pause-vehicle-image svg{width:180px}.joy-pause-vehicle-name{margin:6px 0;font-size:17px;font-weight:600;line-height:1.4;display:block}.joy-pause-vehicle-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin-top:16px;display:grid}.joy-pause-vehicle-stats>div>span{color:var(--muted-foreground);font-size:11px}.joy-pause-footer{padding:12px var(--pause-inset) 16px;flex-shrink:0;justify-content:flex-end;display:flex}.joy-pause-footer-actions{gap:10px;display:flex}.joy-pause-close-button{background:var(--pause-accent);color:var(--pause-accent-foreground)}.joy-pause-close-button:hover{background:color-mix(in srgb, var(--pause-accent) 82%, var(--foreground));color:var(--pause-accent-foreground)}@media (width<=600px){.joy-pause-menu{--pause-inset:16px}.joy-pause-layout{--pause-sidebar-width:62px}.joy-pause-brand{min-height:86px;padding:16px 5px}.joy-pause-logo-backing{width:52px;height:42px;left:-2px}.joy-pause-logo{width:50px;height:40px}.joy-pause-sidebar [data-slot=sidebar-group]{padding-inline:8px}.joy-pause-sidebar [data-slot=sidebar-menu-button]{justify-content:center;height:40px;padding:8px}.joy-pause-sidebar [data-slot=sidebar-menu-button]>span{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.joy-pause-sidebar-footer{align-items:stretch;gap:10px;padding:12px 6px}.joy-pause-sidebar-footer [data-slot=button]{gap:0;width:100%;padding:0;font-size:0}.joy-pause-header{gap:8px;padding-top:14px;padding-bottom:14px}.joy-pause-heading h1{font-size:21px}.joy-pause-header-actions{gap:4px}.joy-pause-settings-main>label,.joy-pause-audio{grid-template-columns:minmax(0,1fr);gap:8px}.joy-pause-vehicle-image img{max-width:165px}.joy-pause-vehicle-image{height:135px}.joy-pause-vehicle-stats{grid-template-columns:minmax(0,1fr)}}@media (height<=600px){.joy-pause-header{padding-block:16px}.joy-pause-footer{padding-block:12px}.joy-pause-brand{min-height:90px}}`,Wd=`.joy-docs-prose :is(h2,h3,h4){color:var(--foreground);letter-spacing:-.025em;scroll-margin-top:20px;font-weight:600;line-height:1.35}.joy-docs-prose h2{margin:0 0 12px;font-size:24px}.joy-docs-prose h3{border-top:1px solid var(--border);margin:32px 0 12px;padding-top:20px;font-size:16px}.joy-docs-prose h4{margin:24px 0 8px;font-size:13px}.joy-docs-prose :is(h2,h3,h4):focus{outline:none}.joy-docs-prose :is(h2,h3,h4):focus-visible{outline:2px solid var(--ring);outline-offset:4px}.joy-docs-prose p{max-width:74ch;margin:12px 0}.joy-docs-prose :is(ul,ol){max-width:74ch;margin:14px 0;padding-left:22px}.joy-docs-prose ul{list-style:outside}.joy-docs-prose ol{list-style:decimal}.joy-docs-prose li{margin-block:5px}.joy-docs-prose strong{color:var(--foreground);font-weight:600}.joy-docs-prose a{color:var(--foreground);text-underline-offset:3px;text-decoration:underline}.joy-docs-prose a:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.joy-docs-prose a.joy-docs-property-link,.joy-docs-table a{color:inherit;text-decoration:none}.joy-docs-prose a.joy-docs-property-link:hover,.joy-docs-table a:hover{text-decoration:underline}.joy-docs-prose :not(pre)>code{color:var(--foreground);background:var(--muted);border-radius:var(--radius-sm);padding:2px 4px;font-family:ui-monospace,monospace;font-size:.9em}.joy-docs-prose blockquote{border-left:2px solid var(--border);color:var(--muted-foreground);margin:18px 0;padding:4px 16px}.joy-docs-prose [data-slot=code-block]{max-width:100%;margin-block:16px}.joy-docs-table :is(th,td):first-child{white-space:nowrap}.joy-pause-panels[data-documentation]{overflow:clip}.joy-pause-menu[data-documentation] .joy-pause-header{padding-bottom:28px}.joy-pause-menu[data-documentation] .joy-pause-footer{padding-block:8px}@media (width<=800px){.joy-docs-prose h2{font-size:21px}}`,Gd={name:`@joy-ride/ui`,version:`0.29.1`,type:`module`,private:!1,dependencies:{"@base-ui/react":`^1.9.0`,"@joy-ride/browser":`workspace:*`,"@joy-ride/engine":`workspace:*`,"@phosphor-icons/react":`^2.1.10`,"class-variance-authority":`^0.7.1`,cn:`^0.5.0`,"mdast-util-to-string":`^4.0.0`,react:`19.3.1`,"react-dom":`19.3.1`,"react-markdown":`^10.1.0`,"remark-gfm":`^4.0.1`,"remark-parse":`^11.0.0`,shadcn:`^4.23.0`,"sugar-high":`^2.6.4`,"tw-animate-css":`^1.4.0`,unified:`^11.0.5`},exports:{".":{source:`./src/index.ts`,types:`./src/index.ts`,import:`./lib/index.js`,default:`./lib/index.js`},"./embed-core":{source:`./src/embed-core.ts`,types:`./src/embed-core.ts`,import:`./lib/embed-core.js`,default:`./lib/embed-core.js`},"./vehicle-popover":{source:`./src/vehicle-popover.ts`,types:`./src/vehicle-popover.ts`,import:`./lib/vehicle-popover.js`,default:`./lib/vehicle-popover.js`},"./controls":{source:`./src/controls.ts`,types:`./src/controls.ts`,import:`./lib/controls.js`,default:`./lib/controls.js`},"./documentation":{source:`./src/documentation.ts`,types:`./src/documentation.ts`,import:`./lib/documentation.js`,default:`./lib/documentation.js`},"./documentation.css":`./src/components/documentation/Documentation.css`,"./theme":{source:`./src/theme.ts`,types:`./src/theme.ts`,import:`./lib/theme.js`,default:`./lib/theme.js`},"./theme.css":`./src/components/ui/theme.css`,"./brand":{source:`./src/brand.ts`,types:`./src/brand.ts`,import:`./lib/brand.js`,default:`./lib/brand.js`},"./code-block":{source:`./src/components/documentation/CodeBlock.tsx`,types:`./src/components/documentation/CodeBlock.tsx`,import:`./lib/code-block.js`,default:`./lib/code-block.js`},"./vehicle-hint":{source:`./src/components/overlays/VehicleHint.tsx`,types:`./src/components/overlays/VehicleHint.tsx`,import:`./lib/vehicle-hint.js`,default:`./lib/vehicle-hint.js`},"./styles.css":{source:`./src/styles.css`,default:`./lib/styles.css`},"./brand/logo":{source:`./src/brand/logo.ts`,types:`./src/brand/logo.ts`,import:`./lib/brand/logo.js`,default:`./lib/brand/logo.js`}},scripts:{logo:`node scripts/sync-logo.ts`,build:`vite build`,dev:`vite build --watch --emptyOutDir false`},sideEffects:[`**/*.css`],devDependencies:{vite:`8.3.5`}},Kd=14,qd=(e,t,n)=>Math.max(t,Math.min(n,e));function Jd(e,t={width:480,height:560},n={x:0,y:0}){let r=Math.min(Kd,e.width/2,e.height/2),i=Math.min(t.width,Math.max(0,e.width-r*2)),a=Math.min(t.height,Math.max(0,e.height-r*2));return{width:i,height:a,left:qd((e.width-i)/2+n.x,r,e.width-r-i),top:qd((e.height-a)/2+n.y,r,e.height-r-a)}}function Yd({styles:e,theme:t=`auto`,size:r,onEscape:i,onReset:a,shortcutsEnabled:o}){let s=(0,Z.useRef)(e),[c,l]=(0,Z.useState)(null),[u,d]=(0,Z.useState)(()=>({width:window.innerWidth,height:Math.min(window.innerHeight,window.visualViewport?.height??window.innerHeight)})),[f,p]=(0,Z.useState)({x:0,y:0}),[m,h]=(0,Z.useState)(!1),g=(0,Z.useRef)(null),_=(0,Z.useRef)(null);(0,Z.useLayoutEffect)(()=>{let e=document.createElement(`div`);e.dataset.jrUi=``,e.dataset.jrPopoverHost=``,e.style.cssText=`position:fixed;inset:0;z-index:${E(`dialog`)};pointer-events:none`;let n=e.attachShadow({mode:`open`}),r=document.createElement(`style`);r.dataset.jrDialogStyles=``,r.textContent=s.current,n.append(r);let i=M(e,t);return document.body.append(e),l(n),()=>{i(),e.remove()}},[t]),(0,Z.useLayoutEffect)(()=>{let t=c?.querySelector(`style`);t&&(t.textContent=e)},[c,e]),(0,Z.useEffect)(()=>{let e=()=>d({width:window.innerWidth,height:Math.min(window.innerHeight,window.visualViewport?.height??window.innerHeight)});window.addEventListener(`resize`,e),window.visualViewport?.addEventListener(`resize`,e);let t=e=>{e.defaultPrevented||(e.key===`Escape`?(e.preventDefault(),e.stopPropagation(),i()):e.repeat||e.metaKey||e.ctrlKey||e.altKey||n(e)||o&&e.code===`KeyC`&&(e.preventDefault(),e.stopPropagation(),a()))};return document.addEventListener(`keydown`,t),()=>{window.removeEventListener(`resize`,e),window.visualViewport?.removeEventListener(`resize`,e),document.removeEventListener(`keydown`,t)}},[i,a,o]),(0,Z.useEffect)(()=>{if(!c)return;let e=document.activeElement;for(;e?.shadowRoot?.activeElement;)e=e.shadowRoot.activeElement;let t=document.documentElement,n=t.style.overflow,r=t.style.scrollbarGutter;getComputedStyle(t).scrollbarGutter===`auto`&&(t.style.scrollbarGutter=`stable`),t.style.overflow=`hidden`;let i=requestAnimationFrame(()=>g.current?.focus({preventScroll:!0})),a=e=>{if(e.key!==`Tab`||e.ctrlKey||e.metaKey||e.altKey)return;let t=[...c.querySelectorAll(`button,a[href],input,select,textarea,[tabindex]`)].filter(e=>e.tabIndex>=0&&!e.matches(`:disabled,[aria-hidden="true"]`)&&e.getClientRects().length&&getComputedStyle(e).visibility!==`hidden`),n=c.activeElement;for(;n?.shadowRoot?.activeElement;)n=n.shadowRoot.activeElement;t.length?(!n||!c.contains(n)||n===g.current||(e.shiftKey?n===t[0]:n===t.at(-1)))&&(e.preventDefault(),(e.shiftKey?t.at(-1):t[0])?.focus()):(e.preventDefault(),g.current?.focus())};return document.addEventListener(`keydown`,a,!0),()=>{cancelAnimationFrame(i),document.removeEventListener(`keydown`,a,!0),t.style.overflow=n,t.style.scrollbarGutter=r,e instanceof HTMLElement&&e.isConnected&&e.focus({preventScroll:!0})}},[c]);let v=Jd(u,r,f);return{portalRoot:c,dialogRef:g,placement:v,dragging:m,headerProps:{onPointerDown:e=>{e.button!==0||e.target instanceof Element&&e.target.closest(`button,a,input,select,textarea,[role="button"]`)||(e.preventDefault(),_.current={pointer:e.pointerId,x:e.clientX,y:e.clientY,offset:{x:v.left-(u.width-v.width)/2,y:v.top-(u.height-v.height)/2}},e.currentTarget.setPointerCapture(e.pointerId),h(!0))},onPointerMove:e=>{let t=_.current;t&&t.pointer===e.pointerId&&p({x:t.offset.x+e.clientX-t.x,y:t.offset.y+e.clientY-t.y})},onPointerUp:e=>{_.current?.pointer===e.pointerId&&(_.current=null,h(!1),e.currentTarget.hasPointerCapture(e.pointerId)&&e.currentTarget.releasePointerCapture(e.pointerId))},onLostPointerCapture:()=>{_.current=null,h(!1)},onKeyDown:e=>{if(e.target!==e.currentTarget)return;let t=e.shiftKey?20:8,n={ArrowLeft:[-t,0],ArrowRight:[t,0],ArrowUp:[0,-t],ArrowDown:[0,t]};if(e.key!==`Home`&&!n[e.key])return;e.preventDefault(),e.stopPropagation();let[r,i]=n[e.key]??[0,0];p(e.key===`Home`?{x:0,y:0}:{x:v.left-(u.width-v.width)/2+r,y:v.top-(u.height-v.height)/2+i})}}}}var Xd=Z.createContext(void 0);function Zd(){let e=Z.useContext(Xd);if(e===void 0)throw Error(Te(51));return e}var Qd=`data-complete`,$d=`data-indeterminate`,ef=`data-progressing`,tf={status(e){return e===`progressing`?{[ef]:``}:e===`complete`?{[Qd]:``}:e===`indeterminate`?{[$d]:``}:null}},nf=Z.forwardRef(function(e,t){let{format:n,getAriaValueText:r,locale:i,max:a=100,min:o=0,value:s,render:c,className:l,children:u,style:d,...f}=e,[p,m]=Z.useState(),h=`indeterminate`,g=null,_=null,v=``,y=`indeterminate progress`;if(s!=null&&Number.isFinite(s)){let e=no(s,o,a);g=ga(Number.isNaN(e)?0:e,0,100),_=ga(s,o,a),h=_===a?`complete`:`progressing`,v=n?Ma(_,i,n):Ma(g/100,i,{style:`percent`}),y=v}let b=Z.useMemo(()=>({status:h}),[h]),x={"aria-labelledby":p,"aria-valuemax":a,"aria-valuemin":o,"aria-valuenow":_??void 0,"aria-valuetext":r?r(v,s):y,role:`progressbar`,children:(0,$.jsxs)(Z.Fragment,{children:[u,(0,$.jsx)(`span`,{role:`presentation`,style:Ji,children:`x`})]})},S=Z.useMemo(()=>({formattedValue:v,percentageValue:g,setLabelId:m,state:b,value:s}),[v,g,m,b,s]),C=ue(`div`,e,{state:b,ref:t,props:[x,f],stateAttributesMapping:tf});return(0,$.jsx)(Xd.Provider,{value:S,children:C})}),rf=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,{state:o}=Zd();return ue(`div`,e,{state:o,ref:t,props:a,stateAttributesMapping:tf})}),af=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,{percentageValue:o,state:s}=Zd(),c=o==null?{}:{insetInlineStart:0,height:`inherit`,width:`${o}%`};return ue(`div`,e,{state:s,ref:t,props:[{style:c},a],stateAttributesMapping:tf})}),of=Z.forwardRef(function(e,t){let{className:n,render:r,children:i,style:a,...o}=e,{value:s,formattedValue:c,state:l}=Zd(),u=l.status===`indeterminate`;return ue(`span`,e,{state:l,ref:t,props:[{"aria-hidden":!0,children:typeof i==`function`?i(u?`indeterminate`:c,s):u?null:c},o],stateAttributesMapping:tf})}),sf=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,id:a,...o}=e,{setLabelId:s,state:c}=Zd(),l=Vr(a,s);return ue(`span`,e,{state:c,ref:t,props:[{id:l,role:`presentation`},o],stateAttributesMapping:tf})});function cf({className:e,children:t,value:n,...r}){return(0,$.jsxs)(nf,{value:n,"data-slot":`progress`,className:J(`flex flex-wrap gap-3`,e),...r,children:[t,(0,$.jsx)(lf,{children:(0,$.jsx)(uf,{})})]})}function lf({className:e,...t}){return(0,$.jsx)(rf,{className:J(`relative flex h-1 w-full items-center overflow-x-hidden rounded-full bg-muted`,e),"data-slot":`progress-track`,...t})}function uf({className:e,...t}){return(0,$.jsx)(af,{"data-slot":`progress-indicator`,className:J(`h-full bg-primary transition-all`,e),...t})}function df({className:e,...t}){return(0,$.jsx)(sf,{className:J(`text-sm font-medium`,e),"data-slot":`progress-label`,...t})}function ff({className:e,...t}){return(0,$.jsx)(of,{className:J(`ml-auto text-sm text-muted-foreground tabular-nums`,e),"data-slot":`progress-value`,...t})}function pf(e,t){return{throttle:+!!e,steer:0,action:t&&!e,boost:!1}}var mf=Math.max(6.8,...Object.values(v).map(({geometry:e})=>e.lengthM+2.4)),hf=Math.max(4.8,...Object.values(v).map(({geometry:e})=>e.widthM+2.6));function gf(e,t,n){return Math.min(t/(28*Math.max(mf,e.geometry.lengthM+2.4)),n/(28*Math.max(hf,e.geometry.widthM+2.6)))}var _f=class{sim=new a;revSeconds=0;constructor(e){this.reset(e)}reset(e){this.revSeconds=0,this.sim.setMode(`car`),this.sim.setPreset(e),this.sim.barrier=!1,this.sim.body.position={x:0,y:0},this.sim.body.velocity={x:0,y:0},this.sim.body.angle=0,this.sim.body.spin=0}rev(){this.revSeconds=.25}step(e,t,n=!1,r=!0){let a=t===`engine`||this.revSeconds>0,o=pf(a,!1);n&&a&&r&&(this.sim.body.velocity.x+=(24-this.sim.body.velocity.x)*(1-Math.exp(-e*5))),r&&(this.revSeconds=Math.max(0,this.revSeconds-e),this.sim.tick(o,e));let s=i(this.sim.body.velocity);return{controls:o,speedMps:s,active:a||t===`horn`||s>.45}}};function vf(e,t,n=0){if(t===`exhaust`)return w(e).map(({xM:e,yM:t},r)=>({x:e,y:t,selected:r===n}));let r=e.geometry,i,a;return t===`front`||t===`rear`?(i=t===`front`?r.frontAxleXM??r.wheelbaseM/2:r.rearAxleXM??-r.wheelbaseM/2,a=(t===`front`?r.frontTrackWidthM??r.trackWidthM:r.rearTrackWidthM??r.trackWidthM)/2):t===`headlights`||t===`taillights`?{xM:i,yM:a}=_(e)[t]:t===`door`?(i=g(e).xM,a=r.widthM*.43):{xM:i,yM:a}=e.roofRocket,(t===`roof`?[1]:[-1,1]).map(e=>({x:i,y:a*e,selected:!0}))}var yf=[{value:`idle`,label:`Idle`},{value:`boosting`,label:`Boosting`,tool:`boost`},{value:`firing`,label:`Firing`,tool:`machineGun`},{value:`rocket`,label:`Rocket open`,tool:`rocket`}];function bf({preset:e,point:t=null,exhaustIndex:n=0,onPlace:r,availableTools:o,masterVolume:s=1,showVehicleNames:c=!0}){let l=(0,Z.useRef)(null),u=(0,Z.useRef)(null),[d,f]=(0,Z.useState)(()=>typeof document<`u`&&document.documentElement.classList.contains(`dark`));(0,Z.useLayoutEffect)(()=>{let e=l.current?.getRootNode(),t=e instanceof ShadowRoot?e.host:document.documentElement,n=()=>f(t.classList.contains(`dark`));n();let r=new MutationObserver(n);return r.observe(t,{attributes:!0,attributeFilter:[`class`]}),()=>r.disconnect()},[]);let[p,m]=(0,Z.useState)(`idle`),[h,g]=(0,Z.useState)(null),[_,v]=(0,Z.useState)(0),[y,x]=(0,Z.useState)(null),[S,C]=(0,Z.useState)(null),w=(0,Z.useRef)(null),E=(0,Z.useRef)(null),O=e.image?.src??null,k=!!O&&S===O,A=!!O&&y!==O&&!k,j=(0,Z.useRef)(``),M=s>0?s:.65,N=yf.filter(({tool:e})=>!e||o.includes(e)),P=N.some(({value:e})=>e===p)?p:`idle`,F=(0,Z.useRef)({preset:e,point:t,exhaustIndex:n,dark:d,state:p,held:h,masterVolume:s});F.current={preset:e,point:t,exhaustIndex:n,dark:d,state:P,held:h,masterVolume:M};let I=()=>{g(null),u.current?.sound?.setHorn(!1)};(0,Z.useEffect)(()=>{let e=l.current;if(!e)return;let t=new a;t.setMode(`car`),t.setPreset(F.current.preset),t.barrier=!1;let n=new D(`preview`,t),r=new T(e,!1,`high`,!0);r.deadZone=!1,r.cameraSmoothing=0,r.setTireSmokeEnabled(!1),r.setScreenShakeEnabled(!1);let o=new _f(F.current.preset);u.current={renderer:r,vehicle:n,sound:null,audioMotion:o};let s=0,c=0,d=0,f=0,p=a=>{if(s=requestAnimationFrame(p),document.hidden||!e.clientWidth||!e.clientHeight){c=a;return}let l=Math.min(1/30,Math.max(0,(a-(c||a))/1e3));c=a;let m=F.current,h=u.current?.sound,g=m.state===`boosting`||m.held===`engine`,_=pf(g,m.dark);g?m.state===`boosting`&&(t.body.velocity={x:t.body.velocity.x+(24-t.body.velocity.x)*(1-Math.exp(-l*5)),y:0}):t.body.velocity={x:0,y:0},t.tick(_,l,h?.rpm);let y=i(t.body.velocity);a-d>=100&&(v(Math.round(y*2.236936)),d=a),t.body.angle=0,t.body.spin=0;let b=o.step(l,m.held,m.state===`boosting`,h?.rpm!=null);h?.setActive(b.active),h?.setMasterVolume(m.masterVolume),h?.setHorn(m.held===`horn`),h?.update(l,b.controls,b.speedMps),h&&r.queueExhaustPops(h.takeExhaustPops()),t.lastInput={..._,machineGun:m.state===`firing`},n.weapons.rocket.previewOpen=m.state===`rocket`,f+=l,m.state===`boosting`&&f>=.08&&(r.queueExhaustPops([.95]),f=0),r.setSurfaceTone(m.dark?`dark`:`light`);let S=gf(m.preset,e.clientWidth,e.clientHeight);r.setCanvasWorldScale(S,4),r.advanceEffects(n,l,{driven:!1});let T=r.vehicleImageLoadState(m.preset);if(T===`ready`)r.render(n,a),m.preset.image?.src&&w.current!==m.preset.image.src&&(w.current=m.preset.image.src,x(m.preset.image.src));else if(T===`failed`&&m.preset.image?.src){let e=m.preset.image.src;E.current!==e&&(E.current=e,C(e))}if(m.point){let n=e.getContext(`2d`);n.save(),n.setTransform(e.width/e.clientWidth,0,0,e.height/e.clientHeight,0,0);for(let{x:e,y:i,selected:a}of vf(m.preset,m.point,m.exhaustIndex)){let o=r.viewportFromDocument(r.documentPoint(t.body.world({x:e,y:i})));n.beginPath(),n.arc(o.x,o.y,a?7:4,0,Math.PI*2),n.fillStyle=a?`#fff`:`#9ca3af`,n.fill(),n.strokeStyle=`#18181b`,n.lineWidth=2,n.stroke(),n.beginPath(),n.arc(o.x,o.y,a?12:8,0,Math.PI*2),n.strokeStyle=m.dark?`#fff9`:`#18181b88`,n.lineWidth=1,n.stroke()}n.restore()}};s=requestAnimationFrame(p);let m=()=>{g(null),u.current?.sound?.setHorn(!1)},h=()=>{m(),o.reset(F.current.preset),u.current?.sound?.setActive(!1)};return window.addEventListener(`blur`,h),document.addEventListener(`visibilitychange`,h),window.addEventListener(`pointerup`,m),window.addEventListener(`pointercancel`,m),()=>{cancelAnimationFrame(s),window.removeEventListener(`blur`,h),window.removeEventListener(`pointerup`,m),window.removeEventListener(`pointercancel`,m),document.removeEventListener(`visibilitychange`,h),u.current?.sound?.dispose(),r.dispose(),n.dispose(),u.current=null}},[]),(0,Z.useEffect)(()=>{I();let t=u.current;if(!t)return;t.vehicle.setPreset(e),t.audioMotion.reset(e),t.sound?.setActive(!1);let n=JSON.stringify(e.sound);j.current!==n&&(t.sound?.setPreset(e),j.current=n)},[e]);let L=t=>{let n=u.current;n&&(n.sound||=new b(e,{idleSound:!1,masterVolume:M}),t===`engine`&&n.audioMotion.rev(),n.sound.setActive(!0),n.sound.start(),n.sound.setHorn(t===`horn`),g(t))},R=e=>({onPointerDown:t=>{t.button===0&&(t.currentTarget.setPointerCapture(t.pointerId),L(e))},onPointerUp:I,onPointerCancel:I,onLostPointerCapture:I,onBlur:I,onKeyDown:t=>{(t.key===` `||t.key===`Enter`)&&(t.preventDefault(),t.repeat||L(e))},onKeyUp:e=>{(e.key===` `||e.key===`Enter`)&&(e.preventDefault(),I())},"aria-pressed":h===e});return(0,$.jsxs)(`div`,{className:`grid min-w-0 gap-3`,children:[N.length>1&&(0,$.jsx)(Cd,{value:P,onValueChange:e=>{I(),m(e)},children:(0,$.jsx)(Td,{className:`w-full`,"aria-label":`Vehicle preview state`,children:N.map(({value:e,label:t})=>(0,$.jsx)(Ed,{value:e,children:t},e))})}),(0,$.jsxs)(`div`,{className:`relative overflow-hidden rounded-xl border border-border`,style:{colorScheme:d?`dark`:`light`,backgroundColor:d?`#171b1d`:`#fafbfc`},children:[(0,$.jsx)(`canvas`,{ref:l,className:`block h-[220px] w-full max-sm:h-[190px] ${r&&t?`cursor-crosshair`:``}`,style:{visibility:A||k?`hidden`:`visible`},role:`img`,"aria-label":`${c?e.name:`Vehicle`} ${P} preview${t?`; place ${t}`:``}`,onClick:n=>{if(!r||!t||!u.current)return;let i=n.currentTarget.getBoundingClientRect(),a=u.current.renderer,o=a.worldFromDocument(a.documentFromViewport({x:(n.clientX-i.left)/i.width*n.currentTarget.clientWidth,y:(n.clientY-i.top)/i.height*n.currentTarget.clientHeight})),s=e.geometry,c=u.current.vehicle.sim.body,l=o.x-c.position.x,d=o.y-c.position.y,f=t===`exhaust`?.25:0;Math.abs(l)<=s.lengthM/2+f&&Math.abs(d)<=s.widthM/2+f&&r(l,d)}}),A&&(0,$.jsx)(`div`,{className:`absolute inset-0 grid place-items-center`,role:`status`,"aria-label":`Loading vehicle preview`,children:(0,$.jsx)(nt,{className:`h-8 w-8 animate-spin text-muted-foreground`,"aria-hidden":`true`})}),k&&(0,$.jsx)(`div`,{className:`absolute inset-0 grid place-items-center text-xs text-muted-foreground`,role:`status`,children:`Preview unavailable`}),(0,$.jsx)(ce,{variant:`outline`,size:`icon-sm`,className:`absolute right-3 top-3 bg-background text-foreground`,onClick:()=>f(!d),"aria-label":d?`Use light preview surface`:`Use dark preview surface`,children:d?(0,$.jsx)(pt,{}):(0,$.jsx)(dt,{})}),(0,$.jsx)(`span`,{className:`pointer-events-none absolute bottom-3 left-3 text-[10px]`,style:{color:d?`#aaa`:`#737373`},children:d?`Night · lights auto`:`Day · lights auto`}),(P===`boosting`||h===`engine`)&&(0,$.jsxs)(`output`,{"aria-label":`Simulated speed`,className:`pointer-events-none absolute bottom-3 right-3 text-[10px] tabular-nums`,style:{color:d?`#aaa`:`#737373`},children:[_,` mph`]})]}),(0,$.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[(0,$.jsxs)(ce,{variant:`outline`,size:`sm`,className:`touch-none select-none`,...R(`engine`),children:[(0,$.jsx)(ot,{}),` Engine`]}),(0,$.jsxs)(ce,{variant:`outline`,size:`sm`,className:`touch-none select-none`,...R(`horn`),children:[(0,$.jsx)(ye,{}),` Horn`]}),(0,$.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:`Press and hold to listen`})]})]})}function xf({preset:e,presets:t,tools:n,options:r,showVehicleNames:i,onSelectPreset:a}){let[o,s]=(0,Z.useState)(!1),c=(0,Z.useRef)(null);(0,Z.useLayoutEffect)(()=>{if(!o||!c.current)return;let e=c.current.closest(`.joy-pause-panels`);if(!e)return;let t=c.current.getBoundingClientRect(),n=e.getBoundingClientRect();e.scrollTop+=t.top+t.height/2-(n.top+n.height/2)},[o,e.id]);let l=Math.max(0,t.findIndex(t=>t.id===e.id)),u=e=>{let n=t[Math.max(0,Math.min(t.length-1,e))];n&&a(n)};return(0,$.jsxs)(`section`,{className:`joy-pause-vehicle-panel min-h-full text-sm`,children:[(0,$.jsxs)(`div`,{className:`mb-3 flex items-center justify-between gap-3 rounded-xl border border-border bg-muted/40 p-2.5`,children:[(0,$.jsxs)(ce,{variant:`outline`,size:`sm`,onClick:()=>u(l-1),disabled:l===0,"aria-label":`Previous vehicle`,children:[(0,$.jsx)(Qe,{}),` `,(0,$.jsx)(`span`,{className:`hidden min-[601px]:inline`,children:`Previous`})]}),(0,$.jsxs)(`div`,{className:`min-w-0 text-center`,children:[(0,$.jsxs)(`span`,{className:`block whitespace-nowrap text-[10px] font-semibold uppercase tracking-wider text-muted-foreground`,children:[`Vehicle `,l+1,` of `,t.length]}),i&&(0,$.jsx)(`strong`,{className:`block truncate text-sm`,children:e.name})]}),(0,$.jsxs)(`div`,{className:`flex shrink-0 items-center gap-1`,children:[(0,$.jsx)(ce,{variant:`ghost`,size:`icon-sm`,"aria-label":o?`Back to vehicle`:`View all vehicles`,title:o?`Back to vehicle`:`View all vehicles`,"aria-pressed":o,onClick:()=>s(!o),children:(0,$.jsx)(ft,{})}),(0,$.jsxs)(ce,{variant:`outline`,size:`sm`,onClick:()=>u(l+1),disabled:l===t.length-1,"aria-label":`Next vehicle`,children:[`Next `,(0,$.jsx)($e,{})]})]})]}),o?(0,$.jsx)(`div`,{"aria-label":`All vehicles`,className:`space-y-5`,children:p.map(n=>{let r=t.filter(e=>(e.category??`Sports cars`)===n);return r.length?(0,$.jsxs)(`section`,{"aria-label":n,children:[(0,$.jsxs)(`h3`,{className:`mb-2 text-xs font-semibold uppercase tracking-wider text-muted-foreground`,children:[n,` `,(0,$.jsxs)(`span`,{className:`font-normal`,children:[`(`,r.length,`)`]})]}),(0,$.jsx)(`div`,{className:`grid grid-cols-2 gap-3 min-[601px]:grid-cols-4`,children:r.map(n=>{let r=n.id===e.id;return(0,$.jsxs)(`button`,{ref:r?c:void 0,type:`button`,"aria-pressed":r,"aria-label":`Select ${i?n.name:`vehicle ${t.indexOf(n)+1}`}`,onClick:()=>{a(n),s(!1)},className:`relative flex min-w-0 flex-col items-center rounded-xl border p-2 transition-colors focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring ${r?`border-primary bg-primary/10 ring-1 ring-primary`:`border-border bg-muted/20 hover:bg-muted/60`}`,children:[r&&(0,$.jsx)(tt,{"aria-label":`Selected`,className:`absolute top-2 right-2 size-4 text-primary`}),(0,$.jsx)(`div`,{className:`flex h-36 w-full items-center justify-center overflow-hidden`,children:n.image?(0,$.jsx)(`img`,{src:n.image.src,alt:``,className:`w-32 max-w-none rotate-90 object-contain`}):(0,$.jsxs)(`span`,{className:`text-xs text-muted-foreground`,children:[`Vehicle `,t.indexOf(n)+1]})}),i&&(0,$.jsx)(`span`,{className:`min-h-8 w-full text-center text-[11px] leading-4`,children:n.name})]},n.id)})})]},n):null})}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(bf,{preset:e,availableTools:n.map(e=>e.id),masterVolume:r.masterVolume,showVehicleNames:i}),(0,$.jsx)(`div`,{className:`joy-pause-vehicle-stats`,children:O(e,t).map(e=>(0,$.jsxs)(cf,{value:e.value,className:`gap-1.5`,children:[(0,$.jsx)(df,{className:`text-xs text-muted-foreground`,children:e.label}),(0,$.jsx)(ff,{className:`text-xs`})]},e.label))})]})]})}function Sf({options:e,onChange:t,portalRoot:n}){let r=d.filter(e=>e.category===`game`&&e.visitor!==!1);return e.showGameSettings?(0,$.jsxs)(`section`,{"aria-label":`Game settings`,className:`min-h-full space-y-1 px-5 py-3 text-xs`,children:[(0,$.jsx)(`p`,{className:`mb-3 text-muted-foreground`,children:`Adjust visuals, sound, performance, and playground rules.`}),r.map(r=>{let i=r.storage===`lighting`?f(e.lighting)[r.key]:e[r.key],a=n=>t(r.storage===`lighting`?{lighting:{...f(e.lighting),[r.key]:n}}:{[r.key]:n}),o=`settings-${r.key}`;return(0,$.jsxs)(`div`,{className:`flex items-center justify-between gap-5 border-b border-border/60 py-3 last:border-0`,children:[(0,$.jsxs)(`label`,{htmlFor:o,className:`grid min-w-0 gap-1 font-medium`,children:[(0,$.jsx)(`span`,{children:r.label}),r.help&&(0,$.jsx)(`span`,{className:`max-w-60 font-normal text-muted-foreground`,children:r.help})]}),(0,$.jsx)(ad,{entry:r,value:i,onChange:a,id:o,container:n})]},r.key)})]}):null}function Cf(e,t){let n=new Set(e.map(e=>e.id));return r.flatMap(e=>{if(e.id===`boost`&&!n.has(`boost`))return[];if(!e.id.startsWith(`slot`))return[e];let r=t.find(({number:t})=>`slot${t}`===e.id);if(!r)return[];let i=x.find(({id:e})=>e===r.slot.action),a=r.slot.action===`eject`?`Pour ${r.slot.liquid}`:i?.label??`Use tool`;return[{...e,label:a}]})}function wf({tools:e,assignments:t}){return(0,$.jsxs)(`section`,{className:`min-h-full text-sm`,children:[(0,$.jsx)(`div`,{className:`mb-3 text-xs font-semibold text-muted-foreground`,children:`Keyboard shortcuts`}),(0,$.jsx)(`div`,{className:`grid grid-cols-1 gap-x-7 gap-y-1 min-[601px]:grid-cols-2`,children:Cf(e,t).map(e=>(0,$.jsxs)(`div`,{className:`flex min-w-0 items-center justify-between gap-2 border-b border-border/60 py-2`,children:[(0,$.jsx)(`span`,{className:`text-muted-foreground`,children:e.label}),(0,$.jsx)(Mi,{className:`shrink-0`,children:e.keys.map((e,t)=>(0,$.jsxs)(`span`,{className:`inline-flex items-center gap-1`,children:[t>0&&(0,$.jsx)(`span`,{"aria-hidden":`true`,children:`/`}),(0,$.jsx)(ji,{children:e})]},e))})]},e.id))})]})}function Tf({tools:e}){return(0,$.jsxs)(`section`,{className:`min-h-full space-y-3 px-3 py-2.5 text-xs`,children:[(0,$.jsx)(`h2`,{className:`font-mono text-xs font-semibold uppercase`,children:`Tools`}),(0,$.jsx)(`p`,{className:`text-muted-foreground`,children:`Hold a shortcut while driving.`}),(0,$.jsx)(`div`,{className:`grid gap-1.5`,children:e.map(e=>(0,$.jsxs)(`div`,{className:`joy-pause-tool flex items-center gap-2 rounded-sm border border-border px-2 py-1.5`,children:[(0,$.jsx)(Mi,{className:`shrink-0`,children:e.keys.map((e,t)=>(0,$.jsxs)(`span`,{className:`inline-flex items-center gap-1`,children:[t>0&&(0,$.jsx)(`span`,{"aria-hidden":`true`,children:`/`}),(0,$.jsx)(ji,{children:e})]},e))}),(0,$.jsxs)(`div`,{className:`flex min-w-0 flex-1 items-baseline justify-between gap-2`,children:[(0,$.jsx)(`span`,{className:`font-semibold`,children:e.label}),(0,$.jsx)(`span`,{className:`truncate text-muted-foreground`,children:e.description})]})]},e.id))}),!e.length&&(0,$.jsx)(`p`,{className:`text-muted-foreground`,children:`No tools are enabled for this world.`})]})}function Ef({className:e,size:t=`default`,...n}){return(0,$.jsxs)(`div`,{className:J(`group/native-select relative w-fit has-[select:disabled]:opacity-50`,e),"data-slot":`native-select-wrapper`,"data-size":t,children:[(0,$.jsx)(`select`,{"data-slot":`native-select`,"data-size":t,className:`h-8 w-full min-w-0 appearance-none rounded-lg border border-input bg-transparent py-1 pr-8 pl-2.5 text-sm transition-colors outline-none select-none selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-[size=sm]:py-0.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,...n}),(0,$.jsx)(Ze,{className:`pointer-events-none absolute top-1/2 right-2.5 size-4 -translate-y-1/2 text-muted-foreground select-none`,"aria-hidden":`true`,"data-slot":`native-select-icon`})]})}function Df({className:e,...t}){return(0,$.jsx)(`option`,{"data-slot":`native-select-option`,className:J(`bg-[Canvas] text-[CanvasText]`,e),...t})}var Of=Object.freeze([]),kf=()=>Of,Af=()=>()=>{};function jf({objects:e,onReveal:t,onDriveTo:n,onReset:r}){let i=(0,Z.useSyncExternalStore)(e?.subscribe??Af,e?.getSnapshot??kf,kf),[a,o]=(0,Z.useState)(``),[s,c]=(0,Z.useState)(`all`),[l,u]=(0,Z.useState)(``),d=[...new Set([...i.flatMap(e=>e.capabilities),...s===`all`?[]:[s]])].sort(),f=a.trim().toLowerCase(),p=i.filter(e=>(s===`all`||e.capabilities.includes(s))&&[e.name,e.id,e.element,...e.capabilities].join(` `).toLowerCase().includes(f)),m=n=>{e?.getTarget(n.id)?(t(),requestAnimationFrame(()=>e.reveal(n.id))):u(`That object is no longer available.`)},h=t=>{let r=e?.getTarget(t.id);r?n?.(r):u(`That object is no longer available.`)};return(0,$.jsxs)(`section`,{"aria-label":`Scene objects`,className:`min-h-full space-y-4 px-3 py-3 text-xs`,children:[(0,$.jsxs)(`div`,{className:`flex items-start justify-between gap-4`,children:[(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`h2`,{className:`text-sm font-semibold`,children:[i.length,` active `,i.length===1?`object`:`objects`]}),(0,$.jsx)(`p`,{className:`mt-1.5 leading-relaxed text-muted-foreground`,children:`Show highlights an object on the page. Drive to makes a short skid toward it. Reset restores that object; remove leaves the HTML in place.`})]}),(0,$.jsx)(ce,{variant:`ghost`,size:`sm`,className:`shrink-0 text-[11px]`,onClick:()=>{r(),u(`Scene reset.`)},children:`Reset scene`})]}),(0,$.jsxs)(`div`,{className:`flex gap-2`,children:[(0,$.jsx)(Ai,{"aria-label":`Search scene objects`,placeholder:`Find an object…`,value:a,onChange:e=>{o(e.target.value),u(``)},className:`h-8 min-w-0 flex-1 text-xs`}),(0,$.jsxs)(Ef,{"aria-label":`Object type`,size:`sm`,value:s,onChange:e=>{c(e.target.value),u(``)},children:[(0,$.jsx)(Df,{value:`all`,children:`All types`}),d.map(e=>(0,$.jsx)(Df,{value:e,children:e},e))]})]}),(0,$.jsx)(`p`,{role:`status`,"aria-live":`polite`,className:`min-h-4 text-[10px] text-muted-foreground`,children:l||(a||s!==`all`?`${p.length} of ${i.length} objects`:`Live objects from this simulation`)}),p.length?(0,$.jsx)(`ul`,{"aria-label":`Active scene objects`,className:`divide-y divide-border`,children:p.map(t=>(0,$.jsxs)(`li`,{"data-object-id":t.id,className:`flex items-center gap-2 py-3`,children:[(0,$.jsxs)(`div`,{className:`flex min-w-0 flex-1 items-center gap-3`,children:[(0,$.jsx)(`span`,{className:`relative flex size-12 shrink-0 items-center justify-center overflow-hidden rounded-md border bg-muted/40`,style:{backgroundColor:t.preview.image&&!t.preview.image.startsWith(`data:image/svg+xml`)?`#e4e7e9`:t.preview.image?void 0:t.preview.color},children:t.preview.image?(0,$.jsx)(`img`,{src:t.preview.image,alt:``,loading:`lazy`,className:`size-full object-contain p-1`,onError:e=>{e.currentTarget.style.visibility=`hidden`}}):t.preview.text?(0,$.jsx)(`span`,{className:`px-1 text-center text-[9px] font-semibold leading-tight text-foreground [text-shadow:0_0_3px_var(--background)]`,children:t.preview.text}):(0,$.jsx)(at,{size:19,className:`text-muted-foreground`})}),(0,$.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[(0,$.jsx)(`span`,{className:`flex items-center gap-1.5`,children:(0,$.jsx)(`strong`,{className:`truncate text-xs font-semibold`,children:t.name})}),(0,$.jsxs)(`span`,{className:`mt-1 flex flex-wrap gap-x-2 gap-y-1 text-[9px] text-muted-foreground`,title:t.id,children:[(0,$.jsx)(`code`,{children:t.element}),t.state!==`Active`&&(0,$.jsx)(`span`,{children:t.state})]}),(0,$.jsx)(`span`,{className:`mt-1.5 flex flex-wrap gap-1`,children:t.capabilities.map(e=>(0,$.jsx)(`span`,{className:`rounded-sm bg-muted px-1.5 py-0.5 text-[9px] text-muted-foreground`,children:e},e))})]})]}),(0,$.jsxs)(`div`,{className:`flex shrink-0 gap-0.5`,children:[(0,$.jsx)(ce,{variant:`ghost`,size:`icon-sm`,"aria-label":`Show ${t.name} (${t.id})`,title:`Show object`,onClick:()=>m(t),children:(0,$.jsx)(st,{size:15})}),n&&(0,$.jsx)(ce,{variant:`ghost`,size:`icon-sm`,"aria-label":`Drive to ${t.name} (${t.id})`,title:`Drive to object`,onClick:()=>h(t),children:(0,$.jsx)(Xe,{size:15})}),(0,$.jsx)(ce,{variant:`ghost`,size:`icon-sm`,disabled:!t.resettable,"aria-label":`Reset ${t.name} (${t.id})`,title:`Reset object`,onClick:()=>u(e?.reset(t.id)?`Reset ${t.name}.`:`That object is no longer available.`),children:(0,$.jsx)(Je,{size:15})}),(0,$.jsx)(ce,{variant:`ghost`,size:`icon-sm`,"aria-label":`Remove ${t.name} (${t.id}) from simulation`,title:`Remove from simulation`,onClick:()=>u(e?.remove(t.id)?`Removed ${t.name} from the simulation.`:`That object is no longer available.`),children:(0,$.jsx)(mt,{size:15})})]})]},t.id))}):(0,$.jsxs)(`div`,{className:`rounded-lg border border-dashed p-8 text-center leading-relaxed text-muted-foreground`,children:[(0,$.jsx)(at,{size:24,className:`mx-auto mb-3 opacity-50`}),i.length?`No objects match those filters.`:e?`No active objects in this scene yet.`:`Start a playground to inspect its objects here.`]})]})}var Mf=`${P(N)}\n${Ud}\n${Wd}`,Nf=(0,Z.lazy)(()=>y(()=>import(`./Documentation-C5yd8S9T.js`).then(e=>({default:e.Documentation})),[],import.meta.url)),Pf=(0,Z.lazy)(()=>y(()=>import(`./EmbedPanel-BDZ9gPAY.js`).then(e=>({default:e.EmbedPanel})),[],import.meta.url));function Ff(e){return[1,3,5].map(t=>parseInt(e.slice(t,t+2),16)/255).reduce((e,t,n)=>e+(t<=.04045?t/12.92:((t+.055)/1.055)**2.4)*[.2126,.7152,.0722][n],0)>.179?`#111111`:`#ffffff`}function If({children:e,...t}){return(0,$.jsx)(`div`,{...t,children:e})}var Lf={vehicle:{title:`Vehicle`,icon:Xe},objects:{title:`Objects`,icon:at},weapons:{title:`Tools`,icon:it},settings:{title:`Settings`,icon:ct},controls:{title:`Controls`,icon:ut},embed:{title:`Embed`,icon:rt},documentation:{title:`Documentation`,icon:Ye}};function Rf({muted:e}){return e?(0,$.jsx)(_e,{"aria-hidden":`true`}):(0,$.jsx)(ye,{"aria-hidden":`true`})}function zf(e){return(0,$.jsx)(Bf,{...e,appearance:m({...e.options,...e})})}function Bf({appearance:e,dialogTheme:t,frame:n,preset:r,slots:i,presets:a,options:o,onSelectPreset:c,onChange:l,onClose:u,onQuit:d,onReset:f,initialTab:p=`vehicle`,embed:m,objects:g,onDriveToObject:_}){let v=n??If,[y,b]=(0,Z.useState)(p),[x,w]=(0,Z.useState)({chapter:``,anchor:``}),[T,D]=(0,Z.useState)(null),[O,k]=(0,Z.useState)(!1),A=(0,Z.useRef)(o.masterVolume||1),j=e.toolsEnabled&&o.toolsEnabled,M=C(i,j),N=M.filter(e=>e.id!==`boost`&&e.keys.length>0),P=S(i,{toolsEnabled:j}),F=e.showGameSettings&&o.showGameSettings,I=e=>l(h({...o,showGameSettings:F},e)),L=s.filter(t=>e.vehicleTabs.includes(t)&&(t!==`settings`||F)&&(t!==`weapons`||N.length>0)&&(t!==`embed`||!!m)),R=L.includes(y)?y:L[0]??`vehicle`,{portalRoot:z,dialogRef:B,placement:V,dragging:H,headerProps:ee}=Yd({styles:Mf,theme:t,size:R===`documentation`?{width:1040,height:720}:{width:760,height:650},onEscape:u,onReset:f,shortcutsEnabled:R!==`documentation`}),te=Math.round(o.masterVolume*100),ne=e.showVehicleNames?r.name:`Vehicle`;(0,Z.useEffect)(()=>{o.masterVolume>0&&(A.current=o.masterVolume)},[o.masterVolume]),(0,Z.useEffect)(()=>b(p),[p]);let U={...V,pointerEvents:`auto`,...e.accentColor?{"--joy-ride-accent-color":e.accentColor,"--joy-ride-accent-foreground":Ff(e.accentColor)}:{},...o.dialogFontFamily?{"--jr-dialog-font-family":o.dialogFontFamily===`inherit`?getComputedStyle(document.body).fontFamily:o.dialogFontFamily}:{}},re=()=>I({masterVolume:o.masterVolume>0?0:A.current});return z?(0,$.jsxs)($.Fragment,{children:[(0,ei.createPortal)((0,$.jsx)(`div`,{"data-jr-ui":``,"aria-hidden":`true`,onClick:e=>{e.stopPropagation(),u()},style:{position:`fixed`,inset:0,zIndex:E(`dialogBackdrop`),pointerEvents:`auto`,background:`#11182766`}}),document.body),(0,ei.createPortal)((0,$.jsx)($.Fragment,{children:(0,$.jsx)(`div`,{ref:B,"data-jr-ui":``,className:`joy-pause-menu`,"data-documentation":R===`documentation`||void 0,role:`dialog`,"aria-label":`Joy Ride pause menu — ${ne}`,"aria-modal":`true`,tabIndex:-1,style:U,onPointerEnter:()=>k(!0),onPointerLeave:()=>k(!1),children:(0,$.jsx)(v,{className:`joy-pause-frame rounded-xl`,children:(0,$.jsxs)(`div`,{className:`joy-pause-layout flex w-full`,children:[(0,$.jsxs)(Dd,{className:`joy-pause-sidebar`,children:[e.showLogo&&(0,$.jsx)(Od,{className:`joy-pause-brand`,children:(0,$.jsx)(`div`,{className:`joy-pause-logo-backing`,children:(0,$.jsx)(Vd,{className:`joy-pause-logo`,hovered:O})})}),(0,$.jsx)(Ad,{children:(0,$.jsx)(jd,{children:(0,$.jsx)(`nav`,{"aria-label":`Vehicle configuration`,children:(0,$.jsx)(Md,{children:L.map(e=>{let t=Lf[e].icon;return(0,$.jsx)(Nd,{children:(0,$.jsxs)(Pd,{isActive:R===e,"aria-current":R===e?`page`:void 0,title:Lf[e].title,onClick:()=>{b(e)},children:[(0,$.jsx)(t,{"aria-hidden":`true`}),(0,$.jsx)(`span`,{children:Lf[e].title})]})},e)})})})})}),(0,$.jsx)(`div`,{className:`joy-pause-version px-4 py-2 font-mono text-[10px] text-muted-foreground ${e.showGithub?`border-b border-sidebar-border`:``}`,children:Gd.version}),e.showGithub&&(0,$.jsx)(kd,{className:`joy-pause-sidebar-footer`,children:(0,$.jsx)(Hd,{})})]}),(0,$.jsxs)(`div`,{className:`joy-pause-workspace`,children:[(0,$.jsxs)(`header`,{className:`joy-pause-header`,"data-unbranded":e.showLogo?void 0:``,"data-documentation":R===`documentation`||void 0,role:`group`,tabIndex:0,"aria-label":`Move pause menu. Drag or use arrow keys; Home centers it.`,"data-dragging":H||void 0,...ee,children:[(0,$.jsx)(`div`,{className:`joy-pause-heading`,children:(0,$.jsx)(`h1`,{children:Lf[R].title})}),(0,$.jsxs)(`div`,{className:`joy-pause-header-actions`,children:[R===`documentation`&&(0,$.jsx)(`div`,{ref:D,className:`joy-pause-documentation-search`}),(0,$.jsx)(ce,{variant:`outline`,size:`icon`,onClick:re,"aria-label":o.masterVolume?`Mute audio`:`Unmute audio`,title:`${o.masterVolume?`Mute`:`Unmute`} audio (${te}%)`,children:(0,$.jsx)(Rf,{muted:!o.masterVolume})}),(0,$.jsx)(ce,{variant:`outline`,size:`icon`,onClick:u,"aria-label":`Close vehicle settings`,children:(0,$.jsx)(xe,{})})]})]}),(0,$.jsxs)(`div`,{className:`joy-pause-content`,children:[(0,$.jsx)(`div`,{className:`joy-pause-body min-h-0 flex-1`,children:(0,$.jsxs)(`div`,{className:`joy-pause-panels min-h-0 flex-1 overflow-auto`,"data-documentation":R===`documentation`||void 0,children:[R===`documentation`&&(0,$.jsx)(Z.Suspense,{fallback:(0,$.jsx)(`p`,{role:`status`,className:`p-5 text-muted-foreground`,children:`Loading API reference…`}),children:(0,$.jsx)(Nf,{location:x,onNavigate:w,searchTarget:T})}),R===`vehicle`&&(0,$.jsx)(xf,{preset:r,presets:a,options:o,tools:M,showVehicleNames:e.showVehicleNames,onSelectPreset:c}),R===`objects`&&(0,$.jsx)(jf,{objects:g,onReveal:u,onDriveTo:_,onReset:f}),R===`settings`&&F&&(0,$.jsx)(Sf,{options:o,onChange:I,portalRoot:z}),R===`controls`&&(0,$.jsx)(wf,{tools:M,assignments:P}),R===`weapons`&&(0,$.jsx)(Tf,{tools:N}),m&&R===`embed`&&(0,$.jsx)(Z.Suspense,{fallback:(0,$.jsx)(`p`,{role:`status`,className:`p-5 text-muted-foreground`,children:`Loading embed options…`}),children:(0,$.jsx)(Pf,{embed:m})})]})}),(0,$.jsx)(`footer`,{className:`joy-pause-footer`,children:(0,$.jsxs)(`div`,{className:`joy-pause-footer-actions`,children:[(0,$.jsx)(ce,{type:`button`,variant:`outline`,onClick:d,children:`Quit`}),(0,$.jsx)(ce,{type:`button`,className:`joy-pause-close-button`,onClick:u,children:`Close`})]})})]})]})]})})})}),z)]}):null}export{on as C,Ze as D,et as E,sn as S,tt as T,zf as VehiclePopover,ii as _,Gi as a,Wr as b,Ii as c,Mi as d,Ai as f,ai as g,li as h,ad as i,Ni as l,fi as m,Td as n,Wi as o,di as p,Ed as r,Ui as s,Cd as t,ji as u,ri as v,At as w,un as x,Xr as y};
|