@finos/legend-query-builder 4.7.4 → 4.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
  2. package/lib/components/QueryBuilderConstantExpressionPanel.js +27 -8
  3. package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
  4. package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
  5. package/lib/components/QueryBuilderResultPanel.js +11 -5
  6. package/lib/components/QueryBuilderResultPanel.js.map +1 -1
  7. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
  8. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +5 -3
  9. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  10. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  11. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +8 -1
  12. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  13. package/lib/components/shared/LambdaEditor.d.ts +1 -11
  14. package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
  15. package/lib/components/shared/LambdaEditor.js +11 -4
  16. package/lib/components/shared/LambdaEditor.js.map +1 -1
  17. package/lib/index.css +2 -2
  18. package/lib/index.css.map +1 -1
  19. package/lib/package.json +1 -1
  20. package/lib/stores/QueryBuilderConstantsState.d.ts +3 -1
  21. package/lib/stores/QueryBuilderConstantsState.d.ts.map +1 -1
  22. package/lib/stores/QueryBuilderConstantsState.js +27 -3
  23. package/lib/stores/QueryBuilderConstantsState.js.map +1 -1
  24. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  25. package/lib/stores/QueryBuilderState.js +1 -0
  26. package/lib/stores/QueryBuilderState.js.map +1 -1
  27. package/lib/stores/QueryBuilderTypeaheadHelper.d.ts +1 -1
  28. package/lib/stores/QueryBuilderTypeaheadHelper.d.ts.map +1 -1
  29. package/lib/stores/QueryBuilderTypeaheadHelper.js +190 -30
  30. package/lib/stores/QueryBuilderTypeaheadHelper.js.map +1 -1
  31. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +1 -0
  32. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -1
  33. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -1
  34. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts +1 -0
  35. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts.map +1 -1
  36. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js +4 -0
  37. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +1 -1
  38. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +1 -0
  39. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -1
  40. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +3 -0
  41. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
  42. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +2 -0
  43. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
  44. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +25 -1
  45. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  46. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts +3 -1
  47. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
  48. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +6 -0
  49. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
  50. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts +9 -2
  51. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts.map +1 -1
  52. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js +40 -6
  53. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js.map +1 -1
  54. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.d.ts +1 -0
  55. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.d.ts.map +1 -1
  56. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.js +8 -1
  57. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.js.map +1 -1
  58. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.d.ts +1 -0
  59. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.d.ts.map +1 -1
  60. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.js +7 -1
  61. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.js.map +1 -1
  62. package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.d.ts +4 -0
  63. package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.d.ts.map +1 -1
  64. package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.js.map +1 -1
  65. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.d.ts +1 -0
  66. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.d.ts.map +1 -1
  67. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.js +7 -1
  68. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.js.map +1 -1
  69. package/package.json +3 -3
  70. package/src/components/QueryBuilderConstantExpressionPanel.tsx +85 -24
  71. package/src/components/QueryBuilderResultPanel.tsx +17 -13
  72. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +11 -1
  73. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +12 -1
  74. package/src/components/shared/LambdaEditor.tsx +15 -2
  75. package/src/stores/QueryBuilderConstantsState.ts +44 -1
  76. package/src/stores/QueryBuilderState.ts +1 -0
  77. package/src/stores/QueryBuilderTypeaheadHelper.ts +382 -54
  78. package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +1 -0
  79. package/src/stores/fetch-structure/QueryBuilderFetchStructureState.ts +5 -0
  80. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +4 -0
  81. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +43 -1
  82. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +11 -0
  83. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts +66 -9
  84. package/src/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.ts +14 -0
  85. package/src/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.ts +13 -0
  86. package/src/stores/milestoning/QueryBuilderMilestoningImplementation.ts +7 -0
  87. package/src/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.ts +13 -0
