1"use strict";(self.webpackChunkdspace_angular=self.webpackChunkdspace_angular||[]).push([[3283],{73049:(U,s,l)=>{l.r(s),l.d(s,{FullFileSectionComponent:()=>L});var m=l(24136),c=l(21160),g=l(27303),r=l(46533),u=l(45608),e=l(98678),_=l(35103),v=l(78530),f=l(18639),x=l(52153),E=l(50122),S=l(41966),h=l(23128),C=l(69721),I=l(96342);function F(n,a){if(1&n&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"dt",12),e.\u0275\u0275text(2),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"dd",13),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&n){const t=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(3,2,"item.page.filesection.description")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(t.firstMetadataValue("dc.description"))}}function P(n,a){if(1&n&&(e.\u0275\u0275elementStart(0,"ds-themed-file-download-link",17),e.\u0275\u0275text(1),e.\u0275\u0275pipe(2,"translate"),e.\u0275\u0275elementEnd()),2&n){const t=e.\u0275\u0275nextContext().$implicit,i=e.\u0275\u0275nextContext(4);e.\u0275\u0275property("bitstream",t)("item",i.item),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(2,3,"item.page.filesection.download")," ")}}function O(n,a){if(1&n&&(e.\u0275\u0275elementStart(0,"div",7)(1,"div",8),e.\u0275\u0275element(2,"ds-themed-thumbnail",9),e.\u0275\u0275pipe(3,"async"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"div",10)(5,"dl",11)(6,"dt",12),e.\u0275\u0275text(7),e.\u0275\u0275pipe(8,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"dd",13),e.\u0275\u0275text(10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"dt",12),e.\u0275\u0275text(12),e.\u0275\u0275pipe(13,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"dd",13),e.\u0275\u0275text(15),e.\u0275\u0275pipe(16,"dsFileSize"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"dt",12),e.\u0275\u0275text(18),e.\u0275\u0275pipe(19,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(20,"dd",13),e.\u0275\u0275text(21),e.\u0275\u0275pipe(22,"async"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(23,F,6,4,"ng-container",2),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(24,"div",14)(25,"ds-atmire-item-page-bitstream-access-conditions",15),e.\u0275\u0275template(26,P,3,5,"ng-template",null,16,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275elementEnd()()()),2&n){const t=a.$implicit,i=e.\u0275\u0275reference(27),d=e.\u0275\u0275nextContext(4);let o,p;e.\u0275\u0275advance(2),e.\u0275\u0275property("thumbnail",null==(o=e.\u0275\u0275pipeBind1(3,10,t.thumbnail))?null:o.payload),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(8,12,"item.page.filesection.name")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(d.dsoNameService.getName(t)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(13,14,"item.page.filesection.size")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(16,16,t.sizeBytes)),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(19,18,"item.page.filesection.format")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(null==(p=e.\u0275\u0275pipeBind1(22,20,t.format))||null==p.payload?null:p.payload.description),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",t.hasMetadata("dc.description")),e.\u0275\u0275advance(2),e.\u0275\u0275property("bitstream",t)("regularContent",i)}}function B(n,a){if(1&n&&(e.\u0275\u0275elementStart(0,"ds-pagination",5),e.\u0275\u0275template(1,O,28,22,"div",6),e.\u0275\u0275elementEnd()),2&n){const t=e.\u0275\u0275nextContext(2).ngVar,i=e.\u0275\u0275nextContext();e.\u0275\u0275property("hideGear",!0)("hidePagerWhenSinglePage",!0)("paginationOptions",i.originalOptions)("pageInfoState",t)("collectionSize",null==t?null:t.totalElements)("retainScrollPosition",!0),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",null==t?null:t.page)}}function y(n,a){if(1&n&&(e.\u0275\u0275elementStart(0,"div")(1,"h5",3),e.\u0275\u0275text(2),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(4,B,2,7,"ds-pagination",4),e.\u0275\u0275elementEnd()),2&n){const t=e.\u0275\u0275nextContext().ngVar;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(3,2,"item.page.filesection.original.bundle")),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",(null==t||null==t.page?null:t.page.length)>0)}}function M(n,a){if(1&n&&(e.\u0275\u0275elementStart(0,"div"),e.\u0275\u0275template(1,y,5,4,"div",2),e.\u0275\u0275elementEnd()),2&n){const t=a.ngVar,i=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",i.hasValuesInBundle(t))}}function D(n,a){if(1&n&&(e.\u0275\u0275elementStart(0,"ds-themed-file-download-l
1ink",17),e.\u0275\u0275text(1),e.\u0275\u0275pipe(2,"translate"),e.\u0275\u0275elementEnd()),2&n){const t=e.\u0275\u0275nextContext().$implicit,i=e.\u0275\u0275nextContext(4);e.\u0275\u0275property("bitstream",t)("item",i.item),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(2,3,"item.page.filesection.download")," ")}}function T(n,a){if(1&n&&(e.\u0275\u0275elementStart(0,"div",19)(1,"div",8),e.\u0275\u0275element(2,"ds-themed-thumbnail",9),e.\u0275\u0275pipe(3,"async"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"div",10)(5,"dl",11)(6,"dt",12),e.\u0275\u0275text(7),e.\u0275\u0275pipe(8,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"dd",13),e.\u0275\u0275text(10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"dt",12),e.\u0275\u0275text(12),e.\u0275\u0275pipe(13,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"dd",13),e.\u0275\u0275text(15),e.\u0275\u0275pipe(16,"dsFileSize"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"dt",12),e.\u0275\u0275text(18),e.\u0275\u0275pipe(19,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(20,"dd",13),e.\u0275\u0275text(21),e.\u0275\u0275pipe(22,"async"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"dt",12),e.\u0275\u0275text(24),e.\u0275\u0275pipe(25,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(26,"dd",13),e.\u0275\u0275text(27),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(28,"div",14)(29,"ds-atmire-item-page-bitstream-access-conditions",15),e.\u0275\u0275template(30,D,3,5,"ng-template",null,16,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275elementEnd()()()),2&n){const t=a.$implicit,i=e.\u0275\u0275reference(31),d=e.\u0275\u0275nextContext(4);let o,p;e.\u0275\u0275advance(2),e.\u0275\u0275property("thumbnail",null==(o=e.\u0275\u0275pipeBind1(3,11,t.thumbnail))?null:o.payload),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(8,13,"item.page.filesection.name")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(d.dsoNameService.getName(t)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(13,15,"item.page.filesection.size")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(16,17,t.sizeBytes)),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(19,19,"item.page.filesection.format")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(null==(p=e.\u0275\u0275pipeBind1(22,21,t.format))||null==p.payload?null:p.payload.description),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(25,23,"item.page.filesection.description")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(t.firstMetadataValue("dc.description")),e.\u0275\u0275advance(2),e.\u0275\u0275property("bitstream",t)("regularContent",i)}}function W(n,a){if(1&n&&(e.\u0275\u0275elementStart(0,"ds-pagination",5),e.\u0275\u0275template(1,T,32,25,"div",18),e.\u0275\u0275elementEnd()),2&n){const t=e.\u0275\u0275nextContext(2).ngVar,i=e.\u0275\u0275nextContext();e.\u0275\u0275property("hideGear",!0)("hidePagerWhenSinglePage",!0)("paginationOptions",i.licenseOptions)("pageInfoState",t)("collectionSize",null==t?null:t.totalElements)("retainScrollPosition",!0),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",null==t?null:t.page)}}function A(n,a){if(1&n&&(e.\u0275\u0275elementStart(0,"div")(1,"h5",3),e.\u0275\u0275text(2),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(4,W,2,7,"ds-pagination",4),e.\u0275\u0275elementEnd()),2&n){const t=e.\u0275\u0275nextContext().ngVar;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(3,2,"item.page.filesection.license.bundle")),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",(null==t||null==t.page?null:t.page.length)>0)}}function R(n,a){if(1&n&&(e.\u0275\u0275elementStart(0,"div"),e.\u0275\u0275template(1,A,5,4,"div",2),e.\u0275\u0275elementEnd()),2&n){const t=a.ngVar,i=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",i.hasValuesInBundle(t))}}let L=(()=>{class n extends m.FullFileSectionComponent{initialize(){super.initialize(),this.originals$=this.paginationService.getCurrentPagination(this.originalOptions.id,this.originalOptions).pipe((0,c.w)(t=>this.bitstreamDataService.findAllByItemAndBundleName(this.item,"ORIGINAL",{elementsPerPage:t.pageSize,currentPage:t.currentPage},!0,!0,(0,r.l)("format"),(0,r.l)("thumbnail"),(0,r.l)("accessConditions"))),(0,g.b)(t=>{(0,u.Uh)(t.errorMessage)&&this.notificationsService.error(this.translateService.get("file-section.error.header"),`${t.statusCode} ${t.errorMessage}`)}))}}return n.\u0275fac=function(){let a;
1return function(i){return(a||(a=e.\u0275\u0275getInheritedFactory(n)))(i||n)}}(),n.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["ds-item-page-full-file-section"]],features:[e.\u0275\u0275InheritDefinitionFeature],decls:6,vars:9,consts:[[3,"label"],[4,"ngVar"],[4,"ngIf"],[1,"simple-view-element-header"],[3,"hideGear","hidePagerWhenSinglePage","paginationOptions","pageInfoState","collectionSize","retainScrollPosition",4,"ngIf"],[3,"hideGear","hidePagerWhenSinglePage","paginationOptions","pageInfoState","collectionSize","retainScrollPosition"],["class","file-section row mb-3",4,"ngFor","ngForOf"],[1,"file-section","row","mb-3"],[1,"col-3"],[3,"thumbnail"],[1,"col-7"],[1,"row"],[1,"col-md-4"],[1,"col-md-8"],[1,"col-2"],[3,"bitstream","regularContent"],["downloadLink",""],[3,"bitstream","item"],["class","file-section row",4,"ngFor","ngForOf"],[1,"file-section","row"]],template:function(t,i){if(1&t&&(e.\u0275\u0275elementStart(0,"ds-metadata-field-wrapper",0),e.\u0275\u0275pipe(1,"translate"),e.\u0275\u0275template(2,M,2,1,"div",1),e.\u0275\u0275pipe(3,"async"),e.\u0275\u0275template(4,R,2,1,"div",1),e.\u0275\u0275pipe(5,"async"),e.\u0275\u0275elementEnd()),2&t){let d,o;e.\u0275\u0275property("label",e.\u0275\u0275pipeBind1(1,3,i.label)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngVar",null==(d=e.\u0275\u0275pipeBind1(3,5,i.originals$))?null:d.payload),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngVar",null==(o=e.\u0275\u0275pipeBind1(5,7,i.licenses$))?null:o.payload)}},dependencies:[_.sg,_.O5,v.Q,f.z,x.n,E.t,S.g,h.V,_.Ov,C.p,I.X$],styles:["@media screen and (min-width: 768px){dt[_ngcontent-%COMP%]{text-align:right}}"]}),n})()}}]);
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.