PageSourceSearch

https://hoam.ai/chunk-CFUJEHUI.js

js hoam.ai collected 2026-10-05 14:38:34 UTC 1,958 bytes, 1 lines download raw bytes

1import{a as f}from"./chunk-BNUGB6JR.js";import{C as p}from"./chunk-U7WLW3GH.js";import{F as d,S as u,_c as m,ca as y,ha as c,l as o,m as r,p as s,z as l,za as i}from"./chunk-5SMI74O3.js";var n=["messaging","email_inbox","physical_mail","events","bulletin_board","newsletter","vendor_comms","platform_billing","roster_min","financials","payments_assessments","documents","maintenance","board_portal","owners_properties","vendors_full","bank_statements","compliance","insurance","governance","admin_settings","directory","surveys","ai_performance"],b=["messaging","email_inbox","physical_mail","events","bulletin_board","newsletter","vendor_comms","platform_billing","roster_min","directory","surveys","board_portal"],_=class t{http=c(p);_modules=i(n);_profile=i(void 0);_features=i([]);_servicingNotice=i(void 0);_hydrated=i(!1);modules=this._modules.asReadonly();profile=this._profile.asReadonly();features=this._features.asReadonly();hydrated=this._hydrated.asReadonly();servicingNotice=this._servicingNotice.asReadonly();isCommunicationsOnly=m(()=>this._profile()==="communications_only");async hydrate(){let e=await s(this.http.get(`${f.apiUrl}/tenants/capabilities`).pipe(u({count:1,delay:a=>a?.status>=500?l(500):r(()=>a)}),d(()=>o({}))));this.applyPayload(e)}applyPayload(e){this._profile.set(e.capabilityProfile),this._modules.set(h(e)),this._features.set([...e.enabledFeatures??[]]),this._servicingNotice.set(e.servicingNotice||void 0),this._hydrated.set(!0)}reset(){this._profile.set(void 0),this._servicingNotice.set(void 0),this._modules.set(n),this._features.set([]),this._hydrated.set(!1)}has=e=>this._modules().includes(e);hasFeature=e=>this._features().includes(e);static \u0275fac=function(a){return new(a||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})};function h(t){return t.enabledModules&&t.enabledModules.length>0?[...t.enabledModules]:t.capabilityProfile==="communications_only"?[...b]:[...n]}export{_ as a};

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.