UNPKG

@braze/web-sdk

Version:

Braze SDK for web sites and other JS platforms.

28 lines (27 loc) 617 B
import { rehydrateDateAfterJsonization as Q } from "../util/date-utils.js"; export default class ti { constructor(t, i, s, l, h) { (this.endpoint = t), (this._o = i), (this.publicKey = s), (this.hc = l), (this.xl = h), (this.endpoint = t || null), (this._o = i || null), (this.publicKey = s || null), (this.hc = l || null), (this.xl = h || null); } dt() { return { e: this.endpoint, c: this._o, p: this.publicKey, u: this.hc, v: this.xl, }; } static Vo(t) { return new ti(t.e, Q(t.c), t.p, t.u, t.v); } }