1"use strict";(self.webpackChunkdspace_angular=self.webpackChunkdspace_angular||[]).push([[6783],{56783:(P,s,a)=>{a.r(s),a.d(s,{SubmissionImportExternalComponent:()=>O});var p=a(60177),c=a(7901),r=a(68018),d=a(64972),m=a(2180),u=a(15202),E=a(52186),C=a(50186),b=a(7832),x=a(64135),n=a(54438);const g=()=>["/mydspace"],I=(o,i)=>({repeatable:o,listId:i});function f(o,i){1&o&&(n.j41(0,"h2"),n.EFF(1),n.nI1(2,"translate"),n.k0s()),2&o&&(n.R7$(),n.JRh(n.bMT(2,1,"submission.sections.describe.relationship-lookup.selection-tab.title")))}function v(o,i){if(1&o){const t=n.RV6();n.j41(0,"ds-viewable-collection",12),n.bIt("importObject",function(l){n.eBV(t);const _=n.XpG(4);return n.Njj(_.import(l))}),n.k0s()}if(2&o){const t=n.XpG().ngVar,e=n.XpG(3);n.Y8G("@fadeIn",void 0)("objects",t)("selectionConfig",n.l_i(8,I,e.repeatable,e.listId))("config",e.initialPagination)("hideGear",!0)("context",e.context)("importable",!0)("importConfig",e.importConfig)}}function h(o,i){1&o&&(n.nrm(0,"ds-loading",9),n.nI1(1,"translate")),2&o&&n.FS9("message",n.bMT(1,1,"loading.search-results"))}function D(o,i){if(1&o&&(n.j41(0,"div",10)(1,"ds-alert",13),n.EFF(2),n.nI1(3,"translate"),n.k0s()()),2&o){const t=n.XpG(4);n.R7$(),n.Y8G("type",t.AlertType.Info),n.R7$(),n.JRh(n.bMT(3,2,"search.results.empty"))}}function M(o,i){if(1&o&&(n.j41(0,"div",11)(1,"ds-alert",13),n.EFF(2),n.nI1(3,"translate"),n.k0s()()),2&o){const t=n.XpG(4);n.R7$(),n.Y8G("type",t.AlertType.Info),n.R7$(),n.JRh(n.bMT(3,2,"search.results.response.500"))}}function R(o,i){if(1&o&&(n.qex(0),n.DNE(1,f,3,3,"h2")(2,v,1,11,"ds-viewable-collection",8),n.nI1(3,"async"),n.DNE(4,h,2,3,"ds-loading",9),n.nI1(5,"async"),n.DNE(6,D,4,4,"div",10),n.nI1(7,"async"),n.DNE(8,M,4,4,"div",11),n.nI1(9,"async"),n.bVm()),2&o){const t=i.ngVar,e=n.XpG(3);n.R7$(),n.vxM(t&&0!==(null==t||null==t.payload||null==t.payload.page?null:t.payload.page.length)?1:-1),n.R7$(),n.vxM(null!=t&&t.hasSucceeded&&!0!==n.bMT(3,5,e.isLoading$)&&(null==t||null==t.payload||null==t.payload.page?null:t.payload.page.length)>0?2:-1),n.R7$(2),n.vxM(n.bMT(5,7,e.isLoading$)?4:-1),n.R7$(2),n.vxM(!0!==n.bMT(7,9,e.isLoading$)&&0===(null==t||null==t.payload||null==t.payload.page?null:t.payload.page.length)&&(null==e.routeData||null==e.routeData.query?null:e.routeData.query.length)>0?6:-1),n.R7$(2),n.vxM(!0!==n.bMT(9,11,e.isLoading$)&&500===t.statusCode?8:-1)}}function T(o,i){if(1&o&&(n.j41(0,"div",2),n.DNE(1,R,10,13,"ng-container",7),n.nI1(2,"async"),n.k0s()),2&o){const t=n.XpG(2);n.R7$(),n.Y8G("ngVar",n.bMT(2,1,t.entriesRD$))}}function y(o,i){if(1&o&&(n.j41(0,"div",2)(1,"ds-alert",13)(2,"p",14),n.EFF(3),n.nI1(4,"translate"),n.k0s()()()),2&o){const t=n.XpG(2);n.R7$(),n.Y8G("type",t.AlertType.Info),n.R7$(2),n.JRh(n.bMT(4,2,"submission.import-external.page.hint"))}}function $(o,i){if(1&o&&(n.j41(0,"div",1),n.DNE(1,T,3,3,"div",2)(2,y,5,4,"div",2),n.k0s()),2&o){const t=n.XpG();n.R7$(),n.vxM(""!==t.reload$.value.sourceId?1:-1),n.R7$(),n.vxM(""===t.reload$.value.sourceId?2:-1)}}let O=(()=>{class o extends x.SubmissionImportExternalComponent{static{this.\u0275fac=(()=>{let t;return function(l){return(t||(t=n.xGo(o)))(l||o)}})()}static{this.\u0275cmp=n.VBU({type:o,selectors:[["ds-themed-submission-import-external"]],standalone:!0,features:[n.Vt3,n.aNF],decls:15,vars:10,consts:[[1,"container"],[1,"row"],[1,"col-md-12"],["id","header",1,"pb-2"],[3,"externalSourceData","initExternalSourceData"],["role","button",1,"btn","btn-outline-secondary",3,"routerLink"],["aria-hidden","true",1,"fa","fa-chevron-left"],[4,"ngVar"],[3,"objects","selectionConfig","config","hideGear","context","importable","importConfig"],[3,"message"],["data-test","empty-external-entry-list"],["data-test","empty-external-error-500"],[3,"importObject","objects","selectionConfig","config","hideGear","context","importable","importConfig"],[3,"type"],[1,"lead","mb-0"]],template:function(e,l){1&e&&(n.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),n.EFF(4),n.nI1(5,"translate"),n.k0s(),n.j41(6,"ds-submission-import-external-searchbar",4),n.bIt("externalSourceData",function(S){return l.getExternalSourceData(S)}),n.k0s()()(),n.DNE(7,$,3,2,"div",1),n.j41(8,"div",1)(9,"div",2),n.nrm(10,"hr"),n.j41(11,"a",5),n.nrm(12,"i",6),n.EFF(13),n.nI1(14,"translate"),n.k0s()()()()),2&e&&(n.R7$(4),n.JRh(n.bMT(5,5,"submission.import-external.title"+(l.label?"."+l.label:""))),n.R7$(2),n.Y8G("initExter
1nalSourceData",l.reload$.value),n.R7$(),n.vxM(l.reload$.value.entity?7:-1),n.R7$(4),n.Y8G("routerLink",n.lJ4(9,g)),n.R7$(2),n.SpI(" ",n.bMT(14,7,"submission.import-external.back-to-my-dspace")," "))},dependencies:[d.C,p.Jj,E.h,c.Wk,b.h,u.v,r.h,r.D9,C.r],data:{animation:[m.qG]}})}}return o})()}}]);
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.