@mirweb/mir-web-components 1.15.2 → 2.0.0

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.
Files changed (184) hide show
  1. package/README.md +2 -2
  2. package/dist/assets/index-Cl4fzBs2.js +17 -0
  3. package/dist/assets/scss/globals.scss +231 -0
  4. package/dist/assets/scss/index.scss +4 -0
  5. package/dist/assets/scss/normalize.scss +393 -0
  6. package/dist/assets/scss/reset.scss +102 -0
  7. package/dist/assets/scss/variables.scss +95 -0
  8. package/dist/components/atoms/button/button.vue +81 -0
  9. package/dist/components/atoms/checkbox/checkbox.vue +125 -0
  10. package/dist/components/atoms/chip/chip.vue +55 -0
  11. package/dist/components/atoms/dropdown/dropdown.vue +490 -0
  12. package/dist/components/atoms/image/image.vue +42 -0
  13. package/dist/components/atoms/label/label.vue +52 -0
  14. package/dist/components/atoms/link/link.vue +166 -0
  15. package/dist/components/atoms/radio-button/radio-button.vue +110 -0
  16. package/dist/components/atoms/select/select.vue +116 -0
  17. package/dist/components/atoms/select-multiple/select-multiple.vue +210 -0
  18. package/dist/components/atoms/slider/slider.vue +322 -0
  19. package/dist/components/atoms/text-field/text-field.vue +273 -0
  20. package/dist/components/atoms/textarea/textarea.vue +179 -0
  21. package/dist/components/atoms/video/video.vue +98 -0
  22. package/dist/components/blocks/accordion/accordion.vue +222 -0
  23. package/dist/components/blocks/card-display/card-display.vue +125 -0
  24. package/dist/components/blocks/column-grid/column-grid.vue +201 -0
  25. package/dist/components/blocks/facts/facts.vue +156 -0
  26. package/dist/components/blocks/features/features.vue +176 -0
  27. package/dist/components/blocks/flashcards/flashcards.vue +212 -0
  28. package/dist/components/blocks/form-script/form-script.vue +172 -0
  29. package/dist/components/blocks/frontpage-hero/frontpage-hero.vue +214 -0
  30. package/dist/components/blocks/headline/headline.vue +93 -0
  31. package/dist/components/blocks/hero/hero.vue +173 -0
  32. package/dist/components/blocks/image/image.vue +93 -0
  33. package/dist/components/blocks/image-gallery/image-gallery.vue +289 -0
  34. package/dist/components/blocks/logo-wall/logo-wall.vue +125 -0
  35. package/dist/components/blocks/micro-stories/micro-stories.vue +316 -0
  36. package/dist/components/blocks/pallet-jack/pallet-jack.vue +440 -0
  37. package/dist/components/blocks/policy/policy.vue +106 -0
  38. package/dist/components/blocks/product-hero/product-hero.vue +140 -0
  39. package/dist/components/blocks/promo/promo.vue +403 -0
  40. package/dist/components/blocks/quote/quote.vue +127 -0
  41. package/dist/components/blocks/rich-text/rich-text-columns.vue +159 -0
  42. package/dist/components/blocks/rich-text/rich-text.vue +296 -0
  43. package/dist/components/blocks/timeline/timeline.vue +232 -0
  44. package/dist/components/blocks/vimeo/vimeo.vue +52 -0
  45. package/dist/components/index.ts +51 -0
  46. package/dist/components/molecules/address/address.vue +123 -0
  47. package/dist/components/molecules/bullet-list/bullet-list.vue +99 -0
  48. package/dist/components/molecules/card/card.vue +302 -0
  49. package/dist/components/molecules/column-card/column-card.vue +178 -0
  50. package/dist/components/molecules/event-card/event-card.vue +111 -0
  51. package/dist/components/molecules/flashcard/flashcard.vue +293 -0
  52. package/dist/components/molecules/modal/modal.vue +113 -0
  53. package/dist/components/molecules/text-card/text-card.vue +74 -0
  54. package/dist/components/organisms/404/404.vue +79 -0
  55. package/dist/components/organisms/filter/filter.vue +89 -0
  56. package/dist/components/organisms/footer/footer.vue +356 -0
  57. package/dist/components/organisms/header/header.vue +754 -0
  58. package/dist/components/organisms/language-switcher/language-switcher.vue +68 -0
  59. package/dist/components/organisms/pagination/pagination.vue +85 -0
  60. package/dist/components/organisms/search/search.vue +153 -0
  61. package/dist/components/templates/404-error-page.vue +0 -0
  62. package/dist/directives/clickOutside.ts +15 -0
  63. package/dist/fonts/OpenSans-Light.woff2 +0 -0
  64. package/dist/fonts/OpenSans-Medium.woff2 +0 -0
  65. package/dist/fonts/OpenSans-Regular.woff2 +0 -0
  66. package/dist/fonts/OpenSans-SemiBold.woff2 +0 -0
  67. package/dist/fonts/Oscine_Bd.woff2 +0 -0
  68. package/dist/fonts/Oscine_Lt.woff2 +0 -0
  69. package/dist/fonts/Oscine_Rg.woff2 +0 -0
  70. package/dist/index.html +12 -0
  71. package/dist/main.css +1 -0
  72. package/package.json +8 -10
  73. package/dist/components/atoms/button/button.vue.d.ts +0 -5
  74. package/dist/components/atoms/button/button.vue.d.ts.map +0 -1
  75. package/dist/components/atoms/checkbox/checkbox.vue.d.ts +0 -5
  76. package/dist/components/atoms/checkbox/checkbox.vue.d.ts.map +0 -1
  77. package/dist/components/atoms/chip/chip.vue.d.ts +0 -5
  78. package/dist/components/atoms/chip/chip.vue.d.ts.map +0 -1
  79. package/dist/components/atoms/dropdown/dropdown.vue.d.ts +0 -5
  80. package/dist/components/atoms/dropdown/dropdown.vue.d.ts.map +0 -1
  81. package/dist/components/atoms/image/image.vue.d.ts +0 -5
  82. package/dist/components/atoms/image/image.vue.d.ts.map +0 -1
  83. package/dist/components/atoms/label/label.vue.d.ts +0 -5
  84. package/dist/components/atoms/label/label.vue.d.ts.map +0 -1
  85. package/dist/components/atoms/link/link.vue.d.ts +0 -5
  86. package/dist/components/atoms/link/link.vue.d.ts.map +0 -1
  87. package/dist/components/atoms/radio-button/radio-button.vue.d.ts +0 -5
  88. package/dist/components/atoms/radio-button/radio-button.vue.d.ts.map +0 -1
  89. package/dist/components/atoms/select/select.vue.d.ts +0 -5
  90. package/dist/components/atoms/select/select.vue.d.ts.map +0 -1
  91. package/dist/components/atoms/select-multiple/select-multiple.vue.d.ts +0 -5
  92. package/dist/components/atoms/select-multiple/select-multiple.vue.d.ts.map +0 -1
  93. package/dist/components/atoms/slider/slider.vue.d.ts +0 -5
  94. package/dist/components/atoms/slider/slider.vue.d.ts.map +0 -1
  95. package/dist/components/atoms/text-field/text-field.vue.d.ts +0 -5
  96. package/dist/components/atoms/text-field/text-field.vue.d.ts.map +0 -1
  97. package/dist/components/atoms/textarea/textarea.vue.d.ts +0 -5
  98. package/dist/components/atoms/textarea/textarea.vue.d.ts.map +0 -1
  99. package/dist/components/atoms/video/video.vue.d.ts +0 -5
  100. package/dist/components/atoms/video/video.vue.d.ts.map +0 -1
  101. package/dist/components/blocks/accordion/accordion.vue.d.ts +0 -5
  102. package/dist/components/blocks/accordion/accordion.vue.d.ts.map +0 -1
  103. package/dist/components/blocks/card-display/card-display.vue.d.ts +0 -6
  104. package/dist/components/blocks/card-display/card-display.vue.d.ts.map +0 -1
  105. package/dist/components/blocks/column-grid/column-grid.vue.d.ts +0 -5
  106. package/dist/components/blocks/column-grid/column-grid.vue.d.ts.map +0 -1
  107. package/dist/components/blocks/facts/facts.vue.d.ts +0 -5
  108. package/dist/components/blocks/facts/facts.vue.d.ts.map +0 -1
  109. package/dist/components/blocks/features/features.vue.d.ts +0 -5
  110. package/dist/components/blocks/features/features.vue.d.ts.map +0 -1
  111. package/dist/components/blocks/flashcards/flashcards.vue.d.ts +0 -5
  112. package/dist/components/blocks/flashcards/flashcards.vue.d.ts.map +0 -1
  113. package/dist/components/blocks/form-script/form-script.vue.d.ts +0 -5
  114. package/dist/components/blocks/form-script/form-script.vue.d.ts.map +0 -1
  115. package/dist/components/blocks/frontpage-hero/frontpage-hero.vue.d.ts +0 -5
  116. package/dist/components/blocks/frontpage-hero/frontpage-hero.vue.d.ts.map +0 -1
  117. package/dist/components/blocks/headline/headline.vue.d.ts +0 -5
  118. package/dist/components/blocks/headline/headline.vue.d.ts.map +0 -1
  119. package/dist/components/blocks/hero/hero.vue.d.ts +0 -5
  120. package/dist/components/blocks/hero/hero.vue.d.ts.map +0 -1
  121. package/dist/components/blocks/image/image.vue.d.ts +0 -5
  122. package/dist/components/blocks/image/image.vue.d.ts.map +0 -1
  123. package/dist/components/blocks/image-gallery/image-gallery.vue.d.ts +0 -5
  124. package/dist/components/blocks/image-gallery/image-gallery.vue.d.ts.map +0 -1
  125. package/dist/components/blocks/logo-wall/logo-wall.vue.d.ts +0 -5
  126. package/dist/components/blocks/logo-wall/logo-wall.vue.d.ts.map +0 -1
  127. package/dist/components/blocks/micro-stories/micro-stories.vue.d.ts +0 -5
  128. package/dist/components/blocks/micro-stories/micro-stories.vue.d.ts.map +0 -1
  129. package/dist/components/blocks/pallet-jack/pallet-jack.vue.d.ts +0 -5
  130. package/dist/components/blocks/pallet-jack/pallet-jack.vue.d.ts.map +0 -1
  131. package/dist/components/blocks/policy/policy.vue.d.ts +0 -4
  132. package/dist/components/blocks/policy/policy.vue.d.ts.map +0 -1
  133. package/dist/components/blocks/product-hero/product-hero.vue.d.ts +0 -5
  134. package/dist/components/blocks/product-hero/product-hero.vue.d.ts.map +0 -1
  135. package/dist/components/blocks/promo/promo.vue.d.ts +0 -5
  136. package/dist/components/blocks/promo/promo.vue.d.ts.map +0 -1
  137. package/dist/components/blocks/quote/quote.vue.d.ts +0 -5
  138. package/dist/components/blocks/quote/quote.vue.d.ts.map +0 -1
  139. package/dist/components/blocks/rich-text/rich-text-columns.vue.d.ts +0 -4
  140. package/dist/components/blocks/rich-text/rich-text-columns.vue.d.ts.map +0 -1
  141. package/dist/components/blocks/rich-text/rich-text.vue.d.ts +0 -5
  142. package/dist/components/blocks/rich-text/rich-text.vue.d.ts.map +0 -1
  143. package/dist/components/blocks/timeline/timeline.vue.d.ts +0 -5
  144. package/dist/components/blocks/timeline/timeline.vue.d.ts.map +0 -1
  145. package/dist/components/blocks/vimeo/vimeo.vue.d.ts +0 -5
  146. package/dist/components/blocks/vimeo/vimeo.vue.d.ts.map +0 -1
  147. package/dist/components/index.d.ts +0 -51
  148. package/dist/components/main.d.ts +0 -59
  149. package/dist/components/molecules/address/address.vue.d.ts +0 -5
  150. package/dist/components/molecules/address/address.vue.d.ts.map +0 -1
  151. package/dist/components/molecules/bullet-list/bullet-list.vue.d.ts +0 -5
  152. package/dist/components/molecules/bullet-list/bullet-list.vue.d.ts.map +0 -1
  153. package/dist/components/molecules/card/card.vue.d.ts +0 -5
  154. package/dist/components/molecules/card/card.vue.d.ts.map +0 -1
  155. package/dist/components/molecules/column-card/column-card.vue.d.ts +0 -5
  156. package/dist/components/molecules/column-card/column-card.vue.d.ts.map +0 -1
  157. package/dist/components/molecules/event-card/event-card.vue.d.ts +0 -5
  158. package/dist/components/molecules/event-card/event-card.vue.d.ts.map +0 -1
  159. package/dist/components/molecules/flashcard/flashcard.vue.d.ts +0 -5
  160. package/dist/components/molecules/flashcard/flashcard.vue.d.ts.map +0 -1
  161. package/dist/components/molecules/modal/modal.vue.d.ts +0 -5
  162. package/dist/components/molecules/modal/modal.vue.d.ts.map +0 -1
  163. package/dist/components/molecules/text-card/text-card.vue.d.ts +0 -5
  164. package/dist/components/molecules/text-card/text-card.vue.d.ts.map +0 -1
  165. package/dist/components/organisms/404/404.vue.d.ts +0 -5
  166. package/dist/components/organisms/404/404.vue.d.ts.map +0 -1
  167. package/dist/components/organisms/filter/filter.vue.d.ts +0 -5
  168. package/dist/components/organisms/filter/filter.vue.d.ts.map +0 -1
  169. package/dist/components/organisms/footer/footer.vue.d.ts +0 -5
  170. package/dist/components/organisms/footer/footer.vue.d.ts.map +0 -1
  171. package/dist/components/organisms/header/header.vue.d.ts +0 -6
  172. package/dist/components/organisms/header/header.vue.d.ts.map +0 -1
  173. package/dist/components/organisms/language-switcher/language-switcher.vue.d.ts +0 -5
  174. package/dist/components/organisms/language-switcher/language-switcher.vue.d.ts.map +0 -1
  175. package/dist/components/organisms/pagination/pagination.vue.d.ts +0 -5
  176. package/dist/components/organisms/pagination/pagination.vue.d.ts.map +0 -1
  177. package/dist/components/organisms/search/search.vue.d.ts +0 -4
  178. package/dist/components/organisms/search/search.vue.d.ts.map +0 -1
  179. package/dist/directives/clickOutside.d.ts +0 -4
  180. package/dist/main.d.ts +0 -1
  181. package/dist/mir-web-components.cjs.js +0 -1
  182. package/dist/mir-web-components.css +0 -1
  183. package/dist/mir-web-components.es.js +0 -3184
  184. package/dist/mir-web-components.umd.js +0 -2
