PageSourceSearch

https://www.costco.is/spartacus/assets/chunk-FBSK2SV2.js

js costco.is collected 2026-10-02 19:14:57 UTC 1,431 bytes, 1 lines download raw bytes

1import{a as D}from"./chunk-QSJABKNM.js";import{Y as m,d as a,eg as T,ka as h,mg as f,nf as v,sa as p,td as u,v as g,wa as i}from"./chunk-ZIECK5QA.js";import{a as d,b as l}from"./chunk-3JMZ37NM.js";var E=(()=>{let e=class e{constructor(){this.occEndpointsService=i(v),this.userIdService=i(D),this.http=i(u),this.converter=i(T),this._trackingDetails$=new a(null),this.trackingDetails$=this._trackingDetails$.asObservable(),this._loading$=new a(!1),this.loading$=this._loading$.asObservable()}getTrackingDetails(){return this.trackingDetails$}setTrackingDetails(t){this._trackingDetails$.next(t)}getLoading(){return this.loading$}setLoading(t){this._loading$.next(t)}loadTrackingDetails(t={}){return this.setLoading(!0),this.userIdService.takeUserId().pipe(h(n=>{let k=this.occEndpointsService.buildUrl("trackingDetails",{urlParams:{userId:n},queryParams:{trackingToken:t.trackingToken,orderCode:t.orderCode,consignmentCode:t.consignmentCode}});return this.http.get(k).pipe(g(s=>l(d({},s),{productDetails:this.converter.convert(s.productDetails,f),eventsList:[...s.eventsList].sort((o,c)=>{let C=o.eventTimeUTC?new Date(o.eventTimeUTC).getTime():new Date().getTime(),$=c.eventTimeUTC?new Date(c.eventTimeUTC).getTime():new Date().getTime();return C-$})})))}),m(()=>{this.setLoading(!1)}))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=p({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();export{E as 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.