@opensite/ui 2.5.0 → 2.5.1

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/registry.js CHANGED
@@ -11,8 +11,7 @@ import * as PopoverPrimitive from '@radix-ui/react-popover';
11
11
  import { Icon } from '@page-speed/icon';
12
12
  import { usePlatformFromUrl } from '@opensite/hooks/usePlatformFromUrl';
13
13
  import * as TabsPrimitive from '@radix-ui/react-tabs';
14
- import { Form, useForm, Field } from '@page-speed/forms';
15
- import { useFileUpload, useContactForm, DynamicFormField, FormEngine, submitPageSpeedForm, PageSpeedFormSubmissionError, isValidEmail } from '@page-speed/forms/integration';
14
+ import { FormEngine, useFileUpload, useContactForm, DynamicFormField, submitPageSpeedForm, PageSpeedFormSubmissionError, isValidEmail } from '@page-speed/forms/integration';
16
15
  import { AnimatePresence, motion, useMotionValue, useMotionTemplate, useSpring, useTransform, useInView, useScroll, useMotionValueEvent } from 'framer-motion';
17
16
  import { Lightbox } from '@page-speed/lightbox';
18
17
  import * as SeparatorPrimitive from '@radix-ui/react-separator';
@@ -27,6 +26,7 @@ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
27
26
  import * as LabelPrimitive from '@radix-ui/react-label';
28
27
  import { format } from 'date-fns';
29
28
  import * as DialogPrimitive from '@radix-ui/react-dialog';
29
+ import { Form, useForm, Field } from '@page-speed/forms';
30
30
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
31
31
  import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
32
32
  import * as SwitchPrimitive from '@radix-ui/react-switch';
@@ -4356,12 +4356,18 @@ function FooterLinksGrid({
4356
4356
  }
4357
4357
  );
4358
4358
  }
