1import{a as b}from"./chunk-QZYD6EK3.js";import{a as u,e as p}from"./chunk-4KC5VZEM.js";import{B as a,Mc as l,O as r,U as i,Z as s,j as n,oa as g}from"./chunk-MEWEEZGC.js";var c=class t{http=s(p);baseUrl=`${b.apiUrl}/api/booking-fees`;TOKEN_KEY="vitena_access_token";status=g(null);isEnabled=l(()=>this.status()?.enabled===!0);headers(){return new u({Authorization:`Bearer ${localStorage.getItem(this.TOKEN_KEY)}`,"Content-Type":"application/json"})}loadStatus(){return this.http.get(`${this.baseUrl}/status`,{headers:this.headers()}).pipe(r(e=>this.status.set(e)),a(()=>n(null)))}getOverview(){return this.http.get(`${this.baseUrl}/overview`,{headers:this.headers()}).pipe(r(e=>this.status.set(e.status)))}getPanelQuota(){return this.http.get(`${this.baseUrl}/panel-quota`,{headers:this.headers()})}getLedger(e=1,o=20){return this.http.get(`${this.baseUrl}/ledger?page=${e}&pageSize=${o}`,{headers:this.headers()})}acceptTerms(){return this.http.post(`${this.baseUrl}/accept-terms`,{},{headers:this.headers()}).pipe(r(e=>this.status.set(e)))}static \u0275fac=function(o){return new(o||t)};static \u0275prov=i({token:t,factory:t.\u0275fac,providedIn:"root"})};function y(t,e){return`${e==="TRY"?"\u20BA":"\u20AC"}${t.toFixed(2)}`}export{c as a,y as b}; 2/**i18n:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855*/
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.