var a = Object.defineProperty;
var h = (i, t, n) => t in i ? a(i, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : i[t] = n;
var s = (i, t, n) => h(i, typeof t != "symbol" ? t + "" : t, n);
const e = class e {
  constructor() {
    s(this, "token");
    s(this, "host");
    s(this, "locationId");
    s(this, "widgetId");
  }
  static getInstance() {
    return e.instance || (e.instance = new e()), e.instance;
  }
  set({
    token: t,
    locationId: n,
    host: o,
    widgetId: c
  }) {
    this.token = t, this.host = o, this.locationId = n, this.widgetId || (this.widgetId = c);
  }
  get() {
    const {
      token: t,
      host: n,
      locationId: o,
      widgetId: c
    } = this;
    return {
      token: t,
      host: n,
      locationId: o,
      widgetId: c
    };
  }
};
s(e, "instance");
let d = e;
export {
  d as PublicWidgetData
};
