@baseline-ui/core 3.1.0 → 3.2.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/dist/Accordion.mjs +1 -1
- package/dist/ActionButton.css +1 -1
- package/dist/ActionButton.mjs +1 -1
- package/dist/ActionGroup.mjs +1 -1
- package/dist/ActionIconButton.mjs +1 -1
- package/dist/Actionable.mjs +1 -1
- package/dist/AlertDialog.css +1 -1
- package/dist/AlertDialog.mjs +1 -1
- package/dist/AudioPlayer.css +1 -1
- package/dist/AudioPlayer.mjs +1 -1
- package/dist/Avatar.mjs +1 -1
- package/dist/ButtonSelect.css +1 -1
- package/dist/ButtonSelect.mjs +1 -1
- package/dist/Calendar.css +1 -1
- package/dist/Calendar.mjs +1 -1
- package/dist/Checkbox.mjs +1 -1
- package/dist/Code.mjs +1 -1
- package/dist/ColorInput.css +1 -1
- package/dist/ColorInput.mjs +1 -1
- package/dist/ColorSwatch.mjs +1 -1
- package/dist/ColorSwatchPicker.mjs +1 -1
- package/dist/ComboBox.css +1 -1
- package/dist/ComboBox.mjs +1 -1
- package/dist/DateField.css +1 -1
- package/dist/DateField.mjs +1 -1
- package/dist/Dialog.mjs +1 -1
- package/dist/Disclosure.mjs +1 -1
- package/dist/DomNodeRenderer.mjs +1 -1
- package/dist/Drawer.mjs +1 -1
- package/dist/Editor.css +1 -1
- package/dist/Editor.mjs +1 -1
- package/dist/FileInput.css +1 -1
- package/dist/FileInput.mjs +1 -1
- package/dist/FileList.mjs +1 -1
- package/dist/FileUploader.css +1 -1
- package/dist/FileUploader.mjs +1 -1
- package/dist/FrameProvider.mjs +1 -1
- package/dist/FreehandCanvas.css +1 -1
- package/dist/FreehandCanvas.mjs +1 -1
- package/dist/GridList.mjs +1 -1
- package/dist/Icon.mjs +1 -1
- package/dist/ImageDropZone.css +1 -1
- package/dist/ImageDropZone.mjs +1 -1
- package/dist/ImageGallery.css +1 -1
- package/dist/ImageGallery.mjs +1 -1
- package/dist/InlineAlert.css +1 -1
- package/dist/InlineAlert.mjs +1 -1
- package/dist/InlineToolbar.mjs +2 -2
- package/dist/Kbd.mjs +1 -1
- package/dist/Link.mjs +1 -1
- package/dist/ListBox.mjs +1 -1
- package/dist/Markdown.mjs +1 -1
- package/dist/Menu.css +1 -1
- package/dist/Menu.mjs +1 -1
- package/dist/MessageFormat.mjs +1 -1
- package/dist/Modal.mjs +1 -1
- package/dist/NumberInput.mjs +1 -1
- package/dist/Pagination.mjs +1 -1
- package/dist/PointPicker.mjs +1 -1
- package/dist/Popover.mjs +1 -1
- package/dist/Portal.mjs +1 -1
- package/dist/Preview.mjs +1 -1
- package/dist/ProgressBar.mjs +1 -1
- package/dist/ProgressSpinner.mjs +1 -1
- package/dist/RadioGroup.mjs +1 -1
- package/dist/Reaction.mjs +1 -1
- package/dist/ScrollControlButton.mjs +1 -1
- package/dist/SearchInput.mjs +1 -1
- package/dist/Select.css +1 -1
- package/dist/Select.mjs +1 -1
- package/dist/Separator.mjs +1 -1
- package/dist/Slider.css +1 -1
- package/dist/Slider.mjs +1 -1
- package/dist/StatusCard.mjs +1 -1
- package/dist/Stepper.mjs +1 -1
- package/dist/Switch.mjs +1 -1
- package/dist/Table.mjs +1 -1
- package/dist/Tabs.mjs +1 -1
- package/dist/Tag.mjs +1 -1
- package/dist/TagGroup.mjs +1 -1
- package/dist/TaggedPagination.mjs +1 -1
- package/dist/Text.mjs +1 -1
- package/dist/TextInput.mjs +1 -1
- package/dist/ThemeProvider.mjs +1 -1
- package/dist/TimeField.mjs +1 -1
- package/dist/Toast.css +1 -1
- package/dist/Toast.mjs +1 -1
- package/dist/ToggleButton.css +1 -1
- package/dist/ToggleButton.mjs +1 -1
- package/dist/ToggleIconButton.mjs +1 -1
- package/dist/Toolbar.css +1 -1
- package/dist/Toolbar.mjs +1 -1
- package/dist/Tooltip.mjs +1 -1
- package/dist/TreeView.mjs +1 -1
- package/dist/UNSAFE_ListBox.mjs +1 -1
- package/dist/Virtualizer.mjs +1 -1
- package/dist/{chunk-7VZGSHXN.mjs → chunk-246VHB32.mjs} +1 -1
- package/dist/{chunk-WJQI2B56.mjs → chunk-2HMLSXNO.mjs} +2 -2
- package/dist/chunk-2NO2ITVE.mjs +10 -0
- package/dist/chunk-3BL5D3CA.mjs +10 -0
- package/dist/chunk-3JL2TJZL.mjs +10 -0
- package/dist/chunk-3L7GTQXK.mjs +10 -0
- package/dist/{chunk-A53DIKGK.mjs → chunk-47I3USMC.mjs} +1 -1
- package/dist/chunk-4DTPDMSQ.mjs +10 -0
- package/dist/{chunk-BAHBT634.mjs → chunk-4I4TIV2G.mjs} +1 -1
- package/dist/chunk-4MRHG5IU.mjs +10 -0
- package/dist/{chunk-RZ7WBKJM.mjs → chunk-4SBMUWOY.mjs} +2 -2
- package/dist/{chunk-5KCXIVOU.mjs → chunk-4TAUFBXO.mjs} +2 -2
- package/dist/{chunk-KY6RUNZ7.mjs → chunk-4ZJMZB5B.mjs} +1 -1
- package/dist/{chunk-FTTFGBJW.mjs → chunk-55YEATL7.mjs} +1 -1
- package/dist/{chunk-YTFDZCYN.mjs → chunk-5TDFLLMX.mjs} +2 -2
- package/dist/{chunk-5XCFUIQH.mjs → chunk-6DGD7BZA.mjs} +2 -2
- package/dist/{chunk-J6EAOJLB.mjs → chunk-6DU65N7Q.mjs} +1 -1
- package/dist/{chunk-4KYKTAFL.mjs → chunk-6Y6BYHT4.mjs} +1 -1
- package/dist/chunk-7OCDKTTZ.mjs +10 -0
- package/dist/{chunk-DXZC3QIB.mjs → chunk-7PRJIPFA.mjs} +1 -1
- package/dist/{chunk-7QM73RPJ.mjs → chunk-7VHON5HL.mjs} +1 -1
- package/dist/{chunk-B6YINCEK.mjs → chunk-AC7OXVHA.mjs} +1 -1
- package/dist/{chunk-IJKLJNRL.mjs → chunk-AGYQLGBZ.mjs} +1 -1
- package/dist/{chunk-HOD4RBH5.mjs → chunk-AL3FICFA.mjs} +2 -2
- package/dist/{chunk-MNBMH72C.mjs → chunk-AQYBKDT2.mjs} +1 -1
- package/dist/{chunk-BUDEEF7K.mjs → chunk-B7PSE5KC.mjs} +1 -1
- package/dist/{chunk-7DTLOBBL.mjs → chunk-BGMVPFYK.mjs} +1 -1
- package/dist/{chunk-XEQK2F4R.mjs → chunk-BJVFZYUV.mjs} +1 -1
- package/dist/{chunk-MQH7SBA6.mjs → chunk-BU5H25MV.mjs} +1 -1
- package/dist/{chunk-5G5AODUH.mjs → chunk-BZTAFNPW.mjs} +1 -1
- package/dist/{chunk-WDX7STB2.mjs → chunk-C3W4WN2O.mjs} +1 -1
- package/dist/{chunk-BBZEJBWU.mjs → chunk-C5P23FUW.mjs} +1 -1
- package/dist/{chunk-NXD3BCWD.mjs → chunk-CAWUDHAE.mjs} +1 -1
- package/dist/{chunk-5Z4FAV6L.mjs → chunk-CHTLOFCT.mjs} +1 -1
- package/dist/{chunk-MTX6235R.mjs → chunk-D5EEZT5J.mjs} +1 -1
- package/dist/chunk-DAN5WASP.mjs +10 -0
- package/dist/{chunk-5JNWKUTS.mjs → chunk-DSSMBDVA.mjs} +1 -1
- package/dist/{chunk-423KTSI3.mjs → chunk-EA6GA4WC.mjs} +1 -1
- package/dist/chunk-EADUR7IC.mjs +10 -0
- package/dist/{chunk-WV6QF4ZA.mjs → chunk-EK3RIYMV.mjs} +1 -1
- package/dist/{chunk-JZASA7FS.mjs → chunk-EX2LI2CV.mjs} +1 -1
- package/dist/chunk-F2O4AP7P.mjs +10 -0
- package/dist/{chunk-GDHYDMPN.mjs → chunk-FOEGHU3P.mjs} +1 -1
- package/dist/{chunk-U6X66RD5.mjs → chunk-FWAK2OZM.mjs} +1 -1
- package/dist/chunk-G3K2DXNP.mjs +10 -0
- package/dist/{chunk-3KRQ3LLW.mjs → chunk-GLT45FXJ.mjs} +1 -1
- package/dist/{chunk-ZJLGK6EE.mjs → chunk-GS4C6CYA.mjs} +2 -2
- package/dist/{chunk-XZHCZM7Q.mjs → chunk-H2E7GKGB.mjs} +1 -1
- package/dist/{chunk-HROAJEZI.mjs → chunk-H4ZIN7W3.mjs} +1 -1
- package/dist/{chunk-5KA54BQU.mjs → chunk-HDVWQ6RL.mjs} +1 -1
- package/dist/{chunk-UH2NNYWR.mjs → chunk-HXTAOYOD.mjs} +1 -1
- package/dist/{chunk-UEKB5YMI.mjs → chunk-IE3E4KQ6.mjs} +2 -2
- package/dist/{chunk-43576VYM.mjs → chunk-IHLJTHGQ.mjs} +1 -1
- package/dist/{chunk-K2VT4HNX.mjs → chunk-IVVZSESM.mjs} +1 -1
- package/dist/{chunk-BLBDUFE6.mjs → chunk-J7K7I5U2.mjs} +1 -1
- package/dist/{chunk-O57ASKIF.mjs → chunk-J7RVOP5G.mjs} +2 -2
- package/dist/{chunk-NFY3PA5L.mjs → chunk-JF4BWG7T.mjs} +2 -2
- package/dist/{chunk-HONRHQL6.mjs → chunk-JJPCZOOI.mjs} +1 -1
- package/dist/{chunk-XQZ3FAC2.mjs → chunk-JQ4ZGZPV.mjs} +1 -1
- package/dist/{chunk-CLVBHPG5.mjs → chunk-JUXBZ2ZN.mjs} +1 -1
- package/dist/chunk-K6MB234H.mjs +10 -0
- package/dist/{chunk-LCSMNLCI.mjs → chunk-KAVZW4RV.mjs} +2 -2
- package/dist/{chunk-BZN2P3NR.mjs → chunk-KKJ6XIU3.mjs} +1 -1
- package/dist/{chunk-I7J4LBWI.mjs → chunk-KLNQ24LT.mjs} +2 -2
- package/dist/{chunk-ZTF7DWCR.mjs → chunk-KY3JKXSX.mjs} +1 -1
- package/dist/{chunk-6ZV4UYEG.mjs → chunk-L3SNGDBH.mjs} +1 -1
- package/dist/{chunk-FPL5YGOL.mjs → chunk-LRZ6BQFQ.mjs} +1 -1
- package/dist/chunk-LTIDSWDM.mjs +10 -0
- package/dist/{chunk-4RCTK7KK.mjs → chunk-LZFTBNPW.mjs} +1 -1
- package/dist/{chunk-VXB5SVQC.mjs → chunk-MAJ74VNE.mjs} +1 -1
- package/dist/{chunk-2F6KYBIB.mjs → chunk-MFH2E2GU.mjs} +1 -1
- package/dist/{chunk-R63ANPSX.mjs → chunk-MFNWPTNI.mjs} +2 -2
- package/dist/{chunk-XWQ3T4WM.mjs → chunk-MHUFXHRU.mjs} +1 -1
- package/dist/{chunk-5OZKW7XI.mjs → chunk-MNAD5FJH.mjs} +2 -2
- package/dist/chunk-N53SGN23.mjs +10 -0
- package/dist/{chunk-XLMLZBNF.mjs → chunk-N7MTFSWR.mjs} +1 -1
- package/dist/{chunk-MPF3BSNT.mjs → chunk-NSC53QWT.mjs} +1 -1
- package/dist/chunk-NVS22MIQ.mjs +10 -0
- package/dist/{chunk-EJ73GHGB.mjs → chunk-O66FNQSB.mjs} +1 -1
- package/dist/{chunk-7OIRTFPV.mjs → chunk-OAY74XPB.mjs} +1 -1
- package/dist/{chunk-3F3RPQJS.mjs → chunk-OC42IZG2.mjs} +1 -1
- package/dist/{chunk-F5V745SS.mjs → chunk-ODDEW5IV.mjs} +2 -2
- package/dist/{chunk-M7NSWVJY.mjs → chunk-OFWPRDTC.mjs} +2 -2
- package/dist/{chunk-UZGVN3VJ.mjs → chunk-OHZK2ZDA.mjs} +2 -2
- package/dist/{chunk-BANUPQVB.mjs → chunk-PDWICYVZ.mjs} +2 -2
- package/dist/{chunk-XSSAMOAB.mjs → chunk-PFKPY3N7.mjs} +2 -2
- package/dist/{chunk-F6ERHDCZ.mjs → chunk-Q4BSQC65.mjs} +2 -2
- package/dist/{chunk-YLCBSXLI.mjs → chunk-QKKV24WQ.mjs} +1 -1
- package/dist/chunk-QQGK5M66.mjs +10 -0
- package/dist/chunk-RBZ7SIZR.mjs +10 -0
- package/dist/{chunk-HLDCVJXD.mjs → chunk-RILRXWGE.mjs} +1 -1
- package/dist/{chunk-GMIBOYGP.mjs → chunk-RM2Y4D2M.mjs} +1 -1
- package/dist/{chunk-ZKTG7UWS.mjs → chunk-RRB5F4E4.mjs} +2 -2
- package/dist/{chunk-4XGRWWDV.mjs → chunk-RWHDD6Z7.mjs} +2 -2
- package/dist/{chunk-F3GCGRKC.mjs → chunk-RZEGMPV2.mjs} +1 -1
- package/dist/{chunk-4NAKEAWX.mjs → chunk-SAZLJ66W.mjs} +1 -1
- package/dist/{chunk-TS2GTWTW.mjs → chunk-SMAYNDQQ.mjs} +1 -1
- package/dist/chunk-SNQDFFKP.mjs +10 -0
- package/dist/chunk-T2XIDX6U.mjs +10 -0
- package/dist/{chunk-NILX34UU.mjs → chunk-TBDKTTIY.mjs} +2 -2
- package/dist/chunk-TDPODC62.mjs +10 -0
- package/dist/{chunk-L6AKJWWL.mjs → chunk-TEQE6WCH.mjs} +1 -1
- package/dist/{chunk-5AKVCA5C.mjs → chunk-TKQOQVZD.mjs} +1 -1
- package/dist/chunk-TNU3YDGL.mjs +10 -0
- package/dist/{chunk-VLQCIHLU.mjs → chunk-TO2TQ2LE.mjs} +1 -1
- package/dist/{chunk-VLD545EQ.mjs → chunk-TO6OQF2Y.mjs} +1 -1
- package/dist/chunk-TPNZG6FA.mjs +10 -0
- package/dist/{chunk-SIVV6VSJ.mjs → chunk-TVENHRYC.mjs} +1 -1
- package/dist/chunk-UCQJ6FJO.mjs +10 -0
- package/dist/{chunk-Z4OSRZSI.mjs → chunk-UCZZLAPB.mjs} +1 -1
- package/dist/{chunk-YBH5PVXH.mjs → chunk-ULCYKB34.mjs} +2 -2
- package/dist/{chunk-2KYJ2C6U.mjs → chunk-UOMNE4F4.mjs} +2 -2
- package/dist/{chunk-IGKFVIKM.mjs → chunk-UQJGSVXP.mjs} +1 -1
- package/dist/{chunk-B3S5CZDZ.mjs → chunk-V3L4SVVF.mjs} +1 -1
- package/dist/{chunk-U5FHWUOS.mjs → chunk-VDSLDZLT.mjs} +1 -1
- package/dist/{chunk-TJQUWJRI.mjs → chunk-VJ3SWDRJ.mjs} +2 -2
- package/dist/chunk-W3ZGXUFP.mjs +10 -0
- package/dist/{chunk-4JWDBDUQ.mjs → chunk-WA35CT3D.mjs} +1 -1
- package/dist/chunk-WICBTAMY.mjs +10 -0
- package/dist/chunk-WN6FAICZ.mjs +10 -0
- package/dist/{chunk-ZYHMJU5D.mjs → chunk-WRQ4FPJE.mjs} +1 -1
- package/dist/{chunk-5PABXET4.mjs → chunk-WWSGOGLA.mjs} +1 -1
- package/dist/{chunk-34GYMUMQ.mjs → chunk-XB657BXX.mjs} +1 -1
- package/dist/{chunk-W53EBBFX.mjs → chunk-XCL4K4MY.mjs} +1 -1
- package/dist/{chunk-FFV4U6DP.mjs → chunk-XIXHGXIN.mjs} +2 -2
- package/dist/chunk-XZSDCUID.mjs +10 -0
- package/dist/{chunk-M5RHKLTU.mjs → chunk-YCI6BEXQ.mjs} +1 -1
- package/dist/{chunk-3DY5RQZ5.mjs → chunk-YS3Y5KGV.mjs} +1 -1
- package/dist/{chunk-24BM6KYH.mjs → chunk-YVYMYKYN.mjs} +1 -1
- package/dist/{chunk-ZMMTZSUN.mjs → chunk-ZAMDRHQY.mjs} +1 -1
- package/dist/{chunk-ASXZ6G7B.mjs → chunk-ZFLLIBX5.mjs} +2 -2
- package/dist/{chunk-K2GZO6WB.mjs → chunk-ZNN43VZV.mjs} +1 -1
- package/dist/{chunk-WGX4PQIO.mjs → chunk-ZP4YB5RP.mjs} +2 -2
- package/dist/hooks/useDevice.mjs +1 -1
- package/dist/hooks/useI18n.mjs +1 -1
- package/dist/hooks/useIntersectionObserver.mjs +1 -1
- package/dist/hooks/useLiveInteractionModality.mjs +1 -1
- package/dist/hooks/useMedia.mjs +1 -1
- package/dist/hooks/useMutationObserver.mjs +1 -1
- package/dist/hooks/usePortalContainer.mjs +1 -1
- package/dist/hooks/usePreventFocus.mjs +1 -1
- package/dist/hooks/useResizeObserver.mjs +1 -1
- package/dist/hooks/useTextSelection.mjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +144 -118
- package/dist/index.js +19 -19
- package/dist/index.mjs +1 -1
- package/dist/react-aria.mjs +1 -1
- package/dist/utils/dom.mjs +1 -1
- package/dist/utils/isInShadowDOM.mjs +1 -1
- package/dist/utils/keyboards.mjs +1 -1
- package/package.json +4 -4
- package/sbom.json +6 -6
- package/dist/chunk-2MVE2DWZ.mjs +0 -10
- package/dist/chunk-3YIUJITO.mjs +0 -10
- package/dist/chunk-4ZFIRYWC.mjs +0 -10
- package/dist/chunk-5BU3JNG5.mjs +0 -10
- package/dist/chunk-6RBB7N5L.mjs +0 -10
- package/dist/chunk-7K64WPLO.mjs +0 -10
- package/dist/chunk-A3GEMNEG.mjs +0 -10
- package/dist/chunk-CJS5BTOL.mjs +0 -10
- package/dist/chunk-DWOPBY5B.mjs +0 -10
- package/dist/chunk-ET65XRBA.mjs +0 -10
- package/dist/chunk-FDJPX2SQ.mjs +0 -10
- package/dist/chunk-GGU7GPRH.mjs +0 -10
- package/dist/chunk-INE3ESAV.mjs +0 -10
- package/dist/chunk-L3YO4TAE.mjs +0 -10
- package/dist/chunk-NG6AFY4D.mjs +0 -10
- package/dist/chunk-NL7QWTFJ.mjs +0 -10
- package/dist/chunk-O3CBCFUJ.mjs +0 -10
- package/dist/chunk-POXAFQQF.mjs +0 -10
- package/dist/chunk-QLJQ5GXB.mjs +0 -10
- package/dist/chunk-STFAMUPB.mjs +0 -10
- package/dist/chunk-TRIUPOGI.mjs +0 -10
- package/dist/chunk-WTYXQBTP.mjs +0 -10
- package/dist/chunk-WWIXO6BR.mjs +0 -10
- package/dist/chunk-YAIXANSP.mjs +0 -10
- package/dist/chunk-YJU6U54W.mjs +0 -10
- package/dist/chunk-YQTRZOJD.mjs +0 -10
- package/dist/chunk-ZV3YLV44.mjs +0 -10
- /package/dist/{chunk-CU5BPUSO.mjs → chunk-FXCHST4Z.mjs} +0 -0
- /package/dist/{chunk-EZXMEGV7.mjs → chunk-G6VX4SU6.mjs} +0 -0
- /package/dist/{chunk-CUAADRXX.mjs → chunk-GX2IOGYR.mjs} +0 -0
- /package/dist/{chunk-RUFCBROK.mjs → chunk-TZ4MVY4E.mjs} +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a as a$4}from'./chunk-TJEK54BW.mjs';import {a as a$6}from'./chunk-J7K7I5U2.mjs';import {d}from'./chunk-OC42IZG2.mjs';import {a as a$1}from'./chunk-NGZRN4SF.mjs';import {c,b}from'./chunk-GX2IOGYR.mjs';import {b as b$1}from'./chunk-WL27JGVG.mjs';import {b as b$2}from'./chunk-4ZJMZB5B.mjs';import {a as a$5}from'./chunk-X3AXUU3H.mjs';import {a as a$9}from'./chunk-K6X2BHPP.mjs';import {a as a$8}from'./chunk-3FYY26ED.mjs';import {a as a$2}from'./chunk-RT4LMB6X.mjs';import {c as c$1}from'./chunk-TZ4MVY4E.mjs';import {a as a$7}from'./chunk-KEVERVHK.mjs';import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$3}from'./chunk-4QEH5CGK.mjs';import fe,{useMemo,useCallback,useEffect,useRef}from'react';import {CheckmarkIcon}from'@baseline-ui/icons/12';import {CheckmarkIcon as CheckmarkIcon$1}from'@baseline-ui/icons/16';import {jsx,jsxs}from'react/jsx-runtime';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
var X={"ar-AE":{steplist:"\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u062E\u0637\u0648\u0627\u062A"},"bg-BG":{steplist:"\u0421\u043F\u0438\u0441\u044A\u043A \u0441\u044A\u0441 \u0441\u0442\u044A\u043F\u043A\u0438"},"cs-CZ":{steplist:"Seznam krok\u016F"},"da-DK":{steplist:"Trinliste"},"de-DE":{steplist:"Schrittliste"},"el-GR":{steplist:"\u039B\u03AF\u03C3\u03C4\u03B1 \u03B2\u03B7\u03BC\u03AC\u03C4\u03C9\u03BD"},"en-US":{steplist:"Step List"},"es-ES":{steplist:"Lista de pasos"},"et-EE":{steplist:"Sammude loend"},"fi-FI":{steplist:"Vaiheluettelo"},"fr-FR":{steplist:"Liste des \xE9tapes"},"he-IL":{steplist:"\u05E8\u05E9\u05D9\u05DE\u05EA \u05E6\u05E2\u05D3\u05D9\u05DD"},"hr-HR":{steplist:"Lista koraka"},"hu-HU":{steplist:"L\xE9p\xE9sek list\xE1ja"},"it-IT":{steplist:"Elenco dei passaggi"},"ja-JP":{steplist:"\u624B\u9806\u30EA\u30B9\u30C8"},"ko-KR":{steplist:"\uB2E8\uACC4 \uBAA9\uB85D"},"lt-LT":{steplist:"\u017Dingsni\u0173 s\u0105ra\u0161as"},"lv-LV":{steplist:"Darb\u012Bbu saraksts"},"nb-NO":{steplist:"Trinnliste"},"nl-NL":{steplist:"Stappenlijst"},"pl-PL":{steplist:"Lista krok\xF3w"},"pt-BR":{steplist:"Lista de etapas"},"pt-PT":{steplist:"Lista de passos"},"ro-RO":{steplist:"Lista de pa\u0219i"},"ru-RU":{steplist:"\u0421\u043F\u0438\u0441\u043E\u043A \u0448\u0430\u0433\u043E\u0432"},"sk-SK":{steplist:"Zoznam krokov"},"sl-SI":{steplist:"Seznam korakov"},"sr-SP":{steplist:"Lista koraka"},"sv-SE":{steplist:"Steglista"},"tr-TR":{steplist:"Ad\u0131m Listesi"},"uk-UA":{steplist:"\u0421\u043F\u0438\u0441\u043E\u043A \u043A\u0440\u043E\u043A\u0456\u0432"},"zh-CN":{steplist:"\u6B65\u9AA4\u5217\u8868"},"zh-TW":{steplist:"\u6B65\u9A5F\u6E05\u55AE"}};function M(p,t,a){let{"aria-label":s}=p,{listProps:i}=a$6({...p,...t,allowsTabNavigation:true,ref:a}),r=b$1(X,"@react-aria/steplist");return {listProps:{...{...c$1(i,a$7(p,{labelable:true})),"aria-label":s||r.format("steplist")},tabIndex:void 0}}}function w(p){let t=a$4({...p,onSelectionChange:p.onSelectionChange?e=>{e!=null&&p.onSelectionChange?.(e);}:void 0}),[a,s]=a$5(p.lastCompletedStep,p.defaultLastCompletedStep??null,p.onLastCompletedStepChange),{setSelectedKey:i,selectedKey:r,collection:c}=t,{indexMap:n,keysLinkedList:m}=useMemo(()=>me(c),[c]),_=r!=null?n.get(r):0,l=useCallback(e=>e===void 0?false:e!==null&&a!==null&&n.has(e)&&n.has(a)&&n.get(e)<=n.get(a),[n,a]),z=useCallback((e,y)=>{let d=null;if(e&&e.size>0)for(d=e.getFirstKey();d!==e.getLastKey()&&d&&(y.has(d)||l(d));)d=e.getKeyAfter(d);return d},[l]);useEffect(()=>{let e=t.selectedKey;(t.selectionManager.isEmpty||e==null||!t.collection.getItem(e))&&(e=z(t.collection,t.disabledKeys),e!==null&&t.selectionManager.replaceSelection(e)),t.selectionManager.focusedKey==null&&t.selectionManager.setFocusedKey(e);let y=(a!==null?n.get(a):-1)??-1;_!==void 0&&_>0&&_>y+1&&e!==null&&m.has(e)&&s(m.get(e));});function g(e){if(p.isDisabled||t.disabledKeys.has(e)||p.isReadOnly)return false;if(l(e))return true;let y=m.get(e);return l(y)||e===t.collection.getFirstKey()}function h(e){let y=m.get(e);y&&!l(y)&&s(y),i(e);}return {...t,setSelectedKey:h,setLastCompletedStep:s,isCompleted:l,isSelectable:g}}function me(p){let t=new Map,a=new Map,s=0,i;for(let r of p)t.set(r.key,s),a.set(r.key,i?.key),i=r,s++;return {indexMap:t,keysLinkedList:a}}var $=a({defaultClassName:"_41r3q2q _1yep5z6kb _1yep5z6kc _1yep5z6kd",variantClassNames:{variant:{condensed:"_41r3q2r _1yep5z618j",expanded:"_41r3q2s _1yep5z6us _1yep5z6ut _1yep5z6uu _1yep5z6sg _1yep5z6sh _1yep5z6si _1yep5z6173 _1yep5z6174 _1yep5z6175"},status:{complete:"_1yep5z6136",active:"_41r3q2u",incomplete:"_41r3q2v"}},defaultVariants:{},compoundVariants:[]}),ee=a({defaultClassName:"_1yep5z6ez",variantClassNames:{size:{sm:"_1yep5z610e",md:"_1yep5z610h"},isDisabled:{true:"_1yep5z611l"}},defaultVariants:{},compoundVariants:[]}),te=a({defaultClassName:"_41r3q28 _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6mf _1yep5z6mh _1yep5z6jb _1yep5z6jc _1yep5z6jd _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z6kt _1yep5z6ku _1yep5z6kv _1yep5z6m0",variantClassNames:{size:{sm:"_41r3q29 _1yep5z610e",md:"_41r3q2a _1yep5z610h"},status:{complete:"_41r3q2b _1yep5z6136 _1yep5z611n",active:"_1yep5z612s _1yep5z611h _1yep5z6142",incomplete:"_1yep5z612s _1yep5z611h _1yep5z613z"},isDisabled:{true:"_41r3q2e"},isFocusVisible:{true:"_41r3q2f"}},defaultVariants:{},compoundVariants:[[{status:"complete",isDisabled:true},"_41r3q2g _1yep5z61pt _1yep5z61o6"],[{status:"active",isDisabled:true},"_1yep5z61pb _1yep5z61o4 _1yep5z61qp"],[{status:"incomplete",isDisabled:true},"_1yep5z61pb _1yep5z61o4 _1yep5z61qp"]]}),se=a({defaultClassName:"_41r3q23 _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj _1yep5z6jz _1yep5z6k0 _1yep5z6k1",variantClassNames:{variant:{condensed:"_1yep5z618j _1yep5z6vy _1yep5z6vz _1yep5z6w0",expanded:"_41r3q25 _1yep5z6173 _1yep5z6174 _1yep5z6175"},isLast:{true:"_41r3q26"}},defaultVariants:{},compoundVariants:[]}),pe="_41r3q27 _1yep5z60 _1yep5z61 _1yep5z62 _1yep5z62c _1yep5z62d _1yep5z62e _1yep5z63i _1yep5z63j _1yep5z63k _1yep5z616 _1yep5z617 _1yep5z618 _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn _1yep5z6jb _1yep5z6jc _1yep5z6jd _1yep5z6jh _1yep5z6ji _1yep5z6jj _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z69i _1yep5z69j _1yep5z69k _1yep5z6m5",ae=a({defaultClassName:"_41r3q20 _1yep5z613 _1yep5z614 _1yep5z615 _1yep5z63f _1yep5z63g _1yep5z63h _1yep5z64l _1yep5z64m _1yep5z64n _1yep5z629 _1yep5z62a _1yep5z62b _1yep5z65r _1yep5z65s _1yep5z65t _1yep5z683 _1yep5z684 _1yep5z685 _1yep5z699 _1yep5z69a _1yep5z69b _1yep5z66x _1yep5z66y _1yep5z66z _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj",variantClassNames:{variant:{condensed:"_1yep5z616i _1yep5z616j _1yep5z616k _1yep5z6vy _1yep5z6vz _1yep5z6w0",expanded:"_1yep5z616c _1yep5z616d _1yep5z616e _1yep5z618m _1yep5z618l _1yep5z6wy _1yep5z6wz _1yep5z6x0"}},defaultVariants:{},compoundVariants:[]}),ie="_41r3q2h _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jk _1yep5z6jl _1yep5z6jm _1yep5z6jw _1yep5z6jx _1yep5z6jy _1yep5z6kt _1yep5z6ku _1yep5z6kv _1yep5z6kk _1yep5z6kl _1yep5z6km _1yep5z69c _1yep5z69d _1yep5z69e",re=a({defaultClassName:"_1yep5z6ey",variantClassNames:{size:{sm:"_1yep5z610h",md:"_1yep5z610k"},isDisabled:{true:"_1yep5z611l"}},defaultVariants:{},compoundVariants:[]});function N(p,t,a){let{key:s}=p,{selectionManager:i,selectedKey:r}=t,c=!t.isSelectable(s),{itemProps:n}=d({isDisabled:c,key:s,ref:a,selectionManager:i});return {stepProps:{...n,onKeyDown:l=>{let{key:z}=l;(z==="ArrowDown"||z==="ArrowUp")&&(l.preventDefault(),l.stopPropagation()),n.onKeyDown?.(l);},role:"link","aria-current":r===s?"step":void 0,"aria-disabled":c?true:void 0,tabIndex:c?void 0:0}}}function le({state:p,item:t,size:a,variant:s,index:i,isLast:r,stepLabel:c,completedLabel:n}){let m=useRef(null),_=b(),{stepProps:l}=N({key:t.key},p,m),{hoverProps:z,isHovered:g}=a$8({}),{focusProps:h,isFocused:e,isFocusVisible:y}=a$9(),d=p.isCompleted(t.key),T=p.selectedKey===t.key,b$1=d?"complete":T?"active":"incomplete",L=p.disabledKeys.has(t.key),k=t["aria-label"],I=!!k&&!t.description,C=s==="expanded"&&!!t.title&&!I,x=s==="expanded"&&!!t.description,P=t.title||((typeof c=="function"?c({index:i+1}):c)??_.formatMessage(oe.step,{index:i+1})),o=a==="sm"?CheckmarkIcon:CheckmarkIcon$1;return jsxs("li",{className:a$3("BaselineUI-Stepper-Item",se({variant:s,isLast:r})),"data-status":b$1,children:[jsxs("a",{...c$1(l,z,h),ref:m,"aria-label":k||void 0,className:a$3("BaselineUI-Stepper-StepLink",pe),"data-status":b$1,"data-hovered":g||void 0,"data-focused":e||void 0,"data-focus-visible":y||void 0,"data-disabled":L||void 0,children:[jsx("span",{className:a$3("BaselineUI-Stepper-Indicator",te({size:a,status:b$1,isDisabled:L,isFocusVisible:y})),"aria-hidden":"true",children:d?jsx(o,{}):jsx("span",{children:i+1})}),d?jsx(b$2,{children:n??_.formatMessage(oe.completed)}):null,C?jsxs("span",{className:a$3("BaselineUI-Stepper-Text",ie),children:[jsx("span",{className:a$3("BaselineUI-Stepper-Title",re({size:a,isDisabled:L})),children:t.title}),x?jsx("span",{className:a$3("BaselineUI-Stepper-Description",ee({size:a,isDisabled:L})),children:t.description}):null]}):k?null:jsx(b$2,{children:P})]}),!r&&jsx("span",{className:a$3("BaselineUI-Stepper-Connector",$({variant:s,status:b$1})),"aria-hidden":"true"})]})}var oe=c({step:{defaultMessage:"Step {index}",id:"bui.stepper.step"},completed:{defaultMessage:"Completed",id:"bui.stepper.completed"}});var ne=fe.forwardRef(function(t,a){let{items:s,variant:i="expanded",size:r="md",selectedStep:c,defaultSelectedStep:n,onSelectionChange:m,lastCompletedStep:_,defaultLastCompletedStep:l,onLastCompletedStepChange:z,isDisabled:g,className:h,style:e,"aria-label":y,stepLabel:d,completedLabel:T}=t,b$1=b(),L=useMemo(()=>new Set(s.filter(o=>o.isDisabled).map(o=>o.key)),[s]),k=useMemo(()=>s.map(o=>jsx(a$1,{textValue:o.title??String(o.key),children:o.title??""},o.key)),[s]),I=useMemo(()=>new Map(s.map(o=>[o.key,o])),[s]),C=w({children:k,selectedKey:c,defaultSelectedKey:n,onSelectionChange:m,lastCompletedStep:_,defaultLastCompletedStep:l,onLastCompletedStepChange:z,disabledKeys:L,isDisabled:g}),x=a$2(a),{listProps:P}=M({children:k,"aria-label":y||b$1.formatMessage(Se.label)},C,x);return jsx("ol",{...P,ref:x,className:a$3("BaselineUI-Stepper",ae({variant:i}),h),style:e,"data-variant":i,"data-size":r,children:[...C.collection].map((o,H,ye)=>{let V=I.get(o.key);return V?jsx(le,{state:C,item:V,size:r,variant:i,index:H,isLast:H===ye.length-1,stepLabel:d,completedLabel:T},o.key):null})})});ne.displayName="Stepper";var Se=c({label:{defaultMessage:"Progress",id:"bui.stepper.label"}});export{ne as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a as a$j}from'./chunk-FTYXFTJV.mjs';import {a as a$l}from'./chunk-
|
|
1
|
+
import {a as a$j}from'./chunk-FTYXFTJV.mjs';import {a as a$l}from'./chunk-BZTAFNPW.mjs';import {c as c$4}from'./chunk-GLT45FXJ.mjs';import {c as c$2}from'./chunk-7VHON5HL.mjs';import {I,j,f,e,p,F,A,H,i,B,s,C,G,z,h,g,m,q,D,E,t,l,v,y,u,a as a$m,w,d,c as c$6,x,k,b as b$8,o,n,r}from'./chunk-GS4C6CYA.mjs';import {a as a$6,b as b$7,c as c$5,d as d$1}from'./chunk-EU75HMPG.mjs';import {a as a$o}from'./chunk-VDSLDZLT.mjs';import {a as a$h}from'./chunk-ZAMDRHQY.mjs';import {a as a$b}from'./chunk-6DU65N7Q.mjs';import {a as a$c}from'./chunk-MFNWPTNI.mjs';import {b as b$5,e as e$1}from'./chunk-MNAD5FJH.mjs';import {a as a$d}from'./chunk-NSC53QWT.mjs';import {b as b$2,c as c$3}from'./chunk-GX2IOGYR.mjs';import {b as b$4}from'./chunk-WN6FAICZ.mjs';import {a as a$g}from'./chunk-O7XK2WIX.mjs';import {a as a$k}from'./chunk-TVENHRYC.mjs';import {a as a$f}from'./chunk-ULCYKB34.mjs';import {a as a$9}from'./chunk-F3HQNHR5.mjs';import {a as a$n}from'./chunk-JJPCZOOI.mjs';import {a as a$i}from'./chunk-ZGRRD3TU.mjs';import {b as b$3}from'./chunk-N2XGJKZG.mjs';import {b}from'./chunk-4ZJMZB5B.mjs';import {b as b$6,j as j$1}from'./chunk-2HMLSXNO.mjs';import {a as a$8}from'./chunk-UUBOEBYZ.mjs';import {a as a$e}from'./chunk-VDUFLHKK.mjs';import {a as a$7}from'./chunk-4PYEGHW5.mjs';import {a as a$5}from'./chunk-66CUIXA6.mjs';import {a as a$a}from'./chunk-X3AXUU3H.mjs';import {a as a$1}from'./chunk-YS3Y5KGV.mjs';import {a as a$3}from'./chunk-RSKKEGJZ.mjs';import {a as a$2}from'./chunk-K6X2BHPP.mjs';import {a}from'./chunk-3FYY26ED.mjs';import {b as b$1,c as c$1}from'./chunk-TZ4MVY4E.mjs';import {c}from'./chunk-JDLUGVXG.mjs';import {g as g$1}from'./chunk-AUOQSTS5.mjs';import {a as a$4}from'./chunk-4QEH5CGK.mjs';import No,{useCallback,useMemo,useEffect}from'react';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {TextIcon,PlusIcon,MinusIcon}from'@baseline-ui/icons/20';import {sprinkles}from'@baseline-ui/tokens';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a as a$3}from'./chunk-WAOWR7MR.mjs';import {a}from'./chunk-M5M3EPG5.mjs';import {d,c}from'./chunk-W6QO7FPZ.mjs';import {a as a$2}from'./chunk-545KDVGI.mjs';import {d as d$2}from'./chunk-
|
|
1
|
+
import {a as a$3}from'./chunk-WAOWR7MR.mjs';import {a}from'./chunk-M5M3EPG5.mjs';import {d,c}from'./chunk-W6QO7FPZ.mjs';import {a as a$2}from'./chunk-545KDVGI.mjs';import {d as d$2}from'./chunk-BGMVPFYK.mjs';import {d as d$1}from'./chunk-AQYBKDT2.mjs';import {c as c$1}from'./chunk-TZ4MVY4E.mjs';import {a as a$1}from'./chunk-KEVERVHK.mjs';import {g}from'./chunk-AUOQSTS5.mjs';import {useState}from'react';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {j,l,m,k,o,i,h}from'./chunk-5TDFLLMX.mjs';import {a as a$3}from'./chunk-6DU65N7Q.mjs';import {a as a$2}from'./chunk-KCHAWPUN.mjs';import {b}from'./chunk-WN6FAICZ.mjs';import {a}from'./chunk-F3HQNHR5.mjs';import {e}from'./chunk-B7PSE5KC.mjs';import {a as a$1}from'./chunk-4QEH5CGK.mjs';import P,{useEffect,useContext}from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
var I="xyd2ss0 _1yep5z6nm _1yep5z6nn _1yep5z6no _1yep5z6py _1yep5z6pz _1yep5z6q0 _1yep5z6r4 _1yep5z6r5 _1yep5z6r6 _1yep5z6os _1yep5z6ot _1yep5z6ou _1yep5z6sa _1yep5z6sb _1yep5z6sc _1yep5z6um _1yep5z6un _1yep5z6uo _1yep5z6vs _1yep5z6vt _1yep5z6vu _1yep5z6tg _1yep5z6th _1yep5z6ti _1yep5z6x4 _1yep5z6x5 _1yep5z6x6 _1yep5z6xs _1yep5z6xt _1yep5z6xu _1yep5z6yg _1yep5z6yh _1yep5z6yi _1yep5z6z4 _1yep5z6z5 _1yep5z6z6 _1yep5z618r _1yep5z618q _1yep5z614z _1yep5z618u _1yep5z612s";var z=e=>e!=null&&typeof e=="object"&&!(Symbol.iterator in e);function G(e,o,r){let i=z(o)||z(r),s=o!=null&&!z(o)||r!=null&&!z(r);return e&&s?"Menu: an object `selectionMode` expects `selectedKeys`/`defaultSelectedKeys` to be records keyed by section id.":!e&&i?"Menu: a per-section `selectedKeys`/`defaultSelectedKeys` record requires the object form of `selectionMode`.":null}var Q=P.forwardRef(({defaultOpen:e,onOpenChange:o,isOpen:r,isDisabled:i,contentClassName:s,placement:l$1="bottom start",isNonModal:a$3,shouldFlip:c,shouldUpdatePosition:t,boundaryElement:M,boundaryAxis:p,horizontalBoundaryBehavior:d,crossOffset:_,offset:Z,triggerLabel:x,renderTrigger:b$1=({buttonProps:u,ref:y})=>jsx(b,{...u,variant:"popover",ref:y,"data-testid":"menu-trigger"}),portalContainer:$,selectionMode:m,selectedKeys:v,defaultSelectedKeys:S,onSelectionChange:K,disabledKeys:h,disallowEmptySelection:A,itemClassName:C,optionClassName:O,optionStyle:ee,renderOption:oe,...R},re)=>{let u=a($),y=m!=null&&typeof m=="object",N=P.useMemo(()=>h==null?void 0:new Set(h),[h]),te=P.useMemo(()=>C?(ne,ie)=>a$1(C,a$2(O,ne,ie)):O,[C,O]),B=G(y,v,S);if(B)throw new Error(B);return useEffect(()=>{!x&&!b$1&&console.warn("The `triggerLabel` prop is required when no `renderTrigger` or `children` is provided.");},[b$1,x]),jsxs(j,{defaultOpen:e,onOpenChange:o,isOpen:r,children:[jsx(W,{isDisabled:i,renderTrigger:b$1,triggerLabel:x}),jsx(X,{placement:l$1,isNonModal:a$3,shouldFlip:c,shouldUpdatePosition:t,boundaryElement:M,boundaryAxis:p,horizontalBoundaryBehavior:d,crossOffset:_,offset:Z||2,className:"BaselineUI-Menu-Popover",portalContainer:u,children:jsx(l,{...R,disabledKeys:N,...y?{}:{selectionMode:m,selectedKeys:v,defaultSelectedKeys:S,onSelectionChange:K,disallowEmptySelection:A},className:a$1(I,s),ref:re,children:V(R.items,u,{onAction:R.onAction,disabledKeys:N,contentClassName:s,optionClassName:te,optionStyle:ee,renderOption:oe,selection:y?{modes:m,selectedKeys:v,defaultSelectedKeys:S,onSelectionChange:K,disallowEmptySelection:A}:void 0})})})]})});function V(e,o$1,r){let{onAction:i,disabledKeys:s,contentClassName:l$1,selection:a,...c}=r;return e.map((t,M)=>{if("children"in t){let p=t,d=a?.modes[p.id];return jsx(m,{section:p,componentName:"Menu",isFirstCollectionItem:M===0,showSectionHeader:!!p.title,...c,...d?{selectionMode:d,selectedKeys:a?.selectedKeys?.[p.id],defaultSelectedKeys:a?.defaultSelectedKeys?.[p.id],disabledKeys:s,disallowEmptySelection:a?.disallowEmptySelection,onSelectionChange:_=>{a?.onSelectionChange?.(_,{sectionId:p.id});}}:{}},p.id)}return t.items?jsxs(k,{children:[jsx(o,{item:t,componentName:"Menu",...c}),jsx(X,{className:"BaselineUI-Menu-SubmenuPopover",portalContainer:o$1,children:jsx(l,{className:a$1(I,l$1),onAction:i,disabledKeys:s,children:V(t.items,o$1,r)})})]},t.id):jsx(o,{item:t,componentName:"Menu",...c},t.id)})}var W=P.forwardRef(({renderTrigger:e,triggerLabel:o,isDisabled:r,...i$1},s)=>{let l=useContext(i);return e?.({buttonProps:{...i$1,isDisabled:r,label:typeof o=="function"?o(l?.isOpen||false):o,isOpen:l?.isOpen||false,className:"BaselineUI-Menu-Trigger"},ref:s})});W.displayName="MyTrigger";var X=({children:e$1,...o})=>{let r=useContext(i),[i$1]=e(o,void 0,h);return r?.isOpen?jsx(a$3,{...i$1,state:r,children:e$1}):null};Q.displayName="Menu";export{Q as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {c as c$1,b}from'./chunk-MXKP7NQ4.mjs';import {a}from'./chunk-
|
|
1
|
+
import {c as c$1,b}from'./chunk-MXKP7NQ4.mjs';import {a}from'./chunk-J7K7I5U2.mjs';import {d}from'./chunk-OC42IZG2.mjs';import {a as a$1}from'./chunk-34TYNTXM.mjs';import {d as d$1}from'./chunk-KUEDQO7P.mjs';import {b as b$1}from'./chunk-N2XGJKZG.mjs';import {e as e$2,b as b$2}from'./chunk-MVK5CB64.mjs';import {i as i$1,b as b$3}from'./chunk-Y4DRSGEJ.mjs';import {p,c as c$3}from'./chunk-MRJFGHFW.mjs';import {c as c$2,a as a$3}from'./chunk-TZ4MVY4E.mjs';import {a as a$2}from'./chunk-KEVERVHK.mjs';import {c,e}from'./chunk-JDLUGVXG.mjs';import {g,i,f,a as a$4,e as e$1}from'./chunk-AUOQSTS5.mjs';import {useRef}from'react';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a as a$1}from'./chunk-
|
|
1
|
+
import {a as a$1}from'./chunk-SAZLJ66W.mjs';import {a as a$4}from'./chunk-M5M3EPG5.mjs';import {d as d$1}from'./chunk-W6QO7FPZ.mjs';import {a}from'./chunk-X3AXUU3H.mjs';import {a as a$3}from'./chunk-545KDVGI.mjs';import {d}from'./chunk-BGMVPFYK.mjs';import {c}from'./chunk-TZ4MVY4E.mjs';import {a as a$2}from'./chunk-KEVERVHK.mjs';import {g}from'./chunk-AUOQSTS5.mjs';import V,{useState}from'react';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a}from'./chunk-FXCHST4Z.mjs';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
var s=a({defaultClassName:"_1i0ytqa3 _1yep5z6it _1yep5z6iu _1yep5z6iv _1yep5z6m3 _1yep5z6m4 _1yep5z6m6",variantClassNames:{isFocusVisible:{true:"_1i0ytqa4"},isInline:{true:"_1yep5z6133",false:"_1yep5z6135"},isDisabled:{true:"_1i0ytqa7 _1yep5z6zt",false:"_1i0ytqa8"}},defaultVariants:{},compoundVariants:[[{isInline:true,isFocusVisible:true},"_1i0ytqa9 _1yep5z61qf _1yep5z61vh _1yep5z61vj"],[{isInline:false,isFocusVisible:true},"_1i0ytqaa"],[{isInline:true,isDisabled:true},"_1yep5z61pm"],[{isInline:false,isDisabled:true},"_1yep5z61po"]]}),t="_1i0ytqa0",_=a({defaultClassName:"_1i0ytqab _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6kt _1yep5z6ku _1yep5z6kv _1yep5z6m3",variantClassNames:{isInline:{false:"_1yep5z612u"},isDisabled:{true:"_1i0ytqad _1yep5z6zt"}},defaultVariants:{},compoundVariants:[]}),n=a({defaultClassName:"_1i0ytqa1 _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj _1yep5z6kz _1yep5z6l0 _1yep5z6l1 _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z6m3",variantClassNames:{isInline:{false:"_1yep5z63r _1yep5z63s _1yep5z63t _1yep5z619 _1yep5z61a _1yep5z61b"}},defaultVariants:{},compoundVariants:[]});export{s as a,t as b,_ as c,n as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'./chunk-F3HQNHR5.mjs';import {b as b$1}from'./chunk-
|
|
1
|
+
import {a}from'./chunk-F3HQNHR5.mjs';import {b as b$1}from'./chunk-V3L4SVVF.mjs';import {b,c}from'./chunk-JUXBZ2ZN.mjs';import {a as a$1}from'./chunk-4QEH5CGK.mjs';import u,{useContext}from'react';import {jsx}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {b}from'./chunk-
|
|
1
|
+
import {b}from'./chunk-GX2IOGYR.mjs';import {a}from'./chunk-66CUIXA6.mjs';import {Fragment}from'react';import {jsx}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a}from'./chunk-MHUFXHRU.mjs';import {a as a$3}from'./chunk-KLNQ24LT.mjs';import {a as a$2}from'./chunk-3L7GTQXK.mjs';import {b,c}from'./chunk-GX2IOGYR.mjs';import {b as b$1}from'./chunk-4ZJMZB5B.mjs';import {a as a$1}from'./chunk-RSKKEGJZ.mjs';import {a as a$4}from'./chunk-4QEH5CGK.mjs';import {PauseIcon,PlayIcon}from'@baseline-ui/icons/24';import _ from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
var g="_1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z69o _1yep5z69p _1yep5z69q",z="rta2n91 _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z69o _1yep5z69p _1yep5z69q _1yep5z610h _1yep5z6w1 _1yep5z6w2 _1yep5z6w3 _1yep5z618m _1yep5z611i",f="rta2n90";var P=_.forwardRef(({className:h,style:k,size:v="lg",sources:j,playLabel:T,pauseLabel:I,audioTimelineLabel:x,playingLabel:A,pausedLabel:C,"data-block-id":S,"data-block-class":B,...M},w)=>{let t=_.useRef(null),{isPlaying:r,progress:U,duration:H,togglePlay:N,seek:R,formattedDuration:V,formattedCurrentTime:D,setProgress:E,setIsSliderDragging:s}=a(t,{playingLabel:A,pausedLabel:C}),{formatMessage:o}=b(),q=a$1({"data-block-id":S,"data-block-class":B,"data-state":r?"playing":"paused","data-loaded":H>0});return jsxs("div",{...q,...M,className:a$4(g,"BaselineUI-AudioPlayer",h),role:"group",style:k,ref:w,children:[jsx(b$1,{children:jsx("audio",{ref:t,children:j.map(({url:a,type:L})=>jsx("source",{src:a,type:L},a))})}),jsx(a$2,{icon:r?PauseIcon:PlayIcon,variant:"toolbar",isSelected:r,size:v,"aria-label":r?I??o(i.pause):T??o(i.play),style:{borderRadius:"50%"},onPress:N}),jsxs("div",{className:z,children:[jsx("span",{"aria-hidden":true,children:D}),jsx(a$3,{"aria-label":x??o(i.audioTimeline),value:U,minValue:0,maxValue:100,className:f,onChange:a=>{E(a),s(true);},onChangeEnd:a=>{R(a),s(false);}}),jsx("span",{"aria-hidden":true,children:V})]})]})});P.displayName="AudioPlayer";var i=c({play:{id:"bui.audioPlayer.play",defaultMessage:"Play"},pause:{id:"bui.audioPlayer.pause",defaultMessage:"Pause"},audioTimeline:{id:"bui.audioPlayer.audioTimeline",defaultMessage:"Audio timeline"}});export{P as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a as a$6}from'./chunk-
|
|
1
|
+
import {a as a$6}from'./chunk-LTIDSWDM.mjs';import {a as a$e}from'./chunk-4TAUFBXO.mjs';import {k,j as j$1,g,c,i,f as f$1,h as h$1,e as e$1,d as d$1,b as b$5,a as a$h}from'./chunk-UCQJ6FJO.mjs';import {b as b$3,a as a$g,q as q$1,n,c as c$4}from'./chunk-5TDFLLMX.mjs';import {p}from'./chunk-SMAYNDQQ.mjs';import {a as a$b}from'./chunk-AMW7LGCF.mjs';import {a as a$9}from'./chunk-KKJ6XIU3.mjs';import {b as b$6}from'./chunk-246VHB32.mjs';import {b as b$7}from'./chunk-OC42IZG2.mjs';import {b as b$8}from'./chunk-PAQQ7MQG.mjs';import {a as a$3}from'./chunk-2MS356Q7.mjs';import {a as a$k}from'./chunk-ZAMDRHQY.mjs';import {a as a$d}from'./chunk-6DU65N7Q.mjs';import {a as a$c,b as b$2}from'./chunk-RM2Y4D2M.mjs';import {d,h,e,f,g as g$1}from'./chunk-WICBTAMY.mjs';import {a as a$f}from'./chunk-NSC53QWT.mjs';import {a as a$m}from'./chunk-SAZLJ66W.mjs';import {b,c as c$2}from'./chunk-GX2IOGYR.mjs';import {a as a$t}from'./chunk-M5M3EPG5.mjs';import {d as d$3}from'./chunk-W6QO7FPZ.mjs';import {b as b$4}from'./chunk-WN6FAICZ.mjs';import {a as a$7}from'./chunk-O7XK2WIX.mjs';import {a as a$j}from'./chunk-ULCYKB34.mjs';import {a as a$a}from'./chunk-F3HQNHR5.mjs';import {a as a$l}from'./chunk-USMC34OO.mjs';import {a as a$r}from'./chunk-4ZJMZB5B.mjs';import {a as a$i}from'./chunk-VDUFLHKK.mjs';import {a as a$p}from'./chunk-4PYEGHW5.mjs';import {a as a$5}from'./chunk-66CUIXA6.mjs';import {a as a$q}from'./chunk-X3AXUU3H.mjs';import {a as a$s}from'./chunk-545KDVGI.mjs';import {a}from'./chunk-YS3Y5KGV.mjs';import {a as a$4}from'./chunk-RSKKEGJZ.mjs';import {a as a$2}from'./chunk-K6X2BHPP.mjs';import {d as d$2}from'./chunk-Y4DRSGEJ.mjs';import {a as a$1}from'./chunk-3FYY26ED.mjs';import {c as c$1,b as b$1,a as a$o}from'./chunk-TZ4MVY4E.mjs';import {a as a$n}from'./chunk-KEVERVHK.mjs';import {c as c$3}from'./chunk-JDLUGVXG.mjs';import {e as e$2,g as g$2}from'./chunk-AUOQSTS5.mjs';import {a as a$8}from'./chunk-4QEH5CGK.mjs';import q,{useCallback,useContext,useEffect,useMemo,useRef,useState}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {CaretDownIcon}from'@baseline-ui/icons/8';import {sprinkles}from'@baseline-ui/tokens';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a as a$1}from'./chunk-EU75HMPG.mjs';import {a as a$h,b as b$4}from'./chunk-
|
|
1
|
+
import {a as a$1}from'./chunk-EU75HMPG.mjs';import {a as a$h,b as b$4}from'./chunk-BJVFZYUV.mjs';import {a as a$k}from'./chunk-UQJGSVXP.mjs';import {a as a$i}from'./chunk-RFTDIXEG.mjs';import {b,c as c$1}from'./chunk-GX2IOGYR.mjs';import {c as c$3}from'./chunk-W6QO7FPZ.mjs';import {a as a$5}from'./chunk-O7XK2WIX.mjs';import {a as a$7}from'./chunk-ULCYKB34.mjs';import {a as a$j}from'./chunk-6Z6HOW6T.mjs';import {a as a$d}from'./chunk-7PRJIPFA.mjs';import {b as b$2}from'./chunk-WL27JGVG.mjs';import {b as b$1}from'./chunk-N2XGJKZG.mjs';import {a as a$g}from'./chunk-4ZJMZB5B.mjs';import {a as a$4}from'./chunk-VDUFLHKK.mjs';import {a as a$l}from'./chunk-66CUIXA6.mjs';import {a as a$f}from'./chunk-D3IZ4HBL.mjs';import {a as a$b}from'./chunk-545KDVGI.mjs';import {a as a$3}from'./chunk-RSKKEGJZ.mjs';import {e,a as a$c}from'./chunk-BGMVPFYK.mjs';import {b as b$3,a as a$e}from'./chunk-YB3KW7JC.mjs';import {a as a$2}from'./chunk-3FYY26ED.mjs';import {a as a$a,g,k}from'./chunk-MRJFGHFW.mjs';import {c}from'./chunk-TZ4MVY4E.mjs';import {a as a$8}from'./chunk-KEVERVHK.mjs';import {c as c$2}from'./chunk-JDLUGVXG.mjs';import {a as a$9}from'./chunk-6ZQE5SHE.mjs';import {b as b$5}from'./chunk-AUOQSTS5.mjs';import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$6}from'./chunk-4QEH5CGK.mjs';import {HelpIcon}from'@baseline-ui/icons/16';import Ir,{useMemo,useState,useCallback,useRef}from'react';import {themeVars}from'@baseline-ui/tokens';import {jsx,jsxs}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -7,4 +7,4 @@ import {a as a$1}from'./chunk-EU75HMPG.mjs';import {a as a$h,b as b$4}from'./chu
|
|
|
7
7
|
* This notice may not be removed from this file.
|
|
8
8
|
*
|
|
9
9
|
*/
|
|
10
|
-
var oe={"ar-AE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u0623\u062F\u0627\u0629 \u0627\u0646\u062A\u0642\u0627\u0621 \u0627\u0644\u0644\u0648\u0646",colorSwatch:"\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0623\u0644\u0648\u0627\u0646",transparent:"\u0634\u0641\u0627\u0641",twoDimensionalSlider:"\u0645\u064F\u0646\u0632\u0644\u0642 2D"},"bg-BG":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u0421\u0440\u0435\u0434\u0441\u0442\u0432\u043E \u0437\u0430 \u0438\u0437\u0431\u0438\u0440\u0430\u043D\u0435 \u043D\u0430 \u0446\u0432\u044F\u0442",colorSwatch:"\u0446\u0432\u0435\u0442\u043D\u0430 \u043C\u043E\u0441\u0442\u0440\u0430",transparent:"\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u0435\u043D",twoDimensionalSlider:"2D \u043F\u043B\u044A\u0437\u0433\u0430\u0447"},"cs-CZ":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xFDb\u011Br barvy",colorSwatch:"barevn\xFD vzorek",transparent:"pr\u016Fhledn\xFD",twoDimensionalSlider:"2D posuvn\xEDk"},"da-DK":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Farvev\xE6lger",colorSwatch:"farvepr\xF8ve",transparent:"gennemsigtig",twoDimensionalSlider:"2D-skyder"},"de-DE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Farbw\xE4hler",colorSwatch:"Farbfeld",transparent:"transparent",twoDimensionalSlider:"2D-Schieberegler"},"el-GR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03B1\u03C2 \u03C7\u03C1\u03C9\u03BC\u03AC\u03C4\u03C9\u03BD",colorSwatch:"\u03C7\u03C1\u03C9\u03BC\u03B1\u03C4\u03B9\u03BA\u03CC \u03B4\u03B5\u03AF\u03B3\u03BC\u03B1",transparent:"\u03B4\u03B9\u03B1\u03C6\u03B1\u03BD\u03AD\u03C2",twoDimensionalSlider:"\u03A1\u03C5\u03B8\u03BC\u03B9\u03C3\u03C4\u03B9\u03BA\u03CC 2D"},"en-US":{colorPicker:"Color picker",twoDimensionalSlider:"2D slider",colorNameAndValue:e=>`${e.name}: ${e.value}`,colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorSwatch:"color swatch",transparent:"transparent"},"es-ES":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selector de color",colorSwatch:"muestra de color",transparent:"transparente",twoDimensionalSlider:"Regulador 2D"},"et-EE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xE4rvivalija",colorSwatch:"v\xE4rvin\xE4idis",transparent:"l\xE4bipaistev",twoDimensionalSlider:"2D-liugur"},"fi-FI":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xE4rimuokkain",colorSwatch:"v\xE4rimalli",transparent:"l\xE4pin\xE4kyv\xE4",twoDimensionalSlider:"2D-liukus\xE4\xE4din"},"fr-FR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}\xA0: ${e.value}`,colorPicker:"S\xE9lecteur de couleurs",colorSwatch:"\xC9chantillon de couleurs",transparent:"Transparent",twoDimensionalSlider:"Curseur\xA02D"},"he-IL":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u05D1\u05D5\u05D7\u05E8 \u05D4\u05E6\u05D1\u05E2\u05D9\u05DD",colorSwatch:"\u05D3\u05D5\u05D2\u05DE\u05D9\u05EA \u05E6\u05D1\u05E2",transparent:"\u05E9\u05E7\u05D5\u05E3",twoDimensionalSlider:"\u05DE\u05D7\u05D5\u05D5\u05DF \u05D3\u05D5 \u05DE\u05D9\u05DE\u05D3\u05D9"},"hr-HR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Odabir boje",colorSwatch:"uzorak boje",transparent:"transparentno",twoDimensionalSlider:"2D kliza\u010D"},"hu-HU":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Sz\xEDnv\xE1laszt\xF3",colorSwatch:"sz\xEDnt\xE1r",transparent:"\xE1tl\xE1tsz\xF3",twoDimensionalSlider:"2D-cs\xFAszka"},"it-IT":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selettore colore",colorSwatch:"campione di colore",transparent:"trasparente",twoDimensionalSlider:"Cursore 2D"},"ja-JP":{colorInputLabel:e=>`${e.label}\u3001${e.channelLabel}`,colorNameAndValue:e=>`${e.name} : ${e.value}`,colorPicker:"\u30AB\u30E9\u30FC\u30D4\u30C3\u30AB\u30FC",colorSwatch:"\u30AB\u30E9\u30FC\u30B9\u30A6\u30A9\u30C3\u30C1",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u30B9\u30E9\u30A4\u30C0\u30FC"},"ko-KR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\uC0C9\uC0C1 \uD53C\uCEE4",colorSwatch:"\uC0C9\uC0C1 \uACAC\uBCF8",transparent:"\uD22C\uBA85\uB3C4",twoDimensionalSlider:"2D \uC2AC\uB77C\uC774\uB354"},"lt-LT":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Spalv\u0173 parinkiklis",colorSwatch:"spalv\u0173 pavyzdys",transparent:"skaidrus",twoDimensionalSlider:"2D slankiklis"},"lv-LV":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Kr\u0101su atlas\u012Bt\u0101js",colorSwatch:"kr\u0101su paraugs",transparent:"caursp\u012Bd\u012Bgs",twoDimensionalSlider:"2D sl\u012Bdnis"},"nb-NO":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Fargevelger",colorSwatch:"fargekart",transparent:"gjennomsiktig",twoDimensionalSlider:"2D-glidebryter"},"nl-NL":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Kleurkiezer",colorSwatch:"kleurstaal",transparent:"transparant",twoDimensionalSlider:"2D-schuifregelaar"},"pl-PL":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Pr\xF3bnik kolor\xF3w",colorSwatch:"pr\xF3bka koloru",transparent:"przezroczysty",twoDimensionalSlider:"Suwak 2D"},"pt-BR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Seletor de cores",colorSwatch:"amostra de cores",transparent:"transparente",twoDimensionalSlider:"Controle deslizante 2D"},"pt-PT":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Seletor de cores",colorSwatch:"amostra de cor",transparent:"transparente",twoDimensionalSlider:"Controle deslizante 2D"},"ro-RO":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selector de culori",colorSwatch:"specimen de culoare",transparent:"transparent",twoDimensionalSlider:"Glisor 2D"},"ru-RU":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u041F\u0430\u043B\u0438\u0442\u0440\u0430 \u0446\u0432\u0435\u0442\u043E\u0432",colorSwatch:"\u0446\u0432\u0435\u0442\u043E\u0432\u043E\u0439 \u043E\u0431\u0440\u0430\u0437\u0435\u0446",transparent:"\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u0439",twoDimensionalSlider:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A 2D"},"sk-SK":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xFDber farieb",colorSwatch:"vzorkovn\xEDk farieb",transparent:"transparentn\xFD",twoDimensionalSlider:"2D jazdec"},"sl-SI":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Izbirnik barv",colorSwatch:"barvna paleta",transparent:"prozorno",twoDimensionalSlider:"2D drsnik"},"sr-SP":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Bira\u010D boja",colorSwatch:"Uzorak boje",transparent:"providno",twoDimensionalSlider:"2D kliza\u010D"},"sv-SE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"F\xE4rgv\xE4ljaren",colorSwatch:"f\xE4rgruta",transparent:"genomskinlig",twoDimensionalSlider:"2D-reglage"},"tr-TR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Renk Se\xE7ici",colorSwatch:"renk \xF6rne\u011Fi",transparent:"saydam",twoDimensionalSlider:"2D s\xFCrg\xFC"},"uk-UA":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u041F\u0430\u043B\u0456\u0442\u0440\u0430 \u043A\u043E\u043B\u044C\u043E\u0440\u0456\u0432",colorSwatch:"\u0437\u0440\u0430\u0437\u043E\u043A \u043A\u043E\u043B\u044C\u043E\u0440\u0443",transparent:"\u043F\u0440\u043E\u0437\u043E\u0440\u0438\u0439",twoDimensionalSlider:"\u041F\u043E\u0432\u0437\u0443\u043D\u043E\u043A 2D"},"zh-CN":{colorInputLabel:e=>`${e.label}\u3001${e.channelLabel}`,colorNameAndValue:e=>`${e.name}\uFF1A${e.value}`,colorPicker:"\u62FE\u8272\u5668",colorSwatch:"\u989C\u8272\u8272\u677F",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u6ED1\u5757"},"zh-TW":{colorInputLabel:e=>`${e.label}\uFF0C${e.channelLabel}`,colorNameAndValue:e=>`${e.name}\uFF1A${e.value}`,colorPicker:"\u6AA2\u8272\u5668",colorSwatch:"\u8272\u7968",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u6ED1\u687F"}};var Ue=e=>[0,60,120,180,240,300,360].map(r=>e.withChannelValue("hue",r).toString("css")).join(", "),Xe=e=>`${e.withChannelValue("saturation",0)}, transparent`,kr={hue:Ue,saturation:Xe,lightness:()=>"black, transparent, white"},Pr={hue:Ue,saturation:Xe,brightness:()=>"black, transparent"};function Ge({direction:e,state:r,zChannel:l,xChannel:t,yChannel:n}){return useMemo(()=>{let m=e==="rtl"?"left":"right",v={},z=r.value.getChannelValue(l);switch(r.value.getColorSpace()){case "rgb":{let s=a$1("rgb(0, 0, 0)");v={background:[`linear-gradient(to ${m}, ${s.withChannelValue(t,0)}, ${s.withChannelValue(t,255)})`,`linear-gradient(to top, ${s.withChannelValue(n,0)}, ${s.withChannelValue(n,255)})`,s.withChannelValue(l,z)].join(","),backgroundBlendMode:"screen"};break}case "hsl":{let s=r.value.getColorChannels(),d=a$1("hsl(0, 100%, 50%)").withChannelValue(l,z),c=s.filter(i=>i!==l).map(i=>`linear-gradient(to ${i===t?m:"top"}, ${kr[i](d)})`).reverse();l==="hue"&&c.push(d.toString("css")),v={background:c.join(", ")};break}case "hsb":{let s=r.value.getColorChannels(),d=a$1("hsb(0, 100%, 100%)").withChannelValue(l,z),c=s.filter(i=>i!==l).map(i=>`linear-gradient(to ${i===t?m:"top"}, ${Pr[i](d)})`).reverse();l==="hue"&&c.push(d.toString("css")),v={background:c.join(", ")};break}}let{x:h,y}=r.getThumbPosition();e==="rtl"&&(h=1-h);let f={forcedColorAdjust:"none"};return {colorAreaStyleProps:{style:{position:"relative",touchAction:"none",...f,...v}},thumbStyleProps:{style:{position:"absolute",left:`${h*100}%`,top:`${y*100}%`,transform:"translate(-50%, -50%)",touchAction:"none",...f}}}},[e,r,l,t,n])}function Je(e,r){let{isDisabled:l,inputXRef:t,inputYRef:n,containerRef:u,"aria-label":m,xName:v,yName:z,form:h}=e,y=b$2(oe,"@react-aria/color"),{addGlobalListener:f,removeGlobalListener:s}=a$9(),{direction:d,locale:c$1}=b$1(),[i,x]=useState(null),b=useCallback((o=t)=>{o.current&&a$a(o.current);},[t]);a$b(t,r.defaultValue,r.setValue);let[S,C]=useState(false),[V,k$1]=useState(false),{xChannel:_,yChannel:p,zChannel:w}=r.channels,g$1=r.xChannelStep,F=r.yChannelStep,N=useRef(null),{keyboardProps:ir}=a$c({onKeyDown(o){if(!/^(PageUp|PageDown|Home|End)$/.test(o.key)){o.continuePropagation();return}o.preventDefault(),r.setDragging(true),C(true);let a;switch(o.key){case "PageUp":r.incrementY(r.yChannelPageStep),a="y";break;case "PageDown":r.decrementY(r.yChannelPageStep),a="y";break;case "Home":d==="rtl"?r.incrementX(r.xChannelPageStep):r.decrementX(r.xChannelPageStep),a="x";break;case "End":d==="rtl"?r.decrementX(r.xChannelPageStep):r.incrementX(r.xChannelPageStep),a="x";break}r.setDragging(false),a&&(b(a==="x"?t:n),x(a));}}),X={onMoveStart(){N.current=null,r.setDragging(true);},onMove({deltaX:o,deltaY:a,pointerType:$,shiftKey:G}){let{incrementX:W,decrementX:ne,incrementY:ie,decrementY:M,xChannelPageStep:E,xChannelStep:H,yChannelPageStep:ve,yChannelStep:Se,getThumbPosition:Cr,setColorFromPoint:vr}=r;N.current==null&&(N.current=Cr());let{width:Sr,height:gr}=u.current?.getBoundingClientRect()||{width:0,height:0},ge=o!==0||a!==0;if($==="keyboard"){let xe=G&&E>H?E:H,ke=G&&ve>Se?ve:Se;o>0&&d==="ltr"||o<0&&d==="rtl"?W(xe):o<0&&d==="ltr"||o>0&&d==="rtl"?ne(xe):a>0?M(ke):a<0&&ie(ke),C(ge),i=ge&&Math.abs(a)>Math.abs(o)?"y":"x",x(i);}else N.current.x+=(d==="rtl"?-1:1)*o/Sr,N.current.y+=a/gr,vr(N.current.x,N.current.y);},onMoveEnd(){I.current=false,r.setDragging(false),b(i==="x"?t:n);}},{moveProps:pr}=a$d(X),{focusWithinProps:ur}=b$3({onFocusWithinChange:o=>{o||(C(false),k$1(false));}}),j=useRef(void 0),I=useRef(false),{moveProps:sr}=a$d({onMoveStart(){I.current&&X.onMoveStart();},onMove(o){I.current&&X.onMove(o);},onMoveEnd(){I.current&&X.onMoveEnd();}}),te=o=>{let a=b$5(u.current);r.isDragging||(j.current=o,C(false),b(),r.setDragging(true),typeof PointerEvent<"u"?f(a,"pointerup",T,false):(f(a,"mouseup",T,false),f(a,"touchend",T,false)));},T=o=>{let a=b$5(u.current);(o.pointerId??o.changedTouches?.[0].identifier)===j.current&&(C(false),b(),r.setDragging(false),j.current=void 0,I.current=false,typeof PointerEvent<"u"?s(a,"pointerup",T,false):(s(a,"mouseup",T,false),s(a,"touchend",T,false)));},ae=(o,a,$,G)=>{let W=o.getBoundingClientRect(),{width:ne,height:ie}=W,M=($-W.x)/ne,E=(G-W.y)/ie;d==="rtl"&&(M=1-M);let H=b$5(u.current);M>=0&&M<=1&&E>=0&&E<=1&&!r.isDragging&&j.current===void 0&&(I.current=true,C(false),j.current=a,r.setColorFromPoint(M,E),b(),r.setDragging(true),typeof PointerEvent<"u"?f(H,"pointerup",O,false):(f(H,"mouseup",O,false),f(H,"touchend",O,false)));},O=o=>{let a=o.pointerId??o.changedTouches?.[0].identifier;if(I.current&&a===j.current){I.current=false,C(false),j.current=void 0,r.setDragging(false),b();let $=b$5(u.current);typeof PointerEvent<"u"?s($,"pointerup",O,false):(s($,"mouseup",O,false),s($,"touchend",O,false));}},cr=l?{}:c({...typeof PointerEvent<"u"?{onPointerDown:o=>{o.pointerType==="mouse"&&(o.button!==0||o.altKey||o.ctrlKey||o.metaKey)||ae(o.currentTarget,o.pointerId,o.clientX,o.clientY);}}:{onMouseDown:o=>{o.button!==0||o.altKey||o.ctrlKey||o.metaKey||ae(o.currentTarget,void 0,o.clientX,o.clientY);},onTouchStart:o=>{ae(o.currentTarget,o.changedTouches[0].identifier,o.changedTouches[0].clientX,o.changedTouches[0].clientY);}}},sr),dr=l?{}:c({...typeof PointerEvent<"u"?{onPointerDown:o=>{o.pointerType==="mouse"&&(o.button!==0||o.altKey||o.ctrlKey||o.metaKey)||te(o.pointerId);}}:{onMouseDown:o=>{o.button!==0||o.altKey||o.ctrlKey||o.metaKey||te(void 0);},onTouchStart:o=>{te(o.changedTouches[0].identifier);}}},ur,ir,pr),{focusProps:mr}=a$e({onFocus:()=>{x("x");}}),{focusProps:yr}=a$e({onFocus:()=>{x("y");}}),fe=o=>{let{target:a}=o;k$1(true),a===t.current?r.setXValue(parseFloat(a.value)):a===n.current&&r.setYValue(parseFloat(a.value));},B=g()||k(),A=r.getDisplayColor(),ze=useCallback(o=>`${V||S?y.format("colorNameAndValue",{name:A.getChannelName(o,c$1),value:A.formatChannelValue(o,c$1)}):[y.format("colorNameAndValue",{name:A.getChannelName(o,c$1),value:A.formatChannelValue(o,c$1)}),y.format("colorNameAndValue",{name:A.getChannelName(o===p?_:p,c$1),value:A.formatChannelValue(o===p?_:p,c$1)}),y.format("colorNameAndValue",{name:A.getChannelName(w,c$1),value:A.formatChannelValue(w,c$1)})].join(", ")}, ${A.getColorName(c$1)}`,[c$1,A,y,V,S,_,p,w]),R=y.format("colorPicker"),br=a$f({...e,"aria-label":m?y.format("colorInputLabel",{label:m,channelLabel:R}):R}),_r=a$f({...e,"aria-label":m?y.format("colorInputLabel",{label:m,channelLabel:R}):R}),fr=a$f({...e,"aria-label":m?`${m}, ${R}`:void 0},B?R:void 0),he=y.format("twoDimensionalSlider"),{visuallyHiddenProps:Ce}=a$g({style:{opacity:"0.0001",width:"100%",height:"100%",pointerEvents:"none"}}),{colorAreaStyleProps:zr,thumbStyleProps:hr}=Ge({direction:d,state:r,xChannel:_,yChannel:p,zChannel:w});return {colorAreaProps:{...fr,...cr,...zr,role:"group"},thumbProps:{...dr,...hr,role:"presentation"},xInputProps:{...br,...Ce,...mr,type:"range",min:r.value.getChannelRange(_).minValue,max:r.value.getChannelRange(_).maxValue,step:g$1,"aria-roledescription":he,"aria-valuetext":ze(_),"aria-orientation":"horizontal","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"],disabled:l,value:r.value.getChannelValue(_),name:v,form:h,tabIndex:B||!i||i==="x"?void 0:-1,"aria-hidden":B||!i||i==="x"||S?void 0:"true",onChange:fe},yInputProps:{..._r,...Ce,...yr,type:"range",min:r.value.getChannelRange(p).minValue,max:r.value.getChannelRange(p).maxValue,step:F,"aria-roledescription":he,"aria-valuetext":ze(p),"aria-orientation":"vertical","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"],disabled:l,value:r.value.getChannelValue(p),name:z,form:h,tabIndex:B||i==="y"?void 0:-1,"aria-hidden":B||i==="y"||S?void 0:"true",onChange:fe}}}function Ze(e,r){let{trackRef:l,inputRef:t,orientation:n,channel:u,"aria-label":m,name:v,form:z}=e,{locale:h,direction:y}=b$1();!e.label&&!m&&!e["aria-labelledby"]&&(m=r.value.getChannelName(u,h));let{groupProps:f,trackProps:s,labelProps:d,outputProps:c$1}=a$h({...e,"aria-label":m},r,l),{inputProps:i,thumbProps:x}=b$4({index:0,orientation:n,isDisabled:e.isDisabled,name:v,form:z,trackRef:l,inputRef:t},r),b=r.getDisplayColor(),S=()=>{let k;switch(n==="vertical"?k="top":y==="ltr"?k="right":k="left",u){case "hue":{let _=[0,60,120,180,240,300,360].map(p=>b.withChannelValue("hue",p).toString("css")).join(", ");return `linear-gradient(to ${k}, ${_})`}case "lightness":{let _=r.getThumbMinValue(0),p=r.getThumbMaxValue(0),w=b.withChannelValue(u,_).toString("css"),g=b.withChannelValue(u,(p-_)/2).toString("css"),F=b.withChannelValue(u,p).toString("css");return `linear-gradient(to ${k}, ${w}, ${g}, ${F})`}case "saturation":case "brightness":case "red":case "green":case "blue":case "alpha":{let _=b.withChannelValue(u,r.getThumbMinValue(0)).toString("css"),p=b.withChannelValue(u,r.getThumbMaxValue(0)).toString("css");return `linear-gradient(to ${k}, ${_}, ${p})`}default:throw new Error("Unknown color channel: "+u)}},C={forcedColorAdjust:"none"};u==="hue"?i["aria-valuetext"]+=`, ${b.getHueName(h)}`:u!=="alpha"&&(i["aria-valuetext"]+=`, ${b.getColorName(h)}`);let{visuallyHiddenProps:V}=a$g({style:{opacity:"0.0001",width:"100%",height:"100%",pointerEvents:"none"}});return {trackProps:{...c(f,s),style:{...s.style,...C,background:S()}},inputProps:{...i,style:{...i.style,...V.style}},thumbProps:{...x,style:{...x.style,...C}},labelProps:d,outputProps:c$1}}function Qe(e,r,l){let{isDisabled:t,isReadOnly:n,isRequired:u,isWheelDisabled:m,validationBehavior:v="aria"}=e,{colorValue:z,inputValue:h,increment:y,decrement:f,incrementToMax:s,decrementToMin:d,commit:c$1}=r,i=c$2(),{spinButtonProps:x}=a$i({isDisabled:t,isReadOnly:n,isRequired:u,maxValue:16777215,minValue:0,onIncrement:y,onIncrementToMax:s,onDecrement:f,onDecrementToMin:d,value:z?z.toHexInt():void 0,textValue:z?z.toString("hex"):void 0}),[b,S]=useState(false),{focusWithinProps:C}=b$3({isDisabled:t,onFocusWithinChange:S}),V=useCallback(g=>{Math.abs(g.deltaY)<=Math.abs(g.deltaX)||(g.deltaY>0?y():g.deltaY<0&&f());},[f,y]);a$j({onScroll:V,isDisabled:m||t||n||!b},l);let _=g=>{r.validate(g)&&r.setInputValue(g);},{inputProps:p,...w}=a$k({...e,id:i,value:h,defaultValue:"!",validate:void 0,[c$3]:r,type:"text",autoComplete:"off",onChange:_},r,l);return a$b(l,r.defaultColorValue,r.setColorValue),p=c(p,x,C,{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false",onBlur:c$1}),v==="native"&&(p["aria-required"]=void 0),{inputProps:p,...w}}function le(e){let{color:r,colorName:l}=e,t=r||"#fff0",n=useMemo(()=>typeof t=="string"?a$1(t):t,[t]),{locale:u}=b$1(),m=a$8(e,{labelable:true}),v=b$2(oe,"@react-aria/color"),z=c$2(e.id);return l||(l=n.getChannelValue("alpha")===0?v.format("transparent"):n.getColorName(u)),{colorSwatchProps:{...m,role:"img","aria-roledescription":v.format("colorSwatch"),"aria-label":[l,e["aria-label"]||""].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]?`${z} ${e["aria-labelledby"]}`:void 0,id:z,style:{backgroundColor:n.toString("css"),forcedColorAdjust:"none"}},color:n||null}}var rl="_1dbkl53 _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6ln",ol="_1dbkl5e",ll=a({defaultClassName:"_1dbkl54 _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6ly _1yep5z6lq _1yep5z69i _1yep5z69j _1yep5z69k _1yep5z6eu _1yep5z6lp _1yep5z6dy",variantClassNames:{isHovered:{true:"_1dbkl55"},isFocusVisible:{true:"_1dbkl56"},isDisabled:{true:"z9nup82 _1yep5z6111"},labelPosition:{top:"_1dbkl58",start:"_1dbkl59"}},defaultVariants:{},compoundVariants:[]}),tl="_1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kj _1yep5z6kk _1yep5z6kl",al=a({defaultClassName:"_1dbkl50 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6dy _1yep5z6ev",variantClassNames:{labelPosition:{top:"_1yep5z6oi _1yep5z6oj _1yep5z6ok",start:"_1dbkl52"}},defaultVariants:{},compoundVariants:[]}),nl="_1dbkl5l _1yep5z6iy _1yep5z6iz _1yep5z6j0 _1yep5z69f _1yep5z69g _1yep5z69h",il="_1dbkl5f z9nup86",pl="_1dbkl5m _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6id _1yep5z6ie _1yep5z6if",er="_1dbkl5k _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6lq",ul="_1yep5z63r _1yep5z63s _1yep5z63t _1yep5z619 _1yep5z61a _1yep5z61b _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6kj _1yep5z6kk _1yep5z6kl _1yep5z6dy _1yep5z6ev _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6jj _1yep5z6jk _1yep5z6jl",sl=a({defaultClassName:"_1dbkl5h _1dbkl5g _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6g1",variantClassNames:{includesCustomColorPicker:{true:"_1yep5z6n6 _1yep5z6n7 _1yep5z6n8"}},defaultVariants:{},compoundVariants:[]}),cl="_1dbkl5v _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3",dl=a({defaultClassName:"_1dbkl5q _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6br _1yep5z6bs _1yep5z6bt _1yep5z6d3 _1yep5z6d4 _1yep5z6d5 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6lz _1yep5z6h4 _1yep5z6lq _1yep5z6eu _1yep5z6dy",variantClassNames:{isFocused:{true:"_1dbkl5r _1yep5z6134"},isHovered:{true:"_1dbkl5s"},allowAlpha:{false:"_1yep5z6x9 _1yep5z6xa _1yep5z6xb _1yep5z6yl _1yep5z6ym _1yep5z6yn _1yep5z617q"}},defaultVariants:{},compoundVariants:[[{isHovered:true,isFocused:false},"_1yep5z61pb"]]}),ml=a({defaultClassName:"_1dbkl5a _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62c _1yep5z62d _1yep5z62e _1yep5z63i _1yep5z63j _1yep5z63k _1yep5z616 _1yep5z617 _1yep5z618 _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6 _1yep5z69c _1yep5z69d _1yep5z69e _1yep5z6f5 _1yep5z6lp _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6la _1yep5z6ld",variantClassNames:{isHovered:{true:"_1yep5z6126"},isFocusVisible:{true:"_1yep5z617w _1yep5z617u _1yep5z617x _1yep5z6140"},isDisabled:{true:"_1yep5z611a"}},defaultVariants:{},compoundVariants:[]}),yl="_1dbkl5g",bl="_1dbkl5u",_l="_1dbkl5j _1yep5z69 _1yep5z6a _1yep5z6b _1yep5z62l _1yep5z62m _1yep5z62n _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6 _1yep5z69f _1yep5z69g _1yep5z69h",fl="_1dbkl5x",zl="_1dbkl5w",hl="_1yep5z69 _1yep5z6a _1yep5z6b _1yep5z62l _1yep5z62m _1yep5z62n _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6 _1yep5z69l _1yep5z69m _1yep5z69n",Cl=a({defaultClassName:"_1dbkl5n _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6lu _1yep5z6ig _1yep5z6ih _1yep5z6ii _1yep5z6lz _1yep5z6m2",variantClassNames:{isFocusVisible:{true:"_1dbkl5o _1yep5z617u _1yep5z6140 _1yep5z617w"}},defaultVariants:{},compoundVariants:[]}),vl="z9nup83 z9nup85 _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6lg _1yep5z6lh _1yep5z6lj _1yep5z6li _1yep5z6ig _1yep5z6ih _1yep5z6ii";var Al=[{id:"hex",label:"HEX"},{id:"rgb",label:"RGB"}],$l=a$1("#000000").toFormat("hsla"),me="hsla",ye="hexa";function Dr(e){let r=document.createElement("canvas").getContext("2d");return a$l(r,"Failed to get canvas context"),r.fillStyle=e,r.fillStyle}function Ll(e){if(typeof e=="string")try{return a$1(e).toFormat(me)}catch{return a$1(Dr(e)).toFormat(me)}else if(e)return e.toFormat(me);return null}function Dl(e,r){return e?.getChannelValue("alpha")?r?.toString(ye)===e.toString(ye):!r?.getChannelValue("alpha")}function Vl(e,r,l){return r?.label?r.label:e?.getChannelValue("alpha")===0?l:e?.toString("rgba")}var be="NONE";function Il(e,r){let l=r?.map(n=>({id:a$1(n.color).toString(ye),label:n.label}))||[],t={id:be,label:e};return [...l,t]}var Nl=(e,{optionProps:r,isFocusVisible:l,isSelected:t},n)=>(a$l(e.value&&"label"in e.value,"Item must have label"),jsx("li",{...r,ref:n,className:er,children:jsx(_e,{color:e.value.id,isFocusVisible:l,isSelected:t,"aria-label":e.value.label,isInteractive:true})})),or=(e,r=4)=>{let l=e.getChannelValue("alpha")===0,t=`repeating-conic-gradient(transparent 0% 25%, ${themeVars.color.background.secondary.medium} 25% 50%)`;return {backgroundImage:l?t:`linear-gradient(${e.toString("hexa")}, ${e.toString("hexa")}), ${t}`,backgroundSize:`${r}px ${r}px`}};var lr=a({defaultClassName:"_1344e9q0 _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6id _1yep5z6ie _1yep5z6if _1yep5z6lk _1yep5z6ic _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kd _1yep5z6ke _1yep5z6kf z9nup8a",variantClassNames:{isFocusVisible:{true:"_1344e9q1"},isDisabled:{true:"_1344e9q2"},removeBlendMode:{true:"_1344e9q3"},isSelected:{true:"_1yep5z617w _1yep5z617u _1yep5z6140 _1yep5z617z"},isHovered:{true:"_1344e9q5"}},defaultVariants:{},compoundVariants:[[{isSelected:false,isFocusVisible:true},"_1344e9q6"],[{isSelected:true,isFocusVisible:true},"_1344e9q7 _1yep5z61tz _1yep5z61tx _1yep5z61q3 _1yep5z61u2"],[{isSelected:true,isDisabled:true},"_1yep5z61tz _1yep5z61tx _1yep5z61q3 _1yep5z61u2 _1yep5z61qd"],[{isHovered:true,isSelected:false},"_1yep5z61u2 _1yep5z61tz _1yep5z61tx _1yep5z61q7"]]}),tr="_1yep5z6f6",ar="_1344e9q9 _1yep5z6fl";var _e=Ir.forwardRef(({color:e$1,isFocusVisible:r,isSelected:l,isInteractive:t,isDisabled:n,style:u,className:m,id:v,tooltip:z,isIndeterminate:h,indeterminateIcon:y=HelpIcon,noneLabel:f,"data-block-id":s,"data-block-class":d,...c$1},i)=>{let x=e$1&&e$1!==be&&(typeof e$1=="string"?a$1(e$1):e$1),{formatMessage:b$1}=b(),S=!x,{colorSwatchProps:C}=le({color:S?"#000000":e$1}),{hoverProps:V,isHovered:k}=a$2({isDisabled:n||!t}),_=a$3({"data-focus-visible":r,"data-selected":l,"data-hovered":k,"data-block-id":s,"data-block-class":d,"data-disabled":n,"data-interactive":t,"data-indeterminate":h}),p=S?f??b$1(nr.none):C["aria-label"],w=c$1["aria-label"]??p,{tooltipProps:g}=a$4({tooltip:z,label:w}),F=jsx("div",{...c(V,_,S?{}:C),style:u,"aria-label":S?f??b$1(nr.none):C["aria-label"],role:"img",className:a$6(lr({removeBlendMode:S,isFocusVisible:r,isDisabled:!!n,isSelected:!!l,isHovered:k}),"BaselineUI-ColorSwatch",m),ref:i,id:v,...c$1,children:jsxs(a$5,{display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"full",height:"full",width:"full",opacity:n?"medium":void 0,style:x&&!h?or(x,4):void 0,children:[S&&!h?jsx("div",{className:ar}):null,h&&y?jsx(y,{role:"presentation",size:16,className:tr,"aria-hidden":"true"}):null]})});return g&&!n?jsx(a$7,{...g,children:jsx(e,{children:F})}):F});_e.displayName="ColorSwatch";var nr=c$1({none:{id:"bui.colorSwatch.none",defaultMessage:"None"}});export{me as A,ye as B,Ll as C,Dl as D,Vl as E,be as F,Il as G,Nl as H,_e as I,Je as a,Qe as b,Ze as c,rl as d,ol as e,ll as f,tl as g,al as h,nl as i,il as j,pl as k,ul as l,sl as m,cl as n,dl as o,ml as p,yl as q,bl as r,_l as s,fl as t,zl as u,hl as v,Cl as w,vl as x,Al as y,$l as z};
|
|
10
|
+
var oe={"ar-AE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u0623\u062F\u0627\u0629 \u0627\u0646\u062A\u0642\u0627\u0621 \u0627\u0644\u0644\u0648\u0646",colorSwatch:"\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0623\u0644\u0648\u0627\u0646",transparent:"\u0634\u0641\u0627\u0641",twoDimensionalSlider:"\u0645\u064F\u0646\u0632\u0644\u0642 2D"},"bg-BG":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u0421\u0440\u0435\u0434\u0441\u0442\u0432\u043E \u0437\u0430 \u0438\u0437\u0431\u0438\u0440\u0430\u043D\u0435 \u043D\u0430 \u0446\u0432\u044F\u0442",colorSwatch:"\u0446\u0432\u0435\u0442\u043D\u0430 \u043C\u043E\u0441\u0442\u0440\u0430",transparent:"\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u0435\u043D",twoDimensionalSlider:"2D \u043F\u043B\u044A\u0437\u0433\u0430\u0447"},"cs-CZ":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xFDb\u011Br barvy",colorSwatch:"barevn\xFD vzorek",transparent:"pr\u016Fhledn\xFD",twoDimensionalSlider:"2D posuvn\xEDk"},"da-DK":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Farvev\xE6lger",colorSwatch:"farvepr\xF8ve",transparent:"gennemsigtig",twoDimensionalSlider:"2D-skyder"},"de-DE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Farbw\xE4hler",colorSwatch:"Farbfeld",transparent:"transparent",twoDimensionalSlider:"2D-Schieberegler"},"el-GR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03B1\u03C2 \u03C7\u03C1\u03C9\u03BC\u03AC\u03C4\u03C9\u03BD",colorSwatch:"\u03C7\u03C1\u03C9\u03BC\u03B1\u03C4\u03B9\u03BA\u03CC \u03B4\u03B5\u03AF\u03B3\u03BC\u03B1",transparent:"\u03B4\u03B9\u03B1\u03C6\u03B1\u03BD\u03AD\u03C2",twoDimensionalSlider:"\u03A1\u03C5\u03B8\u03BC\u03B9\u03C3\u03C4\u03B9\u03BA\u03CC 2D"},"en-US":{colorPicker:"Color picker",twoDimensionalSlider:"2D slider",colorNameAndValue:e=>`${e.name}: ${e.value}`,colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorSwatch:"color swatch",transparent:"transparent"},"es-ES":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selector de color",colorSwatch:"muestra de color",transparent:"transparente",twoDimensionalSlider:"Regulador 2D"},"et-EE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xE4rvivalija",colorSwatch:"v\xE4rvin\xE4idis",transparent:"l\xE4bipaistev",twoDimensionalSlider:"2D-liugur"},"fi-FI":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xE4rimuokkain",colorSwatch:"v\xE4rimalli",transparent:"l\xE4pin\xE4kyv\xE4",twoDimensionalSlider:"2D-liukus\xE4\xE4din"},"fr-FR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}\xA0: ${e.value}`,colorPicker:"S\xE9lecteur de couleurs",colorSwatch:"\xC9chantillon de couleurs",transparent:"Transparent",twoDimensionalSlider:"Curseur\xA02D"},"he-IL":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u05D1\u05D5\u05D7\u05E8 \u05D4\u05E6\u05D1\u05E2\u05D9\u05DD",colorSwatch:"\u05D3\u05D5\u05D2\u05DE\u05D9\u05EA \u05E6\u05D1\u05E2",transparent:"\u05E9\u05E7\u05D5\u05E3",twoDimensionalSlider:"\u05DE\u05D7\u05D5\u05D5\u05DF \u05D3\u05D5 \u05DE\u05D9\u05DE\u05D3\u05D9"},"hr-HR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Odabir boje",colorSwatch:"uzorak boje",transparent:"transparentno",twoDimensionalSlider:"2D kliza\u010D"},"hu-HU":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Sz\xEDnv\xE1laszt\xF3",colorSwatch:"sz\xEDnt\xE1r",transparent:"\xE1tl\xE1tsz\xF3",twoDimensionalSlider:"2D-cs\xFAszka"},"it-IT":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selettore colore",colorSwatch:"campione di colore",transparent:"trasparente",twoDimensionalSlider:"Cursore 2D"},"ja-JP":{colorInputLabel:e=>`${e.label}\u3001${e.channelLabel}`,colorNameAndValue:e=>`${e.name} : ${e.value}`,colorPicker:"\u30AB\u30E9\u30FC\u30D4\u30C3\u30AB\u30FC",colorSwatch:"\u30AB\u30E9\u30FC\u30B9\u30A6\u30A9\u30C3\u30C1",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u30B9\u30E9\u30A4\u30C0\u30FC"},"ko-KR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\uC0C9\uC0C1 \uD53C\uCEE4",colorSwatch:"\uC0C9\uC0C1 \uACAC\uBCF8",transparent:"\uD22C\uBA85\uB3C4",twoDimensionalSlider:"2D \uC2AC\uB77C\uC774\uB354"},"lt-LT":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Spalv\u0173 parinkiklis",colorSwatch:"spalv\u0173 pavyzdys",transparent:"skaidrus",twoDimensionalSlider:"2D slankiklis"},"lv-LV":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Kr\u0101su atlas\u012Bt\u0101js",colorSwatch:"kr\u0101su paraugs",transparent:"caursp\u012Bd\u012Bgs",twoDimensionalSlider:"2D sl\u012Bdnis"},"nb-NO":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Fargevelger",colorSwatch:"fargekart",transparent:"gjennomsiktig",twoDimensionalSlider:"2D-glidebryter"},"nl-NL":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Kleurkiezer",colorSwatch:"kleurstaal",transparent:"transparant",twoDimensionalSlider:"2D-schuifregelaar"},"pl-PL":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Pr\xF3bnik kolor\xF3w",colorSwatch:"pr\xF3bka koloru",transparent:"przezroczysty",twoDimensionalSlider:"Suwak 2D"},"pt-BR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Seletor de cores",colorSwatch:"amostra de cores",transparent:"transparente",twoDimensionalSlider:"Controle deslizante 2D"},"pt-PT":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Seletor de cores",colorSwatch:"amostra de cor",transparent:"transparente",twoDimensionalSlider:"Controle deslizante 2D"},"ro-RO":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selector de culori",colorSwatch:"specimen de culoare",transparent:"transparent",twoDimensionalSlider:"Glisor 2D"},"ru-RU":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u041F\u0430\u043B\u0438\u0442\u0440\u0430 \u0446\u0432\u0435\u0442\u043E\u0432",colorSwatch:"\u0446\u0432\u0435\u0442\u043E\u0432\u043E\u0439 \u043E\u0431\u0440\u0430\u0437\u0435\u0446",transparent:"\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u0439",twoDimensionalSlider:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A 2D"},"sk-SK":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xFDber farieb",colorSwatch:"vzorkovn\xEDk farieb",transparent:"transparentn\xFD",twoDimensionalSlider:"2D jazdec"},"sl-SI":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Izbirnik barv",colorSwatch:"barvna paleta",transparent:"prozorno",twoDimensionalSlider:"2D drsnik"},"sr-SP":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Bira\u010D boja",colorSwatch:"Uzorak boje",transparent:"providno",twoDimensionalSlider:"2D kliza\u010D"},"sv-SE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"F\xE4rgv\xE4ljaren",colorSwatch:"f\xE4rgruta",transparent:"genomskinlig",twoDimensionalSlider:"2D-reglage"},"tr-TR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Renk Se\xE7ici",colorSwatch:"renk \xF6rne\u011Fi",transparent:"saydam",twoDimensionalSlider:"2D s\xFCrg\xFC"},"uk-UA":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u041F\u0430\u043B\u0456\u0442\u0440\u0430 \u043A\u043E\u043B\u044C\u043E\u0440\u0456\u0432",colorSwatch:"\u0437\u0440\u0430\u0437\u043E\u043A \u043A\u043E\u043B\u044C\u043E\u0440\u0443",transparent:"\u043F\u0440\u043E\u0437\u043E\u0440\u0438\u0439",twoDimensionalSlider:"\u041F\u043E\u0432\u0437\u0443\u043D\u043E\u043A 2D"},"zh-CN":{colorInputLabel:e=>`${e.label}\u3001${e.channelLabel}`,colorNameAndValue:e=>`${e.name}\uFF1A${e.value}`,colorPicker:"\u62FE\u8272\u5668",colorSwatch:"\u989C\u8272\u8272\u677F",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u6ED1\u5757"},"zh-TW":{colorInputLabel:e=>`${e.label}\uFF0C${e.channelLabel}`,colorNameAndValue:e=>`${e.name}\uFF1A${e.value}`,colorPicker:"\u6AA2\u8272\u5668",colorSwatch:"\u8272\u7968",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u6ED1\u687F"}};var Ue=e=>[0,60,120,180,240,300,360].map(r=>e.withChannelValue("hue",r).toString("css")).join(", "),Xe=e=>`${e.withChannelValue("saturation",0)}, transparent`,kr={hue:Ue,saturation:Xe,lightness:()=>"black, transparent, white"},Pr={hue:Ue,saturation:Xe,brightness:()=>"black, transparent"};function Ge({direction:e,state:r,zChannel:l,xChannel:t,yChannel:n}){return useMemo(()=>{let m=e==="rtl"?"left":"right",v={},z=r.value.getChannelValue(l);switch(r.value.getColorSpace()){case "rgb":{let s=a$1("rgb(0, 0, 0)");v={background:[`linear-gradient(to ${m}, ${s.withChannelValue(t,0)}, ${s.withChannelValue(t,255)})`,`linear-gradient(to top, ${s.withChannelValue(n,0)}, ${s.withChannelValue(n,255)})`,s.withChannelValue(l,z)].join(","),backgroundBlendMode:"screen"};break}case "hsl":{let s=r.value.getColorChannels(),d=a$1("hsl(0, 100%, 50%)").withChannelValue(l,z),c=s.filter(i=>i!==l).map(i=>`linear-gradient(to ${i===t?m:"top"}, ${kr[i](d)})`).reverse();l==="hue"&&c.push(d.toString("css")),v={background:c.join(", ")};break}case "hsb":{let s=r.value.getColorChannels(),d=a$1("hsb(0, 100%, 100%)").withChannelValue(l,z),c=s.filter(i=>i!==l).map(i=>`linear-gradient(to ${i===t?m:"top"}, ${Pr[i](d)})`).reverse();l==="hue"&&c.push(d.toString("css")),v={background:c.join(", ")};break}}let{x:h,y}=r.getThumbPosition();e==="rtl"&&(h=1-h);let f={forcedColorAdjust:"none"};return {colorAreaStyleProps:{style:{position:"relative",touchAction:"none",...f,...v}},thumbStyleProps:{style:{position:"absolute",left:`${h*100}%`,top:`${y*100}%`,transform:"translate(-50%, -50%)",touchAction:"none",...f}}}},[e,r,l,t,n])}function Je(e,r){let{isDisabled:l,inputXRef:t,inputYRef:n,containerRef:u,"aria-label":m,xName:v,yName:z,form:h}=e,y=b$2(oe,"@react-aria/color"),{addGlobalListener:f,removeGlobalListener:s}=a$9(),{direction:d,locale:c$1}=b$1(),[i,x]=useState(null),b=useCallback((o=t)=>{o.current&&a$a(o.current);},[t]);a$b(t,r.defaultValue,r.setValue);let[S,C]=useState(false),[V,k$1]=useState(false),{xChannel:_,yChannel:p,zChannel:w}=r.channels,g$1=r.xChannelStep,F=r.yChannelStep,j=useRef(null),{keyboardProps:ir}=a$c({onKeyDown(o){if(!/^(PageUp|PageDown|Home|End)$/.test(o.key)){o.continuePropagation();return}o.preventDefault(),r.setDragging(true),C(true);let a;switch(o.key){case "PageUp":r.incrementY(r.yChannelPageStep),a="y";break;case "PageDown":r.decrementY(r.yChannelPageStep),a="y";break;case "Home":d==="rtl"?r.incrementX(r.xChannelPageStep):r.decrementX(r.xChannelPageStep),a="x";break;case "End":d==="rtl"?r.decrementX(r.xChannelPageStep):r.incrementX(r.xChannelPageStep),a="x";break}r.setDragging(false),a&&(b(a==="x"?t:n),x(a));}}),X={onMoveStart(){j.current=null,r.setDragging(true);},onMove({deltaX:o,deltaY:a,pointerType:$,shiftKey:G}){let{incrementX:W,decrementX:ne,incrementY:ie,decrementY:M,xChannelPageStep:E,xChannelStep:H,yChannelPageStep:ve,yChannelStep:Se,getThumbPosition:Cr,setColorFromPoint:vr}=r;j.current==null&&(j.current=Cr());let{width:Sr,height:gr}=u.current?.getBoundingClientRect()||{width:0,height:0},ge=o!==0||a!==0;if($==="keyboard"){let xe=G&&E>H?E:H,ke=G&&ve>Se?ve:Se;o>0&&d==="ltr"||o<0&&d==="rtl"?W(xe):o<0&&d==="ltr"||o>0&&d==="rtl"?ne(xe):a>0?M(ke):a<0&&ie(ke),C(ge),i=ge&&Math.abs(a)>Math.abs(o)?"y":"x",x(i);}else j.current.x+=(d==="rtl"?-1:1)*o/Sr,j.current.y+=a/gr,vr(j.current.x,j.current.y);},onMoveEnd(){I.current=false,r.setDragging(false),b(i==="x"?t:n);}},{moveProps:pr}=a$d(X),{focusWithinProps:ur}=b$3({onFocusWithinChange:o=>{o||(C(false),k$1(false));}}),N=useRef(void 0),I=useRef(false),{moveProps:sr}=a$d({onMoveStart(){I.current&&X.onMoveStart();},onMove(o){I.current&&X.onMove(o);},onMoveEnd(){I.current&&X.onMoveEnd();}}),te=o=>{let a=b$5(u.current);r.isDragging||(N.current=o,C(false),b(),r.setDragging(true),typeof PointerEvent<"u"?f(a,"pointerup",T,false):(f(a,"mouseup",T,false),f(a,"touchend",T,false)));},T=o=>{let a=b$5(u.current);(o.pointerId??o.changedTouches?.[0].identifier)===N.current&&(C(false),b(),r.setDragging(false),N.current=void 0,I.current=false,typeof PointerEvent<"u"?s(a,"pointerup",T,false):(s(a,"mouseup",T,false),s(a,"touchend",T,false)));},ae=(o,a,$,G)=>{let W=o.getBoundingClientRect(),{width:ne,height:ie}=W,M=($-W.x)/ne,E=(G-W.y)/ie;d==="rtl"&&(M=1-M);let H=b$5(u.current);M>=0&&M<=1&&E>=0&&E<=1&&!r.isDragging&&N.current===void 0&&(I.current=true,C(false),N.current=a,r.setColorFromPoint(M,E),b(),r.setDragging(true),typeof PointerEvent<"u"?f(H,"pointerup",O,false):(f(H,"mouseup",O,false),f(H,"touchend",O,false)));},O=o=>{let a=o.pointerId??o.changedTouches?.[0].identifier;if(I.current&&a===N.current){I.current=false,C(false),N.current=void 0,r.setDragging(false),b();let $=b$5(u.current);typeof PointerEvent<"u"?s($,"pointerup",O,false):(s($,"mouseup",O,false),s($,"touchend",O,false));}},cr=l?{}:c({...typeof PointerEvent<"u"?{onPointerDown:o=>{o.pointerType==="mouse"&&(o.button!==0||o.altKey||o.ctrlKey||o.metaKey)||ae(o.currentTarget,o.pointerId,o.clientX,o.clientY);}}:{onMouseDown:o=>{o.button!==0||o.altKey||o.ctrlKey||o.metaKey||ae(o.currentTarget,void 0,o.clientX,o.clientY);},onTouchStart:o=>{ae(o.currentTarget,o.changedTouches[0].identifier,o.changedTouches[0].clientX,o.changedTouches[0].clientY);}}},sr),dr=l?{}:c({...typeof PointerEvent<"u"?{onPointerDown:o=>{o.pointerType==="mouse"&&(o.button!==0||o.altKey||o.ctrlKey||o.metaKey)||te(o.pointerId);}}:{onMouseDown:o=>{o.button!==0||o.altKey||o.ctrlKey||o.metaKey||te(void 0);},onTouchStart:o=>{te(o.changedTouches[0].identifier);}}},ur,ir,pr),{focusProps:mr}=a$e({onFocus:()=>{x("x");}}),{focusProps:yr}=a$e({onFocus:()=>{x("y");}}),fe=o=>{let{target:a}=o;k$1(true),a===t.current?r.setXValue(parseFloat(a.value)):a===n.current&&r.setYValue(parseFloat(a.value));},B=g()||k(),A=r.getDisplayColor(),ze=useCallback(o=>`${V||S?y.format("colorNameAndValue",{name:A.getChannelName(o,c$1),value:A.formatChannelValue(o,c$1)}):[y.format("colorNameAndValue",{name:A.getChannelName(o,c$1),value:A.formatChannelValue(o,c$1)}),y.format("colorNameAndValue",{name:A.getChannelName(o===p?_:p,c$1),value:A.formatChannelValue(o===p?_:p,c$1)}),y.format("colorNameAndValue",{name:A.getChannelName(w,c$1),value:A.formatChannelValue(w,c$1)})].join(", ")}, ${A.getColorName(c$1)}`,[c$1,A,y,V,S,_,p,w]),R=y.format("colorPicker"),br=a$f({...e,"aria-label":m?y.format("colorInputLabel",{label:m,channelLabel:R}):R}),_r=a$f({...e,"aria-label":m?y.format("colorInputLabel",{label:m,channelLabel:R}):R}),fr=a$f({...e,"aria-label":m?`${m}, ${R}`:void 0},B?R:void 0),he=y.format("twoDimensionalSlider"),{visuallyHiddenProps:Ce}=a$g({style:{opacity:"0.0001",width:"100%",height:"100%",pointerEvents:"none"}}),{colorAreaStyleProps:zr,thumbStyleProps:hr}=Ge({direction:d,state:r,xChannel:_,yChannel:p,zChannel:w});return {colorAreaProps:{...fr,...cr,...zr,role:"group"},thumbProps:{...dr,...hr,role:"presentation"},xInputProps:{...br,...Ce,...mr,type:"range",min:r.value.getChannelRange(_).minValue,max:r.value.getChannelRange(_).maxValue,step:g$1,"aria-roledescription":he,"aria-valuetext":ze(_),"aria-orientation":"horizontal","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"],disabled:l,value:r.value.getChannelValue(_),name:v,form:h,tabIndex:B||!i||i==="x"?void 0:-1,"aria-hidden":B||!i||i==="x"||S?void 0:"true",onChange:fe},yInputProps:{..._r,...Ce,...yr,type:"range",min:r.value.getChannelRange(p).minValue,max:r.value.getChannelRange(p).maxValue,step:F,"aria-roledescription":he,"aria-valuetext":ze(p),"aria-orientation":"vertical","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"],disabled:l,value:r.value.getChannelValue(p),name:z,form:h,tabIndex:B||i==="y"?void 0:-1,"aria-hidden":B||i==="y"||S?void 0:"true",onChange:fe}}}function Ze(e,r){let{trackRef:l,inputRef:t,orientation:n,channel:u,"aria-label":m,name:v,form:z}=e,{locale:h,direction:y}=b$1();!e.label&&!m&&!e["aria-labelledby"]&&(m=r.value.getChannelName(u,h));let{groupProps:f,trackProps:s,labelProps:d,outputProps:c$1}=a$h({...e,"aria-label":m},r,l),{inputProps:i,thumbProps:x}=b$4({index:0,orientation:n,isDisabled:e.isDisabled,name:v,form:z,trackRef:l,inputRef:t},r),b=r.getDisplayColor(),S=()=>{let k;switch(n==="vertical"?k="top":y==="ltr"?k="right":k="left",u){case "hue":{let _=[0,60,120,180,240,300,360].map(p=>b.withChannelValue("hue",p).toString("css")).join(", ");return `linear-gradient(to ${k}, ${_})`}case "lightness":{let _=r.getThumbMinValue(0),p=r.getThumbMaxValue(0),w=b.withChannelValue(u,_).toString("css"),g=b.withChannelValue(u,(p-_)/2).toString("css"),F=b.withChannelValue(u,p).toString("css");return `linear-gradient(to ${k}, ${w}, ${g}, ${F})`}case "saturation":case "brightness":case "red":case "green":case "blue":case "alpha":{let _=b.withChannelValue(u,r.getThumbMinValue(0)).toString("css"),p=b.withChannelValue(u,r.getThumbMaxValue(0)).toString("css");return `linear-gradient(to ${k}, ${_}, ${p})`}default:throw new Error("Unknown color channel: "+u)}},C={forcedColorAdjust:"none"};u==="hue"?i["aria-valuetext"]+=`, ${b.getHueName(h)}`:u!=="alpha"&&(i["aria-valuetext"]+=`, ${b.getColorName(h)}`);let{visuallyHiddenProps:V}=a$g({style:{opacity:"0.0001",width:"100%",height:"100%",pointerEvents:"none"}});return {trackProps:{...c(f,s),style:{...s.style,...C,background:S()}},inputProps:{...i,style:{...i.style,...V.style}},thumbProps:{...x,style:{...x.style,...C}},labelProps:d,outputProps:c$1}}function Qe(e,r,l){let{isDisabled:t,isReadOnly:n,isRequired:u,isWheelDisabled:m,validationBehavior:v="aria"}=e,{colorValue:z,inputValue:h,increment:y,decrement:f,incrementToMax:s,decrementToMin:d,commit:c$1}=r,i=c$2(),{spinButtonProps:x}=a$i({isDisabled:t,isReadOnly:n,isRequired:u,maxValue:16777215,minValue:0,onIncrement:y,onIncrementToMax:s,onDecrement:f,onDecrementToMin:d,value:z?z.toHexInt():void 0,textValue:z?z.toString("hex"):void 0}),[b,S]=useState(false),{focusWithinProps:C}=b$3({isDisabled:t,onFocusWithinChange:S}),V=useCallback(g=>{Math.abs(g.deltaY)<=Math.abs(g.deltaX)||(g.deltaY>0?y():g.deltaY<0&&f());},[f,y]);a$j({onScroll:V,isDisabled:m||t||n||!b},l);let _=g=>{r.validate(g)&&r.setInputValue(g);},{inputProps:p,...w}=a$k({...e,id:i,value:h,defaultValue:"!",validate:void 0,[c$3]:r,type:"text",autoComplete:"off",onChange:_},r,l);return a$b(l,r.defaultColorValue,r.setColorValue),p=c(p,x,C,{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false",onBlur:c$1}),v==="native"&&(p["aria-required"]=void 0),{inputProps:p,...w}}function le(e){let{color:r,colorName:l}=e,t=r||"#fff0",n=useMemo(()=>typeof t=="string"?a$1(t):t,[t]),{locale:u}=b$1(),m=a$8(e,{labelable:true}),v=b$2(oe,"@react-aria/color"),z=c$2(e.id);return l||(l=n.getChannelValue("alpha")===0?v.format("transparent"):n.getColorName(u)),{colorSwatchProps:{...m,role:"img","aria-roledescription":v.format("colorSwatch"),"aria-label":[l,e["aria-label"]||""].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]?`${z} ${e["aria-labelledby"]}`:void 0,id:z,style:{backgroundColor:n.toString("css"),forcedColorAdjust:"none"}},color:n||null}}var rl="_1dbkl53 _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6m3",ol="_1dbkl5e",ll=a({defaultClassName:"_1dbkl54 _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj _1yep5z6me _1yep5z6m6 _1yep5z69i _1yep5z69j _1yep5z69k _1yep5z6ey _1yep5z6m5 _1yep5z6dy",variantClassNames:{isHovered:{true:"_1dbkl55"},isFocusVisible:{true:"_1dbkl56"},isDisabled:{true:"z9nup82 _1yep5z611l"},labelPosition:{top:"_1dbkl58",start:"_1dbkl59"}},defaultVariants:{},compoundVariants:[]}),tl="_1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z6kz _1yep5z6l0 _1yep5z6l1",al=a({defaultClassName:"_1dbkl50 _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6dy _1yep5z6ez",variantClassNames:{labelPosition:{top:"_1yep5z6oy _1yep5z6oz _1yep5z6p0",start:"_1dbkl52"}},defaultVariants:{},compoundVariants:[]}),nl="_1dbkl5l _1yep5z6je _1yep5z6jf _1yep5z6jg _1yep5z69f _1yep5z69g _1yep5z69h",il="_1dbkl5f z9nup86",pl="_1dbkl5m _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6it _1yep5z6iu _1yep5z6iv",er="_1dbkl5k _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6m6",ul="_1yep5z63r _1yep5z63s _1yep5z63t _1yep5z619 _1yep5z61a _1yep5z61b _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj _1yep5z6kz _1yep5z6l0 _1yep5z6l1 _1yep5z6dy _1yep5z6ez _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6jz _1yep5z6k0 _1yep5z6k1",sl=a({defaultClassName:"_1dbkl5h _1dbkl5g _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6g9",variantClassNames:{includesCustomColorPicker:{true:"_1yep5z6nm _1yep5z6nn _1yep5z6no"}},defaultVariants:{},compoundVariants:[]}),cl="_1dbkl5v _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj",dl=a({defaultClassName:"_1dbkl5q _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6br _1yep5z6bs _1yep5z6bt _1yep5z6d3 _1yep5z6d4 _1yep5z6d5 _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z6mf _1yep5z6hg _1yep5z6m6 _1yep5z6ey _1yep5z6dy",variantClassNames:{isFocused:{true:"_1dbkl5r _1yep5z613w"},isHovered:{true:"_1dbkl5s"},allowAlpha:{false:"_1yep5z6xp _1yep5z6xq _1yep5z6xr _1yep5z6z1 _1yep5z6z2 _1yep5z6z3 _1yep5z618m"}},defaultVariants:{},compoundVariants:[[{isHovered:true,isFocused:false},"_1yep5z61qj"]]}),ml=a({defaultClassName:"_1dbkl5a _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62c _1yep5z62d _1yep5z62e _1yep5z63i _1yep5z63j _1yep5z63k _1yep5z616 _1yep5z617 _1yep5z618 _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jk _1yep5z6jl _1yep5z6jm _1yep5z69c _1yep5z69d _1yep5z69e _1yep5z6f9 _1yep5z6m5 _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z6lq _1yep5z6lt",variantClassNames:{isHovered:{true:"_1yep5z612u"},isFocusVisible:{true:"_1yep5z618s _1yep5z618q _1yep5z618t _1yep5z614w"},isDisabled:{true:"_1yep5z611u"}},defaultVariants:{},compoundVariants:[]}),yl="_1dbkl5g",bl="_1dbkl5u",_l="_1dbkl5j _1yep5z69 _1yep5z6a _1yep5z6b _1yep5z62l _1yep5z62m _1yep5z62n _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jk _1yep5z6jl _1yep5z6jm _1yep5z69f _1yep5z69g _1yep5z69h",fl="_1dbkl5x",zl="_1dbkl5w",hl="_1yep5z69 _1yep5z6a _1yep5z6b _1yep5z62l _1yep5z62m _1yep5z62n _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jk _1yep5z6jl _1yep5z6jm _1yep5z69l _1yep5z69m _1yep5z69n",Cl=a({defaultClassName:"_1dbkl5n _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6ma _1yep5z6iw _1yep5z6ix _1yep5z6iy _1yep5z6mf _1yep5z6mi",variantClassNames:{isFocusVisible:{true:"_1dbkl5o _1yep5z618q _1yep5z614w _1yep5z618s"}},defaultVariants:{},compoundVariants:[]}),vl="z9nup83 z9nup85 _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6lw _1yep5z6lx _1yep5z6lz _1yep5z6ly _1yep5z6iw _1yep5z6ix _1yep5z6iy";var Al=[{id:"hex",label:"HEX"},{id:"rgb",label:"RGB"}],$l=a$1("#000000").toFormat("hsla"),me="hsla",ye="hexa";function Dr(e){let r=document.createElement("canvas").getContext("2d");return a$l(r,"Failed to get canvas context"),r.fillStyle=e,r.fillStyle}function Ll(e){if(typeof e=="string")try{return a$1(e).toFormat(me)}catch{return a$1(Dr(e)).toFormat(me)}else if(e)return e.toFormat(me);return null}function Dl(e,r){return e?.getChannelValue("alpha")?r?.toString(ye)===e.toString(ye):!r?.getChannelValue("alpha")}function Vl(e,r,l){return r?.label?r.label:e?.getChannelValue("alpha")===0?l:e?.toString("rgba")}var be="NONE";function Il(e,r){let l=r?.map(n=>({id:a$1(n.color).toString(ye),label:n.label}))||[],t={id:be,label:e};return [...l,t]}var jl=(e,{optionProps:r,isFocusVisible:l,isSelected:t},n)=>(a$l(e.value&&"label"in e.value,"Item must have label"),jsx("li",{...r,ref:n,className:er,children:jsx(_e,{color:e.value.id,isFocusVisible:l,isSelected:t,"aria-label":e.value.label,isInteractive:true})})),or=(e,r=4)=>{let l=e.getChannelValue("alpha")===0,t=`repeating-conic-gradient(transparent 0% 25%, ${themeVars.color.background.secondary.medium} 25% 50%)`;return {backgroundImage:l?t:`linear-gradient(${e.toString("hexa")}, ${e.toString("hexa")}), ${t}`,backgroundSize:`${r}px ${r}px`}};var lr=a({defaultClassName:"_1344e9q0 _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6it _1yep5z6iu _1yep5z6iv _1yep5z6m0 _1yep5z6is _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z6kt _1yep5z6ku _1yep5z6kv z9nup8a",variantClassNames:{isFocusVisible:{true:"_1344e9q1"},isDisabled:{true:"_1344e9q2"},removeBlendMode:{true:"_1344e9q3"},isSelected:{true:"_1yep5z618s _1yep5z618q _1yep5z614w _1yep5z618v"},isHovered:{true:"_1344e9q5"}},defaultVariants:{},compoundVariants:[[{isSelected:false,isFocusVisible:true},"_1344e9q6"],[{isSelected:true,isFocusVisible:true},"_1344e9q7 _1yep5z61vb _1yep5z61v9 _1yep5z61rf _1yep5z61ve"],[{isSelected:true,isDisabled:true},"_1yep5z61vb _1yep5z61v9 _1yep5z61rf _1yep5z61ve _1yep5z61rp"],[{isHovered:true,isSelected:false},"_1yep5z61ve _1yep5z61vb _1yep5z61v9 _1yep5z61rj"]]}),tr="_1yep5z6fa",ar="_1344e9q9 _1yep5z6fp";var _e=Ir.forwardRef(({color:e$1,isFocusVisible:r,isSelected:l,isInteractive:t,isDisabled:n,style:u,className:m,id:v,tooltip:z,isIndeterminate:h,indeterminateIcon:y=HelpIcon,noneLabel:f,"data-block-id":s,"data-block-class":d,...c$1},i)=>{let x=e$1&&e$1!==be&&(typeof e$1=="string"?a$1(e$1):e$1),{formatMessage:b$1}=b(),S=!x,{colorSwatchProps:C}=le({color:S?"#000000":e$1}),{hoverProps:V,isHovered:k}=a$2({isDisabled:n||!t}),_=a$3({"data-focus-visible":r,"data-selected":l,"data-hovered":k,"data-block-id":s,"data-block-class":d,"data-disabled":n,"data-interactive":t,"data-indeterminate":h}),p=S?f??b$1(nr.none):C["aria-label"],w=c$1["aria-label"]??p,{tooltipProps:g}=a$4({tooltip:z,label:w}),F=jsx("div",{...c(V,_,S?{}:C),style:u,"aria-label":S?f??b$1(nr.none):C["aria-label"],role:"img",className:a$6(lr({removeBlendMode:S,isFocusVisible:r,isDisabled:!!n,isSelected:!!l,isHovered:k}),"BaselineUI-ColorSwatch",m),ref:i,id:v,...c$1,children:jsxs(a$5,{display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"full",height:"full",width:"full",opacity:n?"medium":void 0,style:x&&!h?or(x,4):void 0,children:[S&&!h?jsx("div",{className:ar}):null,h&&y?jsx(y,{role:"presentation",size:16,className:tr,"aria-hidden":"true"}):null]})});return g&&!n?jsx(a$7,{...g,children:jsx(e,{children:F})}):F});_e.displayName="ColorSwatch";var nr=c$1({none:{id:"bui.colorSwatch.none",defaultMessage:"None"}});export{me as A,ye as B,Ll as C,Dl as D,Vl as E,be as F,Il as G,jl as H,_e as I,Je as a,Qe as b,Ze as c,rl as d,ol as e,ll as f,tl as g,al as h,nl as i,il as j,pl as k,ul as l,sl as m,cl as n,dl as o,ml as p,yl as q,bl as r,_l as s,fl as t,zl as u,hl as v,Cl as w,vl as x,Al as y,$l as z};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a as a$2}from'./chunk-GEZGEZAP.mjs';import {a as a$4}from'./chunk-
|
|
1
|
+
import {a as a$2}from'./chunk-GEZGEZAP.mjs';import {a as a$4}from'./chunk-TDPODC62.mjs';import {g,e,h,a as a$1,i,c}from'./chunk-YVYMYKYN.mjs';import {b as b$1}from'./chunk-246VHB32.mjs';import {b}from'./chunk-N2XGJKZG.mjs';import {a}from'./chunk-66CUIXA6.mjs';import {a as a$3}from'./chunk-4QEH5CGK.mjs';import {useGranularEffect}from'granular-hooks';import P,{useCallback,useImperativeHandle}from'react';import {jsx}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'./chunk-
|
|
1
|
+
import {a}from'./chunk-UCZZLAPB.mjs';import {e}from'./chunk-5TDFLLMX.mjs';import {t}from'./chunk-SMAYNDQQ.mjs';import {a as a$1}from'./chunk-4QEH5CGK.mjs';import {jsx}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {c}from'./chunk-
|
|
1
|
+
import {c}from'./chunk-ZNN43VZV.mjs';import {b,c as c$1,a as a$1}from'./chunk-RBZ7SIZR.mjs';import {a}from'./chunk-4QEH5CGK.mjs';import {CheckmarkIcon,MinusIcon}from'@baseline-ui/icons/12';import P from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'./chunk-
|
|
1
|
+
import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$1}from'./chunk-4QEH5CGK.mjs';import {AvatarIcon as AvatarIcon$1}from'@baseline-ui/icons/16';import {AvatarIcon}from'@baseline-ui/icons/24';import C from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a as a$2}from'./chunk-
|
|
1
|
+
import {a as a$2}from'./chunk-YCI6BEXQ.mjs';import {c,d,e,f,i,g,h as h$1}from'./chunk-N7MTFSWR.mjs';import {a as a$4}from'./chunk-UCZZLAPB.mjs';import {l,t}from'./chunk-SMAYNDQQ.mjs';import {a as a$3}from'./chunk-AZRPXTYJ.mjs';import {b,c as c$1}from'./chunk-GX2IOGYR.mjs';import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$1}from'./chunk-4QEH5CGK.mjs';import {CaretDownIcon}from'@baseline-ui/icons/12';import p from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -7,4 +7,4 @@ import {a as a$2}from'./chunk-M5RHKLTU.mjs';import {c,d,e,f,i,g,h as h$1}from'./
|
|
|
7
7
|
* This notice may not be removed from this file.
|
|
8
8
|
*
|
|
9
9
|
*/
|
|
10
|
-
var R=a({defaultClassName:"_1enn18vd _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h
|
|
10
|
+
var R=a({defaultClassName:"_1enn18vd _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6m6",variantClassNames:{isFocusVisible:{true:"_1yep5z614w _1yep5z618s _1yep5z618q _1yep5z618t"}},defaultVariants:{},compoundVariants:[]}),z=a({defaultClassName:"_1enn18v2 _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6dw _1yep5z6f1 _1yep5z6g9 _1yep5z6m6",variantClassNames:{allowsSorting:{true:"_1enn18v3"},isFocusVisible:{true:"_1yep5z614w _1yep5z618s _1yep5z618q _1yep5z618t"}},defaultVariants:{},compoundVariants:[]}),I=a({defaultClassName:"_1enn18vi _1yep5z6m8 _1yep5z6m7 _1yep5z6is _1yep5z6lq",variantClassNames:{isDropTarget:{true:"_1yep5z614w"}},defaultVariants:{},compoundVariants:[]}),w=a({defaultClassName:"_1enn18v8 _1yep5z6m6 _1yep5z6lt _1yep5z6lq",variantClassNames:{isHovered:{true:"_1yep5z612t"},isSelected:{true:"_1yep5z612u"},isFocusVisible:{true:"_1yep5z614w _1yep5z618s _1yep5z618q _1yep5z618t"},isDisabled:{true:"_1enn18vc"}},defaultVariants:{},compoundVariants:[]}),P=a({defaultClassName:"_1enn18vf",variantClassNames:{sortDirection:{ascending:"_1enn18vg",descending:"_1enn18vh"}},defaultVariants:{},compoundVariants:[]}),B="_1enn18v5",E="_1enn18v0",H="_1enn18v1",S="_1enn18v6",h="_1enn18v7";var L=p.forwardRef(({className:e,style:r,...a},t)=>jsx(c,{ref:t,className:o=>a$1(typeof e=="function"?e(o):e,E,"BaselineUI-Table"),style:r,...a}));L.displayName="Table";var M=p.forwardRef(({className:e,style:r,...a},t)=>jsx(d,{ref:t,className:o=>a$1(typeof e=="function"?e(o):e,H,"BaselineUI-TableHeader"),style:r,...a}));M.displayName="TableHeader";var A=p.forwardRef(({className:e$1,style:r,children:a,...t},o)=>jsx(e,{ref:o,className:n=>a$1(typeof e$1=="function"?e$1(n):e$1,z({allowsSorting:n.allowsSorting,isFocusVisible:n.isFocusVisible}),"BaselineUI-Column"),style:r,...t,children:n=>jsxs(Fragment,{children:[typeof a=="function"?a(n):a,n.allowsSorting&&n.sortDirection?jsx(CaretDownIcon,{className:P({sortDirection:n.sortDirection}),"aria-hidden":"true"}):null]})}));A.displayName="Column";var V=p.forwardRef(({children:e,className:r,dependencies:a,isLoading:t,items:o,onLoadMore:n,scrollOffset:O,loadingLabel:k,style:q,...j},K)=>{let{formatMessage:G}=b();return process.env.NODE_ENV!=="production"&&t&&!n&&console.warn("[Baseline UI] TableBody: `isLoading` is set but `onLoadMore` is not provided. The loading spinner will not be displayed. Either provide `onLoadMore` or remove `isLoading`."),jsxs(f,{ref:K,className:J=>a$1(typeof r=="function"?r(J):r,B,"BaselineUI-TableBody"),style:q,...j,children:[o&&typeof e=="function"?jsx(l,{items:o,dependencies:a,children:e}):typeof e=="function"?null:e,n?jsx(i,{className:a$1(S,"BaselineUI-TableLoadMoreItem"),isLoading:t,onLoadMore:n,scrollOffset:O,children:t?jsx("div",{className:a$1(h,"BaselineUI-TableLoadMoreItemContent"),children:jsx(a$2,{"aria-label":k??G(W.loading),size:"sm"})}):null}):null]})});V.displayName="TableBody";var N=p.forwardRef(({className:e,style:r,...a},t)=>jsx(g,{ref:t,className:o=>a$1(typeof e=="function"?e(o):e,w({isHovered:o.isHovered,isSelected:o.isSelected,isFocusVisible:o.isFocusVisible,isDisabled:o.isDisabled}),"BaselineUI-Row"),style:r,...a}));N.displayName="Row";var F=p.forwardRef(({className:e,style:r,...a},t)=>jsx(h$1,{ref:t,className:o=>a$1(typeof e=="function"?e(o):e,R({isFocusVisible:o.isFocusVisible}),"BaselineUI-Cell"),style:r,...a}));F.displayName="Cell";var W=c$1({loading:{defaultMessage:"Loading",id:"bui.table.loading"}});function Y(e){let{scrollRef:r,...a}=e;return a$3({ref:r??{current:null},isDisabled:!r}),a$4({getItems:t=>[...t].map(o=>({"text/plain":String(o)})),renderDropIndicator(t$1){return jsx(t,{target:t$1,className:({isDropTarget:o})=>a$1(I({isDropTarget:o}),"BaselineUI-DropIndicator")})},...a})}export{L as a,M as b,A as c,V as d,N as e,F as f,Y as g};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {b as b$1}from'./chunk-
|
|
1
|
+
import {b as b$1}from'./chunk-WWSGOGLA.mjs';import {b}from'./chunk-RCBUNCHV.mjs';import {e,c,h}from'./chunk-B7PSE5KC.mjs';import {a as a$1}from'./chunk-K6X2BHPP.mjs';import {a}from'./chunk-3FYY26ED.mjs';import {a as a$2}from'./chunk-RT4LMB6X.mjs';import {c as c$1}from'./chunk-TZ4MVY4E.mjs';import {a as a$3}from'./chunk-KEVERVHK.mjs';import {g}from'./chunk-AUOQSTS5.mjs';import {createContext,forwardRef}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {b}from'./chunk-
|
|
1
|
+
import {b}from'./chunk-246VHB32.mjs';import {c}from'./chunk-OC42IZG2.mjs';import {a}from'./chunk-USMC34OO.mjs';import {useMemo}from'react';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a as a$1}from'./chunk-O7XK2WIX.mjs';import {a}from'./chunk-
|
|
1
|
+
import {a as a$1}from'./chunk-O7XK2WIX.mjs';import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$2}from'./chunk-4QEH5CGK.mjs';import {XIcon,CheckmarkIcon,CircleFilledIcon,ErrorCircleIcon,WarningIcon}from'@baseline-ui/icons/16';import {themeVars}from'@baseline-ui/tokens';import h from'react';import {jsx,jsxs}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -7,4 +7,4 @@ import {a as a$1}from'./chunk-O7XK2WIX.mjs';import {a}from'./chunk-CU5BPUSO.mjs'
|
|
|
7
7
|
* This notice may not be removed from this file.
|
|
8
8
|
*
|
|
9
9
|
*/
|
|
10
|
-
var x="_1w6k5xli";var y=a({defaultClassName:"_1w6k5xl1
|
|
10
|
+
var x="_1w6k5xli";var y=a({defaultClassName:"_1w6k5xl1 _1yep5z6mh _1yep5z6mf _1yep5z6g9 _1yep5z6hf",variantClassNames:{variant:{active:"_1w6k5xl2",warning:"_1w6k5xl3",error:"_1w6k5xl4",denied:"_1w6k5xl5",success:"_1w6k5xl6","active-tinted":"_1yep5z6190 _1yep5z612l _1yep5z613s","warning-tinted":"_1yep5z6190 _1yep5z612g _1yep5z613n","error-tinted":"_1yep5z6190 _1yep5z6126 _1yep5z613d","denied-tinted":"_1yep5z6190 _1yep5z612v _1yep5z613z","success-tinted":"_1yep5z6190 _1yep5z612b _1yep5z613i"}},defaultVariants:{},compoundVariants:[]}),f=a({defaultClassName:"_1w6k5xlc",variantClassNames:{variant:{active:"_1yep5z611d",warning:"_1yep5z6118",error:"_1yep5z610y",denied:"_1yep5z611h",success:"_1yep5z6113"}},defaultVariants:{},compoundVariants:[]}),o="_1w6k5xlk",_="_1w6k5xlj";var {support:l,icon:u}=themeVars.color,D={warning:jsx(WarningIcon,{size:16,color:l.warning.strong}),error:jsx(ErrorCircleIcon,{size:16,color:l.error.strong}),active:jsx(a$1,{padding:"xs",display:"flex",alignItems:"center",children:jsx(CircleFilledIcon,{size:16,color:u.interactive.enabled,className:x})}),success:jsx(CheckmarkIcon,{size:16,color:l.success.strong}),denied:jsx(XIcon,{size:16,color:u.primary})},C=h.forwardRef(({className:w,style:z,variant:s="active",icon:c,title:n,description:m,renderTrailingElement:g,shouldTruncateTitle:r},k)=>{let d=f({variant:s.split("-")[0]});return jsxs(a$1,{padding:"lg",display:"flex",flexDirection:"row",gap:"md",width:"full",alignItems:"center",borderRadius:"sm",className:a$2(y({variant:s}),"BaselineUI-StatusCard",w),style:z,ref:k,children:[jsxs(a$1,{display:"flex",alignItems:"center",flexDirection:"row",gap:"md",flex:1,className:r?o:void 0,children:[jsx(a$1,{display:"flex",padding:"xs",alignItems:"center",flexShrink:0,className:"BaselineUI-StatusCard-Icon",children:c?jsx(c,{className:d,size:16}):D[s.split("-")[0]]}),jsxs(a$1,{display:"flex",flexDirection:"column",gap:"sm",className:r?o:void 0,children:[jsx(a$1,{typography:"label.md.medium",elementType:"h4",color:"text.primary",className:a$2("BaselineUI-StatusCard-Title",r&&_),children:r?jsx("span",{title:n,children:n}):n}),m?jsx(a$1,{typography:"label.sm.regular",elementType:"span",className:a$2(d,"BaselineUI-StatusCard-Description"),children:m}):null]})]}),g?.()]})});C.displayName="StatusCard";export{D as a,C as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a as a$1}from'./chunk-CFLEBB5T.mjs';import {c}from'./chunk-
|
|
1
|
+
import {a as a$1}from'./chunk-CFLEBB5T.mjs';import {c}from'./chunk-WRQ4FPJE.mjs';import {a as a$2}from'./chunk-RSKKEGJZ.mjs';import {b,c as c$1}from'./chunk-TZ4MVY4E.mjs';import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$3}from'./chunk-4QEH5CGK.mjs';import C from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -7,4 +7,4 @@ import {a as a$1}from'./chunk-CFLEBB5T.mjs';import {c}from'./chunk-ZYHMJU5D.mjs'
|
|
|
7
7
|
* This notice may not be removed from this file.
|
|
8
8
|
*
|
|
9
9
|
*/
|
|
10
|
-
var f=a({defaultClassName:"_5uw3kp0 oom8bs0 z9nup81",variantClassNames:{isHovered:{true:"_5uw3kp1"},isFocusVisible:{true:"_5uw3kp2"},isDisabled:{true:"_5uw3kp3"},isSelected:{true:"_5uw3kp4"},size:{sm:"_5uw3kp5",md:"_5uw3kp6",lg:"_5uw3kp7"},variant:{primary:"_5uw3kp8",toolbar:"_5uw3kp9"}},defaultVariants:{},compoundVariants:[[{isSelected:true,isFocusVisible:true},"_5uw3kpa"],[{isSelected:true,isDisabled:true},"_5uw3kpb"],[{variant:"primary",size:"lg"},"_5uw3kpc"]]}),k=a({defaultClassName:"_5uw3kpd
|
|
10
|
+
var f=a({defaultClassName:"_5uw3kp0 oom8bs0 z9nup81",variantClassNames:{isHovered:{true:"_5uw3kp1"},isFocusVisible:{true:"_5uw3kp2"},isDisabled:{true:"_5uw3kp3"},isSelected:{true:"_5uw3kp4"},size:{sm:"_5uw3kp5",md:"_5uw3kp6",lg:"_5uw3kp7"},variant:{primary:"_5uw3kp8",toolbar:"_5uw3kp9"}},defaultVariants:{},compoundVariants:[[{isSelected:true,isFocusVisible:true},"_5uw3kpa"],[{isSelected:true,isDisabled:true},"_5uw3kpb"],[{variant:"primary",size:"lg"},"_5uw3kpc"]]}),k=a({defaultClassName:"_5uw3kpd _1yep5z6f9",variantClassNames:{isDisabled:{true:"_1yep5z611u"},isSelected:{true:"_1yep5z611w"}},defaultVariants:{},compoundVariants:[]});var z={sm:16,md:20,lg:24},v=C.forwardRef(({className:t,style:a,iconStart:i,size:u="md",elementType:w="button",variant:_="toolbar",...e},y)=>{let o=a$1(e),{buttonProps:h,isPressed:x,ref:B,isFocusVisible:s,isFocused:T,isHovered:l,uiStateOptions:n}=c(e,o),S=a$2({"data-block-id":e["data-block-id"],"data-block-class":e["data-block-class"],"data-focused":T,"data-focus-visible":s,"data-disabled":e.isDisabled,"data-hovered":l,"data-pressed":x,"data-selected":o.isSelected});return jsxs(w,{...c$1(h,S),className:a$3(f({isHovered:l,isFocusVisible:s,isSelected:o.isSelected,size:u,isDisabled:e.isDisabled,variant:_}),"BaselineUI-ToggleButton",typeof t=="function"?t(n):t),style:typeof a=="function"?a(n):a,ref:b(B,y),children:[i?jsx(i,{size:z[u],className:k({isDisabled:e.isDisabled,isSelected:o.isSelected})}):null,e.label]})});v.displayName="ToggleButton";export{f as a,v as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'./chunk-TDXALNX3.mjs';import {c}from'./chunk-KUEDQO7P.mjs';import {f as f$2}from'./chunk-6IRWW75G.mjs';import {b as b$2,a as a$5}from'./chunk-MVK5CB64.mjs';import {b as b$1}from'./chunk-YB3KW7JC.mjs';import {a as a$4}from'./chunk-3W6RWDIE.mjs';import {g}from'./chunk-MRJFGHFW.mjs';import {a as a$3}from'./chunk-
|
|
1
|
+
import {a}from'./chunk-TDXALNX3.mjs';import {c}from'./chunk-KUEDQO7P.mjs';import {f as f$2}from'./chunk-6IRWW75G.mjs';import {b as b$2,a as a$5}from'./chunk-MVK5CB64.mjs';import {b as b$1}from'./chunk-YB3KW7JC.mjs';import {a as a$4}from'./chunk-3W6RWDIE.mjs';import {g}from'./chunk-MRJFGHFW.mjs';import {a as a$3}from'./chunk-TZ4MVY4E.mjs';import {a as a$1}from'./chunk-JDLUGVXG.mjs';import {a as a$2,f as f$1,g as g$1,b as b$3}from'./chunk-AUOQSTS5.mjs';import {useRef,useEffect}from'react';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {b as b$1}from'./chunk-
|
|
1
|
+
import {b as b$1}from'./chunk-JJPCZOOI.mjs';import {a as a$1}from'./chunk-2UUKKXBD.mjs';import {a}from'./chunk-ZGRRD3TU.mjs';import {b}from'./chunk-N2XGJKZG.mjs';import {c}from'./chunk-TZ4MVY4E.mjs';import {a as a$2}from'./chunk-4QEH5CGK.mjs';import {MotionConfig,MotionGlobalConfig}from'motion/react';export{MotionGlobalConfig as f}from'motion/react';import {lightTheme,themes,themeVars}from'@baseline-ui/tokens';import {assignInlineVars}from'@vanilla-extract/dynamic';import J,{createContext,useMemo,useEffect,useState}from'react';import {jsx}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a as a$1}from'./chunk-FXCHST4Z.mjs';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
var t="uf19bsf _1yep5z6lq",a=a$1({defaultClassName:"uf19bs0 _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6f9 _1yep5z6m5 _1yep5z6jb _1yep5z6jc _1yep5z6jd _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z6kt _1yep5z6ku _1yep5z6kv _1yep5z6m0 z9nup8a",variantClassNames:{size:{xxs:"uf19bs1",xs:"uf19bs2",sm:"uf19bs3",md:"uf19bs4",lg:"uf19bs5 _1yep5z6x4 _1yep5z6x5 _1yep5z6x6 _1yep5z6xs _1yep5z6xt _1yep5z6xu _1yep5z6yg _1yep5z6yh _1yep5z6yi _1yep5z6z4 _1yep5z6z5 _1yep5z6z6"},isHovered:{true:"uf19bs6"},isDisabled:{true:"uf19bs7 _1yep5z611u"},isFocusVisible:{true:"uf19bs8"},variant:{primary:"uf19bs9",secondary:"uf19bsa",tertiary:"uf19bsb",ghost:"uf19bsc",toolbar:"uf19bsd _1yep5z6xm _1yep5z6xn _1yep5z6xo _1yep5z6ya _1yep5z6yb _1yep5z6yc _1yep5z6yy _1yep5z6yz _1yep5z6z0 _1yep5z6zm _1yep5z6zn _1yep5z6zo",popover:"uf19bse _1yep5z6q7 _1yep5z6q8 _1yep5z6q9 _1yep5z6nv _1yep5z6nw _1yep5z6nx _1yep5z6mm _1yep5z6mn _1yep5z6mo _1yep5z6oy _1yep5z6oz _1yep5z6p0 _1yep5z6w7 _1yep5z6w8 _1yep5z6w9"}},defaultVariants:{},compoundVariants:[[{variant:"toolbar",isHovered:true,isFocusVisible:false},"_1yep5z61pd"],[{variant:"primary",isHovered:true,isFocusVisible:false},"_1yep5z61pd"],[{variant:"secondary",isHovered:true,isFocusVisible:false},"_1yep5z61oc"],[{variant:"tertiary",isHovered:true,isFocusVisible:false},"_1yep5z61ob _1yep5z61pd"],[{variant:"ghost",isHovered:true,isFocusVisible:false},"_1yep5z61oh"],[{variant:"popover",isHovered:true,isFocusVisible:false},"_1yep5z61ri _1yep5z61v9 _1yep5z61vd _1yep5z61va"],[{variant:"ghost",isDisabled:false},"_1yep5z61og"],[{variant:"popover",size:"lg"},"_1yep5z61jk _1yep5z61jl _1yep5z61jm _1yep5z61k8 _1yep5z61k9 _1yep5z61ka _1yep5z61kw _1yep5z61kx _1yep5z61ky _1yep5z61lk _1yep5z61ll _1yep5z61lm"]]});export{t as a,a as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a as a$1}from'./chunk-
|
|
1
|
+
import {a as a$1}from'./chunk-OAY74XPB.mjs';import {a as a$4}from'./chunk-SNQDFFKP.mjs';import {a as a$6}from'./chunk-NSC53QWT.mjs';import {b,c as c$1}from'./chunk-GX2IOGYR.mjs';import {a as a$3}from'./chunk-O7XK2WIX.mjs';import {a as a$5}from'./chunk-TVENHRYC.mjs';import {d}from'./chunk-JJPCZOOI.mjs';import {a as a$2}from'./chunk-K6X2BHPP.mjs';import {b as b$1,c}from'./chunk-TZ4MVY4E.mjs';import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$7}from'./chunk-4QEH5CGK.mjs';import {XIcon}from'@baseline-ui/icons/20';import g from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -7,4 +7,4 @@ import {a as a$1}from'./chunk-7OIRTFPV.mjs';import {a as a$4}from'./chunk-INE3ES
|
|
|
7
7
|
* This notice may not be removed from this file.
|
|
8
8
|
*
|
|
9
9
|
*/
|
|
10
|
-
var _=a({defaultClassName:"siobe20 _1yep5z6ao _1yep5z6ap _1yep5z6aq _1yep5z6bc _1yep5z6bd _1yep5z6be _1yep5z6d7
|
|
10
|
+
var _=a({defaultClassName:"siobe20 _1yep5z6ao _1yep5z6ap _1yep5z6aq _1yep5z6bc _1yep5z6bd _1yep5z6be _1yep5z6d7 _1yep5z6mh _1yep5z6mf _1yep5z6hg _1yep5z6m6 _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jk _1yep5z6jl _1yep5z6jm",variantClassNames:{background:{subtle:"_1yep5z612s",medium:"_1yep5z612t"},isFocusVisible:{true:"_1yep5z618q _1yep5z618s _1yep5z618t _1yep5z614w"}},defaultVariants:{},compoundVariants:[]}),w="siobe24";var v=g.forwardRef(({className:x,style:h,children:D,background:t="medium",title:C,action:i,"data-block-id":k,"data-block-class":N,onCloseRequest:P,contentStyle:R,contentClassName:B,closeLabel:j,...I},F)=>{let{formatMessage:M}=b(),p=g.useRef(null),{dialogProps:V,titleProps:T}=a$1(I,p),{focusProps:q,isFocusVisible:L}=a$2();return jsxs("div",{...c(V,q),className:a$7(_({background:t,isFocusVisible:L}),"BaselineUI-Drawer",x),"data-block-id":k,"data-block-class":N,style:h,ref:b$1(F,p),children:[jsxs(a$3,{paddingLeft:"lg",paddingRight:"sm",backgroundColor:"background.primary.subtle",display:"flex",justifyContent:"space-between",alignItems:"center",gap:"lg",className:w,children:[jsx(a$4,{type:"title",size:"sm",...T,className:d,children:C}),jsxs(a$3,{children:[i?jsx(a$5,{...i,variant:"secondary"}):null,jsx(a$5,{variant:"secondary",size:"md",icon:XIcon,onPress:P,"aria-label":j??M(A.close)})]})]}),jsx(a$6,{variant:t==="subtle"?"primary":"secondary"}),jsx(a$3,{display:"flex",flexDirection:"column",flex:1,style:{overflow:"auto",...R},className:a$7(B,"BaselineUI-Drawer-Content"),children:D})]})});v.displayName="Drawer";var A=c$1({close:{id:"bui.drawer.close",defaultMessage:"Close"}});export{v as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a as a$4,d as d$1,c as c$3,b as b$4}from'./chunk-I3YGB2BE.mjs';import {b as b$3}from'./chunk-WL27JGVG.mjs';import {d,g,b}from'./chunk-
|
|
1
|
+
import {a as a$4,d as d$1,c as c$3,b as b$4}from'./chunk-I3YGB2BE.mjs';import {b as b$3}from'./chunk-WL27JGVG.mjs';import {d,g,b}from'./chunk-B7PSE5KC.mjs';import {b as b$2,a as a$7,e as e$1}from'./chunk-6IRWW75G.mjs';import {a as a$6}from'./chunk-D3IZ4HBL.mjs';import {a as a$5}from'./chunk-RXSYDMT6.mjs';import {a}from'./chunk-X3AXUU3H.mjs';import {c as c$2,e}from'./chunk-Y4DRSGEJ.mjs';import {a as a$3}from'./chunk-RT4LMB6X.mjs';import {g as g$1,k,t}from'./chunk-MRJFGHFW.mjs';import {c,b as b$1}from'./chunk-TZ4MVY4E.mjs';import {c as c$1,a as a$2}from'./chunk-JDLUGVXG.mjs';import {f,a as a$1,g as g$2,h}from'./chunk-AUOQSTS5.mjs';import {createContext,useRef,useState,useEffect,useCallback,useMemo}from'react';import {jsx}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|