fansunited-frontend-core 0.0.48 → 0.0.49
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/components/Portal/Portal.d.ts +5 -4
- package/index.d.ts +41 -41
- package/index.es.js +1 -1
- package/interfaces/interfaces.d.ts +6 -5
- package/package.json +1 -1
- package/components/Portal/Portal.js +0 -68
- package/components/Portal/Portal.js.map +0 -1
- package/index.js +0 -39
- package/index.js.map +0 -1
- package/interfaces/interfaces.js +0 -2
- package/interfaces/interfaces.js.map +0 -1
- package/locales/bg.json +0 -768
- package/locales/de.json +0 -759
- package/locales/el.json +0 -759
- package/locales/en.json +0 -772
- package/locales/es.json +0 -759
- package/locales/fr-be.json +0 -759
- package/locales/fr.json +0 -759
- package/locales/it.json +0 -759
- package/locales/pl.json +0 -759
- package/locales/pt-br.json +0 -759
- package/locales/pt.json +0 -759
- package/locales/ro.json +0 -759
- package/locales/sk.json +0 -759
- package/locales/sr.json +0 -759
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { MainProps } from
|
|
3
|
-
import { PackageNamesType } from
|
|
4
|
-
import { WidgetTemplate } from
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { MainProps } from '../../interfaces/interfaces';
|
|
3
|
+
import { PackageNamesType } from '../../types/types';
|
|
4
|
+
import { WidgetTemplate } from '../../enums/enums';
|
|
5
|
+
|
|
5
6
|
interface PortalProps extends Omit<MainProps, "template"> {
|
|
6
7
|
children: React.ReactNode;
|
|
7
8
|
packageName: PackageNamesType;
|
package/index.d.ts
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
export declare const version: string;
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export { default as Spinner } from
|
|
8
|
-
export { default as ThemeProvider } from
|
|
9
|
-
export { default as AdditionalCTA } from
|
|
10
|
-
export { default as Rules } from
|
|
11
|
-
export { default as CollectLeadForm } from
|
|
12
|
-
export { default as StandardSkeleton } from
|
|
13
|
-
export { default as SplitSkeleton } from
|
|
14
|
-
export { default as OverlaySkeleton } from
|
|
15
|
-
export { default as StandardScoreStateSkeleton } from
|
|
16
|
-
export { default as StandardContentSkeleton } from
|
|
17
|
-
export { default as StandardSignInSkeleton } from
|
|
18
|
-
export { default as SplitScoreStateSkeleton } from
|
|
19
|
-
export { default as SplitSignInSkeleton } from
|
|
20
|
-
export { default as OverlaySignInSkeleton } from
|
|
21
|
-
export { default as OverlayScoreStateSkeleton } from
|
|
22
|
-
export { default as OverlayScoreStateWrapperSkeleton } from
|
|
23
|
-
export { default as StandardApiErrorSkeleton } from
|
|
24
|
-
export { default as SplitApiErrorSkeleton } from
|
|
25
|
-
export { default as OverlayApiErrorSkeleton } from
|
|
26
|
-
export { default as NotFoundSkeleton } from
|
|
27
|
-
export { default as StandardLeadAfterCollection } from
|
|
28
|
-
export type { StandardLeadAfterCollectionProps } from
|
|
29
|
-
export { default as SplitLeadAfterCollection } from
|
|
30
|
-
export type { SplitLeadAfterCollectionProps } from
|
|
31
|
-
export { default as OverlayLeadAfterCollection } from
|
|
32
|
-
export type { OverlayLeadAfterCollectionProps } from
|
|
33
|
-
export { default as InfoPageCollectLeadWrapper } from
|
|
34
|
-
export type { InfoPageCollectLeadWrapperProps } from
|
|
35
|
-
export { default as Portal } from
|
|
36
|
-
export { default as ChanceGameEmbed } from
|
|
37
|
-
export { default as Notification } from
|
|
38
|
-
export { default as PrizeCard } from
|
|
39
|
-
export * from
|
|
40
|
-
export * from
|
|
41
|
-
export { default as defaultBg } from
|
|
42
|
-
export { default as defaultBgVertical } from
|
|
2
|
+
export * from './constants/constants';
|
|
3
|
+
export * from './functions/functions';
|
|
4
|
+
export * from './interfaces/interfaces';
|
|
5
|
+
export * from './types/types';
|
|
6
|
+
export * from './enums/enums';
|
|
7
|
+
export { default as Spinner } from './components/Spinner';
|
|
8
|
+
export { default as ThemeProvider } from './providers/ThemeProvider';
|
|
9
|
+
export { default as AdditionalCTA } from './components/AdditionalCTA';
|
|
10
|
+
export { default as Rules } from './components/Rules';
|
|
11
|
+
export { default as CollectLeadForm } from './components/Leads/CollectLeadForm';
|
|
12
|
+
export { default as StandardSkeleton } from './components/Skeletons/Standard/StandardSkeleton';
|
|
13
|
+
export { default as SplitSkeleton } from './components/Skeletons/Split/SplitSkeleton';
|
|
14
|
+
export { default as OverlaySkeleton } from './components/Skeletons/Overlay/OverlaySkeleton';
|
|
15
|
+
export { default as StandardScoreStateSkeleton } from './components/Skeletons/Standard/ScoreState/StandardScoreStateSkeleton';
|
|
16
|
+
export { default as StandardContentSkeleton } from './components/Skeletons/Standard/ScoreState/StandardContentSkeleton';
|
|
17
|
+
export { default as StandardSignInSkeleton } from './components/Skeletons/Standard/SignIn/StandardSignInSkeleton';
|
|
18
|
+
export { default as SplitScoreStateSkeleton } from './components/Skeletons/Split/ScoreState/SplitScoreStateSkeleton';
|
|
19
|
+
export { default as SplitSignInSkeleton } from './components/Skeletons/Split/SignIn/SplitSignInSkeleton';
|
|
20
|
+
export { default as OverlaySignInSkeleton } from './components/Skeletons/Overlay/SignIn/OverlaySignInSkeleton';
|
|
21
|
+
export { default as OverlayScoreStateSkeleton } from './components/Skeletons/Overlay/ScoreState/OverlayScoreStateSkeleton';
|
|
22
|
+
export { default as OverlayScoreStateWrapperSkeleton } from './components/Skeletons/Overlay/ScoreState/OverlayScoreStateWrapperSkeleton';
|
|
23
|
+
export { default as StandardApiErrorSkeleton } from './components/Skeletons/Standard/ApiError/StandardApiErrorSkeleton';
|
|
24
|
+
export { default as SplitApiErrorSkeleton } from './components/Skeletons/Split/ApiError/SplitApiErrorSkeleton';
|
|
25
|
+
export { default as OverlayApiErrorSkeleton } from './components/Skeletons/Overlay/ApiError/OverlayApiErrorSkeleton';
|
|
26
|
+
export { default as NotFoundSkeleton } from './components/Skeletons/NotFoundSkeleton';
|
|
27
|
+
export { default as StandardLeadAfterCollection } from './components/LeadCollection/StandardLeadAfterCollection';
|
|
28
|
+
export type { StandardLeadAfterCollectionProps } from './components/LeadCollection/StandardLeadAfterCollection';
|
|
29
|
+
export { default as SplitLeadAfterCollection } from './components/LeadCollection/SplitLeadAfterCollection';
|
|
30
|
+
export type { SplitLeadAfterCollectionProps } from './components/LeadCollection/SplitLeadAfterCollection';
|
|
31
|
+
export { default as OverlayLeadAfterCollection } from './components/LeadCollection/OverlayLeadAfterCollection';
|
|
32
|
+
export type { OverlayLeadAfterCollectionProps } from './components/LeadCollection/OverlayLeadAfterCollection';
|
|
33
|
+
export { default as InfoPageCollectLeadWrapper } from './components/Leads/InfoPageCollectLeadWrapper';
|
|
34
|
+
export type { InfoPageCollectLeadWrapperProps } from './components/Leads/InfoPageCollectLeadWrapper';
|
|
35
|
+
export { default as Portal } from './components/Portal/Portal';
|
|
36
|
+
export { default as ChanceGameEmbed } from './components/ChanceGameEmbed';
|
|
37
|
+
export { default as Notification } from './components/Notification';
|
|
38
|
+
export { default as PrizeCard } from './components/PrizeCard/PrizeCard';
|
|
39
|
+
export * from './hooks/hooks';
|
|
40
|
+
export * from './providers/providers';
|
|
41
|
+
export { default as defaultBg } from './assets/default-quiz-bg.png';
|
|
42
|
+
export { default as defaultBgVertical } from './assets/default-quiz-bg-vertical.jpg';
|
|
43
43
|
//# sourceMappingURL=index.d.ts.map
|
package/index.es.js
CHANGED
|
@@ -40368,7 +40368,7 @@ const BF = (e) => {
|
|
|
40368
40368
|
const o = hI(e.images);
|
|
40369
40369
|
let n = null;
|
|
40370
40370
|
return t !== Ct.OVERLAY ? n = o : n = ((r = e.images) == null ? void 0 : r.cover) || "", n || (n = e.imagePlaceholder), n;
|
|
40371
|
-
}, nO = "0.0.
|
|
40371
|
+
}, nO = "0.0.48";
|
|
40372
40372
|
export {
|
|
40373
40373
|
EI as AdditionalCTA,
|
|
40374
40374
|
_I as ChanceGameEmbed,
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { ActionType, CTAType, ContentViewType, JourneyType, LinkTargetType, StageType, LanguageType, LeadField, LeadPosition, OptionsLayout, DiscussionSortType, PredictorTab } from
|
|
2
|
-
import { ChanceGameTemplate, ChanceGameVariant, PickThePairTemplate, WidgetTemplate } from
|
|
3
|
-
import { BrandingModel, ContextModel, FansUnitedSDKModel, ImagesModel } from
|
|
4
|
-
import { ColorSystemOptions, CssVarsThemeOptions } from
|
|
5
|
-
import { DefaultColorScheme, DefaultPaletteRange, ExtendedColorScheme } from
|
|
1
|
+
import { ActionType, CTAType, ContentViewType, JourneyType, LinkTargetType, StageType, LanguageType, LeadField, LeadPosition, OptionsLayout, DiscussionSortType, PredictorTab } from '../types/types';
|
|
2
|
+
import { ChanceGameTemplate, ChanceGameVariant, PickThePairTemplate, WidgetTemplate } from '../enums/enums';
|
|
3
|
+
import { BrandingModel, ContextModel, FansUnitedSDKModel, ImagesModel } from 'fansunited-sdk-esm';
|
|
4
|
+
import { ColorSystemOptions, CssVarsThemeOptions } from '@mui/joy/styles/extendTheme';
|
|
5
|
+
import { DefaultColorScheme, DefaultPaletteRange, ExtendedColorScheme } from '@mui/joy/styles/types';
|
|
6
|
+
|
|
6
7
|
export interface AnalyticsEvent {
|
|
7
8
|
journey: JourneyType;
|
|
8
9
|
stage: StageType;
|
package/package.json
CHANGED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import createCache from "@emotion/cache";
|
|
3
|
-
import { CacheProvider } from "@emotion/react";
|
|
4
|
-
import { Box } from "@mui/joy";
|
|
5
|
-
import React from "react";
|
|
6
|
-
import { createPortal } from "react-dom";
|
|
7
|
-
import { initializeI18n } from "../../functions/i18n";
|
|
8
|
-
import { WidgetTemplate } from "../../enums/enums";
|
|
9
|
-
import { ContainerProvider } from "../../providers/ContainerProvider";
|
|
10
|
-
import { ConstantsProvider } from "../../providers/ConstantsProvider";
|
|
11
|
-
import ThemeProvider from "../../providers/ThemeProvider";
|
|
12
|
-
const Portal = (props) => {
|
|
13
|
-
const [isReady, setIsReady] = React.useState(false);
|
|
14
|
-
const [i18nReady, setI18nReady] = React.useState(false);
|
|
15
|
-
const uniqueId = React.useRef(`${props.packageName}-shadow-root-${Math.random()
|
|
16
|
-
.toString(36)
|
|
17
|
-
.substring(2, 11)}`);
|
|
18
|
-
const hostRef = React.useRef(null);
|
|
19
|
-
const shadowRootRef = React.useRef(null);
|
|
20
|
-
const mountPointRef = React.useRef(null);
|
|
21
|
-
const cacheRef = React.useRef(null);
|
|
22
|
-
React.useEffect(() => {
|
|
23
|
-
// Initialize i18n first to ensure useTranslation can be used on first render
|
|
24
|
-
initializeI18n(props.language || "en").finally(() => setI18nReady(true));
|
|
25
|
-
}, [props.language]);
|
|
26
|
-
React.useEffect(() => {
|
|
27
|
-
if (!hostRef.current)
|
|
28
|
-
return;
|
|
29
|
-
if (hostRef.current.shadowRoot) {
|
|
30
|
-
shadowRootRef.current = hostRef.current.shadowRoot;
|
|
31
|
-
mountPointRef.current = shadowRootRef.current.getElementById(uniqueId.current);
|
|
32
|
-
if (!mountPointRef.current) {
|
|
33
|
-
mountPointRef.current = document.createElement("div");
|
|
34
|
-
mountPointRef.current.id = uniqueId.current;
|
|
35
|
-
shadowRootRef.current.appendChild(mountPointRef.current);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
shadowRootRef.current = hostRef.current.attachShadow({ mode: "open" });
|
|
40
|
-
mountPointRef.current = document.createElement("div");
|
|
41
|
-
mountPointRef.current.id = uniqueId.current;
|
|
42
|
-
shadowRootRef.current.appendChild(mountPointRef.current);
|
|
43
|
-
}
|
|
44
|
-
if (!cacheRef.current) {
|
|
45
|
-
cacheRef.current = createCache({
|
|
46
|
-
key: `${props.packageName}-css`,
|
|
47
|
-
prepend: true,
|
|
48
|
-
container: shadowRootRef.current,
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
setIsReady(true);
|
|
52
|
-
return () => {
|
|
53
|
-
setIsReady(false);
|
|
54
|
-
};
|
|
55
|
-
}, []);
|
|
56
|
-
const themeOptions = props.themeOptions;
|
|
57
|
-
const customTheme = {
|
|
58
|
-
...themeOptions,
|
|
59
|
-
mode: props.template === WidgetTemplate.OVERLAY ? "dark" : themeOptions?.mode,
|
|
60
|
-
};
|
|
61
|
-
const shadowHost = _jsx(Box, { ref: hostRef });
|
|
62
|
-
const widgetContent = isReady && i18nReady && mountPointRef.current && cacheRef.current
|
|
63
|
-
? createPortal(_jsx(CacheProvider, { value: cacheRef.current, children: _jsx(ContainerProvider, { containerRef: hostRef, children: _jsx(ThemeProvider, { customTheme: customTheme, mode: customTheme?.mode, shadowRootElement: mountPointRef.current, children: _jsx(ConstantsProvider, { shadowRootElement: mountPointRef.current, leadPhoneCountryCode: props.leads?.phoneCountryCode || null, language: props.language, optionsLayout: null, children: props.children }) }) }) }), mountPointRef.current)
|
|
64
|
-
: null;
|
|
65
|
-
return (_jsxs(_Fragment, { children: [shadowHost, widgetContent] }));
|
|
66
|
-
};
|
|
67
|
-
export default Portal;
|
|
68
|
-
//# sourceMappingURL=Portal.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Portal.js","sourceRoot":"","sources":["../../../src/components/Portal/Portal.tsx"],"names":[],"mappings":";AAAA,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAGzC,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAA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,EACF,KAAK,CAAC,QAAQ,KAAK,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,YAAY,EAAE,IAAI;KAC1E,CAAC;IAEF,MAAM,UAAU,GAAG,KAAC,GAAG,IAAC,GAAG,EAAE,OAAO,GAAI,CAAC;IACzC,MAAM,aAAa,GACjB,OAAO,IAAI,SAAS,IAAI,aAAa,CAAC,OAAO,IAAI,QAAQ,CAAC,OAAO;QAC/D,CAAC,CAAC,YAAY,CACV,KAAC,aAAa,IAAC,KAAK,EAAE,QAAQ,CAAC,OAAO,YACpC,KAAC,iBAAiB,IAAC,YAAY,EAAE,OAAO,YACtC,KAAC,aAAa,IACZ,WAAW,EAAE,WAAW,EACxB,IAAI,EAAE,WAAW,EAAE,IAAI,EACvB,iBAAiB,EAAE,aAAa,CAAC,OAAO,YAExC,KAAC,iBAAiB,IAChB,iBAAiB,EAAE,aAAa,CAAC,OAAO,EACxC,oBAAoB,EAAE,KAAK,CAAC,KAAK,EAAE,gBAAgB,IAAI,IAAI,EAC3D,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,aAAa,EAAE,IAAI,YAElB,KAAK,CAAC,QAAQ,GACG,GACN,GACE,GACN,EAChB,aAAa,CAAC,OAAO,CACtB;QACH,CAAC,CAAC,IAAI,CAAC;IAEX,OAAO,CACL,8BACG,UAAU,EACV,aAAa,IACb,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
package/index.js
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export const version = __CORE_VERSION__;
|
|
2
|
-
export * from "./constants/constants";
|
|
3
|
-
export * from "./functions/functions";
|
|
4
|
-
export * from "./interfaces/interfaces";
|
|
5
|
-
export * from "./types/types";
|
|
6
|
-
export * from "./enums/enums";
|
|
7
|
-
export { default as Spinner } from "./components/Spinner";
|
|
8
|
-
export { default as ThemeProvider } from "./providers/ThemeProvider";
|
|
9
|
-
export { default as AdditionalCTA } from "./components/AdditionalCTA";
|
|
10
|
-
export { default as Rules } from "./components/Rules";
|
|
11
|
-
export { default as CollectLeadForm } from "./components/Leads/CollectLeadForm";
|
|
12
|
-
export { default as StandardSkeleton } from "./components/Skeletons/Standard/StandardSkeleton";
|
|
13
|
-
export { default as SplitSkeleton } from "./components/Skeletons/Split/SplitSkeleton";
|
|
14
|
-
export { default as OverlaySkeleton } from "./components/Skeletons/Overlay/OverlaySkeleton";
|
|
15
|
-
export { default as StandardScoreStateSkeleton } from "./components/Skeletons/Standard/ScoreState/StandardScoreStateSkeleton";
|
|
16
|
-
export { default as StandardContentSkeleton } from "./components/Skeletons/Standard/ScoreState/StandardContentSkeleton";
|
|
17
|
-
export { default as StandardSignInSkeleton } from "./components/Skeletons/Standard/SignIn/StandardSignInSkeleton";
|
|
18
|
-
export { default as SplitScoreStateSkeleton } from "./components/Skeletons/Split/ScoreState/SplitScoreStateSkeleton";
|
|
19
|
-
export { default as SplitSignInSkeleton } from "./components/Skeletons/Split/SignIn/SplitSignInSkeleton";
|
|
20
|
-
export { default as OverlaySignInSkeleton } from "./components/Skeletons/Overlay/SignIn/OverlaySignInSkeleton";
|
|
21
|
-
export { default as OverlayScoreStateSkeleton } from "./components/Skeletons/Overlay/ScoreState/OverlayScoreStateSkeleton";
|
|
22
|
-
export { default as OverlayScoreStateWrapperSkeleton } from "./components/Skeletons/Overlay/ScoreState/OverlayScoreStateWrapperSkeleton";
|
|
23
|
-
export { default as StandardApiErrorSkeleton } from "./components/Skeletons/Standard/ApiError/StandardApiErrorSkeleton";
|
|
24
|
-
export { default as SplitApiErrorSkeleton } from "./components/Skeletons/Split/ApiError/SplitApiErrorSkeleton";
|
|
25
|
-
export { default as OverlayApiErrorSkeleton } from "./components/Skeletons/Overlay/ApiError/OverlayApiErrorSkeleton";
|
|
26
|
-
export { default as NotFoundSkeleton } from "./components/Skeletons/NotFoundSkeleton";
|
|
27
|
-
export { default as StandardLeadAfterCollection } from "./components/LeadCollection/StandardLeadAfterCollection";
|
|
28
|
-
export { default as SplitLeadAfterCollection } from "./components/LeadCollection/SplitLeadAfterCollection";
|
|
29
|
-
export { default as OverlayLeadAfterCollection } from "./components/LeadCollection/OverlayLeadAfterCollection";
|
|
30
|
-
export { default as InfoPageCollectLeadWrapper } from "./components/Leads/InfoPageCollectLeadWrapper";
|
|
31
|
-
export { default as Portal } from "./components/Portal/Portal";
|
|
32
|
-
export { default as ChanceGameEmbed } from "./components/ChanceGameEmbed";
|
|
33
|
-
export { default as Notification } from "./components/Notification";
|
|
34
|
-
export { default as PrizeCard } from "./components/PrizeCard/PrizeCard";
|
|
35
|
-
export * from "./hooks/hooks";
|
|
36
|
-
export * from "./providers/providers";
|
|
37
|
-
export { default as defaultBg } from "./assets/default-quiz-bg.png";
|
|
38
|
-
export { default as defaultBgVertical } from "./assets/default-quiz-bg-vertical.jpg";
|
|
39
|
-
//# sourceMappingURL=index.js.map
|
package/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,OAAO,GAAW,gBAAgB,CAAC;AAEhD,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,kDAAkD,CAA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