1"use strict";(self.webpackChunkdspace_angular=self.webpackChunkdspace_angular||[]).push([[3871],{63871:(E,c,t)=>{t.r(c),t.d(c,{FileDownloadLinkComponent:()=>C});var s=t(60177),m=t(7901),d=t(68018),u=t(78584),p=t(23378),n=t(54438);const f=["*"];function D(a,o){if(1&a&&n.nrm(0,"ds-access-status-badge",1),2&a){const l=n.XpG();n.Y8G("object",l.bitstream)}}function T(a,o){1&a&&(n.j41(0,"span",3),n.nI1(1,"translate"),n.nI1(2,"translate"),n.nrm(3,"i",7),n.k0s()),2&a&&(n.Y8G("title",n.bMT(1,2,"file-download-link.restricted")),n.BMQ("aria-label",n.bMT(2,4,"file-download-link.restricted")))}function k(a,o){1&a&&(n.j41(0,"span",4),n.nI1(1,"translate"),n.nI1(2,"translate"),n.nrm(3,"i",8),n.k0s()),2&a&&(n.Y8G("title",n.bMT(1,2,"file-download-link.secure-access")),n.BMQ("aria-label",n.bMT(2,4,"file-download-link.secure-access")))}function M(a,o){1&a&&n.nrm(0,"i",5)}function b(a,o){1&a&&n.eu8(0)}function g(a,o){1&a&&n.SdG(0)}let C=(()=>{class a extends p.FileDownloadLinkComponent{static{this.\u0275fac=(()=>{let l;return function(e){return(l||(l=n.xGo(a)))(e||a)}})()}static{this.\u0275cmp=n.VBU({type:a,selectors:[["ds-themed-file-download-link"]],standalone:!0,features:[n.Vt3,n.aNF],ngContentSelectors:f,decls:18,vars:29,consts:[["content",""],[3,"object"],["role","link","tabindex","0",1,"d-block","dont-break-out","mb-1",3,"routerLink","queryParams","target","ngClass","title"],["role","img",1,"pe-1",3,"title"],["role","img",1,"pe-1","request-a-copy-access-icon",3,"title"],[1,"fas","fa-download","d-inline"],[4,"ngTemplateOutlet"],[1,"fas","fa-lock"],[1,"fa-solid","fa-lock-open"]],template:function(i,e){if(1&i&&(n.NAR(),n.DNE(0,D,1,1,"ds-access-status-badge",1),n.j41(1,"a",2),n.nI1(2,"async"),n.nI1(3,"async"),n.nI1(4,"async"),n.nI1(5,"async"),n.nI1(6,"async"),n.nI1(7,"async"),n.DNE(8,T,4,6,"span",3),n.nI1(9,"async"),n.nI1(10,"async"),n.nI1(11,"async"),n.nI1(12,"async"),n.DNE(13,k,4,6,"span",4)(14,M,1,0,"i",5)(15,b,1,0,"ng-container",6),n.k0s(),n.DNE(16,g,1,0,"ng-template",null,0,n.C5r)),2&i){let _,r;const w=n.sdS(17);n.vxM(e.showAccessStatusBadge?0:-1),n.R7$(),n.Y8G("routerLink",null==(_=n.bMT(2,9,e.bitstreamPath$))?null:_.routerLink)("queryParams",null==(r=n.bMT(3,11,e.bitstreamPath$))?null:r.queryParams)("target",e.isBlank?"_blank":"_self")("ngClass",e.cssClasses)("title",e.getDownloadLinkTitle(n.bMT(4,13,e.canDownload$),n.bMT(5,15,e.canDownloadWithToken$),e.dsoNameService.getName(e.bitstream))),n.BMQ("aria-label",e.getDownloadLinkTitle(n.bMT(6,17,e.canDownload$),n.bMT(7,19,e.canDownloadWithToken$),e.dsoNameService.getName(e.bitstream))),n.R7$(7),n.vxM(!1===n.bMT(9,21,e.canDownload$)&&!1===n.bMT(10,23,e.canDownloadWithToken$)?8:n.bMT(11,25,e.canDownloadWithToken$)&&!1===n.bMT(12,27,e.canDownload$)?13:e.showIcon?14:-1),n.R7$(7),n.Y8G("ngTemplateOutlet",w)}},dependencies:[s.Jj,s.YU,s.T3,m.Wk,u.I,d.h,d.D9],styles:[".request-a-copy-access-icon[_ngcontent-%COMP%]{color:var(--bs-success)}.btn-download[_ngcontent-%COMP%]{width:fit-content}"]})}}return a})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.