@osdk/cbac-components 0.1.0-beta.1 → 0.1.0-beta.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.
Files changed (68) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/build/browser/cbac-picker/base/CategoryMarkingGroup.js +80 -0
  3. package/build/browser/cbac-picker/base/CategoryMarkingGroup.js.map +1 -0
  4. package/build/browser/cbac-picker/base/CategoryMarkingGroup.module.css +44 -0
  5. package/build/browser/cbac-picker/base/CategoryMarkingGroup.module.css.js +9 -0
  6. package/build/browser/cbac-picker/base/InfoBanner.js +32 -0
  7. package/build/browser/cbac-picker/base/InfoBanner.js.map +1 -0
  8. package/build/browser/cbac-picker/base/InfoBanner.module.css +30 -0
  9. package/build/browser/cbac-picker/base/InfoBanner.module.css.js +7 -0
  10. package/build/browser/cbac-picker/base/MarkingButton.js +42 -0
  11. package/build/browser/cbac-picker/base/MarkingButton.js.map +1 -0
  12. package/build/browser/cbac-picker/base/MarkingButton.module.css +76 -0
  13. package/build/browser/cbac-picker/base/MarkingButton.module.css.js +10 -0
  14. package/build/browser/cbac-picker/base/OverflowButton.js +50 -0
  15. package/build/browser/cbac-picker/base/OverflowButton.js.map +1 -0
  16. package/build/browser/cbac-picker/base/OverflowButton.module.css +57 -0
  17. package/build/browser/cbac-picker/base/OverflowButton.module.css.js +8 -0
  18. package/build/browser/cbac-picker/base/OverflowItem.js +42 -0
  19. package/build/browser/cbac-picker/base/OverflowItem.js.map +1 -0
  20. package/build/browser/cbac-picker/base/OverflowItem.module.css +51 -0
  21. package/build/browser/cbac-picker/base/OverflowItem.module.css.js +8 -0
  22. package/build/browser/cbac-picker/base/ValidationWarning.js +44 -0
  23. package/build/browser/cbac-picker/base/ValidationWarning.js.map +1 -0
  24. package/build/browser/cbac-picker/base/ValidationWarning.module.css +71 -0
  25. package/build/browser/cbac-picker/base/ValidationWarning.module.css.js +12 -0
  26. package/build/browser/cbac-picker/base/selectionStateHelpers.js +26 -0
  27. package/build/browser/cbac-picker/base/selectionStateHelpers.js.map +1 -0
  28. package/build/browser/cbac-picker/types.js.map +1 -1
  29. package/build/browser/styles.css +347 -0
  30. package/build/cjs/public/experimental.d.cts +1 -1
  31. package/build/esm/cbac-picker/base/CategoryMarkingGroup.js +80 -0
  32. package/build/esm/cbac-picker/base/CategoryMarkingGroup.js.map +1 -0
  33. package/build/esm/cbac-picker/base/CategoryMarkingGroup.module.css +44 -0
  34. package/build/esm/cbac-picker/base/InfoBanner.js +32 -0
  35. package/build/esm/cbac-picker/base/InfoBanner.js.map +1 -0
  36. package/build/esm/cbac-picker/base/InfoBanner.module.css +30 -0
  37. package/build/esm/cbac-picker/base/MarkingButton.js +42 -0
  38. package/build/esm/cbac-picker/base/MarkingButton.js.map +1 -0
  39. package/build/esm/cbac-picker/base/MarkingButton.module.css +76 -0
  40. package/build/esm/cbac-picker/base/OverflowButton.js +50 -0
  41. package/build/esm/cbac-picker/base/OverflowButton.js.map +1 -0
  42. package/build/esm/cbac-picker/base/OverflowButton.module.css +57 -0
  43. package/build/esm/cbac-picker/base/OverflowItem.js +42 -0
  44. package/build/esm/cbac-picker/base/OverflowItem.js.map +1 -0
  45. package/build/esm/cbac-picker/base/OverflowItem.module.css +51 -0
  46. package/build/esm/cbac-picker/base/ValidationWarning.js +44 -0
  47. package/build/esm/cbac-picker/base/ValidationWarning.js.map +1 -0
  48. package/build/esm/cbac-picker/base/ValidationWarning.module.css +71 -0
  49. package/build/esm/cbac-picker/base/selectionStateHelpers.js +26 -0
  50. package/build/esm/cbac-picker/base/selectionStateHelpers.js.map +1 -0
  51. package/build/esm/cbac-picker/types.js.map +1 -1
  52. package/build/types/cbac-picker/base/CategoryMarkingGroup.d.ts +13 -0
  53. package/build/types/cbac-picker/base/CategoryMarkingGroup.d.ts.map +1 -0
  54. package/build/types/cbac-picker/base/InfoBanner.d.ts +6 -0
  55. package/build/types/cbac-picker/base/InfoBanner.d.ts.map +1 -0
  56. package/build/types/cbac-picker/base/MarkingButton.d.ts +9 -0
  57. package/build/types/cbac-picker/base/MarkingButton.d.ts.map +1 -0
  58. package/build/types/cbac-picker/base/OverflowButton.d.ts +13 -0
  59. package/build/types/cbac-picker/base/OverflowButton.d.ts.map +1 -0
  60. package/build/types/cbac-picker/base/OverflowItem.d.ts +10 -0
  61. package/build/types/cbac-picker/base/OverflowItem.d.ts.map +1 -0
  62. package/build/types/cbac-picker/base/ValidationWarning.d.ts +7 -0
  63. package/build/types/cbac-picker/base/ValidationWarning.d.ts.map +1 -0
  64. package/build/types/cbac-picker/base/selectionStateHelpers.d.ts +4 -0
  65. package/build/types/cbac-picker/base/selectionStateHelpers.d.ts.map +1 -0
  66. package/build/types/cbac-picker/types.d.ts +1 -1
  67. package/build/types/cbac-picker/types.d.ts.map +1 -1
  68. package/package.json +3 -3
