@factorearth/component-library 6.0.4-alpha.0 → 6.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/dist/Atoms/Accordion/Accordion.d.ts +2 -10
  2. package/dist/Atoms/Accordion/Accordion.js +21 -34
  3. package/dist/Atoms/Accordion/Accordion.js.map +1 -1
  4. package/dist/Atoms/Box/Box.d.ts +1 -1
  5. package/dist/Atoms/Box/Box.js.map +1 -1
  6. package/dist/Atoms/Buttons/Button.d.ts +2 -2
  7. package/dist/Atoms/Buttons/Button.js.map +1 -1
  8. package/dist/Atoms/Buttons/ReportABugButton.d.ts +10 -0
  9. package/dist/Atoms/Buttons/ReportABugButton.js +19 -0
  10. package/dist/Atoms/Buttons/ReportABugButton.js.map +1 -0
  11. package/dist/Atoms/ContentDropdown/ContentDropdown.d.ts +1 -1
  12. package/dist/Atoms/ContentDropdown/ContentDropdown.js.map +1 -1
  13. package/dist/Atoms/DateField/DateField.d.ts +1 -1
  14. package/dist/Atoms/DateField/DateField.js.map +1 -1
  15. package/dist/Atoms/DropdownField/DropdownField.d.ts +2 -1
  16. package/dist/Atoms/DropdownField/DropdownField.js +2 -2
  17. package/dist/Atoms/DropdownField/DropdownField.js.map +1 -1
  18. package/dist/Atoms/FieldWrapper/FieldWrapper.d.ts +4 -4
  19. package/dist/Atoms/FieldWrapper/FieldWrapper.js.map +1 -1
  20. package/dist/Atoms/MoreHorizonButton/MoreHorizonButton.js +1 -1
  21. package/dist/Atoms/NoteField/NoteField.d.ts +6 -4
  22. package/dist/Atoms/NoteField/NoteField.js +56 -13
  23. package/dist/Atoms/NoteField/NoteField.js.map +1 -1
  24. package/dist/Atoms/NumberField/NumberField.d.ts +2 -1
  25. package/dist/Atoms/NumberField/NumberField.js +98 -38
  26. package/dist/Atoms/NumberField/NumberField.js.map +1 -1
  27. package/dist/Atoms/OptionsDropdown/OptionsDropdown.d.ts +2 -0
  28. package/dist/Atoms/OptionsDropdown/OptionsDropdown.js +46 -37
  29. package/dist/Atoms/OptionsDropdown/OptionsDropdown.js.map +1 -1
  30. package/dist/Atoms/Pagination/Pagination.js +1 -1
  31. package/dist/Atoms/Pagination/Pagination.js.map +1 -1
  32. package/dist/Atoms/PhoneNumberField/PhoneNumberField.d.ts +1 -1
  33. package/dist/Atoms/PhoneNumberField/PhoneNumberField.js.map +1 -1
  34. package/dist/Atoms/SelectField/SelectField.d.ts +1 -1
  35. package/dist/Atoms/SelectField/SelectField.js.map +1 -1
  36. package/dist/Atoms/Tab/Tab.d.ts +2 -2
  37. package/dist/Atoms/Tab/Tab.js.map +1 -1
  38. package/dist/Atoms/TextField/TextField.d.ts +1 -1
  39. package/dist/Atoms/TextField/TextField.js.map +1 -1
  40. package/dist/Atoms/Toggle/Toggle.d.ts +1 -1
  41. package/dist/Atoms/Toggle/Toggle.js.map +1 -1
  42. package/dist/Molecules/Form/Form.d.ts +1 -1
  43. package/dist/Molecules/Form/Form.js.map +1 -1
  44. package/dist/Molecules/NavMenu/NavMenu.d.ts +3 -3
  45. package/dist/Molecules/NavMenu/NavMenu.js +41 -43
  46. package/dist/Molecules/NavMenu/NavMenu.js.map +1 -1
  47. package/dist/Molecules/Thumbnail/Thumbnail.js +2 -1
  48. package/dist/Molecules/Thumbnail/Thumbnail.js.map +1 -1
  49. package/dist/Organisms/Card/Card.d.ts +4 -4
  50. package/dist/Organisms/Card/Card.js.map +1 -1
  51. package/dist/Organisms/EditUserPerms/EditUserPerms.js +1 -1
  52. package/dist/Organisms/EditUserPerms/EditUserPerms.js.map +1 -1
  53. package/dist/Organisms/Modal/Modal.d.ts +2 -2
  54. package/dist/Organisms/Modal/Modal.js +4 -4
  55. package/dist/Organisms/Modal/Modal.js.map +1 -1
  56. package/dist/Organisms/TabManager/TabManager.d.ts +1 -1
  57. package/dist/Organisms/TabManager/TabManager.js +1 -1
  58. package/dist/Organisms/TabManager/TabManager.js.map +1 -1
  59. package/dist/Organisms/Tutorial/Tutorial.d.ts +3 -2
  60. package/dist/Organisms/Tutorial/Tutorial.js +107 -57
  61. package/dist/Organisms/Tutorial/Tutorial.js.map +1 -1
  62. package/dist/Theme/tokens.json +5 -0
  63. package/dist/index.d.ts +20 -13
  64. package/dist/index.js +21 -18
  65. package/dist/index.js.map +1 -1
  66. package/package.json +7 -4
  67. package/dist/Organisms/Splash/Splash.d.ts +0 -10
  68. package/dist/Organisms/Splash/Splash.js +0 -82
  69. package/dist/Organisms/Splash/Splash.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Tutorial.js","sourceRoot":"","sources":["../../../lib/Organisms/Tutorial/Tutorial.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AACrC,OAAO,SAAS,MAAM,iCAAiC,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAE/D,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEvC,MAAM,eAAe,GAAG,MAAM,CAAC,GAAG,CAAqB;qBAClC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,GAAG,MAAM,CAAC,UAAU,CAAC,SAAS,IAAI;;;;;;;;;CAStE,CAAC;AAEF,MAAM,eAAe,GAAG,MAAM,CAAC,GAAG,CAAqB;sBACjC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,UAAU,CAAC,OAAO;WACpD,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO;;;;;;;;;eAS/B,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,GAAG,MAAM,CAAC,UAAU,CAAC,SAAS,eAAe;;CAE3E,CAAC;AACF,kH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AAC,aAAa,OAAG;YACnE,oBAAC,UAAU,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,eAAe,CAAC,KAAK,EAAE,OAAO,EAAE,iBAAiB,eAAY,iBAAiB,GAAG;YAC/J,IAAI,IAAI,oBAAC,IAAI,OAAG,CACT;QACR,YAAY,IAAI,CAChB,oBAAC,wBAAwB,QACvB,eAAe,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,oBAAC,IAAI,IAAC,GAAG,EAAE,QAAQ,OAAO,EAAE;YACnE,oBAAC,UAAU,IAAC,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,iBAAiB,GAAI,CACtF,CAAC,CACkB,CAC3B,CACU,CACZ,CAAC;AACH,CAAC"}
