1import{a as f}from"./chunk-TPDW35KC.js";import{K as o,ba as r,d,na as u,od as h,p as l,sa as c,td as m,v as p,va as g}from"./chunk-ZIECK5QA.js";var i={basesite:f.basesites?"basesites?fields=DEFAULT":"basesite?fields=FULL",currentsite:"currentsite?fields=FULL",siteConfig:"configs",basicDeliveryBase:"/delivery",deliveryWarningCartGroup:"delivery/warning",modifyCartGroupPostalCode:"/users/${userId}/carts/${cartId}/cartgroups/${cartGroupId}/postalcode/${postalCode}?fields=FULL",modifyCartGroupDeliveryAddress:"/users/${userId}/carts/${cartId}/cartgroups/${cartGroupId}/addresses/delivery?fields=FULL",modifyCartGroupItemDeliveryAddress:"/users/${userId}/carts/${cartId}/entry/${entryNumber}/addresses/delivery/${addressId}?fields=FULL",fullDeliveryBase:"/users/${userId}/carts/${cartId}/delivery",wishlist:"/wishlist",metadata:"/metadata/${pageId}",expireCookies:"/cookies/expire",session:"/session",guestCreditCardApply:"/saveMember",logout:"/logout",login:"/login",authServerLogin:"/authorizationserver/oauth/token",accLogin:"/j_spring_security_check",sessionBootstrap:"/session-bootstrap"};var x=(()=>{let t=class t{constructor(e){this.http=e,this.globalSession$=new d(null)}loadSession(){return this.http.get(i.session,{observe:"response"}).pipe(p(e=>e),u(e=>{this.globalSession$.next(e.body)}),o(e=>{let s={};return this.globalSession$.next(s),l(s)}))}setSession(e){this.globalSession$.next(e)}getGlobalSession(){return this.globalSession$}getSession(){return this.getGlobalSession().pipe(r("session"))}getSessionAddress(){return this.getSession().pipe(r("delivery-address"))}getSessionPostalCode(){return this.getSession().pipe(r("postalCode"))}getSessionOAuth(){return this.getGlobalSession().pipe(r("oauth"))}getSessionMessages(){return this.getGlobalSession().pipe(r("messages"))}getCCBinProfiled(){return this.getGlobalSession().pipe(r("ccBinProfiled"))}closeSession(){return this.http.post(i.logout,null,{observe:"response",responseType:"text"}).pipe(o((e,s)=>(console.error("Could not log out the SIP session: ",e),s)))}loadSessionBootstrap(e,s,b){let y=new h({Authorization:`Bearer ${e}`});return this.http.post(i.sessionBootstrap,{},{headers:y,params:{j_remember_me:String(s),privateDevice:b}}).pipe(p(a=>a),o(a=>l(a)))}};t.\u0275fac=function(s){return new(s||t)(g(m))},t.\u0275prov=c({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();export{i as a,x 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.