@yext/visual-editor 0.0.64 → 1.0.0-beta.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.
- package/dist/editor.css +1 -1
- package/dist/index.d.cts +3954 -1661
- package/dist/index.d.ts +3954 -1661
- package/dist/plugin/plugin.cjs +533 -1
- package/dist/plugin/plugin.js +5217 -2
- package/dist/visual-editor.cjs +149 -107
- package/dist/visual-editor.js +43956 -34859
- package/package.json +5 -4
- package/dist/plugin/debugger-DIK3Bqjc-D2tJbLCU.js +0 -314
- package/dist/plugin/debugger-DIK3Bqjc-D3Mq84BY.cjs +0 -1
- package/dist/plugin/index-BevgcYX3.js +0 -173728
- package/dist/plugin/index-C-bR31Ja.cjs +0 -2868
package/dist/plugin/plugin.cjs
CHANGED
|
@@ -1 +1,533 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("node:path"),a=require("fs-extra"),u=`/** THIS FILE IS AUTOGENERATED AND SHOULD NOT BE EDITED */
|
|
2
|
+
import "@yext/visual-editor/style.css";
|
|
3
|
+
import "../index.css";
|
|
4
|
+
import {
|
|
5
|
+
Template,
|
|
6
|
+
GetPath,
|
|
7
|
+
TemplateProps,
|
|
8
|
+
TemplateRenderProps,
|
|
9
|
+
GetHeadConfig,
|
|
10
|
+
HeadConfig,
|
|
11
|
+
TagType,
|
|
12
|
+
TransformProps,
|
|
13
|
+
} from "@yext/pages";
|
|
14
|
+
import { Render, resolveAllData } from "@measured/puck";
|
|
15
|
+
import {
|
|
16
|
+
applyTheme,
|
|
17
|
+
VisualEditorProvider,
|
|
18
|
+
getPageMetadata,
|
|
19
|
+
applyAnalytics,
|
|
20
|
+
applyHeaderScript,
|
|
21
|
+
migrate,
|
|
22
|
+
migrationRegistry,
|
|
23
|
+
filterComponentsFromConfig,
|
|
24
|
+
resolvePageSetUrlTemplate,
|
|
25
|
+
defaultThemeConfig,
|
|
26
|
+
mainConfig,
|
|
27
|
+
getSchema,
|
|
28
|
+
getCanonicalUrl,
|
|
29
|
+
} from "@yext/visual-editor";
|
|
30
|
+
import { AnalyticsProvider, SchemaWrapper } from "@yext/pages-components";
|
|
31
|
+
|
|
32
|
+
export const getHeadConfig: GetHeadConfig<TemplateRenderProps> = (
|
|
33
|
+
data: TemplateRenderProps
|
|
34
|
+
): HeadConfig => {
|
|
35
|
+
const { document } = data;
|
|
36
|
+
const { title, description } = getPageMetadata(document);
|
|
37
|
+
const schema = getSchema(data);
|
|
38
|
+
const faviconUrl = document?._favicon ?? document?._site?.favicon?.url;
|
|
39
|
+
|
|
40
|
+
return {
|
|
41
|
+
title: title,
|
|
42
|
+
charset: "UTF-8",
|
|
43
|
+
viewport: "width=device-width, initial-scale=1",
|
|
44
|
+
tags: [
|
|
45
|
+
{
|
|
46
|
+
type: "link",
|
|
47
|
+
attributes: {
|
|
48
|
+
rel: "icon",
|
|
49
|
+
type: "image/x-icon",
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
...(data.document.siteDomain
|
|
53
|
+
? [
|
|
54
|
+
{
|
|
55
|
+
type: "link",
|
|
56
|
+
attributes: {
|
|
57
|
+
rel: "canonical",
|
|
58
|
+
href: getCanonicalUrl(data),
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
]
|
|
62
|
+
: []),
|
|
63
|
+
...(description
|
|
64
|
+
? [
|
|
65
|
+
{
|
|
66
|
+
type: "meta" as TagType,
|
|
67
|
+
attributes: {
|
|
68
|
+
name: "description",
|
|
69
|
+
content: description,
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
]
|
|
73
|
+
: []),
|
|
74
|
+
...(faviconUrl
|
|
75
|
+
? [
|
|
76
|
+
{
|
|
77
|
+
type: "link" as TagType,
|
|
78
|
+
attributes: {
|
|
79
|
+
rel: "icon",
|
|
80
|
+
type: "image/x-icon",
|
|
81
|
+
href: faviconUrl,
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
]
|
|
85
|
+
: []),
|
|
86
|
+
],
|
|
87
|
+
other: [
|
|
88
|
+
applyAnalytics(document),
|
|
89
|
+
applyHeaderScript(document),
|
|
90
|
+
applyTheme(document, defaultThemeConfig),
|
|
91
|
+
SchemaWrapper(schema),
|
|
92
|
+
].join("\\n"),
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
export const getPath: GetPath<TemplateProps> = ({
|
|
97
|
+
document,
|
|
98
|
+
relativePrefixToRoot,
|
|
99
|
+
}) => {
|
|
100
|
+
return resolvePageSetUrlTemplate(document, relativePrefixToRoot);
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
export const transformProps: TransformProps<TemplateProps> = async (props) => {
|
|
104
|
+
const { document } = props;
|
|
105
|
+
const migratedData = migrate(
|
|
106
|
+
JSON.parse(document.__.layout),
|
|
107
|
+
migrationRegistry,
|
|
108
|
+
mainConfig,
|
|
109
|
+
document
|
|
110
|
+
);
|
|
111
|
+
const updatedData = await resolveAllData(migratedData, mainConfig, {
|
|
112
|
+
streamDocument: document,
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
return { ...props, data: updatedData };
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
const Location: Template<TemplateRenderProps> = (props) => {
|
|
119
|
+
const { document, data } = props;
|
|
120
|
+
const filteredConfig = filterComponentsFromConfig(
|
|
121
|
+
mainConfig,
|
|
122
|
+
document?._additionalLayoutComponents,
|
|
123
|
+
document?._additionalLayoutCategories
|
|
124
|
+
);
|
|
125
|
+
|
|
126
|
+
return (
|
|
127
|
+
<AnalyticsProvider
|
|
128
|
+
apiKey={document?._env?.YEXT_PUBLIC_VISUAL_EDITOR_APP_API_KEY}
|
|
129
|
+
templateData={props}
|
|
130
|
+
currency="USD"
|
|
131
|
+
>
|
|
132
|
+
<VisualEditorProvider templateProps={props}>
|
|
133
|
+
<Render
|
|
134
|
+
config={filteredConfig}
|
|
135
|
+
data={data}
|
|
136
|
+
metadata={{ streamDocument: document }}
|
|
137
|
+
/>
|
|
138
|
+
</VisualEditorProvider>
|
|
139
|
+
</AnalyticsProvider>
|
|
140
|
+
);
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
export default Location;
|
|
144
|
+
`,m=`/** THIS FILE IS AUTOGENERATED AND SHOULD NOT BE EDITED */
|
|
145
|
+
import "@yext/visual-editor/editor.css";
|
|
146
|
+
import "../index.css";
|
|
147
|
+
import {
|
|
148
|
+
applyTheme,
|
|
149
|
+
defaultThemeConfig,
|
|
150
|
+
directoryConfig,
|
|
151
|
+
Editor,
|
|
152
|
+
locatorConfig,
|
|
153
|
+
mainConfig,
|
|
154
|
+
usePlatformBridgeDocument,
|
|
155
|
+
usePlatformBridgeEntityFields,
|
|
156
|
+
VisualEditorProvider,
|
|
157
|
+
} from "@yext/visual-editor";
|
|
158
|
+
import {
|
|
159
|
+
GetPath,
|
|
160
|
+
TemplateProps,
|
|
161
|
+
TemplateConfig,
|
|
162
|
+
HeadConfig,
|
|
163
|
+
TemplateRenderProps,
|
|
164
|
+
GetHeadConfig,
|
|
165
|
+
} from "@yext/pages";
|
|
166
|
+
import { type Config } from "@measured/puck";
|
|
167
|
+
import tailwindConfig from "../../tailwind.config";
|
|
168
|
+
|
|
169
|
+
const componentRegistry: Record<string, Config<any>> = {
|
|
170
|
+
main: mainConfig,
|
|
171
|
+
directory: directoryConfig,
|
|
172
|
+
locator: locatorConfig,
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
// Editor is available at /edit
|
|
176
|
+
export const getPath: GetPath<TemplateProps> = () => {
|
|
177
|
+
return "edit";
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
export const config: TemplateConfig = {
|
|
181
|
+
name: "edit",
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
export const getHeadConfig: GetHeadConfig<TemplateRenderProps> = ({
|
|
185
|
+
document,
|
|
186
|
+
}): HeadConfig => {
|
|
187
|
+
return {
|
|
188
|
+
other: fullStorySnippet + applyTheme(document, defaultThemeConfig),
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
// Render the editor
|
|
193
|
+
const Edit: () => JSX.Element = () => {
|
|
194
|
+
const entityDocument = usePlatformBridgeDocument();
|
|
195
|
+
const entityFields = usePlatformBridgeEntityFields();
|
|
196
|
+
|
|
197
|
+
return (
|
|
198
|
+
<VisualEditorProvider
|
|
199
|
+
templateProps={{
|
|
200
|
+
document: entityDocument,
|
|
201
|
+
}}
|
|
202
|
+
entityFields={entityFields}
|
|
203
|
+
tailwindConfig={tailwindConfig}
|
|
204
|
+
>
|
|
205
|
+
<Editor
|
|
206
|
+
document={entityDocument}
|
|
207
|
+
componentRegistry={componentRegistry}
|
|
208
|
+
themeConfig={defaultThemeConfig}
|
|
209
|
+
/>
|
|
210
|
+
</VisualEditorProvider>
|
|
211
|
+
);
|
|
212
|
+
};
|
|
213
|
+
|
|
214
|
+
export default Edit;
|
|
215
|
+
|
|
216
|
+
const fullStorySnippet = \`<script>
|
|
217
|
+
window['_fs_run_in_iframe'] = true;
|
|
218
|
+
window['_fs_debug'] = false;
|
|
219
|
+
window['_fs_host'] = 'fullstory.com';
|
|
220
|
+
window['_fs_script'] = 'edge.fullstory.com/s/fs.js';
|
|
221
|
+
window['_fs_org'] = 'o-1RWKDJ-na1';
|
|
222
|
+
window['_fs_namespace'] = 'FS';
|
|
223
|
+
!function(m,n,e,t,l,o,g,y){var s,f,a=function(h){
|
|
224
|
+
return!(h in m)||(m.console&&m.console.log&&m.console.log('FullStory namespace conflict. Please set window["_fs_namespace"].'),!1)}(e)
|
|
225
|
+
;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))}
|
|
226
|
+
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)),{
|
|
227
|
+
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){
|
|
228
|
+
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)}
|
|
229
|
+
;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){
|
|
230
|
+
"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(){
|
|
231
|
+
(o=n.createElement(t)).async=!0,o.crossOrigin="anonymous",o.src="https://"+l,o.onerror=function(){y("Error loading "+l)}
|
|
232
|
+
;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){
|
|
233
|
+
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,
|
|
234
|
+
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)
|
|
235
|
+
},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){
|
|
236
|
+
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(){
|
|
237
|
+
return g._w[s].apply(this,arguments)}),g._v="2.0.0")}(window,document,window._fs_namespace,"script",window._fs_script);
|
|
238
|
+
<\/script>\`;
|
|
239
|
+
`,b=`/** THIS FILE IS AUTOGENERATED AND SHOULD NOT BE EDITED */
|
|
240
|
+
import "@yext/visual-editor/style.css";
|
|
241
|
+
import "../index.css";
|
|
242
|
+
import {
|
|
243
|
+
Template,
|
|
244
|
+
GetPath,
|
|
245
|
+
TemplateProps,
|
|
246
|
+
TemplateRenderProps,
|
|
247
|
+
TransformProps,
|
|
248
|
+
GetHeadConfig,
|
|
249
|
+
HeadConfig,
|
|
250
|
+
TagType,
|
|
251
|
+
} from "@yext/pages";
|
|
252
|
+
import { Render, resolveAllData } from "@measured/puck";
|
|
253
|
+
import {
|
|
254
|
+
applyTheme,
|
|
255
|
+
VisualEditorProvider,
|
|
256
|
+
normalizeSlug,
|
|
257
|
+
getPageMetadata,
|
|
258
|
+
applyAnalytics,
|
|
259
|
+
applyHeaderScript,
|
|
260
|
+
migrate,
|
|
261
|
+
migrationRegistry,
|
|
262
|
+
defaultThemeConfig,
|
|
263
|
+
directoryConfig,
|
|
264
|
+
getSchema,
|
|
265
|
+
getCanonicalUrl,
|
|
266
|
+
} from "@yext/visual-editor";
|
|
267
|
+
import { AnalyticsProvider, SchemaWrapper } from "@yext/pages-components";
|
|
268
|
+
|
|
269
|
+
export const getHeadConfig: GetHeadConfig<TemplateRenderProps> = (
|
|
270
|
+
data: TemplateRenderProps
|
|
271
|
+
): HeadConfig => {
|
|
272
|
+
const { document } = data;
|
|
273
|
+
const { title, description } = getPageMetadata(document);
|
|
274
|
+
const schema = getSchema(data);
|
|
275
|
+
const faviconUrl = document?._favicon ?? document?._site?.favicon?.url;
|
|
276
|
+
|
|
277
|
+
return {
|
|
278
|
+
title: title,
|
|
279
|
+
charset: "UTF-8",
|
|
280
|
+
viewport: "width=device-width, initial-scale=1",
|
|
281
|
+
tags: [
|
|
282
|
+
{
|
|
283
|
+
type: "link",
|
|
284
|
+
attributes: {
|
|
285
|
+
rel: "icon",
|
|
286
|
+
type: "image/x-icon",
|
|
287
|
+
},
|
|
288
|
+
},
|
|
289
|
+
...(data.document.siteDomain
|
|
290
|
+
? [
|
|
291
|
+
{
|
|
292
|
+
type: "link",
|
|
293
|
+
attributes: {
|
|
294
|
+
rel: "canonical",
|
|
295
|
+
href: getCanonicalUrl(data),
|
|
296
|
+
},
|
|
297
|
+
},
|
|
298
|
+
]
|
|
299
|
+
: []),
|
|
300
|
+
...(description
|
|
301
|
+
? [
|
|
302
|
+
{
|
|
303
|
+
type: "meta" as TagType,
|
|
304
|
+
attributes: {
|
|
305
|
+
name: "description",
|
|
306
|
+
content: description,
|
|
307
|
+
},
|
|
308
|
+
},
|
|
309
|
+
]
|
|
310
|
+
: []),
|
|
311
|
+
...(faviconUrl
|
|
312
|
+
? [
|
|
313
|
+
{
|
|
314
|
+
type: "link" as TagType,
|
|
315
|
+
attributes: {
|
|
316
|
+
rel: "icon",
|
|
317
|
+
type: "image/x-icon",
|
|
318
|
+
href: faviconUrl,
|
|
319
|
+
},
|
|
320
|
+
},
|
|
321
|
+
]
|
|
322
|
+
: []),
|
|
323
|
+
],
|
|
324
|
+
other: [
|
|
325
|
+
applyAnalytics(document),
|
|
326
|
+
applyHeaderScript(document),
|
|
327
|
+
applyTheme(document, defaultThemeConfig),
|
|
328
|
+
SchemaWrapper(schema),
|
|
329
|
+
].join("\\n"),
|
|
330
|
+
};
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
export const getPath: GetPath<TemplateProps> = ({ document }) => {
|
|
334
|
+
if (document.slug) {
|
|
335
|
+
return document.slug;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
const localePath = document.locale !== "en" ? \`\${document.locale}/\` : "";
|
|
339
|
+
const path = \`\${localePath}\${document.id}\`;
|
|
340
|
+
|
|
341
|
+
return normalizeSlug(path);
|
|
342
|
+
};
|
|
343
|
+
|
|
344
|
+
export const transformProps: TransformProps<TemplateProps> = async (props) => {
|
|
345
|
+
const { document } = props;
|
|
346
|
+
const migratedData = migrate(
|
|
347
|
+
JSON.parse(document.__.layout),
|
|
348
|
+
migrationRegistry,
|
|
349
|
+
directoryConfig,
|
|
350
|
+
document
|
|
351
|
+
);
|
|
352
|
+
const updatedData = await resolveAllData(migratedData, directoryConfig, {
|
|
353
|
+
streamDocument: document,
|
|
354
|
+
});
|
|
355
|
+
|
|
356
|
+
return { ...props, data: updatedData };
|
|
357
|
+
};
|
|
358
|
+
|
|
359
|
+
const Directory: Template<TemplateRenderProps> = (props) => {
|
|
360
|
+
const { document, data } = props;
|
|
361
|
+
|
|
362
|
+
return (
|
|
363
|
+
<AnalyticsProvider
|
|
364
|
+
apiKey={document?._env?.YEXT_PUBLIC_VISUAL_EDITOR_APP_API_KEY}
|
|
365
|
+
templateData={props}
|
|
366
|
+
currency="USD"
|
|
367
|
+
>
|
|
368
|
+
<VisualEditorProvider templateProps={props}>
|
|
369
|
+
<Render
|
|
370
|
+
config={directoryConfig}
|
|
371
|
+
data={data}
|
|
372
|
+
metadata={{ streamDocument: document }}
|
|
373
|
+
/>
|
|
374
|
+
</VisualEditorProvider>
|
|
375
|
+
</AnalyticsProvider>
|
|
376
|
+
);
|
|
377
|
+
};
|
|
378
|
+
|
|
379
|
+
export default Directory;
|
|
380
|
+
`,y=`/** THIS FILE IS AUTOGENERATED AND SHOULD NOT BE EDITED */
|
|
381
|
+
import "@yext/visual-editor/style.css";
|
|
382
|
+
import "../index.css";
|
|
383
|
+
import {
|
|
384
|
+
Template,
|
|
385
|
+
GetPath,
|
|
386
|
+
TemplateProps,
|
|
387
|
+
TemplateRenderProps,
|
|
388
|
+
GetHeadConfig,
|
|
389
|
+
HeadConfig,
|
|
390
|
+
TagType,
|
|
391
|
+
TransformProps,
|
|
392
|
+
} from "@yext/pages";
|
|
393
|
+
import { Render, resolveAllData } from "@measured/puck";
|
|
394
|
+
import {
|
|
395
|
+
applyTheme,
|
|
396
|
+
VisualEditorProvider,
|
|
397
|
+
normalizeSlug,
|
|
398
|
+
getPageMetadata,
|
|
399
|
+
applyAnalytics,
|
|
400
|
+
applyHeaderScript,
|
|
401
|
+
defaultThemeConfig,
|
|
402
|
+
locatorConfig,
|
|
403
|
+
getSchema,
|
|
404
|
+
migrate,
|
|
405
|
+
migrationRegistry,
|
|
406
|
+
getCanonicalUrl,
|
|
407
|
+
} from "@yext/visual-editor";
|
|
408
|
+
import { AnalyticsProvider, SchemaWrapper } from "@yext/pages-components";
|
|
409
|
+
import mapboxPackageJson from "mapbox-gl/package.json";
|
|
410
|
+
|
|
411
|
+
export const getHeadConfig: GetHeadConfig<TemplateRenderProps> = (
|
|
412
|
+
data: TemplateRenderProps
|
|
413
|
+
): HeadConfig => {
|
|
414
|
+
const { document } = data;
|
|
415
|
+
const { title, description } = getPageMetadata(document);
|
|
416
|
+
const schema = getSchema(data);
|
|
417
|
+
const faviconUrl = document?._favicon ?? document?._site?.favicon?.url;
|
|
418
|
+
|
|
419
|
+
return {
|
|
420
|
+
title: title,
|
|
421
|
+
charset: "UTF-8",
|
|
422
|
+
viewport: "width=device-width, initial-scale=1",
|
|
423
|
+
tags: [
|
|
424
|
+
{
|
|
425
|
+
type: "link",
|
|
426
|
+
attributes: {
|
|
427
|
+
rel: "icon",
|
|
428
|
+
type: "image/x-icon",
|
|
429
|
+
},
|
|
430
|
+
},
|
|
431
|
+
...(data.document.siteDomain
|
|
432
|
+
? [
|
|
433
|
+
{
|
|
434
|
+
type: "link",
|
|
435
|
+
attributes: {
|
|
436
|
+
rel: "canonical",
|
|
437
|
+
href: getCanonicalUrl(data),
|
|
438
|
+
},
|
|
439
|
+
},
|
|
440
|
+
]
|
|
441
|
+
: []),
|
|
442
|
+
...(description
|
|
443
|
+
? [
|
|
444
|
+
{
|
|
445
|
+
type: "meta" as TagType,
|
|
446
|
+
attributes: {
|
|
447
|
+
name: "description",
|
|
448
|
+
content: description,
|
|
449
|
+
},
|
|
450
|
+
},
|
|
451
|
+
]
|
|
452
|
+
: []),
|
|
453
|
+
...(faviconUrl
|
|
454
|
+
? [
|
|
455
|
+
{
|
|
456
|
+
type: "link" as TagType,
|
|
457
|
+
attributes: {
|
|
458
|
+
rel: "icon",
|
|
459
|
+
type: "image/x-icon",
|
|
460
|
+
href: faviconUrl,
|
|
461
|
+
},
|
|
462
|
+
},
|
|
463
|
+
]
|
|
464
|
+
: []),
|
|
465
|
+
],
|
|
466
|
+
other: [
|
|
467
|
+
applyAnalytics(document),
|
|
468
|
+
applyHeaderScript(document),
|
|
469
|
+
applyTheme(document, defaultThemeConfig),
|
|
470
|
+
SchemaWrapper(schema),
|
|
471
|
+
].join("\\n"),
|
|
472
|
+
};
|
|
473
|
+
};
|
|
474
|
+
|
|
475
|
+
export const getPath: GetPath<TemplateProps> = ({ document }) => {
|
|
476
|
+
if (document.slug) {
|
|
477
|
+
return document.slug;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
const localePath = document.locale !== "en" ? \`\${document.locale}/\` : "";
|
|
481
|
+
const path = \`\${localePath}\${document.id}\`;
|
|
482
|
+
|
|
483
|
+
return normalizeSlug(path);
|
|
484
|
+
};
|
|
485
|
+
|
|
486
|
+
export const transformProps: TransformProps<TemplateProps> = async (props) => {
|
|
487
|
+
const { document } = props;
|
|
488
|
+
const migratedData = migrate(
|
|
489
|
+
JSON.parse(document.__.layout),
|
|
490
|
+
migrationRegistry,
|
|
491
|
+
locatorConfig,
|
|
492
|
+
document
|
|
493
|
+
);
|
|
494
|
+
const updatedData = await resolveAllData(migratedData, locatorConfig, {
|
|
495
|
+
streamDocument: document,
|
|
496
|
+
});
|
|
497
|
+
|
|
498
|
+
return { ...props, data: updatedData };
|
|
499
|
+
};
|
|
500
|
+
|
|
501
|
+
const Locator: Template<TemplateRenderProps> = (props) => {
|
|
502
|
+
const { document, data } = props;
|
|
503
|
+
|
|
504
|
+
return (
|
|
505
|
+
<>
|
|
506
|
+
<script
|
|
507
|
+
id="mapbox-script"
|
|
508
|
+
src={\`https://api.mapbox.com/mapbox-gl-js/v\${mapboxPackageJson.version}/mapbox-gl.js\`}
|
|
509
|
+
/>
|
|
510
|
+
<link
|
|
511
|
+
id="mapbox-stylesheet"
|
|
512
|
+
rel="stylesheet"
|
|
513
|
+
href={\`https://api.mapbox.com/mapbox-gl-js/v\${mapboxPackageJson.version}/mapbox-gl.css\`}
|
|
514
|
+
/>
|
|
515
|
+
<AnalyticsProvider
|
|
516
|
+
apiKey={document?._env?.YEXT_PUBLIC_VISUAL_EDITOR_APP_API_KEY}
|
|
517
|
+
templateData={props}
|
|
518
|
+
currency="USD"
|
|
519
|
+
>
|
|
520
|
+
<VisualEditorProvider templateProps={props}>
|
|
521
|
+
<Render
|
|
522
|
+
config={locatorConfig}
|
|
523
|
+
data={data}
|
|
524
|
+
metadata={{ streamDocument: document }}
|
|
525
|
+
/>
|
|
526
|
+
</VisualEditorProvider>
|
|
527
|
+
</AnalyticsProvider>
|
|
528
|
+
</>
|
|
529
|
+
);
|
|
530
|
+
};
|
|
531
|
+
|
|
532
|
+
export default Locator;
|
|
533
|
+
`,t={PromoSection:{name:"Promo Section",type:"type.promo_section",isList:!1,tooltipDescription:"",altLanguageBehavior:"LANGUAGE_SPECIFIC"},ProductSection:{name:"Product Section",type:"type.products_section",isList:!1,tooltipDescription:"",altLanguageBehavior:"LANGUAGE_SPECIFIC"},EventSection:{name:"Event Section",type:"type.events_section",isList:!1,tooltipDescription:"",altLanguageBehavior:"LANGUAGE_SPECIFIC"},FAQSection:{name:"FAQ Section",type:"type.faq_section",isList:!1,tooltipDescription:"",altLanguageBehavior:"LANGUAGE_SPECIFIC"},TestimonialSection:{name:"Testimonial Section",type:"type.testimonials_section",isList:!1,tooltipDescription:"",altLanguageBehavior:"LANGUAGE_SPECIFIC"},InsightSection:{name:"Insight Section",type:"type.insights_section",isList:!1,tooltipDescription:"",altLanguageBehavior:"LANGUAGE_SPECIFIC"},TeamSection:{name:"Team Section",type:"type.team_section",isList:!1,tooltipDescription:"",altLanguageBehavior:"LANGUAGE_SPECIFIC"}},g={root:{props:{version:41,title:{field:"name",constantValue:"",constantValueEnabled:!1},description:{field:"description",constantValue:"",constantValueEnabled:!1}}},zones:{},content:[{type:"ExpandedHeader",props:{styles:{maxWidth:"theme",headerPosition:"scrollsWithPage"},slots:{PrimaryHeaderSlot:[{type:"PrimaryHeaderSlot",props:{id:"PrimaryHeaderSlot-0d3864b1-add7-4268-9a02-f0526eb35c9b",styles:{backgroundColor:{bgColor:"bg-white",textColor:"text-black"}},slots:{LogoSlot:[{type:"ImageSlot",props:{id:"ImageSlot-dbf6589a-4cff-4ef8-ada0-1a53bf5af37a",data:{image:{field:"",constantValue:{url:"https://placehold.co/100",height:100,width:100},constantValueEnabled:!0}},styles:{aspectRatio:2,width:100}}}],LinksSlot:[{type:"HeaderLinks",props:{id:"HeaderLinks-48f4506c-6421-4f54-95c2-0a44f6d89c29",data:{links:[{linkType:"URL",label:{en:"Header Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Header Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Header Link",hasLocalizedValue:"true"},link:"#"}]},parentData:{type:"Primary"}}}],PrimaryCTASlot:[{type:"CTASlot",props:{id:"CTASlot-6ff4af13-e9a4-4ec2-8884-8e0cd165f900",data:{show:!0,entityField:{field:"",constantValue:{label:{en:"Call to Action",hasLocalizedValue:"true"},link:"#",linkType:"URL",ctaType:"textAndLink"},constantValueEnabled:!0}},styles:{variant:"primary",presetImage:"app-store"},fieldsToHide:["styles.displayType"]}}],SecondaryCTASlot:[{type:"CTASlot",props:{id:"CTASlot-203ce7a4-6207-42b5-bd8d-500051893a78",data:{show:!0,entityField:{field:"",constantValue:{label:{en:"Call to Action",hasLocalizedValue:"true"},link:"#",linkType:"URL",ctaType:"textAndLink"},constantValueEnabled:!0}},styles:{variant:"secondary",presetImage:"app-store"}}}]},parentValues:{maxWidth:"theme",SecondaryHeaderSlot:[{type:"SecondaryHeaderSlot",props:{id:"SecondaryHeaderSlot-27cae493-886a-4c73-a9fa-376d28a0baf3",data:{show:!0,showLanguageDropdown:!1},styles:{backgroundColor:{bgColor:"bg-palette-primary-light",textColor:"text-black"}},slots:{LinksSlot:[{type:"HeaderLinks",props:{id:"HeaderLinks-76826121-e9bc-452a-8b99-c663a5803dc3",data:{links:[{linkType:"URL",label:{en:"Header Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Header Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Header Link",hasLocalizedValue:"true"},link:"#"}]},parentData:{type:"Secondary"}}}]},parentStyles:{maxWidth:"theme"}}}]},conditionalRender:{navContent:!0,CTAs:!0}}}],SecondaryHeaderSlot:[{type:"SecondaryHeaderSlot",props:{id:"SecondaryHeaderSlot-27cae493-886a-4c73-a9fa-376d28a0baf3",data:{show:!0,showLanguageDropdown:!1},styles:{backgroundColor:{bgColor:"bg-palette-primary-light",textColor:"text-black"}},slots:{LinksSlot:[{type:"HeaderLinks",props:{id:"HeaderLinks-76826121-e9bc-452a-8b99-c663a5803dc3",data:{links:[{linkType:"URL",label:{en:"Header Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Header Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Header Link",hasLocalizedValue:"true"},link:"#"}]},parentData:{type:"Secondary"}}}]},parentStyles:{maxWidth:"theme"}}}]},analytics:{scope:"expandedHeader"},id:"ExpandedHeader-92679ccf-a7de-4b5b-90d3-fea0f03449d0",ignoreLocaleWarning:["slots.SecondaryHeaderSlot"]}},{type:"BannerSection",props:{data:{text:{field:"",constantValue:{en:"Banner Text",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{backgroundColor:{bgColor:"bg-palette-primary-dark",textColor:"text-white"},textAlignment:"center"},liveVisibility:!0,ignoreLocaleWarning:["data.text"],id:"BannerSection-85b90f9c-f8a3-4796-9dc4-18160b9972b6"}},{type:"BreadcrumbsSection",props:{data:{directoryRoot:{en:"Directory Root",hasLocalizedValue:"true"}},styles:{backgroundColor:{bgColor:"bg-white",textColor:"text-black"}},analytics:{scope:"breadcrumbs"},liveVisibility:!0,id:"BreadcrumbsSection-23f3c339-618a-4e10-9ce1-68117745e3b6"}},{type:"HeroSection",props:{data:{backgroundImage:{field:"",constantValue:{url:"https://images.unsplash.com/photo-1755745360285-0633c972b0fd?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb",height:360,width:640},constantValueEnabled:!0}},styles:{variant:"classic",backgroundColor:{bgColor:"bg-white",textColor:"text-black"},showAverageReview:!0,showImage:!0,imageHeight:500,desktopImagePosition:"right",desktopContainerPosition:"left",mobileContentAlignment:"left",mobileImagePosition:"bottom"},slots:{BusinessNameSlot:[{type:"HeadingTextSlot",props:{id:"HeadingTextSlot-bb2ccf6e-ab98-4fb4-9e9b-fdcd5c6834e6",data:{text:{constantValue:{en:"Business Name",hasLocalizedValue:"true"},constantValueEnabled:!0,field:""}},styles:{level:3,align:"left",semanticLevelOverride:2}}}],GeomodifierSlot:[{type:"HeadingTextSlot",props:{id:"HeadingTextSlot-8905a32e-da1c-42a6-b1b4-98630e328236",data:{text:{constantValue:{en:"Geomodifier",hasLocalizedValue:"true"},constantValueEnabled:!0,field:""}},styles:{level:1,align:"left"}}}],HoursStatusSlot:[{type:"HoursStatusSlot",props:{id:"HoursStatusSlot-4b970196-2462-4b19-b166-79e7554f7513",data:{hours:{field:"hours",constantValue:{}}},styles:{dayOfWeekFormat:"long",showDayNames:!0,showCurrentStatus:!0}}}],ImageSlot:[{type:"HeroImageSlot",props:{id:"HeroImageSlot-7d8be313-bcd4-4fcf-ba4d-41effa837db2",data:{image:{field:"",constantValue:{url:"https://images.unsplash.com/photo-1755745360285-0633c972b0fd?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb",height:360,width:640},constantValueEnabled:!0}},styles:{aspectRatio:1.78,width:640},variant:"classic",className:"max-w-full sm:max-w-initial md:max-w-[350px] lg:max-w-none rounded-image-borderRadius"}}],PrimaryCTASlot:[{type:"CTASlot",props:{id:"CTASlot-46811f58-2779-4c49-a871-26cf27454544",data:{entityField:{field:"",constantValue:{label:{en:"Call To Action",hasLocalizedValue:"true"},link:"#",linkType:"URL",ctaType:"textAndLink"}}},eventName:"primaryCta",styles:{variant:"primary",presetImage:"app-store"},parentStyles:{}}}],SecondaryCTASlot:[{type:"CTASlot",props:{id:"CTASlot-633345f6-c438-400b-bdf7-92dce47746bc",data:{entityField:{field:"",constantValue:{label:{en:"Learn More",hasLocalizedValue:"true"},link:"#",linkType:"URL",ctaType:"textAndLink"},selectedType:"textAndLink"}},styles:{variant:"secondary",presetImage:"app-store"},eventName:"secondaryCta",parentStyles:{}}}]},analytics:{scope:"heroSection"},liveVisibility:!0,id:"HeroSection-6171b068-a44d-406e-9094-95f1ca7a53c5",conditionalRender:{hours:!0}}},{type:"CoreInfoSection",props:{styles:{backgroundColor:{bgColor:"bg-white",textColor:"text-black"}},slots:{CoreInfoHeadingSlot:[{type:"HeadingTextSlot",props:{id:"HeadingTextSlot-53d6582f-3f69-4224-b172-31f7ecac6824",data:{text:{constantValue:{en:"Information",hasLocalizedValue:"true"},constantValueEnabled:!0,field:""}},styles:{level:3,align:"left"}}}],CoreInfoAddressSlot:[{type:"AddressSlot",props:{id:"AddressSlot-1ec6157c-ef5e-43ce-a05d-259202245b0c",data:{address:{constantValue:{line1:"",city:"",postalCode:"",countryCode:""},field:"address"}},styles:{showGetDirectionsLink:!0,ctaVariant:"link"}}}],CoreInfoPhoneNumbersSlot:[{type:"PhoneNumbersSlot",props:{id:"PhoneNumbersSlot-ed14a9b1-7a46-465a-9726-fc6c308054a3",data:{phoneNumbers:[{number:{field:"mainPhone",constantValue:""},label:{en:"Phone",hasLocalizedValue:"true"}}]},styles:{phoneFormat:"domestic",includePhoneHyperlink:!0}}}],CoreInfoEmailsSlot:[{type:"EmailsSlot",props:{id:"EmailsSlot-15e44360-bc22-43e3-b6c2-c86d26dba9f1",data:{list:{field:"emails",constantValue:[]}},styles:{listLength:1}}}],HoursHeadingSlot:[{type:"HeadingTextSlot",props:{id:"HeadingTextSlot-05556e7b-c4ef-4251-8d94-1f57cbebb8be",data:{text:{constantValue:{en:"Hours",hasLocalizedValue:"true"},constantValueEnabled:!0,field:""}},styles:{level:3,align:"left"}}}],HoursTableSlot:[{type:"HoursTableSlot",props:{id:"HoursTableSlot-f2625bcc-e225-44d9-a4ae-e6861b100b19",data:{hours:{field:"hours",constantValue:{}}},styles:{startOfWeek:"today",collapseDays:!1,showAdditionalHoursText:!0,alignment:"items-start"}}}],ServicesHeadingSlot:[{type:"HeadingTextSlot",props:{id:"HeadingTextSlot-febfb175-cce0-4d5c-8d79-f58784bf0277",data:{text:{constantValue:{en:"Services",hasLocalizedValue:"true"},constantValueEnabled:!0,field:""}},styles:{level:3,align:"left"}}}],ServicesListSlot:[{type:"ServicesListSlot",props:{id:"ServicesListSlot-2ab9809e-7c31-4a55-934d-2dd7d2f3b105",list:{field:"services",constantValue:[]}}}]},analytics:{scope:"coreInfoSection"},liveVisibility:!0,id:"CoreInfoSection-660d4d53-8a6f-4f01-ac84-e9c23d485554",conditionalRender:{coreInfoCol:!0,hoursCol:!0,servicesCol:!0}}},{type:"PromoSection",props:{data:{promo:{field:"",constantValue:{},constantValueEnabled:!0},media:"image"},styles:{backgroundColor:{bgColor:"bg-white",textColor:"text-black"},orientation:"left"},slots:{HeadingSlot:[{type:"HeadingTextSlot",props:{id:"HeadingTextSlot-2124ebb9-01d5-49c5-8f9c-80461e3e09f2",data:{text:{field:"",constantValue:{en:"Featured Promotion",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{level:2,align:"left"}}}],DescriptionSlot:[{type:"BodyTextSlot",props:{id:"BodyTextSlot-977b436f-82c1-4b44-8667-908e771d6b6f",data:{text:{field:"",constantValue:{en:{json:'{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Lorem ipsum dolor sit amet, consectetur adipiscing. Maecenas finibus placerat justo. 100 characters","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}',html:'<p dir="ltr" style="font-size: 14.67px; font-weight: 400; line-height: 18.67px; color: rgb(0, 0, 0); margin: 0; padding: 3px 2px 3px 2px; position: relative;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing. Maecenas finibus placerat justo. 100 characters</span></p>'},hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base"}}}],VideoSlot:[{type:"VideoSlot",props:{id:"VideoSlot-87e838a4-28eb-4b6e-900d-9a1718170e89",data:{}}}],ImageSlot:[{type:"ImageSlot",props:{id:"ImageSlot-4263a6eb-10fb-43d6-a352-39d3794e9816",data:{image:{field:"",constantValue:{url:"https://images.unsplash.com/photo-1502252430442-aac78f397426?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb",height:360,width:640},constantValueEnabled:!0}},styles:{aspectRatio:1.78,width:640},sizes:{base:"calc(100vw - 32px)",md:"min(width, 450px)",lg:"width"},className:"max-w-full sm:max-w-initial md:max-w-[450px] lg:max-w-none rounded-image-borderRadius w-full"}}],CTASlot:[{type:"CTASlot",props:{id:"CTASlot-e8531a98-b8ff-4ce1-a299-11fc085eb6c3",data:{entityField:{field:"",constantValue:{label:"Learn More",link:"#",linkType:"URL",ctaType:"textAndLink"},selectedType:"textAndLink"}},styles:{variant:"primary",presetImage:"app-store"},eventName:"cta"}}]},analytics:{scope:"promoSection"},liveVisibility:!0,id:"PromoSection-f4ad4730-016a-46cf-8ae2-e307c23c3c47"},readOnly:{"data.media":!1}},{type:"ProductSection",props:{styles:{backgroundColor:{bgColor:"bg-palette-primary-light",textColor:"text-black"}},slots:{SectionHeadingSlot:[{type:"HeadingTextSlot",props:{id:"HeadingTextSlot-ca4fe590-4d36-4477-b34f-fba39583384f",data:{text:{field:"",constantValue:{en:"Featured Products",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{level:2,align:"left"}}}],CardsWrapperSlot:[{type:"ProductCardsWrapper",props:{id:"ProductCardsWrapper-31103b0f-5bfb-4dfe-a4e5-9f18cfd7cfcf",data:{field:"",constantValueEnabled:!0,constantValue:[{id:"ProductCard-4ddddc07-d36d-4ed3-90e8-1ca3ca2e8447"},{id:"ProductCard-996096bf-bc44-4827-ab79-21e9106abf53"},{id:"ProductCard-a7549442-809c-489f-9f73-4cd5c6038f51"}]},slots:{CardSlot:[{type:"ProductCard",props:{id:"ProductCard-4ddddc07-d36d-4ed3-90e8-1ca3ca2e8447",index:0,styles:{backgroundColor:{bgColor:"bg-white",textColor:"text-black"}},slots:{ImageSlot:[{type:"ImageSlot",props:{id:"ProductCard-4ddddc07-d36d-4ed3-90e8-1ca3ca2e8447-image",data:{image:{field:"",constantValue:{url:"https://images.unsplash.com/photo-1504548840739-580b10ae7715?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb",height:360,width:640},constantValueEnabled:!0}},styles:{aspectRatio:1.78,width:640},sizes:{base:"calc(100vw - 32px)",md:"calc((maxWidth - 32px) / 2)",lg:"calc((maxWidth - 32px) / 3)"}}}],TitleSlot:[{type:"HeadingTextSlot",props:{id:"ProductCard-4ddddc07-d36d-4ed3-90e8-1ca3ca2e8447-title",data:{text:{field:"",constantValue:{en:"Product Title",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{level:3,align:"left"}}}],CategorySlot:[{type:"BodyTextSlot",props:{id:"ProductCard-4ddddc07-d36d-4ed3-90e8-1ca3ca2e8447-category",data:{text:{field:"",constantValue:{en:{json:'{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Category, Pricing, etc","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}',html:'<p dir="ltr" style="font-size: 14.67px; font-weight: 400; line-height: 18.67px; color: rgb(0, 0, 0); margin: 0; padding: 3px 2px 3px 2px; position: relative;"><span>Category, Pricing, etc</span></p>'},hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base"}}}],DescriptionSlot:[{type:"BodyTextSlot",props:{id:"ProductCard-4ddddc07-d36d-4ed3-90e8-1ca3ca2e8447-description",data:{text:{field:"",constantValue:{en:{json:'{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}',html:'<p dir="ltr" style="font-size: 14.67px; font-weight: 400; line-height: 18.67px; color: rgb(0, 0, 0); margin: 0; padding: 3px 2px 3px 2px; position: relative;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</span></p>'},hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base"}}}],CTASlot:[{type:"CTASlot",props:{id:"ProductCard-4ddddc07-d36d-4ed3-90e8-1ca3ca2e8447-cta",data:{entityField:{field:"",constantValue:{label:"Learn More",link:"#",linkType:"URL",ctaType:"textAndLink"},constantValueEnabled:!0}},styles:{variant:"primary",presetImage:"app-store"},eventName:"cta0"}}]},conditionalRender:{category:!0}}},{type:"ProductCard",props:{id:"ProductCard-996096bf-bc44-4827-ab79-21e9106abf53",index:1,styles:{backgroundColor:{bgColor:"bg-white",textColor:"text-black"}},slots:{ImageSlot:[{type:"ImageSlot",props:{id:"ProductCard-996096bf-bc44-4827-ab79-21e9106abf53-image",data:{image:{field:"",constantValue:{url:"https://images.unsplash.com/photo-1502252430442-aac78f397426?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb",height:360,width:640},constantValueEnabled:!0}},styles:{aspectRatio:1.78,width:640},sizes:{base:"calc(100vw - 32px)",md:"calc((maxWidth - 32px) / 2)",lg:"calc((maxWidth - 32px) / 3)"}}}],TitleSlot:[{type:"HeadingTextSlot",props:{id:"ProductCard-996096bf-bc44-4827-ab79-21e9106abf53-title",data:{text:{field:"",constantValue:{en:"Product Title",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{level:3,align:"left"}}}],CategorySlot:[{type:"BodyTextSlot",props:{id:"ProductCard-996096bf-bc44-4827-ab79-21e9106abf53-category",data:{text:{field:"",constantValue:{en:{json:'{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Category, Pricing, etc","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}',html:'<p dir="ltr" style="font-size: 14.67px; font-weight: 400; line-height: 18.67px; color: rgb(0, 0, 0); margin: 0; padding: 3px 2px 3px 2px; position: relative;"><span>Category, Pricing, etc</span></p>'},hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base"}}}],DescriptionSlot:[{type:"BodyTextSlot",props:{id:"ProductCard-996096bf-bc44-4827-ab79-21e9106abf53-description",data:{text:{field:"",constantValue:{en:{json:'{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}',html:'<p dir="ltr" style="font-size: 14.67px; font-weight: 400; line-height: 18.67px; color: rgb(0, 0, 0); margin: 0; padding: 3px 2px 3px 2px; position: relative;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</span></p>'},hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base"}}}],CTASlot:[{type:"CTASlot",props:{id:"ProductCard-996096bf-bc44-4827-ab79-21e9106abf53-cta",data:{entityField:{field:"",constantValue:{label:"Learn More",link:"#",linkType:"URL",ctaType:"textAndLink"},constantValueEnabled:!0}},styles:{variant:"primary",presetImage:"app-store"},eventName:"cta1"}}]},conditionalRender:{category:!0}}},{type:"ProductCard",props:{id:"ProductCard-a7549442-809c-489f-9f73-4cd5c6038f51",index:2,styles:{backgroundColor:{bgColor:"bg-white",textColor:"text-black"}},slots:{ImageSlot:[{type:"ImageSlot",props:{id:"ProductCard-a7549442-809c-489f-9f73-4cd5c6038f51-image",data:{image:{field:"",constantValue:{url:"https://images.unsplash.com/photo-1755745360285-0633c972b0fd?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb",height:360,width:640},constantValueEnabled:!0}},styles:{aspectRatio:1.78,width:640},sizes:{base:"calc(100vw - 32px)",md:"calc((maxWidth - 32px) / 2)",lg:"calc((maxWidth - 32px) / 3)"}}}],TitleSlot:[{type:"HeadingTextSlot",props:{id:"ProductCard-a7549442-809c-489f-9f73-4cd5c6038f51-title",data:{text:{field:"",constantValue:{en:"Product Title",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{level:3,align:"left"}}}],CategorySlot:[{type:"BodyTextSlot",props:{id:"ProductCard-a7549442-809c-489f-9f73-4cd5c6038f51-category",data:{text:{field:"",constantValue:{en:{json:'{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Category, Pricing, etc","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}',html:'<p dir="ltr" style="font-size: 14.67px; font-weight: 400; line-height: 18.67px; color: rgb(0, 0, 0); margin: 0; padding: 3px 2px 3px 2px; position: relative;"><span>Category, Pricing, etc</span></p>'},hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base"}}}],DescriptionSlot:[{type:"BodyTextSlot",props:{id:"ProductCard-a7549442-809c-489f-9f73-4cd5c6038f51-description",data:{text:{field:"",constantValue:{en:{json:'{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}',html:'<p dir="ltr" style="font-size: 14.67px; font-weight: 400; line-height: 18.67px; color: rgb(0, 0, 0); margin: 0; padding: 3px 2px 3px 2px; position: relative;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</span></p>'},hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base"}}}],CTASlot:[{type:"CTASlot",props:{id:"ProductCard-a7549442-809c-489f-9f73-4cd5c6038f51-cta",data:{entityField:{field:"",constantValue:{label:"Learn More",link:"#",linkType:"URL",ctaType:"textAndLink"},constantValueEnabled:!0}},styles:{variant:"primary",presetImage:"app-store"},eventName:"cta2"}}]},conditionalRender:{category:!0}}}]}}}]},analytics:{scope:"productsSection"},liveVisibility:!0,id:"ProductSection-985d98bc-d5cf-4f69-aea5-597183c27cea"}},{type:"TestimonialSection",props:{styles:{backgroundColor:{bgColor:"bg-palette-primary-light",textColor:"text-black"}},slots:{SectionHeadingSlot:[{type:"HeadingTextSlot",props:{id:"HeadingTextSlot-b4d5c262-ef79-450e-ab4b-17982eea39b2",data:{text:{constantValue:{en:"Featured Testimonials",hasLocalizedValue:"true"},constantValueEnabled:!0,field:""}},styles:{level:2,align:"left"}}}],CardsWrapperSlot:[{type:"TestimonialCardsWrapper",props:{id:"TestimonialCardsWrapper-e3c3bbf7-1130-4558-9557-e0eb8a5fb7f1",data:{field:"",constantValueEnabled:!0,constantValue:[{id:"TestimonialCard-6661d40d-1001-4ace-9c98-30c71f933742"},{id:"TestimonialCard-e4f61016-5051-4b0f-8e13-521392f2c204"},{id:"TestimonialCard-1898bde5-72bb-4eef-97dc-c6c6aea0ecd5"}]},slots:{CardSlot:[{type:"TestimonialCard",props:{id:"TestimonialCard-6661d40d-1001-4ace-9c98-30c71f933742",index:0,styles:{backgroundColor:{bgColor:"bg-white",textColor:"text-black"}},slots:{DescriptionSlot:[{type:"BodyTextSlot",props:{id:"BodyTextSlot-4171d3d9-4fd2-48c9-9e77-3d32d9914eb1",data:{text:{field:"",constantValue:{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.",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base"}}}],ContributorNameSlot:[{type:"HeadingTextSlot",props:{id:"HeadingTextSlot-435197f7-7dcc-495c-8181-9c66c494da99",data:{text:{field:"",constantValue:{en:"Name",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{level:3,align:"left",semanticLevelOverride:3}}}],ContributionDateSlot:[{type:"Timestamp",props:{id:"Timestamp-71930a6f-035d-4ae3-9426-b9dfab6039be",data:{date:{field:"",constantValue:"July 22, 2022",constantValueEnabled:!0},endDate:{field:"",constantValue:"",constantValueEnabled:!0}},styles:{includeTime:!1,includeRange:!1}}}]},conditionalRender:{description:!0,contributorName:!0,contributionDate:!0}}},{type:"TestimonialCard",props:{id:"TestimonialCard-e4f61016-5051-4b0f-8e13-521392f2c204",index:1,styles:{backgroundColor:{bgColor:"bg-white",textColor:"text-black"}},slots:{DescriptionSlot:[{type:"BodyTextSlot",props:{id:"BodyTextSlot-03715ec2-8ea8-4032-9561-d93c145a65d9",data:{text:{field:"",constantValue:{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.",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base"}}}],ContributorNameSlot:[{type:"HeadingTextSlot",props:{id:"HeadingTextSlot-746e8537-2e7b-46ca-b0a6-0a20673d6504",data:{text:{field:"",constantValue:{en:"Name",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{level:3,align:"left",semanticLevelOverride:3}}}],ContributionDateSlot:[{type:"Timestamp",props:{id:"Timestamp-66dd3a52-aafa-40ee-9e58-61a5b5aa1d94",data:{date:{field:"",constantValue:"July 22, 2022",constantValueEnabled:!0},endDate:{field:"",constantValue:"",constantValueEnabled:!0}},styles:{includeTime:!1,includeRange:!1}}}]},conditionalRender:{description:!0,contributorName:!0,contributionDate:!0}}},{type:"TestimonialCard",props:{id:"TestimonialCard-1898bde5-72bb-4eef-97dc-c6c6aea0ecd5",index:2,styles:{backgroundColor:{bgColor:"bg-white",textColor:"text-black"}},slots:{DescriptionSlot:[{type:"BodyTextSlot",props:{id:"BodyTextSlot-f515ea6a-f7bd-4120-9600-1f1aa65779e8",data:{text:{field:"",constantValue:{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.",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base"}}}],ContributorNameSlot:[{type:"HeadingTextSlot",props:{id:"HeadingTextSlot-4f2d770d-67b6-4ebc-9ade-95d47a6957e6",data:{text:{field:"",constantValue:{en:"Name",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{level:3,align:"left",semanticLevelOverride:3}}}],ContributionDateSlot:[{type:"Timestamp",props:{id:"Timestamp-ca272118-f2a5-4e73-8389-35980eca89a2",data:{date:{field:"",constantValue:"July 22, 2022",constantValueEnabled:!0},endDate:{field:"",constantValue:"",constantValueEnabled:!0}},styles:{includeTime:!1,includeRange:!1}}}]},conditionalRender:{description:!0,contributorName:!0,contributionDate:!0}}}]}}}]},analytics:{scope:"testimonialSection"},liveVisibility:!0,id:"TestimonialSection-21edd977-c45d-4a7b-ab17-e6273774b815"}},{type:"FAQSection",props:{slots:{HeadingSlot:[{type:"HeadingTextSlot",props:{id:"HeadingTextSlot-c85952bc-d30c-44a8-a17c-0eff090cc35e",data:{text:{constantValue:{en:"Frequently Asked Questions",hasLocalizedValue:"true"},constantValueEnabled:!0,field:""}},styles:{level:2,align:"left"}}}],FAQsWrapperSlot:[{type:"FAQsWrapperSlot",props:{id:"FAQsWrapperSlot-3393daed-5f2f-4d49-b780-fdfa0470a7fa",data:{field:"",constantValueEnabled:!0,constantValue:[{},{},{}]},slots:{CardSlot:[{type:"FAQSlot",props:{id:"FAQSlot-78b11aa9-f2c5-4edb-9883-ac5c3560b60b",index:0,slots:{QuestionSlot:[{type:"BodyTextSlot",props:{id:"BodyTextSlot-5ce3179e-ecf0-4f4a-80aa-014c94dbec70",data:{text:{field:"",constantValue:{en:{json:'{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Question Lorem ipsum dolor sit amet?","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}',html:'<p dir="ltr" style="font-size: 14.67px; font-weight: 400; line-height: 18.67px; color: rgb(0, 0, 0); margin: 0; padding: 3px 2px 3px 2px; position: relative;"><span>Question Lorem ipsum dolor sit amet?</span></p>'},hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base"}}}],AnswerSlot:[{type:"BodyTextSlot",props:{id:"BodyTextSlot-720ee698-c08c-49ce-994d-32d243dde4fe",data:{text:{field:"",constantValue:{en:{json:'{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"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.","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}',html:'<p dir="ltr" style="font-size: 14.67px; font-weight: 400; line-height: 18.67px; color: rgb(0, 0, 0); margin: 0; padding: 3px 2px 3px 2px; position: relative;"><span>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.</span></p>'},hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base"}}}]}}},{type:"FAQSlot",props:{id:"FAQSlot-0388f33b-cb2e-497b-81a8-193d89799bc5",index:1,slots:{QuestionSlot:[{type:"BodyTextSlot",props:{id:"BodyTextSlot-1a1a5aee-c627-464b-b3a8-fdcfaf0522d3",data:{text:{field:"",constantValue:{en:{json:'{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Question Lorem ipsum dolor sit amet?","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}',html:'<p dir="ltr" style="font-size: 14.67px; font-weight: 400; line-height: 18.67px; color: rgb(0, 0, 0); margin: 0; padding: 3px 2px 3px 2px; position: relative;"><span>Question Lorem ipsum dolor sit amet?</span></p>'},hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base"}}}],AnswerSlot:[{type:"BodyTextSlot",props:{id:"BodyTextSlot-11816667-19ef-47fa-b5f7-1113b2af12f7",data:{text:{field:"",constantValue:{en:{json:'{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"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.","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}',html:'<p dir="ltr" style="font-size: 14.67px; font-weight: 400; line-height: 18.67px; color: rgb(0, 0, 0); margin: 0; padding: 3px 2px 3px 2px; position: relative;"><span>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.</span></p>'},hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base"}}}]}}},{type:"FAQSlot",props:{id:"FAQSlot-50b2fcaa-6024-48d7-bc23-159b95d1cead",index:2,slots:{QuestionSlot:[{type:"BodyTextSlot",props:{id:"BodyTextSlot-80862902-c0c1-4803-b550-26409298960f",data:{text:{field:"",constantValue:{en:{json:'{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Question Lorem ipsum dolor sit amet?","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}',html:'<p dir="ltr" style="font-size: 14.67px; font-weight: 400; line-height: 18.67px; color: rgb(0, 0, 0); margin: 0; padding: 3px 2px 3px 2px; position: relative;"><span>Question Lorem ipsum dolor sit amet?</span></p>'},hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base"}}}],AnswerSlot:[{type:"BodyTextSlot",props:{id:"BodyTextSlot-f38a831e-2fed-4579-8eba-1daf4db4ec9f",data:{text:{field:"",constantValue:{en:{json:'{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"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.","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}',html:'<p dir="ltr" style="font-size: 14.67px; font-weight: 400; line-height: 18.67px; color: rgb(0, 0, 0); margin: 0; padding: 3px 2px 3px 2px; position: relative;"><span>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.</span></p>'},hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base"}}}]}}}]}}}]},styles:{backgroundColor:{bgColor:"bg-palette-primary-light",textColor:"text-black"}},liveVisibility:!0,analytics:{scope:"faqsSection"},id:"FAQSection-bbfde40e-2d68-4f33-afc2-836aa183d7b0"}},{type:"TeamSection",props:{styles:{backgroundColor:{bgColor:"bg-palette-secondary-light",textColor:"text-black"}},slots:{SectionHeadingSlot:[{type:"HeadingTextSlot",props:{id:"HeadingTextSlot-a976e584-6a55-40c4-9ce7-6193135a059d",data:{text:{constantValue:{en:"Meet Our Team",hasLocalizedValue:"true"},constantValueEnabled:!0,field:""}},styles:{level:2,align:"left"}}}],CardsWrapperSlot:[{type:"TeamCardsWrapper",props:{id:"TeamCardsWrapper-55fffe71-8671-40fd-b539-4cea67efa107",data:{field:"",constantValueEnabled:!0,constantValue:[{id:"TeamCard-78b6012c-8ee0-40b9-a5dc-9bff50ee6a98"},{id:"TeamCard-b33b9272-18a6-4075-8b0d-bd567d190ee3"},{id:"TeamCard-1486b519-8c1a-4e71-9622-eda626ba72ad"}]},slots:{CardSlot:[{type:"TeamCard",props:{id:"TeamCard-78b6012c-8ee0-40b9-a5dc-9bff50ee6a98",index:0,styles:{backgroundColor:{bgColor:"bg-white",textColor:"text-black"}},slots:{ImageSlot:[{type:"ImageSlot",props:{id:"ImageSlot-1933f28f-2a14-419a-9e67-521009d2c1f2",data:{image:{field:"",constantValue:{url:"https://images.unsplash.com/photo-1755745360285-0633c972b0fd?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb",height:80,width:80},constantValueEnabled:!0}},styles:{aspectRatio:1,width:200},hideWidthProp:!0,className:"max-w-full h-full object-cover",sizes:{base:"calc(100vw - 32px)",lg:"calc(maxWidth * 0.33)"}}}],NameSlot:[{type:"HeadingTextSlot",props:{id:"HeadingTextSlot-058b94a5-2ef5-4e1c-8d69-a1a823a384c6",data:{text:{field:"",constantValue:{en:"First Last",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{level:3,align:"left"}}}],TitleSlot:[{type:"BodyTextSlot",props:{id:"BodyTextSlot-7bc54a04-147d-4c12-9664-087c2477a60a",data:{text:{field:"",constantValue:{en:"Associate Agent",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base",semanticLevelOverride:3}}}],PhoneSlot:[{type:"PhoneNumbersSlot",props:{id:"PhoneNumbersSlot-635c91da-e2f9-4e8f-8dd7-5beef9b7b814",data:{phoneNumbers:[{number:{field:"",constantValue:"(202) 770-6619 ",constantValueEnabled:!0},label:{en:"",hasLocalizedValue:"true"}}]},styles:{phoneFormat:"domestic",includePhoneHyperlink:!0},eventName:"phone0"}}],EmailSlot:[{type:"EmailsSlot",props:{id:"EmailsSlot-430cd79d-84fc-440e-b51b-22ede4a9651b",data:{list:{field:"",constantValue:["jkelley@[company].com"],constantValueEnabled:!0}},styles:{listLength:1},eventName:"email0"}}],CTASlot:[{type:"CTASlot",props:{id:"CTASlot-84f00400-c27d-4cd7-aa28-a1632694b359",data:{entityField:{field:"",constantValue:{label:{en:"Visit Profile",hasLocalizedValue:"true"},link:"#",linkType:"URL",ctaType:"textAndLink"},constantValueEnabled:!0}},styles:{variant:"primary",presetImage:"app-store"},eventName:"cta0"}}]},conditionalRender:{image:!0,name:!0,title:!0,phone:!0,email:!0,cta:!0}}},{type:"TeamCard",props:{id:"TeamCard-b33b9272-18a6-4075-8b0d-bd567d190ee3",index:1,styles:{backgroundColor:{bgColor:"bg-white",textColor:"text-black"}},slots:{ImageSlot:[{type:"ImageSlot",props:{id:"ImageSlot-429dbd15-ae0a-41c6-94b3-39f332d9d199",data:{image:{field:"",constantValue:{url:"https://images.unsplash.com/photo-1755745360285-0633c972b0fd?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb",height:80,width:80},constantValueEnabled:!0}},styles:{aspectRatio:1,width:200},hideWidthProp:!0,className:"max-w-full h-full object-cover",sizes:{base:"calc(100vw - 32px)",lg:"calc(maxWidth * 0.33)"}}}],NameSlot:[{type:"HeadingTextSlot",props:{id:"HeadingTextSlot-32894127-a9c2-442d-96eb-928cb3d79d91",data:{text:{field:"",constantValue:{en:"First Last",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{level:3,align:"left"}}}],TitleSlot:[{type:"BodyTextSlot",props:{id:"BodyTextSlot-e84b6fc0-d859-48af-aaf3-c6eff7054c79",data:{text:{field:"",constantValue:{en:"Associate Agent",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base",semanticLevelOverride:3}}}],PhoneSlot:[{type:"PhoneNumbersSlot",props:{id:"PhoneNumbersSlot-88afb804-14ba-43ea-b63f-3026dd2d1428",data:{phoneNumbers:[{number:{field:"",constantValue:"(202) 770-6619 ",constantValueEnabled:!0},label:{en:"",hasLocalizedValue:"true"}}]},styles:{phoneFormat:"domestic",includePhoneHyperlink:!0},eventName:"phone1"}}],EmailSlot:[{type:"EmailsSlot",props:{id:"EmailsSlot-39d65030-4fb1-4286-a73e-db994a195e33",data:{list:{field:"",constantValue:["jkelley@[company].com"],constantValueEnabled:!0}},styles:{listLength:1},eventName:"email1"}}],CTASlot:[{type:"CTASlot",props:{id:"CTASlot-2f5fcbf5-5f6f-4f18-814d-30b6de491d0a",data:{entityField:{field:"",constantValue:{label:{en:"Visit Profile",hasLocalizedValue:"true"},link:"#",linkType:"URL",ctaType:"textAndLink"},constantValueEnabled:!0}},styles:{variant:"primary",presetImage:"app-store"},eventName:"cta1"}}]},conditionalRender:{image:!0,name:!0,title:!0,phone:!0,email:!0,cta:!0}}},{type:"TeamCard",props:{id:"TeamCard-1486b519-8c1a-4e71-9622-eda626ba72ad",index:2,styles:{backgroundColor:{bgColor:"bg-white",textColor:"text-black"}},slots:{ImageSlot:[{type:"ImageSlot",props:{id:"ImageSlot-f415ddf9-d370-44f8-a51e-200870b1b24f",data:{image:{field:"",constantValue:{url:"https://images.unsplash.com/photo-1502252430442-aac78f397426?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb",height:80,width:80},constantValueEnabled:!0}},styles:{aspectRatio:1,width:200},hideWidthProp:!0,className:"max-w-full h-full object-cover",sizes:{base:"calc(100vw - 32px)",lg:"calc(maxWidth * 0.33)"}}}],NameSlot:[{type:"HeadingTextSlot",props:{id:"HeadingTextSlot-a83bf243-6048-453f-99fc-f9716d59fcbc",data:{text:{field:"",constantValue:{en:"First Last",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{level:3,align:"left"}}}],TitleSlot:[{type:"BodyTextSlot",props:{id:"BodyTextSlot-b466a56b-0e41-4dac-876d-c1cb0418f6cf",data:{text:{field:"",constantValue:{en:"Associate Agent",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base",semanticLevelOverride:3}}}],PhoneSlot:[{type:"PhoneNumbersSlot",props:{id:"PhoneNumbersSlot-a44b07ad-b6ea-4a79-a33c-2fb379fe8589",data:{phoneNumbers:[{number:{field:"",constantValue:"(202) 770-6619 ",constantValueEnabled:!0},label:{en:"",hasLocalizedValue:"true"}}]},styles:{phoneFormat:"domestic",includePhoneHyperlink:!0},eventName:"phone2"}}],EmailSlot:[{type:"EmailsSlot",props:{id:"EmailsSlot-410578ce-c60e-4409-9290-d3ff60d37c2d",data:{list:{field:"",constantValue:["jkelley@[company].com"],constantValueEnabled:!0}},styles:{listLength:1},eventName:"email2"}}],CTASlot:[{type:"CTASlot",props:{id:"CTASlot-569564d0-a69a-44f6-b528-d0aacdc875e5",data:{entityField:{field:"",constantValue:{label:{en:"Visit Profile",hasLocalizedValue:"true"},link:"#",linkType:"URL",ctaType:"textAndLink"},constantValueEnabled:!0}},styles:{variant:"primary",presetImage:"app-store"},eventName:"cta2"}}]},conditionalRender:{image:!0,name:!0,title:!0,phone:!0,email:!0,cta:!0}}}]}}}]},analytics:{scope:"teamSection"},liveVisibility:!0,id:"TeamSection-c3e1d6c3-7105-4a52-b6c7-16f47d4d112e"}},{type:"InsightSection",props:{styles:{backgroundColor:{bgColor:"bg-palette-primary-light",textColor:"text-black"}},slots:{SectionHeadingSlot:[{type:"HeadingTextSlot",props:{id:"HeadingTextSlot-7ca92f71-86ef-4686-b164-42ad74859298",data:{text:{field:"",constantValue:{en:"Insights",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{level:3,align:"left"}}}],CardsWrapperSlot:[{type:"InsightCardsWrapper",props:{id:"InsightCardsWrapper-2282eee3-ff09-4572-b68a-931b226cf1fb",data:{field:"",constantValueEnabled:!0,constantValue:[{id:"InsightCard-1"},{id:"InsightCard-2"},{id:"InsightCard-3"}]},slots:{CardSlot:[{type:"InsightCard",props:{id:"InsightCard-1",styles:{backgroundColor:{bgColor:"bg-white",textColor:"text-black"}},slots:{ImageSlot:[{type:"ImageSlot",props:{id:"InsightCard-1-image",data:{image:{field:"",constantValue:{url:"https://images.unsplash.com/photo-1755745360285-0633c972b0fd?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb",height:360,width:640},constantValueEnabled:!0}},styles:{aspectRatio:1.78,width:640},sizes:{base:"calc(100vw - 32px)",md:"calc((maxWidth - 32px) / 2)",lg:"calc((maxWidth - 32px) / 3)"}}}],TitleSlot:[{type:"HeadingTextSlot",props:{id:"HeadingTextSlot-3b5823a9-2c36-48b7-920e-36583edc9aa4",data:{text:{field:"",constantValue:{en:"Article Name",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{level:4,align:"left"}}}],CategorySlot:[{type:"BodyTextSlot",props:{id:"InsightCard-1-category",data:{text:{field:"",constantValue:{en:{json:'{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Category","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}',html:'<p dir="ltr" style="font-size: 14.67px; font-weight: 400; line-height: 18.67px; color: rgb(0, 0, 0); margin: 0; padding: 3px 2px 3px 2px; position: relative;"><span>Category</span></p>'},hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base"}}}],DescriptionSlot:[{type:"BodyTextSlot",props:{id:"InsightCard-1-description",data:{text:{field:"",constantValue:{en:{json:'{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"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","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}',html:'<p dir="ltr" style="font-size: 14.67px; font-weight: 400; line-height: 18.67px; color: rgb(0, 0, 0); margin: 0; padding: 3px 2px 3px 2px; position: relative;"><span>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</span></p>'},hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base"}}}],PublishTimeSlot:[{type:"Timestamp",props:{id:"InsightCard-1-timestamp",data:{date:{field:"",constantValue:"2022-08-02T14:00:00",constantValueEnabled:!0},endDate:{field:"",constantValue:"",constantValueEnabled:!0}},styles:{includeTime:!1,includeRange:!1}}}],CTASlot:[{type:"CTASlot",props:{id:"InsightCard-1-cta",data:{entityField:{field:"",constantValue:{label:"Read More",link:"#",linkType:"URL",ctaType:"textAndLink"},constantValueEnabled:!0}},styles:{variant:"primary",presetImage:"app-store"}}}]}}},{type:"InsightCard",props:{id:"InsightCard-2",styles:{backgroundColor:{bgColor:"bg-white",textColor:"text-black"}},slots:{ImageSlot:[{type:"ImageSlot",props:{id:"InsightCard-2-image",data:{image:{field:"",constantValue:{url:"https://images.unsplash.com/photo-1502252430442-aac78f397426?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb",height:360,width:640},constantValueEnabled:!0}},styles:{aspectRatio:1.78,width:640},sizes:{base:"calc(100vw - 32px)",md:"calc((maxWidth - 32px) / 2)",lg:"calc((maxWidth - 32px) / 3)"}}}],TitleSlot:[{type:"HeadingTextSlot",props:{id:"HeadingTextSlot-aad5d2b2-0109-4dca-94f1-217dbbaf0681",data:{text:{field:"",constantValue:{en:"Article Name",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{level:4,align:"left"}}}],CategorySlot:[{type:"BodyTextSlot",props:{id:"InsightCard-2-category",data:{text:{field:"",constantValue:{en:{json:'{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Category","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}',html:'<p dir="ltr" style="font-size: 14.67px; font-weight: 400; line-height: 18.67px; color: rgb(0, 0, 0); margin: 0; padding: 3px 2px 3px 2px; position: relative;"><span>Category</span></p>'},hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base"}}}],DescriptionSlot:[{type:"BodyTextSlot",props:{id:"InsightCard-2-description",data:{text:{field:"",constantValue:{en:{json:'{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"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","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}',html:'<p dir="ltr" style="font-size: 14.67px; font-weight: 400; line-height: 18.67px; color: rgb(0, 0, 0); margin: 0; padding: 3px 2px 3px 2px; position: relative;"><span>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</span></p>'},hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base"}}}],PublishTimeSlot:[{type:"Timestamp",props:{id:"InsightCard-2-timestamp",data:{date:{field:"",constantValue:"2022-08-02T14:00:00",constantValueEnabled:!0},endDate:{field:"",constantValue:"",constantValueEnabled:!0}},styles:{includeTime:!1,includeRange:!1}}}],CTASlot:[{type:"CTASlot",props:{id:"InsightCard-2-cta",data:{entityField:{field:"",constantValue:{label:"Read More",link:"#",linkType:"URL",ctaType:"textAndLink"},constantValueEnabled:!0}},styles:{variant:"primary",presetImage:"app-store"}}}]}}},{type:"InsightCard",props:{id:"InsightCard-3",styles:{backgroundColor:{bgColor:"bg-white",textColor:"text-black"}},slots:{ImageSlot:[{type:"ImageSlot",props:{id:"InsightCard-3-image",data:{image:{field:"",constantValue:{url:"https://images.unsplash.com/photo-1504548840739-580b10ae7715?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb",height:360,width:640},constantValueEnabled:!0}},styles:{aspectRatio:1.78,width:640},sizes:{base:"calc(100vw - 32px)",md:"calc((maxWidth - 32px) / 2)",lg:"calc((maxWidth - 32px) / 3)"}}}],TitleSlot:[{type:"HeadingTextSlot",props:{id:"HeadingTextSlot-208f4aae-eeea-440e-ab2a-119085c3a354",data:{text:{field:"",constantValue:{en:"Article Name",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{level:4,align:"left"}}}],CategorySlot:[{type:"BodyTextSlot",props:{id:"InsightCard-3-category",data:{text:{field:"",constantValue:{en:{json:'{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Category","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}',html:'<p dir="ltr" style="font-size: 14.67px; font-weight: 400; line-height: 18.67px; color: rgb(0, 0, 0); margin: 0; padding: 3px 2px 3px 2px; position: relative;"><span>Category</span></p>'},hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base"}}}],DescriptionSlot:[{type:"BodyTextSlot",props:{id:"InsightCard-3-description",data:{text:{field:"",constantValue:{en:{json:'{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"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","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}',html:'<p dir="ltr" style="font-size: 14.67px; font-weight: 400; line-height: 18.67px; color: rgb(0, 0, 0); margin: 0; padding: 3px 2px 3px 2px; position: relative;"><span>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</span></p>'},hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base"}}}],PublishTimeSlot:[{type:"Timestamp",props:{id:"InsightCard-3-timestamp",data:{date:{field:"",constantValue:"2022-08-02T14:00:00",constantValueEnabled:!0},endDate:{field:"",constantValue:"",constantValueEnabled:!0}},styles:{includeTime:!1,includeRange:!1}}}],CTASlot:[{type:"CTASlot",props:{id:"InsightCard-3-cta",data:{entityField:{field:"",constantValue:{label:"Read More",link:"#",linkType:"URL",ctaType:"textAndLink"},constantValueEnabled:!0}},styles:{variant:"primary",presetImage:"app-store"}}}]}}}]}}}]},analytics:{scope:"insightsSection"},liveVisibility:!0,id:"InsightSection-bdb34130-f7d5-49b0-8efa-385f7f81790d"}},{type:"PhotoGallerySection",props:{styles:{backgroundColor:{bgColor:"bg-white",textColor:"text-black"}},slots:{HeadingSlot:[{type:"HeadingTextSlot",props:{id:"HeadingTextSlot-ddc30c55-8671-4509-ae10-e4cb198a95a6",data:{text:{field:"",constantValue:{en:"Gallery",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{level:2,align:"left"}}}],PhotoGalleryWrapper:[{type:"PhotoGalleryWrapper",props:{id:"PhotoGalleryWrapper-68527f41-e591-46ad-9e2f-21657028f48e",data:{images:{field:"",constantValue:[{assetImage:{url:"https://images.unsplash.com/photo-1755745360285-0633c972b0fd?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb",width:640,height:360,assetImage:{name:"Placeholder"}}},{assetImage:{url:"https://images.unsplash.com/photo-1502252430442-aac78f397426?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb",width:640,height:360,assetImage:{name:"Placeholder"}}},{assetImage:{url:"https://images.unsplash.com/photo-1504548840739-580b10ae7715?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb",width:640,height:360,assetImage:{name:"Placeholder"}}}],constantValueEnabled:!0}},styles:{image:{aspectRatio:1.78}}}}]},liveVisibility:!0,id:"PhotoGallerySection-9526fe23-bbc4-46b7-b4f3-339f17a303c8"}},{type:"EventSection",props:{styles:{backgroundColor:{bgColor:"bg-palette-secondary-light",textColor:"text-black"}},slots:{SectionHeadingSlot:[{type:"HeadingTextSlot",props:{id:"HeadingTextSlot-31ae80c9-1679-427b-bb96-6d77526bac3e",data:{text:{constantValue:{en:"Upcoming Events",hasLocalizedValue:"true"},constantValueEnabled:!0,field:""}},styles:{level:2,align:"left"}}}],CardsWrapperSlot:[{type:"EventCardsWrapper",props:{id:"EventCardsWrapper-4274079a-3925-4469-b899-4699cacd3c6d",data:{field:"",constantValueEnabled:!0,constantValue:[{id:"EventCard-92abd8ca-550c-4aee-92d9-4140b4ef53ad"},{id:"EventCard-b1fd4377-76db-433e-9803-ea5ae0d9f996"},{id:"EventCard-90968d53-5878-4459-b3dc-0b9b75e028ea"}]},slots:{CardSlot:[{type:"EventCard",props:{id:"EventCard-92abd8ca-550c-4aee-92d9-4140b4ef53ad",index:0,styles:{backgroundColor:{bgColor:"bg-white",textColor:"text-black"},truncateDescription:!0},slots:{ImageSlot:[{type:"ImageSlot",props:{id:"EventCard-92abd8ca-550c-4aee-92d9-4140b4ef53ad-image",data:{image:{field:"",constantValue:{url:"https://images.unsplash.com/photo-1504548840739-580b10ae7715?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb",height:360,width:640},constantValueEnabled:!0}},styles:{aspectRatio:1.78,width:640},hideWidthProp:!0,className:"max-w-full h-full object-cover",sizes:{base:"calc(100vw - 32px)",lg:"calc(maxWidth * 0.45)"}}}],TitleSlot:[{type:"HeadingTextSlot",props:{id:"EventCard-92abd8ca-550c-4aee-92d9-4140b4ef53ad-title",data:{text:{field:"",constantValue:{en:"Event Title",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{level:3,align:"left"}}}],DateTimeSlot:[{type:"Timestamp",props:{id:"EventCard-92abd8ca-550c-4aee-92d9-4140b4ef53ad-timestamp",data:{date:{field:"",constantValue:"2022-12-12T14:00:00",constantValueEnabled:!0},endDate:{field:"",constantValue:"2022-12-12T15:00:00",constantValueEnabled:!0}},styles:{includeTime:!0,includeRange:!1}}}],DescriptionSlot:[{type:"BodyTextSlot",props:{id:"EventCard-92abd8ca-550c-4aee-92d9-4140b4ef53ad-description",data:{text:{field:"",constantValue:{en:{json:'{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}',html:'<p dir="ltr" style="font-size: 14.67px; font-weight: 400; line-height: 18.67px; color: rgb(0, 0, 0); margin: 0; padding: 3px 2px 3px 2px; position: relative;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.</span></p>'},hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base"},parentStyles:{className:"md:line-clamp-2"}}}],CTASlot:[{type:"CTASlot",props:{id:"EventCard-92abd8ca-550c-4aee-92d9-4140b4ef53ad-cta",data:{entityField:{field:"",constantValue:{label:"Learn More",link:"#",linkType:"URL",ctaType:"textAndLink"},constantValueEnabled:!0}},styles:{variant:"primary",presetImage:"app-store"},eventName:"cta0"}}]},conditionalRender:{image:!0,title:!0,dateTime:!0,description:!0,cta:!0}}},{type:"EventCard",props:{id:"EventCard-b1fd4377-76db-433e-9803-ea5ae0d9f996",index:1,styles:{backgroundColor:{bgColor:"bg-white",textColor:"text-black"},truncateDescription:!0},slots:{ImageSlot:[{type:"ImageSlot",props:{id:"EventCard-b1fd4377-76db-433e-9803-ea5ae0d9f996-image",data:{image:{field:"",constantValue:{url:"https://images.unsplash.com/photo-1502252430442-aac78f397426?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb",height:360,width:640},constantValueEnabled:!0}},styles:{aspectRatio:1.78,width:640},hideWidthProp:!0,className:"max-w-full h-full object-cover",sizes:{base:"calc(100vw - 32px)",lg:"calc(maxWidth * 0.45)"}}}],TitleSlot:[{type:"HeadingTextSlot",props:{id:"EventCard-b1fd4377-76db-433e-9803-ea5ae0d9f996-title",data:{text:{field:"",constantValue:{en:"Event Title",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{level:3,align:"left"}}}],DateTimeSlot:[{type:"Timestamp",props:{id:"EventCard-b1fd4377-76db-433e-9803-ea5ae0d9f996-timestamp",data:{date:{field:"",constantValue:"2022-12-12T14:00:00",constantValueEnabled:!0},endDate:{field:"",constantValue:"2022-12-12T15:00:00",constantValueEnabled:!0}},styles:{includeTime:!0,includeRange:!1}}}],DescriptionSlot:[{type:"BodyTextSlot",props:{id:"EventCard-b1fd4377-76db-433e-9803-ea5ae0d9f996-description",data:{text:{field:"",constantValue:{en:{json:'{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}',html:'<p dir="ltr" style="font-size: 14.67px; font-weight: 400; line-height: 18.67px; color: rgb(0, 0, 0); margin: 0; padding: 3px 2px 3px 2px; position: relative;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.</span></p>'},hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base"},parentStyles:{className:"md:line-clamp-2"}}}],CTASlot:[{type:"CTASlot",props:{id:"EventCard-b1fd4377-76db-433e-9803-ea5ae0d9f996-cta",data:{entityField:{field:"",constantValue:{label:"Learn More",link:"#",linkType:"URL",ctaType:"textAndLink"},constantValueEnabled:!0}},styles:{variant:"primary",presetImage:"app-store"},eventName:"cta1"}}]},conditionalRender:{image:!0,title:!0,dateTime:!0,description:!0,cta:!0}}},{type:"EventCard",props:{id:"EventCard-90968d53-5878-4459-b3dc-0b9b75e028ea",index:2,styles:{backgroundColor:{bgColor:"bg-white",textColor:"text-black"},truncateDescription:!0},slots:{ImageSlot:[{type:"ImageSlot",props:{id:"EventCard-90968d53-5878-4459-b3dc-0b9b75e028ea-image",data:{image:{field:"",constantValue:{url:"https://images.unsplash.com/photo-1755745360285-0633c972b0fd?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb",height:360,width:640},constantValueEnabled:!0}},styles:{aspectRatio:1.78,width:640},hideWidthProp:!0,className:"max-w-full h-full object-cover",sizes:{base:"calc(100vw - 32px)",lg:"calc(maxWidth * 0.45)"}}}],TitleSlot:[{type:"HeadingTextSlot",props:{id:"EventCard-90968d53-5878-4459-b3dc-0b9b75e028ea-title",data:{text:{field:"",constantValue:{en:"Event Title",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{level:3,align:"left"}}}],DateTimeSlot:[{type:"Timestamp",props:{id:"EventCard-90968d53-5878-4459-b3dc-0b9b75e028ea-timestamp",data:{date:{field:"",constantValue:"2022-12-12T14:00:00",constantValueEnabled:!0},endDate:{field:"",constantValue:"2022-12-12T15:00:00",constantValueEnabled:!0}},styles:{includeTime:!0,includeRange:!1}}}],DescriptionSlot:[{type:"BodyTextSlot",props:{id:"EventCard-90968d53-5878-4459-b3dc-0b9b75e028ea-description",data:{text:{field:"",constantValue:{en:{json:'{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}',html:'<p dir="ltr" style="font-size: 14.67px; font-weight: 400; line-height: 18.67px; color: rgb(0, 0, 0); margin: 0; padding: 3px 2px 3px 2px; position: relative;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.</span></p>'},hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{variant:"base"},parentStyles:{className:"md:line-clamp-2"}}}],CTASlot:[{type:"CTASlot",props:{id:"EventCard-90968d53-5878-4459-b3dc-0b9b75e028ea-cta",data:{entityField:{field:"",constantValue:{label:"Learn More",link:"#",linkType:"URL",ctaType:"textAndLink"},constantValueEnabled:!0}},styles:{variant:"primary",presetImage:"app-store"},eventName:"cta2"}}]},conditionalRender:{image:!0,title:!0,dateTime:!0,description:!0,cta:!0}}}]}}}]},analytics:{scope:"eventsSection"},liveVisibility:!0,id:"EventSection-6015ba31-ab1b-4cb3-8942-4adf3bcea430"}},{type:"NearbyLocationsSection",props:{styles:{backgroundColor:{bgColor:"bg-white",textColor:"text-black"}},analytics:{scope:"nearbyLocationsSection"},slots:{SectionHeadingSlot:[{type:"HeadingTextSlot",props:{id:"HeadingTextSlot-bb13cea8-227b-46ea-9da6-cb0845e62fb6",data:{text:{field:"",constantValue:{en:"Nearby Locations",hasLocalizedValue:"true"},constantValueEnabled:!0}},styles:{level:2,align:"left"}}}],CardsWrapperSlot:[{type:"NearbyLocationCardsWrapper",props:{id:"NearbyLocationCardsWrapper-7d43eba1-9a72-49eb-876d-3b77d672198b",data:{coordinate:{field:"yextDisplayCoordinate",constantValue:{latitude:0,longitude:0}},radius:10,limit:3},styles:{backgroundColor:{bgColor:"bg-white",textColor:"text-black"},headingLevel:3,hours:{showCurrentStatus:!0,timeFormat:"12h",showDayNames:!0,dayOfWeekFormat:"long"},phone:{phoneNumberFormat:"domestic",phoneNumberLink:!0}}}}]},liveVisibility:!0,id:"NearbyLocationsSection-f6e05922-2989-4125-9234-2db1a0c46279"}},{type:"ExpandedFooter",props:{data:{primaryFooter:{expandedFooter:!1}},slots:{LogoSlot:[{type:"FooterLogoSlot",props:{id:"FooterLogoSlot-cd904e91-9979-486f-b9da-ac21313cdc3b",data:{image:{field:"",constantValue:{url:"https://placehold.co/100",height:100,width:100,alternateText:{en:"Logo",hasLocalizedValue:"true"}},constantValueEnabled:!0}},styles:{width:100,aspectRatio:1.78}}}],SocialLinksSlot:[{type:"FooterSocialLinksSlot",props:{id:"FooterSocialLinksSlot-eba66b8e-535a-42e7-8c74-5299cf69d255",data:{xLink:"",facebookLink:"",instagramLink:"",linkedInLink:"",pinterestLink:"",tiktokLink:"",youtubeLink:""}}}],UtilityImagesSlot:[{type:"FooterUtilityImagesSlot",props:{id:"FooterUtilityImagesSlot-b1702480-10c2-4fa7-8b27-cbb2c0fa83d2",data:{utilityImages:[]},styles:{width:0,aspectRatio:1}}}],PrimaryLinksWrapperSlot:[{type:"FooterLinksSlot",props:{id:"FooterLinksSlot-e508fa3c-1192-4b5b-81f1-5f7fd370b35a",data:{links:[{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"}]},variant:"primary",eventNamePrefix:"primary"}}],ExpandedLinksWrapperSlot:[{type:"FooterExpandedLinksWrapper",props:{id:"FooterExpandedLinksWrapper-8b001169-8e2f-42fa-a5fe-d57f0b889f09",data:{sections:[{label:{en:"Footer Label",hasLocalizedValue:"true"},links:[{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"}]},{label:{en:"Footer Label",hasLocalizedValue:"true"},links:[{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"}]},{label:{en:"Footer Label",hasLocalizedValue:"true"},links:[{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"}]},{label:{en:"Footer Label",hasLocalizedValue:"true"},links:[{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"}]}]}}}],SecondaryFooterSlot:[{type:"SecondaryFooterSlot",props:{id:"SecondaryFooterSlot-014d0906-830d-40ae-bb74-dcbc1188ae73",data:{show:!0},styles:{backgroundColor:{bgColor:"bg-palette-primary-light",textColor:"text-black"},linksAlignment:"left"},maxWidth:"theme",slots:{SecondaryLinksWrapperSlot:[{type:"FooterLinksSlot",props:{id:"FooterLinksSlot-239a1635-3339-4c1d-b850-894aec3220d3",data:{links:[{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"}]},variant:"secondary",eventNamePrefix:"secondary",alignment:"left"}}],CopyrightSlot:[{type:"CopyrightMessageSlot",props:{id:"CopyrightMessageSlot-a693ff67-53de-4654-a9bb-b6be0ef0af77",data:{text:{field:"",constantValue:{en:"",hasLocalizedValue:"true"},constantValueEnabled:!0}}}}]},ignoreLocaleWarning:[]}}]},styles:{primaryFooter:{backgroundColor:{bgColor:"bg-palette-primary-dark",textColor:"text-white"},linksAlignment:"right"},maxWidth:"theme"},analytics:{scope:"expandedFooter"},id:"ExpandedFooter-2c5d3c6c-615b-4d94-9b0b-16220bd840a0",ignoreLocaleWarning:["slots.ExpandedLinksWrapperSlot"]}}]},f={root:{props:{version:41,title:{field:"",constantValue:"",constantValueEnabled:!1},description:{field:"",constantValue:"",constantValueEnabled:!1}}},content:[{type:"ExpandedHeader",props:{styles:{maxWidth:"theme",headerPosition:"scrollsWithPage"},slots:{PrimaryHeaderSlot:[{type:"PrimaryHeaderSlot",props:{id:"PrimaryHeaderSlot-0d3864b1-add7-4268-9a02-f0526eb35c9b",styles:{backgroundColor:{bgColor:"bg-white",textColor:"text-black"}},slots:{LogoSlot:[{type:"ImageSlot",props:{id:"ImageSlot-dbf6589a-4cff-4ef8-ada0-1a53bf5af37a",data:{image:{field:"",constantValue:{url:"https://placehold.co/100",height:100,width:100},constantValueEnabled:!0}},styles:{aspectRatio:2,width:100}}}],LinksSlot:[{type:"HeaderLinks",props:{id:"HeaderLinks-48f4506c-6421-4f54-95c2-0a44f6d89c29",data:{links:[{linkType:"URL",label:{en:"Header Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Header Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Header Link",hasLocalizedValue:"true"},link:"#"}]},parentData:{type:"Primary"}}}],PrimaryCTASlot:[{type:"CTASlot",props:{id:"CTASlot-6ff4af13-e9a4-4ec2-8884-8e0cd165f900",data:{show:!0,entityField:{field:"",constantValue:{label:{en:"Call to Action",hasLocalizedValue:"true"},link:"#",linkType:"URL",ctaType:"textAndLink"},constantValueEnabled:!0}},styles:{variant:"primary",presetImage:"app-store"},fieldsToHide:["styles.displayType"]}}],SecondaryCTASlot:[{type:"CTASlot",props:{id:"CTASlot-203ce7a4-6207-42b5-bd8d-500051893a78",data:{show:!0,entityField:{field:"",constantValue:{label:{en:"Call to Action",hasLocalizedValue:"true"},link:"#",linkType:"URL",ctaType:"textAndLink"},constantValueEnabled:!0}},styles:{variant:"secondary",presetImage:"app-store"}}}]},parentValues:{maxWidth:"theme",SecondaryHeaderSlot:[{type:"SecondaryHeaderSlot",props:{id:"SecondaryHeaderSlot-27cae493-886a-4c73-a9fa-376d28a0baf3",data:{show:!0,showLanguageDropdown:!1},styles:{backgroundColor:{bgColor:"bg-palette-primary-light",textColor:"text-black"}},slots:{LinksSlot:[{type:"HeaderLinks",props:{id:"HeaderLinks-76826121-e9bc-452a-8b99-c663a5803dc3",data:{links:[{linkType:"URL",label:{en:"Header Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Header Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Header Link",hasLocalizedValue:"true"},link:"#"}]},parentData:{type:"Secondary"}}}]},parentStyles:{maxWidth:"theme"}}}]},conditionalRender:{navContent:!0,CTAs:!0}}}],SecondaryHeaderSlot:[{type:"SecondaryHeaderSlot",props:{id:"SecondaryHeaderSlot-27cae493-886a-4c73-a9fa-376d28a0baf3",data:{show:!0,showLanguageDropdown:!1},styles:{backgroundColor:{bgColor:"bg-palette-primary-light",textColor:"text-black"}},slots:{LinksSlot:[{type:"HeaderLinks",props:{id:"HeaderLinks-76826121-e9bc-452a-8b99-c663a5803dc3",data:{links:[{linkType:"URL",label:{en:"Header Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Header Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Header Link",hasLocalizedValue:"true"},link:"#"}]},parentData:{type:"Secondary"}}}]},parentStyles:{maxWidth:"theme"}}}]},analytics:{scope:"expandedHeader"},id:"ExpandedHeader-92679ccf-a7de-4b5b-90d3-fea0f03449d0",ignoreLocaleWarning:["slots.SecondaryHeaderSlot"]}},{type:"Directory",props:{styles:{backgroundColor:{bgColor:"bg-white",textColor:"text-black"}},slots:{TitleSlot:[{type:"HeadingTextSlot",props:{id:"HeadingTextSlot-799a66ed-c7dc-43c6-a732-07484a8e0cab",data:{text:{constantValue:{en:"[[name]]",hasLocalizedValue:"true"},constantValueEnabled:!0,field:""}},styles:{level:2,align:"center"}}}],SiteNameSlot:[{type:"HeadingTextSlot",props:{id:"HeadingTextSlot-994eac78-8ba0-48d8-815c-046d570cfb2f",data:{text:{constantValue:{en:"",hasLocalizedValue:"true"},constantValueEnabled:!0,field:"name"}},styles:{level:4,align:"center"}}}],BreadcrumbsSlot:[{type:"BreadcrumbsSlot",props:{id:"BreadcrumbsSlot-40287424-8577-4dc8-b2c6-8d56baa236bd",data:{directoryRoot:{en:"Directory Root",hasLocalizedValue:"true"}},styles:{backgroundColor:{bgColor:"bg-white",textColor:"text-black"}},analytics:{scope:"directory"},liveVisibility:!0}}],DirectoryGrid:[{type:"DirectoryGrid",props:{id:"DirectoryGrid-d0f91ac5-a8cb-4b8d-8cac-d003c7842fb3",slots:{CardSlot:[]}}}]},analytics:{scope:"directory"},id:"Directory-16740a55-2fc8-4922-8475-4b4fff7a75f5"}},{type:"ExpandedFooter",props:{data:{primaryFooter:{expandedFooter:!1}},slots:{LogoSlot:[{type:"FooterLogoSlot",props:{id:"FooterLogoSlot-cd904e91-9979-486f-b9da-ac21313cdc3b",data:{image:{field:"",constantValue:{url:"https://placehold.co/100",height:100,width:100,alternateText:{en:"Logo",hasLocalizedValue:"true"}},constantValueEnabled:!0}},styles:{width:100,aspectRatio:1.78}}}],SocialLinksSlot:[{type:"FooterSocialLinksSlot",props:{id:"FooterSocialLinksSlot-eba66b8e-535a-42e7-8c74-5299cf69d255",data:{xLink:"",facebookLink:"",instagramLink:"",linkedInLink:"",pinterestLink:"",tiktokLink:"",youtubeLink:""}}}],UtilityImagesSlot:[{type:"FooterUtilityImagesSlot",props:{id:"FooterUtilityImagesSlot-b1702480-10c2-4fa7-8b27-cbb2c0fa83d2",data:{utilityImages:[]},styles:{width:0,aspectRatio:1}}}],PrimaryLinksWrapperSlot:[{type:"FooterLinksSlot",props:{id:"FooterLinksSlot-e508fa3c-1192-4b5b-81f1-5f7fd370b35a",data:{links:[{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"}]},variant:"primary",eventNamePrefix:"primary"}}],ExpandedLinksWrapperSlot:[{type:"FooterExpandedLinksWrapper",props:{id:"FooterExpandedLinksWrapper-8b001169-8e2f-42fa-a5fe-d57f0b889f09",data:{sections:[{label:{en:"Footer Label",hasLocalizedValue:"true"},links:[{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"}]},{label:{en:"Footer Label",hasLocalizedValue:"true"},links:[{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"}]},{label:{en:"Footer Label",hasLocalizedValue:"true"},links:[{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"}]},{label:{en:"Footer Label",hasLocalizedValue:"true"},links:[{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"}]}]}}}],SecondaryFooterSlot:[{type:"SecondaryFooterSlot",props:{id:"SecondaryFooterSlot-014d0906-830d-40ae-bb74-dcbc1188ae73",data:{show:!0},styles:{backgroundColor:{bgColor:"bg-palette-primary-light",textColor:"text-black"},linksAlignment:"left"},maxWidth:"theme",slots:{SecondaryLinksWrapperSlot:[{type:"FooterLinksSlot",props:{id:"FooterLinksSlot-239a1635-3339-4c1d-b850-894aec3220d3",data:{links:[{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"},{linkType:"URL",label:{en:"Footer Link",hasLocalizedValue:"true"},link:"#"}]},variant:"secondary",eventNamePrefix:"secondary",alignment:"left"}}],CopyrightSlot:[{type:"CopyrightMessageSlot",props:{id:"CopyrightMessageSlot-a693ff67-53de-4654-a9bb-b6be0ef0af77",data:{text:{field:"",constantValue:{en:"",hasLocalizedValue:"true"},constantValueEnabled:!0}}}}]},ignoreLocaleWarning:[]}}]},styles:{primaryFooter:{backgroundColor:{bgColor:"bg-palette-primary-dark",textColor:"text-white"},linksAlignment:"right"},maxWidth:"theme"},analytics:{scope:"expandedFooter"},id:"ExpandedFooter-2c5d3c6c-615b-4d94-9b0b-16220bd840a0",ignoreLocaleWarning:["slots.ExpandedLinksWrapperSlot"]}}],zones:{}},h={root:{props:{version:22,title:{field:"",constantValue:"",constantValueEnabled:!1},description:{field:"",constantValue:"",constantValueEnabled:!1}}},zones:{},content:[{type:"Locator",props:{id:"Locator-2ae506f4-a3ee-46ea-b5f9-e4c3236243a7",mapStyle:"mapbox://styles/mapbox/streets-v12",filters:{openNowButton:!1,showDistanceOptions:!1}}}]},d={main:JSON.stringify(g),directory:JSON.stringify(f),locator:JSON.stringify(h)},x=[{filepath:"src/templates/main.tsx",content:u,templateManifestEntry:{name:"main",description:"Use this template to generate pages for each of your Locations.",exampleSiteUrl:"",layoutRequired:!0,defaultLayoutData:d.main,componentFields:[t.PromoSection,t.ProductSection,t.EventSection,t.FAQSection,t.TestimonialSection,t.InsightSection,t.TeamSection]}},{filepath:"src/templates/directory.tsx",content:b,templateManifestEntry:{name:"directory",description:"Use this template to generate pages for each of your Directory entities.",exampleSiteUrl:"",layoutRequired:!0,defaultLayoutData:d.directory}},{filepath:"src/templates/locator.tsx",content:y,templateManifestEntry:{name:"locator",description:"Use this template to generate pages for your Locators.",exampleSiteUrl:"",layoutRequired:!0,defaultLayoutData:d.locator}},{filepath:"src/templates/edit.tsx",content:m}],S=()=>{let o=!1;const c=[],p=()=>{const e={templates:[]};x.forEach(l=>{const r=s.join(process.cwd(),l.filepath);c.push(r),a.mkdirSync(s.dirname(r),{recursive:!0}),a.existsSync(r)||a.writeFileSync(r,l.content),l.templateManifestEntry&&e.templates.push(l.templateManifestEntry)});const i=s.join(process.cwd(),".template-manifest.json");a.existsSync(i)||a.writeFileSync(i,JSON.stringify(e,null,2))},n=()=>{c.forEach(e=>{a.rmSync(e,{force:!0})})};return process.on("SIGINT",()=>{n(),process.nextTick(()=>process.exit(0))}),process.on("SIGTERM",()=>{n(),process.nextTick(()=>process.exit(0))}),{name:"vite-plugin-yext-visual-editor",config(e,{command:i}){o=i==="build"},configureServer(e){o||(p(),e.httpServer?.on("close",()=>{n()}))},buildStart(){o&&p()},buildEnd(){o&&n()},closeBundle(){o&&n()}}};exports.yextVisualEditorPlugin=S;
|