4359
+ var DEFAULT_STYLE_RULES = {
4360
+ formContainer: "flex items-stretch w-full",
4361
+ fieldsContainer: "",
4362
+ fieldClassName: "",
4363
+ formClassName: ""
4364
+ };
4359
4365
  var DEFAULT_FORM_FIELDS = [
4360
4366
  {
4361
4367
  name: "email",
4362
4368
  type: "email",
4363
4369
  label: "Email Address",
4364
- placeholder: "Enter your email",
4370
+ placeholder: "Email Address",
4365
4371
  required: true,
4366
4372
  columnSpan: 12
4367
4373
  }
@@ -4374,7 +4380,6 @@ function FooterSocialNewsletter({
4374
4380
  className,
4375
4381
  contentClassName,
4376
4382
  logoWrapperClassName,
4377
- logoClassName,
4378
4383
  gridClassName,
4379
4384
  navSectionClassName,
4380
4385
  navTitleClassName,
@@ -4383,16 +4388,7 @@ function FooterSocialNewsletter({
4383
4388
  socialColumnClassName,
4384
4389
  socialLinksClassName,
4385
4390
  socialLinkClassName,
4386
- formFields = DEFAULT_FORM_FIELDS,
4387
- formConfig,
4388
- onSubmit,
4389
- onSuccess,
4390
- onError,
4391
- successMessage,
4392
- buttonAction,
4393
- helperText,
4394
- formSlot,
4395
- privacyClassName,
4391
+ formEngineSetup,
4396
4392
  bottomClassName,
4397
4393
  copyrightClassName,
4398
4394
  background,
@@ -4402,104 +4398,36 @@ function FooterSocialNewsletter({
4402
4398
  patternOpacity,
4403
4399
  optixFlowConfig
4404
4400
  }) {
4405
- const {
4406
- uploadTokens,
4407
- uploadProgress,
4408
- isUploading,
4409
- uploadFiles,
4410
- removeFile,
4411
- resetUpload
4412
- } = useFileUpload({ onError });
4413
- const { form, submissionError, formMethod, resetSubmissionState } = useContactForm({
4414
- formFields,
4415
- formConfig,
4416
- onSubmit,
4417
- onSuccess: (data) => {
4418
- resetUpload();
4419
- onSuccess?.(data);
4420
- },
4421
- onError,
4422
- uploadTokens
4423
- });
4424
4401
  const renderForm = React30.useMemo(() => {
4425
- if (formSlot) return formSlot;
4426
- const defaultButtonAction = {
4427
- label: "Subscribe",
4402
+ if (!formEngineSetup) return null;
4403
+ const action = {
4428
4404
  variant: "default",
4429
- className: "h-12"
4405
+ icon: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-right", size: 16 })
4430
4406
  };
4431
- const action = buttonAction || defaultButtonAction;
4432
- return /* @__PURE__ */ jsxs(
4433
- Form,
4407
+ return /* @__PURE__ */ jsx(
4408
+ FormEngine,
4434
4409
  {
4435
- form,
4436
- fields: formFields,
4437
- notificationConfig: {
4438
- submissionError,
4439
- successMessage
4440
- },
4441
- formConfig: {
4442
- endpoint: formConfig?.endpoint,
4443
- method: formMethod,
4444
- submissionConfig: formConfig?.submissionConfig,
4445
- formLayout: "button-group",
4446
- buttonGroupSize: "sm",
4447
- submitLabel: action.label,
4448
- submitVariant: action.variant || "default",
4449
- submitIconComponent: action.icon || /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/send" })
4450
- },
4451
- onNewSubmission: () => {
4452
- resetUpload();
4453
- resetSubmissionState();
4410
+ formEngineSetup: {
4411
+ ...formEngineSetup,
4412
+ formLayoutSettings: {
4413
+ ...formEngineSetup.formLayoutSettings,
4414
+ formLayout: "button-group",
4415
+ buttonGroupSetup: {
4416
+ ...formEngineSetup.formLayoutSettings?.buttonGroupSetup,
4417
+ size: "default",
4418
+ submitLabel: action.icon || action.label,
4419
+ submitVariant: action.variant
4420
+ }
4421
+ }
4454
4422
  },
4455
- children: [
4456
- /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 sm:flex-row", children: [
4457
- formFields.map((field) => /* @__PURE__ */ jsx("div", { className: "flex-1", children: /* @__PURE__ */ jsx(
4458
- DynamicFormField,
4459
- {
4460
- field,
4461
- uploadProgress,
4462
- onFileUpload: uploadFiles,
4463
- onFileRemove: removeFile,
4464
- isUploading
4465
- }
4466
- ) }, field.name)),
4467
- /* @__PURE__ */ jsxs(
4468
- Pressable,
4469
- {
4470
- onClick: form.handleSubmit,
4471
- asButton: true,
4472
- variant: action.variant,
4473
- className: cn("h-12", action.className),
4474
- disabled: form.isSubmitting,
4475
- children: [
4476
- action.label,
4477
- action.iconAfter
4478
- ]
4479
- }
4480
- )
4481
- ] }),
4482
- helperText && (typeof helperText === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-sm mt-2"), children: helperText }) : helperText)
4483
- ]
4423
+ defaultFields: DEFAULT_FORM_FIELDS,
4424
+ defaultStyleRules: {
4425
+ ...DEFAULT_STYLE_RULES,
4426
+ formContainer: cn(DEFAULT_STYLE_RULES.formContainer)
4427
+ }
4484
4428
  }
4485
4429
  );
4486
- }, [
4487
- formSlot,
4488
- formFields,
4489
- form,
4490
- formConfig,
4491
- formMethod,
4492
- buttonAction,
4493
- uploadProgress,
4494
- uploadFiles,
4495
- removeFile,
4496
- isUploading,
4497
- submissionError,
4498
- successMessage,
4499
- helperText,
4500
- resetUpload,
4501
- resetSubmissionState
4502
- ]);
4430
+ }, [formEngineSetup]);
4503
4431
  return /* @__PURE__ */ jsx(
4504
4432
  Section,
4505
4433
  {
@@ -4507,20 +4435,26 @@ function FooterSocialNewsletter({
4507
4435
  spacing,
4508
4436
  pattern,
4509
4437
  patternOpacity,
4510
- className: cn(className),
4438
+ className,
4511
4439
  containerClassName,
4512
4440
  children: /* @__PURE__ */ jsx("div", { className: cn(contentClassName), children: /* @__PURE__ */ jsxs("footer", { children: [
4513
4441
  /* @__PURE__ */ jsxs("div", { className: "mb-20", children: [
4514
4442
  logo && /* @__PURE__ */ jsx(
4515
- FooterLogo,
4443
+ Pressable,
4516
4444
  {
4517
- logo,
4518
- logoClassName: cn(
4519
- "flex items-center gap-2",
4520
- logoWrapperClassName
4521
- ),
4522
- logoImageClassName: cn("h-10", logoClassName),
4523
- optixFlowConfig
4445
+ href: logo.url || "/",
4446
+ className: cn("block mb-8 md:mb-12", logoWrapperClassName),
4447
+ children: /* @__PURE__ */ jsx(
4448
+ Img,
4449
+ {
4450
+ src: logo.src,
4451
+ className: cn(
4452
+ "h-16 object-contain w-auto max-w-full",
4453
+ logo.className
4454
+ ),
4455
+ optixFlowConfig
4456
+ }
4457
+ )
4524
4458
  }
4525
4459
  ),
4526
4460
  socialLinks && socialLinks.length > 0 && /* @__PURE__ */ jsx("div", { className: cn("mt-6", socialColumnClassName), children: /* @__PURE__ */ jsx(
@@ -4533,10 +4467,9 @@ function FooterSocialNewsletter({
4533
4467
  children: socialLinks.map((social, idx) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
4534
4468
  SocialLinkIcon,
4535
4469
  {
4536
- href: social.href,
4537
- label: social.label,
4538
- iconNameOverride: social.iconNameOverride,
4539
- iconSize: 20,
4470
+ size: "icon-lg",
4471
+ variant: "ghost",
4472
+ ...social,
4540
4473
  className: cn(
4541
4474
  "opacity-80 transition-colors hover:opacity-100",
4542
4475
  socialLinkClassName
@@ -6046,7 +5979,7 @@ function FooterAnimatedSocial({
6046
5979
  }
6047
5980
  );
6048
5981
  }
6049
- var DEFAULT_STYLE_RULES = {
5982
+ var DEFAULT_STYLE_RULES2 = {
6050
5983
  formContainer: "flex w-full items-end border-b border-b-foreground/10",
6051
5984
  fieldsContainer: "",
6052
5985
  fieldClassName: "",
@@ -6169,9 +6102,9 @@ function FooterNewsletterMinimal({
6169
6102
  },
6170
6103
  defaultFields: DEFAULT_FORM_FIELDS2,
6171
6104
  defaultStyleRules: {
6172
- ...DEFAULT_STYLE_RULES,
6105
+ ...DEFAULT_STYLE_RULES2,
6173
6106
  formContainer: cn(
6174
- DEFAULT_STYLE_RULES.formContainer,
6107
+ DEFAULT_STYLE_RULES2.formContainer,
6175
6108
  newsletterFormClassName
6176
6109
  )
6177
6110
  }
@@ -11583,7 +11516,7 @@ function CtaImageOverlayArrow({
11583
11516
  }
11584
11517
  );
11585
11518
  }
11586
- var DEFAULT_STYLE_RULES2 = {
11519
+ var DEFAULT_STYLE_RULES3 = {
11587
11520
  formContainer: "flex items-stretch w-full",
11588
11521
  fieldsContainer: "",
11589
11522
  fieldClassName: "",
@@ -11654,8 +11587,8 @@ function CtaAppDownloadNewsletter({
11654
11587
  },
11655
11588
  defaultFields: DEFAULT_FORM_FIELDS3,
11656
11589
  defaultStyleRules: {
11657
- ...DEFAULT_STYLE_RULES2,
11658
- formContainer: cn(DEFAULT_STYLE_RULES2.formContainer, formClassName)
11590
+ ...DEFAULT_STYLE_RULES3,
11591
+ formContainer: cn(DEFAULT_STYLE_RULES3.formContainer, formClassName)
11659
11592
  }
11660
11593
  }
11661
11594
  );
@@ -11763,7 +11696,7 @@ function CtaAppDownloadNewsletter({
11763
11696
  }
11764
11697
  );
11765
11698
  }
11766
- var DEFAULT_STYLE_RULES3 = {
11699
+ var DEFAULT_STYLE_RULES4 = {
11767
11700
  formContainer: "mx-auto mb-8 flex max-w-md items-stretch w-full",
11768
11701
  fieldsContainer: "",
11769
11702
  fieldClassName: "",
@@ -11828,8 +11761,8 @@ function CtaNewsletterFeatures({
11828
11761
  },
11829
11762
  defaultFields: DEFAULT_FORM_FIELDS4,
11830
11763
  defaultStyleRules: {
11831
- ...DEFAULT_STYLE_RULES3,
11832
- formContainer: cn(DEFAULT_STYLE_RULES3.formContainer, formClassName)
11764
+ ...DEFAULT_STYLE_RULES4,
11765
+ formContainer: cn(DEFAULT_STYLE_RULES4.formContainer, formClassName)
11833
11766
  }
11834
11767
  }
11835
11768
  );
@@ -13505,7 +13438,7 @@ function ContactFloatingBanner({
13505
13438
  }
13506
13439
  );
13507
13440
  }
13508
- var DEFAULT_STYLE_RULES4 = {
13441
+ var DEFAULT_STYLE_RULES5 = {
13509
13442
  formContainer: "",
13510
13443
  fieldsContainer: "",
13511
13444
  fieldClassName: "",
@@ -13680,7 +13613,7 @@ function ContactCallback({
13680
13613
  {
13681
13614
  formEngineSetup,
13682
13615
  defaultFields: DEFAULT_FORM_FIELDS5,
13683
- defaultStyleRules: DEFAULT_STYLE_RULES4
13616
+ defaultStyleRules: DEFAULT_STYLE_RULES5
13684
13617
  }
13685
13618
  ) : null
13686
13619
  ] }) })
@@ -13688,7 +13621,7 @@ function ContactCallback({
13688
13621
  }
13689
13622
  );
13690
13623
  }
13691
- var DEFAULT_STYLE_RULES5 = {
13624
+ var DEFAULT_STYLE_RULES6 = {
13692
13625
  formContainer: "",
13693
13626
  fieldsContainer: "",
13694
13627
  fieldClassName: "",
@@ -13817,7 +13750,7 @@ function ContactCard({
13817
13750
  {
13818
13751
  formEngineSetup,
13819
13752
  defaultFields: DEFAULT_FORM_FIELDS6,
13820
- defaultStyleRules: DEFAULT_STYLE_RULES5
13753
+ defaultStyleRules: DEFAULT_STYLE_RULES6
13821
13754
  }
13822
13755
  ) : null }) }),
13823
13756
  /* @__PURE__ */ jsxs(
@@ -13877,7 +13810,7 @@ function ContactCard({
13877
13810
  }
13878
13811
  );
13879
13812
  }
13880
- var DEFAULT_STYLE_RULES6 = {
13813
+ var DEFAULT_STYLE_RULES7 = {
13881
13814
  formContainer: "",
13882
13815
  fieldsContainer: "",
13883
13816
  fieldClassName: "",
@@ -14035,14 +13968,14 @@ function ContactCareers({
14035
13968
  {
14036
13969
  formEngineSetup,
14037
13970
  defaultFields: DEFAULT_FORM_FIELDS7,
14038
- defaultStyleRules: DEFAULT_STYLE_RULES6
13971
+ defaultStyleRules: DEFAULT_STYLE_RULES7
14039
13972
  }
14040
13973
  ) : null }) })
14041
13974
  ] })
14042
13975
  }
14043
13976
  );
14044
13977
  }
14045
- var DEFAULT_STYLE_RULES7 = {
13978
+ var DEFAULT_STYLE_RULES8 = {
14046
13979
  formContainer: "",
14047
13980
  fieldsContainer: "",
14048
13981
  fieldClassName: "",
@@ -14263,14 +14196,14 @@ function ContactCatering({
14263
14196
  {
14264
14197
  formEngineSetup,
14265
14198
  defaultFields: DEFAULT_FORM_FIELDS8,
14266
- defaultStyleRules: DEFAULT_STYLE_RULES7
14199
+ defaultStyleRules: DEFAULT_STYLE_RULES8
14267
14200
  }
14268
14201
  ) : null }) })
14269
14202
  ] })
14270
14203
  }
14271
14204
  );
14272
14205
  }
14273
- var DEFAULT_STYLE_RULES8 = {
14206
+ var DEFAULT_STYLE_RULES9 = {
14274
14207
  formContainer: "",
14275
14208
  fieldsContainer: "",
14276
14209
  fieldClassName: "",
@@ -14444,14 +14377,14 @@ function ContactConsultation({
14444
14377
  {
14445
14378
  formEngineSetup,
14446
14379
  defaultFields: DEFAULT_FORM_FIELDS9,
14447
- defaultStyleRules: DEFAULT_STYLE_RULES8
14380
+ defaultStyleRules: DEFAULT_STYLE_RULES9
14448
14381
  }
14449
14382
  ) : null }) })
14450
14383
  ] })
14451
14384
  }
14452
14385
  );
14453
14386
  }
14454
- var DEFAULT_STYLE_RULES9 = {
14387
+ var DEFAULT_STYLE_RULES10 = {
14455
14388
  formContainer: "",
14456
14389
  fieldsContainer: "",
14457
14390
  fieldClassName: "",
@@ -14584,7 +14517,7 @@ function ContactDark({
14584
14517
  {
14585
14518
  formEngineSetup,
14586
14519
  defaultFields: DEFAULT_FORM_FIELDS10,
14587
- defaultStyleRules: DEFAULT_STYLE_RULES9
14520
+ defaultStyleRules: DEFAULT_STYLE_RULES10
14588
14521
  }
14589
14522
  ) : null }),
14590
14523
  /* @__PURE__ */ jsxs(
@@ -14775,7 +14708,7 @@ var BlurText = ({
14775
14708
  }
14776
14709
  );
14777
14710
  };
14778
- var DEFAULT_STYLE_RULES10 = {
14711
+ var DEFAULT_STYLE_RULES11 = {
14779
14712
  formContainer: "",
14780
14713
  fieldsContainer: "",
14781
14714
  fieldClassName: "",
@@ -14890,14 +14823,14 @@ function ContactDemo({
14890
14823
  {
14891
14824
  formEngineSetup,
14892
14825
  defaultFields: DEFAULT_FORM_FIELDS11,
14893
- defaultStyleRules: DEFAULT_STYLE_RULES10
14826
+ defaultStyleRules: DEFAULT_STYLE_RULES11
14894
14827
  }
14895
14828
  ) : null }) })
14896
14829
  ] })
