@cling-se/widget 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env +4 -4
- package/dist/{DocFormSend.58fbdade.js → DocFormSend.8754868e.js} +6 -6
- package/dist/{DocSendReminder.610e6f1b.js → DocSendReminder.d98e3f1e.js} +16 -14
- package/dist/DocTimeline.281a4dbc.js +379 -0
- package/dist/{index.c2181b71.js → index.0064b913.js} +1 -1
- package/dist/{index.ed2c5306.js → index.03eb849d.js} +1 -1
- package/dist/{index.5e93a4a4.js → index.06ae19a2.js} +1 -1
- package/dist/{index.7c5aed5b.js → index.0b00c821.js} +1 -1
- package/dist/{index.c934c6af.js → index.0b0db0bd.js} +1 -1
- package/dist/{index.291b2b54.js → index.0bc608d5.js} +1 -1
- package/dist/{index.1c92d26c.js → index.0c336ba9.js} +1 -1
- package/dist/{index.fbc2bf20.js → index.0ceaa718.js} +1 -1
- package/dist/{index.764b658e.js → index.0ef1a3a6.js} +1 -1
- package/dist/{index.83910d3f.js → index.1503d863.js} +1 -1
- package/dist/{index.dc39016c.js → index.15ee0ab9.js} +1 -1
- package/dist/{index.b4904461.js → index.168c2bce.js} +1 -1
- package/dist/{index.27304047.js → index.16902632.js} +1 -1
- package/dist/{index.bf3d1093.js → index.18701043.js} +1 -1
- package/dist/{index.0c6034f0.js → index.198d78b9.js} +1 -1
- package/dist/{index.218b46ae.js → index.1b27357e.js} +1 -1
- package/dist/{index.b6512901.js → index.1bc3c82c.js} +1 -1
- package/dist/{index.0372fc9a.js → index.1cca6025.js} +1 -1
- package/dist/{index.ce8801e2.js → index.2026e05c.js} +1 -1
- package/dist/{index.e19eaf33.js → index.222039f9.js} +1 -1
- package/dist/{index.dfe76608.js → index.23a35b9b.js} +1 -1
- package/dist/{index.c627b669.js → index.2942b429.js} +1 -1
- package/dist/{index.98af6e12.js → index.298a69f1.js} +1 -1
- package/dist/{index.57976804.js → index.2c359b4e.js} +1 -1
- package/dist/{index.a9441e00.js → index.2d941184.js} +1 -1
- package/dist/{index.a3b03275.js → index.2db71959.js} +1 -1
- package/dist/{index.0df3b27e.js → index.31152a7a.js} +1 -1
- package/dist/{index.1d4d1b78.js → index.311ffa7e.js} +1 -1
- package/dist/{index.7619605a.js → index.32733310.js} +1 -1
- package/dist/{index.7062d55c.js → index.3c067fea.js} +1 -1
- package/dist/{index.90a87d9e.js → index.3fcd5701.js} +1 -1
- package/dist/{index.4dbcd770.js → index.47d10a37.js} +1 -1
- package/dist/{index.135b006c.js → index.49976861.js} +1 -1
- package/dist/{index.571dd412.js → index.5087f7bd.js} +1 -1
- package/dist/{index.4eb9c363.js → index.54e2a93d.js} +2 -2
- package/dist/{index.4f04d830.js → index.572141f4.js} +1 -1
- package/dist/{index.7081acc5.js → index.6158b0ab.js} +1 -1
- package/dist/{index.3ae42b88.js → index.66cfda66.js} +1 -1
- package/dist/{index.9d868f2c.js → index.67e7120b.js} +1 -1
- package/dist/{index.05656554.js → index.694a50c1.js} +2 -2
- package/dist/{index.25db5309.js → index.6b196f79.js} +1 -1
- package/dist/{index.54aa5bdb.js → index.6fbbcdb3.js} +1 -1
- package/dist/{index.95cbc7d1.js → index.741c5144.js} +1 -1
- package/dist/{index.1e40747d.js → index.7a83617c.js} +1 -1
- package/dist/{index.dd9fd6fa.js → index.7b414677.js} +1 -1
- package/dist/{index.59de1b2c.js → index.8163ec67.js} +1 -1
- package/dist/{index.1f0b252d.js → index.825ca275.js} +1 -1
- package/dist/{index.64fdd79b.js → index.849ab6fa.js} +1 -1
- package/dist/{index.be109e22.js → index.87a7d282.js} +1 -1
- package/dist/{index.3ede3ed9.js → index.89b15e9c.js} +1 -1
- package/dist/{index.b51268b0.js → index.89edadab.js} +1 -1
- package/dist/{index.d320459d.js → index.8d78ff09.js} +1 -1
- package/dist/{index.48e6f73c.js → index.91647e7b.js} +1 -1
- package/dist/{index.ea966a9a.js → index.91b4b4e5.js} +1 -1
- package/dist/{index.d5ad6009.js → index.91b9ac70.js} +1 -1
- package/dist/{index.66e76ef5.js → index.947cc7ce.js} +1 -1
- package/dist/{index.1936f911.js → index.98d98c90.js} +1 -1
- package/dist/{index.021aea9f.js → index.9a09d960.js} +1 -1
- package/dist/{index.272e7245.js → index.9b893c04.js} +1 -1
- package/dist/{index.a4cc2ffa.js → index.9c1acbbd.js} +1 -1
- package/dist/{index.22b2af79.js → index.9fb3d656.js} +1 -1
- package/dist/{index.e3826d57.js → index.9fd80be0.js} +1 -1
- package/dist/{index.6d854739.js → index.a3323069.js} +1 -1
- package/dist/{index.510b34a1.js → index.aa84e0d9.js} +1 -1
- package/dist/{index.266a6ace.js → index.add715bd.js} +1 -1
- package/dist/{index.c498538e.js → index.b08b5876.js} +1 -1
- package/dist/{index.d380d13d.js → index.b3a86349.js} +1 -1
- package/dist/{index.a9a2afee.js → index.b5842b70.js} +1 -1
- package/dist/{index.39e24331.js → index.b658adad.js} +1 -1
- package/dist/{index.5b3f29b6.js → index.b71f00b5.js} +1 -1
- package/dist/{index.7b93c6da.js → index.b8750637.js} +1 -1
- package/dist/{index.31d7f14e.js → index.b995f365.js} +1 -1
- package/dist/{index.d6b1b629.js → index.ba4f216e.js} +1 -1
- package/dist/{index.ba3dcf3b.js → index.bee408a6.js} +1 -1
- package/dist/{index.1595ef27.js → index.bf274622.js} +1 -1
- package/dist/{index.4eba4a7d.js → index.bfdd7ce8.js} +1 -1
- package/dist/{index.8bd24899.js → index.c8b68fb4.js} +1 -1
- package/dist/{index.1c5c3e44.js → index.cbebf0b5.js} +1 -1
- package/dist/{index.ed474d79.js → index.cedea761.js} +1 -1
- package/dist/{index.f678de56.js → index.d3fb286b.js} +2 -2
- package/dist/{index.faf3d6eb.js → index.d6936050.js} +1 -1
- package/dist/{index.f0d4aeb1.js → index.d7e2ee42.js} +1 -1
- package/dist/{index.4ff3dace.js → index.d97cba81.js} +1 -1
- package/dist/{index.4ac3b55d.js → index.e1de722f.js} +1 -1
- package/dist/{index.63b5f71b.js → index.e216613c.js} +1 -1
- package/dist/{index.e70d1ec3.js → index.e70ace17.js} +1 -1
- package/dist/{index.0e4c0d69.js → index.ead78f64.js} +1 -1
- package/dist/{index.a0f17a47.js → index.ef37b57d.js} +1 -1
- package/dist/index.es.js +3 -3
- package/dist/{index.b724afce.js → index.f9398aeb.js} +1 -1
- package/dist/{index.fae17bfe.js → index.fbf51f38.js} +1 -1
- package/dist/{index.df9d0f0b.js → index.fd6131ed.js} +1 -1
- package/dist/{index.37c3cfdc.js → index.fe1fd10f.js} +1 -1
- package/dist/{index.604f9a4f.js → index.fe69dc7a.js} +1 -1
- package/dist/{index.08d12aab.js → index.ffd56116.js} +1 -1
- package/dist/index.umd.js +60 -60
- package/dist/init.1c637e98.js +570 -0
- package/dist/{main.65f1b3e9.js → main.837b42e2.js} +3597 -3552
- package/package.json +1 -1
- package/stats.html +1 -1
- package/dist/init.b422c2c8.js +0 -570
package/dist/init.b422c2c8.js
DELETED
|
@@ -1,570 +0,0 @@
|
|
|
1
|
-
var L = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
2
|
-
function wa(_) {
|
|
3
|
-
return _ && _.__esModule && Object.prototype.hasOwnProperty.call(_, "default") ? _.default : _;
|
|
4
|
-
}
|
|
5
|
-
function Fa(_) {
|
|
6
|
-
var t = _.default;
|
|
7
|
-
if (typeof t == "function") {
|
|
8
|
-
var e = function() {
|
|
9
|
-
return t.apply(this, arguments);
|
|
10
|
-
};
|
|
11
|
-
e.prototype = t.prototype;
|
|
12
|
-
} else
|
|
13
|
-
e = {};
|
|
14
|
-
return Object.defineProperty(e, "__esModule", { value: !0 }), Object.keys(_).forEach(function(a) {
|
|
15
|
-
var E = Object.getOwnPropertyDescriptor(_, a);
|
|
16
|
-
Object.defineProperty(e, a, E.get ? E : {
|
|
17
|
-
enumerable: !0,
|
|
18
|
-
get: function() {
|
|
19
|
-
return _[a];
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
}), e;
|
|
23
|
-
}
|
|
24
|
-
var Q = typeof L == "object" && L && L.Object === Object && L, q = Q, X = q, J = typeof self == "object" && self && self.Object === Object && self, __ = X || J || Function("return this")(), h = __, t_ = h, e_ = t_.Symbol, u = e_, b = u, H = Object.prototype, a_ = H.hasOwnProperty, E_ = H.toString, o = b ? b.toStringTag : void 0;
|
|
25
|
-
function r_(_) {
|
|
26
|
-
var t = a_.call(_, o), e = _[o];
|
|
27
|
-
try {
|
|
28
|
-
_[o] = void 0;
|
|
29
|
-
var a = !0;
|
|
30
|
-
} catch {
|
|
31
|
-
}
|
|
32
|
-
var E = E_.call(_);
|
|
33
|
-
return a && (t ? _[o] = e : delete _[o]), E;
|
|
34
|
-
}
|
|
35
|
-
var n_ = r_, i_ = Object.prototype, P_ = i_.toString;
|
|
36
|
-
function s_(_) {
|
|
37
|
-
return P_.call(_);
|
|
38
|
-
}
|
|
39
|
-
var I_ = s_, G = u, T_ = n_, p_ = I_, A_ = "[object Null]", o_ = "[object Undefined]", U = G ? G.toStringTag : void 0;
|
|
40
|
-
function c_(_) {
|
|
41
|
-
return _ == null ? _ === void 0 ? o_ : A_ : U && U in Object(_) ? T_(_) : p_(_);
|
|
42
|
-
}
|
|
43
|
-
var k = c_;
|
|
44
|
-
function L_(_) {
|
|
45
|
-
var t = typeof _;
|
|
46
|
-
return _ != null && (t == "object" || t == "function");
|
|
47
|
-
}
|
|
48
|
-
var B = L_, l_ = k, V_ = B, f_ = "[object AsyncFunction]", d_ = "[object Function]", O_ = "[object GeneratorFunction]", R_ = "[object Proxy]";
|
|
49
|
-
function g_(_) {
|
|
50
|
-
if (!V_(_))
|
|
51
|
-
return !1;
|
|
52
|
-
var t = l_(_);
|
|
53
|
-
return t == d_ || t == O_ || t == f_ || t == R_;
|
|
54
|
-
}
|
|
55
|
-
var S_ = g_, h_ = h, u_ = h_["__core-js_shared__"], B_ = u_, O = B_, y = function() {
|
|
56
|
-
var _ = /[^.]+$/.exec(O && O.keys && O.keys.IE_PROTO || "");
|
|
57
|
-
return _ ? "Symbol(src)_1." + _ : "";
|
|
58
|
-
}();
|
|
59
|
-
function v_(_) {
|
|
60
|
-
return !!y && y in _;
|
|
61
|
-
}
|
|
62
|
-
var N_ = v_, C_ = Function.prototype, D_ = C_.toString;
|
|
63
|
-
function b_(_) {
|
|
64
|
-
if (_ != null) {
|
|
65
|
-
try {
|
|
66
|
-
return D_.call(_);
|
|
67
|
-
} catch {
|
|
68
|
-
}
|
|
69
|
-
try {
|
|
70
|
-
return _ + "";
|
|
71
|
-
} catch {
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
return "";
|
|
75
|
-
}
|
|
76
|
-
var G_ = b_, U_ = S_, y_ = N_, m_ = B, K_ = G_, $_ = /[\\^$.*+?()[\]{}|]/g, W_ = /^\[object .+?Constructor\]$/, Y_ = Function.prototype, M_ = Object.prototype, j_ = Y_.toString, w_ = M_.hasOwnProperty, F_ = RegExp(
|
|
77
|
-
"^" + j_.call(w_).replace($_, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
78
|
-
);
|
|
79
|
-
function H_(_) {
|
|
80
|
-
if (!m_(_) || y_(_))
|
|
81
|
-
return !1;
|
|
82
|
-
var t = U_(_) ? F_ : W_;
|
|
83
|
-
return t.test(K_(_));
|
|
84
|
-
}
|
|
85
|
-
var k_ = H_;
|
|
86
|
-
function z_(_, t) {
|
|
87
|
-
return _ == null ? void 0 : _[t];
|
|
88
|
-
}
|
|
89
|
-
var x_ = z_, Z_ = k_, Q_ = x_;
|
|
90
|
-
function q_(_, t) {
|
|
91
|
-
var e = Q_(_, t);
|
|
92
|
-
return Z_(e) ? e : void 0;
|
|
93
|
-
}
|
|
94
|
-
var v = q_, X_ = v, J_ = function() {
|
|
95
|
-
try {
|
|
96
|
-
var _ = X_(Object, "defineProperty");
|
|
97
|
-
return _({}, "", {}), _;
|
|
98
|
-
} catch {
|
|
99
|
-
}
|
|
100
|
-
}(), _t = J_, m = _t;
|
|
101
|
-
function tt(_, t, e) {
|
|
102
|
-
t == "__proto__" && m ? m(_, t, {
|
|
103
|
-
configurable: !0,
|
|
104
|
-
enumerable: !0,
|
|
105
|
-
value: e,
|
|
106
|
-
writable: !0
|
|
107
|
-
}) : _[t] = e;
|
|
108
|
-
}
|
|
109
|
-
var et = tt;
|
|
110
|
-
function at(_, t) {
|
|
111
|
-
return _ === t || _ !== _ && t !== t;
|
|
112
|
-
}
|
|
113
|
-
var z = at, Et = et, rt = z, nt = Object.prototype, it = nt.hasOwnProperty;
|
|
114
|
-
function Pt(_, t, e) {
|
|
115
|
-
var a = _[t];
|
|
116
|
-
(!(it.call(_, t) && rt(a, e)) || e === void 0 && !(t in _)) && Et(_, t, e);
|
|
117
|
-
}
|
|
118
|
-
var st = Pt, It = Array.isArray, N = It;
|
|
119
|
-
function Tt(_) {
|
|
120
|
-
return _ != null && typeof _ == "object";
|
|
121
|
-
}
|
|
122
|
-
var pt = Tt, At = k, ot = pt, ct = "[object Symbol]";
|
|
123
|
-
function Lt(_) {
|
|
124
|
-
return typeof _ == "symbol" || ot(_) && At(_) == ct;
|
|
125
|
-
}
|
|
126
|
-
var C = Lt, lt = N, Vt = C, ft = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, dt = /^\w*$/;
|
|
127
|
-
function Ot(_, t) {
|
|
128
|
-
if (lt(_))
|
|
129
|
-
return !1;
|
|
130
|
-
var e = typeof _;
|
|
131
|
-
return e == "number" || e == "symbol" || e == "boolean" || _ == null || Vt(_) ? !0 : dt.test(_) || !ft.test(_) || t != null && _ in Object(t);
|
|
132
|
-
}
|
|
133
|
-
var Rt = Ot, gt = v, St = gt(Object, "create"), V = St, K = V;
|
|
134
|
-
function ht() {
|
|
135
|
-
this.__data__ = K ? K(null) : {}, this.size = 0;
|
|
136
|
-
}
|
|
137
|
-
var ut = ht;
|
|
138
|
-
function Bt(_) {
|
|
139
|
-
var t = this.has(_) && delete this.__data__[_];
|
|
140
|
-
return this.size -= t ? 1 : 0, t;
|
|
141
|
-
}
|
|
142
|
-
var vt = Bt, Nt = V, Ct = "__lodash_hash_undefined__", Dt = Object.prototype, bt = Dt.hasOwnProperty;
|
|
143
|
-
function Gt(_) {
|
|
144
|
-
var t = this.__data__;
|
|
145
|
-
if (Nt) {
|
|
146
|
-
var e = t[_];
|
|
147
|
-
return e === Ct ? void 0 : e;
|
|
148
|
-
}
|
|
149
|
-
return bt.call(t, _) ? t[_] : void 0;
|
|
150
|
-
}
|
|
151
|
-
var Ut = Gt, yt = V, mt = Object.prototype, Kt = mt.hasOwnProperty;
|
|
152
|
-
function $t(_) {
|
|
153
|
-
var t = this.__data__;
|
|
154
|
-
return yt ? t[_] !== void 0 : Kt.call(t, _);
|
|
155
|
-
}
|
|
156
|
-
var Wt = $t, Yt = V, Mt = "__lodash_hash_undefined__";
|
|
157
|
-
function jt(_, t) {
|
|
158
|
-
var e = this.__data__;
|
|
159
|
-
return this.size += this.has(_) ? 0 : 1, e[_] = Yt && t === void 0 ? Mt : t, this;
|
|
160
|
-
}
|
|
161
|
-
var wt = jt, Ft = ut, Ht = vt, kt = Ut, zt = Wt, xt = wt;
|
|
162
|
-
function s(_) {
|
|
163
|
-
var t = -1, e = _ == null ? 0 : _.length;
|
|
164
|
-
for (this.clear(); ++t < e; ) {
|
|
165
|
-
var a = _[t];
|
|
166
|
-
this.set(a[0], a[1]);
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
s.prototype.clear = Ft;
|
|
170
|
-
s.prototype.delete = Ht;
|
|
171
|
-
s.prototype.get = kt;
|
|
172
|
-
s.prototype.has = zt;
|
|
173
|
-
s.prototype.set = xt;
|
|
174
|
-
var Zt = s;
|
|
175
|
-
function Qt() {
|
|
176
|
-
this.__data__ = [], this.size = 0;
|
|
177
|
-
}
|
|
178
|
-
var qt = Qt, Xt = z;
|
|
179
|
-
function Jt(_, t) {
|
|
180
|
-
for (var e = _.length; e--; )
|
|
181
|
-
if (Xt(_[e][0], t))
|
|
182
|
-
return e;
|
|
183
|
-
return -1;
|
|
184
|
-
}
|
|
185
|
-
var f = Jt, _e = f, te = Array.prototype, ee = te.splice;
|
|
186
|
-
function ae(_) {
|
|
187
|
-
var t = this.__data__, e = _e(t, _);
|
|
188
|
-
if (e < 0)
|
|
189
|
-
return !1;
|
|
190
|
-
var a = t.length - 1;
|
|
191
|
-
return e == a ? t.pop() : ee.call(t, e, 1), --this.size, !0;
|
|
192
|
-
}
|
|
193
|
-
var Ee = ae, re = f;
|
|
194
|
-
function ne(_) {
|
|
195
|
-
var t = this.__data__, e = re(t, _);
|
|
196
|
-
return e < 0 ? void 0 : t[e][1];
|
|
197
|
-
}
|
|
198
|
-
var ie = ne, Pe = f;
|
|
199
|
-
function se(_) {
|
|
200
|
-
return Pe(this.__data__, _) > -1;
|
|
201
|
-
}
|
|
202
|
-
var Ie = se, Te = f;
|
|
203
|
-
function pe(_, t) {
|
|
204
|
-
var e = this.__data__, a = Te(e, _);
|
|
205
|
-
return a < 0 ? (++this.size, e.push([_, t])) : e[a][1] = t, this;
|
|
206
|
-
}
|
|
207
|
-
var Ae = pe, oe = qt, ce = Ee, Le = ie, le = Ie, Ve = Ae;
|
|
208
|
-
function I(_) {
|
|
209
|
-
var t = -1, e = _ == null ? 0 : _.length;
|
|
210
|
-
for (this.clear(); ++t < e; ) {
|
|
211
|
-
var a = _[t];
|
|
212
|
-
this.set(a[0], a[1]);
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
I.prototype.clear = oe;
|
|
216
|
-
I.prototype.delete = ce;
|
|
217
|
-
I.prototype.get = Le;
|
|
218
|
-
I.prototype.has = le;
|
|
219
|
-
I.prototype.set = Ve;
|
|
220
|
-
var fe = I, de = v, Oe = h, Re = de(Oe, "Map"), ge = Re, $ = Zt, Se = fe, he = ge;
|
|
221
|
-
function ue() {
|
|
222
|
-
this.size = 0, this.__data__ = {
|
|
223
|
-
hash: new $(),
|
|
224
|
-
map: new (he || Se)(),
|
|
225
|
-
string: new $()
|
|
226
|
-
};
|
|
227
|
-
}
|
|
228
|
-
var Be = ue;
|
|
229
|
-
function ve(_) {
|
|
230
|
-
var t = typeof _;
|
|
231
|
-
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? _ !== "__proto__" : _ === null;
|
|
232
|
-
}
|
|
233
|
-
var Ne = ve, Ce = Ne;
|
|
234
|
-
function De(_, t) {
|
|
235
|
-
var e = _.__data__;
|
|
236
|
-
return Ce(t) ? e[typeof t == "string" ? "string" : "hash"] : e.map;
|
|
237
|
-
}
|
|
238
|
-
var d = De, be = d;
|
|
239
|
-
function Ge(_) {
|
|
240
|
-
var t = be(this, _).delete(_);
|
|
241
|
-
return this.size -= t ? 1 : 0, t;
|
|
242
|
-
}
|
|
243
|
-
var Ue = Ge, ye = d;
|
|
244
|
-
function me(_) {
|
|
245
|
-
return ye(this, _).get(_);
|
|
246
|
-
}
|
|
247
|
-
var Ke = me, $e = d;
|
|
248
|
-
function We(_) {
|
|
249
|
-
return $e(this, _).has(_);
|
|
250
|
-
}
|
|
251
|
-
var Ye = We, Me = d;
|
|
252
|
-
function je(_, t) {
|
|
253
|
-
var e = Me(this, _), a = e.size;
|
|
254
|
-
return e.set(_, t), this.size += e.size == a ? 0 : 1, this;
|
|
255
|
-
}
|
|
256
|
-
var we = je, Fe = Be, He = Ue, ke = Ke, ze = Ye, xe = we;
|
|
257
|
-
function T(_) {
|
|
258
|
-
var t = -1, e = _ == null ? 0 : _.length;
|
|
259
|
-
for (this.clear(); ++t < e; ) {
|
|
260
|
-
var a = _[t];
|
|
261
|
-
this.set(a[0], a[1]);
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
T.prototype.clear = Fe;
|
|
265
|
-
T.prototype.delete = He;
|
|
266
|
-
T.prototype.get = ke;
|
|
267
|
-
T.prototype.has = ze;
|
|
268
|
-
T.prototype.set = xe;
|
|
269
|
-
var Ze = T, x = Ze, Qe = "Expected a function";
|
|
270
|
-
function D(_, t) {
|
|
271
|
-
if (typeof _ != "function" || t != null && typeof t != "function")
|
|
272
|
-
throw new TypeError(Qe);
|
|
273
|
-
var e = function() {
|
|
274
|
-
var a = arguments, E = t ? t.apply(this, a) : a[0], n = e.cache;
|
|
275
|
-
if (n.has(E))
|
|
276
|
-
return n.get(E);
|
|
277
|
-
var p = _.apply(this, a);
|
|
278
|
-
return e.cache = n.set(E, p) || n, p;
|
|
279
|
-
};
|
|
280
|
-
return e.cache = new (D.Cache || x)(), e;
|
|
281
|
-
}
|
|
282
|
-
D.Cache = x;
|
|
283
|
-
var qe = D, Xe = qe, Je = 500;
|
|
284
|
-
function _a(_) {
|
|
285
|
-
var t = Xe(_, function(a) {
|
|
286
|
-
return e.size === Je && e.clear(), a;
|
|
287
|
-
}), e = t.cache;
|
|
288
|
-
return t;
|
|
289
|
-
}
|
|
290
|
-
var ta = _a, ea = ta, aa = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Ea = /\\(\\)?/g, ra = ea(function(_) {
|
|
291
|
-
var t = [];
|
|
292
|
-
return _.charCodeAt(0) === 46 && t.push(""), _.replace(aa, function(e, a, E, n) {
|
|
293
|
-
t.push(E ? n.replace(Ea, "$1") : a || e);
|
|
294
|
-
}), t;
|
|
295
|
-
}), na = ra;
|
|
296
|
-
function ia(_, t) {
|
|
297
|
-
for (var e = -1, a = _ == null ? 0 : _.length, E = Array(a); ++e < a; )
|
|
298
|
-
E[e] = t(_[e], e, _);
|
|
299
|
-
return E;
|
|
300
|
-
}
|
|
301
|
-
var Pa = ia, W = u, sa = Pa, Ia = N, Ta = C, pa = 1 / 0, Y = W ? W.prototype : void 0, M = Y ? Y.toString : void 0;
|
|
302
|
-
function Z(_) {
|
|
303
|
-
if (typeof _ == "string")
|
|
304
|
-
return _;
|
|
305
|
-
if (Ia(_))
|
|
306
|
-
return sa(_, Z) + "";
|
|
307
|
-
if (Ta(_))
|
|
308
|
-
return M ? M.call(_) : "";
|
|
309
|
-
var t = _ + "";
|
|
310
|
-
return t == "0" && 1 / _ == -pa ? "-0" : t;
|
|
311
|
-
}
|
|
312
|
-
var Aa = Z, oa = Aa;
|
|
313
|
-
function ca(_) {
|
|
314
|
-
return _ == null ? "" : oa(_);
|
|
315
|
-
}
|
|
316
|
-
var La = ca, la = N, Va = Rt, fa = na, da = La;
|
|
317
|
-
function Oa(_, t) {
|
|
318
|
-
return la(_) ? _ : Va(_, t) ? [_] : fa(da(_));
|
|
319
|
-
}
|
|
320
|
-
var Ra = Oa, ga = 9007199254740991, Sa = /^(?:0|[1-9]\d*)$/;
|
|
321
|
-
function ha(_, t) {
|
|
322
|
-
var e = typeof _;
|
|
323
|
-
return t = t == null ? ga : t, !!t && (e == "number" || e != "symbol" && Sa.test(_)) && _ > -1 && _ % 1 == 0 && _ < t;
|
|
324
|
-
}
|
|
325
|
-
var ua = ha, Ba = C, va = 1 / 0;
|
|
326
|
-
function Na(_) {
|
|
327
|
-
if (typeof _ == "string" || Ba(_))
|
|
328
|
-
return _;
|
|
329
|
-
var t = _ + "";
|
|
330
|
-
return t == "0" && 1 / _ == -va ? "-0" : t;
|
|
331
|
-
}
|
|
332
|
-
var Ca = Na, Da = st, ba = Ra, Ga = ua, j = B, Ua = Ca;
|
|
333
|
-
function ya(_, t, e, a) {
|
|
334
|
-
if (!j(_))
|
|
335
|
-
return _;
|
|
336
|
-
t = ba(t, _);
|
|
337
|
-
for (var E = -1, n = t.length, p = n - 1, r = _; r != null && ++E < n; ) {
|
|
338
|
-
var i = Ua(t[E]), P = e;
|
|
339
|
-
if (E != p) {
|
|
340
|
-
var A = r[i];
|
|
341
|
-
P = a ? a(A, i, r) : void 0, P === void 0 && (P = j(A) ? A : Ga(t[E + 1]) ? [] : {});
|
|
342
|
-
}
|
|
343
|
-
Da(r, i, P), r = r[i];
|
|
344
|
-
}
|
|
345
|
-
return _;
|
|
346
|
-
}
|
|
347
|
-
var ma = ya, Ka = ma;
|
|
348
|
-
function $a(_, t, e) {
|
|
349
|
-
return _ == null ? _ : Ka(_, t, e);
|
|
350
|
-
}
|
|
351
|
-
var Wa = $a;
|
|
352
|
-
const l = !1, Ya = {
|
|
353
|
-
environment: {
|
|
354
|
-
format: "String",
|
|
355
|
-
env: "production"
|
|
356
|
-
},
|
|
357
|
-
baseUrl: {
|
|
358
|
-
format: "String",
|
|
359
|
-
default: "http://localhost:8080",
|
|
360
|
-
env: "https://app.cling.se"
|
|
361
|
-
},
|
|
362
|
-
showAdminSettings: {
|
|
363
|
-
format: "Boolean",
|
|
364
|
-
default: l,
|
|
365
|
-
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_ADMIN_SETTINGS
|
|
366
|
-
},
|
|
367
|
-
debug: {
|
|
368
|
-
format: "Boolean",
|
|
369
|
-
default: l,
|
|
370
|
-
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_DEBUG
|
|
371
|
-
},
|
|
372
|
-
checkAppUpdates: {
|
|
373
|
-
format: "Boolean",
|
|
374
|
-
default: !l,
|
|
375
|
-
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_CHECK_APP_UPDATES
|
|
376
|
-
},
|
|
377
|
-
logLevel: {
|
|
378
|
-
format: "Number",
|
|
379
|
-
default: 1,
|
|
380
|
-
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_LOG_LEVEL
|
|
381
|
-
},
|
|
382
|
-
showSendEmails: {
|
|
383
|
-
format: "Boolean",
|
|
384
|
-
default: l,
|
|
385
|
-
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_SHOW_SEND_EMAILS
|
|
386
|
-
},
|
|
387
|
-
api: {
|
|
388
|
-
baseUrl: {
|
|
389
|
-
format: "String",
|
|
390
|
-
default: "https://api.dev.cling.se",
|
|
391
|
-
env: "https://api.cling.se"
|
|
392
|
-
},
|
|
393
|
-
socket: {
|
|
394
|
-
rootUrl: {
|
|
395
|
-
format: "String",
|
|
396
|
-
default: "https://api.dev.cling.se",
|
|
397
|
-
env: "https://api.cling.se"
|
|
398
|
-
},
|
|
399
|
-
path: {
|
|
400
|
-
format: "String",
|
|
401
|
-
default: "/socket.io",
|
|
402
|
-
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_CLINGAPI_SOCKET_PATH
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
},
|
|
406
|
-
crisp: {
|
|
407
|
-
id: {
|
|
408
|
-
format: "String",
|
|
409
|
-
default: "d3ff5782-881e-4354-a910-7c5216f37739",
|
|
410
|
-
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_CRISP_APP_ID
|
|
411
|
-
}
|
|
412
|
-
},
|
|
413
|
-
rollbar: {
|
|
414
|
-
environment: {
|
|
415
|
-
format: "String",
|
|
416
|
-
env: "production"
|
|
417
|
-
},
|
|
418
|
-
clientToken: {
|
|
419
|
-
format: "String",
|
|
420
|
-
env: "cf75726b70174d4097505ae18d5f9600"
|
|
421
|
-
}
|
|
422
|
-
},
|
|
423
|
-
google: {
|
|
424
|
-
gaId: {
|
|
425
|
-
format: "String",
|
|
426
|
-
default: "",
|
|
427
|
-
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_GOOGLE_ANALYTICS_ID
|
|
428
|
-
},
|
|
429
|
-
awId: {
|
|
430
|
-
format: "String",
|
|
431
|
-
default: "",
|
|
432
|
-
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_GOOGLE_ADS_ID
|
|
433
|
-
},
|
|
434
|
-
fontsKey: {
|
|
435
|
-
format: "String",
|
|
436
|
-
default: "AIzaSyAmNFe07wm9Zc5XkyZC-R7a7RKbP21GRVc",
|
|
437
|
-
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_GOOGLE_FONTS_KEY
|
|
438
|
-
},
|
|
439
|
-
signInId: {
|
|
440
|
-
format: "String",
|
|
441
|
-
default: "304554270591-7sp9q4omqih373020mj0mo2ks2bka1gb.apps.googleusercontent.com",
|
|
442
|
-
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_GOOGLE_SIGN_IN_ID
|
|
443
|
-
}
|
|
444
|
-
},
|
|
445
|
-
facebook: {
|
|
446
|
-
pixelUserId: {
|
|
447
|
-
format: "String",
|
|
448
|
-
default: "",
|
|
449
|
-
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_FACEBOOK_PIXEL_USER_ID
|
|
450
|
-
}
|
|
451
|
-
},
|
|
452
|
-
segment: {
|
|
453
|
-
writeKey: {
|
|
454
|
-
format: "String",
|
|
455
|
-
default: "",
|
|
456
|
-
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_SEGMENT_WRITE_KEY
|
|
457
|
-
}
|
|
458
|
-
},
|
|
459
|
-
unsplash: {
|
|
460
|
-
id: {
|
|
461
|
-
format: "String",
|
|
462
|
-
default: "141f6cc7099b0dcf9bbc6b447135e5623f5793caabff3413b4c82f7751473e31",
|
|
463
|
-
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_UNSPLASH_ID
|
|
464
|
-
}
|
|
465
|
-
},
|
|
466
|
-
pexels: {
|
|
467
|
-
id: {
|
|
468
|
-
format: "String",
|
|
469
|
-
default: "563492ad6f9170000100000150cc2598932942c583cec92c1f02e9d9",
|
|
470
|
-
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_PEXELS_ID
|
|
471
|
-
}
|
|
472
|
-
},
|
|
473
|
-
logrocket: {
|
|
474
|
-
id: {
|
|
475
|
-
format: "String",
|
|
476
|
-
default: "",
|
|
477
|
-
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_LOGROCKET_APP_ID
|
|
478
|
-
}
|
|
479
|
-
},
|
|
480
|
-
stripe: {
|
|
481
|
-
publishableKey: {
|
|
482
|
-
format: "String",
|
|
483
|
-
default: "",
|
|
484
|
-
env: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8"
|
|
485
|
-
}
|
|
486
|
-
},
|
|
487
|
-
brand: {
|
|
488
|
-
format: "String",
|
|
489
|
-
default: "cling",
|
|
490
|
-
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_BRAND
|
|
491
|
-
},
|
|
492
|
-
otherBrandUrl: {
|
|
493
|
-
format: "String",
|
|
494
|
-
default: "",
|
|
495
|
-
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_OTHER_BRAND_URL
|
|
496
|
-
},
|
|
497
|
-
clientId: {
|
|
498
|
-
format: "String",
|
|
499
|
-
default: "4888cbb193eda211f4b8fc77ce362becf8e8f3147743193c55ce3ea334807a84",
|
|
500
|
-
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_CLIENT_ID
|
|
501
|
-
}
|
|
502
|
-
};
|
|
503
|
-
let c = document.getElementById("config"), R = {};
|
|
504
|
-
if (c)
|
|
505
|
-
try {
|
|
506
|
-
R = JSON.parse(c.innerText), c.parentNode.removeChild(c), c = null;
|
|
507
|
-
} catch (_) {
|
|
508
|
-
console.error(_), console.error("Failed to load external config");
|
|
509
|
-
}
|
|
510
|
-
const w = (_) => typeof _ < "u" && typeof _ == "object" && !Array.isArray(_) && _ !== null, F = (_, t) => t.reduce((e, a) => typeof e > "u" ? e : e[a], _);
|
|
511
|
-
function Ma(_) {
|
|
512
|
-
const t = ["format", "default", "env"], e = ["string", "number", "boolean"];
|
|
513
|
-
function a(E, n) {
|
|
514
|
-
if (w(E) && Object.keys(E).some((r) => t.includes(r))) {
|
|
515
|
-
const r = E.format ? E.format.toLowerCase() : "string";
|
|
516
|
-
let i;
|
|
517
|
-
if (typeof E.default < "u" && (i = E.default), typeof E.env < "u" && (i = E.env), typeof F(R, n) < "u" && (i = F(R, n)), typeof i > "u")
|
|
518
|
-
return;
|
|
519
|
-
if (!e.includes(r))
|
|
520
|
-
throw new Error(`${r} is not a valid config format!`);
|
|
521
|
-
if (typeof r > "u") {
|
|
522
|
-
console.warn(`Configuration ${n.join(".")} is not defined`);
|
|
523
|
-
return;
|
|
524
|
-
}
|
|
525
|
-
return r === "string" ? i.toString() : r === "number" ? parseFloat(i) : r === "boolean" ? i.toString().toLowerCase() !== "false" : null;
|
|
526
|
-
}
|
|
527
|
-
return Object.entries(E).reduce((r, [i, P]) => {
|
|
528
|
-
if (Array.isArray(P))
|
|
529
|
-
throw new Error("Arrays are not supported in configuration schema");
|
|
530
|
-
const A = [...n, i];
|
|
531
|
-
return w(P) && (r[i] = a(P, A)), r;
|
|
532
|
-
}, {});
|
|
533
|
-
}
|
|
534
|
-
return a(_, []);
|
|
535
|
-
}
|
|
536
|
-
const g = Ma(Ya);
|
|
537
|
-
g.debug && console.log(g);
|
|
538
|
-
const S = "Cling", ja = {
|
|
539
|
-
init(_ = {}) {
|
|
540
|
-
const t = (_ == null ? void 0 : _.environment) || "development";
|
|
541
|
-
if (t === "development") {
|
|
542
|
-
const e = {
|
|
543
|
-
environment: t,
|
|
544
|
-
baseUrl: "https://app.dev2.cling.se",
|
|
545
|
-
"api.baseUrl": "https://api.dev.cling.se",
|
|
546
|
-
"api.socket.rootUrl": "https://api.dev.cling.se",
|
|
547
|
-
"rollbar.clientToken": "cf75726b70174d4097505ae18d5f9600",
|
|
548
|
-
"rollbar.environment": "staging"
|
|
549
|
-
};
|
|
550
|
-
Object.keys(e).forEach((a) => {
|
|
551
|
-
typeof e[a] < "u" && Wa(g, a, e[a]);
|
|
552
|
-
});
|
|
553
|
-
}
|
|
554
|
-
return import("./main.65f1b3e9.js").then((e) => e.H).then((e) => {
|
|
555
|
-
const a = e.default;
|
|
556
|
-
return window[S] = a, Object.assign(this, a), a.init({ ..._, LIB_NAME: S });
|
|
557
|
-
});
|
|
558
|
-
}
|
|
559
|
-
};
|
|
560
|
-
window[S] = ja;
|
|
561
|
-
export {
|
|
562
|
-
ja as C,
|
|
563
|
-
Ra as _,
|
|
564
|
-
g as a,
|
|
565
|
-
Fa as b,
|
|
566
|
-
L as c,
|
|
567
|
-
Ca as d,
|
|
568
|
-
wa as g,
|
|
569
|
-
Wa as s
|
|
570
|
-
};
|