1import{b as E}from"./chunk-QCTL2AKM.js";import{a as A,b as O,c as S,d as y}from"./chunk-II6D6R4F.js";import{a as l,d as C,g as M}from"./chunk-3CT3TUBY.js";import"./chunk-WJXZEEHI.js";import"./chunk-J3ZWUWM7.js";import"./chunk-QAMCV7RW.js";import{B as f,I as d,Ib as m,Ja as u,P as g,ec as v,jb as h}from"./chunk-HVIIKB3M.js";import{Ea as c,Fa as r,Ja as i,S as p,gc as n}from"./chunk-XJU45MUC.js";import{a,b as s}from"./chunk-2BAXZMGZ.js";var I=(()=>{class e{constructor(){this.http=i(g),this.converter=i(m),this.opfEndpointsService=i(S),this.config=i(C),this.opfMetadataStatePersistanceService=i(M),this.logger=i(h),this.headerWithNoLanguage={accept:"application/json","Content-Type":"application/json"},this.header=s(a({},this.headerWithNoLanguage),{"Accept-Language":this.opfMetadataStatePersistanceService.getActiveLanguage()}),this.headerWithContentLanguage=s(a({},this.headerWithNoLanguage),{"Content-Language":this.opfMetadataStatePersistanceService.getActiveLanguage()})}getActiveConfigurations(o){let t=new d(this.header).set(l,this.config.opf?.commerceCloudPublicKey||"");return this.http.get(this.getActiveConfigurationsEndpoint(o),{headers:t}).pipe(p(N=>{throw v(N,this.logger)}),this.converter.pipeable(y))}getActiveConfigurationsEndpoint(o){return this.opfEndpointsService.buildUrl("getActiveConfigurations",{queryParams:o})}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275prov=c({token:e,factory:e.\u0275fac})}}return e})(),P={backend:{opfApi:{endpoints:{getActiveConfigurations:"active-configurations"}}}},L=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275mod=n({type:e})}static{this.\u0275inj=r({providers:[u(P),{provide:A,useClass:I}],imports:[f]})}}return e})();var q=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275mod=n({type:e})}static{this.\u0275inj=r({imports:[L,O,E]})}}return e})();export{q as OpfBaseModule};
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.