14897
14830
  }
14898
14831
  );
14899
14832
  }
14900
- var DEFAULT_STYLE_RULES11 = {
14833
+ var DEFAULT_STYLE_RULES12 = {
14901
14834
  formContainer: "",
14902
14835
  fieldsContainer: "",
14903
14836
  fieldClassName: "",
@@ -15077,14 +15010,14 @@ function ContactEmergency({
15077
15010
  {
15078
15011
  formEngineSetup,
15079
15012
  defaultFields: DEFAULT_FORM_FIELDS12,
15080
- defaultStyleRules: DEFAULT_STYLE_RULES11
15013
+ defaultStyleRules: DEFAULT_STYLE_RULES12
15081
15014
  }
15082
15015
  ) : null })
15083
15016
  ] })
15084
15017
  }
15085
15018
  );
15086
15019
  }
15087
- var DEFAULT_STYLE_RULES12 = {
15020
+ var DEFAULT_STYLE_RULES13 = {
15088
15021
  formContainer: "",
15089
15022
  fieldsContainer: "",
15090
15023
  fieldClassName: "",
@@ -15186,7 +15119,7 @@ function ContactEvent({
15186
15119
  {
15187
15120
  formEngineSetup,
15188
15121
  defaultFields: DEFAULT_FORM_FIELDS13,
15189
- defaultStyleRules: DEFAULT_STYLE_RULES12
15122
+ defaultStyleRules: DEFAULT_STYLE_RULES13
15190
15123
  }
15191
15124
  ) : null }) })
15192
15125
  ] })
@@ -15253,7 +15186,7 @@ function AccordionContent({
15253
15186
  }
15254
15187
  );
15255
15188
  }
15256
- var DEFAULT_STYLE_RULES13 = {
15189
+ var DEFAULT_STYLE_RULES14 = {
15257
15190
  formContainer: "",
15258
15191
  fieldsContainer: "",
15259
15192
  fieldClassName: "",
@@ -15421,7 +15354,7 @@ function ContactFaq({
15421
15354
  {
15422
15355
  formEngineSetup,
15423
15356
  defaultFields: DEFAULT_FORM_FIELDS14,
15424
- defaultStyleRules: DEFAULT_STYLE_RULES13
15357
+ defaultStyleRules: DEFAULT_STYLE_RULES14
15425
15358
  }
15426
15359
  ) : null
15427
15360
  ] }) }),
@@ -15445,7 +15378,7 @@ function ContactFaq({
15445
15378
  }
15446
15379
  );
15447
15380
  }
15448
- var DEFAULT_STYLE_RULES14 = {
15381
+ var DEFAULT_STYLE_RULES15 = {
15449
15382
  formContainer: "",
15450
15383
  fieldsContainer: "",
15451
15384
  fieldClassName: "",
@@ -15547,14 +15480,14 @@ function ContactFeedback({
15547
15480
  {
15548
15481
  formEngineSetup,
15549
15482
  defaultFields: DEFAULT_FORM_FIELDS15,
15550
- defaultStyleRules: DEFAULT_STYLE_RULES14
15483
+ defaultStyleRules: DEFAULT_STYLE_RULES15
15551
15484
  }
15552
15485
  ) : null }) })
15553
15486
  ] })
15554
15487
  }
15555
15488
  );
15556
15489
  }
15557
- var DEFAULT_STYLE_RULES15 = {
15490
+ var DEFAULT_STYLE_RULES16 = {
15558
15491
  formContainer: "",
15559
15492
  fieldsContainer: "",
15560
15493
  fieldClassName: "",
@@ -15656,14 +15589,14 @@ function ContactFitness({
15656
15589
  {
15657
15590
  formEngineSetup,
15658
15591
  defaultFields: DEFAULT_FORM_FIELDS16,
15659
- defaultStyleRules: DEFAULT_STYLE_RULES15
15592
+ defaultStyleRules: DEFAULT_STYLE_RULES16
15660
15593
  }
15661
15594
  ) : null }) })
15662
15595
  ] })
15663
15596
  }
15664
15597
  );
15665
15598
  }