@@ -1,3184 +0,0 @@
1
- import { defineComponent as b, computed as q, openBlock as s, createElementBlock as i, normalizeClass as h, toDisplayString as c, createElementVNode as t, renderSlot as d, pushScopeId as N, popScopeId as E, createTextVNode as Y, ref as C, resolveDirective as pe, withDirectives as G, Fragment as V, renderList as P, vShow as W, normalizeProps as H, guardReactiveProps as R, toRefs as Ie, mergeProps as F, createVNode as I, Transition as Ce, withCtx as k, withModifiers as ue, createBlock as T, createCommentVNode as _, watchEffect as me, withKeys as Te, useSlots as qe, normalizeStyle as Q, isRef as x, unref as y, onMounted as fe, watch as X, onUnmounted as Ae } from "vue";
2
- const Le = ["aria-label"], De = /* @__PURE__ */ b({
3
- __name: "button",
4
- props: {
5
- variant: { default: "primary" },
6
- ariaLabel: { default: "Button" },
7
- buttonText: { default: "" }
8
- },
9
- setup(e) {
10
- const a = {
11
- primary: "primary",
12
- primaryDark: "primary-dark",
13
- secondary: "secondary",
14
- close: "close",
15
- next: "next",
16
- previous: "previous"
17
- }, r = e, l = q(() => a[r.variant]);
18
- return (o, u) => (s(), i("button", {
19
- class: h(["button", "button--" + l.value]),
20
- "aria-label": o.ariaLabel
21
- }, c(l.value === "close" ? "" : o.buttonText), 11, Le));
22
- }
23
- }), g = (e, a) => {
24
- const r = e.__vccOpts || e;
25
- for (const [l, o] of a)
26
- r[l] = o;
27
- return r;
28
- }, ie = /* @__PURE__ */ g(De, [["__scopeId", "data-v-f61b579c"]]), Ve = (e) => (N("data-v-d8d77aaf"), e = e(), E(), e), Pe = ["id", "name", "value", "disabled", "required", "checked"], Fe = ["for"], Me = /* @__PURE__ */ Ve(() => /* @__PURE__ */ t("span", { class: "checkmark" }, null, -1)), Oe = /* @__PURE__ */ b({
29
- __name: "checkbox",
30
- props: {
31
- name: { default: "checkbox" },
32
- value: { type: [String, Number, Boolean], default: "value" },
33
- disabled: { type: Boolean, default: !1 },
34
- id: { default: "checkbox" },
35
- required: { type: Boolean, default: !1 },
36
- checked: { type: Boolean, default: !1 }
37
- },
38
- emits: ["input"],
39
- setup(e, { emit: a }) {
40
- const r = a, l = (o) => {
41
- const u = o.target;
42
- r("input", u.checked);
43
- };
44
- return (o, u) => (s(), i("div", {
45
- class: h(["checkbox__wrapper", o.disabled ? "disabled" : ""])
46
- }, [
47
- t("input", {
48
- id: o.id,
49
- type: "checkbox",
50
- name: o.name,
51
- value: o.value,
52
- disabled: o.disabled,
53
- required: o.required,
54
- checked: o.checked,
55
- class: "checkbox__checkbox",
56
- onChange: l
57
- }, null, 40, Pe),
58
- t("label", {
59
- for: o.id,
60
- class: h(["checkbox__label", o.required ? "required" : ""])
61
- }, [
62
- Me,
63
- d(o.$slots, "default", {}, void 0, !0)
64
- ], 10, Fe)
65
- ], 2));
66
- }
67
- }), ve = /* @__PURE__ */ g(Oe, [["__scopeId", "data-v-d8d77aaf"]]), ze = (e) => (N("data-v-2e1e44c1"), e = e(), E(), e), He = ["aria-label"], Re = /* @__PURE__ */ ze(() => /* @__PURE__ */ t("img", {
68
- src: "https://a.storyblok.com/f/230581/9x9/e4fb715dc9/close.svg?cv=1695125714598",
69
- alt: "close",
70
- class: "close-icon"
71
- }, null, -1)), Ne = /* @__PURE__ */ b({
72
- __name: "chip",
73
- props: {
74
- text: { default: "" }
75
- },
76
- emits: ["remove-chip"],
77
- setup(e) {
78
- const a = e, r = q(() => `Chip: ${a.text}`);
79
- return (l, o) => (s(), i("div", {
80
- class: "chip__wrapper",
81
- onClick: o[0] || (o[0] = (u) => l.$emit("remove-chip"))
82
- }, [
83
- t("span", {
84
- class: "chip",
85
- "aria-label": r.value
86
- }, [
87
- Y(c(l.text) + " ", 1),
88
- Re
89
- ], 8, He)
90
- ]));
91
- }
92
- }), Ee = /* @__PURE__ */ g(Ne, [["__scopeId", "data-v-2e1e44c1"]]), je = ["value"], Ue = ["id"], Ge = { class: "listbox__dropdown" }, Ke = ["id", "aria-labelledby", "aria-disabled"], Je = ["aria-labelledby", "aria-activedescendant"], We = ["aria-selected", "data-value"], Ye = /* @__PURE__ */ b({
93
- __name: "dropdown",
94
- props: {
95
- modelValue: {},
96
- label: {},
97
- options: {},
98
- name: {},
99
- placeholder: { default: "Choose a value" },
100
- showLabel: { type: Boolean, default: !1 },
101
- required: { type: Boolean, default: !1 },
102
- disabled: { type: Boolean, default: !1 },
103
- variant: { default: "primary" }
104
- },
105
- emits: ["update:modelValue"],
106
- setup(e, { emit: a }) {
107
- const r = {
108
- primary: "dropdown-dark-bg-primary",
109
- dark: "dropdown-dark dropdown-dark-bg-dark"
110
- }, l = e, o = q(() => r[l.variant]), u = C(null), p = C(null), n = C([]), v = C(0), f = C(""), $ = C(!0), B = C(0), ae = a, oe = q(() => {
111
- const m = l.options.find(
112
- (S) => S.value === l.modelValue
113
- );
114
- return m && m.label;
115
- });
116
- function ne(m) {
117
- ae("update:modelValue", m);
118
- }
119
- function de(m) {
120
- var L;
121
- const S = m.target;
122
- S.getAttribute("role") === "option" && (J(S), se(), (L = u.value) == null || L.focus());
123
- }
124
- function K(m) {
125
- var L;
126
- const S = m.key;
127
- switch (S) {
128
- case "ArrowUp":
129
- case "ArrowDown": {
130
- m.preventDefault();
131
- const D = l.options.findIndex(
132
- (Z) => Z.value === l.modelValue
133
- );
134
- let U = D ? n.value[D] : n.value[0];
135
- S === "ArrowUp" ? D - 1 >= 0 && (U = n.value[D - 1]) : D + 1 <= l.options.length && (U = n.value[D + 1]), U && J(U);
136
- break;
137
- }
138
- case "Home":
139
- case "PageUp":
140
- m.preventDefault(), z();
141
- break;
142
- case "End":
143
- case "PageDown":
144
- m.preventDefault(), we();
145
- break;
146
- case "Enter":
147
- case "Escape":
148
- m.preventDefault(), se(), (L = u.value) == null || L.focus();
149
- break;
150
- default: {
151
- const D = j(S);
152
- D && J(D);
153
- break;
154
- }
155
- }
156
- }
157
- function le(m) {
158
- if (!l.disabled)
159
- switch (m.key) {
160
- case "ArrowUp":
161
- case "ArrowDown":
162
- m.preventDefault(), _e(), K(m);
163
- break;
164
- }
165
- }
166
- function ce(m) {
167
- m && m.removeAttribute("aria-selected");
168
- }
169
- function w() {
170
- v.value && (clearTimeout(v.value), v.value = 0), v.value = setTimeout(() => {
171
- f.value = "", v.value = 0;
172
- }, 500);
173
- }
174
- function j(m) {
175
- let S = "";
176
- (f.value === "" || S !== m) && (B.value = l.options.findIndex(
177
- (D) => D.value === l.modelValue
178
- )), f.value = S === m ? m : f.value + m, S = m, w();
179
- let L = O(
180
- B.value + 1,
181
- l.options.length
182
- );
183
- return !L && f.value.length === 1 && (L = O(0, B.value)), B.value = (B.value + 1) % l.options.length, L;
184
- }
185
- function O(m, S) {
186
- for (let L = m; L < S; L++)
187
- if (l.options[L].label && l.options[L].label.toUpperCase().indexOf(f.value.toUpperCase()) === 0)
188
- return n.value[L];
189
- return null;
190
- }
191
- function z() {
192
- J(n.value[0]);
193
- }
194
- function J(m) {
195
- var L, D;
196
- const S = m.getAttribute("data-value");
197
- if (l.modelValue) {
198
- const U = l.options.findIndex(
199
- (Se) => Se.value === l.modelValue
200
- ), Z = n.value[U];
201
- ce(Z);
202
- }
203
- if (m.setAttribute("aria-selected", "true"), (L = p.value) == null || L.setAttribute(
204
- "aria-activedescendant",
205
- S || ""
206
- ), ne(S || ""), p.value && p.value.scrollHeight > p.value.clientHeight) {
207
- const U = p.value.clientHeight + p.value.scrollTop, Z = m.offsetTop + m.offsetHeight;
208
- Z > U ? p.value.scrollTop = Z - ((D = p.value) == null ? void 0 : D.clientHeight) : m.offsetTop < p.value.scrollTop && (p.value.scrollTop = m.offsetTop);
209
- }
210
- }
211
- function we() {
212
- var S;
213
- const m = (S = n.value) == null ? void 0 : S[l.options.length - 1];
214
- J(m);
215
- }
216
- function se() {
217
- var m;
218
- $.value = !0, (m = u.value) == null || m.removeAttribute("aria-expanded");
219
- }
220
- function _e() {
221
- var m, S;
222
- $.value = !1, (m = u.value) == null || m.setAttribute("aria-expanded", "true"), (S = p.value) == null || S.focus();
223
- }
224
- function Be() {
225
- l.disabled || ($.value ? _e() : se());
226
- }
227
- return (m, S) => {
228
- const L = pe("click-outside");
229
- return s(), i("div", {
230
- ref: "listbox",
231
- class: "listbox__wrapper",
232
- value: m.modelValue
233
- }, [
234
- t("label", {
235
- id: `${m.name}-label`,
236
- class: h([{
237
- "listbox__label--visually-hidden": !m.showLabel,
238
- "is-disabled": m.disabled,
239
- "is-required": m.required
240
- }, "listbox__label"])
241
- }, c(m.label), 11, Ue),
242
- G((s(), i("div", Ge, [
243
- t("button", {
244
- id: `${m.name}-button-label`,
245
- ref_key: "listboxButton",
246
- ref: u,
247
- "aria-labelledby": `${m.name}-label ${m.name}-button-label`,
248
- type: "button",
249
- "aria-haspopup": "listbox",
250
- "aria-disabled": m.disabled,
251
- class: h(["listbox__button", o.value]),
252
- onClick: Be,
253
- onKeydown: le
254
- }, c(m.modelValue ? oe.value : m.placeholder), 43, Ke),
255
- G(t("ul", {
256
- ref_key: "listboxNode",
257
- ref: p,
258
- "aria-labelledby": `${m.name}-label`,
259
- "aria-activedescendant": m.modelValue,
260
- tabindex: "0",
261
- role: "listbox",
262
- class: "listbox__list",
263
- onKeydown: K,
264
- onClick: de
265
- }, [
266
- (s(!0), i(V, null, P(m.options, (D, U) => (s(), i("li", {
267
- key: `${m.name}-option-${U}`,
268
- ref_for: !0,
269
- ref_key: "listboxOptions",
270
- ref: n,
271
- "aria-selected": D.value === m.modelValue,
272
- "data-value": D.value,
273
- class: "listbox__option",
274
- role: "option"
275
- }, c(D.label), 9, We))), 128))
276
- ], 40, Je), [
277
- [W, !$.value]
278
- ])
279
- ])), [
280
- [L, se]
281
- ])
282
- ], 8, je);
283
- };
284
- }
285
- }), Qe = /* @__PURE__ */ g(Ye, [["__scopeId", "data-v-a17afd8c"]]), Ze = { class: "image__wrapper" }, Xe = /* @__PURE__ */ b({
286
- __name: "image",
287
- props: {
288
- src: { default: void 0 },
289
- srcset: { default: void 0 },
290
- sizes: { default: void 0 },
291
- alt: { default: void 0 },
292
- width: { default: void 0 },
293
- height: { default: "auto" },
294
- loading: { default: "auto" }
295
- },
296
- setup(e) {
297
- return (a, r) => (s(), i("div", Ze, [
298
- d(a.$slots, "default", H(R(a.$attrs)))
299
- ]));
300
- }
301
- }), M = /* @__PURE__ */ g(Xe, [["__scopeId", "data-v-4f7fe350"]]), xe = { class: "label__wrapper" }, et = ["aria-label", "label-dark"], tt = /* @__PURE__ */ b({
302
- __name: "label",
303
- props: {
304
- text: {},
305
- labelDark: { type: Boolean, default: !1 }
306
- },
307
- setup(e) {
308
- const a = e, r = q(() => `Label: ${a.text}`);
309
- return (l, o) => (s(), i("div", xe, [
310
- t("span", {
311
- "aria-label": r.value,
312
- "label-dark": l.labelDark,
313
- class: h(l.labelDark ? "label--dark" : "label--light")
314
- }, c(l.text), 11, et)
315
- ]));
316
- }
317
- }), ee = /* @__PURE__ */ g(tt, [["__scopeId", "data-v-7d9d3a8a"]]), at = { class: "link__wrapper" }, A = /* @__PURE__ */ b({
318
- __name: "link",
319
- props: {
320
- linkType: { default: "regular" },
321
- arrow: { type: Boolean, default: !1 },
322
- underline: { default: "false" },
323
- disabled: { type: Boolean, default: !1 }
324
- },
325
- setup(e) {
326
- const a = {
327
- primary: "mir-link--btn button button--primary",
328
- primary_dark: "mir-link--btn button button--primary-dark",
329
- secondary: "mir-link--btn button button--secondary",
330
- secondary_dark: "mir-link--btn button button--secondary-dark",
331
- regular: "regular-link",
332
- regular_dark: "regular-link-dark",
333
- regular_light: "regular-link-light",
334
- regular_blue: "regular-link-blue"
335
- }, r = {
336
- hover: "underline-hover",
337
- true: "add-underline",
338
- false: "remove-underline"
339
- }, l = e, o = q(() => a[l.linkType]), u = q(() => r[l.underline]), p = q(() => {
340
- const { ...n } = Ie(l);
341
- return n;
342
- });
343
- return (n, v) => (s(), i("div", at, [
344
- t("div", F(p.value, {
345
- class: ["mir-link", [
346
- o.value,
347
- n.disabled ? "disabled" : "",
348
- u.value,
349
- n.arrow ? "link-arrow" : ""
350
- ]]
351
- }), [
352
- d(n.$slots, "default")
353
- ], 16)
354
- ]));
355
- }
356
- }), ot = (e) => (N("data-v-60c6ff7e"), e = e(), E(), e), lt = ["id", "name", "value", "checked", "disabled", "required"], st = ["for"], it = /* @__PURE__ */ ot(() => /* @__PURE__ */ t("span", { class: "radiomark" }, null, -1)), rt = /* @__PURE__ */ b({
357
- __name: "radio-button",
358
- props: {
359
- name: { default: "radio" },
360
- value: { type: [String, Number, Boolean], default: "value" },
361
- checked: { type: Boolean, default: !1 },
362
- disabled: { type: Boolean, default: !1 },
363
- id: { default: "radio" },
364
- required: { type: Boolean, default: !1 }
365
- },
366
- emits: ["input"],
367
- setup(e, { emit: a }) {
368
- const r = a, l = (o) => {
369
- const u = o.target;
370
- r("input", u.checked);
371
- };
372
- return (o, u) => (s(), i("div", {
373
- class: h(["radio__wrapper", o.disabled ? "disabled" : ""])
374
- }, [
375
- t("input", {
376
- id: o.id,
377
- type: "radio",
378
- name: o.name,
379
- value: o.value,
380
- checked: o.checked,
381
- disabled: o.disabled,
382
- required: o.required,
383
- class: "radio__radio",
384
- onChange: l
385
- }, null, 40, lt),
386
- t("label", {
387
- for: o.id,
388
- class: h(["radio__label", o.required ? "required" : ""])
389
- }, [
390
- it,
391
- d(o.$slots, "default", {}, void 0, !0)
392
- ], 10, st)
393
- ], 2));
394
- }
395
- }), nt = /* @__PURE__ */ g(rt, [["__scopeId", "data-v-60c6ff7e"]]), dt = { class: "select__wrapper" }, ct = ["for"], ut = ["id", "disabled", "name", "value"], _t = ["value"], ht = /* @__PURE__ */ b({
396
- __name: "select",
397
- props: {
398
- id: {},
399
- name: {},
400
- options: {},
401
- modelValue: {},
402
- label: {},
403
- required: { type: Boolean, default: !1 },
404
- disabled: { type: Boolean, default: !1 }
405
- },
406
- emits: ["update:modelValue"],
407
- setup(e) {
408
- return (a, r) => (s(), i("div", dt, [
409
- t("label", {
410
- for: a.id,
411
- class: h([a.required ? "required" : "", a.disabled ? "disabled" : ""])
412
- }, c(a.label), 11, ct),
413
- t("select", {
414
- id: a.id,
415
- class: h(a.disabled ? "disabled" : ""),
416
- disabled: a.disabled,
417
- name: a.name,
418
- value: a.modelValue,
419
- onChange: r[0] || (r[0] = (l) => {
420
- a.$emit("update:modelValue", l.target.value), l.target.blur();
421
- })
422
- }, [
423
- (s(!0), i(V, null, P(a.options, (l) => (s(), i("option", {
424
- key: l.value,
425
- value: l.value
426
- }, c(l.text), 9, _t))), 128))
427
- ], 42, ut)
428
- ]));
429
- }
430
- }), pt = /* @__PURE__ */ g(ht, [["__scopeId", "data-v-d5c46463"]]), mt = { class: "modal__wrapper" }, ft = /* @__PURE__ */ b({
431
- __name: "modal",
432
- props: {
433
- show: { type: Boolean, default: !1 },
434
- searchBar: { type: Boolean, default: !1 }
435
- },
436
- emits: ["update:show"],
437
- setup(e, { emit: a }) {
438
- const r = e, l = a, o = () => {
439
- l("update:show", !r.show);
440
- };
441
- return (u, p) => (s(), i("div", mt, [
442
- I(Ce, {
443
- duration: 300,
444
- name: "nested"
445
- }, {
446
- default: k(() => [
447
- G(t("dialog", {
448
- class: h(["overlay", u.searchBar ? "overlay-search" : "overlay-default"]),
449
- ariaLabel: "modal",
450
- role: "dialog",
451
- onClick: o
452
- }, [
453
- t("div", {
454
- id: "modal",
455
- class: h([u.searchBar ? "search" : ""]),
456
- onClick: p[0] || (p[0] = ue(() => {
457
- }, ["stop"]))
458
- }, [
459
- t("div", null, [
460
- u.searchBar ? _("", !0) : (s(), T(ie, {
461
- key: 0,
462
- "aria-label": "close",
463
- variant: "close",
464
- onClick: o
465
- }))
466
- ]),
467
- d(u.$slots, "default", {}, void 0, !0)
468
- ], 2)
469
- ], 2), [
470
- [W, u.show]
471
- ])
472
- ]),
473
- _: 3
474
- })
475
- ]));
476
- }
477
- }), ge = /* @__PURE__ */ g(ft, [["__scopeId", "data-v-0c868c23"]]), vt = { class: "slider__wrapper" }, gt = { class: "slider__label" }, bt = ["for"], kt = ["aria-label"], yt = { class: "slider__content" }, $t = ["id", "name", "value", "min", "step", "max"], wt = { class: "modal-information" }, Bt = /* @__PURE__ */ b({
478
- __name: "slider",
479
- props: {
480
- label: {},
481
- id: {},
482
- name: {},
483
- modelValue: {},
484
- min: {},
485
- max: {},
486
- step: { default: "1" },
487
- variant: { default: "light" },
488
- information: { default: "" },
489
- informationLabel: { default: "Additional information" }
490
- },
491
- emits: ["update:modelValue"],
492
- setup(e, { emit: a }) {
493
- const r = e, l = a, o = C(r.modelValue), u = C(), p = C(!1), n = (f, $, B) => (f - $) / (B - $) * 100, v = (f) => {
494
- var $;
495
- ($ = u.value) == null || $.style.setProperty("--ProgressPercent", `${f}%`);
496
- };
497
- return me(() => {
498
- if (u.value) {
499
- l("update:modelValue", o.value);
500
- const f = n(o.value, r.min, r.max);
501
- let $ = (50 - f) / 100;
502
- v(f + $);
503
- }
504
- }), (f, $) => (s(), i("div", null, [
505
- t("div", vt, [
506
- t("div", gt, [
507
- t("label", {
508
- for: f.id,
509
- class: h([f.variant, ""])
510
- }, c(f.label), 11, bt),
511
- f.information ? (s(), i("i", {
512
- key: 0,
513
- role: "button",
514
- class: h([f.variant, "slider__information"]),
515
- "aria-label": f.informationLabel,
516
- tabindex: "0",
517
- "aria-haspopup": "dialog",
518
- onClick: $[0] || ($[0] = (B) => p.value = !p.value),
519
- onKeyup: $[1] || ($[1] = Te((B) => p.value = !p.value, ["enter"]))
520
- }, null, 42, kt)) : _("", !0)
521
- ]),
522
- t("div", yt, [
523
- t("span", {
524
- class: h([f.variant, "slider__minmax"])
525
- }, c(f.min), 3),
526
- t("input", {
527
- id: f.id,
528
- ref_key: "slider",
529
- ref: u,
530
- type: "range",
531
- name: f.name,
532
- value: f.modelValue,
533
- min: f.min,
534
- step: f.step,
535
- max: f.max,
536
- class: h(f.variant),
537
- onInput: $[2] || ($[2] = ({ target: B }) => o.value = parseFloat(B.value))
538
- }, null, 42, $t),
539
- t("span", {
540
- class: h([f.variant, "slider__minmax"])
541
- }, c(f.max), 3)
542
- ]),
543
- t("span", {
544
- class: h([f.variant, "slider__value"])
545
- }, c(f.modelValue), 3)
546
- ]),
547
- f.information ? (s(), T(ge, {
548
- key: 0,
549
- show: p.value,
550
- "onUpdate:show": $[3] || ($[3] = (B) => p.value = B)
551
- }, {
552
- default: k(() => [
553
- t("p", wt, c(f.information), 1)
554
- ]),
555
- _: 1
556
- }, 8, ["show"])) : _("", !0)
557
- ]));
558
- }
559
- }), St = /* @__PURE__ */ g(Bt, [["__scopeId", "data-v-24a83011"]]), It = { class: "textarea-wrapper" }, Ct = ["for"], Tt = ["id", "name", "placeholder", "required", "disabled", "maxlength", "value"], qt = { class: "textarea-info" }, At = { key: 0 }, Lt = /* @__PURE__ */ b({
560
- __name: "textarea",
561
- props: {
562
- id: { default: "" },
563
- name: { default: "" },
564
- placeholder: { default: "" },
565
- required: { type: Boolean, default: !1 },
566
- disabled: { type: Boolean, default: !1 },
567
- labelText: { default: "" },
568
- maxLength: { default: void 0 },
569
- modelValue: { default: void 0 }
570
- },
571
- emits: ["update:modelValue"],
572
- setup(e) {
573
- return (a, r) => (s(), i("div", It, [
574
- t("label", {
575
- for: a.id,
576
- class: h({ required: a.required })
577
- }, c(a.labelText) + c(a.required ? " *" : ""), 11, Ct),
578
- t("div", {
579
- class: h(
580
- a.modelValue !== void 0 && a.modelValue.length === a.maxLength ? "textarea-wrapper__inner" : ""
581
- )
582
- }, [
583
- t("textarea", {
584
- id: a.id,
585
- rows: "10",
586
- cols: "50",
587
- name: a.name,
588
- placeholder: a.placeholder,
589
- required: a.required,
590
- disabled: a.disabled,
591
- maxlength: a.maxLength,
592
- value: a.modelValue,
593
- class: h(
594
- a.modelValue !== void 0 && a.modelValue.length === a.maxLength ? "reached-meter-limit" : "border"
595
- ),
596
- onInput: r[0] || (r[0] = (l) => a.$emit("update:modelValue", l.target.value))
597
- }, null, 42, Tt)
598
- ], 2),
599
- t("div", qt, [
600
- t("div", null, [
601
- a.modelValue !== void 0 && a.modelValue.length === a.maxLength ? (s(), i("p", At, " Too many characters. Please make it shorter ")) : _("", !0)
602
- ]),
603
- t("p", {
604
- class: h(
605
- a.modelValue !== void 0 && a.modelValue.length === a.maxLength ? "reached-meter-limit-meter" : ""
606
- )
607
- }, c(a.maxLength !== void 0 && a.modelValue !== void 0 && a.maxLength - a.modelValue.length >= 0 ? a.modelValue.length : 0) + " / " + c(a.maxLength), 3)
608
- ])
609
- ]));
610
- }
611
- }), Dt = /* @__PURE__ */ g(Lt, [["__scopeId", "data-v-7ecd7bf5"]]), Vt = { class: "text-field__wrapper" }, Pt = ["for"], Ft = { key: 0 }, Mt = ["id", "type", "value", "placeholder", "required", "disabled", "name"], Ot = ["aria-expanded"], zt = ["id", "type", "value", "placeholder", "required", "disabled", "name"], Ht = {
612
- key: 2,
613
- class: "search"
614
- }, Rt = {
615
- key: 3,
616
- class: "errorMessage"
617
- }, Nt = {
618
- key: 4,
619
- class: "helperText"
620
- }, Et = /* @__PURE__ */ b({
621
- __name: "text-field",
622
- props: {
623
- type: { default: "text" },
624
- fieldName: { default: "" },
625
- modelValue: {},
626
- placeholder: { default: "" },
627
- label: { default: "" },
628
- id: {},
629
- disabled: { type: Boolean, default: !1 },
630
- required: { type: Boolean, default: !1 },
631
- invalid: { type: Boolean, default: !1 },
632
- errorMessage: { default: "" },
633
- helperText: { default: "" },
634
- search: { type: Boolean, default: !1 },
635
- valid: { type: Boolean, default: !1 }
636
- },
637
- emits: ["update:modelValue"],
638
- setup(e) {
639
- const a = {
640
- text: "text",
641
- email: "email",
642
- password: "password",
643
- number: "number",
644
- tel: "tel",
645
- url: "url",
646
- search: "search"
647
- }, r = e, l = q(() => a[r.type]), o = C(!0), u = q(
648
- () => o.value ? "showPassword" : "hidePassword"
649
- ), p = q(
650
- () => o.value ? "password" : "text"
651
- );
652
- return (n, v) => (s(), i("div", Vt, [
653
- t("label", {
654
- for: n.id,
655
- class: h([
656
- n.required ? "required" : "",
657
- n.disabled ? "disabled" : "",
658
- n.search ? "search" : ""
659
- ])
660
- }, c(n.label), 11, Pt),
661
- l.value === "password" ? (s(), i("div", Ft, [
662
- t("input", {
663
- id: n.id,
664
- ref: "passwordField",
665
- type: p.value,
666
- value: n.modelValue,
667
- placeholder: n.placeholder,
668
- required: n.required,
669
- disabled: n.disabled,
670
- name: n.fieldName,
671
- onInput: v[0] || (v[0] = (f) => n.$emit("update:modelValue", f.target.value))
672
- }, null, 40, Mt),
673
- t("i", {
674
- role: "button",
675
- class: h([u.value]),
676
- "aria-controls": "password",
677
- "aria-expanded": !o.value,
678
- onClick: v[1] || (v[1] = (f) => o.value = !o.value)
679
- }, null, 10, Ot)
680
- ])) : (s(), i("input", {
681
- key: 1,
682
- id: n.id,
683
- ref: "textField",
684
- type: l.value,
685
- value: n.modelValue,
686
- placeholder: n.placeholder,
687
- required: n.required,
688
- class: h([
689
- n.invalid ? "invalid" : "",
690
- n.valid ? "valid" : "",
691
- n.search ? "search" : ""
692
- ]),
693
- disabled: n.disabled,
694
- name: n.fieldName,
695
- onInput: v[2] || (v[2] = (f) => n.$emit("update:modelValue", f.target.value))
696
- }, null, 42, zt)),
697
- n.search ? (s(), i("button", Ht)) : _("", !0),
698
- n.errorMessage ? (s(), i("strong", Rt, c(n.errorMessage), 1)) : _("", !0),
699
- n.helperText ? (s(), i("span", Nt, c(n.helperText), 1)) : _("", !0)
700
- ]));
701
- }
702
- }), jt = /* @__PURE__ */ g(Et, [["__scopeId", "data-v-1d92973b"]]), Ut = { class: "video__wrapper" }, Gt = ["aria-label", "controls", "poster", "width", "height", "autoplay", "loop", "muted", "src"], Kt = ["src", "aria-label", "title", "width", "height"], Jt = /* @__PURE__ */ b({
703
- __name: "video",
704
- props: {
705
- play: { type: Boolean, default: !1 },
706
- src: {},
707
- localVideo: { type: Boolean, default: !1 },
708
- ariaLabel: { default: "" },
709
- title: { default: "" },
710
- controls: { type: Boolean, default: !0 },
711
- poster: { default: "" },
712
- width: { default: "100%" },
713
- height: { default: "auto" },
714
- autoplay: { type: Boolean, default: !1 },
715
- loop: { type: Boolean, default: !1 },
716
- muted: { type: Boolean, default: !1 }
717
- },
718
- setup(e, { expose: a }) {
719
- const r = e;
720
- let l = C(null);
721
- return me(() => {
722
- l.value && (r.play ? l.value.play() : r.play || l.value.pause());
723
- }), a({
724
- resetVideo: () => {
725
- l.value && (l.value.currentTime = 0, l.value.play());
726
- }
727
- }), (u, p) => (s(), i("div", Ut, [
728
- u.localVideo ? (s(), i("video", {
729
- key: 0,
730
- ref_key: "videoRef",
731
- ref: l,
732
- "aria-label": u.ariaLabel,
733
- controls: u.controls,
734
- poster: u.poster,
735
- width: u.width,
736
- height: u.height,
737
- autoplay: u.autoplay,
738
- loop: u.loop,
739
- muted: u.muted,
740
- type: "video/mp4",
741
- playsinline: "",
742
- src: u.src
743
- }, null, 8, Gt)) : (s(), i("iframe", {
744
- key: 1,
745
- src: u.src,
746
- "aria-label": u.ariaLabel,
747
- title: u.title,
748
- width: u.width,
749
- height: u.height,
750
- frameborder: "0",
751
- allow: "autoplay; fullscreen",
752
- allowfullscreen: ""
753
- }, null, 8, Kt))
754
- ]));
755
- }
756
- }), te = /* @__PURE__ */ g(Jt, [["__scopeId", "data-v-c6a0feb6"]]), Wt = { class: "address__wrapper" }, Yt = { class: "address__content" }, Qt = { class: "address__flag" }, Zt = { class: "address__address" }, Xt = { class: "address__name" }, xt = { key: 0 }, ea = { class: "address__contact" }, ta = ["href"], aa = ["href"], oa = ["href"], la = /* @__PURE__ */ b({
757
- __name: "address",
758
- props: {
759
- name: {},
760
- company: {},
761
- addressLine1: {},
762
- addressLine2: {},
763
- addressLine3: { default: void 0 },
764
- website: { default: void 0 },
765
- phoneNumbers: {},
766
- email: {}
767
- },
768
- setup(e) {
769
- return (a, r) => (s(), i("div", Wt, [
770
- t("div", Yt, [
771
- t("div", Qt, [
772
- d(a.$slots, "address-flag", {}, void 0, !0)
773
- ]),
774
- t("div", Zt, [
775
- t("p", Xt, c(a.name), 1),
776
- t("p", null, c(a.company), 1),
777
- t("p", null, c(a.addressLine1), 1),
778
- t("p", null, c(a.addressLine2), 1),
779
- a.addressLine3 ? (s(), i("p", xt, c(a.addressLine3), 1)) : _("", !0)
780
- ]),
781
- t("div", ea, [
782
- a.website ? (s(), T(A, {
783
- key: 0,
784
- underline: "false",
785
- "link-type": "regular"
786
- }, {
787
- default: k(() => [
788
- t("a", {
789
- href: "https://" + a.website,
790
- class: "address__website"
791
- }, c(a.website), 9, ta)
792
- ]),
793
- _: 1
794
- })) : _("", !0),
795
- (s(!0), i(V, null, P(a.phoneNumbers, (l) => (s(), T(A, {
796
- key: l,
797
- underline: "false",
798
- "link-type": "regular"
799
- }, {
800
- default: k(() => [
801
- t("a", {
802
- href: "tel:" + l,
803
- class: "address__phone"
804
- }, c(l), 9, aa)
805
- ]),
806
- _: 2
807
- }, 1024))), 128)),
808
- t("a", {
809
- href: "mailto:" + a.email,
810
- class: "address__email"
811
- }, c(a.email), 9, oa)
812
- ])
813
- ])
814
- ]));
815
- }
816
- }), sa = /* @__PURE__ */ g(la, [["__scopeId", "data-v-6f5f6a44"]]), ia = (e) => (N("data-v-a44fd57d"), e = e(), E(), e), ra = { class: "bullet-list__wrapper" }, na = /* @__PURE__ */ ia(() => /* @__PURE__ */ t("i", { class: "checkmark" }, null, -1)), da = /* @__PURE__ */ b({
817
- __name: "bullet-list",
818
- props: {
819
- list: {
820
- type: Array,
821
- required: !0,
822
- validator(e) {
823
- return e.length <= 5;
824
- }
825
- },
826
- variant: {
827
- type: String,
828
- required: !1,
829
- default: "light",
830
- validator(e) {
831
- return ["light"].includes(e);
832
- }
833
- }
834
- },
835
- setup(e) {
836
- return (a, r) => (s(), i("div", ra, [
837
- t("div", {
838
- class: h(["bullet-list", e.variant])
839
- }, [
840
- t("ul", null, [
841
- (s(!0), i(V, null, P(e.list, (l) => (s(), i("li", { key: l }, [
842
- na,
843
- Y(" " + c(l), 1)
844
- ]))), 128))
845
- ])
846
- ], 2)
847
- ]));
848
- }
849
- }), ca = /* @__PURE__ */ g(da, [["__scopeId", "data-v-a44fd57d"]]), ua = { class: "card__wrapper" }, _a = { key: 2 }, ha = { key: 5 }, pa = /* @__PURE__ */ b({
850
- __name: "card",
851
- props: {
852
- variant: { default: "product" },
853
- theme: { default: "light" },
854
- linkType: { default: "link" },
855
- headline: { default: "" },
856
- paragraph: { default: "" },
857
- size: { default: "small" },
858
- mediaType: { default: "image" },
859
- orientation: { default: "horizontal" },
860
- srcSet: { default: "" },
861
- url: { default: "" },
862
- imgSrc: { default: "" },
863
- videoSrc: { default: "" },
864
- arialabel: { default: "" },
865
- poster: { default: "" },
866
- labelText: { default: "" },
867
- alt: { default: "" }
868
- },
869
- emits: ["clicked"],
870
- setup(e) {
871
- const a = qe();
872
- let r = C(!1);
873
- const l = {
874
- xsmall: {
875
- class: "card--xsmall",
876
- width: "241",
877
- height: "135"
878
- },
879
- small: {
880
- class: "card--small",
881
- width: "298",
882
- height: "186"
883
- },
884
- medium: {
885
- class: "card--medium",
886
- width: "432",
887
- height: "243"
888
- },
889
- large: {
890
- class: "card--large",
891
- width: "596",
892
- height: "335"
893
- }
894
- }, o = e, u = q(() => l[o.size]), p = q(() => o.variant === "article" || o.variant === "product" ? `card--${o.size}-${o.variant}` : `card--${o.variant}`);
895
- return (n, v) => (s(), i("div", ua, [
896
- t("div", {
897
- class: h(["card", [
898
- n.theme === "dark" ? "card--dark" : "card--light",
899
- n.orientation === "vertical" ? "vertical" : "horizontal",
900
- u.value.class,
901
- p.value,
902
- n.variant === "product" ? "card--product" : "card--article"
903
- ]]),
904
- style: Q([n.variant === "product" ? "font-weight: 700" : "font-weight: 300"]),
905
- onMouseover: v[0] || (v[0] = (f) => x(r) ? r.value = !0 : r = !0),
906
- onMouseout: v[1] || (v[1] = (f) => x(r) ? r.value = !1 : r = !1),
907
- onFocus: v[2] || (v[2] = (f) => x(r) ? r.value = !0 : r = !0),
908
- onBlur: v[3] || (v[3] = (f) => x(r) ? r.value = !1 : r = !1)
909
- }, [
910
- n.mediaType === "image" ? (s(), T(M, { key: 0 }, {
911
- default: k(() => [
912
- d(n.$slots, "card-image", F({
913
- src: n.imgSrc,
914
- width: "596",
915
- height: "335",
916
- alt: n.alt,
917
- loading: "auto",
918
- sizes: "(min-width: 581px) 582px, 100vw"
919
- }, { srcset: n.srcSet }))
920
- ]),
921
- _: 3
922
- })) : (s(), i("div", {
923
- key: 1,
924
- class: h(["video-card__wrapper", y(r) === !0 ? "vimeoPlaying" : ""])
925
- }, [
926
- I(te, {
927
- play: y(r),
928
- "local-video": !0,
929
- src: n.videoSrc,
930
- "aria-label": n.arialabel,
931
- controls: !1,
932
- poster: n.imgSrc,
933
- width: u.value.width,
934
- height: u.value.height,
935
- autoplay: !0,
936
- loop: !0,
937
- muted: !0
938
- }, null, 8, ["play", "src", "aria-label", "poster", "width", "height"])
939
- ], 2)),
940
- y(a)["card-label"] ? (s(), i("div", _a, [
941
- d(n.$slots, "card-label")
942
- ])) : _("", !0),
943
- n.variant === "product" ? (s(), i("div", {
944
- key: 3,
945
- class: h([
946
- "card__headline",
947
- n.theme === "dark" ? "regular-dark" : "regular-blue"
948
- ]),
949
- style: { "font-weight": "700" }
950
- }, c(n.headline), 3)) : (s(), i("div", {
951
- key: 4,
952
- class: h([
953
- "card__headline",
954
- n.theme === "dark" ? "regular-dark" : "regular-dark-blue"
955
- ])
956
- }, c(n.headline), 3)),
957
- n.variant === "product" ? (s(), i("p", ha, c(n.paragraph), 1)) : _("", !0)
958
- ], 38)
959
- ]));
960
- }
961
- }), ma = /* @__PURE__ */ g(pa, [["__scopeId", "data-v-364d219c"]]), fa = { class: "column-card__content" }, va = { class: "column-card__headline" }, ga = { class: "column-card__bodytext" }, ba = /* @__PURE__ */ b({
962
- __name: "column-card",
963
- props: {
964
- headline: {},
965
- bodytext: {},
966
- image: {},
967
- imageFit: { type: Boolean },
968
- bgColor: { default: "white" },
969
- linkText: { default: "" },
970
- linkType: { default: "link" }
971
- },
972
- setup(e) {
973
- const a = {
974
- white: "",
975
- light: "column__wrapper--light",
976
- dark: "column__wrapper--dark mirsaic--dark"
977
- }, r = e, l = q(
978
- () => a[r.bgColor || "white"]
979
- );
980
- return (o, u) => (s(), i("div", {
981
- class: h(["column-card", l.value])
982
- }, [
983
- t("div", fa, [
984
- o.image.filename ? (s(), i("div", {
985
- key: 0,
986
- class: h(["column-card__image", { cover: o.imageFit, contain: !o.imageFit }])
987
- }, [
988
- d(o.$slots, "column-card-image", H(R({
989
- src: o.image.filename,
990
- alt: o.image.alt
991
- })), void 0, !0)
992
- ], 2)) : _("", !0),
993
- t("h3", va, c(o.headline), 1),
994
- t("div", ga, [
995
- d(o.$slots, "column-card-body", {}, void 0, !0)
996
- ]),
997
- o.linkType === "link" ? (s(), T(A, {
998
- key: 1,
999
- "link-type": o.bgColor === "dark" ? "regular_dark" : (o.bgColor === "light", "regular_light"),
1000
- arrow: ""
1001
- }, {
1002
- default: k(() => [
1003
- d(o.$slots, "column-link", {}, void 0, !0)
1004
- ]),
1005
- _: 3
1006
- }, 8, ["link-type"])) : _("", !0)
1007
- ])
1008
- ], 2));
1009
- }
1010
- }), be = /* @__PURE__ */ g(ba, [["__scopeId", "data-v-a505d05e"]]), ka = (e) => (N("data-v-e4a362a9"), e = e(), E(), e), ya = { class: "event__wrapper" }, $a = { class: "event__headline" }, wa = { class: "event__date-location" }, Ba = /* @__PURE__ */ ka(() => /* @__PURE__ */ t("br", null, null, -1)), Sa = {
1011
- key: 0,
1012
- class: "event__info"
1013
- }, Ia = { class: "event__exhibitor" }, Ca = /* @__PURE__ */ b({
1014
- __name: "event-card",
1015
- props: {
1016
- eventType: {
1017
- type: String,
1018
- required: !0
1019
- },
1020
- headline: {
1021
- type: String,
1022
- required: !0
1023
- },
1024
- dateTime: {
1025
- type: String,
1026
- required: !0
1027
- },
1028
- location: {
1029
- type: String,
1030
- required: !0
1031
- },
1032
- exhibitor: {
1033
- type: String,
1034
- required: !0
1035
- },
1036
- info: {
1037
- type: String,
1038
- required: !1,
1039
- default: null
1040
- }
1041
- },
1042
- setup(e) {
1043
- return (a, r) => (s(), i("div", ya, [
1044
- I(ee, {
1045
- "label-dark": !1,
1046
- text: e.eventType ? e.eventType : ""
1047
- }, null, 8, ["text"]),
1048
- t("div", $a, c(e.headline), 1),
1049
- t("div", wa, [
1050
- Y(c(e.dateTime) + " ", 1),
1051
- Ba,
1052
- e.info ? (s(), i("div", Sa, c(e.info), 1)) : _("", !0),
1053
- Y(" " + c(e.location), 1)
1054
- ]),
1055
- t("div", Ia, c(e.exhibitor), 1)
1056
- ]));
1057
- }
1058
- }), Ta = /* @__PURE__ */ g(Ca, [["__scopeId", "data-v-e4a362a9"]]), re = (e) => (N("data-v-93ee37aa"), e = e(), E(), e), qa = { class: "flashcard-side flashcard-front" }, Aa = {
1059
- key: 0,
1060
- class: "content"
1061
- }, La = { key: 0 }, Da = {
1062
- key: 1,
1063
- class: "flashcard-body"
1064
- }, Va = /* @__PURE__ */ re(() => /* @__PURE__ */ t("img", {
1065
- class: "flip-icon",
1066
- src: "https://a.storyblok.com/f/230581/22x21/23d87eccc4/icon_reverse_blue.svg"
1067
- }, null, -1)), Pa = /* @__PURE__ */ re(() => /* @__PURE__ */ t("img", {
1068
- class: "flip-icon",
1069
- src: "https://a.storyblok.com/f/230581/22x21/23d87eccc4/icon_reverse_blue.svg"
1070
- }, null, -1)), Fa = {
1071
- key: 0,
1072
- class: "content"
1073
- }, Ma = { key: 0 }, Oa = {
1074
- key: 1,
1075
- class: "flashcard-body"
1076
- }, za = /* @__PURE__ */ re(() => /* @__PURE__ */ t("img", {
1077
- class: "flip-icon",
1078
- src: "https://a.storyblok.com/f/230581/22x22/50edea5341/icon_reverse_white.svg"
1079
- }, null, -1)), Ha = /* @__PURE__ */ re(() => /* @__PURE__ */ t("img", {
1080
- class: "flip-icon",
1081
- src: "https://a.storyblok.com/f/230581/22x22/50edea5341/icon_reverse_white.svg"
1082
- }, null, -1)), Ra = /* @__PURE__ */ b({
1083
- __name: "flashcard",
1084
- props: {
1085
- name: {},
1086
- bodytext: {},
1087
- image: {},
1088
- namebackside: {},
1089
- bodytextbackside: {},
1090
- imagebackside: {},
1091
- size: {},
1092
- imageFit: { type: Boolean },
1093
- imageFitBack: { type: Boolean }
1094
- },
1095
- setup(e) {
1096
- const a = C(!1);
1097
- function r() {
1098
- a.value = !a.value;
1099
- }
1100
- return (l, o) => {
1101
- var u, p, n, v, f, $;
1102
- return s(), i("div", {
1103
- class: "flashcard-container",
1104
- onClick: r
1105
- }, [
1106
- t("div", {
1107
- class: h(["flashcard", {
1108
- flipped: a.value,
1109
- "flashcard--sm": l.size === "sm",
1110
- "flashcard--md": l.size === "md",
1111
- "flashcard--lg": l.size === "lg"
1112
- }])
1113
- }, [
1114
- t("div", qa, [
1115
- l.name || ((u = l.bodytext) == null ? void 0 : u.length) > 0 ? (s(), i("div", Aa, [
1116
- l.name ? (s(), i("h3", La, c(l.name), 1)) : _("", !0),
1117
- l.bodytext ? (s(), i("div", Da, [
1118
- d(l.$slots, "flashcard-front-body", H(R({ bodytext: l.bodytext })), void 0, !0)
1119
- ])) : _("", !0),
1120
- Va
1121
- ])) : (s(), i("div", {
1122
- key: 1,
1123
- class: h(["flashcard-image", {
1124
- contain: l.imageFit,
1125
- cover: !l.imageFit
1126
- }])
1127
- }, [
1128
- d(l.$slots, "flashcard-front-image", H(R({ src: (p = l.image) == null ? void 0 : p.filename, alt: (n = l.image) == null ? void 0 : n.alt })), void 0, !0),
1129
- Pa
1130
- ], 2))
1131
- ]),
1132
- t("div", {
1133
- class: h([
1134
- "flashcard-side flashcard-back",
1135
- (v = l.imagebackside) != null && v.filename ? "flashcard-back--image" : "flashcard-back--no-image"
1136
- ])
1137
- }, [
1138
- l.namebackside || l.bodytextbackside.length > 0 ? (s(), i("div", Fa, [
1139
- l.namebackside ? (s(), i("h3", Ma, c(l.namebackside), 1)) : _("", !0),
1140
- l.bodytextbackside ? (s(), i("div", Oa, [
1141
- d(l.$slots, "flashcard-back-body", H(R({ bodytextbackside: l.bodytextbackside })), void 0, !0)
1142
- ])) : _("", !0),
1143
- za
1144
- ])) : (s(), i("div", {
1145
- key: 1,
1146
- class: h(["flashcard-image", {
1147
- contain: l.imageFitBack,
1148
- cover: !l.imageFitBack
1149
- }])
1150
- }, [
1151
- d(l.$slots, "flashcard-back-image", H(R({ src: (f = l.imagebackside) == null ? void 0 : f.filename, alt: ($ = l.imagebackside) == null ? void 0 : $.alt })), void 0, !0),
1152
- Ha
1153
- ], 2))
1154
- ], 2)
1155
- ], 2)
1156
- ]);
1157
- };
1158
- }
1159
- }), ke = /* @__PURE__ */ g(Ra, [["__scopeId", "data-v-93ee37aa"]]), Na = { class: "text__wrapper" }, Ea = { class: "text__headline" }, ja = { class: "text__paragraph" }, Ua = /* @__PURE__ */ b({
1160
- __name: "text-card",
1161
- props: {
1162
- label: {
1163
- type: String,
1164
- required: !0
1165
- },
1166
- headline: {
1167
- type: String,
1168
- required: !0
1169
- },
1170
- paragraph: {
1171
- type: String,
1172
- required: !0
1173
- }
1174
- },
1175
- setup(e) {
1176
- return (a, r) => (s(), i("div", Na, [
1177
- I(ee, {
1178
- "label-dark": !1,
1179
- text: e.label ? e.label : ""
1180
- }, null, 8, ["text"]),
1181
- t("div", Ea, c(e.headline), 1),
1182
- t("div", ja, [
1183
- t("p", null, c(e.paragraph), 1)
1184
- ])
1185
- ]));
1186
- }
1187
- }), Ga = /* @__PURE__ */ g(Ua, [["__scopeId", "data-v-ebdea819"]]), Ka = { class: "accordions" }, Ja = { class: "accordions__wrapper" }, Wa = { class: "accordion" }, Ya = ["onClick"], Qa = { class: "accordion__headline" }, Za = { class: "accordion__icon" }, Xa = {
1188
- key: 0,
1189
- src: "https://a.storyblok.com/f/230581/21x21/42c9c3b5ba/icon_add.svg"
1190
- }, xa = {
1191
- key: 1,
1192
- src: "https://a.storyblok.com/f/230581/22x21/adfe5d1742/icon_substract.svg"
1193
- }, eo = { class: "accordion__bodytext" }, to = /* @__PURE__ */ b({
1194
- __name: "accordion",
1195
- props: {
1196
- accordions: {}
1197
- },
1198
- setup(e) {
1199
- const a = C([]), r = (o) => {
1200
- const u = a.value.indexOf(o);
1201
- u > -1 ? a.value.splice(u, 1) : a.value.push(o);
1202
- }, l = (o) => a.value.includes(o);
1203
- return (o, u) => (s(), i("section", Ka, [
1204
- t("div", Ja, [
1205
- (s(!0), i(V, null, P(o.accordions, (p) => (s(), i("div", {
1206
- key: p._uid
1207
- }, [
1208
- t("div", Wa, [
1209
- t("div", {
1210
- class: "accordion__header",
1211
- onClick: (n) => r(p._uid)
1212
- }, [
1213
- t("h3", Qa, c(p.headline), 1),
1214
- t("span", Za, [
1215
- l(p._uid) ? (s(), i("img", xa)) : (s(), i("img", Xa))
1216
- ])
1217
- ], 8, Ya),
1218
- t("div", {
1219
- class: h(["accordion__content", { "accordion__content--reverse": p.imageFirst }]),
1220
- style: Q({
1221
- display: l(p._uid) ? "flex" : "none"
1222
- })
1223
- }, [
1224
- t("div", eo, [
1225
- d(o.$slots, "accordion-body", F({ ref_for: !0 }, { body: p.bodytext }), void 0, !0)
1226
- ]),
1227
- I(M, null, {
1228
- default: k(() => [
1229
- p.image ? d(o.$slots, "accordion-image", F({
1230
- key: 0,
1231
- ref_for: !0
1232
- }, {
1233
- src: p.image.filename,
1234
- alt: p.image.alt,
1235
- class: "accordion__image"
1236
- }), void 0, !0) : _("", !0)
1237
- ]),
1238
- _: 2
1239
- }, 1024)
1240
- ], 6)
1241
- ])
1242
- ]))), 128))
1243
- ])
1244
- ]));
1245
- }
1246
- }), ao = /* @__PURE__ */ g(to, [["__scopeId", "data-v-0e6f6da8"]]), oo = {
1247
- key: 0,
1248
- class: "card__content"
1249
- }, lo = { key: 0 }, so = { key: 1 }, io = { class: "card__cards" }, ro = /* @__PURE__ */ b({
1250
- __name: "card-display",
1251
- props: {
1252
- headline: {
1253
- type: String,
1254
- default: ""
1255
- },
1256
- paragraph: {
1257
- type: String,
1258
- default: ""
1259
- },
1260
- bgColor: {
1261
- type: String,
1262
- default: "white"
1263
- },
1264
- isBlock: {
1265
- type: Boolean,
1266
- default: !0
1267
- }
1268
- },
1269
- setup(e) {
1270
- return (a, r) => (s(), i("div", {
1271
- class: h([
1272
- "card-display",
1273
- e.bgColor === "blue" ? "card-display--blue" : "card-display--white"
1274
- ])
1275
- }, [
1276
- t("div", {
1277
- class: h([
1278
- "card-display__wrapper",
1279
- e.isBlock ? "card-display__wrapper--block" : "card-display__wrapper--inline"
1280
- ])
1281
- }, [
1282
- e.headline || e.paragraph ? (s(), i("div", oo, [
1283
- e.headline ? (s(), i("h2", lo, c(e.headline), 1)) : _("", !0),
1284
- e.paragraph ? (s(), i("p", so, c(e.paragraph), 1)) : _("", !0)
1285
- ])) : _("", !0),
1286
- t("div", io, [
1287
- d(a.$slots, "card-display-cards", {}, void 0, !0)
1288
- ])
1289
- ], 2)
1290
- ], 2));
1291
- }
1292
- }), no = /* @__PURE__ */ g(ro, [["__scopeId", "data-v-659726bd"]]), co = { class: "column-grid__top-section" }, uo = {
1293
- key: 0,
1294
- class: "column-grid__headline"
1295
- }, _o = {
1296
- key: 1,
1297
- class: "column-grid__bodytext"
1298
- }, ho = { class: "column-grid__teaser-list" }, po = /* @__PURE__ */ b({
1299
- __name: "column-grid",
1300
- props: {
1301
- headline: { default: "" },
1302
- bgColor: {},
1303
- bodytext: { default: "" },
1304
- linkText: { default: "" },
1305
- linkType: { default: "link" },
1306
- columns: {}
1307
- },
1308
- setup(e) {
1309
- return (a, r) => (s(), i("div", {
1310
- class: h([
1311
- "column-grid",
1312
- a.bgColor === "dark" ? "column-grid--dark" : a.bgColor === "light" ? "column-grid--light" : "column-grid--white"
1313
- ])
1314
- }, [
1315
- t("div", co, [
1316
- a.headline ? (s(), i("h2", uo, c(a.headline), 1)) : _("", !0),
1317
- a.bodytext ? (s(), i("div", _o, [
1318
- d(a.$slots, "column-grid-body", {}, void 0, !0),
1319
- a.linkType === "link" ? (s(), T(A, {
1320
- key: 0,
1321
- "link-type": a.bgColor === "dark" ? "regular_dark" : (a.bgColor === "light", "regular_light"),
1322
- arrow: ""
1323
- }, {
1324
- default: k(() => [
1325
- d(a.$slots, "column-grid-body-link", {}, void 0, !0)
1326
- ]),
1327
- _: 3
1328
- }, 8, ["link-type"])) : _("", !0)
1329
- ])) : _("", !0)
1330
- ]),
1331
- t("div", ho, [
1332
- (s(!0), i(V, null, P(a.columns, (l) => (s(), T(be, {
1333
- key: l._uid,
1334
- headline: l.headline,
1335
- bodytext: l.bodytext,
1336
- link: l.link,
1337
- "link-text": l.linkText,
1338
- image: l.image,
1339
- "image-fit": l.imageFit
1340
- }, {
1341
- "column-card-body": k(() => [
1342
- d(a.$slots, "column-card-body", F({ ref_for: !0 }, { body: l.bodytext }), void 0, !0)
1343
- ]),
1344
- "column-link": k(() => [
1345
- d(a.$slots, "column-link", F({ ref_for: !0 }, {
1346
- link: l.link,
1347
- linkText: l.linkText
1348
- }), void 0, !0)
1349
- ]),
1350
- "column-card-image": k(() => [
1351
- l.image ? d(a.$slots, "column-card-image", F({
1352
- key: 0,
1353
- ref_for: !0
1354
- }, {
1355
- src: l.image.filename,
1356
- alt: l.image.alt,
1357
- style: { "object-fit": l.imageFit ? "cover" : "contain" }
1358
- }), void 0, !0) : _("", !0)
1359
- ]),
1360
- _: 2
1361
- }, 1032, ["headline", "bodytext", "link", "link-text", "image", "image-fit"]))), 128))
1362
- ])
1363
- ], 2));
1364
- }
1365
- }), mo = /* @__PURE__ */ g(po, [["__scopeId", "data-v-d27098ae"]]), fo = { class: "facts__wrapper" }, vo = { class: "facts__content" }, go = { class: "facts__headline" }, bo = { class: "facts" }, ko = { class: "fact__value" }, yo = { class: "fact__metric" }, $o = {
1366
- key: 0,
1367
- class: "facts__link"
1368
- }, wo = /* @__PURE__ */ b({
1369
- __name: "facts",
1370
- props: {
1371
- headline: { default: "" },
1372
- facts: { default: () => [
1373
- {
1374
- value: "",
1375
- metric: ""
1376
- },
1377
- {
1378
- value: "",
1379
- metric: ""
1380
- },
1381
- {
1382
- value: "",
1383
- metric: ""
1384
- }
1385
- ] },
1386
- link: { default: () => ({
1387
- title: "",
1388
- url: ""
1389
- }) }
1390
- },
1391
- setup(e) {
1392
- return (a, r) => (s(), i("div", fo, [
1393
- t("div", vo, [
1394
- t("h2", go, c(a.headline), 1),
1395
- t("div", bo, [
1396
- (s(!0), i(V, null, P(a.facts, (l) => (s(), i("div", {
1397
- key: l.value + l.metric,
1398
- class: "fact"
1399
- }, [
1400
- t("div", ko, [
1401
- t("span", null, c(l.value), 1)
1402
- ]),
1403
- t("div", yo, [
1404
- t("span", null, c(l.metric), 1)
1405
- ])
1406
- ]))), 128))
1407
- ]),
1408
- a.link ? (s(), i("div", $o, [
1409
- I(A, {
1410
- "link-type": "regular_light",
1411
- arrow: ""
1412
- }, {
1413
- default: k(() => [
1414
- d(a.$slots, "facts-link", {}, void 0, !0)
1415
- ]),
1416
- _: 3
1417
- })
1418
- ])) : _("", !0)
1419
- ])
1420
- ]));
1421
- }
1422
- }), Bo = /* @__PURE__ */ g(wo, [["__scopeId", "data-v-d2b231d4"]]), So = { class: "features__wrapper" }, Io = { class: "features__content" }, Co = {
1423
- key: 0,
1424
- class: "features__headline"
1425
- }, To = {
1426
- key: 1,
1427
- class: "features__body"
1428
- }, qo = { class: "element__headline" }, Ao = { class: "element__body" }, Lo = /* @__PURE__ */ b({
1429
- __name: "features",
1430
- props: {
1431
- headline: { default: "" },
1432
- hasBody: { type: Boolean },
1433
- elements: { default: () => [] }
1434
- },
1435
- setup(e) {
1436
- return (a, r) => (s(), i("div", So, [
1437
- t("div", Io, [
1438
- a.headline ? (s(), i("div", Co, [
1439
- t("h2", null, c(a.headline), 1)
1440
- ])) : _("", !0),
1441
- a.hasBody ? (s(), i("div", To, [
1442
- d(a.$slots, "features-body", {}, void 0, !0)
1443
- ])) : _("", !0),
1444
- t("div", {
1445
- class: h(["features__elements", [a.elements.length === 6 ? "features__elements--grid-6" : ""]])
1446
- }, [
1447
- (s(!0), i(V, null, P(a.elements, (l) => (s(), i("div", {
1448
- key: l.headline,
1449
- class: "features__element"
1450
- }, [
1451
- I(M, { class: "element__icon" }, {
1452
- default: k(() => [
1453
- d(a.$slots, "features-icon", F({ ref_for: !0 }, {
1454
- src: l.icon.src,
1455
- height: 30,
1456
- width: 30,
1457
- alt: l.icon.alt
1458
- }), void 0, !0)
1459
- ]),
1460
- _: 2
1461
- }, 1024),
1462
- t("p", qo, c(l.headline), 1),
1463
- t("p", Ao, c(l.body), 1),
1464
- l.link && l.linkText ? (s(), T(A, {
1465
- key: 0,
1466
- "link-type": "regular_light",
1467
- arrow: ""
1468
- }, {
1469
- default: k(() => [
1470
- d(a.$slots, "feature-link", F({ ref_for: !0 }, { link: l.link, linkText: l.linkText }), void 0, !0)
1471
- ]),
1472
- _: 2
1473
- }, 1024)) : _("", !0)
1474
- ]))), 128))
1475
- ], 2)
1476
- ])
1477
- ]));
1478
- }
1479
- }), Do = /* @__PURE__ */ g(Lo, [["__scopeId", "data-v-72cf514b"]]), Vo = { class: "flashcard-wrapper" }, Po = {
1480
- key: 0,
1481
- class: "flashcard-wrapper__headline"
1482
- }, Fo = {
1483
- key: 1,
1484
- class: "flashcard-wrapper__bodytext"
1485
- }, Mo = /* @__PURE__ */ b({
1486
- __name: "flashcards",
1487
- props: {
1488
- headline: {},
1489
- body: {},
1490
- bgColor: {},
1491
- flashcards: {}
1492
- },
1493
- setup(e) {
1494
- const a = e, r = q(() => a.body.trim().length > 0), l = q(() => {
1495
- var u;
1496
- const o = (u = a.flashcards) == null ? void 0 : u.length;
1497
- return o === 4 || o === 5 ? "sm" : o === 6 || o === 3 ? "md" : o === 2 ? "lg" : "sm";
1498
- });
1499
- return (o, u) => (s(), i("div", {
1500
- class: h(["flashcards", o.bgColor === "light" ? "flashcards--light" : "flashcards--white"])
1501
- }, [
1502
- t("div", Vo, [
1503
- t("div", {
1504
- class: h([
1505
- { "no-bodytext": !r.value },
1506
- "flashcard-wrapper__top-section"
1507
- ])
1508
- }, [
1509
- o.headline ? (s(), i("h2", Po, c(o.headline), 1)) : _("", !0),
1510
- o.body ? (s(), i("div", Fo, [
1511
- d(o.$slots, "flashcard-wrapper-body", {}, void 0, !0)
1512
- ])) : _("", !0)
1513
- ], 2),
1514
- t("div", {
1515
- class: h(["flashcard-wrapper__teaser-list", {
1516
- sm: l.value === "sm",
1517
- md: l.value === "md",
1518
- lg: l.value === "lg"
1519
- }])
1520
- }, [
1521
- (s(!0), i(V, null, P(o.flashcards, (p) => (s(), T(y(ke), {
1522
- key: p._uid,
1523
- name: p.name,
1524
- bodytext: p.bodytext,
1525
- image: p.image,
1526
- namebackside: p.namebackside ? p.namebackside : "",
1527
- bodytextbackside: p.bodytextbackside,
1528
- imagebackside: p.imagebackside ? p.imagebackside : { filename: "", alt: "" },
1529
- size: l.value,
1530
- "image-fit": p.imageFit,
1531
- "image-fit-back": p.imageFitBack
1532
- }, {
1533
- "flashcard-front-body": k(({ bodytext: n }) => [
1534
- d(o.$slots, "flashcard-front-body", F({ ref_for: !0 }, { bodytext: n }), void 0, !0)
1535
- ]),
1536
- "flashcard-front-image": k(({ src: n, alt: v }) => [
1537
- d(o.$slots, "flashcard-front-image", F({ ref_for: !0 }, { src: n, alt: v }), void 0, !0)
1538
- ]),
1539
- "flashcard-back-body": k(({ bodytextbackside: n }) => [
1540
- d(o.$slots, "flashcard-back-body", F({ ref_for: !0 }, { bodytextbackside: n }), void 0, !0)
1541
- ]),
1542
- "flashcard-back-image": k(({ src: n, alt: v }) => [
1543
- d(o.$slots, "flashcard-back-image", F({ ref_for: !0 }, { src: n, alt: v }), void 0, !0)
1544
- ]),
1545
- _: 2
1546
- }, 1032, ["name", "bodytext", "image", "namebackside", "bodytextbackside", "imagebackside", "size", "image-fit", "image-fit-back"]))), 128))
1547
- ], 2)
1548
- ])
1549
- ], 2));
1550
- }
1551
- }), Oo = /* @__PURE__ */ g(Mo, [["__scopeId", "data-v-de3c8751"]]), zo = { class: "form__content" }, Ho = { class: "form__information" }, Ro = { class: "form__headline" }, No = { class: "form__body" }, Eo = { class: "form__script" }, jo = /* @__PURE__ */ b({
1552
- __name: "form-script",
1553
- props: {
1554
- headline: { default: "" },
1555
- linkText: { default: "" },
1556
- variant: { default: "default" },
1557
- linkType: { default: "link" }
1558
- },
1559
- setup(e) {
1560
- const a = {
1561
- dark: "form__wrapper--dark",
1562
- light: "form__wrapper--light",
1563
- default: "form__wrapper--default"
1564
- }, r = e, l = q(() => a[r.variant]);
1565
- return (o, u) => (s(), i("div", {
1566
- class: h(["form__wrapper", l.value])
1567
- }, [
1568
- t("div", zo, [
1569
- t("div", Ho, [
1570
- t("h2", Ro, c(o.headline), 1),
1571
- t("div", No, [
1572
- d(o.$slots, "form-body", {}, void 0, !0)
1573
- ]),
1574
- o.linkType === "link" ? (s(), T(A, {
1575
- key: 0,
1576
- "link-type": o.variant === "dark" ? "regular_dark" : (o.variant === "light", "regular_light"),
1577
- arrow: ""
1578
- }, {
1579
- default: k(() => [
1580
- d(o.$slots, "form-link", {}, void 0, !0)
1581
- ]),
1582
- _: 3
1583
- }, 8, ["link-type"])) : _("", !0)
1584
- ]),
1585
- t("div", Eo, [
1586
- d(o.$slots, "form-script", {}, void 0, !0)
1587
- ])
1588
- ])
1589
- ], 2));
1590
- }
1591
- }), Uo = /* @__PURE__ */ g(jo, [["__scopeId", "data-v-b8b02bae"]]), Go = { class: "headline__wrapper" }, Ko = { class: "headline__h1" }, Jo = /* @__PURE__ */ b({
1592
- __name: "headline",
1593
- props: {
1594
- headline: {
1595
- type: String,
1596
- required: !0
1597
- },
1598
- article: {
1599
- type: Boolean,
1600
- required: !1
1601
- },
1602
- subMenu: {
1603
- type: Boolean,
1604
- required: !1
1605
- }
1606
- },
1607
- setup(e) {
1608
- return (a, r) => (s(), i("div", Go, [
1609
- t("div", {
1610
- class: h({
1611
- "headline__content--article-and-submenu": e.article && e.subMenu,
1612
- "headline__content--article": e.article && !e.subMenu,
1613
- "headline__content--default headline__content--submenu": !e.article && e.subMenu,
1614
- "headline__content--default": !e.article && !e.subMenu
1615
- })
1616
- }, [
1617
- t("h1", Ko, c(e.headline), 1)
1618
- ], 2)
1619
- ]));
1620
- }
1621
- }), Wo = /* @__PURE__ */ g(Jo, [["__scopeId", "data-v-3ef1567e"]]), Yo = (e) => (N("data-v-22f9be13"), e = e(), E(), e), Qo = { class: "hero__wrapper" }, Zo = { class: "hero__content" }, Xo = { class: "hero__top" }, xo = { class: "hero__elements" }, el = { class: "hero__headline" }, tl = { class: "hero__link" }, al = { class: "hero__video" }, ol = /* @__PURE__ */ Yo(() => /* @__PURE__ */ t("div", { class: "hero__gradient" }, null, -1)), ll = { class: "hero__video__video" }, sl = { class: "hero__image" }, il = /* @__PURE__ */ b({
1622
- __name: "hero",
1623
- props: {
1624
- headline: {
1625
- type: String,
1626
- required: !0
1627
- }
1628
- },
1629
- setup(e) {
1630
- return (a, r) => (s(), i("div", Qo, [
1631
- t("div", Zo, [
1632
- t("div", Xo, [
1633
- t("div", xo, [
1634
- t("div", el, [
1635
- t("h1", null, c(e.headline), 1)
1636
- ]),
1637
- t("div", tl, [
1638
- I(A, {
1639
- "link-type": "regular_light",
1640
- arrow: ""
1641
- }, {
1642
- default: k(() => [
1643
- d(a.$slots, "hero-link", {}, void 0, !0)
1644
- ]),
1645
- _: 3
1646
- })
1647
- ])
1648
- ])
1649
- ]),
1650
- t("div", al, [
1651
- ol,
1652
- t("div", ll, [
1653
- d(a.$slots, "hero-video", {}, void 0, !0)
1654
- ]),
1655
- t("div", sl, [
1656
- d(a.$slots, "hero-image", {}, void 0, !0)
1657
- ])
1658
- ])
1659
- ])
1660
- ]));
1661
- }
1662
- }), rl = /* @__PURE__ */ g(il, [["__scopeId", "data-v-22f9be13"]]), nl = { class: "image__wrapper" }, dl = { class: "image__content" }, cl = { class: "image__image" }, ul = { class: "image__caption" }, _l = /* @__PURE__ */ b({
1663
- inheritAttrs: !1,
1664
- __name: "image",
1665
- props: {
1666
- caption: {
1667
- type: String,
1668
- required: !1,
1669
- default: ""
1670
- },
1671
- src: {
1672
- type: String,
1673
- required: !0
1674
- },
1675
- alt: {
1676
- type: String,
1677
- required: !0
1678
- },
1679
- fullHeight: {
1680
- type: Boolean,
1681
- required: !1,
1682
- default: !1
1683
- }
1684
- },
1685
- setup(e) {
1686
- return (a, r) => (s(), i("div", nl, [
1687
- t("div", dl, [
1688
- t("div", cl, [
1689
- I(M, null, {
1690
- default: k(() => [
1691
- d(a.$slots, "image", H(R({
1692
- width: 984,
1693
- height: e.fullHeight ? "100%" : 554,
1694
- src: e.src,
1695
- alt: e.alt,
1696
- class: e.fullHeight ? "full-height" : "default"
1697
- })))
1698
- ]),
1699
- _: 3
1700
- })
1701
- ]),
1702
- t("p", ul, c(e.caption), 1)
1703
- ])
1704
- ]));
1705
- }
1706
- }), hl = /* @__PURE__ */ g(_l, [["__scopeId", "data-v-c583d657"]]), pl = { class: "gallery__large" }, ml = {
1707
- key: 0,
1708
- class: "image image--large"
1709
- }, fl = {
1710
- key: 1,
1711
- class: "video"
1712
- }, vl = /* @__PURE__ */ b({
1713
- __name: "image-gallery",
1714
- props: {
1715
- mediaLarge: {},
1716
- mediaType: { default: "image" },
1717
- mediaSmall: {},
1718
- body: { default: "" },
1719
- flipHorizontal: { type: Boolean, default: !1 },
1720
- flipVertical: { type: Boolean, default: !1 },
1721
- bgColor: { default: "white" },
1722
- linkText: { default: "" },
1723
- linkType: { default: "link" }
1724
- },
1725
- setup(e) {
1726
- const a = {
1727
- white: "",
1728
- light: "gallery__wrapper--light",
1729
- dark: "gallery__wrapper--dark mirsaic--dark"
1730
- }, r = e, l = q(() => a[r.bgColor]);
1731
- return (o, u) => (s(), i("div", {
1732
- class: h(["gallery__wrapper", l.value])
1733
- }, [
1734
- t("div", {
1735
- class: h([
1736
- "gallery__content",
1737
- o.flipHorizontal ? "gallery__content--reverse" : "gallery__content--default"
1738
- ])
1739
- }, [
1740
- t("div", pl, [
1741
- o.mediaLarge && o.mediaType === "image" ? (s(), i("div", ml, [
1742
- I(M, null, {
1743
- default: k(() => [
1744
- d(o.$slots, "image-large", H(R({
1745
- height: 530,
1746
- src: o.mediaLarge.src,
1747
- alt: o.mediaLarge.alt
1748
- })))
1749
- ]),
1750
- _: 3
1751
- })
1752
- ])) : _("", !0),
1753
- o.mediaLarge && o.mediaType === "video" ? (s(), i("div", fl, [
1754
- I(te, {
1755
- src: o.mediaLarge.src,
1756
- "local-video": "",
1757
- "aria-label": o.mediaLarge.alt,
1758
- controls: !1,
1759
- height: "530",
1760
- width: "617",
1761
- autoplay: "",
1762
- loop: "",
1763
- muted: "",
1764
- play: ""
1765
- }, null, 8, ["src", "aria-label"])
1766
- ])) : _("", !0)
1767
- ]),
1768
- t("div", {
1769
- style: Q([o.mediaSmall.length === 2 ? "grid-gap: 38px;" : ""]),
1770
- class: h([
1771
- "gallery__small",
1772
- o.flipVertical ? "gallery__small--reverse" : "gallery__small--default"
1773
- ])
1774
- }, [
1775
- (s(!0), i(V, null, P(o.mediaSmall, (p) => (s(), i("div", {
1776
- key: p.src + p.alt,
1777
- class: "image image--small"
1778
- }, [
1779
- I(M, null, {
1780
- default: k(() => [
1781
- d(o.$slots, "image-small", F({ ref_for: !0 }, {
1782
- height: 246,
1783
- src: p.src,
1784
- alt: p.alt
1785
- }))
1786
- ]),
1787
- _: 2
1788
- }, 1024)
1789
- ]))), 128)),
1790
- o.mediaSmall.length < 2 ? (s(), i("div", {
1791
- key: 0,
1792
- class: h(["body", o.bgColor === "dark" ? "body--dark" : ""])
1793
- }, [
1794
- t("p", null, c(o.body), 1),
1795
- o.linkType === "link" ? (s(), T(A, {
1796
- key: 0,
1797
- "link-type": o.bgColor === "dark" ? "regular_dark" : (o.bgColor === "light", "regular_light"),
1798
- arrow: ""
1799
- }, {
1800
- default: k(() => [
1801
- d(o.$slots, "gallery-link")
1802
- ]),
1803
- _: 3
1804
- }, 8, ["link-type"])) : _("", !0)
1805
- ], 2)) : _("", !0)
1806
- ], 6)
1807
- ], 2)
1808
- ], 2));
1809
- }
1810
- }), gl = /* @__PURE__ */ g(vl, [["__scopeId", "data-v-04a9ee0f"]]), bl = { class: "logo-wall__wrapper" }, kl = { class: "logo-wall__content" }, yl = {
1811
- key: 0,
1812
- class: "logo-wall__text"
1813
- }, $l = { key: 0 }, wl = { key: 1 }, Bl = { class: "logo-wall__logos" }, Sl = { class: "logo-wall__link" }, Il = /* @__PURE__ */ b({
1814
- __name: "logo-wall",
1815
- props: {
1816
- headline: {
1817
- type: String,
1818
- default: ""
1819
- },
1820
- body: {
1821
- type: String,
1822
- default: ""
1823
- },
1824
- logos: {
1825
- type: Array,
1826
- required: !0,
1827
- validator: (e) => e.length <= 5
1828
- }
1829
- },
1830
- setup(e) {
1831
- return (a, r) => (s(), i("div", bl, [
1832
- t("div", kl, [
1833
- e.headline || e.body ? (s(), i("div", yl, [
1834
- e.headline ? (s(), i("h2", $l, c(e.headline), 1)) : _("", !0),
1835
- e.body ? (s(), i("p", wl, c(e.body), 1)) : _("", !0)
1836
- ])) : _("", !0),
1837
- t("div", Bl, [
1838
- (s(!0), i(V, null, P(e.logos, (l) => (s(), i("div", {
1839
- key: l.src + l.alt,
1840
- class: "logo-wall__logo"
1841
- }, [
1842
- I(M, null, {
1843
- default: k(() => [
1844
- d(a.$slots, "logo-wall-logo", F({ ref_for: !0 }, {
1845
- width: 130,
1846
- height: 130,
1847
- src: l.src,
1848
- alt: l.alt
1849
- }), void 0, !0)
1850
- ]),
1851
- _: 2
1852
- }, 1024)
1853
- ]))), 128))
1854
- ]),
1855
- t("div", Sl, [
1856
- I(A, {
1857
- "link-type": "regular_light",
1858
- arrow: !0
1859
- }, {
1860
- default: k(() => [
1861
- d(a.$slots, "logo-wall-link", {}, void 0, !0)
1862
- ]),
1863
- _: 3
1864
- })
1865
- ])
1866
- ])
1867
- ]));
1868
- }
1869
- }), Cl = /* @__PURE__ */ g(Il, [["__scopeId", "data-v-fd489289"]]), Tl = { class: "micro-stories__top" }, ql = {
1870
- key: 0,
1871
- class: "micro-stories__headline"
1872
- }, Al = {
1873
- key: 1,
1874
- class: "micro-stories__body"
1875
- }, Ll = { class: "micro-stories__splide" }, Dl = /* @__PURE__ */ b({
1876
- __name: "micro-stories",
1877
- props: {
1878
- bgColor: { default: "blue" },
1879
- headline: { default: "" },
1880
- body: { default: "" }
1881
- },
1882
- setup(e) {
1883
- const a = {
1884
- white: "micro-stories__wrapper--white",
1885
- blue: "micro-stories__wrapper--blue",
1886
- dark: "micro-stories__wrapper--dark"
1887
- }, r = q(() => a[l.bgColor]), l = e;
1888
- return (o, u) => (s(), i("div", {
1889
- class: h(["micro-stories__wrapper", r.value])
1890
- }, [
1891
- t("div", Tl, [
1892
- o.headline ? (s(), i("div", ql, [
1893
- t("h2", null, c(o.headline), 1)
1894
- ])) : _("", !0),
1895
- o.body ? (s(), i("div", Al, [
1896
- d(o.$slots, "micro-stories-body")
1897
- ])) : _("", !0)
1898
- ]),
1899
- t("div", Ll, [
1900
- d(o.$slots, "micro-stories-slides")
1901
- ]),
1902
- d(o.$slots, "micro-stories-controls")
1903
- ], 2));
1904
- }
1905
- }), Vl = {}, Pl = { class: "policy__wrapper" }, Fl = { class: "policy__content" };
1906
- function Ml(e, a) {
1907
- return s(), i("div", Pl, [
1908
- t("div", Fl, [
1909
- d(e.$slots, "default", {}, void 0, !0)
1910
- ])
1911
- ]);
1912
- }
1913
- const Ol = /* @__PURE__ */ g(Vl, [["render", Ml], ["__scopeId", "data-v-ea887d7a"]]), zl = { class: "product-hero__wrapper" }, Hl = { class: "product-hero__content" }, Rl = { class: "product-hero__headline" }, Nl = { class: "product-hero__video" }, El = { class: "product-hero__insignia" }, jl = {
1914
- key: 0,
1915
- class: "product-hero__logo"
1916
- }, Ul = {
1917
- key: 1,
1918
- class: "product-hero__certification"
1919
- }, Gl = /* @__PURE__ */ b({
1920
- __name: "product-hero",
1921
- props: {
1922
- headline: {
1923
- type: String,
1924
- default: "",
1925
- required: !0
1926
- },
1927
- videoSrc: {
1928
- type: String,
1929
- default: "",
1930
- required: !0
1931
- },
1932
- ariaLabel: {
1933
- type: String,
1934
- default: "",
1935
- required: !0
1936
- },
1937
- imgSrc: {
1938
- type: String,
1939
- default: "",
1940
- required: !0
1941
- },
1942
- logoSrc: {
1943
- type: String,
1944
- default: "",
1945
- required: !1
1946
- },
1947
- isCertified: {
1948
- type: Boolean,
1949
- default: !1,
1950
- required: !1
1951
- }
1952
- },
1953
- setup(e) {
1954
- return (a, r) => (s(), i("div", zl, [
1955
- t("div", Hl, [
1956
- t("div", Rl, c(e.headline), 1),
1957
- t("div", Nl, [
1958
- e.videoSrc !== "" ? (s(), T(te, {
1959
- key: 0,
1960
- play: "",
1961
- "local-video": !0,
1962
- src: e.videoSrc,
1963
- "aria-label": e.ariaLabel,
1964
- controls: !1,
1965
- poster: e.imgSrc,
1966
- autoplay: "",
1967
- loop: "",
1968
- muted: ""
1969
- }, null, 8, ["src", "aria-label", "poster"])) : (s(), T(y(M), { key: 1 }, {
1970
- default: k(() => [
1971
- d(a.$slots, "product-hero-image", {}, void 0, !0)
1972
- ]),
1973
- _: 3
1974
- })),
1975
- t("div", El, [
1976
- e.logoSrc ? (s(), i("div", jl, [
1977
- I(y(M), null, {
1978
- default: k(() => [
1979
- d(a.$slots, "product-hero-logo", {}, void 0, !0)
1980
- ]),
1981
- _: 3
1982
- })
1983
- ])) : _("", !0),
1984
- e.isCertified ? (s(), i("div", Ul, [
1985
- I(y(M), null, {
1986
- default: k(() => [
1987
- d(a.$slots, "product-hero-certification", {}, void 0, !0)
1988
- ]),
1989
- _: 3
1990
- })
1991
- ])) : _("", !0)
1992
- ])
1993
- ])
1994
- ])
1995
- ]));
1996
- }
1997
- }), Kl = /* @__PURE__ */ g(Gl, [["__scopeId", "data-v-deab9c3a"]]), Jl = { class: "promo__content" }, Wl = /* @__PURE__ */ b({
1998
- __name: "promo",
1999
- props: {
2000
- label: { default: "" },
2001
- linkText: { default: "" },
2002
- mediaType: { default: "image" },
2003
- src: {},
2004
- alt: {},
2005
- fallbackImage: {},
2006
- reverse: { type: Boolean, default: !1 },
2007
- variant: { default: "default" },
2008
- linkType: { default: "link" },
2009
- teaser: { type: Boolean, default: !1 },
2010
- multiply: { type: Boolean, default: !1 }
2011
- },
2012
- setup(e) {
2013
- const a = {
2014
- dark: "promo__wrapper--dark",
2015
- light: "promo__wrapper--light",
2016
- default: "promo__wrapper--default"
2017
- }, r = e, l = q(() => a[r.variant]);
2018
- return (o, u) => (s(), i("div", {
2019
- class: h([
2020
- "promo__wrapper",
2021
- l.value,
2022
- o.teaser ? "promo__wrapper--teaser" : "",
2023
- o.multiply ? "promo__wrapper--multiply" : ""
2024
- ])
2025
- }, [
2026
- t("div", Jl, [
2027
- o.mediaType === "image" ? (s(), i("div", {
2028
- key: 0,
2029
- class: h([
2030
- "promo__image",
2031
- o.reverse ? "promo__image--reverse" : "promo__image--default"
2032
- ])
2033
- }, [
2034
- I(M, null, {
2035
- default: k(() => [
2036
- d(o.$slots, "promo-image", H(R({ src: o.src, width: 1920, alt: o.alt, height: 1080 })))
2037
- ]),
2038
- _: 3
2039
- })
2040
- ], 2)) : _("", !0),
2041
- o.mediaType === "video" ? (s(), i("div", {
2042
- key: 1,
2043
- class: h([
2044
- "promo__video",
2045
- o.reverse ? "promo__video--reverse" : "promo__video--default"
2046
- ])
2047
- }, [
2048
- I(te, {
2049
- src: o.src,
2050
- "local-video": "",
2051
- "aria-label": o.alt,
2052
- controls: !1,
2053
- autoplay: "",
2054
- loop: "",
2055
- muted: "",
2056
- play: "",
2057
- poster: o.fallbackImage
2058
- }, null, 8, ["src", "aria-label", "poster"])
2059
- ], 2)) : _("", !0),
2060
- t("div", {
2061
- class: h([
2062
- "promo__text",
2063
- o.reverse ? "promo__text--reverse" : "promo__text--default"
2064
- ])
2065
- }, [
2066
- o.label ? (s(), T(ee, {
2067
- key: 0,
2068
- text: o.label,
2069
- "label-dark": o.variant === "dark"
2070
- }, null, 8, ["text", "label-dark"])) : _("", !0),
2071
- t("div", {
2072
- class: h([
2073
- "promo__title",
2074
- o.variant === "dark" ? "promo__title--dark" : ""
2075
- ])
2076
- }, [
2077
- d(o.$slots, "promo-headline")
2078
- ], 2),
2079
- o.linkType === "link" ? (s(), T(A, {
2080
- key: 1,
2081
- "link-type": o.variant === "dark" ? "regular_dark" : (o.variant === "light", "regular_light"),
2082
- arrow: ""
2083
- }, {
2084
- default: k(() => [
2085
- d(o.$slots, "promo-link")
2086
- ]),
2087
- _: 3
2088
- }, 8, ["link-type"])) : _("", !0),
2089
- o.linkType === "button" ? (s(), T(A, {
2090
- key: 2,
2091
- "link-type": o.variant === "dark" ? "secondary_dark" : (o.variant === "light", "secondary")
2092
- }, {
2093
- default: k(() => [
2094
- d(o.$slots, "promo-link")
2095
- ]),
2096
- _: 3
2097
- }, 8, ["link-type"])) : _("", !0)
2098
- ], 2)
2099
- ])
2100
- ], 2));
2101
- }
2102
- }), Yl = /* @__PURE__ */ g(Wl, [["__scopeId", "data-v-df54d965"]]), Ql = (e) => (N("data-v-e3cc8e27"), e = e(), E(), e), Zl = { class: "quote__wrapper" }, Xl = { class: "quote__content" }, xl = /* @__PURE__ */ Ql(() => /* @__PURE__ */ t("p", { class: "quote__quote-mark" }, "“", -1)), es = { class: "quote__quote" }, ts = { class: "quote__quote-text" }, as = { class: "quote__author" }, os = {
2103
- key: 0,
2104
- class: "quote__image"
2105
- }, ls = { class: "quote__text" }, ss = { class: "quote__author-name" }, is = { class: "quote__author-title" }, rs = /* @__PURE__ */ b({
2106
- __name: "quote",
2107
- props: {
2108
- quote: {
2109
- type: String,
2110
- required: !0
2111
- },
2112
- author: {
2113
- type: String,
2114
- required: !0
2115
- },
2116
- authorTitle: {
2117
- type: String,
2118
- required: !0
2119
- },
2120
- authorImage: {
2121
- type: String,
2122
- required: !1,
2123
- default: void 0
2124
- }
2125
- },
2126
- setup(e) {
2127
- return (a, r) => (s(), i("div", Zl, [
2128
- t("div", Xl, [
2129
- xl,
2130
- t("div", es, [
2131
- t("p", ts, c(e.quote), 1),
2132
- t("div", as, [
2133
- e.authorImage ? (s(), i("div", os, [
2134
- I(M, null, {
2135
- default: k(() => [
2136
- d(a.$slots, "author-image", H(R({
2137
- src: e.authorImage + "/m/100x100",
2138
- width: 60,
2139
- height: 60
2140
- })))
2141
- ]),
2142
- _: 3
2143
- })
2144
- ])) : _("", !0),
2145
- t("div", ls, [
2146
- t("p", ss, c(e.author), 1),
2147
- t("p", is, c(e.authorTitle), 1)
2148
- ])
2149
- ])
2150
- ])
2151
- ])
2152
- ]));
2153
- }
2154
- }), ns = /* @__PURE__ */ g(rs, [["__scopeId", "data-v-e3cc8e27"]]), ds = { class: "rich-text__wrapper" }, cs = {
2155
- key: 0,
2156
- class: "rich-text__links"
2157
- }, us = {
2158
- key: 0,
2159
- class: "rich-text__bullet-list"
2160
- }, _s = /* @__PURE__ */ b({
2161
- __name: "rich-text",
2162
- props: {
2163
- headline: { default: "" },
2164
- leftAligned: { type: Boolean, default: !1 },
2165
- links: { type: Boolean, default: !1 },
2166
- bulletList: { type: Boolean, default: !1 },
2167
- image: { type: Boolean, default: !1 },
2168
- imageClip: { type: Boolean, default: !0 },
2169
- bgColor: { default: "white" },
2170
- label: { default: "" }
2171
- },
2172
- setup(e) {
2173
- return (a, r) => (s(), i("div", {
2174
- class: h([
2175
- "rich-text",
2176
- a.bgColor === "blue" ? "rich-text--blue" : "rich-text--white"
2177
- ])
2178
- }, [
2179
- t("div", ds, [
2180
- a.label ? (s(), T(ee, {
2181
- key: 0,
2182
- text: a.label,
2183
- "label-dark": !1
2184
- }, null, 8, ["text"])) : _("", !0),
2185
- a.headline ? (s(), i("h2", {
2186
- key: 1,
2187
- class: h([
2188
- "rich-text__headline",
2189
- a.leftAligned || a.bulletList || a.image ? "rich-text__headline--left-aligned" : "rich-text__headline--centered"
2190
- ])
2191
- }, c(a.headline), 3)) : _("", !0),
2192
- t("div", {
2193
- class: h([
2194
- "rich-text__content",
2195
- a.leftAligned || a.bulletList || a.image ? "rich-text__content--left-aligned" : "rich-text__content--centered"
2196
- ])
2197
- }, [
2198
- t("div", {
2199
- class: h([
2200
- "rich-text__body",
2201
- a.bulletList || a.image ? "rich-text__body--content-right" : ""
2202
- ])
2203
- }, [
2204
- d(a.$slots, "rich-text-content"),
2205
- a.links ? (s(), i("div", cs, [
2206
- d(a.$slots, "rich-text-links")
2207
- ])) : _("", !0)
2208
- ], 2),
2209
- a.bulletList ? (s(), i("div", us, [
2210
- d(a.$slots, "rich-text-bullet-list")
2211
- ])) : _("", !0),
2212
- a.image ? (s(), i("div", {
2213
- key: 1,
2214
- class: h([
2215
- "rich-text__image",
2216
- a.imageClip ? "rich-text__image--clip" : ""
2217
- ])
2218
- }, [
2219
- I(M, null, {
2220
- default: k(() => [
2221
- d(a.$slots, "rich-text-image", H(R({ width: 865, height: 307 })))
2222
- ]),
2223
- _: 3
2224
- })
2225
- ], 2)) : _("", !0)
2226
- ], 2)
2227
- ])
2228
- ], 2));
2229
- }
2230
- }), hs = /* @__PURE__ */ g(_s, [["__scopeId", "data-v-5441d67a"]]), ps = {}, ms = { class: "rich-text" }, fs = { class: "rich-text__wrapper" }, vs = { class: "rich-text__content rich-text__content--left-aligned" }, gs = { class: "rich-text__body" };
2231
- function bs(e, a) {
2232
- return s(), i("div", ms, [
2233
- t("div", fs, [
2234
- t("div", vs, [
2235
- t("div", gs, [
2236
- t("div", null, [
2237
- d(e.$slots, "rich-text-content-left", {}, void 0, !0)
2238
- ]),
2239
- t("div", null, [
2240
- d(e.$slots, "rich-text-content-right", {}, void 0, !0)
2241
- ])
2242
- ])
2243
- ])
2244
- ])
2245
- ]);
2246
- }
2247
- const ks = /* @__PURE__ */ g(ps, [["render", bs], ["__scopeId", "data-v-776750d2"]]), ys = (e) => (N("data-v-798e7a06"), e = e(), E(), e), $s = { class: "timeline__wrapper" }, ws = { class: "timeline__content" }, Bs = { class: "timeline__items" }, Ss = { class: "item__left" }, Is = /* @__PURE__ */ ys(() => /* @__PURE__ */ t("div", { class: "item__elements" }, [
2248
- /* @__PURE__ */ t("div", { class: "circle" }),
2249
- /* @__PURE__ */ t("div", { class: "line" })
2250
- ], -1)), Cs = { class: "item__right" }, Ts = ["innerHTML"], qs = /* @__PURE__ */ b({
2251
- __name: "timeline",
2252
- props: {
2253
- timelineItems: {
2254
- type: Array,
2255
- required: !0
2256
- }
2257
- },
2258
- setup(e) {
2259
- return fe(() => {
2260
- const a = document.querySelectorAll(".timeline__item"), r = new IntersectionObserver(
2261
- (l) => {
2262
- l.forEach((o) => {
2263
- o.isIntersecting && (o.target.classList.add("visible"), o.target.classList.remove("faded"), r.unobserve(o.target));
2264
- });
2265
- },
2266
- {
2267
- threshold: 1
2268
- }
2269
- );
2270
- a.forEach((l) => {
2271
- r.observe(l);
2272
- });
2273
- }), (a, r) => (s(), i("div", $s, [
2274
- t("div", ws, [
2275
- t("div", Bs, [
2276
- (s(!0), i(V, null, P(e.timelineItems, (l) => (s(), i("div", {
2277
- key: l.year,
2278
- class: "timeline__item faded"
2279
- }, [
2280
- t("div", Ss, c(l.year), 1),
2281
- Is,
2282
- t("div", Cs, [
2283
- I(M, null, {
2284
- default: k(() => [
2285
- l.media.src ? d(a.$slots, "timeline-image", F({
2286
- key: 0,
2287
- ref_for: !0
2288
- }, { src: l.media.src, alt: l.media.alt }), void 0, !0) : _("", !0)
2289
- ]),
2290
- _: 2
2291
- }, 1024),
2292
- t("div", {
2293
- style: Q([l.media.src ? "" : "margin-top: 0px"]),
2294
- class: "rich-text",
2295
- innerHTML: l.text
2296
- }, null, 12, Ts)
2297
- ])
2298
- ]))), 128))
2299
- ])
2300
- ])
2301
- ]));
2302
- }
2303
- }), As = /* @__PURE__ */ g(qs, [["__scopeId", "data-v-798e7a06"]]), Ls = { class: "vimeo" }, Ds = { class: "vimeo__wrapper" }, Vs = {
2304
- key: 0,
2305
- class: "vimeo__headline"
2306
- }, Ps = {
2307
- key: 1,
2308
- class: "vimeo__description"
2309
- }, Fs = /* @__PURE__ */ b({
2310
- __name: "vimeo",
2311
- props: {
2312
- headline: {
2313
- type: String,
2314
- default: ""
2315
- },
2316
- description: {
2317
- type: String,
2318
- default: ""
2319
- }
2320
- },
2321
- setup(e) {
2322
- return (a, r) => (s(), i("div", Ls, [
2323
- t("div", Ds, [
2324
- e.headline ? (s(), i("h2", Vs, c(e.headline), 1)) : _("", !0),
2325
- d(a.$slots, "vimeo-content", {}, void 0, !0),
2326
- e.description ? (s(), i("p", Ps, c(e.description), 1)) : _("", !0)
2327
- ])
2328
- ]));
2329
- }
2330
- }), Ms = /* @__PURE__ */ g(Fs, [["__scopeId", "data-v-90a2b109"]]), Os = { class: "academy-overview__content-wrapper" }, zs = { class: "academy-overview__content" }, Hs = { class: "academy-overview__title" }, Rs = { class: "academy-overview__description" }, Ns = { class: "academy-overview__button-wrapper" }, Es = {
2331
- key: 0,
2332
- class: "academy-overview__stats"
2333
- }, js = { class: "academy-overview__stats-row" }, Us = { class: "academy-overview__stat" }, Gs = { class: "academy-overview__value" }, Ks = { class: "academy-overview__label" }, Js = { class: "academy-overview__stat" }, Ws = { class: "academy-overview__value" }, Ys = { class: "academy-overview__label" }, he = "https://a.storyblok.com/f/230581/1202x489/e76c5d687c/mirsaic-dark.svg?cv=1695126163753", Qs = /* @__PURE__ */ b({
2334
- __name: "frontpage-hero",
2335
- props: {
2336
- hero: { default: () => ({
2337
- headline: "Welcome back",
2338
- cover: "",
2339
- lessonValue: 0,
2340
- lessonLabel: "Lessons Completed",
2341
- pointsValue: 0,
2342
- pointsLabel: "Points",
2343
- showStats: !1
2344
- }) }
2345
- },
2346
- setup(e) {
2347
- const a = e, r = q(() => a.hero.cover ? {
2348
- backgroundImage: `url("${he}"), url(${a.hero.cover})`
2349
- } : {
2350
- backgroundImage: `url("${he}"), linear-gradient(155deg, #143a67 0%, #0c0931 100%)`
2351
- });
2352
- return (l, o) => (s(), i("div", {
2353
- class: "academy-overview",
2354
- style: Q(r.value)
2355
- }, [
2356
- t("div", Os, [
2357
- t("div", zs, [
2358
- t("div", null, [
2359
- t("h1", Hs, c(l.hero.headline), 1),
2360
- t("div", Rs, [
2361
- d(l.$slots, "academy-description", {}, void 0, !0)
2362
- ]),
2363
- t("div", Ns, [
2364
- d(l.$slots, "button", {}, void 0, !0)
2365
- ])
2366
- ]),
2367
- l.hero.showStats ? (s(), i("div", Es, [
2368
- t("div", js, [
2369
- t("div", Us, [
2370
- t("div", Gs, c(l.hero.lessonValue), 1),
2371
- t("div", Ks, c(l.hero.lessonLabel), 1)
2372
- ]),
2373
- t("div", Js, [
2374
- t("div", Ws, c(l.hero.pointsValue), 1),
2375
- t("div", Ys, c(l.hero.pointsLabel), 1)
2376
- ])
2377
- ])
2378
- ])) : _("", !0)
2379
- ])
2380
- ])
2381
- ], 4));
2382
- }
2383
- }), Zs = /* @__PURE__ */ g(Qs, [["__scopeId", "data-v-0d5af4d2"]]), Xs = { class: "not-found__wrapper" }, xs = { class: "not-found__content" }, ei = { class: "not-found__headline" }, ti = { class: "not-found__body" }, ai = /* @__PURE__ */ b({
2384
- __name: "404",
2385
- props: {
2386
- headline: {
2387
- type: String,
2388
- required: !0
2389
- }
2390
- },
2391
- setup(e) {
2392
- return (a, r) => (s(), i("div", Xs, [
2393
- t("div", xs, [
2394
- t("h1", ei, c(e.headline), 1),
2395
- t("div", ti, [
2396
- d(a.$slots, "not-found-body", {}, void 0, !0)
2397
- ])
2398
- ])
2399
- ]));
2400
- }
2401
- }), oi = /* @__PURE__ */ g(ai, [["__scopeId", "data-v-b829ca6c"]]), li = { class: "filter__wrapper" }, si = { class: "filter__content" }, ii = { class: "filter__dropdowns" }, ri = { class: "filter__chips" }, ni = /* @__PURE__ */ b({
2402
- __name: "filter",
2403
- props: {
2404
- hasChips: {
2405
- type: Boolean,
2406
- default: !1
2407
- },
2408
- removeAll: {
2409
- type: String,
2410
- default: "Remove all filters"
2411
- }
2412
- },
2413
- emits: ["clearFilters"],
2414
- setup(e) {
2415
- return (a, r) => (s(), i("div", li, [
2416
- t("div", si, [
2417
- t("div", ii, [
2418
- d(a.$slots, "filter-dropdowns")
2419
- ]),
2420
- t("div", ri, [
2421
- d(a.$slots, "filter-chips"),
2422
- e.hasChips ? (s(), i("button", {
2423
- key: 0,
2424
- class: "filter__clear",
2425
- onClick: r[0] || (r[0] = (l) => a.$emit("clearFilters"))
2426
- }, c(e.removeAll), 1)) : _("", !0)
2427
- ])
2428
- ])
2429
- ]));
2430
- }
2431
- }), di = /* @__PURE__ */ g(ni, [["__scopeId", "data-v-03a6a216"]]), ye = (e) => (N("data-v-a0ab0743"), e = e(), E(), e), ci = { class: "footer__wrapper" }, ui = { class: "footer__content" }, _i = {
2432
- key: 0,
2433
- src: "https://mobile-industrial-robots.com/logo/mir-main-logo.svg",
2434
- style: { margin: "0 auto" },
2435
- width: "101",
2436
- height: "45"
2437
- }, hi = { class: "footer__sections" }, pi = { class: "section__title" }, mi = { class: "section__list" }, fi = { class: "section" }, vi = {
2438
- key: 0,
2439
- class: "section__title"
2440
- }, gi = {
2441
- key: 1,
2442
- class: "section__title"
2443
- }, bi = { key: 0 }, ki = { key: 1 }, yi = { key: 2 }, $i = { key: 3 }, wi = { key: 4 }, Bi = /* @__PURE__ */ ye(() => /* @__PURE__ */ t("br", null, null, -1)), Si = {
2444
- key: 0,
2445
- href: "mailto:china@mir-robots.com"
2446
- }, Ii = {
2447
- key: 1,
2448
- href: "mailto:mail@mir-robots.com"
2449
- }, Ci = {
2450
- key: 0,
2451
- href: "tel:+8613661856951"
2452
- }, Ti = {
2453
- key: 1,
2454
- href: "tel:+4520377577"
2455
- }, qi = { class: "footer__bottom" }, Ai = { class: "copyright" }, Li = { class: "footer__policy" }, Di = /* @__PURE__ */ ye(() => /* @__PURE__ */ t("i", { class: "change-region" }, null, -1)), Vi = {
2456
- key: 0,
2457
- class: "footer__social"
2458
- }, Pi = ["href", "aria-label"], Fi = {
2459
- key: 1,
2460
- class: "footer__social"
2461
- }, Mi = ["href", "aria-label"], Oi = /* @__PURE__ */ b({
2462
- __name: "footer",
2463
- props: {
2464
- language: { default: "" },
2465
- footerSections: { default: () => [] },
2466
- privacyPolicy: { default: void 0 },
2467
- cookiePolicy: { default: void 0 },
2468
- socialMedia: { default: () => [] },
2469
- socialMediaChina: { default: () => [] },
2470
- changeRegion: { default: "" }
2471
- },
2472
- emits: ["changeRegionClicked"],
2473
- setup(e) {
2474
- return (a, r) => (s(), i("div", ci, [
2475
- t("footer", ui, [
2476
- a.language === "zh" ? (s(), i("img", _i)) : _("", !0),
2477
- t("div", hi, [
2478
- (s(!0), i(V, null, P(a.footerSections, (l) => (s(), i("div", {
2479
- key: l.title,
2480
- class: "section"
2481
- }, [
2482
- t("span", pi, c(l.title), 1),
2483
- t("nav", null, [
2484
- t("ul", mi, [
2485
- d(a.$slots, "section-links", {
2486
- links: l.links
2487
- })
2488
- ])
2489
- ])
2490
- ]))), 128)),
2491
- t("div", fi, [
2492
- a.language === "zh" ? (s(), i("span", vi, "名傲移动机器人(上海)有限公司")) : (s(), i("span", gi, "Mobile Industrial Robots A/S")),
2493
- t("address", null, [
2494
- a.language === "zh" ? (s(), i("span", bi, "上海浦东新区金桥出口加工区")) : (s(), i("span", ki, "Energivej 51")),
2495
- a.language === "zh" ? (s(), i("span", yi, "桂桥路1201号10栋2楼")) : (s(), i("span", $i, "5260 Odense S")),
2496
- a.language !== "zh" ? (s(), i("span", wi, "CVR: 35251235")) : _("", !0),
2497
- Bi,
2498
- I(A, {
2499
- class: "footer__contact",
2500
- "link-type": "regular_light",
2501
- underline: "false"
2502
- }, {
2503
- default: k(() => [
2504
- a.language === "zh" ? (s(), i("a", Si, "china@mir-robots.com")) : (s(), i("a", Ii, "mail@mir-robots.com"))
2505
- ]),
2506
- _: 1
2507
- }),
2508
- I(A, {
2509
- class: "footer__contact",
2510
- "link-type": "regular_light",
2511
- underline: "false"
2512
- }, {
2513
- default: k(() => [
2514
- a.language === "zh" ? (s(), i("a", Ci, "+86 13661856951(微信同号)")) : (s(), i("a", Ti, "+45 20 377 577"))
2515
- ]),
2516
- _: 1
2517
- })
2518
- ])
2519
- ])
2520
- ]),
2521
- t("div", qi, [
2522
- t("p", Ai, " © Mobile Industrial Robots " + c((/* @__PURE__ */ new Date()).getFullYear()), 1),
2523
- t("div", Li, [
2524
- t("button", {
2525
- class: "footer__language-switcher",
2526
- onClick: r[0] || (r[0] = (l) => a.$emit("changeRegionClicked"))
2527
- }, [
2528
- t("span", null, [
2529
- Di,
2530
- Y(c(a.changeRegion), 1)
2531
- ])
2532
- ]),
2533
- d(a.$slots, "footer-privacy-link"),
2534
- d(a.$slots, "footer-cookie-link")
2535
- ]),
2536
- a.language !== "zh" ? (s(), i("div", Vi, [
2537
- (s(!0), i(V, null, P(a.socialMedia, (l) => (s(), T(A, {
2538
- key: l.title,
2539
- underline: "false",
2540
- "link-type": "regular"
2541
- }, {
2542
- default: k(() => [
2543
- t("a", {
2544
- href: l.url,
2545
- target: "_blank",
2546
- "aria-label": l.title
2547
- }, [
2548
- t("i", {
2549
- width: "19",
2550
- height: "14",
2551
- class: h(["footer__social--icon", [l.title ? "bg-" + l.title : ""]])
2552
- }, null, 2)
2553
- ], 8, Pi)
2554
- ]),
2555
- _: 2
2556
- }, 1024))), 128))
2557
- ])) : (s(), i("div", Fi, [
2558
- (s(!0), i(V, null, P(a.socialMediaChina, (l) => (s(), T(A, {
2559
- key: l.title,
2560
- underline: "false",
2561
- "link-type": "regular"
2562
- }, {
2563
- default: k(() => [
2564
- t("a", {
2565
- href: l.url,
2566
- target: "_blank",
2567
- "aria-label": l.title
2568
- }, [
2569
- t("i", {
2570
- width: "19",
2571
- height: "14",
2572
- class: h(["footer__social--icon", [l.title ? "bg-" + l.title : ""]])
2573
- }, null, 2)
2574
- ], 8, Mi)
2575
- ]),
2576
- _: 2
2577
- }, 1024))), 128))
2578
- ]))
2579
- ])
2580
- ])
2581
- ]));
2582
- }
2583
- }), zi = /* @__PURE__ */ g(Oi, [["__scopeId", "data-v-a0ab0743"]]), $e = (e) => (N("data-v-59a92379"), e = e(), E(), e), Hi = { class: "header__wrapper" }, Ri = { class: "nav-wrapper" }, Ni = { class: "mir-link-logo" }, Ei = { class: "main-nav-items" }, ji = { class: "secondary-nav-items" }, Ui = {
2584
- key: 0,
2585
- id: "menu-dropdown",
2586
- ref: "dropdownDiv"
2587
- }, Gi = {
2588
- key: 0,
2589
- src: "https://a.storyblok.com/f/230581/9x6/8cecdca15f/arrow-down.svg?cv=1695125714195",
2590
- alt: "dropdown arrow"
2591
- }, Ki = {
2592
- key: 1,
2593
- src: "https://a.storyblok.com/f/230581/9x6/8cecdca15f/arrow-down.svg?cv=1695125714195",
2594
- alt: "dropdown arrow",
2595
- style: { transform: "rotate(180deg)" }
2596
- }, Ji = { class: "dropdown-content" }, Wi = {
2597
- key: 1,
2598
- class: "nav-search-wrapper"
2599
- }, Yi = ["src"], Qi = {
2600
- key: 2,
2601
- id: "menu-portal-switcher",
2602
- class: "portal-switcher-wrapper"
2603
- }, Zi = /* @__PURE__ */ $e(() => /* @__PURE__ */ t("img", {
2604
- src: "https://a.storyblok.com/f/230581/14x12/1b00a4a551/portal-switcher.svg?cv=1712916615032",
2605
- alt: "portal switcher icon",
2606
- width: "20",
2607
- height: "20"
2608
- }, null, -1)), Xi = [
2609
- Zi
2610
- ], xi = { class: "portal-switcher-content" }, er = { class: "portal-switcher-links" }, tr = ["href"], ar = ["src"], or = {
2611
- key: 3,
2612
- id: "menu-profile-dropdown",
2613
- class: "profile-dropdown-wrapper"
2614
- }, lr = {
2615
- key: 0,
2616
- class: "profile-dropdown-sign-in"
2617
- }, sr = /* @__PURE__ */ $e(() => /* @__PURE__ */ t("img", {
2618
- src: "https://a.storyblok.com/f/230581/15x14/3b3253dd12/icon-user.svg?cv=1712916615014",
2619
- alt: "profile dropdown icon",
2620
- width: "20",
2621
- height: "20"
2622
- }, null, -1)), ir = [
2623
- sr
2624
- ], rr = { class: "profile-dropdown-content" }, nr = { class: "mobile-logo-search-burger-wrapper" }, dr = { class: "mobile-mir-link-logo" }, cr = {
2625
- key: 0,
2626
- class: "mobile-search-wrapper"
2627
- }, ur = ["src"], _r = {
2628
- key: 1,
2629
- id: "menu-portal-switcher",
2630
- class: "menu-portal-switcher-wrapper"
2631
- }, hr = ["src"], pr = { class: "portal-switcher-content" }, mr = { class: "portal-switcher-links" }, fr = ["href"], vr = ["src"], gr = ["src"], br = { class: "mobile-menu-content-wrapper" }, kr = { class: "mobile-dropdown-content" }, yr = /* @__PURE__ */ b({
2632
- __name: "header",
2633
- props: {
2634
- burgerState: {
2635
- type: Boolean,
2636
- default: !1
2637
- },
2638
- search: {
2639
- type: Boolean,
2640
- default: !0
2641
- },
2642
- showDropDown: {
2643
- type: Boolean,
2644
- default: !1
2645
- },
2646
- useDropdown: {
2647
- type: Boolean,
2648
- default: !1
2649
- },
2650
- showPortalSwitcherDropDown: {
2651
- type: Boolean,
2652
- default: !1
2653
- },
2654
- usePortalSwitcher: {
2655
- type: Boolean,
2656
- default: !1
2657
- },
2658
- portals: {
2659
- type: Array,
2660
- default: () => []
2661
- },
2662
- showProfileDropDown: {
2663
- type: Boolean,
2664
- default: !1
2665
- },
2666
- isAuthenticated: {
2667
- type: Boolean,
2668
- default: !1
2669
- },
2670
- useProfileDropdown: {
2671
- type: Boolean,
2672
- default: !1
2673
- }
2674
- },
2675
- emits: [
2676
- "update:burgerState",
2677
- "update:showDropDown",
2678
- "update:showPortalSwitcherDropDown",
2679
- "update:showProfileDropDown",
2680
- "clickSearch"
2681
- ],
2682
- setup(e, { expose: a, emit: r }) {
2683
- let l = null;
2684
- const o = e;
2685
- let u = C(o.burgerState), p = C(o.search), n = C(o.showDropDown), v = C(o.showPortalSwitcherDropDown), f = C(o.showProfileDropDown), $ = C(o.isAuthenticated);
2686
- X(
2687
- () => o.burgerState,
2688
- (w) => u.value = w
2689
- ), X(
2690
- () => o.search,
2691
- (w) => p.value = w
2692
- ), X(
2693
- () => o.showDropDown,
2694
- (w) => n.value = w
2695
- ), X(
2696
- () => o.showPortalSwitcherDropDown,
2697
- (w) => v.value = w
2698
- ), X(
2699
- () => o.showProfileDropDown,
2700
- (w) => f.value = w
2701
- ), X(
2702
- () => o.isAuthenticated,
2703
- (w) => $.value = w
2704
- ), fe(() => {
2705
- l = (w) => {
2706
- w.target.closest("#menu-dropdown") || (n.value = !1), w.target.closest("#menu-portal-switcher") || (v.value = !1), w.target.closest("#menu-profile-dropdown") || (f.value = !1);
2707
- }, window.addEventListener("click", l);
2708
- }), Ae(() => {
2709
- l !== null && window.removeEventListener("click", l);
2710
- });
2711
- const B = r;
2712
- function ae() {
2713
- n.value = !n.value, B("update:showDropDown", n.value);
2714
- }
2715
- function oe() {
2716
- v.value = !v.value, B("update:showPortalSwitcherDropDown", v.value);
2717
- }
2718
- function ne() {
2719
- f.value = !f.value, B("update:showProfileDropDown", f.value);
2720
- }
2721
- function de() {
2722
- u.value = !u.value, B("update:burgerState", u.value);
2723
- }
2724
- let K = C(null), le = C(null);
2725
- function ce() {
2726
- K.value && K.value.blur();
2727
- }
2728
- return a({
2729
- defocusSearchButton: ce
2730
- }), (w, j) => (s(), i("div", Hi, [
2731
- t("nav", null, [
2732
- t("div", Ri, [
2733
- t("div", Ni, [
2734
- d(w.$slots, "link-logo", {}, void 0, !0)
2735
- ]),
2736
- t("ul", Ei, [
2737
- d(w.$slots, "main-nav-items", {}, void 0, !0)
2738
- ]),
2739
- t("div", ji, [
2740
- e.useDropdown ? (s(), i("div", Ui, [
2741
- t("button", {
2742
- class: "nav-dropdown-btn",
2743
- "aria-label": "Toggle Dropdown",
2744
- onClick: ae
2745
- }, [
2746
- d(w.$slots, "dropdown-title", {}, void 0, !0),
2747
- y(n) === !1 ? (s(), i("img", Gi)) : (s(), i("img", Ki))
2748
- ]),
2749
- G(t("div", Ji, [
2750
- d(w.$slots, "dropdown-links", {}, void 0, !0)
2751
- ], 512), [
2752
- [W, y(n)]
2753
- ])
2754
- ], 512)) : _("", !0),
2755
- y(p) ? (s(), i("div", Wi, [
2756
- t("button", {
2757
- ref_key: "navSearchButton",
2758
- ref: K,
2759
- class: "search-icon",
2760
- "aria-label": "Toggle search",
2761
- onClick: j[0] || (j[0] = (O) => {
2762
- var z;
2763
- return w.$emit("clickSearch"), (z = y(K)) == null ? void 0 : z.blur();
2764
- })
2765
- }, [
2766
- t("img", {
2767
- src: y(u) === !0 ? "https://a.storyblok.com/f/230581/21x21/13f4ac189d/search-icon-white.svg?cv=1695125826080" : "https://a.storyblok.com/f/230581/21x21/ebbdca38d3/search-icon.svg?cv=1695125825901",
2768
- alt: "search icon",
2769
- width: "20",
2770
- height: "20"
2771
- }, null, 8, Yi)
2772
- ], 512)
2773
- ])) : _("", !0),
2774
- e.usePortalSwitcher ? (s(), i("div", Qi, [
2775
- t("button", {
2776
- class: "nav-portal-switcher-btn",
2777
- "aria-label": "Toggle Portal",
2778
- onClick: oe
2779
- }, Xi),
2780
- G(t("div", xi, [
2781
- t("ul", er, [
2782
- (s(!0), i(V, null, P(e.portals, (O, z) => (s(), i("li", {
2783
- key: z,
2784
- class: "portal-switcher-link"
2785
- }, [
2786
- I(y(A), { "link-type": "regular" }, {
2787
- default: k(() => [
2788
- t("a", {
2789
- href: O.link,
2790
- onClick: j[1] || (j[1] = (J) => x(n) ? n.value = !1 : n = !1)
2791
- }, [
2792
- t("img", {
2793
- src: O.icon
2794
- }, null, 8, ar),
2795
- t("div", null, c(O.name), 1)
2796
- ], 8, tr)
2797
- ]),
2798
- _: 2
2799
- }, 1024)
2800
- ]))), 128))
2801
- ])
2802
- ], 512), [
2803
- [W, y(v)]
2804
- ])
2805
- ])) : _("", !0),
2806
- e.useProfileDropdown ? (s(), i("div", or, [
2807
- y($) ? _("", !0) : (s(), i("div", lr, [
2808
- d(w.$slots, "profile-dropdown-sign-in", {}, void 0, !0)
2809
- ])),
2810
- y($) ? (s(), i("button", {
2811
- key: 1,
2812
- "aria-label": "Toggle Profile",
2813
- class: "nav-profile-dropdown-btn",
2814
- onClick: ne
2815
- }, ir)) : _("", !0),
2816
- G(t("div", rr, [
2817
- d(w.$slots, "profile-dropdown-links", {}, void 0, !0)
2818
- ], 512), [
2819
- [W, y(f)]
2820
- ])
2821
- ])) : _("", !0)
2822
- ])
2823
- ]),
2824
- t("div", {
2825
- class: h(["mobile-nav-wrapper", y(u) === !0 ? "mirsaic-mobile-bg mirsaic--dark" : ""])
2826
- }, [
2827
- t("div", nr, [
2828
- t("div", dr, [
2829
- d(w.$slots, "link-logo", {}, void 0, !0)
2830
- ]),
2831
- y(p) ? (s(), i("div", cr, [
2832
- t("button", {
2833
- ref_key: "mobileSearchButton",
2834
- ref: le,
2835
- class: "search-icon",
2836
- "aria-label": "Toggle search",
2837
- onClick: j[2] || (j[2] = (O) => {
2838
- var z;
2839
- return w.$emit("clickSearch"), (z = y(le)) == null ? void 0 : z.blur();
2840
- })
2841
- }, [
2842
- t("img", {
2843
- src: y(u) === !0 ? "https://a.storyblok.com/f/230581/21x21/13f4ac189d/search-icon-white.svg?cv=1695125826080" : "https://a.storyblok.com/f/230581/21x21/ebbdca38d3/search-icon.svg?cv=1695125825901",
2844
- alt: "search icon",
2845
- width: "20",
2846
- height: "20"
2847
- }, null, 8, ur)
2848
- ], 512)
2849
- ])) : _("", !0),
2850
- e.usePortalSwitcher ? (s(), i("div", _r, [
2851
- t("button", {
2852
- class: h({
2853
- "menu-portal-switcher-btn": !0,
2854
- "is-active": y(v)
2855
- }),
2856
- style: Q({
2857
- backgroundColor: y(v) && y(u) === !0 ? "#1a76bc" : y(v) ? "#cbeefa" : "transparent"
2858
- }),
2859
- onClick: ue(oe, ["prevent"])
2860
- }, [
2861
- t("img", {
2862
- src: y(u) === !0 ? "https://a.storyblok.com/f/230581/14x12/84ff5537cb/portal-switcher-white.svg" : "https://a.storyblok.com/f/230581/14x12/1b00a4a551/portal-switcher.svg",
2863
- alt: "portalswitchericon",
2864
- width: "20",
2865
- height: "20"
2866
- }, null, 8, hr)
2867
- ], 6),
2868
- G(t("div", pr, [
2869
- t("ul", mr, [
2870
- (s(!0), i(V, null, P(e.portals, (O, z) => (s(), i("li", {
2871
- key: z,
2872
- class: "portal-switcher-link"
2873
- }, [
2874
- I(y(A), { "link-type": "regular" }, {
2875
- default: k(() => [
2876
- t("a", {
2877
- href: O.link,
2878
- onClick: j[3] || (j[3] = (J) => x(n) ? n.value = !1 : n = !1)
2879
- }, [
2880
- t("img", {
2881
- src: O.icon
2882
- }, null, 8, vr),
2883
- t("div", null, c(O.name), 1)
2884
- ], 8, fr)
2885
- ]),
2886
- _: 2
2887
- }, 1024)
2888
- ]))), 128))
2889
- ])
2890
- ], 512), [
2891
- [W, y(v)]
2892
- ])
2893
- ])) : _("", !0),
2894
- t("button", {
2895
- class: "mobile-burger-wrapper",
2896
- "aria-label": "Toggle menu",
2897
- onClick: ue(de, ["prevent"])
2898
- }, [
2899
- t("img", {
2900
- width: "20",
2901
- height: "20",
2902
- src: y(u) === !0 ? "https://a.storyblok.com/f/230581/17x18/20e9329e46/close-white.svg" : "https://a.storyblok.com/f/230581/23x14/739e917bca/burger-menu-line.svg",
2903
- alt: "burger menu icon"
2904
- }, null, 8, gr)
2905
- ])
2906
- ]),
2907
- G(t("div", br, [
2908
- t("ul", null, [
2909
- d(w.$slots, "mobile-main-nav-items", {}, void 0, !0)
2910
- ]),
2911
- t("ul", kr, [
2912
- d(w.$slots, "mobile-dropdown-title", {}, void 0, !0),
2913
- d(w.$slots, "mobile-dropdown-links", {}, void 0, !0)
2914
- ])
2915
- ], 512), [
2916
- [W, y(u)]
2917
- ])
2918
- ], 2)
2919
- ])
2920
- ]));
2921
- }
2922
- }), $r = /* @__PURE__ */ g(yr, [["__scopeId", "data-v-59a92379"]]), wr = { class: "language__wrapper" }, Br = { class: "language__content" }, Sr = { class: "language__headline" }, Ir = { class: "language__paragraph" }, Cr = { class: "language__links" }, Tr = /* @__PURE__ */ b({
2923
- __name: "language-switcher",
2924
- props: {
2925
- headline: {
2926
- type: String,
2927
- default: ""
2928
- },
2929
- paragraph: {
2930
- type: String,
2931
- default: ""
2932
- }
2933
- },
2934
- setup(e) {
2935
- return (a, r) => (s(), i("div", wr, [
2936
- t("div", Br, [
2937
- t("h2", Sr, c(e.headline), 1),
2938
- t("p", Ir, c(e.paragraph), 1),
2939
- t("div", Cr, [
2940
- d(a.$slots, "language-links", {}, void 0, !0)
2941
- ])
2942
- ])
2943
- ]));
2944
- }
2945
- }), qr = /* @__PURE__ */ g(Tr, [["__scopeId", "data-v-dc8cc97e"]]), Ar = { class: "pagination__wrapper" }, Lr = { class: "pagination__content" }, Dr = /* @__PURE__ */ b({
2946
- __name: "pagination",
2947
- props: {
2948
- isPreviousDisabled: {
2949
- type: Boolean,
2950
- required: !0
2951
- },
2952
- isNextDisabled: {
2953
- type: Boolean,
2954
- required: !0
2955
- }
2956
- },
2957
- emits: ["previous", "next"],
2958
- setup(e) {
2959
- return (a, r) => (s(), i("div", Ar, [
2960
- t("div", Lr, [
2961
- I(ie, {
2962
- disabled: e.isPreviousDisabled,
2963
- variant: "previous",
2964
- "aria-label": "previous",
2965
- onClick: r[0] || (r[0] = (l) => a.$emit("previous"))
2966
- }, null, 8, ["disabled"]),
2967
- d(a.$slots, "pagination-numbers"),
2968
- I(ie, {
2969
- disabled: e.isNextDisabled,
2970
- variant: "next",
2971
- "aria-label": "next",
2972
- onClick: r[1] || (r[1] = (l) => a.$emit("next"))
2973
- }, null, 8, ["disabled"])
2974
- ])
2975
- ]));
2976
- }
2977
- }), Vr = /* @__PURE__ */ g(Dr, [["__scopeId", "data-v-da6d07c9"]]), Pr = {}, Fr = { class: "search__wrapper" };
2978
- function Mr(e, a) {
2979
- return s(), i("div", Fr, [
2980
- d(e.$slots, "default", { class: "search__content" })
2981
- ]);
2982
- }
2983
- const Or = /* @__PURE__ */ g(Pr, [["render", Mr], ["__scopeId", "data-v-c07a6cf3"]]), zr = { class: "dropdown" }, Hr = ["aria-expanded"], Rr = /* @__PURE__ */ b({
2984
- __name: "select-multiple",
2985
- props: {
2986
- label: { default: "" },
2987
- options: { default: () => [] },
2988
- selectedOptions: { default: () => [] }
2989
- },
2990
- emits: ["filter", "remove-filter"],
2991
- setup(e, { emit: a }) {
2992
- const r = C(!1), l = e, o = a;
2993
- function u(v, f) {
2994
- !l.selectedOptions.includes(v) && !l.selectedOptions.includes(f) ? o("filter", v) : o("remove-filter", v);
2995
- }
2996
- function p() {
2997
- r.value = !1;
2998
- }
2999
- const n = q(() => l.options.length > 8);
3000
- return (v, f) => {
3001
- const $ = pe("click-outside");
3002
- return G((s(), i("div", zr, [
3003
- t("button", {
3004
- class: h(["dropdown-button", { clicked: r.value }]),
3005
- style: Q({ "z-index": r.value ? 2 : 0 }),
3006
- "aria-expanded": r.value ? "true" : "false",
3007
- onClick: f[0] || (f[0] = (B) => r.value = !r.value)
3008
- }, [
3009
- d(v.$slots, "button", {}, () => [
3010
- Y(c(v.label), 1)
3011
- ], !0)
3012
- ], 14, Hr),
3013
- t("div", {
3014
- class: h([{ hidden: !r.value, "adjust-height": n.value }, "dropdown-content"])
3015
- }, [
3016
- (s(!0), i(V, null, P(v.options, (B) => (s(), T(y(ve), {
3017
- id: B.value,
3018
- key: B.value,
3019
- name: B.text,
3020
- required: !1,
3021
- disabled: !1,
3022
- value: B.value,
3023
- checked: v.selectedOptions.includes(B.value) || v.selectedOptions.includes(B.text),
3024
- onInput: (ae) => u(B.value, B.text)
3025
- }, {
3026
- default: k(() => [
3027
- Y(c(B.text), 1)
3028
- ]),
3029
- _: 2
3030
- }, 1032, ["id", "name", "value", "checked", "onInput"]))), 128))
3031
- ], 2)
3032
- ])), [
3033
- [$, p]
3034
- ]);
3035
- };
3036
- }
3037
- }), Nr = /* @__PURE__ */ g(Rr, [["__scopeId", "data-v-678cc92e"]]), Er = { class: "promo__content" }, jr = { class: "pallet-jack__media-wrap" }, Ur = { class: "pallet-jack-link" }, Gr = { class: "pallet-jack__media-wrap__inner-wrap" }, Kr = { class: "pallet-jack__media-wrap__content-wrap" }, Jr = { class: "regular-blue" }, Wr = /* @__PURE__ */ b({
3038
- __name: "pallet-jack",
3039
- props: {
3040
- label: { default: "" },
3041
- headline: {},
3042
- linkText: { default: "" },
3043
- reverse: { type: Boolean, default: !1 },
3044
- variant: { default: "default" },
3045
- linkType: { default: "link" },
3046
- teaser: { type: Boolean, default: !1 },
3047
- shortDescription: { default: "" },
3048
- text: { default: "" }
3049
- },
3050
- setup(e) {
3051
- const a = {
3052
- dark: "promo__wrapper--dark",
3053
- light: "promo__wrapper--light",
3054
- default: "promo__wrapper--default"
3055
- }, r = e, l = q(() => a[r.variant]);
3056
- return (o, u) => (s(), i("div", {
3057
- class: h([
3058
- "promo__wrapper",
3059
- l.value,
3060
- o.teaser ? "promo__wrapper--teaser" : ""
3061
- ])
3062
- }, [
3063
- t("div", Er, [
3064
- t("div", {
3065
- class: h([
3066
- "promo__video",
3067
- o.reverse ? "promo__video--reverse" : "promo__video--default"
3068
- ])
3069
- }, [
3070
- t("div", jr, [
3071
- t("div", Ur, [
3072
- d(o.$slots, "pallet-jack-link")
3073
- ]),
3074
- t("div", Gr, [
3075
- d(o.$slots, "pallet-jack-video")
3076
- ]),
3077
- t("div", Kr, [
3078
- t("h3", Jr, c(o.headline), 1),
3079
- t("p", null, c(o.shortDescription), 1)
3080
- ])
3081
- ])
3082
- ], 2),
3083
- t("div", {
3084
- class: h([
3085
- "promo__text",
3086
- o.reverse ? "promo__text--reverse" : "promo__text--default"
3087
- ])
3088
- }, [
3089
- o.label ? (s(), T(ee, {
3090
- key: 0,
3091
- text: o.label,
3092
- "label-dark": o.variant === "dark"
3093
- }, null, 8, ["text", "label-dark"])) : _("", !0),
3094
- t("div", {
3095
- class: h([
3096
- "promo__title",
3097
- o.variant === "dark" ? "promo__title--dark" : ""
3098
- ])
3099
- }, [
3100
- d(o.$slots, "promo-text")
3101
- ], 2),
3102
- o.linkType === "link" ? (s(), T(A, {
3103
- key: 1,
3104
- "link-type": o.variant === "dark" ? "regular_dark" : (o.variant === "light", "regular_light"),
3105
- arrow: ""
3106
- }, {
3107
- default: k(() => [
3108
- d(o.$slots, "promo-link")
3109
- ]),
3110
- _: 3
3111
- }, 8, ["link-type"])) : _("", !0),
3112
- o.linkType === "button" ? (s(), T(A, {
3113
- key: 2,
3114
- "link-type": o.variant === "dark" ? "secondary_dark" : (o.variant === "light", "secondary")
3115
- }, {
3116
- default: k(() => [
3117
- d(o.$slots, "promo-link")
3118
- ]),
3119
- _: 3
3120
- }, 8, ["link-type"])) : _("", !0)
3121
- ], 2)
3122
- ])
3123
- ], 2));
3124
- }
3125
- }), Yr = /* @__PURE__ */ g(Wr, [["__scopeId", "data-v-00c0bad3"]]), Zr = {
3126
- install: (e) => {
3127
- e.component("AtomButton", ie), e.component("AtomCheckbox", ve), e.component("AtomChip", Ee), e.component("AtomDropdown", Qe), e.component("AtomImage", M), e.component("AtomLabel", ee), e.component("AtomLink", A), e.component("AtomRadioButton", nt), e.component("AtomSelect", pt), e.component("AtomSelectMultiple", Nr), e.component("AtomSlider", St), e.component("AtomTextarea", Dt), e.component("AtomTextField", jt), e.component("AtomVideo", te), e.component("MoleculeAddress", sa), e.component("MoleculeBulletList", ca), e.component("MoleculeCard", ma), e.component("MoleculeColumnCard", be), e.component("MoleculeEventCard", Ta), e.component("MoleculeFlashcard", ke), e.component("MoleculeModal", ge), e.component("MoleculeTextCard", Ga), e.component("BlockAccordion", ao), e.component("BlockFacts", Bo), e.component("BlockFeatures", Do), e.component("BlockFlashcards", Oo), e.component("BlockFormScript", Uo), e.component("BlockHeadline", Wo), e.component("BlockHero", rl), e.component("BlockImage", hl), e.component("BlockImageGallery", gl), e.component("BlockLogoWall", Cl), e.component("BlockMicroStories", Dl), e.component("BlockPolicy", Ol), e.component("BlockProductHero", Kl), e.component("BlockPromo", Yl), e.component("BlockQuote", ns), e.component("BlockRichText", hs), e.component("BlockRichTextColumns", ks), e.component("BlockTimeline", As), e.component("BlockCardDisplay", no), e.component("BlockColumnGrid", mo), e.component("BlockVimeo", Ms), e.component("BlockPalletJack", Yr), e.component("BlockFrontPageHero", Zs), e.component("Organism404", oi), e.component("OrganismFilter", di), e.component("OrganismFooter", zi), e.component("OrganismHeader", $r), e.component("OrganismLanguageSwitcher", qr), e.component("OrganismPagination", Vr), e.component("OrganismSearch", Or);
3128
- }
3129
- };
3130
- export {
3131
- ie as AtomButton,
3132
- ve as AtomCheckbox,
3133
- Ee as AtomChip,
3134
- Qe as AtomDropdown,
3135
- M as AtomImage,
3136
- ee as AtomLabel,
3137
- A as AtomLink,
3138
- nt as AtomRadioButton,
3139
- pt as AtomSelect,
3140
- Nr as AtomSelectMultiple,
3141
- St as AtomSlider,
3142
- jt as AtomTextField,
3143
- Dt as AtomTextarea,
3144
- te as AtomVideo,
3145
- ao as BlockAccordion,
3146
- no as BlockCardDisplay,
3147
- mo as BlockColumnGrid,
3148
- Bo as BlockFacts,
3149
- Do as BlockFeatures,
3150
- Oo as BlockFlashcards,
3151
- Uo as BlockFormScript,
3152
- Zs as BlockFrontPageHero,
3153
- Wo as BlockHeadline,
3154
- rl as BlockHero,
3155
- hl as BlockImage,
3156
- gl as BlockImageGallery,
3157
- Cl as BlockLogoWall,
3158
- Dl as BlockMicroStories,
3159
- Yr as BlockPalletJack,
3160
- Ol as BlockPolicy,
3161
- Kl as BlockProductHero,
3162
- Yl as BlockPromo,
3163
- ns as BlockQuote,
3164
- hs as BlockRichText,
3165
- ks as BlockRichTextColumns,
3166
- As as BlockTimeline,
3167
- Ms as BlockVimeo,
3168
- sa as MoleculeAddress,
3169
- ca as MoleculeBulletList,
3170
- ma as MoleculeCard,
3171
- be as MoleculeColumnCard,
3172
- Ta as MoleculeEventCard,
3173
- ke as MoleculeFlashcard,
3174
- ge as MoleculeModal,
3175
- Ga as MoleculeTextCard,
3176
- oi as Organism404,
3177
- di as OrganismFilter,
3178
- zi as OrganismFooter,
3179
- $r as OrganismHeader,
3180
- qr as OrganismLanguageSwitcher,
3181
- Vr as OrganismPagination,
3182
- Or as OrganismSearch,
3183
- Zr as default
3184
- };