@useinsider/guido 1.4.3 → 1.4.4-beta.b4adc85
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/README.md +295 -664
- package/dist/@types/config/defaults.js +44 -0
- package/dist/@types/config/schemas.js +229 -0
- package/dist/@types/config/validator.js +56 -0
- package/dist/components/Guido.vue.js +1 -1
- package/dist/components/Guido.vue2.js +63 -89
- package/dist/components/organisms/email-preview/desktop-preview/EmailHeaderInfo.vue2.js +13 -13
- package/dist/components/organisms/email-preview/mobile-preview/InboxView.vue.js +5 -5
- package/dist/components/organisms/email-preview/mobile-preview/InboxView.vue2.js +13 -13
- package/dist/components/organisms/header/LeftSlot.vue.js +1 -1
- package/dist/components/organisms/header/LeftSlot.vue2.js +18 -15
- package/dist/components/organisms/header/RightSlot.vue.js +10 -10
- package/dist/components/organisms/onboarding/NewVersionPopup.vue2.js +22 -19
- package/dist/components/organisms/unsubscribe/UnsubscribeBreadcrumb.vue.js +4 -4
- package/dist/components/organisms/unsubscribe/UnsubscribeBreadcrumb.vue2.js +8 -8
- package/dist/components/organisms/unsubscribe/UnsubscribeTypeSelection.vue.js +3 -3
- package/dist/components/organisms/unsubscribe/UnsubscribeTypeSelection.vue2.js +17 -17
- package/dist/components/organisms/unsubscribe/UnsubscribeWrapper.vue.js +10 -10
- package/dist/composables/useBlocksConfig.js +23 -20
- package/dist/composables/useConfig.js +51 -5
- package/dist/composables/useHtmlCompiler.js +20 -19
- package/dist/composables/useHtmlValidator.js +41 -41
- package/dist/composables/usePartner.js +19 -9
- package/dist/composables/useStripo.js +11 -11
- package/dist/composables/useTranslations.js +3 -2
- package/dist/config/compiler/unsubscribeCompilerRules.js +1 -1
- package/dist/enums/defaults.js +3 -67
- package/dist/enums/unsubscribe.js +23 -20
- package/dist/extensions/Blocks/Recommendation/store/recommendation.js +12 -11
- package/dist/guido.css +1 -1
- package/dist/library.js +12 -2
- package/dist/node_modules/lodash-es/_arrayLikeKeys.js +10 -10
- package/dist/node_modules/valibot/dist/index.js +476 -103
- package/dist/services/templateLibraryApi.js +18 -18
- package/dist/src/@types/config/defaults.d.ts +68 -0
- package/dist/src/@types/config/index.d.ts +14 -0
- package/dist/src/@types/config/schemas.d.ts +505 -0
- package/dist/src/@types/config/types.d.ts +142 -0
- package/dist/src/@types/config/validator.d.ts +119 -0
- package/dist/src/@types/generic.d.ts +4 -45
- package/dist/src/components/Guido.vue.d.ts +13 -12
- package/dist/src/components/wrappers/WpModal.vue.d.ts +1 -1
- package/dist/src/composables/useConfig.d.ts +184 -2
- package/dist/src/composables/usePartner.d.ts +8 -0
- package/dist/src/enums/defaults.d.ts +4 -6
- package/dist/src/enums/unsubscribe.d.ts +5 -1
- package/dist/src/library.d.ts +3 -1
- package/dist/src/stores/config.d.ts +1547 -102
- package/dist/stores/config.js +141 -9
- package/package.json +1 -1
- package/dist/node_modules/lodash-es/_apply.js +0 -16
- package/dist/node_modules/lodash-es/_assignMergeValue.js +0 -8
- package/dist/node_modules/lodash-es/_assignValue.js +0 -10
- package/dist/node_modules/lodash-es/_baseAssignValue.js +0 -12
- package/dist/node_modules/lodash-es/_baseCreate.js +0 -17
- package/dist/node_modules/lodash-es/_baseKeysIn.js +0 -15
- package/dist/node_modules/lodash-es/_baseMerge.js +0 -20
- package/dist/node_modules/lodash-es/_baseMergeDeep.js +0 -31
- package/dist/node_modules/lodash-es/_baseRest.js +0 -9
- package/dist/node_modules/lodash-es/_baseSetToString.js +0 -14
- package/dist/node_modules/lodash-es/_cloneArrayBuffer.js +0 -8
- package/dist/node_modules/lodash-es/_cloneBuffer.js +0 -9
- package/dist/node_modules/lodash-es/_cloneTypedArray.js +0 -8
- package/dist/node_modules/lodash-es/_copyArray.js +0 -9
- package/dist/node_modules/lodash-es/_copyObject.js +0 -14
- package/dist/node_modules/lodash-es/_createAssigner.js +0 -15
- package/dist/node_modules/lodash-es/_defineProperty.js +0 -11
- package/dist/node_modules/lodash-es/_getPrototype.js +0 -5
- package/dist/node_modules/lodash-es/_initCloneObject.js +0 -9
- package/dist/node_modules/lodash-es/_nativeKeysIn.js +0 -10
- package/dist/node_modules/lodash-es/_overRest.js +0 -15
- package/dist/node_modules/lodash-es/_safeGet.js +0 -7
- package/dist/node_modules/lodash-es/_setToString.js +0 -6
- package/dist/node_modules/lodash-es/_shortOut.js +0 -16
- package/dist/node_modules/lodash-es/constant.js +0 -8
- package/dist/node_modules/lodash-es/isArrayLikeObject.js +0 -8
- package/dist/node_modules/lodash-es/isPlainObject.js +0 -16
- package/dist/node_modules/lodash-es/keysIn.js +0 -9
- package/dist/node_modules/lodash-es/merge.js +0 -8
- package/dist/node_modules/lodash-es/toPlainObject.js +0 -8
package/dist/stores/config.js
CHANGED
|
@@ -1,17 +1,149 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import "../@types/config/schemas.js";
|
|
2
|
+
import "../@types/config/defaults.js";
|
|
3
|
+
import { parseConfig as n } from "../@types/config/validator.js";
|
|
4
|
+
import { defineStore as o } from "pinia";
|
|
5
|
+
const s = o("guido-config", {
|
|
4
6
|
state: () => ({
|
|
5
|
-
|
|
6
|
-
|
|
7
|
+
initialized: !1,
|
|
8
|
+
config: null
|
|
7
9
|
}),
|
|
8
10
|
getters: {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
/**
|
|
12
|
+
* Get the identity configuration
|
|
13
|
+
*/
|
|
14
|
+
identity: (i) => {
|
|
15
|
+
var e;
|
|
16
|
+
return ((e = i.config) == null ? void 0 : e.identity) ?? null;
|
|
17
|
+
},
|
|
18
|
+
/**
|
|
19
|
+
* Get the partner configuration
|
|
20
|
+
*/
|
|
21
|
+
partner: (i) => {
|
|
22
|
+
var e;
|
|
23
|
+
return ((e = i.config) == null ? void 0 : e.partner) ?? null;
|
|
24
|
+
},
|
|
25
|
+
/**
|
|
26
|
+
* Get the template configuration
|
|
27
|
+
*/
|
|
28
|
+
template: (i) => {
|
|
29
|
+
var e;
|
|
30
|
+
return ((e = i.config) == null ? void 0 : e.template) ?? null;
|
|
31
|
+
},
|
|
32
|
+
/**
|
|
33
|
+
* Get the editor configuration
|
|
34
|
+
*/
|
|
35
|
+
editor: (i) => {
|
|
36
|
+
var e;
|
|
37
|
+
return ((e = i.config) == null ? void 0 : e.editor) ?? null;
|
|
38
|
+
},
|
|
39
|
+
/**
|
|
40
|
+
* Get the UI configuration
|
|
41
|
+
*/
|
|
42
|
+
ui: (i) => {
|
|
43
|
+
var e;
|
|
44
|
+
return ((e = i.config) == null ? void 0 : e.ui) ?? null;
|
|
45
|
+
},
|
|
46
|
+
/**
|
|
47
|
+
* Get the features configuration
|
|
48
|
+
*/
|
|
49
|
+
features: (i) => {
|
|
50
|
+
var e;
|
|
51
|
+
return ((e = i.config) == null ? void 0 : e.features) ?? null;
|
|
52
|
+
},
|
|
53
|
+
/**
|
|
54
|
+
* Get the blocks configuration
|
|
55
|
+
*/
|
|
56
|
+
blocks: (i) => {
|
|
57
|
+
var e;
|
|
58
|
+
return ((e = i.config) == null ? void 0 : e.blocks) ?? null;
|
|
59
|
+
},
|
|
60
|
+
/**
|
|
61
|
+
* Get the compiler configuration
|
|
62
|
+
*/
|
|
63
|
+
compiler: (i) => {
|
|
64
|
+
var e;
|
|
65
|
+
return ((e = i.config) == null ? void 0 : e.compiler) ?? null;
|
|
66
|
+
},
|
|
67
|
+
/**
|
|
68
|
+
* Get the template ID
|
|
69
|
+
*/
|
|
70
|
+
templateId: (i) => {
|
|
71
|
+
var e;
|
|
72
|
+
return ((e = i.config) == null ? void 0 : e.identity.templateId) ?? "";
|
|
73
|
+
},
|
|
74
|
+
/**
|
|
75
|
+
* Get the user ID
|
|
76
|
+
*/
|
|
77
|
+
userId: (i) => {
|
|
78
|
+
var e;
|
|
79
|
+
return ((e = i.config) == null ? void 0 : e.identity.userId) ?? "";
|
|
80
|
+
},
|
|
81
|
+
/**
|
|
82
|
+
* Get the variation ID
|
|
83
|
+
*/
|
|
84
|
+
variationId: (i) => {
|
|
85
|
+
var e;
|
|
86
|
+
return ((e = i.config) == null ? void 0 : e.identity.variationId) ?? "";
|
|
87
|
+
},
|
|
88
|
+
/**
|
|
89
|
+
* Get the partner name
|
|
90
|
+
*/
|
|
91
|
+
partnerName: (i) => {
|
|
92
|
+
var e;
|
|
93
|
+
return ((e = i.config) == null ? void 0 : e.partner.name) ?? "";
|
|
94
|
+
},
|
|
95
|
+
/**
|
|
96
|
+
* Get the product type
|
|
97
|
+
*/
|
|
98
|
+
productType: (i) => {
|
|
99
|
+
var e;
|
|
100
|
+
return ((e = i.config) == null ? void 0 : e.partner.productType) ?? 60;
|
|
101
|
+
},
|
|
102
|
+
/**
|
|
103
|
+
* Get the message type
|
|
104
|
+
*/
|
|
105
|
+
messageType: (i) => {
|
|
106
|
+
var e;
|
|
107
|
+
return ((e = i.config) == null ? void 0 : e.partner.messageType) ?? 1;
|
|
108
|
+
},
|
|
109
|
+
/**
|
|
110
|
+
* Get the username
|
|
111
|
+
*/
|
|
112
|
+
username: (i) => {
|
|
113
|
+
var e;
|
|
114
|
+
return ((e = i.config) == null ? void 0 : e.partner.username) ?? "Guido User";
|
|
115
|
+
},
|
|
116
|
+
/**
|
|
117
|
+
* Check if header should be shown
|
|
118
|
+
*/
|
|
119
|
+
showHeader: (i) => {
|
|
120
|
+
var e;
|
|
121
|
+
return ((e = i.config) == null ? void 0 : e.ui.showHeader) ?? !0;
|
|
122
|
+
},
|
|
123
|
+
/**
|
|
124
|
+
* Check if a specific feature is enabled
|
|
125
|
+
*/
|
|
126
|
+
isFeatureEnabled: (i) => (e) => {
|
|
127
|
+
var t;
|
|
128
|
+
return ((t = i.config) == null ? void 0 : t.features[e]) ?? !0;
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
actions: {
|
|
132
|
+
/**
|
|
133
|
+
* Initialize the config store with validated configuration
|
|
134
|
+
*/
|
|
135
|
+
init(i) {
|
|
136
|
+
const e = n(i);
|
|
137
|
+
this.config = e, this.initialized = !0;
|
|
138
|
+
},
|
|
139
|
+
/**
|
|
140
|
+
* Reset the config store
|
|
141
|
+
*/
|
|
142
|
+
reset() {
|
|
143
|
+
this.initialized = !1, this.config = null;
|
|
12
144
|
}
|
|
13
145
|
}
|
|
14
146
|
});
|
|
15
147
|
export {
|
|
16
|
-
|
|
148
|
+
s as useConfigStore
|
|
17
149
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@useinsider/guido",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.4-beta.b4adc85",
|
|
4
4
|
"description": "Guido is a Vue + TypeScript wrapper for Email Plugin. Easily embed the email editor in your Vue applications.",
|
|
5
5
|
"main": "./dist/guido.umd.cjs",
|
|
6
6
|
"module": "./dist/library.js",
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
function t(l, c, e) {
|
|
2
|
-
switch (e.length) {
|
|
3
|
-
case 0:
|
|
4
|
-
return l.call(c);
|
|
5
|
-
case 1:
|
|
6
|
-
return l.call(c, e[0]);
|
|
7
|
-
case 2:
|
|
8
|
-
return l.call(c, e[0], e[1]);
|
|
9
|
-
case 3:
|
|
10
|
-
return l.call(c, e[0], e[1], e[2]);
|
|
11
|
-
}
|
|
12
|
-
return l.apply(c, e);
|
|
13
|
-
}
|
|
14
|
-
export {
|
|
15
|
-
t as default
|
|
16
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import t from "./_baseAssignValue.js";
|
|
2
|
-
import i from "./eq.js";
|
|
3
|
-
var s = Object.prototype, p = s.hasOwnProperty;
|
|
4
|
-
function l(r, a, o) {
|
|
5
|
-
var n = r[a];
|
|
6
|
-
(!(p.call(r, a) && i(n, o)) || o === void 0 && !(a in r)) && t(r, a, o);
|
|
7
|
-
}
|
|
8
|
-
export {
|
|
9
|
-
l as default
|
|
10
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import u from "./isObject.js";
|
|
2
|
-
var r = Object.create, c = /* @__PURE__ */ (function() {
|
|
3
|
-
function e() {
|
|
4
|
-
}
|
|
5
|
-
return function(t) {
|
|
6
|
-
if (!u(t))
|
|
7
|
-
return {};
|
|
8
|
-
if (r)
|
|
9
|
-
return r(t);
|
|
10
|
-
e.prototype = t;
|
|
11
|
-
var n = new e();
|
|
12
|
-
return e.prototype = void 0, n;
|
|
13
|
-
};
|
|
14
|
-
})();
|
|
15
|
-
export {
|
|
16
|
-
c as default
|
|
17
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import a from "./isObject.js";
|
|
2
|
-
import i from "./_isPrototype.js";
|
|
3
|
-
import n from "./_nativeKeysIn.js";
|
|
4
|
-
var e = Object.prototype, p = e.hasOwnProperty;
|
|
5
|
-
function v(r) {
|
|
6
|
-
if (!a(r))
|
|
7
|
-
return n(r);
|
|
8
|
-
var s = i(r), o = [];
|
|
9
|
-
for (var t in r)
|
|
10
|
-
t == "constructor" && (s || !p.call(r, t)) || o.push(t);
|
|
11
|
-
return o;
|
|
12
|
-
}
|
|
13
|
-
export {
|
|
14
|
-
v as default
|
|
15
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import t from "./_Stack.js";
|
|
2
|
-
import d from "./_assignMergeValue.js";
|
|
3
|
-
import g from "./_baseFor.js";
|
|
4
|
-
import a from "./_baseMergeDeep.js";
|
|
5
|
-
import M from "./isObject.js";
|
|
6
|
-
import v from "./keysIn.js";
|
|
7
|
-
import x from "./_safeGet.js";
|
|
8
|
-
function D(f, r, e, n, i) {
|
|
9
|
-
f !== r && g(r, function(o, m) {
|
|
10
|
-
if (i || (i = new t()), M(o))
|
|
11
|
-
a(f, r, m, e, D, n, i);
|
|
12
|
-
else {
|
|
13
|
-
var p = n ? n(x(f, m), o, m + "", f, r, i) : void 0;
|
|
14
|
-
p === void 0 && (p = o), d(f, m, p);
|
|
15
|
-
}
|
|
16
|
-
}, v);
|
|
17
|
-
}
|
|
18
|
-
export {
|
|
19
|
-
D as default
|
|
20
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import u from "./_assignMergeValue.js";
|
|
2
|
-
import V from "./_cloneBuffer.js";
|
|
3
|
-
import j from "./_cloneTypedArray.js";
|
|
4
|
-
import y from "./_copyArray.js";
|
|
5
|
-
import c from "./_initCloneObject.js";
|
|
6
|
-
import g from "./isArguments.js";
|
|
7
|
-
import O from "./isArray.js";
|
|
8
|
-
import C from "./isArrayLikeObject.js";
|
|
9
|
-
import M from "./isBuffer.js";
|
|
10
|
-
import P from "./isFunction.js";
|
|
11
|
-
import w from "./isObject.js";
|
|
12
|
-
import x from "./isPlainObject.js";
|
|
13
|
-
import D from "./isTypedArray.js";
|
|
14
|
-
import b from "./_safeGet.js";
|
|
15
|
-
import F from "./toPlainObject.js";
|
|
16
|
-
function U(t, p, o, v, A, l, f) {
|
|
17
|
-
var i = b(t, o), e = b(p, o), s = f.get(e);
|
|
18
|
-
if (s) {
|
|
19
|
-
u(t, o, s);
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
var r = l ? l(i, e, o + "", t, p, f) : void 0, m = r === void 0;
|
|
23
|
-
if (m) {
|
|
24
|
-
var a = O(e), n = !a && M(e), d = !a && !n && D(e);
|
|
25
|
-
r = e, a || n || d ? O(i) ? r = i : C(i) ? r = y(i) : n ? (m = !1, r = V(e)) : d ? (m = !1, r = j(e)) : r = [] : x(e) || g(e) ? (r = i, g(i) ? r = F(i) : (!w(i) || P(i)) && (r = c(e))) : m = !1;
|
|
26
|
-
}
|
|
27
|
-
m && (f.set(e, r), A(r, e, v, l, f), f.delete(e)), u(t, o, r);
|
|
28
|
-
}
|
|
29
|
-
export {
|
|
30
|
-
U as default
|
|
31
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import o from "./constant.js";
|
|
2
|
-
import r from "./_defineProperty.js";
|
|
3
|
-
import i from "./identity.js";
|
|
4
|
-
var u = r ? function(t, e) {
|
|
5
|
-
return r(t, "toString", {
|
|
6
|
-
configurable: !0,
|
|
7
|
-
enumerable: !1,
|
|
8
|
-
value: o(e),
|
|
9
|
-
writable: !0
|
|
10
|
-
});
|
|
11
|
-
} : i;
|
|
12
|
-
export {
|
|
13
|
-
u as default
|
|
14
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import f from "./_root.js";
|
|
2
|
-
var r = typeof exports == "object" && exports && !exports.nodeType && exports, e = r && typeof module == "object" && module && !module.nodeType && module, p = e && e.exports === r, o = p ? f.Buffer : void 0;
|
|
3
|
-
o && o.allocUnsafe;
|
|
4
|
-
function l(t, u) {
|
|
5
|
-
return t.slice();
|
|
6
|
-
}
|
|
7
|
-
export {
|
|
8
|
-
l as default
|
|
9
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import m from "./_assignValue.js";
|
|
2
|
-
import t from "./_baseAssignValue.js";
|
|
3
|
-
function v(a, f, i, u) {
|
|
4
|
-
var d = !i;
|
|
5
|
-
i || (i = {});
|
|
6
|
-
for (var s = -1, e = f.length; ++s < e; ) {
|
|
7
|
-
var n = f[s], r = void 0;
|
|
8
|
-
r === void 0 && (r = a[n]), d ? t(i, n, r) : m(i, n, r);
|
|
9
|
-
}
|
|
10
|
-
return i;
|
|
11
|
-
}
|
|
12
|
-
export {
|
|
13
|
-
v as default
|
|
14
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import l from "./_baseRest.js";
|
|
2
|
-
import u from "./_isIterateeCall.js";
|
|
3
|
-
function h(d) {
|
|
4
|
-
return l(function(i, e) {
|
|
5
|
-
var f = -1, n = e.length, t = n > 1 ? e[n - 1] : void 0, r = n > 2 ? e[2] : void 0;
|
|
6
|
-
for (t = d.length > 3 && typeof t == "function" ? (n--, t) : void 0, r && u(e[0], e[1], r) && (t = n < 3 ? void 0 : t, n = 1), i = Object(i); ++f < n; ) {
|
|
7
|
-
var a = e[f];
|
|
8
|
-
a && d(i, a, f, t);
|
|
9
|
-
}
|
|
10
|
-
return i;
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
export {
|
|
14
|
-
h as default
|
|
15
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import u from "./_apply.js";
|
|
2
|
-
var o = Math.max;
|
|
3
|
-
function d(i, e, g) {
|
|
4
|
-
return e = o(e === void 0 ? i.length - 1 : e, 0), function() {
|
|
5
|
-
for (var n = arguments, r = -1, h = o(n.length - e, 0), l = Array(h); ++r < h; )
|
|
6
|
-
l[r] = n[e + r];
|
|
7
|
-
r = -1;
|
|
8
|
-
for (var a = Array(e + 1); ++r < e; )
|
|
9
|
-
a[r] = n[r];
|
|
10
|
-
return a[e] = g(l), u(i, this, a);
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
export {
|
|
14
|
-
d as default
|
|
15
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
var u = 800, i = 16, o = Date.now;
|
|
2
|
-
function s(e) {
|
|
3
|
-
var n = 0, t = 0;
|
|
4
|
-
return function() {
|
|
5
|
-
var a = o(), r = i - (a - t);
|
|
6
|
-
if (t = a, r > 0) {
|
|
7
|
-
if (++n >= u)
|
|
8
|
-
return arguments[0];
|
|
9
|
-
} else
|
|
10
|
-
n = 0;
|
|
11
|
-
return e.apply(void 0, arguments);
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
export {
|
|
15
|
-
s as default
|
|
16
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import c from "./_baseGetTag.js";
|
|
2
|
-
import n from "./_getPrototype.js";
|
|
3
|
-
import a from "./isObjectLike.js";
|
|
4
|
-
var i = "[object Object]", f = Function.prototype, p = Object.prototype, e = f.toString, u = p.hasOwnProperty, b = e.call(Object);
|
|
5
|
-
function O(r) {
|
|
6
|
-
if (!a(r) || c(r) != i)
|
|
7
|
-
return !1;
|
|
8
|
-
var o = n(r);
|
|
9
|
-
if (o === null)
|
|
10
|
-
return !0;
|
|
11
|
-
var t = u.call(o, "constructor") && o.constructor;
|
|
12
|
-
return typeof t == "function" && t instanceof t && e.call(t) == b;
|
|
13
|
-
}
|
|
14
|
-
export {
|
|
15
|
-
O as default
|
|
16
|
-
};
|