15666
- var DEFAULT_STYLE_RULES16 = {
15599
+ var DEFAULT_STYLE_RULES17 = {
15667
15600
  formContainer: "",
15668
15601
  fieldsContainer: "",
15669
15602
  fieldClassName: "",
@@ -15765,14 +15698,14 @@ function ContactGuest({
15765
15698
  {
15766
15699
  formEngineSetup,
15767
15700
  defaultFields: DEFAULT_FORM_FIELDS17,
15768
- defaultStyleRules: DEFAULT_STYLE_RULES16
15701
+ defaultStyleRules: DEFAULT_STYLE_RULES17
15769
15702
  }
15770
15703
  ) : null }) })
15771
15704
  ] })
15772
15705
  }
15773
15706
  );
15774
15707
  }
15775
- var DEFAULT_STYLE_RULES17 = {
15708
+ var DEFAULT_STYLE_RULES18 = {
15776
15709
  formContainer: "",
15777
15710
  fieldsContainer: "",
15778
15711
  fieldClassName: "",
@@ -15988,7 +15921,7 @@ function ContactImage({
15988
15921
  {
15989
15922
  formEngineSetup,
15990
15923
  defaultFields: DEFAULT_FORM_FIELDS18,
15991
- defaultStyleRules: DEFAULT_STYLE_RULES17
15924
+ defaultStyleRules: DEFAULT_STYLE_RULES18
15992
15925
  }
15993
15926
  ) : null })
15994
15927
  ]
@@ -16000,7 +15933,7 @@ function ContactImage({
16000
15933
  }
16001
15934
  );
16002
15935
  }
16003
- var DEFAULT_STYLE_RULES18 = {
15936
+ var DEFAULT_STYLE_RULES19 = {
16004
15937
  formContainer: "",
16005
15938
  fieldsContainer: "",
16006
15939
  fieldClassName: "",
@@ -16102,14 +16035,14 @@ function ContactInsurance({
16102
16035
  {
16103
16036
  formEngineSetup,
16104
16037
  defaultFields: DEFAULT_FORM_FIELDS19,
16105
- defaultStyleRules: DEFAULT_STYLE_RULES18
16038
+ defaultStyleRules: DEFAULT_STYLE_RULES19
16106
16039
  }
16107
16040
  ) : null }) })
16108
16041
  ] })
16109
16042
  }
16110
16043
  );
16111
16044
  }
16112
- var DEFAULT_STYLE_RULES19 = {
16045
+ var DEFAULT_STYLE_RULES20 = {
16113
16046
  formContainer: "",
16114
16047
  fieldsContainer: "",
16115
16048
  fieldClassName: "",
@@ -16233,14 +16166,14 @@ function ContactInterview({
16233
16166
  {
16234
16167
  formEngineSetup,
16235
16168
  defaultFields: DEFAULT_FORM_FIELDS20,
16236
- defaultStyleRules: DEFAULT_STYLE_RULES19
16169
+ defaultStyleRules: DEFAULT_STYLE_RULES20
16237
16170
  }
16238
16171
  ) : null
16239
16172
  ] }) }) })
16240
16173
  }
16241
16174
  );
16242
16175
  }
16243
- var DEFAULT_STYLE_RULES20 = {
16176
+ var DEFAULT_STYLE_RULES21 = {
16244
16177
  formContainer: "",
16245
16178
  fieldsContainer: "",
16246
16179
  fieldClassName: "",
@@ -16342,14 +16275,14 @@ function ContactLocations({
16342
16275
  {
16343
16276
  formEngineSetup,
16344
16277
  defaultFields: DEFAULT_FORM_FIELDS21,
16345
- defaultStyleRules: DEFAULT_STYLE_RULES20
16278
+ defaultStyleRules: DEFAULT_STYLE_RULES21
16346
16279
  }
16347
16280
  ) : null }) })
16348
16281
  ] })
16349
16282
  }
16350
16283
  );
16351
16284
  }
16352
- var DEFAULT_STYLE_RULES21 = {
16285
+ var DEFAULT_STYLE_RULES22 = {
16353
16286
  formContainer: "",
16354
16287
  fieldsContainer: "",
16355
16288
  fieldClassName: "",
@@ -16451,14 +16384,14 @@ function ContactMaintenance({
16451
16384
  {
16452
16385
  formEngineSetup,
16453
16386
  defaultFields: DEFAULT_FORM_FIELDS22,
16454
- defaultStyleRules: DEFAULT_STYLE_RULES21
16387
+ defaultStyleRules: DEFAULT_STYLE_RULES22
16455
16388
  }
16456
16389
  ) : null }) })
16457
16390
  ] })
16458
16391
  }
16459
16392
  );
16460
16393
  }
16461
- var DEFAULT_STYLE_RULES22 = {
16394
+ var DEFAULT_STYLE_RULES23 = {
16462
16395
  formContainer: "",
16463
16396
  fieldsContainer: "",
16464
16397
  fieldClassName: "",
@@ -16560,14 +16493,14 @@ function ContactMap({
16560
16493
  {
16561
16494
  formEngineSetup,
16562
16495
  defaultFields: DEFAULT_FORM_FIELDS23,
16563
- defaultStyleRules: DEFAULT_STYLE_RULES22
16496
+ defaultStyleRules: DEFAULT_STYLE_RULES23
16564
16497
  }
16565
16498
  ) : null }) })
16566
16499
  ] })
16567
16500
  }
16568
16501
  );
16569
16502
  }
16570
- var DEFAULT_STYLE_RULES23 = {
16503
+ var DEFAULT_STYLE_RULES24 = {
16571
16504
  formContainer: "",
16572
16505
  fieldsContainer: "",
16573
16506
  fieldClassName: "",
@@ -16669,14 +16602,14 @@ function ContactMinimal({
16669
16602
  {
16670
16603
  formEngineSetup,
16671
16604
  defaultFields: DEFAULT_FORM_FIELDS24,
16672
- defaultStyleRules: DEFAULT_STYLE_RULES23
16605
+ defaultStyleRules: DEFAULT_STYLE_RULES24
16673
16606
  }
16674
16607
  ) : null }) })
16675
16608
  ] })
16676
16609
  }
16677
16610
  );
16678
16611
  }
16679
- var DEFAULT_STYLE_RULES24 = {
16612
+ var DEFAULT_STYLE_RULES25 = {
16680
16613
  formContainer: "",
16681
16614
  fieldsContainer: "",
16682
16615
  fieldClassName: "",
@@ -16778,14 +16711,14 @@ function ContactMoving({
16778
16711
  {
16779
16712
  formEngineSetup,
16780
16713
  defaultFields: DEFAULT_FORM_FIELDS25,
16781
- defaultStyleRules: DEFAULT_STYLE_RULES24
16714
+ defaultStyleRules: DEFAULT_STYLE_RULES25
16782
16715
  }
16783
16716
  ) : null }) })
16784
16717
  ] })
16785
16718
  }
16786
16719
  );
16787
16720
  }
16788
- var DEFAULT_STYLE_RULES25 = {
16721
+ var DEFAULT_STYLE_RULES26 = {
16789
16722
  formContainer: "",
16790
16723
  fieldsContainer: "",
16791
16724
  fieldClassName: "",
@@ -16887,14 +16820,14 @@ function ContactMultistep({
16887
16820
  {
16888
16821
  formEngineSetup,
16889
16822
  defaultFields: DEFAULT_FORM_FIELDS26,
16890
- defaultStyleRules: DEFAULT_STYLE_RULES25
16823
+ defaultStyleRules: DEFAULT_STYLE_RULES26
16891
16824
  }
16892
16825
  ) : null }) })
16893
16826
  ] })
16894
16827
  }
16895
16828
  );
16896
16829
  }