@@ -14,18 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import type { LambdaEditorState } from '../../stores/shared/LambdaEditorState.js';
17
- import { type DebouncedFunc, type GeneratorFn } from '@finos/legend-shared';
18
17
  import { type Type } from '@finos/legend-graph';
19
- export declare const LambdaEditor_PopUp: ((props: {
20
- title?: string | undefined;
21
- className?: string | undefined;
22
- disabled: boolean;
23
- lambdaEditorState: LambdaEditorState;
24
- transformStringToLambda: DebouncedFunc<() => GeneratorFn<void>> | undefined;
25
- onClose: () => void;
26
- }) => import("react/jsx-runtime").JSX.Element) & {
27
- displayName: string;
28
- };
29
18
  type LambdaEditorBaseProps = {
30
19
  className?: string | undefined;
31
20
  disabled: boolean;
@@ -47,6 +36,7 @@ type LambdaEditorBaseProps = {
47
36
  forceBackdrop: boolean;
48
37
  autoFocus?: boolean | undefined;
49
38
  onEditorFocus?: (() => void) | undefined;
39
+ onEditorBlur?: (() => void) | undefined;
50
40
  };
51
41
  export declare const InlineLambdaEditor: ((props: LambdaEditorBaseProps & {
52
42
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"LambdaEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/LambdaEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA2BH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAiC,KAAK,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAoX/E,eAAO,MAAM,kBAAkB,WACrB;IACN,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,QAAQ,EAAE,OAAO,CAAC;IAClB,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,uBAAuB,EAAE,cAAc,MAAM,YAAY,IAAI,CAAC,CAAC,GAAG,SAAS,CAAC;IAC5E,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;;CA0NF,CAAC;AAEF,KAAK,qBAAqB,GAAG;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,QAAQ,EAAE,OAAO,CAAC;IAClB,iBAAiB,EAAE,iBAAiB,CAAC;IACrC;;;;;;;;;;;;;OAaG;IACH,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC,aAAa,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,kBAAkB,WAEpB,qBAAqB,GAAG;IAC7B;;;;OAIG;IACH,YAAY,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IAChC,mBAAmB,CAAC,EAAE,CAAC,MAAM,OAAO,CAAC,GAAG,SAAS,CAAC;IAClD,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AAM,IAAI,CAAC,GAAG,SAAS,CAAC;IACrD;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC;;;;;OAKG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACpC;;CAiGJ,CAAC;AAEF,eAAO,MAAM,YAAY,WAAoB,qBAAqB;;CAmChE,CAAC"}
@@ -32,10 +32,11 @@ const LambdaEditor_ErrorFeedback = (props) => {
32
32
  return (_jsxs("div", { className: "lambda-editor__error-feedback", children: [_jsx("div", { className: "lambda-editor__error-feedback__error__message", children: error.message }), error instanceof ParserError && (_jsx("div", { className: "lambda-editor__error-feedback__parsing-error__content", children: _jsx("button", { className: "lambda-editor__error-feedback__parsing-error__discard-changes-btn", onClick: discardChanges, tabIndex: -1, children: "Discard Changes" }) }))] }));
33
33
  };
34
34
  const LambdaEditor_Inner = observer((props) => {
35
- const { className, disabled, lambdaEditorState, transformStringToLambda, expectedType, onExpectedTypeLabelSelect, matchedExpectedType, forceBackdrop, disableExpansion, forceExpansion, disablePopUp, inline, hideErrorBar, autoFocus, openInPopUp, onEditorFocus, } = props;
35
+ const { className, disabled, lambdaEditorState, transformStringToLambda, expectedType, onExpectedTypeLabelSelect, matchedExpectedType, forceBackdrop, disableExpansion, forceExpansion, disablePopUp, inline, hideErrorBar, autoFocus, openInPopUp, onEditorFocus, onEditorBlur, } = props;
36
36
  const applicationStore = useApplicationStore();
37
37
  const onDidChangeModelContentEventDisposer = useRef(undefined);
38
38
  const onDidFocusEditorWidgetDisposer = useRef(undefined);
39
+ const onDidBlurEditorTextDisposer = useRef(undefined);
39
40
  const value = normalizeLineEnding(lambdaEditorState.lambdaString);
40
41
  const parserError = lambdaEditorState.parserError;
41
42
  const compilationError = lambdaEditorState.compilationError;
@@ -172,6 +173,12 @@ const LambdaEditor_Inner = observer((props) => {
172
173
  onDidFocusEditorWidgetDisposer.current = editor.onDidFocusEditorWidget(() => {
173
174
  onEditorFocus?.();
174
175
  });
176
+ if (onEditorBlur) {
177
+ onDidBlurEditorTextDisposer.current = editor.onDidBlurEditorText(() => {
178
+ transformStringToLambda?.cancel();
179
+ onEditorBlur();
180
+ });
181
+ }
175
182
  // Set the text value
176
183
  const currentValue = getCodeEditorValue(editor);
177
184
  const editorModel = editor.getModel();
@@ -226,7 +233,7 @@ const LambdaEditor_Inner = observer((props) => {
226
233
  'lambda-editor__editor__expected-return-type--highlighted': matchedExpectedType?.(),
227
234
  }), children: expectedType?.name ?? 'unknown' }))] })), !disableExpansion && !forceExpansion && (_jsx("button", { className: "lambda-editor__editor__expand-btn", onClick: toggleExpandedMode, disabled: Boolean(parserError), tabIndex: -1, title: "Toggle Expand", children: isExpanded ? _jsx(LongArrowAltUpIcon, {}) : _jsx(LongArrowAltDownIcon, {}) })), !disablePopUp && (_jsx("button", { className: "lambda-editor__action", onClick: openInPopUp, disabled: Boolean(parserError), tabIndex: -1, title: "Open in a popup...", children: _jsx(FilledWindowMaximizeIcon, {}) }))] }), !hideErrorBar && (_jsx(LambdaEditor_ErrorFeedback, { error: parserError ?? compilationError, discardChanges: discardChanges }))] }));
