@getcortexlabs/mavis 0.1.0-alpha.5 → 0.1.0-alpha.7
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/README.md +5 -7
- package/dist/app-icons.d.ts +26 -0
- package/dist/app-icons.d.ts.map +1 -0
- package/dist/app-icons.js +9 -0
- package/dist/app-icons.js.map +1 -0
- package/dist/native/app-icons.android.d.ts +4 -0
- package/dist/native/app-icons.android.d.ts.map +1 -0
- package/dist/native/app-icons.android.js +67 -0
- package/dist/native/app-icons.android.js.map +1 -0
- package/dist/native/app-icons.d.ts +4 -0
- package/dist/native/app-icons.d.ts.map +1 -0
- package/dist/native/app-icons.ios.d.ts +4 -0
- package/dist/native/app-icons.ios.d.ts.map +1 -0
- package/dist/native/app-icons.ios.js +45 -0
- package/dist/native/app-icons.ios.js.map +1 -0
- package/dist/native/app-icons.js +9 -0
- package/dist/native/app-icons.js.map +1 -0
- package/dist/native/motion-owner.d.ts.map +1 -1
- package/dist/native/motion-owner.js +5 -0
- package/dist/native/motion-owner.js.map +1 -1
- package/dist/native/motion-region.d.ts.map +1 -1
- package/dist/native/motion-region.js +39 -1
- package/dist/native/motion-region.js.map +1 -1
- package/dist/native/motion-surface.d.ts +1 -1
- package/dist/native/motion-surface.d.ts.map +1 -1
- package/dist/native/motion-surface.js +36 -3
- package/dist/native/motion-surface.js.map +1 -1
- package/dist/native/press.d.ts +5 -2
- package/dist/native/press.d.ts.map +1 -1
- package/dist/native/press.js +6 -0
- package/dist/native/press.js.map +1 -1
- package/dist/vue/components/ChoiceControl.d.ts.map +1 -1
- package/dist/vue/components/ChoiceControl.js +20 -5
- package/dist/vue/components/ChoiceControl.js.map +1 -1
- package/dist/vue/components/DateCalendar.d.ts +3 -3
- package/dist/vue/components/MButton.d.ts +49 -3
- package/dist/vue/components/MButton.d.ts.map +1 -1
- package/dist/vue/components/MButton.js +20 -13
- package/dist/vue/components/MButton.js.map +1 -1
- package/dist/vue/components/MCard.d.ts +47 -1
- package/dist/vue/components/MCard.d.ts.map +1 -1
- package/dist/vue/components/MCard.js +12 -5
- package/dist/vue/components/MCard.js.map +1 -1
- package/dist/vue/components/MChip.d.ts +2 -2
- package/dist/vue/components/MDatePicker.d.ts +72 -24
- package/dist/vue/components/MDatePicker.d.ts.map +1 -1
- package/dist/vue/components/MDialog.d.ts +1 -1
- package/dist/vue/components/MEmptyState.d.ts +1 -1
- package/dist/vue/components/MFilePicker.d.ts +2 -2
- package/dist/vue/components/MImage.d.ts +192 -0
- package/dist/vue/components/MImage.d.ts.map +1 -0
- package/dist/vue/components/MImage.js +102 -0
- package/dist/vue/components/MImage.js.map +1 -0
- package/dist/vue/components/MInput.d.ts +3 -3
- package/dist/vue/components/MInput.d.ts.map +1 -1
- package/dist/vue/components/MInput.js +12 -8
- package/dist/vue/components/MInput.js.map +1 -1
- package/dist/vue/components/MLink.d.ts +120 -0
- package/dist/vue/components/MLink.d.ts.map +1 -0
- package/dist/vue/components/MLink.js +81 -0
- package/dist/vue/components/MLink.js.map +1 -0
- package/dist/vue/components/MListItem.d.ts +2 -0
- package/dist/vue/components/MListItem.d.ts.map +1 -1
- package/dist/vue/components/MProgress.d.ts +1 -1
- package/dist/vue/components/MReveal.d.ts +2 -2
- package/dist/vue/components/MReveal.d.ts.map +1 -1
- package/dist/vue/components/MReveal.js +80 -35
- package/dist/vue/components/MReveal.js.map +1 -1
- package/dist/vue/components/MSheet.d.ts +1 -1
- package/dist/vue/components/MStack.d.ts +199 -0
- package/dist/vue/components/MStack.d.ts.map +1 -0
- package/dist/vue/components/MStack.js +62 -0
- package/dist/vue/components/MStack.js.map +1 -0
- package/dist/vue/components/MSwitch.d.ts.map +1 -1
- package/dist/vue/components/MSwitch.js +13 -3
- package/dist/vue/components/MSwitch.js.map +1 -1
- package/dist/vue/components/MText.js +3 -3
- package/dist/vue/components/MText.js.map +1 -1
- package/dist/vue/components/configurator.d.ts +541 -0
- package/dist/vue/components/configurator.d.ts.map +1 -0
- package/dist/vue/components/configurator.js +24 -0
- package/dist/vue/components/configurator.js.map +1 -0
- package/dist/vue/components/layout.d.ts +3 -3
- package/dist/vue/components/layout.d.ts.map +1 -1
- package/dist/vue/components/layout.js +5 -5
- package/dist/vue/components/layout.js.map +1 -1
- package/dist/vue/components/workflows.d.ts +1 -1
- package/dist/vue/index.d.ts +5 -1
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +10 -1
- package/dist/vue/index.js.map +1 -1
- package/dist/vue/navigation.d.ts +4 -0
- package/dist/vue/navigation.d.ts.map +1 -0
- package/dist/vue/navigation.js +16 -0
- package/dist/vue/navigation.js.map +1 -0
- package/dist/vue/use-choice-paint.d.ts +9 -0
- package/dist/vue/use-choice-paint.d.ts.map +1 -0
- package/dist/vue/use-choice-paint.js +32 -0
- package/dist/vue/use-choice-paint.js.map +1 -0
- package/dist/vue/use-press.js +3 -3
- package/dist/vue/use-press.js.map +1 -1
- package/package.json +7 -3
- package/src/app-icons.ts +21 -0
- package/src/native/app-icons.android.ts +95 -0
- package/src/native/app-icons.ios.ts +74 -0
- package/src/native/app-icons.ts +12 -0
- package/src/native/motion-owner.ts +7 -0
- package/src/native/motion-region.ts +63 -1
- package/src/native/motion-surface.ts +41 -2
- package/src/native/press.ts +9 -3
- package/src/vue/components/ChoiceControl.ts +25 -5
- package/src/vue/components/MButton.ts +20 -10
- package/src/vue/components/MCard.ts +22 -5
- package/src/vue/components/MImage.ts +117 -0
- package/src/vue/components/MInput.ts +12 -8
- package/src/vue/components/MLink.ts +96 -0
- package/src/vue/components/MReveal.ts +89 -47
- package/src/vue/components/MStack.ts +83 -0
- package/src/vue/components/MSwitch.ts +16 -3
- package/src/vue/components/MText.ts +3 -3
- package/src/vue/components/configurator.ts +27 -0
- package/src/vue/components/layout.ts +10 -5
- package/src/vue/index.ts +14 -0
- package/src/vue/navigation.ts +15 -0
- package/src/vue/use-choice-paint.ts +39 -0
- package/src/vue/use-press.ts +3 -3
- package/dist/vue/reveal-motion.d.ts +0 -13
- package/dist/vue/reveal-motion.d.ts.map +0 -1
- package/dist/vue/reveal-motion.js +0 -55
- package/dist/vue/reveal-motion.js.map +0 -1
- package/src/vue/reveal-motion.ts +0 -61
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
export declare const MImage: import("nativescript-vue").DefineComponent<import("nativescript-vue").ExtractPropTypes<{
|
|
2
|
+
src: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
alt: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
aspectRatio: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
fit: {
|
|
15
|
+
type: import("nativescript-vue").PropType<"cover" | "contain">;
|
|
16
|
+
default: string;
|
|
17
|
+
validator: (value: string) => boolean;
|
|
18
|
+
};
|
|
19
|
+
radius: {
|
|
20
|
+
default: string;
|
|
21
|
+
type: import("nativescript-vue").PropType<number | import("@getcortexlabs/mavis-core").Radius>;
|
|
22
|
+
};
|
|
23
|
+
loadingLabel: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
errorLabel: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
padding: {
|
|
32
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
33
|
+
} & {
|
|
34
|
+
default: undefined;
|
|
35
|
+
};
|
|
36
|
+
paddingX: {
|
|
37
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
38
|
+
} & {
|
|
39
|
+
default: undefined;
|
|
40
|
+
};
|
|
41
|
+
paddingY: {
|
|
42
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
43
|
+
} & {
|
|
44
|
+
default: undefined;
|
|
45
|
+
};
|
|
46
|
+
width: {
|
|
47
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
48
|
+
} & {
|
|
49
|
+
default: undefined;
|
|
50
|
+
};
|
|
51
|
+
height: {
|
|
52
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
53
|
+
} & {
|
|
54
|
+
default: undefined;
|
|
55
|
+
};
|
|
56
|
+
backgroundColor: {
|
|
57
|
+
type: import("nativescript-vue").PropType<string>;
|
|
58
|
+
};
|
|
59
|
+
grow: {
|
|
60
|
+
type: import("nativescript-vue").PropType<number>;
|
|
61
|
+
} & {
|
|
62
|
+
default: number;
|
|
63
|
+
};
|
|
64
|
+
shrink: {
|
|
65
|
+
type: import("nativescript-vue").PropType<number>;
|
|
66
|
+
} & {
|
|
67
|
+
default: undefined;
|
|
68
|
+
};
|
|
69
|
+
id: {
|
|
70
|
+
type: import("nativescript-vue").PropType<string>;
|
|
71
|
+
} & {
|
|
72
|
+
default: undefined;
|
|
73
|
+
};
|
|
74
|
+
accessibilityLabel: {
|
|
75
|
+
type: import("nativescript-vue").PropType<string>;
|
|
76
|
+
} & {
|
|
77
|
+
default: undefined;
|
|
78
|
+
};
|
|
79
|
+
accessibilityHidden: {
|
|
80
|
+
type: import("nativescript-vue").PropType<boolean>;
|
|
81
|
+
} & {
|
|
82
|
+
default: undefined;
|
|
83
|
+
};
|
|
84
|
+
}>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
|
|
85
|
+
[key: string]: any;
|
|
86
|
+
}>, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {
|
|
87
|
+
load: (_src: string) => true;
|
|
88
|
+
error: (_src: string) => true;
|
|
89
|
+
}, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
|
|
90
|
+
src: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
required: true;
|
|
93
|
+
};
|
|
94
|
+
alt: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
required: true;
|
|
97
|
+
};
|
|
98
|
+
aspectRatio: {
|
|
99
|
+
type: NumberConstructor;
|
|
100
|
+
default: number;
|
|
101
|
+
};
|
|
102
|
+
fit: {
|
|
103
|
+
type: import("nativescript-vue").PropType<"cover" | "contain">;
|
|
104
|
+
default: string;
|
|
105
|
+
validator: (value: string) => boolean;
|
|
106
|
+
};
|
|
107
|
+
radius: {
|
|
108
|
+
default: string;
|
|
109
|
+
type: import("nativescript-vue").PropType<number | import("@getcortexlabs/mavis-core").Radius>;
|
|
110
|
+
};
|
|
111
|
+
loadingLabel: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
default: string;
|
|
114
|
+
};
|
|
115
|
+
errorLabel: {
|
|
116
|
+
type: StringConstructor;
|
|
117
|
+
default: string;
|
|
118
|
+
};
|
|
119
|
+
padding: {
|
|
120
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
121
|
+
} & {
|
|
122
|
+
default: undefined;
|
|
123
|
+
};
|
|
124
|
+
paddingX: {
|
|
125
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
126
|
+
} & {
|
|
127
|
+
default: undefined;
|
|
128
|
+
};
|
|
129
|
+
paddingY: {
|
|
130
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
131
|
+
} & {
|
|
132
|
+
default: undefined;
|
|
133
|
+
};
|
|
134
|
+
width: {
|
|
135
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
136
|
+
} & {
|
|
137
|
+
default: undefined;
|
|
138
|
+
};
|
|
139
|
+
height: {
|
|
140
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
141
|
+
} & {
|
|
142
|
+
default: undefined;
|
|
143
|
+
};
|
|
144
|
+
backgroundColor: {
|
|
145
|
+
type: import("nativescript-vue").PropType<string>;
|
|
146
|
+
};
|
|
147
|
+
grow: {
|
|
148
|
+
type: import("nativescript-vue").PropType<number>;
|
|
149
|
+
} & {
|
|
150
|
+
default: number;
|
|
151
|
+
};
|
|
152
|
+
shrink: {
|
|
153
|
+
type: import("nativescript-vue").PropType<number>;
|
|
154
|
+
} & {
|
|
155
|
+
default: undefined;
|
|
156
|
+
};
|
|
157
|
+
id: {
|
|
158
|
+
type: import("nativescript-vue").PropType<string>;
|
|
159
|
+
} & {
|
|
160
|
+
default: undefined;
|
|
161
|
+
};
|
|
162
|
+
accessibilityLabel: {
|
|
163
|
+
type: import("nativescript-vue").PropType<string>;
|
|
164
|
+
} & {
|
|
165
|
+
default: undefined;
|
|
166
|
+
};
|
|
167
|
+
accessibilityHidden: {
|
|
168
|
+
type: import("nativescript-vue").PropType<boolean>;
|
|
169
|
+
} & {
|
|
170
|
+
default: undefined;
|
|
171
|
+
};
|
|
172
|
+
}>> & Readonly<{
|
|
173
|
+
onError?: ((_src: string) => any) | undefined;
|
|
174
|
+
onLoad?: ((_src: string) => any) | undefined;
|
|
175
|
+
}>, {
|
|
176
|
+
padding: import("@getcortexlabs/mavis-core").Spacing;
|
|
177
|
+
accessibilityHidden: boolean;
|
|
178
|
+
accessibilityLabel: string;
|
|
179
|
+
width: import("@getcortexlabs/mavis-core").Dimension;
|
|
180
|
+
height: import("@getcortexlabs/mavis-core").Dimension;
|
|
181
|
+
id: string;
|
|
182
|
+
grow: number;
|
|
183
|
+
shrink: number;
|
|
184
|
+
paddingX: import("@getcortexlabs/mavis-core").Spacing;
|
|
185
|
+
paddingY: import("@getcortexlabs/mavis-core").Spacing;
|
|
186
|
+
radius: number | import("@getcortexlabs/mavis-core").Radius;
|
|
187
|
+
aspectRatio: number;
|
|
188
|
+
fit: "cover" | "contain";
|
|
189
|
+
loadingLabel: string;
|
|
190
|
+
errorLabel: string;
|
|
191
|
+
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
|
|
192
|
+
//# sourceMappingURL=MImage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MImage.d.ts","sourceRoot":"","sources":["../../../src/vue/components/MImage.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIK,MAAM;kBAAyB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAgG3D,CAAA"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { defineComponent, h, mergeProps, onBeforeUnmount, ref, shallowRef, watch, } from 'nativescript-vue';
|
|
2
|
+
import { imageProps, useMavisTheme } from '@getcortexlabs/mavis-core/vue';
|
|
3
|
+
import { resolveRadius } from '@getcortexlabs/mavis-core';
|
|
4
|
+
import { loadAvatarImage } from '../../native/avatar-image';
|
|
5
|
+
import { MBox } from './layout.js';
|
|
6
|
+
import { MText } from './MText.js';
|
|
7
|
+
export const MImage = defineComponent({
|
|
8
|
+
name: 'MImage',
|
|
9
|
+
inheritAttrs: false,
|
|
10
|
+
props: imageProps,
|
|
11
|
+
emits: { load: (_src) => true, error: (_src) => true },
|
|
12
|
+
setup(props, { attrs, emit }) {
|
|
13
|
+
const { theme } = useMavisTheme();
|
|
14
|
+
const image = shallowRef(null);
|
|
15
|
+
const status = ref('loading');
|
|
16
|
+
const width = ref(typeof props.width === 'number' ? props.width : 0);
|
|
17
|
+
let generation = 0, loaded = false;
|
|
18
|
+
async function load() {
|
|
19
|
+
const current = ++generation, src = props.src;
|
|
20
|
+
image.value = null;
|
|
21
|
+
status.value = src.trim() ? 'loading' : 'error';
|
|
22
|
+
if (!loaded || !src.trim())
|
|
23
|
+
return;
|
|
24
|
+
try {
|
|
25
|
+
const result = await loadAvatarImage(src.trim());
|
|
26
|
+
if (current !== generation || !loaded)
|
|
27
|
+
return;
|
|
28
|
+
if (!result || result.width <= 0 || result.height <= 0)
|
|
29
|
+
throw new Error('Image could not be decoded.');
|
|
30
|
+
image.value = result;
|
|
31
|
+
status.value = 'ready';
|
|
32
|
+
emit('load', src);
|
|
33
|
+
}
|
|
34
|
+
catch {
|
|
35
|
+
if (current !== generation || !loaded)
|
|
36
|
+
return;
|
|
37
|
+
status.value = 'error';
|
|
38
|
+
emit('error', src);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
function unload() {
|
|
42
|
+
loaded = false;
|
|
43
|
+
generation++;
|
|
44
|
+
image.value = null;
|
|
45
|
+
}
|
|
46
|
+
watch(() => props.src, () => {
|
|
47
|
+
void load();
|
|
48
|
+
});
|
|
49
|
+
onBeforeUnmount(unload);
|
|
50
|
+
return () => {
|
|
51
|
+
if (!Number.isFinite(props.aspectRatio) || props.aspectRatio <= 0)
|
|
52
|
+
throw new RangeError('aspectRatio must be finite and positive.');
|
|
53
|
+
const radius = resolveRadius(theme.value, props.radius);
|
|
54
|
+
return h(MBox, mergeProps(attrs, {
|
|
55
|
+
...props,
|
|
56
|
+
width: props.width ?? '100%',
|
|
57
|
+
height: props.height ?? width.value / props.aspectRatio,
|
|
58
|
+
backgroundColor: props.backgroundColor || theme.value.colors.elevated,
|
|
59
|
+
accessible: Boolean(props.alt),
|
|
60
|
+
accessibilityRole: 'image',
|
|
61
|
+
accessibilityLabel: props.alt,
|
|
62
|
+
accessibilityHint: status.value === 'ready'
|
|
63
|
+
? ''
|
|
64
|
+
: status.value === 'error'
|
|
65
|
+
? props.errorLabel
|
|
66
|
+
: props.loadingLabel,
|
|
67
|
+
accessibilityHidden: props.accessibilityHidden || !props.alt,
|
|
68
|
+
onLoaded: () => {
|
|
69
|
+
loaded = true;
|
|
70
|
+
void load();
|
|
71
|
+
},
|
|
72
|
+
onUnloaded: unload,
|
|
73
|
+
onLayoutChanged: (event) => {
|
|
74
|
+
const next = event.object.getActualSize().width;
|
|
75
|
+
if (next > 0 && Math.abs(next - width.value) > 0.1)
|
|
76
|
+
width.value = next;
|
|
77
|
+
},
|
|
78
|
+
}), () => image.value
|
|
79
|
+
? [
|
|
80
|
+
h('Image', {
|
|
81
|
+
imageSource: image.value,
|
|
82
|
+
width: '100%',
|
|
83
|
+
height: '100%',
|
|
84
|
+
stretch: props.fit === 'cover' ? 'aspectFill' : 'aspectFit',
|
|
85
|
+
borderRadius: radius,
|
|
86
|
+
accessible: false,
|
|
87
|
+
accessibilityHidden: true,
|
|
88
|
+
}),
|
|
89
|
+
]
|
|
90
|
+
: [
|
|
91
|
+
h(MText, {
|
|
92
|
+
text: status.value === 'error' ? props.errorLabel : props.loadingLabel,
|
|
93
|
+
tone: 'muted',
|
|
94
|
+
variant: 'caption',
|
|
95
|
+
accessibilityHidden: true,
|
|
96
|
+
style: { textAlignment: 'center', verticalAlignment: 'middle', padding: 16 },
|
|
97
|
+
}),
|
|
98
|
+
]);
|
|
99
|
+
};
|
|
100
|
+
},
|
|
101
|
+
});
|
|
102
|
+
//# sourceMappingURL=MImage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MImage.js","sourceRoot":"","sources":["../../../src/vue/components/MImage.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,CAAC,EACD,UAAU,EACV,eAAe,EACf,GAAG,EACH,UAAU,EACV,KAAK,GACN,MAAM,kBAAkB,CAAA;AAEzB,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAA;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAC3D,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAClC,OAAO,EAAE,KAAK,EAAE,MA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