{"version":3,"file":"ihk-gfi-lux-components-lux-file-preview.mjs","sources":["../../../projects/lux-components-lib/lux-file-preview/src/lux-file-preview-config.ts","../../../projects/lux-components-lib/lux-file-preview/src/lux-file-preview-ref.ts","../../../projects/lux-components-lib/lux-file-preview/src/lux-file-preview-base/lux-file-preview-base.ts","../../../projects/lux-components-lib/lux-file-preview/src/lux-file-preview-toolbar/lux-file-preview-toolbar.component.ts","../../../projects/lux-components-lib/lux-file-preview/src/lux-file-preview-toolbar/lux-file-preview-toolbar.component.html","../../../projects/lux-components-lib/lux-file-preview/src/lux-file-preview-imgviewer/lux-file-preview-imgviewer.component.ts","../../../projects/lux-components-lib/lux-file-preview/src/lux-file-preview-imgviewer/lux-file-preview-imgviewer.component.html","../../../projects/lux-components-lib/lux-file-preview/src/lux-file-preview-notsupportedviewer/lux-file-preview-notsupportedviewer.component.ts","../../../projects/lux-components-lib/lux-file-preview/src/lux-file-preview-notsupportedviewer/lux-file-preview-notsupportedviewer.component.html","../../../projects/lux-components-lib/lux-file-preview/src/lux-file-preview-pdfviewer/lux-file-preview-pdfviewer.component.ts","../../../projects/lux-components-lib/lux-file-preview/src/lux-file-preview-pdfviewer/lux-file-preview-pdfviewer.component.html","../../../projects/lux-components-lib/lux-file-preview/src/lux-file-preview.component.ts","../../../projects/lux-components-lib/lux-file-preview/src/lux-file-preview.component.html","../../../projects/lux-components-lib/lux-file-preview/src/lux-file-preview.service.ts","../../../projects/lux-components-lib/lux-file-preview/src/public_api.ts","../../../projects/lux-components-lib/lux-file-preview/src/ihk-gfi-lux-components-lux-file-preview.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { LuxFilePreviewData } from './lux-file-preview-data';\n\nexport const LUX_FILE_PREVIEW_DATA = new InjectionToken<LuxFilePreviewData>('LUX_FILE_PREVIEW_DATA');\n\nexport interface LuxFilePreviewConfig {\n  panelClass?: string;\n  hasBackdrop?: boolean;\n  backdropClass?: string;\n  previewData: LuxFilePreviewData;\n}\n","import { OverlayRef } from '@angular/cdk/overlay';\n\nexport class LuxFilePreviewRef {\n  private activeElement: HTMLElement | null;\n\n  constructor(private overlayRef: OverlayRef, activeElement?: HTMLElement | null) {\n    this.activeElement = activeElement || null;\n  }\n\n  close(): void {\n    this.overlayRef.dispose();\n\n    if (this.activeElement) {\n      this.activeElement.focus();\n    }\n  }\n}\n","import { Directive, HostListener, inject, OnDestroy, OnInit } from '@angular/core';\nimport { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';\nimport { LuxUtil } from '@ihk-gfi/lux-components';\nimport { LUX_FILE_PREVIEW_DATA } from '../lux-file-preview-config';\nimport { LuxFilePreviewData } from '../lux-file-preview-data';\nimport { LuxFilePreviewRef } from '../lux-file-preview-ref';\n\n@Directive()\nexport class LuxFilePreviewBase implements OnInit, OnDestroy {\n  protected previewRef = inject(LuxFilePreviewRef);\n  protected previewData = inject<LuxFilePreviewData>(LUX_FILE_PREVIEW_DATA);\n  protected sanitizer = inject(DomSanitizer);\n\n  url?: SafeResourceUrl;\n  urls: SafeResourceUrl[] = [];\n\n  paddingWith = 100;\n  paddingHeight = 150;\n\n  height = 0;\n  width = 0;\n\n  startPhase = true;\n  startDurationMs = 250;\n  loading = true;\n  loadingTimer: any;\n\n  downloadIconName = 'lux-interface-download-button-2';\n  downloadTagId = 'file-preview-download-btn';\n\n  closeIconName = 'lux-interface-delete-1';\n  closeTagId = 'file-preview-close-btn';\n\n  @HostListener('document:keydown', ['$event'])\n  handleKeydown(keyboardEvent: KeyboardEvent) {\n    if (LuxUtil.isKeyEscape(keyboardEvent)) {\n      this.onClose();\n    }\n  }\n\n  @HostListener('window:resize')\n  windowResize() {\n    this.updateWidthAndHeight();\n  }\n\n  ngOnInit() {\n    this.loadingTimer = setTimeout(() => {\n      this.startPhase = false;\n    }, this.startDurationMs);\n\n    this.updateWidthAndHeight();\n\n    setTimeout(() => {\n      if (this.previewData.fileObject) {\n        let myBlob: Blob | undefined;\n        if ('string' === typeof this.previewData.fileObject.content) {\n          myBlob = new Blob([LuxUtil.base64ToArrayBuffer(this.previewData.fileObject.content.split(',')[1])], {\n            type: this.previewData.fileObject.type\n          });\n        } else {\n          myBlob = this.previewData.fileObject.content;\n        }\n\n        if (myBlob) {\n          const fileName = this.previewData.fileObject.name;\n          const file = new File([myBlob], fileName, { type: this.previewData.fileObject.type });\n          this.url = this.sanitizer.bypassSecurityTrustResourceUrl(window.URL.createObjectURL(file) + '#page=1&toolbar=1');\n          this.urls.push(this.url);\n        }\n      }\n    });\n  }\n\n  ngOnDestroy() {\n    this.urls.forEach((url) => {\n      window.URL.revokeObjectURL(url.toString());\n    });\n  }\n\n  onDownload() {\n    if (this.previewData && this.previewData.fileComponent && this.previewData.fileObject) {\n      this.previewData.fileComponent.downloadFile(this.previewData.fileObject);\n      this.previewRef.close();\n    }\n  }\n\n  onClose() {\n    this.previewRef.close();\n  }\n\n  loadingFinished() {\n    this.loading = false;\n  }\n\n  clearFocus() {\n    if (document.activeElement instanceof HTMLElement) {\n      document.activeElement.blur();\n    }\n  }\n\n  updateWidthAndHeight() {\n    this.width = window.innerWidth - this.paddingWith;\n    this.height = window.innerHeight - this.paddingHeight;\n  }\n}\n","import { Component, OnDestroy, inject } from '@angular/core';\nimport { LuxIconComponent, LuxMediaQueryObserverService } from '@ihk-gfi/lux-components';\nimport { Subscription } from 'rxjs';\nimport { LUX_FILE_PREVIEW_DATA } from '../lux-file-preview-config';\nimport { LuxFilePreviewData } from '../lux-file-preview-data';\n\n@Component({\n  selector: 'lux-file-preview-toolbar',\n  templateUrl: './lux-file-preview-toolbar.component.html',\n  imports: [LuxIconComponent]\n})\nexport class LuxFilePreviewToolbarComponent implements OnDestroy {\n  private mediaQueryService = inject(LuxMediaQueryObserverService);\n  data = inject<LuxFilePreviewData>(LUX_FILE_PREVIEW_DATA);\n\n  mobileView: boolean;\n  subscription: Subscription;\n\n  constructor() {\n    this.mobileView = this.mediaQueryService.activeMediaQuery === 'xs';\n\n    this.subscription = this.mediaQueryService.getMediaQueryChangedAsObservable().subscribe((query: string) => {\n      this.mobileView = query === 'xs';\n    });\n  }\n\n  ngOnDestroy() {\n    this.subscription.unsubscribe();\n  }\n}\n","<div class=\"lux-flex lux-justify-between lux-items-center lux-border-box\">\n  <div class=\"lux-file-name\">\n    @if (!mobileView) {\n    <div>\n      <lux-icon class=\"lux-flex lux-flex-none lux-border-box\" luxIconName=\"lux-interface-content-file\" luxIconSize=\"1x\"></lux-icon>\n      <div class=\"lux-crop lux-flex-auto lux-border-box\">{{ data.fileObject?.name }}</div>\n    </div>\n    }\n  </div>\n  <div class=\"lux-flex lux-gap-4 lux-justify-end lux-items-center lux-flex-none\">\n    <ng-content></ng-content>\n  </div>\n</div>\n","import { NgStyle } from '@angular/common';\nimport { AfterViewInit, Component, ElementRef, OnInit, ViewChild, inject } from '@angular/core';\nimport { LuxAriaLabelDirective, LuxButtonComponent } from '@ihk-gfi/lux-components';\nimport { TranslocoPipe } from '@jsverse/transloco';\nimport { LuxFilePreviewBase } from '../lux-file-preview-base/lux-file-preview-base';\nimport { LuxFilePreviewToolbarComponent } from '../lux-file-preview-toolbar/lux-file-preview-toolbar.component';\n\n@Component({\n  selector: 'lux-file-preview-imgviewer',\n  templateUrl: './lux-file-preview-imgviewer.component.html',\n  imports: [LuxFilePreviewToolbarComponent, LuxButtonComponent, LuxAriaLabelDirective, NgStyle, TranslocoPipe]\n})\nexport class LuxFilePreviewImgViewerComponent extends LuxFilePreviewBase implements OnInit, AfterViewInit {\n  private elementRef = inject(ElementRef);\n\n  @ViewChild('previewImg') previewImg?: ElementRef;\n\n  zoomActive = false;\n  zoomWidth = 0;\n  zoomStep = 250;\n\n  ngAfterViewInit(): void {\n    setTimeout(() => {\n      if (this.previewImg) {\n        this.zoomActive = this.previewImg && this.previewImg.nativeElement.naturalWidth - this.paddingWith > window.innerWidth;\n\n        const firstButton = (this.elementRef.nativeElement as HTMLElement).querySelector('button');\n        if (firstButton) {\n          firstButton.focus();\n        }\n      }\n    });\n  }\n\n  onLoad() {\n    if (this.previewImg) {\n      this.zoomActive = this.previewImg && this.previewImg.nativeElement.naturalWidth - this.paddingWith > window.innerWidth;\n    }\n    this.loadingFinished();\n  }\n\n  onZoomIn() {\n    this.zoomWidth += this.zoomStep;\n    this.clearFocus();\n  }\n\n  onZoomOut() {\n    this.zoomWidth -= this.zoomStep;\n    this.clearFocus();\n  }\n}\n","<lux-file-preview-toolbar>\n  @if (zoomActive) {\n  <lux-button\n    class=\"lux-file-preview-toolbar-zoomin-button\"\n    luxIconName=\"lux-interface-edit-zoom-in\"\n    (luxClicked)=\"onZoomIn()\"\n    [luxRaised]=\"true\"\n    luxTagId=\"file-preview-zoomin-btn\"\n    luxAriaLabel=\"{{ 'luxc.file-preview.imgviewer.zoomin.arialabel' | transloco}}\"\n  ></lux-button>\n  } @if (zoomActive) {\n  <lux-button\n    class=\"lux-file-preview-toolbar-zoomout-button\"\n    luxIconName=\"lux-interface-edit-zoom-out\"\n    (luxClicked)=\"onZoomOut()\"\n    [luxRaised]=\"true\"\n    luxTagId=\"file-preview-zoomout-btn\"\n    luxAriaLabel=\"{{ 'luxc.file-preview.imgviewer.zoomout.arialabel' | transloco}}\"\n  ></lux-button>\n  }\n  <lux-button\n    class=\"lux-file-preview-toolbar-download-button\"\n    [luxIconName]=\"downloadIconName\"\n    (luxClicked)=\"onDownload()\"\n    luxColor=\"accent\"\n    [luxRaised]=\"true\"\n    [luxTagId]=\"downloadTagId\"\n    luxAriaLabel=\"{{ 'luxc.file-preview.download.arialabel' | transloco}}\"\n  ></lux-button>\n  <lux-button\n    class=\"lux-file-preview-toolbar-close-button\"\n    [luxIconName]=\"closeIconName\"\n    (luxClicked)=\"onClose()\"\n    [luxRaised]=\"true\"\n    [luxTagId]=\"closeTagId\"\n    luxAriaLabel=\"{{ 'luxc.file-preview.close.arialabel' | transloco}}\"\n  ></lux-button>\n</lux-file-preview-toolbar>\n\n<div class=\"overlay-content\" [ngStyle]=\"{ 'max-width': width + 'px', 'max-height': height + 'px' }\">\n  @if (url) {\n  <img\n    [src]=\"url\"\n    [alt]=\"previewData.fileObject && previewData.fileObject.name ? previewData.fileObject.name : ''\"\n    (load)=\"onLoad()\"\n    [ngStyle]=\"{\n      'max-width': width + zoomWidth + 'px',\n      'max-height': height + zoomWidth + 'px',\n      display: loading ? 'none' : 'block'\n    }\"\n    #previewImg\n  />\n  } @if (loading && !startPhase) {\n  <div class=\"message-box\">Lade...</div>\n  }\n</div>\n","import { Component, OnInit } from '@angular/core';\nimport { LuxAriaLabelDirective, LuxButtonComponent } from '@ihk-gfi/lux-components';\nimport { TranslocoPipe } from '@jsverse/transloco';\nimport { LuxFilePreviewBase } from '../lux-file-preview-base/lux-file-preview-base';\nimport { LuxFilePreviewToolbarComponent } from '../lux-file-preview-toolbar/lux-file-preview-toolbar.component';\n\n@Component({\n  selector: 'lux-file-preview-notsupportedviewer',\n  templateUrl: './lux-file-preview-notsupportedviewer.component.html',\n  imports: [LuxFilePreviewToolbarComponent, LuxButtonComponent, LuxAriaLabelDirective, TranslocoPipe]\n})\nexport class LuxFilePreviewNotSupportedViewerComponent extends LuxFilePreviewBase implements OnInit {\n  counter = 5;\n  timer: any;\n\n  override onDownload() {\n    super.onDownload();\n  }\n\n  override onClose() {\n    super.onClose();\n  }\n}\n","<lux-file-preview-toolbar>\n  <lux-button\n    luxIconName=\"lux-interface-download-button-2\"\n    (luxClicked)=\"onDownload()\"\n    luxColor=\"accent\"\n    [luxRaised]=\"true\"\n    luxTagId=\"file-preview-download-btn\"\n    luxAriaLabel=\"{{ 'luxc.file-preview.notsupportedviewer.download.arialabel' | transloco}}\"\n  ></lux-button>\n  <lux-button\n    luxIconName=\"lux-close\"\n    (luxClicked)=\"onClose()\"\n    [luxRaised]=\"true\"\n    luxTagId=\"file-preview-close-btn\"\n    luxAriaLabel=\"{{ 'luxc.file-preview.notsupportedviewer.close.arialabel' | transloco}}\"\n  ></lux-button>\n</lux-file-preview-toolbar>\n<div class=\"message-box lux-flex lux-flex-col lux-place-content-center lux-items-center lux-gap-5\">\n  <div>{{ 'luxc.file-preview.notsupportedviewer.message' | transloco }}</div>\n  <lux-button luxLabel=\"{{ 'luxc.file-preview.notsupportedviewer.download.dialog.lbl' | transloco }}\" (luxClicked)=\"onDownload()\" [luxRaised]=\"true\" luxColor=\"accent\"></lux-button>\n</div>\n","import { NgStyle } from '@angular/common';\nimport { AfterViewInit, Component, ElementRef, inject } from '@angular/core';\nimport { LuxAriaLabelDirective, LuxButtonComponent } from '@ihk-gfi/lux-components';\nimport { TranslocoPipe } from '@jsverse/transloco';\nimport { LuxFilePreviewBase } from '../lux-file-preview-base/lux-file-preview-base';\nimport { LuxFilePreviewToolbarComponent } from '../lux-file-preview-toolbar/lux-file-preview-toolbar.component';\n\n@Component({\n  selector: 'lux-file-preview-pdfviewer',\n  templateUrl: './lux-file-preview-pdfviewer.component.html',\n  imports: [LuxFilePreviewToolbarComponent, LuxButtonComponent, LuxAriaLabelDirective, NgStyle, TranslocoPipe]\n})\nexport class LuxFilePreviewPdfViewerComponent extends LuxFilePreviewBase implements AfterViewInit {\n  private elementRef = inject(ElementRef);\n\n  ngAfterViewInit(): void {\n    setTimeout(() => {\n      const firstButton = (this.elementRef.nativeElement as HTMLElement).querySelector('button');\n      if (firstButton) {\n        firstButton.focus();\n      }\n    });\n  }\n}\n","<lux-file-preview-toolbar>\n  <lux-button\n    class=\"lux-file-preview-toolbar-download-button\"\n    [luxIconName]=\"downloadIconName\"\n    (luxClicked)=\"onDownload()\"\n    luxColor=\"accent\"\n    [luxRaised]=\"true\"\n    [luxTagId]=\"downloadTagId\"\n    luxAriaLabel=\"{{ 'luxc.file-preview.download.arialabel' | transloco}}\"\n  ></lux-button>\n  <lux-button\n    class=\"lux-file-preview-toolbar-close-button\"\n    [luxIconName]=\"closeIconName\"\n    (luxClicked)=\"onClose()\"\n    [luxRaised]=\"true\"\n    [luxTagId]=\"closeTagId\"\n    luxAriaLabel=\"{{ 'luxc.file-preview.close.arialabel' | transloco}}\"\n  ></lux-button>\n</lux-file-preview-toolbar>\n\n<div class=\"overlay-content\" [ngStyle]=\"{ width: width + 'px', height: height + 'px' }\">\n  @if (url) {\n  <object [data]=\"url\" type=\"application/pdf\" width=\"100%\" height=\"98%\" standby=\"PDF wird geladen...\">\n    <p>Ihr Browser unterstützt keine PDF-Vorschau.</p>\n  </object>\n  }\n</div>\n","import { Component, OnInit, ViewChild, inject } from '@angular/core';\nimport { LUX_FILE_PREVIEW_DATA } from './lux-file-preview-config';\nimport { LuxFilePreviewData } from './lux-file-preview-data';\nimport { LuxFilePreviewImgViewerComponent } from './lux-file-preview-imgviewer/lux-file-preview-imgviewer.component';\nimport { LuxFilePreviewNotSupportedViewerComponent } from './lux-file-preview-notsupportedviewer/lux-file-preview-notsupportedviewer.component';\nimport { LuxFilePreviewPdfViewerComponent } from './lux-file-preview-pdfviewer/lux-file-preview-pdfviewer.component';\n\n@Component({\n  selector: 'lux-file-preview',\n  templateUrl: './lux-file-preview.component.html',\n  imports: [LuxFilePreviewPdfViewerComponent, LuxFilePreviewImgViewerComponent, LuxFilePreviewNotSupportedViewerComponent]\n})\nexport class LuxFilePreviewComponent implements OnInit {\n  data = inject<LuxFilePreviewData>(LUX_FILE_PREVIEW_DATA);\n\n  @ViewChild(LuxFilePreviewPdfViewerComponent) pdfViewer?: LuxFilePreviewPdfViewerComponent;\n  @ViewChild(LuxFilePreviewImgViewerComponent) imgViewer?: LuxFilePreviewImgViewerComponent;\n  @ViewChild(LuxFilePreviewNotSupportedViewerComponent) notSupportedViewer?: LuxFilePreviewNotSupportedViewerComponent;\n\n  fileType: 'img' | 'pdf' | 'txt' | 'notsupported' = 'notsupported';\n\n  ngOnInit(): void {\n    if (this.data && this.data.fileObject && this.data.fileObject.type.indexOf('image/') > -1) {\n      this.fileType = 'img';\n    } else if (this.data && this.data.fileObject && this.data.fileObject.type.indexOf('application/pdf') > -1) {\n      this.fileType = 'pdf';\n    } else if (this.data && this.data.fileObject && this.data.fileObject.type.indexOf('text/plain') > -1) {\n      this.fileType = 'txt';\n    } else {\n      this.fileType = 'notsupported';\n    }\n  }\n\n  onClose() {\n    if (this.pdfViewer) {\n      this.pdfViewer.onClose();\n    } else if (this.imgViewer) {\n      this.imgViewer.onClose();\n    } else if (this.notSupportedViewer) {\n      this.notSupportedViewer.onClose();\n    }\n  }\n}\n","@if (fileType === 'pdf' || fileType === 'txt') {\n<lux-file-preview-pdfviewer></lux-file-preview-pdfviewer>\n} @if (fileType === 'img') {\n<lux-file-preview-imgviewer></lux-file-preview-imgviewer>\n} @if (fileType === 'notsupported') {\n<lux-file-preview-notsupportedviewer></lux-file-preview-notsupportedviewer>\n}\n","import { Overlay, OverlayConfig, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { ComponentRef, Injectable, Injector, inject } from '@angular/core';\nimport { LUX_FILE_PREVIEW_DATA, LuxFilePreviewConfig } from './lux-file-preview-config';\nimport { LuxFilePreviewRef } from './lux-file-preview-ref';\nimport { LuxFilePreviewComponent } from './lux-file-preview.component';\n\nexport const DEFAULT_FILE_PREVIEW_CONFIG: LuxFilePreviewConfig = {\n  hasBackdrop: true,\n  backdropClass: 'lux-file-preview-backdrop',\n  panelClass: 'lux-file-preview-panel',\n  previewData: {\n    fileComponent: undefined,\n    fileObject: undefined\n  }\n};\n\n@Injectable({\n  providedIn: 'root'\n})\nexport class LuxFilePreviewService {\n  private injector = inject(Injector);\n  private overlay = inject(Overlay);\n\n  open(config: LuxFilePreviewConfig): LuxFilePreviewRef {\n    const previewConfig = { ...DEFAULT_FILE_PREVIEW_CONFIG, ...config };\n    const activeElement = (document.activeElement instanceof HTMLElement) ? document.activeElement : null;\n    const overlayRef = this.createOverlay(previewConfig);\n    const previewRef = new LuxFilePreviewRef(overlayRef, activeElement);\n    const previewComponent = this.attachDialogContainer(overlayRef, previewRef, previewConfig);\n\n    overlayRef.backdropClick().subscribe(() => previewComponent.onClose());\n\n    return previewRef;\n  }\n\n  private attachDialogContainer(overlayRef: OverlayRef, dialogRef: LuxFilePreviewRef, config: LuxFilePreviewConfig) {\n    const injector = this.createInjector(config, dialogRef);\n    const containerPortal = new ComponentPortal(LuxFilePreviewComponent, null, injector);\n    const containerRef: ComponentRef<LuxFilePreviewComponent> = overlayRef.attach(containerPortal);\n\n    return containerRef.instance;\n  }\n\n  private createOverlay(config: LuxFilePreviewConfig) {\n    return this.overlay.create(this.getOverlayConfig(config));\n  }\n\n  private createInjector(config: LuxFilePreviewConfig, dialogRef: LuxFilePreviewRef): Injector {\n    return Injector.create({\n      parent: this.injector,\n      providers: [\n        { provide: LuxFilePreviewRef, useValue: dialogRef },\n        { provide: LUX_FILE_PREVIEW_DATA, useValue: config.previewData }\n      ]\n    });\n  }\n\n  private getOverlayConfig(config: LuxFilePreviewConfig): OverlayConfig {\n    const positionStrategy = this.overlay.position().global().centerHorizontally().centerVertically();\n\n    return new OverlayConfig({\n      hasBackdrop: config.hasBackdrop,\n      backdropClass: config.backdropClass,\n      panelClass: config.panelClass,\n      scrollStrategy: this.overlay.scrollStrategies.block(),\n      positionStrategy\n    });\n  }\n}\n","/**\n * LUX-File-Preview\n */\nexport * from './lux-file-preview-base/lux-file-preview-base';\nexport * from './lux-file-preview-config';\nexport * from './lux-file-preview-data';\nexport * from './lux-file-preview-imgviewer/lux-file-preview-imgviewer.component';\nexport * from './lux-file-preview-notsupportedviewer/lux-file-preview-notsupportedviewer.component';\nexport * from './lux-file-preview-pdfviewer/lux-file-preview-pdfviewer.component';\nexport * from './lux-file-preview-ref';\nexport * from './lux-file-preview-toolbar/lux-file-preview-toolbar.component';\nexport * from './lux-file-preview.component';\nexport * from './lux-file-preview.service';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;MAGa,qBAAqB,GAAG,IAAI,cAAc,CAAqB,uBAAuB;;MCDtF,iBAAiB,CAAA;AAGR,IAAA,UAAA;AAFZ,IAAA,aAAa;IAErB,WAAA,CAAoB,UA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