@yext/visual-editor 0.0.63 → 0.0.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +98 -22
- package/dist/index.d.ts +98 -22
- package/dist/plugin/plugin.cjs +488 -1
- package/dist/plugin/plugin.js +2149 -2
- package/dist/visual-editor.cjs +140 -93
- package/dist/visual-editor.js +23927 -20423
- package/package.json +5 -4
- package/dist/plugin/debugger-DIK3Bqjc-BgrSMGbp.js +0 -314
- package/dist/plugin/debugger-DIK3Bqjc-BjBMuz6i.cjs +0 -1
- package/dist/plugin/index-BU3c50aZ.js +0 -173661
- package/dist/plugin/index-DNFbLH_-.cjs +0 -2868
package/dist/plugin/plugin.js
CHANGED
|
@@ -1,4 +1,2151 @@
|
|
|
1
|
-
import
|
|
1
|
+
import s from "node:path";
|
|
2
|
+
import a from "fs-extra";
|
|
3
|
+
const p = `/** THIS FILE IS AUTOGENERATED AND SHOULD NOT BE EDITED */
|
|
4
|
+
import "@yext/visual-editor/style.css";
|
|
5
|
+
import "../index.css";
|
|
6
|
+
import {
|
|
7
|
+
Template,
|
|
8
|
+
GetPath,
|
|
9
|
+
TemplateProps,
|
|
10
|
+
TemplateRenderProps,
|
|
11
|
+
GetHeadConfig,
|
|
12
|
+
HeadConfig,
|
|
13
|
+
TagType,
|
|
14
|
+
} from "@yext/pages";
|
|
15
|
+
import { Render } from "@measured/puck";
|
|
16
|
+
import {
|
|
17
|
+
applyTheme,
|
|
18
|
+
VisualEditorProvider,
|
|
19
|
+
getPageMetadata,
|
|
20
|
+
applyAnalytics,
|
|
21
|
+
applyHeaderScript,
|
|
22
|
+
migrate,
|
|
23
|
+
migrationRegistry,
|
|
24
|
+
filterComponentsFromConfig,
|
|
25
|
+
resolvePageSetUrlTemplate,
|
|
26
|
+
defaultThemeConfig,
|
|
27
|
+
mainConfig,
|
|
28
|
+
getSchema,
|
|
29
|
+
getCanonicalUrl,
|
|
30
|
+
} from "@yext/visual-editor";
|
|
31
|
+
import { AnalyticsProvider, SchemaWrapper } from "@yext/pages-components";
|
|
32
|
+
|
|
33
|
+
export const getHeadConfig: GetHeadConfig<TemplateRenderProps> = (
|
|
34
|
+
data: TemplateRenderProps
|
|
35
|
+
): HeadConfig => {
|
|
36
|
+
const { document } = data;
|
|
37
|
+
const { title, description } = getPageMetadata(document);
|
|
38
|
+
const schema = getSchema(data);
|
|
39
|
+
const faviconUrl = document?._favicon ?? document?._site?.favicon?.url;
|
|
40
|
+
|
|
41
|
+
return {
|
|
42
|
+
title: title,
|
|
43
|
+
charset: "UTF-8",
|
|
44
|
+
viewport: "width=device-width, initial-scale=1",
|
|
45
|
+
tags: [
|
|
46
|
+
{
|
|
47
|
+
type: "link" as TagType,
|
|
48
|
+
attributes: {
|
|
49
|
+
rel: "icon",
|
|
50
|
+
type: "image/x-icon",
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
...(data.document.siteDomain
|
|
54
|
+
? [
|
|
55
|
+
{
|
|
56
|
+
type: "link" as TagType,
|
|
57
|
+
attributes: {
|
|
58
|
+
rel: "canonical",
|
|
59
|
+
href: getCanonicalUrl(data),
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
]
|
|
63
|
+
: []),
|
|
64
|
+
...(description
|
|
65
|
+
? [
|
|
66
|
+
{
|
|
67
|
+
type: "meta" as TagType,
|
|
68
|
+
attributes: {
|
|
69
|
+
name: "description",
|
|
70
|
+
content: description,
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
]
|
|
74
|
+
: []),
|
|
75
|
+
...(faviconUrl
|
|
76
|
+
? [
|
|
77
|
+
{
|
|
78
|
+
type: "link" as TagType,
|
|
79
|
+
attributes: {
|
|
80
|
+
rel: "icon",
|
|
81
|
+
type: "image/x-icon",
|
|
82
|
+
href: faviconUrl,
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
]
|
|
86
|
+
: []),
|
|
87
|
+
],
|
|
88
|
+
other: [
|
|
89
|
+
applyAnalytics(document),
|
|
90
|
+
applyHeaderScript(document),
|
|
91
|
+
applyTheme(document, defaultThemeConfig),
|
|
92
|
+
SchemaWrapper(schema),
|
|
93
|
+
].join("\\n"),
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
export const getPath: GetPath<TemplateProps> = ({
|
|
98
|
+
document,
|
|
99
|
+
relativePrefixToRoot,
|
|
100
|
+
}) => {
|
|
101
|
+
return resolvePageSetUrlTemplate(document, relativePrefixToRoot);
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
const Location: Template<TemplateRenderProps> = (props) => {
|
|
105
|
+
const { document } = props;
|
|
106
|
+
const filteredConfig = filterComponentsFromConfig(
|
|
107
|
+
mainConfig,
|
|
108
|
+
document?._additionalLayoutComponents,
|
|
109
|
+
document?._additionalLayoutCategories
|
|
110
|
+
);
|
|
111
|
+
|
|
112
|
+
return (
|
|
113
|
+
<AnalyticsProvider
|
|
114
|
+
apiKey={document?._env?.YEXT_PUBLIC_VISUAL_EDITOR_APP_API_KEY}
|
|
115
|
+
templateData={props}
|
|
116
|
+
currency="USD"
|
|
117
|
+
>
|
|
118
|
+
<VisualEditorProvider templateProps={props}>
|
|
119
|
+
<Render
|
|
120
|
+
config={filteredConfig}
|
|
121
|
+
data={migrate(
|
|
122
|
+
JSON.parse(document.__.layout),
|
|
123
|
+
migrationRegistry,
|
|
124
|
+
filteredConfig
|
|
125
|
+
)}
|
|
126
|
+
/>
|
|
127
|
+
</VisualEditorProvider>
|
|
128
|
+
</AnalyticsProvider>
|
|
129
|
+
);
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
export default Location;
|
|
133
|
+
`, m = `/** THIS FILE IS AUTOGENERATED AND SHOULD NOT BE EDITED */
|
|
134
|
+
import "@yext/visual-editor/editor.css";
|
|
135
|
+
import "../index.css";
|
|
136
|
+
import {
|
|
137
|
+
applyTheme,
|
|
138
|
+
defaultThemeConfig,
|
|
139
|
+
directoryConfig,
|
|
140
|
+
Editor,
|
|
141
|
+
locatorConfig,
|
|
142
|
+
mainConfig,
|
|
143
|
+
usePlatformBridgeDocument,
|
|
144
|
+
usePlatformBridgeEntityFields,
|
|
145
|
+
VisualEditorProvider,
|
|
146
|
+
} from "@yext/visual-editor";
|
|
147
|
+
import {
|
|
148
|
+
GetPath,
|
|
149
|
+
TemplateProps,
|
|
150
|
+
TemplateConfig,
|
|
151
|
+
HeadConfig,
|
|
152
|
+
TemplateRenderProps,
|
|
153
|
+
GetHeadConfig,
|
|
154
|
+
} from "@yext/pages";
|
|
155
|
+
import { type Config } from "@measured/puck";
|
|
156
|
+
import tailwindConfig from "../../tailwind.config";
|
|
157
|
+
|
|
158
|
+
const componentRegistry: Record<string, Config<any>> = {
|
|
159
|
+
main: mainConfig,
|
|
160
|
+
directory: directoryConfig,
|
|
161
|
+
locator: locatorConfig,
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
// Editor is available at /edit
|
|
165
|
+
export const getPath: GetPath<TemplateProps> = () => {
|
|
166
|
+
return "edit";
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
export const config: TemplateConfig = {
|
|
170
|
+
name: "edit",
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
export const getHeadConfig: GetHeadConfig<TemplateRenderProps> = ({
|
|
174
|
+
document,
|
|
175
|
+
}): HeadConfig => {
|
|
176
|
+
return {
|
|
177
|
+
other: fullStorySnippet + applyTheme(document, defaultThemeConfig),
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
// Render the editor
|
|
182
|
+
const Edit: () => JSX.Element = () => {
|
|
183
|
+
const entityDocument = usePlatformBridgeDocument();
|
|
184
|
+
const entityFields = usePlatformBridgeEntityFields();
|
|
185
|
+
|
|
186
|
+
return (
|
|
187
|
+
<VisualEditorProvider
|
|
188
|
+
templateProps={{
|
|
189
|
+
document: entityDocument,
|
|
190
|
+
}}
|
|
191
|
+
entityFields={entityFields}
|
|
192
|
+
tailwindConfig={tailwindConfig}
|
|
193
|
+
>
|
|
194
|
+
<Editor
|
|
195
|
+
document={entityDocument}
|
|
196
|
+
componentRegistry={componentRegistry}
|
|
197
|
+
themeConfig={defaultThemeConfig}
|
|
198
|
+
/>
|
|
199
|
+
</VisualEditorProvider>
|
|
200
|
+
);
|
|
201
|
+
};
|
|
202
|
+
|
|
203
|
+
export default Edit;
|
|
204
|
+
|
|
205
|
+
const fullStorySnippet = \`<script>
|
|
206
|
+
window['_fs_run_in_iframe'] = true;
|
|
207
|
+
window['_fs_debug'] = false;
|
|
208
|
+
window['_fs_host'] = 'fullstory.com';
|
|
209
|
+
window['_fs_script'] = 'edge.fullstory.com/s/fs.js';
|
|
210
|
+
window['_fs_org'] = 'o-1RWKDJ-na1';
|
|
211
|
+
window['_fs_namespace'] = 'FS';
|
|
212
|
+
!function(m,n,e,t,l,o,g,y){var s,f,a=function(h){
|
|
213
|
+
return!(h in m)||(m.console&&m.console.log&&m.console.log('FullStory namespace conflict. Please set window["_fs_namespace"].'),!1)}(e)
|
|
214
|
+
;function j(b){var h,d=[];function k(){h&&(d.forEach((function(b){var d;try{d=b[h[0]]&&b[h[0]](h[1])}catch(h){return void(b[3]&&b[3](h))}
|
|
215
|
+
d&&d.then?d.then(b[2],b[3]):b[2]&&b[2](d)})),d.length=0)}function r(b){return function(d){h||(h=[b,d],k())}}return b(r(0),r(1)),{
|
|
216
|
+
then:function(b,h){return j((function(r,i){d.push([b,h,r,i]),k()}))}}}a&&(g=m[e]=function(){var b=function(b,d,k,r){function i(i,c){
|
|
217
|
+
h(b,d,k,i,c,r)}r=r||2;var c,u=/Async$/;return u.test(b)?(b=b.replace(u,""),"function"==typeof Promise?new Promise(i):j(i)):h(b,d,k,c,c,r)}
|
|
218
|
+
;function h(h,d,k,r,i,c){return b._api?b._api(h,d,k,r,i,c):(b.q&&b.q.push([h,d,k,r,i,c]),null)}return b.q=[],b}(),y=function(b){function h(h){
|
|
219
|
+
"function"==typeof h[4]&&h[4](new Error(b))}var d=g.q;if(d){for(var k=0;k<d.length;k++)h(d[k]);d.length=0,d.push=h}},function(){
|
|
220
|
+
(o=n.createElement(t)).async=!0,o.crossOrigin="anonymous",o.src="https://"+l,o.onerror=function(){y("Error loading "+l)}
|
|
221
|
+
;var b=n.getElementsByTagName(t)[0];b.parentNode.insertBefore(o,b)}(),function(){function b(){}function h(b,h,d){g(b,h,d,1)}function d(b,d,k){
|
|
222
|
+
h("setProperties",{type:b,properties:d},k)}function k(b,h){d("user",b,h)}function r(b,h,d){k({uid:b},d),h&&k(h,d)}g.identify=r,g.setUserVars=k,
|
|
223
|
+
g.identifyAccount=b,g.clearUserCookie=b,g.setVars=d,g.event=function(b,d,k){h("trackEvent",{name:b,properties:d},k)},g.anonymize=function(){r(!1)
|
|
224
|
+
},g.shutdown=function(){h("shutdown")},g.restart=function(){h("restart")},g.log=function(b,d){h("log",{level:b,msg:d})},g.consent=function(b){
|
|
225
|
+
h("setIdentity",{consent:!arguments.length||b})}}(),s="fetch",f="XMLHttpRequest",g._w={},g._w[f]=m[f],g._w[s]=m[s],m[s]&&(m[s]=function(){
|
|
226
|
+
return g._w[s].apply(this,arguments)}),g._v="2.0.0")}(window,document,window._fs_namespace,"script",window._fs_script);
|
|
227
|
+
<\/script>\`;
|
|
228
|
+
`, h = `/** THIS FILE IS AUTOGENERATED AND SHOULD NOT BE EDITED */
|
|
229
|
+
import "@yext/visual-editor/style.css";
|
|
230
|
+
import "../index.css";
|
|
231
|
+
import {
|
|
232
|
+
Template,
|
|
233
|
+
GetPath,
|
|
234
|
+
TemplateProps,
|
|
235
|
+
TemplateRenderProps,
|
|
236
|
+
GetHeadConfig,
|
|
237
|
+
HeadConfig,
|
|
238
|
+
TagType,
|
|
239
|
+
} from "@yext/pages";
|
|
240
|
+
import { Render } from "@measured/puck";
|
|
241
|
+
import {
|
|
242
|
+
applyTheme,
|
|
243
|
+
VisualEditorProvider,
|
|
244
|
+
normalizeSlug,
|
|
245
|
+
getPageMetadata,
|
|
246
|
+
applyAnalytics,
|
|
247
|
+
applyHeaderScript,
|
|
248
|
+
migrate,
|
|
249
|
+
migrationRegistry,
|
|
250
|
+
defaultThemeConfig,
|
|
251
|
+
directoryConfig,
|
|
252
|
+
getSchema,
|
|
253
|
+
getCanonicalUrl,
|
|
254
|
+
} from "@yext/visual-editor";
|
|
255
|
+
import { AnalyticsProvider, SchemaWrapper } from "@yext/pages-components";
|
|
256
|
+
|
|
257
|
+
export const getHeadConfig: GetHeadConfig<TemplateRenderProps> = (
|
|
258
|
+
data: TemplateRenderProps
|
|
259
|
+
): HeadConfig => {
|
|
260
|
+
const { document } = data;
|
|
261
|
+
const { title, description } = getPageMetadata(document);
|
|
262
|
+
const schema = getSchema(data);
|
|
263
|
+
const faviconUrl = document?._favicon ?? document?._site?.favicon?.url;
|
|
264
|
+
|
|
265
|
+
return {
|
|
266
|
+
title: title,
|
|
267
|
+
charset: "UTF-8",
|
|
268
|
+
viewport: "width=device-width, initial-scale=1",
|
|
269
|
+
tags: [
|
|
270
|
+
{
|
|
271
|
+
type: "link" as TagType,
|
|
272
|
+
attributes: {
|
|
273
|
+
rel: "icon",
|
|
274
|
+
type: "image/x-icon",
|
|
275
|
+
},
|
|
276
|
+
},
|
|
277
|
+
...(data.document.siteDomain
|
|
278
|
+
? [
|
|
279
|
+
{
|
|
280
|
+
type: "link" as TagType,
|
|
281
|
+
attributes: {
|
|
282
|
+
rel: "canonical",
|
|
283
|
+
href: getCanonicalUrl(data),
|
|
284
|
+
},
|
|
285
|
+
},
|
|
286
|
+
]
|
|
287
|
+
: []),
|
|
288
|
+
...(description
|
|
289
|
+
? [
|
|
290
|
+
{
|
|
291
|
+
type: "meta" as TagType,
|
|
292
|
+
attributes: {
|
|
293
|
+
name: "description",
|
|
294
|
+
content: description,
|
|
295
|
+
},
|
|
296
|
+
},
|
|
297
|
+
]
|
|
298
|
+
: []),
|
|
299
|
+
...(faviconUrl
|
|
300
|
+
? [
|
|
301
|
+
{
|
|
302
|
+
type: "link" as TagType,
|
|
303
|
+
attributes: {
|
|
304
|
+
rel: "icon",
|
|
305
|
+
type: "image/x-icon",
|
|
306
|
+
href: faviconUrl,
|
|
307
|
+
},
|
|
308
|
+
},
|
|
309
|
+
]
|
|
310
|
+
: []),
|
|
311
|
+
],
|
|
312
|
+
other: [
|
|
313
|
+
applyAnalytics(document),
|
|
314
|
+
applyHeaderScript(document),
|
|
315
|
+
applyTheme(document, defaultThemeConfig),
|
|
316
|
+
SchemaWrapper(schema),
|
|
317
|
+
].join("\\n"),
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
|
|
321
|
+
export const getPath: GetPath<TemplateProps> = ({ document }) => {
|
|
322
|
+
if (document.slug) {
|
|
323
|
+
return document.slug;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
const localePath = document.locale !== "en" ? \`\${document.locale}/\` : "";
|
|
327
|
+
const path = \`\${localePath}\${document.id}\`;
|
|
328
|
+
|
|
329
|
+
return normalizeSlug(path);
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
const Directory: Template<TemplateRenderProps> = (props) => {
|
|
333
|
+
const { document } = props;
|
|
334
|
+
|
|
335
|
+
return (
|
|
336
|
+
<AnalyticsProvider
|
|
337
|
+
apiKey={document?._env?.YEXT_PUBLIC_VISUAL_EDITOR_APP_API_KEY}
|
|
338
|
+
templateData={props}
|
|
339
|
+
currency="USD"
|
|
340
|
+
>
|
|
341
|
+
<VisualEditorProvider templateProps={props}>
|
|
342
|
+
<Render
|
|
343
|
+
config={directoryConfig}
|
|
344
|
+
data={migrate(
|
|
345
|
+
JSON.parse(document.__.layout),
|
|
346
|
+
migrationRegistry,
|
|
347
|
+
directoryConfig
|
|
348
|
+
)}
|
|
349
|
+
/>
|
|
350
|
+
</VisualEditorProvider>
|
|
351
|
+
</AnalyticsProvider>
|
|
352
|
+
);
|
|
353
|
+
};
|
|
354
|
+
|
|
355
|
+
export default Directory;
|
|
356
|
+
`, g = `/** THIS FILE IS AUTOGENERATED AND SHOULD NOT BE EDITED */
|
|
357
|
+
import "@yext/visual-editor/style.css";
|
|
358
|
+
import "../index.css";
|
|
359
|
+
import {
|
|
360
|
+
Template,
|
|
361
|
+
GetPath,
|
|
362
|
+
TemplateProps,
|
|
363
|
+
TemplateRenderProps,
|
|
364
|
+
GetHeadConfig,
|
|
365
|
+
HeadConfig,
|
|
366
|
+
TagType,
|
|
367
|
+
} from "@yext/pages";
|
|
368
|
+
import { Render } from "@measured/puck";
|
|
369
|
+
import {
|
|
370
|
+
applyTheme,
|
|
371
|
+
VisualEditorProvider,
|
|
372
|
+
normalizeSlug,
|
|
373
|
+
getPageMetadata,
|
|
374
|
+
applyAnalytics,
|
|
375
|
+
applyHeaderScript,
|
|
376
|
+
defaultThemeConfig,
|
|
377
|
+
locatorConfig,
|
|
378
|
+
getSchema,
|
|
379
|
+
getCanonicalUrl,
|
|
380
|
+
} from "@yext/visual-editor";
|
|
381
|
+
import { AnalyticsProvider, SchemaWrapper } from "@yext/pages-components";
|
|
382
|
+
import mapboxPackageJson from "mapbox-gl/package.json";
|
|
383
|
+
|
|
384
|
+
export const getHeadConfig: GetHeadConfig<TemplateRenderProps> = (
|
|
385
|
+
data: TemplateRenderProps
|
|
386
|
+
): HeadConfig => {
|
|
387
|
+
const { document } = data;
|
|
388
|
+
const { title, description } = getPageMetadata(document);
|
|
389
|
+
const schema = getSchema(data);
|
|
390
|
+
const faviconUrl = document?._favicon ?? document?._site?.favicon?.url;
|
|
391
|
+
|
|
392
|
+
return {
|
|
393
|
+
title: title,
|
|
394
|
+
charset: "UTF-8",
|
|
395
|
+
viewport: "width=device-width, initial-scale=1",
|
|
396
|
+
tags: [
|
|
397
|
+
{
|
|
398
|
+
type: "link" as TagType,
|
|
399
|
+
attributes: {
|
|
400
|
+
rel: "icon",
|
|
401
|
+
type: "image/x-icon",
|
|
402
|
+
},
|
|
403
|
+
},
|
|
404
|
+
...(data.document.siteDomain
|
|
405
|
+
? [
|
|
406
|
+
{
|
|
407
|
+
type: "link" as TagType,
|
|
408
|
+
attributes: {
|
|
409
|
+
rel: "canonical",
|
|
410
|
+
href: getCanonicalUrl(data),
|
|
411
|
+
},
|
|
412
|
+
},
|
|
413
|
+
]
|
|
414
|
+
: []),
|
|
415
|
+
...(description
|
|
416
|
+
? [
|
|
417
|
+
{
|
|
418
|
+
type: "meta" as TagType,
|
|
419
|
+
attributes: {
|
|
420
|
+
name: "description",
|
|
421
|
+
content: description,
|
|
422
|
+
},
|
|
423
|
+
},
|
|
424
|
+
]
|
|
425
|
+
: []),
|
|
426
|
+
...(faviconUrl
|
|
427
|
+
? [
|
|
428
|
+
{
|
|
429
|
+
type: "link" as TagType,
|
|
430
|
+
attributes: {
|
|
431
|
+
rel: "icon",
|
|
432
|
+
type: "image/x-icon",
|
|
433
|
+
href: faviconUrl,
|
|
434
|
+
},
|
|
435
|
+
},
|
|
436
|
+
]
|
|
437
|
+
: []),
|
|
438
|
+
],
|
|
439
|
+
other: [
|
|
440
|
+
applyAnalytics(document),
|
|
441
|
+
applyHeaderScript(document),
|
|
442
|
+
applyTheme(document, defaultThemeConfig),
|
|
443
|
+
SchemaWrapper(schema),
|
|
444
|
+
].join("\\n"),
|
|
445
|
+
};
|
|
446
|
+
};
|
|
447
|
+
|
|
448
|
+
export const getPath: GetPath<TemplateProps> = ({ document }) => {
|
|
449
|
+
if (document.slug) {
|
|
450
|
+
return document.slug;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
const localePath = document.locale !== "en" ? \`\${document.locale}/\` : "";
|
|
454
|
+
const path = \`\${localePath}\${document.id}\`;
|
|
455
|
+
|
|
456
|
+
return normalizeSlug(path);
|
|
457
|
+
};
|
|
458
|
+
|
|
459
|
+
const Locator: Template<TemplateRenderProps> = (props) => {
|
|
460
|
+
const { document } = props;
|
|
461
|
+
|
|
462
|
+
return (
|
|
463
|
+
<>
|
|
464
|
+
<script
|
|
465
|
+
id="mapbox-script"
|
|
466
|
+
src={\`https://api.mapbox.com/mapbox-gl-js/v\${mapboxPackageJson.version}/mapbox-gl.js\`}
|
|
467
|
+
/>
|
|
468
|
+
<link
|
|
469
|
+
id="mapbox-stylesheet"
|
|
470
|
+
rel="stylesheet"
|
|
471
|
+
href={\`https://api.mapbox.com/mapbox-gl-js/v\${mapboxPackageJson.version}/mapbox-gl.css\`}
|
|
472
|
+
/>
|
|
473
|
+
<AnalyticsProvider
|
|
474
|
+
apiKey={document?._env?.YEXT_PUBLIC_VISUAL_EDITOR_APP_API_KEY}
|
|
475
|
+
templateData={props}
|
|
476
|
+
currency="USD"
|
|
477
|
+
>
|
|
478
|
+
<VisualEditorProvider templateProps={props}>
|
|
479
|
+
<Render
|
|
480
|
+
config={locatorConfig}
|
|
481
|
+
data={JSON.parse(document.__.layout)}
|
|
482
|
+
/>
|
|
483
|
+
</VisualEditorProvider>
|
|
484
|
+
</AnalyticsProvider>
|
|
485
|
+
</>
|
|
486
|
+
);
|
|
487
|
+
};
|
|
488
|
+
|
|
489
|
+
export default Locator;
|
|
490
|
+
`, e = {
|
|
491
|
+
HeroSection: {
|
|
492
|
+
name: "Hero Section",
|
|
493
|
+
type: "type.hero_section",
|
|
494
|
+
isList: !1,
|
|
495
|
+
tooltipDescription: "",
|
|
496
|
+
altLanguageBehavior: "LANGUAGE_SPECIFIC"
|
|
497
|
+
},
|
|
498
|
+
PromoSection: {
|
|
499
|
+
name: "Promo Section",
|
|
500
|
+
type: "type.promo_section",
|
|
501
|
+
isList: !1,
|
|
502
|
+
tooltipDescription: "",
|
|
503
|
+
altLanguageBehavior: "LANGUAGE_SPECIFIC"
|
|
504
|
+
},
|
|
505
|
+
ProductSection: {
|
|
506
|
+
name: "Product Section",
|
|
507
|
+
type: "type.products_section",
|
|
508
|
+
isList: !1,
|
|
509
|
+
tooltipDescription: "",
|
|
510
|
+
altLanguageBehavior: "LANGUAGE_SPECIFIC"
|
|
511
|
+
},
|
|
512
|
+
EventSection: {
|
|
513
|
+
name: "Event Section",
|
|
514
|
+
type: "type.events_section",
|
|
515
|
+
isList: !1,
|
|
516
|
+
tooltipDescription: "",
|
|
517
|
+
altLanguageBehavior: "LANGUAGE_SPECIFIC"
|
|
518
|
+
},
|
|
519
|
+
FAQSection: {
|
|
520
|
+
name: "FAQ Section",
|
|
521
|
+
type: "type.faq_section",
|
|
522
|
+
isList: !1,
|
|
523
|
+
tooltipDescription: "",
|
|
524
|
+
altLanguageBehavior: "LANGUAGE_SPECIFIC"
|
|
525
|
+
},
|
|
526
|
+
TestimonialSection: {
|
|
527
|
+
name: "Testimonial Section",
|
|
528
|
+
type: "type.testimonials_section",
|
|
529
|
+
isList: !1,
|
|
530
|
+
tooltipDescription: "",
|
|
531
|
+
altLanguageBehavior: "LANGUAGE_SPECIFIC"
|
|
532
|
+
},
|
|
533
|
+
InsightSection: {
|
|
534
|
+
name: "Insight Section",
|
|
535
|
+
type: "type.insights_section",
|
|
536
|
+
isList: !1,
|
|
537
|
+
tooltipDescription: "",
|
|
538
|
+
altLanguageBehavior: "LANGUAGE_SPECIFIC"
|
|
539
|
+
},
|
|
540
|
+
TeamSection: {
|
|
541
|
+
name: "Team Section",
|
|
542
|
+
type: "type.team_section",
|
|
543
|
+
isList: !1,
|
|
544
|
+
tooltipDescription: "",
|
|
545
|
+
altLanguageBehavior: "LANGUAGE_SPECIFIC"
|
|
546
|
+
}
|
|
547
|
+
}, y = {
|
|
548
|
+
root: {
|
|
549
|
+
props: {
|
|
550
|
+
version: 20,
|
|
551
|
+
title: { field: "name", constantValue: "", constantValueEnabled: !1 },
|
|
552
|
+
description: {
|
|
553
|
+
field: "description",
|
|
554
|
+
constantValue: "",
|
|
555
|
+
constantValueEnabled: !1
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
},
|
|
559
|
+
zones: {},
|
|
560
|
+
content: [
|
|
561
|
+
{
|
|
562
|
+
type: "ExpandedHeader",
|
|
563
|
+
props: {
|
|
564
|
+
data: {
|
|
565
|
+
primaryHeader: {
|
|
566
|
+
logo: {
|
|
567
|
+
url: "https://placehold.co/100",
|
|
568
|
+
alternateText: { en: "Logo", hasLocalizedValue: "true" },
|
|
569
|
+
width: 100,
|
|
570
|
+
height: 100
|
|
571
|
+
},
|
|
572
|
+
links: [
|
|
573
|
+
{
|
|
574
|
+
linkType: "URL",
|
|
575
|
+
label: { en: "Main Header Link", hasLocalizedValue: "true" },
|
|
576
|
+
link: "#"
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
linkType: "URL",
|
|
580
|
+
label: { en: "Main Header Link", hasLocalizedValue: "true" },
|
|
581
|
+
link: "#"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
linkType: "URL",
|
|
585
|
+
label: { en: "Main Header Link", hasLocalizedValue: "true" },
|
|
586
|
+
link: "#"
|
|
587
|
+
}
|
|
588
|
+
],
|
|
589
|
+
primaryCTA: {
|
|
590
|
+
label: { en: "Call to Action", hasLocalizedValue: "true" },
|
|
591
|
+
link: "#",
|
|
592
|
+
linkType: "URL"
|
|
593
|
+
},
|
|
594
|
+
showPrimaryCTA: !0,
|
|
595
|
+
secondaryCTA: {
|
|
596
|
+
label: { en: "Call to Action", hasLocalizedValue: "true" },
|
|
597
|
+
link: "#",
|
|
598
|
+
linkType: "URL"
|
|
599
|
+
},
|
|
600
|
+
showSecondaryCTA: !0
|
|
601
|
+
},
|
|
602
|
+
secondaryHeader: {
|
|
603
|
+
show: !1,
|
|
604
|
+
showLanguageDropdown: !1,
|
|
605
|
+
secondaryLinks: [
|
|
606
|
+
{
|
|
607
|
+
linkType: "URL",
|
|
608
|
+
label: {
|
|
609
|
+
en: "Secondary Header Link",
|
|
610
|
+
hasLocalizedValue: "true"
|
|
611
|
+
},
|
|
612
|
+
link: "#"
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
linkType: "URL",
|
|
616
|
+
label: {
|
|
617
|
+
en: "Secondary Header Link",
|
|
618
|
+
hasLocalizedValue: "true"
|
|
619
|
+
},
|
|
620
|
+
link: "#"
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
linkType: "URL",
|
|
624
|
+
label: {
|
|
625
|
+
en: "Secondary Header Link",
|
|
626
|
+
hasLocalizedValue: "true"
|
|
627
|
+
},
|
|
628
|
+
link: "#"
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
linkType: "URL",
|
|
632
|
+
label: {
|
|
633
|
+
en: "Secondary Header Link",
|
|
634
|
+
hasLocalizedValue: "true"
|
|
635
|
+
},
|
|
636
|
+
link: "#"
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
linkType: "URL",
|
|
640
|
+
label: {
|
|
641
|
+
en: "Secondary Header Link",
|
|
642
|
+
hasLocalizedValue: "true"
|
|
643
|
+
},
|
|
644
|
+
link: "#"
|
|
645
|
+
}
|
|
646
|
+
]
|
|
647
|
+
}
|
|
648
|
+
},
|
|
649
|
+
styles: {
|
|
650
|
+
primaryHeader: {
|
|
651
|
+
logo: { aspectRatio: 2 },
|
|
652
|
+
backgroundColor: { bgColor: "bg-white", textColor: "text-black" },
|
|
653
|
+
primaryCtaVariant: "primary",
|
|
654
|
+
secondaryCtaVariant: "secondary"
|
|
655
|
+
},
|
|
656
|
+
secondaryHeader: {
|
|
657
|
+
backgroundColor: {
|
|
658
|
+
bgColor: "bg-palette-primary-light",
|
|
659
|
+
textColor: "text-black"
|
|
660
|
+
}
|
|
661
|
+
},
|
|
662
|
+
maxWidth: "theme",
|
|
663
|
+
headerPosition: "scrollsWithPage"
|
|
664
|
+
},
|
|
665
|
+
analytics: { scope: "expandedHeader" },
|
|
666
|
+
id: "ExpandedHeader-84f1ec29-3de0-4d31-a119-7edce3f2e3c9",
|
|
667
|
+
ignoreLocaleWarning: ["data.secondaryHeader"]
|
|
668
|
+
}
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
type: "BannerSection",
|
|
672
|
+
props: {
|
|
673
|
+
id: "BannerSection-dd6a3db2-0bd2-498a-87a8-717a49577f24",
|
|
674
|
+
data: {
|
|
675
|
+
text: {
|
|
676
|
+
field: "",
|
|
677
|
+
constantValue: { en: "Banner Text", hasLocalizedValue: "true" },
|
|
678
|
+
constantValueEnabled: !0
|
|
679
|
+
}
|
|
680
|
+
},
|
|
681
|
+
styles: {
|
|
682
|
+
textAlignment: "center",
|
|
683
|
+
backgroundColor: {
|
|
684
|
+
bgColor: "bg-palette-primary-dark",
|
|
685
|
+
textColor: "text-white"
|
|
686
|
+
}
|
|
687
|
+
},
|
|
688
|
+
liveVisibility: !0
|
|
689
|
+
}
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
type: "BreadcrumbsSection",
|
|
693
|
+
props: {
|
|
694
|
+
id: "BreadcrumbsSection-16e56d01-021b-4882-9f40-d3861490d278",
|
|
695
|
+
data: {
|
|
696
|
+
directoryRoot: { en: "Directory Root", hasLocalizedValue: "true" }
|
|
697
|
+
},
|
|
698
|
+
analytics: { scope: "breadcrumbs" },
|
|
699
|
+
liveVisibility: !0
|
|
700
|
+
}
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
type: "HeroSection",
|
|
704
|
+
props: {
|
|
705
|
+
data: {
|
|
706
|
+
businessName: {
|
|
707
|
+
field: "",
|
|
708
|
+
constantValueEnabled: !0,
|
|
709
|
+
constantValue: { en: "Business Name", hasLocalizedValue: "true" }
|
|
710
|
+
},
|
|
711
|
+
localGeoModifier: {
|
|
712
|
+
field: "",
|
|
713
|
+
constantValueEnabled: !0,
|
|
714
|
+
constantValue: { en: "Geomodifier", hasLocalizedValue: "true" }
|
|
715
|
+
},
|
|
716
|
+
hours: { field: "hours", constantValue: {} },
|
|
717
|
+
hero: {
|
|
718
|
+
field: "",
|
|
719
|
+
constantValue: {
|
|
720
|
+
primaryCta: {
|
|
721
|
+
label: { en: "Call To Action", hasLocalizedValue: "true" },
|
|
722
|
+
link: "#",
|
|
723
|
+
linkType: "URL",
|
|
724
|
+
ctaType: "textAndLink"
|
|
725
|
+
},
|
|
726
|
+
secondaryCta: {
|
|
727
|
+
label: { en: "Learn More", hasLocalizedValue: "true" },
|
|
728
|
+
link: "#",
|
|
729
|
+
linkType: "URL",
|
|
730
|
+
ctaType: "textAndLink"
|
|
731
|
+
},
|
|
732
|
+
image: {
|
|
733
|
+
url: "https://placehold.co/640x360",
|
|
734
|
+
height: 360,
|
|
735
|
+
width: 640
|
|
736
|
+
}
|
|
737
|
+
},
|
|
738
|
+
constantValueEnabled: !0,
|
|
739
|
+
constantValueOverride: {
|
|
740
|
+
primaryCta: !0,
|
|
741
|
+
secondaryCta: !0,
|
|
742
|
+
image: !0
|
|
743
|
+
}
|
|
744
|
+
},
|
|
745
|
+
showAverageReview: !0
|
|
746
|
+
},
|
|
747
|
+
styles: {
|
|
748
|
+
variant: "classic",
|
|
749
|
+
backgroundColor: { bgColor: "bg-white", textColor: "text-black" },
|
|
750
|
+
desktopImagePosition: "right",
|
|
751
|
+
businessNameLevel: 3,
|
|
752
|
+
localGeoModifierLevel: 1,
|
|
753
|
+
primaryCTA: "primary",
|
|
754
|
+
secondaryCTA: "secondary",
|
|
755
|
+
image: { aspectRatio: 1.78, height: 500 },
|
|
756
|
+
desktopContainerPosition: "left",
|
|
757
|
+
mobileContentAlignment: "left",
|
|
758
|
+
showImage: !0,
|
|
759
|
+
mobileImagePosition: "bottom"
|
|
760
|
+
},
|
|
761
|
+
analytics: { scope: "heroSection" },
|
|
762
|
+
liveVisibility: !0,
|
|
763
|
+
id: "HeroSection-c18d2d63-a529-4168-bd13-d38124210eaf"
|
|
764
|
+
}
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
type: "CoreInfoSection",
|
|
768
|
+
props: {
|
|
769
|
+
id: "CoreInfoSection-b35756c8-6f58-4817-ae7a-1948f03b62e8",
|
|
770
|
+
data: {
|
|
771
|
+
info: {
|
|
772
|
+
emails: { field: "emails", constantValue: [] },
|
|
773
|
+
address: {
|
|
774
|
+
field: "address",
|
|
775
|
+
constantValue: {
|
|
776
|
+
city: "",
|
|
777
|
+
line1: "",
|
|
778
|
+
postalCode: "",
|
|
779
|
+
countryCode: ""
|
|
780
|
+
}
|
|
781
|
+
},
|
|
782
|
+
headingText: {
|
|
783
|
+
field: "",
|
|
784
|
+
constantValue: { en: "Information", hasLocalizedValue: "true" },
|
|
785
|
+
constantValueEnabled: !0
|
|
786
|
+
},
|
|
787
|
+
phoneNumbers: [
|
|
788
|
+
{
|
|
789
|
+
label: { en: "Phone", hasLocalizedValue: "true" },
|
|
790
|
+
number: { field: "mainPhone", constantValue: "" }
|
|
791
|
+
}
|
|
792
|
+
]
|
|
793
|
+
},
|
|
794
|
+
hours: {
|
|
795
|
+
hours: { field: "hours", constantValue: {} },
|
|
796
|
+
headingText: {
|
|
797
|
+
field: "",
|
|
798
|
+
constantValue: { en: "Hours", hasLocalizedValue: "true" },
|
|
799
|
+
constantValueEnabled: !0
|
|
800
|
+
}
|
|
801
|
+
},
|
|
802
|
+
services: {
|
|
803
|
+
headingText: {
|
|
804
|
+
field: "",
|
|
805
|
+
constantValue: { en: "Services", hasLocalizedValue: "true" },
|
|
806
|
+
constantValueEnabled: !0
|
|
807
|
+
},
|
|
808
|
+
servicesList: { field: "services", constantValue: [] }
|
|
809
|
+
}
|
|
810
|
+
},
|
|
811
|
+
styles: {
|
|
812
|
+
info: {
|
|
813
|
+
phoneFormat: "domestic",
|
|
814
|
+
emailsListLength: 1,
|
|
815
|
+
includePhoneHyperlink: !0,
|
|
816
|
+
showGetDirectionsLink: !0
|
|
817
|
+
},
|
|
818
|
+
hours: {
|
|
819
|
+
startOfWeek: "today",
|
|
820
|
+
collapseDays: !1,
|
|
821
|
+
showAdditionalHoursText: !0
|
|
822
|
+
},
|
|
823
|
+
heading: { align: "left", level: 3 },
|
|
824
|
+
backgroundColor: { bgColor: "bg-white", textColor: "text-black" }
|
|
825
|
+
},
|
|
826
|
+
analytics: { scope: "coreInfoSection" },
|
|
827
|
+
liveVisibility: !0
|
|
828
|
+
}
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
type: "PromoSection",
|
|
832
|
+
props: {
|
|
833
|
+
id: "PromoSection-e5ed6606-8b89-4087-8b17-748d0f9e0b1a",
|
|
834
|
+
data: {
|
|
835
|
+
promo: {
|
|
836
|
+
field: "",
|
|
837
|
+
constantValue: {
|
|
838
|
+
cta: {
|
|
839
|
+
link: "#",
|
|
840
|
+
label: { en: "Learn More", hasLocalizedValue: "true" },
|
|
841
|
+
linkType: "URL"
|
|
842
|
+
},
|
|
843
|
+
image: {
|
|
844
|
+
url: "https://placehold.co/640x360",
|
|
845
|
+
width: 640,
|
|
846
|
+
height: 360
|
|
847
|
+
},
|
|
848
|
+
title: { en: "Featured Promotion", hasLocalizedValue: "true" },
|
|
849
|
+
description: {
|
|
850
|
+
en: "Lorem ipsum dolor sit amet, consectetur adipiscing. Maecenas finibus placerat justo. 100 characters",
|
|
851
|
+
hasLocalizedValue: "true"
|
|
852
|
+
}
|
|
853
|
+
},
|
|
854
|
+
constantValueEnabled: !0,
|
|
855
|
+
constantValueOverride: {
|
|
856
|
+
cta: !0,
|
|
857
|
+
image: !0,
|
|
858
|
+
title: !0,
|
|
859
|
+
description: !0
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
},
|
|
863
|
+
analytics: { scope: "promoSection" },
|
|
864
|
+
liveVisibility: !0,
|
|
865
|
+
styles: {
|
|
866
|
+
heading: { align: "left", level: 2 },
|
|
867
|
+
ctaVariant: "primary",
|
|
868
|
+
orientation: "left",
|
|
869
|
+
backgroundColor: { bgColor: "bg-white", textColor: "text-black" },
|
|
870
|
+
image: { aspectRatio: 1.78 }
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
type: "ProductSection",
|
|
876
|
+
props: {
|
|
877
|
+
styles: {
|
|
878
|
+
heading: { align: "left", level: 2 },
|
|
879
|
+
cards: {
|
|
880
|
+
headingLevel: 3,
|
|
881
|
+
backgroundColor: { bgColor: "bg-white", textColor: "text-black" }
|
|
882
|
+
},
|
|
883
|
+
backgroundColor: {
|
|
884
|
+
bgColor: "bg-palette-primary-light",
|
|
885
|
+
textColor: "text-black"
|
|
886
|
+
}
|
|
887
|
+
},
|
|
888
|
+
id: "ProductSection-f073638a-d0c0-43c2-9835-8988035488a1",
|
|
889
|
+
data: {
|
|
890
|
+
heading: {
|
|
891
|
+
field: "",
|
|
892
|
+
constantValue: {
|
|
893
|
+
en: "Featured Products",
|
|
894
|
+
hasLocalizedValue: "true"
|
|
895
|
+
},
|
|
896
|
+
constantValueEnabled: !0
|
|
897
|
+
},
|
|
898
|
+
products: {
|
|
899
|
+
field: "",
|
|
900
|
+
constantValue: {
|
|
901
|
+
products: [
|
|
902
|
+
{
|
|
903
|
+
cta: {
|
|
904
|
+
link: "#",
|
|
905
|
+
label: { en: "Learn More", hasLocalizedValue: "true" },
|
|
906
|
+
linkType: "URL"
|
|
907
|
+
},
|
|
908
|
+
name: { en: "Product Title", hasLocalizedValue: "true" },
|
|
909
|
+
image: {
|
|
910
|
+
url: "https://placehold.co/640x360",
|
|
911
|
+
width: 640,
|
|
912
|
+
height: 360
|
|
913
|
+
},
|
|
914
|
+
category: {
|
|
915
|
+
en: "Category, Pricing, etc",
|
|
916
|
+
hasLocalizedValue: "true"
|
|
917
|
+
},
|
|
918
|
+
description: {
|
|
919
|
+
en: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
|
920
|
+
hasLocalizedValue: "true"
|
|
921
|
+
}
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
cta: {
|
|
925
|
+
link: "#",
|
|
926
|
+
label: { en: "Learn More", hasLocalizedValue: "true" },
|
|
927
|
+
linkType: "URL"
|
|
928
|
+
},
|
|
929
|
+
name: { en: "Product Title", hasLocalizedValue: "true" },
|
|
930
|
+
image: {
|
|
931
|
+
url: "https://placehold.co/640x360",
|
|
932
|
+
width: 640,
|
|
933
|
+
height: 360
|
|
934
|
+
},
|
|
935
|
+
category: {
|
|
936
|
+
en: "Category, Pricing, etc",
|
|
937
|
+
hasLocalizedValue: "true"
|
|
938
|
+
},
|
|
939
|
+
description: {
|
|
940
|
+
en: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
|
941
|
+
hasLocalizedValue: "true"
|
|
942
|
+
}
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
cta: {
|
|
946
|
+
link: "#",
|
|
947
|
+
label: { en: "Learn More", hasLocalizedValue: "true" },
|
|
948
|
+
linkType: "URL"
|
|
949
|
+
},
|
|
950
|
+
name: { en: "Product Title", hasLocalizedValue: "true" },
|
|
951
|
+
image: {
|
|
952
|
+
url: "https://placehold.co/640x360",
|
|
953
|
+
width: 640,
|
|
954
|
+
height: 360
|
|
955
|
+
},
|
|
956
|
+
category: {
|
|
957
|
+
en: "Category, Pricing, etc",
|
|
958
|
+
hasLocalizedValue: "true"
|
|
959
|
+
},
|
|
960
|
+
description: {
|
|
961
|
+
en: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
|
962
|
+
hasLocalizedValue: "true"
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
]
|
|
966
|
+
},
|
|
967
|
+
constantValueEnabled: !0
|
|
968
|
+
}
|
|
969
|
+
},
|
|
970
|
+
analytics: { scope: "productsSection" },
|
|
971
|
+
liveVisibility: !0
|
|
972
|
+
}
|
|
973
|
+
},
|
|
974
|
+
{
|
|
975
|
+
type: "TestimonialSection",
|
|
976
|
+
props: {
|
|
977
|
+
styles: {
|
|
978
|
+
heading: { align: "left", level: 2 },
|
|
979
|
+
cards: {
|
|
980
|
+
headingLevel: 3,
|
|
981
|
+
backgroundColor: {
|
|
982
|
+
bgColor: "bg-palette-primary-light",
|
|
983
|
+
textColor: "text-black"
|
|
984
|
+
}
|
|
985
|
+
},
|
|
986
|
+
backgroundColor: {
|
|
987
|
+
bgColor: "bg-palette-secondary-light",
|
|
988
|
+
textColor: "text-black"
|
|
989
|
+
}
|
|
990
|
+
},
|
|
991
|
+
id: "TestimonialSection-ad495cbf-8856-4f3e-a1a9-6212df3283c3",
|
|
992
|
+
data: {
|
|
993
|
+
heading: {
|
|
994
|
+
field: "",
|
|
995
|
+
constantValue: {
|
|
996
|
+
en: "Featured Testimonials",
|
|
997
|
+
hasLocalizedValue: "true"
|
|
998
|
+
},
|
|
999
|
+
constantValueEnabled: !0
|
|
1000
|
+
},
|
|
1001
|
+
testimonials: {
|
|
1002
|
+
field: "",
|
|
1003
|
+
constantValue: {
|
|
1004
|
+
testimonials: [
|
|
1005
|
+
{
|
|
1006
|
+
description: {
|
|
1007
|
+
en: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
|
|
1008
|
+
hasLocalizedValue: "true"
|
|
1009
|
+
},
|
|
1010
|
+
contributorName: { en: "Name", hasLocalizedValue: "true" },
|
|
1011
|
+
contributionDate: "July 22, 2022"
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
description: {
|
|
1015
|
+
en: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
|
|
1016
|
+
hasLocalizedValue: "true"
|
|
1017
|
+
},
|
|
1018
|
+
contributorName: { en: "Name", hasLocalizedValue: "true" },
|
|
1019
|
+
contributionDate: "July 22, 2022"
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
description: {
|
|
1023
|
+
en: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
|
|
1024
|
+
hasLocalizedValue: "true"
|
|
1025
|
+
},
|
|
1026
|
+
contributorName: { en: "Name", hasLocalizedValue: "true" },
|
|
1027
|
+
contributionDate: "July 22, 2022"
|
|
1028
|
+
}
|
|
1029
|
+
]
|
|
1030
|
+
},
|
|
1031
|
+
constantValueEnabled: !0
|
|
1032
|
+
}
|
|
1033
|
+
},
|
|
1034
|
+
liveVisibility: !0
|
|
1035
|
+
}
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
type: "FAQSection",
|
|
1039
|
+
props: {
|
|
1040
|
+
id: "FAQSection-1dfb0458-3292-4d45-8df1-922db4914060",
|
|
1041
|
+
data: {
|
|
1042
|
+
faqs: {
|
|
1043
|
+
field: "",
|
|
1044
|
+
constantValue: {
|
|
1045
|
+
faqs: [
|
|
1046
|
+
{
|
|
1047
|
+
answer: {
|
|
1048
|
+
en: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
|
|
1049
|
+
hasLocalizedValue: "true"
|
|
1050
|
+
},
|
|
1051
|
+
question: {
|
|
1052
|
+
en: "Question Lorem ipsum dolor sit amet?",
|
|
1053
|
+
hasLocalizedValue: "true"
|
|
1054
|
+
}
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
answer: {
|
|
1058
|
+
en: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
|
|
1059
|
+
hasLocalizedValue: "true"
|
|
1060
|
+
},
|
|
1061
|
+
question: {
|
|
1062
|
+
en: "Question Lorem ipsum dolor sit amet?",
|
|
1063
|
+
hasLocalizedValue: "true"
|
|
1064
|
+
}
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
answer: {
|
|
1068
|
+
en: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
|
|
1069
|
+
hasLocalizedValue: "true"
|
|
1070
|
+
},
|
|
1071
|
+
question: {
|
|
1072
|
+
en: "Question Lorem ipsum dolor sit amet?",
|
|
1073
|
+
hasLocalizedValue: "true"
|
|
1074
|
+
}
|
|
1075
|
+
}
|
|
1076
|
+
]
|
|
1077
|
+
},
|
|
1078
|
+
constantValueEnabled: !0
|
|
1079
|
+
},
|
|
1080
|
+
heading: {
|
|
1081
|
+
field: "",
|
|
1082
|
+
constantValue: {
|
|
1083
|
+
en: "Frequently Asked Questions",
|
|
1084
|
+
hasLocalizedValue: "true"
|
|
1085
|
+
},
|
|
1086
|
+
constantValueEnabled: !0
|
|
1087
|
+
}
|
|
1088
|
+
},
|
|
1089
|
+
styles: {
|
|
1090
|
+
heading: { align: "left", level: 2 },
|
|
1091
|
+
backgroundColor: {
|
|
1092
|
+
bgColor: "bg-palette-primary-light",
|
|
1093
|
+
textColor: "text-black"
|
|
1094
|
+
}
|
|
1095
|
+
},
|
|
1096
|
+
liveVisibility: !0
|
|
1097
|
+
}
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
type: "TeamSection",
|
|
1101
|
+
props: {
|
|
1102
|
+
styles: {
|
|
1103
|
+
heading: { align: "left", level: 2 },
|
|
1104
|
+
cards: {
|
|
1105
|
+
headingLevel: 3,
|
|
1106
|
+
backgroundColor: { bgColor: "bg-white", textColor: "text-black" }
|
|
1107
|
+
},
|
|
1108
|
+
backgroundColor: {
|
|
1109
|
+
bgColor: "bg-palette-secondary-light",
|
|
1110
|
+
textColor: "text-black"
|
|
1111
|
+
}
|
|
1112
|
+
},
|
|
1113
|
+
id: "TeamSection-ecc3b656-3b9f-4579-b2b6-f327c0f72b44",
|
|
1114
|
+
data: {
|
|
1115
|
+
people: {
|
|
1116
|
+
field: "",
|
|
1117
|
+
constantValue: {
|
|
1118
|
+
people: [
|
|
1119
|
+
{
|
|
1120
|
+
cta: {
|
|
1121
|
+
link: "#",
|
|
1122
|
+
label: { en: "Visit Profile", hasLocalizedValue: "true" },
|
|
1123
|
+
linkType: "URL"
|
|
1124
|
+
},
|
|
1125
|
+
name: { en: "First Last", hasLocalizedValue: "true" },
|
|
1126
|
+
email: "jkelley@[company].com",
|
|
1127
|
+
title: { en: "Associate Agent", hasLocalizedValue: "true" },
|
|
1128
|
+
headshot: {
|
|
1129
|
+
url: "https://placehold.co/80x80",
|
|
1130
|
+
width: 80,
|
|
1131
|
+
height: 80
|
|
1132
|
+
},
|
|
1133
|
+
phoneNumber: "(202) 770-6619 "
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
cta: {
|
|
1137
|
+
link: "#",
|
|
1138
|
+
label: { en: "Visit Profile", hasLocalizedValue: "true" },
|
|
1139
|
+
linkType: "URL"
|
|
1140
|
+
},
|
|
1141
|
+
name: { en: "First Last", hasLocalizedValue: "true" },
|
|
1142
|
+
email: "jkelley@[company].com",
|
|
1143
|
+
title: { en: "Associate Agent", hasLocalizedValue: "true" },
|
|
1144
|
+
headshot: {
|
|
1145
|
+
url: "https://placehold.co/80x80",
|
|
1146
|
+
width: 80,
|
|
1147
|
+
height: 80
|
|
1148
|
+
},
|
|
1149
|
+
phoneNumber: "(202) 770-6619 "
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
cta: {
|
|
1153
|
+
link: "#",
|
|
1154
|
+
label: { en: "Visit Profile", hasLocalizedValue: "true" },
|
|
1155
|
+
linkType: "URL"
|
|
1156
|
+
},
|
|
1157
|
+
name: { en: "First Last", hasLocalizedValue: "true" },
|
|
1158
|
+
email: "jkelley@[company].com",
|
|
1159
|
+
title: { en: "Associate Agent", hasLocalizedValue: "true" },
|
|
1160
|
+
headshot: {
|
|
1161
|
+
url: "https://placehold.co/80x80",
|
|
1162
|
+
width: 80,
|
|
1163
|
+
height: 80
|
|
1164
|
+
},
|
|
1165
|
+
phoneNumber: "(202) 770-6619 "
|
|
1166
|
+
}
|
|
1167
|
+
]
|
|
1168
|
+
},
|
|
1169
|
+
constantValueEnabled: !0
|
|
1170
|
+
},
|
|
1171
|
+
heading: {
|
|
1172
|
+
field: "",
|
|
1173
|
+
constantValue: { en: "Meet Our Team", hasLocalizedValue: "true" },
|
|
1174
|
+
constantValueEnabled: !0
|
|
1175
|
+
}
|
|
1176
|
+
},
|
|
1177
|
+
analytics: { scope: "teamSection" },
|
|
1178
|
+
liveVisibility: !0
|
|
1179
|
+
}
|
|
1180
|
+
},
|
|
1181
|
+
{
|
|
1182
|
+
type: "InsightSection",
|
|
1183
|
+
props: {
|
|
1184
|
+
styles: {
|
|
1185
|
+
heading: { align: "left", level: 2 },
|
|
1186
|
+
cards: {
|
|
1187
|
+
headingLevel: 3,
|
|
1188
|
+
backgroundColor: { bgColor: "bg-white", textColor: "text-black" }
|
|
1189
|
+
},
|
|
1190
|
+
backgroundColor: {
|
|
1191
|
+
bgColor: "bg-palette-primary-light",
|
|
1192
|
+
textColor: "text-black"
|
|
1193
|
+
}
|
|
1194
|
+
},
|
|
1195
|
+
id: "InsightSection-575c1600-cf09-472d-98ea-217e8842773d",
|
|
1196
|
+
data: {
|
|
1197
|
+
heading: {
|
|
1198
|
+
field: "",
|
|
1199
|
+
constantValue: { en: "Insights", hasLocalizedValue: "true" },
|
|
1200
|
+
constantValueEnabled: !0
|
|
1201
|
+
},
|
|
1202
|
+
insights: {
|
|
1203
|
+
field: "",
|
|
1204
|
+
constantValue: {
|
|
1205
|
+
insights: [
|
|
1206
|
+
{
|
|
1207
|
+
cta: {
|
|
1208
|
+
link: "#",
|
|
1209
|
+
label: { en: "Read More", hasLocalizedValue: "true" },
|
|
1210
|
+
linkType: "URL"
|
|
1211
|
+
},
|
|
1212
|
+
name: { en: "Article Name", hasLocalizedValue: "true" },
|
|
1213
|
+
image: {
|
|
1214
|
+
url: "https://placehold.co/640x360",
|
|
1215
|
+
width: 640,
|
|
1216
|
+
height: 360
|
|
1217
|
+
},
|
|
1218
|
+
category: { en: "Category", hasLocalizedValue: "true" },
|
|
1219
|
+
description: {
|
|
1220
|
+
en: "Lorem ipsum dolor sit amet, consectetur adipiscing. Maecenas finibus placerat justo. Lorem ipsum dolor sit amet, consectetur adipiscing. Maecenas finibus placerat justo.Lorem ipsum dolor sit amet, consectetur adipiscing. Maecenas finibus placerat justo. 300 characters",
|
|
1221
|
+
hasLocalizedValue: "true"
|
|
1222
|
+
},
|
|
1223
|
+
publishTime: "August 2, 2022"
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
cta: {
|
|
1227
|
+
link: "#",
|
|
1228
|
+
label: { en: "Read More", hasLocalizedValue: "true" },
|
|
1229
|
+
linkType: "URL"
|
|
1230
|
+
},
|
|
1231
|
+
name: { en: "Article Name", hasLocalizedValue: "true" },
|
|
1232
|
+
image: {
|
|
1233
|
+
url: "https://placehold.co/640x360",
|
|
1234
|
+
width: 640,
|
|
1235
|
+
height: 360
|
|
1236
|
+
},
|
|
1237
|
+
category: { en: "Category", hasLocalizedValue: "true" },
|
|
1238
|
+
description: {
|
|
1239
|
+
en: "Lorem ipsum dolor sit amet, consectetur adipiscing. Maecenas finibus placerat justo. Lorem ipsum dolor sit amet, consectetur adipiscing. Maecenas finibus placerat justo.Lorem ipsum dolor sit amet, consectetur adipiscing. Maecenas finibus placerat justo. 300 characters",
|
|
1240
|
+
hasLocalizedValue: "true"
|
|
1241
|
+
},
|
|
1242
|
+
publishTime: "August 2, 2022"
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
cta: {
|
|
1246
|
+
link: "#",
|
|
1247
|
+
label: { en: "Read More", hasLocalizedValue: "true" },
|
|
1248
|
+
linkType: "URL"
|
|
1249
|
+
},
|
|
1250
|
+
name: { en: "Article Name", hasLocalizedValue: "true" },
|
|
1251
|
+
image: {
|
|
1252
|
+
url: "https://placehold.co/640x360",
|
|
1253
|
+
width: 640,
|
|
1254
|
+
height: 360
|
|
1255
|
+
},
|
|
1256
|
+
category: { en: "Category", hasLocalizedValue: "true" },
|
|
1257
|
+
description: {
|
|
1258
|
+
en: "Lorem ipsum dolor sit amet, consectetur adipiscing. Maecenas finibus placerat justo. Lorem ipsum dolor sit amet, consectetur adipiscing. Maecenas finibus placerat justo.Lorem ipsum dolor sit amet, consectetur adipiscing. Maecenas finibus placerat justo. 300 characters",
|
|
1259
|
+
hasLocalizedValue: "true"
|
|
1260
|
+
},
|
|
1261
|
+
publishTime: "August 2, 2022"
|
|
1262
|
+
}
|
|
1263
|
+
]
|
|
1264
|
+
},
|
|
1265
|
+
constantValueEnabled: !0
|
|
1266
|
+
}
|
|
1267
|
+
},
|
|
1268
|
+
analytics: { scope: "insightsSection" },
|
|
1269
|
+
liveVisibility: !0
|
|
1270
|
+
}
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
type: "PhotoGallerySection",
|
|
1274
|
+
props: {
|
|
1275
|
+
data: {
|
|
1276
|
+
heading: {
|
|
1277
|
+
field: "",
|
|
1278
|
+
constantValue: { en: "Gallery", hasLocalizedValue: "true" },
|
|
1279
|
+
constantValueEnabled: !0
|
|
1280
|
+
},
|
|
1281
|
+
images: {
|
|
1282
|
+
field: "",
|
|
1283
|
+
constantValue: [
|
|
1284
|
+
{
|
|
1285
|
+
assetImage: {
|
|
1286
|
+
url: "https://placehold.co/1000x570/png",
|
|
1287
|
+
width: 1e3,
|
|
1288
|
+
height: 570,
|
|
1289
|
+
assetImage: { name: "Placeholder" }
|
|
1290
|
+
}
|
|
1291
|
+
},
|
|
1292
|
+
{
|
|
1293
|
+
assetImage: {
|
|
1294
|
+
url: "https://placehold.co/1000x570/png",
|
|
1295
|
+
width: 1e3,
|
|
1296
|
+
height: 570,
|
|
1297
|
+
assetImage: { name: "Placeholder" }
|
|
1298
|
+
}
|
|
1299
|
+
},
|
|
1300
|
+
{
|
|
1301
|
+
assetImage: {
|
|
1302
|
+
url: "https://placehold.co/1000x570/png",
|
|
1303
|
+
width: 1e3,
|
|
1304
|
+
height: 570,
|
|
1305
|
+
assetImage: { name: "Placeholder" }
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
],
|
|
1309
|
+
constantValueEnabled: !0
|
|
1310
|
+
}
|
|
1311
|
+
},
|
|
1312
|
+
styles: {
|
|
1313
|
+
backgroundColor: { bgColor: "bg-white", textColor: "text-black" },
|
|
1314
|
+
heading: { level: 2, align: "left" },
|
|
1315
|
+
image: { aspectRatio: 1.78 }
|
|
1316
|
+
},
|
|
1317
|
+
liveVisibility: !0,
|
|
1318
|
+
id: "PhotoGallerySection-0f51a6bc-1044-40e8-a20c-4a37438f6e1b"
|
|
1319
|
+
}
|
|
1320
|
+
},
|
|
1321
|
+
{
|
|
1322
|
+
type: "EventSection",
|
|
1323
|
+
props: {
|
|
1324
|
+
styles: {
|
|
1325
|
+
heading: { align: "left", level: 2 },
|
|
1326
|
+
cards: {
|
|
1327
|
+
headingLevel: 3,
|
|
1328
|
+
backgroundColor: { bgColor: "bg-white", textColor: "text-black" }
|
|
1329
|
+
},
|
|
1330
|
+
backgroundColor: {
|
|
1331
|
+
bgColor: "bg-palette-primary-light",
|
|
1332
|
+
textColor: "text-black"
|
|
1333
|
+
}
|
|
1334
|
+
},
|
|
1335
|
+
id: "EventSection-01003495-92d9-44f1-bff9-cab0f291db47",
|
|
1336
|
+
data: {
|
|
1337
|
+
events: {
|
|
1338
|
+
field: "",
|
|
1339
|
+
constantValue: {
|
|
1340
|
+
events: [
|
|
1341
|
+
{
|
|
1342
|
+
cta: {
|
|
1343
|
+
link: "#",
|
|
1344
|
+
label: { en: "Learn More", hasLocalizedValue: "true" },
|
|
1345
|
+
linkType: "URL"
|
|
1346
|
+
},
|
|
1347
|
+
image: {
|
|
1348
|
+
url: "https://placehold.co/640x360",
|
|
1349
|
+
width: 640,
|
|
1350
|
+
height: 360
|
|
1351
|
+
},
|
|
1352
|
+
title: { en: "Event Title", hasLocalizedValue: "true" },
|
|
1353
|
+
dateTime: "2022-12-12T14:00:00",
|
|
1354
|
+
description: {
|
|
1355
|
+
en: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.",
|
|
1356
|
+
hasLocalizedValue: "true"
|
|
1357
|
+
}
|
|
1358
|
+
},
|
|
1359
|
+
{
|
|
1360
|
+
cta: {
|
|
1361
|
+
link: "#",
|
|
1362
|
+
label: { en: "Learn More", hasLocalizedValue: "true" },
|
|
1363
|
+
linkType: "URL"
|
|
1364
|
+
},
|
|
1365
|
+
image: {
|
|
1366
|
+
url: "https://placehold.co/640x360",
|
|
1367
|
+
width: 640,
|
|
1368
|
+
height: 360
|
|
1369
|
+
},
|
|
1370
|
+
title: { en: "Event Title", hasLocalizedValue: "true" },
|
|
1371
|
+
dateTime: "2022-12-12T14:00:00",
|
|
1372
|
+
description: {
|
|
1373
|
+
en: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.",
|
|
1374
|
+
hasLocalizedValue: "true"
|
|
1375
|
+
}
|
|
1376
|
+
},
|
|
1377
|
+
{
|
|
1378
|
+
cta: {
|
|
1379
|
+
link: "#",
|
|
1380
|
+
label: { en: "Learn More", hasLocalizedValue: "true" },
|
|
1381
|
+
linkType: "URL"
|
|
1382
|
+
},
|
|
1383
|
+
image: {
|
|
1384
|
+
url: "https://placehold.co/640x360",
|
|
1385
|
+
width: 640,
|
|
1386
|
+
height: 360
|
|
1387
|
+
},
|
|
1388
|
+
title: { en: "Event Title", hasLocalizedValue: "true" },
|
|
1389
|
+
dateTime: "2022-12-12T14:00:00",
|
|
1390
|
+
description: {
|
|
1391
|
+
en: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.",
|
|
1392
|
+
hasLocalizedValue: "true"
|
|
1393
|
+
}
|
|
1394
|
+
}
|
|
1395
|
+
]
|
|
1396
|
+
},
|
|
1397
|
+
constantValueEnabled: !0
|
|
1398
|
+
},
|
|
1399
|
+
heading: {
|
|
1400
|
+
field: "",
|
|
1401
|
+
constantValue: { en: "Upcoming Events", hasLocalizedValue: "true" },
|
|
1402
|
+
constantValueEnabled: !0
|
|
1403
|
+
}
|
|
1404
|
+
},
|
|
1405
|
+
analytics: { scope: "eventsSection" },
|
|
1406
|
+
liveVisibility: !0
|
|
1407
|
+
}
|
|
1408
|
+
},
|
|
1409
|
+
{
|
|
1410
|
+
type: "NearbyLocationsSection",
|
|
1411
|
+
props: {
|
|
1412
|
+
styles: {
|
|
1413
|
+
cards: {
|
|
1414
|
+
headingLevel: 4,
|
|
1415
|
+
backgroundColor: { bgColor: "bg-white", textColor: "text-black" }
|
|
1416
|
+
},
|
|
1417
|
+
hours: {
|
|
1418
|
+
timeFormat: "12h",
|
|
1419
|
+
showDayNames: !0,
|
|
1420
|
+
dayOfWeekFormat: "long",
|
|
1421
|
+
showCurrentStatus: !0
|
|
1422
|
+
},
|
|
1423
|
+
heading: { align: "left", level: 3 },
|
|
1424
|
+
backgroundColor: { bgColor: "bg-white", textColor: "text-black" },
|
|
1425
|
+
phoneNumberLink: !1,
|
|
1426
|
+
phoneNumberFormat: "domestic"
|
|
1427
|
+
},
|
|
1428
|
+
id: "NearbyLocationsSection-1549e534-3ba4-436d-8627-23ea2ff461cd",
|
|
1429
|
+
data: {
|
|
1430
|
+
limit: 3,
|
|
1431
|
+
radius: 10,
|
|
1432
|
+
heading: {
|
|
1433
|
+
field: "",
|
|
1434
|
+
constantValue: {
|
|
1435
|
+
en: "Nearby Locations",
|
|
1436
|
+
hasLocalizedValue: "true"
|
|
1437
|
+
},
|
|
1438
|
+
constantValueEnabled: !0
|
|
1439
|
+
},
|
|
1440
|
+
coordinate: {
|
|
1441
|
+
field: "yextDisplayCoordinate",
|
|
1442
|
+
constantValue: { latitude: 0, longitude: 0 }
|
|
1443
|
+
}
|
|
1444
|
+
},
|
|
1445
|
+
analytics: { scope: "nearbyLocationsSection" },
|
|
1446
|
+
liveVisibility: !0
|
|
1447
|
+
}
|
|
1448
|
+
},
|
|
1449
|
+
{
|
|
1450
|
+
type: "ExpandedFooter",
|
|
1451
|
+
props: {
|
|
1452
|
+
data: {
|
|
1453
|
+
primaryFooter: {
|
|
1454
|
+
logo: {
|
|
1455
|
+
url: "https://placehold.co/100",
|
|
1456
|
+
height: 100,
|
|
1457
|
+
width: 100,
|
|
1458
|
+
alternateText: { en: "Logo", hasLocalizedValue: "true" }
|
|
1459
|
+
},
|
|
1460
|
+
footerLinks: [
|
|
1461
|
+
{
|
|
1462
|
+
linkType: "URL",
|
|
1463
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1464
|
+
link: "#"
|
|
1465
|
+
},
|
|
1466
|
+
{
|
|
1467
|
+
linkType: "URL",
|
|
1468
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1469
|
+
link: "#"
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
linkType: "URL",
|
|
1473
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1474
|
+
link: "#"
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
linkType: "URL",
|
|
1478
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1479
|
+
link: "#"
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
linkType: "URL",
|
|
1483
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1484
|
+
link: "#"
|
|
1485
|
+
}
|
|
1486
|
+
],
|
|
1487
|
+
xLink: "",
|
|
1488
|
+
facebookLink: "",
|
|
1489
|
+
instagramLink: "",
|
|
1490
|
+
pinterestLink: "",
|
|
1491
|
+
linkedInLink: "",
|
|
1492
|
+
youtubeLink: "",
|
|
1493
|
+
tiktokLink: "",
|
|
1494
|
+
utilityImages: [],
|
|
1495
|
+
expandedFooter: !1,
|
|
1496
|
+
expandedFooterLinks: [
|
|
1497
|
+
{
|
|
1498
|
+
label: { en: "Footer Label", hasLocalizedValue: "true" },
|
|
1499
|
+
links: [
|
|
1500
|
+
{
|
|
1501
|
+
linkType: "URL",
|
|
1502
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1503
|
+
link: "#"
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
linkType: "URL",
|
|
1507
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1508
|
+
link: "#"
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
linkType: "URL",
|
|
1512
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1513
|
+
link: "#"
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
linkType: "URL",
|
|
1517
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1518
|
+
link: "#"
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
linkType: "URL",
|
|
1522
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1523
|
+
link: "#"
|
|
1524
|
+
}
|
|
1525
|
+
]
|
|
1526
|
+
},
|
|
1527
|
+
{
|
|
1528
|
+
label: { en: "Footer Label", hasLocalizedValue: "true" },
|
|
1529
|
+
links: [
|
|
1530
|
+
{
|
|
1531
|
+
linkType: "URL",
|
|
1532
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1533
|
+
link: "#"
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
linkType: "URL",
|
|
1537
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1538
|
+
link: "#"
|
|
1539
|
+
},
|
|
1540
|
+
{
|
|
1541
|
+
linkType: "URL",
|
|
1542
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1543
|
+
link: "#"
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
linkType: "URL",
|
|
1547
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1548
|
+
link: "#"
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
linkType: "URL",
|
|
1552
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1553
|
+
link: "#"
|
|
1554
|
+
}
|
|
1555
|
+
]
|
|
1556
|
+
},
|
|
1557
|
+
{
|
|
1558
|
+
label: { en: "Footer Label", hasLocalizedValue: "true" },
|
|
1559
|
+
links: [
|
|
1560
|
+
{
|
|
1561
|
+
linkType: "URL",
|
|
1562
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1563
|
+
link: "#"
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
linkType: "URL",
|
|
1567
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1568
|
+
link: "#"
|
|
1569
|
+
},
|
|
1570
|
+
{
|
|
1571
|
+
linkType: "URL",
|
|
1572
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1573
|
+
link: "#"
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
linkType: "URL",
|
|
1577
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1578
|
+
link: "#"
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
linkType: "URL",
|
|
1582
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1583
|
+
link: "#"
|
|
1584
|
+
}
|
|
1585
|
+
]
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
label: { en: "Footer Label", hasLocalizedValue: "true" },
|
|
1589
|
+
links: [
|
|
1590
|
+
{
|
|
1591
|
+
linkType: "URL",
|
|
1592
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1593
|
+
link: "#"
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
linkType: "URL",
|
|
1597
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1598
|
+
link: "#"
|
|
1599
|
+
},
|
|
1600
|
+
{
|
|
1601
|
+
linkType: "URL",
|
|
1602
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1603
|
+
link: "#"
|
|
1604
|
+
},
|
|
1605
|
+
{
|
|
1606
|
+
linkType: "URL",
|
|
1607
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1608
|
+
link: "#"
|
|
1609
|
+
},
|
|
1610
|
+
{
|
|
1611
|
+
linkType: "URL",
|
|
1612
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1613
|
+
link: "#"
|
|
1614
|
+
}
|
|
1615
|
+
]
|
|
1616
|
+
}
|
|
1617
|
+
]
|
|
1618
|
+
},
|
|
1619
|
+
secondaryFooter: {
|
|
1620
|
+
show: !1,
|
|
1621
|
+
copyrightMessage: { en: "", hasLocalizedValue: "true" },
|
|
1622
|
+
secondaryFooterLinks: [
|
|
1623
|
+
{
|
|
1624
|
+
linkType: "URL",
|
|
1625
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1626
|
+
link: "#"
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
linkType: "URL",
|
|
1630
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1631
|
+
link: "#"
|
|
1632
|
+
},
|
|
1633
|
+
{
|
|
1634
|
+
linkType: "URL",
|
|
1635
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1636
|
+
link: "#"
|
|
1637
|
+
},
|
|
1638
|
+
{
|
|
1639
|
+
linkType: "URL",
|
|
1640
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1641
|
+
link: "#"
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
linkType: "URL",
|
|
1645
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1646
|
+
link: "#"
|
|
1647
|
+
}
|
|
1648
|
+
]
|
|
1649
|
+
}
|
|
1650
|
+
},
|
|
1651
|
+
styles: {
|
|
1652
|
+
primaryFooter: {
|
|
1653
|
+
logo: { width: 0, aspectRatio: 1.78 },
|
|
1654
|
+
utilityImages: { width: 0, aspectRatio: 1 },
|
|
1655
|
+
backgroundColor: {
|
|
1656
|
+
bgColor: "bg-palette-primary-dark",
|
|
1657
|
+
textColor: "text-white"
|
|
1658
|
+
},
|
|
1659
|
+
linksAlignment: "right"
|
|
1660
|
+
},
|
|
1661
|
+
secondaryFooter: {
|
|
1662
|
+
backgroundColor: {
|
|
1663
|
+
bgColor: "bg-palette-primary-light",
|
|
1664
|
+
textColor: "text-black"
|
|
1665
|
+
},
|
|
1666
|
+
linksAlignment: "left"
|
|
1667
|
+
},
|
|
1668
|
+
maxWidth: "theme"
|
|
1669
|
+
},
|
|
1670
|
+
analytics: { scope: "expandedFooter" },
|
|
1671
|
+
id: "ExpandedFooter-edbfdaa2-b232-437f-87ef-6ce8a2563b25",
|
|
1672
|
+
ignoreLocaleWarning: [
|
|
1673
|
+
"data.primaryFooter.expandedFooterLinks",
|
|
1674
|
+
"data.secondaryFooter"
|
|
1675
|
+
]
|
|
1676
|
+
}
|
|
1677
|
+
}
|
|
1678
|
+
]
|
|
1679
|
+
}, L = {
|
|
1680
|
+
root: {
|
|
1681
|
+
props: {
|
|
1682
|
+
version: 7,
|
|
1683
|
+
title: { field: "", constantValue: "", constantValueEnabled: !1 },
|
|
1684
|
+
description: {
|
|
1685
|
+
field: "",
|
|
1686
|
+
constantValue: "",
|
|
1687
|
+
constantValueEnabled: !1
|
|
1688
|
+
}
|
|
1689
|
+
}
|
|
1690
|
+
},
|
|
1691
|
+
content: [
|
|
1692
|
+
{
|
|
1693
|
+
type: "ExpandedHeader",
|
|
1694
|
+
props: {
|
|
1695
|
+
data: {
|
|
1696
|
+
primaryHeader: {
|
|
1697
|
+
logo: "https://placehold.co/100",
|
|
1698
|
+
links: [
|
|
1699
|
+
{
|
|
1700
|
+
linkType: "URL",
|
|
1701
|
+
label: { en: "Main Header Link", hasLocalizedValue: "true" },
|
|
1702
|
+
link: "#"
|
|
1703
|
+
},
|
|
1704
|
+
{
|
|
1705
|
+
linkType: "URL",
|
|
1706
|
+
label: { en: "Main Header Link", hasLocalizedValue: "true" },
|
|
1707
|
+
link: "#"
|
|
1708
|
+
},
|
|
1709
|
+
{
|
|
1710
|
+
linkType: "URL",
|
|
1711
|
+
label: { en: "Main Header Link", hasLocalizedValue: "true" },
|
|
1712
|
+
link: "#"
|
|
1713
|
+
}
|
|
1714
|
+
],
|
|
1715
|
+
primaryCTA: {
|
|
1716
|
+
label: { en: "Call to Action", hasLocalizedValue: "true" },
|
|
1717
|
+
link: "#",
|
|
1718
|
+
linkType: "URL"
|
|
1719
|
+
},
|
|
1720
|
+
secondaryCTA: {
|
|
1721
|
+
label: { en: "Call to Action", hasLocalizedValue: "true" },
|
|
1722
|
+
link: "#",
|
|
1723
|
+
linkType: "URL"
|
|
1724
|
+
}
|
|
1725
|
+
},
|
|
1726
|
+
secondaryHeader: {
|
|
1727
|
+
show: !1,
|
|
1728
|
+
showLanguageDropdown: !1,
|
|
1729
|
+
secondaryLinks: [
|
|
1730
|
+
{
|
|
1731
|
+
linkType: "URL",
|
|
1732
|
+
label: {
|
|
1733
|
+
en: "Secondary Header Link",
|
|
1734
|
+
hasLocalizedValue: "true"
|
|
1735
|
+
},
|
|
1736
|
+
link: "#"
|
|
1737
|
+
},
|
|
1738
|
+
{
|
|
1739
|
+
linkType: "URL",
|
|
1740
|
+
label: {
|
|
1741
|
+
en: "Secondary Header Link",
|
|
1742
|
+
hasLocalizedValue: "true"
|
|
1743
|
+
},
|
|
1744
|
+
link: "#"
|
|
1745
|
+
},
|
|
1746
|
+
{
|
|
1747
|
+
linkType: "URL",
|
|
1748
|
+
label: {
|
|
1749
|
+
en: "Secondary Header Link",
|
|
1750
|
+
hasLocalizedValue: "true"
|
|
1751
|
+
},
|
|
1752
|
+
link: "#"
|
|
1753
|
+
},
|
|
1754
|
+
{
|
|
1755
|
+
linkType: "URL",
|
|
1756
|
+
label: {
|
|
1757
|
+
en: "Secondary Header Link",
|
|
1758
|
+
hasLocalizedValue: "true"
|
|
1759
|
+
},
|
|
1760
|
+
link: "#"
|
|
1761
|
+
},
|
|
1762
|
+
{
|
|
1763
|
+
linkType: "URL",
|
|
1764
|
+
label: {
|
|
1765
|
+
en: "Secondary Header Link",
|
|
1766
|
+
hasLocalizedValue: "true"
|
|
1767
|
+
},
|
|
1768
|
+
link: "#"
|
|
1769
|
+
}
|
|
1770
|
+
]
|
|
1771
|
+
}
|
|
1772
|
+
},
|
|
1773
|
+
styles: {
|
|
1774
|
+
primaryHeader: {
|
|
1775
|
+
logo: { aspectRatio: 2 },
|
|
1776
|
+
backgroundColor: { bgColor: "bg-white", textColor: "text-black" },
|
|
1777
|
+
primaryCtaVariant: "primary",
|
|
1778
|
+
secondaryCtaVariant: "secondary"
|
|
1779
|
+
},
|
|
1780
|
+
secondaryHeader: {
|
|
1781
|
+
backgroundColor: {
|
|
1782
|
+
bgColor: "bg-palette-primary-light",
|
|
1783
|
+
textColor: "text-black"
|
|
1784
|
+
}
|
|
1785
|
+
},
|
|
1786
|
+
maxWidth: "theme"
|
|
1787
|
+
},
|
|
1788
|
+
analytics: { scope: "expandedHeader" },
|
|
1789
|
+
id: "ExpandedHeader-56e40bdd-30f2-45a8-aa97-62ee679b56d6"
|
|
1790
|
+
}
|
|
1791
|
+
},
|
|
1792
|
+
{
|
|
1793
|
+
type: "Directory",
|
|
1794
|
+
props: {
|
|
1795
|
+
data: {
|
|
1796
|
+
directoryRoot: { en: "Directory Root", hasLocalizedValue: "true" }
|
|
1797
|
+
},
|
|
1798
|
+
styles: {
|
|
1799
|
+
cards: {
|
|
1800
|
+
backgroundColor: { bgColor: "bg-white", textColor: "text-black" },
|
|
1801
|
+
headingLevel: 3
|
|
1802
|
+
}
|
|
1803
|
+
},
|
|
1804
|
+
analytics: { scope: "directory" },
|
|
1805
|
+
id: "Directory-f934c0cd-3dfa-4937-9fc2-d805fa341915"
|
|
1806
|
+
}
|
|
1807
|
+
},
|
|
1808
|
+
{
|
|
1809
|
+
type: "ExpandedFooter",
|
|
1810
|
+
props: {
|
|
1811
|
+
data: {
|
|
1812
|
+
primaryFooter: {
|
|
1813
|
+
logo: "https://placehold.co/100",
|
|
1814
|
+
footerLinks: [
|
|
1815
|
+
{
|
|
1816
|
+
linkType: "URL",
|
|
1817
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1818
|
+
link: "#"
|
|
1819
|
+
},
|
|
1820
|
+
{
|
|
1821
|
+
linkType: "URL",
|
|
1822
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1823
|
+
link: "#"
|
|
1824
|
+
},
|
|
1825
|
+
{
|
|
1826
|
+
linkType: "URL",
|
|
1827
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1828
|
+
link: "#"
|
|
1829
|
+
},
|
|
1830
|
+
{
|
|
1831
|
+
linkType: "URL",
|
|
1832
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1833
|
+
link: "#"
|
|
1834
|
+
},
|
|
1835
|
+
{
|
|
1836
|
+
linkType: "URL",
|
|
1837
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1838
|
+
link: "#"
|
|
1839
|
+
}
|
|
1840
|
+
],
|
|
1841
|
+
xLink: "",
|
|
1842
|
+
facebookLink: "",
|
|
1843
|
+
instagramLink: "",
|
|
1844
|
+
pinterestLink: "",
|
|
1845
|
+
linkedInLink: "",
|
|
1846
|
+
youtubeLink: "",
|
|
1847
|
+
utilityImages: [],
|
|
1848
|
+
expandedFooter: !1,
|
|
1849
|
+
expandedFooterLinks: [
|
|
1850
|
+
{
|
|
1851
|
+
label: "Footer Label",
|
|
1852
|
+
links: [
|
|
1853
|
+
{
|
|
1854
|
+
linkType: "URL",
|
|
1855
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1856
|
+
link: "#"
|
|
1857
|
+
},
|
|
1858
|
+
{
|
|
1859
|
+
linkType: "URL",
|
|
1860
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1861
|
+
link: "#"
|
|
1862
|
+
},
|
|
1863
|
+
{
|
|
1864
|
+
linkType: "URL",
|
|
1865
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1866
|
+
link: "#"
|
|
1867
|
+
},
|
|
1868
|
+
{
|
|
1869
|
+
linkType: "URL",
|
|
1870
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1871
|
+
link: "#"
|
|
1872
|
+
},
|
|
1873
|
+
{
|
|
1874
|
+
linkType: "URL",
|
|
1875
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1876
|
+
link: "#"
|
|
1877
|
+
}
|
|
1878
|
+
]
|
|
1879
|
+
},
|
|
1880
|
+
{
|
|
1881
|
+
label: "Footer Label",
|
|
1882
|
+
links: [
|
|
1883
|
+
{
|
|
1884
|
+
linkType: "URL",
|
|
1885
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1886
|
+
link: "#"
|
|
1887
|
+
},
|
|
1888
|
+
{
|
|
1889
|
+
linkType: "URL",
|
|
1890
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1891
|
+
link: "#"
|
|
1892
|
+
},
|
|
1893
|
+
{
|
|
1894
|
+
linkType: "URL",
|
|
1895
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1896
|
+
link: "#"
|
|
1897
|
+
},
|
|
1898
|
+
{
|
|
1899
|
+
linkType: "URL",
|
|
1900
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1901
|
+
link: "#"
|
|
1902
|
+
},
|
|
1903
|
+
{
|
|
1904
|
+
linkType: "URL",
|
|
1905
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1906
|
+
link: "#"
|
|
1907
|
+
}
|
|
1908
|
+
]
|
|
1909
|
+
},
|
|
1910
|
+
{
|
|
1911
|
+
label: "Footer Label",
|
|
1912
|
+
links: [
|
|
1913
|
+
{
|
|
1914
|
+
linkType: "URL",
|
|
1915
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1916
|
+
link: "#"
|
|
1917
|
+
},
|
|
1918
|
+
{
|
|
1919
|
+
linkType: "URL",
|
|
1920
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1921
|
+
link: "#"
|
|
1922
|
+
},
|
|
1923
|
+
{
|
|
1924
|
+
linkType: "URL",
|
|
1925
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1926
|
+
link: "#"
|
|
1927
|
+
},
|
|
1928
|
+
{
|
|
1929
|
+
linkType: "URL",
|
|
1930
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1931
|
+
link: "#"
|
|
1932
|
+
},
|
|
1933
|
+
{
|
|
1934
|
+
linkType: "URL",
|
|
1935
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1936
|
+
link: "#"
|
|
1937
|
+
}
|
|
1938
|
+
]
|
|
1939
|
+
},
|
|
1940
|
+
{
|
|
1941
|
+
label: "Footer Label",
|
|
1942
|
+
links: [
|
|
1943
|
+
{
|
|
1944
|
+
linkType: "URL",
|
|
1945
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1946
|
+
link: "#"
|
|
1947
|
+
},
|
|
1948
|
+
{
|
|
1949
|
+
linkType: "URL",
|
|
1950
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1951
|
+
link: "#"
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
linkType: "URL",
|
|
1955
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1956
|
+
link: "#"
|
|
1957
|
+
},
|
|
1958
|
+
{
|
|
1959
|
+
linkType: "URL",
|
|
1960
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1961
|
+
link: "#"
|
|
1962
|
+
},
|
|
1963
|
+
{
|
|
1964
|
+
linkType: "URL",
|
|
1965
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1966
|
+
link: "#"
|
|
1967
|
+
}
|
|
1968
|
+
]
|
|
1969
|
+
}
|
|
1970
|
+
]
|
|
1971
|
+
},
|
|
1972
|
+
secondaryFooter: {
|
|
1973
|
+
show: !1,
|
|
1974
|
+
copyrightMessage: { en: "", hasLocalizedValue: "true" },
|
|
1975
|
+
secondaryFooterLinks: [
|
|
1976
|
+
{
|
|
1977
|
+
linkType: "URL",
|
|
1978
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1979
|
+
link: "#"
|
|
1980
|
+
},
|
|
1981
|
+
{
|
|
1982
|
+
linkType: "URL",
|
|
1983
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1984
|
+
link: "#"
|
|
1985
|
+
},
|
|
1986
|
+
{
|
|
1987
|
+
linkType: "URL",
|
|
1988
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1989
|
+
link: "#"
|
|
1990
|
+
},
|
|
1991
|
+
{
|
|
1992
|
+
linkType: "URL",
|
|
1993
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1994
|
+
link: "#"
|
|
1995
|
+
},
|
|
1996
|
+
{
|
|
1997
|
+
linkType: "URL",
|
|
1998
|
+
label: { en: "Footer Link", hasLocalizedValue: "true" },
|
|
1999
|
+
link: "#"
|
|
2000
|
+
}
|
|
2001
|
+
]
|
|
2002
|
+
}
|
|
2003
|
+
},
|
|
2004
|
+
styles: {
|
|
2005
|
+
primaryFooter: {
|
|
2006
|
+
logo: { width: 0, aspectRatio: 1.78 },
|
|
2007
|
+
utilityImages: { width: 0, aspectRatio: 1 },
|
|
2008
|
+
backgroundColor: {
|
|
2009
|
+
bgColor: "bg-palette-primary-dark",
|
|
2010
|
+
textColor: "text-white"
|
|
2011
|
+
},
|
|
2012
|
+
linksAlignment: "right"
|
|
2013
|
+
},
|
|
2014
|
+
secondaryFooter: {
|
|
2015
|
+
backgroundColor: {
|
|
2016
|
+
bgColor: "bg-palette-primary-light",
|
|
2017
|
+
textColor: "text-black"
|
|
2018
|
+
},
|
|
2019
|
+
linksAlignment: "left"
|
|
2020
|
+
},
|
|
2021
|
+
maxWidth: "theme"
|
|
2022
|
+
},
|
|
2023
|
+
analytics: { scope: "expandedFooter" },
|
|
2024
|
+
id: "ExpandedFooter-5707a44e-0d3b-4e1f-8266-12403c7a036c"
|
|
2025
|
+
}
|
|
2026
|
+
}
|
|
2027
|
+
],
|
|
2028
|
+
zones: {}
|
|
2029
|
+
}, b = {
|
|
2030
|
+
root: {
|
|
2031
|
+
props: {
|
|
2032
|
+
version: 22,
|
|
2033
|
+
title: { field: "", constantValue: "", constantValueEnabled: !1 },
|
|
2034
|
+
description: {
|
|
2035
|
+
field: "",
|
|
2036
|
+
constantValue: "",
|
|
2037
|
+
constantValueEnabled: !1
|
|
2038
|
+
}
|
|
2039
|
+
}
|
|
2040
|
+
},
|
|
2041
|
+
zones: {},
|
|
2042
|
+
content: [
|
|
2043
|
+
{
|
|
2044
|
+
type: "Locator",
|
|
2045
|
+
props: {
|
|
2046
|
+
id: "Locator-2ae506f4-a3ee-46ea-b5f9-e4c3236243a7",
|
|
2047
|
+
mapStyle: "mapbox://styles/mapbox/streets-v12",
|
|
2048
|
+
filters: {
|
|
2049
|
+
openNowButton: !1,
|
|
2050
|
+
showDistanceOptions: !1
|
|
2051
|
+
}
|
|
2052
|
+
}
|
|
2053
|
+
}
|
|
2054
|
+
]
|
|
2055
|
+
}, c = {
|
|
2056
|
+
main: JSON.stringify(y),
|
|
2057
|
+
directory: JSON.stringify(L),
|
|
2058
|
+
locator: JSON.stringify(b)
|
|
2059
|
+
}, k = [
|
|
2060
|
+
{
|
|
2061
|
+
filepath: "src/templates/main.tsx",
|
|
2062
|
+
content: p,
|
|
2063
|
+
templateManifestEntry: {
|
|
2064
|
+
name: "main",
|
|
2065
|
+
description: "Use this template to generate pages for each of your Locations.",
|
|
2066
|
+
exampleSiteUrl: "",
|
|
2067
|
+
layoutRequired: !0,
|
|
2068
|
+
defaultLayoutData: c.main,
|
|
2069
|
+
componentFields: [
|
|
2070
|
+
e.HeroSection,
|
|
2071
|
+
e.PromoSection,
|
|
2072
|
+
e.ProductSection,
|
|
2073
|
+
e.EventSection,
|
|
2074
|
+
e.FAQSection,
|
|
2075
|
+
e.TestimonialSection,
|
|
2076
|
+
e.InsightSection,
|
|
2077
|
+
e.TeamSection
|
|
2078
|
+
]
|
|
2079
|
+
}
|
|
2080
|
+
},
|
|
2081
|
+
{
|
|
2082
|
+
filepath: "src/templates/directory.tsx",
|
|
2083
|
+
content: h,
|
|
2084
|
+
templateManifestEntry: {
|
|
2085
|
+
name: "directory",
|
|
2086
|
+
description: "Use this template to generate pages for each of your Directory entities.",
|
|
2087
|
+
exampleSiteUrl: "",
|
|
2088
|
+
layoutRequired: !0,
|
|
2089
|
+
defaultLayoutData: c.directory
|
|
2090
|
+
// no componentFields are defined because this is handled in the back-end for the dynamically
|
|
2091
|
+
// generated DM fields
|
|
2092
|
+
}
|
|
2093
|
+
},
|
|
2094
|
+
{
|
|
2095
|
+
filepath: "src/templates/locator.tsx",
|
|
2096
|
+
content: g,
|
|
2097
|
+
templateManifestEntry: {
|
|
2098
|
+
name: "locator",
|
|
2099
|
+
description: "Use this template to generate pages for your Locators.",
|
|
2100
|
+
exampleSiteUrl: "",
|
|
2101
|
+
layoutRequired: !0,
|
|
2102
|
+
defaultLayoutData: c.locator
|
|
2103
|
+
}
|
|
2104
|
+
},
|
|
2105
|
+
{
|
|
2106
|
+
filepath: "src/templates/edit.tsx",
|
|
2107
|
+
content: m
|
|
2108
|
+
}
|
|
2109
|
+
], T = () => {
|
|
2110
|
+
let n = !1;
|
|
2111
|
+
const d = [], u = () => {
|
|
2112
|
+
const t = { templates: [] };
|
|
2113
|
+
k.forEach((l) => {
|
|
2114
|
+
const r = s.join(process.cwd(), l.filepath);
|
|
2115
|
+
d.push(r), a.mkdirSync(s.dirname(r), { recursive: !0 }), a.existsSync(r) || a.writeFileSync(r, l.content), l.templateManifestEntry && t.templates.push(l.templateManifestEntry);
|
|
2116
|
+
});
|
|
2117
|
+
const i = s.join(process.cwd(), ".template-manifest.json");
|
|
2118
|
+
a.existsSync(i) || a.writeFileSync(i, JSON.stringify(t, null, 2));
|
|
2119
|
+
}, o = () => {
|
|
2120
|
+
d.forEach((t) => {
|
|
2121
|
+
a.rmSync(t, { force: !0 });
|
|
2122
|
+
});
|
|
2123
|
+
};
|
|
2124
|
+
return process.on("SIGINT", () => {
|
|
2125
|
+
o(), process.nextTick(() => process.exit(0));
|
|
2126
|
+
}), process.on("SIGTERM", () => {
|
|
2127
|
+
o(), process.nextTick(() => process.exit(0));
|
|
2128
|
+
}), {
|
|
2129
|
+
name: "vite-plugin-yext-visual-editor",
|
|
2130
|
+
config(t, { command: i }) {
|
|
2131
|
+
n = i === "build";
|
|
2132
|
+
},
|
|
2133
|
+
configureServer(t) {
|
|
2134
|
+
n || (u(), t.httpServer?.on("close", () => {
|
|
2135
|
+
o();
|
|
2136
|
+
}));
|
|
2137
|
+
},
|
|
2138
|
+
buildStart() {
|
|
2139
|
+
n && u();
|
|
2140
|
+
},
|
|
2141
|
+
buildEnd() {
|
|
2142
|
+
n && o();
|
|
2143
|
+
},
|
|
2144
|
+
closeBundle() {
|
|
2145
|
+
n && o();
|
|
2146
|
+
}
|
|
2147
|
+
};
|
|
2148
|
+
};
|
|
2
2149
|
export {
|
|
3
|
-
|
|
2150
|
+
T as yextVisualEditorPlugin
|
|
4
2151
|
};
|