@baseline-ui/core 2.2.0 → 3.0.0
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.css +10 -0
- package/dist/Accordion.mjs +1 -0
- package/dist/ActionButton.css +10 -0
- package/dist/ActionButton.mjs +1 -0
- package/dist/ActionGroup.css +10 -0
- package/dist/ActionGroup.mjs +1 -0
- package/dist/ActionIconButton.css +10 -0
- package/dist/ActionIconButton.mjs +1 -0
- package/dist/Actionable.css +10 -0
- package/dist/Actionable.mjs +1 -0
- package/dist/AlertDialog.css +10 -0
- package/dist/AlertDialog.mjs +1 -0
- package/dist/AudioPlayer.css +10 -0
- package/dist/AudioPlayer.mjs +1 -0
- package/dist/Avatar.css +10 -0
- package/dist/Avatar.mjs +1 -0
- package/dist/Box.mjs +1 -0
- package/dist/ButtonSelect.css +10 -0
- package/dist/ButtonSelect.mjs +1 -0
- package/dist/Calendar.css +10 -0
- package/dist/Calendar.mjs +1 -0
- package/dist/Checkbox.css +10 -0
- package/dist/Checkbox.mjs +1 -0
- package/dist/Code.css +10 -0
- package/dist/Code.mjs +1 -0
- package/dist/ColorInput.css +10 -0
- package/dist/ColorInput.mjs +1 -0
- package/dist/ColorSwatch.css +10 -0
- package/dist/ColorSwatch.mjs +1 -0
- package/dist/ColorSwatchPicker.css +10 -0
- package/dist/ColorSwatchPicker.mjs +1 -0
- package/dist/ComboBox.css +10 -0
- package/dist/ComboBox.mjs +1 -0
- package/dist/DateField.css +10 -0
- package/dist/DateField.mjs +1 -0
- package/dist/DateFormat.mjs +1 -0
- package/dist/DeviceProvider.mjs +1 -0
- package/dist/Dialog.css +10 -0
- package/dist/Dialog.mjs +1 -0
- package/dist/Disclosure.css +10 -0
- package/dist/Disclosure.mjs +1 -0
- package/dist/DomNodeRenderer.mjs +1 -0
- package/dist/Drawer.css +10 -0
- package/dist/Drawer.mjs +1 -0
- package/dist/Editor.css +10 -0
- package/dist/Editor.mjs +1 -0
- package/dist/FileInput.css +10 -0
- package/dist/FileInput.mjs +1 -0
- package/dist/FileList.css +10 -0
- package/dist/FileList.mjs +1 -0
- package/dist/FileUploader.css +10 -0
- package/dist/FileUploader.mjs +1 -0
- package/dist/FrameProvider.mjs +1 -0
- package/dist/FreehandCanvas.css +10 -0
- package/dist/FreehandCanvas.mjs +1 -0
- package/dist/GridList.css +10 -0
- package/dist/GridList.mjs +1 -0
- package/dist/Group.mjs +1 -0
- package/dist/I18nProvider.mjs +1 -0
- package/dist/Icon.mjs +1 -0
- package/dist/ImageDropZone.css +10 -0
- package/dist/ImageDropZone.mjs +1 -0
- package/dist/ImageGallery.css +10 -0
- package/dist/ImageGallery.mjs +1 -0
- package/dist/InlineAlert.css +10 -0
- package/dist/InlineAlert.mjs +1 -0
- package/dist/InlineToolbar.css +10 -0
- package/dist/InlineToolbar.mjs +10 -0
- package/dist/Kbd.css +10 -0
- package/dist/Kbd.mjs +1 -0
- package/dist/Link.css +10 -0
- package/dist/Link.mjs +1 -0
- package/dist/ListBox.css +10 -0
- package/dist/ListBox.mjs +1 -0
- package/dist/Markdown.css +10 -0
- package/dist/Markdown.mjs +1 -0
- package/dist/Menu.css +10 -0
- package/dist/Menu.mjs +1 -0
- package/dist/MessageFormat.mjs +1 -0
- package/dist/Modal.css +10 -0
- package/dist/Modal.mjs +1 -0
- package/dist/NumberFormat.mjs +1 -0
- package/dist/NumberInput.css +10 -0
- package/dist/NumberInput.mjs +1 -0
- package/dist/Pagination.css +10 -0
- package/dist/Pagination.mjs +1 -0
- package/dist/Panel.css +10 -0
- package/dist/Panel.mjs +1 -0
- package/dist/PointPicker.css +10 -0
- package/dist/PointPicker.mjs +1 -0
- package/dist/Popover.css +10 -0
- package/dist/Popover.mjs +1 -0
- package/dist/Portal.css +10 -0
- package/dist/Portal.mjs +1 -0
- package/dist/PortalContainerProvider.mjs +1 -0
- package/dist/Preview.css +10 -0
- package/dist/Preview.mjs +1 -0
- package/dist/ProgressBar.css +10 -0
- package/dist/ProgressBar.mjs +1 -0
- package/dist/ProgressSpinner.css +10 -0
- package/dist/ProgressSpinner.mjs +1 -0
- package/dist/RadioGroup.css +10 -0
- package/dist/RadioGroup.mjs +1 -0
- package/dist/Reaction.css +10 -0
- package/dist/Reaction.mjs +1 -0
- package/dist/ScrollControlButton.css +10 -0
- package/dist/ScrollControlButton.mjs +1 -0
- package/dist/SearchInput.css +10 -0
- package/dist/SearchInput.mjs +1 -0
- package/dist/Select.css +10 -0
- package/dist/Select.mjs +1 -0
- package/dist/Separator.css +10 -0
- package/dist/Separator.mjs +1 -0
- package/dist/Skeleton.css +10 -0
- package/dist/Skeleton.mjs +1 -0
- package/dist/Slider.css +10 -0
- package/dist/Slider.mjs +1 -0
- package/dist/StatusCard.css +10 -0
- package/dist/StatusCard.mjs +1 -0
- package/dist/Stepper.css +10 -0
- package/dist/Stepper.mjs +1 -0
- package/dist/Switch.css +10 -0
- package/dist/Switch.mjs +1 -0
- package/dist/Table.css +10 -0
- package/dist/Table.mjs +1 -0
- package/dist/Tabs.css +10 -0
- package/dist/Tabs.mjs +1 -0
- package/dist/Tag.css +10 -0
- package/dist/Tag.mjs +1 -0
- package/dist/TagGroup.css +10 -0
- package/dist/TagGroup.mjs +1 -0
- package/dist/TaggedPagination.css +10 -0
- package/dist/TaggedPagination.mjs +1 -0
- package/dist/Text.css +10 -0
- package/dist/Text.mjs +1 -0
- package/dist/TextInput.css +10 -0
- package/dist/TextInput.mjs +1 -0
- package/dist/ThemeProvider.css +10 -0
- package/dist/ThemeProvider.mjs +1 -0
- package/dist/TimeField.css +10 -0
- package/dist/TimeField.mjs +1 -0
- package/dist/Toast.css +10 -0
- package/dist/Toast.mjs +1 -0
- package/dist/ToggleButton.css +10 -0
- package/dist/ToggleButton.mjs +1 -0
- package/dist/ToggleIconButton.css +10 -0
- package/dist/ToggleIconButton.mjs +1 -0
- package/dist/Toolbar.css +10 -0
- package/dist/Toolbar.mjs +1 -0
- package/dist/Tooltip.css +10 -0
- package/dist/Tooltip.mjs +1 -0
- package/dist/TreeView.css +10 -0
- package/dist/TreeView.mjs +1 -0
- package/dist/UNSAFE_ListBox.css +10 -0
- package/dist/UNSAFE_ListBox.mjs +1 -0
- package/dist/Virtualizer.mjs +1 -0
- package/dist/chunk-22BJMDCA.mjs +10 -0
- package/dist/chunk-246VHB32.mjs +10 -0
- package/dist/chunk-2JANDORZ.mjs +11 -0
- package/dist/chunk-2MS356Q7.mjs +10 -0
- package/dist/chunk-2PH5GN2S.mjs +0 -0
- package/dist/chunk-2RCST7ET.mjs +10 -0
- package/dist/chunk-2UUKKXBD.mjs +10 -0
- package/dist/chunk-2VY4FAOY.mjs +10 -0
- package/dist/chunk-2WAKHFPS.mjs +10 -0
- package/dist/chunk-34TYNTXM.mjs +10 -0
- package/dist/chunk-3CWP2VCB.mjs +10 -0
- package/dist/chunk-3FYY26ED.mjs +10 -0
- package/dist/chunk-3HKG74G4.mjs +0 -0
- package/dist/chunk-3UH5CQQF.mjs +10 -0
- package/dist/chunk-3W6RWDIE.mjs +10 -0
- package/dist/chunk-3X2QM7GV.mjs +10 -0
- package/dist/chunk-44OUOGJ4.mjs +10 -0
- package/dist/chunk-4ILKZKTW.mjs +10 -0
- package/dist/chunk-4N6CLPAY.mjs +10 -0
- package/dist/chunk-4NYPVKDO.mjs +10 -0
- package/dist/chunk-4PYEGHW5.mjs +10 -0
- package/dist/chunk-4QEH5CGK.mjs +10 -0
- package/dist/chunk-4SW77SGW.mjs +10 -0
- package/dist/chunk-4WW2MVQN.mjs +0 -0
- package/dist/chunk-4ZJMZB5B.mjs +10 -0
- package/dist/chunk-535OT4US.mjs +10 -0
- package/dist/chunk-545KDVGI.mjs +10 -0
- package/dist/chunk-54IAJ3RI.mjs +0 -0
- package/dist/chunk-5ANNWMLJ.mjs +0 -0
- package/dist/chunk-5BAHJXOI.mjs +10 -0
- package/dist/chunk-5HXTXIE5.mjs +10 -0
- package/dist/chunk-5IC46G5J.mjs +10 -0
- package/dist/chunk-5KD2MNNX.mjs +10 -0
- package/dist/chunk-5ODZPQL2.mjs +10 -0
- package/dist/chunk-5PQHOVGX.mjs +0 -0
- package/dist/chunk-5ULL6IBX.mjs +10 -0
- package/dist/chunk-5YHNHEDK.mjs +0 -0
- package/dist/chunk-63KRQW56.mjs +10 -0
- package/dist/chunk-66CUIXA6.mjs +10 -0
- package/dist/chunk-66NJ7EYY.mjs +10 -0
- package/dist/chunk-67MPTBBY.mjs +10 -0
- package/dist/chunk-6F66XVOA.mjs +0 -0
- package/dist/chunk-6IRWW75G.mjs +10 -0
- package/dist/chunk-6IX6BM7C.mjs +0 -0
- package/dist/chunk-6XARU7F2.mjs +0 -0
- package/dist/chunk-6YQHZ5RZ.mjs +0 -0
- package/dist/chunk-6Z6HOW6T.mjs +10 -0
- package/dist/chunk-6ZFBX7C7.mjs +10 -0
- package/dist/chunk-6ZQE5SHE.mjs +10 -0
- package/dist/chunk-6ZV4UYEG.mjs +10 -0
- package/dist/chunk-77BAFSDX.mjs +10 -0
- package/dist/chunk-7AY6C5M5.mjs +10 -0
- package/dist/chunk-7FJMUUHS.mjs +10 -0
- package/dist/chunk-7PRJIPFA.mjs +10 -0
- package/dist/chunk-A24DWFQ2.mjs +10 -0
- package/dist/chunk-A6ZQQSAX.mjs +10 -0
- package/dist/chunk-AC7OXVHA.mjs +10 -0
- package/dist/chunk-AGUSZG6K.mjs +0 -0
- package/dist/chunk-AGYQLGBZ.mjs +10 -0
- package/dist/chunk-AKES5B6C.mjs +10 -0
- package/dist/chunk-AMQX3KZR.mjs +10 -0
- package/dist/chunk-AMW7LGCF.mjs +10 -0
- package/dist/chunk-AMYRLAIC.mjs +10 -0
- package/dist/chunk-AQYBKDT2.mjs +16 -0
- package/dist/chunk-AUOQSTS5.mjs +10 -0
- package/dist/chunk-AV4ZP5SY.mjs +10 -0
- package/dist/chunk-AZRPXTYJ.mjs +10 -0
- package/dist/chunk-B7PSE5KC.mjs +10 -0
- package/dist/chunk-BED7T5CL.mjs +10 -0
- package/dist/chunk-BGMVPFYK.mjs +10 -0
- package/dist/chunk-BJVFZYUV.mjs +10 -0
- package/dist/chunk-BKDQLDOK.mjs +10 -0
- package/dist/chunk-BLHN7I5Z.mjs +0 -0
- package/dist/chunk-BU5H25MV.mjs +10 -0
- package/dist/chunk-C342HL26.mjs +0 -0
- package/dist/chunk-C5P23FUW.mjs +10 -0
- package/dist/chunk-C6OMLVIQ.mjs +0 -0
- package/dist/chunk-CAWUDHAE.mjs +10 -0
- package/dist/chunk-CFDKFUTO.mjs +10 -0
- package/dist/chunk-CFLEBB5T.mjs +10 -0
- package/dist/chunk-CFRTAJP2.mjs +0 -0
- package/dist/chunk-CGFLGZL4.mjs +10 -0
- package/dist/chunk-CHTLOFCT.mjs +10 -0
- package/dist/chunk-CPSUI4IW.mjs +10 -0
- package/dist/chunk-CSPZMYVG.mjs +10 -0
- package/dist/chunk-CV6JQGJ3.mjs +10 -0
- package/dist/chunk-CWPFUB7B.mjs +10 -0
- package/dist/chunk-D3IZ4HBL.mjs +10 -0
- package/dist/chunk-D5EEZT5J.mjs +10 -0
- package/dist/chunk-DD5FWULD.mjs +10 -0
- package/dist/chunk-DECHIERQ.mjs +10 -0
- package/dist/chunk-DIHILOKU.mjs +10 -0
- package/dist/chunk-DM26KBZ3.mjs +10 -0
- package/dist/chunk-DOL6RDMF.mjs +10 -0
- package/dist/chunk-DRYSJSKA.mjs +10 -0
- package/dist/chunk-DY6WY36N.mjs +0 -0
- package/dist/chunk-E3PFPOHX.mjs +0 -0
- package/dist/chunk-E6VOSF6Z.mjs +10 -0
- package/dist/chunk-EA6GA4WC.mjs +10 -0
- package/dist/chunk-EK3RIYMV.mjs +10 -0
- package/dist/chunk-ELXWR5TS.mjs +10 -0
- package/dist/chunk-EMCEJKBJ.mjs +10 -0
- package/dist/chunk-ENDOKA57.mjs +10 -0
- package/dist/chunk-EU75HMPG.mjs +10 -0
- package/dist/chunk-EX2LI2CV.mjs +10 -0
- package/dist/chunk-EZXMEGV7.mjs +0 -0
- package/dist/chunk-F2HESRBD.mjs +10 -0
- package/dist/chunk-F2X474RV.mjs +10 -0
- package/dist/chunk-F7PGMOQF.mjs +10 -0
- package/dist/chunk-FJ2JRD3H.mjs +10 -0
- package/dist/chunk-FKYHERP4.mjs +0 -0
- package/dist/chunk-FP5EWPOF.mjs +10 -0
- package/dist/chunk-FTYXFTJV.mjs +10 -0
- package/dist/chunk-FWAK2OZM.mjs +10 -0
- package/dist/chunk-FXCHST4Z.mjs +10 -0
- package/dist/chunk-GCZFXILF.mjs +10 -0
- package/dist/chunk-GEZGEZAP.mjs +10 -0
- package/dist/chunk-GKODQS6E.mjs +10 -0
- package/dist/chunk-GOSLHCDP.mjs +0 -0
- package/dist/chunk-GX2IOGYR.mjs +12 -0
- package/dist/chunk-GXOXYPQQ.mjs +10 -0
- package/dist/chunk-H2LXVMBI.mjs +29 -0
- package/dist/chunk-HBBRMEES.mjs +10 -0
- package/dist/chunk-HEO2XVRN.mjs +10 -0
- package/dist/chunk-HI44JQA7.mjs +10 -0
- package/dist/chunk-HJQZW2VO.mjs +10 -0
- package/dist/chunk-HLDCVJXD.mjs +10 -0
- package/dist/chunk-HONWMHMX.mjs +10 -0
- package/dist/chunk-HT55YHTN.mjs +10 -0
- package/dist/chunk-HWOMGFBL.mjs +10 -0
- package/dist/chunk-HXTAOYOD.mjs +10 -0
- package/dist/chunk-HZHAKW6I.mjs +10 -0
- package/dist/chunk-I3RGYL4B.mjs +10 -0
- package/dist/chunk-I3YGB2BE.mjs +10 -0
- package/dist/chunk-IB23KCIW.mjs +10 -0
- package/dist/chunk-IHLJTHGQ.mjs +10 -0
- package/dist/chunk-ILBAZFBL.mjs +0 -0
- package/dist/chunk-INDVRI57.mjs +10 -0
- package/dist/chunk-IUQOFRI3.mjs +10 -0
- package/dist/chunk-IVVZSESM.mjs +10 -0
- package/dist/chunk-IW4GXU75.mjs +10 -0
- package/dist/chunk-J3MJZQUJ.mjs +10 -0
- package/dist/chunk-J4NO4WYU.mjs +0 -0
- package/dist/chunk-J7EAQSKX.mjs +10 -0
- package/dist/chunk-J7K7I5U2.mjs +10 -0
- package/dist/chunk-JBXZ6ZHP.mjs +10 -0
- package/dist/chunk-JDLUGVXG.mjs +10 -0
- package/dist/chunk-JI4SJ53O.mjs +11 -0
- package/dist/chunk-JJG67M2S.mjs +10 -0
- package/dist/chunk-JJPCZOOI.mjs +10 -0
- package/dist/chunk-JQ4ZGZPV.mjs +15 -0
- package/dist/chunk-JUXBZ2ZN.mjs +10 -0
- package/dist/chunk-K5RKL3WY.mjs +10 -0
- package/dist/chunk-K6IQ4ALU.mjs +0 -0
- package/dist/chunk-K6X2BHPP.mjs +10 -0
- package/dist/chunk-KAYY6L7Y.mjs +10 -0
- package/dist/chunk-KCHAWPUN.mjs +10 -0
- package/dist/chunk-KEVERVHK.mjs +10 -0
- package/dist/chunk-KG5PDPBK.mjs +10 -0
- package/dist/chunk-KKJ6XIU3.mjs +10 -0
- package/dist/chunk-KPEONVLU.mjs +10 -0
- package/dist/chunk-KUEDQO7P.mjs +10 -0
- package/dist/chunk-KY3JKXSX.mjs +10 -0
- package/dist/chunk-LQB4U6GF.mjs +10 -0
- package/dist/chunk-LQMEFFFM.mjs +10 -0
- package/dist/chunk-LZFTBNPW.mjs +10 -0
- package/dist/chunk-LZM6UK3C.mjs +10 -0
- package/dist/chunk-M5M3EPG5.mjs +10 -0
- package/dist/chunk-MEYMETYC.mjs +11 -0
- package/dist/chunk-MEZNZ5W6.mjs +10 -0
- package/dist/chunk-MFH2E2GU.mjs +10 -0
- package/dist/chunk-MHUFXHRU.mjs +10 -0
- package/dist/chunk-MI7DCFP2.mjs +10 -0
- package/dist/chunk-MLNPTVVX.mjs +10 -0
- package/dist/chunk-MRJFGHFW.mjs +10 -0
- package/dist/chunk-MUNFBB7D.mjs +0 -0
- package/dist/chunk-MVK5CB64.mjs +10 -0
- package/dist/chunk-MXKP7NQ4.mjs +10 -0
- package/dist/chunk-MZ4O6LWG.mjs +0 -0
- package/dist/chunk-N2XGJKZG.mjs +10 -0
- package/dist/chunk-N7MTFSWR.mjs +10 -0
- package/dist/chunk-NCADIC3I.mjs +10 -0
- package/dist/chunk-NGZRN4SF.mjs +10 -0
- package/dist/chunk-NHM3H5JU.mjs +0 -0
- package/dist/chunk-NKKKKVQ7.mjs +10 -0
- package/dist/chunk-NMTDGCRA.mjs +10 -0
- package/dist/chunk-NO55UIGK.mjs +0 -0
- package/dist/chunk-NRKHWSOP.mjs +0 -0
- package/dist/chunk-NSC53QWT.mjs +10 -0
- package/dist/chunk-NV7KQVPE.mjs +10 -0
- package/dist/chunk-O57ZEY3V.mjs +0 -0
- package/dist/chunk-O66FNQSB.mjs +10 -0
- package/dist/chunk-O6AE67ZY.mjs +10 -0
- package/dist/chunk-O7XK2WIX.mjs +10 -0
- package/dist/chunk-OAY74XPB.mjs +10 -0
- package/dist/chunk-OC42IZG2.mjs +10 -0
- package/dist/chunk-OMT6ZWSV.mjs +11 -0
- package/dist/chunk-OO7BXL2N.mjs +10 -0
- package/dist/chunk-P5GO3XIS.mjs +10 -0
- package/dist/chunk-PAQQ7MQG.mjs +10 -0
- package/dist/chunk-PBFIKNYZ.mjs +10 -0
- package/dist/chunk-PF3OQKXP.mjs +10 -0
- package/dist/chunk-PHZZLBH3.mjs +10 -0
- package/dist/chunk-PR3HWZFH.mjs +10 -0
- package/dist/chunk-PZTVDABF.mjs +0 -0
- package/dist/chunk-Q5UMLFN3.mjs +10 -0
- package/dist/chunk-QAUEG3EX.mjs +0 -0
- package/dist/chunk-QBJDGBTU.mjs +0 -0
- package/dist/chunk-QMDDCVAF.mjs +10 -0
- package/dist/chunk-QNBBJ5HC.mjs +11 -0
- package/dist/chunk-QY3O34WX.mjs +10 -0
- package/dist/chunk-RC7QITNV.mjs +10 -0
- package/dist/chunk-RCBUNCHV.mjs +10 -0
- package/dist/chunk-RELI5YAS.mjs +10 -0
- package/dist/chunk-RFTDIXEG.mjs +10 -0
- package/dist/chunk-RJC3HQDZ.mjs +10 -0
- package/dist/chunk-RJWPSJX2.mjs +10 -0
- package/dist/chunk-RMUV6NJJ.mjs +10 -0
- package/dist/chunk-ROHLZINC.mjs +10 -0
- package/dist/chunk-RSKKEGJZ.mjs +10 -0
- package/dist/chunk-RT4LMB6X.mjs +10 -0
- package/dist/chunk-RXSYDMT6.mjs +10 -0
- package/dist/chunk-S5XX36JC.mjs +10 -0
- package/dist/chunk-SAZLJ66W.mjs +10 -0
- package/dist/chunk-SMAYNDQQ.mjs +10 -0
- package/dist/chunk-TAROK7TO.mjs +10 -0
- package/dist/chunk-TAYP2OGC.mjs +10 -0
- package/dist/chunk-TDXALNX3.mjs +10 -0
- package/dist/chunk-TEQE6WCH.mjs +10 -0
- package/dist/chunk-THRAJMLX.mjs +10 -0
- package/dist/chunk-TI5RR7KX.mjs +10 -0
- package/dist/chunk-TIHKHXTS.mjs +10 -0
- package/dist/chunk-TJEK54BW.mjs +10 -0
- package/dist/chunk-TK4QXU3W.mjs +10 -0
- package/dist/chunk-TKQOQVZD.mjs +10 -0
- package/dist/chunk-TO2TQ2LE.mjs +10 -0
- package/dist/chunk-TO6OQF2Y.mjs +10 -0
- package/dist/chunk-TZ4MVY4E.mjs +10 -0
- package/dist/chunk-U2ODAIZG.mjs +10 -0
- package/dist/chunk-UCNHDT36.mjs +10 -0
- package/dist/chunk-UCZZLAPB.mjs +10 -0
- package/dist/chunk-UMABUZ67.mjs +10 -0
- package/dist/chunk-UQJGSVXP.mjs +10 -0
- package/dist/chunk-USMC34OO.mjs +10 -0
- package/dist/chunk-UTQ7AIPM.mjs +0 -0
- package/dist/chunk-UUBOEBYZ.mjs +10 -0
- package/dist/chunk-V3L4SVVF.mjs +10 -0
- package/dist/chunk-VCIX4HG7.mjs +0 -0
- package/dist/chunk-VDUFLHKK.mjs +10 -0
- package/dist/chunk-VG7J427T.mjs +10 -0
- package/dist/chunk-VHDXSFQC.mjs +10 -0
- package/dist/chunk-VLQ4S7XC.mjs +10 -0
- package/dist/chunk-VU2PDOBR.mjs +10 -0
- package/dist/chunk-VXB5SVQC.mjs +10 -0
- package/dist/chunk-W6QO7FPZ.mjs +10 -0
- package/dist/chunk-WAFYFWH4.mjs +0 -0
- package/dist/chunk-WAOWR7MR.mjs +10 -0
- package/dist/chunk-WDJ4GXWF.mjs +10 -0
- package/dist/chunk-WL27JGVG.mjs +10 -0
- package/dist/chunk-WOVAT6U4.mjs +10 -0
- package/dist/chunk-WSCZ34XO.mjs +10 -0
- package/dist/chunk-WSQGB4ZE.mjs +0 -0
- package/dist/chunk-WWSGOGLA.mjs +10 -0
- package/dist/chunk-X3AXUU3H.mjs +10 -0
- package/dist/chunk-XB657BXX.mjs +10 -0
- package/dist/chunk-XBBPWSJI.mjs +0 -0
- package/dist/chunk-XJGQXVMR.mjs +10 -0
- package/dist/chunk-XPISSX5R.mjs +10 -0
- package/dist/chunk-XTH6B5FE.mjs +10 -0
- package/dist/chunk-XVBOKL6D.mjs +10 -0
- package/dist/chunk-XWLESSHN.mjs +10 -0
- package/dist/chunk-XXANV3FM.mjs +10 -0
- package/dist/chunk-Y4DRSGEJ.mjs +10 -0
- package/dist/chunk-Y6XQJ4X2.mjs +10 -0
- package/dist/chunk-YB3KW7JC.mjs +10 -0
- package/dist/chunk-YCI6BEXQ.mjs +10 -0
- package/dist/chunk-YIGT3OP2.mjs +10 -0
- package/dist/chunk-YOBESAXG.mjs +10 -0
- package/dist/chunk-YS3Y5KGV.mjs +10 -0
- package/dist/chunk-YT36W3OS.mjs +10 -0
- package/dist/chunk-YV3WI6OV.mjs +10 -0
- package/dist/chunk-YV5CNDCW.mjs +0 -0
- package/dist/chunk-YVYMYKYN.mjs +10 -0
- package/dist/chunk-ZANUFNOL.mjs +0 -0
- package/dist/chunk-ZGRRD3TU.mjs +10 -0
- package/dist/chunk-ZLAY7NNY.mjs +10 -0
- package/dist/chunk-ZLDT2KDZ.mjs +10 -0
- package/dist/chunk-ZNN43VZV.mjs +10 -0
- package/dist/chunk-ZREX7XOO.mjs +10 -0
- package/dist/chunk-ZRWDMNNY.mjs +10 -0
- package/dist/chunk-ZVODDLGL.mjs +10 -0
- package/dist/hooks/useDevice.mjs +1 -0
- package/dist/hooks/useI18n.mjs +1 -0
- package/dist/hooks/useImage.mjs +1 -0
- package/dist/hooks/useIntersectionObserver.mjs +1 -0
- package/dist/hooks/useIsFirstRender.mjs +1 -0
- package/dist/hooks/useIsTouchDevice.mjs +1 -0
- package/dist/hooks/useLiveInteractionModality.mjs +1 -0
- package/dist/hooks/useLocalStorage.mjs +1 -0
- package/dist/hooks/useMedia.mjs +1 -0
- package/dist/hooks/useMutationObserver.mjs +1 -0
- package/dist/hooks/usePortalContainer.mjs +1 -0
- package/dist/hooks/usePreventFocus.mjs +1 -0
- package/dist/hooks/useResizeObserver.mjs +1 -0
- package/dist/hooks/useTextSelection.mjs +1 -0
- package/dist/hooks/useUndoRedo.mjs +1 -0
- package/dist/index.d.ts +349 -73
- package/dist/index.js +21 -21
- package/dist/index.mjs +1 -43
- package/dist/messageIds.mjs +1 -0
- package/dist/react-aria.d.ts +133 -133
- package/dist/react-aria.mjs +1 -0
- package/dist/react-stately.d.ts +82 -82
- package/dist/react-stately.mjs +1 -0
- package/dist/utils/a11y.mjs +1 -0
- package/dist/utils/classNames.mjs +1 -0
- package/dist/utils/colors.mjs +1 -0
- package/dist/utils/constants.mjs +10 -0
- package/dist/utils/devWarn.mjs +1 -0
- package/dist/utils/dom.mjs +1 -0
- package/dist/utils/invariant.mjs +1 -0
- package/dist/utils/isInIframe.mjs +1 -0
- package/dist/utils/isInShadowDOM.mjs +1 -0
- package/dist/utils/isRect.mjs +1 -0
- package/dist/utils/keyboards.mjs +1 -0
- package/dist/utils/math.mjs +1 -0
- package/dist/utils/objects.mjs +1 -0
- package/dist/utils/onDropOrPaste.mjs +1 -0
- package/dist/utils/overlays.mjs +1 -0
- package/dist/utils/reactAriaCompat.mjs +1 -0
- package/dist/utils/reactAriaComponentsCompat.mjs +1 -0
- package/dist/utils/resolveAriaLabelAttrs.mjs +1 -0
- package/dist/utils/resolvePublicUrl.mjs +10 -0
- package/dist/utils/strings.mjs +1 -0
- package/dist/utils/style.mjs +1 -0
- package/dist/utils/svgs.mjs +1 -0
- package/dist/utils/validations.mjs +1 -0
- package/intl/ar.json +2 -2
- package/intl/cs.json +2 -2
- package/intl/cy.json +4 -4
- package/intl/da.json +3 -3
- package/intl/de.json +3 -3
- package/intl/el.json +2 -2
- package/intl/en-GB.json +2 -2
- package/intl/en.json +2 -2
- package/intl/fi.json +3 -3
- package/intl/fr-CA.json +1 -1
- package/intl/fr.json +2 -2
- package/intl/he.json +3 -3
- package/intl/hr.json +3 -3
- package/intl/id.json +3 -3
- package/intl/ja.json +2 -2
- package/intl/ko.json +1 -1
- package/intl/ms.json +2 -2
- package/intl/nb-NO.json +3 -3
- package/intl/nl.json +4 -4
- package/intl/pt-PT.json +1 -1
- package/intl/pt.json +3 -3
- package/intl/ru.json +2 -2
- package/intl/sk.json +2 -2
- package/intl/sl.json +4 -4
- package/intl/sv.json +3 -3
- package/intl/th.json +1 -1
- package/intl/tr.json +3 -3
- package/intl/uk.json +1 -1
- package/intl/zh-Hant.json +2 -2
- package/messages.json +2 -2
- package/package.json +9 -6
- package/sbom.json +13 -13
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a}from'./chunk-KEVERVHK.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
|
+
function o(r){let e=a(r,{labelable:true}),t;return r.orientation==="vertical"&&(t="vertical"),r.elementType!=="hr"?{separatorProps:{...e,role:"separator","aria-orientation":t}}:{separatorProps:e}}export{o as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {b as b$1,d as d$1,e,c}from'./chunk-KG5PDPBK.mjs';import {a as a$1}from'./chunk-2JANDORZ.mjs';import {b as b$2}from'./chunk-J7EAQSKX.mjs';import {a as a$2}from'./chunk-O7XK2WIX.mjs';import {b}from'./chunk-N2XGJKZG.mjs';import {b as b$3}from'./chunk-4ZJMZB5B.mjs';import {a as a$4}from'./chunk-X3AXUU3H.mjs';import {a}from'./chunk-K6X2BHPP.mjs';import {a as a$3}from'./chunk-4QEH5CGK.mjs';import N,{useMemo,useCallback}from'react';import {Time,toZoned,toTime,GregorianCalendar,toCalendarDateTime,today,getLocalTimeZone}from'@internationalized/date';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
|
+
function P(i){let{placeholderValue:a=new Time,minValue:p,maxValue:u,defaultValue:t,granularity:c$1,validate:T}=i,[e,s]=a$4(i.value,t??null,i.onChange),r=e||a,o=r&&"day"in r?r:void 0,m=t&&"timeZone"in t?t.timeZone:void 0,F=useMemo(()=>{let l=r&&"timeZone"in r?r.timeZone:void 0;return (l||m)&&a?toZoned(d(a),l||m):d(a)},[a,r,m]),V=useMemo(()=>d(p,o),[p,o]),y=useMemo(()=>d(u,o),[u,o]),x=useMemo(()=>e&&"day"in e?toTime(e):e,[e]),g=useMemo(()=>e==null?null:d(e),[e]),S=useMemo(()=>t==null?null:d(t),[t]);return {...c({...i,value:g,defaultValue:S,minValue:V,maxValue:y,onChange:l=>{s(o||m?l:l&&toTime(l));},granularity:c$1||"minute",maxGranularity:"hour",placeholderValue:F??void 0,createCalendar:()=>new GregorianCalendar,validate:useCallback(()=>T?.(e),[T,e])}),timeValue:x}}function d(i,a=today(getLocalTimeZone())){return i?"day"in i?i:toCalendarDateTime(a,i):null}var B=N.forwardRef(({className:i,labelPosition:a$4,"data-block-id":p,"data-block-class":u,...t},c)=>{let{locale:T}=b(),e$1={...t,validationState:void 0,isInvalid:t.validationState==="error"||void 0},s=P({...e$1,locale:T}),r=N.useRef(null),{labelProps:o,fieldProps:m,descriptionProps:F,errorMessageProps:V,validationErrors:y,isInvalid:x,inputProps:g}=b$1(e$1,s,r),S=t.errorMessage||y.join(" "),k=b$2({...t,errorMessage:S,descriptionProps:F,errorMessageProps:V,labelPosition:a$4}),{focusProps:v,isFocused:l}=a({within:true});return jsxs(a$1,{className:a$3("BaselineUI-TimeField",i),labelProps:o,fieldProps:m,ref:c,wrapperRef:r,wrapperClassName:d$1,labelPosition:a$4,message:k,isFocused:l,"data-block-id":p,"data-block-class":u,isInvalid:x,...t,children:[jsx(b$3,{children:jsx("input",{...g})}),jsx(a$2,{display:"flex",flexDirection:"row",paddingRight:"md",...v,children:s.segments.map((E,G)=>jsx(e,{segment:E,state:s},G))})]})});B.displayName="TimeField";export{B as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {b}from'./chunk-N2XGJKZG.mjs';import {a}from'./chunk-I3RGYL4B.mjs';import {DateFormatter}from'@internationalized/date';import {useMemo}from'react';/**
|
|
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
|
+
function c(e){e=a(e??{},f);let{locale:t}=b();return useMemo(()=>new DateFormatter(t,e),[t,e])}function f(e,t){if(e===t)return true;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return false;for(let o of r)if(t[o]!==e[o])return false;return true}export{c as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {useState,useEffect}from'react';/**
|
|
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
|
+
function r(){let[c,t]=useState(false);return useEffect(()=>{let e=window.matchMedia("(pointer: coarse)");t(e.matches);let n=s=>{t(s.matches);};return e.addEventListener("change",n),()=>{e.removeEventListener("change",n);}},[]),c}export{r as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {c}from'./chunk-JDLUGVXG.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
|
+
function b(s,e){let{id:r,"aria-label":l,"aria-labelledby":i}=s;return r=c(r),i&&l?i=[...new Set([r,...i.trim().split(/\s+/)])].join(" "):i&&(i=i.trim().split(/\s+/).join(" ")),!l&&!i&&e&&(l=e),{id:r,"aria-label":l,"aria-labelledby":i}}export{b as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {d}from'./chunk-AQYBKDT2.mjs';import {b}from'./chunk-TZ4MVY4E.mjs';import r from'react';import {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 m=r.forwardRef(({className:a,style:n,node:e,"data-block-id":p,"data-block-class":l,...f},c)=>{let o=r.useRef(null);r.useEffect(()=>{let s=o.current;return s?.append(e),()=>{s?.contains(e)&&e.remove();}},[e]);let{pressProps:i,isPressed:R}=d(f);return jsx("div",{...i,className:a,style:n,"data-block-id":p,"data-block-class":l,"data-pressed":R,"data-testid":"dom-node-renderer",ref:b(c,o)})});m.displayName="DomNodeRenderer";export{m as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {useRef,useEffect}from'react';/**
|
|
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
|
+
function n(){let e=useRef(true);return useEffect(()=>{e.current=false;},[]),e.current}export{n as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a as a$1}from'./chunk-X3AXUU3H.mjs';import S,{useRef,useState,useMemo,useEffect}from'react';/**
|
|
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
|
+
function F(n,e){return typeof e.getChildren=="function"?e.getChildren(n.key):n.childNodes}function k(n){return $(n,0)}function $(n,e){if(e<0)return;let t=0;for(let l of n){if(t===e)return l;t++;}}function W(n){let e;for(let t of n)e=t;return e}function g(n,e,t){if(e.parentKey===t.parentKey)return e.index-t.index;let l=[...B(n,e),e],i=[...B(n,t),t],o=l.slice(0,i.length).findIndex((s,u)=>s!==i[u]);return o!==-1?(e=l[o],t=i[o],e.index-t.index):l.findIndex(s=>s===t)>=0?1:(i.findIndex(s=>s===e)>=0,-1)}function B(n,e){let t=[],l=e;for(;l?.parentKey!=null;)l=n.getItem(l.parentKey),l&&t.unshift(l);return t}var a=class n extends Set{anchorKey;currentKey;constructor(e,t,l){super(e),e instanceof n?(this.anchorKey=t??e.anchorKey,this.currentKey=l??e.currentKey):(this.anchorKey=t??null,this.currentKey=l??null);}};function O(n,e){if(n.size!==e.size)return false;for(let t of n)if(!e.has(t))return false;return true}function q(n){let{selectionMode:e="none",disallowEmptySelection:t=false,allowDuplicateSelectionEvents:l,selectionBehavior:i="toggle",disabledBehavior:o="all"}=n,s=useRef(false),[,u]=useState(false),r=useRef(null),c=useRef(null),[,d]=useState(null),f=useMemo(()=>N(n.selectedKeys),[n.selectedKeys]),h=useMemo(()=>N(n.defaultSelectedKeys,new a),[n.defaultSelectedKeys]),[m,x]=a$1(f,h,n.onSelectionChange),p=useMemo(()=>n.disabledKeys?new Set(n.disabledKeys):new Set,[n.disabledKeys]),[y,T]=useState(i);i==="replace"&&y==="toggle"&&typeof m=="object"&&m.size===0&&T("replace");let E=useRef(i);return useEffect(()=>{i!==E.current&&(T(i),E.current=i);},[i]),{selectionMode:e,disallowEmptySelection:t,selectionBehavior:y,setSelectionBehavior:T,get isFocused(){return s.current},setFocused(K){s.current=K,u(K);},get focusedKey(){return r.current},get childFocusStrategy(){return c.current},setFocusedKey(K,P="first"){r.current=K,c.current=P,d(K);},selectedKeys:m,setSelectedKeys(K){(l||!O(K,m))&&x(K);},disabledKeys:p,disabledBehavior:o}}function N(n,e){return n?n==="all"?"all":new a(n):e}var R=class n{collection;state;allowsCellSelection;_isSelectAll;layoutDelegate;fullCollection;constructor(e,t,l){this.collection=e,this.state=t,this.allowsCellSelection=l?.allowsCellSelection??false,this._isSelectAll=null,this.layoutDelegate=l?.layoutDelegate||null,this.fullCollection=l?.fullCollection||null;}get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(e){this.state.setSelectionBehavior(e);}get isFocused(){return this.state.isFocused}setFocused(e){this.state.setFocused(e);}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(e,t){(e==null||this.collection.getItem(e))&&this.state.setFocusedKey(e,t);}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(e){if(this.state.selectionMode==="none")return false;let t=this.getKey(e);return t==null?false:this.state.selectedKeys==="all"?this.canSelectItem(t):this.state.selectedKeys.has(t)}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return false;if(this.state.selectedKeys==="all")return true;if(this._isSelectAll!=null)return this._isSelectAll;let e=this.getSelectAllKeys(),t=this.state.selectedKeys;return this._isSelectAll=e.every(l=>t.has(l)),this._isSelectAll}get firstSelectedKey(){let e=null;for(let t of this.state.selectedKeys){let l=this.collection.getItem(t);(!e||l&&g(this.collection,l,e)<0)&&(e=l);}return e?.key??null}get lastSelectedKey(){let e=null;for(let t of this.state.selectedKeys){let l=this.collection.getItem(t);(!e||l&&g(this.collection,l,e)>0)&&(e=l);}return e?.key??null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(e){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(e);return}let t=this.getKey(e);if(t==null)return;let l;if(this.state.selectedKeys==="all")l=new a([t],t,t);else {let i=this.state.selectedKeys,o=i.anchorKey??t;l=new a(i,o,t);for(let s of this.getKeyRange(o,i.currentKey??t))l.delete(s);for(let s of this.getKeyRange(t,o))this.canSelectItem(s)&&l.add(s);}this.state.setSelectedKeys(l);}getKeyRange(e,t){let l=this.collection.getItem(e),i=this.collection.getItem(t);return l&&i?g(this.collection,l,i)<=0?this.getKeyRangeInternal(e,t):this.getKeyRangeInternal(t,e):[]}getKeyRangeInternal(e,t){if(this.layoutDelegate?.getKeyRange)return this.layoutDelegate.getKeyRange(e,t);let l=[],i=e;for(;i!=null;){let o=this.collection.getItem(i);if(o&&(o.type==="item"||o.type==="cell"&&this.allowsCellSelection)&&l.push(i),i===t)return l;i=this.collection.getKeyAfter(i);}return []}getKey(e){let t=this.collection.getItem(e);if(!t||t.type==="cell"&&this.allowsCellSelection)return e;for(;t&&t.type!=="item"&&t.parentKey!=null;)t=this.collection.getItem(t.parentKey);return !t||t.type!=="item"?null:t.key}toggleSelection(e){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(e)){this.replaceSelection(e);return}let t=this.getKey(e);if(t==null)return;let l=new a(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);l.has(t)?l.delete(t):this.canSelectItem(t)&&(l.add(t),l.anchorKey=t,l.currentKey=t),!(this.disallowEmptySelection&&l.size===0)&&this.state.setSelectedKeys(l);}replaceSelection(e){if(this.selectionMode==="none")return;let t=this.getKey(e);if(t==null)return;let l=this.canSelectItem(t)?new a([t],t,t):new a;this.state.setSelectedKeys(l);}setSelectedKeys(e){if(this.selectionMode==="none")return;let t=new a;for(let l of e){let i=this.getKey(l);if(i!=null&&(t.add(i),this.selectionMode==="single"))break}this.state.setSelectedKeys(t);}getSelectAllKeys(){let e=this.fullCollection??this.collection,t=[],l=i=>{for(;i!=null;){if(this.canSelectItemIn(i,e)){let o=e.getItem(i);o?.type==="item"&&t.push(i),o?.hasChildNodes&&(this.allowsCellSelection||o.type!=="item")&&l(k(F(o,e))?.key??null);}i=e.getKeyAfter(i);}};return l(e.getFirstKey()),t}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all");}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new a);}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll();}select(e,t){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(e)&&!this.disallowEmptySelection?this.toggleSelection(e):this.replaceSelection(e):this.selectionBehavior==="toggle"||t&&(t.pointerType==="touch"||t.pointerType==="virtual")?this.toggleSelection(e):this.replaceSelection(e));}isSelectionEqual(e){if(e===this.state.selectedKeys)return true;let t=this.selectedKeys;if(e.size!==t.size)return false;for(let l of e)if(!t.has(l))return false;for(let l of t)if(!e.has(l))return false;return true}canSelectItem(e){return this.canSelectItemIn(e,this.collection)}canSelectItemIn(e,t){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(e))return false;let l=t.getItem(e);return !(!l||l?.props?.isDisabled||l.type==="cell"&&!this.allowsCellSelection)}isDisabled(e){let t=this.collection.getItem(e);return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(e)||!!t?.props?.isDisabled)&&t?.props?.disabledBehavior!=="selection"}isLink(e){return !!this.collection.getItem(e)?.props?.href}getItemProps(e){return this.collection.getItem(e)?.props}withCollection(e){return new n(e,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0,fullCollection:this.fullCollection??this.collection})}};var C=class{context;cache=new WeakMap;build(e,t){return this.context=t,A(()=>this.iterateCollection(e))}*iterateCollection(e){let{children:t,items:l}=e;if(S.isValidElement(t)&&t.type===S.Fragment)yield*this.iterateCollection({children:t.props.children,items:l});else if(typeof t=="function"){if(!l)throw new Error("props.children was a function but props.items is missing");let i=0;for(let o of l)yield*this.getFullNode({value:o,index:i},{renderer:t}),i++;}else {let i=[];S.Children.forEach(t,s=>{s&&i.push(s);});let o=0;for(let s of i){let u=this.getFullNode({element:s,index:o},{});for(let r of u)o++,yield r;}}}getKey(e,t,l,i){if(e.key!=null)return e.key;if(t.type==="cell"&&t.key!=null)return `${i}${t.key}`;let o=t.value;if(o!=null){let s=o.key??o.id;if(s==null)throw new Error("No key found for item");return s}return i?`${i}.${t.index}`:`$.${t.index}`}getChildState(e,t){return {renderer:t.renderer||e.renderer}}*getFullNode(e,t,l,i){if(S.isValidElement(e.element)&&e.element.type===S.Fragment){let r=[];S.Children.forEach(e.element.props.children,d=>{r.push(d);});let c=e.index??0;for(let d of r)yield*this.getFullNode({element:d,index:c++},t,l,i);return}let o=e.element;if(!o&&e.value&&t&&t.renderer){let r=this.cache.get(e.value);if(r&&(!r.shouldInvalidate||!r.shouldInvalidate(this.context))){r.index=e.index,r.parentKey=i?i.key:null,yield r;return}o=t.renderer(e.value);}if(S.isValidElement(o)){let r=o.type;if(typeof r!="function"&&typeof r.getCollectionNode!="function"){let h=o.type;throw new Error(`Unknown element <${h}> in collection.`)}let c=r.getCollectionNode(o.props,this.context),d=e.index??0,f=c.next();for(;!f.done&&f.value;){let h=f.value;e.index=d;let m=h.key??null;m==null&&(m=h.element?null:this.getKey(o,e,t,l));let p=[...this.getFullNode({...h,key:m,index:d,wrapper:L(e.wrapper,h.wrapper)},this.getChildState(t,h),l?`${l}${o.key}`:o.key,i)];for(let y of p){if(y.value=h.value??e.value??null,y.value&&this.cache.set(y.value,y),e.type&&y.type!==e.type)throw new Error(`Unsupported type <${I(y.type)}> in <${I(i?.type??"unknown parent type")}>. Only <${I(e.type)}> is supported.`);d++,yield y;}f=c.next(p);}return}if(e.key==null||e.type==null)return;let s=this,u={type:e.type,props:e.props,key:e.key,parentKey:i?i.key:null,value:e.value??null,level:(i?.level??0)+(i?.type==="item"?1:0),index:e.index,rendered:e.rendered,textValue:e.textValue??"","aria-label":e["aria-label"],wrapper:e.wrapper,shouldInvalidate:e.shouldInvalidate,hasChildNodes:e.hasChildNodes||false,childNodes:A(function*(){if(!e.hasChildNodes||!e.childNodes)return;let r=0;for(let c of e.childNodes()){c.key!=null&&(c.key=`${u.key}${c.key}`);let d=s.getFullNode({...c,index:r},s.getChildState(t,c),u.key,u);for(let f of d)r++,yield f;}})};yield u;}};function A(n){let e=[],t=null;return {*[Symbol.iterator](){for(let l of e)yield l;t||(t=n());for(let l of t)e.push(l),yield l;}}}function L(n,e){if(n&&e)return t=>n(e(t));if(n)return n;if(e)return e}function I(n){return n[0].toUpperCase()+n.slice(1)}function ne(n,e,t){let l=useMemo(()=>new C,[]),{children:i,items:o,collection:s}=n;return useMemo(()=>{if(s)return s;let r=l.build({children:i,items:o},t);return e(r)},[l,i,o,s,t,e])}export{q as a,F as b,k as c,$ as d,W as e,R as f,ne as g};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a}from'./chunk-PHZZLBH3.mjs';import {b}from'./chunk-WWSGOGLA.mjs';import p from'react';import {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 s=({children:r})=>{let{triggerProps:t}=p.useContext(a);return jsx(b,{...t,children:r})};s.displayName="ModalTrigger";var n=({children:r})=>{let{state:t}=p.useContext(a);return jsx(b,{onPress:()=>{t?.close();},children:r})};export{s as a,n as b};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a as a$8}from'./chunk-DRYSJSKA.mjs';import {a as a$1,b as b$2}from'./chunk-KY3JKXSX.mjs';import {a as a$6}from'./chunk-NSC53QWT.mjs';import {b as b$1,c as c$1}from'./chunk-GX2IOGYR.mjs';import {a as a$5}from'./chunk-GCZFXILF.mjs';import {b}from'./chunk-N2XGJKZG.mjs';import {a as a$4}from'./chunk-RSKKEGJZ.mjs';import {a as a$3}from'./chunk-K6X2BHPP.mjs';import {a as a$2}from'./chunk-3FYY26ED.mjs';import {c}from'./chunk-TZ4MVY4E.mjs';import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$7}from'./chunk-4QEH5CGK.mjs';import {CaretLeftIcon as CaretLeftIcon$3,CaretRightIcon as CaretRightIcon$3}from'@baseline-ui/icons/12';import {CaretLeftIcon as CaretLeftIcon$2,CaretRightIcon as CaretRightIcon$2}from'@baseline-ui/icons/16';import {CaretLeftIcon as CaretLeftIcon$1,CaretRightIcon as CaretRightIcon$1}from'@baseline-ui/icons/20';import {CaretLeftIcon,CaretRightIcon}from'@baseline-ui/icons/24';import D from'react';import {jsxs,Fragment,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 B=a({defaultClassName:"_1nsi9h17",variantClassNames:{isFocused:{true:"_1nsi9h18"},variant:{pinned:"_1nsi9h19",floating:"_1nsi9h1a"},size:{xs:"_1nsi9h1b",sm:"_1nsi9h1c",md:"_1nsi9h1d",lg:"_1nsi9h1e"}},defaultVariants:{},compoundVariants:[]}),T="_1nsi9h1f _1yep5z6ly _1yep5z6lq _1yep5z6eu",j=a({defaultClassName:"_1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6g1 _1yep5z6e1",variantClassNames:{size:{xs:"_1nsi9h11 _1yep5z6wl _1yep5z6wm _1yep5z6wn _1yep5z6x9 _1yep5z6xa _1yep5z6xb _1yep5z6xx _1yep5z6xy _1yep5z6xz _1yep5z6yl _1yep5z6ym _1yep5z6yn _1yep5z6zy",sm:"_1nsi9h12 _1yep5z6101",md:"_1nsi9h13",lg:"_1nsi9h14"},variant:{floating:"_1yep5z6za _1yep5z6184 _1yep5z6182 _1yep5z6136",pinned:"_1yep5z617q"}},defaultVariants:{},compoundVariants:[]}),k=a({defaultClassName:"_1nsi9h1g _1yep5z6ev",variantClassNames:{isDisabled:{true:"_1yep5z6111"}},defaultVariants:{},compoundVariants:[]});var ue={style:"decimal"},ce={xs:[CaretLeftIcon$3,CaretRightIcon$3],sm:[CaretLeftIcon$2,CaretRightIcon$2],md:[CaretLeftIcon$1,CaretRightIcon$1],lg:[CaretLeftIcon,CaretRightIcon]},E=D.forwardRef(({className:H,style:U,minValue:S=1,defaultValue:q=1,incrementAriaLabel:K,decrementAriaLabel:O,"aria-label":G,size:a="md",variant:t="floating",hideActions:_,isDisabled:o,pageXofYLabel:m,...s},X)=>{let{locale:Y}=b(),r=b$1(),h={...s,formatOptions:ue,minValue:S,incrementAriaLabel:K||r.formatMessage(l.nextPage),decrementAriaLabel:O||r.formatMessage(l.prevPage),defaultValue:q,"aria-label":G||r.formatMessage(l.goToPage)},u=D.useRef(null),i=a$1({...h,locale:Y}),{inputProps:c$1,decrementButtonProps:b$3,incrementButtonProps:z,groupProps:$}=b$2({...h,onKeyDown:C=>{C.key==="Enter"&&u.current?.blur(),s.onKeyDown?.(C);},isDisabled:o},i,u),{hoverProps:J,isHovered:Q}=a$2({}),{focusProps:W,isFocused:v,isFocusVisible:Z}=a$3(),P=t==="floating",[ee,ae]=ce[a],te=a$4({"data-focus-visible":Z,"data-focused":v,"data-hovered":Q,"data-block-id":s["data-block-id"],"data-block-class":s["data-block-class"]});return jsxs("div",{...c($,J,te),className:a$7(j({size:a,variant:t}),"BaselineUI-Pagination",H),style:U,ref:X,children:[_?null:jsxs(Fragment,{children:[jsx(a$5,{icon:ee,...b$3,elementType:"div",size:a,style:{height:"100%",...P&&{borderRadius:0}},className:"BaselineUI-Pagination-DecrementButton",isExcludedFromRovingFocus:true,isDisabled:o||b$3.isDisabled}),t==="floating"&&jsx(a$6,{orientation:"vertical"})]}),jsxs("div",{className:B({isFocused:v,variant:t,size:a}),"aria-label":(typeof m=="function"?m({page:i.numberValue,totalPages:i.maxValue}):m)??r.formatMessage(l.pageXofY,{arg0:c$1.value,arg1:i.maxValue}),children:[jsx("input",{...c(c$1,W),ref:u,className:a$7("BaselineUI-Pagination-Input",T),style:{width:`${c$1.value?.toString().length||1}ch`}}),jsxs("span",{className:k({isDisabled:o}),children:["/ ",jsx(a$8,{value:i.maxValue})]})]}),_?null:jsxs(Fragment,{children:[t==="floating"&&jsx(a$6,{orientation:"vertical"}),jsx(a$5,{icon:ae,...z,elementType:"div",size:a,style:{height:"100%",...P&&{borderRadius:0}},className:"BaselineUI-Pagination-IncrementButton",isExcludedFromRovingFocus:true,isDisabled:o||z.isDisabled})]})]})});E.displayName="Pagination";var l=c$1({nextPage:{defaultMessage:"Next Page",id:"bui.pagination.nextPage"},prevPage:{defaultMessage:"Previous Page",id:"bui.pagination.prevPage"},goToPage:{defaultMessage:"Go to Page",id:"bui.pagination.goToPage"},pageXofY:{defaultMessage:"Page {arg0} of {arg1}",id:"bui.pagination.pageXofY"}});export{E as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {c}from'./chunk-7AY6C5M5.mjs';import {a,d,b as b$3}from'./chunk-O66FNQSB.mjs';import {b as b$1}from'./chunk-246VHB32.mjs';import {c as c$1}from'./chunk-OC42IZG2.mjs';import {b as b$4,a as a$b}from'./chunk-PAQQ7MQG.mjs';import {b as b$2}from'./chunk-DECHIERQ.mjs';import {a as a$6}from'./chunk-F2X474RV.mjs';import {a as a$1}from'./chunk-EX2LI2CV.mjs';import {c as c$2,d as d$1}from'./chunk-W6QO7FPZ.mjs';import {c as c$4}from'./chunk-I3YGB2BE.mjs';import {b}from'./chunk-WL27JGVG.mjs';import {a as a$a}from'./chunk-4PYEGHW5.mjs';import {a as a$5}from'./chunk-JJG67M2S.mjs';import {c as c$3}from'./chunk-6IRWW75G.mjs';import {a as a$4}from'./chunk-D3IZ4HBL.mjs';import {a as a$8}from'./chunk-RXSYDMT6.mjs';import {a as a$9}from'./chunk-X3AXUU3H.mjs';import {a as a$3}from'./chunk-545KDVGI.mjs';import {n,h}from'./chunk-MRJFGHFW.mjs';import {a as a$2,c as c$5}from'./chunk-TZ4MVY4E.mjs';import {c as c$6}from'./chunk-JDLUGVXG.mjs';import {f,a as a$7,e,g}from'./chunk-AUOQSTS5.mjs';import {useRef,useMemo,useEffect,useState,useCallback}from'react';/**
|
|
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 je={"ar-AE":{buttonLabel:"\u0639\u0631\u0636 \u0627\u0644\u0645\u0642\u062A\u0631\u062D\u0627\u062A",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u062E\u064A\u0627\u0631`,other:()=>`${n.number(e.optionCount)} \u062E\u064A\u0627\u0631\u0627\u062A`})} \u0645\u062A\u0627\u062D\u0629.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u0627\u0644\u0645\u062C\u0645\u0648\u0639\u0629 \u0627\u0644\u0645\u062F\u062E\u0644\u0629 ${e.groupTitle}, \u0645\u0639 ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u062E\u064A\u0627\u0631`,other:()=>`${n.number(e.groupCount)} \u062E\u064A\u0627\u0631\u0627\u062A`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \u0645\u062D\u062F\u062F",other:""},e.isSelected)}`,listboxLabel:"\u0645\u0642\u062A\u0631\u062D\u0627\u062A",selectedAnnouncement:e=>`${e.optionText}\u060C \u0645\u062D\u062F\u062F`},"bg-BG":{buttonLabel:"\u041F\u043E\u043A\u0430\u0436\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u043E\u043F\u0446\u0438\u044F`,other:()=>`${n.number(e.optionCount)} \u043E\u043F\u0446\u0438\u0438`})} \u043D\u0430 \u0440\u0430\u0437\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u0412\u044A\u0432\u0435\u0434\u0435\u043D\u0430 \u0433\u0440\u0443\u043F\u0430 ${e.groupTitle}, \u0441 ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u043E\u043F\u0446\u0438\u044F`,other:()=>`${n.number(e.groupCount)} \u043E\u043F\u0446\u0438\u0438`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \u0438\u0437\u0431\u0440\u0430\u043D\u0438",other:""},e.isSelected)}`,listboxLabel:"\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F",selectedAnnouncement:e=>`${e.optionText}, \u0438\u0437\u0431\u0440\u0430\u043D\u0438`},"cs-CZ":{buttonLabel:"Zobrazit doporu\u010Den\xED",countAnnouncement:(e,n)=>`K dispozici ${n.plural(e.optionCount,{one:()=>`je ${n.number(e.optionCount)} mo\u017Enost`,other:()=>`jsou/je ${n.number(e.optionCount)} mo\u017Enosti/-\xED`})}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Zadan\xE1 skupina \u201E${e.groupTitle}\u201C ${n.plural(e.groupCount,{one:()=>`s ${n.number(e.groupCount)} mo\u017Enost\xED`,other:()=>`se ${n.number(e.groupCount)} mo\u017Enostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:" (vybr\xE1no)",other:""},e.isSelected)}`,listboxLabel:"N\xE1vrhy",selectedAnnouncement:e=>`${e.optionText}, vybr\xE1no`},"da-DK":{buttonLabel:"Vis forslag",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} mulighed tilg\xE6ngelig`,other:()=>`${n.number(e.optionCount)} muligheder tilg\xE6ngelige`})}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} mulighed`,other:()=>`${n.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`},"de-DE":{buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} Option`,other:()=>`${n.number(e.optionCount)} Optionen`})} verf\xFCgbar.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} Option`,other:()=>`${n.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", ausgew\xE4hlt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgew\xE4hlt`},"el-GR":{buttonLabel:"\u03A0\u03C1\u03BF\u03B2\u03BF\u03BB\u03AE \u03C0\u03C1\u03BF\u03C4\u03AC\u03C3\u03B5\u03C9\u03BD",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE`,other:()=>`${n.number(e.optionCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2 `})} \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03B5\u03C2.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u0395\u03B9\u03C3\u03B1\u03B3\u03BC\u03AD\u03BD\u03B7 \u03BF\u03BC\u03AC\u03B4\u03B1 ${e.groupTitle}, \u03BC\u03B5 ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE`,other:()=>`${n.number(e.groupCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03BF",other:""},e.isSelected)}`,listboxLabel:"\u03A0\u03C1\u03BF\u03C4\u03AC\u03C3\u03B5\u03B9\u03C2",selectedAnnouncement:e=>`${e.optionText}, \u03B5\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B5`},"en-US":{focusAnnouncement:(e,n)=>`${n.select({true:()=>`Entered group ${e.groupTitle}, with ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} option`,other:()=>`${n.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} option`,other:()=>`${n.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"},"es-ES":{buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} opci\xF3n`,other:()=>`${n.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} opci\xF3n`,other:()=>`${n.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`},"et-EE":{buttonLabel:"Kuva soovitused",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} valik`,other:()=>`${n.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Sisestatud r\xFChm ${e.groupTitle}, valikuga ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} valik`,other:()=>`${n.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`},"fi-FI":{buttonLabel:"N\xE4yt\xE4 ehdotukset",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} vaihtoehto`,other:()=>`${n.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Mentiin ryhm\xE4\xE4n ${e.groupTitle}, ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} vaihtoehdon`,other:()=>`${n.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`},"fr-FR":{buttonLabel:"Afficher les suggestions",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} option`,other:()=>`${n.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Groupe ${e.groupTitle} rejoint, avec ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} option`,other:()=>`${n.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", s\xE9lectionn\xE9(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, s\xE9lectionn\xE9`},"he-IL":{buttonLabel:"\u05D4\u05E6\u05D2 \u05D4\u05E6\u05E2\u05D5\u05EA",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`\u05D0\u05E4\u05E9\u05E8\u05D5\u05EA ${n.number(e.optionCount)}`,other:()=>`${n.number(e.optionCount)} \u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA`})} \u05D1\u05DE\u05E6\u05D1 \u05D6\u05DE\u05D9\u05DF.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u05E0\u05DB\u05E0\u05E1 \u05DC\u05E7\u05D1\u05D5\u05E6\u05D4 ${e.groupTitle}, \u05E2\u05DD ${n.plural(e.groupCount,{one:()=>`\u05D0\u05E4\u05E9\u05E8\u05D5\u05EA ${n.number(e.groupCount)}`,other:()=>`${n.number(e.groupCount)} \u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \u05E0\u05D1\u05D7\u05E8",other:""},e.isSelected)}`,listboxLabel:"\u05D4\u05E6\u05E2\u05D5\u05EA",selectedAnnouncement:e=>`${e.optionText}, \u05E0\u05D1\u05D7\u05E8`},"hr-HR":{buttonLabel:"Prika\u017Ei prijedloge",countAnnouncement:(e,n)=>`Dostupno jo\u0161: ${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} opcija`,other:()=>`${n.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} opcijom`,other:()=>`${n.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`},"hu-HU":{buttonLabel:"Javaslatok megjelen\xEDt\xE9se",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} lehet\u0151s\xE9g`,other:()=>`${n.number(e.optionCount)} lehet\u0151s\xE9g`})} \xE1ll rendelkez\xE9sre.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Bel\xE9pett a(z) ${e.groupTitle} csoportba, amely ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} lehet\u0151s\xE9get`,other:()=>`${n.number(e.groupCount)} lehet\u0151s\xE9get`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", kijel\xF6lve",other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijel\xF6lve`},"it-IT":{buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} opzione disponibile`,other:()=>`${n.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} opzione`,other:()=>`${n.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`},"ja-JP":{buttonLabel:"\u5019\u88DC\u3092\u8868\u793A",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`,other:()=>`${n.number(e.optionCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`})}\u3092\u5229\u7528\u3067\u304D\u307E\u3059\u3002`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u5165\u529B\u3055\u308C\u305F\u30B0\u30EB\u30FC\u30D7 ${e.groupTitle}\u3001${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`,other:()=>`${n.number(e.groupCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`})}\u3092\u542B\u3080\u3002`,other:""},e.isGroupChange)}${e.optionText}${n.select({true:"\u3001\u9078\u629E\u6E08\u307F",other:""},e.isSelected)}`,listboxLabel:"\u5019\u88DC",selectedAnnouncement:e=>`${e.optionText}\u3001\u9078\u629E\u6E08\u307F`},"ko-KR":{buttonLabel:"\uC81C\uC548 \uC0AC\uD56D \uD45C\uC2DC",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)}\uAC1C \uC635\uC158`,other:()=>`${n.number(e.optionCount)}\uAC1C \uC635\uC158`})}\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\uC785\uB825\uD55C \uADF8\uB8F9 ${e.groupTitle}, ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)}\uAC1C \uC635\uC158`,other:()=>`${n.number(e.groupCount)}\uAC1C \uC635\uC158`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \uC120\uD0DD\uB428",other:""},e.isSelected)}`,listboxLabel:"\uC81C\uC548",selectedAnnouncement:e=>`${e.optionText}, \uC120\uD0DD\uB428`},"lt-LT":{buttonLabel:"Rodyti pasi\u016Blymus",countAnnouncement:(e,n)=>`Yra ${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} parinktis`,other:()=>`${n.number(e.optionCount)} parinktys (-i\u0173)`})}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u012Evesta grup\u0117 ${e.groupTitle}, su ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} parinktimi`,other:()=>`${n.number(e.groupCount)} parinktimis (-i\u0173)`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"Pasi\u016Blymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`},"lv-LV":{buttonLabel:"R\u0101d\u012Bt ieteikumus",countAnnouncement:(e,n)=>`Pieejamo opciju skaits: ${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} opcija`,other:()=>`${n.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Ievad\u012Bta grupa ${e.groupTitle}, ar ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} opciju`,other:()=>`${n.number(e.groupCount)} opcij\u0101m`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", atlas\u012Bta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlas\u012Bta`},"nb-NO":{buttonLabel:"Vis forslag",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} alternativ`,other:()=>`${n.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} alternativ`,other:()=>`${n.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`},"nl-NL":{buttonLabel:"Suggesties weergeven",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} optie`,other:()=>`${n.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} optie`,other:()=>`${n.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`},"pl-PL":{buttonLabel:"Wy\u015Bwietlaj sugestie",countAnnouncement:(e,n)=>`dost\u0119pna/dost\u0119pne(-nych) ${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} opcja`,other:()=>`${n.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Do\u0142\u0105czono do grupy ${e.groupTitle}, z ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} opcj\u0105`,other:()=>`${n.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`},"pt-BR":{buttonLabel:"Mostrar sugest\xF5es",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} op\xE7\xE3o`,other:()=>`${n.number(e.optionCount)} op\xE7\xF5es`})} dispon\xEDvel.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} op\xE7\xE3o`,other:()=>`${n.number(e.groupCount)} op\xE7\xF5es`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugest\xF5es",selectedAnnouncement:e=>`${e.optionText}, selecionado`},"pt-PT":{buttonLabel:"Apresentar sugest\xF5es",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} op\xE7\xE3o`,other:()=>`${n.number(e.optionCount)} op\xE7\xF5es`})} dispon\xEDvel.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} op\xE7\xE3o`,other:()=>`${n.number(e.groupCount)} op\xE7\xF5es`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugest\xF5es",selectedAnnouncement:e=>`${e.optionText}, selecionado`},"ro-RO":{buttonLabel:"Afi\u0219are sugestii",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} op\u021Biune`,other:()=>`${n.number(e.optionCount)} op\u021Biuni`})} disponibile.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} op\u021Biune`,other:()=>`${n.number(e.groupCount)} op\u021Biuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`},"ru-RU":{buttonLabel:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440`,other:()=>`${n.number(e.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432`})} \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u0412\u0432\u0435\u0434\u0435\u043D\u043D\u0430\u044F \u0433\u0440\u0443\u043F\u043F\u0430 ${e.groupTitle}, \u0441 ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u043C`,other:()=>`${n.number(e.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u043C\u0438`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u043C\u0438",other:""},e.isSelected)}`,listboxLabel:"\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F",selectedAnnouncement:e=>`${e.optionText}, \u0432\u044B\u0431\u0440\u0430\u043D\u043E`},"sk-SK":{buttonLabel:"Zobrazi\u0165 n\xE1vrhy",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} mo\u017Enos\u0165`,other:()=>`${n.number(e.optionCount)} mo\u017Enosti/-\xED`})} k dispoz\xEDcii.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Zadan\xE1 skupina ${e.groupTitle}, s ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} mo\u017Enos\u0165ou`,other:()=>`${n.number(e.groupCount)} mo\u017Enos\u0165ami`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", vybrat\xE9",other:""},e.isSelected)}`,listboxLabel:"N\xE1vrhy",selectedAnnouncement:e=>`${e.optionText}, vybrat\xE9`},"sl-SI":{buttonLabel:"Prika\u017Ei predloge",countAnnouncement:(e,n)=>`Na voljo je ${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} opcija`,other:()=>`${n.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} opcija`,other:()=>`${n.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`},"sr-SP":{buttonLabel:"Prika\u017Ei predloge",countAnnouncement:(e,n)=>`Dostupno jo\u0161: ${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} opcija`,other:()=>`${n.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} opcijom`,other:()=>`${n.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`},"sv-SE":{buttonLabel:"Visa f\xF6rslag",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} alternativ`,other:()=>`${n.number(e.optionCount)} alternativ`})} tillg\xE4ngliga.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} alternativ`,other:()=>`${n.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"F\xF6rslag",selectedAnnouncement:e=>`${e.optionText}, valda`},"tr-TR":{buttonLabel:"\xD6nerileri g\xF6ster",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} se\xE7enek`,other:()=>`${n.number(e.optionCount)} se\xE7enekler`})} kullan\u0131labilir.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} se\xE7enek`,other:()=>`${n.number(e.groupCount)} se\xE7enekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", se\xE7ildi",other:""},e.isSelected)}`,listboxLabel:"\xD6neriler",selectedAnnouncement:e=>`${e.optionText}, se\xE7ildi`},"uk-UA":{buttonLabel:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u0438 \u043F\u0440\u043E\u043F\u043E\u0437\u0438\u0446\u0456\u0457",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440`,other:()=>`${n.number(e.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438(-\u0456\u0432)`})} \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u0412\u0432\u0435\u0434\u0435\u043D\u0430 \u0433\u0440\u0443\u043F\u0430 ${e.groupTitle}, \u0437 ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440`,other:()=>`${n.number(e.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438(-\u0456\u0432)`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \u0432\u0438\u0431\u0440\u0430\u043D\u043E",other:""},e.isSelected)}`,listboxLabel:"\u041F\u0440\u043E\u043F\u043E\u0437\u0438\u0446\u0456\u0457",selectedAnnouncement:e=>`${e.optionText}, \u0432\u0438\u0431\u0440\u0430\u043D\u043E`},"zh-CN":{buttonLabel:"\u663E\u793A\u5EFA\u8BAE",countAnnouncement:(e,n)=>`\u6709 ${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u4E2A\u9009\u9879`,other:()=>`${n.number(e.optionCount)} \u4E2A\u9009\u9879`})}\u53EF\u7528\u3002`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u8FDB\u5165\u4E86 ${e.groupTitle} \u7EC4\uFF0C\u5176\u4E2D\u6709 ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u4E2A\u9009\u9879`,other:()=>`${n.number(e.groupCount)} \u4E2A\u9009\u9879`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \u5DF2\u9009\u62E9",other:""},e.isSelected)}`,listboxLabel:"\u5EFA\u8BAE",selectedAnnouncement:e=>`${e.optionText}, \u5DF2\u9009\u62E9`},"zh-TW":{buttonLabel:"\u986F\u793A\u5EFA\u8B70",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u9078\u9805`,other:()=>`${n.number(e.optionCount)} \u9078\u9805`})} \u53EF\u7528\u3002`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u8F38\u5165\u7684\u7FA4\u7D44 ${e.groupTitle}, \u6709 ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u9078\u9805`,other:()=>`${n.number(e.groupCount)} \u9078\u9805`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \u5DF2\u9078\u53D6",other:""},e.isSelected)}`,listboxLabel:"\u5EFA\u8B70",selectedAnnouncement:e=>`${e.optionText}, \u5DF2\u9078\u53D6`}};function Ze(e$1,n$1){let{buttonRef:p,popoverRef:C,inputRef:l,listBoxRef:b$4,keyboardDelegate:i,layoutDelegate:y,shouldFocusWrap:R,isReadOnly:v,isDisabled:w}=e$1,te=useRef(null);p=p??te;let f$1=b(je,"@react-aria/combobox"),{menuTriggerProps:F,menuProps:A}=c({type:"listbox",isDisabled:w||v},n$1,p);a.set(n$1,{id:A.id});let{collection:E}=n$1,{disabledKeys:z}=n$1.selectionManager,r=useMemo(()=>i||new b$1({collection:E,disabledKeys:z,ref:b$4,layoutDelegate:y}),[i,y,E,z,b$4]),{collectionProps:M}=c$1({selectionManager:n$1.selectionManager,keyboardDelegate:r,disallowTypeAhead:true,disallowEmptySelection:true,shouldFocusWrap:R,ref:l,isVirtualized:true}),$=n(),m=t=>{if(!t.nativeEvent.isComposing)switch(t.key){case "Enter":case "Tab":if(n$1.isOpen&&t.key==="Enter"&&t.preventDefault(),n$1.isOpen&&b$4.current&&n$1.selectionManager.focusedKey!=null){let u=n$1.collection.getItem(n$1.selectionManager.focusedKey);if(u?.props.href){let T=b$4.current.querySelector(`[data-key="${CSS.escape(n$1.selectionManager.focusedKey.toString())}"]`);t.key==="Enter"&&T instanceof HTMLAnchorElement&&$.open(T,t,u.props.href,u.props.routerOptions),n$1.close();break}else if(u?.props.onAction){u.props.onAction(),n$1.close();break}}(t.key==="Enter"||n$1.isOpen)&&n$1.commit(),t.key==="Tab"&&t.continuePropagation();break;case "Escape":(!n$1.selectionManager.isEmpty||n$1.inputValue===""||e$1.allowsCustomValue)&&t.continuePropagation(),n$1.revert();break;case "ArrowDown":n$1.open("first","manual");break;case "ArrowUp":n$1.open("last","manual");break;case "ArrowLeft":case "ArrowRight":n$1.selectionManager.setFocusedKey(null);break}},ue=t=>{let u=p?.current&&p.current===t.relatedTarget,T=e(C.current,t.relatedTarget);u||T||(e$1.onBlur&&e$1.onBlur(t),n$1.setFocused(false));},s=t=>{n$1.isFocused||(e$1.onFocus&&e$1.onFocus(t),n$1.setFocused(true));},N=qe([n$1.selectionManager.selectedKeys,n$1.selectionManager.selectionMode]),{isInvalid:d$1,validationErrors:H,validationDetails:_}=n$1.displayValidation,{labelProps:U,inputProps:L,descriptionProps:g$1,errorMessageProps:Q}=a$1({...e$1,isRequired:e$1.selectionMode==="multiple"?e$1.isRequired&&n$1.selectionManager.isEmpty:e$1.isRequired,onChange:n$1.setInputValue,onKeyDown:v?e$1.onKeyDown:a$2(n$1.isOpen&&M.onKeyDown,m,e$1.onKeyDown),onBlur:ue,value:n$1.inputValue,defaultValue:n$1.defaultInputValue,onFocus:s,autoComplete:"off",validate:void 0,[c$2]:n$1,"aria-describedby":[N,e$1["aria-describedby"]].filter(Boolean).join(" ")||void 0},l);a$3(l,n$1.defaultValue,n$1.setValue);let le=t=>{t.pointerType==="touch"&&(l.current?.focus(),n$1.toggle(null,"manual"));},W=t=>{t.pointerType!=="touch"&&(l.current?.focus(),n$1.toggle(t.pointerType==="keyboard"||t.pointerType==="virtual"?"first":null,"manual"));},be=a$4({id:F.id,"aria-label":f$1.format("buttonLabel"),"aria-labelledby":e$1["aria-labelledby"]||U.id}),a$9=a$4({id:A.id,"aria-label":f$1.format("listboxLabel"),"aria-labelledby":e$1["aria-labelledby"]||U.id}),D=useRef(0),ie=t=>{if(w||v)return;if(t.timeStamp-D.current<500){t.preventDefault(),l.current?.focus();return}let u=g(t).getBoundingClientRect(),T=t.changedTouches[0],K=Math.ceil(u.left+.5*u.width),q=Math.ceil(u.top+.5*u.height);T.clientX===K&&T.clientY===q&&(t.preventDefault(),l.current?.focus(),n$1.toggle(null,"manual"),D.current=t.timeStamp);},h$1=n$1.selectionManager.focusedKey!=null&&n$1.isOpen?n$1.collection.getItem(n$1.selectionManager.focusedKey):void 0,I=h$1?.parentKey??null,x=n$1.selectionManager.focusedKey??null,G=useRef(I),V=useRef(x);useEffect(()=>{if(h()&&h$1!=null&&x!=null&&x!==V.current){let t=n$1.selectionManager.isSelected(x),u=I!=null?n$1.collection.getItem(I):null,T=u?.["aria-label"]||(typeof u?.rendered=="string"?u.rendered:"")||"",K=f$1.format("focusAnnouncement",{isGroupChange:(u&&I!==G.current)??false,groupTitle:T,groupCount:u?[...b$2(u,n$1.collection)].length:0,optionText:h$1["aria-label"]||h$1.textValue||"",isSelected:t});a$5(K);}G.current=I,V.current=x;});let S=d(n$1.collection),j=useRef(S),O=useRef(n$1.isOpen);useEffect(()=>{let t=n$1.isOpen!==O.current&&(n$1.selectionManager.focusedKey==null||h());if(n$1.isOpen&&(t||S!==j.current)){let u=f$1.format("countAnnouncement",{optionCount:S});a$5(u);}j.current=S,O.current=n$1.isOpen;});let Z=useRef(n$1.selectedKey);return useEffect(()=>{if(h()&&n$1.isFocused&&n$1.selectedItem&&n$1.selectedKey!==Z.current){let t=n$1.selectedItem["aria-label"]||n$1.selectedItem.textValue||"",u=f$1.format("selectedAnnouncement",{optionText:t});a$5(u);}Z.current=n$1.selectedKey;}),useEffect(()=>{if(n$1.isOpen)return a$6([l.current,C.current].filter(t=>t!=null))},[n$1.isOpen,l,C]),c$3(()=>{!h$1&&l.current&&f(a$7(l.current))===l.current&&c$4(l.current,null);},[h$1]),a$8(b$4,"react-aria-item-action",n$1.isOpen?()=>{n$1.close();}:void 0),{labelProps:U,buttonProps:{...F,...be,excludeFromTabOrder:true,preventFocusOnPress:true,onPress:le,onPressStart:W,isDisabled:w||v},inputProps:c$5(L,{role:"combobox","aria-expanded":F["aria-expanded"],"aria-controls":n$1.isOpen?A.id:void 0,"aria-autocomplete":"list","aria-activedescendant":h$1?b$3(n$1,h$1.key):void 0,onTouchEnd:ie,autoCorrect:"off",spellCheck:"false"}),listBoxProps:c$5(A,a$9,{onAction:void 0,autoFocus:n$1.focusStrategy||true,shouldUseVirtualFocus:true,shouldSelectOnPressUp:true,shouldFocusOnHover:true,linkBehavior:"selection",UNSTABLE_itemBehavior:"action"}),valueProps:{id:N},descriptionProps:g$1,errorMessageProps:Q,isInvalid:d$1,validationErrors:H,validationDetails:_}}function qe(e=[]){let n=c$6(),[p,C]=useState(true),[l,b]=useState(e);return l.some((i,y)=>!Object.is(i,e[y]))&&(C(true),b(e)),useEffect(()=>{p&&!document.getElementById(n)&&C(false);},[n,p,l]),p?n:void 0}function Ye(e){let{defaultFilter:n,menuTrigger:p="input",allowsEmptyCollection:C=false,allowsCustomValue:l,shouldCloseOnBlur:b=true,selectionMode:i="single"}=e,[y,R]=useState(false),[v,w]=useState(false),[te,f]=useState(null),F=useMemo(()=>e.defaultValue!==void 0?e.defaultValue:i==="single"?e.defaultSelectedKey??null:[],[e.defaultValue,e.defaultSelectedKey,i]),A=useMemo(()=>e.value!==void 0?e.value:i==="single"?e.selectedKey:void 0,[e.value,e.selectedKey,i]),[E,z]=a$9(A,F,e.onChange),r=i==="single"&&Array.isArray(E)?E[0]:E,M=o=>{if(i==="single"){let c=Array.isArray(o)?o[0]??null:o;z(c),c!==r&&e.onSelectionChange?.(c);}else {let c=[];Array.isArray(o)?c=o:o!=null&&(c=[o]),z(c);}},{collection:$,selectionManager:m,disabledKeys:ue}=b$4({...e,items:e.items??e.defaultItems,selectionMode:i,disallowEmptySelection:i==="single",allowDuplicateSelectionEvents:true,selectedKeys:useMemo(()=>_e(r),[r]),onSelectionChange:o=>{if(o!=="all")if(i==="single"){let c=o.values().next().value??null;c===r?(e.onSelectionChange?.(c),j(),x()):M(c);}else M([...o]);}}),s=i==="single"?m.firstSelectedKey:null,N=useMemo(()=>[...m.selectedKeys].map(o=>$.getItem(o)).filter(o=>o!=null),[m.selectedKeys,$]),[d,H]=a$9(e.inputValue,we(e.defaultInputValue,s,$)||"",e.onInputChange),[_]=useState(r),[U]=useState(d),L=$,g=useMemo(()=>e.items!=null||!n?$:Xe($,d,n),[$,d,n,e.items]),[Q,le]=useState(g),W=useRef("focus"),a=a$a({...e,onOpenChange:o=>{e.onOpenChange&&e.onOpenChange(o,o?W.current:void 0),m.setFocused(o),o||m.setFocusedKey(null);},isOpen:void 0,defaultOpen:void 0}),D=(o=null,c)=>{let J=c==="manual"||c==="focus"&&p==="focus";(C||g.size>0||J&&L.size>0||e.items)&&(J&&!a.isOpen&&e.items===void 0&&R(true),W.current=c,f(o),a.open());},ie=(o=null,c)=>{let J=c==="manual"||c==="focus"&&p==="focus";!(C||g.size>0||J&&L.size>0||e.items)&&!a.isOpen||(J&&!a.isOpen&&e.items===void 0&&R(true),a.isOpen||(W.current=c),I(o));},h=useCallback(()=>{le(y?L:g);},[y,L,g]),I=useCallback((o=null)=>{a.isOpen&&h(),f(o),a.toggle();},[a,h]),x=useCallback(()=>{a.isOpen&&(h(),a.close());},[a,h]),[G,V]=useState(d),S=useRef(false),j=()=>{let o=s!=null?$.getItem(s)?.textValue??"":"";S.current=false,V(o),H(o);},O=useRef(r),Z=useRef(s!=null?$.getItem(s)?.textValue??"":"");useEffect(()=>{v&&(g.size>0||C)&&!a.isOpen&&d!==G&&p!=="manual"&&D(null,"input"),!y&&!C&&a.isOpen&&g.size===0&&x(),r!=null&&r!==O.current&&i==="single"&&x(),d!==G&&(S.current=true,m.setFocusedKey(null),R(false),i==="single"&&d===""&&(e.inputValue===void 0||A===void 0)&&M(null)),r!==O.current&&(e.inputValue===void 0||A===void 0)?j():G!==d&&V(d);let o=s!=null?$.getItem(s)?.textValue??"":"";(!v||!S.current)&&s!=null&&e.inputValue===void 0&&s===O.current&&Z.current!==o&&(S.current=false,V(o),H(o)),O.current=r,Z.current=o;});let t=d$1({...e,value:useMemo(()=>Array.isArray(r)&&r.length===0?null:{inputValue:d,value:r,selectedKey:s},[d,s,r])}),u=()=>{l&&s==null?T():K();},T=()=>{if(i==="multiple"){V(d),x();return}let o=null;O.current=o,M(o),x();},K=(o=false)=>{if(A!==void 0&&e.inputValue!==void 0){let c=s!=null?$.getItem(s)?.textValue??"":"";(o||i==="multiple"||d!==c)&&(e.onSelectionChange?.(s),e.onChange?.(r)),V(c),x();}else j(),x();},q=()=>{if(l){let o=s!=null?$.getItem(s)?.textValue??"":"";d===o?K():T();}else K();},Ne=()=>{a.isOpen&&m.focusedKey!=null?m.isSelected(m.focusedKey)&&i==="single"?K(true):m.select(m.focusedKey):q();},ce=useRef([d,r]),He=o=>{o?(ce.current=[d,r],p==="focus"&&!e.isReadOnly&&D(null,"focus")):(b&&q(),(d!==ce.current[0]||r!==ce.current[1])&&t.commitValidation()),w(o);},Ue=useMemo(()=>a.isOpen?y?L:g:Q,[a.isOpen,L,g,y,Q]),ae=e.defaultSelectedKey??(i==="single"?_:null);return {...t,...a,focusStrategy:te,toggle:ie,open:D,close:q,selectionManager:m,value:r,defaultValue:F??_,setValue:M,selectedKey:s,selectedItems:N,defaultSelectedKey:ae,setSelectedKey:M,disabledKeys:ue,isFocused:v,setFocused:He,selectedItem:N[0]??null,collection:Ue,inputValue:d,defaultInputValue:we(e.defaultInputValue,ae,$)??U,setInputValue:H,commit:Ne,revert:u}}function Xe(e,n,p){return new a$b(ze(e,e,n,p))}function ze(e,n,p,C){let l=[];for(let b of n)if(b.type==="section"&&b.hasChildNodes){let i=ze(e,b$2(b,e),p,C);[...i].some(y=>y.type==="item")&&l.push({...b,childNodes:i});}else b.type==="item"&&C(b.textValue,p)?l.push({...b}):b.type!=="item"&&l.push({...b});return l}function we(e,n,p){return e==null&&n!=null?p.getItem(n)?.textValue??"":e}function _e(e){if(e!==void 0)return e===null?[]:Array.isArray(e)?e:[e]}export{Ze as a,Ye as b};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a}from'./chunk-AV4ZP5SY.mjs';import {jsx,Fragment}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 m=({value:o,...t})=>{let e=a(t);return jsx(Fragment,{children:e.format(o)})};m.displayName="NumberFormat";export{m as a};
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a as a$4}from'./chunk-IVVZSESM.mjs';import {a as a$2}from'./chunk-2MS356Q7.mjs';import {b}from'./chunk-J7EAQSKX.mjs';import {e,f,d,h,g}from'./chunk-IW4GXU75.mjs';import {b as b$1}from'./chunk-J3MJZQUJ.mjs';import {a as a$5}from'./chunk-O7XK2WIX.mjs';import {a as a$3}from'./chunk-RSKKEGJZ.mjs';import {a as a$1}from'./chunk-K6X2BHPP.mjs';import {c}from'./chunk-JDLUGVXG.mjs';import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$6}from'./chunk-4QEH5CGK.mjs';import j from'react';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 H="_1hgzo20",O=a({defaultClassName:"_1hgzo22 _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6eu _1yep5z6dy",variantClassNames:{isPlaceholder:{true:"_1hgzo23"},isDisabled:{true:"_1hgzo24"}},defaultVariants:{},compoundVariants:[]}),W="_1hgzo21 _1yep5z69c _1yep5z69d _1yep5z69e";var ye="Choose file",Ie="No file chosen";function he(t,d){return t.length===0?d:t.length===1?t[0].name:`${t.length} files`}var k=j.forwardRef(({className:t,style:d$1,label:c$1,buttonLabel:q=ye,placeholder:$=Ie,description:f$1,errorMessage:s,warningMessage:g$1,validationState:G,labelPosition:n="top",isDisabled:o,autoFocus:J,buttonStyle:K,buttonClassName:Q,onValueChange:X,onSelect:Y,acceptedFileTypes:Z,allowsMultiple:ee,defaultCamera:te,acceptDirectory:ne,"aria-label":y,"aria-describedby":oe,...ae},ie)=>{let[I,re]=j.useState([]),h$1=c(),v=c(),F=c(),_=c(),z=c(),b$2=c(),{isFocusVisible:se,focusProps:le}=a$1({within:true}),a=s?"error":G,u=a==="warning"&&!!g$1,pe=s?_:u?z:f$1?F:void 0,l=b({description:s||u?void 0:f$1,errorMessage:s,warningMessage:u?g$1:void 0,descriptionProps:{id:F},errorMessageProps:{id:_},warningMessageProps:{id:z},labelPosition:n,isDisabled:o}),x=i=>i.filter(Boolean).join(" ")||void 0,de=y?void 0:x([c$1?h$1:void 0,v]),ce=x([oe,pe,b$2]),ue=i=>{let w=i?[...i]:[];re(w),X?.(w),Y?.(i);},me=he(I,$),fe=I.length===0,N=a$2({validationState:a}),ge=a$3({"data-disabled":o,"data-validation-state":a});return jsx(a$4,{acceptedFileTypes:Z,allowsMultiple:ee,defaultCamera:te,acceptDirectory:ne,onSelect:ue,children:jsxs("div",{ref:ie,...ae,...ge,className:a$6("BaselineUI-FileInput",g({labelPosition:n}),t),style:d$1,children:[c$1||n==="start"&&l?jsxs("div",{className:f({labelPosition:n,hasMessage:!!l}),children:[jsx(a$5,{id:h$1,elementType:"span",className:e,children:c$1}),n==="start"&&l]}):null,jsxs("div",{...le,className:a$6(h({validationState:a,isDisabled:o,variant:"primary",isFocused:se,isHovered:false,isReadOnly:false}),W),children:[jsx(b$1,{id:v,label:q,variant:"primary",size:"sm",autoFocus:J,isDisabled:o,"aria-label":y,"aria-labelledby":de,"aria-describedby":ce,style:K,className:a$6(H,Q)}),jsx("span",{id:b$2,className:O({isPlaceholder:fe,isDisabled:o}),children:me}),N?jsx(N,{className:d({validationState:a}),size:16}):null]}),n==="top"&&l]})})});k.displayName="FileInput";export{k as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
* 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
|
+
function pe(r,i,t){let{isDisabled:a$4=false,isReadOnly:l=false,value:u,name:R,form:V,children:k,isRequired:b,validationBehavior:P="aria","aria-label":C,"aria-labelledby":x,"aria-describedby":F,onPressStart:c$2,onPressEnd:m,onPressChange:n,onPress:f,onPressUp:g$1,onClick:v}=r,s=d({...r,value:i.isSelected}),{isInvalid:T,validationErrors:j,validationDetails:q}=s.displayValidation;a(r,s,t);let W=e=>{e.stopPropagation(),i.setSelected(g(e).checked);},B=k!=null,N=C!=null||x!=null;!B&&!N&&process.env.NODE_ENV!=="production"&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:U,isPressed:w}=d$1({onPressStart:c$2,onPressEnd:m,onPressChange:n,onPress:f,onPressUp:g$1,onClick:v,isDisabled:a$4}),[_,y]=useState(false),{pressProps:z}=d$1({onPressStart(e){if(e.pointerType==="keyboard"||e.pointerType==="virtual"){e.continuePropagation();return}c$2?.(e),n?.(true),y(true);},onPressEnd(e){if(e.pointerType==="keyboard"||e.pointerType==="virtual"){e.continuePropagation();return}m?.(e),n?.(false),y(false);},onPressUp(e){if(e.pointerType==="keyboard"||e.pointerType==="virtual"){e.continuePropagation();return}g$1?.(e);},onClick:v,onPress(e){if(e.pointerType==="keyboard"||e.pointerType==="virtual"){e.continuePropagation();return}f?.(e),i.toggle(),t.current?.focus();let{[c]:S}=r,{commitValidation:Q}=S||s;Q();},isDisabled:a$4||l}),{focusableProps:G}=d$2(r,t),J=c$1(U,G),K=a$1(r,{labelable:true});a$2(t,i.defaultSelected,i.setSelected);let L=a$3(),M=a$3();return {labelProps:c$1(z,{onClick:e=>e.preventDefault()}),inputProps:c$1(K,{checked:i.isSelected,"aria-required":b&&P==="aria"||void 0,required:b&&P==="native","aria-invalid":T||r.validationState==="invalid"||void 0,"aria-errormessage":r["aria-errormessage"],"aria-controls":r["aria-controls"],"aria-readonly":l||void 0,"aria-describedby":[L.id,M.id,F].filter(Boolean).join(" ")||void 0,onChange:W,disabled:a$4,...u==null?{}:{value:u},name:R,form:V,type:"checkbox",...J}),descriptionProps:L,errorMessageProps:M,isSelected:i.isSelected,isPressed:w||_,isDisabled:a$4,isReadOnly:l,isInvalid:T||r.validationState==="invalid",validationErrors:j,validationDetails:q}}export{pe as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
* 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 w=new WeakMap;function N(o,t){let{id:e}=w.get(o)??{};if(!e)throw new Error("Unknown list");return `${e}-${ce(t)}`}function ce(o){return typeof o=="string"?o.replace(/\s*/g,""):""+o}function Se(o,t,e){let{isVirtualized:n,keyboardDelegate:a$3,layoutDelegate:s,onAction:d,disallowTypeAhead:A,linkBehavior:p="action",keyboardNavigationBehavior:M="arrow",escapeKeyBehavior:k="clearSelection",shouldSelectOnPressUp:S}=o;!o["aria-label"]&&!o["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let{listProps:L}=a({selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,ref:e,keyboardDelegate:a$3,layoutDelegate:s,isVirtualized:n,selectOnFocus:t.selectionManager.selectionBehavior==="replace",shouldFocusWrap:o.shouldFocusWrap,linkBehavior:p,disallowTypeAhead:A,autoFocus:o.autoFocus,escapeKeyBehavior:k,UNSTABLE_focusOnEntry:o.UNSTABLE_focusOnEntry}),v=c(o.id);w.set(t,{id:v,onAction:d,linkBehavior:p,keyboardNavigationBehavior:M,shouldSelectOnPressUp:S});let m=c$1({selectionManager:t.selectionManager,hasItemActions:!!d}),T=a$1(e,{isDisabled:t.collection.size!==0}),D=a$2(o,{labelable:true}),E=c$2(D,{role:"grid",id:v,"aria-multiselectable":t.selectionManager.selectionMode==="multiple"?"true":void 0},t.collection.size===0?{tabIndex:T?-1:0}:L,m);return n&&(E["aria-rowcount"]=t.collection.size,E["aria-colcount"]=1),b({},t),{gridProps:E}}var Y={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function He(o,t,e$3){let{node:n,isVirtualized:a}=o,{direction:s}=b$1(),{onAction:d$2,linkBehavior:A,keyboardNavigationBehavior:p$1,shouldSelectOnPressUp:M}=w.get(t),k=e(),S=useRef(null),L=()=>{e$3.current!==null&&(S.current!=null&&n.key!==S.current||!i(e$3.current))&&i$1(e$3.current);},v={},m=o.hasChildItems,T=t.selectionManager.isLink(n.key);if(n!=null&&"expandedKeys"in t){let r=t.collection.getChildren?.(n.key);m=m||[...r??[]].length>1,d$2==null&&!T&&t.selectionManager.selectionMode==="none"&&m&&(d$2=()=>t.toggleKey(n.key));let l=m?t.expandedKeys.has(n.key):void 0,i=1,u=n.index;if(n.level>=0&&n?.parentKey!=null){let c=t.collection.getItem(n.parentKey);if(c){let I=de(c,t.collection);i=[...I].filter(se=>se.type==="item").length,u>0&&I[0].type!=="item"&&(u-=1);}}else i=[...t.collection].filter(c=>c.level===0&&c.type==="item").length;v={"aria-expanded":l,"aria-level":n.level+1,"aria-posinset":u+1,"aria-setsize":i};}let{itemProps:D,...E}=d({selectionManager:t.selectionManager,key:n.key,ref:e$3,isVirtualized:a,shouldSelectOnPressUp:o.shouldSelectOnPressUp||M,onAction:d$2||n.props?.onAction?a$3(n.props?.onAction,d$2?()=>d$2(n.key):void 0):void 0,focus:L,linkBehavior:A}),Z=r=>{let l=f(a$4(e$3.current));if(!e$1(r.currentTarget,g(r))||!e$3.current||!l)return;let i=d$1(e$3.current);if(i.currentNode=l,!J(r,t,n,m,s,l,e$3.current))switch(r.key){case "ArrowLeft":{if(p$1==="arrow"){let u=s==="rtl"?i.nextNode():i.previousNode();if(u)r.preventDefault(),r.stopPropagation(),i$1(u),e$2(u,{containingElement:b$2(e$3.current)});else if(r.preventDefault(),r.stopPropagation(),s==="rtl")i$1(e$3.current),e$2(e$3.current,{containingElement:b$2(e$3.current)});else {i.currentNode=e$3.current;let c=Q(i);c&&(i$1(c),e$2(c,{containingElement:b$2(e$3.current)}));}}break}case "ArrowRight":{if(p$1==="arrow"){let u=s==="rtl"?i.previousNode():i.nextNode();if(u)r.preventDefault(),r.stopPropagation(),i$1(u),e$2(u,{containingElement:b$2(e$3.current)});else if(r.preventDefault(),r.stopPropagation(),s==="ltr")i$1(e$3.current),e$2(e$3.current,{containingElement:b$2(e$3.current)});else {i.currentNode=e$3.current;let c=Q(i);c&&(i$1(c),e$2(c,{containingElement:b$2(e$3.current)}));}}break}case "ArrowUp":case "ArrowDown":!r.altKey&&e$1(e$3.current,g(r))&&(r.stopPropagation(),r.preventDefault(),e$3.current.parentElement?.dispatchEvent(new KeyboardEvent(r.nativeEvent.type,r.nativeEvent)));break}},ee=r=>{if(S.current=n.key,g(r)!==e$3.current){b$3()||t.selectionManager.setFocusedKey(n.key);return}},te=r=>{let l=f(a$4(e$3.current));if(!(!e$1(r.currentTarget,g(r))||!e$3.current||!l)){if(p$1==="tab"){if(g(r)!==e$3.current&&r.key!=="Tab"){r.stopPropagation();return}if(J(r,t,n,m,s,l,e$3.current))return}switch(r.key){case "Tab":if(p$1==="tab"){let i=d$1(e$3.current,{tabbable:true});i.currentNode=l,(r.shiftKey?i.previousNode():i.nextNode())&&r.stopPropagation();}}}},re=p(n.props),ne=E.hasAction?re:{},y=c$2(D,ne,{role:"row",onKeyDownCapture:p$1==="arrow"?Z:void 0,onFocus:ee,"aria-label":n["aria-label"]||n.textValue||void 0,"aria-selected":t.selectionManager.canSelectItem(n.key)?t.selectionManager.isSelected(n.key):void 0,"aria-disabled":t.selectionManager.isDisabled(n.key)||void 0,"aria-labelledby":k&&(n["aria-label"]||n.textValue)?`${N(t,n.key)} ${k}`:void 0,id:N(t,n.key)}),oe=y.onKeyDown;y.onKeyDown=r=>{te(r),r.isPropagationStopped()||oe?.(r);};let ie=y.onPointerDown;y.onPointerDown=r=>{let l=g(r);if(l&&l!==e$3.current&&c$3(l)){r.stopPropagation();return}ie?.(r);};let le=y.onMouseDown;if(y.onMouseDown=r=>{let l=g(r);if(l&&l!==e$3.current&&c$3(l)){r.stopPropagation();return}le?.(r);},a){let{collection:r}=t,l=[...r];y["aria-rowindex"]=l.find(i=>i.type==="section")?[...r.getKeys()].filter(i=>r.getItem(i)?.type!=="section").findIndex(i=>i===n.key)+1:n.index+1;}let ae={role:"gridcell","aria-colindex":1};return {rowProps:{...c$2(y,v)},gridCellProps:ae,descriptionProps:{id:k},...E}}function J(o,t,e,n,a,s,d){if(!("expandedKeys"in t)||s!==d)return false;if(o.key===Y.expand[a]&&t.selectionManager.focusedKey===e.key&&n&&!t.expandedKeys.has(e.key))return t.toggleKey(e.key),o.stopPropagation(),true;if(o.key===Y.collapse[a]&&t.selectionManager.focusedKey===e.key){if(n&&t.expandedKeys.has(e.key))return t.toggleKey(e.key),o.stopPropagation(),true;if(!t.expandedKeys.has(e.key)&&e.parentKey&&t.collection.getItem(e.parentKey)?.type==="item")return t.selectionManager.setFocusedKey(e.parentKey),o.stopPropagation(),true}return false}function Q(o){let t=null,e=null;do e=o.lastChild(),e&&(t=e);while(e);return t}function de(o,t){let e=t.getChildren?.(o.key),n=e?Array.from(e):[],a=n.length>0?n[0]:null,s=[];for(;a;)s.push(a),a=a.nextKey!=null?t.getItem(a.nextKey):null;return s}export{N as a,Se as b,He as c};
|
|
@@ -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 _=a({defaultClassName:"_1i0ytqa3 _1yep5z6id _1yep5z6ie _1yep5z6if _1yep5z6ln _1yep5z6lo _1yep5z6lq",variantClassNames:{isFocusVisible:{true:"_1i0ytqa4"},isInline:{true:"_1yep5z612f",false:"_1yep5z612h"},isDisabled:{true:"_1i0ytqa7 _1yep5z6zd",false:"_1i0ytqa8"}},defaultVariants:{},compoundVariants:[[{isInline:true,isFocusVisible:true},"_1i0ytqa9 _1yep5z61p7 _1yep5z61u5 _1yep5z61u7"],[{isInline:false,isFocusVisible:true},"_1i0ytqaa"],[{isInline:true,isDisabled:true},"_1yep5z61oi"],[{isInline:false,isDisabled:true},"_1yep5z61ok"]]}),p="_1i0ytqa0",t=a({defaultClassName:"_1i0ytqab _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6kd _1yep5z6ke _1yep5z6kf _1yep5z6ln",variantClassNames:{isInline:{false:"_1yep5z6126"},isDisabled:{true:"_1i0ytqad _1yep5z6zd"}},defaultVariants:{},compoundVariants:[]}),n=a({defaultClassName:"_1i0ytqa1 _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6kj _1yep5z6kk _1yep5z6kl _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6ln",variantClassNames:{isInline:{false:"_1yep5z63r _1yep5z63s _1yep5z63t _1yep5z619 _1yep5z61a _1yep5z61b"}},defaultVariants:{},compoundVariants:[]});export{_ as a,p as b,t as c,n as d};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {c}from'./chunk-6ZV4UYEG.mjs';import {b}from'./chunk-PAQQ7MQG.mjs';import {a as a$2}from'./chunk-O7XK2WIX.mjs';import {a as a$5}from'./chunk-GCZFXILF.mjs';import {a as a$4}from'./chunk-MEZNZ5W6.mjs';import {b as b$1}from'./chunk-WWSGOGLA.mjs';import {e}from'./chunk-KUEDQO7P.mjs';import {b as b$2}from'./chunk-N2XGJKZG.mjs';import {a as a$1}from'./chunk-66CUIXA6.mjs';import {a}from'./chunk-RT4LMB6X.mjs';import {t}from'./chunk-MRJFGHFW.mjs';import {c as c$1}from'./chunk-TZ4MVY4E.mjs';import {a as a$7}from'./chunk-KEVERVHK.mjs';import {a as a$6}from'./chunk-JDLUGVXG.mjs';import {e as e$1,g}from'./chunk-AUOQSTS5.mjs';import {a as a$3}from'./chunk-4QEH5CGK.mjs';import j,{useMemo,useState,useEffect}from'react';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 _={none:"toolbar",single:"radiogroup",multiple:"toolbar"};function P(e$2,o,r){let{isDisabled:i,orientation:n="horizontal"}=e$2,[c,p]=useState(false);a$6(()=>{p(!!(r.current&&r.current.parentElement?.closest('[role="toolbar"]')));},[r]),[...o.collection.getKeys()].some(t=>!o.disabledKeys.has(t))||(i=true);let{direction:a}=b$2(),s=e(r),l=a==="rtl"&&n==="horizontal",A=t=>{if(e$1(t.currentTarget,g(t)))switch(t.key){case "ArrowRight":case "ArrowDown":t.preventDefault(),t.stopPropagation(),t.key==="ArrowRight"&&l?s.focusPrevious({wrap:true}):s.focusNext({wrap:true});break;case "ArrowLeft":case "ArrowUp":t.preventDefault(),t.stopPropagation(),t.key==="ArrowLeft"&&l?s.focusNext({wrap:true}):s.focusPrevious({wrap:true});break}},u=_[o.selectionManager.selectionMode];return c&&u==="toolbar"&&(u="group"),{actionGroupProps:{...a$7(e$2,{labelable:true}),role:u,"aria-orientation":u==="toolbar"?n:void 0,"aria-disabled":i,onKeyDown:A}}}var z={none:void 0,single:"radio",multiple:"checkbox"};function x(e,o,r){let i=o.selectionManager.selectionMode,n={role:z[i]};if(i!=="none"){let m=o.selectionManager.isSelected(e.key);n["aria-checked"]=m;}let c=e.key===o.selectionManager.focusedKey,p=t(()=>{c&&o.selectionManager.setFocusedKey(null);});return useEffect(()=>()=>{p();},[]),{buttonProps:c$1(n,{tabIndex:c||o.selectionManager.focusedKey==null?0:-1,onFocus(){o.selectionManager.setFocusedKey(e.key);},onPress(){o.selectionManager.select(e.key);}})}}var F="_1yep5z6f5",N="_1dc3b8m0";var B=j.forwardRef(({className:e,selectionMode:o,style:r,"data-block-id":i,"data-block-class":n,tooltipProps:c$1,icon:p,renderActionItem:m,...a$4},s)=>{let l=a(s),A=c(),u=b({...a$4,selectionMode:o,suppressTextValueWarning:true,children:A}),{actionGroupProps:t}=P({...a$4,selectionMode:o,children:A},u,l),I=[...u.collection].map(g=>(a$1(g.value),jsx(V,{item:g,state:u,isDisabled:a$4.isDisabled,onAction:a$4.onAction,tooltipProps:c$1,renderActionItem:m},g.key)));return p?jsxs(a$2,{...t,display:"flex",flexDirection:"row",gap:"md",alignItems:"center",className:a$3("BaselineUI-ActionGroup",e),"data-block-id":i,"data-block-class":n,style:r,ref:l,children:[jsx(p,{"aria-hidden":"true",size:24,className:F}),jsx(a$2,{display:"flex",flexDirection:"row",gap:"xs",flex:1,children:I})]}):jsx(a$2,{...t,display:"flex",flexDirection:"row",gap:"xs",className:a$3("BaselineUI-ActionGroup",e),"data-block-id":i,"data-block-class":n,style:r,ref:l,children:I})});B.displayName="ActionGroup";var V=({item:e,state:o,tooltipProps:r,renderActionItem:i,onAction:n,isDisabled:c})=>{let{buttonProps:p}=x({key:e.key},o),m=c||o.selectionManager.isDisabled(e.key),a=o.selectionManager.isSelected(e.key);a$1(e.value);let{icon:s}=e.value;a$1(s);let l=useMemo(()=>(a$1(e.value),typeof r=="function"?r(e.value):r),[r,e.value]);return jsx(b$1,{...c$1(p,{onPress:()=>{n?.(e.key);}}),children:jsx(a$4,{text:e.textValue,size:"sm",variant:"inverse",includeArrow:false,offset:4,...l,children:i?.(e,{isSelected:a,isDisabled:m})||jsx(a$5,{variant:"tertiary",icon:s,"aria-label":e.textValue,size:"sm",isDisabled:m,className:a$3({[N]:a},"BaselineUI-ActionGroup-Item")})})})};export{B as a,V as b};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a}from'./chunk-MXKP7NQ4.mjs';import {b as b$1}from'./chunk-WL27JGVG.mjs';import {c}from'./chunk-JDLUGVXG.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
|
+
function b(c$1,e){let{key:r}=c$1,a$1=e.selectionManager,l=c(),n=!e.selectionManager.canSelectItem(r),s=e.selectionManager.isSelected(r),d=()=>a$1.toggleSelection(r),m=b$1(a,"@react-aria/grid");return {checkboxProps:{id:l,"aria-label":m.format("select"),isSelected:s,isDisabled:n,onChange:d}}}export{b as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a as a$4}from'./chunk-5KD2MNNX.mjs';import {d as d$1}from'./chunk-W6QO7FPZ.mjs';import {a as a$2}from'./chunk-KPEONVLU.mjs';import {a,b}from'./chunk-2RCST7ET.mjs';import {a as a$1,c,b as b$1}from'./chunk-2VY4FAOY.mjs';import {a as a$3}from'./chunk-X3AXUU3H.mjs';import {useState,useMemo,useRef}from'react';/**
|
|
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 ne={"ar-AE":{alpha:"\u0623\u0644\u0641\u0627",black:"\u0623\u0633\u0648\u062F",blue:"\u0623\u0632\u0631\u0642","blue purple":"\u0623\u0631\u062C\u0648\u0627\u0646\u064A \u0645\u0632\u0631\u0642",brightness:"\u0627\u0644\u0633\u0637\u0648\u0639",brown:"\u0628\u0646\u064A","brown yellow":"\u0623\u0635\u0641\u0631 \u0628\u0646\u064A",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u0633\u0645\u0627\u0648\u064A","cyan blue":"\u0623\u0632\u0631\u0642 \u0633\u0645\u0627\u0648\u064A",dark:"\u062F\u0627\u0643\u0646",gray:"\u0631\u0645\u0627\u062F\u064A",grayish:"\u0645\u0627\u0626\u0644 \u0644\u0644\u0631\u0645\u0627\u062F\u064A",green:"\u0623\u062E\u0636\u0631","green cyan":"\u0633\u0645\u0627\u0648\u064A \u0645\u062E\u0636\u0631",hue:"\u062F\u0631\u062C\u0629 \u0627\u0644\u0644\u0648\u0646",light:"\u0641\u0627\u062A\u062D",lightness:"\u0627\u0644\u0625\u0636\u0627\u0621\u0629",magenta:"\u0623\u0631\u062C\u0648\u0627\u0646\u064A","magenta pink":"\u0623\u0631\u062C\u0648\u0627\u0646\u064A \u0648\u0631\u062F\u064A",orange:"\u0628\u0631\u062A\u0642\u0627\u0644\u064A","orange yellow":"\u0623\u0635\u0641\u0631 \u0628\u0631\u062A\u0642\u0627\u0644\u064A",pale:"\u0628\u0627\u0647\u062A",pink:"\u0648\u0631\u062F\u064A","pink red":"\u0623\u062D\u0645\u0631 \u0648\u0631\u062F\u064A",purple:"\u0623\u0631\u062C\u0648\u0627\u0646\u064A","purple magenta":"\u0628\u0646\u0641\u0633\u062C\u064A",red:"\u0623\u062D\u0645\u0631","red orange":"\u0628\u0631\u062A\u0642\u0627\u0644\u064A \u0645\u062D\u0645\u0631",saturation:"\u0627\u0644\u062A\u0634\u0628\u0639",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} \u0634\u0641\u0627\u0641`,"very dark":"\u062F\u0627\u0643\u0646 \u062C\u062F\u064B\u0627","very light":"\u0641\u0627\u062A\u062D \u062C\u062F\u064B\u0627",vibrant:"\u0633\u0627\u0637\u0639",white:"\u0623\u0628\u064A\u0636",yellow:"\u0623\u0635\u0641\u0631","yellow green":"\u0623\u062E\u0636\u0631 \u0645\u0635\u0641\u0631"},"bg-BG":{alpha:"\u0410\u043B\u0444\u0430",black:"\u0447\u0435\u0440\u043D\u043E",blue:"\u0421\u0438\u043D\u044C\u043E","blue purple":"\u0441\u0438\u043D\u044C\u043E \u043B\u0438\u043B\u0430\u0432\u043E",brightness:"\u042F\u0440\u043A\u043E\u0441\u0442",brown:"\u043A\u0430\u0444\u044F\u0432\u043E","brown yellow":"\u043A\u0430\u0444\u044F\u0432\u043E \u0436\u044A\u043B\u0442\u043E",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u0446\u0438\u0430\u043D","cyan blue":"\u0446\u0438\u0430\u043D \u0441\u0438\u043D\u044C\u043E",dark:"\u0442\u044A\u043C\u043D\u043E",gray:"\u0441\u0438\u0432\u043E",grayish:"\u0441\u0438\u0432\u043A\u0430\u0432",green:"\u0417\u0435\u043B\u0435\u043D\u043E","green cyan":"\u0437\u0435\u043B\u0435\u043D \u0446\u0438\u0430\u043D",hue:"\u041E\u0442\u0442\u0435\u043D\u044A\u043A",light:"\u0441\u0432\u0435\u0442\u043B\u043E",lightness:"\u041B\u0435\u043A\u043E\u0442\u0430",magenta:"\u043C\u0430\u0433\u0435\u043D\u0442\u0430","magenta pink":"\u043C\u0430\u0433\u0435\u043D\u0442\u0430 \u0440\u043E\u0437\u043E\u0432\u043E",orange:"\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u043E","orange yellow":"\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u043E \u0436\u044A\u043B\u0442\u043E",pale:"\u0431\u043B\u0435\u0434\u043E",pink:"\u0440\u043E\u0437\u043E\u0432\u043E","pink red":"\u0440\u043E\u0437\u043E\u0432\u043E \u0447\u0435\u0440\u0432\u0435\u043D\u043E",purple:"\u043B\u0438\u043B\u0430\u0432\u043E","purple magenta":"\u043B\u0438\u043B\u0430\u0432\u043E \u043C\u0430\u0433\u0435\u043D\u0442\u0430",red:"\u0427\u0435\u0440\u0432\u0435\u043D\u043E","red orange":"\u0447\u0435\u0440\u0432\u0435\u043D \u043F\u043E\u0440\u0442\u043E\u043A\u0430\u043B",saturation:"\u041D\u0430\u0441\u0438\u0442\u0435\u043D\u043E\u0441\u0442",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} \u043F\u0440\u043E\u0437\u0440\u0430\u0447\u0435\u043D`,"very dark":"\u043C\u043D\u043E\u0433\u043E \u0442\u044A\u043C\u043D\u043E","very light":"\u043C\u043D\u043E\u0433\u043E \u0441\u0432\u0435\u0442\u043B\u043E",vibrant:" \u044F\u0440\u043A\u043E",white:"\u0431\u044F\u043B\u043E",yellow:"\u0436\u044A\u043B\u0442\u043E","yellow green":"\u0436\u044A\u043B\u0442\u043E \u0437\u0435\u043B\u0435\u043D"},"cs-CZ":{alpha:"Alfa",black:"\u010Dern\xE1",blue:"Modr\xE1","blue purple":"modrofialov\xE1",brightness:"Jas",brown:"hn\u011Bd\xE1","brown yellow":"hn\u011Bdo\u017Elut\xE1",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"tyrkysov\xE1","cyan blue":"tyrkysovomodr\xE1",dark:"tmav\xE1",gray:"\u0161ed\xE1",grayish:"na\u0161edl\xE1",green:"Zelen\xE1","green cyan":"zelenotyrkysov\xE1",hue:"Odst\xEDn",light:"sv\u011Btl\xE1",lightness:"Sv\u011Btlost",magenta:"purpurov\xE1","magenta pink":"purpurov\u011B r\u016F\u017Eov\xE1",orange:"oran\u017Eov\xE1","orange yellow":"oran\u017Eovo\u017Elut\xE1",pale:"bled\xE1",pink:"r\u016F\u017Eov\xE1","pink red":"r\u016F\u017Eovo\u010Derven\xE1",purple:"fialov\xE1","purple magenta":"fialov\u011B purpurov\xE1",red:"\u010Cerven\xE1","red orange":"\u010Dervenooran\u017Eov\xE1",saturation:"Sytost",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} pr\u016Fhledn\xE9`,"very dark":"velmi tmav\xE1","very light":"velmi sv\u011Btl\xE1",vibrant:"z\xE1\u0159iv\xE1",white:"b\xEDl\xE1",yellow:"\u017Elut\xE1","yellow green":"\u017Elutozelen\xE1"},"da-DK":{alpha:"Alfa",black:"sort",blue:"Bl\xE5","blue purple":"bl\xE5lilla",brightness:"Lysstyrke",brown:"brun","brown yellow":"brungul",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cyan","cyan blue":"cyan bl\xE5",dark:"m\xF8rk",gray:"gr\xE5",grayish:"gr\xE5lig",green:"Gr\xF8n","green cyan":"gr\xF8n cyan",hue:"Tone",light:"lys",lightness:"Lyshed",magenta:"magenta","magenta pink":"magenta pink",orange:"orange","orange yellow":"orangegul",pale:"bleg",pink:"lyser\xF8d","pink red":"lyser\xF8dlig r\xF8d",purple:"lilla","purple magenta":"lilla magenta",red:"R\xF8d","red orange":"r\xF8dorange",saturation:"Farvem\xE6tning",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} gennemsigtig`,"very dark":"meget m\xF8rk","very light":"meget lys",vibrant:"klar",white:"hvid",yellow:"gul","yellow green":"gulgr\xF8n"},"de-DE":{alpha:"Alpha",black:"Schwarz",blue:"Blau","blue purple":"Blaulila",brightness:"Helligkeit",brown:"Braun","brown yellow":"Braungelb",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"Cyan","cyan blue":"Cyanblau",dark:"dunkles",gray:"Grau",grayish:"gr\xE4uliches",green:"Gr\xFCn","green cyan":"Gr\xFCncyan",hue:"Farbton",light:"helles",lightness:"Leuchtkraft",magenta:"Magenta","magenta pink":"Magentarosa",orange:"Orange","orange yellow":"Orangegelb",pale:"blasses",pink:"Rosa","pink red":"Rosarot",purple:"Lila","purple magenta":"Lilamagenta",red:"Rot","red orange":"Rotorange",saturation:"S\xE4ttigung",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, zu ${e.percentTransparent} transparent`,"very dark":"sehr dunkles","very light":"sehr helles",vibrant:"lebhaftes",white:"Wei\xDF",yellow:"Gelb","yellow green":"Gelbgr\xFCn"},"el-GR":{alpha:"\u0386\u03BB\u03C6\u03B1",black:"\u03BC\u03B1\u03CD\u03C1\u03BF",blue:"\u039C\u03C0\u03BB\u03B5","blue purple":"\u03BC\u03C0\u03BB\u03B5 \u03BC\u03C9\u03B2",brightness:"\u03A6\u03C9\u03C4\u03B5\u03B9\u03BD\u03CC\u03C4\u03B7\u03C4\u03B1",brown:"\u03BA\u03B1\u03C6\u03AD","brown yellow":"\u03BA\u03B1\u03C6\u03AD \u03BA\u03AF\u03C4\u03C1\u03B9\u03BD\u03BF",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u03BA\u03C5\u03B1\u03BD\u03CC","cyan blue":"\u03BA\u03C5\u03B1\u03BD\u03CC \u03BC\u03C0\u03BB\u03B5",dark:"\u03C3\u03BA\u03BF\u03CD\u03C1\u03BF",gray:"\u03B3\u03BA\u03C1\u03B9",grayish:"\u03B3\u03BA\u03C1\u03B9\u03B6\u03C9\u03C0\u03CC",green:"\u03A0\u03C1\u03AC\u03C3\u03B9\u03BD\u03BF","green cyan":"\u03C0\u03C1\u03AC\u03C3\u03B9\u03BD\u03BF \u03BA\u03C5\u03B1\u03BD\u03CC",hue:"\u03A4\u03CC\u03BD\u03BF\u03C2",light:"\u03B1\u03BD\u03BF\u03B9\u03C7\u03C4\u03CC",lightness:"\u03A6\u03C9\u03C4\u03B5\u03B9\u03BD\u03CC\u03C4\u03B7\u03C4\u03B1",magenta:"\u03BC\u03B1\u03C4\u03B6\u03AD\u03BD\u03C4\u03B1","magenta pink":"\u03BC\u03B1\u03C4\u03B6\u03AD\u03BD\u03C4\u03B1 \u03C1\u03BF\u03B6",orange:"\u03C0\u03BF\u03C1\u03C4\u03BF\u03BA\u03B1\u03BB\u03AF","orange yellow":"\u03C0\u03BF\u03C1\u03C4\u03BF\u03BA\u03B1\u03BB\u03AF \u03BA\u03AF\u03C4\u03C1\u03B9\u03BD\u03BF",pale:"\u03B1\u03BD\u03BF\u03B9\u03C7\u03C4\u03CC",pink:"\u03C1\u03BF\u03B6","pink red":"\u03C1\u03BF\u03B6 \u03BA\u03CC\u03BA\u03BA\u03B9\u03BD\u03BF",purple:"\u03BC\u03C9\u03B2","purple magenta":"\u03BC\u03C9\u03B2 \u03BC\u03B1\u03C4\u03B6\u03AD\u03BD\u03C4\u03B1",red:"\u039A\u03CC\u03BA\u03BA\u03B9\u03BD\u03BF","red orange":"\u03BA\u03CC\u03BA\u03BA\u03B9\u03BD\u03BF \u03C0\u03BF\u03C1\u03C4\u03BF\u03BA\u03B1\u03BB\u03AF",saturation:"\u039A\u03BF\u03C1\u03B5\u03C3\u03BC\u03CC\u03C2",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} \u03B4\u03B9\u03B1\u03C6\u03B1\u03BD\u03AD\u03C2`,"very dark":"\u03C0\u03BF\u03BB\u03CD \u03C3\u03BA\u03BF\u03CD\u03C1\u03BF","very light":"\u03C0\u03BF\u03BB\u03CD \u03B1\u03BD\u03BF\u03B9\u03C7\u03C4\u03CC",vibrant:"\u03AD\u03BD\u03C4\u03BF\u03BD\u03BF",white:"\u03BB\u03B5\u03C5\u03BA\u03CC",yellow:"\u03BA\u03AF\u03C4\u03C1\u03B9\u03BD\u03BF","yellow green":"\u03BA\u03AF\u03C4\u03C1\u03B9\u03BD\u03BF \u03C0\u03C1\u03AC\u03C3\u03B9\u03BD\u03BF"},"en-US":{hue:"Hue",saturation:"Saturation",lightness:"Lightness",brightness:"Brightness",red:"Red",green:"Green",blue:"Blue",alpha:"Alpha",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparent`,"very dark":"very dark",dark:"dark",light:"light","very light":"very light",pale:"pale",grayish:"grayish",vibrant:"vibrant",black:"black",white:"white",gray:"gray",pink:"pink","pink red":"pink red","red orange":"red orange",brown:"brown",orange:"orange","orange yellow":"orange yellow","brown yellow":"brown yellow",yellow:"yellow","yellow green":"yellow green","green cyan":"green cyan",cyan:"cyan","cyan blue":"cyan blue","blue purple":"blue purple",purple:"purple","purple magenta":"purple magenta",magenta:"magenta","magenta pink":"magenta pink"},"es-ES":{alpha:"Alpha",black:"negro",blue:"Azul","blue purple":"p\xFArpura azulado",brightness:"Brillo",brown:"marr\xF3n","brown yellow":"amarillo amarronado",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cian","cyan blue":"azul cian",dark:"oscuro",gray:"gris",grayish:"gris\xE1ceo",green:"Verde","green cyan":"cian verdoso",hue:"Tono",light:"claro",lightness:"Luminosidad",magenta:"magenta","magenta pink":"rosa magenta",orange:"naranja","orange yellow":"amarillo anaranjado",pale:"p\xE1lido",pink:"rosa","pink red":"rojo rosado",purple:"morado","purple magenta":"magenta viol\xE1ceo",red:"Rojo","red orange":"naranja rojizo",saturation:"Saturaci\xF3n",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparente`,"very dark":"muy oscuro","very light":"muy claro",vibrant:"intenso",white:"blanco",yellow:"amarillo","yellow green":"verde amarillento"},"et-EE":{alpha:"Alfa",black:"must",blue:"Sinine","blue purple":"sinakaslilla",brightness:"Heledus",brown:"pruun","brown yellow":"pruunikaskollane",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"ts\xFCaan","cyan blue":"ts\xFCaansinine",dark:"tume",gray:"hall",grayish:"hallikas",green:"Roheline","green cyan":"ts\xFCaanroheline",hue:"V\xE4rv",light:"valgus",lightness:"Valgus",magenta:"magentapunane","magenta pink":"magentaroosa",orange:"oran\u017E","orange yellow":"oran\u017Eikaskollane",pale:"kahvatu",pink:"roosa","pink red":"vaarikapunane",purple:"lilla","purple magenta":"purpurne magenta",red:"Punane","red orange":"punakasoran\u017E",saturation:"K\xFCllastus",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} l\xE4bipaistev`,"very dark":"v\xE4ga tume","very light":"v\xE4ga hele",vibrant:"ere",white:"valge",yellow:"kollane","yellow green":"kollakasroheline"},"fi-FI":{alpha:"Alpha",black:"musta",blue:"Sininen","blue purple":"sinivioletti",brightness:"Kirkkaus",brown:"ruskea","brown yellow":"ruskeankeltainen",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"syaani","cyan blue":"syaaninsininen",dark:"tumma",gray:"harmaa",grayish:"harmahtava",green:"Vihre\xE4","green cyan":"vihre\xE4nsyaani",hue:"S\xE4vy",light:"vaalea",lightness:"Valom\xE4\xE4r\xE4",magenta:"magenta","magenta pink":"magentapinkki",orange:"oranssi","orange yellow":"oranssinkeltainen",pale:"vaalea",pink:"pinkki","pink red":"vaaleanpunainen",purple:"violetti","purple magenta":"violettimagenta",red:"Punainen","red orange":"punaoranssi",saturation:"V\xE4rikyll\xE4isyys",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} l\xE4pin\xE4kyv\xE4`,"very dark":"hyvin tumma","very light":"eritt\xE4in vaalea",vibrant:"eloisa",white:"valkea",yellow:"keltainen","yellow green":"keltavihre\xE4"},"fr-FR":{alpha:"Alpha",black:"Noir",blue:"Bleu","blue purple":"Violet bleu",brightness:"Luminosit\xE9",brown:"Brun","brown yellow":"Jaune brun",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"Cyan","cyan blue":"Bleu cyan",dark:"Sombre",gray:"Gris",grayish:"Gris\xE2tre",green:"Vert","green cyan":"Cyan vert",hue:"Teinte",light:"Clair",lightness:"Luminosit\xE9",magenta:"Magenta","magenta pink":"Rose magenta",orange:"Orange","orange yellow":"Jaune orang\xE9",pale:"P\xE2le",pink:"Rose","pink red":"Rouge ros\xE9",purple:"Violet","purple magenta":"Magenta violet",red:"Rouge","red orange":"Orange rouge",saturation:"Saturation",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparent`,"very dark":"Tr\xE8s sombre","very light":"Tr\xE8s clair",vibrant:"Vif",white:"Blanc",yellow:"Jaune","yellow green":"Vert jaune"},"he-IL":{alpha:"\u05D0\u05DC\u05E4\u05D0",black:"\u05E9\u05D7\u05D5\u05E8",blue:"\u05DB\u05D7\u05D5\u05DC","blue purple":"\u05DB\u05D7\u05D5\u05DC \u05E1\u05D2\u05D5\u05DC",brightness:"\u05D1\u05D4\u05D9\u05E8\u05D5\u05EA",brown:"\u05D7\u05D5\u05DD","brown yellow":"\u05D7\u05D5\u05DD \u05E6\u05D4\u05D5\u05D1",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u05D8\u05D5\u05E8\u05E7\u05D9\u05D6","cyan blue":"\u05DB\u05D7\u05D5\u05DC \u05E6\u05D9\u05D0\u05DF",dark:"\u05DB\u05D4\u05D4",gray:"\u05D0\u05E4\u05D5\u05E8",grayish:"\u05D0\u05E4\u05E8\u05E4\u05E8",green:"\u05D9\u05E8\u05D5\u05E7","green cyan":"\u05E6\u05D9\u05D0\u05DF \u05D9\u05E8\u05D5\u05E7",hue:"\u05D2\u05D5\u05D5\u05DF",light:"\u05D0\u05D5\u05E8",lightness:"\u05DB\u05DE\u05D5\u05EA \u05D0\u05D5\u05E8",magenta:"\u05DE\u05D2'\u05E0\u05D8\u05D4","magenta pink":"\u05D5\u05E8\u05D5\u05D3 \u05DE\u05D2'\u05E0\u05D8\u05D4",orange:"\u05DB\u05EA\u05D5\u05DD","orange yellow":"\u05DB\u05EA\u05D5\u05DD \u05E6\u05D4\u05D5\u05D1",pale:"\u05D7\u05D9\u05D5\u05D5\u05E8",pink:"\u05D5\u05E8\u05D5\u05D3","pink red":"\u05D5\u05E8\u05D5\u05D3 \u05D0\u05D3\u05D5\u05DD",purple:"\u05E1\u05D2\u05D5\u05DC","purple magenta":"\u05DE\u05D2'\u05E0\u05D8\u05D4 \u05E1\u05D2\u05D5\u05DC",red:"\u05D0\u05D3\u05D5\u05DD","red orange":"\u05DB\u05EA\u05D5\u05DD \u05D0\u05D3\u05D5\u05DD",saturation:"\u05E8\u05D5\u05D5\u05D9\u05D4",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} \u05E9\u05E7\u05D5\u05E3`,"very dark":"\u05DB\u05D4\u05D4 \u05DE\u05D0\u05D5\u05D3","very light":"\u05D1\u05D4\u05D9\u05E8 \u05DE\u05D0\u05D5\u05D3",vibrant:"\u05EA\u05D5\u05E1\u05E1",white:"\u05DC\u05D1\u05DF",yellow:"\u05E6\u05D4\u05D5\u05D1","yellow green":"\u05E6\u05D4\u05D5\u05D1 \u05D9\u05E8\u05D5\u05E7"},"hr-HR":{alpha:"Alfa",black:"crno",blue:"Plava","blue purple":"plavo ljubi\u010Dasta",brightness:"Svjetlina",brown:"sme\u0111a","brown yellow":"sme\u0111e \u017Euta",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cijan","cyan blue":"cijan plava",dark:"tamno",gray:"siva",grayish:"sivkasto",green:"Zelena","green cyan":"zelena cijan",hue:"Nijansa",light:"svjetlo",lightness:"Osvijetljenost",magenta:"magenta","magenta pink":"magentno ru\u017Ei\u010Dasta",orange:"naran\u010Dasta","orange yellow":"naran\u010Dasto \u017Euta",pale:"blijeda",pink:"ru\u017Ei\u010Dasta","pink red":"ru\u017Ei\u010Dasto crvena",purple:"ljubi\u010Dasta","purple magenta":"ljubi\u010Dasta magenta",red:"Crvena","red orange":"crveno naran\u010Dasta",saturation:"Zasi\u0107enost",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} prozirnosti`,"very dark":"jako tamna","very light":"vrlo svijetlo",vibrant:"vibrantna",white:"bijela",yellow:"\u017Euto","yellow green":"\u017Euto zelena"},"hu-HU":{alpha:"Alfa",black:"fekete",blue:"K\xE9k","blue purple":"k\xE9k lila",brightness:"F\xE9nyess\xE9g",brown:"barna","brown yellow":"barna s\xE1rga",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"ci\xE1nk\xE9k","cyan blue":"ci\xE1nk\xE9k",dark:"s\xF6t\xE9t",gray:"sz\xFCrke",grayish:"sz\xFCrk\xE9s",green:"Z\xF6ld","green cyan":"z\xF6ld ci\xE1nk\xE9k",hue:"Sz\xEDn\xE1rnyalat",light:"vil\xE1gos",lightness:"Vil\xE1goss\xE1g",magenta:"b\xEDbor","magenta pink":"b\xEDbor r\xF3zsasz\xEDn",orange:"narancs","orange yellow":"narancss\xE1rga",pale:"halv\xE1ny",pink:"r\xF3zsasz\xEDn","pink red":"r\xF3zsasz\xEDn piros",purple:"lila","purple magenta":"lila b\xEDbor",red:"Piros","red orange":"piros narancs",saturation:"Tel\xEDtetts\xE9g",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} \xE1tl\xE1tsz\xF3`,"very dark":"nagyon s\xF6t\xE9t","very light":"nagyon vil\xE1gos",vibrant:"\xE9l\xE9nk",white:"feh\xE9r",yellow:"s\xE1rga","yellow green":"s\xE1rga z\xF6ld"},"it-IT":{alpha:"Alfa",black:"nero",blue:"Blu","blue purple":"blu viola",brightness:"Luminosit\xE0",brown:"marrone","brown yellow":"giallo bruno",colorName:e=>`${e.hue} ${e.chroma} ${e.lightness}`,cyan:"ciano","cyan blue":"blu ciano",dark:"scuro",gray:"grigio",grayish:"grigiastro",green:"Verde","green cyan":"verde ciano",hue:"Tonalit\xE0",light:"chiaro",lightness:"Luminosit\xE0",magenta:"magenta","magenta pink":"rosa magenta",orange:"arancio","orange yellow":"giallo arancio",pale:"tenue",pink:"rosa","pink red":"rosa rosso",purple:"viola","purple magenta":"viola magenta",red:"Rosso","red orange":"rosso arancio",saturation:"Saturazione",transparentColorName:e=>`${e.hue} ${e.chroma} ${e.lightness}, trasparenza ${e.percentTransparent}`,"very dark":"molto scuro","very light":"molto chiaro",vibrant:"vivace",white:"bianco",yellow:"giallo","yellow green":"giallo verde"},"ja-JP":{alpha:"\u30A2\u30EB\u30D5\u30A1",black:"\u30D6\u30E9\u30C3\u30AF",blue:"\u9752","blue purple":"\u30D6\u30EB\u30FC\u30D1\u30FC\u30D7\u30EB",brightness:"\u660E\u308B\u3055",brown:"\u30D6\u30E9\u30A6\u30F3","brown yellow":"\u30D6\u30E9\u30A6\u30F3\u30A4\u30A8\u30ED\u30FC",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u30B7\u30A2\u30F3","cyan blue":"\u30B7\u30A2\u30F3\u30D6\u30EB\u30FC",dark:"\u30C0\u30FC\u30AF",gray:"\u30B0\u30EC\u30FC",grayish:"\u30B0\u30EC\u30A4\u30C3\u30B7\u30E5",green:"\u7DD1","green cyan":"\u30B0\u30EA\u30FC\u30F3\u30B7\u30A2\u30F3",hue:"\u8272\u76F8",light:"\u30E9\u30A4\u30C8",lightness:"\u660E\u5EA6",magenta:"\u30DE\u30BC\u30F3\u30BF","magenta pink":"\u30DE\u30BC\u30F3\u30BF\u30D4\u30F3\u30AF",orange:"\u30AA\u30EC\u30F3\u30B8","orange yellow":"\u30AA\u30EC\u30F3\u30B8\u30A4\u30A8\u30ED\u30FC",pale:"\u30DA\u30FC\u30EB",pink:"\u30D4\u30F3\u30AF","pink red":"\u30D4\u30F3\u30AF\u30EC\u30C3\u30C9",purple:"\u30D1\u30FC\u30D7\u30EB","purple magenta":"\u30D1\u30FC\u30D7\u30EB\u30DE\u30BC\u30F3\u30BF",red:"\u8D64","red orange":"\u30EC\u30C3\u30C9\u30AA\u30EC\u30F3\u30B8",saturation:"\u5F69\u5EA6",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} \u900F\u660E`,"very dark":"\u6700\u3082\u6697\u3044","very light":"\u30D9\u30EA\u30FC\u30E9\u30A4\u30C8",vibrant:"\u9BAE\u3084\u304B",white:"\u30DB\u30EF\u30A4\u30C8",yellow:"\u30A4\u30A8\u30ED\u30FC","yellow green":"\u30A4\u30A8\u30ED\u30FC\u30B0\u30EA\u30FC\u30F3"},"ko-KR":{alpha:"\uC54C\uD30C",black:"\uAC80\uC740\uC0C9",blue:"\uD30C\uB791","blue purple":"\uCCAD\uC790\uC0C9",brightness:"\uBA85\uB3C4",brown:"\uAC08\uC0C9","brown yellow":"\uD669\uAC08\uC0C9",colorName:e=>`${e.lightness}, ${e.chroma}, ${e.hue}`,cyan:"\uCCAD\uB85D\uC0C9","cyan blue":"\uCCAD\uB85D\uC0C9",dark:"\uB2E4\uD06C",gray:"\uD68C\uC0C9",grayish:"\uD68C\uAC08\uC0C9",green:"\uCD08\uB85D","green cyan":"\uCCAD\uB85D\uC0C9",hue:"\uC0C9\uC870",light:"\uB77C\uC774\uD2B8",lightness:"\uBC1D\uAE30",magenta:"\uC790\uD64D\uC0C9","magenta pink":"\uB9C8\uC820\uD0C0 \uD551\uD06C",orange:"\uC8FC\uD669\uC0C9","orange yellow":"\uBD88\uADF8\uC2A4\uB984\uD55C \uB178\uB791",pale:"\uD759\uC0C9",pink:"\uBD84\uD64D\uC0C9","pink red":"\uD551\uD06C \uB808\uB4DC",purple:"\uC790\uC8FC\uC0C9","purple magenta":"\uBCF4\uB77C\uBE5B \uC790\uD64D\uC0C9",red:"\uBE68\uAC15","red orange":"\uBD89\uC740 \uC8FC\uD669\uC0C9",saturation:"\uCC44\uB3C4",transparentColorName:e=>`${e.lightness}, ${e.chroma}, ${e.hue}, ${e.percentTransparent} \uD22C\uBA85\uB3C4`,"very dark":"\uB9E4\uC6B0 \uC5B4\uB450\uC6B4","very light":"\uB9E4\uC6B0 \uC5F0\uD568",vibrant:"\uAC15\uB82C\uD55C",white:"\uD770\uC0C9",yellow:"\uB178\uB780\uC0C9","yellow green":"\uC5F0\uB450\uC0C9"},"lt-LT":{alpha:"Alfa",black:"juoda",blue:"M\u0117lyna","blue purple":"melsvai violetin\u0117",brightness:"Ry\u0161kumas",brown:"ruda","brown yellow":"rusvai geltona",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u017Ealsvai m\u0117lyna","cyan blue":"\u017Ealsvai m\u0117lyna",dark:"tamsi",gray:"pilka",grayish:"pilk\u0161va",green:"\u017Dalia","green cyan":"\u017Ealsvai m\u0117lyna",hue:"Atspalvis",light:"\u0161viesi",lightness:"\u0160viesumas",magenta:"rausvai raudona","magenta pink":"purpurin\u0117",orange:"oran\u017Ein\u0117","orange yellow":"oran\u017Einio atspalvio geltona",pale:"bly\u0161ki",pink:"ro\u017Ein\u0117","pink red":"ro\u017Ein\u0117 raudona",purple:"violetin\u0117","purple magenta":"purpurin\u0117 rausvai raudona",red:"Raudona","red orange":"rausvai oran\u017Ein\u0117",saturation:"\u012Esotinimas",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} skaidri`,"very dark":"labai tamsi","very light":"labai \u0161viesi",vibrant:"ry\u0161ki",white:"balta",yellow:"geltona","yellow green":"gelsvai \u017Ealia"},"lv-LV":{alpha:"Alfa",black:"melns",blue:"Zila","blue purple":"zili violets",brightness:"Spilgtums",brown:"br\u016Bns","brown yellow":"br\u016Bni dzeltens",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"ci\u0101ns","cyan blue":"ci\u0101na zils",dark:"tum\u0161s",gray:"pel\u0113ks",grayish:"pel\u0113c\u012Bgs",green:"Za\u013Ca","green cyan":"za\u013C\u0161 ci\u0101ns",hue:"Nokr\u0101sa",light:"gai\u0161s",lightness:"Gai\u0161ums",magenta:"fuksiju","magenta pink":"fuksiju roz\u0101",orange:"oran\u017Es","orange yellow":"oran\u017Ei dzeltens",pale:"b\u0101ls",pink:"roz\u0101","pink red":"roz\u012Bgi sarkans",purple:"violets","purple magenta":"violets fuksiju",red:"Sarkana","red orange":"sarkan\u012Bgi oran\u017Es",saturation:"Pies\u0101tin\u0101jums",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} caursp\u012Bd\u012Bgs`,"very dark":"\u013Coti tum\u0161s","very light":"\u013Coti gai\u0161s",vibrant:"ko\u0161s",white:"balts",yellow:"dzeltens","yellow green":"dzelteni za\u013C\u0161"},"nb-NO":{alpha:"Alfa",black:"svart",blue:"Bl\xE5","blue purple":"bl\xE5lilla",brightness:"Lysstyrke",brown:"brun","brown yellow":"brungul",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cyan","cyan blue":"cyanbl\xE5",dark:"m\xF8rk",gray:"gr\xE5",grayish:"gr\xE5aktig",green:"Gr\xF8nn","green cyan":"gr\xF8nncyan",hue:"Fargetone",light:"lys",lightness:"Lyshet",magenta:"magenta","magenta pink":"magentarosa",orange:"oransje","orange yellow":"oransjegul",pale:"blek",pink:"rosa","pink red":"rosar\xF8d",purple:"lilla","purple magenta":"lillamagenta",red:"R\xF8d","red orange":"r\xF8doransje",saturation:"Metning",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} gjennomsiktig`,"very dark":"sv\xE6rt m\xF8rk","very light":"sv\xE6rt lys",vibrant:"levende",white:"hvit",yellow:"gul","yellow green":"gulgr\xF8nn"},"nl-NL":{alpha:"Alfa",black:"zwart",blue:"Blauw","blue purple":"paarsblauw",brightness:"Helderheid",brown:"bruin","brown yellow":"bruingeel",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cyaan","cyan blue":"cyaanblauw",dark:"donker",gray:"grijs",grayish:"grijsachtig",green:"Groen","green cyan":"cyaangroen",hue:"Kleurtoon",light:"licht",lightness:"Lichtsterkte",magenta:"magenta","magenta pink":"magentaroze",orange:"oranje","orange yellow":"oranjegeel",pale:"bleek",pink:"roze","pink red":"rozerood",purple:"paars","purple magenta":"magentapaars",red:"Rood","red orange":"roodoranje",saturation:"Verzadiging",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparant`,"very dark":"heel donker","very light":"heel licht",vibrant:"levendig",white:"wit",yellow:"geel","yellow green":"geelgroen"},"pl-PL":{alpha:"Alfa",black:"czarny",blue:"Niebieski","blue purple":"niebiesko-fioletowy",brightness:"Jasno\u015B\u0107",brown:"br\u0105zowy","brown yellow":"br\u0105zowo-\u017C\xF3\u0142ty",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cyjanowy","cyan blue":"cyjanowo-niebieski",dark:"ciemny",gray:"szary",grayish:"szarawy",green:"Zielony","green cyan":"zielono-cyjanowy",hue:"Odcie\u0144",light:"jasny",lightness:"Jaskrawo\u015B\u0107",magenta:"purpurowy","magenta pink":"purpurowo-r\xF3\u017Cowy",orange:"pomara\u0144czowy","orange yellow":"pomara\u0144czowo-\u017C\xF3\u0142ty",pale:"blady",pink:"r\xF3\u017Cowy","pink red":"r\xF3\u017Cowo-czerwony",purple:"fioletowy","purple magenta":"fioletowo-purpurowy",red:"Czerwony","red orange":"czerwono-pomara\u0144czowy",saturation:"Nasycenie",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} przezroczysto\u015Bci`,"very dark":"bardzo ciemny","very light":"bardzo jasny",vibrant:"intensywny",white:"bia\u0142y",yellow:"\u017C\xF3\u0142ty","yellow green":"\u017C\xF3\u0142to-zielony"},"pt-BR":{alpha:"Alfa",black:"preto",blue:"Azul","blue purple":"roxo azulado",brightness:"Brilho",brown:"marrom","brown yellow":"marrom amarelado",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"ciano","cyan blue":"azul-ciano",dark:"escuro",gray:"cinza",grayish:"acinzentado",green:"Verde","green cyan":"verde-ciano",hue:"Matiz",light:"claro",lightness:"Luminosidade",magenta:"magenta","magenta pink":"rosa-magenta",orange:"laranja","orange yellow":"amarelo alaranjado",pale:"p\xE1lido",pink:"rosa","pink red":"rosa avermelhado",purple:"roxo","purple magenta":"roxo-magenta",red:"Vermelho","red orange":"laranja avermelhado",saturation:"Satura\xE7\xE3o",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparente`,"very dark":"muito escuro","very light":"muito claro",vibrant:"vibrante",white:"branco",yellow:"amarelo","yellow green":"verde amarelado"},"pt-PT":{alpha:"Alfa",black:"preto",blue:"Azul","blue purple":"azul-p\xFArpura",brightness:"Luminosidade",brown:"castanho","brown yellow":"amarelo-castanho",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"ciano","cyan blue":"azul-ciano",dark:"escuro",gray:"cinzento",grayish:"acinzentado",green:"Verde","green cyan":"verde-ciano",hue:"Tonalidade",light:"claro",lightness:"Claridade",magenta:"magenta","magenta pink":"rosa-magenta",orange:"laranja","orange yellow":"amarelo-laranja",pale:"p\xE1lido",pink:"cor-de-rosa","pink red":"vermelho-rosa",purple:"p\xFArpura","purple magenta":"p\xFArpura-magenta",red:"Vermelho","red orange":"laranja-vermelho",saturation:"Satura\xE7\xE3o",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparente`,"very dark":"muito escuro","very light":"muito claro",vibrant:"vibrante",white:"branco",yellow:"amarelo","yellow green":"verde-amarelo"},"ro-RO":{alpha:"Alfa",black:"negru",blue:"Albastru","blue purple":"albastru-violet",brightness:"Luminozitate",brown:"maro","brown yellow":"galben maro",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"bleu","cyan blue":"albastru-bleu",dark:"\xEEnchis",gray:"gri",grayish:"cenu\u0219iu",green:"Verde","green cyan":"verde bleu",hue:"Nuan\u021B\u0103",light:"deschis",lightness:"Luminozitate",magenta:"fucsia","magenta pink":"roz-fucsia",orange:"portocaliu","orange yellow":"galben-portocaliu",pale:"pal",pink:"roz","pink red":"roz-ro\u0219u",purple:"violet","purple magenta":"violet-fucsia",red:"Ro\u0219u","red orange":"portocaliu-ro\u0219u",saturation:"Satura\u021Bie",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparent`,"very dark":"foarte \xEEnchis","very light":"foarte deschis",vibrant:"plin de via\u021B\u0103",white:"alb",yellow:"galben","yellow green":"galben-verde"},"ru-RU":{alpha:"\u0410\u043B\u044C\u0444\u0430",black:"\u0447\u0435\u0440\u043D\u044B\u0439",blue:"\u0421\u0438\u043D\u0438\u0439","blue purple":"\u0441\u0438\u043D\u0435-\u0444\u0438\u043E\u043B\u0435\u0442\u043E\u0432\u044B\u0439",brightness:"\u042F\u0440\u043A\u043E\u0441\u0442\u044C",brown:"\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u044B\u0439","brown yellow":"\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u043E-\u0436\u0435\u043B\u0442\u044B\u0439",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u0433\u043E\u043B\u0443\u0431\u043E\u0439","cyan blue":"\u0446\u0432\u0435\u0442 \u043C\u043E\u0440\u0441\u043A\u043E\u0439 \u0432\u043E\u043B\u043D\u044B",dark:"\u0442\u0435\u043C\u043D\u044B\u0439",gray:"\u0441\u0435\u0440\u044B\u0439",grayish:"\u0441\u0435\u0440\u043E\u0432\u0430\u0442\u044B\u0439",green:"\u0417\u0435\u043B\u0435\u043D\u044B\u0439","green cyan":"\u0441\u0438\u043D\u0435-\u0437\u0435\u043B\u0435\u043D\u044B\u0439",hue:"\u041E\u0442\u0442\u0435\u043D\u043E\u043A",light:"\u0441\u0432\u0435\u0442\u043B\u044B\u0439",lightness:"\u041E\u0441\u0432\u0435\u0449\u0435\u043D\u043D\u043E\u0441\u0442\u044C",magenta:"\u043F\u0443\u0440\u043F\u0443\u0440\u043D\u044B\u0439","magenta pink":"\u043F\u0443\u0440\u043F\u0443\u0440\u043D\u043E-\u0440\u043E\u0437\u043E\u0432\u044B\u0439",orange:"\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439","orange yellow":"\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u043E-\u0436\u0435\u043B\u0442\u044B\u0439",pale:"\u0431\u043B\u0435\u0434\u043D\u044B\u0439",pink:"\u0440\u043E\u0437\u043E\u0432\u044B\u0439","pink red":"\u0440\u043E\u0437\u043E\u0432\u043E-\u043A\u0440\u0430\u0441\u043D\u044B\u0439",purple:"\u0444\u0438\u043E\u043B\u0435\u0442\u043E\u0432\u044B\u0439","purple magenta":"\u0444\u0438\u043E\u043B\u0435\u0442\u043E\u0432\u043E-\u043F\u0443\u0440\u043F\u0443\u0440\u043D\u044B\u0439",red:"\u041A\u0440\u0430\u0441\u043D\u044B\u0439","red orange":"\u043A\u0440\u0430\u0441\u043D\u043E-\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439",saturation:"\u041D\u0430\u0441\u044B\u0449\u0435\u043D\u043D\u043E\u0441\u0442\u044C",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, \u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u0439 \u043D\u0430 ${e.percentTransparent}`,"very dark":"\u043E\u0447\u0435\u043D\u044C \u0442\u0435\u043C\u043D\u044B\u0439","very light":"\u043E\u0447\u0435\u043D\u044C \u0441\u0432\u0435\u0442\u043B\u044B\u0439",vibrant:"\u044F\u0440\u043A\u0438\u0439",white:"\u0431\u0435\u043B\u044B\u0439",yellow:"\u0436\u0435\u043B\u0442\u044B\u0439","yellow green":"\u0436\u0435\u043B\u0442\u043E-\u0437\u0435\u043B\u0435\u043D\u044B\u0439"},"sk-SK":{alpha:"Alfa",black:"\u010Dierna",blue:"Modr\xE1","blue purple":"modrofialov\xE1",brightness:"Jas",brown:"hned\xE1","brown yellow":"hnedo\u017Elt\xE1",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"az\xFArov\xE1","cyan blue":"az\xFArov\xE1 modr\xE1",dark:"tmav\xE1",gray:"siv\xE1",grayish:"sivast\xE1",green:"Zelen\xE1","green cyan":"zelen\xE1 az\xFArov\xE1",hue:"Odtie\u0148",light:"svetl\xE1",lightness:"Svetlos\u0165",magenta:"purpurov\xE1","magenta pink":"ru\u017Eov\xE1 purpurov\xE1",orange:"oran\u017Eov\xE1","orange yellow":"oran\u017Eovo\u017Elt\xE1",pale:"bled\xE1",pink:"ru\u017Eov\xE1","pink red":"ru\u017Eovo\u010Derven\xE1",purple:"fialov\xE1","purple magenta":"fialov\xE1 purpurov\xE1",red:"\u010Cerven\xE1","red orange":"\u010Dervenooran\u017Eov\xE1",saturation:"S\xFDtos\u0165",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} prieh\u013Eadn\xE1`,"very dark":"ve\u013Emi tmav\xE1","very light":"ve\u013Emi svetl\xE1",vibrant:"energick\xE1",white:"biela",yellow:"\u017Elt\xE1","yellow green":"\u017Eltozelen\xE1"},"sl-SI":{alpha:"Alfa",black:"\u010Drna",blue:"Modra","blue purple":"modro vijoli\u010Dna",brightness:"Svetlost",brown:"rjava","brown yellow":"rjavo rumena",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cian","cyan blue":"cian modra",dark:"temna",gray:"siva",grayish:"sivkasta",green:"Zelena","green cyan":"zelena cian",hue:"Barva",light:"svetla",lightness:"Lahkost",magenta:"\u0161krlatna","magenta pink":"\u0161krlatno roza",orange:"oran\u017Ena","orange yellow":"oran\u017Eno rumena",pale:"bleda",pink:"roza","pink red":"roza rde\u010Da",purple:"vijoli\u010Dna","purple magenta":"vijoli\u010Dno \u0161krlatna",red:"Rde\u010Da","red orange":"rde\u010De oran\u017Ena",saturation:"Nasi\u010Denost",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} prozorna`,"very dark":"zelo temna","very light":"zelo svetla",vibrant:"\u017Eivahna",white:"bela",yellow:"rumena","yellow green":"rumeno zelena"},"sr-SP":{alpha:"Alfa",black:"crno",blue:"Plava","blue purple":"plavoljubi\u010Dasta",brightness:"Osvetljenost",brown:"sme\u0111a","brown yellow":"sme\u0111e\u017Euta",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cijan","cyan blue":"cijan plava",dark:"tamno",gray:"siva",grayish:"sivkasta",green:"Zelena","green cyan":"zeleno cijan",hue:"Nijansa",light:"svetla",lightness:"Osvetljenje",magenta:"purpurnocrvena","magenta pink":"magenta ru\u017Ei\u010Dasta",orange:"narand\u017Easta","orange yellow":"narand\u017Easto\u017Euta",pale:"bledo",pink:"ru\u017Ei\u010Dasta","pink red":"ru\u017Ei\u010Dastocrvena",purple:"ljubi\u010Dasta","purple magenta":"ljubi\u010Dasta magenta",red:"Crvena","red orange":"crvenonarand\u017Easta",saturation:"Zasi\u0107enje",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} prozirna`,"very dark":"veoma tamno","very light":"vrlo svetlo",vibrant:"\u017Eivopisna",white:"bela",yellow:"\u017Euto","yellow green":"\u017Eutozelena"},"sv-SE":{alpha:"Alfa",black:"svart",blue:"Bl\xE5tt","blue purple":"bl\xE5lila",brightness:"Ljusstyrka",brown:"brun","brown yellow":"brungul",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cyan","cyan blue":"cyanbl\xE5",dark:"m\xF6rk",gray:"gr\xE5",grayish:"gr\xE5aktig",green:"Gr\xF6nt","green cyan":"gr\xF6n cyan",hue:"Nyans",light:"ljus",lightness:"Ljushet",magenta:"magenta","magenta pink":"magentarosa",orange:"orange","orange yellow":"orangegul",pale:"blek",pink:"rosa","pink red":"rosar\xF6d",purple:"lila","purple magenta":"lila magenta",red:"R\xF6tt","red orange":"r\xF6dorange",saturation:"M\xE4ttnad",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} genomskinlig`,"very dark":"mycket m\xF6rk","very light":"mycket ljus",vibrant:"livfull",white:"vit",yellow:"gul","yellow green":"gulgr\xF6n"},"tr-TR":{alpha:"Alfa",black:"siyah",blue:"Mavi","blue purple":"mavi mor",brightness:"Parlakl\u0131k",brown:"kahverengi","brown yellow":"kahverengi sar\u0131",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"camg\xF6be\u011Fi","cyan blue":"camg\xF6be\u011Fi mavi",dark:"koyu",gray:"gri",grayish:"grimsi",green:"Ye\u015Fil","green cyan":"ye\u015Fil camg\xF6be\u011Fi",hue:"Ton",light:"a\xE7\u0131k",lightness:"Canl\u0131l\u0131k",magenta:"eflatun","magenta pink":"eflatun pembe",orange:"turuncu","orange yellow":"turuncu sar\u0131",pale:"solgun",pink:"pembe","pink red":"pembe k\u0131rm\u0131z\u0131",purple:"mor","purple magenta":"mor eflatun",red:"K\u0131rm\u0131z\u0131","red orange":"k\u0131rm\u0131z\u0131 portakal",saturation:"Doygunluk",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} saydam`,"very dark":"\xE7ok koyu","very light":"\xE7ok a\xE7\u0131k",vibrant:"canl\u0131",white:"beyaz",yellow:"sar\u0131","yellow green":"sar\u0131 ye\u015Fil"},"uk-UA":{alpha:"\u0410\u043B\u044C\u0444\u0430",black:"\u0447\u043E\u0440\u043D\u0438\u0439",blue:"\u0421\u0438\u043D\u0456\u0439","blue purple":"\u0441\u0438\u043D\u044C\u043E-\u0444\u0456\u043E\u043B\u0435\u0442\u043E\u0432\u0438\u0439",brightness:"\u042F\u0441\u043A\u0440\u0430\u0432\u0456\u0441\u0442\u044C",brown:"\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u0438\u0439","brown yellow":"\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u043E-\u0436\u043E\u0432\u0442\u0438\u0439",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u0431\u043B\u0430\u043A\u0438\u0442\u043D\u0438\u0439","cyan blue":"\u0441\u0438\u043D\u044C\u043E-\u0431\u043B\u0430\u043A\u0438\u0442\u043D\u0438\u0439",dark:"\u0442\u0435\u043C\u043D\u0438\u0439",gray:"\u0441\u0456\u0440\u0438\u0439",grayish:"\u0441\u0456\u0440\u0443\u0432\u0430\u0442\u0438\u0439",green:"\u0417\u0435\u043B\u0435\u043D\u0438\u0439","green cyan":"\u0437\u0435\u043B\u0435\u043D\u043E-\u0431\u043B\u0430\u043A\u0438\u0442\u043D\u0438\u0439",hue:"\u0422\u043E\u043D",light:"\u0441\u0432\u0456\u0442\u043B\u0438\u0439",lightness:"\u041E\u0441\u0432\u0456\u0442\u043B\u0435\u043D\u0456\u0441\u0442\u044C",magenta:"\u043F\u0443\u0440\u043F\u0443\u0440\u043E\u0432\u0438\u0439","magenta pink":"\u043F\u0443\u0440\u043F\u0443\u0440\u043E\u0432\u043E-\u0440\u043E\u0436\u0435\u0432\u0438\u0439",orange:"\u043F\u043E\u043C\u0430\u0440\u0430\u043D\u0447\u0435\u0432\u0438\u0439","orange yellow":"\u043F\u043E\u043C\u0430\u0440\u0430\u043D\u0447\u0435\u0432\u043E-\u0436\u043E\u0432\u0442\u0438\u0439",pale:"\u0431\u043B\u0456\u0434\u0438\u0439",pink:"\u0440\u043E\u0436\u0435\u0432\u0438\u0439","pink red":"\u0440\u043E\u0436\u0435\u0432\u043E-\u0447\u0435\u0440\u0432\u043E\u043D\u0438\u0439",purple:"\u0444\u0456\u043E\u043B\u0435\u0442\u043E\u0432\u0438\u0439","purple magenta":"\u0444\u0456\u043E\u043B\u0435\u0442\u043E\u0432\u043E-\u043F\u0443\u0440\u043F\u0443\u0440\u043E\u0432\u0438\u0439",red:"\u0427\u0435\u0440\u0432\u043E\u043D\u0438\u0439","red orange":"\u0447\u0435\u0440\u0432\u043E\u043D\u043E-\u043F\u043E\u043C\u0430\u0440\u0430\u043D\u0447\u0435\u0432\u0438\u0439",saturation:"\u041D\u0430\u0441\u0438\u0447\u0435\u043D\u0456\u0441\u0442\u044C",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, \u043F\u0440\u043E\u0437\u043E\u0440\u0438\u0439 \u043D\u0430 ${e.percentTransparent}`,"very dark":"\u0434\u0443\u0436\u0435 \u0442\u0435\u043C\u043D\u0438\u0439","very light":"\u0434\u0443\u0436\u0435 \u0441\u0432\u0456\u0442\u043B\u0438\u0439",vibrant:"\u044F\u0441\u043A\u0440\u0430\u0432\u0438\u0439",white:"\u0431\u0456\u043B\u0438\u0439",yellow:"\u0436\u043E\u0432\u0442\u0438\u0439","yellow green":"\u0436\u043E\u0432\u0442\u043E-\u0437\u0435\u043B\u0435\u043D\u0438\u0439"},"zh-CN":{alpha:"Alpha",black:"\u9ED1\u8272",blue:"\u84DD\u8272","blue purple":"\u84DD\u7D2B\u8272",brightness:"\u4EAE\u5EA6",brown:"\u68D5\u8272\u7684","brown yellow":"\u68D5\u9EC4\u8272",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u84DD\u7EFF\u8272","cyan blue":"\u9752\u84DD\u8272",dark:"\u6DF1\u8272",gray:"\u7070\u8272",grayish:"\u6D45\u7070\u8272\u7684",green:"\u7EFF\u8272","green cyan":"\u7EFF\u9752\u8272",hue:"\u8272\u76F8",light:"\u6D45\u8272",lightness:"\u660E\u4EAE\u5EA6",magenta:"\u7D2B\u7EA2\u8272","magenta pink":"\u7D2B\u7C89\u8272",orange:"\u6A59\u8272","orange yellow":"\u6A59\u9EC4\u8272",pale:"\u82CD\u767D\u7684",pink:"\u7C89\u8272","pink red":"\u7C89\u7EA2\u8272",purple:"\u7D2B\u8272","purple magenta":"\u7D2B\u6D0B\u7EA2\u8272",red:"\u7EA2\u8272","red orange":"\u7EA2\u6A59\u8272",saturation:"\u9971\u548C\u5EA6",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} \u900F\u660E`,"very dark":"\u5F88\u6697","very light":"\u5F88\u6D45",vibrant:"\u751F\u673A\u52C3\u52C3",white:"\u767D\u8272",yellow:"\u9EC4\u8272","yellow green":"\u9EC4\u8272/\u7EFF\u8272"},"zh-TW":{alpha:"Alpha",black:"\u9ED1",blue:"\u85CD\u8272","blue purple":"\u85CD\u7D2B",brightness:"\u4EAE\u5EA6",brown:"\u68D5","brown yellow":"\u68D5\u9EC3",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u9752","cyan blue":"\u9752\u85CD",dark:"\u6697",gray:"\u7070",grayish:"\u504F\u7070",green:"\u7DA0\u8272","green cyan":"\u9752\u7DA0",hue:"\u8272\u76F8",light:"\u6DFA",lightness:"\u660E\u4EAE",magenta:"\u6D0B\u7D05","magenta pink":"\u6DFA\u6D0B\u7D05",orange:"\u6A59","orange yellow":"\u6A59\u9EC3",pale:"\u6DE1",pink:"\u7C89\u7D05","pink red":"\u7C89\u7D05",purple:"\u7D2B","purple magenta":"\u7D2B\u6D0B\u7D05",red:"\u7D05\u8272","red orange":"\u6A59\u7D05",saturation:"\u98FD\u548C\u5EA6",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} \u900F\u660E`,"very dark":"\u5F88\u6697","very light":"\u5F88\u6DFA",vibrant:"\u9BAE\u8C54",white:"\u767D",yellow:"\u9EC3","yellow green":"\u9EC3\u7DA0"}};var X=new a(ne);function d(e){let l=M.parse(e)||O.parse(e)||I.parse(e);if(l)return l;throw new Error("Invalid color value: "+e)}function x(e){return typeof e=="string"?d(e):e}function se(e){return e===360?e:(e%360+360)%360}var le=.68,ve=.85,te=.55,oe=.001,_=[[0,"pink"],[15,"red"],[48,"orange"],[94,"yellow"],[135,"green"],[175,"cyan"],[264,"blue"],[284,"purple"],[320,"magenta"],[349,"pink"]],A=class{toHexInt(){return this.toFormat("rgb").toHexInt()}getChannelValue(l){if(l in this)return this[l];throw new Error("Unsupported color channel: "+l)}withChannelValue(l,a){if(l in this){let r=this.clone();return r[l]=a,r}throw new Error("Unsupported color channel: "+l)}getChannelName(l,a$1){return (a.getGlobalDictionaryForPackage("@react-stately/color")||X).getStringForLocale(l,a$1)}getColorSpaceAxes(l){let{xChannel:a,yChannel:r}=l,n=a||this.getColorChannels().find(i=>i!==r),o=r||this.getColorChannels().find(i=>i!==n),t=this.getColorChannels().find(i=>i!==n&&i!==o);return {xChannel:n,yChannel:o,zChannel:t}}getColorName(l){let[a$1,r,n]=ie(this),o=a.getGlobalDictionaryForPackage("@react-stately/color")||X;if(a$1>.999)return o.getStringForLocale("white",l);if(a$1<.001)return o.getStringForLocale("black",l);let t;[t,a$1]=this.getOklchHue(a$1,r,n,l);let i="",s="";r<=.1&&r>=oe?a$1>=.7?s="pale":s="grayish":r>=.15&&(s="vibrant"),a$1<.3?i="very dark":a$1<te?i="dark":a$1<.7||(a$1<.85?i="light":i="very light"),s&&(s=o.getStringForLocale(s,l)),i&&(i=o.getStringForLocale(i,l));let h=this.getChannelValue("alpha"),u=new b(l,o);if(h<1){let c=new a$2(l,{style:"percent"}).format(1-h);return u.format("transparentColorName",{lightness:i,chroma:s,hue:t,percentTransparent:c}).replace(/\s+/g," ").trim()}else return u.format("colorName",{lightness:i,chroma:s,hue:t}).replace(/\s+/g," ").trim()}getOklchHue(l,a$1,r,n){let o=a.getGlobalDictionaryForPackage("@react-stately/color")||X;if(a$1<oe)return [o.getStringForLocale("gray",n),l];for(let t=0;t<_.length;t++){let[i,s]=_[t],[h,u]=_[t+1]||[360,"pink"];if(r>=i&&r<h)return s==="orange"&&(l<le?s="brown":l=l-le+te),r>i+(h-i)/2&&s!==u?s=`${s} ${u}`:s==="yellow"&&l<ve&&(s="yellow green"),[o.getStringForLocale(s,n).toLocaleLowerCase(n),l]}throw new Error("Unexpected hue")}getHueName(l){let[a,r,n]=ie(this),[o]=this.getOklchHue(a,r,n,l);return o}},M=class e extends A{constructor(a,r,n,o){super();this.red=a;this.green=r;this.blue=n;this.alpha=o;}red;green;blue;alpha;static parse(a){let r=[];if(/^#[\da-f]+$/i.test(a)&&[4,5,7,9].includes(a.length)){let o=(a.length<6?a.replace(/[^#]/gi,"$&$&"):a).slice(1).split("");for(;o.length>0;)r.push(parseInt(o.splice(0,2).join(""),16));r[3]=r[3]!==void 0?r[3]/255:void 0;}let n=a.match(/^rgba?\((.*)\)$/);if(n?.[1]&&(r=n[1].split(",").map(o=>Number(o.trim())),r=r.map((o,t)=>a$1(o??0,0,t<3?255:1))),!(r[0]===void 0||r[1]===void 0||r[2]===void 0))return r.length<3?void 0:new e(r[0],r[1],r[2],r[3]??1)}toString(a="css"){switch(a){case "hex":return "#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")).toUpperCase();case "hexa":return "#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")+Math.round(this.alpha*255).toString(16).padStart(2,"0")).toUpperCase();case "rgb":return `rgb(${this.red}, ${this.green}, ${this.blue})`;case "css":case "rgba":return `rgba(${this.red}, ${this.green}, ${this.blue}, ${this.alpha})`;default:return this.toFormat(a).toString(a)}}toFormat(a){switch(a){case "hex":case "hexa":case "rgb":case "rgba":return this;case "hsb":case "hsba":return this.toHSB();case "hsl":case "hsla":return this.toHSL();default:throw new Error("Unsupported color conversion: rgb -> "+a)}}toHexInt(){return this.red<<16|this.green<<8|this.blue}toHSB(){let a=this.red/255,r=this.green/255,n=this.blue/255,o=Math.min(a,r,n),t=Math.max(a,r,n),i=t-o,s=t===0?0:i/t,h=0;if(i!==0){switch(t){case a:h=(r-n)/i+(r<n?6:0);break;case r:h=(n-a)/i+2;break;case n:h=(a-r)/i+4;break}h/=6;}return new O(c(h*360,2),c(s*100,2),c(t*100,2),this.alpha)}toHSL(){let a=this.red/255,r=this.green/255,n=this.blue/255,o=Math.min(a,r,n),t=Math.max(a,r,n),i=(t+o)/2,s=t-o,h,u;if(s===0)h=u=0;else {switch(u=s/(i<.5?t+o:2-t-o),t){case a:h=(r-n)/s+(r<n?6:0);break;case r:h=(n-a)/s+2;break;case n:default:h=(a-r)/s+4;break}h/=6;}return new I(c(h*360,2),c(u*100,2),c(i*100,2),this.alpha)}clone(){return new e(this.red,this.green,this.blue,this.alpha)}getChannelRange(a){switch(a){case "red":case "green":case "blue":return {minValue:0,maxValue:255,step:1,pageSize:17};case "alpha":return {minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+a)}}getChannelFormatOptions(a){switch(a){case "red":case "green":case "blue":return {style:"decimal"};case "alpha":return {style:"percent"};default:throw new Error("Unknown color channel: "+a)}}formatChannelValue(a,r){let n=this.getChannelFormatOptions(a),o=this.getChannelValue(a);return new a$2(r,n).format(o)}getColorSpace(){return "rgb"}static colorChannels=["red","green","blue"];getColorChannels(){return e.colorChannels}},ke=/hsb\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsba\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/,O=class e extends A{constructor(a,r,n,o){super();this.hue=a;this.saturation=r;this.brightness=n;this.alpha=o;}hue;saturation;brightness;alpha;static parse(a){let r;if(r=a.match(ke)){let[n,o,t,i]=(r[1]??r[2]).split(",").map(s=>Number(s.trim().replace("%","")));return new e(se(n),a$1(o,0,100),a$1(t,0,100),a$1(i??1,0,1))}}toString(a="css"){switch(a){case "css":return this.toHSL().toString("css");case "hex":return this.toRGB().toString("hex");case "hexa":return this.toRGB().toString("hexa");case "hsb":return `hsb(${this.hue}, ${c(this.saturation,2)}%, ${c(this.brightness,2)}%)`;case "hsba":return `hsba(${this.hue}, ${c(this.saturation,2)}%, ${c(this.brightness,2)}%, ${this.alpha})`;default:return this.toFormat(a).toString(a)}}toFormat(a){switch(a){case "hsb":case "hsba":return this;case "hsl":case "hsla":return this.toHSL();case "rgb":case "rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsb -> "+a)}}toHSL(){let a=this.saturation/100,r=this.brightness/100,n=r*(1-a/2);return a=n===0||n===1?0:(r-n)/Math.min(n,1-n),new I(c(this.hue,2),c(a*100,2),c(n*100,2),this.alpha)}toRGB(){let a=this.hue,r=this.saturation/100,n=this.brightness/100,o=(t,i=(t+a/60)%6)=>n-r*n*Math.max(Math.min(i,4-i,1),0);return new M(Math.round(o(5)*255),Math.round(o(3)*255),Math.round(o(1)*255),this.alpha)}clone(){return new e(this.hue,this.saturation,this.brightness,this.alpha)}getChannelRange(a){switch(a){case "hue":return {minValue:0,maxValue:360,step:1,pageSize:15};case "saturation":case "brightness":return {minValue:0,maxValue:100,step:1,pageSize:10};case "alpha":return {minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+a)}}getChannelFormatOptions(a){switch(a){case "hue":return {style:"unit",unit:"degree",unitDisplay:"narrow"};case "saturation":case "brightness":case "alpha":return {style:"percent"};default:throw new Error("Unknown color channel: "+a)}}formatChannelValue(a,r){let n=this.getChannelFormatOptions(a),o=this.getChannelValue(a);return (a==="saturation"||a==="brightness")&&(o/=100),new a$2(r,n).format(o)}getColorSpace(){return "hsb"}static colorChannels=["hue","saturation","brightness"];getColorChannels(){return e.colorChannels}},$e=/hsl\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsla\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/,I=class e extends A{constructor(a,r,n,o){super();this.hue=a;this.saturation=r;this.lightness=n;this.alpha=o;}hue;saturation;lightness;alpha;static parse(a){let r;if(r=a.match($e)){let[n,o,t,i]=(r[1]??r[2]).split(",").map(s=>Number(s.trim().replace("%","")));return new e(se(n),a$1(o,0,100),a$1(t,0,100),a$1(i??1,0,1))}}toString(a="css"){switch(a){case "hex":return this.toRGB().toString("hex");case "hexa":return this.toRGB().toString("hexa");case "hsl":return `hsl(${this.hue}, ${c(this.saturation,2)}%, ${c(this.lightness,2)}%)`;case "css":case "hsla":return `hsla(${this.hue}, ${c(this.saturation,2)}%, ${c(this.lightness,2)}%, ${this.alpha})`;default:return this.toFormat(a).toString(a)}}toFormat(a){switch(a){case "hsl":case "hsla":return this;case "hsb":case "hsba":return this.toHSB();case "rgb":case "rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsl -> "+a)}}toHSB(){let a=this.saturation/100,r=this.lightness/100,n=r+a*Math.min(r,1-r);return a=n===0?0:2*(1-r/n),new O(c(this.hue,2),c(a*100,2),c(n*100,2),this.alpha)}toRGB(){let a=this.hue,r=this.saturation/100,n=this.lightness/100,o=r*Math.min(n,1-n),t=(i,s=(i+a/30)%12)=>n-o*Math.max(Math.min(s-3,9-s,1),-1);return new M(Math.round(t(0)*255),Math.round(t(8)*255),Math.round(t(4)*255),this.alpha)}clone(){return new e(this.hue,this.saturation,this.lightness,this.alpha)}getChannelRange(a){switch(a){case "hue":return {minValue:0,maxValue:360,step:1,pageSize:15};case "saturation":case "lightness":return {minValue:0,maxValue:100,step:1,pageSize:10};case "alpha":return {minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+a)}}getChannelFormatOptions(a){switch(a){case "hue":return {style:"unit",unit:"degree",unitDisplay:"narrow"};case "saturation":case "lightness":case "alpha":return {style:"percent"};default:throw new Error("Unknown color channel: "+a)}}formatChannelValue(a,r){let n=this.getChannelFormatOptions(a),o=this.getChannelValue(a);return (a==="saturation"||a==="lightness")&&(o/=100),new a$2(r,n).format(o)}getColorSpace(){return "hsl"}static colorChannels=["hue","saturation","lightness"];getColorChannels(){return e.colorChannels}};function ie(e){let l=e.toFormat("rgb"),a=l.getChannelValue("red")/255,r=l.getChannelValue("green")/255,n=l.getChannelValue("blue")/255;[a,r,n]=Se(a,r,n);let[o,t,i]=xe(a,r,n),[s,h,u]=Ve(o,t,i);return fe(s,h,u)}function fe(e,l,a){var r=Math.atan2(a,l)*180/Math.PI;return [e,Math.sqrt(l**2+a**2),r>=0?r:r+360]}function Se(e,l,a){return [Y(e),Y(l),Y(a)]}function Y(e){let l=e<0?-1:1,a=Math.abs(e);return a<=.04045?e/12.92:l*Math.pow((a+.055)/1.055,2.4)}function xe(e,l,a){return K([.4123907992659595,.35758433938387796,.1804807884018343,.21263900587151036,.7151686787677559,.07219231536073371,.01933081871559185,.11919477979462599,.9505321522496606],e,l,a)}function Ve(e,l,a){let r=[.819022437996703,.3619062600528904,-0.1288737815209879,.0329836539323885,.9292868615863434,.0361446663506424,.0481771893596242,.2642395317527308,.6335478284694309],n=[.210454268309314,.7936177747023054,-0.0040720430116193,1.9779985324311684,-2.42859224204858,.450593709617411,.0259040424655478,.7827717124575296,-0.8086757549230774],[o,t,i]=K(r,e,l,a);return K(n,Math.cbrt(o),Math.cbrt(t),Math.cbrt(i))}function K(e,l,a,r){let n=e[0]*l+e[1]*a+e[2]*r,o=e[3]*l+e[4]*a+e[5]*r,t=e[6]*l+e[7]*a+e[8]*r;return [n,o,t]}var Ne=d("#ffffff");function ge(e){let{value:l,defaultValue:a,colorSpace:r,xChannel:n,yChannel:o,onChange:t,onChangeEnd:i}=e;!l&&!a&&(a=Ne),l&&(l=x(l)),a&&(a=x(a));let[s,h]=a$3(l,a,t),[u]=useState(s),c=useMemo(()=>r&&s?s.toFormat(r):s,[s,r]),b=useRef(c),f=g=>{b.current=g,h(g);},C=useMemo(()=>c.getColorSpaceAxes({xChannel:n,yChannel:o}),[c,n,o]),k=c.getChannelRange(C.xChannel),P=c.getChannelRange(C.yChannel),{minValue:v,maxValue:y,step:R,pageSize:q}=k,{minValue:S,maxValue:p,step:H,pageSize:de}=P,[Ce,we]=useState(false),Q=useRef(false),V=c.getChannelValue(C.xChannel),z=c.getChannelValue(C.yChannel),D=g=>{if(g===V)return;let $=c.withChannelValue(C.xChannel,g);f($);},U=g=>{if(g===z)return;let $=c.withChannelValue(C.yChannel,g);f($);};return {channels:C,xChannelStep:R,yChannelStep:H,xChannelPageStep:q,yChannelPageStep:de,value:c,defaultValue:l!==void 0?u:a,setValue(g){f(x(g));},xValue:V,setXValue:D,yValue:z,setYValue:U,setColorFromPoint(g,$){let E=v+a$1(g,0,1)*(y-v),B=S+(1-a$1($,0,1))*(p-S),T;E!==V&&(E=b$1(E,v,y,R),T=c.withChannelValue(C.xChannel,E)),B!==z&&(B=b$1(B,S,p,H),T=(T||c).withChannelValue(C.yChannel,B)),T&&f(T);},getThumbPosition(){let g=(V-v)/(y-v),$=1-(z-S)/(p-S);return {x:g,y:$}},incrementX(g=1){D(V+g>y?y:b$1(V+g,v,y,R));},incrementY(g=1){U(z+g>p?p:b$1(z+g,S,p,H));},decrementX(g=1){D(b$1(V-g,v,y,R));},decrementY(g=1){U(b$1(z-g,S,p,H));},setDragging(g){let $=Q.current;Q.current=g,i&&!g&&$&&i(b.current),we(g);},isDragging:Ce,getDisplayColor(){return c.withChannelValue("alpha",1)}}}function ce(e){let{channel:l,colorSpace:a,value:r,defaultValue:n,onChange:o,locale:t,...i}=e;if(r==null&&n==null)throw new Error("useColorSliderState requires a value or defaultValue");r&&(r=x(r)),n&&(n=x(n));let[s,h]=a$3(r,n,o),u=useMemo(()=>a&&s?s.toFormat(a):s,[s,a]),[c]=useState(s),b=n??c,f=useMemo(()=>a&&b?b.toFormat(a):b,[b,a]),C=useMemo(()=>new Intl.NumberFormat,[]),k=a$4({...u.getChannelRange(l),...i,numberFormatter:C,value:u.getChannelValue(l),defaultValue:f.getChannelValue(l),onChange(y){h(u.withChannelValue(l,y));},onChangeEnd(y){e.onChangeEnd&&e.onChangeEnd(u.withChannelValue(l,y));}}),{step:P,pageSize:v}=u.getChannelRange(l);return {...k,value:u,setValue(y){h(x(y));},getDisplayColor(){switch(l){case "hue":return d(`hsl(${u.getChannelValue("hue")}, 100%, 50%)`);case "lightness":case "brightness":case "saturation":case "red":case "green":case "blue":return u.withChannelValue("alpha",1);case "alpha":return u;default:throw new Error("Unknown color channel: "+l)}},getThumbValueLabel(){return u.formatChannelValue(l,t)},getFormattedValue(){return u.formatChannelValue(l,t)},step:P,pageSize:v,isDragging:k.isThumbDragging(0)}}function J(e){return useMemo(()=>{if(typeof e=="string")try{return d(e)}catch{return}return e},[e])}var G=d("#000000"),be=d("#FFFFFF"),je=G.toHexInt(),Le=be.toHexInt();function ye(e){let{value:l,defaultValue:a,onChange:r}=e,{step:n}=G.getChannelRange("red"),o=J(a),[t,i]=a$3(J(l),o,r),[s]=useState(t),[h,u]=useState(()=>(l||a)&&t?t.toString("hex"):""),c=d$1({...e,value:t}),b=p=>{if(!t||!p){i(p);return}if(p.toHexInt()!==t.toHexInt()){i(p);return}},[f,C]=useState(t);f!==t&&(u(t?t.toString("hex"):""),C(t));let k=useMemo(()=>{let p;try{p=d(h.startsWith("#")?h:`#${h}`);}catch{p=null;}return p},[h]);return {...c,validate:p=>p===""||!!p.match(/^#?[0-9a-f]{0,6}$/i)?.[0],colorValue:t,defaultColorValue:o??s,setColorValue:i,inputValue:h,setInputValue:u,commit:()=>{if(!h.length){b(null),u(l===void 0||t===null?"":t.toString("hex"));return}if(k==null){u(t?t.toString("hex"):"");return}b(k);let p="";t&&(p=t.toString("hex")),u(p),c.commitValidation();},increment:()=>{let p=me(k,n);p===t&&u(p.toString("hex")),b(p),c.commitValidation();},incrementToMax:()=>b(be),decrement:()=>{let p=me(k,-n);p===t&&u(p.toString("hex")),b(p),c.commitValidation();},decrementToMin:()=>b(G)}}function me(e,l){let a=e||G,r=a.toHexInt(),n=Math.min(Math.max(r+l,je),Le);if(n!==r){let o=`#${n.toString(16).padStart(6,"0").toUpperCase()}`;a=d(o);}return a}export{d as a,ge as b,ce as c,ye as d};
|