1(self.webpackChunkdspace_angular=self.webpackChunkdspace_angular||[]).push([[3144,7340],{6207:(U,M,e)=>{"use strict";e.d(M,{x:()=>j});var o=e(59640),s=e(96354),h=e(91261),d=e(25913);function c(){return(0,h.hZ)(d.I,"suggestionTarget")}function l(g){return(0,o.Mz)(c(),p=>p.sources[g])}(0,o.UX)("suggestionNotifications");const v=g=>(0,o.Mz)(l(g),p=>p?.loaded||!1),f=g=>(0,o.Mz)(l(g),p=>p?.totalElements||0);var D=e(69470),I=e(2615);let j=(()=>{var g;class p{constructor(r){this.store=r}getSuggestionTargets(r){return this.store.pipe((0,o.Lt)(function y(g){return(0,o.Mz)(l(g),p=>p.targets)}(r)))}isSuggestionTargetsLoading(r){return this.store.pipe((0,o.Lt)(v(r)),(0,s.T)(S=>!S))}isSuggestionTargetsLoaded(r){return this.store.pipe((0,o.Lt)(v(r)))}isSuggestionTargetsProcessing(r){return this.store.pipe((0,o.Lt)((g=>(0,o.Mz)(l(g),p=>p?.processing||!1))(r)))}getSuggestionTargetsTotalPages(r){return this.store.pipe((0,o.Lt)(f(r)))}getSuggestionTargetsCurrentPage(r){return this.store.pipe((0,o.Lt)((g=>(0,o.Mz)(l(g),p=>p?.currentPage||0))(r)))}getSuggestionTargetsTotals(r){return this.store.pipe((0,o.Lt)(f(r)))}dispatchRetrieveSuggestionTargets(r,S,C){this.store.dispatch(new D.ri(r,S,C))}getCurrentUserSuggestionTargets(){return this.store.pipe((0,o.Lt)((0,o.Mz)(c(),g=>g?.currentUserTargets||[])))}hasUserVisitedSuggestions(){return this.store.pipe((0,o.Lt)((0,o.Mz)(c(),g=>g?.currentUserTargetsVisited||!1)))}dispatchMarkUserSuggestionsAsVisitedAction(){this.store.dispatch(new D.g3)}dispatchClearSuggestionTargetsAction(r){this.store.dispatch(new D.en(r))}dispatchRefreshUserSuggestionsAction(){this.store.dispatch(new D.eb)}static#t=g=()=>(this.\u0275fac=function(S){return new(S||p)(I.KVO(o.il))},this.\u0275prov=I.jDH({token:p,factory:p.\u0275fac,providedIn:"root"}))}return g(),p})()},30068:(U,M,e)=>{var o={"./custom/app/home-page/top-level-community-list/top-level-community-list.component":[63941,2076,3941]};function s(h){if(!e.o(o,h))return Promise.resolve().then(()=>{var c=new Error("Cannot find module '"+h+"'");throw c.code="MODULE_NOT_FOUND",c});var d=o[h],P=d[0];return Promise.all(d.slice(1).map(e.e)).then(()=>e(P))}s.keys=()=>Object.keys(o),s.id=30068,U.exports=s},33829:(U,M,e)=>{"use strict";e.d(M,{t:()=>p});var o=e(11514),s=e(72200),h=e(38132),d=e(68018),P=e(21413),c=e(84572),l=e(7673),y=e(96697),v=e(56977),_=e(68887),t=e(89777),R=e(85955),f=e(6207),x=e(2615),n=e(73664);function D(E,r){if(1&E&&(n.j41(0,"div"),n.nrm(1,"div",9),n.nI1(2,"translate"),n.EFF(3),n.nI1(4,"translate"),n.j41(5,"a",10),n.EFF(6),n.nI1(7,"translate"),n.k0s()()),2&E){const S=n.XpG().$implicit,C=n.XpG(3);n.R7$(),n.Y8G("innerHTML",n.i5U(2,4,"notification.suggestion",C.getNotificationSuggestionInterpolation(S)),n.npT),n.R7$(2),n.SpI(" ",n.bMT(4,7,"notification.suggestion.please")," "),n.R7$(2),n.Y8G("routerLink",C.getNotificationSuggestionInterpolation(S).url),n.R7$(),n.SpI(" ",n.bMT(7,9,"notification.suggestion.review")," ")}}function I(E,r){if(1&E&&(n.qex(0,8),n.nVh(1,D,8,11,"div"),n.bVm()),2&E){const S=r.$implicit;n.R7$(),n.vxM(S.total>0?1:-1)}}function j(E,r){1&E&&n.Z7z(0,I,2,1,"ng-container",8,n.fX1),2&E&&n.Dyx(r)}function g(E,r){if(1&E){const S=n.RV6();n.j41(0,"div",0)(1,"div",1)(2,"button",2),n.bIt("click",function(){x.eBV(S);const O=n.XpG();return x.Njj(O.removePopup())}),n.k0s(),n.j41(3,"div",3)(4,"div",4)(5,"div",5),n.nrm(6,"i",6),n.k0s()(),n.j41(7,"div",7),n.nVh(8,j,2,0),n.nI1(9,"async"),n.k0s()()()()}if(2&E){let S;const C=n.XpG();n.R7$(8),n.vxM((S=n.bMT(9,1,C.suggestionsRD$))?8:-1,S)}}let p=(()=>{var E;class r{constructor(C,O){this.suggestionTargetsStateService=C,this.suggestionsService=O,this.labelPrefix="notification."}ngOnInit(){this.initializePopup()}initializePopup(){const C=new P.B;this.subscription=(0,c.z)([this.suggestionTargetsStateService.getCurrentUserSuggestionTargets().pipe((0,y.s)(2)),this.suggestionTargetsStateService.hasUserVisitedSuggestions()]).pipe((0,v.Q)(C)).subscribe(([O,B])=>{this.suggestionTargetsStateService.dispatchRefreshUserSuggestionsAction(),(0,t.hj)(O)&&(B||(this.suggestionsRD$=(0,l.of)(O),this.suggestionTargetsStateService.dispatchMarkUserSuggestionsAsVisitedAction(),C.next(null),C.complete()))})}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}getNotificationSuggestionInterpolation(C){return this.suggestionsService.getNotificationSuggestionInterpolation(C)}removePopup(){this.suggestionsRD$=null}static#t=E=()=>(this.\u0275fac=function(O){return new(O||r)(n.rXU(f.x),n.rXU(R.F))},this.\u0275cmp=n.VBU({type:r,selectors:[["ds-suggestions-popup"]],decls:2,vars:3,consts:[[1,"notifications-wrapper","position-fixed","top","right"],["role","alert",1,"notification","alert","alert-success","alert-dismissible","m-3","shadow"],["type","button","data-bs-dismiss","alert","aria-label","Close",1,"close","pt-0","pe-1","pe-0","pb-0",3,"click"],[1,"d-flex","flex-row"],[1,"d-flex","flex-column","justify-content-center","align-items-center"],[1,"notification-icon","d-flex","justify-content-center"],[1,"fas","fa-2x","fa-check-circle"],[1,"d-flex","flex-column","justify-content-center","align-content-stretch","text-start","p-2"],[1,"alert","alert-info"],[3,"innerHTML"],[3,"routerLink"]],template:function(O,B){1&O&&(n.nVh(0,g,10,3,"div",0),n.nI1(1,"async")),2&O&&n.vxM(n.bMT(1,1,B.suggestionsRD$)?0:-1)},dependencies:[h.Wk,d.h,s.Jj,d.D9],encapsulation:2,data:{animation:[(0,o.hZ)("enterLeave",[_.iP])]}}))}return E(),r})()},43144:(U,M,e)=>{"use strict";e.d(M,{d:()=>P});var o=e(73664),s=e(29710);const h=["*"];function d(c,l){}let P=(()=>{var c;class l extends s.J{constructor(){super(...arguments),this.submitSearch=new o.bkB,this.inAndOutputNames=["query","inPlaceSearch","scope","hideScopeInUrl","currentUrl","large","brandColor","searchPlaceholder","showScopeSelector","submitSearch"]}getComponentName(){return"SearchFormComponent"}importThemedComponent(v){return e(76142)(`./${v}/app/shared/search-form/search-form.component`)}importUnthemedComponent(){return e.e(9375).then(e.bind(e,19375))}static#t=c=()=>(this.\u0275fac=(()=>{let v;return function(t){return(v||(v=o.xGo(l)))(t||l)}})(),this.\u0275cmp=o.VBU({type:l,selectors:[["ds-search-form"]],inputs:{query:"query",inPlaceSearch:"inPlaceSearch",scope:"scope",hideScopeInUrl:"hideScopeInUrl",currentUrl:"currentUrl",large:"large",brandColor:"brandColor",searchPlaceholder:"searchPlaceholder",showScopeSelector:"showScopeSelector"},outputs:{submitSearch:"submitSearch"},features:[o.Vt3],ngContentSelectors:h,decls:5,vars:0,consts:[["vcr",""],["content",""]],template:function(_,t){1&_&&(o.NAR(),o.PeT(0,d,0,0,"ng-template",null,0,o.C5r),o.rj2(2,"div",null,1),o.SdG(4),o.eux())},encapsulation:2}))}return c(),l})()},43634:(U,M,e)=>{"use strict";e.d(M,{G:()=>v});var o=e(60177),s=e(73664),h=e(7673),d=e(25558),P=e(85500),c=e(80193),l=e(89777),y=e(47561);let v=(()=>{var _;class t{constructor(f,x,n,D){this.linkHeadService=f,this.notifyInfoService=x,this.responseService=n,this.platformId=D,this.inboxLinks=[],this.subs=[]}ngOnInit(){this.subs.push(this.notifyInfoService.isCoarConfigEnabled().pipe((0,d.n)(f=>f?this.notifyInfoService.getCoarLdnLocalInboxUrls():(0,h.of)([]))).subscribe(f=>{f.length>0&&this.initPageLinks(f)}))}
1ngOnDestroy(){this.subs.forEach(f=>f.unsubscribe()),this.inboxLinks.forEach(f=>{this.linkHeadService.removeTag(`href='${f.href}'`)})}initPageLinks(f){const x=this.notifyInfoService.getInboxRelationLink();let n="";f.forEach(D=>{const I={href:D,rel:x};this.inboxLinks.push(I),this.linkHeadService.addTag(I),n=n+((0,l.hj)(n)?", ":"")+`<${D}> ; rel="${x}"`}),(0,o.Vy)(this.platformId)&&this.responseService.setHeader("Link",n)}static#t=_=()=>(this.\u0275fac=function(x){return new(x||t)(s.rXU(y.m),s.rXU(P.P),s.rXU(c.w),s.rXU(s.Agw))},this.\u0275cmp=s.VBU({type:t,selectors:[["ds-home-coar"]],decls:0,vars:0,template:function(x,n){},encapsulation:2}))}return _(),t})()},53634:(U,M,e)=>{"use strict";e.d(M,{v:()=>P});var o=e(29710),s=e(73664);const h=["*"];function d(c,l){}let P=(()=>{var c;class l extends o.J{getComponentName(){return"HomeNewsComponent"}importThemedComponent(v){return e(56564)(`./${v}/app/home-page/home-news/home-news.component`)}importUnthemedComponent(){return Promise.resolve().then(e.bind(e,96762))}static#t=c=()=>(this.\u0275fac=(()=>{let v;return function(t){return(v||(v=s.xGo(l)))(t||l)}})(),this.\u0275cmp=s.VBU({type:l,selectors:[["ds-home-news"]],features:[s.Vt3],ngContentSelectors:h,decls:5,vars:0,consts:[["vcr",""],["content",""]],template:function(_,t){1&_&&(s.NAR(),s.PeT(0,d,0,0,"ng-template",null,0,s.C5r),s.rj2(2,"div",null,1),s.SdG(4),s.eux())},encapsulation:2}))}return c(),l})()},56564:(U,M,e)=>{var o={"./custom/app/home-page/home-news/home-news.component":[1765,235,1765],"./dspace/app/home-page/home-news/home-news.component":[24968]};function s(h){if(!e.o(o,h))return Promise.resolve().then(()=>{var c=new Error("Cannot find module '"+h+"'");throw c.code="MODULE_NOT_FOUND",c});var d=o[h],P=d[0];return Promise.all(d.slice(1).map(e.e)).then(()=>e(P))}s.keys=()=>Object.keys(o),s.id=56564,U.exports=s},76142:(U,M,e)=>
1{var o={"./custom/app/shared/search-form/search-form.component":[91421,9375,1421]};function s(h){if(!e.o(o,h))return Promise.resolve().then(()=>{var c=new Error("Cannot find module '"+h+"'");throw c.code="MODULE_NOT_FOUND",c});var d=o[h],P=d[0];return Promise.all(d.slice(1).map(e.e)).then(()=>e(P))}s.keys=()=>Object.keys(o),s.id=76142,U.exports=s},87340:(U,M,e)=>{"use strict";e.r(M),e.d(M,{HomePageComponent:()=>et});var o=e(72200),s=e(68018),h=e(96354),d=e(79096),P=e(33829),c=e(10653),l=e(43144),y=e(43634),v=e(53634),_=e(60177),t=e(73664),R=e(78544),f=e(70998),x=e(31),n=e(93136),D=e(4093),I=e(40645),j=e(74272),g=e(19192),p=e(2180),E=e(14744),r=e(15202),S=e(8447),C=e(8417),O=e(30726),B=e(4600),A=e(93446),V=e(50186),F=e(2615);function W(i,a){if(1&i&&(t.j41(0,"li",5),t.nrm(1,"ds-listable-object-component-loader",7),t.k0s()),2&i){const u=a.$implicit,m=t.XpG(3);t.R7$(),t.Y8G("object",u)("viewMode",m.viewMode)}}function $(i,a){if(1&i){const u=t.RV6();t.j41(0,"div",1),t.nrm(1,"div",3),t.j41(2,"h2"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.j41(5,"ul",4),t.Z7z(6,W,2,2,"li",5,t.fX1),t.k0s(),t.j41(8,"button",6),t.bIt("click",function(){F.eBV(u);const T=t.XpG(2);return F.Njj(T.onLoadMore())}),t.EFF(9),t.nI1(10,"translate"),t.k0s()()}if(2&i){const u=t.XpG().ngVar,m=t.XpG();t.Y8G("ngClass",m.placeholderFontClass)("@fadeIn",void 0),t.R7$(3),t.SpI(" ",t.bMT(4,4,"home.recent-submissions.head")),t.R7$(3),t.Dyx(null==u||null==u.payload?null:u.payload.page),t.R7$(3),t.SpI(" ",t.bMT(10,6,"vocabulary-treeview.load-more")," ... ")}}function G(i,a){1&i&&(t.nrm(0,"ds-error",2),t.nI1(1,"translate")),2&i&&t.Y8G("message",t.mNQ(t.bMT(1,2,"error.recent-submissions")))}function N(i,a){1&i&&(t.nrm(0,"ds-loading",2),t.nI1(1,"translate")),2&i&&t.Y8G("message",t.mNQ(t.bMT(1,2,"loading.recent-submissions")))}function K(i,a){if(1&i&&(t.qex(0),t.nVh(1,$,11,8,"div",1),t.nVh(2,G,2,4,"ds-error",2),t.nVh(3,N,2,4,"ds-loading",2),t.bVm()),2&i){const u=a.ngVar;t.R7$(),t.vxM(null!=u&&u.hasSucceeded&&(null==u||null==u.payload?null:u.payload.page.length)>0?1:-1),t.R7$(),t.vxM(null!=u&&u.hasFailed?2:-1),t.R7$(),t.vxM(!u||u.isLoading?3:-1)}}let X=(()=>{var i;class a{constructor(m,T,L,nt,ot,st){this.searchService=m,this.paginationService=T,this.searchConfigurationService=L,this.elementRef=nt,this.appConfig=ot,this.platformId=st,this.viewMode=g.n.ListElement,this.paginationConfig=Object.assign(new C.W,{id:"hp",pageSize:R.c.homePage.recentSubmissions.pageSize,currentPage:1,maxSize:1}),this.sortConfig=new f.z(R.c.homePage.recentSubmissions.sortField,f.U.DESC)}ngOnInit(){const m=[];this.appConfig.browseBy.showThumbnails&&m.push((0,B.s)("thumbnail")),this.appConfig.item.showAccessStatuses&&m.push((0,B.s)("accessStatus")),this.itemRD$=this.searchService.search(new O.C({pagination:this.paginationConfig,dsoTypes:[n.W.ITEM],sort:this.sortConfig}),void 0,void 0,void 0,...m).pipe((0,D.jY)())}ngOnDestroy(){this.paginationService.clearPagination(this.paginationConfig.id)}onLoadMore(){this.paginationService.updateRouteWithUrl(this.searchConfigurationService.paginationID,["search"],{sortField:R.c.homePage.recentSubmissions.sortField,sortDirection:"DESC",page:1})}get placeholderFontClass(){return void 0===this._placeholderFontClass&&(this._placeholderFontClass=(0,_.UE)(this.platformId)?(0,A.F)(this.elementRef.nativeElement.offsetWidth):"hide-placeholder-text"),this._placeholderFontClass}static#t=i=()=>(this.\u0275fac=function(T){return new(T||a)(t.rXU(I.S),t.rXU(x.m),t.rXU(j.g),t.rXU(t.aKT),t.rXU(d.vQ),t.rXU(t.Agw))},this.\u0275cmp=t.VBU({type:a,selectors:[["ds-recent-item-list"]],decls:2,vars:3,consts:[[4,"ngVar"],[1,"mt-4",3,"ngClass"],[3,"message"],[1,"d-flex","flex-row","border-bottom","mb-4","pb-4"],[1,"list-unstyled","m-0","p-0"],[1,"my-4"],["role","link","tabindex","0",1,"btn","btn-primary","search-button","mt-4","float-start",3,"click"],[1,"pb-4",3,"object","viewMode"]],template:function(T,L){1&T&&(t.DNE(0,K,4,3,"ng-container",0),t.nI1(1,"async")),2&T&&t.Y8G("ngVar",t.bMT(1,1,L.itemRD$))},dependencies:[E.A,S.v,o.YU,r.v,s.h,V.r,o.Jj,s.D9],encapsulation:2,data:{animation:[p.qG,p.Ws]},changeDetection:0}))}return i(),a})();var b=e(29710);const H=["*"];function z(i,a){}let Y=(()=>{var i;class a extends b.J{getComponentName(){return"TopLevelCommunityListComponent"}importThemedComponent(m){return e(30068)(`./${m}/app/home-page/top-level-community-list/top-level-community-list.component`)}importUnthemedComponent(){return e.e(2076).then(e.bind(e,58574))}static#t=i=()=>(this.\u0275fac=(()=>{let m;return function(L){return(m||(m=t.xGo(a)))(L||a)}})(),this.\u0275cmp=t.VBU({type:a,selectors:[["ds-top-level-community-list"]],features:[t.Vt3],ngContentSelectors:H,decls:5,vars:0,consts:[["vcr",""],["content",""]],template:function(T,L){1&T&&(t.NAR(),t.PeT(0,z,0,0,"ng-template",null,0,t.C5r),t.rj2(2,"div",null,1),t.SdG(4),t.eux())},encapsulation:2}))}return i(),a})();var J=e(91029);function Q(i,a){1&i&&t.eu8(0,4)}function Z(i,a){if(1&i&&(t.j41(0,"ds-configuration-search-page",1),t.DNE(1,Q,1,0,"ng-container",3),t.k0s()),2&i){t.XpG();const u=t.sdS(6);t.Y8G("sideBarWidth",3)("showViewModes",!1)("searchEnabled",!1)("inPlaceSearch",!1)("showScopeSelector",!1),t.R7$(),t.Y8G("ngTemplateOutlet",u)}}function w(i,a){1&i&&t.eu8(0)}function k(i,a){if(1&i&&(t.j41(0,"div",2),t.DNE(1,w,1,0,"ng-container",5),t.k0s()),2&i){t.XpG();const u=t.sdS(6);t.R7$(),t.Y8G("ngTemplateOutlet",u)}}function q(i,a){1&i&&t.nrm(0,"ds-recent-item-list")}function tt(i,a){if(1&i&&(t.nrm(0,"ds-search-form",6),t.nI1(1,"translate"),t.nrm(2,"ds-top-level-community-list"),t.nVh(3,q,1,0,"ds-recent-item-list")),2&i){const u=t.XpG();t.Y8G("inPlaceSearch",!1)("searchPlaceholder",t.bMT(1,3,"home.search-form.placeholder")),t.R7$(3),t.vxM(u.recentSubmissionspageSize>0?3:-1)}}let et=(()=>{var i;class a{constructor(m,T){this.appConfig=m,this.route=T,this.recentSubmissionspageSize=this.appConfig.homePage.recentSubmissions.pageSize,this.showDiscoverFilters=this.appConfig.homePage.showDiscoverFilters}ngOnInit(){this.site$=this.route.data.pipe((0,h.T)(m=>m.site))}static#t=i=()=>(this.\u0275fac=function(T){return new(T||a)(t.rXU(d.vQ),t.rXU(J.nX))},this.\u0275cmp=t.VBU({type:a,selectors:[["ds-base-home-page"]],decls:7,vars:2,consts:[["homeContent",""],[3,"sideBarWidth","showViewModes","searchEnabled","inPlaceSearch","showScopeSelector"],[1,"container"],["searchContentTop","",4,"ngTemplateOutlet"],["searchContentTop",""],[4,"ngTemplateOutlet"],[3,"inPlaceSearch","searchPlaceholder"]],template:function(T,L){1&T&&(t.nrm(0,"ds-home-coar")(1,"ds-home-news"),t.nVh(2,Z,2,6,"ds-configuration-search-page",1),t.nVh(3,k,2,1,"div",2),t.nrm(4,"ds-suggestions-popup"),t.DNE(5,tt,4,5,"ng-template",null,0,t.C5r)),2&T&&(t.R7$(2),t.vxM(L.showDiscoverFilters?2:-1),t.R7$(),t.vxM(L.showDiscoverFilters?-1:3))},dependencies:[y.G,o.T3,X,P.t,c.M,v.v,l.d,Y,s.h,s.D9],styles:["@media (max-width: 767.98px){ds-themed-configuration-search-page[_ngcontent-%COMP%] + .container[_ngcontent-%COMP%]{width:100%;max-width:none}}"]}))}return i(),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.