import{c as r}from"./chunk-Z5BNBYBS.js";import{k as m}from"./chunk-LUW5RRY5.js";import{h as l}from"./chunk-SAGV4YDN.js";import{Ba as c,Ma as u,O as a,Ra as n,la as p}from"./chunk-NRAZ4AKM.js";var C=(()=>{let t=class t{static getAuthUrl(e){return`${r.getAuthUrl()}?target_url=${encodeURIComponent(e)}`}static getCreateUserUrl(e){return`${r.getCreateUserUrl()}?target_url=${encodeURIComponent(e)}`}constructor(e,o){this.httpClient=e,this.router=o}getAuthUrlToCurrentPage(){return this.router.events.pipe(a(()=>t.getAuthUrl(document.location.href))).pipe(c(t.getAuthUrl(document.location.href))).pipe(p())}getEShopMe(){return this.httpClient.get(`${r.getIdentityUrl()}`,{withCredentials:!0})}};t.\u0275fac=function(o){return new(o||t)(n(l),n(m))},t.\u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();export{C as a};