PageSourceSearch

https://www.costco.com.mx/spartacus/assets/chunk-72NNURAX.js

js costco.com.mx collected 2026-09-24 17:43:13 UTC 3,052 bytes, 1 lines download raw bytes

1import{a as f,b as H,c as S,d as j,e as y}from"./chunk-ZOCN6U4I.js";import{$f as T,Da as I,K as n,Ke as L,bf as h,df as g,if as N,me as C,nd as d,od as l,pf as p,sa as v,sd as b,ta as R,v as P,va as E,wa as U}from"./chunk-ADQO3XXX.js";import{a}from"./chunk-3JMZ37NM.js";var A={backend:{occ:{endpoints:{userRegister:"users",userForgotPassword:"forgottenpasswordtokens",userResetPassword:"resetpassword",userUpdateLoginId:"users/${userId}/login",userUpdatePassword:"users/${userId}/password",titles:"titles"}}}},D={"Content-Type":"application/json"},w={"Content-Type":"application/x-www-form-urlencoded"},O=(()=>{let o=class o{constructor(e,t,s){this.http=e,this.occEndpoints=t,this.converter=s,this.logger=U(L)}update(e,t){let s=this.occEndpoints.isConfigured("userUpdateProfile")?"userUpdateProfile":"user",r=this.occEndpoints.buildUrl(s,{urlParams:{userId:e}});return t=this.converter.convert(t,H),this.http.patch(r,t).pipe(n(i=>{throw p(i,this.logger)}))}register(e){let t=this.occEndpoints.buildUrl("userRegister"),s=new d(a({},D));return s=g.createHeader(h,!0,s),e=this.converter.convert(e,S),this.http.post(t,e,{headers:s}).pipe(n(r=>{throw p(r,this.logger)}),this.converter.pipeable(f))}registerGuest(e,t){let s=this.occEndpoints.buildUrl("userRegister"),r=new d(a({},w));r=g.createHeader(h,!0,r);let i=new l().set("guid",e).set("password",t);return this.http.post(s,i,{headers:r}).pipe(n(u=>{throw p(u,this.logger)}),this.converter.pipeable(f))}requestForgotPasswordEmail(e){let t=this.occEndpoints.buildUrl("userForgotPassword"),s=new l().set("userId",e),r=new d(a({},w));return r=g.createHeader(h,!0,r),this.http.post(t,s,{headers:r}).pipe(n(i=>{throw p(i,this.logger)}))}resetPassword(e,t){let s=this.occEndpoints.buildUrl("userResetPassword"),r=new d(a({},D));return r=g.createHeader(h,!0,r),this.http.post(s,{token:e,newPassword:t},{headers:r}).pipe(n(i=>{throw p(i,this.logger)}))}updateEmail(e,t,s){let r=this.occEndpoints.buildUrl("userUpdateLoginId",{urlParams:{userId:e}}),i=new l().set("password",t).set("newLogin",s),u=new d(a({},w));return this.http.put(r,i,{headers:u}).pipe(n(m=>{throw p(m,this.logger)}))}updatePassword(e,t,s){let r=this.occEndpoints.buildUrl("userUpdatePassword",{urlParams:{userId:e}}),i=new l().set("old",t).set("new",s),u=new d(a({},w));return this.http.put(r,i,{headers:u}).pipe(n(m=>{throw p(m,this.logger)}))}close(e){let t=this.occEndpoints.isConfigured("userCloseAccount")?"userCloseAccount":"user",s=this.occEndpoints.buildUrl(t,{urlParams:{userId:e}});return this.http.delete(s).pipe(n(r=>{throw p(r,this.logger)}))}loadTitles(){let e=this.occEndpoints.buildUrl("titles");return this.http.get(e).pipe(n(t=>{throw p(t,this.logger)}),P(t=>t.titles??[]),this.converter.pipeableMany(j))}};o.\u0275fac=function(t){return new(t||o)(E(b),E(N),E(T))},o.\u0275prov=v({token:o,factory:o.\u0275fac});let c=o;return c})(),z=(()=>{let o=class o{};o.\u0275fac=function(t){return new(t||o)}
1,o.\u0275mod=I({type:o}),o.\u0275inj=R({providers:[C(A),{provide:y,useClass:O}]});let c=o;return c})();export{O as a,z as b};

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.