1"use strict";(self.webpackChunkdspace_angular=self.webpackChunkdspace_angular||[]).push([[1783],{81783:(T,E,a)=>{a.r(E),a.d(E,{VersionDataService:()=>B});var e=a(983),D=a(25558),O=a(96354),d=a(82777),P=a(67600),c=a(72734),M=a(41684),v=a(4910),i=a(80183),l=a(63897),K=a(87158),I=a(37419),C=a(32473),_=a(54438);let B=(()=>{class r extends l.W{constructor(t,s,o,h,n){super("versions",t,s,o,h),this.requestService=t,this.rdbService=s,this.objectCache=o,this.halService=h,this.comparator=n,this.patchData=new K.n(this.linkPath,t,s,o,h,n,this.responseMsToLive,this.constructIdEndpoint)}getHistoryFromVersion(t,s=!1,o=!0){return(0,d.hj)(t)?this.findById(t.id,s,o,(0,P.s)("versionhistory")).pipe((0,i.ak)(),(0,D.n)(h=>h.versionhistory),(0,i.ak)()):e.w}getHistoryIdFromVersion(t){return this.getHistoryFromVersion(t).pipe((0,O.T)(s=>s.id))}patch(t,s){return this.patchData.patch(t,s)}update(t){return this.patchData.update(t)}commitUpdates(t){this.patchData.commitUpdates(t)}createPatchFromCache(t){return this.patchData.createPatchFromCache(t)}static{this.\u0275fac=function(s){return new(s||r)(_.KVO(C.B),_.KVO(c.o),_.KVO(M.$),_.KVO(v.Y),_.KVO(I.Y))}}static{this.\u0275prov=_.jDH({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})()}}]);
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.