1(self.webpackChunkdspace_angular=self.webpackChunkdspace_angular||[]).push([[4455],{89198:(w,E,t)=>{"use strict";t.r(E),t.d(E,{BrowseByDatePageComponent:()=>B});var h=t(81961),y=t(53426),_=t(45608),d=t(83270),C=t(91179),u=t(86937),R=t(62745),A=t(48358),$=t(49887),b=t(42281),s=t(22124),e=t(16441),v=t(8842),n=t(98678),D=t(67522),G=t(29941),V=t(35103),H=t(87657),j=t(41966),Q=t(74487),X=t(22369),J=t(62832),k=t(10825),Y=t(87635),z=t(56080),q=t(96342);function ee(o,l){if(1&o&&(n.\u0275\u0275element(0,"ds-comcol-page-logo",15),n.\u0275\u0275pipe(1,"async")),2&o){const a=n.\u0275\u0275nextContext(3);let c;n.\u0275\u0275property("logo",null==(c=n.\u0275\u0275pipeBind1(1,2,a.logo$))?null:c.payload)("alternateText","Community or Collection Logo")}}function te(o,l){if(1&o&&(n.\u0275\u0275elementContainerStart(0),n.\u0275\u0275elementStart(1,"div",7)(2,"header",8),n.\u0275\u0275element(3,"ds-comcol-page-header",9),n.\u0275\u0275template(4,ee,2,4,"ds-comcol-page-logo",10),n.\u0275\u0275element(5,"ds-themed-comcol-page-handle",11)(6,"ds-comcol-page-content",12)(7,"ds-comcol-page-content",13),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(8,"ds-dso-edit-menu"),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(9,"ds-themed-comcol-page-browse-by",14),n.\u0275\u0275elementContainerEnd()),2&o){const a=l.ngIf,c=n.\u0275\u0275nextContext(2);n.\u0275\u0275advance(3),n.\u0275\u0275property("name",c.dsoNameService.getName(a)),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",c.logo$),n.\u0275\u0275advance(1),n.\u0275\u0275property("content",a.handle)("title",a.type+".page.handle"),n.\u0275\u0275advance(1),n.\u0275\u0275property("content",a.introductoryText)("hasInnerHtml",!0),n.\u0275\u0275advance(1),n.\u0275\u0275property("content",a.sidebarText)("hasInnerHtml",!0)("title","community.page.news"),n.\u0275\u0275advance(2),n.\u0275\u0275property("id",a.id)("contentType",a.type)}}function ne(o,l){if(1&o&&(n.\u0275\u0275elementContainerStart(0),n.\u0275\u0275template(1,te,10,11,"ng-container",6),n.\u0275\u0275elementContainerEnd()),2&o){const a=l.ngVar;n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",null==a?null:a.payload)}}const oe=function(o){return{startsWith:o}},K=function(o,l,a,c){return{collection:o,field:l,startsWith:a,value:c}};function M(o,l){if(1&o){const a=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"ds-browse-by",16),n.\u0275\u0275listener("prev",function(){n.\u0275\u0275restoreView(a);const g=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(g.goPrev())})("next",function(){n.\u0275\u0275restoreView(a);const g=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(g.goNext())}),n.\u0275\u0275pipe(1,"translate"),n.\u0275\u0275pipe(2,"async"),n.\u0275\u0275pipe(3,"translate"),n.\u0275\u0275pipe(4,"translate"),n.\u0275\u0275pipe(5,"async"),n.\u0275\u0275pipe(6,"async"),n.\u0275\u0275pipe(7,"async"),n.\u0275\u0275elementEnd()}if(2&o){const a=n.\u0275\u0275nextContext();let c,g;n.\u0275\u0275propertyInterpolate("title",n.\u0275\u0275pipeBind2(1,7,"browse.title",n.\u0275\u0275pureFunction4(25,K,a.dsoNameService.getName(null==(c=n.\u0275\u0275pipeBind1(2,10,a.parent$))?null:c.payload),n.\u0275\u0275pipeBind1(3,12,"browse.metadata."+a.browseId),a.startsWith?n.\u0275\u0275pipeBind2(4,14,"browse.startsWith",n.\u0275\u0275pureFunction1(23,oe,'"'+a.startsWith+'"')):"",a.value?'"'+a.value+'"':""))),n.\u0275\u0275propertyInterpolate("parentname",a.dsoNameService.getName(null==(g=n.\u0275\u0275pipeBind1(5,17,a.parent$))?null:g.payload)),n.\u0275\u0275property("objects$",void 0!==a.items$?a.items$:a.browseEntries$)("paginationConfig",n.\u0275\u0275pipeBind1(6,19,a.currentPagination$))("sortConfig",n.\u0275\u0275pipeBind1(7,21,a.currentSort$))("type",a.startsWithType)("startsWithOptions",a.startsWithOptions)}}function x(o,l){1&o&&(n.\u0275\u0275element(0,"ds-themed-loading",17),n.\u0275\u0275pipe(1,"translate")),2&o&&n.\u0275\u0275propertyInterpolate("message",n.\u0275\u0275pipeBind1(1,1,"loading.browse-by-page"))}function ae(o,l){if(1&o&&(n.\u0275\u0275elementStart(0,"footer",19)(1,"div"),n.\u0275\u0275element(2,"ds-comcol-page-content",12),n.\u0275\u0275elementEnd()()),2&o){const a=n.\u0275\u0275nextContext().ngIf;n.\u0275\u0275advance(2),n.\u0275\u0275property("content",a.copyrightText)("hasInnerHtml",!0)}}function re(o,l){if(1&o&&(n.\u0275\u0275elementContainerStart(0),n.\u0275\u0275template(1,ae,3,2,"footer",18),n.\u0275\u0275elementContainerEnd()),2&o){const a=l.ngIf;n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",a.copyrightText)}}function m(o,l){if(1&o&&(n.\u0275\u0275elementContainerStart(0),n.\u0275\u0275template(1,re,2,1,"ng-container",6),n.\u0275\u0275elementContainerEnd()),2&o){const a=l.ngVar;n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",null==a?null:a.payload)}}let B=(()=>{class o extends h.BrowseByMetadataPageComponent{constructor(a,c,g,f,P,T,L,S){super(a,c,g,P,f,L,S),this.route=a,this.browseService=c,this.dsoService=g,this.router=f,this.paginationService=P,this.cdRef=T,this.appConfig=L,this.dsoNameService=S,this.defaultMetadataKeys=["dc.date.issued"]}ngOnInit(){const a=new b.o("default",b.S.ASC);this.startsWithType=u.C4.date,this.currentPagination$=this.paginationService.getCurrentPagination(this.paginationConfig.id,this.paginationConfig),this.currentSort$=this.paginationService.getCurrentSort(this.paginationConfig.id,a);const c=(0,y.a)([this.route.params,this.route.queryParams]).pipe((0,A.U)(([g,f])=>Object.assign({},g,f)),(0,$.x)((g,f)=>
1g.id===f.id&&g.startsWith===f.startsWith));this.subs.push((0,y.a)([c,this.currentPagination$,this.currentSort$]).subscribe(([g,f,P])=>{const T=g.browseDefinition?g.browseDefinition.metadataKeys:this.defaultMetadataKeys;this.browseId=g.id||this.defaultBrowseId,this.startsWith=+g.startsWith||g.startsWith;const L=(0,h.browseParamsToOptions)(g,f,P,this.browseId,this.fetchThumbnails);this.updatePageWithItems(L,this.value,void 0),this.updateParent(g.scope),this.updateLogo(),this.updateStartsWithOptions(this.browseId,T,g.scope)}))}updateStartsWithOptions(a,c,g){const f=this.browseService.getFirstItemFor(a,g,b.S.ASC),P=this.browseService.getFirstItemFor(a,g,b.S.DESC);this.loading$=(0,y.a)([f,P]).pipe((0,A.U)(([T,L])=>T.isLoading||L.isLoading)),this.subs.push((0,y.a)([f,P]).subscribe(([T,L])=>{let S=this.getLimit(T,c,this.appConfig.browseBy.defaultLowerLimit),F=this.getLimit(L,c,(new Date).getUTCFullYear());const Z=[],ce=5*Math.floor((F-this.appConfig.browseBy.oneYearLimit)/5),pe=10*Math.floor((F-this.appConfig.browseBy.fiveYearLimit)/10);S-=S<=pe?10:S<=ce?5:1;let U=F;for(;U>S;)Z.push(U),U<=pe?U-=10:U<=ce?U-=5:U--;(0,_.UE)(Z)&&(this.startsWithOptions=Z,this.cdRef.detectChanges())}))}getLimit(a,c,g){if((0,_.Uh)(a.payload)){const f=a.payload.firstMetadataValue(c);if((0,_.UE)(f)&&(0,s.qb)(f)){const P=new Date(f);return isNaN(P.getUTCFullYear())?g:P.getUTCFullYear()}return(new Date).getUTCFullYear()}}}return o.\u0275fac=function(a){return new(a||o)(n.\u0275\u0275directiveInject(D.gz),n.\u0275\u0275directiveInject(d.I),n.\u0275\u0275directiveInject(C.D),n.\u0275\u0275directiveInject(D.F0),n.\u0275\u0275directiveInject(R.N),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(e.q),n.\u0275\u0275directiveInject(v._))},o.\u0275cmp=n.\u0275\u0275defineComponent({type:o,selectors:[["ds-browse-by-date-page"]],features:[n.\u0275\u0275InheritDefinitionFeature],decls:11,vars:12,consts:[[1,"container"],[4,"ngVar"],[1,"comcol-page-browse-section"],[1,"browse-by-metadata","w-100"],["class","col-xs-12 w-100",3,"title","parentname","objects$","paginationConfig","sortConfig","type","startsWithOptions","prev","next",4,"ngIf"],[3,"message",4,"ngIf"],[4,"ngIf"],[1,"d-flex","flex-row","border-bottom","mb-4","pb-4"],[1,"comcol-header","mr-auto"],[3,"name"],[3,"logo","alternateText",4,"ngIf"],[3,"content","title"],[3,"content","hasInnerHtml"],[3,"content","hasInnerHtml","title"],[3,"id","contentType"],[3,"logo","alternateText"],[1,"col-xs-12","w-100",3,"title","parentname","objects$","paginationConfig","sortConfig","type","startsWithOptions","prev","next"],[3,"message"],["class","border-top my-5 pt-4",4,"ngIf"],[1,"border-top","my-5","pt-4"]],template:function(a,c){1&a&&(n.\u0275\u0275elementStart(0,"div",0),n.\u0275\u0275template(1,ne,2,1,"ng-container",1),n.\u0275\u0275pipe(2,"async"),n.\u0275\u0275elementStart(3,"section",2)(4,"div",3),n.\u0275\u0275template(5,M,8,30,"ds-browse-by",4),n.\u0275\u0275pipe(6,"async"),n.\u0275\u0275template(7,x,2,3,"ds-themed-loading",5),n.\u0275\u0275pipe(8,"async"),n.\u0275\u0275elementEnd()(),n.\u0275\u0275template(9,m,2,1,"ng-container",1),n.\u0275\u0275pipe(10,"async"),n.\u0275\u0275elementEnd()),2&a&&(n.\u0275\u0275advance(1),n.\u0275\u0275property("ngVar",n.\u0275\u0275pipeBind1(2,4,c.parent$)),n.\u0275\u0275advance(4),n.\u0275\u0275property("ngIf",!n.\u0275\u0275pipeBind1(6,6,c.loading$)),n.\u0275\u0275advance(2),n.\u0275\u0275property("ngIf",n.\u0275\u0275pipeBind1(8,8,c.loading$)),n.\u0275\u0275advance(2),n.\u0275\u0275property("ngVar",n.\u0275\u0275pipeBind1(10,10,c.parent$)))},dependencies:[G.B,V.O5,H.Z,j.g,Q.v,X.U,J.e,k.g,Y.g,z.g,V.Ov,q.X$]}),o})()},84455:(w,E,t)=>{"use strict";t.r(E),t.d(E,{BrowseByPageModule:()=>Be});var h=t(67522),y=t(91179),_=t(45608),d=t(48358),C=t(21160),u=t(10572),R=t(9237),A=t(51223),$=t(8842),b=t(71213),s=t(98678),e=t(96342);let v=(()=>{class r{constructor(i,I,W,O,N){this.dsoService=i,this.translate=I,this.browseDefinitionService=W,this.dsoNameService=O,this.router=N}canActivate(i,I){const W=i.data.title,O=i.params.id||i.queryParams.id||i.data.id;let N;N=(0,_.xI)(i.data.browseDefinition)&&(0,_.Uh)(O)?this.browseDefinitionService.findById(O).pipe((0,u.hC)(),(0,d.U)(ie=>ie.payload)):(0,R.of)(i.data.browseDefinition);const se=i.queryParams.scope,de=i.queryParams.value,le=this.translate.instant(`browse.metadata.${O}`);return N.pipe((0,C.w)(ie=>(0,_.Uh)(ie)?(0,_.Uh)(se)?this.dsoService.findById(se).pipe((0,u.Gp)()).pipe((0,d.U)(fe=>{const ve=this.dsoNameService.getName(fe);return i.data=this.createData(W,O,ie,ve,le,de,i),!0})):(i.data=this.createData(W,O,ie,"",le,de,i),(0,R.of)(!0)):(this.router.navigate([b.y2]),(0,R.of)(!1))))}createData(i,I,W,O,N,se,de){return Object.assign({},de.data,{title:i,id:I,browseDefinition:W,collection:O,field:N,value:(0,_.Uh)(se)?`"${se}"`:""})}}return r.\u0275fac=function(i){return new(i||r)(s.\u0275\u0275inject(y.D),s.\u0275\u0275inject(e.sK),s.\u0275\u0275inject(A.v),s.\u0275\u0275inject($._),s.\u0275\u0275inject(h.F0))},r.\u0275prov=s.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac}),r})();var n=t(96509);let D=(()=>
1{class r{constructor(i,I){this.breadcrumbService=i,this.dataService=I}resolve(i,I){const W=i.queryParams.scope;if((0,_.Uh)(W))return this.dataService.findById(W).pipe((0,u.xw)(),(0,u.xe)(),(0,d.U)(O=>({provider:this.breadcrumbService,key:O,url:(0,b.Y4)(O)})))}}return r.\u0275fac=function(i){return new(i||r)(s.\u0275\u0275inject(n.B),s.\u0275\u0275inject(y.D))},r.\u0275prov=s.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac}),r})();var G=t(76457),V=t(26728);let H=(()=>{class r extends G.t{constructor(i){super(i),this.breadcrumbService=i}resolve(i,I){return i.data=Object.assign({},i.data,{breadcrumbKey:i.data.breadcrumbKey+"."+i.params.id}),super.resolve(i,I)}}return r.\u0275fac=function(i){return new(i||r)(s.\u0275\u0275inject(V.d))},r.\u0275prov=s.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac}),r})();var j=t(4682);function Q(r,p){}const X=["*"];let J=(()=>{class r extends j.F{getComponentName(){return"BrowseBySwitcherComponent"}importThemedComponent(i){return t(12960)(`./${i}/app/browse-by/browse-by-switcher/browse-by-switcher.component`)}importUnthemedComponent(){return t.e(8592).then(t.bind(t,78294))}}return r.\u0275fac=function(){let p;return function(I){return(p||(p=s.\u0275\u0275getInheritedFactory(r)))(I||r)}}(),r.\u0275cmp=s.\u0275\u0275defineComponent({type:r,selectors:[["ds-themed-browse-by-switcher"]],features:[s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:X,decls:5,vars:0,consts:[["vcr",""],["content",""]],template:function(i,I){1&i&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275template(0,Q,0,0,"ng-template",null,0,s.\u0275\u0275templateRefExtractor),s.\u0275\u0275elementStart(2,"div",null,1),s.\u0275\u0275projection(4),s.\u0275\u0275elementEnd())},encapsulation:2}),r})();var k=t(82917);let Y=(()=>{class r{}return r.\u0275fac=function(i){return new(i||r)},r.\u0275mod=s.\u0275\u0275defineNgModule({type:r}),r.\u0275inj=s.\u0275\u0275defineInjector({providers:[H,D],imports:[h.Bz.forChild([{path:"",resolve:{breadcrumb:D,menu:k.M},children:[{path:":id",component:J,canActivate:[v],resolve:{breadcrumb:H},data:{title:"browse.title.page",breadcrumbKey:"browse.metadata"}}]}])]}),r})();var x,z=t(35103),q=t(88615),ee=t(81961),te=t(89198),ne=t(22853),oe=t(47413),K=t(70655),M=t(34364);function ae(r,p){}let m=((x=class extends j.F{getComponentName(){return"BrowseByMetadataPageComponent"}importThemedComponent(p){return t(64818)(`./${p}/app/browse-by/browse-by-metadata-page/browse-by-metadata-page.component`)}importUnthemedComponent(){return Promise.resolve().then(t.bind(t,81961))}}).\u0275fac=function(){let r;return function(i){return(r||(r=s.\u0275\u0275getInheritedFactory(x)))(i||x)}}(),x.\u0275cmp=s.\u0275\u0275defineComponent({type:x,selectors:[["ds-themed-browse-by-metadata-page"]],features:[s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:["*"],decls:5,vars:0,consts:[["vcr",""],["content",""]],template:function(p,i){1&p&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275template(0,ae,0,0,"ng-template",null,0,s.\u0275\u0275templateRefExtractor),s.\u0275\u0275elementStart(2,"div",null,1),s.\u0275\u0275projection(4),s.\u0275\u0275elementEnd())},encapsulation:2}),x);var B;function o(r,p){}m=(0,K.__decorate)([(0,M.du)(M.Zt.Metadata)],m);let a=((B=class extends j.F{getComponentName(){return"BrowseByDatePageComponent"}importThemedComponent(p){return t(10117)(`./${p}/app/browse-by/browse-by-date-page/browse-by-date-page.component`)}importUnthemedComponent(){return Promise.resolve().then(t.bind(t,89198))}}).\u0275fac=function(){let r;return function(i){return(r||(r=s.\u0275\u0275getInheritedFactory(B)))(i||B)}}(),B.\u0275cmp=s.\u0275\u0275defineComponent({type:B,selectors:[["ds-themed-browse-by-metadata-page"]],features:[s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:["*"],decls:5,vars:0,consts:[["vcr",""],["content",""]],template:function(p,i){1&p&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275template(0,o,0,0,"ng-template",null,0,s.\u0275\u0275templateRefExtractor),s.\u0275\u0275elementStart(2,"div",null,1),s.\u0275\u0275projection(4),s.\u0275\u0275elementEnd())},encapsulation:2}),B);var c;function g(r,p){}a=(0,K.__decorate)([(0,M.du)(M.Zt.Date)],a);let P=((c=class extends j.F{getComponentName(){return"BrowseByTitlePageComponent"}importThemedComponent(p){return t(75420)(`./${p}/app/browse-by/browse-by-title-page/browse-by-title-page.component`)}importUnthemedComponent(){return Promise.resolve().then(t.bind(t,88615))}}).\u0275fac=function(){let r;
1return function(i){return(r||(r=s.\u0275\u0275getInheritedFactory(c)))(i||c)}}(),c.\u0275cmp=s.\u0275\u0275defineComponent({type:c,selectors:[["ds-themed-browse-by-title-page"]],features:[s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:["*"],decls:5,vars:0,consts:[["vcr",""],["content",""]],template:function(p,i){1&p&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275template(0,g,0,0,"ng-template",null,0,s.\u0275\u0275templateRefExtractor),s.\u0275\u0275elementStart(2,"div",null,1),s.\u0275\u0275projection(4),s.\u0275\u0275elementEnd())},encapsulation:2}),c);var T;function L(r,p){}P=(0,K.__decorate)([(0,M.du)(M.Zt.Title)],P);let F=((T=class extends j.F{getComponentName(){return"BrowseByTaxonomyPageComponent"}importThemedComponent(p){return t(87799)(`./${p}/app/browse-by/browse-by-taxonomy-page/browse-by-taxonomy-page.component`)}importUnthemedComponent(){return Promise.resolve().then(t.bind(t,22853))}}).\u0275fac=function(){let r;return function(i){return(r||(r=s.\u0275\u0275getInheritedFactory(T)))(i||T)}}(),T.\u0275cmp=s.\u0275\u0275defineComponent({type:T,selectors:[["ds-themed-browse-by-taxonomy-page"]],features:[s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:["*"],decls:5,vars:0,consts:[["vcr",""],["content",""]],template:function(p,i){1&p&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275template(0,L,0,0,"ng-template",null,0,s.\u0275\u0275templateRefExtractor),s.\u0275\u0275elementStart(2,"div",null,1),s.\u0275\u0275projection(4),s.\u0275\u0275elementEnd())},encapsulation:2}),T);F=(0,K.__decorate)([(0,M.du)("hierarchy")],F);var Z=t(78181),ce=t(76814),pe=t(47548);let U=(()=>{class r{}return r.\u0275fac=function(i){return new(i||r)},r.\u0275mod=s.\u0275\u0275defineNgModule({type:r}),r.\u0275inj=s.\u0275\u0275defineInjector({imports:[ce.I,Y,pe.y,z.ez,Z.m,Z.m]}),r})();var me=t(12446),_e=t(50867);const ge=[q.BrowseByTitlePageComponent,ee.BrowseByMetadataPageComponent,te.BrowseByDatePageComponent,ne.BrowseByTaxonomyPageComponent,m,a,P,F];let ye=(()=>{class r{static withEntryComponents(){return{ngModule:U,providers:ge.map(i=>({provide:i}))}}}return r.\u0275fac=function(i){return new(i||r)},r.\u0275mod=s.\u0275\u0275defineNgModule({type:r}),r.\u0275inj=s.\u0275\u0275defineInjector({imports:[U,z.ez,oe.H,me.H,_e.e]}),r})();var he=t(29442),ue=t(83270);let Be=(()=>{class r{}return r.\u0275fac=function(i){return new(i||r)},r.\u0275mod=s.\u0275\u0275defineNgModule({type:r}),r.\u0275inj=s.\u0275\u0275defineInjector({providers:[he.S,ue.I,v],imports:[U,Y,ye.withEntryComponents()]}),r})()},22853:(w,E,t)=>{"use strict";t.r(E),t.d(E,{BrowseByTaxonomyPageComponent:()=>$});var h=t(34364),y=t(48358),_=t(463),d=t(98678),C=t(67522),u=t(23501),R=t(96342);const A=function(){return["/search"]};let $=(()=>{class b{constructor(e,v,n){this.route=e,this.themeService=v,this.getComponentByBrowseByType=n,this.selectedItems=[],this.browseByComponentSubs=[]}ngOnInit(){this.browseByComponent=this.route.data.pipe((0,y.U)(e=>(this.getComponentByBrowseByType(e.browseDefinition.getRenderType(),this.themeService.getThemeName()),e.browseDefinition))),this.browseByComponentSubs.push(this.browseByComponent.subscribe(e=>{this.facetType=e.facetType,this.vocabularyName=e.vocabulary,this.vocabularyOptions={name:this.vocabularyName,closed:!0}}))}onSelect(e){this.selectedItems.push(e),this.filterValues=this.selectedItems.map(v=>`${v.value},equals`),this.updateQueryParams()}onDeselect(e){this.selectedItems=this.selectedItems.filter(v=>v.id!==e.id),this.filterValues=this.filterValues.filter(v=>v!==`${e.value},equals`),this.updateQueryParams()}updateQueryParams(){this.queryParams={["f."+this.facetType]:this.filterValues}}ngOnDestroy(){this.browseByComponentSubs.forEach(e=>e.unsubscribe())}}return b.\u0275fac=function(e){return new(e||b)(d.\u0275\u0275directiveInject(C.gz),d.\u0275\u0275directiveInject(_.fY),d.\u0275\u0275directiveInject(h.t3))},b.\u0275cmp=d.\u0275\u0275defineComponent({type:b,selectors:[["ds-browse-by-taxonomy-page"]],decls:6,vars:9,consts:[[1,"container"],[1,"mb-3"],[3,"vocabularyOptions","multiSelect","select","deselect"],[1,"btn","btn-primary",3,"routerLink","queryParams","queryParamsHandling"]],template:function(e,v){1&e&&(d.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"ds-vocabulary-treeview",2),d.\u0275\u0275listener("select",function(D){return v.onSelect(D)})("deselect",function(D){return v.onDeselect(D)}),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(3,"a",3),d.\u0275\u0275text(4),d.\u0275\u0275pipe(5,"translate"),d.\u0275\u0275elementEnd()()),2&e&&(d.\u0275\u0275advance(2),d.\u0275\u0275property("vocabularyOptions",v.vocabularyOptions)("multiSelect",!0),d.\u0275\u0275advance(1),d.\u0275\u0275property("routerLink",d.\u0275\u0275pureFunction0(8,A))("queryParams",v.queryParams)("queryParamsHandling","merge"),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate1(" ",d.\u0275\u0275pipeBind1(5,6,"browse.taxonomy.button"),""))},dependencies:[C.rH,u.I,R.X$]}),b})()},88615:(w,E,t)=>{"use strict";t.r(E),t.d(E,{BrowseByTitlePageComponent:()=>re});var h=t(53426),y=t(45608),_=t(81961),d=t(91179),C=t(83270),u=t(42281),R=t(62745),A=t(48358),$=t(49887),b=t(16441),s=t(8842),e=t(98678),v=t(67522),n=t(29941),D=t(35103),G=t(87657),V=t(41966),H=t(74487),j=t(22369),Q=t(62832),X=t(10825),J=t(87635),k=t(56080),Y=t(96342);function z(m,B){if(1&m&&(e.\u0275\u0275element(0,"ds-comcol-page-logo",15),e.\u0275\u0275pipe(1,"async")),2&m){const o=e.\u0275\u0275nextContext(3);let l;e.\u0275\u0275property("logo",null==(l=e.\u0275\u0275pipeBind1(1,2,o.logo$))?null:l.payload)("alternateText","Community or Collection Logo")}}function q(m,B){if(1&m&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",7)(2,"header",8),e.\u0275\u0275element(3,"ds-comcol-page-header",9),e.\u0275\u0275template(4,z,2,4,"ds-comcol-page-logo",10),e.\u0275\u0275element(5,"ds-themed-comcol-page-handle",11)(6,"ds-comcol-page-content",12)(7,"ds-comcol-page-content",13),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(8,"ds-dso-edit-menu"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(9,"ds-themed-comcol-page-browse-by",14),e.\u0275\u0275elementContainerEnd()),2&m){const o=B.ngIf,l=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("name",l.dsoNameService.getName(o)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",l.logo$),e.\u0275\u0275advance(1),e.\u0275\u0275property("content",o.handle)("title",o.type+".page.handle"),e.\u0275\u0275advance(1),e.\u0275\u0275property("content",o.introductoryText)("hasInnerHtml",!0),e.\u0275\u0275advance(1),e.\u0275\u0275property("content",o.sidebarText)("hasInnerHtml",!0)("title","community.page.news"),e.\u0275\u0275advance(2),e.\u0275\u0275property("id",o.id
1)("contentType",o.type)}}function ee(m,B){if(1&m&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,q,10,11,"ng-container",6),e.\u0275\u0275elementContainerEnd()),2&m){const o=B.ngVar;e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",null==o?null:o.payload)}}const te=function(m){return{startsWith:m}},ne=function(m,B,o,l){return{collection:m,field:B,startsWith:o,value:l}};function oe(m,B){if(1&m){const o=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ds-browse-by",16),e.\u0275\u0275listener("prev",function(){e.\u0275\u0275restoreView(o);const a=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(a.goPrev())})("next",function(){e.\u0275\u0275restoreView(o);const a=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(a.goNext())}),e.\u0275\u0275pipe(1,"translate"),e.\u0275\u0275pipe(2,"async"),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275pipe(4,"translate"),e.\u0275\u0275pipe(5,"async"),e.\u0275\u0275pipe(6,"async"),e.\u0275\u0275pipe(7,"async"),e.\u0275\u0275elementEnd()}if(2&m){const o=e.\u0275\u0275nextContext();let l,a;e.\u0275\u0275propertyInterpolate("title",e.\u0275\u0275pipeBind2(1,7,"browse.title",e.\u0275\u0275pureFunction4(25,ne,o.dsoNameService.getName(null==(l=e.\u0275\u0275pipeBind1(2,10,o.parent$))?null:l.payload),e.\u0275\u0275pipeBind1(3,12,"browse.metadata."+o.browseId),o.startsWith?e.\u0275\u0275pipeBind2(4,14,"browse.startsWith",e.\u0275\u0275pureFunction1(23,te,'"'+o.startsWith+'"')):"",o.value?'"'+o.value+'"':""))),e.\u0275\u0275propertyInterpolate("parentname",o.dsoNameService.getName(null==(a=e.\u0275\u0275pipeBind1(5,17,o.parent$))?null:a.payload)),e.\u0275\u0275property("objects$",void 0!==o.items$?o.items$:o.browseEntries$)("paginationConfig",e.\u0275\u0275pipeBind1(6,19,o.currentPagination$))("sortConfig",e.\u0275\u0275pipeBind1(7,21,o.currentSort$))("type",o.startsWithType)("startsWithOptions",o.startsWithOptions)}}function K(m,B){1&m&&(e.\u0275\u0275element(0,"ds-themed-loading",17),e.\u0275\u0275pipe(1,"translate")),2&m&&e.\u0275\u0275propertyInterpolate("message",e.\u0275\u0275pipeBind1(1,1,"loading.browse-by-page"))}function M(m,B){if(1&m&&(e.\u0275\u0275elementStart(0,"footer",19)(1,"div"),e.\u0275\u0275element(2,"ds-comcol-page-content",12),e.\u0275\u0275elementEnd()()),2&m){const o=e.\u0275\u0275nextContext().ngIf;e.\u0275\u0275advance(2),e.\u0275\u0275property("content",o.copyrightText)("hasInnerHtml",!0)}}function x(m,B){if(1&m&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,M,3,2,"footer",18),e.\u0275\u0275elementContainerEnd()),2&m){const o=B.ngIf;e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",o.copyrightText)}}function ae(m,B){if(1&m&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,x,2,1,"ng-container",6),e.\u0275\u0275elementContainerEnd()),2&m){const o=B.ngVar;e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",null==o?null:o.payload)}}let re=(()=>{class m extends _.BrowseByMetadataPageComponent{constructor(o,l,a,c,g,f,P){super(o,l,a,c,g,f,P),this.route=o,this.browseService=l,this.dsoService=a,this.paginationService=c,this.router=g,this.appConfig=f,this.dsoNameService=P}ngOnInit(){const o=new u.o("dc.title",u.S.ASC);this.currentPagination$=this.paginationService.getCurrentPagination(this.paginationConfig.id,this.paginationConfig),this.currentSort$=this.paginationService.getCurrentSort(this.paginationConfig.id,o);const l=(0,h.a)([this.route.params,this.route.queryParams]).pipe((0,A.U)(([a,c])=>Object.assign({},a,c)),(0,$.x)((a,c)=>a.id===c.id&&a.startsWith===c.startsWith));this.subs.push((0,h.a)([l,this.currentPagination$,this.currentSort$]).subscribe(([a,c,g])=>{this.startsWith=+a.startsWith||a.startsWith,this.browseId=a.id||this.defaultBrowseId,this.updatePageWithItems((0,_.browseParamsToOptions)(a,c,g,this.browseId,this.fetchThumbnails),void 0,void 0),this.updateParent(a.scope),this.updateLogo()})),this.updateStartsWithTextOptions()}ngOnDestroy(){this.subs.filter(o=>(0,y.Uh)(o)).forEach(o=>o.unsubscribe())}}return m.\u0275fac=function(o){return new(o||m)(e.\u0275\u0275directiveInject(v.gz),e.\u0275\u0275directiveInject(C.I),e.\u0275\u0275directiveInject(d.D),e.\u0275\u0275directiveInject(R.N),e.\u0275\u0275directiveInject(v.F0),e.\u0275\u0275directiveInject(b.q),e.\u0275\u0275directiveInject(s._))},m.\u0275cmp=e.\u0275\u0275defineComponent({type:m,selectors:[["ds-browse-by-title-page"]],features:[e.\u0275\u0275InheritDefinitionFeature],decls:11,vars:12,consts:[[1,"container"],[4,"ngVar"],[1,"comcol-page-browse-section"],[1,"browse-by-metadata","w-100"],["class","col-xs-12 w-100",3,"title","parentname","objects$","paginationConfig","sortConfig","type","startsWithOptions","prev","next",4,"ngIf"],[3,"message",4,"ngIf"],[4,"ngIf"],[1,"d-flex","flex-row","border-bottom","mb-4","pb-4"],[1,"comcol-header","mr-auto"],[3,"name"],[3,"logo","alternateText",4,"ngIf"],[3,"content","title"],[3,"content","hasInnerHtml"],[3,"content","hasInnerHtml","title"],[3,"id","contentType"],[3,"logo","alternateText"],[1,"col-xs-12","w-100",3,"title","parentname","objects$","paginationConfig","sortConfig","type","startsWithOptions","prev","next"],[3,"message"],["class","border-top my-5 pt-4",4,"ngIf"],[1,"border-top","my-5","pt-4"]],template:function(o,l){1&o&&(e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275template(1,ee,2,1,"ng-container",1),e.\u0275\u0275pipe(2,"async"),e.\u0275\u0275elementStart(3,"section",2)(4,"div",3),e.\u0275\u0275template(5,oe,8,30,"ds-browse-by",4),e.\u0275\u0275pipe(6,"async"),e.\u0275\u0275template(7,K,2,3,"ds-themed-loading",5),e.\u0275\u0275pipe(8,"async"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(9,ae,2,1,"ng-container",1),e.\u0275\u0275pipe(10,"async"),e.\u0275\u0275elementEnd()),2&o&&(e.\u0275\u0275advance(1),e.\u0275\u0275property("ngVar",e.\u0275\u0275pipeBind1(2,4,l.parent$)),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",!e.\u0275\u0275pipeBind1(6,6,l.loading$)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(8,8,l.loading$)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngVar",e.\u0275\u0275pipeBind1(10,10,l.parent$)))},dependencies:[n.B,D.O5,G.Z,V.g,H.v,j.U,Q.e,X.g,J.g,k.g,D.Ov,Y.X$]}),m})()},10117:(w,E,t)=>{var h={"./custom/app/browse-by/browse-by-date-page/browse-by-date-page.component":[56927,6927]};function y(_){if(!t.o(h,_))return Promise.resolve().then(()=>{var u=new Error("Cannot find module '"+_+"'");throw u.code="MODULE_NOT_FOUND",u});var d=h[_],C=d[0];return t.e(d[1]).then(()=>t(C))}y.keys=()=>Object.keys(h),y.id=10117,w.exports=y},64818:(w,E,t)=>{var h={"./custom/app/browse-by/browse-by-metadata-page/browse-by-metadata-page.component":[78675,8675]};function y(_){if(!t.o(h,_))return Promise.resolve().then(()=>{var u=new Error("Cannot find module '"+_+"'");throw u.code="MODULE_NOT_FOUND",u});var d=h[_],C=d[0];return t.e(d[1]).then(()=>t(C))}y.keys=()=>Object.keys(h),y.id=64818,w.exports=y},12960:(w,E,t)=>{var h={"./custom/app/browse-by/browse-by-switcher/browse-by-switcher.component":[72335,8592,2335]};function y(_){if(!t.o(h,_))return Promise.resolve().then(()=>{var u=new Error("Cannot find module '"+_+"'");throw u.code="MODULE_NOT_FOUND",u});var d=h[_],C=d[0];return Promise.all(d.slice(1).map(t.e)).then(()=>t(C))}y.keys=()=>Object.keys(h),y.id=12960,w.exports=y},87799:(w,E,t)=>{var h={"./custom/app/browse-by/browse-by-taxonomy-page/browse-by-taxonomy-page.component":[79015,9015]};function y(_){if(!t.o(h,_))return Promise.resolve().then(()=>{var u=new Error("Cannot find module '"+_+"'");throw u.code="MODULE_NOT_FOUND",u});var d=h[_],C=d[0];return t.e(d[1]).then(()=>t(C))}y.keys=()=>Object.keys(h),y.id=87799,w.exports=y},75420:(w,E,t)=>{var h={"./custom/app/browse-by/browse-by-title-page/browse-by-title-page.component":[86948,6948]};function y(_){if(!t.o(h,_))return Promise.resolve().then(()=>{var u=new Error("Cannot find module '"+_+"'");throw u.code="MODULE_NOT_FOUND",u});var d=h[_],C=d[0];return t.e(d[1]).then(()=>t(C))}y.keys=()=>Object.keys(h),y.id=75420,w.exports=y}}]);
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.