228
235
  });
229
- export const LambdaEditor_PopUp = observer((props) => {
236
+ const LambdaEditor_PopUp = observer((props) => {
230
237
  const { className, disabled, lambdaEditorState, transformStringToLambda, title, onClose, } = props;
231
238
  const applicationStore = useApplicationStore();
232
239
  const onDidChangeModelContentEventDisposer = useRef(undefined);
@@ -362,7 +369,7 @@ export const LambdaEditor_PopUp = observer((props) => {
362
369
  }), children: [_jsxs(ModalHeader, { children: [_jsx(ModalTitle, { title: title ?? 'Edit Lambda' }), lambdaEditorState.parserError && (_jsx("div", { className: "modal__title__error-badge", children: "Failed to parse lambda" }))] }), _jsx(ModalBody, { children: _jsx("div", { className: clsx('lambda-editor__popup__content', className), children: _jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.LAMBDA_EDITOR__EDITOR_INPUT, className: "lambda-editor__editor__input", children: _jsx("div", { className: "code-editor__body", ref: textInputRef }) }) }) }), _jsxs(ModalFooter, { children: [_jsx("button", { className: "btn btn--dark btn--caution", onClick: discardChanges, children: "Discard changes" }), _jsx("button", { className: "btn btn--dark", onClick: onClose, disabled: Boolean(lambdaEditorState.parserError), children: "Close" })] })] }) }));
363
370
  });