16897
- var DEFAULT_STYLE_RULES26 = {
16830
+ var DEFAULT_STYLE_RULES27 = {
16898
16831
  formContainer: "",
16899
16832
  fieldsContainer: "",
16900
16833
  fieldClassName: "",
@@ -16996,14 +16929,14 @@ function ContactPartnership({
16996
16929
  {
16997
16930
  formEngineSetup,
16998
16931
  defaultFields: DEFAULT_FORM_FIELDS27,
16999
- defaultStyleRules: DEFAULT_STYLE_RULES26
16932
+ defaultStyleRules: DEFAULT_STYLE_RULES27
17000
16933
  }
17001
16934
  ) : null }) })
17002
16935
  ] })
17003
16936
  }
17004
16937
  );
17005
16938
  }
17006
- var DEFAULT_STYLE_RULES27 = {
16939
+ var DEFAULT_STYLE_RULES28 = {
17007
16940
  formContainer: "",
17008
16941
  fieldsContainer: "",
17009
16942
  fieldClassName: "",
@@ -17138,7 +17071,7 @@ function ContactPhotography({
17138
17071
  {
17139
17072
  formEngineSetup,
17140
17073
  defaultFields: DEFAULT_FORM_FIELDS28,
17141
- defaultStyleRules: DEFAULT_STYLE_RULES27
17074
+ defaultStyleRules: DEFAULT_STYLE_RULES28
17142
17075
  }
17143
17076
  ) : null
17144
17077
  ] }) })
@@ -17160,7 +17093,7 @@ function ContactPhotography({
17160
17093
  }
17161
17094
  );
17162
17095
  }
17163
- var DEFAULT_STYLE_RULES28 = {
17096
+ var DEFAULT_STYLE_RULES29 = {
17164
17097
  formContainer: "",
17165
17098
  fieldsContainer: "",
17166
17099
  fieldClassName: "",
@@ -17262,14 +17195,14 @@ function ContactPress({
17262
17195
  {
17263
17196
  formEngineSetup,
17264
17197
  defaultFields: DEFAULT_FORM_FIELDS29,
17265
- defaultStyleRules: DEFAULT_STYLE_RULES28
17198
+ defaultStyleRules: DEFAULT_STYLE_RULES29
17266
17199
  }
17267
17200
  ) : null }) })
17268
17201
  ] })
17269
17202
  }
17270
17203
  );
17271
17204
  }
17272
- var DEFAULT_STYLE_RULES29 = {
17205
+ var DEFAULT_STYLE_RULES30 = {
17273
17206
  formContainer: "",
17274
17207
  fieldsContainer: "",
17275
17208
  fieldClassName: "",
@@ -17371,14 +17304,14 @@ function ContactQuote({
17371
17304
  {
17372
17305
  formEngineSetup,
17373
17306
  defaultFields: DEFAULT_FORM_FIELDS30,
17374
- defaultStyleRules: DEFAULT_STYLE_RULES29
17307
+ defaultStyleRules: DEFAULT_STYLE_RULES30
17375
17308
  }
17376
17309
  ) : null }) })
17377
17310
  ] })
17378
17311
  }
17379
17312
  );
17380
17313
  }
17381
- var DEFAULT_STYLE_RULES30 = {
17314
+ var DEFAULT_STYLE_RULES31 = {
17382
17315
  formContainer: "",
17383
17316
  fieldsContainer: "",
17384
17317
  fieldClassName: "",
@@ -17480,14 +17413,14 @@ function ContactReferral({
17480
17413
  {
17481
17414
  formEngineSetup,
17482
17415
  defaultFields: DEFAULT_FORM_FIELDS31,
17483
- defaultStyleRules: DEFAULT_STYLE_RULES30
17416
+ defaultStyleRules: DEFAULT_STYLE_RULES31
17484
17417
  }
17485
17418
  ) : null }) })
17486
17419
  ] })
17487
17420
  }
17488
17421
  );
17489
17422
  }
17490
- var DEFAULT_STYLE_RULES31 = {
17423
+ var DEFAULT_STYLE_RULES32 = {
17491
17424
  formContainer: "",
17492
17425
  fieldsContainer: "",
17493
17426
  fieldClassName: "",
@@ -17589,14 +17522,14 @@ function ContactReport({
17589
17522
  {
17590
17523
  formEngineSetup,
17591
17524
  defaultFields: DEFAULT_FORM_FIELDS32,
17592
- defaultStyleRules: DEFAULT_STYLE_RULES31
17525
+ defaultStyleRules: DEFAULT_STYLE_RULES32
17593
17526
  }
17594
17527
  ) : null }) })
17595
17528
  ] })
17596
17529
  }
17597
17530
  );
17598
17531
  }
17599
- var DEFAULT_STYLE_RULES32 = {
17532
+ var DEFAULT_STYLE_RULES33 = {
17600
17533
  formContainer: "",
17601
17534
  fieldsContainer: "",
17602
17535
  fieldClassName: "",
@@ -17698,14 +17631,14 @@ function ContactReservation({
17698
17631
  {
17699
17632
  formEngineSetup,
17700
17633
  defaultFields: DEFAULT_FORM_FIELDS33,
17701
- defaultStyleRules: DEFAULT_STYLE_RULES32
17634
+ defaultStyleRules: DEFAULT_STYLE_RULES33
17702
17635
  }
17703
17636
  ) : null }) })
17704
17637
  ] })
17705
17638
  }
17706
17639
  );
17707
17640
  }
17708
- var DEFAULT_STYLE_RULES33 = {
17641
+ var DEFAULT_STYLE_RULES34 = {
17709
17642
  formContainer: "",
17710
17643
  fieldsContainer: "",
17711
17644
  fieldClassName: "",
@@ -17823,14 +17756,14 @@ function ContactRetreat({
17823
17756
  {
17824
17757
  formEngineSetup,
17825
17758
  defaultFields: DEFAULT_FORM_FIELDS34,
17826
- defaultStyleRules: DEFAULT_STYLE_RULES33
17759
+ defaultStyleRules: DEFAULT_STYLE_RULES34
17827
17760
  }
17828
17761
  ) : null }) })
17829
17762
  ] })
17830
17763
  }
17831
17764
  );
17832
17765
  }
17833
- var DEFAULT_STYLE_RULES34 = {
17766
+ var DEFAULT_STYLE_RULES35 = {
17834
17767
  formContainer: "",
17835
17768
  fieldsContainer: "",
17836
17769
  fieldClassName: "",
@@ -17932,14 +17865,14 @@ function ContactRsvp({
17932
17865
  {
17933
17866
  formEngineSetup,
17934
17867
  defaultFields: DEFAULT_FORM_FIELDS35,
17935
- defaultStyleRules: DEFAULT_STYLE_RULES34
17868
+ defaultStyleRules: DEFAULT_STYLE_RULES35
17936
17869
  }
17937
17870
  ) : null }) })
17938
17871
  ] })
17939
17872
  }
17940
17873
  );
17941
17874
  }
17942
- var DEFAULT_STYLE_RULES35 = {
17875
+ var DEFAULT_STYLE_RULES36 = {
17943
17876
  formContainer: "",
17944
17877
  fieldsContainer: "",
17945
17878
  fieldClassName: "",
@@ -18041,14 +17974,14 @@ function ContactSales({
18041
17974
  {
18042
17975
  formEngineSetup,
18043
17976
  defaultFields: DEFAULT_FORM_FIELDS36,
18044
- defaultStyleRules: DEFAULT_STYLE_RULES35
17977
+ defaultStyleRules: DEFAULT_STYLE_RULES36
18045
17978
  }
18046
17979
  ) : null }) })
18047
17980
  ] })
18048
17981
  }
18049
17982
  );
18050
17983
  }