@@ -0,0 +1,44 @@
1
+ /*
2
+ * Copyright 2026 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ import { WarningSign } from "@blueprintjs/icons";
18
+ import classnames from "classnames";
19
+ import React from "react";
20
+ import styles from "./ValidationWarning.module.css.js";
21
+ export function ValidationWarning({
22
+ requiredMarkingGroups,
23
+ className
24
+ }) {
25
+ return /*#__PURE__*/React.createElement("div", {
26
+ className: classnames(styles.validationWarning, className)
27
+ }, /*#__PURE__*/React.createElement("div", {
28
+ className: styles.header
29
+ }, /*#__PURE__*/React.createElement(WarningSign, {
30
+ className: styles.icon,
31
+ size: 14
32
+ }), /*#__PURE__*/React.createElement("span", null, "To complete a valid classification, at least one marking from each of the following sets needs to be selected:")), /*#__PURE__*/React.createElement("ol", {
33
+ className: styles.groupList
34
+ }, requiredMarkingGroups.map((group, index) => /*#__PURE__*/React.createElement("li", {
35
+ key: group.markingNames.join(","),
36
+ className: styles.groupItem
37
+ }, /*#__PURE__*/React.createElement("span", {
38
+ className: styles.groupNumber
39
+ }, index + 1, "."), group.markingNames.map(name => /*#__PURE__*/React.createElement("span", {
40
+ key: name,
41
+ className: styles.chip
42
+ }, name))))));
43
+ }
44
+ //# sourceMappingURL=ValidationWarning.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ValidationWarning.js","names":["WarningSign","classnames","React","styles","ValidationWarning","requiredMarkingGroups","className","createElement","validationWarning","header","icon","size","groupList","map","group","index","key","markingNames","join","groupItem","groupNumber","name","chip"],"sources":["ValidationWarning.tsx"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { WarningSign } from \"@blueprintjs/icons\";\nimport classnames from \"classnames\";\nimport React from \"react\";\nimport type { RequiredMarkingGroup } from \"../types.js\";\nimport styles from \"./ValidationWarning.module.css\";\n\nexport interface ValidationWarningProps {\n requiredMarkingGroups: ReadonlyArray<RequiredMarkingGroup>;\n className?: string;\n}\n\nexport function ValidationWarning({\n requiredMarkingGroups,\n className,\n}: ValidationWarningProps): React.ReactElement {\n return (\n <div className={classnames(styles.validationWarning, className)}>\n <div className={styles.header}>\n <WarningSign className={styles.icon} size={14} />\n <span>\n To complete a valid classification, at least one marking from each of\n the following sets needs to be selected:\n </span>\n </div>\n <ol className={styles.groupList}>\n {requiredMarkingGroups.map((group, index) => (\n <li key={group.markingNames.join(\",\")} className={styles.groupItem}>\n <span className={styles.groupNumber}>{index + 1}.</span>\n {group.markingNames.map((name) => (\n <span key={name} className={styles.chip}>{name}</span>\n ))}\n </li>\n ))}\n </ol>\n </div>\n );\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,WAAW,QAAQ,oBAAoB;AAChD,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,KAAK,MAAM,OAAO;AAEzB,OAAOC,MAAM,MAAM,gCAAgC;AAOnD,OAAO,SAASC,iBAAiBA,CAAC;EAChCC,qBAAqB;EACrBC;AACsB,CAAC,EAAsB;EAC7C,oBACEJ,KAAA,CAAAK,aAAA;IAAKD,SAAS,EAAEL,UAAU,CAACE,MAAM,CAACK,iBAAiB,EAAEF,SAAS;EAAE,gBAC9DJ,KAAA,CAAAK,aAAA;IAAKD,SAAS,EAAEH,MAAM,CAACM;EAAO,gBAC5BP,KAAA,CAAAK,aAAA,CAACP,WAAW;IAACM,SAAS,EAAEH,MAAM,CAACO,IAAK;IAACC,IAAI,EAAE;EAAG,CAAE,CAAC,eACjDT,KAAA,CAAAK,aAAA,eAAM,gHAGA,CACH,CAAC,eACNL,KAAA,CAAAK,aAAA;IAAID,SAAS,EAAEH,MAAM,CAACS;EAAU,GAC7BP,qBAAqB,CAACQ,GAAG,CAAC,CAACC,KAAK,EAAEC,KAAK,kBACtCb,KAAA,CAAAK,aAAA;IAAIS,GAAG,EAAEF,KAAK,CAACG,YAAY,CAACC,IAAI,CAAC,GAAG,CAAE;IAACZ,SAAS,EAAEH,MAAM,CAACgB;EAAU,gBACjEjB,KAAA,CAAAK,aAAA;IAAMD,SAAS,EAAEH,MAAM,CAACiB;EAAY,GAAEL,KAAK,GAAG,CAAC,EAAC,GAAO,CAAC,EACvDD,KAAK,CAACG,YAAY,CAACJ,GAAG,CAAEQ,IAAI,iBAC3BnB,KAAA,CAAAK,aAAA;IAAMS,GAAG,EAAEK,IAAK;IAACf,SAAS,EAAEH,MAAM,CAACmB;EAAK,GAAED,IAAW,CACtD,CACC,CACL,CACC,CACD,CAAC;AAEV","ignoreList":[]}
@@ -0,0 +1,71 @@
1
+ /*
2
+ * Copyright 2026 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ .validationWarning {
18
+ display: flex;
19
+ flex-direction: column;
20
+ gap: calc(var(--osdk-surface-spacing) * 1.5);
21
+ padding: var(--osdk-cbac-validation-warning-padding);
22
+ background: var(--osdk-cbac-validation-warning-bg);
23
+ color: var(--osdk-cbac-validation-warning-color);
24
+ font-size: var(--osdk-cbac-validation-warning-font-size);
25
+ border-radius: var(--osdk-cbac-validation-warning-border-radius);
26
+ max-height: var(--osdk-cbac-validation-warning-max-height);
27
+ overflow-y: auto;
28
+ }
29
+
30
+ .header {
31
+ display: flex;
32
+ align-items: center;
33
+ gap: calc(var(--osdk-surface-spacing) * 1.5);
34
+ }
35
+
36
+ .icon {
37
+ flex-shrink: 0;
38
+ }
39
+
40
+ .groupList {
41
+ list-style: none;
42
+ margin: 0;
43
+ padding: 0;
44
+ padding-left: calc(var(--osdk-surface-spacing) * 3);
45
+ display: flex;
46
+ flex-direction: column;
47
+ gap: var(--osdk-surface-spacing);
48
+ }
49
+
50
+ .groupItem {
51
+ display: flex;
52
+ align-items: center;
53
+ gap: var(--osdk-surface-spacing);
54
+ flex-wrap: wrap;
55
+ }
56
+
57
+ .groupNumber {
58
+ font-weight: var(--osdk-typography-weight-bold);
59
+ flex-shrink: 0;
60
+ }
61
+
62
+ .chip {
63
+ display: inline-flex;
64
+ align-items: center;
65
+ padding: 0 var(--osdk-surface-spacing);
66
+ border: 1px solid var(--osdk-cbac-validation-warning-chip-border-color);
67
+ border-radius: var(--osdk-surface-border-radius);
68
+ background: var(--osdk-cbac-validation-warning-chip-bg);
69
+ font-size: var(--osdk-cbac-validation-warning-font-size);
70
+ color: var(--osdk-typography-color-default-rest);
71
+ }
@@ -0,0 +1,12 @@
1
+ // CSS Module proxy for ValidationWarning.module.css
2
+ const styles = {
3
+ "validationWarning": "ValidationWarning-module__validationWarning___oADBKhG-",
4
+ "header": "ValidationWarning-module__header___ylq-kIOW",
5
+ "icon": "ValidationWarning-module__icon___PuGol1EB",
6
+ "groupList": "ValidationWarning-module__groupList___ua5t3Rm2",
7
+ "groupItem": "ValidationWarning-module__groupItem___0BGH5HxZ",
8
+ "groupNumber": "ValidationWarning-module__groupNumber___rTdfnH3f",
9
+ "chip": "ValidationWarning-module__chip___3EH1UeL0"
10
+ };
11
+
12
+ export default styles;
@@ -0,0 +1,26 @@
1
+ /*
2
+ * Copyright 2026 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ export function isDisallowed(state) {
18
+ return state === "DISALLOWED" || state === "IMPLIED_DISALLOWED";
19
+ }
20
+ export function isImplied(state) {
21
+ return state === "IMPLIED" || state === "IMPLIED_DISALLOWED";
22
+ }
23
+ export function getDisplayLabel(label, state) {
24
+ return isImplied(state) ? `(${label})` : label;
25
+ }
26
+ //# sourceMappingURL=selectionStateHelpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectionStateHelpers.js","names":["isDisallowed","state","isImplied","getDisplayLabel","label"],"sources":["selectionStateHelpers.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { MarkingSelectionState } from \"../types.js\";\n\nexport function isDisallowed(state: MarkingSelectionState): boolean {\n return state === \"DISALLOWED\" || state === \"IMPLIED_DISALLOWED\";\n}\n\nexport function isImplied(state: MarkingSelectionState): boolean {\n return state === \"IMPLIED\" || state === \"IMPLIED_DISALLOWED\";\n}\n\nexport function getDisplayLabel(\n label: string,\n state: MarkingSelectionState,\n): string {\n return isImplied(state) ? `(${label})` : label;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA,OAAO,SAASA,YAAYA,CAACC,KAA4B,EAAW;EAClE,OAAOA,KAAK,KAAK,YAAY,IAAIA,KAAK,KAAK,oBAAoB;AACjE;AAEA,OAAO,SAASC,SAASA,CAACD,KAA4B,EAAW;EAC/D,OAAOA,KAAK,KAAK,SAAS,IAAIA,KAAK,KAAK,oBAAoB;AAC9D;AAEA,OAAO,SAASE,eAAeA,CAC7BC,KAAa,EACbH,KAA4B,EACpB;EACR,OAAOC,SAAS,CAACD,KAAK,CAAC,GAAG,IAAIG,KAAK,GAAG,GAAGA,KAAK;AAChD","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","names":[],"sources":["types.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport type MarkingSelectionState =\n | \"SELECTED\"\n | \"IMPLIED\"\n | \"DISALLOWED\"\n | \"IMPLIED_DISALLOWED\";\n\nexport interface CbacBannerData {\n classificationString: string;\n textColor: string;\n backgroundColors: string[];\n markingIds: string[];\n}\n\nexport interface PickerMarkingCategory {\n id: string;\n name: string;\n description: string;\n categoryType: \"CONJUNCTIVE\" | \"DISJUNCTIVE\";\n markingType: \"MANDATORY\" | \"CBAC\";\n}\n\nexport interface PickerMarking {\n id: string;\n categoryId: string;\n name: string;\n description?: string;\n}\n\nexport interface CategoryMarkingGroup {\n category: PickerMarkingCategory;\n markings: PickerMarking[];\n}\n\nexport interface RequiredMarkingGroup {\n markingNames: string[];\n}\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"types.js","names":[],"sources":["types.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport type MarkingSelectionState =\n | \"NONE\"\n | \"SELECTED\"\n | \"IMPLIED\"\n | \"DISALLOWED\"\n | \"IMPLIED_DISALLOWED\";\n\nexport interface CbacBannerData {\n classificationString: string;\n textColor: string;\n backgroundColors: string[];\n markingIds: string[];\n}\n\nexport interface PickerMarkingCategory {\n id: string;\n name: string;\n description: string;\n categoryType: \"CONJUNCTIVE\" | \"DISJUNCTIVE\";\n markingType: \"MANDATORY\" | \"CBAC\";\n}\n\nexport interface PickerMarking {\n id: string;\n categoryId: string;\n name: string;\n description?: string;\n}\n\nexport interface CategoryMarkingGroup {\n category: PickerMarkingCategory;\n markings: PickerMarking[];\n}\n\nexport interface RequiredMarkingGroup {\n markingNames: string[];\n}\n"],"mappings":"","ignoreList":[]}
@@ -1,2 +1,349 @@
1
1
  /* @osdk/cbac-components - Combined styles */
