import {Component, Input, ViewChild} from '@angular/core'; import {ActivatedRoute, Router} from '@angular/router'; import {Location} from '@angular/common'; import {ErrorCodes} from "../../utils/properties/errorCodes"; import {ErrorMessagesComponent} from "../../utils/errorMessages.component"; import {SearchUtilsClass} from "../../searchPages/searchUtils/searchUtils.class"; import {RouterHelper} from "../../utils/routerHelper.class"; import {EnvProperties} from "../../utils/properties/env-properties"; import {properties} from "../../../../environments/environment"; import {OrcidService} from "../orcid.service"; import {Identifier, StringUtils} from "../../utils/string-utils.class"; import {SearchResearchResultsService} from "../../services/searchResearchResults.service"; import {SearchResult} from "../../utils/entities/searchResult"; import {ResultPreview} from "../../utils/result-preview/result-preview"; import {Meta, Title} from "@angular/platform-browser"; import {UserManagementService} from "../../services/user-management.service"; import {PiwikService} from "../../utils/piwik/piwik.service"; import {IndexInfoService} from "../../utils/indexInfo.service"; import {OpenaireEntities} from "../../utils/properties/searchFields"; declare var UIkit: any; @Component({ selector: 'my-orcid-links', template: `