PageSourceSearch

https://biblioteca.inia.cl/4256.59d8bd96ab5775be.js

js inia.cl collected 2026-10-02 03:00:49 UTC 9,108 bytes, 1 lines download raw bytes

1(self.webpackChunkdspace_angular=self.webpackChunkdspace_angular||[]).push([[4256,7047],{57047:(F,h,e)=>{"use strict";e.r(h),e.d(h,{FileSectionComponent:()=>U});var f=e(72200),g=e(68018),C=e(84412),l=e(79096),P=e(43446),M=e(4266),v=(e(15862),e(4093)),u=e(89777),D=e(96044),t=e(15202),O=e(72862),I=e(9847),x=e(81829),b=e(4600),L=e(50186),R=e(2615),n=e(73664);function S(a,r){1&a&&(n.j41(0,"span",7),n.EFF(1),n.nI1(2,"translate"),n.k0s()),2&a&&(n.R7$(),n.JRh(n.bMT(2,1,"item.page.bitstreams.primary")))}function A(a,r){if(1&a&&n.nrm(0,"span",9),2&a){const c=n.XpG(4);n.Y8G("innerHTML",n.mNQ(c.separator),n.npT)}}function i(a,r){if(1&a&&(n.j41(0,"ds-file-download-link",3)(1,"span"),n.nVh(2,S,3,3,"span",7),n.nrm(3,"i",8),n.EFF(4),n.k0s(),n.j41(5,"span"),n.EFF(6),n.nI1(7,"dsFileSize"),n.k0s(),n.nVh(8,A,1,2,"span",9),n.k0s()),2&a){const c=r.$implicit,o=r.$index,m=r.$count,T=n.XpG(3);n.Y8G("bitstream",c)("item",T.item),n.R7$(2),n.vxM(T.primaryBitstreamId===c.id?2:-1),n.R7$(2),n.SpI(" ",T.dsoNameService.getName(c)," "),n.R7$(2),n.SpI(" (",n.bMT(7,6,null==c?null:c.sizeBytes),")"),n.R7$(2),n.vxM(o!==m-1?8:-1)}}function s(a,r){1&a&&(n.nrm(0,"ds-loading",4),n.nI1(1,"translate")),2&a&&n.Y8G("message",n.mNQ(n.bMT(1,3,"loading.default")))("showMessage",!1)}function _(a,r){if(1&a){const c=n.RV6();n.j41(0,"div",5)(1,"button",10),n.bIt("click",function(){R.eBV(c);const m=n.XpG(3);return R.Njj(m.getNextPage())}),n.EFF(2),n.nI1(3,"translate"),n.k0s()()}2&a&&(n.R7$(2),n.JRh(n.bMT(3,1,"item.page.bitstreams.view-more")))}function d(a,r){if(1&a){const c=n.RV6();n.j41(0,"div",6)(1,"button",11),n.bIt("click",function(){R.eBV(c);const m=n.XpG(3);return m.currentPage=void 0,R.Njj(m.getNextPage())}),n.EFF(2),n.nI1(3,"translate"),n.k0s()()}2&a&&(n.R7$(2),n.JRh(n.bMT(3,1,"item.page.bitstreams.collapse")))}function p(a,r){if(1&a&&(n.j41(0,"ds-metadata-field-wrapper",1),n.nI1(1,"translate"),n.j41(2,"div",2),n.Z7z(3,i,9,8,"ds-file-download-link",3,n.fX1),n.nVh(5,s,2,5,"ds-loading",4),n.nVh(6,_,4,3,"div",5),n.nVh(7,d,4,3,"div",6),n.k0s()()),2&a){const c=n.XpG().ngVar,o=n.XpG();n.Y8G("label",n.bMT(1,4,o.label)),n.R7$(3),n.Dyx(c),n.R7$(2),n.vxM(o.isLoading?5:-1),n.R7$(),n.vxM(o.isLastPage?-1:6),n.R7$(),n.vxM(o.isLastPage&&1!==o.currentPage?7:-1)}}function E(a,r){if(1&a&&(n.qex(0),n.nVh(1,p,8,6,"ds-metadata-field-wrapper",1),n.bVm()),2&a){const c=r.ngVar;n.R7$(),n.vxM((null==c?null:c.length)>0?1:-1)}}let U=(()=>{var a;class r{constructor(o,m,T,$,y){this.bitstreamDataService=o,this.notificationsService=m,this.translateService=T,this.dsoNameService=$,this.appConfig=y,this.label="item.page.files",this.separator="<br/>",this.pageSize=this.appConfig.item.bitstream.pageSize}ngOnInit(){this.getPrimaryBitstreamId(),this.getNextPage()}getPrimaryBitstreamId(){this.bitstreamDataService.findPrimaryBitstreamByItemAndName(this.item,"ORIGINAL",!0,!0).subscribe(o=>{o&&(this.primaryBitstreamId=o?.id)})}getNextPage(){this.isLoading=!0,void 0===this.currentPage?(this.currentPage=1,this.bitstreams$=new C.t([])):this.currentPage++,this.bitstreamDataService.findAllByItemAndBundleName(this.item,"ORIGINAL",{currentPage:this.currentPage,elementsPerPage:this.pageSize},!0,!0,(0,b.s)("accessStatus")).pipe((0,v.qD)()).subscribe(o=>{if(o.errorMessage)this.notificationsService.error(this.translateService.get("file-section.error.header"),`${o.statusCode} ${o.errorMessage}`);else if((0,u.a4)(o.payload)){const m=this.bitstreams$.getValue();this.bitstreams$.next([...m,...o.payload.page]),this.isLoading=!1,this.isLastPage=this.currentPage===o.payload.totalPages}})}static#t=a=()=>(this.\u0275fac=function(m){return new(m||r)(n.rXU(M.BitstreamDataService),n.rXU(I.I),n.rXU(g.c$),n.rXU(P.f),n.rXU(l.vQ))},this.\u0275cmp=n.VBU({type:r,selectors:[["ds-base-item-page-file-section"]],inputs:{item:"item"},decls:2,vars:3,consts:[[4,"ngVar"],[3,"label"],[1,"file-section"],[3,"bitstream","item"],[3,"message","showMessage"],["id","view-more",1,"mt-1"],["id","collapse",1,"mt-1"],[1,"badge","bg-primary"],["aria-hidden","true",1,"fa-solid","fa-file","file-section-icon"],[3,"innerHTML"],[1,"bitstream-view-more","btn","btn-outline-secondary","btn-sm",3,"click"],[1,"bitstream-collapse","btn","btn-outline-secondary","btn-sm",3,"click"]],template:function(m,T){1&m&&(n.DNE(0,E,2,1,"ng-container",0),n.nI1(1,"async")),2&m&&n.Y8G("ngVar",n.bMT(1,1,T.bitstreams$))},dependencies:[f.MD,O.Q,D.z,t.v,g.h,L.r,f.Jj,x.s,g.D9],encapsulation:2}))}return a(),r})()},64256:(F,h,e)=>{"use strict";e.r(h),e.d(h,{FileSectionComponent:()=>A});var f=e(72200),g=e(68018),C=e(57047),l=e(13957),P=e(96044),M=e(15202),B=e(72862),v=e(81829),u=e(50186),D=e(2615
1),t=e(73664);function O(i,s){1&i&&(t.j41(0,"span",7),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&i&&(t.R7$(),t.JRh(t.bMT(2,1,"item.page.bitstreams.primary")))}function I(i,s){if(1&i&&t.nrm(0,"span",9),2&i){const _=t.XpG(4);t.Y8G("innerHTML",t.mNQ(_.separator),t.npT)}}function x(i,s){if(1&i&&(t.j41(0,"ds-file-download-link",3)(1,"span"),t.nVh(2,O,3,3,"span",7),t.nrm(3,"i",8),t.EFF(4),t.k0s(),t.j41(5,"span"),t.EFF(6),t.nI1(7,"dsFileSize"),t.k0s(),t.nVh(8,I,1,2,"span",9),t.k0s()),2&i){const _=s.$implicit,d=s.$index,p=s.$count,E=t.XpG(3);t.Y8G("bitstream",_)("item",E.item),t.R7$(2),t.vxM(E.primaryBitstreamId===_.id?2:-1),t.R7$(2),t.SpI(" ",E.dsoNameService.getName(_)," "),t.R7$(2),t.SpI(" (",t.bMT(7,6,null==_?null:_.sizeBytes),")"),t.R7$(2),t.vxM(d!==p-1?8:-1)}}function b(i,s){1&i&&(t.nrm(0,"ds-loading",4),t.nI1(1,"translate")),2&i&&t.Y8G("message",t.mNQ(t.bMT(1,3,"loading.default")))("showMessage",!1)}function L(i,s){if(1&i){const _=t.RV6();t.j41(0,"div",5)(1,"button",10),t.bIt("click",function(){D.eBV(_);const p=t.XpG(3);return D.Njj(p.getNextPage())}),t.EFF(2),t.nI1(3,"translate"),t.k0s()()}2&i&&(t.R7$(2),t.JRh(t.bMT(3,1,"item.page.bitstreams.view-more")))}function R(i,s){if(1&i){const _=t.RV6();t.j41(0,"div",6)(1,"button",11),t.bIt("click",function(){D.eBV(_);const p=t.XpG(3);return p.currentPage=void 0,D.Njj(p.getNextPage())}),t.EFF(2),t.nI1(3,"translate"),t.k0s()()}2&i&&(t.R7$(2),t.JRh(t.bMT(3,1,"item.page.bitstreams.collapse")))}function n(i,s){if(1&i&&(t.j41(0,"ds-metadata-field-wrapper",1),t.nI1(1,"translate"),t.j41(2,"div",2),t.Z7z(3,x,9,8,"ds-file-download-link",3,t.fX1),t.nVh(5,b,2,5,"ds-loading",4),t.nVh(6,L,4,3,"div",5),t.nVh(7,R,4,3,"div",6),t.k0s()()),2&i){const _=t.XpG().ngVar,d=t.XpG();t.Y8G("label",t.bMT(1,4,d.label)),t.R7$(3),t.Dyx(_),t.R7$(2),t.vxM(d.isLoading?5:-1),t.R7$(),t.vxM(d.isLastPage?-1:6),t.R7$(),t.vxM(d.isLastPage&&1!==d.currentPage?7:-1)}}function S(i,s){if(1&i&&(t.qex(0),t.nVh(1,n,8,6,"ds-metadata-field-wrapper",1),t.bVm()),2&i){const _=s.ngVar;t.R7$(),t.vxM((null==_?null:_.length)>0?1:-1)}}let A=(()=>{var i;class s extends C.FileSectionComponent{static#t=i=()=>(this.\u0275fac=(()=>{let d;return function(E){return(d||(d=t.xGo(s)))(E||s)}})(),this.\u0275cmp=t.VBU({type:s,selectors:[["ds-themed-item-page-file-section"]],features:[t.Vt3],decls:2,vars:3,consts:[[4,"ngVar"],[3,"label"],[1,"file-section"],[3,"bitstream","item"],[3,"message","showMessage"],["id","view-more",1,"mt-1"],["id","collapse",1,"mt-1"],[1,"badge","bg-primary"],["aria-hidden","true",1,"fa-solid","fa-file","file-section-icon"],[3,"innerHTML"],[1,"bitstream-view-more","btn","btn-outline-secondary","btn-sm",3,"click"],[1,"bitstream-collapse","btn","btn-outline-secondary","btn-sm",3,"click"]],template:function(p,E){1&p&&(t.DNE(0,S,2,1,"ng-container",0),t.nI1(1,"async")),2&p&&t.Y8G("ngVar",t.bMT(1,1,E.bitstreams$))},dependencies:[f.MD,B.Q,P.z,M.v,g.h,u.r,f.Jj,v.s,g.D9],encapsulation:2,data:{animation:[l.tr]}}))}return i(),s})()},72834:(F,h,e)=>
1{var f={"./custom/app/shared/file-download-link/file-download-link.component":[63871,2076,3871]};function g(C){if(!e.o(f,C))return Promise.resolve().then(()=>{var M=new Error("Cannot find module '"+C+"'");throw M.code="MODULE_NOT_FOUND",M});var l=f[C],P=l[0];return Promise.all(l.slice(1).map(e.e)).then(()=>e(P))}g.keys=()=>Object.keys(f),g.id=72834,F.exports=g},96044:(F,h,e)=>{"use strict";e.d(h,{z:()=>B}),e(21832),e(15862);var C=e(29710),l=e(73664);const P=["*"];function M(v,u){}let B=(()=>{var v;class u extends C.J{constructor(){super(...arguments),this.inAndOutputNames=["bitstream","item","cssClasses","isBlank","enableRequestACopy","showAccessStatusBadge","showIcon"]}getComponentName(){return"FileDownloadLinkComponent"}importThemedComponent(t){return e(72834)(`./${t}/app/shared/file-download-link/file-download-link.component`)}importUnthemedComponent(){return e.e(2076).then(e.bind(e,23378))}static#t=v=()=>(this.\u0275fac=(()=>{let t;return function(I){return(t||(t=l.xGo(u)))(I||u)}})(),this.\u0275cmp=l.VBU({type:u,selectors:[["ds-file-download-link"]],inputs:{bitstream:"bitstream",item:"item",cssClasses:"cssClasse
1s",isBlank:"isBlank",enableRequestACopy:"enableRequestACopy",showAccessStatusBadge:"showAccessStatusBadge",showIcon:"showIcon"},features:[l.Vt3],ngContentSelectors:P,decls:5,vars:0,consts:[["vcr",""],["content",""]],template:function(O,I){1&O&&(l.NAR(),l.PeT(0,M,0,0,"ng-template",null,0,l.C5r),l.rj2(2,"div",null,1),l.SdG(4),l.eux())},encapsulation:2}))}return v(),u})()}}]);

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.