@sis-cc/dotstatsuite-visions 15.0.1 → 15.0.2
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/TableLayout/TableLayout.js +24 -9
- package/dist/TableLayout/TableLayout.js.map +1 -1
- package/dist/assets/{Alert-gAhJWZHD.js → Alert-B12AyyFP.js} +1 -1
- package/dist/assets/Alert.stories-COLALm18.js +3 -0
- package/dist/assets/{ApiQueries.stories-BxkKS4Y0.js → ApiQueries.stories-CIgEeTml.js} +1 -1
- package/dist/assets/ArrowForward-CNahVM6p.js +1 -0
- package/dist/assets/{Asterisk-XmqHbiyy.js → Asterisk-CwKGqCwy.js} +1 -1
- package/dist/assets/{AuthDialog.stories-CkH5Np2g.js → AuthDialog.stories-Eb30Z69O.js} +1 -1
- package/dist/assets/{Breadcrumbs.stories-DfcTk_xg.js → Breadcrumbs.stories-DZCvGKEa.js} +1 -1
- package/dist/assets/{Button-D6Nq6IjC.js → Button-BXsN-a9m.js} +1 -1
- package/dist/assets/{Button-BKUtAjYE.js → Button-DJ7E6YnJ.js} +1 -1
- package/dist/assets/{Button.stories-CYQ63TA6.js → Button.stories-BScXx6U0.js} +1 -1
- package/dist/assets/{ButtonBase-XMgfmL4Z.js → ButtonBase-D7h0-Xr-.js} +1 -1
- package/dist/assets/{CardContent-DnybuS4T.js → CardContent-C-WyX3nW.js} +1 -1
- package/dist/assets/{ChartsConfig.stories-DfGZ8Fkx.js → ChartsConfig.stories-CcjLXCjd.js} +1 -1
- package/dist/assets/{Checkbox-cf5E2D8S.js → Checkbox-vrwoKp01.js} +1 -1
- package/dist/assets/{Chips.stories-C7WJZVaa.js → Chips.stories-B3Ifas9M.js} +1 -1
- package/dist/assets/{CircularProgress-CjbioiSX.js → CircularProgress-1zPPs5fW.js} +1 -1
- package/dist/assets/Close-B4eGqyR1.js +1 -0
- package/dist/assets/{Collapse-B-IsvoGQ.js → Collapse-dfV5TSGZ.js} +1 -1
- package/dist/assets/{CollapseButtons.stories-BFEjkpfC.js → CollapseButtons.stories-B9QLscNZ.js} +1 -1
- package/dist/assets/{CollapsibleTree.stories-vlc9Cfwp.js → CollapsibleTree.stories-_VAlrqf6.js} +1 -1
- package/dist/assets/{Color-6AOWCN3U-bf_nu2SU.js → Color-6AOWCN3U-DO132-Hp.js} +1 -1
- package/dist/assets/{Contact.stories-DB4BKp44.js → Contact.stories-COCocrah.js} +1 -1
- package/dist/assets/{Container--e843zQB.js → Container-CNOPexpB.js} +1 -1
- package/dist/assets/{Cross-DGXdS0Ye.js → Cross-B_PbrjmQ.js} +1 -1
- package/dist/assets/{CustomChip-Cdz72AtN.js → CustomChip-C3fcvszb.js} +1 -1
- package/dist/assets/{DataEdit-B-UIgc0-.js → DataEdit-G4M8s-l_.js} +1 -1
- package/dist/assets/DataEdit.stories-C_Kp3cBc.js +1 -0
- package/dist/assets/{DataFooter.stories-hEgQWeSW.js → DataFooter.stories-CSVhYclj.js} +1 -1
- package/dist/assets/{DataHeader.stories-BRnM8dfw.js → DataHeader.stories-YAyo_31a.js} +1 -1
- package/dist/assets/{Dataflow.stories-3o1CmNKk.js → Dataflow.stories-BbtxDMOb.js} +1 -1
- package/dist/assets/{DeleteAllChip.stories-B9fwwaM-.js → DeleteAllChip.stories-CPx154-O.js} +1 -1
- package/dist/assets/{Dialog-ClhUjGJY.js → Dialog-D_Cbn3SQ.js} +1 -1
- package/dist/assets/{Divider-pHFgrWZV.js → Divider-36JH9M0x.js} +1 -1
- package/dist/assets/{DocsRenderer-JROSPFPF-BHk028UB.js → DocsRenderer-JROSPFPF-CK4KoVSj.js} +5 -5
- package/dist/assets/Done-k-cANTj3.js +1 -0
- package/dist/assets/DynamicDrawer.stories-CqdvCXoD.js +5 -0
- package/dist/assets/{EmojiObjects-B8ACDXuT.js → EmojiObjects-0FnzZx1m.js} +1 -1
- package/dist/assets/ExpandLess-fnTNXnUr.js +1 -0
- package/dist/assets/ExpandMore-DO_2gcUA.js +1 -0
- package/dist/assets/{ExpansionPanel-CAOIM0Ci.js → ExpansionPanel-B555F3s1.js} +1 -1
- package/dist/assets/ExpansionPanel.stories-fGTQ_lMJ.js +1 -0
- package/dist/assets/{FormControlLabel-DO5vSqlK.js → FormControlLabel-BXK1lPB6.js} +1 -1
- package/dist/assets/{Grid-hN6cGWtX.js → Grid-CnrW0eiQ.js} +1 -1
- package/dist/assets/{GroupedChips.stories-Bdp6pDbc.js → GroupedChips.stories-CJURuQl-.js} +1 -1
- package/dist/assets/{Grow-B1sx8BUV.js → Grow-DVY8VE8H.js} +1 -1
- package/dist/assets/{HierarchicalFilter.stories-CRiapKt0.js → HierarchicalFilter.stories-CnDqRS9z.js} +1 -1
- package/dist/assets/{IconButton-DgiyHwm2.js → IconButton-C80jyEwr.js} +1 -1
- package/dist/assets/Info-DF2F7Q-Q.js +1 -0
- package/dist/assets/{Input-Cd2UYqEf.js → Input-DR8ACGhR.js} +1 -1
- package/dist/assets/Input.stories-DOaE3IiS.js +1 -0
- package/dist/assets/{InputAdornment-DT9kJqoL.js → InputAdornment-BGccf1OF.js} +1 -1
- package/dist/assets/{InputNumber.stories-BUnulRNj.js → InputNumber.stories-B9xNG0MB.js} +1 -1
- package/dist/assets/{KeyboardArrowUp-B1wA3hiR.js → KeyboardArrowUp-DOw02bay.js} +1 -1
- package/dist/assets/{LabelDivider.stories-CtgRdeSa.js → LabelDivider.stories-Bn66W-t0.js} +1 -1
- package/dist/assets/Lens-B3LqaKm9.js +1 -0
- package/dist/assets/{Link-CZ3DGAY5.js → Link-DQOLeyN4.js} +1 -1
- package/dist/assets/ListContext-DRS6Raq7.js +1 -0
- package/dist/assets/{Loading.stories-BBaBdpNs.js → Loading.stories-CJOak667.js} +1 -1
- package/dist/assets/{Logo.stories-CTgRAVOR.js → Logo.stories-AhYOKNDj.js} +1 -1
- package/dist/assets/{MenuItem-DoNuW6VM.js → MenuItem-CzVCkhVE.js} +1 -1
- package/dist/assets/{Mode-id7-q8mK.js → Mode-D5rTrH_N.js} +1 -1
- package/dist/assets/Mode.stories-BNbcV47G.js +1 -0
- package/dist/assets/{NoData-alXxmI79.js → NoData-CASLYVON.js} +1 -1
- package/dist/assets/NoData.stories-BQ7A1Em2.js +1 -0
- package/dist/assets/{Pagination.stories-CJo74QUQ.js → Pagination.stories-DzeQADXN.js} +1 -1
- package/dist/assets/{Paper-CvptezwS.js → Paper-rwPr6yAe.js} +1 -1
- package/dist/assets/{PeriodPicker.stories-BBexJ4v8.js → PeriodPicker.stories-DpE7_UAO.js} +1 -1
- package/dist/assets/{Popover-DlO48OH0.js → Popover-Bvp9TzdX.js} +1 -1
- package/dist/assets/{RadioGroup-BW02SYXb.js → RadioGroup-BnVDL4a_.js} +1 -1
- package/dist/assets/{Select-nsLL6rRu.js → Select-Cje2eHJT.js} +1 -1
- package/dist/assets/{Select-KdyHQHMS.js → Select-j5IP9Sdd.js} +1 -1
- package/dist/assets/Select.stories-DwTRCbmS.js +1 -0
- package/dist/assets/{Share.stories-C9FTpRrW.js → Share.stories-D9bbBHOG.js} +1 -1
- package/dist/assets/{ShortUrls.stories-DxJR_P2X.js → ShortUrls.stories-sm8Qixwp.js} +1 -1
- package/dist/assets/{SisccFooter.stories-QByv-q4F.js → SisccFooter.stories-ngAVS2fW.js} +1 -1
- package/dist/assets/{Spotlight-CmRACETX.js → Spotlight-Dv0tXo8R.js} +1 -1
- package/dist/assets/Spotlight.stories-Bj9Lx2TK.js +1 -0
- package/dist/assets/{SvgIcon-B4E5RqVY.js → SvgIcon-C5CDMsWi.js} +1 -1
- package/dist/assets/{SwitchBase-CKx12nvI.js → SwitchBase-cEE7knxp.js} +1 -1
- package/dist/assets/{TableFooter.stories-CwXf1lI-.js → TableFooter.stories-CW06vD_N.js} +1 -1
- package/dist/assets/{TableHeader.stories-D0ORXzOr.js → TableHeader.stories-bwk5vNhl.js} +1 -1
- package/dist/assets/{TableHtml5.stories-BPZc5GEA.js → TableHtml5.stories-DnpJhH0w.js} +1 -1
- package/dist/assets/TableLayout.stories-bJkFobe7.js +5 -0
- package/dist/assets/{TablePreview-Bo4NBVOx.js → TablePreview-BG5Krxfy.js} +1 -1
- package/dist/assets/{TablePreview.stories-BULHHKRq.js → TablePreview.stories-Bt22boqe.js} +1 -1
- package/dist/assets/{TableRow-CqP_pY3L.js → TableRow-BIRBe8Dg.js} +1 -1
- package/dist/assets/{Tabs-C1bd7Sl0.js → Tabs-DIkUmUsU.js} +1 -1
- package/dist/assets/{Tag-DJX2q6FJ.js → Tag-DPT3g8V4.js} +1 -1
- package/dist/assets/{Tag.stories-DhXbHvaw.js → Tag.stories-MIcTzyOo.js} +1 -1
- package/dist/assets/{TextField-CB_xf9E1.js → TextField-BdrB0uvQ.js} +1 -1
- package/dist/assets/{TextareaAutosize-BfuBxOFe.js → TextareaAutosize-nlG2H8N3.js} +1 -1
- package/dist/assets/{ToggleButton-kyBMi8Bb.js → ToggleButton-BQ15V_NI.js} +1 -1
- package/dist/assets/ToggleButton.stories-DlptoWsC.js +1 -0
- package/dist/assets/{Tooltip-CWLtiFPL.js → Tooltip-BwGUiapZ.js} +1 -1
- package/dist/assets/{Tooltip-DJ2_mly-.js → Tooltip-C6C4HoiG.js} +1 -1
- package/dist/assets/Tooltip.stories-CQLaQUlp.js +1 -0
- package/dist/assets/{TransitionGroupContext-Ct0fmffr.js → TransitionGroupContext-BIq-0m_o.js} +1 -1
- package/dist/assets/{Typography-CUXUzS5t.js → Typography-CLwyJSFO.js} +1 -1
- package/dist/assets/{UserRightForm.stories-BGFdnAnA.js → UserRightForm.stories-C73DToeh.js} +1 -1
- package/dist/assets/{VerticalButton-DNgFBbD5.js → VerticalButton-lwk08zEU.js} +1 -1
- package/dist/assets/VerticalButton.stories-DRiqLTOq.js +1 -0
- package/dist/assets/{VirtualizedTree-BTD3zfXB.js → VirtualizedTree-6ijD_iLl.js} +1 -1
- package/dist/assets/{VirtualizedTree.stories-CjqXq2gy.js → VirtualizedTree.stories-B5CXip4T.js} +1 -1
- package/dist/assets/{Warning-pXG3r1uV.js → Warning-CgXSLqXm.js} +1 -1
- package/dist/assets/{WithTooltip-7X4HQR7L-B-reHj-8.js → WithTooltip-7X4HQR7L-CRl8dvYc.js} +1 -1
- package/dist/assets/{axe-BNyF2xrA.js → axe-BCVQpbcP.js} +1 -1
- package/dist/assets/{client-BN6FmJpN.js → client-CiXGemvF.js} +1 -1
- package/dist/assets/{createSvgIcon-Dj4hOazC.js → createSvgIcon-Bt67gNw3.js} +1 -1
- package/dist/assets/{dividerClasses-Ci0TFmD0.js → dividerClasses-DTn-0CfR.js} +1 -1
- package/dist/assets/{formControlState-BhWMJVua.js → formControlState-DNpgDiki.js} +1 -1
- package/dist/assets/formatter-L2YTDE3Q-CRWGDuLM.js +1 -0
- package/dist/assets/{getThemeProps-B3XPepMy.js → getThemeProps-DCMTcyXO.js} +1 -1
- package/dist/assets/{iframe-Bn2bKXnF.js → iframe-BQjKj6F_.js} +3 -3
- package/dist/assets/{index-CM-4k8s2.js → index-BxQFHsyq.js} +1 -1
- package/dist/assets/{index-qDpFFwpw.js → index-Ck0I-MZW.js} +1 -1
- package/dist/assets/{index-CgX1khv6.js → index-DEYRbzMR.js} +1 -1
- package/dist/assets/index-QwDeDwoS.js +1 -0
- package/dist/assets/{index-CZNa6F-A.js → index-UHAYd7c2.js} +1 -1
- package/dist/assets/{isMuiElement-DBm6Kpc2.js → isMuiElement-ADO0aM5S.js} +1 -1
- package/dist/assets/{listItemTextClasses-B7uMTR2T.js → listItemTextClasses-C3ixun4o.js} +1 -1
- package/dist/assets/{makeStyles-C-jh_7fl.js → makeStyles-CRflPB-y.js} +1 -1
- package/dist/assets/{react-18-BNxedhpU.js → react-18-a6ySAxHI.js} +1 -1
- package/dist/assets/{styled-xcNfGM4O.js → styled-C56gzAmQ.js} +1 -1
- package/dist/assets/{syntaxhighlighter-YFXUGROL-C2ktlEtx.js → syntaxhighlighter-YFXUGROL-CGesurt7.js} +1 -1
- package/dist/assets/trim-BjtrbgW-.js +2 -0
- package/dist/assets/{useControlled-BJx2XeQR.js → useControlled-Bj6cj-Ig.js} +1 -1
- package/dist/assets/{useKeybordEscapeHandler-Bk8QvXPX.js → useKeybordEscapeHandler-DsdvHI_h.js} +1 -1
- package/dist/assets/{useMediaQuery-BIPT2WU6.js → useMediaQuery-1qbUbEPg.js} +1 -1
- package/dist/assets/{useSlotProps-DuAgyec7.js → useSlotProps-Cok4v8LG.js} +1 -1
- package/dist/assets/useTheme-DInZHCfp.js +1 -0
- package/dist/assets/{useThemeProps-WrFcVLHD.js → useThemeProps-D8uqi6JO.js} +1 -1
- package/dist/assets/{utils-Dp9jL5PI.js → utils-DLYNTdtA.js} +1 -1
- package/dist/assets/{utils-Bp2ftAKh.js → utils-Djr-myBd.js} +1 -1
- package/dist/assets/{with-input-WoUqEmR9.js → with-input-Ciw5XqDI.js} +1 -1
- package/dist/assets/{withSpotlight-jzdRyevj.js → withSpotlight-Bg7rQ96n.js} +1 -1
- package/dist/iframe.html +1 -1
- package/dist/manifests/components.html +1 -1
- package/dist/manifests/components.json +1 -1
- package/dist/project.json +1 -1
- package/package.json +1 -1
- package/dist/assets/Alert.stories-B1HXrNW2.js +0 -3
- package/dist/assets/ArrowForward-CAhTLx8v.js +0 -1
- package/dist/assets/Close-C7o4pVRF.js +0 -1
- package/dist/assets/DataEdit.stories-Bt4u3By7.js +0 -1
- package/dist/assets/Done-ozqRm0hC.js +0 -1
- package/dist/assets/DynamicDrawer.stories-DxozOs-N.js +0 -5
- package/dist/assets/ExpandLess-vD5VLL2i.js +0 -1
- package/dist/assets/ExpandMore-ZEZ3vexP.js +0 -1
- package/dist/assets/ExpansionPanel.stories-MhVA2Nnk.js +0 -1
- package/dist/assets/Info-zYeV5_aN.js +0 -1
- package/dist/assets/Input.stories-DE0eAZ6N.js +0 -1
- package/dist/assets/Lens-C3OlwTXx.js +0 -1
- package/dist/assets/ListContext-cihky6P4.js +0 -1
- package/dist/assets/Mode.stories-CdABnpaR.js +0 -1
- package/dist/assets/NoData.stories-D16_IWKR.js +0 -1
- package/dist/assets/Select.stories-SGqIngoM.js +0 -1
- package/dist/assets/Spotlight.stories-6wzReYjj.js +0 -1
- package/dist/assets/TableLayout.stories-92tdW6ng.js +0 -5
- package/dist/assets/ToggleButton.stories-B6bP7BGL.js +0 -1
- package/dist/assets/Tooltip.stories-Dg3OP_DX.js +0 -1
- package/dist/assets/VerticalButton.stories-DzgJy3_6.js +0 -1
- package/dist/assets/formatter-L2YTDE3Q-Dnb-_K43.js +0 -1
- package/dist/assets/index-BgzAW8PA.js +0 -1
- package/dist/assets/trim-DDjgxVjx.js +0 -2
- package/dist/assets/useTheme-Y4A67ZcC.js +0 -1
package/dist/project.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"generatedAt":
|
|
1
|
+
{"generatedAt":1784619161424,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"knownPackages":{"testPackages":{"@chromatic-com/storybook":"5.2.1","@storybook/addon-vitest":"10.5.0","@testing-library/dom":"10.4.1","@testing-library/react":"16.3.2","@vitest/coverage-v8":"4.1.10","vitest":"4.1.10"},"stylingPackages":{"@emotion/react":"^11.0.0","@emotion/styled":"^11.0.0","jss":"^10.0.0"},"uiLibraryPackages":{"@mui/icons-material":"^5.0.0","@mui/material":"^5.0.0","@mui/styles":"^5.0.0","@mui/utils":"^5.0.0"}},"hasRouterPackage":false,"packageManager":{"type":"yarn","version":"berry","agent":"yarn@berry","nodeLinker":"node-modules"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","storybookVersion":"10.5.0","storybookVersionSpecifier":"^10.4.1","language":"typescript","storybookPackages":{"@storybook/react-vite":{"version":"10.5.0"},"storybook":{}},"addons":{"@chromatic-com/storybook":{"version":"5.2.1"},"@storybook/addon-vitest":{"version":"10.5.0"},"@storybook/addon-a11y":{"version":"10.5.0"},"@storybook/addon-docs":{"version":"10.5.0"},"@storybook/addon-mcp":{}},"packageJsonType":"module"}
|
package/package.json
CHANGED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{j as e,r as m}from"./iframe-Bn2bKXnF.js";import{A as s}from"./Alert-gAhJWZHD.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CZNa6F-A.js";import"./Paper-CvptezwS.js";import"./styled-xcNfGM4O.js";import"./IconButton-DgiyHwm2.js";import"./ButtonBase-XMgfmL4Z.js";import"./TransitionGroupContext-Ct0fmffr.js";import"./Close-C7o4pVRF.js";import"./createSvgIcon-Dj4hOazC.js";import"./SvgIcon-B4E5RqVY.js";import"./makeStyles-C-jh_7fl.js";const O={title:"Example/Alert",component:s,tags:["autodocs"]},p=t=>{const[o,a]=m.useState(!1);return e.jsx(s,{...t,onClick:()=>a(!o),children:o?"ON":"OFF"})},r={render:t=>e.jsx(p,{...t})};r.parameters={...r.parameters,docs:{...r.parameters?.docs,source:{originalSource:`{
|
|
2
|
-
render: args => <ControlledAlert {...args} />
|
|
3
|
-
}`,...r.parameters?.docs?.source}}};const F=["Controlled"];export{r as Controlled,F as __namedExportsOrder,O as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r}from"./iframe-Bn2bKXnF.js";import{c as o}from"./createSvgIcon-Dj4hOazC.js";const s=o(r.jsx("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");export{s as A};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./iframe-Bn2bKXnF.js";import{c as s}from"./createSvgIcon-Dj4hOazC.js";const e=s(o.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");export{e as C};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{D as o}from"./DataEdit-B-UIgc0-.js";import"./iframe-Bn2bKXnF.js";import"./preload-helper-PPVm8Dsz.js";import"./is-D-2gRytX.js";import"./_isString-qgG10cDy.js";import"./_curry1-DZES3h6F.js";import"./InputAdornment-DT9kJqoL.js";import"./styled-xcNfGM4O.js";import"./formControlState-BhWMJVua.js";import"./Typography-CUXUzS5t.js";import"./IconButton-DgiyHwm2.js";import"./ButtonBase-XMgfmL4Z.js";import"./TransitionGroupContext-Ct0fmffr.js";import"./createSvgIcon-Dj4hOazC.js";import"./SvgIcon-B4E5RqVY.js";import"./TextField-CB_xf9E1.js";import"./Select-KdyHQHMS.js";import"./useSlotProps-DuAgyec7.js";import"./Popover-DlO48OH0.js";import"./TextareaAutosize-BfuBxOFe.js";import"./ownerDocument-DW-IO8s5.js";import"./Grow-B1sx8BUV.js";import"./index-BgzAW8PA.js";import"./index-qDpFFwpw.js";import"./useTheme-Y4A67ZcC.js";import"./utils-Bp2ftAKh.js";import"./Paper-CvptezwS.js";import"./ListContext-cihky6P4.js";import"./useControlled-BJx2XeQR.js";import"./isMuiElement-DBm6Kpc2.js";import"./omit-DlVJ9qIR.js";import"./toString-CZqbYCtr.js";import"./_isObject-6WN73bNV.js";import"./keys-MRUazFsh.js";import"./_reduce-jCRHcH4g.js";import"./curryN-CtlObJyB.js";import"./makeStyles-C-jh_7fl.js";import"./utils-Dp9jL5PI.js";import"./prop-D5hAeHhE.js";import"./path-DwLTp3pU.js";import"./pipe-BtUDRn-R.js";import"./_curry3-B7ARCYrl.js";import"./invoker-CzjdWzzC.js";import"./Grid-hN6cGWtX.js";import"./dissoc-BUYWJSj1.js";import"./map-x4uThvOW.js";import"./not-BYZhl9KK.js";import"./FormControlLabel-DO5vSqlK.js";import"./useThemeProps-WrFcVLHD.js";import"./getThemeProps-B3XPepMy.js";import"./Checkbox-cf5E2D8S.js";import"./SwitchBase-CKx12nvI.js";import"./pathOr-BmjUXfCm.js";import"./all-pAWO0bOP.js";import"./_reduced-C8HAFxGt.js";import"./identity-BtKjXVdB.js";import"./pluck-DLxRFKfx.js";import"./any-CfLUVj0h.js";import"./isEmpty-BDVj1T2C.js";const et={title:"Example/DataEdit",component:o,tags:["autodocs"]},t={};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:"{}",...t.parameters?.docs?.source}}};const st=["Default"];export{t as Default,st as __namedExportsOrder,et as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./iframe-Bn2bKXnF.js";import{c as t}from"./createSvgIcon-Dj4hOazC.js";const e=t(o.jsx("path",{d:"M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"}),"Done");export{e as D};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{r as A,u as Ue,_ as Le,a as M,j as o,R as It}from"./iframe-Bn2bKXnF.js";import{c as G}from"./index-CZNa6F-A.js";import{P as d}from"./index-CgX1khv6.js";import{f as Ar,g as Dt,b as et,a as wr,d as Cr,V as Sr}from"./VirtualizedTree-BTD3zfXB.js";import{B as q}from"./Button-BKUtAjYE.js";import{S as Ir,A as Dr}from"./Spotlight-CmRACETX.js";import{T as tt}from"./Tooltip-CWLtiFPL.js";import{s as Er,w as Wr,a as kr}from"./withSpotlight-jzdRyevj.js";import{B as se,T as jr,a as Rr}from"./Tabs-C1bd7Sl0.js";import{P as ot}from"./Paper-CvptezwS.js";import{T as _}from"./Typography-CUXUzS5t.js";import{i as H}from"./isNil-COslMkIS.js";import{i as Z}from"./is-D-2gRytX.js";import{a as lt}from"./addIndex-oJ56c-D4.js";import{m as L}from"./map-x4uThvOW.js";import{m as Ne}from"./makeStyles-C-jh_7fl.js";import{a as qe}from"./always-C_Ync45z.js";import{p as z}from"./propOr-C6krihMT.js";import{i as Et,t as Ur}from"./utils-Dp9jL5PI.js";import{_ as Wt,r as kt,i as jt}from"./indexBy-BS-vJGsQ.js";import{p as u}from"./prop-D5hAeHhE.js";import{r as U,t as ct,s as P,p as W}from"./pipe-BtUDRn-R.js";import{h as ae,a as Lr}from"./has-iQO9y9kE.js";import{G as Q}from"./Grid-hN6cGWtX.js";import{D as Nr}from"./Divider-pHFgrWZV.js";import{B as V}from"./Button-D6Nq6IjC.js";import{E as qr}from"./EmojiObjects-B8ACDXuT.js";import{p as oe}from"./pluck-DLxRFKfx.js";import{u as Y,a as Br}from"./uniq-CZIvUTXI.js";import{l as ve}from"./length-IXM-4ocd.js";import{a as me,c as De,b as Tr,d as Or}from"./concat-BaCSP4bP.js";import{a as Rt,_ as Kr,c as Mr,d as Pr,f as ut,r as Ee,t as Fr}from"./toString-CZqbYCtr.js";import{a as R}from"./assoc-Dg7iWEwB.js";import{v as ge}from"./values-CAwOW2HW.js";import{d as Ut}from"./difference-DDKgd6CJ.js";import{d as dt}from"./dissoc-BUYWJSj1.js";import{T as Lt}from"./Tag-DJX2q6FJ.js";import{a as Qr,D as Vr}from"./Dialog-ClhUjGJY.js";import{b as Be,g as Te,c as Oe,a as Ke,s as Me,r as _r}from"./styled-xcNfGM4O.js";import{d as Jr,p as ye}from"./pathOr-BmjUXfCm.js";import{f as rt}from"./find-DPVcla78.js";import{_ as l}from"./_isString-qgG10cDy.js";import{e as Gr,i as Ie}from"./isEmpty-BDVj1T2C.js";import{h as zr}from"./Popover-DlO48OH0.js";import{_ as nt,e as N,b as Xr,a as Ct,t as Zr}from"./_isObject-6WN73bNV.js";import{n as Nt}from"./not-BYZhl9KK.js";import{a as We}from"./append-C8VlU-CL.js";import{C as Hr}from"./Close-C7o4pVRF.js";import{T as Yr}from"./T-Y1RunoT4.js";import{c as pt,a as qt,_ as $r,d as en,f as tn,r as rn,s as nn,t as an,z as sn}from"./zip-QSYbJSwa.js";import{u as Bt,a as on,b as ln,i as cn,l as un}from"./lensIndex-DjJS719w.js";import{a as Tt}from"./all-pAWO0bOP.js";import{a as dn,i as pn}from"./init-D1ASY6bQ.js";import{a as fn}from"./any-CfLUVj0h.js";import{a as hn}from"./anyPass-CYXEa91G.js";import{a as Ot,l as mn,b as gn}from"./lift-DWG_WmTa.js";import{_ as E,a as B,c as $,e as Kt,d as Mt,b as vn,f as yn,g as bn}from"./_reduce-jCRHcH4g.js";import{_ as le}from"./_concat-CKc59O9E.js";import{_ as y}from"./_curry1-DZES3h6F.js";import{c as ee,_ as ce,a as xn}from"./curryN-CtlObJyB.js";import{m as Pt}from"./max-kgon7wA-.js";import{k as ue,_ as at,b as X}from"./keys-MRUazFsh.js";import{_ as m}from"./_curry3-B7ARCYrl.js";import{a as An,l as wn}from"./lensPath-BgbL4fVJ.js";import{c as Ft,u as Cn}from"./unnest-CIXacqCq.js";import{c as ke,d as Sn,f as In}from"./forEach-CD9EYxEB.js";import{r as Pe}from"./reverse-DjLk_5XO.js";import{h as Qt}from"./head-qAhnf9Tw.js";import{i as ft,_ as ht}from"./identity-BtKjXVdB.js";import{c as Dn}from"./cond-D3AegoZw.js";import{_ as je,n as Vt,p as mt,a as En}from"./path-DwLTp3pU.js";import{t as _t,d as Wn}from"./dropLast-ChWL3mCh.js";import{l as Jt}from"./last-BHjgfAsb.js";import{e as kn}from"./either-DkAOohkF.js";import{e as jn}from"./evolve-BatOtooD.js";import{f as Gt,s as ie}from"./subtract-tdm8zQ4O.js";import{f as gt}from"./flip-DUR8w3Wu.js";import{g as Rn}from"./gt-BHd0ZsSb.js";import{g as Un}from"./gte-pCP_etx_.js";import{i as Ln}from"./ifElse-C4TX1NDU.js";import{a as Nn,i as qn,m as Bn,t as Tn}from"./trim-DDjgxVjx.js";import{i as On}from"./innerJoin-Dosi0D91.js";import{i as Kn}from"./intersperse-fqmJiggE.js";import{_ as Fe,m as Mn,s as Pn}from"./set-8jiRfFh4.js";import{_ as Fn,i as zt}from"./invoker-CzjdWzzC.js";import{j as Qn}from"./join-D4-hXwt-.js";import{l as Vn,o as _n}from"./over-f093ucEk.js";import{l as Jn}from"./lensProp-CbZVApjL.js";import{l as Gn}from"./lt-DLHCA0M9.js";import{l as zn}from"./lte-Bdgz3EA-.js";import{m as Xn}from"./match-C0UqbTsC.js";import{m as Zn}from"./min-CEC8M_KS.js";import{m as Re,p as Xt}from"./prepend-DsY2ekGJ.js";import{o as Hn}from"./of-jJbie-2W.js";import{o as Yn}from"./omit-DlVJ9qIR.js";import{o as $n}from"./or-CjN1zdxp.js";import{p as ea}from"./pick-Zfnu-6mP.js";import{p as ta}from"./propEq-C5bw9tHb.js";import{p as ra}from"./props-C7I1YqbB.js";import{_ as vt}from"./_reduced-C8HAFxGt.js";import{t as Qe}from"./times-Jg5IS051.js";import{t as na}from"./test-Bn_PxCzV.js";import{t as aa,w as ia}from"./without-6vRGZm_m.js";import{w as sa}from"./when-DECS4LTO.js";import{C as oa}from"./Container--e843zQB.js";import"./preload-helper-PPVm8Dsz.js";import"./useKeybordEscapeHandler-Bk8QvXPX.js";import"./ListContext-cihky6P4.js";import"./isMuiElement-DBm6Kpc2.js";import"./TransitionGroupContext-Ct0fmffr.js";import"./useSlotProps-DuAgyec7.js";import"./ButtonBase-XMgfmL4Z.js";import"./IconButton-DgiyHwm2.js";import"./listItemTextClasses-B7uMTR2T.js";import"./SvgIcon-B4E5RqVY.js";import"./createSvgIcon-Dj4hOazC.js";import"./useTheme-Y4A67ZcC.js";import"./ExpandLess-vD5VLL2i.js";import"./ExpandMore-ZEZ3vexP.js";import"./Cross-DGXdS0Ye.js";import"./ArrowForward-CAhTLx8v.js";import"./Tooltip-DJ2_mly-.js";import"./Grow-B1sx8BUV.js";import"./index-BgzAW8PA.js";import"./index-qDpFFwpw.js";import"./utils-Bp2ftAKh.js";import"./useControlled-BJx2XeQR.js";import"./ownerDocument-DW-IO8s5.js";import"./TextareaAutosize-BfuBxOFe.js";import"./_cloneRegExp-xedU2qh5.js";import"./dividerClasses-Ci0TFmD0.js";import"./formControlState-BhWMJVua.js";import"./useThemeProps-WrFcVLHD.js";import"./getThemeProps-B3XPepMy.js";var la=function(){return!1};function ca(n,e){for(var t=0,r=e.length-(n-1),a=new Array(r>=0?r:0);t<r;)a[t]=Array.prototype.slice.call(e,t,t+n),t+=1;return a}var ua=(function(){function n(e,t){this.xf=t,this.pos=0,this.full=!1,this.acc=new Array(e)}return n.prototype["@@transducer/init"]=E.init,n.prototype["@@transducer/result"]=function(e){return this.acc=null,this.xf["@@transducer/result"](e)},n.prototype["@@transducer/step"]=function(e,t){return this.store(t),this.full?this.xf["@@transducer/step"](e,this.getCopy()):e},n.prototype.store=function(e){this.acc[this.pos]=e,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},n.prototype.getCopy=function(){return le(Array.prototype.slice.call(this.acc,this.pos),Array.prototype.slice.call(this.acc,0,this.pos))},n})(),da=l(function(e,t){return new ua(e,t)}),pa=l(B([],da,ca)),Zt=l(function(e,t){return e.apply(this,t)});function St(n,e){return ue(e).reduce(function(t,r){return t[r]=n(e[r]),t},{})}var fa=y(function n(e){return e=St(function(t){return typeof t=="function"?t:n(t)},e),ee(U(Pt,0,oe("length",ge(e))),function(){var t=arguments;return St(function(r){return Zt(r,t)},e)})}),ha=l(function(e,t){return t(e)}),ma=m(function(e,t,r){var a=e(t),i=e(r);return a<i?-1:a>i?1:0}),Ve=l(function(e,t){switch(e){case 0:return function(){return t.call(this)};case 1:return function(r){return t.call(this,r)};case 2:return function(r,a){return t.call(this,r,a)};case 3:return function(r,a,i){return t.call(this,r,a,i)};case 4:return function(r,a,i,s){return t.call(this,r,a,i,s)};case 5:return function(r,a,i,s,c){return t.call(this,r,a,i,s,c)};case 6:return function(r,a,i,s,c,f){return t.call(this,r,a,i,s,c,f)};case 7:return function(r,a,i,s,c,f,h){return t.call(this,r,a,i,s,c,f,h)};case 8:return function(r,a,i,s,c,f,h,g){return t.call(this,r,a,i,s,c,f,h,g)};case 9:return function(r,a,i,s,c,f,h,g,w){return t.call(this,r,a,i,s,c,f,h,g,w)};case 10:return function(r,a,i,s,c,f,h,g,w,I){return t.call(this,r,a,i,s,c,f,h,g,w,I)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}}),ga=y(function(e){return Ve(2,e)}),va=pt(function(e){return e.apply(this,Array.prototype.slice.call(arguments,1))}),ya=m(function(e,t,r){if(e>t)throw new Error("min must not be greater than max in clamp(min, max, value)");return r<e?e:r>t?t:r}),ba=y(function(e){return e!=null&&typeof e.clone=="function"?e.clone():Wt(e,[],[],!0)}),xa=y(function(e){return function(t,r){return e(t,r)?-1:e(r,t)?1:0}});function Ht(){if(arguments.length===0)throw new Error("composeK requires at least one argument");var n=Array.prototype.slice.call(arguments),e=n.pop();return ke(ke.apply(this,L(Ft,n)),e)}function Aa(n,e){return function(){var t=this;return n.apply(t,arguments).then(function(r){return e.call(t,r)})}}function Yt(){if(arguments.length===0)throw new Error("pipeP requires at least one argument");return ce(arguments[0].length,U(Aa,arguments[0],ct(arguments)))}function wa(){if(arguments.length===0)throw new Error("composeP requires at least one argument");return Yt.apply(this,Pe(arguments))}var $t=l(function(e,t){if(t.length<=0)return ft;var r=Qt(t),a=ct(t);return ce(r.length,function(){return $(function(i,s){return e.call(this,s,i)},r.apply(this,arguments),a)})}),Ca=l(function(e,t){return $t.apply(this,[e,Pe(t)])}),er=l(function(e,t){if(e>10)throw new Error("Constructor with greater than ten arguments");return e===0?function(){return new t}:pt(Ve(e,function(r,a,i,s,c,f,h,g,w,I){switch(arguments.length){case 1:return new t(r);case 2:return new t(r,a);case 3:return new t(r,a,i);case 4:return new t(r,a,i,s);case 5:return new t(r,a,i,s,c);case 6:return new t(r,a,i,s,c,f);case 7:return new t(r,a,i,s,c,f,h);case 8:return new t(r,a,i,s,c,f,h,g);case 9:return new t(r,a,i,s,c,f,h,g,w);case 10:return new t(r,a,i,s,c,f,h,g,w,I)}}))}),Sa=y(function(e){return er(e.length,e)}),Ia=l(Rt),Da=kt(function(n,e){return n+1},0),Ea=m(function(e,t,r){var a=e(t),i=e(r);return a>i?-1:a<i?1:0}),it=m(function(e,t,r){for(var a=[],i=0,s=t.length;i<s;)!nt(e,t[i],r)&&!nt(e,t[i],a)&&a.push(t[i]),i+=1;return a}),tr=m(function(e,t,r){var a=Array.prototype.slice.call(r,0);return a.splice(e,t),a}),Wa=l(function n(e,t){switch(e.length){case 0:return t;case 1:return je(e[0])&&at(t)?tr(e[0],1,t):dt(e[0],t);default:var r=e[0],a=Array.prototype.slice.call(e,1);return t[r]==null?t:je(r)&&at(t)?Bt(r,n(a,t[r]),t):R(r,n(a,t[r]),t)}}),ka=(function(){function n(e,t){this.xf=t,this.n=e}return n.prototype["@@transducer/init"]=E.init,n.prototype["@@transducer/result"]=E.result,n.prototype["@@transducer/step"]=function(e,t){return this.n>0?(this.n-=1,e):this.xf["@@transducer/step"](e,t)},n})(),ja=l(function(e,t){return new ka(e,t)}),rr=l(B(["drop"],ja,function(e,t){return P(Math.max(0,e),1/0,t)}));function Ra(n,e){for(var t=e.length-1;t>=0&&n(e[t]);)t-=1;return P(0,t+1,e)}var Ua=(function(){function n(e,t){this.f=e,this.retained=[],this.xf=t}return n.prototype["@@transducer/init"]=E.init,n.prototype["@@transducer/result"]=function(e){return this.retained=null,this.xf["@@transducer/result"](e)},n.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.retain(e,t):this.flush(e,t)},n.prototype.flush=function(e,t){return e=$(this.xf["@@transducer/step"],e,this.retained),this.retained=[],this.xf["@@transducer/step"](e,t)},n.prototype.retain=function(e,t){return this.retained.push(t),e},n})(),La=l(function(e,t){return new Ua(e,t)}),Na=l(B([],La,Ra)),qa=(function(){function n(e,t){this.xf=t,this.pred=e,this.lastValue=void 0,this.seenFirstValue=!1}return n.prototype["@@transducer/init"]=E.init,n.prototype["@@transducer/result"]=E.result,n.prototype["@@transducer/step"]=function(e,t){var r=!1;return this.seenFirstValue?this.pred(this.lastValue,t)&&(r=!0):this.seenFirstValue=!0,this.lastValue=t,r?e:this.xf["@@transducer/step"](e,t)},n})(),nr=l(function(e,t){return new qa(e,t)}),ar=l(B([],nr,function(e,t){var r=[],a=1,i=t.length;if(i!==0)for(r[0]=t[0];a<i;)e(Jt(r),t[a])||(r[r.length]=t[a]),a+=1;return r})),Ba=y(B([],nr(N),ar(N))),Ta=(function(){function n(e,t){this.xf=t,this.f=e}return n.prototype["@@transducer/init"]=E.init,n.prototype["@@transducer/result"]=E.result,n.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)},n})(),Oa=l(function(e,t){return new Ta(e,t)}),Ka=l(B(["dropWhile"],Oa,function(e,t){for(var r=0,a=t.length;r<a&&e(t[r]);)r+=1;return P(r,1/0,t)})),ir=l(function(e,t){return rr(e>=0?t.length-e:0,t)}),Ma=l(function(n,e){return N(ir(n.length,e),n)}),Pa=m(function(e,t,r){return N(e(t),e(r))}),Fa=m(function(e,t,r){return N(t[e],r[e])}),Qa=(function(){function n(e,t){this.xf=t,this.f=e}return n.prototype["@@transducer/init"]=E.init,n.prototype["@@transducer/result"]=function(e){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](e,this.last))},n.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.last=t),e},n})(),Va=l(function(e,t){return new Qa(e,t)}),_a=l(B([],Va,function(e,t){for(var r=t.length-1;r>=0;){if(e(t[r]))return t[r];r-=1}})),Ja=(function(){function n(e,t){this.xf=t,this.f=e,this.idx=-1,this.lastIdx=-1}return n.prototype["@@transducer/init"]=E.init,n.prototype["@@transducer/result"]=function(e){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](e,this.lastIdx))},n.prototype["@@transducer/step"]=function(e,t){return this.idx+=1,this.f(t)&&(this.lastIdx=this.idx),e},n})(),Ga=l(function(e,t){return new Ja(e,t)}),za=l(B([],Ga,function(e,t){for(var r=t.length-1;r>=0;){if(e(t[r]))return r;r-=1}return-1})),Xa=l(function(e,t){for(var r=ue(t),a=0;a<r.length;){var i=r[a];e(t[i],i,t),a+=1}return t}),Za=l(function(n,e){for(var t=[],r=0,a=e.length;r<a;){for(var i=r+1;i<a&&n(e[i-1],e[i]);)i+=1;t.push(e.slice(r,i)),r=i}return t}),Ha=l(function(e,t){return e in t}),Ya=l(Xr),$a=m(function(e,t,r){return e=e<r.length&&e>=0?e:r.length,[].concat(Array.prototype.slice.call(r,0,e),t,Array.prototype.slice.call(r,e))}),ei=l(function(e,t){var r,a;return e.length>t.length?(r=e,a=t):(r=t,a=e),Y(Kr(gt(Rt)(r),a))}),sr=l(function(e,t){var r={};return r[e]=t,r}),ti={"@@transducer/init":Array,"@@transducer/step":function(n,e){return n.push(e),n},"@@transducer/result":ht},ri={"@@transducer/init":String,"@@transducer/step":function(n,e){return n+e},"@@transducer/result":ht},ni={"@@transducer/init":Object,"@@transducer/step":function(n,e){return Fe(n,Mt(e)?sr(e[0],e[1]):e)},"@@transducer/result":ht};function ai(n){if(Kt(n))return n;if(Mt(n))return ti;if(typeof n=="string")return ri;if(typeof n=="object")return ni;throw new Error("Cannot create transformer for "+n)}var ii=m(function(e,t,r){return Kt(e)?$(t(e),e["@@transducer/init"](),r):$(t(ai(e)),Wt(e,[],[],!1),r)}),si=y(function(e){for(var t=ue(e),r=t.length,a=0,i={};a<r;){var s=t[a],c=e[s],f=X(c,i)?i[c]:i[c]=[];f[f.length]=s,a+=1}return i}),oi=y(function(e){for(var t=ue(e),r=t.length,a=0,i={};a<r;){var s=t[a];i[e[s]]=s,a+=1}return i}),or=y(function(e){return qt(function(){return Array.prototype.slice.call(arguments,0)},e)}),li=y(function(e){var t,r=[];for(t in e)r[r.length]=t;return r}),ci=l(function(e,t){if(typeof t.lastIndexOf=="function"&&!at(t))return t.lastIndexOf(e);for(var r=t.length-1;r>=0;){if(N(t[r],e))return r;r-=1}return-1}),ui=m(function(e,t,r){for(var a=0,i=r.length,s=[],c=[t];a<i;)c=e(c[0],r[a]),s[a]=c[1],a+=1;return[c[0],s]}),di=m(function(e,t,r){for(var a=r.length-1,i=[],s=[t];a>=0;)s=e(s[0],r[a]),i[a]=s[1],a-=1;return[s[0],i]}),pi=l(function(e,t){return $(function(r,a){return r[a]=e(t[a],a,t),r},{},ue(t))}),fi=l(function(e,t){return je(e)?!je(t)||t<1?NaN:(e%t+t)%t:NaN}),hi=m(function(e,t,r){return e(r)>e(t)?r:t}),lr=U(me,0),cr=y(function(e){return lr(e)/e.length}),mi=y(function(e){var t=e.length;if(t===0)return NaN;var r=2-t%2,a=(t-r)/2;return cr(Array.prototype.slice.call(e,0).sort(function(i,s){return i<s?-1:i>s?1:0}).slice(a,a+r))}),gi=l(function(e,t){var r={};return ce(t.length,function(){var a=e.apply(this,arguments);return X(a,r)||(r[a]=t.apply(this,arguments)),r[a]})}),vi=l(function(e,t){return Fe({},e,t)}),yi=y(function(e){return Fe.apply(null,[{}].concat(e))}),yt=m(function(e,t,r){var a={},i;for(i in t)X(i,t)&&(a[i]=X(i,r)?e(i,t[i],r[i]):t[i]);for(i in r)X(i,r)&&!X(i,a)&&(a[i]=r[i]);return a}),_e=m(function n(e,t,r){return yt(function(a,i,s){return Ct(i)&&Ct(s)?n(e,i,s):e(a,i,s)},t,r)}),bi=l(function(e,t){return _e(function(r,a,i){return a},e,t)}),xi=l(function(e,t){return _e(function(r,a,i){return i},e,t)}),Ai=m(function(e,t,r){return _e(function(a,i,s){return e(i,s)},t,r)}),wi=l(function(e,t){return Fe({},t,e)}),Ci=m(function(e,t,r){return yt(function(a,i,s){return e(i,s)},t,r)}),Si=m(function(e,t,r){return e(r)<e(t)?r:t}),Ii=l(function(e,t){return e%t}),Di=y(function(e){return-e}),Ei=l(function(e,t){return Tt(Mr(e),t)}),Wi=y(function(e){var t=e<0?1:e+1;return ee(t,function(){return Vt(e,arguments)})}),ki=m(function(e,t,r){return e(t(r))}),ji=y(function(e){var t=!1,r;return ce(e.length,function(){return t||(t=!0,r=e.apply(this,arguments)),r})});function ur(n,e){if(e==null||!Fn(e.then))throw new TypeError("`"+n+"` expected a Promise, received "+Pr(e,[]))}var Ri=l(function(e,t){return ur("otherwise",t),t.then(null,e)}),Ui=l(function(e,t){return[e,t]});function dr(n){return l(function(e,t){return ce(Math.max(0,e.length-t.length),function(){return e.apply(this,n(t,arguments))})})}var Li=dr(le),Ni=dr(gt(le)),qi=or([ut,Ee]),Bi=m(function(e,t,r){return N(mt(e,r),t)}),Ti=m(function(e,t,r){return e(mt(t,r))}),pr=l(function(e,t){for(var r={},a=0,i=e.length;a<i;){var s=e[a];r[s]=t[s],a+=1}return r}),Oi=l(function(e,t){var r={};for(var a in t)e(t[a],a,t)&&(r[a]=t[a]);return r});function Ki(){if(arguments.length===0)throw new Error("pipeK requires at least one argument");return Ht.apply(this,Pe(arguments))}var Mi=U(Re,1),fr=l(function(e,t){return ee(t.length,function(){for(var r=[],a=0;a<t.length;)r.push(t[a].call(this,arguments[a])),a+=1;return e.apply(this,r.concat(Array.prototype.slice.call(arguments,t.length)))})}),Pi=fr(vn,[pr,ft]),Fi=m(function(e,t,r){return Z(e,r[t])}),Qi=m(function(e,t,r){return e(r[t])}),hr=m(function(e,t,r){for(var a=r.length-1;a>=0;)t=e(r[a],t),a-=1;return t}),Vi=xn(4,[],function(e,t,r,a){return $(function(i,s){return e(i,s)?t(i,s):vt(i)},r,a)}),_i=y(vt),Ji=l(function(e,t){return Qe(qe(e),t)}),Gi=m(function(e,t,r){return r.replace(e,t)}),zi=m(function(e,t,r){for(var a=0,i=r.length,s=[t];a<i;)t=e(t,r[a]),s[a+1]=t,a+=1;return s}),mr=l(function(e,t){return typeof t.sequence=="function"?t.sequence(e):hr(function(r,a){return Ot(L(Xt,r),a)},e([]),t)}),Xi=l(function(e,t){return Array.prototype.slice.call(t,0).sort(e)}),Zi=l(function(e,t){return Array.prototype.slice.call(t,0).sort(function(r,a){var i=e(r),s=e(a);return i<s?-1:i>s?1:0})}),Hi=l(function(e,t){return Array.prototype.slice.call(t,0).sort(function(r,a){for(var i=0,s=0;i===0&&s<e.length;)i=e[s](r,a),s+=1;return i})}),Yi=l(function(e,t){return[P(0,e,t),P(e,ve(t),t)]}),$i=l(function(e,t){if(e<=0)throw new Error("First argument to splitEvery must be a positive integer");for(var r=[],a=0;a<t.length;)r.push(P(a,a+=e,t));return r}),es=l(function(e,t){for(var r=0,a=t.length,i=[];r<a&&!e(t[r]);)i.push(t[r]),r+=1;return[i,Array.prototype.slice.call(t,r)]}),ts=l(function(n,e){return N(_t(n.length,e),n)}),rs=m(function(e,t,r){return De(it(e,t,r),it(e,r,t))}),ns=l(function(e,t){for(var r=t.length-1;r>=0&&e(t[r]);)r-=1;return P(r+1,1/0,t)}),as=(function(){function n(e,t){this.xf=t,this.f=e}return n.prototype["@@transducer/init"]=E.init,n.prototype["@@transducer/result"]=E.result,n.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):vt(e)},n})(),is=l(function(e,t){return new as(e,t)}),ss=l(B(["takeWhile"],is,function(e,t){for(var r=0,a=t.length;r<a&&e(t[r]);)r+=1;return P(0,r,t)})),os=(function(){function n(e,t){this.xf=t,this.f=e}return n.prototype["@@transducer/init"]=E.init,n.prototype["@@transducer/result"]=E.result,n.prototype["@@transducer/step"]=function(e,t){return this.f(t),this.xf["@@transducer/step"](e,t)},n})(),ls=l(function(e,t){return new os(e,t)}),cs=l(B([],ls,function(e,t){return e(t),t})),us=l(function(e,t){return ur("andThen",t),t.then(e)}),ds=y(function(e){var t=[];for(var r in e)t[t.length]=[r,e[r]];return t}),ps=zt(0,"toUpperCase"),fs=ee(4,function(e,t,r,a){return $(e(typeof t=="function"?yn(t):t),r,a)}),hs=m(function(e,t,r){return typeof r["fantasy-land/traverse"]=="function"?r["fantasy-land/traverse"](t,e):mr(e,L(t,r))}),ms=l(function(e,t){return ce(e.length,function(){try{return e.apply(this,arguments)}catch(r){return t.apply(this,le([r],arguments))}})}),gs=y(function(e){return function(){return e(Array.prototype.slice.call(arguments,0))}}),vs=y(function(e){return Ve(1,e)}),ys=l(function(e,t){return ee(e,function(){for(var r=1,a=t,i=0,s;r<=e&&typeof a=="function";)s=r===e?arguments.length:i+a.length,a=a.apply(this,Array.prototype.slice.call(arguments,i,s)),r+=1,i=s;return a})}),bs=l(function(e,t){for(var r=e(t),a=[];r&&r.length;)a[a.length]=r[0],r=e(r[1]);return a}),xs=l(ke(Y,le)),gr=l(function(e,t){for(var r=0,a=t.length,i=[],s;r<a;)s=t[r],nt(e,s,i)||(i[i.length]=s),r+=1;return i}),As=m(function(e,t,r){return gr(e,le(t,r))}),ws=m(function(e,t,r){return e(r)?r:t(r)}),Cs=m(function(e,t,r){for(var a=r;!e(a);)a=t(a);return a}),Ss=y(function(e){var t,r=[];for(t in e)r[r.length]=e[t];return r}),Is=function(n){return{value:n,"fantasy-land/map":function(){return this}}},Ds=l(function(e,t){return e(Is)(t).value}),vr=l(function(e,t){for(var r in e)if(X(r,e)&&!e[r](t[r]))return!1;return!0}),Es=l(function(e,t){return vr(L(N,e),t)}),Ws=l(function(e,t){return!!(!e^!t)}),ks=l(function(e,t){for(var r=0,a=e.length,i,s=t.length,c=[];r<a;){for(i=0;i<s;)c[c.length]=[e[r],t[i]],i+=1;r+=1}return c}),st=l(function(e,t){for(var r=0,a=Math.min(e.length,t.length),i={};r<a;)i[e[r]]=t[r],r+=1;return i}),js=m(function(e,t,r){for(var a=[],i=0,s=Math.min(t.length,r.length);i<s;)a[i]=e(t[i],r[i]),i+=1;return a}),Rs=y(function(e){return ee(e.length,function(){var r=arguments;return function(){return e.apply(this,r)}})});const Us=Object.freeze(Object.defineProperty({__proto__:null,F:la,T:Yr,__:$r,add:me,addIndex:lt,adjust:on,all:Tt,allPass:dn,always:qe,and:Tr,andThen:us,any:fn,anyPass:hn,ap:Ot,aperture:pa,append:We,apply:Zt,applySpec:fa,applyTo:ha,ascend:ma,assoc:R,assocPath:An,binary:ga,bind:bn,both:ln,call:va,chain:Ft,clamp:ya,clone:ba,comparator:xa,complement:Or,compose:ke,composeK:Ht,composeP:wa,composeWith:Ca,concat:De,cond:Dn,construct:Sa,constructN:er,contains:Ia,converge:qt,countBy:Da,curry:pt,curryN:ee,dec:en,defaultTo:Jr,descend:Ea,difference:Ut,differenceWith:it,dissoc:dt,dissocPath:Wa,divide:Sn,drop:rr,dropLast:Wn,dropLastWhile:Na,dropRepeats:Ba,dropRepeatsWith:ar,dropWhile:Ka,either:kn,empty:Gr,endsWith:Ma,eqBy:Pa,eqProps:Fa,equals:N,evolve:jn,filter:ut,find:rt,findIndex:Ar,findLast:_a,findLastIndex:za,flatten:Gt,flip:gt,forEach:In,forEachObjIndexed:Xa,fromPairs:tn,groupBy:Dt,groupWith:Za,gt:Rn,gte:Un,has:ae,hasIn:Ha,hasPath:Lr,head:Qt,identical:Ya,identity:ft,ifElse:Ln,inc:cn,includes:Et,indexBy:jt,indexOf:Nn,init:pn,innerJoin:On,insert:qn,insertAll:$a,intersection:ei,intersperse:Kn,into:ii,invert:si,invertObj:oi,invoker:zt,is:Z,isEmpty:Ie,isNil:H,join:Qn,juxt:or,keys:ue,keysIn:li,last:Jt,lastIndexOf:ci,length:ve,lens:Vn,lensIndex:un,lensPath:wn,lensProp:Jn,lift:mn,liftN:gn,lt:Gn,lte:zn,map:L,mapAccum:ui,mapAccumRight:di,mapObjIndexed:pi,match:Xn,mathMod:fi,max:Pt,maxBy:hi,mean:cr,median:mi,memoizeWith:gi,merge:vi,mergeAll:yi,mergeDeepLeft:bi,mergeDeepRight:xi,mergeDeepWith:Ai,mergeDeepWithKey:_e,mergeLeft:wi,mergeRight:Mn,mergeWith:Ci,mergeWithKey:yt,min:Zn,minBy:Si,modulo:Ii,move:Bn,multiply:Re,nAry:Ve,negate:Di,none:Ei,not:Nt,nth:Vt,nthArg:Wi,o:ki,objOf:sr,of:Hn,omit:Yn,once:ji,or:$n,otherwise:Ri,over:_n,pair:Ui,partial:Li,partialRight:Ni,partition:qi,path:mt,pathEq:Bi,pathOr:ye,pathSatisfies:Ti,paths:En,pick:ea,pickAll:pr,pickBy:Oi,pipe:W,pipeK:Ki,pipeP:Yt,pipeWith:$t,pluck:oe,prepend:Xt,product:Mi,project:Pi,prop:u,propEq:ta,propIs:Fi,propOr:z,propSatisfies:Qi,props:ra,range:rn,reduce:U,reduceBy:kt,reduceRight:hr,reduceWhile:Vi,reduced:_i,reject:Ee,remove:tr,repeat:Ji,replace:Gi,reverse:Pe,scan:zi,sequence:mr,set:Pn,slice:P,sort:Xi,sortBy:Zi,sortWith:Hi,split:nn,splitAt:Yi,splitEvery:$i,splitWhen:es,startsWith:ts,subtract:ie,sum:lr,symmetricDifference:Er,symmetricDifferenceWith:rs,tail:ct,take:_t,takeLast:ir,takeLastWhile:ns,takeWhile:ss,tap:cs,test:na,thunkify:Rs,times:Qe,toLower:Ur,toPairs:aa,toPairsIn:ds,toString:Fr,toUpper:ps,transduce:fs,transpose:an,traverse:hs,trim:Tn,tryCatch:ms,type:Zr,unapply:gs,unary:vs,uncurryN:ys,unfold:bs,union:xs,unionWith:As,uniq:Y,uniqBy:Br,uniqWith:gr,unless:ws,unnest:Cn,until:Cs,update:Bt,useWith:fr,values:ge,valuesIn:Ss,view:Ds,when:sa,where:vr,whereEq:Es,without:ia,xor:Ws,xprod:ks,zip:sn,zipObj:st,zipWith:js},Symbol.toStringTag,{value:"Module"}));function Ls(n){return Be("MuiDialogActions",n)}Te("MuiDialogActions",["root","spacing"]);const Ns=["className","disableSpacing"],qs=n=>{const{classes:e,disableSpacing:t}=n;return Ke({root:["root",!t&&"spacing"]},Ls,e)},Bs=Me("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(n,e)=>{const{ownerState:t}=n;return[e.root,!t.disableSpacing&&e.spacing]}})(({ownerState:n})=>M({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!n.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),Ts=A.forwardRef(function(e,t){const r=Ue({props:e,name:"MuiDialogActions"}),{className:a,disableSpacing:i=!1}=r,s=Le(r,Ns),c=M({},r,{disableSpacing:i}),f=qs(c);return o.jsx(Bs,M({className:Oe(f.root,a),ownerState:c,ref:t},s))});function Os(n){return Be("MuiDialogContent",n)}Te("MuiDialogContent",["root","dividers"]);function Ks(n){return Be("MuiDialogTitle",n)}const Ms=Te("MuiDialogTitle",["root"]),Ps=["className","dividers"],Fs=n=>{const{classes:e,dividers:t}=n;return Ke({root:["root",t&&"dividers"]},Os,e)},Qs=Me("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(n,e)=>{const{ownerState:t}=n;return[e.root,t.dividers&&e.dividers]}})(({theme:n,ownerState:e})=>M({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},e.dividers?{padding:"16px 24px",borderTop:`1px solid ${(n.vars||n).palette.divider}`,borderBottom:`1px solid ${(n.vars||n).palette.divider}`}:{[`.${Ms.root} + &`]:{paddingTop:0}})),Vs=A.forwardRef(function(e,t){const r=Ue({props:e,name:"MuiDialogContent"}),{className:a,dividers:i=!1}=r,s=Le(r,Ps),c=M({},r,{dividers:i}),f=Fs(c);return o.jsx(Qs,M({className:Oe(f.root,a),ownerState:c,ref:t},s))});function _s(n){return Be("MuiDialogContentText",n)}Te("MuiDialogContentText",["root"]);const Js=["children","className"],Gs=n=>{const{classes:e}=n,r=Ke({root:["root"]},_s,e);return M({},e,r)},zs=Me(_,{shouldForwardProp:n=>_r(n)||n==="classes",name:"MuiDialogContentText",slot:"Root",overridesResolver:(n,e)=>e.root})({}),Xs=A.forwardRef(function(e,t){const r=Ue({props:e,name:"MuiDialogContentText"}),{className:a}=r,i=Le(r,Js),s=Gs(i);return o.jsx(zs,M({component:"p",variant:"body1",color:"text.secondary",ref:t,ownerState:i,className:Oe(s.root,a)},r,{classes:s}))}),Zs=["className","id"],Hs=n=>{const{classes:e}=n;return Ke({root:["root"]},Ks,e)},Ys=Me(_,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(n,e)=>e.root})({padding:"16px 24px",flex:"0 0 auto"}),$s=A.forwardRef(function(e,t){const r=Ue({props:e,name:"MuiDialogTitle"}),{className:a,id:i}=r,s=Le(r,Zs),c=r,f=Hs(c),{titleId:h=i}=A.useContext(Qr);return o.jsx(Ys,M({component:"h2",className:Oe(f.root,a),ownerState:c,ref:t,variant:"h6",id:i??h},s))}),eo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG4AAACJCAIAAABCeJqWAAAEMUlEQVR4Ae3dPY+bMBgH8Fvybe5bZMoXytItn6AbU5lyE0gdMoWJqYluyGZ1yUaHm05yOxytepeqQrIgckj8+MFv+VsMQGxjfn7BcAn3MFsUWFgEHmaLYr6sV2uBhSwwX9azRfGfcrUWJwQLgdVagNLCr5cUlD0Mu1VQ2vn1UoOyh2G3Cko7v15qUPYw7FZBaefXSw3KHobdKijt/HqpQdnDsFsFpZ1fLzUoexh2q1aU7y/PSS4fr98JqnTKj18/3taPSS5/vn0CJU/VgpLH8W39CEpQhjfgolWiVaJVYjJ0NmHCvFIzLGCs1KDQ7iCcU/7++ff4Ncnl/eX5rPPesknv4LfkfldxQMlW3aAEJZsAW0auW6WUUgQfmqYhALumFEJ8Dj5UVQVKnlqKjDLP821goSzLrioio6QVl9Dvbk/SNA0ob+caiwnKMR2jz0BpxDUWOVbKLMvy8EKUYyXPtGWaXGiXREzRNbURB2XbtjL40Lbt2Jh64TPXrfJCMVLYDUq2WgQlKNkE2DIKulUej8fKRxCC8svZoCl3u51mqjL9rjgmQ0bdCZRGXGORFeVms3HwV4y6rrsWn3Kr3O12Y+RMn0X2OMPorFWrBKWRmyYyKDUotF2gpLlpUinK6ec/gyOkfNkZnOj0G6BkM06QUtPnA94V9I1jwG6aooFSg0LbBUqamyYVKDUotF1BUwohSh+Bdp8aNCWm6LT+oUkFSg0KbZei3G63zfThcDh0s/wEp+iKkjZ4mdYfnleail2MD8qLNKYf3AVlVVXTD5XNXYyVbM98bsso5cvObQJssRKkFEIUPsLhcDAdZ0+nU9B3O4Tz8ZgElGz4oAQlmwBbRmiV0VLiR8xsVQdKUF4XcD1WqlZJu6O4fkIWMSJ7nAFKi7oeJgXl0MNiC5QWeMOkirIsSwdfLzc6xH6/7x4u0cZxb5cdtidiE2QESjbUOCibpgnslTia4iT4a7LhMBv6luuxMnQPi/KB0gJvmBSUQw+LLSvK4F+CQSyg63dnSCnZZh+BZeR6MgTKs8GA3sEVZZZlX5IIWZZ13cNbqyyK4qx+It309rxStUpQdk2HoYODEpTn45D/Dp5lmY832PAfc7PZeL7sBDYpZCiOtys4Q9kDy8I1Zdu2Ro/7I4ocx9v6z4f6hLbpk6GEEHhOBZQ8jvgCNZujB0r8kxi22lNfKQhs/jMojuvJEE0XlDQ3TSpFiX8So9Ex2qUoaZ3I6Fimkb09zjAtaBcflDQ3TSpQalBou0BJc9OkUpR5nvt4783YMZ+enro5EW0cd33jqCgHE7nANkDJViFxUEopHby6wfIQUkrN2HRtl+sOfq08EX8OSrbKAyUo2QTYMkKrBCWbAFtGaJWgZBNgywitEpRsAmwZoVWCkk2ALSO0ygko58t6tRZYyALzZT1bFA+zRYGFReAfqhQA2zKS9CAAAAAASUVORK5CYII=",to="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG4AAACJCAIAAABCeJqWAAAEEElEQVR4Ae3dv2rbQBwH8Cx+m7yFJz9H3sFLN+8t3TTVELAnGTp4srKoSw0JGDIcXQwJqIPJ0HCtS9zQRKUYxCGO6PS7n+5O5++hQVLuTvLnfvdHjuOcDUYpNhaBs8EoHY7zyUxgIwsMx/lglP6nnMxEiWQhMJkJUFr4KUVBqWDY7YLSzk8pDUoFw24XlHZ+SmlQKhh2u6C081NKg1LBsNsFpZ2fUhqUCobdLijt/JTSoFQw7HatKF9211Furz++EVTplK+/vj/NzqPcnr++AyVP04KSx/Fpdg5KUIY34CIqEZWISiyGagsmrCs1wwLGSg0K7QnCOeWfn3+3n6PcXnbXtc5rckjv4Ca1n1QeULI1NyhBySbAVpHrqLzb7S+v7gLfvtw+EIBdU15mdywfY+y0kosPN6Dk+cAtKHkcB6MUlKAM72PwiEpEJaKSsFwoyxKLIZqbphQoNSi0U6CkuWlKPe6f73e/A98e98+aW2865frBsel+evxzULI1HihBySbAVlHQUbndbjMfSQjKX84GTblerz/6SFmWEWIVlJq2iplyuVyK7lOe50fXmCnX6zWhx7UtUhQFKNui6fODUu9COAtKApq+yElQambZLk/FPO106aapG5QaFNqpCCn1Q1qoZ4N+2gkVTX9foNS7EM6CkoCmLwJKvQvhbNCUQoiFj0R75A+aEu9XEjqHvggo9S6EsxXlarUquk+bzea4pI9wiV5R0gavto13Em9ngLJtWNTzIyrrIuTjijLLsu6HyuIkxkraGzzkUjFPO2QUWsEIKYUQqY+02WwIg1LQTzuE1+OxCCjZ8EEJSjYBtooQlb2lxF9IsDUdKEHZLOB6rERUNreJYQ5QGkI1ZwNls5FhDlAaQjVnA2WzkWEOUBpCNWcDZbORYY789uHi/U3g2+XVveHLUbO5Xleq145sH5RsDQpKULIJsFVkFZUy0nQ4HAjAdEopJe1Xo+GXcv3LW1DWIpchKpMk+RRFSpLk2GO8RWWaprX26emhtw8FVh0clMfQYejgoARlfRzy38GTJPHxDTb811wul56nnfDXiW3v0NsM3vZGw8/vmvJwOHT/fTV+rlAURX0cNTimz+AGlZ9WFlCytTcoQckmwFaR66iUUvqZStpctR/TjhACiyGejgBKHseyLCvK6XS6CiwtFotjj3G9RKfpVpS026Vd1LCUt7czDO+vlg2UNRD6ISjpdrWSoKyB0A8ryul06uN7b9665nw+7+W0E/LqkjYlun7aqaISlPSufSwppXTw1Q2Wl5BSEl6n66gk3GJfioCSraVACUo2AbaKEJWgZBNgqwhRCUo2AbaKEJWgZBNgqwhRCUo2AbaKEJUdUA7H+WQmsJEFhuN8MErPBuH96/ie3tI/t0x8FMP3CcUAAAAASUVORK5CYII=",ro="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG4AAACJCAIAAABCeJqWAAAD4klEQVR4Ae3cMWvbQBQH8Cz+NvkW7uLP4e/gDt28N5Qummow2JMMKXiqvahLhnjKIAqlYINaMBkarnWJa5qoBIEtgvLi9+7pdFL+xw2q7t31/Ltn+SQcn7Q6IaqKwEmrE7Z7UX8Uo4oF2r2o1QkfKPujOEWxEOiPYlBa+OW6gjKHYXcISju/XG9Q5jDsDkFp55frDcocht0hKO38cr1BmcOwOwSlnV+uNyhzGHaHoLTzy/UGZQ7D7tCK8m592ch6//OLQFVOef/7++3otJF1d/EGlDpLC0odx9vRKShB6d8FF1mJrERWYjP0aMOEfWXBZQHXygIU2R2Ec8q/v/59O29kvVtfPnrzHvNP+Rv8mNFfVAwo1ZYblKBUE1AbyHVWLteb4Xzpef18dS0Adk05nC1VvsZY6iDdswUodb5wC0odx1YnBCUo/fsaPLISWYmsFGwX0jTFZkjmVtALlAUoslOglLkV9LrZ7FbrP57Xm82uYOrPnXJ94/jcfGrcDkq1xQMlKNUE1AbyOis/Xvzoni3c1+F8JQD2mjKbXKmPJgsHr8c9OGu1QcniooJBSemw2kDJ4qKCQUnpsNpAyeKigkFJ6bDaQMniooJBSemw2kDJ4mpOcLbw+MkmhRUFpQJiNgQoQakmoDaQ11k5nK9evY7cV9kv/XlNmU2u8JFiqSfxvPKFfWeIdWVCVrK4qGBQUjqsNlCyuKhgUFI6rDZQsrioYFBSOqw2ULK4qODhbNnuRe7r+/Ov1LSeaMsWHg/ZnuDhnAYlR4uMBSXJw2kEJUeLjAUlycNpdE2Jv5DgrA4ZC0qSh9MISo4WGQtKkofTCEqOFhkLSpKH0whKjhYZC0qSh9MISo4WGQtKkofTGF1dd98uPK8N/GsyzhpVH+v6Hrz6V1zaDECpRgtKPyhNQ8t2uxUAy7PSGPOuoWU2m4FSZ20rowyC4EMjShAE2VJURhmGoeDt4GGXJElAqbMuoNRxTNMUlA2iDIJg1ogynU4rvlbqbEB8GqWyT3CfEHTm4ppyu93GDS1JkgguwPIbR8F/1uwuoFRbX1CCUk1AbSDXWWmM8f+zqh4fO3Ec62xYyhzF9WZI9sYApcytoNeecjAYfPKsTCaTLNdrlpWy6RYsjt6pyp4MyV7CPitBKQM89ALlwcLyCJSWgIfue8rBYDDxrIzH41p+7JS5L7QdW3Ydd323s89K25dbZv96UBpjEu+LMeZwSTr6yHVWHj2x+gWCUm3NQAlKNQG1gZCVoFQTUBsIWQlKNQG1gZCVoFQTUBsIWQlKNQG1gZCVJVC2e1F/FKOKBdq9qNUJH34pEFVF4D/hsYhLBy7VNQAAAABJRU5ErkJggg==",no="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG4AAACJCAIAAABCeJqWAAAD/klEQVR4Ae3dP2vbQBgG8Cz+NvkWnvw58h28dPPe0k1Th4AzqZDBU5RFXWpowJDhNoMLImC8ORjilDQqxSAu1qskeu716Xx5xA3ySe/58rtX/yzHOukNUhYVgZPeIO0P89HYsMAC/WHeG6T/KUdjU3JyEBiNDSkd/KxQUloYbrOkdPOzoklpYbjNktLNz4ompYXhNktKNz8rmpQWhtssKd38rGhSWhhus6R087OiSWlhuM06URaRTqvVClDFKdfr9ddIpyzLSKkztp1RJkmSRjFdXFzshqIzyjRNgc0hwJCiKEipMy6k1HEsy5KUEVEmSZJFMU0mk473lTonICG10tkRPCQEnb74ptxutybSqSgKYAeMXzgCbxZ3CCnVxpeUpFQTUGvId1Y+b+6e5peBl7/LXwCwb8qn+eXD+DTw8ufnJ1LqDBIpdRwfxqekJGV4u05mJbOSWQmcLpRlyZMhzE2IIqWAglWREnMTop4f7583d6GXx3uh629V+b5wfKs/R7yclGqDR0pSqgmoNRR0Vs7n805usBuD/Ods0JTT6VTnbmzLVnzfvFXbMJobImWzTcslFeVkMvFwyz3P8136xpyV0+m05Sggq3f2TTaksy1jqqwkZUu52uqkrJGgFaRE5WpxFWXLkxnX1WM+7LjatIwnZUuw5tUjpKxt8UFXBH3hGLRcrXOkrJGgFaRE5WpxpKyRoBVBUxpjvncxYdepQVPyFB3dQmpxpKyRoBUV5dXVlYfflpjNZrvT9ghP0StKbOfVdgT5eWVbscb1SdlI03bBh6DMsoz7yraZ8WL9al/Z/CHOQZbEfNg5CFhzoxFSGmM6+dWd2Wz2Yut434ugr3be9yeEshYp1UaClKRUE1BriFl5tJTn2ULlWSwHbeTsyw0A7DsrSQkMkhxCStkFqCUlgCaHkFJ2AWpJCaDJIaSUXYBaUgJocggpZReglpQAmhyS367OPt8EXs6vf8u9f7XW99XOq5057oWkVBs/UpJSTUCtIaesXEc6bbdbABin5ENi9rhJKdwO930fvMrKJEm+RTElSbJz7YySD4nZbekKGzgpSbl32OBDYvZB8Nedfb/SPux08hM26m/Kh8QIZzOOVZ0dwR37HWC4b0o+JGZvr4yfDO01xJekVMsBUpJSTUCtId9ZuVhuzq8XgZcft34fao2NJm/eYm5CFCkFFKyKlJibEEVKAQWrIiXmJkSRUkDBqkiJuQlRpBRQsCpSYm5CFCkFFKxqsdzkt6vAy2K5Af4639fgQBePJYSUaiNFSlKqCag1xKwkpZqAWkPMSlKqCag1xKwkpZqAWkPMSlKqCag1xKw8AGV/mI/GhgUW6A/z3iA9OegvIH2oxv8BrKHQ/zYsUVYAAAAASUVORK5CYII=",ao=lt(L),bt=({selectionModes:n,selectionMode:e,setSelectionMode:t,classes:r})=>o.jsx(se,{sx:{overflowX:"auto",overflowY:"hidden",whiteSpace:"nowrap",display:"block",width:"100%",maxWidth:"100%","&::-webkit-scrollbar":{display:"none"},scrollbarWidth:"none"},children:ao(({value:a,label:i,img:s})=>o.jsx(tt,{classes:{tooltip:r.tooltip},title:o.jsx("img",{style:{width:"72px",height:"90px"},src:s,alt:a}),tabIndex:-1,children:o.jsx(q,{className:G(r.selectButton,r.selectButtonNarrow),selected:a===e,onClick:()=>{t(a)},"aria-pressed":a===e,"aria-label":i,tabIndex:0,sx:{flex:"0 0 auto",scrollSnapAlign:"center",minWidth:40,whiteSpace:"wrap"},children:o.jsxs(ot,{elevation:0,className:r.selectModeItem,children:[o.jsx(_,{children:i}),!H(s)&&Z(String,s)&&o.jsx("img",{src:s,alt:a})]},a)})},a),n)});bt.propTypes={selectionModes:d.arrayOf(d.shape({value:d.string.isRequired,label:d.string.isRequired,img:d.string})).isRequired,selectionMode:d.string.isRequired,setSelectionMode:d.func.isRequired,classes:d.object.isRequired};bt.__docgenInfo={description:"",methods:[],displayName:"ButtonCarousel",props:{selectionModes:{description:"",type:{name:"arrayOf",value:{name:"shape",value:{value:{name:"string",required:!0},label:{name:"string",required:!0},img:{name:"string",required:!1}}}},required:!0},selectionMode:{description:"",type:{name:"string"},required:!0},setSelectionMode:{description:"",type:{name:"func"},required:!0},classes:{description:"",type:{name:"object"},required:!0}}};const io=Ne(n=>({header:{color:"black",display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"},headerLabel:{fontSize:"16px",fontFamily:"PT Sans Narrow",fontWeight:"700",color:n.palette.grey[700]},selectionTitle:{fontSize:"12px",fontFamily:"'Helvetica Neue', Helvetica, Arial, sans-serif",fontWeight:"500",color:n.palette.grey.A700},closeButton:{color:"grey !important",padding:0},selectMode:{marginLeft:10,"& .MuiInputBase-root":{height:32}},narrowTop:{flexDirection:"column",alignItems:"flex-start"},spotlight:{width:"45%"},selection:{display:"flex",alignItems:"center"},narrowSpotlight:{width:"100%"},selectionButton:{marginLeft:24,marginRight:15,height:32},narrowSelectionButton:{height:32,marginTop:15,marginRight:10},selectionMenu:{padding:24},narrowSelectionMenu:{width:"100%"},selectModeContainer:{display:"flex",flexDirection:"column",flexWrap:"wrap",alignItems:"flex-start"},selectButtonNarrow:{width:160,height:50,border:`1px solid ${n.palette.primary.light}`,margin:5},selectButton:{color:n.palette.primary.main,"&:hover":{color:n.palette.primary.main,backgroundColor:n.palette.action.hover}},selectModeItem:{boxShadow:"none",display:"flex",backgroundColor:"transparent",flexDirection:"row-reverse",alignItems:"center","& p":{paddingLeft:"5px",fontSize:"12px",fontFamily:"'Helvetica Neue', Helvetica, Arial, sans-serif",color:n.palette.primary.main,fontWeight:"500",lineHeight:1.43,textAlign:"left"},"& img":{width:21,height:30}},hint:{display:"flex",flexDirection:"row",alignItems:"center",marginRight:7,color:n.palette.primary.main},divider:{backgroundColor:n.palette.primary.light},actions:{justifyContent:"flex-end"},ellipsis:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},tooltip:{backgroundColor:n.palette.action.hover},subheader:{display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"space-between"},narrowHeader:{alignItems:"flex-start",width:"100%"},topElements:{display:"flex",flexDirection:"row",justifyContent:"space-between"}})),xt=n=>{const{id:e,items:t,labelRenderer:r,isNarrow:a,labels:i,disableAccessor:s=qe(!1),expandAll:c,collapseAll:f,selection:h,setSelection:g,allSelection:w,setAllSelection:I,spotlight:T,setSpotlight:de,expandedIds:D,allItems:te,filter:J,...O}=n,[K,pe]=A.useState("single"),b=io(),Je=(p,x)=>{const v=oe("id",p),S=W(Y,ve)(v);return Z(Function,x)?x(S):S},be=L(p=>{const x=z([],e,w);return{...p,isSelected:Et(p.id,x)?!p.isSelected:!!p.isSelected}},t),Ge=jt(et,be),xe=[{value:"single",label:u("singleSelection",i),img:eo},{value:"children",label:u("childrenSelection",i),img:to},{value:"branch",label:u("branchSelection",i),img:ro},{value:"level",label:u("levelSelection",i),img:no}],ze=W(L(p=>({...p,isSelected:ae(p.id,h)?!p.isSelected:!!p.isSelected})),Dt(z("#ROOT","parentId")))(te),fe=wr(ze,s,(p,x)=>!ae(et(p),Ge)||K==="single"||K==="level"?!1:K==="children"?p.parentId===et(x):!0),Xe=p=>Z(Function,s)?s(p):!1,Ze=u(K,Cr),He=p=>{const x=U((v,S)=>ae(S,v)?dt(S,v):R(S,S,v),h,p);g(x),I({...w,[e]:ge(x)})},Ae=p=>fe(p),we=p=>z(!1,"isSelected")(p),Ye=()=>{const p=U((k,j)=>Y(De(z([],"imposedIds",j),k)),[])(t),x=oe("id",Ee(we,Ee(Ae,t))),v=De(p,x),S=U((k,j)=>ae(j,k)?k:R(j,j,k),{},v);g(S),I({...w,[e]:ge(S)})},he=()=>{const p=W(ut(we),oe("id"))(t),x=Ut(p,h),v=U((S,k)=>ae(k,S)?S:R(k,k,S),{},x);g(v),I({...w,[e]:ge(v)})},$e=lt(L);return o.jsxs(Q,{container:!0,children:[o.jsxs(Q,{item:!0,container:!0,xs:12,className:G(b.topElements,{[b.narrowTop]:a}),children:[a&&o.jsx(Q,{item:!0,container:!0,xs:12,children:o.jsx("div",{className:G(b.selectModeContainer,{[b.narrowHeader]:a}),children:o.jsx(bt,{selectionModes:xe,selectionMode:K,setSelectionMode:pe,classes:b,isNarrow:a})})}),o.jsx("div",{className:b.spotlight,children:o.jsx(Ir,{hasClearAll:!0,placeholder:Je(t,u("placeholder",i)),term:T.term,hasCommit:!1,spotlight:{fields:{}},action:de,labels:i})})]}),o.jsxs(Q,{item:!0,xs:a?12:8,children:[o.jsxs("div",{style:{display:"flex",flexDirection:"row"},children:[o.jsxs("div",{children:[o.jsx(q,{onClick:f,color:"primary",children:u("colapseAll",i)}),o.jsx(q,{style:{marginLeft:10},onClick:c,color:"primary",children:u("expandAll",i)})]}),o.jsxs("div",{children:[o.jsx(q,{onClick:Ye,color:"primary",children:u("selectAll",i)}),o.jsx(q,{style:{marginLeft:10},onClick:he,color:"primary",children:u("deselectAll",i)})]})]}),o.jsx(Nr,{className:b.divider}),o.jsx(Sr,{...O,disableAccessor:fe,isGreyed:Xe,labels:i,labelRenderer:r,items:be,changeSelection:(p,x)=>He(p),withExpandControl:!0,treeHeight:a?0:450,scopeGetter:Ze,expandedIds:D})]}),!a&&o.jsx(Q,{item:!0,container:!0,xs:4,children:o.jsxs("div",{className:G(b.selectModeContainer),children:[o.jsxs("div",{className:b.hint,children:[o.jsx(tt,{role:"tooltip",variant:"light",title:o.jsx(_,{variant:"body2",children:u("hint",i)}),"aria-label":u("hint",i),tabIndex:0,children:o.jsx(V,{children:o.jsx(qr,{})})}),o.jsx(_,{className:b.selectionTitle,"aria-label":u("selectionMode",i),tabIndex:0,children:u("selectionMode",i)})]}),o.jsx("div",{className:G(b.selectModeContainer,b.selectionMenu),children:$e(({value:p,label:x,img:v})=>o.jsx(tt,{classes:{tooltip:b.tooltip},title:o.jsx("img",{style:{width:"72px",height:"90px"},src:v,alt:p}),tabIndex:-1,children:o.jsx(q,{className:b.selectButton,selected:p===K,onClick:()=>{pe(p)},"aria-pressed":p===K,"aria-label":x,tabIndex:0,children:o.jsxs(ot,{elevation:0,className:b.selectModeItem,children:[o.jsx(_,{children:x}),!H(v)&&Z(String,v)&&o.jsx("img",{src:v,alt:p})]},p)})},p),xe)})]})})]})};xt.propTypes={id:d.string,accessibility:d.bool,disableAccessor:d.func,HTMLRenderer:d.func,filter:d.object,selection:d.object,allSelection:d.object,setAllSelection:d.func,setSelection:d.func,isRtl:d.bool,isNarrow:d.bool,items:d.array,labels:d.shape({placeholder:d.oneOfType([d.string,d.func]),disableItemLabel:d.string,singleSelection:d.string,childrenSelection:d.string,branchSelection:d.string,levelSelection:d.string,selectAll:d.string,deselectAll:d.string,apply:d.string,cancel:d.string}),labelRenderer:d.func,expandAll:d.func,collapseAll:d.func,spotlight:d.object,setSpotlight:d.func,expandedIds:d.object,allItems:d.array};const so=Wr(kr(xt));xt.__docgenInfo={description:"",methods:[],displayName:"AdvancedSelection",props:{id:{description:"",type:{name:"string"},required:!1},accessibility:{description:"",type:{name:"bool"},required:!1},disableAccessor:{description:"",type:{name:"func"},required:!1},HTMLRenderer:{description:"",type:{name:"func"},required:!1},filter:{description:"",type:{name:"object"},required:!1},selection:{description:"",type:{name:"object"},required:!1},allSelection:{description:"",type:{name:"object"},required:!1},setAllSelection:{description:"",type:{name:"func"},required:!1},setSelection:{description:"",type:{name:"func"},required:!1},isRtl:{description:"",type:{name:"bool"},required:!1},isNarrow:{description:"",type:{name:"bool"},required:!1},items:{description:"",type:{name:"array"},required:!1},labels:{description:"",type:{name:"shape",value:{placeholder:{name:"union",value:[{name:"string"},{name:"func"}],required:!1},disableItemLabel:{name:"string",required:!1},singleSelection:{name:"string",required:!1},childrenSelection:{name:"string",required:!1},branchSelection:{name:"string",required:!1},levelSelection:{name:"string",required:!1},selectAll:{name:"string",required:!1},deselectAll:{name:"string",required:!1},apply:{name:"string",required:!1},cancel:{name:"string",required:!1}}},required:!1},labelRenderer:{description:"",type:{name:"func"},required:!1},expandAll:{description:"",type:{name:"func"},required:!1},collapseAll:{description:"",type:{name:"func"},required:!1},spotlight:{description:"",type:{name:"object"},required:!1},setSpotlight:{description:"",type:{name:"func"},required:!1},expandedIds:{description:"",type:{name:"object"},required:!1},allItems:{description:"",type:{name:"array"},required:!1}}};const oo=Ne(n=>({title:{...ye({},["mixins","dynamicDrawer","warningPopup","title"],n),textAlign:"center"},content:{...ye({},["mixins","dynamicDrawer","warningPopup","content"],n)}})),yr=({open:n,handleClose:e,handleSubmit:t,labels:r})=>{const a=oo();return o.jsxs(Vr,{fullWidth:!1,maxWidth:"sm",disableScrollLock:!0,open:n,onClose:e,onSubmit:t,"aria-labelledby":u("popupTitle",r),"aria-describedby":u("popupContent",r),children:[o.jsx($s,{id:u("popupTitle",r),className:a.title,children:u("popupTitle",r)}),o.jsx(Vs,{id:u("popupContent",r),className:a.content,children:o.jsx(Xs,{children:u("popupContent",r)})}),o.jsxs(Ts,{children:[o.jsx(q,{onClick:e,"aria-label":u("discard",r),color:"primary",children:u("discard",r)}),o.jsx(q,{onClick:t,"aria-label":u("apply",r),color:"primary",alternative:"siscc",variant:"contained",children:u("apply",r)})]})]})};yr.__docgenInfo={description:"",methods:[],displayName:"WarningPopup"};const br=Ne(n=>({label:{color:n.palette.grey[700],...ye({},["mixins","dynamicDrawer","tab","title"],n)},labelSelected:{color:n.palette.primary.main},tabSelected:{backgroundColor:`${n.palette.action.hover} !important`,"&:hover":{backgroundColor:`${n.palette.action.selected} !important`}},tab:{"&:hover":{backgroundColor:`${n.palette.action.selected}`}},tabPanel:{backgroundColor:n.palette.background.default,position:"absolute",top:"176px",zIndex:1e3,width:"80vw",height:"100vh",left:"200px"}})),xr=(n,e)=>{const t=U((s,c)=>u("isSelected",c)?We(u("id",c),s):s,[],n),r=oe("id",n),a=W(Y,ve)(t),i=W(Y,ve)(r);return Z(Function,e)?e(a,i):`${a}/${i}`},lo=n=>{const{children:e,open:t,item:r,classes:a,labels:i,onClose:s,isNarrow:c,setOpen:f,labelRenderer:h,styles:g={},...w}=n;return o.jsx("div",{role:"tabpanel",hidden:!t,id:`vertical-tabpanel-${u("index",r)}`,"aria-labelledby":`vertical-tab-${u("index",r)}`,className:c?a.tabPanelNarrow:a.tabPanel,style:{width:u("width",g)},...w,children:t&&o.jsxs(se,{sx:{p:3},children:[o.jsxs(se,{display:"flex",justifyContent:c?"space-between":"flex-end",alignItems:"center",children:[c&&o.jsxs(se,{display:"flex",justifyContent:"flex-start",alignItems:"center",children:[o.jsx(V,{onClick:()=>f(!1),"data-testid":"back_button","aria-label":u("back",i),sx:{padding:0,float:"left",justifyContent:"flex-start",minWidth:"24px"},size:"large",edge:"start",children:o.jsx(Dr,{})}),o.jsx(_,{variant:"h6","aria-label":u("title",i)(h(r)),tabIndex:0,sx:{margin:0,padding:0},children:u("title",i)(h(r))})]}),o.jsx(V,{onClick:s,"aria-label":u("cancel",i),sx:{color:"grey !important",minWidth:"24px",padding:0,float:"right"},size:"large",children:o.jsx(Hr,{})})]}),e]})})},co=It.forwardRef(({label:n,selected:e,item:t,tagAccessor:r,tagValueLabel:a,...i},s)=>{const c=u("tag",t),f=H(c)?Lt:c,h=br();return o.jsx(ot,{...i,ref:s,children:o.jsxs(se,{sx:{display:"flex",justifyContent:"space-between",width:"100%"},children:[o.jsx(_,{noWrap:!0,variant:"body2",title:n,className:G(h.label,{[h.labelSelected]:e}),children:n}),H(c)?o.jsx(f,{items:u("values",t),tagValueLabel:a,children:xr(u("values",t),r)}):c]})})}),At=n=>{const e=br(),[t,r]=A.useState(!1),[a,i]=A.useState(!1),[s,c]=A.useState(null),[f,h]=A.useState({}),[g,w]=A.useState({}),{list:I,labelRenderer:T,onClick:de,handleChangePanel:D,onClosePanel:te,isNarrow:J,labels:O,disableAccessor:K=qe(!1),isApplyHiddenNarrow:pe=!1,openTabId:b,expandAll:Je,collapseAll:be,expandedIds:Ge,allItems:xe,periodPanel:ze,classes:wt,testId:fe="tabs",tagAccessor:Xe,tagAriaLabel:Ze,children:He,styles:Ae={},...we}=n;A.useLayoutEffect(()=>{if(!b)return;const C=rt(F=>u("id",F)===b)(I);if(C&&(s!==b||!t)){const F=u("id",C),re=W(z([],F),ne=>st(ne,ne))(g);A.startTransition(()=>{h({...re}),c(F),r(!0)})}},[b,I,g,s,t]);const Ye=(C,F)=>{const re=u("id",F),ne=W(z([],re),Ce=>st(Ce,Ce))(g);h({...ne}),D(re,f,g),c(re),r(!0)},he=()=>{de(g),w({}),h({}),r(!1),c(null),te()},$e=()=>{he(),i(!1)},p=()=>{r(!1),i(!1),w({}),h({}),c(null),te()},x=()=>{!Ie(f)||!Ie(g)||!pe?i(!0):p()},v=A.useMemo(()=>s?rt(C=>u("id",C)===s)(I):{},[s,I]),S=t&&J,k=(!Ie(g)||!pe)&&J,j=t&&!J;return A.useEffect(()=>(j?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[t,J]),o.jsx(zr,{open:t,children:o.jsxs("div",{style:{display:"flex",flexDirection:"row"},children:[j&&o.jsx(se,{onClick:()=>x(),sx:{position:"fixed",top:0,left:0,width:"100vw",height:"100vh",zIndex:990}}),o.jsx(yr,{open:a,handleClose:p,handleSubmit:$e,labels:O}),o.jsxs(jr,{orientation:"vertical",variant:"scrollable",TabIndicatorProps:{style:{transition:"none"}},scrollButtons:j&&"auto",value:!1,onChange:Ye,"aria-label":"filters","data-testid":fe,sx:{display:S?"none":"flex",width:"100%",height:j?u("height",Ae):"100%",borderRight:1,borderColor:"divider",zIndex:1e3},children:[L(C=>{const F=H(u("tag",C))&&xr(u("values",C),Ze);return o.jsx(Rr,{id:u("id",v),"data-testid":`${u("id",C)}-tab`,component:It.forwardRef(function(ne,Ce){return o.jsx(co,{ref:Ce,...ne,label:T(C),selected:s===u("id",C),item:C,tagAccessor:Xe,tagValueLabel:F})}),label:T(C),"aria-label":T(C),value:C,"aria-selected":u("id",v)===u("id",C),className:G(e.tab,{[e.tabSelected]:u("id",v)===u("id",C)}),sx:{alignItems:"start",maxWidth:"100%"},wrapped:!0,disableRipple:!0,disableFocusRipple:!0},u("id",C))})(I),j&&o.jsx(q,{style:{float:"bottom",margin:"10px"},"aria-label":u("apply",O),id:"apply_button",variant:"contained",onClick:he,children:u("apply",O)}),k&&o.jsx(q,{style:{float:"bottom",margin:"10px"},"aria-label":u("apply",O),id:"apply_button",variant:"contained",onClick:he,children:u("apply",O)})]}),o.jsx(lo,{item:v,"data-testid":`${fe}_panel`,open:t,labels:O,classes:wt,onClose:x,isNarrow:J,setOpen:r,labelRenderer:T,styles:Ae,children:N(u("id",v),ze)?He:o.jsx(so,{id:s,items:u("values",v)||[],isOpen:t,labelRenderer:T,disableAccessor:K?W(u("isEnabled"),Nt):void 0,labels:O,isNarrow:J,expandAll:Je,collapseAll:be,expandedIds:Ge,allItems:xe,selection:f,setSelection:h,setAllSelection:w,allSelection:g,...we,filter:v})})]})})};At.__docgenInfo={description:"",methods:[],displayName:"DynamicDrawer"};const uo=Ne(n=>({label:{color:n.palette.grey[700],...ye({},["mixins","dynamicDrawer","tab","title"],n)},labelSelected:{color:n.palette.primary.main},tabSelected:{backgroundColor:`${n.palette.action.hover} !important`,"&:hover":{backgroundColor:`${n.palette.action.selected} !important`}},tab:{"&:hover":{backgroundColor:`${n.palette.action.selected}`}},tabPanel:{backgroundColor:n.palette.background.default,position:"absolute",top:"176px",zIndex:1e3,width:"80vw",height:"100vh",left:"200px"}})),po={label:"tree",id:2,values:[{id:"AUS",label:"AUS-label",hasData:!0,isEnabled:!0,order:4,parentId:void 0},{id:"AUT",label:"AUT-label",hasData:!1,isEnabled:!0,order:5,parentId:void 0},{id:"OECD",label:"OECD-label",hasData:!0,isEnabled:!0,hierarchicalId:"OECD",order:0,parentId:void 0},{id:"EU",label:"EU-label",hasData:!1,isEnabled:!1,hierarchicalId:"EU",order:1,parentId:void 0},{id:"FRA",label:"FRA-label",hasData:!0,isEnabled:!0,order:3,parentId:"EU",hierarchicalId:"EU.FRA",isSelected:!1},{id:"GER",label:"GER-label",hasData:!0,isEnabled:!0,order:6,parentId:"EU",hierarchicalId:"EU.GER"},{id:"GER",label:"GER-label",hasData:!0,isEnabled:!0,order:6,parentId:"OECD",hierarchicalId:"OECD.GER"},{id:"JPN",label:"JPN-label",hasData:!0,isEnabled:!0,order:2,parentId:"OECD",hierarchicalId:"OECD.JPN"},{id:"FRA",label:"FRA-label",hasData:!0,isEnabled:!0,order:3,parentId:"OECD",hierarchicalId:"OECD.FRA",isSelected:!1},{id:"WOR",label:"World",hasData:!1,isEnabled:!1,order:7,parentId:void 0,isSelected:!0},{id:"THW",label:"Third World",hasData:!1,isEnabled:!1,order:7,parentId:"WOR",hierarchicalId:"WOR.THW",isSelected:!1},{id:"POO",label:"Poor Country",hasData:!0,isEnabled:!0,order:7,parentId:"WOR.THW",hierarchicalId:"WOR.THW.POO",isSelected:!0}]},fo={label:"smalllist",id:3,values:[{count:22,id:1,label:"Blue",isSelected:!0,description:"Green is the color of the sky"},{count:2,id:2,label:"Green",isSelected:!0,description:"Green is the color of the tree"},{count:8,id:3,label:"The MuiListItemSecondaryAction name can be used for providing default props or style overrides at the theme level",isSelected:!0,description:`<span><strong>This indicator is based on harmonized definitions used by the ILO in the context of producing global estimates. Data may differ from nationally reported figures. </strong>
|
|
2
|
-
Children refer to persons ages 5-17 years old. For more information, refer to the
|
|
3
|
-
<a href="https://ilostat.ilo.org/resources/concepts-and-definitions/">concepts and definitions</a> page.</span>`},{count:9,id:4,label:"Yellow"},{count:14,id:5,label:"Pink",svgPath:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"},{id:6,label:"Purple"}]},ho=n=>{const e=U((t,r)=>H(r.parentId)?t:We(Qe(a=>({count:Math.floor(Math.random()*100)+1,id:W(Re(1e5),me(a))(r.id),parentId:me(r.id,10),label:`label #${W(Re(1e5),me(a))(r.id)}`}),100))(t),[])(n);return W(We(n),Gt)(e)},mo={label:"largeList",id:5,values:W(Qe(n=>({count:Math.floor(Math.random()*100)+1,id:n,label:`label #${n}`,isEnabled:!0,hasData:!0})),L(n=>n.id<=10?n:n.id<=20?R("parentId",ie(n.id)(10))(n):n.id<=30?R("parentId",ie(n.id)(10))(n):n.id<=40?R("parentId",ie(n.id)(10))(n):n.id<=50?R("parentId",ie(n.id)(10))(n):n.id<=60?R("parentId",ie(n.id)(10))(n):R("parentId",n.id-10)(n)),ho)(100)},go=({html:n,...e})=>o.jsx("span",{dangerouslySetInnerHTML:{__html:n},...e}),vo=[{id:"LOCATION",index:0,values:[{id:"AUS",label:"Australia",order:1,position:0,display:!0,hasData:!0,isEnabled:!0},{id:"BEL",label:"Belgium",order:3,position:2,display:!0,hasData:!0,isEnabled:!0},{id:"COL",label:"Colombia",order:6,position:85,display:!0,hasData:!0,isEnabled:!0},{id:"CZE",label:"Czech Republic",order:8,position:4,display:!0,hasData:!0,isEnabled:!0},{id:"FRA",label:"France",order:12,position:7,display:!0,hasData:!0,isEnabled:!0},{id:"DEU",label:"Germany",order:13,position:8,display:!0,hasData:!0,isEnabled:!0},{id:"MEX",label:"Mexico",order:25,position:17,display:!0,hasData:!0,isEnabled:!0}],display:!0,label:"Country",hasData:!0,isEnabled:!0},{id:"TRANSACT",index:1,values:[{id:"GDP",label:"1--Gross domestic product",order:1,position:0,display:!0,hasData:!1,isEnabled:!1},{id:"B1_GA",label:"Gross domestic product (output approach)",order:1,parentId:"GDP",position:1,display:!0,hasData:!0,isEnabled:!0},{id:"D1",label:"Compensation of employees",order:1,parentId:"B1_GI",position:6,display:!0,hasData:!0,isEnabled:!0},{id:"B1_GE",label:"Gross domestic product (expenditure approach)",order:2,parentId:"GDP",position:3,display:!0,hasData:!0,isEnabled:!0},{id:"B1_GI",label:"Gross domestic product (income approach)",order:3,parentId:"GDP",position:5,display:!0,hasData:!0,isEnabled:!0},{id:"B11",label:"External balance of goods and services",order:4,parentId:"B1_GE",position:7,display:!0,hasData:!0,isEnabled:!0},{id:"D11VA",label:"Agriculture, forestry and fishing (ISIC rev4)",order:7,parentId:"D11",position:88,display:!0,hasData:!0,isEnabled:!0},{id:"D11VB_E",label:"Industry, including energy (ISIC rev4)",order:8,parentId:"D11",position:36,display:!0,hasData:!0,isEnabled:!0},{id:"D11",label:"Wages and salaries",order:17,parentId:"D1",position:12,display:!0,hasData:!0,isEnabled:!0}],display:!0,label:"Transaction",hasData:!0,isEnabled:!0},{id:"MEASURE",index:2,values:[{id:"C",label:"Current prices",order:1,position:0,display:!0,hasData:!0,isEnabled:!0},{id:"CXC",label:"Current prices, current exchange rates",order:5,position:4,display:!0,hasData:!0,isEnabled:!0},{id:"VXCOB",label:"Current prices, constant exchange rates, OECD base year",order:6,position:5,display:!0,hasData:!0,isEnabled:!0},{id:"CPC",label:"Current prices, current PPPs",order:9,position:8,display:!0,hasData:!0,isEnabled:!0}],display:!0,label:"Measure",hasData:!0,isEnabled:!0}],yo={selection:{title:"Bulk selections",currentLevel:"Entire currently displayed list",level:"Entire hierarchy level"},childrenNavigateDesc:"Drill-down to next level",backHelper:"back to this level",disableItemLabel:"Disable"},Jc={title:"Example/DynamicDrawer",component:At,tags:["autodocs"]},bo=()=>{const n=uo(),e=[fo,po,mo,...vo],[t,r]=A.useState(e),[a,i]=A.useState(!1),[s,c]=A.useState(!0),[f,h]=A.useState(!0),[g,w]=A.useState(!1);console.log("R = ",Us);const I=D=>{console.log(D)},T=D=>{console.log(D)},de=(D,te)=>`${D} active against ${te}`;return o.jsx(oa,{children:o.jsxs(Q,{container:!0,spacing:3,children:[o.jsxs(Q,{item:!0,xs:12,children:[o.jsx(V,{size:"small",variant:"text",color:"primary",onClick:()=>r(e),children:"Back to default"})," ",o.jsx(V,{size:"small",variant:"text",color:"primary",onClick:()=>w(!g),children:g?"Normal Screen":"Narrow Screen"})," ",o.jsx(V,{size:"small",variant:a?"contained":"outlined",color:"primary",onClick:()=>i(!a),children:"Accessibility"})," ",o.jsx(V,{size:"small",variant:s?"contained":"outlined",color:"primary",onClick:()=>c(!s),children:"disable Accessor"})," ",o.jsx(V,{size:"small",variant:f?"contained":"outlined",color:"primary",onClick:()=>{h(!s)},children:"Label Renderer"})," "]}),o.jsx(Q,{item:!0,xs:3,style:{border:"1px solid #ccc"},children:o.jsx(At,{list:t,disableAccessor:s,changeSelection:I,handleChangePanel:T,tagAriaLabel:de,accessibility:a,isNarrow:g,tag:o.jsx(Lt,{children:"344/3242"}),classes:n,labels:{title:D=>`Refine the selection of ${D}`,discard:"Discard Changes",apply:"Apply Changes",cancel:"Cancel",colapseAll:"Colapse All",expandAll:"Expand All",selectAll:"Select All",deselectAll:"Deselect All",disableItemLabel:"Disable",placeholder:D=>`${D} items`,singleSelection:"Single item",childrenSelection:"Item and direct children underneath",branchSelection:"Whole branch",levelSelection:"All items on same level",selectionMode:"Selection Mode: ",hint:"Did you already know that you can select several items either by holding the mouse button while selecting neighbored items or by holding the 'Shift' key while selecting the last neighbored item or by holding the 'Ctrl' key while selecting the next individual item(s)?",...yo},labelRenderer:f?u("label"):u("id"),toggleBulk:()=>{console.log("tree advance toggle")},HTMLRenderer:go,onChangeActivePanel:D=>{console.log("onChangeActivePanel",D)}})})]})})},Se={render:n=>o.jsx(bo,{...n})};Se.parameters={...Se.parameters,docs:{...Se.parameters?.docs,source:{originalSource:`{
|
|
4
|
-
render: args => <ControlledDynamicDrawer {...args} />
|
|
5
|
-
}`,...Se.parameters?.docs?.source}}};const Gc=["Controlled"];export{Se as Controlled,Gc as __namedExportsOrder,Jc as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as s}from"./iframe-Bn2bKXnF.js";import{c as o}from"./createSvgIcon-Dj4hOazC.js";const p=o(s.jsx("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess");export{p as E};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./iframe-Bn2bKXnF.js";import{c as r}from"./createSvgIcon-Dj4hOazC.js";const p=r(o.jsx("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");export{p as E};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{E as t}from"./ExpansionPanel-CAOIM0Ci.js";import"./iframe-Bn2bKXnF.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CZNa6F-A.js";import"./makeStyles-C-jh_7fl.js";import"./pathOr-BmjUXfCm.js";import"./_curry3-B7ARCYrl.js";import"./_curry1-DZES3h6F.js";import"./_isString-qgG10cDy.js";import"./path-DwLTp3pU.js";import"./utils-Dp9jL5PI.js";import"./_isObject-6WN73bNV.js";import"./keys-MRUazFsh.js";import"./prop-D5hAeHhE.js";import"./pipe-BtUDRn-R.js";import"./curryN-CtlObJyB.js";import"./_reduce-jCRHcH4g.js";import"./toString-CZqbYCtr.js";import"./invoker-CzjdWzzC.js";import"./Tooltip-CWLtiFPL.js";import"./Tooltip-DJ2_mly-.js";import"./styled-xcNfGM4O.js";import"./Grow-B1sx8BUV.js";import"./index-BgzAW8PA.js";import"./index-qDpFFwpw.js";import"./TransitionGroupContext-Ct0fmffr.js";import"./useTheme-Y4A67ZcC.js";import"./utils-Bp2ftAKh.js";import"./useControlled-BJx2XeQR.js";import"./useSlotProps-DuAgyec7.js";import"./ownerDocument-DW-IO8s5.js";import"./Collapse-B-IsvoGQ.js";import"./Paper-CvptezwS.js";import"./ButtonBase-XMgfmL4Z.js";import"./Grid-hN6cGWtX.js";import"./Typography-CUXUzS5t.js";import"./visuallyHidden-Dan1xhjv.js";import"./isEmpty-BDVj1T2C.js";import"./propOr-C6krihMT.js";import"./EmojiObjects-B8ACDXuT.js";import"./createSvgIcon-Dj4hOazC.js";import"./SvgIcon-B4E5RqVY.js";import"./isNil-COslMkIS.js";import"./ExpandMore-ZEZ3vexP.js";import"./is-D-2gRytX.js";const U={title:"Example/ExpansionPanel",component:t,tags:["autodocs"]},o={};o.parameters={...o.parameters,docs:{...o.parameters?.docs,source:{originalSource:"{}",...o.parameters?.docs?.source}}};const V=["Default"];export{o as Default,V as __namedExportsOrder,U as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./iframe-Bn2bKXnF.js";import{c as s}from"./createSvgIcon-Dj4hOazC.js";const r=s(o.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info");export{r as I};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as o}from"./Input-Cd2UYqEf.js";import"./iframe-Bn2bKXnF.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CZNa6F-A.js";import"./with-input-WoUqEmR9.js";import"./is-D-2gRytX.js";import"./_isString-qgG10cDy.js";import"./_curry1-DZES3h6F.js";import"./makeStyles-C-jh_7fl.js";import"./isNil-COslMkIS.js";import"./InputAdornment-DT9kJqoL.js";import"./styled-xcNfGM4O.js";import"./formControlState-BhWMJVua.js";import"./Typography-CUXUzS5t.js";import"./or-CjN1zdxp.js";import"./isEmpty-BDVj1T2C.js";import"./keys-MRUazFsh.js";import"./_isObject-6WN73bNV.js";import"./TextField-CB_xf9E1.js";import"./Select-KdyHQHMS.js";import"./useSlotProps-DuAgyec7.js";import"./TransitionGroupContext-Ct0fmffr.js";import"./Popover-DlO48OH0.js";import"./TextareaAutosize-BfuBxOFe.js";import"./ownerDocument-DW-IO8s5.js";import"./Grow-B1sx8BUV.js";import"./index-BgzAW8PA.js";import"./index-qDpFFwpw.js";import"./useTheme-Y4A67ZcC.js";import"./utils-Bp2ftAKh.js";import"./Paper-CvptezwS.js";import"./ListContext-cihky6P4.js";import"./useControlled-BJx2XeQR.js";import"./createSvgIcon-Dj4hOazC.js";import"./SvgIcon-B4E5RqVY.js";import"./isMuiElement-DBm6Kpc2.js";import"./IconButton-DgiyHwm2.js";import"./ButtonBase-XMgfmL4Z.js";import"./Done-ozqRm0hC.js";const M={title:"Example/Input",component:o,tags:["autodocs"]},t={};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:"{}",...t.parameters?.docs?.source}}};const N=["Default"];export{t as Default,N as __namedExportsOrder,M as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as s}from"./iframe-Bn2bKXnF.js";import{c as o}from"./createSvgIcon-Dj4hOazC.js";const e=o(s.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2"}),"Lens");export{e as L};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t}from"./iframe-Bn2bKXnF.js";const r=t.createContext({});export{r as L};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{M as t}from"./Mode-id7-q8mK.js";import"./iframe-Bn2bKXnF.js";import"./preload-helper-PPVm8Dsz.js";import"./Tooltip-CWLtiFPL.js";import"./index-CZNa6F-A.js";import"./Tooltip-DJ2_mly-.js";import"./styled-xcNfGM4O.js";import"./Grow-B1sx8BUV.js";import"./index-BgzAW8PA.js";import"./index-qDpFFwpw.js";import"./TransitionGroupContext-Ct0fmffr.js";import"./useTheme-Y4A67ZcC.js";import"./utils-Bp2ftAKh.js";import"./useControlled-BJx2XeQR.js";import"./useSlotProps-DuAgyec7.js";import"./ownerDocument-DW-IO8s5.js";import"./prop-D5hAeHhE.js";import"./_isString-qgG10cDy.js";import"./_curry1-DZES3h6F.js";import"./path-DwLTp3pU.js";import"./makeStyles-C-jh_7fl.js";import"./pathOr-BmjUXfCm.js";import"./_curry3-B7ARCYrl.js";import"./useKeybordEscapeHandler-Bk8QvXPX.js";import"./addIndex-oJ56c-D4.js";import"./_concat-CKc59O9E.js";import"./curryN-CtlObJyB.js";import"./map-x4uThvOW.js";import"./_reduce-jCRHcH4g.js";import"./keys-MRUazFsh.js";import"./RadioGroup-BW02SYXb.js";import"./SwitchBase-CKx12nvI.js";import"./formControlState-BhWMJVua.js";import"./ButtonBase-XMgfmL4Z.js";import"./createSvgIcon-Dj4hOazC.js";import"./SvgIcon-B4E5RqVY.js";import"./FormControlLabel-DO5vSqlK.js";import"./Typography-CUXUzS5t.js";import"./useThemeProps-WrFcVLHD.js";import"./getThemeProps-B3XPepMy.js";const N={title:"Example/Mode",component:t,tags:["autodocs"]},o={};o.parameters={...o.parameters,docs:{...o.parameters?.docs,source:{originalSource:"{}",...o.parameters?.docs?.source}}};const P=["Default"];export{o as Default,P as __namedExportsOrder,N as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{N as o}from"./NoData-alXxmI79.js";import"./iframe-Bn2bKXnF.js";import"./preload-helper-PPVm8Dsz.js";import"./Typography-CUXUzS5t.js";import"./styled-xcNfGM4O.js";import"./createSvgIcon-Dj4hOazC.js";import"./SvgIcon-B4E5RqVY.js";import"./makeStyles-C-jh_7fl.js";const d={title:"Example/NoData",component:o,tags:["autodocs"]},t={};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:"{}",...t.parameters?.docs?.source}}};const n=["Default"];export{t as Default,n as __namedExportsOrder,d as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{S as o}from"./Select-nsLL6rRu.js";import"./iframe-Bn2bKXnF.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CZNa6F-A.js";import"./innerJoin-Dosi0D91.js";import"./_isObject-6WN73bNV.js";import"./_isString-qgG10cDy.js";import"./_curry1-DZES3h6F.js";import"./keys-MRUazFsh.js";import"./_curry3-B7ARCYrl.js";import"./toString-CZqbYCtr.js";import"./_reduce-jCRHcH4g.js";import"./curryN-CtlObJyB.js";import"./pluck-DLxRFKfx.js";import"./map-x4uThvOW.js";import"./prop-D5hAeHhE.js";import"./path-DwLTp3pU.js";import"./is-D-2gRytX.js";import"./TextField-CB_xf9E1.js";import"./styled-xcNfGM4O.js";import"./Select-KdyHQHMS.js";import"./useSlotProps-DuAgyec7.js";import"./TransitionGroupContext-Ct0fmffr.js";import"./Popover-DlO48OH0.js";import"./formControlState-BhWMJVua.js";import"./TextareaAutosize-BfuBxOFe.js";import"./ownerDocument-DW-IO8s5.js";import"./Grow-B1sx8BUV.js";import"./index-BgzAW8PA.js";import"./index-qDpFFwpw.js";import"./useTheme-Y4A67ZcC.js";import"./utils-Bp2ftAKh.js";import"./Paper-CvptezwS.js";import"./ListContext-cihky6P4.js";import"./useControlled-BJx2XeQR.js";import"./createSvgIcon-Dj4hOazC.js";import"./SvgIcon-B4E5RqVY.js";import"./isMuiElement-DBm6Kpc2.js";import"./MenuItem-DoNuW6VM.js";import"./ButtonBase-XMgfmL4Z.js";import"./listItemTextClasses-B7uMTR2T.js";import"./dividerClasses-Ci0TFmD0.js";import"./Typography-CUXUzS5t.js";import"./propOr-C6krihMT.js";import"./pathOr-BmjUXfCm.js";import"./join-D4-hXwt-.js";import"./invoker-CzjdWzzC.js";import"./isEmpty-BDVj1T2C.js";import"./makeStyles-C-jh_7fl.js";import"./ifElse-C4TX1NDU.js";import"./identity-BtKjXVdB.js";const $={title:"Example/Select",component:o,tags:["autodocs"]},t={};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:"{}",...t.parameters?.docs?.source}}};const tt=["Default"];export{t as Default,tt as __namedExportsOrder,$ as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{S as o}from"./Spotlight-CmRACETX.js";import"./iframe-Bn2bKXnF.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CgX1khv6.js";import"./index-CZNa6F-A.js";import"./Button-D6Nq6IjC.js";import"./styled-xcNfGM4O.js";import"./ButtonBase-XMgfmL4Z.js";import"./TransitionGroupContext-Ct0fmffr.js";import"./prop-D5hAeHhE.js";import"./_isString-qgG10cDy.js";import"./_curry1-DZES3h6F.js";import"./path-DwLTp3pU.js";import"./createSvgIcon-Dj4hOazC.js";import"./SvgIcon-B4E5RqVY.js";import"./Popover-DlO48OH0.js";import"./formControlState-BhWMJVua.js";import"./TextareaAutosize-BfuBxOFe.js";import"./ownerDocument-DW-IO8s5.js";import"./useSlotProps-DuAgyec7.js";import"./Grow-B1sx8BUV.js";import"./index-BgzAW8PA.js";import"./index-qDpFFwpw.js";import"./useTheme-Y4A67ZcC.js";import"./utils-Bp2ftAKh.js";import"./Paper-CvptezwS.js";import"./pipe-BtUDRn-R.js";import"./curryN-CtlObJyB.js";import"./_curry3-B7ARCYrl.js";import"./_reduce-jCRHcH4g.js";import"./keys-MRUazFsh.js";import"./map-x4uThvOW.js";import"./values-CAwOW2HW.js";import"./makeStyles-C-jh_7fl.js";import"./pathOr-BmjUXfCm.js";import"./propOr-C6krihMT.js";import"./Cross-DGXdS0Ye.js";import"./_isObject-6WN73bNV.js";import"./IconButton-DgiyHwm2.js";import"./isEmpty-BDVj1T2C.js";import"./gt-BHd0ZsSb.js";import"./ArrowForward-CAhTLx8v.js";import"./length-IXM-4ocd.js";const R={title:"Example/Spotlight",component:o,tags:["autodocs"]},t={};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:"{}",...t.parameters?.docs?.source}}};const T=["Default"];export{t as Default,T as __namedExportsOrder,R as default};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{j as v,r as l,R as k}from"./iframe-Bn2bKXnF.js";import{c as xt}from"./index-CZNa6F-A.js";import{r as We}from"./index-BgzAW8PA.js";import{b as Vt,a as qt,i as gr,w as hr}from"./utils-Dp9jL5PI.js";import{T as mr}from"./TablePreview-Bo4NBVOx.js";import{P}from"./index-CgX1khv6.js";import{p as F}from"./prop-D5hAeHhE.js";import{T as Pe}from"./Typography-CUXUzS5t.js";import{S as vr}from"./Select-KdyHQHMS.js";import{m as et}from"./map-x4uThvOW.js";import{M as br}from"./MenuItem-DoNuW6VM.js";import{n as Se}from"./not-BYZhl9KK.js";import{t as yr,m as xr,i as wr,a as Oe}from"./trim-DDjgxVjx.js";import{p as mt}from"./propOr-C6krihMT.js";import{m as Wt}from"./makeStyles-C-jh_7fl.js";import{v as _t}from"./values-CAwOW2HW.js";import{e as me}from"./_isObject-6WN73bNV.js";import{p as Ae}from"./pipe-BtUDRn-R.js";import{l as Cr}from"./lt-DLHCA0M9.js";import{l as Me}from"./length-IXM-4ocd.js";import{T as Dr}from"./T-Y1RunoT4.js";import{p as Sr,n as On}from"./path-DwLTp3pU.js";import{i as q}from"./isNil-COslMkIS.js";import{G as J}from"./Grid-hN6cGWtX.js";import{v as Tn}from"./visuallyHidden-Dan1xhjv.js";import{a as Rr}from"./addIndex-oJ56c-D4.js";import{h as _e}from"./has-iQO9y9kE.js";import{f as Mn}from"./find-DPVcla78.js";import{t as Er,w as Ir}from"./without-6vRGZm_m.js";import{u as Or}from"./unnest-CIXacqCq.js";import{o as vt}from"./over-f093ucEk.js";import{l as bt}from"./lensProp-CbZVApjL.js";import{B as Tr}from"./Button-BKUtAjYE.js";import{i as Mr}from"./indexBy-BS-vJGsQ.js";import{i as Ht}from"./isEmpty-BDVj1T2C.js";import{a as Ar}from"./assoc-Dg7iWEwB.js";import{i as Te}from"./is-D-2gRytX.js";import{c as ot}from"./createSvgIcon-Dj4hOazC.js";import{p as ft}from"./props-C7I1YqbB.js";import{F as Nr}from"./FormControlLabel-DO5vSqlK.js";import{C as jr}from"./Checkbox-cf5E2D8S.js";import{D as Lr}from"./Done-ozqRm0hC.js";import{f as kr,r as zr}from"./toString-CZqbYCtr.js";import{i as Br}from"./identity-BtKjXVdB.js";import{a as Pr}from"./append-C8VlU-CL.js";import{o as $r}from"./or-CjN1zdxp.js";import{a as Fr}from"./all-pAWO0bOP.js";import"./preload-helper-PPVm8Dsz.js";import"./index-qDpFFwpw.js";import"./_isString-qgG10cDy.js";import"./_curry1-DZES3h6F.js";import"./invoker-CzjdWzzC.js";import"./curryN-CtlObJyB.js";import"./ifElse-C4TX1NDU.js";import"./_curry3-B7ARCYrl.js";import"./flip-DUR8w3Wu.js";import"./lte-Bdgz3EA-.js";import"./always-C_Ync45z.js";import"./times-Jg5IS051.js";import"./max-kgon7wA-.js";import"./TableRow-CqP_pY3L.js";import"./styled-xcNfGM4O.js";import"./Lens-C3OlwTXx.js";import"./min-CEC8M_KS.js";import"./pluck-DLxRFKfx.js";import"./useSlotProps-DuAgyec7.js";import"./TransitionGroupContext-Ct0fmffr.js";import"./Popover-DlO48OH0.js";import"./formControlState-BhWMJVua.js";import"./TextareaAutosize-BfuBxOFe.js";import"./ownerDocument-DW-IO8s5.js";import"./Grow-B1sx8BUV.js";import"./useTheme-Y4A67ZcC.js";import"./utils-Bp2ftAKh.js";import"./Paper-CvptezwS.js";import"./ListContext-cihky6P4.js";import"./useControlled-BJx2XeQR.js";import"./_reduce-jCRHcH4g.js";import"./keys-MRUazFsh.js";import"./ButtonBase-XMgfmL4Z.js";import"./listItemTextClasses-B7uMTR2T.js";import"./dividerClasses-Ci0TFmD0.js";import"./pathOr-BmjUXfCm.js";import"./_concat-CKc59O9E.js";import"./_reduced-C8HAFxGt.js";import"./Button-D6Nq6IjC.js";import"./omit-DlVJ9qIR.js";import"./_cloneRegExp-xedU2qh5.js";import"./SvgIcon-B4E5RqVY.js";import"./useThemeProps-WrFcVLHD.js";import"./getThemeProps-B3XPepMy.js";import"./SwitchBase-CKx12nvI.js";const Vr=ot(v.jsx("path",{d:"M3 15h18v-2H3zm0 4h18v-2H3zm0-8h18V9H3zm0-6v2h18V5z"}),"Reorder"),qr=ot(v.jsx("path",{d:"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8"}),"Undo"),Hr=ot(v.jsx("path",{d:"M3 5v14h18V5zm5.33 12H5V7h3.33zm5.34 0h-3.33V7h3.33zM19 17h-3.33V7H19z"}),"ViewColumnOutlined"),Xr=ot(v.jsx("path",{d:"M3 5v14h18V5zm4 2v2H5V7zm-2 6v-2h2v2zm0 2h2v2H5zm14 2H9v-2h10zm0-4H9v-2h10zm0-4H9V7h10z"}),"ViewListOutlined"),Yr=ot(v.jsx("path",{d:"M3 5v14h18V5zm5.33 12H5V7h3.33zm5.34 0h-3.33v-4h3.33zM19 17h-3.33v-4H19zm0-6h-8.67V7H19z"}),"ViewQuiltOutlined");function Ur(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return l.useMemo(()=>r=>{t.forEach(o=>o(r))},t)}const It=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Fe(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function Zt(e){return"nodeType"in e}function _(e){var t,n;return e?Fe(e)?e:Zt(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function Gt(e){const{Document:t}=_(e);return e instanceof t}function it(e){return Fe(e)?!1:e instanceof _(e).HTMLElement}function An(e){return e instanceof _(e).SVGElement}function Ve(e){return e?Fe(e)?e.document:Zt(e)?Gt(e)?e:it(e)||An(e)?e.ownerDocument:document:document:document}const se=It?l.useLayoutEffect:l.useEffect;function Ot(e){const t=l.useRef(e);return se(()=>{t.current=e}),l.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.current==null?void 0:t.current(...r)},[])}function Kr(){const e=l.useRef(null),t=l.useCallback((r,o)=>{e.current=setInterval(r,o)},[]),n=l.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function tt(e,t){t===void 0&&(t=[e]);const n=l.useRef(e);return se(()=>{n.current!==e&&(n.current=e)},t),n}function st(e,t){const n=l.useRef();return l.useMemo(()=>{const r=e(n.current);return n.current=r,r},[...t])}function wt(e){const t=Ot(e),n=l.useRef(null),r=l.useCallback(o=>{o!==n.current&&t?.(o,n.current),n.current=o},[]);return[n,r]}function Ct(e){const t=l.useRef();return l.useEffect(()=>{t.current=e},[e]),t.current}let Bt={};function at(e,t){return l.useMemo(()=>{if(t)return t;const n=Bt[e]==null?0:Bt[e]+1;return Bt[e]=n,e+"-"+n},[e,t])}function Nn(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.reduce((i,s)=>{const a=Object.entries(s);for(const[c,u]of a){const f=i[c];f!=null&&(i[c]=f+e*u)}return i},{...t})}}const $e=Nn(1),nt=Nn(-1);function Wr(e){return"clientX"in e&&"clientY"in e}function Tt(e){if(!e)return!1;const{KeyboardEvent:t}=_(e.target);return t&&e instanceof t}function _r(e){if(!e)return!1;const{TouchEvent:t}=_(e.target);return t&&e instanceof t}function Dt(e){if(_r(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return Wr(e)?{x:e.clientX,y:e.clientY}:null}const Ee=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[Ee.Translate.toString(e),Ee.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),pn="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Zr(e){return e.matches(pn)?e:e.querySelector(pn)}const Gr={display:"none"};function Jr(e){let{id:t,value:n}=e;return k.createElement("div",{id:t,style:Gr},n)}function Qr(e){let{id:t,announcement:n,ariaLiveType:r="assertive"}=e;const o={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return k.createElement("div",{id:t,style:o,role:"status","aria-live":r,"aria-atomic":!0},n)}function eo(){const[e,t]=l.useState("");return{announce:l.useCallback(r=>{r!=null&&t(r)},[]),announcement:e}}const jn=l.createContext(null);function to(e){const t=l.useContext(jn);l.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function no(){const[e]=l.useState(()=>new Set),t=l.useCallback(r=>(e.add(r),()=>e.delete(r)),[e]);return[l.useCallback(r=>{let{type:o,event:i}=r;e.forEach(s=>{var a;return(a=s[o])==null?void 0:a.call(s,i)})},[e]),t]}const ro={draggable:`
|
|
2
|
-
To pick up a draggable item, press the space bar.
|
|
3
|
-
While dragging, use the arrow keys to move the item.
|
|
4
|
-
Press space again to drop the item in its new position, or press escape to cancel.
|
|
5
|
-
`},oo={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function io(e){let{announcements:t=oo,container:n,hiddenTextDescribedById:r,screenReaderInstructions:o=ro}=e;const{announce:i,announcement:s}=eo(),a=at("DndLiveRegion"),[c,u]=l.useState(!1);if(l.useEffect(()=>{u(!0)},[]),to(l.useMemo(()=>({onDragStart(d){let{active:g}=d;i(t.onDragStart({active:g}))},onDragMove(d){let{active:g,over:p}=d;t.onDragMove&&i(t.onDragMove({active:g,over:p}))},onDragOver(d){let{active:g,over:p}=d;i(t.onDragOver({active:g,over:p}))},onDragEnd(d){let{active:g,over:p}=d;i(t.onDragEnd({active:g,over:p}))},onDragCancel(d){let{active:g,over:p}=d;i(t.onDragCancel({active:g,over:p}))}}),[i,t])),!c)return null;const f=k.createElement(k.Fragment,null,k.createElement(Jr,{id:r,value:o.draggable}),k.createElement(Qr,{id:a,announcement:s}));return n?We.createPortal(f,n):f}var V;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(V||(V={}));function St(){}function gn(e,t){return l.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}function so(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return l.useMemo(()=>[...t].filter(r=>r!=null),[...t])}const ae=Object.freeze({x:0,y:0});function ao(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function co(e,t){const n=Dt(e);if(!n)return"0 0";const r={x:(n.x-t.left)/t.width*100,y:(n.y-t.top)/t.height*100};return r.x+"% "+r.y+"%"}function lo(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function uo(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function hn(e){let{left:t,top:n,height:r,width:o}=e;return[{x:t,y:n},{x:t+o,y:n},{x:t,y:n+r},{x:t+o,y:n+r}]}function Ln(e,t){if(!e||e.length===0)return null;const[n]=e;return n[t]}const kn=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=hn(t),i=[];for(const s of r){const{id:a}=s,c=n.get(a);if(c){const u=hn(c),f=o.reduce((g,p,C)=>g+ao(u[C],p),0),d=Number((f/4).toFixed(4));i.push({id:a,data:{droppableContainer:s,value:d}})}}return i.sort(lo)};function fo(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),o=Math.min(t.left+t.width,e.left+e.width),i=Math.min(t.top+t.height,e.top+e.height),s=o-r,a=i-n;if(r<o&&n<i){const c=t.width*t.height,u=e.width*e.height,f=s*a,d=f/(c+u-f);return Number(d.toFixed(4))}return 0}const po=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=[];for(const i of r){const{id:s}=i,a=n.get(s);if(a){const c=fo(a,t);c>0&&o.push({id:s,data:{droppableContainer:i,value:c}})}}return o.sort(uo)};function go(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function zn(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:ae}function ho(e){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return o.reduce((s,a)=>({...s,top:s.top+e*a.y,bottom:s.bottom+e*a.y,left:s.left+e*a.x,right:s.right+e*a.x}),{...n})}}const mo=ho(1);function Bn(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function vo(e,t,n){const r=Bn(t);if(!r)return e;const{scaleX:o,scaleY:i,x:s,y:a}=r,c=e.left-s-(1-o)*parseFloat(n),u=e.top-a-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),f=o?e.width/o:e.width,d=i?e.height/i:e.height;return{width:f,height:d,top:u,right:c+f,bottom:u+d,left:c}}const bo={ignoreTransform:!1};function qe(e,t){t===void 0&&(t=bo);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:u,transformOrigin:f}=_(e).getComputedStyle(e);u&&(n=vo(n,u,f))}const{top:r,left:o,width:i,height:s,bottom:a,right:c}=n;return{top:r,left:o,width:i,height:s,bottom:a,right:c}}function mn(e){return qe(e,{ignoreTransform:!0})}function yo(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function xo(e,t){return t===void 0&&(t=_(e).getComputedStyle(e)),t.position==="fixed"}function wo(e,t){t===void 0&&(t=_(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(o=>{const i=t[o];return typeof i=="string"?n.test(i):!1})}function Mt(e,t){const n=[];function r(o){if(t!=null&&n.length>=t||!o)return n;if(Gt(o)&&o.scrollingElement!=null&&!n.includes(o.scrollingElement))return n.push(o.scrollingElement),n;if(!it(o)||An(o)||n.includes(o))return n;const i=_(e).getComputedStyle(o);return o!==e&&wo(o,i)&&n.push(o),xo(o,i)?n:r(o.parentNode)}return e?r(e):n}function Pn(e){const[t]=Mt(e,1);return t??null}function Pt(e){return!It||!e?null:Fe(e)?e:Zt(e)?Gt(e)||e===Ve(e).scrollingElement?window:it(e)?e:null:null}function $n(e){return Fe(e)?e.scrollX:e.scrollLeft}function Fn(e){return Fe(e)?e.scrollY:e.scrollTop}function Xt(e){return{x:$n(e),y:Fn(e)}}var H;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(H||(H={}));function Vn(e){return!It||!e?!1:e===document.scrollingElement}function qn(e){const t={x:0,y:0},n=Vn(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},o=e.scrollTop<=t.y,i=e.scrollLeft<=t.x,s=e.scrollTop>=r.y,a=e.scrollLeft>=r.x;return{isTop:o,isLeft:i,isBottom:s,isRight:a,maxScroll:r,minScroll:t}}const Co={x:.2,y:.2};function Do(e,t,n,r,o){let{top:i,left:s,right:a,bottom:c}=n;r===void 0&&(r=10),o===void 0&&(o=Co);const{isTop:u,isBottom:f,isLeft:d,isRight:g}=qn(e),p={x:0,y:0},C={x:0,y:0},h={height:t.height*o.y,width:t.width*o.x};return!u&&i<=t.top+h.height?(p.y=H.Backward,C.y=r*Math.abs((t.top+h.height-i)/h.height)):!f&&c>=t.bottom-h.height&&(p.y=H.Forward,C.y=r*Math.abs((t.bottom-h.height-c)/h.height)),!g&&a>=t.right-h.width?(p.x=H.Forward,C.x=r*Math.abs((t.right-h.width-a)/h.width)):!d&&s<=t.left+h.width&&(p.x=H.Backward,C.x=r*Math.abs((t.left+h.width-s)/h.width)),{direction:p,speed:C}}function So(e){if(e===document.scrollingElement){const{innerWidth:i,innerHeight:s}=window;return{top:0,left:0,right:i,bottom:s,width:i,height:s}}const{top:t,left:n,right:r,bottom:o}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:o,width:e.clientWidth,height:e.clientHeight}}function Hn(e){return e.reduce((t,n)=>$e(t,Xt(n)),ae)}function Ro(e){return e.reduce((t,n)=>t+$n(n),0)}function Eo(e){return e.reduce((t,n)=>t+Fn(n),0)}function Xn(e,t){if(t===void 0&&(t=qe),!e)return;const{top:n,left:r,bottom:o,right:i}=t(e);Pn(e)&&(o<=0||i<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const Io=[["x",["left","right"],Ro],["y",["top","bottom"],Eo]];class Jt{constructor(t,n){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const r=Mt(n),o=Hn(r);this.rect={...t},this.width=t.width,this.height=t.height;for(const[i,s,a]of Io)for(const c of s)Object.defineProperty(this,c,{get:()=>{const u=a(r),f=o[i]-u;return this.rect[c]+f},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Ze{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(n=>{var r;return(r=this.target)==null?void 0:r.removeEventListener(...n)})},this.target=t}add(t,n,r){var o;(o=this.target)==null||o.addEventListener(t,n,r),this.listeners.push([t,n,r])}}function Oo(e){const{EventTarget:t}=_(e);return e instanceof t?e:Ve(e)}function $t(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return typeof t=="number"?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t?r>t.y:!1}var ie;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(ie||(ie={}));function vn(e){e.preventDefault()}function To(e){e.stopPropagation()}var I;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter",e.Tab="Tab"})(I||(I={}));const Yn={start:[I.Space,I.Enter],cancel:[I.Esc],end:[I.Space,I.Enter,I.Tab]},Mo=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case I.Right:return{...n,x:n.x+25};case I.Left:return{...n,x:n.x-25};case I.Down:return{...n,y:n.y+25};case I.Up:return{...n,y:n.y-25}}};class Qt{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:n}}=t;this.props=t,this.listeners=new Ze(Ve(n)),this.windowListeners=new Ze(_(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(ie.Resize,this.handleCancel),this.windowListeners.add(ie.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(ie.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:n}=this.props,r=t.node.current;r&&Xn(r),n(ae)}handleKeyDown(t){if(Tt(t)){const{active:n,context:r,options:o}=this.props,{keyboardCodes:i=Yn,coordinateGetter:s=Mo,scrollBehavior:a="smooth"}=o,{code:c}=t;if(i.end.includes(c)){this.handleEnd(t);return}if(i.cancel.includes(c)){this.handleCancel(t);return}const{collisionRect:u}=r.current,f=u?{x:u.left,y:u.top}:ae;this.referenceCoordinates||(this.referenceCoordinates=f);const d=s(t,{active:n,context:r.current,currentCoordinates:f});if(d){const g=nt(d,f),p={x:0,y:0},{scrollableAncestors:C}=r.current;for(const h of C){const m=t.code,{isTop:y,isRight:b,isLeft:x,isBottom:E,maxScroll:O,minScroll:T}=qn(h),D=So(h),R={x:Math.min(m===I.Right?D.right-D.width/2:D.right,Math.max(m===I.Right?D.left:D.left+D.width/2,d.x)),y:Math.min(m===I.Down?D.bottom-D.height/2:D.bottom,Math.max(m===I.Down?D.top:D.top+D.height/2,d.y))},L=m===I.Right&&!b||m===I.Left&&!x,B=m===I.Down&&!E||m===I.Up&&!y;if(L&&R.x!==d.x){const A=h.scrollLeft+g.x,Z=m===I.Right&&A<=O.x||m===I.Left&&A>=T.x;if(Z&&!g.y){h.scrollTo({left:A,behavior:a});return}Z?p.x=h.scrollLeft-A:p.x=m===I.Right?h.scrollLeft-O.x:h.scrollLeft-T.x,p.x&&h.scrollBy({left:-p.x,behavior:a});break}else if(B&&R.y!==d.y){const A=h.scrollTop+g.y,Z=m===I.Down&&A<=O.y||m===I.Up&&A>=T.y;if(Z&&!g.x){h.scrollTo({top:A,behavior:a});return}Z?p.y=h.scrollTop-A:p.y=m===I.Down?h.scrollTop-O.y:h.scrollTop-T.y,p.y&&h.scrollBy({top:-p.y,behavior:a});break}}this.handleMove(t,$e(nt(d,this.referenceCoordinates),p))}}}handleMove(t,n){const{onMove:r}=this.props;t.preventDefault(),r(n)}handleEnd(t){const{onEnd:n}=this.props;t.preventDefault(),this.detach(),n()}handleCancel(t){const{onCancel:n}=this.props;t.preventDefault(),this.detach(),n()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}Qt.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=Yn,onActivation:o}=t,{active:i}=n;const{code:s}=e.nativeEvent;if(r.start.includes(s)){const a=i.activatorNode.current;return a&&e.target!==a?!1:(e.preventDefault(),o?.({event:e.nativeEvent}),!0)}return!1}}];function bn(e){return!!(e&&"distance"in e)}function yn(e){return!!(e&&"delay"in e)}class en{constructor(t,n,r){var o;r===void 0&&(r=Oo(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=n;const{event:i}=t,{target:s}=i;this.props=t,this.events=n,this.document=Ve(s),this.documentListeners=new Ze(this.document),this.listeners=new Ze(r),this.windowListeners=new Ze(_(s)),this.initialCoordinates=(o=Dt(i))!=null?o:ae,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:n,bypassActivationConstraint:r}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),t.cancel&&this.listeners.add(t.cancel.name,this.handleCancel),this.windowListeners.add(ie.Resize,this.handleCancel),this.windowListeners.add(ie.DragStart,vn),this.windowListeners.add(ie.VisibilityChange,this.handleCancel),this.windowListeners.add(ie.ContextMenu,vn),this.documentListeners.add(ie.Keydown,this.handleKeydown),n){if(r!=null&&r({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(yn(n)){this.timeoutId=setTimeout(this.handleStart,n.delay),this.handlePending(n);return}if(bn(n)){this.handlePending(n);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(t,n){const{active:r,onPending:o}=this.props;o(r,t,this.initialCoordinates,n)}handleStart(){const{initialCoordinates:t}=this,{onStart:n}=this.props;t&&(this.activated=!0,this.documentListeners.add(ie.Click,To,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(ie.SelectionChange,this.removeTextSelection),n(t))}handleMove(t){var n;const{activated:r,initialCoordinates:o,props:i}=this,{onMove:s,options:{activationConstraint:a}}=i;if(!o)return;const c=(n=Dt(t))!=null?n:ae,u=nt(o,c);if(!r&&a){if(bn(a)){if(a.tolerance!=null&&$t(u,a.tolerance))return this.handleCancel();if($t(u,a.distance))return this.handleStart()}if(yn(a)&&$t(u,a.tolerance))return this.handleCancel();this.handlePending(a,u);return}t.cancelable&&t.preventDefault(),s(c)}handleEnd(){const{onAbort:t,onEnd:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleCancel(){const{onAbort:t,onCancel:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleKeydown(t){t.code===I.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const Ao={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class tn extends en{constructor(t){const{event:n}=t,r=Ve(n.target);super(t,Ao,r)}}tn.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r?.({event:n}),!0)}}];const No={move:{name:"mousemove"},end:{name:"mouseup"}};var Yt;(function(e){e[e.RightClick=2]="RightClick"})(Yt||(Yt={}));class jo extends en{constructor(t){super(t,No,Ve(t.event.target))}}jo.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button===Yt.RightClick?!1:(r?.({event:n}),!0)}}];const Ft={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class Lo extends en{constructor(t){super(t,Ft)}static setup(){return window.addEventListener(Ft.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(Ft.move.name,t)};function t(){}}}Lo.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:o}=n;return o.length>1?!1:(r?.({event:n}),!0)}}];var Ge;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(Ge||(Ge={}));var Rt;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(Rt||(Rt={}));function ko(e){let{acceleration:t,activator:n=Ge.Pointer,canScroll:r,draggingRect:o,enabled:i,interval:s=5,order:a=Rt.TreeOrder,pointerCoordinates:c,scrollableAncestors:u,scrollableAncestorRects:f,delta:d,threshold:g}=e;const p=Bo({delta:d,disabled:!i}),[C,h]=Kr(),m=l.useRef({x:0,y:0}),y=l.useRef({x:0,y:0}),b=l.useMemo(()=>{switch(n){case Ge.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case Ge.DraggableRect:return o}},[n,o,c]),x=l.useRef(null),E=l.useCallback(()=>{const T=x.current;if(!T)return;const D=m.current.x*y.current.x,R=m.current.y*y.current.y;T.scrollBy(D,R)},[]),O=l.useMemo(()=>a===Rt.TreeOrder?[...u].reverse():u,[a,u]);l.useEffect(()=>{if(!i||!u.length||!b){h();return}for(const T of O){if(r?.(T)===!1)continue;const D=u.indexOf(T),R=f[D];if(!R)continue;const{direction:L,speed:B}=Do(T,R,b,t,g);for(const A of["x","y"])p[A][L[A]]||(B[A]=0,L[A]=0);if(B.x>0||B.y>0){h(),x.current=T,C(E,s),m.current=B,y.current=L;return}}m.current={x:0,y:0},y.current={x:0,y:0},h()},[t,E,r,h,i,s,JSON.stringify(b),JSON.stringify(p),C,u,O,f,JSON.stringify(g)])}const zo={x:{[H.Backward]:!1,[H.Forward]:!1},y:{[H.Backward]:!1,[H.Forward]:!1}};function Bo(e){let{delta:t,disabled:n}=e;const r=Ct(t);return st(o=>{if(n||!r||!o)return zo;const i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[H.Backward]:o.x[H.Backward]||i.x===-1,[H.Forward]:o.x[H.Forward]||i.x===1},y:{[H.Backward]:o.y[H.Backward]||i.y===-1,[H.Forward]:o.y[H.Forward]||i.y===1}}},[n,t,r])}function Po(e,t){const n=t!=null?e.get(t):void 0,r=n?n.node.current:null;return st(o=>{var i;return t==null?null:(i=r??o)!=null?i:null},[r,t])}function $o(e,t){return l.useMemo(()=>e.reduce((n,r)=>{const{sensor:o}=r,i=o.activators.map(s=>({eventName:s.eventName,handler:t(s.handler,r)}));return[...n,...i]},[]),[e,t])}var rt;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(rt||(rt={}));var Ut;(function(e){e.Optimized="optimized"})(Ut||(Ut={}));const xn=new Map;function Fo(e,t){let{dragging:n,dependencies:r,config:o}=t;const[i,s]=l.useState(null),{frequency:a,measure:c,strategy:u}=o,f=l.useRef(e),d=m(),g=tt(d),p=l.useCallback(function(y){y===void 0&&(y=[]),!g.current&&s(b=>b===null?y:b.concat(y.filter(x=>!b.includes(x))))},[g]),C=l.useRef(null),h=st(y=>{if(d&&!n)return xn;if(!y||y===xn||f.current!==e||i!=null){const b=new Map;for(let x of e){if(!x)continue;if(i&&i.length>0&&!i.includes(x.id)&&x.rect.current){b.set(x.id,x.rect.current);continue}const E=x.node.current,O=E?new Jt(c(E),E):null;x.rect.current=O,O&&b.set(x.id,O)}return b}return y},[e,i,n,d,c]);return l.useEffect(()=>{f.current=e},[e]),l.useEffect(()=>{d||p()},[n,d]),l.useEffect(()=>{i&&i.length>0&&s(null)},[JSON.stringify(i)]),l.useEffect(()=>{d||typeof a!="number"||C.current!==null||(C.current=setTimeout(()=>{p(),C.current=null},a))},[a,d,p,...r]),{droppableRects:h,measureDroppableContainers:p,measuringScheduled:i!=null};function m(){switch(u){case rt.Always:return!1;case rt.BeforeDragging:return n;default:return!n}}}function nn(e,t){return st(n=>e?n||(typeof t=="function"?t(e):e):null,[t,e])}function Vo(e,t){return nn(e,t)}function qo(e){let{callback:t,disabled:n}=e;const r=Ot(t),o=l.useMemo(()=>{if(n||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:i}=window;return new i(r)},[r,n]);return l.useEffect(()=>()=>o?.disconnect(),[o]),o}function At(e){let{callback:t,disabled:n}=e;const r=Ot(t),o=l.useMemo(()=>{if(n||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:i}=window;return new i(r)},[n]);return l.useEffect(()=>()=>o?.disconnect(),[o]),o}function Ho(e){return new Jt(qe(e),e)}function wn(e,t,n){t===void 0&&(t=Ho);const[r,o]=l.useState(null);function i(){o(c=>{if(!e)return null;if(e.isConnected===!1){var u;return(u=c??n)!=null?u:null}const f=t(e);return JSON.stringify(c)===JSON.stringify(f)?c:f})}const s=qo({callback(c){if(e)for(const u of c){const{type:f,target:d}=u;if(f==="childList"&&d instanceof HTMLElement&&d.contains(e)){i();break}}}}),a=At({callback:i});return se(()=>{i(),e?(a?.observe(e),s?.observe(document.body,{childList:!0,subtree:!0})):(a?.disconnect(),s?.disconnect())},[e]),r}function Xo(e){const t=nn(e);return zn(e,t)}const Cn=[];function Yo(e){const t=l.useRef(e),n=st(r=>e?r&&r!==Cn&&e&&t.current&&e.parentNode===t.current.parentNode?r:Mt(e):Cn,[e]);return l.useEffect(()=>{t.current=e},[e]),n}function Uo(e){const[t,n]=l.useState(null),r=l.useRef(e),o=l.useCallback(i=>{const s=Pt(i.target);s&&n(a=>a?(a.set(s,Xt(s)),new Map(a)):null)},[]);return l.useEffect(()=>{const i=r.current;if(e!==i){s(i);const a=e.map(c=>{const u=Pt(c);return u?(u.addEventListener("scroll",o,{passive:!0}),[u,Xt(u)]):null}).filter(c=>c!=null);n(a.length?new Map(a):null),r.current=e}return()=>{s(e),s(i)};function s(a){a.forEach(c=>{const u=Pt(c);u?.removeEventListener("scroll",o)})}},[o,e]),l.useMemo(()=>e.length?t?Array.from(t.values()).reduce((i,s)=>$e(i,s),ae):Hn(e):ae,[e,t])}function Dn(e,t){t===void 0&&(t=[]);const n=l.useRef(null);return l.useEffect(()=>{n.current=null},t),l.useEffect(()=>{const r=e!==ae;r&&!n.current&&(n.current=e),!r&&n.current&&(n.current=null)},[e]),n.current?nt(e,n.current):ae}function Ko(e){l.useEffect(()=>{if(!It)return;const t=e.map(n=>{let{sensor:r}=n;return r.setup==null?void 0:r.setup()});return()=>{for(const n of t)n?.()}},e.map(t=>{let{sensor:n}=t;return n}))}function Wo(e,t){return l.useMemo(()=>e.reduce((n,r)=>{let{eventName:o,handler:i}=r;return n[o]=s=>{i(s,t)},n},{}),[e,t])}function Un(e){return l.useMemo(()=>e?yo(e):null,[e])}const Sn=[];function _o(e,t){t===void 0&&(t=qe);const[n]=e,r=Un(n?_(n):null),[o,i]=l.useState(Sn);function s(){i(()=>e.length?e.map(c=>Vn(c)?r:new Jt(t(c),c)):Sn)}const a=At({callback:s});return se(()=>{a?.disconnect(),s(),e.forEach(c=>a?.observe(c))},[e]),o}function Kn(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return it(t)?t:e}function Zo(e){let{measure:t}=e;const[n,r]=l.useState(null),o=l.useCallback(u=>{for(const{target:f}of u)if(it(f)){r(d=>{const g=t(f);return d?{...d,width:g.width,height:g.height}:g});break}},[t]),i=At({callback:o}),s=l.useCallback(u=>{const f=Kn(u);i?.disconnect(),f&&i?.observe(f),r(f?t(f):null)},[t,i]),[a,c]=wt(s);return l.useMemo(()=>({nodeRef:a,rect:n,setRef:c}),[n,a,c])}const Go=[{sensor:tn,options:{}},{sensor:Qt,options:{}}],Jo={current:{}},yt={draggable:{measure:mn},droppable:{measure:mn,strategy:rt.WhileDragging,frequency:Ut.Optimized},dragOverlay:{measure:qe}};class Je extends Map{get(t){var n;return t!=null&&(n=super.get(t))!=null?n:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:n}=t;return!n})}getNodeFor(t){var n,r;return(n=(r=this.get(t))==null?void 0:r.node.current)!=null?n:void 0}}const Qo={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Je,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:St},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:yt,measureDroppableContainers:St,windowRect:null,measuringScheduled:!1},Wn={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:St,draggableNodes:new Map,over:null,measureDroppableContainers:St},ct=l.createContext(Wn),_n=l.createContext(Qo);function ei(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Je}}}function ti(e,t){switch(t.type){case V.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case V.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case V.DragEnd:case V.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case V.RegisterDroppable:{const{element:n}=t,{id:r}=n,o=new Je(e.droppable.containers);return o.set(r,n),{...e,droppable:{...e.droppable,containers:o}}}case V.SetDroppableDisabled:{const{id:n,key:r,disabled:o}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;const s=new Je(e.droppable.containers);return s.set(n,{...i,disabled:o}),{...e,droppable:{...e.droppable,containers:s}}}case V.UnregisterDroppable:{const{id:n,key:r}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;const i=new Je(e.droppable.containers);return i.delete(n),{...e,droppable:{...e.droppable,containers:i}}}default:return e}}function ni(e){let{disabled:t}=e;const{active:n,activatorEvent:r,draggableNodes:o}=l.useContext(ct),i=Ct(r),s=Ct(n?.id);return l.useEffect(()=>{if(!t&&!r&&i&&s!=null){if(!Tt(i)||document.activeElement===i.target)return;const a=o.get(s);if(!a)return;const{activatorNode:c,node:u}=a;if(!c.current&&!u.current)return;requestAnimationFrame(()=>{for(const f of[c.current,u.current]){if(!f)continue;const d=Zr(f);if(d){d.focus();break}}})}},[r,t,o,s,i]),null}function Zn(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((o,i)=>i({transform:o,...r}),n):n}function ri(e){return l.useMemo(()=>({draggable:{...yt.draggable,...e?.draggable},droppable:{...yt.droppable,...e?.droppable},dragOverlay:{...yt.dragOverlay,...e?.dragOverlay}}),[e?.draggable,e?.droppable,e?.dragOverlay])}function oi(e){let{activeNode:t,measure:n,initialRect:r,config:o=!0}=e;const i=l.useRef(!1),{x:s,y:a}=typeof o=="boolean"?{x:o,y:o}:o;se(()=>{if(!s&&!a||!t){i.current=!1;return}if(i.current||!r)return;const u=t?.node.current;if(!u||u.isConnected===!1)return;const f=n(u),d=zn(f,r);if(s||(d.x=0),a||(d.y=0),i.current=!0,Math.abs(d.x)>0||Math.abs(d.y)>0){const g=Pn(u);g&&g.scrollBy({top:d.y,left:d.x})}},[t,s,a,r,n])}const Nt=l.createContext({...ae,scaleX:1,scaleY:1});var Re;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(Re||(Re={}));const ii=l.memo(function(t){var n,r,o,i;let{id:s,accessibility:a,autoScroll:c=!0,children:u,sensors:f=Go,collisionDetection:d=po,measuring:g,modifiers:p,...C}=t;const h=l.useReducer(ti,void 0,ei),[m,y]=h,[b,x]=no(),[E,O]=l.useState(Re.Uninitialized),T=E===Re.Initialized,{draggable:{active:D,nodes:R,translate:L},droppable:{containers:B}}=m,A=D!=null?R.get(D):null,Z=l.useRef({initial:null,translated:null}),G=l.useMemo(()=>{var K;return D!=null?{id:D,data:(K=A?.data)!=null?K:Jo,rect:Z}:null},[D,A]),ne=l.useRef(null),[fe,Ie]=l.useState(null),[Y,ve]=l.useState(null),w=tt(C,Object.values(C)),M=at("DndDescribedBy",s),z=l.useMemo(()=>B.getEnabled(),[B]),S=ri(g),{droppableRects:j,measureDroppableContainers:$,measuringScheduled:re}=Fo(z,{dragging:T,dependencies:[L.x,L.y],config:S.droppable}),U=Po(R,D),lt=l.useMemo(()=>Y?Dt(Y):null,[Y]),be=pr(),pe=Vo(U,S.draggable.measure);oi({activeNode:D!=null?R.get(D):null,config:be.layoutShiftCompensation,initialRect:pe,measure:S.draggable.measure});const N=wn(U,S.draggable.measure,pe),He=wn(U?U.parentElement:null),ce=l.useRef({activatorEvent:null,active:null,activeNode:U,collisionRect:null,collisions:null,droppableRects:j,draggableNodes:R,draggingNode:null,draggingNodeRect:null,droppableContainers:B,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Ne=B.getNodeFor((n=ce.current.over)==null?void 0:n.id),ge=Zo({measure:S.dragOverlay.measure}),je=(r=ge.nodeRef.current)!=null?r:U,Le=T?(o=ge.rect)!=null?o:N:null,on=!!(ge.nodeRef.current&&ge.rect),sn=Xo(on?null:N),Lt=Un(je?_(je):null),ye=Yo(T?Ne??U:null),ut=_o(ye),dt=Zn(p,{transform:{x:L.x-sn.x,y:L.y-sn.y,scaleX:1,scaleY:1},activatorEvent:Y,active:G,activeNodeRect:N,containerNodeRect:He,draggingNodeRect:Le,over:ce.current.over,overlayNodeRect:ge.rect,scrollableAncestors:ye,scrollableAncestorRects:ut,windowRect:Lt}),an=lt?$e(lt,L):null,cn=Uo(ye),sr=Dn(cn),ar=Dn(cn,[N]),ke=$e(dt,sr),ze=Le?mo(Le,dt):null,Xe=G&&ze?d({active:G,collisionRect:ze,droppableRects:j,droppableContainers:z,pointerCoordinates:an}):null,ln=Ln(Xe,"id"),[xe,un]=l.useState(null),cr=on?dt:$e(dt,ar),lr=go(cr,(i=xe?.rect)!=null?i:null,N),kt=l.useRef(null),dn=l.useCallback((K,Q)=>{let{sensor:ee,options:we}=Q;if(ne.current==null)return;const oe=R.get(ne.current);if(!oe)return;const te=K.nativeEvent,le=new ee({active:ne.current,activeNode:oe,event:te,options:we,context:ce,onAbort(X){if(!R.get(X))return;const{onDragAbort:ue}=w.current,he={id:X};ue?.(he),b({type:"onDragAbort",event:he})},onPending(X,Ce,ue,he){if(!R.get(X))return;const{onDragPending:Ue}=w.current,De={id:X,constraint:Ce,initialCoordinates:ue,offset:he};Ue?.(De),b({type:"onDragPending",event:De})},onStart(X){const Ce=ne.current;if(Ce==null)return;const ue=R.get(Ce);if(!ue)return;const{onDragStart:he}=w.current,Ye={activatorEvent:te,active:{id:Ce,data:ue.data,rect:Z}};We.unstable_batchedUpdates(()=>{he?.(Ye),O(Re.Initializing),y({type:V.DragStart,initialCoordinates:X,active:Ce}),b({type:"onDragStart",event:Ye}),Ie(kt.current),ve(te)})},onMove(X){y({type:V.DragMove,coordinates:X})},onEnd:Be(V.DragEnd),onCancel:Be(V.DragCancel)});kt.current=le;function Be(X){return async function(){const{active:ue,collisions:he,over:Ye,scrollAdjustedTranslate:Ue}=ce.current;let De=null;if(ue&&Ue){const{cancelDrop:Ke}=w.current;De={activatorEvent:te,active:ue,collisions:he,delta:Ue,over:Ye},X===V.DragEnd&&typeof Ke=="function"&&await Promise.resolve(Ke(De))&&(X=V.DragCancel)}ne.current=null,We.unstable_batchedUpdates(()=>{y({type:X}),O(Re.Uninitialized),un(null),Ie(null),ve(null),kt.current=null;const Ke=X===V.DragEnd?"onDragEnd":"onDragCancel";if(De){const zt=w.current[Ke];zt?.(De),b({type:Ke,event:De})}})}}},[R]),ur=l.useCallback((K,Q)=>(ee,we)=>{const oe=ee.nativeEvent,te=R.get(we);if(ne.current!==null||!te||oe.dndKit||oe.defaultPrevented)return;const le={active:te};K(ee,Q.options,le)===!0&&(oe.dndKit={capturedBy:Q.sensor},ne.current=we,dn(ee,Q))},[R,dn]),fn=$o(f,ur);Ko(f),se(()=>{N&&E===Re.Initializing&&O(Re.Initialized)},[N,E]),l.useEffect(()=>{const{onDragMove:K}=w.current,{active:Q,activatorEvent:ee,collisions:we,over:oe}=ce.current;if(!Q||!ee)return;const te={active:Q,activatorEvent:ee,collisions:we,delta:{x:ke.x,y:ke.y},over:oe};We.unstable_batchedUpdates(()=>{K?.(te),b({type:"onDragMove",event:te})})},[ke.x,ke.y]),l.useEffect(()=>{const{active:K,activatorEvent:Q,collisions:ee,droppableContainers:we,scrollAdjustedTranslate:oe}=ce.current;if(!K||ne.current==null||!Q||!oe)return;const{onDragOver:te}=w.current,le=we.get(ln),Be=le&&le.rect.current?{id:le.id,rect:le.rect.current,data:le.data,disabled:le.disabled}:null,X={active:K,activatorEvent:Q,collisions:ee,delta:{x:oe.x,y:oe.y},over:Be};We.unstable_batchedUpdates(()=>{un(Be),te?.(X),b({type:"onDragOver",event:X})})},[ln]),se(()=>{ce.current={activatorEvent:Y,active:G,activeNode:U,collisionRect:ze,collisions:Xe,droppableRects:j,draggableNodes:R,draggingNode:je,draggingNodeRect:Le,droppableContainers:B,over:xe,scrollableAncestors:ye,scrollAdjustedTranslate:ke},Z.current={initial:Le,translated:ze}},[G,U,Xe,ze,R,je,Le,j,B,xe,ye,ke]),ko({...be,delta:L,draggingRect:ze,pointerCoordinates:an,scrollableAncestors:ye,scrollableAncestorRects:ut});const dr=l.useMemo(()=>({active:G,activeNode:U,activeNodeRect:N,activatorEvent:Y,collisions:Xe,containerNodeRect:He,dragOverlay:ge,draggableNodes:R,droppableContainers:B,droppableRects:j,over:xe,measureDroppableContainers:$,scrollableAncestors:ye,scrollableAncestorRects:ut,measuringConfiguration:S,measuringScheduled:re,windowRect:Lt}),[G,U,N,Y,Xe,He,ge,R,B,j,xe,$,ye,ut,S,re,Lt]),fr=l.useMemo(()=>({activatorEvent:Y,activators:fn,active:G,activeNodeRect:N,ariaDescribedById:{draggable:M},dispatch:y,draggableNodes:R,over:xe,measureDroppableContainers:$}),[Y,fn,G,N,y,M,R,xe,$]);return k.createElement(jn.Provider,{value:x},k.createElement(ct.Provider,{value:fr},k.createElement(_n.Provider,{value:dr},k.createElement(Nt.Provider,{value:lr},u)),k.createElement(ni,{disabled:a?.restoreFocus===!1})),k.createElement(io,{...a,hiddenTextDescribedById:M}));function pr(){const K=fe?.autoScrollEnabled===!1,Q=typeof c=="object"?c.enabled===!1:c===!1,ee=T&&!K&&!Q;return typeof c=="object"?{...c,enabled:ee}:{enabled:ee}}}),si=l.createContext(null),Rn="button",ai="Draggable";function ci(e){let{id:t,data:n,disabled:r=!1,attributes:o}=e;const i=at(ai),{activators:s,activatorEvent:a,active:c,activeNodeRect:u,ariaDescribedById:f,draggableNodes:d,over:g}=l.useContext(ct),{role:p=Rn,roleDescription:C="draggable",tabIndex:h=0}=o??{},m=c?.id===t,y=l.useContext(m?Nt:si),[b,x]=wt(),[E,O]=wt(),T=Wo(s,t),D=tt(n);se(()=>(d.set(t,{id:t,key:i,node:b,activatorNode:E,data:D}),()=>{const L=d.get(t);L&&L.key===i&&d.delete(t)}),[d,t]);const R=l.useMemo(()=>({role:p,tabIndex:h,"aria-disabled":r,"aria-pressed":m&&p===Rn?!0:void 0,"aria-roledescription":C,"aria-describedby":f.draggable}),[r,p,h,m,C,f.draggable]);return{active:c,activatorEvent:a,activeNodeRect:u,attributes:R,isDragging:m,listeners:r?void 0:T,node:b,over:g,setNodeRef:x,setActivatorNodeRef:O,transform:y}}function Gn(){return l.useContext(_n)}const li="Droppable",ui={timeout:25};function Jn(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:o}=e;const i=at(li),{active:s,dispatch:a,over:c,measureDroppableContainers:u}=l.useContext(ct),f=l.useRef({disabled:n}),d=l.useRef(!1),g=l.useRef(null),p=l.useRef(null),{disabled:C,updateMeasurementsFor:h,timeout:m}={...ui,...o},y=tt(h??r),b=l.useCallback(()=>{if(!d.current){d.current=!0;return}p.current!=null&&clearTimeout(p.current),p.current=setTimeout(()=>{u(Array.isArray(y.current)?y.current:[y.current]),p.current=null},m)},[m]),x=At({callback:b,disabled:C||!s}),E=l.useCallback((R,L)=>{x&&(L&&(x.unobserve(L),d.current=!1),R&&x.observe(R))},[x]),[O,T]=wt(E),D=tt(t);return l.useEffect(()=>{!x||!O.current||(x.disconnect(),d.current=!1,x.observe(O.current))},[O,x]),l.useEffect(()=>(a({type:V.RegisterDroppable,element:{id:r,key:i,disabled:n,node:O,rect:g,data:D}}),()=>a({type:V.UnregisterDroppable,key:i,id:r})),[r]),l.useEffect(()=>{n!==f.current.disabled&&(a({type:V.SetDroppableDisabled,id:r,key:i,disabled:n}),f.current.disabled=n)},[r,i,n,a]),{active:s,rect:g,isOver:c?.id===r,node:O,over:c,setNodeRef:T}}function di(e){let{animation:t,children:n}=e;const[r,o]=l.useState(null),[i,s]=l.useState(null),a=Ct(n);return!n&&!r&&a&&o(a),se(()=>{if(!i)return;const c=r?.key,u=r?.props.id;if(c==null||u==null){o(null);return}Promise.resolve(t(u,i)).then(()=>{o(null)})},[t,r,i]),k.createElement(k.Fragment,null,n,r?l.cloneElement(r,{ref:s}):null)}const fi={x:0,y:0,scaleX:1,scaleY:1};function pi(e){let{children:t}=e;return k.createElement(ct.Provider,{value:Wn},k.createElement(Nt.Provider,{value:fi},t))}const gi={position:"fixed",touchAction:"none"},hi=e=>Tt(e)?"transform 250ms ease":void 0,mi=l.forwardRef((e,t)=>{let{as:n,activatorEvent:r,adjustScale:o,children:i,className:s,rect:a,style:c,transform:u,transition:f=hi}=e;if(!a)return null;const d=o?u:{...u,scaleX:1,scaleY:1},g={...gi,width:a.width,height:a.height,top:a.top,left:a.left,transform:Ee.Transform.toString(d),transformOrigin:o&&r?co(r,a):void 0,transition:typeof f=="function"?f(r):f,...c};return k.createElement(n,{className:s,style:g,ref:t},i)}),vi=e=>t=>{let{active:n,dragOverlay:r}=t;const o={},{styles:i,className:s}=e;if(i!=null&&i.active)for(const[a,c]of Object.entries(i.active))c!==void 0&&(o[a]=n.node.style.getPropertyValue(a),n.node.style.setProperty(a,c));if(i!=null&&i.dragOverlay)for(const[a,c]of Object.entries(i.dragOverlay))c!==void 0&&r.node.style.setProperty(a,c);return s!=null&&s.active&&n.node.classList.add(s.active),s!=null&&s.dragOverlay&&r.node.classList.add(s.dragOverlay),function(){for(const[c,u]of Object.entries(o))n.node.style.setProperty(c,u);s!=null&&s.active&&n.node.classList.remove(s.active)}},bi=e=>{let{transform:{initial:t,final:n}}=e;return[{transform:Ee.Transform.toString(t)},{transform:Ee.Transform.toString(n)}]},yi={duration:250,easing:"ease",keyframes:bi,sideEffects:vi({styles:{active:{opacity:"0"}}})};function xi(e){let{config:t,draggableNodes:n,droppableContainers:r,measuringConfiguration:o}=e;return Ot((i,s)=>{if(t===null)return;const a=n.get(i);if(!a)return;const c=a.node.current;if(!c)return;const u=Kn(s);if(!u)return;const{transform:f}=_(s).getComputedStyle(s),d=Bn(f);if(!d)return;const g=typeof t=="function"?t:wi(t);return Xn(c,o.draggable.measure),g({active:{id:i,data:a.data,node:c,rect:o.draggable.measure(c)},draggableNodes:n,dragOverlay:{node:s,rect:o.dragOverlay.measure(u)},droppableContainers:r,measuringConfiguration:o,transform:d})})}function wi(e){const{duration:t,easing:n,sideEffects:r,keyframes:o}={...yi,...e};return i=>{let{active:s,dragOverlay:a,transform:c,...u}=i;if(!t)return;const f={x:a.rect.left-s.rect.left,y:a.rect.top-s.rect.top},d={scaleX:c.scaleX!==1?s.rect.width*c.scaleX/a.rect.width:1,scaleY:c.scaleY!==1?s.rect.height*c.scaleY/a.rect.height:1},g={x:c.x-f.x,y:c.y-f.y,...d},p=o({...u,active:s,dragOverlay:a,transform:{initial:c,final:g}}),[C]=p,h=p[p.length-1];if(JSON.stringify(C)===JSON.stringify(h))return;const m=r?.({active:s,dragOverlay:a,...u}),y=a.node.animate(p,{duration:t,easing:n,fill:"forwards"});return new Promise(b=>{y.onfinish=()=>{m?.(),b()}})}}let En=0;function Ci(e){return l.useMemo(()=>{if(e!=null)return En++,En},[e])}const Di=k.memo(e=>{let{adjustScale:t=!1,children:n,dropAnimation:r,style:o,transition:i,modifiers:s,wrapperElement:a="div",className:c,zIndex:u=999}=e;const{activatorEvent:f,active:d,activeNodeRect:g,containerNodeRect:p,draggableNodes:C,droppableContainers:h,dragOverlay:m,over:y,measuringConfiguration:b,scrollableAncestors:x,scrollableAncestorRects:E,windowRect:O}=Gn(),T=l.useContext(Nt),D=Ci(d?.id),R=Zn(s,{activatorEvent:f,active:d,activeNodeRect:g,containerNodeRect:p,draggingNodeRect:m.rect,over:y,overlayNodeRect:m.rect,scrollableAncestors:x,scrollableAncestorRects:E,transform:T,windowRect:O}),L=nn(g),B=xi({config:r,draggableNodes:C,droppableContainers:h,measuringConfiguration:b}),A=L?m.setRef:void 0;return k.createElement(pi,null,k.createElement(di,{animation:B},d&&D?k.createElement(mi,{key:D,id:d.id,ref:A,as:a,activatorEvent:f,adjustScale:t,className:c,transition:i,rect:L,style:{zIndex:u,...o},transform:R},n):null))});function Qn(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function Si(e,t){return e.reduce((n,r,o)=>{const i=t.get(r);return i&&(n[o]=i),n},Array(e.length))}function pt(e){return e!==null&&e>=0}function Ri(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function Ei(e){return typeof e=="boolean"?{draggable:e,droppable:e}:e}const er=e=>{let{rects:t,activeIndex:n,overIndex:r,index:o}=e;const i=Qn(t,r,n),s=t[o],a=i[o];return!a||!s?null:{x:a.left-s.left,y:a.top-s.top,scaleX:a.width/s.width,scaleY:a.height/s.height}},gt={scaleX:1,scaleY:1},Ii=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:o,rects:i,overIndex:s}=e;const a=(t=i[n])!=null?t:r;if(!a)return null;if(o===n){const u=i[s];return u?{x:0,y:n<s?u.top+u.height-(a.top+a.height):u.top-a.top,...gt}:null}const c=Oi(i,o,n);return o>n&&o<=s?{x:0,y:-a.height-c,...gt}:o<n&&o>=s?{x:0,y:a.height+c,...gt}:{x:0,y:0,...gt}};function Oi(e,t,n){const r=e[t],o=e[t-1],i=e[t+1];return r?n<t?o?r.top-(o.top+o.height):i?i.top-(r.top+r.height):0:i?i.top-(r.top+r.height):o?r.top-(o.top+o.height):0:0}const tr="Sortable",nr=k.createContext({activeIndex:-1,containerId:tr,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:er,disabled:{draggable:!1,droppable:!1}});function Ti(e){let{children:t,id:n,items:r,strategy:o=er,disabled:i=!1}=e;const{active:s,dragOverlay:a,droppableRects:c,over:u,measureDroppableContainers:f}=Gn(),d=at(tr,n),g=a.rect!==null,p=l.useMemo(()=>r.map(T=>typeof T=="object"&&"id"in T?T.id:T),[r]),C=s!=null,h=s?p.indexOf(s.id):-1,m=u?p.indexOf(u.id):-1,y=l.useRef(p),b=!Ri(p,y.current),x=m!==-1&&h===-1||b,E=Ei(i);se(()=>{b&&C&&f(p)},[b,p,C,f]),l.useEffect(()=>{y.current=p},[p]);const O=l.useMemo(()=>({activeIndex:h,containerId:d,disabled:E,disableTransforms:x,items:p,overIndex:m,useDragOverlay:g,sortedRects:Si(p,c),strategy:o}),[h,d,E.draggable,E.droppable,x,p,m,c,g,o]);return k.createElement(nr.Provider,{value:O},t)}const Mi=e=>{let{id:t,items:n,activeIndex:r,overIndex:o}=e;return Qn(n,r,o).indexOf(t)},Ai=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:o,items:i,newIndex:s,previousItems:a,previousContainerId:c,transition:u}=e;return!u||!r||a!==i&&o===s?!1:n?!0:s!==o&&t===c},Ni={duration:200,easing:"ease"},rr="transform",ji=Ee.Transition.toString({property:rr,duration:0,easing:"linear"}),Li={roleDescription:"sortable"};function ki(e){let{disabled:t,index:n,node:r,rect:o}=e;const[i,s]=l.useState(null),a=l.useRef(n);return se(()=>{if(!t&&n!==a.current&&r.current){const c=o.current;if(c){const u=qe(r.current,{ignoreTransform:!0}),f={x:c.left-u.left,y:c.top-u.top,scaleX:c.width/u.width,scaleY:c.height/u.height};(f.x||f.y)&&s(f)}}n!==a.current&&(a.current=n)},[t,n,r,o]),l.useEffect(()=>{i&&s(null)},[i]),i}function zi(e){let{animateLayoutChanges:t=Ai,attributes:n,disabled:r,data:o,getNewIndex:i=Mi,id:s,strategy:a,resizeObserverConfig:c,transition:u=Ni}=e;const{items:f,containerId:d,activeIndex:g,disabled:p,disableTransforms:C,sortedRects:h,overIndex:m,useDragOverlay:y,strategy:b}=l.useContext(nr),x=Bi(r,p),E=f.indexOf(s),O=l.useMemo(()=>({sortable:{containerId:d,index:E,items:f},...o}),[d,o,E,f]),T=l.useMemo(()=>f.slice(f.indexOf(s)),[f,s]),{rect:D,node:R,isOver:L,setNodeRef:B}=Jn({id:s,data:O,disabled:x.droppable,resizeObserverConfig:{updateMeasurementsFor:T,...c}}),{active:A,activatorEvent:Z,activeNodeRect:G,attributes:ne,setNodeRef:fe,listeners:Ie,isDragging:Y,over:ve,setActivatorNodeRef:w,transform:M}=ci({id:s,data:O,attributes:{...Li,...n},disabled:x.draggable}),z=Ur(B,fe),S=!!A,j=S&&!C&&pt(g)&&pt(m),$=!y&&Y,re=$&&j?M:null,lt=j?re??(a??b)({rects:h,activeNodeRect:G,activeIndex:g,overIndex:m,index:E}):null,be=pt(g)&&pt(m)?i({id:s,items:f,activeIndex:g,overIndex:m}):E,pe=A?.id,N=l.useRef({activeId:pe,items:f,newIndex:be,containerId:d}),He=f!==N.current.items,ce=t({active:A,containerId:d,isDragging:Y,isSorting:S,id:s,index:E,items:f,newIndex:N.current.newIndex,previousItems:N.current.items,previousContainerId:N.current.containerId,transition:u,wasDragging:N.current.activeId!=null}),Ne=ki({disabled:!ce,index:E,node:R,rect:D});return l.useEffect(()=>{S&&N.current.newIndex!==be&&(N.current.newIndex=be),d!==N.current.containerId&&(N.current.containerId=d),f!==N.current.items&&(N.current.items=f)},[S,be,d,f]),l.useEffect(()=>{if(pe===N.current.activeId)return;if(pe!=null&&N.current.activeId==null){N.current.activeId=pe;return}const je=setTimeout(()=>{N.current.activeId=pe},50);return()=>clearTimeout(je)},[pe]),{active:A,activeIndex:g,attributes:ne,data:O,rect:D,index:E,newIndex:be,items:f,isOver:L,isSorting:S,isDragging:Y,listeners:Ie,node:R,overIndex:m,over:ve,setNodeRef:z,setActivatorNodeRef:w,setDroppableNodeRef:B,setDraggableNodeRef:fe,transform:Ne??lt,transition:ge()};function ge(){if(Ne||He&&N.current.newIndex===E)return ji;if(!($&&!Tt(Z)||!u)&&(S||ce))return Ee.Transition.toString({...u,property:rr})}}function Bi(e,t){var n,r;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(n=e?.draggable)!=null?n:t.draggable,droppable:(r=e?.droppable)!=null?r:t.droppable}}function Et(e){if(!e)return!1;const t=e.data.current;return!!(t&&"sortable"in t&&typeof t.sortable=="object"&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable)}const Pi=[I.Down,I.Right,I.Up,I.Left],$i=(e,t)=>{let{context:{active:n,collisionRect:r,droppableRects:o,droppableContainers:i,over:s,scrollableAncestors:a}}=t;if(Pi.includes(e.code)){if(e.preventDefault(),!n||!r)return;const c=[];i.getEnabled().forEach(d=>{if(!d||d!=null&&d.disabled)return;const g=o.get(d.id);if(g)switch(e.code){case I.Down:r.top<g.top&&c.push(d);break;case I.Up:r.top>g.top&&c.push(d);break;case I.Left:r.left>g.left&&c.push(d);break;case I.Right:r.left<g.left&&c.push(d);break}});const u=kn({collisionRect:r,droppableRects:o,droppableContainers:c});let f=Ln(u,"id");if(f===s?.id&&u.length>1&&(f=u[1].id),f!=null){const d=i.get(n.id),g=i.get(f),p=g?o.get(g.id):null,C=g?.node.current;if(C&&p&&d&&g){const m=Mt(C).some((T,D)=>a[D]!==T),y=or(d,g),b=Fi(d,g),x=m||!y?{x:0,y:0}:{x:b?r.width-p.width:0,y:b?r.height-p.height:0},E={x:p.left,y:p.top};return x.x&&x.y?E:nt(E,x)}}}};function or(e,t){return!Et(e)||!Et(t)?!1:e.data.current.sortable.containerId===t.data.current.sortable.containerId}function Fi(e,t){return!Et(e)||!Et(t)||!or(e,t)?!1:e.data.current.sortable.index<t.data.current.sortable.index}const W={header:"header",sections:"sections",rows:"rows"},Kt="dnd-how-drag-item",Vi=Wt(e=>({containerButton:{display:"flex",justifyContent:"space-between",padding:e.spacing(1),borderRadius:e.spacing(.5),userSelect:"none"},styledItemContainer:{cursor:"grab",minHeight:32,borderRadius:e.spacing(.5),alignItems:"center",paddingTop:e.spacing(.25),paddingBottom:e.spacing(.25),margin:e.spacing(.25),opacity:1,flexFlow:"wrap"},[`${W.sections}Item`]:{color:e.palette.getContrastText(qt(e)||e.palette.secondary.dark),backgroundColor:qt(e)||e.palette.secondary.dark},[`${W.rows}Item`]:{color:e.palette.getContrastText(Vt(e)||e.palette.secondary.light),backgroundColor:Vt(e)||e.palette.secondary.light},[`${W.header}Item`]:{color:e.palette.getContrastText(e.palette.primary.main),backgroundColor:e.palette.primary.main},cantMove:{cursor:"no-drop"},text:{fontStyle:"italic",fontSize:e.typography.fontSize-2,fontWeight:e.typography.fontWeightBold},itemButton:{},select:{backgroundColor:e.palette.common.white,"&:focus":{backgroundColor:e.palette.common.white}},spaceButton:{margin:e.spacing(0,1,0,0)}})),jt=k.forwardRef(({item:e,itemRenderer:t,dropZoneLabel:n,itemButtonProps:r,canDrag:o,style:i,dragHandleProps:s,describedBy:a},c)=>{const u=Vi(),f=F(e.id)(r);return v.jsx("div",{ref:c,style:i,"data-testid":`draggable-${e.id}`,...s,className:xt(u.styledItemContainer,u.containerButton,[F(`${n}Item`)(u)],{[u.cantMove]:Se(o)}),"aria-label":t(e),"aria-describedby":a,children:v.jsxs(l.Fragment,{children:[v.jsx(Pe,{variant:"body2",className:xt(u.text,{[u.spaceButton]:f}),children:t(e)}),f&&v.jsx("span",{className:u.itemButton,role:"presentation",onPointerDown:d=>d.stopPropagation(),onKeyDown:d=>d.stopPropagation(),children:v.jsx(vr,{id:e.id,value:f.value,onChange:d=>f.onChange(d.target.value),classes:{root:u.select},variant:"outlined",size:"small",autoWidth:!0,children:et(d=>v.jsx(br,{value:d,children:d},d))(f.options)})})]})})});jt.displayName="ItemBody";const rn=({item:e,index:t,itemRenderer:n,dropZoneLabel:r,itemButtonProps:o,canDrag:i})=>{const{attributes:s,listeners:a,setNodeRef:c,transform:u,transition:f,isDragging:d}=zi({id:e.id,data:{containerId:r,index:t},disabled:Se(i)}),g={transform:Ee.Translate.toString(u),transition:f,opacity:d?0:void 0},p=yr(`${mt("","aria-describedby",s)} ${Kt}`);return v.jsx(jt,{ref:c,item:e,itemRenderer:n,dropZoneLabel:r,itemButtonProps:o,canDrag:i,style:g,dragHandleProps:{...s,...a},describedBy:p})};rn.propTypes={item:P.object,index:P.number,itemRenderer:P.func,dropZoneLabel:P.string,onChangeLayout:P.func,itemButtonProps:P.object,handleChangeBox:P.func,canDrag:P.bool,dropZoneIndex:P.number};jt.__docgenInfo={description:"Presentational item used both by the in-list sortable item and by the\nDragOverlay floating copy. Carries the visual styling only; drag wiring\n(refs / listeners) is injected by the caller via `dragHandleProps` / `ref`.",methods:[],displayName:"ItemBody"};rn.__docgenInfo={description:"",methods:[],displayName:"DnDItem",props:{item:{description:"",type:{name:"object"},required:!1},index:{description:"",type:{name:"number"},required:!1},itemRenderer:{description:"",type:{name:"func"},required:!1},dropZoneLabel:{description:"",type:{name:"string"},required:!1},onChangeLayout:{description:"",type:{name:"func"},required:!1},itemButtonProps:{description:"",type:{name:"object"},required:!1},handleChangeBox:{description:"",type:{name:"func"},required:!1},canDrag:{description:"",type:{name:"bool"},required:!1},dropZoneIndex:{description:"",type:{name:"number"},required:!1}}};const qi=Wt(e=>({blockDnd:{width:"100%",paddingBottom:e.spacing(1),marginTop:e.spacing(.5),marginRight:e.spacing(1),minHeight:30,marginBottom:e.spacing(1),borderRadius:e.spacing(.5),borderWidth:2,borderStyle:"solid"},canDrop:{borderStyle:"dashed"},[`${W.sections}Container`]:{borderColor:qt(e)||e.palette.secondary.dark},[`${W.rows}Container`]:{borderColor:Vt(e)||e.palette.secondary.light},[`${W.header}Container`]:{borderColor:e.palette.primary.main},iconTitle:{display:"flex",flexDirection:"row",alignItems:"center",flexFlow:"nowrap"},title:e.typography.subtitle1})),Qe=({items:e,itemRenderer:t,dropZoneLabel:n,title:r,Icon:o,onChangeLayout:i,itemButtonProps:s,accessibility:a,md:c})=>{const u=qi(),f=_t(e),d=et(F("id"),f),g=me(n,W.rows)?Ae(Me,Cr(1))(e):Dr(),{setNodeRef:p,active:C,over:h}=Jn({id:n,data:{containerId:n}}),m=Sr(["data","current","containerId"],h),y=!q(C)&&me(m,n);return v.jsxs(J,{item:!0,xs:a?4:12,md:c,children:[v.jsxs("div",{className:u.iconTitle,children:[v.jsx(o,{}),v.jsx("span",{className:u.title,children:r}),v.jsx(Pe,{style:Tn,children:r})]}),v.jsx(Ti,{id:n,items:d,strategy:Ii,children:v.jsx("div",{"data-testid":`droppable-${n}`,ref:p,className:xt(u.blockDnd,F(`${n}Container`)(u),{[u.canDrop]:y}),children:Rr(et)((b,x)=>v.jsx(rn,{index:x,item:b,itemRenderer:t,dropZoneLabel:n,onChangeLayout:i,itemButtonProps:s,canDrag:g},b.id))(f)})})]})};Qe.propTypes={items:P.array,itemRenderer:P.func,dropZoneLabel:P.string,title:P.oneOfType([P.string,P.element]),Icon:P.object,onChangeLayout:P.func,putItem:P.func,itemButtonProps:P.object,accessibility:P.bool,md:P.number};Qe.__docgenInfo={description:"",methods:[],displayName:"Box",props:{items:{description:"",type:{name:"array"},required:!1},itemRenderer:{description:"",type:{name:"func"},required:!1},dropZoneLabel:{description:"",type:{name:"string"},required:!1},title:{description:"",type:{name:"union",value:[{name:"string"},{name:"element"}]},required:!1},Icon:{description:"",type:{name:"object"},required:!1},onChangeLayout:{description:"",type:{name:"func"},required:!1},putItem:{description:"",type:{name:"func"},required:!1},itemButtonProps:{description:"",type:{name:"object"},required:!1},accessibility:{description:"",type:{name:"bool"},required:!1},md:{description:"",type:{name:"number"},required:!1}}};const In=({dragIndex:e,hoverIndex:t,dragZone:n,dropZone:r,currentLayout:o})=>{if(me(n,r))return vt(bt(r),xr(e,t),o);const i=Ae(F(n),On(e))(o);return Ae(vt(bt(n),Ir([i])),vt(bt(r),wr(t,i)))(o)},Hi=(e,t)=>{const n=Ae(_t,Or,Mn(me(t)))(e);return!q(n)},de=(e,t)=>_e(t,e)?t:Ae(Er,Mn(([,n])=>gr(t,n)),On(0))(e),Xi=Wt(e=>({dnd:{userSelect:"none"},buttonContainer:{margin:e.spacing(2,0)},iconTitle:{display:"flex",flexDirection:"row",alignItems:"center",flexFlow:"nowrap"},activationButton:{backgroundColor:e.palette.action.hover,"&:hover":{backgroundColor:e.palette.action.selected}}})),Yi={},Ui=[],Ki={},ir=({layout:e=Yi,items:t=Ui,optionalItem:n=Ki,itemRenderer:r=F("name"),itemButtonProps:o,labels:i,commit:s,noPreview:a,accessibility:c})=>{const u=Xi(),[f,d]=l.useState(e),g={[W.header]:i.column||W.header,[W.sections]:i.section||W.sections,[W.rows]:i.row||W.rows};l.useEffect(()=>{d(e)},[e]);const p=l.useMemo(()=>{const w=Mr(F("id"),t);return!Ht(n)&&!q(n)?Ar(n.id,n,w):w},[t,n]),C=so(gn(tn,{activationConstraint:{distance:8}}),gn(Qt,{coordinateGetter:$i})),[h,m]=l.useState(null),y=l.useRef(null),b=l.useRef(f);b.current=f;const x=()=>{const w=vt(bt("header"),Pr(n.id),f);d(w)},E=()=>{d(et(zr(me(n.id)),f))},O=()=>{Te(Function)(s)&&s(f)},T=()=>{Te(Function)(d)&&d(e)},D=({active:w})=>{y.current=f,m(w.id)},R=({active:w,over:M})=>{q(M)||d(z=>{const S=de(z,w.id),j=de(z,M.id);if(q(S)||q(j)||me(S,j))return z;const $=Oe(w.id,z[S]),re=_e(M.id,z)?Me(z[j]):Oe(M.id,z[j]);return In({dragIndex:$,hoverIndex:re,dragZone:S,dropZone:j,currentLayout:z})})},L=({active:w,over:M})=>{const z=y.current;if(m(null),y.current=null,q(M)){q(z)||d(z);return}d(S=>{const j=de(S,w.id),$=de(S,M.id);if(q(j)||q($)||Se(me(j,$)))return S;const re=Oe(w.id,S[$]),U=_e(M.id,S)?Me(S[$])-1:Oe(M.id,S[$]);return U<0||me(re,U)?S:In({dragIndex:re,hoverIndex:U,dragZone:j,dropZone:$,currentLayout:S})})},B=()=>{const w=y.current;y.current=null,m(null),q(w)||d(w)},A={onDragStart:({active:w})=>{if(Se(Te(Function,i.wcagDragStart)))return;const M=de(b.current,w.id),z=Oe(w.id,mt([],M,b.current));return i.wcagDragStart({dragZone:F(M,g),droppableId:M,index:z+1,dragLabel:r(F(w.id,p))})},onDragOver:({active:w,over:M})=>{if(q(M)||Se(Te(Function,i.wcagDragUpdate)))return;const z=de(y.current||b.current,w.id),S=de(b.current,M.id);if(q(S))return;const j=mt([],S,b.current),$=_e(M.id,b.current)?Me(j):Oe(M.id,j),re=me(S,z)?Me(j):Me(j)+1;return i.wcagDragUpdate({dropZone:F(S,g),dragZone:F(z,g),index:$+1,length:re})},onDragEnd:({active:w,over:M})=>{if(q(M)||Se(Te(Function,i.wcagDragEnd)))return;const z=de(y.current||b.current,w.id),S=de(b.current,M.id);if(q(S))return;const j=mt([],S,b.current),$=_e(M.id,b.current)?Me(j)-1:Oe(M.id,j);return i.wcagDragEnd({dropZone:F(S,g),dragZone:F(z,g),index:$+1})},onDragCancel:()=>Te(String,i.wcagDragCancel)?i.wcagDragCancel:void 0},Z=Te(String,i.wcagDragExplanation)?{draggable:i.wcagDragExplanation}:void 0,G=q(h)?null:F(h,p),ne=q(h)?null:de(y.current||f,h),fe=w=>Ae(F(w),M=>ft(M,p),kr(Br))(f),Ie=v.jsx(Qe,{title:i.column,Icon:Hr,items:fe("header"),labels:i,dropZoneLabel:W.header,itemRenderer:r,itemButtonProps:o,accessibility:c,md:c?4:6}),Y=v.jsxs(l.Fragment,{children:[v.jsx(Qe,{title:i.section,Icon:Vr,items:fe("sections"),labels:i,dropZoneLabel:W.sections,itemRenderer:r,itemButtonProps:o,accessibility:c,md:c?4:12}),v.jsx(Qe,{title:i.row,Icon:Xr,items:fe("rows"),labels:i,dropZoneLabel:W.rows,itemRenderer:r,itemButtonProps:o,accessibility:c,md:c?4:12})]}),ve=Hi(f,F("id",n));return v.jsxs(J,{"data-testid":"table-layout-test-id",container:!0,children:[v.jsx("div",{id:Kt,"aria-live":"assertive",style:{display:"none"},children:i.wcagDragExplanation}),v.jsxs(ii,{sensors:C,collisionDetection:kn,onDragStart:D,onDragOver:R,onDragEnd:L,onDragCancel:B,accessibility:{announcements:A,...Z?{screenReaderInstructions:Z}:{}},children:[v.jsxs(J,{container:!0,direction:"row",spacing:1,className:u.dnd,children:[v.jsx(J,{item:!0,xs:12,children:v.jsxs(J,{container:!0,spacing:1,children:[v.jsxs(J,{tabIndex:0,item:!0,xs:12,md:c?12:6,children:[v.jsx("span",{children:i.help}),v.jsx(Pe,{style:Tn,children:i.wcagDragExplanation})]}),Se(c)&&Ie]})}),v.jsxs(J,{container:!0,spacing:1,children:[c&&Ie,c&&Y,Se(c)&&v.jsx(J,{item:!0,xs:12,md:6,children:Y}),!a&&v.jsxs(J,{item:!0,xs:12,md:c?12:6,className:xt(u.wrapper),children:[v.jsxs("div",{className:u.iconTitle,children:[v.jsx(Yr,{}),v.jsx(Pe,{tabIndex:0,variant:"subtitle1",children:i.table})]}),v.jsx(mr,{header:ft(F("header",f),p),sections:ft(F("sections",f),p),rows:ft(F("rows",f),p),itemRenderer:r})]})]})]}),v.jsx(Di,{children:G?v.jsx(jt,{item:G,itemRenderer:r,dropZoneLabel:ne,itemButtonProps:o,canDrag:!0,describedBy:Kt}):null})]}),v.jsxs(J,{container:!0,justifyContent:"space-between",className:u.buttonContainer,spacing:1,children:[v.jsx(J,{item:!0,"data-testid":ve?"table-layout-deactivate-optional":"table-layout-activate-optional",children:!q(n)&&!Ht(n)&&v.jsx(Nr,{control:v.jsx(jr,{name:"checkedB",color:"primary"}),label:v.jsx(Pe,{variant:"body2",className:u.activationButton,children:F("activationLabel",n)}),className:u.activationButton,checked:ve,onChange:ve?E:x})}),v.jsx(J,{item:!0,children:v.jsx(J,{container:!0,justifyContent:"flex-end",display:"flex",spacing:1,children:et(w=>v.jsx(J,{item:!0,"data-testid":w["data-testid"],children:v.jsx(Tr,{"aria-label":w.label,color:"primary",...w,children:v.jsx(Pe,{variant:"body2",children:w.label})})},w.id))([{id:2,label:i.cancel,onClick:T,startIcon:v.jsx(qr,{}),"datatest-id":"table-layout-cancel"},{id:1,label:i.commit,onClick:O,startIcon:v.jsx(Lr,{}),variant:"contained",alternative:"siscc",className:u.applyButton,"data-testid":"table-layout-apply"}])})})]})]})},Wi=hr(({layout:e=[],isBlank:t})=>({isBlank:$r(t,Ae(_t,Fr(Ht))(e))}))(ir);ir.__docgenInfo={description:"",methods:[],displayName:"CustomTableLayout",props:{layout:{defaultValue:{value:"{}",computed:!1},required:!1},items:{defaultValue:{value:"[]",computed:!1},required:!1},optionalItem:{defaultValue:{value:"{}",computed:!1},required:!1},itemRenderer:{defaultValue:{value:"R.prop('name')",computed:!0},required:!1}}};const ja={title:"Example/TableLayout",component:Wi,tags:["autodocs"]},ht={};ht.parameters={...ht.parameters,docs:{...ht.parameters?.docs,source:{originalSource:"{}",...ht.parameters?.docs?.source}}};const La=["Default"];export{ht as Default,La as __namedExportsOrder,ja as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{T as o}from"./ToggleButton-kyBMi8Bb.js";import"./iframe-Bn2bKXnF.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CZNa6F-A.js";import"./Button-D6Nq6IjC.js";import"./styled-xcNfGM4O.js";import"./ButtonBase-XMgfmL4Z.js";import"./TransitionGroupContext-Ct0fmffr.js";import"./KeyboardArrowUp-B1wA3hiR.js";import"./createSvgIcon-Dj4hOazC.js";import"./SvgIcon-B4E5RqVY.js";import"./is-D-2gRytX.js";import"./_isString-qgG10cDy.js";import"./_curry1-DZES3h6F.js";import"./makeStyles-C-jh_7fl.js";import"./path-DwLTp3pU.js";const B={title:"Example/ToggleButton",component:o,tags:["autodocs"]},t={};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:"{}",...t.parameters?.docs?.source}}};const D=["Default"];export{t as Default,D as __namedExportsOrder,B as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{T as t}from"./Tooltip-CWLtiFPL.js";import"./iframe-Bn2bKXnF.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CZNa6F-A.js";import"./Tooltip-DJ2_mly-.js";import"./styled-xcNfGM4O.js";import"./Grow-B1sx8BUV.js";import"./index-BgzAW8PA.js";import"./index-qDpFFwpw.js";import"./TransitionGroupContext-Ct0fmffr.js";import"./useTheme-Y4A67ZcC.js";import"./utils-Bp2ftAKh.js";import"./useControlled-BJx2XeQR.js";import"./useSlotProps-DuAgyec7.js";import"./ownerDocument-DW-IO8s5.js";import"./prop-D5hAeHhE.js";import"./_isString-qgG10cDy.js";import"./_curry1-DZES3h6F.js";import"./path-DwLTp3pU.js";import"./makeStyles-C-jh_7fl.js";import"./pathOr-BmjUXfCm.js";import"./_curry3-B7ARCYrl.js";const h={title:"Example/Tooltip",component:t,tags:["autodocs"]},o={};o.parameters={...o.parameters,docs:{...o.parameters?.docs,source:{originalSource:"{}",...o.parameters?.docs?.source}}};const j=["Default"];export{o as Default,j as __namedExportsOrder,h as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{V as o}from"./VerticalButton-DNgFBbD5.js";import"./iframe-Bn2bKXnF.js";import"./preload-helper-PPVm8Dsz.js";import"./Button-BKUtAjYE.js";import"./index-CZNa6F-A.js";import"./Button-D6Nq6IjC.js";import"./styled-xcNfGM4O.js";import"./ButtonBase-XMgfmL4Z.js";import"./TransitionGroupContext-Ct0fmffr.js";import"./omit-DlVJ9qIR.js";import"./_isString-qgG10cDy.js";import"./_curry1-DZES3h6F.js";import"./prop-D5hAeHhE.js";import"./path-DwLTp3pU.js";import"./makeStyles-C-jh_7fl.js";import"./CircularProgress-CjbioiSX.js";const B={title:"Example/VerticalButton",component:o,tags:["autodocs"]},t={};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:"{}",...t.parameters?.docs?.source}}};const D=["Default"];export{t as Default,D as __namedExportsOrder,B as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i}from"./DocsRenderer-JROSPFPF-BHk028UB.js";import{l as o,m as t}from"./iframe-Bn2bKXnF.js";import"./preload-helper-PPVm8Dsz.js";import"./client-BN6FmJpN.js";import"./index-qDpFFwpw.js";import"./index-BgzAW8PA.js";var e=t(i(),1),l=(0,e.default)(2)(async(m,r)=>m===!1?r:o(r));export{l as formatter};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as r}from"./iframe-Bn2bKXnF.js";import{r as o}from"./index-qDpFFwpw.js";var t=o();const m=r(t);export{m as R,t as r};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{_ as v}from"./_isString-qgG10cDy.js";import{b as f}from"./toString-CZqbYCtr.js";import{_ as s}from"./keys-MRUazFsh.js";import{_ as m}from"./_curry3-B7ARCYrl.js";import{_ as c}from"./_curry1-DZES3h6F.js";var A=v(function(r,e){return typeof e.indexOf=="function"&&!s(e)?e.indexOf(r):f(e,r,0)}),O=m(function(r,e,n){r=r<n.length&&r>=0?r:n.length;var u=Array.prototype.slice.call(n,0);return u.splice(r,0,e),u}),R=m(function(t,r,e){var n=e.length,u=e.slice(),o=t<0?n+t:t,i=r<0?n+r:r,p=u.splice(o,1);return o<0||o>=e.length||i<0||i>=e.length?e:[].concat(u.slice(0,i)).concat(p).concat(u.slice(i,e.length))}),a=`
|
|
2
|
-
\v\f\r \u2028\u2029\uFEFF`,l="",g=typeof String.prototype.trim=="function",b=!g||a.trim()||!l.trim()?c(function(r){var e=new RegExp("^["+a+"]["+a+"]*"),n=new RegExp("["+a+"]["+a+"]*$");return r.replace(e,"").replace(n,"")}):c(function(r){return r.trim()});export{A as a,O as i,R as m,b as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as s,T as t,d as m}from"./iframe-Bn2bKXnF.js";function a(){const e=s(m);return e[t]||e}export{a as u};
|