@acorex/components 17.0.15 → 17.0.17
Sign up to get free protection for your applications and to get access to all the features.
- package/calendar/lib/calendar.module.d.ts +2 -1
- package/conversation/index.d.ts +12 -0
- package/conversation/lib/conversation-input/conversation-input.component.d.ts +35 -0
- package/conversation/lib/conversation-message/conversation-message.component.d.ts +20 -0
- package/conversation/lib/conversation-messages/conversation-message-text.component.d.ts +9 -0
- package/{chat/lib/chat-messages/chat-messages-voice/chat-message-voice.component.d.ts → conversation/lib/conversation-messages/conversation-messages-voice/conversation-message-voice.component.d.ts} +6 -4
- package/conversation/lib/conversation-view/conversation-view.component.d.ts +13 -0
- package/conversation/lib/conversation.module.d.ts +37 -0
- package/conversation/lib/conversation.types.d.ts +23 -0
- package/conversation/lib/services/conversation-message-type-registry.service.d.ts +9 -0
- package/conversation/lib/services/conversation.service.d.ts +5 -0
- package/esm2022/audio-wave/lib/audio-wave.component.mjs +4 -4
- package/esm2022/calendar/lib/calendar.component.mjs +5 -4
- package/esm2022/calendar/lib/calendar.module.mjs +5 -4
- package/esm2022/conversation/acorex-components-conversation.mjs +5 -0
- package/esm2022/conversation/index.mjs +14 -0
- package/esm2022/conversation/lib/classes/events.interface.mjs +2 -0
- package/esm2022/conversation/lib/conversation-input/conversation-input.component.mjs +117 -0
- package/esm2022/conversation/lib/conversation-input/conversation-input.interface.mjs +2 -0
- package/esm2022/conversation/lib/conversation-message/conversation-message.component.mjs +70 -0
- package/esm2022/conversation/lib/conversation-messages/conversation-message-text.component.mjs +23 -0
- package/esm2022/conversation/lib/conversation-messages/conversation-messages-voice/conversation-message-voice.component.mjs +112 -0
- package/esm2022/conversation/lib/conversation-view/conversation-view.component.mjs +31 -0
- package/esm2022/conversation/lib/conversation.module.mjs +154 -0
- package/esm2022/conversation/lib/conversation.types.mjs +10 -0
- package/esm2022/conversation/lib/services/conversation-message-type-registry.service.mjs +20 -0
- package/esm2022/conversation/lib/services/conversation.service.mjs +10 -0
- package/esm2022/conversation/lib/services/recording.service.mjs +78 -0
- package/fesm2022/acorex-components-audio-wave.mjs +3 -3
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +7 -5
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +589 -0
- package/fesm2022/acorex-components-conversation.mjs.map +1 -0
- package/package.json +13 -13
- package/chat/index.d.ts +0 -12
- package/chat/lib/chat-input/chat-input.component.d.ts +0 -35
- package/chat/lib/chat-message/chat-message.component.d.ts +0 -16
- package/chat/lib/chat-messages/chat-message-text.component.d.ts +0 -8
- package/chat/lib/chat-view/chat-view.component.d.ts +0 -10
- package/chat/lib/chat.module.d.ts +0 -35
- package/chat/lib/chat.types.d.ts +0 -21
- package/chat/lib/services/chat-message-type-registry.service.d.ts +0 -9
- package/chat/lib/services/chat.service.d.ts +0 -5
- package/esm2022/chat/acorex-components-chat.mjs +0 -5
- package/esm2022/chat/index.mjs +0 -14
- package/esm2022/chat/lib/chat-input/chat-input.component.mjs +0 -125
- package/esm2022/chat/lib/chat-input/chat-input.interface.mjs +0 -2
- package/esm2022/chat/lib/chat-message/chat-message.component.mjs +0 -54
- package/esm2022/chat/lib/chat-messages/chat-message-text.component.mjs +0 -23
- package/esm2022/chat/lib/chat-messages/chat-messages-voice/chat-message-voice.component.mjs +0 -97
- package/esm2022/chat/lib/chat-view/chat-view.component.mjs +0 -22
- package/esm2022/chat/lib/chat.module.mjs +0 -146
- package/esm2022/chat/lib/chat.types.mjs +0 -10
- package/esm2022/chat/lib/classes/events.interface.mjs +0 -2
- package/esm2022/chat/lib/services/chat-message-type-registry.service.mjs +0 -20
- package/esm2022/chat/lib/services/chat.service.mjs +0 -10
- package/esm2022/chat/lib/services/recording.service.mjs +0 -78
- package/fesm2022/acorex-components-chat.mjs +0 -552
- package/fesm2022/acorex-components-chat.mjs.map +0 -1
- /package/{chat → conversation}/README.md +0 -0
- /package/{chat → conversation}/lib/classes/events.interface.d.ts +0 -0
- /package/{chat/lib/chat-input/chat-input.interface.d.ts → conversation/lib/conversation-input/conversation-input.interface.d.ts} +0 -0
- /package/{chat → conversation}/lib/services/recording.service.d.ts +0 -0
@@ -4,8 +4,9 @@ import * as i2 from "./calendar-range.component";
|
|
4
4
|
import * as i3 from "@angular/common";
|
5
5
|
import * as i4 from "@acorex/core/date-time";
|
6
6
|
import * as i5 from "@acorex/core/translation";
|
7
|
+
import * as i6 from "@acorex/components/tooltip";
|
7
8
|
export declare class AXCalendarModule {
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarModule, never>;
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCalendarModule, [typeof i1.AXCalendarComponent, typeof i2.AXCalendarRangeComponent], [typeof i3.CommonModule, typeof i4.AXDateTimeModule, typeof i5.AXTranslationModule], [typeof i1.AXCalendarComponent, typeof i2.AXCalendarRangeComponent]>;
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCalendarModule, [typeof i1.AXCalendarComponent, typeof i2.AXCalendarRangeComponent], [typeof i3.CommonModule, typeof i4.AXDateTimeModule, typeof i5.AXTranslationModule, typeof i6.AXTooltipModule], [typeof i1.AXCalendarComponent, typeof i2.AXCalendarRangeComponent]>;
|
10
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCalendarModule>;
|
11
12
|
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export * from './lib/classes/events.interface';
|
2
|
+
export * from './lib/conversation-input/conversation-input.component';
|
3
|
+
export * from './lib/conversation-input/conversation-input.interface';
|
4
|
+
export * from './lib/conversation-message/conversation-message.component';
|
5
|
+
export * from './lib/conversation-view/conversation-view.component';
|
6
|
+
export * from './lib/conversation.module';
|
7
|
+
export * from './lib/conversation.types';
|
8
|
+
export * from './lib/services/conversation-message-type-registry.service';
|
9
|
+
export * from './lib/services/conversation.service';
|
10
|
+
export * from './lib/services/recording.service';
|
11
|
+
export * from './lib/conversation-messages/conversation-message-text.component';
|
12
|
+
export * from './lib/conversation-messages/conversation-messages-voice/conversation-message-voice.component';
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import { AXClickEvent, MXInputBaseValueComponent, MXLookComponent } from '@acorex/components/common';
|
2
|
+
import { ElementRef, WritableSignal } from '@angular/core';
|
3
|
+
import { AXInputFileChange } from '../classes/events.interface';
|
4
|
+
import { AXRecordingService } from '../services/recording.service';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
declare const AXConversationInputComponent_base: import("polytype").Polytype.ClusteredConstructor<[{
|
7
|
+
new (): MXInputBaseValueComponent<string>;
|
8
|
+
ɵfac: unknown;
|
9
|
+
ɵprov: import("@angular/core").ɵɵInjectableDeclaration<MXInputBaseValueComponent<any>>;
|
10
|
+
}, typeof MXLookComponent]>;
|
11
|
+
export declare class AXConversationInputComponent extends AXConversationInputComponent_base {
|
12
|
+
inputFile: ElementRef<HTMLInputElement>;
|
13
|
+
maxLength: number;
|
14
|
+
hasAttachment: boolean;
|
15
|
+
haVoice: boolean;
|
16
|
+
acceptFileType: string;
|
17
|
+
onSendClick: import("@angular/core").OutputEmitterRef<AXClickEvent>;
|
18
|
+
onStartRecording: import("@angular/core").OutputEmitterRef<AXClickEvent>;
|
19
|
+
onStopRecording: import("@angular/core").OutputEmitterRef<AXClickEvent>;
|
20
|
+
onFileChange: import("@angular/core").OutputEmitterRef<AXInputFileChange>;
|
21
|
+
recording: WritableSignal<boolean>;
|
22
|
+
recordingService: AXRecordingService;
|
23
|
+
protected _updateOn: 'change' | 'blur' | 'submit';
|
24
|
+
protected _handleModelChange(value: string): void;
|
25
|
+
protected recordedAudio: unknown | null;
|
26
|
+
handleRecordClick(): void;
|
27
|
+
handleStopRecordingClick(): void;
|
28
|
+
handleAttachClick(): void;
|
29
|
+
handleChangeFile(event: Event): void;
|
30
|
+
handleSendClick(): void;
|
31
|
+
handleSendVoiceClick(): void;
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXConversationInputComponent, never>;
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXConversationInputComponent, "ax-conversation-input", never, { "maxLength": { "alias": "maxLength"; "required": false; }; "hasAttachment": { "alias": "hasAttachment"; "required": false; }; "haVoice": { "alias": "haVoice"; "required": false; }; "acceptFileType": { "alias": "acceptFileType"; "required": false; }; }, { "onSendClick": "onSendClick"; "onStartRecording": "onStartRecording"; "onStopRecording": "onStopRecording"; "onFileChange": "onFileChange"; }, never, never, false, never>;
|
34
|
+
}
|
35
|
+
export {};
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { MXBaseComponent } from '@acorex/components/common';
|
2
|
+
import { AXPopoverComponent } from '@acorex/components/popover';
|
3
|
+
import { CdkPortalOutletAttachedRef, ComponentPortal } from '@angular/cdk/portal';
|
4
|
+
import { AXConversationMessage } from '../conversation.types';
|
5
|
+
import { AXConversationMessageTypeRegistryService } from '../services/conversation-message-type-registry.service';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
export declare class AXConversationMessageComponent extends MXBaseComponent {
|
8
|
+
popover: AXPopoverComponent;
|
9
|
+
chatMessage: import("@angular/core").InputSignal<AXConversationMessage<any>>;
|
10
|
+
protected _portal: ComponentPortal<any> | null;
|
11
|
+
protected get isOwn(): boolean;
|
12
|
+
protected registryService: AXConversationMessageTypeRegistryService;
|
13
|
+
get __hostClass(): string;
|
14
|
+
protected ngOnInit(): void;
|
15
|
+
protected _handleAttched(ref: CdkPortalOutletAttachedRef): void;
|
16
|
+
protected handleResendClick(): void;
|
17
|
+
protected handleDeleteClick(): void;
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXConversationMessageComponent, never>;
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXConversationMessageComponent, "ax-conversation-message", never, { "chatMessage": { "alias": "chatMessage"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
20
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { OnInit } from '@angular/core';
|
2
|
+
import { AXConversationMessageBaseComponent } from '../conversation.types';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class AXConversationTextMessageComponent extends AXConversationMessageBaseComponent<string> implements OnInit {
|
5
|
+
protected _text: import("@angular/core").WritableSignal<string>;
|
6
|
+
ngOnInit(): void;
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXConversationTextMessageComponent, never>;
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXConversationTextMessageComponent, "ng-component", never, { "message": { "alias": "message"; "required": false; }; }, {}, never, never, false, never>;
|
9
|
+
}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { AXAudioWaveChangeEvent, AXAudioWaveComponent, AXWaveConfig } from '@acorex/components/audio-wave';
|
2
2
|
import { WritableSignal } from '@angular/core';
|
3
|
-
import {
|
3
|
+
import { AXConversationMessageBaseComponent } from '../../conversation.types';
|
4
4
|
import * as i0 from "@angular/core";
|
5
|
-
export declare class
|
5
|
+
export declare class AXConversationAudioMessageComponent extends AXConversationMessageBaseComponent<string> {
|
6
6
|
audio: AXAudioWaveComponent;
|
7
7
|
config: AXWaveConfig;
|
8
8
|
audioState: WritableSignal<'playing' | 'paused' | 'loading' | 'ready' | 'error'>;
|
@@ -13,6 +13,7 @@ export declare class AXChatAudioMessageComponent extends AXChatMessageBaseCompon
|
|
13
13
|
protected currentTime: WritableSignal<number>;
|
14
14
|
protected duration: WritableSignal<number>;
|
15
15
|
constructor();
|
16
|
+
setWaveColor(): void;
|
16
17
|
handlePauseClick(): void;
|
17
18
|
handlePlayClick(): void;
|
18
19
|
handleOnStatusChanged(e: AXAudioWaveChangeEvent): void;
|
@@ -20,6 +21,7 @@ export declare class AXChatAudioMessageComponent extends AXChatMessageBaseCompon
|
|
20
21
|
handleCancelLoading(): void;
|
21
22
|
handleReloadClick(): void;
|
22
23
|
handleRateClick(): void;
|
23
|
-
|
24
|
-
static
|
24
|
+
get __hostClass(): string;
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXConversationAudioMessageComponent, never>;
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXConversationAudioMessageComponent, "ax-conversation-message-audio", never, { "message": { "alias": "message"; "required": false; }; }, {}, never, never, false, never>;
|
25
27
|
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { MXBaseComponent } from '@acorex/components/common';
|
2
|
+
import { ViewContainerRef, WritableSignal } from '@angular/core';
|
3
|
+
import { AXConversationMessage } from '../conversation.types';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class AXConversationViewComponent extends MXBaseComponent {
|
6
|
+
set conversations(items: AXConversationMessage<any>[]);
|
7
|
+
protected _conversations: WritableSignal<AXConversationMessage<any>[]>;
|
8
|
+
viewRef: ViewContainerRef;
|
9
|
+
constructor();
|
10
|
+
scrollIntoEndOfView(): void;
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXConversationViewComponent, never>;
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXConversationViewComponent, "ax-conversation-view", never, { "conversations": { "alias": "conversations"; "required": false; }; }, {}, never, never, false, never>;
|
13
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
2
|
+
import { AXConversationMessageType } from './conversation.types';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "./conversation-view/conversation-view.component";
|
5
|
+
import * as i2 from "./conversation-input/conversation-input.component";
|
6
|
+
import * as i3 from "./conversation-message/conversation-message.component";
|
7
|
+
import * as i4 from "./conversation-messages/conversation-message-text.component";
|
8
|
+
import * as i5 from "./conversation-messages/conversation-messages-voice/conversation-message-voice.component";
|
9
|
+
import * as i6 from "@angular/common";
|
10
|
+
import * as i7 from "@angular/forms";
|
11
|
+
import * as i8 from "@acorex/components/common";
|
12
|
+
import * as i9 from "@acorex/components/button";
|
13
|
+
import * as i10 from "@acorex/components/decorators";
|
14
|
+
import * as i11 from "@acorex/core/translation";
|
15
|
+
import * as i12 from "@acorex/components/dropdown";
|
16
|
+
import * as i13 from "@acorex/core/format";
|
17
|
+
import * as i14 from "@acorex/components/audio-wave";
|
18
|
+
import * as i15 from "@acorex/components/circular-progress";
|
19
|
+
import * as i16 from "@acorex/core/date-time";
|
20
|
+
import * as i17 from "@angular/cdk/portal";
|
21
|
+
import * as i18 from "@acorex/components/loading";
|
22
|
+
import * as i19 from "@acorex/components/avatar";
|
23
|
+
import * as i20 from "@acorex/components/popover";
|
24
|
+
export interface AXChatModuleConfig {
|
25
|
+
types: AXConversationMessageType[];
|
26
|
+
}
|
27
|
+
export declare class AXConversationModule {
|
28
|
+
static forRoot(config?: AXChatModuleConfig): ModuleWithProviders<AXConversationModule>;
|
29
|
+
static forChild(config?: AXChatModuleConfig): ModuleWithProviders<AXConversationModule>;
|
30
|
+
/**
|
31
|
+
* @ignore
|
32
|
+
*/
|
33
|
+
constructor(instances: any[]);
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXConversationModule, [{ optional: true; }]>;
|
35
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXConversationModule, [typeof i1.AXConversationViewComponent, typeof i2.AXConversationInputComponent, typeof i3.AXConversationMessageComponent, typeof i4.AXConversationTextMessageComponent, typeof i5.AXConversationAudioMessageComponent], [typeof i6.CommonModule, typeof i7.FormsModule, typeof i6.AsyncPipe, typeof i8.AXRippleDirective, typeof i9.AXButtonModule, typeof i10.AXDecoratorModule, typeof i11.AXTranslationModule, typeof i12.AXDropdownModule, typeof i13.AXFormatModule, typeof i14.AXAudioWaveModule, typeof i15.AXCircularProgressModule, typeof i16.AXDateTimeModule, typeof i17.CdkPortalOutlet, typeof i18.AXLoadingModule, typeof i19.AXAvatarModule, typeof i20.AXPopoverModule], [typeof i1.AXConversationViewComponent, typeof i2.AXConversationInputComponent, typeof i3.AXConversationMessageComponent, typeof i4.AXConversationTextMessageComponent, typeof i5.AXConversationAudioMessageComponent]>;
|
36
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXConversationModule>;
|
37
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { Type } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export interface AXConversationMessageType {
|
4
|
+
name: string;
|
5
|
+
component: Type<any>;
|
6
|
+
}
|
7
|
+
export interface AXConversationMessage<T> {
|
8
|
+
id: string;
|
9
|
+
type: string;
|
10
|
+
sendTime: Date | null;
|
11
|
+
deliverTime?: Date;
|
12
|
+
readTime?: Date;
|
13
|
+
replyTo?: string;
|
14
|
+
content: T;
|
15
|
+
fromId?: string;
|
16
|
+
onResendClick?: () => void;
|
17
|
+
onDeleteClick?: () => void;
|
18
|
+
}
|
19
|
+
export declare class AXConversationMessageBaseComponent<T> {
|
20
|
+
message: AXConversationMessage<T>;
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXConversationMessageBaseComponent<any>, never>;
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXConversationMessageBaseComponent<any>>;
|
23
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { AXConversationMessageType } from '../conversation.types';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class AXConversationMessageTypeRegistryService {
|
4
|
+
private plugins;
|
5
|
+
register(...plugins: AXConversationMessageType[]): void;
|
6
|
+
resolve(name: string): AXConversationMessageType | undefined;
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXConversationMessageTypeRegistryService, never>;
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXConversationMessageTypeRegistryService>;
|
9
|
+
}
|
@@ -11,11 +11,11 @@ export class AXAudioWaveComponent {
|
|
11
11
|
this.errorMessage = signal('');
|
12
12
|
this.ngZone = inject(NgZone);
|
13
13
|
afterNextRender(() => {
|
14
|
-
const
|
15
|
-
const primary700 = getComputedStyle(document.body).getPropertyValue('--ax-color-primary-
|
14
|
+
const primary200 = getComputedStyle(document.body).getPropertyValue('--ax-color-primary-200');
|
15
|
+
const primary700 = getComputedStyle(document.body).getPropertyValue('--ax-color-primary-700');
|
16
16
|
this.audio = WaveSurfer.create({
|
17
17
|
container: this.div.nativeElement,
|
18
|
-
waveColor: this.config()?.waveColor || `rgba(${
|
18
|
+
waveColor: this.config()?.waveColor || `rgba(${primary200})`,
|
19
19
|
progressColor: this.config()?.progressColor || `rgba(${primary700})`,
|
20
20
|
url: this.config()?.url || '',
|
21
21
|
barWidth: this.config()?.barWidth || 2,
|
@@ -226,4 +226,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImpor
|
|
226
226
|
type: ViewChild,
|
227
227
|
args: ['d', { static: false }]
|
228
228
|
}] } });
|
229
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXVkaW8td2F2ZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvYXVkaW8td2F2ZS9zcmMvbGliL2F1ZGlvLXdhdmUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2F1ZGlvLXdhdmUvc3JjL2xpYi9hdWRpby13YXZlLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsVUFBVSxFQUVWLE1BQU0sRUFDTixTQUFTLEVBQ1QsaUJBQWlCLEVBRWpCLGVBQWUsRUFDZixNQUFNLEVBQ04sS0FBSyxFQUNMLE1BQU0sRUFDTixNQUFNLEdBQ1AsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxVQUFVLE1BQU0sZUFBZSxDQUFDOzs7O0FBU3ZDLE1BQU0sT0FBTyxvQkFBb0I7SUFhL0I7UUFYQSxXQUFNLEdBQThCLEtBQUssRUFBZ0IsQ0FBQztRQUUxRCxvQkFBZSxHQUFHLE1BQU0sR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