@useinsider/guido 3.30.1-beta.34bc10d → 3.30.1-beta.49c2d00
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 +14 -0
- package/dist/@types/config/schemas.js +4 -4
- package/dist/@types/email-be/html-validation.js +1 -1
- package/dist/components/Guido.vue.js +9 -9
- package/dist/components/Guido.vue2.js +156 -130
- package/dist/components/organisms/dynamic-content/InvalidDynamicContentCard.vue.js +22 -0
- package/dist/components/organisms/dynamic-content/InvalidDynamicContentCard.vue2.js +30 -0
- package/dist/components/organisms/save-as-template/SaveAsTemplateDrawer.vue.js +2 -2
- package/dist/composables/useInvalidDynamicContentMarking.js +105 -0
- package/dist/enums/defaults.js +5 -4
- package/dist/enums/email-be.js +9 -20
- package/dist/extensions/DynamicContent/dynamic-content.js +39 -57
- package/dist/guido.css +1 -1
- package/dist/node_modules/valibot/dist/index.js +90 -95
- package/dist/package.json.js +1 -1
- package/dist/services/emailBe/errors/ApiError.js +26 -27
- package/dist/services/templateLibraryApi.js +87 -59
- package/dist/src/@types/generic.d.ts +11 -0
- package/dist/src/@types/save-as-template.d.ts +23 -1
- package/dist/src/components/Guido.vue.d.ts +5 -1
- package/dist/src/components/organisms/dynamic-content/InvalidDynamicContentCard.vue.d.ts +22 -0
- package/dist/src/composables/useInvalidDynamicContentMarking.d.ts +4 -0
- package/dist/src/enums/email-be.d.ts +0 -11
- package/dist/src/extensions/DynamicContent/dynamic-content.d.ts +0 -8
- package/dist/src/library.d.ts +1 -1
- package/dist/src/stores/dynamic-content.d.ts +42 -1
- package/dist/src/utils/editorCanvas.d.ts +3 -0
- package/dist/static/styles/customEditorStyle.css.js +4 -0
- package/dist/stores/dynamic-content.js +19 -7
- package/dist/utils/editorCanvas.js +18 -0
- package/package.json +1 -1
- package/dist/@types/email-be/templates.js +0 -15
- package/dist/services/emailBe/templates/TemplateService.js +0 -149
- package/dist/services/emailBe/templates/index.js +0 -6
- package/dist/src/@types/email-be/templates.d.ts +0 -40
- package/dist/src/services/emailBe/templates/TemplateService.d.ts +0 -13
- package/dist/src/services/emailBe/templates/index.d.ts +0 -2
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { useDynamicContentStore as f } from "../stores/dynamic-content.js";
|
|
2
|
+
import { useEditorStore as T } from "../stores/editor.js";
|
|
3
|
+
import { getEditorCanvasFrame as g, getCanvasElementPosition as S } from "../utils/editorCanvas.js";
|
|
4
|
+
import { watch as A } from "vue";
|
|
5
|
+
const C = "merge-tag-selector", E = "merge-tag-value", u = "guido-invalid-dynamic-content-style", v = ["", " "], h = (t) => v.flatMap((n) => v.map((e) => ({
|
|
6
|
+
exact: `{{${n}${t}${e}}}`,
|
|
7
|
+
prefix: `{{${n}${t}${e}|`
|
|
8
|
+
}))), D = (t, n) => h(n).some(({ exact: e, prefix: o }) => t === e || t.startsWith(o)), p = (t) => t.replace(/["\\|]/g, "\\$&").replace(/[\n\r\f]/g, (n) => `\\${n.charCodeAt(0).toString(16)} `), _ = (t) => {
|
|
9
|
+
const n = t.flatMap((e) => h(e).flatMap(({ exact: o, prefix: r }) => [`="${p(o)}"`, `^="${p(r)}"`]).map((o) => `${C}[${E}${o}]`).flatMap((o) => [`${o} .esd-merge-tag`, `${o} .esd-x`]));
|
|
10
|
+
return n.length === 0 ? "" : `${n.join(`,
|
|
11
|
+
`)} {
|
|
12
|
+
color: var(--guido-dc-invalid-color) !important;
|
|
13
|
+
border-color: var(--guido-dc-invalid-color) !important;
|
|
14
|
+
}`;
|
|
15
|
+
}, y = (t, n) => {
|
|
16
|
+
const e = t.getAttribute(E) ?? "";
|
|
17
|
+
return n.find((o) => D(e, o.value));
|
|
18
|
+
}, w = (t) => typeof (t == null ? void 0 : t.nodeType) == "number", x = (t) => {
|
|
19
|
+
const n = t;
|
|
20
|
+
return typeof (n == null ? void 0 : n.closest) == "function" ? n.closest(C) : null;
|
|
21
|
+
}, $ = () => {
|
|
22
|
+
var t, n;
|
|
23
|
+
return ((n = (t = g()) == null ? void 0 : t.contentWindow) == null ? void 0 : n.document) ?? null;
|
|
24
|
+
}, L = (t, n) => {
|
|
25
|
+
var a;
|
|
26
|
+
const e = _(n), o = t.getElementById(u);
|
|
27
|
+
if (!e) {
|
|
28
|
+
o == null || o.remove();
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
if (o) {
|
|
32
|
+
o.textContent !== e && (o.textContent = e);
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
const r = t.createElement("style");
|
|
36
|
+
r.id = u, r.textContent = e, (a = t.head ?? t.body) == null || a.appendChild(r);
|
|
37
|
+
}, P = () => {
|
|
38
|
+
const t = $();
|
|
39
|
+
if (t)
|
|
40
|
+
try {
|
|
41
|
+
const n = f().invalidDynamicContentList.map((e) => e.value);
|
|
42
|
+
L(t, n);
|
|
43
|
+
} catch (n) {
|
|
44
|
+
console.error("Failed to apply the invalid dynamic content marking", n);
|
|
45
|
+
}
|
|
46
|
+
}, k = () => {
|
|
47
|
+
const t = f(), n = T();
|
|
48
|
+
let e = null, o = null;
|
|
49
|
+
const r = () => {
|
|
50
|
+
o && (o = null, document.dispatchEvent(new CustomEvent("dynamic-content:invalid-leave")));
|
|
51
|
+
}, a = (i) => {
|
|
52
|
+
const s = x(i.target);
|
|
53
|
+
if (!s || s === o)
|
|
54
|
+
return;
|
|
55
|
+
const l = y(s, t.invalidDynamicContentList), m = g();
|
|
56
|
+
if (!l || !m)
|
|
57
|
+
return;
|
|
58
|
+
o = s;
|
|
59
|
+
const M = {
|
|
60
|
+
entry: { ...l },
|
|
61
|
+
position: S(m, s)
|
|
62
|
+
};
|
|
63
|
+
document.dispatchEvent(new CustomEvent("dynamic-content:invalid-hover", { detail: M }));
|
|
64
|
+
}, d = (i) => {
|
|
65
|
+
!o || w(i.relatedTarget) && o.contains(i.relatedTarget) || r();
|
|
66
|
+
}, c = () => {
|
|
67
|
+
e == null || e.removeEventListener("mouseover", a), e == null || e.removeEventListener("mouseout", d), e == null || e.removeEventListener("scroll", r, !0), e = null, r();
|
|
68
|
+
}, I = () => {
|
|
69
|
+
if (!n.isStripoInitialized) {
|
|
70
|
+
c();
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
const i = $(), s = t.invalidDynamicContentList.map((l) => l.value);
|
|
74
|
+
if (!i) {
|
|
75
|
+
c();
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
if (L(i, s), s.length === 0) {
|
|
79
|
+
c();
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
i !== e && (c(), i.addEventListener("mouseover", a), i.addEventListener("mouseout", d), i.addEventListener("scroll", r, !0), e = i), o && (!o.isConnected || !y(o, t.invalidDynamicContentList)) && r();
|
|
83
|
+
};
|
|
84
|
+
return A(
|
|
85
|
+
[
|
|
86
|
+
() => n.isStripoInitialized,
|
|
87
|
+
() => n.changeSeq,
|
|
88
|
+
() => n.isCodeEditorOpen,
|
|
89
|
+
() => n.isVersionHistoryOpen,
|
|
90
|
+
() => n.isPreviewModeOpen,
|
|
91
|
+
() => t.invalidDynamicContentList
|
|
92
|
+
],
|
|
93
|
+
() => {
|
|
94
|
+
try {
|
|
95
|
+
I();
|
|
96
|
+
} catch (i) {
|
|
97
|
+
console.error("Failed to track invalid dynamic content", i);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
), { dispose: c };
|
|
101
|
+
};
|
|
102
|
+
export {
|
|
103
|
+
P as applyInvalidDynamicContentMarking,
|
|
104
|
+
k as useInvalidDynamicContentMarking
|
|
105
|
+
};
|
package/dist/enums/defaults.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
const e = {
|
|
2
2
|
transactional: 2
|
|
3
|
-
}, s = 13, t = "https://email-static.useinsider.com",
|
|
3
|
+
}, s = 2, a = 13, t = "https://email-static.useinsider.com", o = `${t}/templates/campaign/default.html`, l = `${t}/templates/campaign/default.css`, E = {
|
|
4
4
|
SAVED_MODULES: "savedModules",
|
|
5
5
|
DEFAULT_MODULES: "defaultModules"
|
|
6
6
|
};
|
|
7
7
|
export {
|
|
8
8
|
l as BLANK_TEMPLATE_CSS_URL,
|
|
9
|
-
|
|
9
|
+
o as BLANK_TEMPLATE_HTML_URL,
|
|
10
10
|
t as EMAIL_STATIC_BASE_URL,
|
|
11
|
-
s as
|
|
12
|
-
|
|
11
|
+
s as EditorType,
|
|
12
|
+
a as MAX_DEFAULT_TEMPLATE_ID,
|
|
13
|
+
E as ModuleFolderDefaults,
|
|
13
14
|
e as TemplateTypes
|
|
14
15
|
};
|
package/dist/enums/email-be.js
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
const
|
|
2
|
-
HTML_VALIDATE: "/v1/html/validate"
|
|
3
|
-
|
|
4
|
-
TEMPLATE_NAME_CHECK: "/v1/templates/name-check",
|
|
5
|
-
TEMPLATE_CATEGORIES: "/v1/templates/categories",
|
|
6
|
-
ALLOWLIST_VALIDATE: "/v1/allowlist/validate"
|
|
7
|
-
}, t = "emailTemplateLibrary", T = {
|
|
1
|
+
const E = "/email-proxy", e = {
|
|
2
|
+
HTML_VALIDATE: "/v1/html/validate"
|
|
3
|
+
}, n = {
|
|
8
4
|
BAD_GATEWAY: "bad_gateway",
|
|
9
5
|
BAD_REQUEST: "bad_request",
|
|
10
6
|
CONFLICT: "conflict",
|
|
@@ -18,21 +14,14 @@ const e = "/email-proxy", E = {
|
|
|
18
14
|
INVALID_RESPONSE: "invalid_response",
|
|
19
15
|
NETWORK: "network_error",
|
|
20
16
|
TIMEOUT: "timeout",
|
|
21
|
-
UNKNOWN: "unknown"
|
|
22
|
-
|
|
23
|
-
PRODUCT_TYPE_FETCH_FAILED: "product-type:errors.fetch-failed",
|
|
24
|
-
TEMPLATE_NAME_CONFLICT: "template:errors.name-conflict",
|
|
25
|
-
TEMPLATE_CATEGORY_NAME_CONFLICT: "template:errors.category-name-conflict",
|
|
26
|
-
TEMPLATE_CONTENT_REJECTED: "template:errors.content-rejected",
|
|
27
|
-
TEMPLATE_ALLOWLIST_UNAVAILABLE: "template:errors.allowlist-unavailable"
|
|
28
|
-
}, r = {
|
|
17
|
+
UNKNOWN: "unknown"
|
|
18
|
+
}, t = {
|
|
29
19
|
PONGO: "pongo",
|
|
30
20
|
LIQUID: "liquid"
|
|
31
21
|
};
|
|
32
22
|
export {
|
|
33
|
-
|
|
34
|
-
e as
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
r as HtmlSyntax
|
|
23
|
+
E as EMAIL_BE_BASE_URL,
|
|
24
|
+
e as EmailBeEndPoints,
|
|
25
|
+
n as EmailBeErrorCodes,
|
|
26
|
+
t as HtmlSyntax
|
|
38
27
|
};
|
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
var
|
|
2
|
-
var g = (
|
|
3
|
-
var
|
|
1
|
+
var m = Object.defineProperty;
|
|
2
|
+
var g = (r, n, t) => n in r ? m(r, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[n] = t;
|
|
3
|
+
var o = (r, n, t) => g(r, typeof n != "symbol" ? n + "" : n, t);
|
|
4
4
|
import { useConfig as d } from "../../composables/useConfig.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
5
|
+
import { applyInvalidDynamicContentMarking as u } from "../../composables/useInvalidDynamicContentMarking.js";
|
|
6
|
+
import { getEditorCanvasFrame as l, getCanvasElementPosition as h } from "../../utils/editorCanvas.js";
|
|
7
|
+
import { mergeTagToDynamicContent as T, dynamicContentToMergeTags as C } from "../../utils/genericUtil.js";
|
|
8
|
+
import { UIElement as y, UIElementType as a, UEAttr as L, UIElementTagRegistry as k } from "../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
|
|
9
|
+
import { ExternalMergeTagsLibrary as p } from "./dynamic-content-modal.js";
|
|
10
|
+
const c = "external-dynamic-content-ui-element", E = "button-add-dynamic-content";
|
|
11
|
+
class U extends k {
|
|
12
|
+
registerUiElements(n) {
|
|
13
|
+
n[a.MERGETAGS] = c;
|
|
13
14
|
}
|
|
14
15
|
}
|
|
15
|
-
class
|
|
16
|
+
class v extends y {
|
|
16
17
|
constructor() {
|
|
17
18
|
super(...arguments);
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
o(this, "mergeTagsButton", null);
|
|
20
|
+
o(this, "mergeTagsLibrary", null);
|
|
21
|
+
o(this, "clickListener", null);
|
|
22
|
+
o(this, "lastClickedElement", null);
|
|
23
|
+
o(this, "lastClickedFrame", null);
|
|
24
|
+
o(this, "mousedownListener", null);
|
|
24
25
|
}
|
|
25
26
|
getId() {
|
|
26
|
-
return
|
|
27
|
+
return c;
|
|
27
28
|
}
|
|
28
29
|
onRender(t) {
|
|
29
30
|
var e;
|
|
@@ -45,8 +46,8 @@ class x extends T {
|
|
|
45
46
|
onAttributeUpdated(t, e) {
|
|
46
47
|
if (t !== "mergeTag" || !(e != null && e.value))
|
|
47
48
|
return;
|
|
48
|
-
const
|
|
49
|
-
this.lastClickedElement = null, this.lastClickedFrame = null, this._openDynamicContentLibrary(
|
|
49
|
+
const i = T(e), s = this._getLastClickedPosition();
|
|
50
|
+
this.lastClickedElement = null, this.lastClickedFrame = null, this._openDynamicContentLibrary(i, s);
|
|
50
51
|
}
|
|
51
52
|
openMergeTagLibrary() {
|
|
52
53
|
const t = this._getButtonPosition(), e = { value: "", text: "" };
|
|
@@ -57,14 +58,15 @@ class x extends T {
|
|
|
57
58
|
* Dispatches event with dynamic content data and position
|
|
58
59
|
*/
|
|
59
60
|
_openDynamicContentLibrary(t, e) {
|
|
60
|
-
this.mergeTagsLibrary || (this.mergeTagsLibrary = new
|
|
61
|
+
this.mergeTagsLibrary || (this.mergeTagsLibrary = new p()), this.mergeTagsLibrary.openMergeTagsLibrary(
|
|
61
62
|
t,
|
|
62
|
-
(
|
|
63
|
-
if (
|
|
64
|
-
const { isFeatureEnabled:
|
|
65
|
-
this.api.triggerValueChange(
|
|
63
|
+
(i) => {
|
|
64
|
+
if (i.text && i.value) {
|
|
65
|
+
const { isFeatureEnabled: s } = d();
|
|
66
|
+
this.api.triggerValueChange(C([i], s("liquidSyntax"))[0]);
|
|
66
67
|
} else
|
|
67
68
|
this.api.triggerValueChange(null);
|
|
69
|
+
u();
|
|
68
70
|
},
|
|
69
71
|
e
|
|
70
72
|
);
|
|
@@ -76,8 +78,8 @@ class x extends T {
|
|
|
76
78
|
_getButtonPosition() {
|
|
77
79
|
if (!this.mergeTagsButton)
|
|
78
80
|
return { x: 0, y: 0, width: 0, height: 0 };
|
|
79
|
-
const { x: t, y: e, width:
|
|
80
|
-
return { x: t, y: e, width:
|
|
81
|
+
const { x: t, y: e, width: i, height: s } = this.mergeTagsButton.getBoundingClientRect();
|
|
82
|
+
return { x: t, y: e, width: i, height: s };
|
|
81
83
|
}
|
|
82
84
|
/**
|
|
83
85
|
* Sets up coordinate tracking for merge tag clicks in the iframe
|
|
@@ -85,20 +87,12 @@ class x extends T {
|
|
|
85
87
|
*/
|
|
86
88
|
_setupCoordinateTracking() {
|
|
87
89
|
var e;
|
|
88
|
-
const t =
|
|
89
|
-
(e = t == null ? void 0 : t.contentWindow) != null && e.document && (this.mousedownListener = (
|
|
90
|
-
const
|
|
91
|
-
|
|
90
|
+
const t = l();
|
|
91
|
+
(e = t == null ? void 0 : t.contentWindow) != null && e.document && (this.mousedownListener = (i) => {
|
|
92
|
+
const s = this._findMergeTagElement(i.target);
|
|
93
|
+
s && (this.lastClickedElement = s, this.lastClickedFrame = t);
|
|
92
94
|
}, t.contentWindow.document.addEventListener("mousedown", this.mousedownListener));
|
|
93
95
|
}
|
|
94
|
-
/**
|
|
95
|
-
* Gets the editor iframe element
|
|
96
|
-
*/
|
|
97
|
-
_getEditorFrame() {
|
|
98
|
-
var e, n;
|
|
99
|
-
const t = (e = m()) == null ? void 0 : e.querySelector("iframe");
|
|
100
|
-
return (n = t == null ? void 0 : t.contentWindow) != null && n.document ? t : null;
|
|
101
|
-
}
|
|
102
96
|
/**
|
|
103
97
|
* Finds merge tag element in the element tree
|
|
104
98
|
*/
|
|
@@ -111,19 +105,7 @@ class x extends T {
|
|
|
111
105
|
*/
|
|
112
106
|
_getLastClickedPosition() {
|
|
113
107
|
if (!(!this.lastClickedElement || !this.lastClickedFrame))
|
|
114
|
-
return
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* Calculates absolute position of element relative to page
|
|
118
|
-
*/
|
|
119
|
-
_calculateAbsolutePosition(t, e) {
|
|
120
|
-
const n = t.getBoundingClientRect(), i = e.getBoundingClientRect();
|
|
121
|
-
return {
|
|
122
|
-
x: n.x + i.x,
|
|
123
|
-
y: n.y + i.y,
|
|
124
|
-
width: i.width,
|
|
125
|
-
height: i.height
|
|
126
|
-
};
|
|
108
|
+
return h(this.lastClickedFrame, this.lastClickedElement);
|
|
127
109
|
}
|
|
128
110
|
/**
|
|
129
111
|
* Cleans up the coordinate tracking event listener
|
|
@@ -132,7 +114,7 @@ class x extends T {
|
|
|
132
114
|
var e;
|
|
133
115
|
if (!this.mousedownListener)
|
|
134
116
|
return;
|
|
135
|
-
const t =
|
|
117
|
+
const t = l();
|
|
136
118
|
(e = t == null ? void 0 : t.contentWindow) != null && e.document && t.contentWindow.document.removeEventListener("mousedown", this.mousedownListener), this.mousedownListener = null;
|
|
137
119
|
}
|
|
138
120
|
/**
|
|
@@ -145,7 +127,7 @@ class x extends T {
|
|
|
145
127
|
<${a.BUTTON}
|
|
146
128
|
id="guido__btn-add-dynamic-content"
|
|
147
129
|
class="btn btn-primary"
|
|
148
|
-
${
|
|
130
|
+
${L.BUTTON.name}="${E}">
|
|
149
131
|
<${a.ICON} src="plus" class="icon icon-button color-primary">
|
|
150
132
|
</${a.ICON}>
|
|
151
133
|
${this.api.translate("Add Dynamic Content")}
|
|
@@ -154,6 +136,6 @@ class x extends T {
|
|
|
154
136
|
}
|
|
155
137
|
}
|
|
156
138
|
export {
|
|
157
|
-
|
|
158
|
-
|
|
139
|
+
U as DynamicContentTagRegistry,
|
|
140
|
+
v as DynamicContentUiElementExtension
|
|
159
141
|
};
|
package/dist/guido.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.auth-error-modal[data-v-b4d7ae51]{position:relative;z-index:145}.gap-16[data-v-5553d071],.gap-16[data-v-0e1b0c54]{gap:16px}[data-v-9d988e4b] .in-button-v2__wrapper{line-height:0}[data-v-22226124] .in-segments-wrapper__button_selected,[data-v-22226124] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb;color:#0010ac;border-color:#0010ac}[data-v-2cb418af] .in-progress-wrapper__progress p span:last-child{display:none!important}[data-v-2cb418af] .in-progress-description-status{display:none!important}.color-vision-select__dropdown[data-v-64cb50da]{z-index:20;width:387px}.accessibility-toolbar[data-v-391019bc]{gap:16px}.accessibility-toolbar[data-v-391019bc] .in-segments-wrapper__button svg{margin-right:0}.accessibility-toolbar[data-v-391019bc] .in-segments-wrapper__button .clearfix:after{content:none}.view-options-wrapper[data-v-87033101]{position:relative;display:inline-block}.new-tag[data-v-87033101]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-87033101] .guido__view-option-selection-desktop svg,[data-v-87033101] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-87033101] .in-segments-wrapper__button_selected,[data-v-87033101] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-87033101] .in-tooltip-wrapper-v2__icon{cursor:pointer}.editor-toolbar[data-v-173c3a40]{gap:4px}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history[data-v-fad98586]{gap:8px}.version-history__toolbar[data-v-fad98586]{gap:4px}.view-options-wrapper[data-v-6ebabfe4]{position:relative;display:inline-block}.new-tag[data-v-6ebabfe4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-6ebabfe4] .guido__verion-history-view-option-selection-desktop svg,[data-v-6ebabfe4] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-6ebabfe4] .in-segments-wrapper__button_selected,[data-v-6ebabfe4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-6ebabfe4] .in-tooltip-wrapper-v2__icon{cursor:pointer}.editor-actions-menu__dropdown[data-v-bdb3b37a]{z-index:20;width:222px}.editor-actions[data-v-9a028d08]{gap:16px}.editor-actions__divider[data-v-9a028d08]{width:1px;height:40px;background-color:#e1e1e1}.right-slot[data-v-77451c9a]{gap:16px}.header-wrapper[data-v-3c713746]{min-width:1000px}.guido-loading__wrapper[data-v-07c4b2d8]{height:100%;top:75px!important;bottom:0!important}.validation-error-list[data-v-c8351f74]{gap:16px}.validation-error-row[data-v-c8351f74]{gap:8px;padding:24px;border:1px solid #E1E1E1;border-radius:8px}.validation-error-row__icon[data-v-c8351f74]{flex-shrink:0;font-size:24px;line-height:0}.validation-error-row__text[data-v-c8351f74]{font-size:13px;line-height:16px;color:#292929;word-break:break-word}.guido-editor__wrapper[data-v-
|
|
1
|
+
@charset "UTF-8";.auth-error-modal[data-v-b4d7ae51]{position:relative;z-index:145}.gap-16[data-v-5553d071],.gap-16[data-v-0e1b0c54]{gap:16px}[data-v-9d988e4b] .in-button-v2__wrapper{line-height:0}[data-v-22226124] .in-segments-wrapper__button_selected,[data-v-22226124] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb;color:#0010ac;border-color:#0010ac}[data-v-2cb418af] .in-progress-wrapper__progress p span:last-child{display:none!important}[data-v-2cb418af] .in-progress-description-status{display:none!important}.color-vision-select__dropdown[data-v-64cb50da]{z-index:20;width:387px}.accessibility-toolbar[data-v-391019bc]{gap:16px}.accessibility-toolbar[data-v-391019bc] .in-segments-wrapper__button svg{margin-right:0}.accessibility-toolbar[data-v-391019bc] .in-segments-wrapper__button .clearfix:after{content:none}.view-options-wrapper[data-v-87033101]{position:relative;display:inline-block}.new-tag[data-v-87033101]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-87033101] .guido__view-option-selection-desktop svg,[data-v-87033101] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-87033101] .in-segments-wrapper__button_selected,[data-v-87033101] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-87033101] .in-tooltip-wrapper-v2__icon{cursor:pointer}.editor-toolbar[data-v-173c3a40]{gap:4px}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history[data-v-fad98586]{gap:8px}.version-history__toolbar[data-v-fad98586]{gap:4px}.view-options-wrapper[data-v-6ebabfe4]{position:relative;display:inline-block}.new-tag[data-v-6ebabfe4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-6ebabfe4] .guido__verion-history-view-option-selection-desktop svg,[data-v-6ebabfe4] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-6ebabfe4] .in-segments-wrapper__button_selected,[data-v-6ebabfe4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-6ebabfe4] .in-tooltip-wrapper-v2__icon{cursor:pointer}.editor-actions-menu__dropdown[data-v-bdb3b37a]{z-index:20;width:222px}.editor-actions[data-v-9a028d08]{gap:16px}.editor-actions__divider[data-v-9a028d08]{width:1px;height:40px;background-color:#e1e1e1}.right-slot[data-v-77451c9a]{gap:16px}.header-wrapper[data-v-3c713746]{min-width:1000px}.guido-loading__wrapper[data-v-07c4b2d8]{height:100%;top:75px!important;bottom:0!important}.validation-error-list[data-v-c8351f74]{gap:16px}.validation-error-row[data-v-c8351f74]{gap:8px;padding:24px;border:1px solid #E1E1E1;border-radius:8px}.validation-error-row__icon[data-v-c8351f74]{flex-shrink:0;font-size:24px;line-height:0}.validation-error-row__text[data-v-c8351f74]{font-size:13px;line-height:16px;color:#292929;word-break:break-word}.guido-editor__wrapper[data-v-a12504dd]{--ribbon-offset: 0px;position:relative;width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__container[data-v-a12504dd]{width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__no-header[data-v-a12504dd]{height:calc(100vh - 75px - var(--ribbon-offset))}[data-v-293f1c47] .in-breadcrumb-wrapper__links{cursor:pointer}.templates-wrapper[data-v-eaf8e461]{gap:16px;grid-template-columns:repeat(3,1fr)}.templates-wrapper .template-wrapper[data-v-eaf8e461]{cursor:pointer}.templates-wrapper .template-wrapper .template-container[data-v-eaf8e461]{height:274px;padding:2px;transition:none}.templates-wrapper .template-wrapper .template-container.selected[data-v-eaf8e461]{padding:1px}.templates-wrapper .template-wrapper .template-container .thumbnail[data-v-eaf8e461]{object-fit:cover;transform:scale(1)}[data-v-b9a93c6e] .guido__verion-history-view-option-selection-desktop svg,[data-v-b9a93c6e] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-b9a93c6e] .in-segments-wrapper__button_selected,[data-v-b9a93c6e] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}.error-list[data-v-c3fd5d4b]{gap:16px}.desktop-browser-header[data-v-d86c5af5]{height:79px;min-height:79px}.desktop-browser-header__left[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:378px}.desktop-browser-header__center[data-v-d86c5af5]{height:79px;background-repeat:repeat-x;background-size:auto 100%;background-position:left top}.desktop-browser-header__right[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:112px}.desktop-preview[data-v-f5ff6219]{min-width:602px;height:70vh;min-height:583px;border-radius:10px}.desktop-preview iframe[data-v-f5ff6219]{min-height:504px}.iframe-wrapper[data-v-a7102458]{width:258px}.iframe-scaled[data-v-a7102458]{width:320px;height:124.0310077519%;transform:scale(.80625);transform-origin:top left}.cropped-text[data-v-eb3d05d7]{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-preview-wrapper__phone[data-v-3f472f96]{width:282px}.mobile-preview-wrapper__phone img[data-v-3f472f96]{object-fit:cover;border-radius:44px}.mobile-preview-wrapper__content[data-v-3f472f96]{width:258px;height:450px;left:12px}[data-v-6bcaca8a] .vueperslides__parallax-wrapper{padding-bottom:110px!important}.guido-tab-bar-onboarding[data-v-219b4f7c]{z-index:21}[data-v-fcba7e99] .vueperslides__bullets{pointer-events:none!important}[data-v-fcba7e99] .vueperslides__parallax-wrapper{padding-bottom:110px!important}[data-v-1a34025a] .vueperslides__bullets{pointer-events:none!important}[data-v-1a34025a] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-8fc96a58] .vueperslides__bullets,[data-v-ec2027ff] .vueperslides__bullets,[data-v-b09e80c4] .vueperslides__bullets{pointer-events:none!important}[data-v-b09e80c4] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-9bdef600] .vueperslides__parallax-wrapper{padding-bottom:110px!important}.assign-strategy-drawer .spaced-dot-sep{background-image:linear-gradient(90deg,#91949f 20%,#fff0 0);background-position:center bottom;background-repeat:repeat-x;background-size:5px 1px}.assign-strategy-drawer .spaced-dot-sep--top{background-position:center top}.assign-strategy-drawer .spaced-dot-sep--fc-n:first-child{background:none}.guido-display-condition-create__separator[data-v-929822bc]{height:1px;margin:0 0 24px;background-image:linear-gradient(to right,currentColor 1px,transparent 1px);background-size:5px 1px}.guido-display-condition-create__methods[data-v-929822bc]{gap:16px}.guido-display-condition-select-root[data-v-0d740001] .in-drawer__footer{justify-content:flex-start}.guido-display-condition-select__delete-modal[data-v-0d740001]{position:relative;z-index:145}.guido-display-condition-select__delete-modal[data-v-0d740001] .in-modal-v2-wrapper__header-title{margin-bottom:0}.guido-display-condition-select-root[data-v-0d740001] .in-drawer__content>div{display:flex;flex-direction:column;min-height:100%}.guido-display-condition-select__list[data-v-0d740001]{display:flex;flex-direction:column;gap:24px;margin:0;padding:0;list-style:none}.guido-display-condition-card__header[data-v-0d740001]{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px}.guido-display-condition-card__text[data-v-0d740001]{min-width:0}.guido-display-condition-card__name[data-v-0d740001],.guido-display-condition-card__description[data-v-0d740001]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.guido-display-condition-card__actions[data-v-0d740001]{display:flex;flex-shrink:0;align-items:center;gap:16px}.guido-display-condition-card__split[data-v-0d740001]{position:relative;display:flex;gap:1px}.guido-display-condition-card__menu[data-v-0d740001]{z-index:2;min-width:115px}.guido-display-condition-card__divider[data-v-0d740001]{width:1px;height:24px}.guido-display-condition-card__code[data-v-0d740001]{margin:1px 15px 15px;padding:8px;font-family:inherit;white-space:pre-wrap;word-break:break-word}.legacy-strategy-updated-modal[data-v-da2225a1]{position:relative;z-index:145}.ambiguous-dynamic-content-modal__content[data-v-2643213c]{padding-bottom:150px}.invalid-dynamic-content-card[data-v-749d0533]{position:fixed;z-index:1000;max-width:280px;padding:12px 16px;border:1px solid #dc2a2a;border-radius:4px;background-color:#fff;box-shadow:0 2px 8px #00000029}.invalid-dynamic-content-card__title[data-v-749d0533]{margin:0 0 4px;font-weight:600;color:#dc2a2a}.invalid-dynamic-content-card__description[data-v-749d0533]{margin:0;color:#4a4a4a}.invalid-dynamic-content-card__action[data-v-749d0533]{margin-top:8px;padding:0;border:none;background:none;color:#0a2ecc;cursor:pointer}.invalid-dynamic-content-card__action[data-v-749d0533]:hover{text-decoration:underline}
|