18051
- var DEFAULT_STYLE_RULES36 = {
17984
+ var DEFAULT_STYLE_RULES37 = {
18052
17985
  formContainer: "",
18053
17986
  fieldsContainer: "",
18054
17987
  fieldClassName: "",
@@ -18150,14 +18083,14 @@ function ContactSchedule({
18150
18083
  {
18151
18084
  formEngineSetup,
18152
18085
  defaultFields: DEFAULT_FORM_FIELDS37,
18153
- defaultStyleRules: DEFAULT_STYLE_RULES36
18086
+ defaultStyleRules: DEFAULT_STYLE_RULES37
18154
18087
  }
18155
18088
  ) : null }) })
18156
18089
  ] })
18157
18090
  }
18158
18091
  );
18159
18092
  }
18160
- var DEFAULT_STYLE_RULES37 = {
18093
+ var DEFAULT_STYLE_RULES38 = {
18161
18094
  formContainer: "",
18162
18095
  fieldsContainer: "",
18163
18096
  fieldClassName: "",
@@ -18259,14 +18192,14 @@ function ContactSponsorship({
18259
18192
  {
18260
18193
  formEngineSetup,
18261
18194
  defaultFields: DEFAULT_FORM_FIELDS38,
18262
- defaultStyleRules: DEFAULT_STYLE_RULES37
18195
+ defaultStyleRules: DEFAULT_STYLE_RULES38
18263
18196
  }
18264
18197
  ) : null }) })
18265
18198
  ] })
18266
18199
  }
18267
18200
  );
18268
18201
  }
18269
- var DEFAULT_STYLE_RULES38 = {
18202
+ var DEFAULT_STYLE_RULES39 = {
18270
18203
  formContainer: "",
18271
18204
  fieldsContainer: "",
18272
18205
  fieldClassName: "",
@@ -18368,14 +18301,14 @@ function ContactSupport({
18368
18301
  {
18369
18302
  formEngineSetup,
18370
18303
  defaultFields: DEFAULT_FORM_FIELDS39,
18371
- defaultStyleRules: DEFAULT_STYLE_RULES38
18304
+ defaultStyleRules: DEFAULT_STYLE_RULES39
18372
18305
  }
18373
18306
  ) : null }) })
18374
18307
  ] })
18375
18308
  }
18376
18309
  );
18377
18310
  }
18378
- var DEFAULT_STYLE_RULES39 = {
18311
+ var DEFAULT_STYLE_RULES40 = {
18379
18312
  formContainer: "",
18380
18313
  fieldsContainer: "",
18381
18314
  fieldClassName: "",
@@ -18477,14 +18410,14 @@ function ContactTenant({
18477
18410
  {
18478
18411
  formEngineSetup,
18479
18412
  defaultFields: DEFAULT_FORM_FIELDS40,
18480
- defaultStyleRules: DEFAULT_STYLE_RULES39
18413
+ defaultStyleRules: DEFAULT_STYLE_RULES40
18481
18414
  }
18482
18415
  ) : null }) })
18483
18416
  ] })
18484
18417
  }
18485
18418
  );
18486
18419
  }
18487
- var DEFAULT_STYLE_RULES40 = {
18420
+ var DEFAULT_STYLE_RULES41 = {
18488
18421
  formContainer: "",
18489
18422
  fieldsContainer: "",
18490
18423
  fieldClassName: "",
@@ -18586,14 +18519,14 @@ function ContactVendor({
18586
18519
  {
18587
18520
  formEngineSetup,
18588
18521
  defaultFields: DEFAULT_FORM_FIELDS41,
18589
- defaultStyleRules: DEFAULT_STYLE_RULES40
18522
+ defaultStyleRules: DEFAULT_STYLE_RULES41
18590
18523
  }
18591
18524
  ) : null }) })
18592
18525
  ] })
18593
18526
  }
18594
18527
  );
18595
18528
  }
18596
- var DEFAULT_STYLE_RULES41 = {
18529
+ var DEFAULT_STYLE_RULES42 = {
18597
18530
  formContainer: "",
18598
18531
  fieldsContainer: "",
18599
18532
  fieldClassName: "",
@@ -18695,14 +18628,14 @@ function ContactVolunteer({
18695
18628
  {
18696
18629
  formEngineSetup,
18697
18630
  defaultFields: DEFAULT_FORM_FIELDS42,
18698
- defaultStyleRules: DEFAULT_STYLE_RULES41
18631
+ defaultStyleRules: DEFAULT_STYLE_RULES42
18699
18632
  }
18700
18633
  ) : null }) })
18701
18634
  ] })
18702
18635
  }
18703
18636
  );
18704
18637
  }
18705
- var DEFAULT_STYLE_RULES42 = {
18638
+ var DEFAULT_STYLE_RULES43 = {
18706
18639
  formContainer: "",
18707
18640
  fieldsContainer: "",
18708
18641
  fieldClassName: "",
@@ -18804,14 +18737,14 @@ function ContactWarranty({
18804
18737
  {
18805
18738
  formEngineSetup,
18806
18739
  defaultFields: DEFAULT_FORM_FIELDS43,
18807
- defaultStyleRules: DEFAULT_STYLE_RULES42
18740
+ defaultStyleRules: DEFAULT_STYLE_RULES43
18808
18741
  }
18809
18742
  ) : null }) })
18810
18743
  ] })
18811
18744
  }
18812
18745
  );
18813
18746
  }
18814
- var DEFAULT_STYLE_RULES43 = {
18747
+ var DEFAULT_STYLE_RULES44 = {
18815
18748
  formContainer: "",
18816
18749
  fieldsContainer: "",
18817
18750
  fieldClassName: "",
@@ -18913,7 +18846,7 @@ function ContactWedding({
18913
18846
  {
18914
18847
  formEngineSetup,
18915
18848
  defaultFields: DEFAULT_FORM_FIELDS44,
18916
- defaultStyleRules: DEFAULT_STYLE_RULES43
18849
+ defaultStyleRules: DEFAULT_STYLE_RULES44
18917
18850
  }
18918
18851
  ) : null }) })
18919
18852
  ] })
@@ -41793,7 +41726,7 @@ function FeatureAnimatedCarousel({
41793
41726
  }
41794
41727
  );
41795
41728
  }
