Icard/angular-clarity-master(work.../node_modules/primeng/fesm2022/primeng-overlay.mjs.map

1 line
42 KiB
Plaintext

{"version":3,"file":"primeng-overlay.mjs","sources":["../../src/app/components/overlay/overlay.ts","../../src/app/components/overlay/primeng-overlay.ts"],"sourcesContent":["import { animate, animation, AnimationEvent, style, transition, trigger, useAnimation } from '@angular/animations';\nimport { CommonModule, DOCUMENT, isPlatformBrowser } from '@angular/common';\nimport {\n AfterContentInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n forwardRef,\n Inject,\n Input,\n NgModule,\n NgZone,\n OnDestroy,\n Output,\n PLATFORM_ID,\n QueryList,\n Renderer2,\n TemplateRef,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { OverlayModeType, OverlayOnBeforeHideEvent, OverlayOnBeforeShowEvent, OverlayOnHideEvent, OverlayOnShowEvent, OverlayOptions, OverlayService, PrimeNGConfig, PrimeTemplate, ResponsiveOverlayOptions, SharedModule } from 'primeng/api';\nimport { ConnectedOverlayScrollHandler, DomHandler } from 'primeng/dom';\nimport { ObjectUtils, ZIndexUtils } from 'primeng/utils';\nimport { VoidListener } from 'primeng/ts-helpers';\n\nexport const OVERLAY_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => Overlay),\n multi: true\n};\n\nconst showOverlayContentAnimation = animation([style({ transform: '{{transform}}', opacity: 0 }), animate('{{showTransitionParams}}')]);\n\nconst hideOverlayContentAnimation = animation([animate('{{hideTransitionParams}}', style({ transform: '{{transform}}', opacity: 0 }))]);\n/**\n * This API allows overlay components to be controlled from the PrimeNGConfig. In this way, all overlay components in the application can have the same behavior.\n * @group Components\n */\n@Component({\n selector: 'p-overlay',\n template: `\n <div\n *ngIf=\"modalVisible\"\n #overlay\n [ngStyle]=\"style\"\n [class]=\"styleClass\"\n [ngClass]=\"{\n 'p-overlay p-component': true,\n 'p-overlay-modal p-component-overlay p-component-overlay-enter': modal,\n 'p-overlay-center': modal && overlayResponsiveDirection === 'center',\n 'p-overlay-top': modal && overlayResponsiveDirection === 'top',\n 'p-overlay-top-start': modal && overlayResponsiveDirection === 'top-start',\n 'p-overlay-top-end': modal && overlayResponsiveDirection === 'top-end',\n 'p-overlay-bottom': modal && overlayResponsiveDirection === 'bottom',\n 'p-overlay-bottom-start': modal && overlayResponsiveDirection === 'bottom-start',\n 'p-overlay-bottom-end': modal && overlayResponsiveDirection === 'bottom-end',\n 'p-overlay-left': modal && overlayResponsiveDirection === 'left',\n 'p-overlay-left-start': modal && overlayResponsiveDirection === 'left-start',\n 'p-overlay-left-end': modal && overlayResponsiveDirection === 'left-end',\n 'p-overlay-right': modal && overlayResponsiveDirection === 'right',\n 'p-overlay-right-start': modal && overlayResponsiveDirection === 'right-start',\n 'p-overlay-right-end': modal && overlayResponsiveDirection === 'right-end'\n }\"\n (click)=\"onOverlayClick()\"\n >\n <div\n *ngIf=\"visible\"\n #content\n [ngStyle]=\"contentStyle\"\n [class]=\"contentStyleClass\"\n [ngClass]=\"'p-overlay-content'\"\n (click)=\"onOverlayContentClick($event)\"\n [@overlayContentAnimation]=\"{ value: 'visible', params: { showTransitionParams: showTransitionOptions, hideTransitionParams: hideTransitionOptions, transform: transformOptions[modal ? overlayResponsiveDirection : 'default'] } }\"\n (@overlayContentAnimation.start)=\"onOverlayContentAnimationStart($event)\"\n (@overlayContentAnimation.done)=\"onOverlayContentAnimationDone($event)\"\n >\n <ng-content></ng-content>\n <ng-container *ngTemplateOutlet=\"contentTemplate; context: { $implicit: { mode: overlayMode } }\"></ng-container>\n </div>\n </div>\n `,\n animations: [trigger('overlayContentAnimation', [transition(':enter', [useAnimation(showOverlayContentAnimation)]), transition(':leave', [useAnimation(hideOverlayContentAnimation)])])],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [OVERLAY_VALUE_ACCESSOR],\n styleUrls: ['./overlay.css'],\n host: {\n class: 'p-element'\n }\n})\nexport class Overlay implements AfterContentInit, OnDestroy {\n /**\n * The visible property is an input that determines the visibility of the component.\n * @defaultValue false\n * @group Props\n */\n @Input() get visible(): boolean {\n return this._visible;\n }\n set visible(value: boolean) {\n this._visible = value;\n\n if (this._visible && !this.modalVisible) {\n this.modalVisible = true;\n }\n }\n /**\n * The mode property is an input that determines the overlay mode type or string.\n * @defaultValue null\n * @group Props\n */\n @Input() get mode(): OverlayModeType | string {\n return this._mode || this.overlayOptions?.mode;\n }\n set mode(value: OverlayModeType | string) {\n this._mode = value;\n }\n /**\n * The style property is an input that determines the style object for the component.\n * @defaultValue null\n * @group Props\n */\n @Input() get style(): { [klass: string]: any } | null | undefined {\n return ObjectUtils.merge(this._style, this.modal ? this.overlayResponsiveOptions?.style : this.overlayOptions?.style);\n }\n set style(value: { [klass: string]: any } | null | undefined) {\n this._style = value;\n }\n /**\n * The styleClass property is an input that determines the CSS class(es) for the component.\n * @defaultValue null\n * @group Props\n */\n @Input() get styleClass(): string {\n return ObjectUtils.merge(this._styleClass, this.modal ? this.overlayResponsiveOptions?.styleClass : this.overlayOptions?.styleClass);\n }\n set styleClass(value: string) {\n this._styleClass = value;\n }\n /**\n * The contentStyle property is an input that determines the style object for the content of the component.\n * @defaultValue null\n * @group Props\n */\n @Input() get contentStyle(): { [klass: string]: any } | null | undefined {\n return ObjectUtils.merge(this._contentStyle, this.modal ? this.overlayResponsiveOptions?.contentStyle : this.overlayOptions?.contentStyle);\n }\n set contentStyle(value: { [klass: string]: any } | null | undefined) {\n this._contentStyle = value;\n }\n /**\n * The contentStyleClass property is an input that determines the CSS class(es) for the content of the component.\n * @defaultValue null\n * @group Props\n */\n @Input() get contentStyleClass(): string {\n return ObjectUtils.merge(this._contentStyleClass, this.modal ? this.overlayResponsiveOptions?.contentStyleClass : this.overlayOptions?.contentStyleClass);\n }\n set contentStyleClass(value: string) {\n this._contentStyleClass = value;\n }\n /**\n * The target property is an input that specifies the target element or selector for the component.\n * @defaultValue null\n * @group Props\n */\n @Input() get target(): string | null | undefined {\n const value = this._target || this.overlayOptions?.target;\n return value === undefined ? '@prev' : value;\n }\n set target(value: string | null | undefined) {\n this._target = value;\n }\n /**\n * Overlay can be mounted into its location, body or DOM element instance using this option.\n * @defaultValue null\n * @group Props\n */\n @Input() get appendTo(): 'body' | HTMLElement | undefined {\n return this._appendTo || this.overlayOptions?.appendTo;\n }\n set appendTo(value: 'body' | HTMLElement | undefined) {\n this._appendTo = value;\n }\n /**\n * The autoZIndex determines whether to automatically manage layering. Its default value is 'false'.\n * @defaultValue false\n * @group Props\n */\n @Input() get autoZIndex(): boolean {\n const value = this._autoZIndex || this.overlayOptions?.autoZIndex;\n return value === undefined ? true : value;\n }\n set autoZIndex(value: boolean) {\n this._autoZIndex = value;\n }\n /**\n * The baseZIndex is base zIndex value to use in layering.\n * @defaultValue null\n * @group Props\n */\n @Input() get baseZIndex(): number {\n const value = this._baseZIndex || this.overlayOptions?.baseZIndex;\n return value === undefined ? 0 : value;\n }\n set baseZIndex(value: number) {\n this._baseZIndex = value;\n }\n /**\n * Transition options of the show or hide animation.\n * @defaultValue .12s cubic-bezier(0, 0, 0.2, 1)\n * @group Props\n */\n @Input() get showTransitionOptions(): string {\n const value = this._showTransitionOptions || this.overlayOptions?.showTransitionOptions;\n return value === undefined ? '.12s cubic-bezier(0, 0, 0.2, 1)' : value;\n }\n set showTransitionOptions(value: string) {\n this._showTransitionOptions = value;\n }\n /**\n * The hideTransitionOptions property is an input that determines the CSS transition options for hiding the component.\n * @defaultValue .1s linear\n * @group Props\n */\n @Input() get hideTransitionOptions(): string {\n const value = this._hideTransitionOptions || this.overlayOptions?.hideTransitionOptions;\n return value === undefined ? '.1s linear' : value;\n }\n set hideTransitionOptions(value: string) {\n this._hideTransitionOptions = value;\n }\n /**\n * The listener property is an input that specifies the listener object for the component.\n * @defaultValue null\n * @group Props\n */\n @Input() get listener(): any {\n return this._listener || this.overlayOptions?.listener;\n }\n set listener(value: any) {\n this._listener = value;\n }\n /**\n * It is the option used to determine in which mode it should appear according to the given media or breakpoint.\n * @defaultValue null\n * @group Props\n */\n @Input() get responsive(): ResponsiveOverlayOptions | undefined {\n return this._responsive || this.overlayOptions?.responsive;\n }\n set responsive(val: ResponsiveOverlayOptions | undefined) {\n this._responsive = val;\n }\n /**\n * The options property is an input that specifies the overlay options for the component.\n * @defaultValue null\n * @group Props\n */\n @Input() get options(): OverlayOptions | undefined {\n return this._options;\n }\n set options(val: OverlayOptions | undefined) {\n this._options = val;\n }\n /**\n * This EventEmitter is used to notify changes in the visibility state of a component.\n * @param {Boolean} boolean - Value of visibility as boolean.\n * @group Emits\n */\n @Output() visibleChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n /**\n * Callback to invoke before the overlay is shown.\n * @param {OverlayOnBeforeShowEvent} event - Custom overlay before show event.\n * @group Emits\n */\n @Output() onBeforeShow: EventEmitter<OverlayOnBeforeShowEvent> = new EventEmitter<OverlayOnBeforeShowEvent>();\n /**\n * Callback to invoke when the overlay is shown.\n * @param {OverlayOnShowEvent} event - Custom overlay show event.\n * @group Emits\n */\n @Output() onShow: EventEmitter<OverlayOnShowEvent> = new EventEmitter<OverlayOnShowEvent>();\n /**\n * Callback to invoke before the overlay is hidden.\n * @param {OverlayOnBeforeHideEvent} event - Custom overlay before hide event.\n * @group Emits\n */\n @Output() onBeforeHide: EventEmitter<OverlayOnBeforeHideEvent> = new EventEmitter<OverlayOnBeforeHideEvent>();\n /**\n * Callback to invoke when the overlay is hidden\n * @param {OverlayOnHideEvent} event - Custom hide event.\n * @group Emits\n */\n @Output() onHide: EventEmitter<OverlayOnHideEvent> = new EventEmitter<OverlayOnHideEvent>();\n /**\n * Callback to invoke when the animation is started.\n * @param {AnimationEvent} event - Animation event.\n * @group Emits\n */\n @Output() onAnimationStart: EventEmitter<AnimationEvent> = new EventEmitter<AnimationEvent>();\n /**\n * Callback to invoke when the animation is done.\n * @param {AnimationEvent} event - Animation event.\n * @group Emits\n */\n @Output() onAnimationDone: EventEmitter<AnimationEvent> = new EventEmitter<AnimationEvent>();\n\n @ContentChildren(PrimeTemplate) templates: QueryList<any> | undefined;\n\n @ViewChild('overlay') overlayViewChild: ElementRef | undefined;\n\n @ViewChild('content') contentViewChild: ElementRef | undefined;\n\n contentTemplate: TemplateRef<any> | undefined;\n\n _visible: boolean = false;\n\n _mode: OverlayModeType | string;\n\n _style: { [klass: string]: any } | null | undefined;\n\n _styleClass: string | undefined;\n\n _contentStyle: { [klass: string]: any } | null | undefined;\n\n _contentStyleClass: string | undefined;\n\n _target: any;\n\n _appendTo: 'body' | HTMLElement | undefined;\n\n _autoZIndex: boolean | undefined;\n\n _baseZIndex: number | undefined;\n\n _showTransitionOptions: string | undefined;\n\n _hideTransitionOptions: string | undefined;\n\n _listener: any;\n\n _responsive: ResponsiveOverlayOptions | undefined;\n\n _options: OverlayOptions | undefined;\n\n modalVisible: boolean = false;\n\n isOverlayClicked: boolean = false;\n\n isOverlayContentClicked: boolean = false;\n\n scrollHandler: any;\n\n documentClickListener: any;\n\n documentResizeListener: any;\n\n private documentKeyboardListener: VoidListener;\n\n private window: Window | null;\n\n protected transformOptions: any = {\n default: 'scaleY(0.8)',\n center: 'scale(0.7)',\n top: 'translate3d(0px, -100%, 0px)',\n 'top-start': 'translate3d(0px, -100%, 0px)',\n 'top-end': 'translate3d(0px, -100%, 0px)',\n bottom: 'translate3d(0px, 100%, 0px)',\n 'bottom-start': 'translate3d(0px, 100%, 0px)',\n 'bottom-end': 'translate3d(0px, 100%, 0px)',\n left: 'translate3d(-100%, 0px, 0px)',\n 'left-start': 'translate3d(-100%, 0px, 0px)',\n 'left-end': 'translate3d(-100%, 0px, 0px)',\n right: 'translate3d(100%, 0px, 0px)',\n 'right-start': 'translate3d(100%, 0px, 0px)',\n 'right-end': 'translate3d(100%, 0px, 0px)'\n };\n\n get modal() {\n if (isPlatformBrowser(this.platformId)) {\n return this.mode === 'modal' || (this.overlayResponsiveOptions && this.window?.matchMedia(this.overlayResponsiveOptions.media?.replace('@media', '') || `(max-width: ${this.overlayResponsiveOptions.breakpoint})`).matches);\n }\n }\n\n get overlayMode() {\n return this.mode || (this.modal ? 'modal' : 'overlay');\n }\n\n get overlayOptions(): OverlayOptions {\n return { ...this.config?.overlayOptions, ...this.options }; // TODO: Improve performance\n }\n\n get overlayResponsiveOptions(): ResponsiveOverlayOptions {\n return { ...this.overlayOptions?.responsive, ...this.responsive }; // TODO: Improve performance\n }\n\n get overlayResponsiveDirection() {\n return this.overlayResponsiveOptions?.direction || 'center';\n }\n\n get overlayEl() {\n return this.overlayViewChild?.nativeElement;\n }\n\n get contentEl() {\n return this.contentViewChild?.nativeElement;\n }\n\n get targetEl() {\n return DomHandler.getTargetElement(this.target, this.el?.nativeElement);\n }\n\n constructor(\n @Inject(DOCUMENT) private document: Document,\n @Inject(PLATFORM_ID) private platformId: any,\n public el: ElementRef,\n public renderer: Renderer2,\n private config: PrimeNGConfig,\n public overlayService: OverlayService,\n public cd: ChangeDetectorRef,\n private zone: NgZone\n ) {\n this.window = this.document.defaultView;\n }\n\n ngAfterContentInit() {\n this.templates?.forEach((item) => {\n switch (item.getType()) {\n case 'content':\n this.contentTemplate = item.template;\n break;\n // TODO: new template types may be added.\n default:\n this.contentTemplate = item.template;\n break;\n }\n });\n }\n\n show(overlay?: HTMLElement, isFocus: boolean = false) {\n this.onVisibleChange(true);\n this.handleEvents('onShow', { overlay: overlay || this.overlayEl, target: this.targetEl, mode: this.overlayMode });\n\n isFocus && DomHandler.focus(this.targetEl);\n this.modal && DomHandler.addClass(this.document?.body, 'p-overflow-hidden');\n }\n\n hide(overlay?: HTMLElement, isFocus: boolean = false) {\n if (!this.visible) {\n return;\n } else {\n this.onVisibleChange(false);\n this.handleEvents('onHide', { overlay: overlay || this.overlayEl, target: this.targetEl, mode: this.overlayMode });\n isFocus && DomHandler.focus(this.targetEl);\n this.modal && DomHandler.removeClass(this.document?.body, 'p-overflow-hidden');\n }\n }\n\n alignOverlay() {\n !this.modal && DomHandler.alignOverlay(this.overlayEl, this.targetEl, this.appendTo);\n }\n\n onVisibleChange(visible: boolean) {\n this._visible = visible;\n this.visibleChange.emit(visible);\n }\n\n onOverlayClick() {\n this.isOverlayClicked = true;\n }\n\n onOverlayContentClick(event: MouseEvent) {\n this.overlayService.add({\n originalEvent: event,\n target: this.targetEl\n });\n\n this.isOverlayContentClicked = true;\n }\n\n onOverlayContentAnimationStart(event: AnimationEvent) {\n switch (event.toState) {\n case 'visible':\n this.handleEvents('onBeforeShow', { overlay: this.overlayEl, target: this.targetEl, mode: this.overlayMode });\n\n if (this.autoZIndex) {\n ZIndexUtils.set(this.overlayMode, this.overlayEl, this.baseZIndex + this.config?.zIndex[this.overlayMode]);\n }\n\n DomHandler.appendOverlay(this.overlayEl, this.appendTo === 'body' ? this.document.body : this.appendTo, this.appendTo);\n this.alignOverlay();\n\n break;\n\n case 'void':\n this.handleEvents('onBeforeHide', { overlay: this.overlayEl, target: this.targetEl, mode: this.overlayMode });\n\n this.modal && DomHandler.addClass(this.overlayEl, 'p-component-overlay-leave');\n\n break;\n }\n\n this.handleEvents('onAnimationStart', event);\n }\n\n onOverlayContentAnimationDone(event: AnimationEvent) {\n const container = this.overlayEl || event.element.parentElement;\n\n switch (event.toState) {\n case 'visible':\n this.show(container, true);\n this.bindListeners();\n\n break;\n\n case 'void':\n this.hide(container, true);\n this.unbindListeners();\n\n DomHandler.appendOverlay(this.overlayEl, this.targetEl, this.appendTo);\n ZIndexUtils.clear(container);\n this.modalVisible = false;\n this.cd.markForCheck();\n\n break;\n }\n\n this.handleEvents('onAnimationDone', event);\n }\n\n handleEvents(name: string, params: any) {\n (this as any)[name].emit(params);\n this.options && (this.options as any)[name] && (this.options as any)[name](params);\n this.config?.overlayOptions && (this.config?.overlayOptions as any)[name] && (this.config?.overlayOptions as any)[name](params);\n }\n\n bindListeners() {\n this.bindScrollListener();\n this.bindDocumentClickListener();\n this.bindDocumentResizeListener();\n this.bindDocumentKeyboardListener();\n }\n\n unbindListeners() {\n this.unbindScrollListener();\n this.unbindDocumentClickListener();\n this.unbindDocumentResizeListener();\n this.unbindDocumentKeyboardListener();\n }\n\n bindScrollListener() {\n if (!this.scrollHandler) {\n this.scrollHandler = new ConnectedOverlayScrollHandler(this.targetEl, (event: any) => {\n const valid = this.listener ? this.listener(event, { type: 'scroll', mode: this.overlayMode, valid: true }) : true;\n\n valid && this.hide(event, true);\n });\n }\n\n this.scrollHandler.bindScrollListener();\n }\n\n unbindScrollListener() {\n if (this.scrollHandler) {\n this.scrollHandler.unbindScrollListener();\n }\n }\n\n bindDocumentClickListener() {\n if (!this.documentClickListener) {\n this.documentClickListener = this.renderer.listen(this.document, 'click', (event) => {\n const isTargetClicked = this.targetEl && (this.targetEl.isSameNode(event.target) || (!this.isOverlayClicked && this.targetEl.contains(event.target)));\n const isOutsideClicked = !isTargetClicked && !this.isOverlayContentClicked;\n const valid = this.listener ? this.listener(event, { type: 'outside', mode: this.overlayMode, valid: event.which !== 3 && isOutsideClicked }) : isOutsideClicked;\n\n valid && this.hide(event);\n this.isOverlayClicked = this.isOverlayContentClicked = false;\n });\n }\n }\n\n unbindDocumentClickListener() {\n if (this.documentClickListener) {\n this.documentClickListener();\n this.documentClickListener = null;\n }\n }\n\n bindDocumentResizeListener() {\n if (!this.documentResizeListener) {\n this.documentResizeListener = this.renderer.listen(this.window, 'resize', (event) => {\n const valid = this.listener ? this.listener(event, { type: 'resize', mode: this.overlayMode, valid: !DomHandler.isTouchDevice() }) : !DomHandler.isTouchDevice();\n\n valid && this.hide(event, true);\n });\n }\n }\n\n unbindDocumentResizeListener() {\n if (this.documentResizeListener) {\n this.documentResizeListener();\n this.documentResizeListener = null;\n }\n }\n\n bindDocumentKeyboardListener(): void {\n if (this.documentKeyboardListener) {\n return;\n }\n\n this.zone.runOutsideAngular(() => {\n this.documentKeyboardListener = this.renderer.listen(this.window, 'keydown', (event) => {\n if (this.overlayOptions.hideOnEscape === false || event.code !== 'Escape') {\n return;\n }\n\n const valid = this.listener ? this.listener(event, { type: 'keydown', mode: this.overlayMode, valid: !DomHandler.isTouchDevice() }) : !DomHandler.isTouchDevice();\n\n if (valid) {\n this.zone.run(() => {\n this.hide(event, true);\n });\n }\n });\n });\n }\n\n unbindDocumentKeyboardListener(): void {\n if (this.documentKeyboardListener) {\n this.documentKeyboardListener();\n this.documentKeyboardListener = null;\n }\n }\n\n ngOnDestroy() {\n this.hide(this.overlayEl, true);\n\n if (this.overlayEl) {\n DomHandler.appendOverlay(this.overlayEl, this.targetEl, this.appendTo);\n ZIndexUtils.clear(this.overlayEl);\n }\n\n if (this.scrollHandler) {\n this.scrollHandler.destroy();\n this.scrollHandler = null;\n }\n\n this.unbindListeners();\n }\n}\n\n@NgModule({\n imports: [CommonModule, SharedModule],\n exports: [Overlay, SharedModule],\n declarations: [Overlay]\n})\nexport class OverlayModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;AA8Ba,MAAA,sBAAsB,GAAQ;AACvC,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,WAAW,EAAE,UAAU,CAAC,MAAM,OAAO,CAAC;AACtC,IAAA,KAAK,EAAE,IAAI;EACb;AAEF,MAAM,2BAA2B,GAAG,SAAS,CAAC,CAAC,KAAK,CAAC,EAAE,SAAS,EAAE,eAAe,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,OAAO,CAAC,0BAA0B,CAAC,CAAC,CAAC,CAAC;AAExI,MAAM,2BAA2B,GAAG,SAAS,CAAC,CAAC,OAAO,CAAC,0BAA0B,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,eAAe,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;AACxI;;;AAGG;MAqDU,OAAO,CAAA;AAoUc,IAAA,QAAA,CAAA;AACG,IAAA,UAAA,CAAA;AACtB,IAAA,EAAA,CAAA;AACA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