@@ -153,6 +153,11 @@
153
153
  "value": "#142541",
154
154
  "type": "color",
155
155
  "description": "Metcalf Bison Blue"
156
+ },
157
+ "attention-orange": {
158
+ "value": "#FFAA00",
159
+ "type": "color",
160
+ "description": "Sync alert color when there are out of sync changes."
156
161
  }
157
162
  },
158
163
  "border-radius-sm": {
package/dist/index.d.ts CHANGED
@@ -1,30 +1,37 @@
1
- export * from "./Atoms/MoreHorizonButton/MoreHorizonButton";
2
- export * from "./Atoms/NumberField/NumberField";
3
- export * from "./Atoms/PhoneNumberField/PhoneNumberField";
4
- export * from "./Atoms/Pagination/Pagination";
1
+ export * from "./Atoms/Accordion/Accordion";
5
2
  export * from "./Atoms/Badge/Badge";
6
- export * from "./Atoms/DateField/DateField";
7
- export * from "./Atoms/TextField/TextField";
3
+ export * from "./Atoms/Box/Box";
8
4
  export * from "./Atoms/Buttons/Button";
9
- export * from "./Atoms/FieldWrapper/FieldWrapper";
5
+ export * from "./Atoms/Buttons/ReportABugButton";
6
+ export * from "./Atoms/ContentDropdown/ContentDropdown";
7
+ export * from "./Atoms/DateField/DateField";
10
8
  export * from "./Atoms/DropdownField/DropdownField";
9
+ export * from "./Atoms/FieldWrapper/FieldWrapper";
10
+ export * from "./Atoms/MoreHorizonButton/MoreHorizonButton";
11
11
  export * from "./Atoms/NoteField/NoteField";
12
+ export * from "./Atoms/NumberField/NumberField";
13
+ export * from "./Atoms/OptionsDropdown/OptionsDropdown";
14
+ export * from "./Atoms/Pagination/Pagination";
15
+ export * from "./Atoms/PhoneNumberField/PhoneNumberField";
16
+ export * from "./Atoms/ProgressBar/ProgressBar";
12
17
  export * from "./Atoms/SelectField/SelectField";
18
+ export * from "./Atoms/SortDropdown/SortDropdown";
13
19
  export * from "./Atoms/Spinner/Spinner";
14
20
  export * from "./Atoms/Tab/Tab";
15
- export * from "./Atoms/ProgressBar/ProgressBar";
21
+ export * from "./Atoms/TextField/TextField";
22
+ export * from "./Atoms/Toggle/Toggle";
16
23
  export * from "./Atoms/Typography/Typography";
17
- export * from "./Atoms/OptionsDropdown/OptionsDropdown";
18
24
  export * from "./Molecules/Form/Form";
19
- export * from "./Molecules/Thumbnail/Thumbnail";
25
+ export * from "./Molecules/NavMenu/NavMenu";
26
+ export * from "./Molecules/TableHeader/TableHeader";
20
27
  export * from "./Molecules/TableRow/TableRow";
28
+ export * from "./Molecules/Thumbnail/Thumbnail";
21
29
  export * from "./Organisms/Card/Card";
30
+ export * from "./Organisms/EditUserPerms/EditUserPerms";
31
+ export * from "./Organisms/ErrorSplash/ErrorSplash";
22
32
  export * from "./Organisms/Modal/Modal";
23
- export * from "./Molecules/NavMenu/NavMenu";
24
33
  export * from "./Organisms/TabManager/TabManager";
25
34
  export * from "./Organisms/Table/Table";
26
- export * from "./Organisms/EditUserPerms/EditUserPerms";
27
35
  export * from "./Organisms/Tutorial/Tutorial";
28
- export * from "./Organisms/ErrorSplash/ErrorSplash";
29
36
  export * from "./Theme/ThemeProvider";
30
37
  export * from "./Theme/types";
package/dist/index.js CHANGED
@@ -1,36 +1,39 @@
1
- // Atoms
2
- export * from "./Atoms/MoreHorizonButton/MoreHorizonButton";
3
- export * from "./Atoms/NumberField/NumberField";
4
- export * from "./Atoms/PhoneNumberField/PhoneNumberField";
5
- export * from "./Atoms/Pagination/Pagination";
1
+ // AUTO-GENERATED FILE. DO NOT EDIT MANUALLY.
2
+ export * from "./Atoms/Accordion/Accordion";
6
3
  export * from "./Atoms/Badge/Badge";
7
- // export * from "./Atoms/SortDropdown/SortDropdown";
8
- export * from "./Atoms/DateField/DateField";
9
- export * from "./Atoms/TextField/TextField";
4
+ export * from "./Atoms/Box/Box";
10
5
  export * from "./Atoms/Buttons/Button";
11
- export * from "./Atoms/FieldWrapper/FieldWrapper";
6
+ export * from "./Atoms/Buttons/ReportABugButton";
7
+ export * from "./Atoms/ContentDropdown/ContentDropdown";
8
+ export * from "./Atoms/DateField/DateField";
12
9
  export * from "./Atoms/DropdownField/DropdownField";
10
+ export * from "./Atoms/FieldWrapper/FieldWrapper";
11
+ export * from "./Atoms/MoreHorizonButton/MoreHorizonButton";
13
12
  export * from "./Atoms/NoteField/NoteField";
13
+ export * from "./Atoms/NumberField/NumberField";
14
+ export * from "./Atoms/OptionsDropdown/OptionsDropdown";
15
+ export * from "./Atoms/Pagination/Pagination";
16
+ export * from "./Atoms/PhoneNumberField/PhoneNumberField";
17
+ export * from "./Atoms/ProgressBar/ProgressBar";
14
18
  export * from "./Atoms/SelectField/SelectField";
19
+ export * from "./Atoms/SortDropdown/SortDropdown";
15
20
  export * from "./Atoms/Spinner/Spinner";
16
21
  export * from "./Atoms/Tab/Tab";
17
- export * from "./Atoms/ProgressBar/ProgressBar";
22
+ export * from "./Atoms/TextField/TextField";
23
+ export * from "./Atoms/Toggle/Toggle";
18
24
  export * from "./Atoms/Typography/Typography";
19
- export * from "./Atoms/OptionsDropdown/OptionsDropdown";
20
- // Molecules
21
25
  export * from "./Molecules/Form/Form";
22
- export * from "./Molecules/Thumbnail/Thumbnail";
26
+ export * from "./Molecules/NavMenu/NavMenu";
27
+ export * from "./Molecules/TableHeader/TableHeader";
23
28
  export * from "./Molecules/TableRow/TableRow";
24
- // Organisms
29
+ export * from "./Molecules/Thumbnail/Thumbnail";
25
30
  export * from "./Organisms/Card/Card";
31
+ export * from "./Organisms/EditUserPerms/EditUserPerms";
32
+ export * from "./Organisms/ErrorSplash/ErrorSplash";
26
33
  export * from "./Organisms/Modal/Modal";
27
- export * from "./Molecules/NavMenu/NavMenu";
28
34
  export * from "./Organisms/TabManager/TabManager";
29
35
  export * from "./Organisms/Table/Table";
30
- export * from "./Organisms/EditUserPerms/EditUserPerms";
31
36
  export * from "./Organisms/Tutorial/Tutorial";
32
- export * from "./Organisms/ErrorSplash/ErrorSplash";
33
- // Themes
34
37
  export * from "./Theme/ThemeProvider";
35
38
  export * from "./Theme/types";
36
39
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":"AAAA,QAAQ;AACR,cAAc,6CAA6C,CAAC;AAC5D,cAAc,iCAAiC,CAAC;AAChD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,qDAAqD;AACrD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yCAAyC,CAAC;AACxD,YAAY;AACZ,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,YAAY;AACZ,cAAc,uBAA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AAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorearth/component-library",
3
- "version": "6.0.4-alpha.0",
3
+ "version": "6.2.0",
4
4
  "description": " A storybook component library for FactorEarth",
5
5
  "author": "madtrx <marlin.makori@gmail.com>",
6
6
  "homepage": "https://github.com/FactorEarth/RecordMiddleware#readme",
@@ -18,7 +18,8 @@
18
18
  "scripts": {
19
19
  "storybook": "storybook dev -p 6006",
20
20
  "build-storybook": "storybook build",
21
- "chromatic": "npx chromatic"
21
+ "chromatic": "npx chromatic",
22
+ "generate-exports": "node ./scripts/generateExports.mjs"
22
23
  },
23
24
  "bugs": {
24
25
  "url": "https://github.com/FactorEarth/RecordMiddleware/issues"
@@ -46,14 +47,16 @@
46
47
  "access": "public",
47
48
  "registry": "https://registry.npmjs.org/"
48
49
  },
49
- "gitHead": "5bc7b9607b398e9306e879547cb1c86efed88112",
50
+ "gitHead": "5c11529dbb1aceda660ae90924374dcc3d5343af",
50
51
  "dependencies": {
51
52
  "@emotion/react": "^11.13.0",
52
53
  "@emotion/styled": "^11.13.0",
53
54
  "@radix-ui/react-dialog": "^1.1.1",
55
+ "@sentry/react": "^9.40.0",
54
56
  "libphonenumber-js": "^1.11.11",
55
57
  "react-datepicker": "^7.3.0",
56
58
  "react-icons": "^5.3.0",
57
- "react-select": "^5.8.0"
59
+ "react-select": "^5.8.0",
60
+ "react-textarea-autosize": "^8.5.9"
58
61
  }
59
62
  }
