PageSourceSearch

https://hou.la/chunk-EIK7DVHS.js

js hou.la collected 2026-10-02 15:58:18 UTC 2,849 bytes, 1 lines download raw bytes

1import{b}from"./chunk-NWGSPYFI.js";import{a as g}from"./chunk-S2LG7ZZI.js";import{h as d}from"./chunk-32B64V2R.js";import{h as p}from"./chunk-KAJMKXZ6.js";import{Ba as l,Z as i,da as s,f as u,p as c}from"./chunk-NTTV6FWH.js";import{g as a}from"./chunk-W7GRJBO5.js";var m={purchased:!1,sendGift:!1,newBalance:null},h=class n{login=s(d);authPrompt=s(g);chunks=s(b);request=l(null);credited$=new u;resolvers=[];open(){return a(this,arguments,function*(e={}){return!this.login.isLoggedIn&&!(yield this.authPrompt.requestLogin())?m:(yield this.ensureTexts(),this.settle(m),new Promise(t=>{this.resolvers.push(t),this.request.set({options:e,resumeSessionId:null})}))})}resume(e){return a(this,null,function*(){this.login.isLoggedIn&&(yield this.ensureTexts(),this.request.set({options:{},resumeSessionId:e}))})}close(e){this.request.set(null),e.purchased&&this.credited$.next(e.newBalance),this.settle(e)}settle(e){let t=this.resolvers;this.resolvers=[];for(let r of t)r(e)}ensureTexts(){return a(this,null,function*(){try{yield c(this.chunks.ensure("pages"))}catch{}})}static \u0275fac=function(t){return new(t||n)};static \u0275prov=i({token:n,factory:n.\u0275fac,providedIn:"root"})};var f=class n{http=s(p);starsBase="/api/stars";coinsBase="/api/coins";getStarBalance(){return this.http.get(`${this.starsBase}/balance`)}getStarPayoutEligibility(){return this.http.get(`${this.starsBase}/payout-eligibility`)}requestStarPayout(e){return this.http.post(`${this.starsBase}/payout`,{starAmount:e})}getStarPayouts(e=1,t=20){return this.http.get(`${this.starsBase}/payouts`,{params:{page:String(e),limit:String(t)}})}getFiscalInfo(){return this.http.get(`${this.starsBase}/fiscal-info`)}updateFiscalInfo(e){return this.http.put(`${this.starsBase}/fiscal-info`,e)}getStripeConnectStatus(){return this.http.get(`${this.starsBase}/creator-connect/status`)}createStripeConnectLink(){return this.http.post(`${this.starsBase}/creator-connect/onboard`,{source:"web"})}createStripeDashboardLink(){return this.http.post(`${this.starsBase}/creator-connect/dashboard-link`,{})}getCoinBalance(){return this.http.get(`${this.coinsBase}/balance`)}getCoinTransactions(e=1,t=20,r){let o={page:String(e),limit:String(t)};return r&&(o.kind=r),this.http.get(`${this.coinsBase}/transactions`,{params:o})}getGiftSeries(e,t){return this.http.get(`${this.coinsBase}/gift-series`,{params:{direction:e,days:String(t)}})}getCoinPacks(){return this.http.get(`${this.coinsBase}/packs`)}createEmbeddedCoinCheckout(e,t){return this.http.post(`${this.coinsBase}/create-checkout-session`,{productId:e,returnUrl:t,uiMode:"embedded"})}getCoinCheckoutStatus(e){return this.http.get(`${this.coinsBase}/checkout-session/${encodeURIComponent(e)}/status`)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=i({token:n,factory:n.\u0275fac,providedIn:"root"})};export{h as a,f 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.