2
2
 
3
+ /* cbac-picker/base/CategoryMarkingGroup.module.css */
4
+ /*
5
+ * Copyright 2026 Palantir Technologies, Inc. All rights reserved.
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */
19
+
20
+ .CategoryMarkingGroup-module__categoryGroup___YLFH-t86 {
21
+ display: flex;
22
+ flex-direction: column;
23
+ gap: var(--osdk-cbac-marking-button-gap);
24
+ }
25
+
26
+ .CategoryMarkingGroup-module__categoryName___7n2BZ6EY {
27
+ font-size: var(--osdk-cbac-picker-category-title-font-size);
28
+ font-weight: var(--osdk-cbac-picker-category-title-font-weight);
29
+ color: var(--osdk-cbac-picker-category-title-color);
30
+ letter-spacing: var(--osdk-cbac-picker-category-title-letter-spacing);
31
+ margin: 0;
32
+ }
33
+
34
+ .CategoryMarkingGroup-module__markingGrid___1y6ahlKa {
35
+ display: grid;
36
+ grid-template-columns: repeat(
37
+ var(--osdk-cbac-picker-marking-grid-columns),
38
+ 1fr
39
+ );
40
+ border-top: 1px solid var(--osdk-cbac-picker-marking-grid-border-color);
41
+ border-left: 1px solid var(--osdk-cbac-picker-marking-grid-border-color);
42
+ }
43
+
44
+ .CategoryMarkingGroup-module__emptyCell___ByBo51l5 {
45
+ border-right: 1px solid var(--osdk-cbac-marking-button-border-color-default);
46
+ border-bottom: 1px solid var(--osdk-cbac-marking-button-border-color-default);
47
+ }
48
+
49
+
50
+ /* cbac-picker/base/InfoBanner.module.css */
51
+ /*
52
+ * Copyright 2026 Palantir Technologies, Inc. All rights reserved.
53
+ *
54
+ * Licensed under the Apache License, Version 2.0 (the "License");
55
+ * you may not use this file except in compliance with the License.
56
+ * You may obtain a copy of the License at
57
+ *
58
+ * http://www.apache.org/licenses/LICENSE-2.0
59
+ *
60
+ * Unless required by applicable law or agreed to in writing, software
61
+ * distributed under the License is distributed on an "AS IS" BASIS,
62
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
63
+ * See the License for the specific language governing permissions and
64
+ * limitations under the License.
65
+ */
66
+
67
+ .InfoBanner-module__infoBanner___UqeHvalP {
68
+ display: flex;
69
+ align-items: center;
70
+ gap: calc(var(--osdk-surface-spacing) * 1.5);
71
+ padding: var(--osdk-cbac-info-banner-padding);
72
+ background: var(--osdk-cbac-info-banner-bg);
73
+ color: var(--osdk-cbac-info-banner-color);
74
+ font-size: var(--osdk-cbac-info-banner-font-size);
75
+ border-radius: var(--osdk-cbac-info-banner-border-radius);
76
+ }
77
+
78
+ .InfoBanner-module__icon___Pl0HKY0f {
79
+ flex-shrink: 0;
80
+ }
81
+
82
+
83
+ /* cbac-picker/base/MarkingButton.module.css */
84
+ /*
85
+ * Copyright 2026 Palantir Technologies, Inc. All rights reserved.
86
+ *
87
+ * Licensed under the Apache License, Version 2.0 (the "License");
88
+ * you may not use this file except in compliance with the License.
89
+ * You may obtain a copy of the License at
90
+ *
91
+ * http://www.apache.org/licenses/LICENSE-2.0
92
+ *
93
+ * Unless required by applicable law or agreed to in writing, software
94
+ * distributed under the License is distributed on an "AS IS" BASIS,
95
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
96
+ * See the License for the specific language governing permissions and
97
+ * limitations under the License.
98
+ */
99
+
100
+ .MarkingButton-module__markingButton___Ra7r3hu1 {
101
+ display: inline-flex;
102
+ align-items: center;
103
+ justify-content: center;
104
+ text-align: center;
105
+ padding: var(--osdk-cbac-marking-button-padding);
106
+ border-radius: var(--osdk-cbac-marking-button-border-radius);
107
+ font-size: var(--osdk-cbac-marking-button-font-size);
108
+ font-family: inherit;
109
+ cursor: pointer;
110
+ border: none;
111
+ border-right: 1px solid var(--osdk-cbac-marking-button-border-color-default);
112
+ border-bottom: 1px solid var(--osdk-cbac-marking-button-border-color-default);
113
+ color: var(--osdk-cbac-marking-button-color-default);
114
+ background: var(--osdk-cbac-marking-button-bg-default);
115
+ transition: background var(--osdk-emphasis-transition-duration)
116
+ var(--osdk-emphasis-ease-default),
117
+ border-color var(--osdk-emphasis-transition-duration)
118
+ var(--osdk-emphasis-ease-default),
119
+ color var(--osdk-emphasis-transition-duration)
120
+ var(--osdk-emphasis-ease-default);
121
+ }
122
+
123
+ .MarkingButton-module__markingButton___Ra7r3hu1:hover:not(:disabled):not(.MarkingButton-module__disallowed___gqq-bTvz):not(.MarkingButton-module__impliedDisallowed___cpzuUIxC) {
124
+ background: var(--osdk-surface-background-color-default-hover);
125
+ }
126
+
127
+ .MarkingButton-module__selected___HC8AEwJx {
128
+ color: var(--osdk-cbac-marking-button-color-selected);
129
+ background: var(--osdk-cbac-marking-button-bg-selected);
130
+ border-color: var(--osdk-cbac-marking-button-border-color-selected);
131
+ }
132
+
133
+ .MarkingButton-module__selected___HC8AEwJx:hover:not(:disabled) {
134
+ background: var(--osdk-intent-primary-hover);
135
+ }
136
+
137
+ .MarkingButton-module__implied___dIs7pIKM {
138
+ color: var(--osdk-cbac-marking-button-color-implied);
139
+ background: var(--osdk-cbac-marking-button-bg-implied);
140
+ border-color: var(--osdk-cbac-marking-button-border-color-implied);
141
+ }
142
+
143
+ .MarkingButton-module__disallowed___gqq-bTvz,
144
+ .MarkingButton-module__impliedDisallowed___cpzuUIxC {
145
+ color: var(--osdk-cbac-marking-button-color-disallowed);
146
+ background: var(--osdk-cbac-marking-button-bg-disallowed);
147
+ border-color: var(--osdk-cbac-marking-button-border-color-disallowed);
148
+ cursor: not-allowed;
149
+ opacity: var(--osdk-cbac-disabled-opacity);
150
+ }
151
+
152
+ .MarkingButton-module__markingButton___Ra7r3hu1:focus-visible {
153
+ outline: var(--osdk-focus-outline);
154
+ outline-offset: var(--osdk-focus-visible-outline-offset);
155
+ }
156
+
157
+ .MarkingButton-module__markingButton___Ra7r3hu1:disabled {
158
+ cursor: not-allowed;
159
+ }
160
+
161
+
162
+ /* cbac-picker/base/OverflowButton.module.css */
163
+ /*
164
+ * Copyright 2026 Palantir Technologies, Inc. All rights reserved.
165
+ *
166
+ * Licensed under the Apache License, Version 2.0 (the "License");
167
+ * you may not use this file except in compliance with the License.
168
+ * You may obtain a copy of the License at
169
+ *
170
+ * http://www.apache.org/licenses/LICENSE-2.0
171
+ *
172
+ * Unless required by applicable law or agreed to in writing, software
173
+ * distributed under the License is distributed on an "AS IS" BASIS,
174
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
175
+ * See the License for the specific language governing permissions and
176
+ * limitations under the License.
177
+ */
178
+
179
+ .OverflowButton-module__moreButton___cpjbpYWQ {
180
+ display: inline-flex;
181
+ align-items: center;
182
+ justify-content: center;
183
+ text-align: center;
184
+ padding: var(--osdk-cbac-overflow-button-padding);
185
+ font-size: var(--osdk-cbac-overflow-button-font-size);
186
+ font-family: inherit;
187
+ cursor: pointer;
188
+ border: none;
189
+ border-right: 1px solid var(--osdk-cbac-marking-button-border-color-default);
190
+ border-bottom: 1px solid var(--osdk-cbac-marking-button-border-color-default);
191
+ color: var(--osdk-cbac-marking-button-color-default);
192
+ background: var(--osdk-cbac-marking-button-bg-default);
193
+ font-weight: var(--osdk-typography-weight-bold);
194
+ }
195
+
196
+ .OverflowButton-module__moreButton___cpjbpYWQ:hover {
197
+ background: var(--osdk-surface-background-color-default-hover);
198
+ }
199
+
200
+ .OverflowButton-module__moreButton___cpjbpYWQ:focus-visible {
201
+ outline: var(--osdk-focus-outline);
202
+ outline-offset: var(--osdk-focus-visible-outline-offset);
203
+ }
204
+
205
+ .OverflowButton-module__moreButtonActive___zNMk3W-5 {
206
+ color: var(--osdk-intent-primary-rest);
207
+ }
208
+
209
+ .OverflowButton-module__overflowList___7llfP4BH {
210
+ display: flex;
211
+ flex-direction: column;
212
+ max-height: var(--osdk-cbac-overflow-list-max-height);
213
+ overflow-y: auto;
214
+ padding: calc(var(--osdk-surface-spacing) * 0.5);
215
+ background: var(--osdk-surface-background-color-default);
216
+ border: 1px solid var(--osdk-surface-border-color-default);
217
+ border-radius: var(--osdk-surface-border-radius);
218
+ box-shadow: var(--osdk-surface-elevation-2);
219
+ }
220
+
221
+
222
+ /* cbac-picker/base/OverflowItem.module.css */
223
+ /*
224
+ * Copyright 2026 Palantir Technologies, Inc. All rights reserved.
225
+ *
226
+ * Licensed under the Apache License, Version 2.0 (the "License");
227
+ * you may not use this file except in compliance with the License.
228
+ * You may obtain a copy of the License at
229
+ *
230
+ * http://www.apache.org/licenses/LICENSE-2.0
231
+ *
232
+ * Unless required by applicable law or agreed to in writing, software
233
+ * distributed under the License is distributed on an "AS IS" BASIS,
234
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
235
+ * See the License for the specific language governing permissions and
236
+ * limitations under the License.
237
+ */
238
+
239
+ .OverflowItem-module__overflowItem___VAefeIsF {
240
+ display: flex;
241
+ align-items: center;
242
+ width: 100%;
243
+ text-align: left;
244
+ padding: var(--osdk-surface-spacing)
245
+ calc(var(--osdk-surface-spacing) * 1.5);
246
+ font-size: var(--osdk-cbac-overflow-button-font-size);
247
+ font-family: inherit;
248
+ cursor: pointer;
249
+ border: none;
250
+ border-radius: var(--osdk-surface-border-radius);
251
+ color: var(--osdk-cbac-marking-button-color-default);
252
+ background: transparent;
253
+ }
254
+
255
+ .OverflowItem-module__overflowItem___VAefeIsF:hover:not(:disabled) {
256
+ background: var(--osdk-surface-background-color-default-hover);
257
+ }
258
+
259
+ .OverflowItem-module__overflowItem___VAefeIsF:focus-visible {
260
+ outline: var(--osdk-focus-outline);
261
+ outline-offset: var(--osdk-focus-visible-outline-offset);
262
+ }
263
+
264
+ .OverflowItem-module__overflowItemSelected___5UNc9Ql9 {
265
+ color: var(--osdk-intent-primary-rest);
266
+ font-weight: var(--osdk-typography-weight-bold);
267
+ }
268
+
269
+ .OverflowItem-module__overflowItemDisabled___UKHy9SIU {
270
+ color: var(--osdk-cbac-marking-button-color-disallowed);
271
+ cursor: not-allowed;
272
+ opacity: var(--osdk-cbac-disabled-opacity);
273
+ }
274
+
275
+
276
+ /* cbac-picker/base/ValidationWarning.module.css */
277
+ /*
278
+ * Copyright 2026 Palantir Technologies, Inc. All rights reserved.
279
+ *
280
+ * Licensed under the Apache License, Version 2.0 (the "License");
281
+ * you may not use this file except in compliance with the License.
282
+ * You may obtain a copy of the License at
283
+ *
284
+ * http://www.apache.org/licenses/LICENSE-2.0
285
+ *
286
+ * Unless required by applicable law or agreed to in writing, software
287
+ * distributed under the License is distributed on an "AS IS" BASIS,
288
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
289
+ * See the License for the specific language governing permissions and
290
+ * limitations under the License.
291
+ */
292
+
293
+ .ValidationWarning-module__validationWarning___oADBKhG- {
294
+ display: flex;
295
+ flex-direction: column;
296
+ gap: calc(var(--osdk-surface-spacing) * 1.5);
297
+ padding: var(--osdk-cbac-validation-warning-padding);
298
+ background: var(--osdk-cbac-validation-warning-bg);
299
+ color: var(--osdk-cbac-validation-warning-color);
300
+ font-size: var(--osdk-cbac-validation-warning-font-size);
301
+ border-radius: var(--osdk-cbac-validation-warning-border-radius);
302
+ max-height: var(--osdk-cbac-validation-warning-max-height);
303
+ overflow-y: auto;
304
+ }
305
+
306
+ .ValidationWarning-module__header___ylq-kIOW {
307
+ display: flex;
308
+ align-items: center;
309
+ gap: calc(var(--osdk-surface-spacing) * 1.5);
310
+ }
311
+
312
+ .ValidationWarning-module__icon___PuGol1EB {
313
+ flex-shrink: 0;
314
+ }
315
+
316
+ .ValidationWarning-module__groupList___ua5t3Rm2 {
317
+ list-style: none;
318
+ margin: 0;
319
+ padding: 0;
320
+ padding-left: calc(var(--osdk-surface-spacing) * 3);
321
+ display: flex;
322
+ flex-direction: column;
323
+ gap: var(--osdk-surface-spacing);
324
+ }
325
+
326
+ .ValidationWarning-module__groupItem___0BGH5HxZ {
327
+ display: flex;
328
+ align-items: center;
329
+ gap: var(--osdk-surface-spacing);
330
+ flex-wrap: wrap;
331
+ }
332
+
333
+ .ValidationWarning-module__groupNumber___rTdfnH3f {
334
+ font-weight: var(--osdk-typography-weight-bold);
335
+ flex-shrink: 0;
336
+ }
337
+
338
+ .ValidationWarning-module__chip___3EH1UeL0 {
339
+ display: inline-flex;
340
+ align-items: center;
341
+ padding: 0 var(--osdk-surface-spacing);
342
+ border: 1px solid var(--osdk-cbac-validation-warning-chip-border-color);
343
+ border-radius: var(--osdk-surface-border-radius);
344
+ background: var(--osdk-cbac-validation-warning-chip-bg);
345
+ font-size: var(--osdk-cbac-validation-warning-font-size);
346
+ color: var(--osdk-typography-color-default-rest);
347
+ }
348
+
349
+
@@ -1,4 +1,4 @@
1
- type MarkingSelectionState = "SELECTED" | "IMPLIED" | "DISALLOWED" | "IMPLIED_DISALLOWED";
1
+ type MarkingSelectionState = "NONE" | "SELECTED" | "IMPLIED" | "DISALLOWED" | "IMPLIED_DISALLOWED";
2
2
  interface CbacBannerData {
3
3
  classificationString: string;
4
4
  textColor: string;
@@ -0,0 +1,80 @@
1
+ /*
2
+ * Copyright 2026 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ import React from "react";
18
+ import styles from "./CategoryMarkingGroup.module.css";
19
+ import { MarkingButton } from "./MarkingButton.js";
20
+ import { OverflowButton } from "./OverflowButton.js";
21
+ import { isImplied } from "./selectionStateHelpers.js";
22
+ const GRID_COLUMNS = 4;
23
+ const VISIBLE_ROWS = 3;
24
+ export const CategoryMarkingGroup = /*#__PURE__*/React.memo(function ({
25
+ categoryName,
26
+ markings,
27
+ onMarkingToggle
28
+ }) {
29
+ const headingId = React.useId();
30
+ const maxVisible = GRID_COLUMNS * VISIBLE_ROWS;
31
+ const hasOverflow = markings.length > maxVisible;
32
+ const visibleMarkings = hasOverflow ? markings.slice(0, maxVisible - 1) : markings;
33
+ const overflowMarkings = hasOverflow ? markings.slice(maxVisible - 1) : [];
34
+ const gridItemCount = hasOverflow ? visibleMarkings.length + 1 : visibleMarkings.length;
35
+ const hasActiveOverflow = overflowMarkings.some(m => m.selectionState === "SELECTED" || isImplied(m.selectionState));
36
+ return /*#__PURE__*/React.createElement("div", {
37
+ className: styles.categoryGroup,
38
+ role: "group",
39
+ "aria-labelledby": headingId
40
+ }, /*#__PURE__*/React.createElement("h3", {
41
+ id: headingId,
42
+ className: styles.categoryName
43
+ }, categoryName), /*#__PURE__*/React.createElement("div", {
44
+ className: styles.markingGrid
45
+ }, visibleMarkings.map(marking => /*#__PURE__*/React.createElement(MarkingButtonItem, {
46
+ key: marking.id,
47
+ id: marking.id,
48
+ label: marking.label,
49
+ selectionState: marking.selectionState,
50
+ disabled: marking.disabled,
51
+ onToggle: onMarkingToggle
52
+ })), hasOverflow && /*#__PURE__*/React.createElement(OverflowButton, {
53
+ overflowMarkings: overflowMarkings,
54
+ hasActiveOverflow: hasActiveOverflow,
55
+ onMarkingToggle: onMarkingToggle
56
+ }), Array.from({
57
+ length: (GRID_COLUMNS - gridItemCount % GRID_COLUMNS) % GRID_COLUMNS
58
+ }, (_, i) => /*#__PURE__*/React.createElement("div", {
59
+ key: `empty-${i}`,
60
+ className: styles.emptyCell
61
+ }))));
62
+ });
63
+ const MarkingButtonItem = /*#__PURE__*/React.memo(function ({
64
+ id,
65
+ label,
66
+ selectionState,
67
+ disabled,
68
+ onToggle
69
+ }) {
70
+ const handleToggle = React.useCallback(() => {
71
+ onToggle(id);
72
+ }, [onToggle, id]);
73
+ return /*#__PURE__*/React.createElement(MarkingButton, {
74
+ label: label,
75
+ selectionState: selectionState,
76
+ onToggle: handleToggle,
77
+ disabled: disabled
78
+ });
79
+ });
80
+ //# sourceMappingURL=CategoryMarkingGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CategoryMarkingGroup.js","names":["React","styles","MarkingButton","OverflowButton","isImplied","GRID_COLUMNS","VISIBLE_ROWS","CategoryMarkingGroup","memo","categoryName","markings","onMarkingToggle","headingId","useId","maxVisible","hasOverflow","length","visibleMarkings","slice","overflowMarkings","gridItemCount","hasActiveOverflow","some","m","selectionState","createElement","className","categoryGroup","role","id","markingGrid","map","marking","MarkingButtonItem","key","label","disabled","onToggle","Array","from","_","i","emptyCell","handleToggle","useCallback"],"sources":["CategoryMarkingGroup.tsx"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from \"react\";\nimport type { MarkingSelectionState } from \"../types.js\";\nimport styles from \"./CategoryMarkingGroup.module.css\";\nimport { MarkingButton } from \"./MarkingButton.js\";\nimport { OverflowButton } from \"./OverflowButton.js\";\nimport { isImplied } from \"./selectionStateHelpers.js\";\n\nconst GRID_COLUMNS = 4;\nconst VISIBLE_ROWS = 3;\n\nexport interface CategoryMarkingGroupProps {\n categoryName: string;\n markings: ReadonlyArray<{\n id: string;\n label: string;\n selectionState: MarkingSelectionState;\n disabled?: boolean;\n }>;\n onMarkingToggle: (markingId: string) => void;\n}\n\nexport const CategoryMarkingGroup: React.MemoExoticComponent<\n (props: CategoryMarkingGroupProps) => React.ReactElement\n> = React.memo(function CategoryMarkingGroup({\n categoryName,\n markings,\n onMarkingToggle,\n}: CategoryMarkingGroupProps): React.ReactElement {\n const headingId = React.useId();\n\n const maxVisible = GRID_COLUMNS * VISIBLE_ROWS;\n const hasOverflow = markings.length > maxVisible;\n const visibleMarkings = hasOverflow\n ? markings.slice(0, maxVisible - 1)\n : markings;\n const overflowMarkings = hasOverflow\n ? markings.slice(maxVisible - 1)\n : [];\n\n const gridItemCount = hasOverflow\n ? visibleMarkings.length + 1\n : visibleMarkings.length;\n const emptyCellCount = (GRID_COLUMNS - (gridItemCount % GRID_COLUMNS))\n % GRID_COLUMNS;\n\n const hasActiveOverflow = overflowMarkings.some(\n (m) => m.selectionState === \"SELECTED\" || isImplied(m.selectionState),\n );\n\n return (\n <div\n className={styles.categoryGroup}\n role=\"group\"\n aria-labelledby={headingId}\n >\n <h3 id={headingId} className={styles.categoryName}>{categoryName}</h3>\n <div className={styles.markingGrid}>\n {visibleMarkings.map((marking) => (\n <MarkingButtonItem\n key={marking.id}\n id={marking.id}\n label={marking.label}\n selectionState={marking.selectionState}\n disabled={marking.disabled}\n onToggle={onMarkingToggle}\n />\n ))}\n {hasOverflow && (\n <OverflowButton\n overflowMarkings={overflowMarkings}\n hasActiveOverflow={hasActiveOverflow}\n onMarkingToggle={onMarkingToggle}\n />\n )}\n {Array.from({ length: emptyCellCount }, (_, i) => (\n <div\n key={`empty-${i}`}\n className={styles.emptyCell}\n />\n ))}\n </div>\n </div>\n );\n});\n\ninterface MarkingButtonItemProps {\n id: string;\n label: string;\n selectionState: MarkingSelectionState;\n disabled?: boolean;\n onToggle: (markingId: string) => void;\n}\n\nconst MarkingButtonItem = React.memo(function MarkingButtonItem({\n id,\n label,\n selectionState,\n disabled,\n onToggle,\n}: MarkingButtonItemProps): React.ReactElement {\n const handleToggle = React.useCallback(() => {\n onToggle(id);\n }, [onToggle, id]);\n\n return (\n <MarkingButton\n label={label}\n selectionState={selectionState}\n onToggle={handleToggle}\n disabled={disabled}\n />\n );\n});\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAOC,MAAM,MAAM,mCAAmC;AACtD,SAASC,aAAa,QAAQ,oBAAoB;AAClD,SAASC,cAAc,QAAQ,qBAAqB;AACpD,SAASC,SAAS,QAAQ,4BAA4B;AAEtD,MAAMC,YAAY,GAAG,CAAC;AACtB,MAAMC,YAAY,GAAG,CAAC;AAatB,OAAO,MAAMC,oBAEZ,gBAAGP,KAAK,CAACQ,IAAI,CAAC,UAA8B;EAC3CC,YAAY;EACZC,QAAQ;EACRC;AACyB,CAAC,EAAsB;EAChD,MAAMC,SAAS,GAAGZ,KAAK,CAACa,KAAK,CAAC,CAAC;EAE/B,MAAMC,UAAU,GAAGT,YAAY,GAAGC,YAAY;EAC9C,MAAMS,WAAW,GAAGL,QAAQ,CAACM,MAAM,GAAGF,UAAU;EAChD,MAAMG,eAAe,GAAGF,WAAW,GAC/BL,QAAQ,CAACQ,KAAK,CAAC,CAAC,EAAEJ,UAAU,GAAG,CAAC,CAAC,GACjCJ,QAAQ;EACZ,MAAMS,gBAAgB,GAAGJ,WAAW,GAChCL,QAAQ,CAACQ,KAAK,CAACJ,UAAU,GAAG,CAAC,CAAC,GAC9B,EAAE;EAEN,MAAMM,aAAa,GAAGL,WAAW,GAC7BE,eAAe,CAACD,MAAM,GAAG,CAAC,GAC1BC,eAAe,CAACD,MAAM;EAI1B,MAAMK,iBAAiB,GAAGF,gBAAgB,CAACG,IAAI,CAC5CC,CAAC,IAAKA,CAAC,CAACC,cAAc,KAAK,UAAU,IAAIpB,SAAS,CAACmB,CAAC,CAACC,cAAc,CACtE,CAAC;EAED,oBACExB,KAAA,CAAAyB,aAAA;IACEC,SAAS,EAAEzB,MAAM,CAAC0B,aAAc;IAChCC,IAAI,EAAC,OAAO;IACZ,mBAAiBhB;EAAU,gBAE3BZ,KAAA,CAAAyB,aAAA;IAAII,EAAE,EAAEjB,SAAU;IAACc,SAAS,EAAEzB,MAAM,CAACQ;EAAa,GAAEA,YAAiB,CAAC,eACtET,KAAA,CAAAyB,aAAA;IAAKC,SAAS,EAAEzB,MAAM,CAAC6B;EAAY,GAChCb,eAAe,CAACc,GAAG,CAAEC,OAAO,iBAC3BhC,KAAA,CAAAyB,aAAA,CAACQ,iBAAiB;IAChBC,GAAG,EAAEF,OAAO,CAACH,EAAG;IAChBA,EAAE,EAAEG,OAAO,CAACH,EAAG;IACfM,KAAK,EAAEH,OAAO,CAACG,KAAM;IACrBX,cAAc,EAAEQ,OAAO,CAACR,cAAe;IACvCY,QAAQ,EAAEJ,OAAO,CAACI,QAAS;IAC3BC,QAAQ,EAAE1B;EAAgB,CAC3B,CACF,CAAC,EACDI,WAAW,iBACVf,KAAA,CAAAyB,aAAA,CAACtB,cAAc;IACbgB,gBAAgB,EAAEA,gBAAiB;IACnCE,iBAAiB,EAAEA,iBAAkB;IACrCV,eAAe,EAAEA;EAAgB,CAClC,CACF,EACA2B,KAAK,CAACC,IAAI,CAAC;IAAEvB,MAAM,EAhCH,CAACX,YAAY,GAAIe,aAAa,GAAGf,YAAa,IACjEA;EA+BuC,CAAC,EAAE,CAACmC,CAAC,EAAEC,CAAC,kBAC3CzC,KAAA,CAAAyB,aAAA;IACES,GAAG,EAAE,SAASO,CAAC,EAAG;IAClBf,SAAS,EAAEzB,MAAM,CAACyC;EAAU,CAC7B,CACF,CACE,CACF,CAAC;AAEV,CAAC,CAAC;AAUF,MAAMT,iBAAiB,gBAAGjC,KAAK,CAACQ,IAAI,CAAC,UAA2B;EAC9DqB,EAAE;EACFM,KAAK;EACLX,cAAc;EACdY,QAAQ;EACRC;AACsB,CAAC,EAAsB;EAC7C,MAAMM,YAAY,GAAG3C,KAAK,CAAC4C,WAAW,CAAC,MAAM;IAC3CP,QAAQ,CAACR,EAAE,CAAC;EACd,CAAC,EAAE,CAACQ,QAAQ,EAAER,EAAE,CAAC,CAAC;EAElB,oBACE7B,KAAA,CAAAyB,aAAA,CAACvB,aAAa;IACZiC,KAAK,EAAEA,KAAM;IACbX,cAAc,EAAEA,cAAe;IAC/Ba,QAAQ,EAAEM,YAAa;IACvBP,QAAQ,EAAEA;EAAS,CACpB,CAAC;AAEN,CAAC,CAAC","ignoreList":[]}