@@ -1,10 +0,0 @@
1
- import React from "react";
2
- import { Colors } from "Theme/types";
3
- interface ErrorSplashProps {
4
- colorPalette: Colors & string;
5
- title: string;
6
- description: string;
7
- image?: string;
8
- }
9
- export declare const ErrorSplash: (props: ErrorSplashProps) => React.JSX.Element;
10
- export {};
@@ -1,82 +0,0 @@
1
- import React from "react";
2
- import styled from "@emotion/styled";
3
- import { FiChevronLeft, FiRefreshCw } from "react-icons/fi";
4
- import { GoBug } from "react-icons/go";
5
- import { Button } from "../../Atoms/Buttons/Button";
6
- import { Typography } from "../../Atoms/Typography/Typography";
7
- const ErrorSplashContainer = styled.div `
8
- // width: 100vw;
9
- // height: 100vh;
10
-
11
- `;
12
- const HeaderDiv = styled.div `
13
- display: flex;
14
- padding: 24px;
15
- flex-direction: column;
16
- align-items: flex-start;
17
- gap: 16px;
18
- align-self: stretch;
19
- `;
20
- const HeaderAndBackDiv = styled.div `
21
- display: flex;
22
- justify-content: space-between;
23
- align-items: center;
24
- align-self: stretch;
25
- `;
26
- const DescriptionDiv = styled.div `
27
- display: -webkit-box;
28
- -webkit-box-orient: vertical;
29
- -webkit-line-clamp: 2;
30
- flex: 1 0 0;
31
- `;
32
- const ButtonsDiv = styled.div `
33
- //background is the topo image
34
- display: flex;
35
- height: 245px;
36
- justify-content: center;
37
- align-items: center;
38
- align-content: center;
39
- gap: 16px;
40
- flex-shrink: 0;
41
- align-self: stretch;
42
- flex-wrap: wrap;
43
- `;
44
- const AmbassadorContactDiv = styled.div `
45
- background-color: ${({ colorPalette }) => colorPalette.background.tertiary};
46
- border-top: ${({ colorPalette }) => colorPalette.border.tertiary} 1px solid;
47
- display: flex;
48
- padding: 24px 16px;
49
- flex-direction: column;
50
- align-items: center;
51
- gap: 16px;
52
- align-self: stretch;
53
- `;
54
- const ContactContainer = styled.div `
55
- background-color: ${({ colors }) => colors.background.tertiary};
56
- color: ${({ colors }) => colors.text.primary};
57
- display: flex;
58
- padding: 24px 16px;
59
- flex-direction: column;
60
- align-items: center;
61
- gap: 16px;
62
- align-self: stretch;
63
- `;
64
- export const ErrorSplash = (props) => {
65
- const { colorPalette, title, description, image, ...tableHtmlProps } = props;
66
- console.log("colorPalette:", colorPalette);
67
- return (React.createElement(ErrorSplashContainer, { colorPalette: colorPalette, ...tableHtmlProps },
68
- React.createElement(HeaderDiv, { colorPalette: colorPalette },
69
- React.createElement(HeaderAndBackDiv, { colorPalette: colorPalette },
70
- React.createElement(FiChevronLeft, null),
71
- React.createElement(Typography, { textColor: colorPalette.text.primary, content: title, variant: "Heading 3" })),
72
- React.createElement(DescriptionDiv, { colorPalette: colorPalette },
73
- React.createElement(Typography, { textColor: colorPalette.text.primary, content: description, variant: "Paragraphy Body" }))),
74
- image && React.createElement("img", { src: image, alt: "Splash Image" }),
75
- React.createElement(ButtonsDiv, { colorPalette: colorPalette },
76
- React.createElement(Button, { colorPalette: colorPalette, onClick: () => { }, label: "Refresh", variant: "outlined", icon: React.createElement(FiRefreshCw, null) }),
77
- React.createElement(Button, { colorPalette: colorPalette, onClick: () => { }, label: "Report a bug", variant: "filled", icon: React.createElement(GoBug, null) })),
78
- React.createElement(ContactContainer, { colors: colorPalette },
79
- React.createElement(Typography, { textColor: colorPalette.text.primary, content: "Please ask further questions, or reach out for additional support by emailing", variant: "Label" }),
80
- React.createElement(Typography, { textColor: colorPalette.text.primary, content: "devs@factorearth.com", variant: "Heading 4" }))));
81
- };
82
- //# sourceMappingURL=Splash.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Splash.js","sourceRoot":"","sources":["../../../lib/Organisms/Splash/Splash.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,WAAW,EAAoC,MAAM,gBAAgB,CAAC;AAC9F,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAE/D,MAAM,oBAAoB,GAAG,MAAM,CAAC,GAAG,CAA0B;;;;CAIhE,CAAC;AAEF,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAA0B;;;;;;;CAOrD,CAAC;AAEF,MAAM,gBAAgB,GAAG,MAAM,CAAC,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