{"version":3,"file":"alfresco-aca-content-about.mjs","sources":["../../../../projects/aca-content/about/src/dev-mode.tokens.ts","../../../../projects/aca-content/about/src/package-json.token.ts","../../../../projects/aca-content/about/src/about.component.ts","../../../../projects/aca-content/about/src/about.component.html","../../../../projects/aca-content/about/src/aca-about.module.ts","../../../../projects/aca-content/about/src/public-api.ts","../../../../projects/aca-content/about/src/alfresco-aca-content-about.ts"],"sourcesContent":["/*!\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { InjectionToken } from '@angular/core';\n\nexport const DEV_MODE_TOKEN = new InjectionToken<boolean>('devMode');\n","/*!\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { InjectionToken } from '@angular/core';\n\nexport const PACKAGE_JSON = new InjectionToken<any>('PACKAGE_JSON');\n","/*!\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Component, inject, OnInit, ViewEncapsulation } from '@angular/core';\nimport { DEV_MODE_TOKEN } from './dev-mode.tokens';\nimport { AboutModule, AuthenticationService, RepositoryInfo } from '@alfresco/adf-core';\nimport { DiscoveryApiService } from '@alfresco/adf-content-services';\nimport { PACKAGE_JSON } from './package-json.token';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { AppExtensionService, AppSettingsService, PageLayoutComponent } from '@alfresco/aca-shared';\nimport { RouterModule } from '@angular/router';\nimport { MatIconModule } from '@angular/material/icon';\nimport { CommonModule } from '@angular/common';\nimport { MatButtonModule } from '@angular/material/button';\n\n@Component({\n  imports: [CommonModule, TranslatePipe, AboutModule, RouterModule, MatIconModule, MatButtonModule, PageLayoutComponent],\n  selector: 'app-about-page',\n  templateUrl: './about.component.html',\n  styleUrls: ['./about.component.scss'],\n  encapsulation: ViewEncapsulation.None\n})\nexport class AboutComponent implements OnInit {\n  private authService = inject(AuthenticationService);\n  private appExtensions = inject(AppExtensionService);\n  private appSettings = inject(AppSettingsService);\n  private discovery = inject(DiscoveryApiService);\n  public packageJson? = inject(PACKAGE_JSON, { optional: true });\n  public dev = inject(DEV_MODE_TOKEN);\n\n  extensions$ = this.appExtensions.references$;\n  repository: RepositoryInfo = null;\n  landingPage = this.appSettings.landingPage;\n\n  ngOnInit(): void {\n    if (this.authService.isLoggedIn()) {\n      this.setECMInfo();\n    }\n  }\n\n  setECMInfo() {\n    this.discovery.getEcmProductInfo().subscribe((repository) => {\n      this.repository = repository as RepositoryInfo;\n    });\n  }\n}\n","<aca-page-layout>\n  <div class=\"aca-page-layout-header\">\n    <button\n      mat-icon-button\n      [attr.aria-label]=\"'APP.ABOUT.BACK_BUTTON_LABEL' | translate\"\n      [attr.title]=\"'APP.ABOUT.BACK_BUTTON_LABEL' | translate\"\n      [routerLink]=\"landingPage\">\n      <mat-icon class=\"app-profile-icon\">arrow_back</mat-icon>\n    </button>\n    <h1>{{ 'APP.BROWSE.ABOUT.TITLE' | translate }}</h1>\n  </div>\n\n  <div class=\"aca-page-layout-content aca-scrollable\">\n    <adf-about>\n      <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.SERVER_SETTINGS.TITLE' | translate\">\n        <ng-template>\n            <adf-about-server-settings />\n        </ng-template>\n      </adf-about-panel>\n\n      <adf-about-panel [label]=\"'ABOUT.REPOSITORY' | translate\" *ngIf=\"repository\">\n        <ng-template>\n            <adf-about-repository-info [data]=\"repository\" />\n        </ng-template>\n      </adf-about-panel>\n\n      <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.PACKAGES.TITLE' | translate\">\n        <ng-template>\n            <adf-about-package-list [dependencies]=\"packageJson?.dependencies\" />\n        </ng-template>\n      </adf-about-panel>\n\n      <adf-about-panel *ngIf=\"extensions$ | async as extensions\" [label]=\"'ABOUT.PLUGINS.TITLE' | translate\">\n        <ng-template>\n            <adf-about-extension-list [data]=\"extensions\" />\n        </ng-template>\n      </adf-about-panel>\n    </adf-about>\n  </div>\n</aca-page-layout>\n","/*!\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { NgModule, Provider } from '@angular/core';\nimport { AboutComponent } from './about.component';\nimport { provideExtensionConfig, provideExtensions } from '@alfresco/adf-extensions';\n\nexport function provideAboutExtension(): Provider[] {\n  return [\n    provideExtensionConfig(['about.plugin.json']),\n    provideExtensions({\n      components: {\n        'app.about.component': AboutComponent\n      }\n    })\n  ];\n}\n\n/* @deprecated use `provideAboutExtension()` provider api instead */\n@NgModule({\n  providers: [...provideAboutExtension()]\n})\nexport class AcaAboutModule {}\n","/*!\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nexport * from './about.component';\nexport * from './aca-about.module';\nexport * from './dev-mode.tokens';\nexport * from './package-json.token';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;AAsBG;MAIU,cAAc,GAAG,IAAI,cAAc,CAAU,SAAS;;AC1BnE;;;;;;;;;;;;;;;;;;;;;;AAsBG;MAIU,YAAY,GAAG,IAAI,cAAc,CAAM,cAAc;;AC1BlE;;;;;;;;;;;;;;;;;;;;;;AAsBG;MAqBU,cAAc,CAAA;AACjB,IAAA,WAAW,GAAG,MAAM,CAAC,qBAAqB,CAAC;AAC3C,IAAA,aAAa,GAAG,MAAM,CAAC,mBAAmB,CAAC;AAC3C,IAAA,WAAW,GAAG,MAAM,CAAC,kBAAkB,CAAC;AACxC,IAAA,SAAS,GAAG,MAAM,CAAC,mBAAmB,CAAC;IACxC,WAAW,GAAI,MAAM,CAAC,YAAY,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AACvD,IAAA,GAAG,GAAG,MAAM,CAAC,cAAc,CAAC;AAEnC,IAAA,WAAW,GAAG,IAAI,CAAC,aAAa,CAAC,WAAW;IAC5C,UAAU,GAAmB,IAAI;AACjC,IAAA,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC,WAAW;IAE1C,QAAQ,GAAA;AACN,QAAA,IAAI,IAAI,CAAC,WAAW,CAAC,UAAU,EAAE,EAAE;YACjC,IAAI,CAAC,UAAU,EAAE;;;IAIrB,UAAU,GAAA;QACR,IAAI,CAAC,SAAS,CAAC,iBAAiB,EAAE,CAAC,SAAS,CAAC,CAAC,UAAU,K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