@landtrustinc/design-system 1.1.0-beta.0 → 1.1.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/index.js CHANGED
@@ -48,6 +48,7 @@ __export(src_exports, {
48
48
  IconLabel: () => IconLabel_default,
49
49
  Input: () => Input,
50
50
  LayoutTokens: () => LayoutTokens,
51
+ ListingChat: () => ListingChat_default,
51
52
  Logo: () => Logo_default,
52
53
  MessageBubble: () => MessageBubble_default,
53
54
  Navigation: () => Navigation_default,
@@ -515,6 +516,9 @@ var GlobalStyle = import_react.css`
515
516
  ${globalStyles}
516
517
  `;
517
518
 
519
+ // src/AIResponse/AIResponse.tsx
520
+ var import_react10 = require("react");
521
+
518
522
  // src/Button/Button.tsx
519
523
  var import_react4 = require("@emotion/react");
520
524
  var import_lodash = require("lodash");
@@ -2262,13 +2266,7 @@ var Paddleboard_default = SvgPaddleboard;
2262
2266
 
2263
2267
  // src/Icon/components/PaperPlane.tsx
2264
2268
  var import_jsx_runtime129 = require("@emotion/react/jsx-runtime");
2265
- var SvgPaperPlane = (props) => /* @__PURE__ */ (0, import_jsx_runtime129.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 27 26", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
2266
- "path",
2267
- {
2268
- fill: "currentColor",
2269
- d: "M5.055 13.148c-.795.453-.721 1.663.127 2.014l4.935 2.057v3.631a1.148 1.148 0 0 0 2.034.735l2.18-2.612 4.36 1.814a1.136 1.136 0 0 0 1.544-.868l2.252-14.625a1.12 1.12 0 0 0-.475-1.097 1.13 1.13 0 0 0-1.196-.05zm1.833.896 12.014-6.859-7.726 8.628.043.035zm11.789 4.911-5.861-2.443L20.348 8.1l-1.671 10.856z"
2270
- }
2271
- ) });
2269
+ var SvgPaperPlane = (props) => /* @__PURE__ */ (0, import_jsx_runtime129.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 640 640", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)("path", { d: "m322.5 351.7 200.9-200.8L391 520.3zM489.4 117 288.6 317.8 120 249.3zM70.1 280.8l205.8 83.6 83.6 205.8c5.3 13.1 18.1 21.7 32.3 21.7 14.7 0 27.8-9.2 32.8-23.1L602.6 72c3.5-9.8 1-20.6-6.3-28s-18.2-9.8-28-6.3l-496.9 178c-13.9 5-23.1 18.1-23.1 32.8 0 14.2 8.6 27 21.7 32.3z" }) });
2272
2270
  var PaperPlane_default = SvgPaperPlane;
2273
2271
 
2274
2272
  // src/Icon/components/Paperclip.tsx
@@ -3026,16 +3024,16 @@ var styles = {
3026
3024
  font-size: ${fontSizes.base};
3027
3025
  `,
3028
3026
  iconOnly: import_react3.css`
3029
- height: 42px;
3030
- min-width: 42px;
3031
- max-height: 42px;
3027
+ height: var(--spacing-11);
3028
+ min-width: var(--spacing-11);
3029
+ max-height: var(--spacing-11);
3032
3030
  padding: 0;
3033
3031
  border-radius: var(--radius-round);
3034
3032
  `,
3035
3033
  iconOnlyLg: import_react3.css`
3036
- height: 56px;
3037
- min-width: 56px;
3038
- max-height: 56px;
3034
+ height: var(--spacing-20);
3035
+ min-width: var(--spacing-20);
3036
+ max-height: var(--spacing-20);
3039
3037
  padding: 0;
3040
3038
  border-radius: var(--radius-round);
3041
3039
  `,
@@ -3669,8 +3667,44 @@ var AIResponse = ({
3669
3667
  onHelpfulYes,
3670
3668
  onHelpfulNo,
3671
3669
  variant = "default",
3672
- onErrorRetry
3670
+ onErrorRetry,
3671
+ helpfulDebounceMs = 1e3
3673
3672
  }) => {
3673
+ const [activeHelpful, setActiveHelpful] = (0, import_react10.useState)(null);
3674
+ const debounceTimerRef = (0, import_react10.useRef)(null);
3675
+ const DEBOUNCE_MS = helpfulDebounceMs;
3676
+ const scheduleCallback = (next) => {
3677
+ if (debounceTimerRef.current) {
3678
+ clearTimeout(debounceTimerRef.current);
3679
+ debounceTimerRef.current = null;
3680
+ }
3681
+ if (next === "yes" || next === "no") {
3682
+ debounceTimerRef.current = window.setTimeout(() => {
3683
+ if (next === "yes")
3684
+ onHelpfulYes == null ? void 0 : onHelpfulYes();
3685
+ else
3686
+ onHelpfulNo == null ? void 0 : onHelpfulNo();
3687
+ debounceTimerRef.current = null;
3688
+ }, DEBOUNCE_MS);
3689
+ }
3690
+ };
3691
+ const handleHelpfulYes = () => {
3692
+ const next = activeHelpful === "yes" ? null : "yes";
3693
+ setActiveHelpful(next);
3694
+ scheduleCallback(next);
3695
+ };
3696
+ const handleHelpfulNo = () => {
3697
+ const next = activeHelpful === "no" ? null : "no";
3698
+ setActiveHelpful(next);
3699
+ scheduleCallback(next);
3700
+ };
3701
+ (0, import_react10.useEffect)(() => {
3702
+ return () => {
3703
+ if (debounceTimerRef.current) {
3704
+ clearTimeout(debounceTimerRef.current);
3705
+ }
3706
+ };
3707
+ }, []);
3674
3708
  return /* @__PURE__ */ (0, import_jsx_runtime199.jsxs)("div", { className, css: rootStyles2, children: [
3675
3709
  variant !== "error" && /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(Heading_default, { size: "2xs", fontWeight: "bold", color: "var(--text-primary)", children: title }),
3676
3710
  /* @__PURE__ */ (0, import_jsx_runtime199.jsxs)("div", { css: getBannerStyles(variant), children: [
@@ -3688,8 +3722,38 @@ var AIResponse = ({
3688
3722
  showHelpfulQuestion && variant !== "error" && /* @__PURE__ */ (0, import_jsx_runtime199.jsxs)("div", { css: footerStyles, children: [
3689
3723
  /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(Text_default, { size: "md", color: "var(--text-primary)", children: "Was this helpful?" }),
3690
3724
  /* @__PURE__ */ (0, import_jsx_runtime199.jsxs)("div", { css: actionsStyles, children: [
3691
- /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(Button_default, { variant: "text", size: "xs", onClick: onHelpfulYes, children: /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(IconLabel_default, { variant: "ThumbsUp", label: "Yes" }) }),
3692
- /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(Button_default, { variant: "text", size: "xs", onClick: onHelpfulNo, children: /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(IconLabel_default, { variant: "ThumbsUp", label: "No" }) })
3725
+ /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(
3726
+ Button_default,
3727
+ {
3728
+ variant: "text",
3729
+ size: "xs",
3730
+ onClick: handleHelpfulYes,
3731
+ "aria-pressed": activeHelpful === "yes",
3732
+ children: /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(
3733
+ IconLabel_default,
3734
+ {
3735
+ variant: activeHelpful === "yes" ? "ThumbsUpSolid" : "ThumbsUp",
3736
+ label: "Yes"
3737
+ }
3738
+ )
3739
+ }
3740
+ ),
3741
+ /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(
3742
+ Button_default,
3743
+ {
3744
+ variant: "text",
3745
+ size: "xs",
3746
+ onClick: handleHelpfulNo,
3747
+ "aria-pressed": activeHelpful === "no",
3748
+ children: /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(
3749
+ IconLabel_default,
3750
+ {
3751
+ variant: activeHelpful === "no" ? "ThumbsUpSolid" : "ThumbsUp",
3752
+ label: "No"
3753
+ }
3754
+ )
3755
+ }
3756
+ )
3693
3757
  ] })
3694
3758
  ] })
3695
3759
  ] });
@@ -3697,21 +3761,21 @@ var AIResponse = ({
3697
3761
  var AIResponse_default = AIResponse;
3698
3762
 
3699
3763
  // src/AvailabilityChip/AvailabilityChip.styles.ts
3700
- var import_react10 = require("@emotion/react");
3764
+ var import_react11 = require("@emotion/react");
3701
3765
  var availabilityChipVariantStyles = {
3702
- primary: import_react10.css`
3766
+ primary: import_react11.css`
3703
3767
  background-color: var(--color-primary-100);
3704
3768
  color: var(--text-primary);
3705
3769
  `,
3706
- error: import_react10.css`
3770
+ error: import_react11.css`
3707
3771
  background-color: var(--surface-error);
3708
3772
  color: var(--text-error);
3709
3773
  `,
3710
- action: import_react10.css`
3774
+ action: import_react11.css`
3711
3775
  background-color: var(--surface-action-2);
3712
3776
  color: var(--text-primary);
3713
3777
  `,
3714
- warning: import_react10.css`
3778
+ warning: import_react11.css`
3715
3779
  background-color: var(--color-brown-200);
3716
3780
  color: var(--text-primary);
3717
3781
  `
@@ -3741,8 +3805,8 @@ var AvailabilityChip = ({
3741
3805
  var AvailabilityChip_default = AvailabilityChip;
3742
3806
 
3743
3807
  // src/Divider/Divider.styles.ts
3744
- var import_react11 = require("@emotion/react");
3745
- var dividerStyles = import_react11.css`
3808
+ var import_react12 = require("@emotion/react");
3809
+ var dividerStyles = import_react12.css`
3746
3810
  width: 100%;
3747
3811
  height: 1px;
3748
3812
  border: 0;
@@ -3757,8 +3821,8 @@ var Divider = ({ className }) => {
3757
3821
  var Divider_default = Divider;
3758
3822
 
3759
3823
  // src/FieldNoteCard/FieldNoteCard.styles.ts
3760
- var import_react12 = require("@emotion/react");
3761
- var cardContainerStyles = import_react12.css`
3824
+ var import_react13 = require("@emotion/react");
3825
+ var cardContainerStyles = import_react13.css`
3762
3826
  position: relative;
3763
3827
  height: 335px;
3764
3828
 
@@ -3766,12 +3830,12 @@ var cardContainerStyles = import_react12.css`
3766
3830
  height: 480px;
3767
3831
  }
3768
3832
  `;
3769
- var cardContentStyles = import_react12.css`
3833
+ var cardContentStyles = import_react13.css`
3770
3834
  position: relative;
3771
3835
  border-radius: var(--spacing-4);
3772
3836
  overflow: hidden;
3773
3837
  `;
3774
- var getBackgroundWithGradient = (imageUrl) => import_react12.css`
3838
+ var getBackgroundWithGradient = (imageUrl) => import_react13.css`
3775
3839
  background-image: linear-gradient(
3776
3840
  180deg,
3777
3841
  rgba(0, 0, 0, 0) 48.36%,
@@ -3821,14 +3885,14 @@ var FieldNoteCard = ({
3821
3885
  var FieldNoteCard_default = FieldNoteCard;
3822
3886
 
3823
3887
  // src/Form/FormField.tsx
3824
- var import_react13 = require("@emotion/react");
3888
+ var import_react14 = require("@emotion/react");
3825
3889
  var import_jsx_runtime203 = require("@emotion/react/jsx-runtime");
3826
- var fieldContainerStyles = import_react13.css`
3890
+ var fieldContainerStyles = import_react14.css`
3827
3891
  display: flex;
3828
3892
  flex-direction: column;
3829
3893
  gap: ${space["2"]};
3830
3894
  `;
3831
- var labelStyles2 = import_react13.css`
3895
+ var labelStyles2 = import_react14.css`
3832
3896
  font-family: ${fonts.base};
3833
3897
  font-size: ${fontSizes.sm};
3834
3898
  font-weight: ${fontWeights.medium};
@@ -3836,17 +3900,17 @@ var labelStyles2 = import_react13.css`
3836
3900
  color: ${colors.gray["900"]};
3837
3901
  margin-bottom: ${space["1"]};
3838
3902
  `;
3839
- var requiredIndicatorStyles = import_react13.css`
3903
+ var requiredIndicatorStyles = import_react14.css`
3840
3904
  color: ${colors.red["500"]};
3841
3905
  margin-left: ${space["1"]};
3842
3906
  `;
3843
- var helpTextStyles = import_react13.css`
3907
+ var helpTextStyles = import_react14.css`
3844
3908
  font-family: ${fonts.base};
3845
3909
  font-size: ${fontSizes.sm};
3846
3910
  line-height: ${lineHeights.tight};
3847
3911
  color: ${colors.gray["600"]};
3848
3912
  `;
3849
- var errorTextStyles = import_react13.css`
3913
+ var errorTextStyles = import_react14.css`
3850
3914
  font-family: ${fonts.base};
3851
3915
  font-size: ${fontSizes.sm};
3852
3916
  line-height: ${lineHeights.tight};
@@ -3855,7 +3919,7 @@ var errorTextStyles = import_react13.css`
3855
3919
  align-items: center;
3856
3920
  gap: ${space["1"]};
3857
3921
  `;
3858
- var successTextStyles = import_react13.css`
3922
+ var successTextStyles = import_react14.css`
3859
3923
  font-family: ${fonts.base};
3860
3924
  font-size: ${fontSizes.sm};
3861
3925
  line-height: ${lineHeights.tight};
@@ -3864,7 +3928,7 @@ var successTextStyles = import_react13.css`
3864
3928
  align-items: center;
3865
3929
  gap: ${space["1"]};
3866
3930
  `;
3867
- var visuallyHiddenStyles = import_react13.css`
3931
+ var visuallyHiddenStyles = import_react14.css`
3868
3932
  position: absolute;
3869
3933
  width: 1px;
3870
3934
  height: 1px;
@@ -3929,10 +3993,10 @@ var FormField = ({
3929
3993
  };
3930
3994
 
3931
3995
  // src/Form/Input.tsx
3932
- var import_react14 = require("@emotion/react");
3933
- var import_react15 = require("react");
3996
+ var import_react15 = require("@emotion/react");
3997
+ var import_react16 = require("react");
3934
3998
  var import_jsx_runtime204 = require("@emotion/react/jsx-runtime");
3935
- var inputStyles = import_react14.css`
3999
+ var inputStyles = import_react15.css`
3936
4000
  position: relative;
3937
4001
  width: 100%;
3938
4002
  font-family: ${fonts.base};
@@ -3969,19 +4033,19 @@ var inputStyles = import_react14.css`
3969
4033
  }
3970
4034
  `;
3971
4035
  var sizeStyles = {
3972
- sm: import_react14.css`
4036
+ sm: import_react15.css`
3973
4037
  padding: ${space["2"]} ${space["3"]};
3974
4038
  font-size: ${fontSizes.sm};
3975
4039
  line-height: ${lineHeights.tight};
3976
4040
  height: ${space["8"]};
3977
4041
  `,
3978
- md: import_react14.css`
4042
+ md: import_react15.css`
3979
4043
  padding: ${space["3"]} ${space["4"]};
3980
4044
  font-size: ${fontSizes.base};
3981
4045
  line-height: ${lineHeights.normal};
3982
4046
  height: ${space["10"]};
3983
4047
  `,
3984
- lg: import_react14.css`
4048
+ lg: import_react15.css`
3985
4049
  padding: ${space["4"]} ${space["5"]};
3986
4050
  font-size: ${fontSizes.lg};
3987
4051
  line-height: ${lineHeights.normal};
@@ -3989,8 +4053,8 @@ var sizeStyles = {
3989
4053
  `
3990
4054
  };
3991
4055
  var variantStyles = {
3992
- default: import_react14.css``,
3993
- error: import_react14.css`
4056
+ default: import_react15.css``,
4057
+ error: import_react15.css`
3994
4058
  border-color: ${colors.red["500"]};
3995
4059
 
3996
4060
  &:focus {
@@ -3998,7 +4062,7 @@ var variantStyles = {
3998
4062
  box-shadow: 0 0 0 3px ${colors.red["100"]};
3999
4063
  }
4000
4064
  `,
4001
- success: import_react14.css`
4065
+ success: import_react15.css`
4002
4066
  border-color: ${colors.accent.green};
4003
4067
 
4004
4068
  &:focus {
@@ -4007,7 +4071,7 @@ var variantStyles = {
4007
4071
  }
4008
4072
  `
4009
4073
  };
4010
- var inputWithIconStyles = import_react14.css`
4074
+ var inputWithIconStyles = import_react15.css`
4011
4075
  padding-left: ${space["10"]};
4012
4076
 
4013
4077
  &.has-end-icon {
@@ -4018,7 +4082,7 @@ var inputWithIconStyles = import_react14.css`
4018
4082
  padding-left: ${space["10"]};
4019
4083
  }
4020
4084
  `;
4021
- var iconContainerStyles = import_react14.css`
4085
+ var iconContainerStyles = import_react15.css`
4022
4086
  position: absolute;
4023
4087
  top: 50%;
4024
4088
  transform: translateY(-50%);
@@ -4029,20 +4093,20 @@ var iconContainerStyles = import_react14.css`
4029
4093
  pointer-events: none;
4030
4094
  z-index: 1;
4031
4095
  `;
4032
- var startIconStyles = import_react14.css`
4096
+ var startIconStyles = import_react15.css`
4033
4097
  ${iconContainerStyles}
4034
4098
  left: ${space["3"]};
4035
4099
  `;
4036
- var endIconStyles = import_react14.css`
4100
+ var endIconStyles = import_react15.css`
4037
4101
  ${iconContainerStyles}
4038
4102
  right: ${space["3"]};
4039
4103
  `;
4040
- var inputWrapperStyles = import_react14.css`
4104
+ var inputWrapperStyles = import_react15.css`
4041
4105
  position: relative;
4042
4106
  display: inline-block;
4043
4107
  width: 100%;
4044
4108
  `;
4045
- var Input = (0, import_react15.forwardRef)(
4109
+ var Input = (0, import_react16.forwardRef)(
4046
4110
  ({
4047
4111
  size = "md",
4048
4112
  variant = "default",
@@ -4087,10 +4151,10 @@ var Input = (0, import_react15.forwardRef)(
4087
4151
  Input.displayName = "Input";
4088
4152
 
4089
4153
  // src/Form/Select.tsx
4090
- var import_react16 = require("@emotion/react");
4091
- var import_react17 = require("react");
4154
+ var import_react17 = require("@emotion/react");
4155
+ var import_react18 = require("react");
4092
4156
  var import_jsx_runtime205 = require("@emotion/react/jsx-runtime");
4093
- var selectStyles = import_react16.css`
4157
+ var selectStyles = import_react17.css`
4094
4158
  position: relative;
4095
4159
  width: 100%;
4096
4160
  font-family: ${fonts.base};
@@ -4129,19 +4193,19 @@ var selectStyles = import_react16.css`
4129
4193
  }
4130
4194
  `;
4131
4195
  var sizeStyles2 = {
4132
- sm: import_react16.css`
4196
+ sm: import_react17.css`
4133
4197
  padding: ${space["2"]} ${space["3"]};
4134
4198
  font-size: ${fontSizes.sm};
4135
4199
  line-height: ${lineHeights.tight};
4136
4200
  height: ${space["8"]};
4137
4201
  `,
4138
- md: import_react16.css`
4202
+ md: import_react17.css`
4139
4203
  padding: ${space["3"]} ${space["4"]};
4140
4204
  font-size: ${fontSizes.base};
4141
4205
  line-height: ${lineHeights.normal};
4142
4206
  height: ${space["10"]};
4143
4207
  `,
4144
- lg: import_react16.css`
4208
+ lg: import_react17.css`
4145
4209
  padding: ${space["4"]} ${space["5"]};
4146
4210
  font-size: ${fontSizes.lg};
4147
4211
  line-height: ${lineHeights.normal};
@@ -4149,8 +4213,8 @@ var sizeStyles2 = {
4149
4213
  `
4150
4214
  };
4151
4215
  var variantStyles2 = {
4152
- default: import_react16.css``,
4153
- error: import_react16.css`
4216
+ default: import_react17.css``,
4217
+ error: import_react17.css`
4154
4218
  border-color: ${colors.red["500"]};
4155
4219
 
4156
4220
  &:focus {
@@ -4158,7 +4222,7 @@ var variantStyles2 = {
4158
4222
  box-shadow: 0 0 0 3px ${colors.red["100"]};
4159
4223
  }
4160
4224
  `,
4161
- success: import_react16.css`
4225
+ success: import_react17.css`
4162
4226
  border-color: ${colors.accent.green};
4163
4227
 
4164
4228
  &:focus {
@@ -4167,7 +4231,7 @@ var variantStyles2 = {
4167
4231
  }
4168
4232
  `
4169
4233
  };
4170
- var optionStyles = import_react16.css`
4234
+ var optionStyles = import_react17.css`
4171
4235
  background-color: ${colors.light["100"]};
4172
4236
  color: ${colors.gray["900"]};
4173
4237
 
@@ -4176,7 +4240,7 @@ var optionStyles = import_react16.css`
4176
4240
  background-color: ${colors.gray["100"]};
4177
4241
  }
4178
4242
  `;
4179
- var Select = (0, import_react17.forwardRef)(
4243
+ var Select = (0, import_react18.forwardRef)(
4180
4244
  ({
4181
4245
  size = "md",
4182
4246
  variant = "default",
@@ -4214,25 +4278,25 @@ var Select = (0, import_react17.forwardRef)(
4214
4278
  Select.displayName = "Select";
4215
4279
 
4216
4280
  // src/Form/TextArea.tsx
4217
- var import_react19 = require("@emotion/react");
4218
- var import_react20 = require("react");
4281
+ var import_react20 = require("@emotion/react");
4282
+ var import_react21 = require("react");
4219
4283
 
4220
4284
  // src/Form/TextArea.styles.ts
4221
- var import_react18 = require("@emotion/react");
4222
- var wrapperStyles = import_react18.css`
4285
+ var import_react19 = require("@emotion/react");
4286
+ var wrapperStyles = import_react19.css`
4223
4287
  position: relative;
4224
4288
  display: inline-block;
4225
4289
  width: 100%;
4226
4290
  `;
4227
- var textareaBase = import_react18.css`
4291
+ var textareaBase = import_react19.css`
4228
4292
  width: 100%;
4229
4293
  box-sizing: border-box;
4230
4294
  font: inherit;
4231
4295
  color: var(--text-primary);
4232
4296
  background-color: var(--surface-page);
4233
4297
  border: 1px solid var(--border-primary);
4234
- border-radius: var(--radius-sm);
4235
- padding: var(--spacing-3) var(--spacing-4);
4298
+ border-radius: var(--radius-lg);
4299
+ padding: var(--spacing-4);
4236
4300
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
4237
4301
  outline: none;
4238
4302
  resize: none;
@@ -4258,29 +4322,32 @@ var textareaBase = import_react18.css`
4258
4322
  cursor: default;
4259
4323
  }
4260
4324
  `;
4261
- var variantError = import_react18.css`
4325
+ var variantError = import_react19.css`
4262
4326
  border-color: var(--border-error);
4263
4327
  &:focus {
4264
4328
  border-color: var(--border-error);
4265
4329
  box-shadow: 0 0 0 3px var(--color-error-100);
4266
4330
  }
4267
4331
  `;
4268
- var variantSuccess = import_react18.css`
4332
+ var variantSuccess = import_react19.css`
4269
4333
  border-color: var(--color-success-500);
4270
4334
  &:focus {
4271
4335
  border-color: var(--color-success-500);
4272
4336
  box-shadow: 0 0 0 3px var(--color-success-100);
4273
4337
  }
4274
4338
  `;
4275
- var submitButtonContainer = import_react18.css`
4339
+ var submitButtonContainer = import_react19.css`
4276
4340
  position: absolute;
4277
- right: var(--spacing-2);
4278
- bottom: var(--spacing-3);
4341
+ right: var(--spacing-4);
4342
+ bottom: var(--spacing-4);
4343
+ `;
4344
+ var textareaWithSubmit = import_react19.css`
4345
+ padding-right: var(--spacing-16);
4279
4346
  `;
4280
4347
 
4281
4348
  // src/Form/TextArea.tsx
4282
4349
  var import_jsx_runtime206 = require("@emotion/react/jsx-runtime");
4283
- var TextArea = (0, import_react20.forwardRef)(
4350
+ var TextArea = (0, import_react21.forwardRef)(
4284
4351
  ({
4285
4352
  rows = 3,
4286
4353
  variant = "default",
@@ -4298,8 +4365,8 @@ var TextArea = (0, import_react20.forwardRef)(
4298
4365
  submitDisabled,
4299
4366
  ...props
4300
4367
  }, ref) => {
4301
- const innerRef = (0, import_react20.useRef)(null);
4302
- (0, import_react20.useEffect)(() => {
4368
+ const innerRef = (0, import_react21.useRef)(null);
4369
+ (0, import_react21.useEffect)(() => {
4303
4370
  const el = innerRef.current;
4304
4371
  if (!el || !autoExpand)
4305
4372
  return;
@@ -4339,9 +4406,10 @@ var TextArea = (0, import_react20.forwardRef)(
4339
4406
  textareaBase,
4340
4407
  variant === "error" && variantError,
4341
4408
  variant === "success" && variantSuccess,
4342
- import_react19.css`
4409
+ import_react20.css`
4343
4410
  resize: ${resize};
4344
- `
4411
+ `,
4412
+ showSubmit && textareaWithSubmit
4345
4413
  ],
4346
4414
  className,
4347
4415
  value,
@@ -4373,10 +4441,10 @@ var TextArea = (0, import_react20.forwardRef)(
4373
4441
  TextArea.displayName = "TextArea";
4374
4442
 
4375
4443
  // src/Grid/Column.tsx
4376
- var import_react22 = require("@emotion/react");
4444
+ var import_react23 = require("@emotion/react");
4377
4445
 
4378
4446
  // src/Grid/utils.ts
4379
- var import_react21 = require("@emotion/react");
4447
+ var import_react22 = require("@emotion/react");
4380
4448
  var LayoutTokens = {
4381
4449
  containers: {
4382
4450
  sm: screens.sm,
@@ -4416,11 +4484,11 @@ var getResponsiveValue = (value) => {
4416
4484
  var generateGridColumns = (columns) => {
4417
4485
  const baseColumns = getResponsiveValue(columns);
4418
4486
  if (typeof columns === "number") {
4419
- return import_react21.css`
4487
+ return import_react22.css`
4420
4488
  grid-template-columns: repeat(${columns}, 1fr);
4421
4489
  `;
4422
4490
  }
4423
- return import_react21.css`
4491
+ return import_react22.css`
4424
4492
  grid-template-columns: repeat(${baseColumns}, 1fr);
4425
4493
 
4426
4494
  ${media.sm} {
@@ -4452,11 +4520,11 @@ var generateGridColumns = (columns) => {
4452
4520
  var generateGapStyles = (gap2) => {
4453
4521
  const baseGap = getResponsiveValue(gap2);
4454
4522
  if (typeof gap2 === "string" || typeof gap2 === "number") {
4455
- return import_react21.css`
4523
+ return import_react22.css`
4456
4524
  gap: ${space[gap2]};
4457
4525
  `;
4458
4526
  }
4459
- return import_react21.css`
4527
+ return import_react22.css`
4460
4528
  gap: ${space[baseGap]};
4461
4529
 
4462
4530
  ${media.sm} {
@@ -4479,11 +4547,11 @@ var generateGapStyles = (gap2) => {
4479
4547
  var generateRowGapStyles = (rowGap) => {
4480
4548
  const baseRowGap = getResponsiveValue(rowGap);
4481
4549
  if (typeof rowGap === "string" || typeof rowGap === "number") {
4482
- return import_react21.css`
4550
+ return import_react22.css`
4483
4551
  row-gap: ${space[rowGap]};
4484
4552
  `;
4485
4553
  }
4486
- return import_react21.css`
4554
+ return import_react22.css`
4487
4555
  row-gap: ${space[baseRowGap]};
4488
4556
 
4489
4557
  ${media.sm} {
@@ -4506,11 +4574,11 @@ var generateRowGapStyles = (rowGap) => {
4506
4574
  var generateColumnGapStyles = (columnGap) => {
4507
4575
  const baseColumnGap = getResponsiveValue(columnGap);
4508
4576
  if (typeof columnGap === "string" || typeof columnGap === "number") {
4509
- return import_react21.css`
4577
+ return import_react22.css`
4510
4578
  column-gap: ${space[columnGap]};
4511
4579
  `;
4512
4580
  }
4513
- return import_react21.css`
4581
+ return import_react22.css`
4514
4582
  column-gap: ${space[baseColumnGap]};
4515
4583
 
4516
4584
  ${media.sm} {
@@ -4533,11 +4601,11 @@ var generateColumnGapStyles = (columnGap) => {
4533
4601
  var generateColumnSpan = (span) => {
4534
4602
  const baseSpan = getResponsiveValue(span);
4535
4603
  if (typeof span === "string" || typeof span === "number") {
4536
- return import_react21.css`
4604
+ return import_react22.css`
4537
4605
  grid-column: ${span === "auto" ? "auto" : `span ${span}`};
4538
4606
  `;
4539
4607
  }
4540
- return import_react21.css`
4608
+ return import_react22.css`
4541
4609
  grid-column: ${baseSpan === "auto" ? "auto" : `span ${baseSpan}`};
4542
4610
 
4543
4611
  ${media.sm} {
@@ -4560,11 +4628,11 @@ var generateColumnSpan = (span) => {
4560
4628
  var generateAlignItems = (alignItems) => {
4561
4629
  const baseAlign = getResponsiveValue(alignItems);
4562
4630
  if (typeof alignItems === "string") {
4563
- return import_react21.css`
4631
+ return import_react22.css`
4564
4632
  align-items: ${alignItems};
4565
4633
  `;
4566
4634
  }
4567
- return import_react21.css`
4635
+ return import_react22.css`
4568
4636
  align-items: ${baseAlign};
4569
4637
 
4570
4638
  ${media.sm} {
@@ -4587,11 +4655,11 @@ var generateAlignItems = (alignItems) => {
4587
4655
  var generateJustifyItems = (justifyItems) => {
4588
4656
  const baseJustify = getResponsiveValue(justifyItems);
4589
4657
  if (typeof justifyItems === "string") {
4590
- return import_react21.css`
4658
+ return import_react22.css`
4591
4659
  justify-items: ${justifyItems};
4592
4660
  `;
4593
4661
  }
4594
- return import_react21.css`
4662
+ return import_react22.css`
4595
4663
  justify-items: ${baseJustify};
4596
4664
 
4597
4665
  ${media.sm} {
@@ -4626,19 +4694,19 @@ var Column = ({
4626
4694
  }) => {
4627
4695
  const columnStyles = [
4628
4696
  span && generateColumnSpan(span),
4629
- start && import_react22.css`
4697
+ start && import_react23.css`
4630
4698
  grid-column-start: ${start};
4631
4699
  `,
4632
- end && import_react22.css`
4700
+ end && import_react23.css`
4633
4701
  grid-column-end: ${end};
4634
4702
  `,
4635
- row && import_react22.css`
4703
+ row && import_react23.css`
4636
4704
  grid-row: ${row};
4637
4705
  `,
4638
- rowSpan && import_react22.css`
4706
+ rowSpan && import_react23.css`
4639
4707
  grid-row: span ${rowSpan};
4640
4708
  `,
4641
- area && import_react22.css`
4709
+ area && import_react23.css`
4642
4710
  grid-area: ${area};
4643
4711
  `
4644
4712
  ].filter(Boolean);
@@ -4647,9 +4715,9 @@ var Column = ({
4647
4715
  var Column_default = Column;
4648
4716
 
4649
4717
  // src/Grid/Grid.tsx
4650
- var import_react23 = require("@emotion/react");
4718
+ var import_react24 = require("@emotion/react");
4651
4719
  var import_jsx_runtime208 = require("@emotion/react/jsx-runtime");
4652
- var baseGridStyles = import_react23.css`
4720
+ var baseGridStyles = import_react24.css`
4653
4721
  display: grid;
4654
4722
  `;
4655
4723
  var Grid = ({
@@ -4674,16 +4742,16 @@ var Grid = ({
4674
4742
  columnGap && generateColumnGapStyles(columnGap),
4675
4743
  alignItems && generateAlignItems(alignItems),
4676
4744
  justifyItems && generateJustifyItems(justifyItems),
4677
- autoRows && import_react23.css`
4745
+ autoRows && import_react24.css`
4678
4746
  grid-auto-rows: ${autoRows};
4679
4747
  `,
4680
- autoColumns && import_react23.css`
4748
+ autoColumns && import_react24.css`
4681
4749
  grid-auto-columns: ${autoColumns};
4682
4750
  `,
4683
- templateAreas && import_react23.css`
4751
+ templateAreas && import_react24.css`
4684
4752
  grid-template-areas: ${typeof templateAreas === "string" ? templateAreas : templateAreas._};
4685
4753
  `,
4686
- justifyContent && import_react23.css`
4754
+ justifyContent && import_react24.css`
4687
4755
  justify-content: ${typeof justifyContent === "string" ? justifyContent : justifyContent._};
4688
4756
  `
4689
4757
  ].filter(Boolean);
@@ -4692,9 +4760,9 @@ var Grid = ({
4692
4760
  var Grid_default = Grid;
4693
4761
 
4694
4762
  // src/Grid/GridContainer.tsx
4695
- var import_react24 = require("@emotion/react");
4763
+ var import_react25 = require("@emotion/react");
4696
4764
  var import_jsx_runtime209 = require("@emotion/react/jsx-runtime");
4697
- var baseContainerStyles = import_react24.css`
4765
+ var baseContainerStyles = import_react25.css`
4698
4766
  width: 100%;
4699
4767
  margin: 0 auto;
4700
4768
  padding-left: 1rem;
@@ -4702,14 +4770,14 @@ var baseContainerStyles = import_react24.css`
4702
4770
  `;
4703
4771
  var generateMaxWidthStyles = (maxWidth) => {
4704
4772
  if (maxWidth === "full") {
4705
- return import_react24.css`
4773
+ return import_react25.css`
4706
4774
  max-width: 100%;
4707
4775
  padding-left: 0;
4708
4776
  padding-right: 0;
4709
4777
  `;
4710
4778
  }
4711
4779
  const width2 = LayoutTokens.containers[maxWidth] || maxWidth;
4712
- return import_react24.css`
4780
+ return import_react25.css`
4713
4781
  max-width: ${width2};
4714
4782
 
4715
4783
  ${media.sm} {
@@ -4734,17 +4802,17 @@ var GridContainer = ({
4734
4802
  className,
4735
4803
  ...props
4736
4804
  }) => {
4737
- const containerStyles2 = [
4805
+ const containerStyles3 = [
4738
4806
  baseContainerStyles,
4739
4807
  generateMaxWidthStyles(maxWidth)
4740
4808
  ];
4741
- return /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(Box_default, { css: containerStyles2, className, ...props, children });
4809
+ return /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(Box_default, { css: containerStyles3, className, ...props, children });
4742
4810
  };
4743
4811
  var GridContainer_default = GridContainer;
4744
4812
 
4745
4813
  // src/HuntCard/HuntCard.styles.ts
4746
- var import_react25 = require("@emotion/react");
4747
- var cardContainerStyles2 = import_react25.css`
4814
+ var import_react26 = require("@emotion/react");
4815
+ var cardContainerStyles2 = import_react26.css`
4748
4816
  position: relative;
4749
4817
  height: 335px;
4750
4818
 
@@ -4752,12 +4820,12 @@ var cardContainerStyles2 = import_react25.css`
4752
4820
  height: 480px;
4753
4821
  }
4754
4822
  `;
4755
- var cardContentStyles2 = import_react25.css`
4823
+ var cardContentStyles2 = import_react26.css`
4756
4824
  position: relative;
4757
4825
  border-radius: var(--spacing-4);
4758
4826
  overflow: hidden;
4759
4827
  `;
4760
- var getBackgroundWithGradient2 = (imageUrl) => import_react25.css`
4828
+ var getBackgroundWithGradient2 = (imageUrl) => import_react26.css`
4761
4829
  background-image: linear-gradient(
4762
4830
  180deg,
4763
4831
  rgba(0, 0, 0, 0) 48.36%,
@@ -4806,12 +4874,171 @@ var HuntCard = ({
4806
4874
  };
4807
4875
  var HuntCard_default = HuntCard;
4808
4876
 
4877
+ // src/ListingChat/ListingChat.tsx
4878
+ var import_react29 = require("react");
4879
+
4880
+ // src/TagChip/TagChip.styles.ts
4881
+ var import_react27 = require("@emotion/react");
4882
+ var tagChipVariantStyles = {
4883
+ primary: import_react27.css`
4884
+ background-color: var(--surface-disabled);
4885
+ border: 1px solid var(--surface-disabled);
4886
+ color: var(--text-primary);
4887
+ `,
4888
+ error: import_react27.css`
4889
+ background-color: var(--surface-error);
4890
+ border: 1px solid var(--color-red-300);
4891
+ color: var(--text-error);
4892
+ `,
4893
+ success: import_react27.css`
4894
+ background-color: var(--surface-success);
4895
+ border: 1px solid var(--color-green-300);
4896
+ color: var(--text-success);
4897
+ `,
4898
+ warning: import_react27.css`
4899
+ background-color: var(--surface-subtle);
4900
+ border: 1px solid var(--color-brown-200);
4901
+ color: var(--text-primary);
4902
+ `
4903
+ };
4904
+
4905
+ // src/TagChip/TagChip.tsx
4906
+ var import_jsx_runtime211 = require("@emotion/react/jsx-runtime");
4907
+ var TagChip = ({
4908
+ variant = "primary",
4909
+ className,
4910
+ children,
4911
+ ...rest
4912
+ }) => {
4913
+ return /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
4914
+ Box_default,
4915
+ {
4916
+ display: "inline-flex",
4917
+ alignItems: "center",
4918
+ borderRadius: "var(--spacing-6)",
4919
+ px: "var(--spacing-4)",
4920
+ py: "var(--spacing-3)",
4921
+ css: tagChipVariantStyles[variant],
4922
+ className,
4923
+ ...rest,
4924
+ children: /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(Text_default, { as: "span", size: "sm", fontWeight: "normal", children })
4925
+ }
4926
+ );
4927
+ };
4928
+ var TagChip_default = TagChip;
4929
+
4930
+ // src/ListingChat/ListingChat.styles.ts
4931
+ var import_react28 = require("@emotion/react");
4932
+ var containerStyles = import_react28.css`
4933
+ display: flex;
4934
+ flex-direction: column;
4935
+ gap: var(--spacing-4);
4936
+ padding: var(--spacing-4);
4937
+ border-radius: var(--radius-lg);
4938
+ background: var(--surface-success);
4939
+ `;
4940
+ var headerStyles = import_react28.css`
4941
+ display: flex;
4942
+ align-items: flex-start;
4943
+ justify-content: space-between;
4944
+ gap: var(--spacing-2);
4945
+ `;
4946
+ var chipsContainerStyles = import_react28.css`
4947
+ display: flex;
4948
+ flex-wrap: wrap;
4949
+ gap: var(--spacing-4);
4950
+
4951
+ & > button {
4952
+ background: transparent;
4953
+ border: none;
4954
+ padding: 0;
4955
+ margin: 0;
4956
+ cursor: pointer;
4957
+ }
4958
+ `;
4959
+ var textAreaStyles = import_react28.css`
4960
+ min-height: 62px;
4961
+ `;
4962
+ var inputWrapperStyles2 = import_react28.css`
4963
+ position: relative;
4964
+ `;
4965
+
4966
+ // src/ListingChat/ListingChat.tsx
4967
+ var import_jsx_runtime212 = require("@emotion/react/jsx-runtime");
4968
+ var ListingChat = ({
4969
+ onSubmit,
4970
+ placeholder = "Ask anything about this listing\u2026",
4971
+ className,
4972
+ title = "Have a question?",
4973
+ tags = [],
4974
+ disabled = false,
4975
+ ...rest
4976
+ }) => {
4977
+ const [value, setValue] = (0, import_react29.useState)("");
4978
+ const handleSubmit = (0, import_react29.useCallback)(() => {
4979
+ const trimmed = value.trim();
4980
+ if (!trimmed)
4981
+ return;
4982
+ onSubmit(trimmed);
4983
+ setValue("");
4984
+ }, [onSubmit, value]);
4985
+ const handleTagClick = (0, import_react29.useCallback)(
4986
+ (tag) => () => {
4987
+ const trimmed = tag.trim();
4988
+ if (!trimmed)
4989
+ return;
4990
+ onSubmit(trimmed);
4991
+ },
4992
+ [onSubmit]
4993
+ );
4994
+ return /* @__PURE__ */ (0, import_jsx_runtime212.jsxs)(Box_default, { css: containerStyles, className, ...rest, children: [
4995
+ /* @__PURE__ */ (0, import_jsx_runtime212.jsxs)(Box_default, { css: headerStyles, children: [
4996
+ /* @__PURE__ */ (0, import_jsx_runtime212.jsxs)(Box_default, { children: [
4997
+ /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(Box_default, { mb: "var(--spacing-2)", children: /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(Heading_default, { size: "2xs", fontWeight: "bold", children: title }) }),
4998
+ /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(Text_default, { size: "md", children: "Get instant answers with Buck, our AI powered assistant." })
4999
+ ] }),
5000
+ /* @__PURE__ */ (0, import_jsx_runtime212.jsxs)(Box_default, { display: "flex", alignItems: "center", gap: "var(--spacing-1)", children: [
5001
+ /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(Icon_default, { variant: "AiMagic", size: 5 }),
5002
+ /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(Text_default, { size: "sm", children: "Beta" })
5003
+ ] })
5004
+ ] }),
5005
+ /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(Box_default, { css: inputWrapperStyles2, children: /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
5006
+ TextArea,
5007
+ {
5008
+ rows: 1,
5009
+ placeholder,
5010
+ value,
5011
+ onChange: (e) => setValue(e.target.value),
5012
+ showSubmit: true,
5013
+ onSubmit: handleSubmit,
5014
+ disabled,
5015
+ submitDisabled: !value.trim(),
5016
+ submitAriaLabel: "Submit message",
5017
+ css: textAreaStyles
5018
+ }
5019
+ ) }),
5020
+ tags.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime212.jsxs)(import_jsx_runtime212.Fragment, { children: [
5021
+ /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(Text_default, { as: "div", size: "sm", fontWeight: "bold", children: "Try one of these" }),
5022
+ /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(Box_default, { css: chipsContainerStyles, children: tags.map((tag) => /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
5023
+ "button",
5024
+ {
5025
+ onClick: handleTagClick(tag),
5026
+ disabled,
5027
+ children: /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(TagChip_default, { children: tag })
5028
+ },
5029
+ tag
5030
+ )) })
5031
+ ] })
5032
+ ] });
5033
+ };
5034
+ var ListingChat_default = ListingChat;
5035
+
4809
5036
  // src/Logo/Logo.tsx
4810
- var import_react26 = require("@emotion/react");
5037
+ var import_react30 = require("@emotion/react");
4811
5038
 
4812
5039
  // src/Logo/components/LandtrustPlusDark.tsx
4813
- var import_jsx_runtime211 = require("@emotion/react/jsx-runtime");
4814
- var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime211.jsxs)(
5040
+ var import_jsx_runtime213 = require("@emotion/react/jsx-runtime");
5041
+ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)(
4815
5042
  "svg",
4816
5043
  {
4817
5044
  xmlns: "http://www.w3.org/2000/svg",
@@ -4819,14 +5046,14 @@ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime211.
4819
5046
  fill: "none",
4820
5047
  ...props,
4821
5048
  children: [
4822
- /* @__PURE__ */ (0, import_jsx_runtime211.jsx)("g", { filter: "url(#landtrust-plus-dark_svg__a)", children: /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
5049
+ /* @__PURE__ */ (0, import_jsx_runtime213.jsx)("g", { filter: "url(#landtrust-plus-dark_svg__a)", children: /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(
4823
5050
  "path",
4824
5051
  {
4825
5052
  fill: "#000",
4826
5053
  d: "M397.611 44.707a1.357 1.357 0 0 1-1.347-1.367V12.481c0-.755.603-1.367 1.347-1.367h3.893c.744 0 1.348.612 1.348 1.367V43.34c0 .755-.604 1.367-1.348 1.367zM384.364 31.24a1.357 1.357 0 0 1-1.347-1.367v-3.95c0-.755.603-1.367 1.347-1.367h30.414c.741 0 1.345.612 1.345 1.367v3.95c0 .755-.604 1.367-1.345 1.367z"
4827
5054
  }
4828
5055
  ) }),
4829
- /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
5056
+ /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(
4830
5057
  "path",
4831
5058
  {
4832
5059
  fill: "#FAD44E",
@@ -4835,14 +5062,14 @@ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime211.
4835
5062
  d: "M397.611 44.707a1.357 1.357 0 0 1-1.347-1.367V12.481c0-.755.603-1.367 1.347-1.367h3.893c.744 0 1.348.612 1.348 1.367V43.34c0 .755-.604 1.367-1.348 1.367zM384.364 31.24a1.357 1.357 0 0 1-1.347-1.367v-3.95c0-.755.603-1.367 1.347-1.367h30.414c.741 0 1.345.612 1.345 1.367v3.95c0 .755-.604 1.367-1.345 1.367z"
4836
5063
  }
4837
5064
  ),
4838
- /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
5065
+ /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(
4839
5066
  "path",
4840
5067
  {
4841
5068
  fill: "#fff",
4842
5069
  d: "M376.053 15.765h-9.487V49.36h-11.149V15.876h-9.56V6.608h30.196zM204.29 15.782h-9.487v33.6h-11.149V15.895h-9.56V6.633h30.196zM93.047 6.652l12.637 23.357V6.608h10.179v42.775h-10.488L92.982 25.96v23.402H82.878V6.651zM242.366 35.996l5.154 13.364h-10.781a8334 8334 0 0 0-5.254-13.389h-4.683v13.398h-10.921V6.64h4.836c7.307 0 14.616-.037 21.922.017 2.864.02 4.677 1.613 4.742 4.448q.225 10.12 0 20.244c-.052 2.927-2.075 4.29-5.015 4.648m-15.525-20.1v11.248h8.609a.912.912 0 0 0 .909-.911v-9.428a.905.905 0 0 0-.909-.91zM71.772 49.392H61.244l-1.831-9.098H48.34c-.628 2.995-1.262 6.004-1.91 9.09H36.147c3.07-14.297 6.11-28.505 9.179-42.774h17.268c3.047 14.207 6.101 28.436 9.179 42.782M57.939 30.786 55 15.744h-2.134c-1.012 4.987-2.02 9.974-3.054 15.042zM10.818 40.21H24.46v9.173H0V6.608h10.818zM282.264 6.608v32.466a.92.92 0 0 1-.268.648.9.9 0 0 1-.645.267h-7.445a.9.9 0 0 1-.645-.267.92.92 0 0 1-.267-.648V6.608h-11.025V44.94c0 2.443 1.971 4.424 4.403 4.424h22.506c2.432 0 4.404-1.982 4.404-4.426V6.608zM131.337 49.383V6.657h22.522c5.154 0 8.955 3.645 8.989 8.81q.088 12.542 0 25.086c-.046 5.18-3.85 8.824-8.999 8.824h-22.512zm11.036-33.503v24.2c2.346 0 4.623.092 6.889-.031 1.554-.084 2.589-1.274 2.6-2.912q.067-9.16 0-18.32c-.013-1.644-1.046-2.828-2.596-2.912-2.27-.123-4.549-.03-6.893-.03zM306.214 36.48c0 1.9-.115 3.747.022 5.577.31 4.136 3.799 7.47 7.924 7.539q7.022.116 14.047 0c3.879-.06 7.534-3.112 7.826-6.906.268-3.905.275-7.825.02-11.731-.176-3.002-2.574-5.277-5.55-5.806a766 766 0 0 0-13.834-2.343c-.901-.142-1.186-.527-1.176-1.342.017-1.404 0-2.807.013-4.21 0-.96.462-1.414 1.457-1.405 2.875.027 5.752.021 8.627 0 .992 0 1.425.466 1.412 1.433v2.183h9.117c0-2.078.17-4.067-.036-6.017-.406-3.818-3.896-6.992-7.718-7.057a423 423 0 0 0-14.416 0c-3.784.07-7.434 3.38-7.651 7.124a108 108 0 0 0-.01 11.375c.147 3.103 2.539 5.547 5.567 6.082q6.97 1.233 13.954 2.367c.775.127 1.058.435 1.041 1.195-.031 1.485-.01 2.971-.01 4.458 0 .857-.414 1.298-1.283 1.298h-8.875c-.859 0-1.286-.458-1.304-1.3-.017-.842 0-1.63 0-2.509z"
4843
5070
  }
4844
5071
  ),
4845
- /* @__PURE__ */ (0, import_jsx_runtime211.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime211.jsxs)(
5072
+ /* @__PURE__ */ (0, import_jsx_runtime213.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)(
4846
5073
  "filter",
4847
5074
  {
4848
5075
  id: "landtrust-plus-dark_svg__a",
@@ -4853,8 +5080,8 @@ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime211.
4853
5080
  colorInterpolationFilters: "sRGB",
4854
5081
  filterUnits: "userSpaceOnUse",
4855
5082
  children: [
4856
- /* @__PURE__ */ (0, import_jsx_runtime211.jsx)("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
4857
- /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
5083
+ /* @__PURE__ */ (0, import_jsx_runtime213.jsx)("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
5084
+ /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(
4858
5085
  "feColorMatrix",
4859
5086
  {
4860
5087
  in: "SourceAlpha",
@@ -4862,18 +5089,18 @@ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime211.
4862
5089
  values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
4863
5090
  }
4864
5091
  ),
4865
- /* @__PURE__ */ (0, import_jsx_runtime211.jsx)("feOffset", { dy: 1 }),
4866
- /* @__PURE__ */ (0, import_jsx_runtime211.jsx)("feGaussianBlur", { stdDeviation: 0.5 }),
4867
- /* @__PURE__ */ (0, import_jsx_runtime211.jsx)("feComposite", { in2: "hardAlpha", operator: "out" }),
4868
- /* @__PURE__ */ (0, import_jsx_runtime211.jsx)("feColorMatrix", { values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" }),
4869
- /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
5092
+ /* @__PURE__ */ (0, import_jsx_runtime213.jsx)("feOffset", { dy: 1 }),
5093
+ /* @__PURE__ */ (0, import_jsx_runtime213.jsx)("feGaussianBlur", { stdDeviation: 0.5 }),
5094
+ /* @__PURE__ */ (0, import_jsx_runtime213.jsx)("feComposite", { in2: "hardAlpha", operator: "out" }),
5095
+ /* @__PURE__ */ (0, import_jsx_runtime213.jsx)("feColorMatrix", { values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" }),
5096
+ /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(
4870
5097
  "feBlend",
4871
5098
  {
4872
5099
  in2: "BackgroundImageFix",
4873
5100
  result: "effect1_dropShadow_257_2540"
4874
5101
  }
4875
5102
  ),
4876
- /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
5103
+ /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(
4877
5104
  "feBlend",
4878
5105
  {
4879
5106
  in: "SourceGraphic",
@@ -4890,8 +5117,8 @@ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime211.
4890
5117
  var LandtrustPlusDark_default = SvgLandtrustPlusDark;
4891
5118
 
4892
5119
  // src/Logo/components/LandtrustPlusLight.tsx
4893
- var import_jsx_runtime212 = require("@emotion/react/jsx-runtime");
4894
- var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime212.jsxs)(
5120
+ var import_jsx_runtime214 = require("@emotion/react/jsx-runtime");
5121
+ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime214.jsxs)(
4895
5122
  "svg",
4896
5123
  {
4897
5124
  xmlns: "http://www.w3.org/2000/svg",
@@ -4899,14 +5126,14 @@ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime212
4899
5126
  fill: "none",
4900
5127
  ...props,
4901
5128
  children: [
4902
- /* @__PURE__ */ (0, import_jsx_runtime212.jsx)("g", { filter: "url(#landtrust-plus-light_svg__a)", children: /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
5129
+ /* @__PURE__ */ (0, import_jsx_runtime214.jsx)("g", { filter: "url(#landtrust-plus-light_svg__a)", children: /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
4903
5130
  "path",
4904
5131
  {
4905
5132
  fill: "#000",
4906
5133
  d: "M397.611 44.707a1.357 1.357 0 0 1-1.347-1.367V12.481c0-.755.603-1.367 1.347-1.367h3.893c.744 0 1.348.612 1.348 1.367V43.34c0 .755-.604 1.367-1.348 1.367zM384.364 31.24a1.357 1.357 0 0 1-1.347-1.367v-3.95c0-.755.603-1.367 1.347-1.367h30.414c.741 0 1.345.612 1.345 1.367v3.95c0 .755-.604 1.367-1.345 1.367z"
4907
5134
  }
4908
5135
  ) }),
4909
- /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
5136
+ /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
4910
5137
  "path",
4911
5138
  {
4912
5139
  fill: "#FAD44E",
@@ -4915,14 +5142,14 @@ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime212
4915
5142
  d: "M397.611 44.707a1.357 1.357 0 0 1-1.347-1.367V12.481c0-.755.603-1.367 1.347-1.367h3.893c.744 0 1.348.612 1.348 1.367V43.34c0 .755-.604 1.367-1.348 1.367zM384.364 31.24a1.357 1.357 0 0 1-1.347-1.367v-3.95c0-.755.603-1.367 1.347-1.367h30.414c.741 0 1.345.612 1.345 1.367v3.95c0 .755-.604 1.367-1.345 1.367z"
4916
5143
  }
4917
5144
  ),
4918
- /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
5145
+ /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
4919
5146
  "path",
4920
5147
  {
4921
5148
  fill: "#1A202C",
4922
5149
  d: "M376.053 15.765h-9.487V49.36h-11.149V15.876h-9.56V6.608h30.196zM204.29 15.782h-9.487v33.6h-11.149V15.895h-9.56V6.633h30.196zM93.047 6.652l12.637 23.357V6.608h10.179v42.775h-10.488L92.982 25.96v23.402H82.878V6.651zM242.366 35.996l5.154 13.364h-10.781a8334 8334 0 0 0-5.254-13.389h-4.683v13.398h-10.921V6.64h4.836c7.307 0 14.616-.037 21.922.017 2.864.02 4.677 1.613 4.742 4.448q.225 10.12 0 20.244c-.052 2.927-2.075 4.29-5.015 4.648m-15.525-20.1v11.248h8.609a.912.912 0 0 0 .909-.911v-9.428a.905.905 0 0 0-.909-.91zM71.772 49.392H61.244l-1.831-9.098H48.34c-.628 2.995-1.262 6.004-1.91 9.09H36.147c3.07-14.297 6.11-28.505 9.179-42.774h17.268c3.047 14.207 6.101 28.436 9.179 42.782M57.939 30.786 55 15.744h-2.134c-1.012 4.987-2.02 9.974-3.054 15.042zM10.818 40.21H24.46v9.173H0V6.608h10.818zM282.264 6.608v32.466a.92.92 0 0 1-.268.648.9.9 0 0 1-.645.267h-7.445a.9.9 0 0 1-.645-.267.92.92 0 0 1-.267-.648V6.608h-11.025V44.94c0 2.443 1.971 4.424 4.403 4.424h22.506c2.432 0 4.404-1.982 4.404-4.426V6.608zM131.337 49.383V6.657h22.522c5.154 0 8.955 3.645 8.989 8.81q.088 12.542 0 25.086c-.046 5.18-3.85 8.824-8.999 8.824h-22.512zm11.036-33.503v24.2c2.346 0 4.623.092 6.889-.031 1.554-.084 2.589-1.274 2.6-2.912q.067-9.16 0-18.32c-.013-1.644-1.046-2.828-2.596-2.912-2.27-.123-4.549-.03-6.893-.03zM306.214 36.48c0 1.9-.115 3.747.022 5.577.31 4.136 3.799 7.47 7.924 7.539q7.022.116 14.047 0c3.879-.06 7.534-3.112 7.826-6.906.268-3.905.275-7.825.02-11.731-.176-3.002-2.574-5.277-5.55-5.806a766 766 0 0 0-13.834-2.343c-.901-.142-1.186-.527-1.176-1.342.017-1.404 0-2.807.013-4.21 0-.96.462-1.414 1.457-1.405 2.875.027 5.752.021 8.627 0 .992 0 1.425.466 1.412 1.433v2.183h9.117c0-2.078.17-4.067-.036-6.017-.406-3.818-3.896-6.992-7.718-7.057a423 423 0 0 0-14.416 0c-3.784.07-7.434 3.38-7.651 7.124a108 108 0 0 0-.01 11.375c.147 3.103 2.539 5.547 5.567 6.082q6.97 1.233 13.954 2.367c.775.127 1.058.435 1.041 1.195-.031 1.485-.01 2.971-.01 4.458 0 .857-.414 1.298-1.283 1.298h-8.875c-.859 0-1.286-.458-1.304-1.3-.017-.842 0-1.63 0-2.509z"
4923
5150
  }
4924
5151
  ),
4925
- /* @__PURE__ */ (0, import_jsx_runtime212.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime212.jsxs)(
5152
+ /* @__PURE__ */ (0, import_jsx_runtime214.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime214.jsxs)(
4926
5153
  "filter",
4927
5154
  {
4928
5155
  id: "landtrust-plus-light_svg__a",
@@ -4933,8 +5160,8 @@ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime212
4933
5160
  colorInterpolationFilters: "sRGB",
4934
5161
  filterUnits: "userSpaceOnUse",
4935
5162
  children: [
4936
- /* @__PURE__ */ (0, import_jsx_runtime212.jsx)("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
4937
- /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
5163
+ /* @__PURE__ */ (0, import_jsx_runtime214.jsx)("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
5164
+ /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
4938
5165
  "feColorMatrix",
4939
5166
  {
4940
5167
  in: "SourceAlpha",
@@ -4942,18 +5169,18 @@ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime212
4942
5169
  values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
4943
5170
  }
4944
5171
  ),
4945
- /* @__PURE__ */ (0, import_jsx_runtime212.jsx)("feOffset", { dy: 1 }),
4946
- /* @__PURE__ */ (0, import_jsx_runtime212.jsx)("feGaussianBlur", { stdDeviation: 0.5 }),
4947
- /* @__PURE__ */ (0, import_jsx_runtime212.jsx)("feComposite", { in2: "hardAlpha", operator: "out" }),
4948
- /* @__PURE__ */ (0, import_jsx_runtime212.jsx)("feColorMatrix", { values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" }),
4949
- /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
5172
+ /* @__PURE__ */ (0, import_jsx_runtime214.jsx)("feOffset", { dy: 1 }),
5173
+ /* @__PURE__ */ (0, import_jsx_runtime214.jsx)("feGaussianBlur", { stdDeviation: 0.5 }),
5174
+ /* @__PURE__ */ (0, import_jsx_runtime214.jsx)("feComposite", { in2: "hardAlpha", operator: "out" }),
5175
+ /* @__PURE__ */ (0, import_jsx_runtime214.jsx)("feColorMatrix", { values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" }),
5176
+ /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
4950
5177
  "feBlend",
4951
5178
  {
4952
5179
  in2: "BackgroundImageFix",
4953
5180
  result: "effect1_dropShadow_257_2538"
4954
5181
  }
4955
5182
  ),
4956
- /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
5183
+ /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
4957
5184
  "feBlend",
4958
5185
  {
4959
5186
  in: "SourceGraphic",
@@ -4970,8 +5197,8 @@ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime212
4970
5197
  var LandtrustPlusLight_default = SvgLandtrustPlusLight;
4971
5198
 
4972
5199
  // src/Logo/components/LandtrustStandardDark.tsx
4973
- var import_jsx_runtime213 = require("@emotion/react/jsx-runtime");
4974
- var SvgLandtrustStandardDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)(
5200
+ var import_jsx_runtime215 = require("@emotion/react/jsx-runtime");
5201
+ var SvgLandtrustStandardDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime215.jsxs)(
4975
5202
  "svg",
4976
5203
  {
4977
5204
  xmlns: "http://www.w3.org/2000/svg",
@@ -4979,14 +5206,14 @@ var SvgLandtrustStandardDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime
4979
5206
  fill: "none",
4980
5207
  ...props,
4981
5208
  children: [
4982
- /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(
5209
+ /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
4983
5210
  "path",
4984
5211
  {
4985
5212
  fill: "#E2430C",
4986
5213
  d: "m0 0 .037 47.582q-.003 1.401.186 2.79a15.6 15.6 0 0 0 1.223 4.315c1.787 3.934 3.9 6.263 5.914 8.25 4.047 4 8.07 6.023 10.83 7.383A50 50 0 0 0 28.29 74a50 50 0 0 0 10.103-3.68c2.76-1.36 6.783-3.384 10.83-7.383 2.014-1.987 4.126-4.316 5.921-8.25a15.7 15.7 0 0 0 1.223-4.316q.189-1.387.186-2.79L56.59 0zm51.397 5.141-.01 14.061H5.197l-.011-14.06zm-.023 31.322a30 30 0 0 0-3.911-.876c-.822-.126-4.159-.603-8.867-.05-2.086.248-3.97.712-7.736 1.64a197 197 0 0 0-6.62 1.774c-3.427 1.195-9.065 2.541-15.502 1.125a26 26 0 0 1-3.526-1.051L5.2 24.337h46.183zM36.542 65.57a41 41 0 0 1-8.252 3.009 41 41 0 0 1-8.249-3.009 69 69 0 0 1-1.53-.773l9.768-5.588 9.778 5.608c-.55.277-1.054.525-1.515.753m14.823-18.4q.001.736-.072 1.467a13.2 13.2 0 0 1-1.076 4.17c-1.46 3.213-3.182 5.114-4.83 6.739a28 28 0 0 1-2.348 2.074l-.235-.133-14.525-8.327-14.544 8.324-.203.115a28 28 0 0 1-2.328-2.057c-1.642-1.624-3.369-3.526-4.829-6.74A13.2 13.2 0 0 1 5.3 48.636a15 15 0 0 1-.073-1.467v-2.774q1.9.561 3.86.86c.82.127 4.16.603 8.87.05 2.083-.246 3.967-.712 7.732-1.639a184 184 0 0 0 6.62-1.766c3.428-1.197 9.064-2.541 15.503-1.125q1.823.399 3.569 1.051z"
4987
5214
  }
4988
5215
  ),
4989
- /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(
5216
+ /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
4990
5217
  "path",
4991
5218
  {
4992
5219
  fill: "#fff",
@@ -4999,8 +5226,8 @@ var SvgLandtrustStandardDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime
4999
5226
  var LandtrustStandardDark_default = SvgLandtrustStandardDark;
5000
5227
 
5001
5228
  // src/Logo/components/LandtrustStandardLight.tsx
5002
- var import_jsx_runtime214 = require("@emotion/react/jsx-runtime");
5003
- var SvgLandtrustStandardLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime214.jsxs)(
5229
+ var import_jsx_runtime216 = require("@emotion/react/jsx-runtime");
5230
+ var SvgLandtrustStandardLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)(
5004
5231
  "svg",
5005
5232
  {
5006
5233
  xmlns: "http://www.w3.org/2000/svg",
@@ -5008,14 +5235,14 @@ var SvgLandtrustStandardLight = (props) => /* @__PURE__ */ (0, import_jsx_runtim
5008
5235
  fill: "none",
5009
5236
  ...props,
5010
5237
  children: [
5011
- /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
5238
+ /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(
5012
5239
  "path",
5013
5240
  {
5014
5241
  fill: "#E2430C",
5015
5242
  d: "m0 0 .037 47.582q-.003 1.401.186 2.79a15.6 15.6 0 0 0 1.223 4.315c1.787 3.934 3.9 6.263 5.914 8.25 4.047 4 8.07 6.023 10.83 7.383A50 50 0 0 0 28.29 74a50 50 0 0 0 10.103-3.68c2.76-1.36 6.783-3.384 10.83-7.383 2.014-1.987 4.126-4.316 5.921-8.25a15.7 15.7 0 0 0 1.223-4.316q.189-1.387.186-2.79L56.59 0zm51.397 5.141-.01 14.061H5.197l-.011-14.06zm-.023 31.322a30 30 0 0 0-3.911-.876c-.822-.126-4.159-.603-8.867-.05-2.086.248-3.97.712-7.736 1.64a197 197 0 0 0-6.62 1.774c-3.427 1.195-9.065 2.541-15.502 1.125a26 26 0 0 1-3.526-1.051L5.2 24.337h46.183zM36.542 65.57a41 41 0 0 1-8.252 3.009 41 41 0 0 1-8.249-3.009 69 69 0 0 1-1.53-.773l9.768-5.588 9.778 5.608c-.55.277-1.054.525-1.515.753m14.823-18.4q.001.736-.072 1.467a13.2 13.2 0 0 1-1.076 4.17c-1.46 3.213-3.182 5.114-4.83 6.739a28 28 0 0 1-2.348 2.074l-.235-.133-14.525-8.327-14.544 8.324-.203.115a28 28 0 0 1-2.328-2.057c-1.642-1.624-3.369-3.526-4.829-6.74A13.2 13.2 0 0 1 5.3 48.636a15 15 0 0 1-.073-1.467v-2.774q1.9.561 3.86.86c.82.127 4.16.603 8.87.05 2.083-.246 3.967-.712 7.732-1.639a184 184 0 0 0 6.62-1.766c3.428-1.197 9.064-2.541 15.503-1.125q1.823.399 3.569 1.051z"
5016
5243
  }
5017
5244
  ),
5018
- /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
5245
+ /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(
5019
5246
  "path",
5020
5247
  {
5021
5248
  fill: "#000",
@@ -5028,8 +5255,8 @@ var SvgLandtrustStandardLight = (props) => /* @__PURE__ */ (0, import_jsx_runtim
5028
5255
  var LandtrustStandardLight_default = SvgLandtrustStandardLight;
5029
5256
 
5030
5257
  // src/Logo/Logo.tsx
5031
- var import_jsx_runtime215 = require("@emotion/react/jsx-runtime");
5032
- var logoStyles = (size) => import_react26.css`
5258
+ var import_jsx_runtime217 = require("@emotion/react/jsx-runtime");
5259
+ var logoStyles = (size) => import_react30.css`
5033
5260
  width: ${space[size]};
5034
5261
  height: auto;
5035
5262
  display: block;
@@ -5057,19 +5284,19 @@ var Logo = ({
5057
5284
  return LandtrustStandardLight_default;
5058
5285
  };
5059
5286
  const LogoComponent = getLogoComponent();
5060
- return /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(LogoComponent, { css: logoStyles(size), className, ...rest });
5287
+ return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(LogoComponent, { css: logoStyles(size), className, ...rest });
5061
5288
  };
5062
5289
  var Logo_default = Logo;
5063
5290
 
5064
5291
  // src/MessageBubble/MessageBubble.styles.ts
5065
- var import_react27 = require("@emotion/react");
5066
- var getRootStyles = (variant) => import_react27.css`
5292
+ var import_react31 = require("@emotion/react");
5293
+ var getRootStyles = (variant) => import_react31.css`
5067
5294
  display: flex;
5068
5295
  flex-direction: column;
5069
5296
  gap: var(--spacing-1);
5070
5297
  align-items: ${variant === "sent" ? "flex-end" : "flex-start"};
5071
5298
  `;
5072
- var getBubbleStyles = (variant) => import_react27.css`
5299
+ var getBubbleStyles = (variant) => import_react31.css`
5073
5300
  max-width: 100%;
5074
5301
  width: 100%;
5075
5302
  box-sizing: border-box;
@@ -5086,22 +5313,22 @@ var getBubbleStyles = (variant) => import_react27.css`
5086
5313
  border-bottom-left-radius: ${variant === "sent" ? "var(--radius-lg)" : "0"};
5087
5314
  border-bottom-right-radius: ${variant === "sent" ? "0" : "var(--radius-lg)"};
5088
5315
  `;
5089
- var contentStyles = import_react27.css`
5316
+ var contentStyles = import_react31.css`
5090
5317
  flex: 1 1 auto;
5091
5318
  min-width: 1px;
5092
5319
  min-height: 1px;
5093
5320
  `;
5094
5321
 
5095
5322
  // src/MessageBubble/MessageBubble.tsx
5096
- var import_jsx_runtime216 = require("@emotion/react/jsx-runtime");
5323
+ var import_jsx_runtime218 = require("@emotion/react/jsx-runtime");
5097
5324
  var MessageBubble = ({
5098
5325
  variant = "sent",
5099
5326
  timestamp,
5100
5327
  className,
5101
5328
  children
5102
5329
  }) => {
5103
- return /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)("div", { className, css: getRootStyles(variant), children: [
5104
- timestamp && /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(
5330
+ return /* @__PURE__ */ (0, import_jsx_runtime218.jsxs)("div", { className, css: getRootStyles(variant), children: [
5331
+ timestamp && /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(
5105
5332
  Text_default,
5106
5333
  {
5107
5334
  size: "xs",
@@ -5110,19 +5337,19 @@ var MessageBubble = ({
5110
5337
  children: timestamp
5111
5338
  }
5112
5339
  ),
5113
- /* @__PURE__ */ (0, import_jsx_runtime216.jsx)("div", { css: getBubbleStyles(variant), children: /* @__PURE__ */ (0, import_jsx_runtime216.jsx)("div", { css: contentStyles, children }) })
5340
+ /* @__PURE__ */ (0, import_jsx_runtime218.jsx)("div", { css: getBubbleStyles(variant), children: /* @__PURE__ */ (0, import_jsx_runtime218.jsx)("div", { css: contentStyles, children }) })
5114
5341
  ] });
5115
5342
  };
5116
5343
  var MessageBubble_default = MessageBubble;
5117
5344
 
5118
5345
  // src/Navigation/Navigation.styles.ts
5119
- var import_react28 = require("@emotion/react");
5120
- var navigationStyles = import_react28.css`
5346
+ var import_react32 = require("@emotion/react");
5347
+ var navigationStyles = import_react32.css`
5121
5348
  width: 100%;
5122
5349
  background-color: white;
5123
5350
  border-bottom: 1px solid #e5e5e5;
5124
5351
  `;
5125
- var hamburgerButtonStyles = import_react28.css`
5352
+ var hamburgerButtonStyles = import_react32.css`
5126
5353
  cursor: pointer;
5127
5354
  &:focus {
5128
5355
  outline: 2px solid #4f46e5;
@@ -5133,7 +5360,7 @@ var hamburgerButtonStyles = import_react28.css`
5133
5360
  display: none;
5134
5361
  }
5135
5362
  `;
5136
- var centeredLogoStyles = import_react28.css`
5363
+ var centeredLogoStyles = import_react32.css`
5137
5364
  transform: translate(-50%, -50%);
5138
5365
  max-width: 150px;
5139
5366
 
@@ -5141,27 +5368,27 @@ var centeredLogoStyles = import_react28.css`
5141
5368
  display: none;
5142
5369
  }
5143
5370
  `;
5144
- var desktopLogoStyles = import_react28.css`
5371
+ var desktopLogoStyles = import_react32.css`
5145
5372
  display: none;
5146
5373
 
5147
5374
  @media (min-width: 768px) {
5148
5375
  display: block;
5149
5376
  }
5150
5377
  `;
5151
- var containerStyles = import_react28.css`
5378
+ var containerStyles2 = import_react32.css`
5152
5379
  @media (min-width: 768px) {
5153
5380
  justify-content: space-between;
5154
5381
  position: static;
5155
5382
  }
5156
5383
  `;
5157
- var logoStyles2 = import_react28.css`
5384
+ var logoStyles2 = import_react32.css`
5158
5385
  width: 100%;
5159
5386
 
5160
5387
  @media (min-width: 768px) {
5161
5388
  width: initial;
5162
5389
  }
5163
5390
  `;
5164
- var desktopNavStyles = import_react28.css`
5391
+ var desktopNavStyles = import_react32.css`
5165
5392
  display: none;
5166
5393
 
5167
5394
  @media (min-width: 768px) {
@@ -5170,7 +5397,7 @@ var desktopNavStyles = import_react28.css`
5170
5397
  gap: 32px;
5171
5398
  }
5172
5399
  `;
5173
- var navLinksStyles = import_react28.css`
5400
+ var navLinksStyles = import_react32.css`
5174
5401
  display: flex;
5175
5402
  align-items: center;
5176
5403
  gap: 24px;
@@ -5178,7 +5405,7 @@ var navLinksStyles = import_react28.css`
5178
5405
  margin: 0;
5179
5406
  padding: 0;
5180
5407
  `;
5181
- var navLinkStyles = import_react28.css`
5408
+ var navLinkStyles = import_react32.css`
5182
5409
  text-decoration: none;
5183
5410
  color: #374151;
5184
5411
  font-weight: 500;
@@ -5194,7 +5421,7 @@ var navLinkStyles = import_react28.css`
5194
5421
  outline-offset: 2px;
5195
5422
  }
5196
5423
  `;
5197
- var avatarPlaceholderStyles = import_react28.css`
5424
+ var avatarPlaceholderStyles = import_react32.css`
5198
5425
  width: 32px;
5199
5426
  height: 32px;
5200
5427
  border-radius: 50%;
@@ -5219,7 +5446,7 @@ var avatarPlaceholderStyles = import_react28.css`
5219
5446
  `;
5220
5447
 
5221
5448
  // src/Navigation/Navigation.tsx
5222
- var import_jsx_runtime217 = require("@emotion/react/jsx-runtime");
5449
+ var import_jsx_runtime219 = require("@emotion/react/jsx-runtime");
5223
5450
  var Navigation = ({
5224
5451
  onMenuToggle,
5225
5452
  className,
@@ -5233,16 +5460,16 @@ var Navigation = ({
5233
5460
  onAvatarClick,
5234
5461
  ...rest
5235
5462
  }) => {
5236
- return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(Box_default, { css: navigationStyles, className, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime217.jsxs)(
5463
+ return /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(Box_default, { css: navigationStyles, className, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime219.jsxs)(
5237
5464
  Box_default,
5238
5465
  {
5239
5466
  display: "flex",
5240
5467
  alignItems: "center",
5241
5468
  padding: space[4],
5242
5469
  position: "relative",
5243
- css: containerStyles,
5470
+ css: containerStyles2,
5244
5471
  children: [
5245
- /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
5472
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
5246
5473
  Box_default,
5247
5474
  {
5248
5475
  as: "button",
@@ -5254,11 +5481,11 @@ var Navigation = ({
5254
5481
  border: "none",
5255
5482
  padding: space[2],
5256
5483
  css: hamburgerButtonStyles,
5257
- children: /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(Icon_default, { variant: "Bars", size: 6 })
5484
+ children: /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(Icon_default, { variant: "Bars", size: 6 })
5258
5485
  }
5259
5486
  ),
5260
- /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(Box_default, { css: desktopLogoStyles, children: /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(Logo_default, { variant: logoVariant, theme: logoTheme }) }),
5261
- /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(Box_default, { position: "absolute", left: "50%", top: "50%", css: centeredLogoStyles, children: /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
5487
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(Box_default, { css: desktopLogoStyles, children: /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(Logo_default, { variant: logoVariant, theme: logoTheme }) }),
5488
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(Box_default, { position: "absolute", left: "50%", top: "50%", css: centeredLogoStyles, children: /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
5262
5489
  Logo_default,
5263
5490
  {
5264
5491
  variant: logoVariant,
@@ -5267,8 +5494,8 @@ var Navigation = ({
5267
5494
  css: logoStyles2
5268
5495
  }
5269
5496
  ) }),
5270
- /* @__PURE__ */ (0, import_jsx_runtime217.jsxs)(Box_default, { css: desktopNavStyles, children: [
5271
- /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(Box_default, { as: "nav", children: /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(Box_default, { as: "ul", css: navLinksStyles, children: navLinks.map((link) => /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(Box_default, { as: "li", children: /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
5497
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsxs)(Box_default, { css: desktopNavStyles, children: [
5498
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(Box_default, { as: "nav", children: /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(Box_default, { as: "ul", css: navLinksStyles, children: navLinks.map((link) => /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(Box_default, { as: "li", children: /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
5272
5499
  "a",
5273
5500
  {
5274
5501
  href: link.href,
@@ -5277,7 +5504,7 @@ var Navigation = ({
5277
5504
  children: link.label
5278
5505
  }
5279
5506
  ) }, link.href)) }) }),
5280
- /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
5507
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
5281
5508
  Box_default,
5282
5509
  {
5283
5510
  as: "button",
@@ -5296,8 +5523,8 @@ var Navigation = ({
5296
5523
  var Navigation_default = Navigation;
5297
5524
 
5298
5525
  // src/PackageCard/PackageCard.styles.ts
5299
- var import_react29 = require("@emotion/react");
5300
- var cardContainerStyles3 = import_react29.css`
5526
+ var import_react33 = require("@emotion/react");
5527
+ var cardContainerStyles3 = import_react33.css`
5301
5528
  color: var(--text-primary);
5302
5529
  position: relative;
5303
5530
  width: 100%;
@@ -5314,14 +5541,14 @@ var cardContainerStyles3 = import_react29.css`
5314
5541
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
5315
5542
  }
5316
5543
  `;
5317
- var imageContainerStyles = import_react29.css`
5544
+ var imageContainerStyles = import_react33.css`
5318
5545
  position: relative;
5319
5546
  width: 100%;
5320
5547
  height: 200px;
5321
5548
  overflow: hidden;
5322
5549
  border-radius: var(--spacing-4);
5323
5550
  `;
5324
- var imageStyles = import_react29.css`
5551
+ var imageStyles = import_react33.css`
5325
5552
  width: 100%;
5326
5553
  height: 100%;
5327
5554
  background-size: cover;
@@ -5329,13 +5556,13 @@ var imageStyles = import_react29.css`
5329
5556
  background-repeat: no-repeat;
5330
5557
  border-radius: var(--spacing-4) var(--spacing-4) 0 0;
5331
5558
  `;
5332
- var badgeStyles = import_react29.css`
5559
+ var badgeStyles = import_react33.css`
5333
5560
  position: absolute;
5334
5561
  top: var(--spacing-3);
5335
5562
  left: var(--spacing-3);
5336
5563
  z-index: 2;
5337
5564
  `;
5338
- var heartIconStyles = import_react29.css`
5565
+ var heartIconStyles = import_react33.css`
5339
5566
  position: absolute;
5340
5567
  top: var(--spacing-3);
5341
5568
  right: var(--spacing-3);
@@ -5357,12 +5584,12 @@ var heartIconStyles = import_react29.css`
5357
5584
  transform: scale(1.1);
5358
5585
  }
5359
5586
  `;
5360
- var contentStyles2 = import_react29.css`
5587
+ var contentStyles2 = import_react33.css`
5361
5588
  padding: var(--spacing-3);
5362
5589
  `;
5363
5590
 
5364
5591
  // src/PackageCard/PackageCard.tsx
5365
- var import_jsx_runtime218 = require("@emotion/react/jsx-runtime");
5592
+ var import_jsx_runtime220 = require("@emotion/react/jsx-runtime");
5366
5593
  var PackageCard = ({
5367
5594
  images,
5368
5595
  title,
@@ -5379,13 +5606,13 @@ var PackageCard = ({
5379
5606
  ...rest
5380
5607
  }) => {
5381
5608
  const mainImage = images[0] || "";
5382
- return /* @__PURE__ */ (0, import_jsx_runtime218.jsxs)(Box_default, { css: cardContainerStyles3, className, ...rest, children: [
5383
- /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(Box_default, { css: imageContainerStyles, onClick, children: /* @__PURE__ */ (0, import_jsx_runtime218.jsxs)(Box_default, { css: [imageStyles, { backgroundImage: `url(${mainImage})` }], children: [
5384
- tripsLeft && /* @__PURE__ */ (0, import_jsx_runtime218.jsxs)(AvailabilityChip_default, { variant: "warning", css: badgeStyles, children: [
5609
+ return /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)(Box_default, { css: cardContainerStyles3, className, ...rest, children: [
5610
+ /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Box_default, { css: imageContainerStyles, onClick, children: /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)(Box_default, { css: [imageStyles, { backgroundImage: `url(${mainImage})` }], children: [
5611
+ tripsLeft && /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)(AvailabilityChip_default, { variant: "warning", css: badgeStyles, children: [
5385
5612
  tripsLeft,
5386
5613
  " Trips Left"
5387
5614
  ] }),
5388
- /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(
5615
+ /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
5389
5616
  Box_default,
5390
5617
  {
5391
5618
  css: heartIconStyles,
@@ -5393,12 +5620,12 @@ var PackageCard = ({
5393
5620
  e.stopPropagation();
5394
5621
  onFavoriteClick == null ? void 0 : onFavoriteClick();
5395
5622
  },
5396
- children: /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(Icon_default, { variant: isFavorited ? "HeartSolid" : "Heart", size: 5 })
5623
+ children: /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Icon_default, { variant: isFavorited ? "HeartSolid" : "Heart", size: 5 })
5397
5624
  }
5398
5625
  )
5399
5626
  ] }) }),
5400
- /* @__PURE__ */ (0, import_jsx_runtime218.jsxs)(Box_default, { css: contentStyles2, children: [
5401
- /* @__PURE__ */ (0, import_jsx_runtime218.jsxs)(
5627
+ /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)(Box_default, { css: contentStyles2, children: [
5628
+ /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)(
5402
5629
  Box_default,
5403
5630
  {
5404
5631
  onClick,
@@ -5407,9 +5634,9 @@ var PackageCard = ({
5407
5634
  gap: "var(--spacing-1)",
5408
5635
  mb: "var(--spacing-4)",
5409
5636
  children: [
5410
- /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(Text_default, { size: "md", fontWeight: "bold", children: title }) }),
5411
- /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(Text_default, { size: "xs", fontWeight: "bold", children: subtitle }) }),
5412
- /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime218.jsxs)(Text_default, { size: "xs", fontWeight: "normal", children: [
5637
+ /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Text_default, { size: "md", fontWeight: "bold", children: title }) }),
5638
+ /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Text_default, { size: "xs", fontWeight: "bold", children: subtitle }) }),
5639
+ /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)(Text_default, { size: "xs", fontWeight: "normal", children: [
5413
5640
  "Starting Price ",
5414
5641
  startingPrice,
5415
5642
  " / Guest"
@@ -5417,63 +5644,40 @@ var PackageCard = ({
5417
5644
  ]
5418
5645
  }
5419
5646
  ),
5420
- /* @__PURE__ */ (0, import_jsx_runtime218.jsxs)(Box_default, { display: "flex", gap: "var(--spacing-3)", alignItems: "center", children: [
5421
- days && /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(
5647
+ /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)(Box_default, { display: "flex", gap: "var(--spacing-3)", alignItems: "center", children: [
5648
+ days && /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
5422
5649
  IconLabel_default,
5423
5650
  {
5424
5651
  variant: "Calendar",
5425
5652
  label: `${days} Day${days !== 1 ? "s" : ""}`
5426
5653
  }
5427
5654
  ),
5428
- guests && /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(
5655
+ guests && /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
5429
5656
  IconLabel_default,
5430
5657
  {
5431
5658
  variant: "User",
5432
5659
  label: `${guests} Guest${guests !== 1 ? "s" : ""}`
5433
5660
  }
5434
5661
  ),
5435
- hasLodging && /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(IconLabel_default, { variant: "House", label: "Lodging" })
5662
+ hasLodging && /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(IconLabel_default, { variant: "House", label: "Lodging" })
5436
5663
  ] })
5437
5664
  ] })
5438
5665
  ] });
5439
5666
  };
5440
5667
  var PackageCard_default = PackageCard;
5441
5668
 
5442
- // src/TagChip/TagChip.tsx
5443
- var import_jsx_runtime219 = require("@emotion/react/jsx-runtime");
5444
- var TagChip = ({
5445
- className,
5446
- children
5447
- }) => {
5448
- return /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
5449
- Box_default,
5450
- {
5451
- display: "inline-flex",
5452
- alignItems: "center",
5453
- backgroundColor: "var(--surface-subtle)",
5454
- borderRadius: "var(--spacing-6)",
5455
- border: "1px solid var(--color-brown-200)",
5456
- px: "var(--spacing-4)",
5457
- py: "var(--spacing-3)",
5458
- className,
5459
- children: /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(Text_default, { as: "span", size: "xs", fontWeight: "normal", children })
5460
- }
5461
- );
5462
- };
5463
- var TagChip_default = TagChip;
5464
-
5465
5669
  // src/Widget/Widget.tsx
5466
- var import_react31 = require("react");
5670
+ var import_react35 = require("react");
5467
5671
 
5468
5672
  // src/Widget/Widget.styles.ts
5469
- var import_react30 = require("@emotion/react");
5470
- var fixedContainer = import_react30.css`
5673
+ var import_react34 = require("@emotion/react");
5674
+ var fixedContainer = import_react34.css`
5471
5675
  position: fixed;
5472
5676
  right: var(--spacing-6);
5473
5677
  bottom: var(--spacing-6);
5474
5678
  z-index: 50;
5475
5679
  `;
5476
- var panelContainer = import_react30.css`
5680
+ var panelContainer = import_react34.css`
5477
5681
  position: absolute;
5478
5682
  right: 0;
5479
5683
  bottom: 0;
@@ -5489,7 +5693,7 @@ var panelContainer = import_react30.css`
5489
5693
  justify-content: stretch;
5490
5694
  }
5491
5695
  `;
5492
- var panelCard = (width2) => import_react30.css`
5696
+ var panelCard = (width2) => import_react34.css`
5493
5697
  background: var(--surface-page);
5494
5698
  color: var(--text-primary);
5495
5699
  border: 1px solid var(--border-primary);
@@ -5512,13 +5716,13 @@ var panelCard = (width2) => import_react30.css`
5512
5716
  overflow: auto;
5513
5717
  }
5514
5718
  `;
5515
- var headerRow = import_react30.css`
5719
+ var headerRow = import_react34.css`
5516
5720
  display: flex;
5517
5721
  align-items: center;
5518
5722
  justify-content: space-between;
5519
5723
  gap: var(--spacing-4);
5520
5724
  `;
5521
- var badge = import_react30.css`
5725
+ var badge = import_react34.css`
5522
5726
  width: 42px;
5523
5727
  height: 42px;
5524
5728
  border-radius: 9999px;
@@ -5528,20 +5732,23 @@ var badge = import_react30.css`
5528
5732
  background-color: var(--color-primary-500);
5529
5733
  color: var(--color-base-white);
5530
5734
  `;
5531
- var closeButtonContent = import_react30.css`
5735
+ var closeButtonContent = import_react34.css`
5532
5736
  display: inline-flex;
5533
5737
  align-items: center;
5534
5738
  gap: var(--spacing-2);
5535
5739
  `;
5536
- var closeButtonIcon = import_react30.css`
5740
+ var closeButtonIcon = import_react34.css`
5537
5741
  display: block;
5538
5742
  `;
5743
+ var widgetTrigger = import_react34.css`
5744
+ margin: var(--spacing-1);
5745
+ `;
5539
5746
 
5540
5747
  // src/Widget/Widget.tsx
5541
- var import_jsx_runtime220 = require("@emotion/react/jsx-runtime");
5542
- var WidgetContext = (0, import_react31.createContext)(null);
5748
+ var import_jsx_runtime221 = require("@emotion/react/jsx-runtime");
5749
+ var WidgetContext = (0, import_react35.createContext)(null);
5543
5750
  var useWidgetContext = () => {
5544
- const ctx = (0, import_react31.useContext)(WidgetContext);
5751
+ const ctx = (0, import_react35.useContext)(WidgetContext);
5545
5752
  if (!ctx)
5546
5753
  throw new Error("Widget subcomponents must be used within <Widget>");
5547
5754
  return ctx;
@@ -5549,7 +5756,7 @@ var useWidgetContext = () => {
5549
5756
  var WidgetTrigger = () => {
5550
5757
  const { expanded, toggle, triggerRef, icon, expandedIcon } = useWidgetContext();
5551
5758
  const currentIcon = expanded ? expandedIcon : icon;
5552
- return /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(import_jsx_runtime220.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
5759
+ return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(import_jsx_runtime221.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
5553
5760
  Button_default,
5554
5761
  {
5555
5762
  ref: triggerRef,
@@ -5557,7 +5764,8 @@ var WidgetTrigger = () => {
5557
5764
  "aria-haspopup": "dialog",
5558
5765
  onClick: toggle,
5559
5766
  size: "lg",
5560
- icon: /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Icon_default, { variant: currentIcon, size: 8 })
5767
+ icon: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Icon_default, { variant: currentIcon, size: 8 }),
5768
+ css: widgetTrigger
5561
5769
  }
5562
5770
  ) });
5563
5771
  };
@@ -5565,28 +5773,28 @@ var WidgetPanel = ({ className, style, children }) => {
5565
5773
  const { expanded, panelWidth, header, icon, toggle } = useWidgetContext();
5566
5774
  if (!expanded)
5567
5775
  return null;
5568
- return /* @__PURE__ */ (0, import_jsx_runtime220.jsx)("div", { css: panelContainer, className, style, children: /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)(Box_default, { css: panelCard(panelWidth), role: "dialog", "aria-modal": true, children: [
5569
- header && /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)(import_jsx_runtime220.Fragment, { children: [
5570
- /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)("div", { css: headerRow, children: [
5571
- /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: 16 }, children: [
5572
- /* @__PURE__ */ (0, import_jsx_runtime220.jsx)("span", { css: badge, children: /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Icon_default, { variant: icon, size: 6 }) }),
5573
- /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Heading_default, { size: "2xs", fontWeight: "bold", color: "gray.900", children: header })
5776
+ return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("div", { css: panelContainer, className, style, children: /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)(Box_default, { css: panelCard(panelWidth), role: "dialog", "aria-modal": true, children: [
5777
+ header && /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)(import_jsx_runtime221.Fragment, { children: [
5778
+ /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)("div", { css: headerRow, children: [
5779
+ /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: 16 }, children: [
5780
+ /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { css: badge, children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Icon_default, { variant: icon, size: 6 }) }),
5781
+ /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Heading_default, { size: "2xs", fontWeight: "bold", color: "gray.900", children: header })
5574
5782
  ] }),
5575
- /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
5783
+ /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
5576
5784
  Button_default,
5577
5785
  {
5578
5786
  variant: "text",
5579
5787
  size: "xs",
5580
5788
  "aria-label": "Close widget",
5581
5789
  onClick: toggle,
5582
- children: /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)("span", { css: closeButtonContent, children: [
5583
- /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Icon_default, { variant: "Xmark", size: 5, css: closeButtonIcon }),
5584
- /* @__PURE__ */ (0, import_jsx_runtime220.jsx)("span", { children: "Close" })
5790
+ children: /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)("span", { css: closeButtonContent, children: [
5791
+ /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Icon_default, { variant: "Xmark", size: 5, css: closeButtonIcon }),
5792
+ /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { children: "Close" })
5585
5793
  ] })
5586
5794
  }
5587
5795
  )
5588
5796
  ] }),
5589
- /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Divider_default, {})
5797
+ /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Divider_default, {})
5590
5798
  ] }),
5591
5799
  children
5592
5800
  ] }) });
@@ -5604,12 +5812,12 @@ var WidgetRoot = ({
5604
5812
  children,
5605
5813
  header
5606
5814
  }) => {
5607
- const [internalExpanded, setInternalExpanded] = (0, import_react31.useState)(defaultExpanded);
5815
+ const [internalExpanded, setInternalExpanded] = (0, import_react35.useState)(defaultExpanded);
5608
5816
  const isControlled = typeof expanded === "boolean";
5609
5817
  const isExpanded = isControlled ? expanded : internalExpanded;
5610
- const triggerRef = (0, import_react31.useRef)(null);
5611
- const containerRef = (0, import_react31.useRef)(null);
5612
- const setExpanded = (0, import_react31.useCallback)(
5818
+ const triggerRef = (0, import_react35.useRef)(null);
5819
+ const containerRef = (0, import_react35.useRef)(null);
5820
+ const setExpanded = (0, import_react35.useCallback)(
5613
5821
  (next) => {
5614
5822
  if (!isControlled)
5615
5823
  setInternalExpanded(next);
@@ -5623,11 +5831,11 @@ var WidgetRoot = ({
5623
5831
  },
5624
5832
  [isControlled, onExpandedChange]
5625
5833
  );
5626
- const toggle = (0, import_react31.useCallback)(
5834
+ const toggle = (0, import_react35.useCallback)(
5627
5835
  () => setExpanded(!isExpanded),
5628
5836
  [isExpanded, setExpanded]
5629
5837
  );
5630
- (0, import_react31.useEffect)(() => {
5838
+ (0, import_react35.useEffect)(() => {
5631
5839
  if (!isExpanded)
5632
5840
  return;
5633
5841
  const onDocClick = (e) => {
@@ -5641,7 +5849,7 @@ var WidgetRoot = ({
5641
5849
  document.addEventListener("mousedown", onDocClick);
5642
5850
  return () => document.removeEventListener("mousedown", onDocClick);
5643
5851
  }, [isExpanded, setExpanded]);
5644
- (0, import_react31.useEffect)(() => {
5852
+ (0, import_react35.useEffect)(() => {
5645
5853
  if (!isExpanded)
5646
5854
  return;
5647
5855
  const onKey = (e) => {
@@ -5651,12 +5859,12 @@ var WidgetRoot = ({
5651
5859
  document.addEventListener("keydown", onKey);
5652
5860
  return () => document.removeEventListener("keydown", onKey);
5653
5861
  }, [isExpanded, setExpanded]);
5654
- const sizePx = (0, import_react31.useMemo)(() => {
5862
+ const sizePx = (0, import_react35.useMemo)(() => {
5655
5863
  if (typeof size === "number")
5656
5864
  return size;
5657
5865
  return 56;
5658
5866
  }, [size]);
5659
- const value = (0, import_react31.useMemo)(
5867
+ const value = (0, import_react35.useMemo)(
5660
5868
  () => ({
5661
5869
  expanded: isExpanded,
5662
5870
  toggle,
@@ -5669,14 +5877,14 @@ var WidgetRoot = ({
5669
5877
  }),
5670
5878
  [expandedIcon, icon, isExpanded, panelWidth, sizePx, toggle, header]
5671
5879
  );
5672
- return /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
5880
+ return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
5673
5881
  "div",
5674
5882
  {
5675
5883
  ref: containerRef,
5676
5884
  css: fixedContainer,
5677
5885
  className,
5678
5886
  "aria-label": ariaLabel,
5679
- children: /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(WidgetContext.Provider, { value, children })
5887
+ children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(WidgetContext.Provider, { value, children })
5680
5888
  }
5681
5889
  );
5682
5890
  };
@@ -5705,6 +5913,7 @@ var Widget_default = Widget;
5705
5913
  IconLabel,
5706
5914
  Input,
5707
5915
  LayoutTokens,
5916
+ ListingChat,
5708
5917
  Logo,
5709
5918
  MessageBubble,
5710
5919
  Navigation,