364
371
  export const InlineLambdaEditor = observer((props) => {
365
- const { className, lambdaEditorState, disabled, forceBackdrop, expectedType, onExpectedTypeLabelSelect, matchedExpectedType, disableExpansion, forceExpansion, disablePopUp, hideErrorBar, autoFocus, onEditorFocus, } = props;
372
+ const { className, lambdaEditorState, disabled, forceBackdrop, expectedType, onExpectedTypeLabelSelect, matchedExpectedType, disableExpansion, forceExpansion, disablePopUp, hideErrorBar, autoFocus, onEditorFocus, onEditorBlur, } = props;
366
373
  const [showPopUp, setShowPopUp] = useState(false);
367
374
  const openInPopUp = () => setShowPopUp(true);
368
375
  const closePopUp = () => setShowPopUp(false);
@@ -397,7 +404,7 @@ export const InlineLambdaEditor = observer((props) => {
397
404
  * So technically, we don't need to do the force-remount using `key`, but to be cleaner, we prevent other poential bugs, we do it anyway
398
405
  * to reset everything.
399
406
  */
400
- , { className: className, inline: true, disabled: disabled, lambdaEditorState: lambdaEditorState, transformStringToLambda: debouncedTransformStringToLambda, expectedType: expectedType, matchedExpectedType: matchedExpectedType, onExpectedTypeLabelSelect: onExpectedTypeLabelSelect, forceBackdrop: forceBackdrop, disableExpansion: disableExpansion, disablePopUp: disablePopUp, autoFocus: autoFocus, openInPopUp: openInPopUp, onEditorFocus: onEditorFocus, hideErrorBar: hideErrorBar, forceExpansion: disableExpansion !== undefined
407
+ , { className: className, inline: true, disabled: disabled, lambdaEditorState: lambdaEditorState, transformStringToLambda: debouncedTransformStringToLambda, expectedType: expectedType, matchedExpectedType: matchedExpectedType, onExpectedTypeLabelSelect: onExpectedTypeLabelSelect, forceBackdrop: forceBackdrop, disableExpansion: disableExpansion, disablePopUp: disablePopUp, autoFocus: autoFocus, openInPopUp: openInPopUp, onEditorFocus: onEditorFocus, onEditorBlur: onEditorBlur, hideErrorBar: hideErrorBar, forceExpansion: disableExpansion !== undefined
401
408
  ? !disableExpansion && forceExpansion
402
409
  : forceExpansion }, lambdaEditorState.uuid));
403
410
  });
@@ -1 +1 @@
1
- {"version":3,"file":"LambdaEditor.js","sourceRoot":"","sources":["../../../src/components/shared/LambdaEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,MAAM,IAAI,eAAe,EAAoB,MAAM,eAAe,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,wBAAwB,EACxB,oBAAoB,EACpB,kBAAkB,EAClB,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,EAClB,mBAAmB,EACnB,YAAY,EACZ,eAAe,EACf,oBAAoB,EACpB,iBAAiB,GAClB,MAAM,gCAAgC,CAAC;AAExC,OAAO,EACL,QAAQ,EACR,IAAI,GAGL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,WAAW,EAA+B,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EACL,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAE7E,MAAM,0BAA0B,GAG3B,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EA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AI,CAY3B,CACH,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"LambdaEditor.js","sourceRoot":"","sources":["../../../src/components/shared/LambdaEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,MAAM,IAAI,eAAe,EAAoB,MAAM,eAAe,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,wBAAwB,EACxB,oBAAoB,EACpB,kBAAkB,EAClB,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,EAClB,mBAAmB,EACnB,YAAY,EACZ,eAAe,EACf,oBAAoB,EACpB,iBAAiB,GAClB,MAAM,gCAAgC,CAAC;AAExC,OAAO,EACL,QAAQ,EACR,IAAI,GAGL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,WAAW,EAA+B,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EACL,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAE7E,MAAM,0BAA0B,GAG3B,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EAAE,KAAK,EAAE,cAAc,EAAE,GAAG,KAAK,CAAC;IAExC,IAAI,CAAC,KAAK,EAAE;QACV,OAAO,IAAI,CAAC;KACb;IACD,OAAO,CACL,eAAK,SAAS,EAAC,+BAA+B,aAC5C,cAAK,SAAS,EAAC,+CAA+C,YAC3D,KAAK,CAAC,OAAO,GACV,EACL,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