41796
- var DEFAULT_STYLE_RULES44 = {
41729
+ var DEFAULT_STYLE_RULES45 = {
41797
41730
  formContainer: "space-y-4",
41798
41731
  fieldsContainer: "",
41799
41732
  fieldClassName: "",
@@ -41845,14 +41778,14 @@ function FooterNewsletterContact({
41845
41778
  }, [footerLinks]);
41846
41779
  const contactDetailsContent = React30.useMemo(() => {
41847
41780
  if (!contactDetails || contactDetails.length === 0) return null;
41848
- return contactDetails.map((item, idx) => /* @__PURE__ */ jsxs("li", { className: "flex items-center gap-3", children: [
41849
- /* @__PURE__ */ jsx(DynamicIcon, { name: item.icon, size: 16, className: "shrink-0" }),
41850
- /* @__PURE__ */ jsx("div", { className: "flex-1", children: item.type === "none" ? /* @__PURE__ */ jsx("p", { children: item.text }) : /* @__PURE__ */ jsx(
41781
+ return contactDetails.map((item, idx) => /* @__PURE__ */ jsxs("li", { className: "flex items-start gap-3", children: [
41782
+ /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center shrink-0 mt-1", children: /* @__PURE__ */ jsx(DynamicIcon, { name: item.icon, size: 16 }) }),
41783
+ /* @__PURE__ */ jsx("div", { className: "flex-1", children: /* @__PURE__ */ jsx(
41851
41784
  Pressable,
41852
41785
  {
41853
- href: item.type === "email" ? `mailto:${item.link}` : `tel:${item.link}`,
41786
+ href: item.link,
41854
41787
  className: "underline-offset-4 hover:underline",
41855
- children: item.text
41788
+ children: item.label
41856
41789
  }
41857
41790
  ) })
41858
41791
  ] }, idx));
@@ -41898,9 +41831,9 @@ function FooterNewsletterContact({
41898
41831
  },
41899
41832
  defaultFields: DEFAULT_FORM_FIELDS45,
41900
41833
  defaultStyleRules: {
41901
- ...DEFAULT_STYLE_RULES44,
41834
+ ...DEFAULT_STYLE_RULES45,
41902
41835
  formContainer: cn(
41903
- DEFAULT_STYLE_RULES44.formContainer,
41836
+ DEFAULT_STYLE_RULES45.formContainer,
41904
41837
  newsletterFormClassName
41905
41838
  )
41906
41839
  }
@@ -41917,9 +41850,9 @@ function FooterNewsletterContact({
41917
41850
  className,
41918
41851
  containerClassName,
41919
41852
  children: /* @__PURE__ */ jsxs("div", { className: "space-y-10", children: [
41920
- /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-x-16 gap-y-8 md:grid-cols-2 xl:grid-cols-4", children: [
41921
- formEngineSetup && (newsletterTitle || newsletterDescription) && /* @__PURE__ */ jsxs("div", { className: "space-y-6 col-span-2 md:col-span-1", children: [
41922
- newsletterTitle && /* @__PURE__ */ jsx("h3", { className: "text-3xl font-medium font-serif leading-none", children: newsletterTitle }),
41853
+ /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-x-6 md:gap-x-8 lg:gap-x-12 xl:gap-x-16 gap-y-8 md:grid-cols-2 lg:grid-cols-4", children: [
41854
+ formEngineSetup && /* @__PURE__ */ jsxs("div", { className: "space-y-4 md:space-y-6 col-span-2 md:col-span-1", children: [
41855
+ newsletterTitle && /* @__PURE__ */ jsx("h3", { className: "text-2xl md:text-3xl font-medium leading-none", children: newsletterTitle }),
41923
41856
  newsletterDescription && /* @__PURE__ */ jsx("p", { className: "font-light leading-normal", children: newsletterDescription }),
41924
41857
  renderForm
41925
41858
  ] }),
@@ -41964,7 +41897,7 @@ function FooterNewsletterContact({
41964
41897
  }
41965
41898
  );
41966
41899
  }
41967
- var DEFAULT_STYLE_RULES45 = {
41900
+ var DEFAULT_STYLE_RULES46 = {
41968
41901
  formContainer: "flex items-stretch w-full",
41969
41902
  fieldsContainer: "",
41970
41903
  fieldClassName: "",
@@ -42043,9 +41976,9 @@ function FooterSplitImageAccordion({
42043
41976
  },
42044
41977
  defaultFields: DEFAULT_FORM_FIELDS46,
42045
41978
  defaultStyleRules: {
42046
- ...DEFAULT_STYLE_RULES45,
41979
+ ...DEFAULT_STYLE_RULES46,
42047
41980
  formContainer: cn(
42048
- DEFAULT_STYLE_RULES45.formContainer,
41981
+ DEFAULT_STYLE_RULES46.formContainer,
42049
41982
  newsletterFormClassName
42050
41983
  )
42051
41984
  }
@@ -42244,7 +42177,7 @@ function FooterSplitImageAccordion({
42244
42177
  }
42245
42178
  );
42246
42179
  }
42247
- var DEFAULT_STYLE_RULES46 = {
42180
+ var DEFAULT_STYLE_RULES47 = {
42248
42181
  formContainer: "flex items-stretch w-full",
42249
42182
  fieldsContainer: "",
42250
42183
  fieldClassName: "",
@@ -42275,20 +42208,15 @@ function FooterAccordionSocial({
42275
42208
  pattern,
42276
42209
  patternOpacity,
42277
42210
  patternClassName,
42278
- formEngineSetup,
42279
- buttonAction,
42280
- formSlot,
42281
- newsletterFormClassName
42211
+ formEngineSetup
42282
42212
  }) {
42283
42213
  const renderForm = React30.useMemo(() => {
42284
- if (formSlot) return formSlot;
42285
42214
  if (!formEngineSetup) return null;
42286
- const defaultButtonAction = {
42215
+ const action = {
42287
42216
  label: "",
42288
42217
  variant: "default",
42289
42218
  icon: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-right", size: 16 })
42290
42219
  };
42291
- const action = buttonAction || defaultButtonAction;
42292
42220
  return /* @__PURE__ */ jsx(
42293
42221
  FormEngine,
42294
42222
  {
@@ -42301,21 +42229,18 @@ function FooterAccordionSocial({
42301
42229
  ...formEngineSetup.formLayoutSettings?.buttonGroupSetup,
42302
42230
  size: "default",
42303
42231
  submitLabel: action.icon || action.label,
42304
- submitVariant: action.variant || "default"
42232
+ submitVariant: action.variant
42305
42233
  }
42306
42234
  }
42307
42235
  },
42308
42236
  defaultFields: DEFAULT_FORM_FIELDS47,
42309
42237
  defaultStyleRules: {
42310
- ...DEFAULT_STYLE_RULES46,
42311
- formContainer: cn(
42312
- DEFAULT_STYLE_RULES46.formContainer,
42313
- newsletterFormClassName
42314
- )
42238
+ ...DEFAULT_STYLE_RULES47,
42239
+ formContainer: cn(DEFAULT_STYLE_RULES47.formContainer)
42315
42240
  }
42316
42241
  }
42317
42242
  );
42318
- }, [formSlot, formEngineSetup, buttonAction, newsletterFormClassName]);
42243
+ }, [formEngineSetup]);
42319
42244
  return /* @__PURE__ */ jsx(
42320
42245
  Section,
42321
42246
  {
@@ -42329,19 +42254,19 @@ function FooterAccordionSocial({
42329
42254
  children: /* @__PURE__ */ jsxs("div", { className: "space-y-10", children: [
42330
42255
  /* @__PURE__ */ jsxs("div", { className: "grid gap-10 lg:grid-cols-2 lg:gap-20", children: [
42331
42256
  /* @__PURE__ */ jsxs("div", { className: "space-y-6", children: [
42332
- logo && /* @__PURE__ */ jsx(
42333
- FooterLogo,
42257
+ logo && /* @__PURE__ */ jsx(Pressable, { href: logo.url || "/", className: "block mb-8 md:mb-12", children: /* @__PURE__ */ jsx(
42258
+ Img,
42334
42259
  {
42335
- logo,
42336
- logoClassName: "inline-block max-w-48",
42260
+ src: logo.src,
42261
+ className: "h-16 object-contain w-auto max-w-full",
42337
42262
  optixFlowConfig
42338
42263
  }
42339
- ),
42340
- formEngineSetup && /* @__PURE__ */ jsxs(Fragment$1, { children: [
42341
- /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
42342
- /* @__PURE__ */ jsx("h3", { className: "text-2xl font-semibold", children: newsletterTitle }),
42343
- /* @__PURE__ */ jsx("p", { className: "opacity-80", children: newsletterDescription })
42344
- ] }),
42264
+ ) }),
42265
+ formEngineSetup && /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
42266
+ newsletterTitle || newsletterDescription ? /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
42267
+ newsletterTitle ? /* @__PURE__ */ jsx("h3", { className: "text-xl font-semibold", children: newsletterTitle }) : null,
42268
+ newsletterDescription ? /* @__PURE__ */ jsx("p", { className: "opacity-70", children: newsletterDescription }) : null
42269
+ ] }) : null,
42345
42270
  renderForm
42346
42271
  ] })
42347
42272
  ] }),
@@ -42359,27 +42284,24 @@ function FooterAccordionSocial({
42359
42284
  ] }),
42360
42285
  /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center justify-between gap-6 border-t pt-8", children: [
42361
42286
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 text-sm opacity-80 md:flex-row md:items-center md:gap-4", children: [
42362
- /* @__PURE__ */ jsx(FooterCopyright, { copyright }),
42287
+ /* @__PURE__ */ jsx(FooterCopyright, { copyright, className: "opacity-50" }),
42363
42288
  /* @__PURE__ */ jsx(
42364
42289
  BrandAttribution,
42365
42290
  {
42366
42291
  internalBrandSlug: "open_site_ai",
42367
42292
  optionIndex: 1,
42368
42293
  variant: "span",
42369
- linkClassName: "hover:opacity-100"
42294
+ linkClassName: "opacity-50 hover:opacity-100"
42370
42295
  }
42371
42296
  )
42372
42297
  ] }),
42373
42298
  socialLinks && socialLinks.length > 0 && /* @__PURE__ */ jsx("ul", { className: "flex flex-wrap gap-4", children: socialLinks.map((social, idx) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
42374
42299
  SocialLinkIcon,
42375
42300
  {
42376
- href: social.href,
42377
- label: social.label,
42378
- iconNameOverride: social.iconNameOverride,
42379
- variant: "outline",
42380
- size: "icon",
42381
- asButton: true,
42382
- className: "rounded-full"
42301
+ ...social,
42302
+ variant: "ghost",
42303
+ size: "icon-lg",
42304
+ asButton: true
42383
42305
  }
42384
42306
  ) }, idx)) })
42385
42307
  ] })
@@ -47811,7 +47733,7 @@ function HeroImageLeftContent({
47811
47733
  }
47812
47734
  );
47813
47735
  }
47814
- var DEFAULT_STYLE_RULES47 = {
47736
+ var DEFAULT_STYLE_RULES48 = {
47815
47737
  formContainer: "",
47816
47738
  fieldsContainer: "",
47817
47739
  fieldClassName: "",
@@ -48055,7 +47977,7 @@ function HeroImageSlider({
48055
47977
  }
48056
47978
  },
48057
47979
  defaultFields: DEFAULT_FORM_FIELDS48,
48058
- defaultStyleRules: DEFAULT_STYLE_RULES47
47980
+ defaultStyleRules: DEFAULT_STYLE_RULES48
48059
47981
  }
48060
47982
  ),
48061
47983
  privacyNotice && /* @__PURE__ */ jsx(
@@ -57866,7 +57788,7 @@ function HeroPricingComparison({
57866
57788
  }
57867
57789
  );
57868
57790
  }
57869
- var DEFAULT_STYLE_RULES48 = {
57791
+ var DEFAULT_STYLE_RULES49 = {
57870
57792
  formContainer: "mt-10 flex justify-center items-center w-full max-w-md flex-col gap-4 sm:flex-row",
57871
57793
  fieldsContainer: "",
57872
57794
  fieldClassName: "",
@@ -57959,7 +57881,7 @@ function HeroNewsletterMinimal({
57959
57881
  }
57960
57882
  },
57961
57883
  defaultFields: DEFAULT_FORM_FIELDS51,
57962
- defaultStyleRules: DEFAULT_STYLE_RULES48
57884
+ defaultStyleRules: DEFAULT_STYLE_RULES49
57963
57885
  }
57964
57886
  ),
57965
57887
  helperText && (typeof helperText === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-sm mt-2 text-center"), children: helperText }) : helperText)
@@ -82019,7 +81941,7 @@ function ListSearchableGrid({
82019
81941
  }
82020
81942
  );
82021
81943
  }
82022
- var DEFAULT_STYLE_RULES49 = {
81944
+ var DEFAULT_STYLE_RULES50 = {
82023
81945
  formContainer: "flex items-stretch w-full",
82024
81946
  fieldsContainer: "",
82025
81947
  fieldClassName: "",
@@ -82114,8 +82036,8 @@ function OfferModalNewsletterDiscount({
82114
82036
  },
82115
82037
  defaultFields: DEFAULT_FORM_FIELDS53,
82116
82038
  defaultStyleRules: {
82117
- ...DEFAULT_STYLE_RULES49,
82118
- formContainer: cn(DEFAULT_STYLE_RULES49.formContainer, formClassName)
82039
+ ...DEFAULT_STYLE_RULES50,
82040
+ formContainer: cn(DEFAULT_STYLE_RULES50.formContainer, formClassName)
82119
82041
  }
82120
82042
  }
82121
82043
  );
@@ -82141,7 +82063,7 @@ function OfferModalNewsletterDiscount({
82141
82063
  }
82142
82064
  ) });
82143
82065
  }
82144
- var DEFAULT_STYLE_RULES50 = {
82066
+ var DEFAULT_STYLE_RULES51 = {
82145
82067
  formContainer: "flex items-stretch w-full",
82146
82068
  fieldsContainer: "",
82147
82069
  fieldClassName: "",
@@ -82259,8 +82181,8 @@ function OfferModalMembershipImage({
82259
82181
  },
82260
82182
  defaultFields: DEFAULT_FORM_FIELDS54,
82261
82183
  defaultStyleRules: {
82262
- ...DEFAULT_STYLE_RULES50,
82263
- formContainer: cn(DEFAULT_STYLE_RULES50.formContainer, formClassName)
82184
+ ...DEFAULT_STYLE_RULES51,
82185
+ formContainer: cn(DEFAULT_STYLE_RULES51.formContainer, formClassName)
82264
82186
  }
82265
82187
  }
82266
82188
  );
@@ -82421,7 +82343,7 @@ function SheetDescription({
82421
82343
  }
82422
82344
  );
82423
82345
  }
82424
- var DEFAULT_STYLE_RULES51 = {
82346
+ var DEFAULT_STYLE_RULES52 = {
82425
82347
  formContainer: "flex items-stretch w-full",
82426
82348
  fieldsContainer: "",
82427
82349
  fieldClassName: "",
@@ -82545,8 +82467,8 @@ function OfferModalSheetNewsletter({
82545
82467
  },
82546
82468
  defaultFields: DEFAULT_FORM_FIELDS55,
82547
82469
  defaultStyleRules: {
82548
- ...DEFAULT_STYLE_RULES51,
82549
- formContainer: cn(DEFAULT_STYLE_RULES51.formContainer, formClassName)
82470
+ ...DEFAULT_STYLE_RULES52,
82471
+ formContainer: cn(DEFAULT_STYLE_RULES52.formContainer, formClassName)
82550
82472
  }
82551
82473
  }
82552
82474
  );
@@ -99098,7 +99020,7 @@ function LinkPageMinimalProfile({
99098
99020
  }
99099
99021
  );
99100
99022
  }
99101
- var DEFAULT_STYLE_RULES52 = {
99023
+ var DEFAULT_STYLE_RULES53 = {
99102
99024
  formContainer: "w-full flex flex-col gap-3 justify-center items-center",
99103
99025
  fieldsContainer: "",
99104
99026
  fieldClassName: "",
@@ -99276,7 +99198,7 @@ function LinkPageNewsletterSocial({
99276
99198
  }
99277
99199
  },
99278
99200
  defaultFields: DEFAULT_FORM_FIELDS56,
99279
- defaultStyleRules: DEFAULT_STYLE_RULES52
99201
+ defaultStyleRules: DEFAULT_STYLE_RULES53
99280
99202
  }
99281
99203
  ),
99282
99204
  helperText && (typeof helperText === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-sm mt-2 text-center"), children: helperText }) : helperText)