@landtrustinc/design-system 1.2.44 → 1.2.47-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +163 -3
- package/dist/index.js +954 -303
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -55,6 +55,8 @@ __export(src_exports, {
|
|
|
55
55
|
Icon: () => Icon_default,
|
|
56
56
|
IconLabel: () => IconLabel_default,
|
|
57
57
|
IconSizeMap: () => IconSizeMap,
|
|
58
|
+
ImageGalleryModal: () => ImageGalleryModal_default,
|
|
59
|
+
ImageGalleryModalComponent: () => ImageGalleryModal,
|
|
58
60
|
InfoBox: () => InfoBox_default,
|
|
59
61
|
Input: () => Input,
|
|
60
62
|
LandownerProfile: () => LandownerProfile_default,
|
|
@@ -63,6 +65,8 @@ __export(src_exports, {
|
|
|
63
65
|
Logo: () => Logo_default,
|
|
64
66
|
MarkdownContent: () => MarkdownContent_default,
|
|
65
67
|
MessageBubble: () => MessageBubble_default,
|
|
68
|
+
Modal: () => Modal_default,
|
|
69
|
+
ModalComponent: () => Modal,
|
|
66
70
|
Navigation: () => Navigation_default,
|
|
67
71
|
PackageCard: () => PackageCard_default,
|
|
68
72
|
PackageHeader: () => PackageHeader_default,
|
|
@@ -6072,14 +6076,44 @@ var getRootStyles = (variant) => import_react29.css`
|
|
|
6072
6076
|
gap: var(--spacing-1);
|
|
6073
6077
|
align-items: ${variant === "sent" ? "flex-end" : "flex-start"};
|
|
6074
6078
|
`;
|
|
6079
|
+
var getOuterWrapperStyles = (variant) => import_react29.css`
|
|
6080
|
+
display: flex;
|
|
6081
|
+
flex-direction: ${variant === "sent" ? "row-reverse" : "row"};
|
|
6082
|
+
gap: var(--spacing-3);
|
|
6083
|
+
align-items: flex-start;
|
|
6084
|
+
width: 100%;
|
|
6085
|
+
`;
|
|
6086
|
+
var avatarWrapperStyles = import_react29.css`
|
|
6087
|
+
flex-shrink: 0;
|
|
6088
|
+
width: 43px;
|
|
6089
|
+
height: 43px;
|
|
6090
|
+
|
|
6091
|
+
img,
|
|
6092
|
+
div {
|
|
6093
|
+
width: 43px !important;
|
|
6094
|
+
height: 43px !important;
|
|
6095
|
+
}
|
|
6096
|
+
`;
|
|
6097
|
+
var contentWrapperStyles = import_react29.css`
|
|
6098
|
+
display: flex;
|
|
6099
|
+
flex-direction: column;
|
|
6100
|
+
gap: var(--spacing-1);
|
|
6101
|
+
flex: 1;
|
|
6102
|
+
min-width: 0;
|
|
6103
|
+
`;
|
|
6104
|
+
var getHeaderStyles = (variant) => import_react29.css`
|
|
6105
|
+
display: flex;
|
|
6106
|
+
align-items: center;
|
|
6107
|
+
gap: var(--spacing-2);
|
|
6108
|
+
flex-direction: ${variant === "sent" ? "row-reverse" : "row"};
|
|
6109
|
+
`;
|
|
6075
6110
|
var getBubbleStyles = (variant) => import_react29.css`
|
|
6076
6111
|
max-width: 100%;
|
|
6077
6112
|
width: 100%;
|
|
6078
6113
|
box-sizing: border-box;
|
|
6079
6114
|
display: flex;
|
|
6080
|
-
|
|
6081
|
-
|
|
6082
|
-
justify-content: center;
|
|
6115
|
+
flex-direction: column;
|
|
6116
|
+
gap: var(--spacing-2);
|
|
6083
6117
|
padding: var(--spacing-4);
|
|
6084
6118
|
background-color: ${variant === "sent" ? "var(--color-neutral-900)" : "var(--surface-neutral)"};
|
|
6085
6119
|
color: ${variant === "sent" ? "var(--color-base-white)" : "var(--text-primary)"};
|
|
@@ -6089,6 +6123,9 @@ var getBubbleStyles = (variant) => import_react29.css`
|
|
|
6089
6123
|
border-bottom-left-radius: ${variant === "sent" ? "var(--radius-lg)" : "0"};
|
|
6090
6124
|
border-bottom-right-radius: ${variant === "sent" ? "0" : "var(--radius-lg)"};
|
|
6091
6125
|
`;
|
|
6126
|
+
var getTimestampStyles = (variant) => import_react29.css`
|
|
6127
|
+
text-align: ${variant === "sent" ? "right" : "left"};
|
|
6128
|
+
`;
|
|
6092
6129
|
var contentStyles = import_react29.css`
|
|
6093
6130
|
flex: 1 1 auto;
|
|
6094
6131
|
min-width: 1px;
|
|
@@ -6100,21 +6137,38 @@ var import_jsx_runtime226 = require("@emotion/react/jsx-runtime");
|
|
|
6100
6137
|
var MessageBubble = ({
|
|
6101
6138
|
variant = "sent",
|
|
6102
6139
|
timestamp,
|
|
6140
|
+
avatarSrc,
|
|
6141
|
+
author,
|
|
6103
6142
|
className,
|
|
6104
6143
|
children
|
|
6105
6144
|
}) => {
|
|
6106
|
-
|
|
6107
|
-
|
|
6108
|
-
|
|
6145
|
+
const hasAvatar = !!avatarSrc;
|
|
6146
|
+
return /* @__PURE__ */ (0, import_jsx_runtime226.jsx)("div", { className, css: getRootStyles(variant), children: /* @__PURE__ */ (0, import_jsx_runtime226.jsxs)("div", { css: getOuterWrapperStyles(variant), children: [
|
|
6147
|
+
hasAvatar && /* @__PURE__ */ (0, import_jsx_runtime226.jsx)("div", { css: avatarWrapperStyles, children: /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
|
|
6148
|
+
Avatar_default,
|
|
6109
6149
|
{
|
|
6110
|
-
|
|
6111
|
-
|
|
6112
|
-
|
|
6113
|
-
|
|
6150
|
+
type: "image",
|
|
6151
|
+
src: avatarSrc,
|
|
6152
|
+
alt: author || "Avatar",
|
|
6153
|
+
size: "sm"
|
|
6114
6154
|
}
|
|
6115
|
-
),
|
|
6116
|
-
/* @__PURE__ */ (0, import_jsx_runtime226.
|
|
6117
|
-
|
|
6155
|
+
) }),
|
|
6156
|
+
/* @__PURE__ */ (0, import_jsx_runtime226.jsxs)("div", { css: contentWrapperStyles, children: [
|
|
6157
|
+
author && /* @__PURE__ */ (0, import_jsx_runtime226.jsx)("div", { css: getHeaderStyles(variant), children: /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(Text_default, { size: "sm", fontWeight: "semibold", color: "var(--text-primary)", children: author }) }),
|
|
6158
|
+
/* @__PURE__ */ (0, import_jsx_runtime226.jsxs)("div", { css: getBubbleStyles(variant), children: [
|
|
6159
|
+
/* @__PURE__ */ (0, import_jsx_runtime226.jsx)("div", { css: contentStyles, children }),
|
|
6160
|
+
timestamp && /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
|
|
6161
|
+
Text_default,
|
|
6162
|
+
{
|
|
6163
|
+
size: "xs",
|
|
6164
|
+
color: "var(--text-secondary)",
|
|
6165
|
+
css: getTimestampStyles(variant),
|
|
6166
|
+
children: timestamp
|
|
6167
|
+
}
|
|
6168
|
+
)
|
|
6169
|
+
] })
|
|
6170
|
+
] })
|
|
6171
|
+
] }) });
|
|
6118
6172
|
};
|
|
6119
6173
|
var MessageBubble_default = MessageBubble;
|
|
6120
6174
|
|
|
@@ -7713,11 +7767,11 @@ var GridContainer = ({
|
|
|
7713
7767
|
className,
|
|
7714
7768
|
...props
|
|
7715
7769
|
}) => {
|
|
7716
|
-
const
|
|
7770
|
+
const containerStyles5 = [
|
|
7717
7771
|
baseContainerStyles,
|
|
7718
7772
|
generateMaxWidthStyles(maxWidth)
|
|
7719
7773
|
];
|
|
7720
|
-
return /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(Box_default, { css:
|
|
7774
|
+
return /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(Box_default, { css: containerStyles5, className, ...props, children });
|
|
7721
7775
|
};
|
|
7722
7776
|
var GridContainer_default = GridContainer;
|
|
7723
7777
|
|
|
@@ -7785,10 +7839,603 @@ var HuntCard = ({
|
|
|
7785
7839
|
};
|
|
7786
7840
|
var HuntCard_default = HuntCard;
|
|
7787
7841
|
|
|
7788
|
-
// src/
|
|
7842
|
+
// src/ImageGalleryModal/ImageGalleryModal.tsx
|
|
7843
|
+
var import_react52 = require("react");
|
|
7844
|
+
|
|
7845
|
+
// src/Modal/Modal.tsx
|
|
7846
|
+
var import_react50 = require("react");
|
|
7847
|
+
var import_react_dom3 = __toESM(require("react-dom"));
|
|
7848
|
+
|
|
7849
|
+
// src/Modal/Modal.styles.ts
|
|
7850
|
+
var import_react49 = require("@emotion/react");
|
|
7851
|
+
var fadeIn = import_react49.keyframes`
|
|
7852
|
+
from {
|
|
7853
|
+
opacity: 0;
|
|
7854
|
+
}
|
|
7855
|
+
to {
|
|
7856
|
+
opacity: 1;
|
|
7857
|
+
}
|
|
7858
|
+
`;
|
|
7859
|
+
var fadeInScale = import_react49.keyframes`
|
|
7860
|
+
from {
|
|
7861
|
+
opacity: 0;
|
|
7862
|
+
transform: scale(0.95);
|
|
7863
|
+
}
|
|
7864
|
+
to {
|
|
7865
|
+
opacity: 1;
|
|
7866
|
+
transform: scale(1);
|
|
7867
|
+
}
|
|
7868
|
+
`;
|
|
7869
|
+
var scrollLayerStyles = import_react49.css`
|
|
7870
|
+
background-color: rgba(0, 0, 0, 0.6);
|
|
7871
|
+
backdrop-filter: blur(4px);
|
|
7872
|
+
animation: ${fadeIn} 0.15s ease-out forwards;
|
|
7873
|
+
|
|
7874
|
+
@media (prefers-reduced-motion: reduce) {
|
|
7875
|
+
animation: none;
|
|
7876
|
+
}
|
|
7877
|
+
`;
|
|
7878
|
+
var containerStyles2 = import_react49.css`
|
|
7879
|
+
background-color: var(--surface-primary, #ffffff);
|
|
7880
|
+
border-radius: var(--radius-lg, 12px);
|
|
7881
|
+
max-height: calc(100dvh - var(--spacing-8));
|
|
7882
|
+
box-shadow: var(--shadow-xl, 0 20px 40px 0 rgba(0, 0, 0, 0.3));
|
|
7883
|
+
animation: ${fadeInScale} 0.2s ease-out 0.05s both;
|
|
7884
|
+
|
|
7885
|
+
@media (prefers-reduced-motion: reduce) {
|
|
7886
|
+
animation: none;
|
|
7887
|
+
}
|
|
7888
|
+
`;
|
|
7889
|
+
var sizeStyles3 = {
|
|
7890
|
+
sm: import_react49.css`
|
|
7891
|
+
width: 100%;
|
|
7892
|
+
max-width: 24rem; /* 384px */
|
|
7893
|
+
padding: var(--spacing-5);
|
|
7894
|
+
`,
|
|
7895
|
+
md: import_react49.css`
|
|
7896
|
+
width: 100%;
|
|
7897
|
+
max-width: 32rem; /* 512px */
|
|
7898
|
+
padding: var(--spacing-6);
|
|
7899
|
+
`,
|
|
7900
|
+
lg: import_react49.css`
|
|
7901
|
+
width: 100%;
|
|
7902
|
+
max-width: 48rem; /* 768px */
|
|
7903
|
+
padding: var(--spacing-6);
|
|
7904
|
+
|
|
7905
|
+
${media.lg} {
|
|
7906
|
+
padding: var(--spacing-8);
|
|
7907
|
+
}
|
|
7908
|
+
`,
|
|
7909
|
+
xl: import_react49.css`
|
|
7910
|
+
width: 100%;
|
|
7911
|
+
max-width: 64rem; /* 1024px */
|
|
7912
|
+
padding: var(--spacing-6);
|
|
7913
|
+
|
|
7914
|
+
${media.lg} {
|
|
7915
|
+
padding: var(--spacing-8);
|
|
7916
|
+
}
|
|
7917
|
+
`,
|
|
7918
|
+
full: import_react49.css`
|
|
7919
|
+
width: calc(100vw - var(--spacing-8));
|
|
7920
|
+
height: calc(100dvh - var(--spacing-8));
|
|
7921
|
+
max-width: none;
|
|
7922
|
+
max-height: none;
|
|
7923
|
+
padding: 0;
|
|
7924
|
+
border-radius: var(--radius-md, 8px);
|
|
7925
|
+
`
|
|
7926
|
+
};
|
|
7927
|
+
var closeButtonStyles = import_react49.css`
|
|
7928
|
+
position: absolute;
|
|
7929
|
+
top: var(--spacing-4);
|
|
7930
|
+
right: var(--spacing-4);
|
|
7931
|
+
z-index: 1;
|
|
7932
|
+
`;
|
|
7933
|
+
var closeButtonFullStyles = import_react49.css`
|
|
7934
|
+
top: var(--spacing-3);
|
|
7935
|
+
right: var(--spacing-3);
|
|
7936
|
+
background-color: rgba(255, 255, 255, 0.9);
|
|
7937
|
+
border-radius: var(--radius-xxl, 25px);
|
|
7938
|
+
padding: var(--spacing-2) var(--spacing-4);
|
|
7939
|
+
|
|
7940
|
+
&:hover {
|
|
7941
|
+
background-color: var(--color-base-white, #ffffff);
|
|
7942
|
+
}
|
|
7943
|
+
`;
|
|
7944
|
+
|
|
7945
|
+
// src/Modal/Modal.tsx
|
|
7789
7946
|
var import_jsx_runtime241 = require("@emotion/react/jsx-runtime");
|
|
7947
|
+
var Modal = ({
|
|
7948
|
+
id,
|
|
7949
|
+
isOpen,
|
|
7950
|
+
onClose,
|
|
7951
|
+
children,
|
|
7952
|
+
size = "md",
|
|
7953
|
+
closeOnOutsideClick = true,
|
|
7954
|
+
closeOnEscape = true,
|
|
7955
|
+
showCloseButton = true,
|
|
7956
|
+
closeButtonIcon = "Xmark",
|
|
7957
|
+
scrollLayerStyles: customScrollLayerStyles,
|
|
7958
|
+
containerStyles: customContainerStyles,
|
|
7959
|
+
contentStyles: customContentStyles,
|
|
7960
|
+
closeButtonStyles: customCloseButtonStyles,
|
|
7961
|
+
className,
|
|
7962
|
+
ariaLabel,
|
|
7963
|
+
ariaDescribedBy
|
|
7964
|
+
}) => {
|
|
7965
|
+
const containerRef = (0, import_react50.useRef)(null);
|
|
7966
|
+
const previousScrollY = (0, import_react50.useRef)(0);
|
|
7967
|
+
const previousActiveElement = (0, import_react50.useRef)(null);
|
|
7968
|
+
const handleKeyDown = (0, import_react50.useCallback)(
|
|
7969
|
+
(event) => {
|
|
7970
|
+
if (closeOnEscape && event.key === "Escape" && onClose) {
|
|
7971
|
+
onClose(event);
|
|
7972
|
+
}
|
|
7973
|
+
},
|
|
7974
|
+
[closeOnEscape, onClose]
|
|
7975
|
+
);
|
|
7976
|
+
(0, import_react50.useEffect)(() => {
|
|
7977
|
+
if (isOpen) {
|
|
7978
|
+
previousScrollY.current = window.scrollY;
|
|
7979
|
+
previousActiveElement.current = document.activeElement;
|
|
7980
|
+
document.body.style.position = "fixed";
|
|
7981
|
+
document.body.style.top = `-${previousScrollY.current}px`;
|
|
7982
|
+
document.body.style.width = "100%";
|
|
7983
|
+
document.body.style.overflow = "hidden";
|
|
7984
|
+
document.addEventListener("keydown", handleKeyDown);
|
|
7985
|
+
if (containerRef.current) {
|
|
7986
|
+
containerRef.current.focus();
|
|
7987
|
+
}
|
|
7988
|
+
} else {
|
|
7989
|
+
document.body.style.position = "";
|
|
7990
|
+
document.body.style.overflow = "";
|
|
7991
|
+
document.body.style.width = "";
|
|
7992
|
+
document.body.style.top = "";
|
|
7993
|
+
window.scrollTo(0, previousScrollY.current);
|
|
7994
|
+
if (previousActiveElement.current instanceof HTMLElement) {
|
|
7995
|
+
previousActiveElement.current.focus();
|
|
7996
|
+
}
|
|
7997
|
+
}
|
|
7998
|
+
return () => {
|
|
7999
|
+
document.removeEventListener("keydown", handleKeyDown);
|
|
8000
|
+
document.body.style.position = "";
|
|
8001
|
+
document.body.style.overflow = "";
|
|
8002
|
+
document.body.style.width = "";
|
|
8003
|
+
document.body.style.top = "";
|
|
8004
|
+
};
|
|
8005
|
+
}, [isOpen, handleKeyDown]);
|
|
8006
|
+
const handleClose = (0, import_react50.useCallback)(
|
|
8007
|
+
(event) => {
|
|
8008
|
+
if (onClose) {
|
|
8009
|
+
onClose(event);
|
|
8010
|
+
}
|
|
8011
|
+
},
|
|
8012
|
+
[onClose]
|
|
8013
|
+
);
|
|
8014
|
+
const handleBackdropClick = (0, import_react50.useCallback)(
|
|
8015
|
+
(event) => {
|
|
8016
|
+
if (!closeOnOutsideClick || !containerRef.current || containerRef.current.contains(event.target)) {
|
|
8017
|
+
return;
|
|
8018
|
+
}
|
|
8019
|
+
handleClose(event);
|
|
8020
|
+
},
|
|
8021
|
+
[closeOnOutsideClick, handleClose]
|
|
8022
|
+
);
|
|
8023
|
+
if (!isOpen) {
|
|
8024
|
+
return null;
|
|
8025
|
+
}
|
|
8026
|
+
if (typeof document === "undefined") {
|
|
8027
|
+
return null;
|
|
8028
|
+
}
|
|
8029
|
+
const closeButton = showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(
|
|
8030
|
+
Button_default,
|
|
8031
|
+
{
|
|
8032
|
+
onClick: handleClose,
|
|
8033
|
+
css: [
|
|
8034
|
+
closeButtonStyles,
|
|
8035
|
+
size === "full" && closeButtonFullStyles,
|
|
8036
|
+
customCloseButtonStyles
|
|
8037
|
+
],
|
|
8038
|
+
"data-testid": `modal-close-button-${id}`,
|
|
8039
|
+
"aria-label": "Close modal",
|
|
8040
|
+
variant: "text",
|
|
8041
|
+
size: "xs",
|
|
8042
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime241.jsxs)(
|
|
8043
|
+
Box_default,
|
|
8044
|
+
{
|
|
8045
|
+
as: "span",
|
|
8046
|
+
display: "inline-flex",
|
|
8047
|
+
alignItems: "center",
|
|
8048
|
+
gap: "var(--spacing-2)",
|
|
8049
|
+
children: [
|
|
8050
|
+
/* @__PURE__ */ (0, import_jsx_runtime241.jsx)(Icon_default, { variant: closeButtonIcon, size: "medium" }),
|
|
8051
|
+
/* @__PURE__ */ (0, import_jsx_runtime241.jsx)("span", { children: "Close" })
|
|
8052
|
+
]
|
|
8053
|
+
}
|
|
8054
|
+
)
|
|
8055
|
+
}
|
|
8056
|
+
);
|
|
8057
|
+
return import_react_dom3.default.createPortal(
|
|
8058
|
+
/* @__PURE__ */ (0, import_jsx_runtime241.jsx)(
|
|
8059
|
+
Box_default,
|
|
8060
|
+
{
|
|
8061
|
+
display: "flex",
|
|
8062
|
+
flexDirection: "column",
|
|
8063
|
+
position: "fixed",
|
|
8064
|
+
top: 0,
|
|
8065
|
+
right: 0,
|
|
8066
|
+
bottom: 0,
|
|
8067
|
+
left: 0,
|
|
8068
|
+
width: "100%",
|
|
8069
|
+
zIndex: 9999,
|
|
8070
|
+
className,
|
|
8071
|
+
role: "presentation",
|
|
8072
|
+
"data-testid": `modal-${id}`,
|
|
8073
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(
|
|
8074
|
+
Box_default,
|
|
8075
|
+
{
|
|
8076
|
+
display: "flex",
|
|
8077
|
+
justifyContent: "center",
|
|
8078
|
+
alignItems: "center",
|
|
8079
|
+
flex: "1",
|
|
8080
|
+
overflow: "auto",
|
|
8081
|
+
p: "var(--spacing-4)",
|
|
8082
|
+
css: [scrollLayerStyles, customScrollLayerStyles],
|
|
8083
|
+
onClick: handleBackdropClick,
|
|
8084
|
+
onKeyDown: (e) => e.key === "Escape" && handleClose(e),
|
|
8085
|
+
role: "presentation",
|
|
8086
|
+
"data-testid": `modal-backdrop-${id}`,
|
|
8087
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime241.jsxs)(
|
|
8088
|
+
Box_default,
|
|
8089
|
+
{
|
|
8090
|
+
ref: containerRef,
|
|
8091
|
+
display: "flex",
|
|
8092
|
+
flexDirection: "column",
|
|
8093
|
+
position: "relative",
|
|
8094
|
+
overflow: "hidden",
|
|
8095
|
+
css: [
|
|
8096
|
+
containerStyles2,
|
|
8097
|
+
sizeStyles3[size],
|
|
8098
|
+
customContainerStyles
|
|
8099
|
+
],
|
|
8100
|
+
role: "dialog",
|
|
8101
|
+
"aria-modal": "true",
|
|
8102
|
+
"aria-label": ariaLabel,
|
|
8103
|
+
"aria-describedby": ariaDescribedBy,
|
|
8104
|
+
tabIndex: -1,
|
|
8105
|
+
children: [
|
|
8106
|
+
closeButton,
|
|
8107
|
+
/* @__PURE__ */ (0, import_jsx_runtime241.jsx)(Box_default, { flex: "1", overflow: "auto", css: customContentStyles, children })
|
|
8108
|
+
]
|
|
8109
|
+
}
|
|
8110
|
+
)
|
|
8111
|
+
}
|
|
8112
|
+
)
|
|
8113
|
+
}
|
|
8114
|
+
),
|
|
8115
|
+
document.body
|
|
8116
|
+
);
|
|
8117
|
+
};
|
|
8118
|
+
Modal.displayName = "Modal";
|
|
8119
|
+
var Modal_default = Modal;
|
|
8120
|
+
|
|
8121
|
+
// src/ImageGalleryModal/ImageGalleryModal.styles.ts
|
|
8122
|
+
var import_react51 = require("@emotion/react");
|
|
8123
|
+
var galleryBackgroundStyles = import_react51.css`
|
|
8124
|
+
background-color: var(--color-base-black, #000000);
|
|
8125
|
+
`;
|
|
8126
|
+
var imageStyles2 = import_react51.css`
|
|
8127
|
+
max-width: 100%;
|
|
8128
|
+
max-height: 100%;
|
|
8129
|
+
width: auto;
|
|
8130
|
+
height: auto;
|
|
8131
|
+
object-fit: contain;
|
|
8132
|
+
border-radius: var(--radius-md, 8px);
|
|
8133
|
+
|
|
8134
|
+
${media.md} {
|
|
8135
|
+
max-height: calc(100vh - var(--spacing-32));
|
|
8136
|
+
}
|
|
8137
|
+
`;
|
|
8138
|
+
var counterStyles = import_react51.css`
|
|
8139
|
+
transform: translateX(-50%);
|
|
8140
|
+
color: var(--color-base-white, #ffffff);
|
|
8141
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
8142
|
+
padding: var(--spacing-2) var(--spacing-4);
|
|
8143
|
+
border-radius: var(--radius-full, 9999px);
|
|
8144
|
+
`;
|
|
8145
|
+
var captionStyles = import_react51.css`
|
|
8146
|
+
transform: translateX(-50%);
|
|
8147
|
+
color: var(--color-base-white, #ffffff);
|
|
8148
|
+
text-align: center;
|
|
8149
|
+
padding: var(--spacing-2) var(--spacing-4);
|
|
8150
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
8151
|
+
border-radius: var(--radius-md, 8px);
|
|
8152
|
+
max-width: 80%;
|
|
8153
|
+
`;
|
|
8154
|
+
var navigationButtonStyles = import_react51.css`
|
|
8155
|
+
position: absolute;
|
|
8156
|
+
top: 50%;
|
|
8157
|
+
transform: translateY(-50%);
|
|
8158
|
+
width: var(--spacing-12);
|
|
8159
|
+
height: var(--spacing-12);
|
|
8160
|
+
background-color: rgba(255, 255, 255, 0.9);
|
|
8161
|
+
border: none;
|
|
8162
|
+
border-radius: var(--radius-round, 50%);
|
|
8163
|
+
display: flex;
|
|
8164
|
+
align-items: center;
|
|
8165
|
+
justify-content: center;
|
|
8166
|
+
cursor: pointer;
|
|
8167
|
+
z-index: 10;
|
|
8168
|
+
transition: background-color 0.15s ease, transform 0.15s ease;
|
|
8169
|
+
box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
|
|
8170
|
+
|
|
8171
|
+
&:hover {
|
|
8172
|
+
background-color: var(--color-base-white, #ffffff);
|
|
8173
|
+
transform: translateY(-50%) scale(1.05);
|
|
8174
|
+
}
|
|
8175
|
+
|
|
8176
|
+
&:active {
|
|
8177
|
+
transform: translateY(-50%) scale(0.95);
|
|
8178
|
+
}
|
|
8179
|
+
|
|
8180
|
+
&:focus {
|
|
8181
|
+
outline: 2px solid var(--border-focus, #3e704b);
|
|
8182
|
+
outline-offset: 2px;
|
|
8183
|
+
}
|
|
8184
|
+
`;
|
|
8185
|
+
var prevButtonStyles = import_react51.css`
|
|
8186
|
+
${navigationButtonStyles}
|
|
8187
|
+
left: var(--spacing-4);
|
|
8188
|
+
`;
|
|
8189
|
+
var nextButtonStyles = import_react51.css`
|
|
8190
|
+
${navigationButtonStyles}
|
|
8191
|
+
right: var(--spacing-4);
|
|
8192
|
+
`;
|
|
8193
|
+
var dotsContainerPositionStyles = import_react51.css`
|
|
8194
|
+
transform: translateX(-50%);
|
|
8195
|
+
`;
|
|
8196
|
+
var dotStyles = import_react51.css`
|
|
8197
|
+
width: var(--spacing-2);
|
|
8198
|
+
height: var(--spacing-2);
|
|
8199
|
+
border-radius: var(--radius-round, 50%);
|
|
8200
|
+
background-color: rgba(255, 255, 255, 0.5);
|
|
8201
|
+
border: none;
|
|
8202
|
+
padding: 0;
|
|
8203
|
+
cursor: pointer;
|
|
8204
|
+
transition: background-color 0.15s ease, transform 0.15s ease;
|
|
8205
|
+
|
|
8206
|
+
&:hover {
|
|
8207
|
+
background-color: rgba(255, 255, 255, 0.8);
|
|
8208
|
+
transform: scale(1.2);
|
|
8209
|
+
}
|
|
8210
|
+
`;
|
|
8211
|
+
var dotActiveStyles = import_react51.css`
|
|
8212
|
+
background-color: var(--color-base-white, #ffffff);
|
|
8213
|
+
transform: scale(1.2);
|
|
8214
|
+
`;
|
|
8215
|
+
var closeButtonOverrideStyles = import_react51.css`
|
|
8216
|
+
top: var(--spacing-4);
|
|
8217
|
+
right: var(--spacing-4);
|
|
8218
|
+
z-index: 20;
|
|
8219
|
+
background-color: rgba(255, 255, 255, 0.9);
|
|
8220
|
+
border-radius: var(--radius-xxl, 25px);
|
|
8221
|
+
padding: var(--spacing-2) var(--spacing-4);
|
|
8222
|
+
|
|
8223
|
+
&:hover {
|
|
8224
|
+
background-color: var(--color-base-white, #ffffff);
|
|
8225
|
+
}
|
|
8226
|
+
`;
|
|
8227
|
+
var scrollLayerOverrideStyles = import_react51.css`
|
|
8228
|
+
padding: 0;
|
|
8229
|
+
background-color: rgba(0, 0, 0, 0.95);
|
|
8230
|
+
`;
|
|
8231
|
+
var containerOverrideStyles = import_react51.css`
|
|
8232
|
+
background-color: transparent;
|
|
8233
|
+
box-shadow: none;
|
|
8234
|
+
border-radius: 0;
|
|
8235
|
+
max-height: 100dvh;
|
|
8236
|
+
`;
|
|
8237
|
+
var contentOverrideStyles = import_react51.css`
|
|
8238
|
+
height: 100%;
|
|
8239
|
+
padding: 0;
|
|
8240
|
+
`;
|
|
8241
|
+
|
|
8242
|
+
// src/ImageGalleryModal/ImageGalleryModal.tsx
|
|
8243
|
+
var import_jsx_runtime242 = require("@emotion/react/jsx-runtime");
|
|
8244
|
+
var ImageGalleryModal = ({
|
|
8245
|
+
id,
|
|
8246
|
+
isOpen,
|
|
8247
|
+
onClose,
|
|
8248
|
+
images,
|
|
8249
|
+
initialIndex = 0,
|
|
8250
|
+
showDots = true,
|
|
8251
|
+
showArrows = true,
|
|
8252
|
+
showCounter = true,
|
|
8253
|
+
className,
|
|
8254
|
+
ariaLabel = "Image gallery"
|
|
8255
|
+
}) => {
|
|
8256
|
+
const [currentIndex, setCurrentIndex] = (0, import_react52.useState)(initialIndex);
|
|
8257
|
+
(0, import_react52.useEffect)(() => {
|
|
8258
|
+
if (isOpen) {
|
|
8259
|
+
setCurrentIndex(initialIndex);
|
|
8260
|
+
}
|
|
8261
|
+
}, [isOpen, initialIndex]);
|
|
8262
|
+
const handlePrev = (0, import_react52.useCallback)(
|
|
8263
|
+
(e) => {
|
|
8264
|
+
e == null ? void 0 : e.stopPropagation();
|
|
8265
|
+
setCurrentIndex((prev) => prev > 0 ? prev - 1 : images.length - 1);
|
|
8266
|
+
},
|
|
8267
|
+
[images.length]
|
|
8268
|
+
);
|
|
8269
|
+
const handleNext = (0, import_react52.useCallback)(
|
|
8270
|
+
(e) => {
|
|
8271
|
+
e == null ? void 0 : e.stopPropagation();
|
|
8272
|
+
setCurrentIndex((prev) => prev < images.length - 1 ? prev + 1 : 0);
|
|
8273
|
+
},
|
|
8274
|
+
[images.length]
|
|
8275
|
+
);
|
|
8276
|
+
const handleGoTo = (0, import_react52.useCallback)((index) => {
|
|
8277
|
+
setCurrentIndex(index);
|
|
8278
|
+
}, []);
|
|
8279
|
+
(0, import_react52.useEffect)(() => {
|
|
8280
|
+
if (!isOpen)
|
|
8281
|
+
return;
|
|
8282
|
+
const handleKeyDown = (e) => {
|
|
8283
|
+
if (e.key === "ArrowLeft") {
|
|
8284
|
+
e.preventDefault();
|
|
8285
|
+
handlePrev();
|
|
8286
|
+
} else if (e.key === "ArrowRight") {
|
|
8287
|
+
e.preventDefault();
|
|
8288
|
+
handleNext();
|
|
8289
|
+
}
|
|
8290
|
+
};
|
|
8291
|
+
document.addEventListener("keydown", handleKeyDown);
|
|
8292
|
+
return () => document.removeEventListener("keydown", handleKeyDown);
|
|
8293
|
+
}, [isOpen, handlePrev, handleNext]);
|
|
8294
|
+
const currentImage = images[currentIndex];
|
|
8295
|
+
const hasMultipleImages = images.length > 1;
|
|
8296
|
+
return /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
|
|
8297
|
+
Modal_default,
|
|
8298
|
+
{
|
|
8299
|
+
id: `image-gallery-${id}`,
|
|
8300
|
+
isOpen,
|
|
8301
|
+
onClose,
|
|
8302
|
+
size: "full",
|
|
8303
|
+
closeOnOutsideClick: true,
|
|
8304
|
+
closeOnEscape: true,
|
|
8305
|
+
showCloseButton: true,
|
|
8306
|
+
closeButtonStyles: closeButtonOverrideStyles,
|
|
8307
|
+
scrollLayerStyles: scrollLayerOverrideStyles,
|
|
8308
|
+
containerStyles: containerOverrideStyles,
|
|
8309
|
+
contentStyles: contentOverrideStyles,
|
|
8310
|
+
className,
|
|
8311
|
+
ariaLabel,
|
|
8312
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime242.jsxs)(
|
|
8313
|
+
Box_default,
|
|
8314
|
+
{
|
|
8315
|
+
display: "flex",
|
|
8316
|
+
flexDirection: "column",
|
|
8317
|
+
width: "100%",
|
|
8318
|
+
height: "100%",
|
|
8319
|
+
position: "relative",
|
|
8320
|
+
css: galleryBackgroundStyles,
|
|
8321
|
+
children: [
|
|
8322
|
+
showCounter && hasMultipleImages && /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
|
|
8323
|
+
Box_default,
|
|
8324
|
+
{
|
|
8325
|
+
position: "absolute",
|
|
8326
|
+
top: "var(--spacing-4)",
|
|
8327
|
+
left: "50%",
|
|
8328
|
+
zIndex: 10,
|
|
8329
|
+
css: counterStyles,
|
|
8330
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime242.jsxs)(Text_default, { size: "sm", color: "inherit", children: [
|
|
8331
|
+
currentIndex + 1,
|
|
8332
|
+
" / ",
|
|
8333
|
+
images.length
|
|
8334
|
+
] })
|
|
8335
|
+
}
|
|
8336
|
+
),
|
|
8337
|
+
/* @__PURE__ */ (0, import_jsx_runtime242.jsxs)(
|
|
8338
|
+
Box_default,
|
|
8339
|
+
{
|
|
8340
|
+
display: "flex",
|
|
8341
|
+
alignItems: "center",
|
|
8342
|
+
justifyContent: "center",
|
|
8343
|
+
flex: "1",
|
|
8344
|
+
overflow: "hidden",
|
|
8345
|
+
position: "relative",
|
|
8346
|
+
children: [
|
|
8347
|
+
showArrows && hasMultipleImages && /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
|
|
8348
|
+
"button",
|
|
8349
|
+
{
|
|
8350
|
+
type: "button",
|
|
8351
|
+
onClick: handlePrev,
|
|
8352
|
+
css: prevButtonStyles,
|
|
8353
|
+
"aria-label": "Previous image",
|
|
8354
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(Icon_default, { variant: "AngleLeft", size: "medium" })
|
|
8355
|
+
}
|
|
8356
|
+
),
|
|
8357
|
+
/* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
|
|
8358
|
+
Box_default,
|
|
8359
|
+
{
|
|
8360
|
+
display: "flex",
|
|
8361
|
+
alignItems: "center",
|
|
8362
|
+
justifyContent: "center",
|
|
8363
|
+
width: "100%",
|
|
8364
|
+
height: "100%",
|
|
8365
|
+
p: "var(--spacing-4)",
|
|
8366
|
+
children: currentImage && /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
|
|
8367
|
+
"img",
|
|
8368
|
+
{
|
|
8369
|
+
src: currentImage.src,
|
|
8370
|
+
alt: currentImage.alt || `Image ${currentIndex + 1}`,
|
|
8371
|
+
css: imageStyles2
|
|
8372
|
+
}
|
|
8373
|
+
)
|
|
8374
|
+
}
|
|
8375
|
+
),
|
|
8376
|
+
showArrows && hasMultipleImages && /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
|
|
8377
|
+
"button",
|
|
8378
|
+
{
|
|
8379
|
+
type: "button",
|
|
8380
|
+
onClick: handleNext,
|
|
8381
|
+
css: nextButtonStyles,
|
|
8382
|
+
"aria-label": "Next image",
|
|
8383
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(Icon_default, { variant: "AngleRight", size: "medium" })
|
|
8384
|
+
}
|
|
8385
|
+
)
|
|
8386
|
+
]
|
|
8387
|
+
}
|
|
8388
|
+
),
|
|
8389
|
+
(currentImage == null ? void 0 : currentImage.caption) && /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
|
|
8390
|
+
Box_default,
|
|
8391
|
+
{
|
|
8392
|
+
position: "absolute",
|
|
8393
|
+
bottom: "var(--spacing-16)",
|
|
8394
|
+
left: "50%",
|
|
8395
|
+
zIndex: 10,
|
|
8396
|
+
css: captionStyles,
|
|
8397
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(Text_default, { size: "sm", color: "inherit", children: currentImage.caption })
|
|
8398
|
+
}
|
|
8399
|
+
),
|
|
8400
|
+
showDots && hasMultipleImages && /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
|
|
8401
|
+
Box_default,
|
|
8402
|
+
{
|
|
8403
|
+
display: "flex",
|
|
8404
|
+
position: "absolute",
|
|
8405
|
+
bottom: "var(--spacing-4)",
|
|
8406
|
+
left: "50%",
|
|
8407
|
+
gap: "var(--spacing-2)",
|
|
8408
|
+
zIndex: 10,
|
|
8409
|
+
css: dotsContainerPositionStyles,
|
|
8410
|
+
children: images.map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
|
|
8411
|
+
"button",
|
|
8412
|
+
{
|
|
8413
|
+
type: "button",
|
|
8414
|
+
onClick: () => handleGoTo(index),
|
|
8415
|
+
css: [
|
|
8416
|
+
dotStyles,
|
|
8417
|
+
index === currentIndex && dotActiveStyles
|
|
8418
|
+
],
|
|
8419
|
+
"aria-label": `Go to image ${index + 1}`,
|
|
8420
|
+
"aria-current": index === currentIndex ? "true" : void 0
|
|
8421
|
+
},
|
|
8422
|
+
`dot-${index}`
|
|
8423
|
+
))
|
|
8424
|
+
}
|
|
8425
|
+
)
|
|
8426
|
+
]
|
|
8427
|
+
}
|
|
8428
|
+
)
|
|
8429
|
+
}
|
|
8430
|
+
);
|
|
8431
|
+
};
|
|
8432
|
+
ImageGalleryModal.displayName = "ImageGalleryModal";
|
|
8433
|
+
var ImageGalleryModal_default = ImageGalleryModal;
|
|
8434
|
+
|
|
8435
|
+
// src/InfoBox/InfoBox.tsx
|
|
8436
|
+
var import_jsx_runtime243 = require("@emotion/react/jsx-runtime");
|
|
7790
8437
|
var InfoBox = ({ heading, features, className }) => {
|
|
7791
|
-
return /* @__PURE__ */ (0,
|
|
8438
|
+
return /* @__PURE__ */ (0, import_jsx_runtime243.jsxs)(
|
|
7792
8439
|
Box_default,
|
|
7793
8440
|
{
|
|
7794
8441
|
display: "flex",
|
|
@@ -7797,8 +8444,8 @@ var InfoBox = ({ heading, features, className }) => {
|
|
|
7797
8444
|
className,
|
|
7798
8445
|
color: "var(--text-primary)",
|
|
7799
8446
|
children: [
|
|
7800
|
-
/* @__PURE__ */ (0,
|
|
7801
|
-
/* @__PURE__ */ (0,
|
|
8447
|
+
/* @__PURE__ */ (0, import_jsx_runtime243.jsx)(Heading_default, { size: "2xs", fontWeight: "bold", children: heading }),
|
|
8448
|
+
/* @__PURE__ */ (0, import_jsx_runtime243.jsx)(
|
|
7802
8449
|
Box_default,
|
|
7803
8450
|
{
|
|
7804
8451
|
display: "flex",
|
|
@@ -7808,7 +8455,7 @@ var InfoBox = ({ heading, features, className }) => {
|
|
|
7808
8455
|
borderRadius: "var(--radius-lg)",
|
|
7809
8456
|
bg: "var(--surface-neutral)",
|
|
7810
8457
|
className,
|
|
7811
|
-
children: features.map((section, index) => /* @__PURE__ */ (0,
|
|
8458
|
+
children: features.map((section, index) => /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(
|
|
7812
8459
|
FeatureList_default,
|
|
7813
8460
|
{
|
|
7814
8461
|
heading: section.heading,
|
|
@@ -7825,16 +8472,16 @@ var InfoBox = ({ heading, features, className }) => {
|
|
|
7825
8472
|
var InfoBox_default = InfoBox;
|
|
7826
8473
|
|
|
7827
8474
|
// src/LandownerProfile/LandownerProfile.tsx
|
|
7828
|
-
var
|
|
8475
|
+
var import_react56 = require("react");
|
|
7829
8476
|
|
|
7830
8477
|
// src/ProgressBar/ProgressBar.styles.ts
|
|
7831
|
-
var
|
|
7832
|
-
var progressStyles =
|
|
8478
|
+
var import_react53 = require("@emotion/react");
|
|
8479
|
+
var progressStyles = import_react53.css`
|
|
7833
8480
|
transition: width 0.3s ease-in-out;
|
|
7834
8481
|
`;
|
|
7835
8482
|
|
|
7836
8483
|
// src/ProgressBar/ProgressBar.tsx
|
|
7837
|
-
var
|
|
8484
|
+
var import_jsx_runtime244 = require("@emotion/react/jsx-runtime");
|
|
7838
8485
|
var ProgressBar = ({
|
|
7839
8486
|
progress,
|
|
7840
8487
|
className,
|
|
@@ -7842,7 +8489,7 @@ var ProgressBar = ({
|
|
|
7842
8489
|
height = "10px"
|
|
7843
8490
|
}) => {
|
|
7844
8491
|
const clampedProgress = Math.min(100, Math.max(0, progress));
|
|
7845
|
-
return /* @__PURE__ */ (0,
|
|
8492
|
+
return /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(
|
|
7846
8493
|
Box_default,
|
|
7847
8494
|
{
|
|
7848
8495
|
width: "100%",
|
|
@@ -7852,7 +8499,7 @@ var ProgressBar = ({
|
|
|
7852
8499
|
overflow: "hidden",
|
|
7853
8500
|
position: "relative",
|
|
7854
8501
|
className,
|
|
7855
|
-
children: /* @__PURE__ */ (0,
|
|
8502
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(
|
|
7856
8503
|
Box_default,
|
|
7857
8504
|
{
|
|
7858
8505
|
height: "100%",
|
|
@@ -7873,17 +8520,17 @@ ProgressBar.displayName = "ProgressBar";
|
|
|
7873
8520
|
var ProgressBar_default = ProgressBar;
|
|
7874
8521
|
|
|
7875
8522
|
// src/Timer/Timer.tsx
|
|
7876
|
-
var
|
|
8523
|
+
var import_react55 = require("react");
|
|
7877
8524
|
|
|
7878
8525
|
// src/Timer/Timer.styles.ts
|
|
7879
|
-
var
|
|
7880
|
-
var rootStyles2 =
|
|
8526
|
+
var import_react54 = require("@emotion/react");
|
|
8527
|
+
var rootStyles2 = import_react54.css`
|
|
7881
8528
|
display: inline-flex;
|
|
7882
8529
|
font-variant-numeric: tabular-nums;
|
|
7883
8530
|
`;
|
|
7884
8531
|
|
|
7885
8532
|
// src/Timer/Timer.tsx
|
|
7886
|
-
var
|
|
8533
|
+
var import_jsx_runtime245 = require("@emotion/react/jsx-runtime");
|
|
7887
8534
|
var calculateTimeLeft = (expirationTimestamp) => {
|
|
7888
8535
|
const now = Math.floor(Date.now() / 1e3);
|
|
7889
8536
|
const diff = expirationTimestamp - now;
|
|
@@ -7911,10 +8558,10 @@ var Timer = ({
|
|
|
7911
8558
|
fontWeight = "bold",
|
|
7912
8559
|
showSeconds = false
|
|
7913
8560
|
}) => {
|
|
7914
|
-
const [timeLeft, setTimeLeft] = (0,
|
|
8561
|
+
const [timeLeft, setTimeLeft] = (0, import_react55.useState)(
|
|
7915
8562
|
() => calculateTimeLeft(expirationTimestamp)
|
|
7916
8563
|
);
|
|
7917
|
-
const updateTime = (0,
|
|
8564
|
+
const updateTime = (0, import_react55.useCallback)(() => {
|
|
7918
8565
|
const newTimeLeft = calculateTimeLeft(expirationTimestamp);
|
|
7919
8566
|
setTimeLeft(newTimeLeft);
|
|
7920
8567
|
if (newTimeLeft) {
|
|
@@ -7924,7 +8571,7 @@ var Timer = ({
|
|
|
7924
8571
|
}
|
|
7925
8572
|
return newTimeLeft;
|
|
7926
8573
|
}, [expirationTimestamp, onTimeUpdate, onExpire]);
|
|
7927
|
-
(0,
|
|
8574
|
+
(0, import_react55.useEffect)(() => {
|
|
7928
8575
|
const initialTime = updateTime();
|
|
7929
8576
|
if (!initialTime)
|
|
7930
8577
|
return;
|
|
@@ -7939,8 +8586,8 @@ var Timer = ({
|
|
|
7939
8586
|
if (!timeLeft) {
|
|
7940
8587
|
return null;
|
|
7941
8588
|
}
|
|
7942
|
-
return /* @__PURE__ */ (0,
|
|
7943
|
-
/* @__PURE__ */ (0,
|
|
8589
|
+
return /* @__PURE__ */ (0, import_jsx_runtime245.jsxs)(Box_default, { css: rootStyles2, className, children: [
|
|
8590
|
+
/* @__PURE__ */ (0, import_jsx_runtime245.jsxs)(Text_default, { as: "span", fontWeight, size: fontSize, children: [
|
|
7944
8591
|
timeLeft.days,
|
|
7945
8592
|
"d : ",
|
|
7946
8593
|
timeLeft.hours,
|
|
@@ -7948,7 +8595,7 @@ var Timer = ({
|
|
|
7948
8595
|
timeLeft.minutes,
|
|
7949
8596
|
"m"
|
|
7950
8597
|
] }),
|
|
7951
|
-
showSeconds && /* @__PURE__ */ (0,
|
|
8598
|
+
showSeconds && /* @__PURE__ */ (0, import_jsx_runtime245.jsxs)(Text_default, { as: "span", fontWeight, size: fontSize, children: [
|
|
7952
8599
|
"\xA0: ",
|
|
7953
8600
|
timeLeft.seconds,
|
|
7954
8601
|
"s"
|
|
@@ -7959,7 +8606,7 @@ Timer.displayName = "Timer";
|
|
|
7959
8606
|
var Timer_default = Timer;
|
|
7960
8607
|
|
|
7961
8608
|
// src/StarRating/StarRating.tsx
|
|
7962
|
-
var
|
|
8609
|
+
var import_jsx_runtime246 = require("@emotion/react/jsx-runtime");
|
|
7963
8610
|
var starSize = {
|
|
7964
8611
|
sm: {
|
|
7965
8612
|
size: "medium",
|
|
@@ -8007,10 +8654,10 @@ var StarRating = ({
|
|
|
8007
8654
|
fill = "var(--color-neutral-100)";
|
|
8008
8655
|
}
|
|
8009
8656
|
stars.push(
|
|
8010
|
-
/* @__PURE__ */ (0,
|
|
8657
|
+
/* @__PURE__ */ (0, import_jsx_runtime246.jsx)(Icon_default, { variant, size: starSize[size].size, fill }, i)
|
|
8011
8658
|
);
|
|
8012
8659
|
}
|
|
8013
|
-
return /* @__PURE__ */ (0,
|
|
8660
|
+
return /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
|
|
8014
8661
|
Box_default,
|
|
8015
8662
|
{
|
|
8016
8663
|
className,
|
|
@@ -8024,7 +8671,7 @@ var StarRating = ({
|
|
|
8024
8671
|
var StarRating_default = StarRating;
|
|
8025
8672
|
|
|
8026
8673
|
// src/UserCard/UserCard.tsx
|
|
8027
|
-
var
|
|
8674
|
+
var import_jsx_runtime247 = require("@emotion/react/jsx-runtime");
|
|
8028
8675
|
var UserCard = ({
|
|
8029
8676
|
avatarSrc,
|
|
8030
8677
|
title,
|
|
@@ -8034,7 +8681,7 @@ var UserCard = ({
|
|
|
8034
8681
|
isVerified = false,
|
|
8035
8682
|
className
|
|
8036
8683
|
}) => {
|
|
8037
|
-
return /* @__PURE__ */ (0,
|
|
8684
|
+
return /* @__PURE__ */ (0, import_jsx_runtime247.jsxs)(
|
|
8038
8685
|
Box_default,
|
|
8039
8686
|
{
|
|
8040
8687
|
display: "flex",
|
|
@@ -8043,8 +8690,8 @@ var UserCard = ({
|
|
|
8043
8690
|
gap: "var(--spacing-4)",
|
|
8044
8691
|
className,
|
|
8045
8692
|
children: [
|
|
8046
|
-
/* @__PURE__ */ (0,
|
|
8047
|
-
/* @__PURE__ */ (0,
|
|
8693
|
+
/* @__PURE__ */ (0, import_jsx_runtime247.jsxs)(Box_default, { display: "flex", alignItems: "flex-start", gap: "var(--spacing-4)", children: [
|
|
8694
|
+
/* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
|
|
8048
8695
|
Avatar_default,
|
|
8049
8696
|
{
|
|
8050
8697
|
type: avatarSrc ? "image" : "text",
|
|
@@ -8053,13 +8700,13 @@ var UserCard = ({
|
|
|
8053
8700
|
alt: `${title}'s avatar`
|
|
8054
8701
|
}
|
|
8055
8702
|
),
|
|
8056
|
-
/* @__PURE__ */ (0,
|
|
8057
|
-
/* @__PURE__ */ (0,
|
|
8058
|
-
subtitle && (typeof subtitle === "string" ? /* @__PURE__ */ (0,
|
|
8059
|
-
showRating && rating !== void 0 && /* @__PURE__ */ (0,
|
|
8703
|
+
/* @__PURE__ */ (0, import_jsx_runtime247.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "2px", children: [
|
|
8704
|
+
/* @__PURE__ */ (0, import_jsx_runtime247.jsx)(Text_default, { size: "md", fontWeight: "bold", children: title }),
|
|
8705
|
+
subtitle && (typeof subtitle === "string" ? /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(Text_default, { size: "sm", color: "text-secondary", children: subtitle }) : subtitle),
|
|
8706
|
+
showRating && rating !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(StarRating_default, { rating })
|
|
8060
8707
|
] })
|
|
8061
8708
|
] }),
|
|
8062
|
-
isVerified && /* @__PURE__ */ (0,
|
|
8709
|
+
isVerified && /* @__PURE__ */ (0, import_jsx_runtime247.jsxs)(
|
|
8063
8710
|
Box_default,
|
|
8064
8711
|
{
|
|
8065
8712
|
display: "flex",
|
|
@@ -8068,8 +8715,8 @@ var UserCard = ({
|
|
|
8068
8715
|
gap: "var(--spacing-1)",
|
|
8069
8716
|
flexShrink: 0,
|
|
8070
8717
|
children: [
|
|
8071
|
-
/* @__PURE__ */ (0,
|
|
8072
|
-
/* @__PURE__ */ (0,
|
|
8718
|
+
/* @__PURE__ */ (0, import_jsx_runtime247.jsx)(Icon_default, { variant: "ShieldCheckSolid", fill: "var(--icon-success)" }),
|
|
8719
|
+
/* @__PURE__ */ (0, import_jsx_runtime247.jsx)(Text_default, { size: "xs", fontWeight: "bold", color: "text-primary", children: "Verified" })
|
|
8073
8720
|
]
|
|
8074
8721
|
}
|
|
8075
8722
|
)
|
|
@@ -8080,19 +8727,19 @@ var UserCard = ({
|
|
|
8080
8727
|
var UserCard_default = UserCard;
|
|
8081
8728
|
|
|
8082
8729
|
// src/LandownerProfile/components/ProfileSubtitle.tsx
|
|
8083
|
-
var
|
|
8730
|
+
var import_jsx_runtime248 = require("@emotion/react/jsx-runtime");
|
|
8084
8731
|
var ProfileSubtitle = ({
|
|
8085
8732
|
yearsHosting = 1,
|
|
8086
8733
|
featureReviewItem
|
|
8087
8734
|
}) => {
|
|
8088
|
-
return /* @__PURE__ */ (0,
|
|
8089
|
-
yearsHosting && yearsHosting > 0 && /* @__PURE__ */ (0,
|
|
8735
|
+
return /* @__PURE__ */ (0, import_jsx_runtime248.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "2px", children: [
|
|
8736
|
+
yearsHosting && yearsHosting > 0 && /* @__PURE__ */ (0, import_jsx_runtime248.jsxs)(Text_default, { size: "sm", color: "text-secondary", children: [
|
|
8090
8737
|
yearsHosting,
|
|
8091
8738
|
" ",
|
|
8092
8739
|
yearsHosting === 1 ? "Year" : "Years",
|
|
8093
8740
|
" Hosting"
|
|
8094
8741
|
] }),
|
|
8095
|
-
featureReviewItem && /* @__PURE__ */ (0,
|
|
8742
|
+
featureReviewItem && /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(FeatureListItem_default, { ...featureReviewItem })
|
|
8096
8743
|
] });
|
|
8097
8744
|
};
|
|
8098
8745
|
var ProfileSubtitle_default = ProfileSubtitle;
|
|
@@ -8107,7 +8754,7 @@ var hasTextContent = (html) => {
|
|
|
8107
8754
|
};
|
|
8108
8755
|
|
|
8109
8756
|
// src/LandownerProfile/LandownerProfile.tsx
|
|
8110
|
-
var
|
|
8757
|
+
var import_jsx_runtime249 = require("@emotion/react/jsx-runtime");
|
|
8111
8758
|
var LandownerProfile = ({
|
|
8112
8759
|
heading,
|
|
8113
8760
|
avatarSrc,
|
|
@@ -8135,7 +8782,7 @@ var LandownerProfile = ({
|
|
|
8135
8782
|
const progressPercentage = (totalDuration - timeLeft.totalSeconds) / totalDuration * 100;
|
|
8136
8783
|
return Math.min(100, Math.max(0, progressPercentage));
|
|
8137
8784
|
};
|
|
8138
|
-
const [progress, setProgress] = (0,
|
|
8785
|
+
const [progress, setProgress] = (0, import_react56.useState)(0);
|
|
8139
8786
|
const handleTimeUpdate = (timeLeft) => {
|
|
8140
8787
|
setProgress(calculateProgress(timeLeft));
|
|
8141
8788
|
onEarlyAccessTimeUpdate == null ? void 0 : onEarlyAccessTimeUpdate(timeLeft);
|
|
@@ -8148,7 +8795,7 @@ var LandownerProfile = ({
|
|
|
8148
8795
|
iconVariant: "Bolt",
|
|
8149
8796
|
label: `Response Time: ${responseTime}`
|
|
8150
8797
|
} : void 0;
|
|
8151
|
-
return /* @__PURE__ */ (0,
|
|
8798
|
+
return /* @__PURE__ */ (0, import_jsx_runtime249.jsxs)(
|
|
8152
8799
|
Box_default,
|
|
8153
8800
|
{
|
|
8154
8801
|
display: "flex",
|
|
@@ -8157,8 +8804,8 @@ var LandownerProfile = ({
|
|
|
8157
8804
|
color: "var(--text-primary)",
|
|
8158
8805
|
className,
|
|
8159
8806
|
children: [
|
|
8160
|
-
heading && /* @__PURE__ */ (0,
|
|
8161
|
-
/* @__PURE__ */ (0,
|
|
8807
|
+
heading && /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(Heading_default, { size: "2xs", fontWeight: "bold", children: heading }),
|
|
8808
|
+
/* @__PURE__ */ (0, import_jsx_runtime249.jsxs)(
|
|
8162
8809
|
Box_default,
|
|
8163
8810
|
{
|
|
8164
8811
|
display: "flex",
|
|
@@ -8168,12 +8815,12 @@ var LandownerProfile = ({
|
|
|
8168
8815
|
p: "var(--spacing-4)",
|
|
8169
8816
|
borderRadius: "var(--radius-lg)",
|
|
8170
8817
|
children: [
|
|
8171
|
-
/* @__PURE__ */ (0,
|
|
8818
|
+
/* @__PURE__ */ (0, import_jsx_runtime249.jsx)(
|
|
8172
8819
|
UserCard_default,
|
|
8173
8820
|
{
|
|
8174
8821
|
avatarSrc,
|
|
8175
8822
|
title: name,
|
|
8176
|
-
subtitle: /* @__PURE__ */ (0,
|
|
8823
|
+
subtitle: /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(
|
|
8177
8824
|
ProfileSubtitle_default,
|
|
8178
8825
|
{
|
|
8179
8826
|
yearsHosting,
|
|
@@ -8184,9 +8831,9 @@ var LandownerProfile = ({
|
|
|
8184
8831
|
isVerified
|
|
8185
8832
|
}
|
|
8186
8833
|
),
|
|
8187
|
-
hasTextContent(bio) && !!bio && /* @__PURE__ */ (0,
|
|
8188
|
-
/* @__PURE__ */ (0,
|
|
8189
|
-
/* @__PURE__ */ (0,
|
|
8834
|
+
hasTextContent(bio) && !!bio && /* @__PURE__ */ (0, import_jsx_runtime249.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-2)", children: [
|
|
8835
|
+
/* @__PURE__ */ (0, import_jsx_runtime249.jsx)(Text_default, { fontWeight: "bold", children: "Bio" }),
|
|
8836
|
+
/* @__PURE__ */ (0, import_jsx_runtime249.jsx)(
|
|
8190
8837
|
Text_default,
|
|
8191
8838
|
{
|
|
8192
8839
|
dangerouslySetInnerHTML: {
|
|
@@ -8195,14 +8842,14 @@ var LandownerProfile = ({
|
|
|
8195
8842
|
}
|
|
8196
8843
|
)
|
|
8197
8844
|
] }),
|
|
8198
|
-
(!!responseRateFeature || !!responseTimeFeature) && /* @__PURE__ */ (0,
|
|
8199
|
-
/* @__PURE__ */ (0,
|
|
8200
|
-
/* @__PURE__ */ (0,
|
|
8201
|
-
!!responseRateFeature && /* @__PURE__ */ (0,
|
|
8202
|
-
!!responseTimeFeature && /* @__PURE__ */ (0,
|
|
8845
|
+
(!!responseRateFeature || !!responseTimeFeature) && /* @__PURE__ */ (0, import_jsx_runtime249.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-2)", children: [
|
|
8846
|
+
/* @__PURE__ */ (0, import_jsx_runtime249.jsx)(Text_default, { fontWeight: "bold", children: "Landowner Details" }),
|
|
8847
|
+
/* @__PURE__ */ (0, import_jsx_runtime249.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-2)", children: [
|
|
8848
|
+
!!responseRateFeature && /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(FeatureListItem_default, { ...responseRateFeature }),
|
|
8849
|
+
!!responseTimeFeature && /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(FeatureListItem_default, { ...responseTimeFeature })
|
|
8203
8850
|
] })
|
|
8204
8851
|
] }),
|
|
8205
|
-
/* @__PURE__ */ (0,
|
|
8852
|
+
/* @__PURE__ */ (0, import_jsx_runtime249.jsx)(Box_default, { alignSelf: "flex-start", children: /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(
|
|
8206
8853
|
Button_default,
|
|
8207
8854
|
{
|
|
8208
8855
|
variant: "secondary",
|
|
@@ -8211,9 +8858,9 @@ var LandownerProfile = ({
|
|
|
8211
8858
|
children: messageButtonText
|
|
8212
8859
|
}
|
|
8213
8860
|
) }),
|
|
8214
|
-
earlyAccessTimer && /* @__PURE__ */ (0,
|
|
8215
|
-
/* @__PURE__ */ (0,
|
|
8216
|
-
/* @__PURE__ */ (0,
|
|
8861
|
+
earlyAccessTimer && /* @__PURE__ */ (0, import_jsx_runtime249.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-3)", children: [
|
|
8862
|
+
/* @__PURE__ */ (0, import_jsx_runtime249.jsx)(ProgressBar_default, { progress }),
|
|
8863
|
+
/* @__PURE__ */ (0, import_jsx_runtime249.jsxs)(
|
|
8217
8864
|
Box_default,
|
|
8218
8865
|
{
|
|
8219
8866
|
display: "flex",
|
|
@@ -8221,9 +8868,9 @@ var LandownerProfile = ({
|
|
|
8221
8868
|
gap: "var(--spacing-1)",
|
|
8222
8869
|
textAlign: "center",
|
|
8223
8870
|
children: [
|
|
8224
|
-
/* @__PURE__ */ (0,
|
|
8225
|
-
/* @__PURE__ */ (0,
|
|
8226
|
-
/* @__PURE__ */ (0,
|
|
8871
|
+
/* @__PURE__ */ (0, import_jsx_runtime249.jsx)(Text_default, { size: "xs", textAlign: "center", children: earlyAccessTimer.labelText }),
|
|
8872
|
+
/* @__PURE__ */ (0, import_jsx_runtime249.jsx)(Text_default, { size: "sm", textAlign: "center", children: earlyAccessTimer.descriptionText }),
|
|
8873
|
+
/* @__PURE__ */ (0, import_jsx_runtime249.jsx)(Box_default, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(
|
|
8227
8874
|
Timer_default,
|
|
8228
8875
|
{
|
|
8229
8876
|
expirationTimestamp: earlyAccessTimer.expirationTimestamp,
|
|
@@ -8245,11 +8892,11 @@ var LandownerProfile = ({
|
|
|
8245
8892
|
var LandownerProfile_default = LandownerProfile;
|
|
8246
8893
|
|
|
8247
8894
|
// src/ListingChat/ListingChat.tsx
|
|
8248
|
-
var
|
|
8895
|
+
var import_react58 = require("react");
|
|
8249
8896
|
|
|
8250
8897
|
// src/ListingChat/ListingChat.styles.ts
|
|
8251
|
-
var
|
|
8252
|
-
var
|
|
8898
|
+
var import_react57 = require("@emotion/react");
|
|
8899
|
+
var containerStyles3 = import_react57.css`
|
|
8253
8900
|
display: flex;
|
|
8254
8901
|
flex-direction: column;
|
|
8255
8902
|
gap: var(--spacing-4);
|
|
@@ -8257,13 +8904,13 @@ var containerStyles2 = import_react53.css`
|
|
|
8257
8904
|
border-radius: var(--radius-lg);
|
|
8258
8905
|
background: var(--surface-success);
|
|
8259
8906
|
`;
|
|
8260
|
-
var headerStyles =
|
|
8907
|
+
var headerStyles = import_react57.css`
|
|
8261
8908
|
display: flex;
|
|
8262
8909
|
align-items: flex-start;
|
|
8263
8910
|
justify-content: space-between;
|
|
8264
8911
|
gap: var(--spacing-2);
|
|
8265
8912
|
`;
|
|
8266
|
-
var chipsContainerStyles =
|
|
8913
|
+
var chipsContainerStyles = import_react57.css`
|
|
8267
8914
|
display: flex;
|
|
8268
8915
|
flex-wrap: wrap;
|
|
8269
8916
|
gap: var(--spacing-4);
|
|
@@ -8276,15 +8923,15 @@ var chipsContainerStyles = import_react53.css`
|
|
|
8276
8923
|
cursor: pointer;
|
|
8277
8924
|
}
|
|
8278
8925
|
`;
|
|
8279
|
-
var textAreaStyles =
|
|
8926
|
+
var textAreaStyles = import_react57.css`
|
|
8280
8927
|
min-height: 62px;
|
|
8281
8928
|
`;
|
|
8282
|
-
var inputWrapperStyles2 =
|
|
8929
|
+
var inputWrapperStyles2 = import_react57.css`
|
|
8283
8930
|
position: relative;
|
|
8284
8931
|
`;
|
|
8285
8932
|
|
|
8286
8933
|
// src/ListingChat/ListingChat.tsx
|
|
8287
|
-
var
|
|
8934
|
+
var import_jsx_runtime250 = require("@emotion/react/jsx-runtime");
|
|
8288
8935
|
var ListingChat = ({
|
|
8289
8936
|
onSubmit,
|
|
8290
8937
|
placeholder = "Ask anything about this listing\u2026",
|
|
@@ -8294,15 +8941,15 @@ var ListingChat = ({
|
|
|
8294
8941
|
disabled = false,
|
|
8295
8942
|
...rest
|
|
8296
8943
|
}) => {
|
|
8297
|
-
const [value, setValue] = (0,
|
|
8298
|
-
const handleSubmit = (0,
|
|
8944
|
+
const [value, setValue] = (0, import_react58.useState)("");
|
|
8945
|
+
const handleSubmit = (0, import_react58.useCallback)(() => {
|
|
8299
8946
|
const trimmed = value.trim();
|
|
8300
8947
|
if (!trimmed)
|
|
8301
8948
|
return;
|
|
8302
8949
|
onSubmit(trimmed);
|
|
8303
8950
|
setValue("");
|
|
8304
8951
|
}, [onSubmit, value]);
|
|
8305
|
-
const handleTagClick = (0,
|
|
8952
|
+
const handleTagClick = (0, import_react58.useCallback)(
|
|
8306
8953
|
(tag) => () => {
|
|
8307
8954
|
const trimmed = tag.trim();
|
|
8308
8955
|
if (!trimmed)
|
|
@@ -8311,18 +8958,18 @@ var ListingChat = ({
|
|
|
8311
8958
|
},
|
|
8312
8959
|
[onSubmit]
|
|
8313
8960
|
);
|
|
8314
|
-
return /* @__PURE__ */ (0,
|
|
8315
|
-
/* @__PURE__ */ (0,
|
|
8316
|
-
/* @__PURE__ */ (0,
|
|
8317
|
-
/* @__PURE__ */ (0,
|
|
8318
|
-
/* @__PURE__ */ (0,
|
|
8961
|
+
return /* @__PURE__ */ (0, import_jsx_runtime250.jsxs)(Box_default, { css: containerStyles3, className, ...rest, children: [
|
|
8962
|
+
/* @__PURE__ */ (0, import_jsx_runtime250.jsxs)(Box_default, { css: headerStyles, children: [
|
|
8963
|
+
/* @__PURE__ */ (0, import_jsx_runtime250.jsxs)(Box_default, { children: [
|
|
8964
|
+
/* @__PURE__ */ (0, import_jsx_runtime250.jsx)(Box_default, { mb: "var(--spacing-2)", children: /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(Heading_default, { size: "2xs", fontWeight: "bold", children: title }) }),
|
|
8965
|
+
/* @__PURE__ */ (0, import_jsx_runtime250.jsx)(Text_default, { size: "md", children: "Get instant answers with Buck, our AI powered assistant." })
|
|
8319
8966
|
] }),
|
|
8320
|
-
/* @__PURE__ */ (0,
|
|
8321
|
-
/* @__PURE__ */ (0,
|
|
8322
|
-
/* @__PURE__ */ (0,
|
|
8967
|
+
/* @__PURE__ */ (0, import_jsx_runtime250.jsxs)(Box_default, { display: "flex", alignItems: "center", gap: "var(--spacing-1)", children: [
|
|
8968
|
+
/* @__PURE__ */ (0, import_jsx_runtime250.jsx)(Icon_default, { variant: "AiMagic", size: "medium" }),
|
|
8969
|
+
/* @__PURE__ */ (0, import_jsx_runtime250.jsx)(Text_default, { size: "sm", children: "Beta" })
|
|
8323
8970
|
] })
|
|
8324
8971
|
] }),
|
|
8325
|
-
/* @__PURE__ */ (0,
|
|
8972
|
+
/* @__PURE__ */ (0, import_jsx_runtime250.jsx)(Box_default, { css: inputWrapperStyles2, children: /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(
|
|
8326
8973
|
TextArea,
|
|
8327
8974
|
{
|
|
8328
8975
|
rows: 1,
|
|
@@ -8337,14 +8984,14 @@ var ListingChat = ({
|
|
|
8337
8984
|
css: textAreaStyles
|
|
8338
8985
|
}
|
|
8339
8986
|
) }),
|
|
8340
|
-
tags.length > 0 && /* @__PURE__ */ (0,
|
|
8341
|
-
/* @__PURE__ */ (0,
|
|
8342
|
-
/* @__PURE__ */ (0,
|
|
8987
|
+
tags.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime250.jsxs)(import_jsx_runtime250.Fragment, { children: [
|
|
8988
|
+
/* @__PURE__ */ (0, import_jsx_runtime250.jsx)(Text_default, { as: "div", size: "sm", fontWeight: "bold", children: "Try one of these" }),
|
|
8989
|
+
/* @__PURE__ */ (0, import_jsx_runtime250.jsx)(Box_default, { css: chipsContainerStyles, children: tags.map((tag) => /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(
|
|
8343
8990
|
"button",
|
|
8344
8991
|
{
|
|
8345
8992
|
onClick: handleTagClick(tag),
|
|
8346
8993
|
disabled,
|
|
8347
|
-
children: /* @__PURE__ */ (0,
|
|
8994
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(TagChip_default, { children: tag })
|
|
8348
8995
|
},
|
|
8349
8996
|
tag
|
|
8350
8997
|
)) })
|
|
@@ -8354,11 +9001,11 @@ var ListingChat = ({
|
|
|
8354
9001
|
var ListingChat_default = ListingChat;
|
|
8355
9002
|
|
|
8356
9003
|
// src/Logo/Logo.tsx
|
|
8357
|
-
var
|
|
9004
|
+
var import_react59 = require("@emotion/react");
|
|
8358
9005
|
|
|
8359
9006
|
// src/Logo/components/LandtrustPlusDark.tsx
|
|
8360
|
-
var
|
|
8361
|
-
var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0,
|
|
9007
|
+
var import_jsx_runtime251 = require("@emotion/react/jsx-runtime");
|
|
9008
|
+
var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime251.jsxs)(
|
|
8362
9009
|
"svg",
|
|
8363
9010
|
{
|
|
8364
9011
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -8366,14 +9013,14 @@ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime249.
|
|
|
8366
9013
|
fill: "none",
|
|
8367
9014
|
...props,
|
|
8368
9015
|
children: [
|
|
8369
|
-
/* @__PURE__ */ (0,
|
|
9016
|
+
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)("g", { filter: "url(#landtrust-plus-dark_svg__a)", children: /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(
|
|
8370
9017
|
"path",
|
|
8371
9018
|
{
|
|
8372
9019
|
fill: "#000",
|
|
8373
9020
|
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"
|
|
8374
9021
|
}
|
|
8375
9022
|
) }),
|
|
8376
|
-
/* @__PURE__ */ (0,
|
|
9023
|
+
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)(
|
|
8377
9024
|
"path",
|
|
8378
9025
|
{
|
|
8379
9026
|
fill: "#FAD44E",
|
|
@@ -8382,14 +9029,14 @@ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime249.
|
|
|
8382
9029
|
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"
|
|
8383
9030
|
}
|
|
8384
9031
|
),
|
|
8385
|
-
/* @__PURE__ */ (0,
|
|
9032
|
+
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)(
|
|
8386
9033
|
"path",
|
|
8387
9034
|
{
|
|
8388
9035
|
fill: "#fff",
|
|
8389
9036
|
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"
|
|
8390
9037
|
}
|
|
8391
9038
|
),
|
|
8392
|
-
/* @__PURE__ */ (0,
|
|
9039
|
+
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime251.jsxs)(
|
|
8393
9040
|
"filter",
|
|
8394
9041
|
{
|
|
8395
9042
|
id: "landtrust-plus-dark_svg__a",
|
|
@@ -8400,8 +9047,8 @@ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime249.
|
|
|
8400
9047
|
colorInterpolationFilters: "sRGB",
|
|
8401
9048
|
filterUnits: "userSpaceOnUse",
|
|
8402
9049
|
children: [
|
|
8403
|
-
/* @__PURE__ */ (0,
|
|
8404
|
-
/* @__PURE__ */ (0,
|
|
9050
|
+
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
|
|
9051
|
+
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)(
|
|
8405
9052
|
"feColorMatrix",
|
|
8406
9053
|
{
|
|
8407
9054
|
in: "SourceAlpha",
|
|
@@ -8409,18 +9056,18 @@ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime249.
|
|
|
8409
9056
|
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
8410
9057
|
}
|
|
8411
9058
|
),
|
|
8412
|
-
/* @__PURE__ */ (0,
|
|
8413
|
-
/* @__PURE__ */ (0,
|
|
8414
|
-
/* @__PURE__ */ (0,
|
|
8415
|
-
/* @__PURE__ */ (0,
|
|
8416
|
-
/* @__PURE__ */ (0,
|
|
9059
|
+
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)("feOffset", { dy: 1 }),
|
|
9060
|
+
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)("feGaussianBlur", { stdDeviation: 0.5 }),
|
|
9061
|
+
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)("feComposite", { in2: "hardAlpha", operator: "out" }),
|
|
9062
|
+
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)("feColorMatrix", { values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" }),
|
|
9063
|
+
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)(
|
|
8417
9064
|
"feBlend",
|
|
8418
9065
|
{
|
|
8419
9066
|
in2: "BackgroundImageFix",
|
|
8420
9067
|
result: "effect1_dropShadow_257_2540"
|
|
8421
9068
|
}
|
|
8422
9069
|
),
|
|
8423
|
-
/* @__PURE__ */ (0,
|
|
9070
|
+
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)(
|
|
8424
9071
|
"feBlend",
|
|
8425
9072
|
{
|
|
8426
9073
|
in: "SourceGraphic",
|
|
@@ -8437,8 +9084,8 @@ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime249.
|
|
|
8437
9084
|
var LandtrustPlusDark_default = SvgLandtrustPlusDark;
|
|
8438
9085
|
|
|
8439
9086
|
// src/Logo/components/LandtrustPlusLight.tsx
|
|
8440
|
-
var
|
|
8441
|
-
var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0,
|
|
9087
|
+
var import_jsx_runtime252 = require("@emotion/react/jsx-runtime");
|
|
9088
|
+
var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime252.jsxs)(
|
|
8442
9089
|
"svg",
|
|
8443
9090
|
{
|
|
8444
9091
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -8446,14 +9093,14 @@ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime250
|
|
|
8446
9093
|
fill: "none",
|
|
8447
9094
|
...props,
|
|
8448
9095
|
children: [
|
|
8449
|
-
/* @__PURE__ */ (0,
|
|
9096
|
+
/* @__PURE__ */ (0, import_jsx_runtime252.jsx)("g", { filter: "url(#landtrust-plus-light_svg__a)", children: /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(
|
|
8450
9097
|
"path",
|
|
8451
9098
|
{
|
|
8452
9099
|
fill: "#000",
|
|
8453
9100
|
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"
|
|
8454
9101
|
}
|
|
8455
9102
|
) }),
|
|
8456
|
-
/* @__PURE__ */ (0,
|
|
9103
|
+
/* @__PURE__ */ (0, import_jsx_runtime252.jsx)(
|
|
8457
9104
|
"path",
|
|
8458
9105
|
{
|
|
8459
9106
|
fill: "#FAD44E",
|
|
@@ -8462,14 +9109,14 @@ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime250
|
|
|
8462
9109
|
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"
|
|
8463
9110
|
}
|
|
8464
9111
|
),
|
|
8465
|
-
/* @__PURE__ */ (0,
|
|
9112
|
+
/* @__PURE__ */ (0, import_jsx_runtime252.jsx)(
|
|
8466
9113
|
"path",
|
|
8467
9114
|
{
|
|
8468
9115
|
fill: "#1A202C",
|
|
8469
9116
|
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"
|
|
8470
9117
|
}
|
|
8471
9118
|
),
|
|
8472
|
-
/* @__PURE__ */ (0,
|
|
9119
|
+
/* @__PURE__ */ (0, import_jsx_runtime252.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime252.jsxs)(
|
|
8473
9120
|
"filter",
|
|
8474
9121
|
{
|
|
8475
9122
|
id: "landtrust-plus-light_svg__a",
|
|
@@ -8480,8 +9127,8 @@ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime250
|
|
|
8480
9127
|
colorInterpolationFilters: "sRGB",
|
|
8481
9128
|
filterUnits: "userSpaceOnUse",
|
|
8482
9129
|
children: [
|
|
8483
|
-
/* @__PURE__ */ (0,
|
|
8484
|
-
/* @__PURE__ */ (0,
|
|
9130
|
+
/* @__PURE__ */ (0, import_jsx_runtime252.jsx)("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
|
|
9131
|
+
/* @__PURE__ */ (0, import_jsx_runtime252.jsx)(
|
|
8485
9132
|
"feColorMatrix",
|
|
8486
9133
|
{
|
|
8487
9134
|
in: "SourceAlpha",
|
|
@@ -8489,18 +9136,18 @@ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime250
|
|
|
8489
9136
|
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
8490
9137
|
}
|
|
8491
9138
|
),
|
|
8492
|
-
/* @__PURE__ */ (0,
|
|
8493
|
-
/* @__PURE__ */ (0,
|
|
8494
|
-
/* @__PURE__ */ (0,
|
|
8495
|
-
/* @__PURE__ */ (0,
|
|
8496
|
-
/* @__PURE__ */ (0,
|
|
9139
|
+
/* @__PURE__ */ (0, import_jsx_runtime252.jsx)("feOffset", { dy: 1 }),
|
|
9140
|
+
/* @__PURE__ */ (0, import_jsx_runtime252.jsx)("feGaussianBlur", { stdDeviation: 0.5 }),
|
|
9141
|
+
/* @__PURE__ */ (0, import_jsx_runtime252.jsx)("feComposite", { in2: "hardAlpha", operator: "out" }),
|
|
9142
|
+
/* @__PURE__ */ (0, import_jsx_runtime252.jsx)("feColorMatrix", { values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" }),
|
|
9143
|
+
/* @__PURE__ */ (0, import_jsx_runtime252.jsx)(
|
|
8497
9144
|
"feBlend",
|
|
8498
9145
|
{
|
|
8499
9146
|
in2: "BackgroundImageFix",
|
|
8500
9147
|
result: "effect1_dropShadow_257_2538"
|
|
8501
9148
|
}
|
|
8502
9149
|
),
|
|
8503
|
-
/* @__PURE__ */ (0,
|
|
9150
|
+
/* @__PURE__ */ (0, import_jsx_runtime252.jsx)(
|
|
8504
9151
|
"feBlend",
|
|
8505
9152
|
{
|
|
8506
9153
|
in: "SourceGraphic",
|
|
@@ -8517,8 +9164,8 @@ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime250
|
|
|
8517
9164
|
var LandtrustPlusLight_default = SvgLandtrustPlusLight;
|
|
8518
9165
|
|
|
8519
9166
|
// src/Logo/components/LandtrustStandardDark.tsx
|
|
8520
|
-
var
|
|
8521
|
-
var SvgLandtrustStandardDark = (props) => /* @__PURE__ */ (0,
|
|
9167
|
+
var import_jsx_runtime253 = require("@emotion/react/jsx-runtime");
|
|
9168
|
+
var SvgLandtrustStandardDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime253.jsxs)(
|
|
8522
9169
|
"svg",
|
|
8523
9170
|
{
|
|
8524
9171
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -8526,14 +9173,14 @@ var SvgLandtrustStandardDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime
|
|
|
8526
9173
|
fill: "none",
|
|
8527
9174
|
...props,
|
|
8528
9175
|
children: [
|
|
8529
|
-
/* @__PURE__ */ (0,
|
|
9176
|
+
/* @__PURE__ */ (0, import_jsx_runtime253.jsx)(
|
|
8530
9177
|
"path",
|
|
8531
9178
|
{
|
|
8532
9179
|
fill: "#E2430C",
|
|
8533
9180
|
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"
|
|
8534
9181
|
}
|
|
8535
9182
|
),
|
|
8536
|
-
/* @__PURE__ */ (0,
|
|
9183
|
+
/* @__PURE__ */ (0, import_jsx_runtime253.jsx)(
|
|
8537
9184
|
"path",
|
|
8538
9185
|
{
|
|
8539
9186
|
fill: "#fff",
|
|
@@ -8546,8 +9193,8 @@ var SvgLandtrustStandardDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime
|
|
|
8546
9193
|
var LandtrustStandardDark_default = SvgLandtrustStandardDark;
|
|
8547
9194
|
|
|
8548
9195
|
// src/Logo/components/LandtrustStandardLight.tsx
|
|
8549
|
-
var
|
|
8550
|
-
var SvgLandtrustStandardLight = (props) => /* @__PURE__ */ (0,
|
|
9196
|
+
var import_jsx_runtime254 = require("@emotion/react/jsx-runtime");
|
|
9197
|
+
var SvgLandtrustStandardLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime254.jsxs)(
|
|
8551
9198
|
"svg",
|
|
8552
9199
|
{
|
|
8553
9200
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -8555,14 +9202,14 @@ var SvgLandtrustStandardLight = (props) => /* @__PURE__ */ (0, import_jsx_runtim
|
|
|
8555
9202
|
fill: "none",
|
|
8556
9203
|
...props,
|
|
8557
9204
|
children: [
|
|
8558
|
-
/* @__PURE__ */ (0,
|
|
9205
|
+
/* @__PURE__ */ (0, import_jsx_runtime254.jsx)(
|
|
8559
9206
|
"path",
|
|
8560
9207
|
{
|
|
8561
9208
|
fill: "#E2430C",
|
|
8562
9209
|
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"
|
|
8563
9210
|
}
|
|
8564
9211
|
),
|
|
8565
|
-
/* @__PURE__ */ (0,
|
|
9212
|
+
/* @__PURE__ */ (0, import_jsx_runtime254.jsx)(
|
|
8566
9213
|
"path",
|
|
8567
9214
|
{
|
|
8568
9215
|
fill: "#000",
|
|
@@ -8575,8 +9222,8 @@ var SvgLandtrustStandardLight = (props) => /* @__PURE__ */ (0, import_jsx_runtim
|
|
|
8575
9222
|
var LandtrustStandardLight_default = SvgLandtrustStandardLight;
|
|
8576
9223
|
|
|
8577
9224
|
// src/Logo/Logo.tsx
|
|
8578
|
-
var
|
|
8579
|
-
var logoStyles = (size) =>
|
|
9225
|
+
var import_jsx_runtime255 = require("@emotion/react/jsx-runtime");
|
|
9226
|
+
var logoStyles = (size) => import_react59.css`
|
|
8580
9227
|
width: ${space[size]};
|
|
8581
9228
|
height: auto;
|
|
8582
9229
|
display: block;
|
|
@@ -8604,18 +9251,18 @@ var Logo = ({
|
|
|
8604
9251
|
return LandtrustStandardLight_default;
|
|
8605
9252
|
};
|
|
8606
9253
|
const LogoComponent = getLogoComponent();
|
|
8607
|
-
return /* @__PURE__ */ (0,
|
|
9254
|
+
return /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(LogoComponent, { css: logoStyles(size), className, ...rest });
|
|
8608
9255
|
};
|
|
8609
9256
|
var Logo_default = Logo;
|
|
8610
9257
|
|
|
8611
9258
|
// src/Navigation/Navigation.styles.ts
|
|
8612
|
-
var
|
|
8613
|
-
var navigationStyles =
|
|
9259
|
+
var import_react60 = require("@emotion/react");
|
|
9260
|
+
var navigationStyles = import_react60.css`
|
|
8614
9261
|
width: 100%;
|
|
8615
9262
|
background-color: white;
|
|
8616
9263
|
border-bottom: 1px solid #e5e5e5;
|
|
8617
9264
|
`;
|
|
8618
|
-
var hamburgerButtonStyles =
|
|
9265
|
+
var hamburgerButtonStyles = import_react60.css`
|
|
8619
9266
|
cursor: pointer;
|
|
8620
9267
|
&:focus {
|
|
8621
9268
|
outline: 2px solid #4f46e5;
|
|
@@ -8626,7 +9273,7 @@ var hamburgerButtonStyles = import_react56.css`
|
|
|
8626
9273
|
display: none;
|
|
8627
9274
|
}
|
|
8628
9275
|
`;
|
|
8629
|
-
var centeredLogoStyles =
|
|
9276
|
+
var centeredLogoStyles = import_react60.css`
|
|
8630
9277
|
transform: translate(-50%, -50%);
|
|
8631
9278
|
max-width: 150px;
|
|
8632
9279
|
|
|
@@ -8634,27 +9281,27 @@ var centeredLogoStyles = import_react56.css`
|
|
|
8634
9281
|
display: none;
|
|
8635
9282
|
}
|
|
8636
9283
|
`;
|
|
8637
|
-
var desktopLogoStyles =
|
|
9284
|
+
var desktopLogoStyles = import_react60.css`
|
|
8638
9285
|
display: none;
|
|
8639
9286
|
|
|
8640
9287
|
@media (min-width: 768px) {
|
|
8641
9288
|
display: block;
|
|
8642
9289
|
}
|
|
8643
9290
|
`;
|
|
8644
|
-
var
|
|
9291
|
+
var containerStyles4 = import_react60.css`
|
|
8645
9292
|
@media (min-width: 768px) {
|
|
8646
9293
|
justify-content: space-between;
|
|
8647
9294
|
position: static;
|
|
8648
9295
|
}
|
|
8649
9296
|
`;
|
|
8650
|
-
var logoStyles2 =
|
|
9297
|
+
var logoStyles2 = import_react60.css`
|
|
8651
9298
|
width: 100%;
|
|
8652
9299
|
|
|
8653
9300
|
@media (min-width: 768px) {
|
|
8654
9301
|
width: initial;
|
|
8655
9302
|
}
|
|
8656
9303
|
`;
|
|
8657
|
-
var desktopNavStyles =
|
|
9304
|
+
var desktopNavStyles = import_react60.css`
|
|
8658
9305
|
display: none;
|
|
8659
9306
|
|
|
8660
9307
|
@media (min-width: 768px) {
|
|
@@ -8663,7 +9310,7 @@ var desktopNavStyles = import_react56.css`
|
|
|
8663
9310
|
gap: 32px;
|
|
8664
9311
|
}
|
|
8665
9312
|
`;
|
|
8666
|
-
var navLinksStyles =
|
|
9313
|
+
var navLinksStyles = import_react60.css`
|
|
8667
9314
|
display: flex;
|
|
8668
9315
|
align-items: center;
|
|
8669
9316
|
gap: 24px;
|
|
@@ -8671,7 +9318,7 @@ var navLinksStyles = import_react56.css`
|
|
|
8671
9318
|
margin: 0;
|
|
8672
9319
|
padding: 0;
|
|
8673
9320
|
`;
|
|
8674
|
-
var navLinkStyles =
|
|
9321
|
+
var navLinkStyles = import_react60.css`
|
|
8675
9322
|
text-decoration: none;
|
|
8676
9323
|
color: #374151;
|
|
8677
9324
|
font-weight: 500;
|
|
@@ -8687,7 +9334,7 @@ var navLinkStyles = import_react56.css`
|
|
|
8687
9334
|
outline-offset: 2px;
|
|
8688
9335
|
}
|
|
8689
9336
|
`;
|
|
8690
|
-
var avatarPlaceholderStyles =
|
|
9337
|
+
var avatarPlaceholderStyles = import_react60.css`
|
|
8691
9338
|
width: 32px;
|
|
8692
9339
|
height: 32px;
|
|
8693
9340
|
border-radius: 50%;
|
|
@@ -8712,7 +9359,7 @@ var avatarPlaceholderStyles = import_react56.css`
|
|
|
8712
9359
|
`;
|
|
8713
9360
|
|
|
8714
9361
|
// src/Navigation/Navigation.tsx
|
|
8715
|
-
var
|
|
9362
|
+
var import_jsx_runtime256 = require("@emotion/react/jsx-runtime");
|
|
8716
9363
|
var Navigation = ({
|
|
8717
9364
|
onMenuToggle,
|
|
8718
9365
|
className,
|
|
@@ -8726,16 +9373,16 @@ var Navigation = ({
|
|
|
8726
9373
|
onAvatarClick,
|
|
8727
9374
|
...rest
|
|
8728
9375
|
}) => {
|
|
8729
|
-
return /* @__PURE__ */ (0,
|
|
9376
|
+
return /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(Box_default, { css: navigationStyles, className, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime256.jsxs)(
|
|
8730
9377
|
Box_default,
|
|
8731
9378
|
{
|
|
8732
9379
|
display: "flex",
|
|
8733
9380
|
alignItems: "center",
|
|
8734
9381
|
padding: space[4],
|
|
8735
9382
|
position: "relative",
|
|
8736
|
-
css:
|
|
9383
|
+
css: containerStyles4,
|
|
8737
9384
|
children: [
|
|
8738
|
-
/* @__PURE__ */ (0,
|
|
9385
|
+
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
|
|
8739
9386
|
Box_default,
|
|
8740
9387
|
{
|
|
8741
9388
|
as: "button",
|
|
@@ -8747,11 +9394,11 @@ var Navigation = ({
|
|
|
8747
9394
|
border: "none",
|
|
8748
9395
|
padding: space[2],
|
|
8749
9396
|
css: hamburgerButtonStyles,
|
|
8750
|
-
children: /* @__PURE__ */ (0,
|
|
9397
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(Icon_default, { variant: "Bars", size: "large" })
|
|
8751
9398
|
}
|
|
8752
9399
|
),
|
|
8753
|
-
/* @__PURE__ */ (0,
|
|
8754
|
-
/* @__PURE__ */ (0,
|
|
9400
|
+
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)(Box_default, { css: desktopLogoStyles, children: /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(Logo_default, { variant: logoVariant, theme: logoTheme }) }),
|
|
9401
|
+
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)(Box_default, { position: "absolute", left: "50%", top: "50%", css: centeredLogoStyles, children: /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
|
|
8755
9402
|
Logo_default,
|
|
8756
9403
|
{
|
|
8757
9404
|
variant: logoVariant,
|
|
@@ -8760,8 +9407,8 @@ var Navigation = ({
|
|
|
8760
9407
|
css: logoStyles2
|
|
8761
9408
|
}
|
|
8762
9409
|
) }),
|
|
8763
|
-
/* @__PURE__ */ (0,
|
|
8764
|
-
/* @__PURE__ */ (0,
|
|
9410
|
+
/* @__PURE__ */ (0, import_jsx_runtime256.jsxs)(Box_default, { css: desktopNavStyles, children: [
|
|
9411
|
+
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)(Box_default, { as: "nav", children: /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(Box_default, { as: "ul", css: navLinksStyles, children: navLinks.map((link) => /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(Box_default, { as: "li", children: /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
|
|
8765
9412
|
"a",
|
|
8766
9413
|
{
|
|
8767
9414
|
href: link.href,
|
|
@@ -8770,7 +9417,7 @@ var Navigation = ({
|
|
|
8770
9417
|
children: link.label
|
|
8771
9418
|
}
|
|
8772
9419
|
) }, link.href)) }) }),
|
|
8773
|
-
/* @__PURE__ */ (0,
|
|
9420
|
+
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
|
|
8774
9421
|
Box_default,
|
|
8775
9422
|
{
|
|
8776
9423
|
as: "button",
|
|
@@ -8789,21 +9436,21 @@ var Navigation = ({
|
|
|
8789
9436
|
var Navigation_default = Navigation;
|
|
8790
9437
|
|
|
8791
9438
|
// src/ScrollingCarousel/components/ScrollingCarouselStep.tsx
|
|
8792
|
-
var
|
|
9439
|
+
var import_react63 = require("react");
|
|
8793
9440
|
var import_react_intersection_observer = require("react-intersection-observer");
|
|
8794
9441
|
|
|
8795
9442
|
// src/ScrollingCarousel/context/CarouselContext.tsx
|
|
8796
|
-
var
|
|
8797
|
-
var CarouselContext =
|
|
9443
|
+
var import_react61 = __toESM(require("react"));
|
|
9444
|
+
var CarouselContext = import_react61.default.createContext(
|
|
8798
9445
|
null
|
|
8799
9446
|
);
|
|
8800
9447
|
|
|
8801
9448
|
// src/ScrollingCarousel/ScrollingCarousel.styles.ts
|
|
8802
|
-
var
|
|
8803
|
-
var carouselRoot =
|
|
9449
|
+
var import_react62 = require("@emotion/react");
|
|
9450
|
+
var carouselRoot = import_react62.css`
|
|
8804
9451
|
position: relative;
|
|
8805
9452
|
`;
|
|
8806
|
-
var carousel =
|
|
9453
|
+
var carousel = import_react62.css`
|
|
8807
9454
|
display: flex;
|
|
8808
9455
|
overflow-y: hidden;
|
|
8809
9456
|
overflow-x: scroll;
|
|
@@ -8815,7 +9462,7 @@ var carousel = import_react58.css`
|
|
|
8815
9462
|
display: none;
|
|
8816
9463
|
}
|
|
8817
9464
|
`;
|
|
8818
|
-
var step =
|
|
9465
|
+
var step = import_react62.css`
|
|
8819
9466
|
scroll-snap-align: center;
|
|
8820
9467
|
flex-basis: 100%;
|
|
8821
9468
|
flex-shrink: 0;
|
|
@@ -8828,7 +9475,7 @@ var step = import_react58.css`
|
|
|
8828
9475
|
flex-basis: 100%;
|
|
8829
9476
|
}
|
|
8830
9477
|
`;
|
|
8831
|
-
var controls = (position2) =>
|
|
9478
|
+
var controls = (position2) => import_react62.css`
|
|
8832
9479
|
${(position2 === "left-right" || position2 === "top-right") && `
|
|
8833
9480
|
display: none;
|
|
8834
9481
|
|
|
@@ -8837,7 +9484,7 @@ var controls = (position2) => import_react58.css`
|
|
|
8837
9484
|
}
|
|
8838
9485
|
`}
|
|
8839
9486
|
`;
|
|
8840
|
-
var iconWrapper =
|
|
9487
|
+
var iconWrapper = import_react62.css`
|
|
8841
9488
|
display: flex;
|
|
8842
9489
|
width: var(--spacing-7);
|
|
8843
9490
|
height: var(--spacing-7);
|
|
@@ -8847,7 +9494,7 @@ var iconWrapper = import_react58.css`
|
|
|
8847
9494
|
justify-content: center;
|
|
8848
9495
|
box-shadow: var(--shadow-md);
|
|
8849
9496
|
`;
|
|
8850
|
-
var button = (position2) =>
|
|
9497
|
+
var button = (position2) => import_react62.css`
|
|
8851
9498
|
background: transparent;
|
|
8852
9499
|
border-color: transparent;
|
|
8853
9500
|
outline: none;
|
|
@@ -8879,7 +9526,7 @@ var button = (position2) => import_react58.css`
|
|
|
8879
9526
|
bottom: calc(-1 * var(--spacing-1));
|
|
8880
9527
|
`}
|
|
8881
9528
|
`;
|
|
8882
|
-
var buttonLeft = (position2) =>
|
|
9529
|
+
var buttonLeft = (position2) => import_react62.css`
|
|
8883
9530
|
${button(position2)}
|
|
8884
9531
|
|
|
8885
9532
|
${position2 === "left-right" && `
|
|
@@ -8899,7 +9546,7 @@ var buttonLeft = (position2) => import_react58.css`
|
|
|
8899
9546
|
left: calc(50% - var(--spacing-16));
|
|
8900
9547
|
`}
|
|
8901
9548
|
`;
|
|
8902
|
-
var customButtonLeft = (position2) =>
|
|
9549
|
+
var customButtonLeft = (position2) => import_react62.css`
|
|
8903
9550
|
${button(position2)}
|
|
8904
9551
|
|
|
8905
9552
|
${position2 === "left-right" && `
|
|
@@ -8919,7 +9566,7 @@ var customButtonLeft = (position2) => import_react58.css`
|
|
|
8919
9566
|
left: calc(50% - var(--spacing-16));
|
|
8920
9567
|
`}
|
|
8921
9568
|
`;
|
|
8922
|
-
var buttonRight = (position2) =>
|
|
9569
|
+
var buttonRight = (position2) => import_react62.css`
|
|
8923
9570
|
${button(position2)}
|
|
8924
9571
|
|
|
8925
9572
|
${position2 === "left-right" && `
|
|
@@ -8939,12 +9586,12 @@ var buttonRight = (position2) => import_react58.css`
|
|
|
8939
9586
|
right: calc(50% - var(--spacing-16));
|
|
8940
9587
|
`}
|
|
8941
9588
|
`;
|
|
8942
|
-
var icon =
|
|
9589
|
+
var icon = import_react62.css`
|
|
8943
9590
|
width: var(--spacing-3);
|
|
8944
9591
|
height: var(--spacing-3);
|
|
8945
9592
|
color: var(--color-base-black);
|
|
8946
9593
|
`;
|
|
8947
|
-
var dots =
|
|
9594
|
+
var dots = import_react62.css`
|
|
8948
9595
|
position: absolute;
|
|
8949
9596
|
bottom: var(--spacing-2);
|
|
8950
9597
|
left: 0;
|
|
@@ -8954,11 +9601,11 @@ var dots = import_react58.css`
|
|
|
8954
9601
|
align-items: center;
|
|
8955
9602
|
justify-content: center;
|
|
8956
9603
|
`;
|
|
8957
|
-
var dotsInner =
|
|
9604
|
+
var dotsInner = import_react62.css`
|
|
8958
9605
|
display: flex;
|
|
8959
9606
|
overflow: hidden;
|
|
8960
9607
|
`;
|
|
8961
|
-
var dot = (dotsColor) =>
|
|
9608
|
+
var dot = (dotsColor) => import_react62.css`
|
|
8962
9609
|
position: relative;
|
|
8963
9610
|
flex-shrink: 0;
|
|
8964
9611
|
flex-grow: 0;
|
|
@@ -8997,22 +9644,22 @@ var dot = (dotsColor) => import_react58.css`
|
|
|
8997
9644
|
`}
|
|
8998
9645
|
}
|
|
8999
9646
|
`;
|
|
9000
|
-
var dotDistance2 =
|
|
9647
|
+
var dotDistance2 = import_react62.css`
|
|
9001
9648
|
&::after {
|
|
9002
9649
|
transform: translate(-50%, -50%) scale(0.9);
|
|
9003
9650
|
}
|
|
9004
9651
|
`;
|
|
9005
|
-
var dotDistance3 =
|
|
9652
|
+
var dotDistance3 = import_react62.css`
|
|
9006
9653
|
&::after {
|
|
9007
9654
|
transform: translate(-50%, -50%) scale(0.8);
|
|
9008
9655
|
}
|
|
9009
9656
|
`;
|
|
9010
|
-
var dotDistanceGreaterThan3 =
|
|
9657
|
+
var dotDistanceGreaterThan3 = import_react62.css`
|
|
9011
9658
|
&::after {
|
|
9012
9659
|
transform: translate(-50%, -50%) scale(0.7);
|
|
9013
9660
|
}
|
|
9014
9661
|
`;
|
|
9015
|
-
var dotVisible =
|
|
9662
|
+
var dotVisible = import_react62.css`
|
|
9016
9663
|
&::after {
|
|
9017
9664
|
opacity: 1;
|
|
9018
9665
|
transform: translate(-50%, -50%) scale(1.2);
|
|
@@ -9020,7 +9667,7 @@ var dotVisible = import_react58.css`
|
|
|
9020
9667
|
`;
|
|
9021
9668
|
|
|
9022
9669
|
// src/ScrollingCarousel/components/ScrollingCarouselStep.tsx
|
|
9023
|
-
var
|
|
9670
|
+
var import_jsx_runtime257 = require("@emotion/react/jsx-runtime");
|
|
9024
9671
|
var ScrollingCarouselStep = ({
|
|
9025
9672
|
children,
|
|
9026
9673
|
index,
|
|
@@ -9028,7 +9675,7 @@ var ScrollingCarouselStep = ({
|
|
|
9028
9675
|
parentId,
|
|
9029
9676
|
onClick
|
|
9030
9677
|
}) => {
|
|
9031
|
-
const context = (0,
|
|
9678
|
+
const context = (0, import_react63.useContext)(CarouselContext);
|
|
9032
9679
|
if (!context) {
|
|
9033
9680
|
throw new Error(
|
|
9034
9681
|
"ScrollingCarouselStep must be used within ScrollingCarousel"
|
|
@@ -9039,7 +9686,7 @@ var ScrollingCarouselStep = ({
|
|
|
9039
9686
|
threshold: 0.75,
|
|
9040
9687
|
root: carousel2.current
|
|
9041
9688
|
});
|
|
9042
|
-
(0,
|
|
9689
|
+
(0, import_react63.useEffect)(() => {
|
|
9043
9690
|
if (typeof index !== "undefined") {
|
|
9044
9691
|
dispatch({
|
|
9045
9692
|
type: "set_child_visibility",
|
|
@@ -9047,7 +9694,7 @@ var ScrollingCarouselStep = ({
|
|
|
9047
9694
|
});
|
|
9048
9695
|
}
|
|
9049
9696
|
}, [inView, index, dispatch]);
|
|
9050
|
-
return /* @__PURE__ */ (0,
|
|
9697
|
+
return /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
|
|
9051
9698
|
"div",
|
|
9052
9699
|
{
|
|
9053
9700
|
ref,
|
|
@@ -9065,10 +9712,10 @@ var ScrollingCarouselStep = ({
|
|
|
9065
9712
|
ScrollingCarouselStep.displayName = "ScrollingCarouselStep";
|
|
9066
9713
|
|
|
9067
9714
|
// src/ScrollingCarousel/ScrollingCarousel.tsx
|
|
9068
|
-
var
|
|
9715
|
+
var import_react67 = __toESM(require("react"));
|
|
9069
9716
|
|
|
9070
9717
|
// src/ScrollingCarousel/hooks/useCarouselDots.ts
|
|
9071
|
-
var
|
|
9718
|
+
var import_react64 = require("react");
|
|
9072
9719
|
|
|
9073
9720
|
// src/ScrollingCarousel/ScrollingCarousel.helpers.ts
|
|
9074
9721
|
var childVisibilityReducer = (state, action) => {
|
|
@@ -9099,7 +9746,7 @@ var useCarouselDots = ({
|
|
|
9099
9746
|
anyItemsVisible,
|
|
9100
9747
|
numberOfDots
|
|
9101
9748
|
}) => {
|
|
9102
|
-
const dotOffset = (0,
|
|
9749
|
+
const dotOffset = (0, import_react64.useRef)(0);
|
|
9103
9750
|
const dotWidth = 12;
|
|
9104
9751
|
const totalDots = childVisibility.length;
|
|
9105
9752
|
const dotToCenterIndex = Math.round(
|
|
@@ -9131,7 +9778,7 @@ var useCarouselDots = ({
|
|
|
9131
9778
|
};
|
|
9132
9779
|
|
|
9133
9780
|
// src/ScrollingCarousel/hooks/useCarouselNavigation.ts
|
|
9134
|
-
var
|
|
9781
|
+
var import_react65 = require("react");
|
|
9135
9782
|
|
|
9136
9783
|
// src/shared/helpers.ts
|
|
9137
9784
|
var import_seamless_scroll_polyfill = require("seamless-scroll-polyfill");
|
|
@@ -9165,7 +9812,7 @@ var useCarouselNavigation = ({
|
|
|
9165
9812
|
infiniteScroll,
|
|
9166
9813
|
childVisibilityLength
|
|
9167
9814
|
}) => {
|
|
9168
|
-
const getStepEl = (0,
|
|
9815
|
+
const getStepEl = (0, import_react65.useCallback)(
|
|
9169
9816
|
(index) => {
|
|
9170
9817
|
if (carousel2.current) {
|
|
9171
9818
|
const selector = `[data-carousel-id="${id}"][data-carousel-index="${index}"]`;
|
|
@@ -9175,7 +9822,7 @@ var useCarouselNavigation = ({
|
|
|
9175
9822
|
},
|
|
9176
9823
|
[carousel2, id]
|
|
9177
9824
|
);
|
|
9178
|
-
const next = (0,
|
|
9825
|
+
const next = (0, import_react65.useCallback)(
|
|
9179
9826
|
(e) => {
|
|
9180
9827
|
e.preventDefault();
|
|
9181
9828
|
if (lastItemIsVisible && !infiniteScroll)
|
|
@@ -9203,7 +9850,7 @@ var useCarouselNavigation = ({
|
|
|
9203
9850
|
carousel2
|
|
9204
9851
|
]
|
|
9205
9852
|
);
|
|
9206
|
-
const back = (0,
|
|
9853
|
+
const back = (0, import_react65.useCallback)(
|
|
9207
9854
|
(e) => {
|
|
9208
9855
|
e.preventDefault();
|
|
9209
9856
|
if (firstItemIsVisible && !infiniteScroll)
|
|
@@ -9231,7 +9878,7 @@ var useCarouselNavigation = ({
|
|
|
9231
9878
|
carousel2
|
|
9232
9879
|
]
|
|
9233
9880
|
);
|
|
9234
|
-
const goTo = (0,
|
|
9881
|
+
const goTo = (0, import_react65.useCallback)(
|
|
9235
9882
|
(e, i) => {
|
|
9236
9883
|
e.preventDefault();
|
|
9237
9884
|
const el = getStepEl(i);
|
|
@@ -9249,12 +9896,12 @@ var useCarouselNavigation = ({
|
|
|
9249
9896
|
};
|
|
9250
9897
|
|
|
9251
9898
|
// src/ScrollingCarousel/hooks/useCarouselVisibility.ts
|
|
9252
|
-
var
|
|
9899
|
+
var import_react66 = require("react");
|
|
9253
9900
|
var useCarouselVisibility = (carousel2) => {
|
|
9254
|
-
const [state, dispatch] = (0,
|
|
9901
|
+
const [state, dispatch] = (0, import_react66.useReducer)(childVisibilityReducer, {
|
|
9255
9902
|
childVisibility: []
|
|
9256
9903
|
});
|
|
9257
|
-
const carouselContextApi = (0,
|
|
9904
|
+
const carouselContextApi = (0, import_react66.useMemo)(
|
|
9258
9905
|
() => ({ carousel: carousel2, dispatch }),
|
|
9259
9906
|
[carousel2]
|
|
9260
9907
|
);
|
|
@@ -9275,7 +9922,7 @@ var useCarouselVisibility = (carousel2) => {
|
|
|
9275
9922
|
};
|
|
9276
9923
|
|
|
9277
9924
|
// src/ScrollingCarousel/ScrollingCarousel.tsx
|
|
9278
|
-
var
|
|
9925
|
+
var import_jsx_runtime258 = require("@emotion/react/jsx-runtime");
|
|
9279
9926
|
var ScrollingCarousel = ({
|
|
9280
9927
|
className,
|
|
9281
9928
|
children,
|
|
@@ -9292,8 +9939,8 @@ var ScrollingCarousel = ({
|
|
|
9292
9939
|
id,
|
|
9293
9940
|
current
|
|
9294
9941
|
}) => {
|
|
9295
|
-
const carousel2 = (0,
|
|
9296
|
-
const [isHovering, setIsHovering] = (0,
|
|
9942
|
+
const carousel2 = (0, import_react67.useRef)(null);
|
|
9943
|
+
const [isHovering, setIsHovering] = (0, import_react67.useState)(false);
|
|
9297
9944
|
const {
|
|
9298
9945
|
state,
|
|
9299
9946
|
carouselContextApi,
|
|
@@ -9313,7 +9960,7 @@ var ScrollingCarousel = ({
|
|
|
9313
9960
|
infiniteScroll,
|
|
9314
9961
|
childVisibilityLength: state.childVisibility.length
|
|
9315
9962
|
});
|
|
9316
|
-
(0,
|
|
9963
|
+
(0, import_react67.useEffect)(() => {
|
|
9317
9964
|
if (carousel2.current && typeof current === "number" && current >= 0) {
|
|
9318
9965
|
const childrenArray = Array.from(carousel2.current.children);
|
|
9319
9966
|
const selectedItem = childrenArray[current];
|
|
@@ -9328,9 +9975,9 @@ var ScrollingCarousel = ({
|
|
|
9328
9975
|
}
|
|
9329
9976
|
}
|
|
9330
9977
|
}, [current]);
|
|
9331
|
-
const childrenWithIndex =
|
|
9978
|
+
const childrenWithIndex = import_react67.default.Children.map(
|
|
9332
9979
|
children,
|
|
9333
|
-
(child, index) =>
|
|
9980
|
+
(child, index) => import_react67.default.cloneElement(child, { index })
|
|
9334
9981
|
);
|
|
9335
9982
|
const { dotOffset, dotDistances, dotWidth } = useCarouselDots({
|
|
9336
9983
|
childVisibility: state.childVisibility,
|
|
@@ -9341,7 +9988,7 @@ var ScrollingCarousel = ({
|
|
|
9341
9988
|
});
|
|
9342
9989
|
const hasMultipleChildren = state.childVisibility.length > 1;
|
|
9343
9990
|
const shouldShowNavigation = showNavigationOnHover ? isHovering : true;
|
|
9344
|
-
return /* @__PURE__ */ (0,
|
|
9991
|
+
return /* @__PURE__ */ (0, import_jsx_runtime258.jsxs)(
|
|
9345
9992
|
"div",
|
|
9346
9993
|
{
|
|
9347
9994
|
css: carouselRoot,
|
|
@@ -9349,7 +9996,7 @@ var ScrollingCarousel = ({
|
|
|
9349
9996
|
onMouseEnter: () => setIsHovering(true),
|
|
9350
9997
|
onMouseLeave: () => setIsHovering(false),
|
|
9351
9998
|
children: [
|
|
9352
|
-
/* @__PURE__ */ (0,
|
|
9999
|
+
/* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
|
|
9353
10000
|
"div",
|
|
9354
10001
|
{
|
|
9355
10002
|
css: carousel,
|
|
@@ -9358,11 +10005,11 @@ var ScrollingCarousel = ({
|
|
|
9358
10005
|
role: "region",
|
|
9359
10006
|
"aria-roledescription": "carousel",
|
|
9360
10007
|
"aria-label": "Scrolling carousel",
|
|
9361
|
-
children: /* @__PURE__ */ (0,
|
|
10008
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(CarouselContext.Provider, { value: carouselContextApi, children: childrenWithIndex })
|
|
9362
10009
|
}
|
|
9363
10010
|
),
|
|
9364
|
-
hasMultipleChildren && shouldShowNavigation && /* @__PURE__ */ (0,
|
|
9365
|
-
showButtons && (!firstItemIsVisible || infiniteScroll) && /* @__PURE__ */ (0,
|
|
10011
|
+
hasMultipleChildren && shouldShowNavigation && /* @__PURE__ */ (0, import_jsx_runtime258.jsxs)("div", { css: controls(buttonsPosition), children: [
|
|
10012
|
+
showButtons && (!firstItemIsVisible || infiniteScroll) && /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
|
|
9366
10013
|
"button",
|
|
9367
10014
|
{
|
|
9368
10015
|
"aria-label": "Previous",
|
|
@@ -9374,10 +10021,10 @@ var ScrollingCarousel = ({
|
|
|
9374
10021
|
},
|
|
9375
10022
|
css: customLeftButton ? customButtonLeft(buttonsPosition) : buttonLeft(buttonsPosition),
|
|
9376
10023
|
"data-testid": `scrolling-carousel-button-back-${id}`,
|
|
9377
|
-
children: customBackIcon ? customBackIcon : /* @__PURE__ */ (0,
|
|
10024
|
+
children: customBackIcon ? customBackIcon : /* @__PURE__ */ (0, import_jsx_runtime258.jsx)("span", { css: iconWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(Icon_default, { variant: "AngleLeft", css: icon }) })
|
|
9378
10025
|
}
|
|
9379
10026
|
),
|
|
9380
|
-
showButtons && (!lastItemIsVisible || infiniteScroll) && /* @__PURE__ */ (0,
|
|
10027
|
+
showButtons && (!lastItemIsVisible || infiniteScroll) && /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
|
|
9381
10028
|
"button",
|
|
9382
10029
|
{
|
|
9383
10030
|
"aria-label": "Next",
|
|
@@ -9389,11 +10036,11 @@ var ScrollingCarousel = ({
|
|
|
9389
10036
|
},
|
|
9390
10037
|
css: buttonRight(buttonsPosition),
|
|
9391
10038
|
"data-testid": `scrolling-carousel-button-next-${id}`,
|
|
9392
|
-
children: customNextIcon ? customNextIcon : /* @__PURE__ */ (0,
|
|
10039
|
+
children: customNextIcon ? customNextIcon : /* @__PURE__ */ (0, import_jsx_runtime258.jsx)("span", { css: iconWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(Icon_default, { variant: "AngleRight", css: icon }) })
|
|
9393
10040
|
}
|
|
9394
10041
|
)
|
|
9395
10042
|
] }),
|
|
9396
|
-
showDots && /* @__PURE__ */ (0,
|
|
10043
|
+
showDots && /* @__PURE__ */ (0, import_jsx_runtime258.jsx)("div", { css: dots, children: /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
|
|
9397
10044
|
"div",
|
|
9398
10045
|
{
|
|
9399
10046
|
css: dotsInner,
|
|
@@ -9401,7 +10048,7 @@ var ScrollingCarousel = ({
|
|
|
9401
10048
|
children: state.childVisibility.map((childVisibility, i) => {
|
|
9402
10049
|
var _a;
|
|
9403
10050
|
const distance = (_a = dotDistances[i]) != null ? _a : 0;
|
|
9404
|
-
return /* @__PURE__ */ (0,
|
|
10051
|
+
return /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
|
|
9405
10052
|
"button",
|
|
9406
10053
|
{
|
|
9407
10054
|
type: "button",
|
|
@@ -9432,8 +10079,8 @@ var ScrollingCarousel = ({
|
|
|
9432
10079
|
ScrollingCarousel.displayName = "ScrollingCarousel";
|
|
9433
10080
|
|
|
9434
10081
|
// src/PackageCard/PackageCard.styles.ts
|
|
9435
|
-
var
|
|
9436
|
-
var cardContainerStyles3 = (orientation, hasContentBackground, hasClickHandler) =>
|
|
10082
|
+
var import_react68 = require("@emotion/react");
|
|
10083
|
+
var cardContainerStyles3 = (orientation, hasContentBackground, hasClickHandler) => import_react68.css`
|
|
9437
10084
|
${hasClickHandler && `
|
|
9438
10085
|
cursor: pointer;
|
|
9439
10086
|
`}
|
|
@@ -9451,7 +10098,7 @@ var cardContainerStyles3 = (orientation, hasContentBackground, hasClickHandler)
|
|
|
9451
10098
|
flex-direction: column;
|
|
9452
10099
|
gap: var(--spacing-2);
|
|
9453
10100
|
|
|
9454
|
-
${orientation === "horizontal" &&
|
|
10101
|
+
${orientation === "horizontal" && import_react68.css`
|
|
9455
10102
|
/* Apply horizontal layout only on tablet and up */
|
|
9456
10103
|
${media.md} {
|
|
9457
10104
|
flex-direction: row;
|
|
@@ -9479,60 +10126,60 @@ var cardContainerStyles3 = (orientation, hasContentBackground, hasClickHandler)
|
|
|
9479
10126
|
}
|
|
9480
10127
|
`}
|
|
9481
10128
|
`;
|
|
9482
|
-
var imageContainerStyles = (orientation) =>
|
|
10129
|
+
var imageContainerStyles = (orientation) => import_react68.css`
|
|
9483
10130
|
width: 100%;
|
|
9484
10131
|
height: 260px;
|
|
9485
10132
|
|
|
9486
|
-
${orientation === "horizontal" &&
|
|
10133
|
+
${orientation === "horizontal" && import_react68.css`
|
|
9487
10134
|
${media.md} {
|
|
9488
10135
|
width: 40%;
|
|
9489
10136
|
height: 200px;
|
|
9490
10137
|
}
|
|
9491
10138
|
`}
|
|
9492
10139
|
`;
|
|
9493
|
-
var imageBoxStyles = (orientation) =>
|
|
10140
|
+
var imageBoxStyles = (orientation) => import_react68.css`
|
|
9494
10141
|
height: 260px;
|
|
9495
10142
|
|
|
9496
|
-
${orientation === "horizontal" &&
|
|
10143
|
+
${orientation === "horizontal" && import_react68.css`
|
|
9497
10144
|
${media.md} {
|
|
9498
10145
|
height: 200px;
|
|
9499
10146
|
}
|
|
9500
10147
|
`}
|
|
9501
10148
|
`;
|
|
9502
|
-
var contentContainerStyles = (orientation, hasContentBackground) =>
|
|
10149
|
+
var contentContainerStyles = (orientation, hasContentBackground) => import_react68.css`
|
|
9503
10150
|
${hasContentBackground ? contentWithBackgroundStyles : contentWithoutBackgroundStyles}
|
|
9504
10151
|
width: 100%;
|
|
9505
10152
|
display: flex;
|
|
9506
10153
|
flex-direction: column;
|
|
9507
10154
|
justify-content: flex-start;
|
|
9508
10155
|
|
|
9509
|
-
${orientation === "horizontal" &&
|
|
10156
|
+
${orientation === "horizontal" && import_react68.css`
|
|
9510
10157
|
${media.md} {
|
|
9511
10158
|
width: 60%;
|
|
9512
10159
|
justify-content: center;
|
|
9513
10160
|
}
|
|
9514
10161
|
`}
|
|
9515
10162
|
`;
|
|
9516
|
-
var
|
|
10163
|
+
var imageStyles3 = import_react68.css`
|
|
9517
10164
|
background-size: cover;
|
|
9518
10165
|
background-position: center;
|
|
9519
10166
|
background-repeat: no-repeat;
|
|
9520
10167
|
position: relative;
|
|
9521
10168
|
background-color: lightgray;
|
|
9522
10169
|
`;
|
|
9523
|
-
var badgeTopLeftStyles =
|
|
10170
|
+
var badgeTopLeftStyles = import_react68.css`
|
|
9524
10171
|
position: absolute;
|
|
9525
10172
|
top: var(--spacing-3);
|
|
9526
10173
|
left: var(--spacing-3);
|
|
9527
10174
|
z-index: 2;
|
|
9528
10175
|
`;
|
|
9529
|
-
var badgeBottomRightStyles =
|
|
10176
|
+
var badgeBottomRightStyles = import_react68.css`
|
|
9530
10177
|
position: absolute;
|
|
9531
10178
|
bottom: var(--spacing-3);
|
|
9532
10179
|
right: var(--spacing-3);
|
|
9533
10180
|
z-index: 2;
|
|
9534
10181
|
`;
|
|
9535
|
-
var heartIconStyles =
|
|
10182
|
+
var heartIconStyles = import_react68.css`
|
|
9536
10183
|
position: absolute;
|
|
9537
10184
|
top: var(--spacing-3);
|
|
9538
10185
|
right: var(--spacing-3);
|
|
@@ -9554,20 +10201,20 @@ var heartIconStyles = import_react64.css`
|
|
|
9554
10201
|
transform: scale(1.1);
|
|
9555
10202
|
}
|
|
9556
10203
|
`;
|
|
9557
|
-
var actionMenuStyles =
|
|
10204
|
+
var actionMenuStyles = import_react68.css`
|
|
9558
10205
|
position: absolute;
|
|
9559
10206
|
top: var(--spacing-3);
|
|
9560
10207
|
right: var(--spacing-3);
|
|
9561
10208
|
z-index: 3;
|
|
9562
10209
|
`;
|
|
9563
|
-
var contentWithBackgroundStyles =
|
|
10210
|
+
var contentWithBackgroundStyles = import_react68.css`
|
|
9564
10211
|
padding: 0 var(--spacing-3) var(--spacing-4) var(--spacing-3);
|
|
9565
10212
|
background-color: var(--surface-page);
|
|
9566
10213
|
`;
|
|
9567
|
-
var contentWithoutBackgroundStyles =
|
|
10214
|
+
var contentWithoutBackgroundStyles = import_react68.css`
|
|
9568
10215
|
padding-top: 0 var(--spacing-2) var(--spacing-2) var(--spacing-2);
|
|
9569
10216
|
`;
|
|
9570
|
-
var overlayStyles =
|
|
10217
|
+
var overlayStyles = import_react68.css`
|
|
9571
10218
|
position: absolute;
|
|
9572
10219
|
top: 0;
|
|
9573
10220
|
left: 0;
|
|
@@ -9581,7 +10228,7 @@ var overlayStyles = import_react64.css`
|
|
|
9581
10228
|
`;
|
|
9582
10229
|
|
|
9583
10230
|
// src/PackageCard/PackageCard.tsx
|
|
9584
|
-
var
|
|
10231
|
+
var import_jsx_runtime259 = require("@emotion/react/jsx-runtime");
|
|
9585
10232
|
var PackageCard = ({
|
|
9586
10233
|
images,
|
|
9587
10234
|
title,
|
|
@@ -9603,7 +10250,7 @@ var PackageCard = ({
|
|
|
9603
10250
|
const shouldShowOverlay = availabilityBadges == null ? void 0 : availabilityBadges.some(
|
|
9604
10251
|
(badge2) => badge2.showOverlay
|
|
9605
10252
|
);
|
|
9606
|
-
return /* @__PURE__ */ (0,
|
|
10253
|
+
return /* @__PURE__ */ (0, import_jsx_runtime259.jsxs)(
|
|
9607
10254
|
Box_default,
|
|
9608
10255
|
{
|
|
9609
10256
|
position: "relative",
|
|
@@ -9612,7 +10259,7 @@ var PackageCard = ({
|
|
|
9612
10259
|
onClick,
|
|
9613
10260
|
...rest,
|
|
9614
10261
|
children: [
|
|
9615
|
-
/* @__PURE__ */ (0,
|
|
10262
|
+
/* @__PURE__ */ (0, import_jsx_runtime259.jsxs)(
|
|
9616
10263
|
Box_default,
|
|
9617
10264
|
{
|
|
9618
10265
|
position: "relative",
|
|
@@ -9620,7 +10267,7 @@ var PackageCard = ({
|
|
|
9620
10267
|
borderRadius: "var(--spacing-4)",
|
|
9621
10268
|
css: imageContainerStyles(orientation),
|
|
9622
10269
|
children: [
|
|
9623
|
-
availabilityBadges == null ? void 0 : availabilityBadges.map((badge2, index) => /* @__PURE__ */ (0,
|
|
10270
|
+
availabilityBadges == null ? void 0 : availabilityBadges.map((badge2, index) => /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(
|
|
9624
10271
|
AvailabilityBadge_default,
|
|
9625
10272
|
{
|
|
9626
10273
|
variant: badge2.variant,
|
|
@@ -9629,23 +10276,23 @@ var PackageCard = ({
|
|
|
9629
10276
|
},
|
|
9630
10277
|
`availability-${index}`
|
|
9631
10278
|
)),
|
|
9632
|
-
shouldShowOverlay && /* @__PURE__ */ (0,
|
|
9633
|
-
/* @__PURE__ */ (0,
|
|
10279
|
+
shouldShowOverlay && /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(Box_default, { css: overlayStyles }),
|
|
10280
|
+
/* @__PURE__ */ (0, import_jsx_runtime259.jsx)(
|
|
9634
10281
|
ScrollingCarousel,
|
|
9635
10282
|
{
|
|
9636
10283
|
showDots: images.length > 1,
|
|
9637
10284
|
showNavigationOnHover: true,
|
|
9638
10285
|
id: carouselId,
|
|
9639
|
-
children: images.filter((image) => !!image).map((image, index) => /* @__PURE__ */ (0,
|
|
10286
|
+
children: images.filter((image) => !!image).map((image, index) => /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(
|
|
9640
10287
|
ScrollingCarouselStep,
|
|
9641
10288
|
{
|
|
9642
10289
|
parentId: carouselId,
|
|
9643
|
-
children: /* @__PURE__ */ (0,
|
|
10290
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(
|
|
9644
10291
|
Box_default,
|
|
9645
10292
|
{
|
|
9646
10293
|
width: "100%",
|
|
9647
10294
|
css: [
|
|
9648
|
-
|
|
10295
|
+
imageStyles3,
|
|
9649
10296
|
imageBoxStyles(orientation),
|
|
9650
10297
|
{
|
|
9651
10298
|
backgroundImage: `linear-gradient(181deg, rgba(0, 0, 0, 0.00) 75.32%, rgba(0, 0, 0, 0.40) 99.41%), url(${image})`
|
|
@@ -9658,7 +10305,7 @@ var PackageCard = ({
|
|
|
9658
10305
|
))
|
|
9659
10306
|
}
|
|
9660
10307
|
),
|
|
9661
|
-
onFavoriteClick && /* @__PURE__ */ (0,
|
|
10308
|
+
onFavoriteClick && /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(
|
|
9662
10309
|
Box_default,
|
|
9663
10310
|
{
|
|
9664
10311
|
css: heartIconStyles,
|
|
@@ -9667,14 +10314,14 @@ var PackageCard = ({
|
|
|
9667
10314
|
e.stopPropagation();
|
|
9668
10315
|
onFavoriteClick == null ? void 0 : onFavoriteClick();
|
|
9669
10316
|
},
|
|
9670
|
-
children: isFavorited ? /* @__PURE__ */ (0,
|
|
10317
|
+
children: isFavorited ? /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(
|
|
9671
10318
|
Icon_default,
|
|
9672
10319
|
{
|
|
9673
10320
|
variant: "HeartSolid",
|
|
9674
10321
|
size: "small",
|
|
9675
10322
|
fill: "var(--color-error-500)"
|
|
9676
10323
|
}
|
|
9677
|
-
) : /* @__PURE__ */ (0,
|
|
10324
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(
|
|
9678
10325
|
Icon_default,
|
|
9679
10326
|
{
|
|
9680
10327
|
variant: "Heart",
|
|
@@ -9684,13 +10331,13 @@ var PackageCard = ({
|
|
|
9684
10331
|
)
|
|
9685
10332
|
}
|
|
9686
10333
|
),
|
|
9687
|
-
actions && actions.length > 0 && orientation === "vertical" && /* @__PURE__ */ (0,
|
|
10334
|
+
actions && actions.length > 0 && orientation === "vertical" && /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(Box_default, { css: actionMenuStyles, children: /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(ActionMenu_default, { actions }) })
|
|
9688
10335
|
]
|
|
9689
10336
|
}
|
|
9690
10337
|
),
|
|
9691
|
-
actions && actions.length > 0 && orientation === "horizontal" && /* @__PURE__ */ (0,
|
|
9692
|
-
/* @__PURE__ */ (0,
|
|
9693
|
-
/* @__PURE__ */ (0,
|
|
10338
|
+
actions && actions.length > 0 && orientation === "horizontal" && /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(Box_default, { css: actionMenuStyles, children: /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(ActionMenu_default, { actions }) }),
|
|
10339
|
+
/* @__PURE__ */ (0, import_jsx_runtime259.jsxs)(Box_default, { css: contentContainerStyles(orientation, hasContentBackground), children: [
|
|
10340
|
+
/* @__PURE__ */ (0, import_jsx_runtime259.jsxs)(
|
|
9694
10341
|
Box_default,
|
|
9695
10342
|
{
|
|
9696
10343
|
display: "flex",
|
|
@@ -9698,9 +10345,9 @@ var PackageCard = ({
|
|
|
9698
10345
|
gap: "var(--spacing-1)",
|
|
9699
10346
|
mb: "var(--spacing-1)",
|
|
9700
10347
|
children: [
|
|
9701
|
-
/* @__PURE__ */ (0,
|
|
9702
|
-
/* @__PURE__ */ (0,
|
|
9703
|
-
startingPrice && /* @__PURE__ */ (0,
|
|
10348
|
+
/* @__PURE__ */ (0, import_jsx_runtime259.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(Text_default, { size: "md", fontWeight: "bold", children: title }) }),
|
|
10349
|
+
/* @__PURE__ */ (0, import_jsx_runtime259.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(Text_default, { size: "sm", fontWeight: "bold", children: subtitle }) }),
|
|
10350
|
+
startingPrice && /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime259.jsxs)(Text_default, { size: "sm", fontWeight: "normal", children: [
|
|
9704
10351
|
"Starting Price ",
|
|
9705
10352
|
startingPrice,
|
|
9706
10353
|
" / Guest"
|
|
@@ -9708,14 +10355,14 @@ var PackageCard = ({
|
|
|
9708
10355
|
]
|
|
9709
10356
|
}
|
|
9710
10357
|
),
|
|
9711
|
-
badges && badges.length > 0 && /* @__PURE__ */ (0,
|
|
10358
|
+
badges && badges.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(
|
|
9712
10359
|
Box_default,
|
|
9713
10360
|
{
|
|
9714
10361
|
display: "flex",
|
|
9715
10362
|
gap: "var(--spacing-2) var(--spacing-4)",
|
|
9716
10363
|
alignItems: "center",
|
|
9717
10364
|
flexWrap: "wrap",
|
|
9718
|
-
children: badges.map((badge2, index) => /* @__PURE__ */ (0,
|
|
10365
|
+
children: badges.map((badge2, index) => /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(
|
|
9719
10366
|
IconLabel_default,
|
|
9720
10367
|
{
|
|
9721
10368
|
iconSize: badge2.iconSize || "medium",
|
|
@@ -9734,14 +10381,14 @@ var PackageCard = ({
|
|
|
9734
10381
|
var PackageCard_default = PackageCard;
|
|
9735
10382
|
|
|
9736
10383
|
// src/PackageHeader/PackageHeader.tsx
|
|
9737
|
-
var
|
|
10384
|
+
var import_jsx_runtime260 = require("@emotion/react/jsx-runtime");
|
|
9738
10385
|
var PackageHeader = ({
|
|
9739
10386
|
header,
|
|
9740
10387
|
subheader,
|
|
9741
10388
|
features,
|
|
9742
10389
|
className
|
|
9743
10390
|
}) => {
|
|
9744
|
-
return /* @__PURE__ */ (0,
|
|
10391
|
+
return /* @__PURE__ */ (0, import_jsx_runtime260.jsxs)(
|
|
9745
10392
|
Box_default,
|
|
9746
10393
|
{
|
|
9747
10394
|
display: "flex",
|
|
@@ -9750,9 +10397,9 @@ var PackageHeader = ({
|
|
|
9750
10397
|
color: "var(--text-primary)",
|
|
9751
10398
|
className,
|
|
9752
10399
|
children: [
|
|
9753
|
-
/* @__PURE__ */ (0,
|
|
9754
|
-
subheader && /* @__PURE__ */ (0,
|
|
9755
|
-
features && /* @__PURE__ */ (0,
|
|
10400
|
+
/* @__PURE__ */ (0, import_jsx_runtime260.jsx)(Heading_default, { size: "xs", fontWeight: "bold", children: header }),
|
|
10401
|
+
subheader && /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(Text_default, { children: subheader }),
|
|
10402
|
+
features && /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(FeatureList_default, { items: features })
|
|
9756
10403
|
]
|
|
9757
10404
|
}
|
|
9758
10405
|
);
|
|
@@ -9760,8 +10407,8 @@ var PackageHeader = ({
|
|
|
9760
10407
|
var PackageHeader_default = PackageHeader;
|
|
9761
10408
|
|
|
9762
10409
|
// src/ReviewCard/components/ReviewImages.styles.ts
|
|
9763
|
-
var
|
|
9764
|
-
var
|
|
10410
|
+
var import_react69 = require("@emotion/react");
|
|
10411
|
+
var imageStyles4 = import_react69.css`
|
|
9765
10412
|
flex: 1;
|
|
9766
10413
|
min-width: 0;
|
|
9767
10414
|
max-width: 100%;
|
|
@@ -9772,18 +10419,18 @@ var imageStyles3 = import_react65.css`
|
|
|
9772
10419
|
`;
|
|
9773
10420
|
|
|
9774
10421
|
// src/ReviewCard/components/ReviewImages.tsx
|
|
9775
|
-
var
|
|
10422
|
+
var import_jsx_runtime261 = require("@emotion/react/jsx-runtime");
|
|
9776
10423
|
var ReviewImages = ({ images, maxImages = 3 }) => {
|
|
9777
10424
|
const displayImages = images.slice(0, maxImages);
|
|
9778
10425
|
if (displayImages.length === 0) {
|
|
9779
10426
|
return null;
|
|
9780
10427
|
}
|
|
9781
|
-
return /* @__PURE__ */ (0,
|
|
10428
|
+
return /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(Box_default, { display: "flex", gap: "var(--spacing-2)", flexWrap: "wrap", children: displayImages.map((image, index) => /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
|
|
9782
10429
|
"img",
|
|
9783
10430
|
{
|
|
9784
10431
|
src: image,
|
|
9785
10432
|
alt: `Review ${index + 1}`,
|
|
9786
|
-
css:
|
|
10433
|
+
css: imageStyles4
|
|
9787
10434
|
},
|
|
9788
10435
|
index
|
|
9789
10436
|
)) });
|
|
@@ -9791,7 +10438,7 @@ var ReviewImages = ({ images, maxImages = 3 }) => {
|
|
|
9791
10438
|
var ReviewImages_default = ReviewImages;
|
|
9792
10439
|
|
|
9793
10440
|
// src/ReviewCard/components/ReviewReply.tsx
|
|
9794
|
-
var
|
|
10441
|
+
var import_jsx_runtime262 = require("@emotion/react/jsx-runtime");
|
|
9795
10442
|
var ReviewReply = ({
|
|
9796
10443
|
avatarSrc,
|
|
9797
10444
|
name,
|
|
@@ -9800,7 +10447,7 @@ var ReviewReply = ({
|
|
|
9800
10447
|
label,
|
|
9801
10448
|
rating
|
|
9802
10449
|
}) => {
|
|
9803
|
-
return /* @__PURE__ */ (0,
|
|
10450
|
+
return /* @__PURE__ */ (0, import_jsx_runtime262.jsxs)(
|
|
9804
10451
|
Box_default,
|
|
9805
10452
|
{
|
|
9806
10453
|
backgroundColor: "var(--surface-neutral)",
|
|
@@ -9810,7 +10457,7 @@ var ReviewReply = ({
|
|
|
9810
10457
|
flexDirection: "column",
|
|
9811
10458
|
gap: "var(--spacing-3)",
|
|
9812
10459
|
children: [
|
|
9813
|
-
/* @__PURE__ */ (0,
|
|
10460
|
+
/* @__PURE__ */ (0, import_jsx_runtime262.jsxs)(
|
|
9814
10461
|
Box_default,
|
|
9815
10462
|
{
|
|
9816
10463
|
display: "flex",
|
|
@@ -9818,7 +10465,7 @@ var ReviewReply = ({
|
|
|
9818
10465
|
justifyContent: "space-between",
|
|
9819
10466
|
gap: "var(--spacing-2)",
|
|
9820
10467
|
children: [
|
|
9821
|
-
/* @__PURE__ */ (0,
|
|
10468
|
+
/* @__PURE__ */ (0, import_jsx_runtime262.jsx)(
|
|
9822
10469
|
UserCard_default,
|
|
9823
10470
|
{
|
|
9824
10471
|
avatarSrc,
|
|
@@ -9827,11 +10474,11 @@ var ReviewReply = ({
|
|
|
9827
10474
|
rating
|
|
9828
10475
|
}
|
|
9829
10476
|
),
|
|
9830
|
-
/* @__PURE__ */ (0,
|
|
10477
|
+
/* @__PURE__ */ (0, import_jsx_runtime262.jsx)(AvailabilityBadge_default, { variant: "neutral", children: label })
|
|
9831
10478
|
]
|
|
9832
10479
|
}
|
|
9833
10480
|
),
|
|
9834
|
-
/* @__PURE__ */ (0,
|
|
10481
|
+
/* @__PURE__ */ (0, import_jsx_runtime262.jsx)(Text_default, { children: content })
|
|
9835
10482
|
]
|
|
9836
10483
|
}
|
|
9837
10484
|
);
|
|
@@ -9839,7 +10486,7 @@ var ReviewReply = ({
|
|
|
9839
10486
|
var ReviewReply_default = ReviewReply;
|
|
9840
10487
|
|
|
9841
10488
|
// src/ReviewCard/ReviewCard.tsx
|
|
9842
|
-
var
|
|
10489
|
+
var import_jsx_runtime263 = require("@emotion/react/jsx-runtime");
|
|
9843
10490
|
var ReviewCard = ({
|
|
9844
10491
|
avatarSrc,
|
|
9845
10492
|
name,
|
|
@@ -9851,7 +10498,7 @@ var ReviewCard = ({
|
|
|
9851
10498
|
replies = [],
|
|
9852
10499
|
className
|
|
9853
10500
|
}) => {
|
|
9854
|
-
return /* @__PURE__ */ (0,
|
|
10501
|
+
return /* @__PURE__ */ (0, import_jsx_runtime263.jsxs)(
|
|
9855
10502
|
Box_default,
|
|
9856
10503
|
{
|
|
9857
10504
|
backgroundColor: "white",
|
|
@@ -9862,7 +10509,7 @@ var ReviewCard = ({
|
|
|
9862
10509
|
gap: "var(--spacing-4)",
|
|
9863
10510
|
className,
|
|
9864
10511
|
children: [
|
|
9865
|
-
/* @__PURE__ */ (0,
|
|
10512
|
+
/* @__PURE__ */ (0, import_jsx_runtime263.jsx)(
|
|
9866
10513
|
UserCard_default,
|
|
9867
10514
|
{
|
|
9868
10515
|
avatarSrc,
|
|
@@ -9871,10 +10518,10 @@ var ReviewCard = ({
|
|
|
9871
10518
|
rating
|
|
9872
10519
|
}
|
|
9873
10520
|
),
|
|
9874
|
-
availabilityBadge && /* @__PURE__ */ (0,
|
|
9875
|
-
/* @__PURE__ */ (0,
|
|
9876
|
-
images.length > 0 && /* @__PURE__ */ (0,
|
|
9877
|
-
replies.length > 0 && /* @__PURE__ */ (0,
|
|
10521
|
+
availabilityBadge && /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(AvailabilityBadge_default, { variant: availabilityBadge.variant, children: availabilityBadge.text }) }),
|
|
10522
|
+
/* @__PURE__ */ (0, import_jsx_runtime263.jsx)(Text_default, { size: "md", children: content }),
|
|
10523
|
+
images.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(ReviewImages_default, { images }),
|
|
10524
|
+
replies.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-3)", children: replies.map((reply, index) => /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(
|
|
9878
10525
|
ReviewReply_default,
|
|
9879
10526
|
{
|
|
9880
10527
|
avatarSrc: reply.avatarSrc,
|
|
@@ -9893,12 +10540,12 @@ var ReviewCard = ({
|
|
|
9893
10540
|
var ReviewCard_default = ReviewCard;
|
|
9894
10541
|
|
|
9895
10542
|
// src/Reviews/Reviews.tsx
|
|
9896
|
-
var
|
|
10543
|
+
var import_react70 = require("@emotion/react");
|
|
9897
10544
|
|
|
9898
10545
|
// src/Reviews/components/ReviewItem.tsx
|
|
9899
|
-
var
|
|
10546
|
+
var import_jsx_runtime264 = require("@emotion/react/jsx-runtime");
|
|
9900
10547
|
var ReviewItem = ({ label, rating }) => {
|
|
9901
|
-
return /* @__PURE__ */ (0,
|
|
10548
|
+
return /* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(
|
|
9902
10549
|
Box_default,
|
|
9903
10550
|
{
|
|
9904
10551
|
display: "flex",
|
|
@@ -9906,10 +10553,10 @@ var ReviewItem = ({ label, rating }) => {
|
|
|
9906
10553
|
alignItems: "center",
|
|
9907
10554
|
width: "100%",
|
|
9908
10555
|
children: [
|
|
9909
|
-
/* @__PURE__ */ (0,
|
|
9910
|
-
/* @__PURE__ */ (0,
|
|
9911
|
-
/* @__PURE__ */ (0,
|
|
9912
|
-
/* @__PURE__ */ (0,
|
|
10556
|
+
/* @__PURE__ */ (0, import_jsx_runtime264.jsx)(Text_default, { fontWeight: "semibold", children: label }),
|
|
10557
|
+
/* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(Box_default, { display: "flex", alignItems: "center", gap: "var(--spacing-2)", children: [
|
|
10558
|
+
/* @__PURE__ */ (0, import_jsx_runtime264.jsx)(Icon_default, { variant: "StarSolid", size: "large", fill: "var(--surface-action-2)" }),
|
|
10559
|
+
/* @__PURE__ */ (0, import_jsx_runtime264.jsx)(Text_default, { fontWeight: "semibold", children: rating.toFixed(1) })
|
|
9913
10560
|
] })
|
|
9914
10561
|
]
|
|
9915
10562
|
}
|
|
@@ -9918,14 +10565,14 @@ var ReviewItem = ({ label, rating }) => {
|
|
|
9918
10565
|
var ReviewItem_default = ReviewItem;
|
|
9919
10566
|
|
|
9920
10567
|
// src/Reviews/Reviews.tsx
|
|
9921
|
-
var
|
|
10568
|
+
var import_jsx_runtime265 = require("@emotion/react/jsx-runtime");
|
|
9922
10569
|
var Reviews = ({
|
|
9923
10570
|
averageRating,
|
|
9924
10571
|
totalReviews,
|
|
9925
10572
|
items,
|
|
9926
10573
|
className
|
|
9927
10574
|
}) => {
|
|
9928
|
-
return /* @__PURE__ */ (0,
|
|
10575
|
+
return /* @__PURE__ */ (0, import_jsx_runtime265.jsxs)(
|
|
9929
10576
|
Box_default,
|
|
9930
10577
|
{
|
|
9931
10578
|
width: "100%",
|
|
@@ -9938,7 +10585,7 @@ var Reviews = ({
|
|
|
9938
10585
|
p: "var(--spacing-4)",
|
|
9939
10586
|
className,
|
|
9940
10587
|
children: [
|
|
9941
|
-
/* @__PURE__ */ (0,
|
|
10588
|
+
/* @__PURE__ */ (0, import_jsx_runtime265.jsxs)(
|
|
9942
10589
|
Box_default,
|
|
9943
10590
|
{
|
|
9944
10591
|
display: "flex",
|
|
@@ -9946,12 +10593,12 @@ var Reviews = ({
|
|
|
9946
10593
|
alignItems: "center",
|
|
9947
10594
|
gap: "var(--spacing-2)",
|
|
9948
10595
|
children: [
|
|
9949
|
-
/* @__PURE__ */ (0,
|
|
9950
|
-
/* @__PURE__ */ (0,
|
|
10596
|
+
/* @__PURE__ */ (0, import_jsx_runtime265.jsx)(Heading_default, { size: "sm", fontWeight: "bold", color: "text-primary", children: averageRating.toFixed(1) }),
|
|
10597
|
+
/* @__PURE__ */ (0, import_jsx_runtime265.jsx)(
|
|
9951
10598
|
StarRating_default,
|
|
9952
10599
|
{
|
|
9953
10600
|
rating: averageRating,
|
|
9954
|
-
css:
|
|
10601
|
+
css: import_react70.css`
|
|
9955
10602
|
> svg {
|
|
9956
10603
|
height: 40px;
|
|
9957
10604
|
width: 40px;
|
|
@@ -9959,7 +10606,7 @@ var Reviews = ({
|
|
|
9959
10606
|
`
|
|
9960
10607
|
}
|
|
9961
10608
|
),
|
|
9962
|
-
/* @__PURE__ */ (0,
|
|
10609
|
+
/* @__PURE__ */ (0, import_jsx_runtime265.jsxs)(Text_default, { size: "sm", color: "text-secondary", children: [
|
|
9963
10610
|
"Overall Rating \u2022 ",
|
|
9964
10611
|
totalReviews,
|
|
9965
10612
|
" Review",
|
|
@@ -9968,14 +10615,14 @@ var Reviews = ({
|
|
|
9968
10615
|
]
|
|
9969
10616
|
}
|
|
9970
10617
|
),
|
|
9971
|
-
/* @__PURE__ */ (0,
|
|
10618
|
+
/* @__PURE__ */ (0, import_jsx_runtime265.jsx)(
|
|
9972
10619
|
Box_default,
|
|
9973
10620
|
{
|
|
9974
10621
|
display: "flex",
|
|
9975
10622
|
flexDirection: "column",
|
|
9976
10623
|
gap: "var(--spacing-2)",
|
|
9977
10624
|
width: "100%",
|
|
9978
|
-
children: items.map((item, index) => /* @__PURE__ */ (0,
|
|
10625
|
+
children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(ReviewItem_default, { label: item.label, rating: item.rating }, index))
|
|
9979
10626
|
}
|
|
9980
10627
|
)
|
|
9981
10628
|
]
|
|
@@ -9985,7 +10632,7 @@ var Reviews = ({
|
|
|
9985
10632
|
var Reviews_default = Reviews;
|
|
9986
10633
|
|
|
9987
10634
|
// src/Reviews/ReviewsShowcase.tsx
|
|
9988
|
-
var
|
|
10635
|
+
var import_jsx_runtime266 = require("@emotion/react/jsx-runtime");
|
|
9989
10636
|
var ReviewsShowcase = () => {
|
|
9990
10637
|
const sampleData = {
|
|
9991
10638
|
averageRating: 4,
|
|
@@ -10007,7 +10654,7 @@ var ReviewsShowcase = () => {
|
|
|
10007
10654
|
{ label: "Game Abundance", rating: 5 }
|
|
10008
10655
|
]
|
|
10009
10656
|
};
|
|
10010
|
-
return /* @__PURE__ */ (0,
|
|
10657
|
+
return /* @__PURE__ */ (0, import_jsx_runtime266.jsxs)(
|
|
10011
10658
|
Box_default,
|
|
10012
10659
|
{
|
|
10013
10660
|
display: "flex",
|
|
@@ -10015,24 +10662,24 @@ var ReviewsShowcase = () => {
|
|
|
10015
10662
|
gap: "var(--spacing-8)",
|
|
10016
10663
|
p: "var(--spacing-6)",
|
|
10017
10664
|
children: [
|
|
10018
|
-
/* @__PURE__ */ (0,
|
|
10019
|
-
/* @__PURE__ */ (0,
|
|
10020
|
-
/* @__PURE__ */ (0,
|
|
10021
|
-
/* @__PURE__ */ (0,
|
|
10665
|
+
/* @__PURE__ */ (0, import_jsx_runtime266.jsx)(Heading_default, { size: "lg", children: "Reviews Component Showcase" }),
|
|
10666
|
+
/* @__PURE__ */ (0, import_jsx_runtime266.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-4)", children: [
|
|
10667
|
+
/* @__PURE__ */ (0, import_jsx_runtime266.jsx)(Heading_default, { size: "md", children: "Default Reviews" }),
|
|
10668
|
+
/* @__PURE__ */ (0, import_jsx_runtime266.jsx)(Box_default, { maxWidth: "400px", children: /* @__PURE__ */ (0, import_jsx_runtime266.jsx)(Reviews_default, { ...sampleData }) })
|
|
10022
10669
|
] }),
|
|
10023
|
-
/* @__PURE__ */ (0,
|
|
10024
|
-
/* @__PURE__ */ (0,
|
|
10025
|
-
/* @__PURE__ */ (0,
|
|
10670
|
+
/* @__PURE__ */ (0, import_jsx_runtime266.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-4)", children: [
|
|
10671
|
+
/* @__PURE__ */ (0, import_jsx_runtime266.jsx)(Heading_default, { size: "md", children: "High Rating Reviews" }),
|
|
10672
|
+
/* @__PURE__ */ (0, import_jsx_runtime266.jsx)(Box_default, { maxWidth: "400px", children: /* @__PURE__ */ (0, import_jsx_runtime266.jsx)(Reviews_default, { ...highRatingData }) })
|
|
10026
10673
|
] }),
|
|
10027
|
-
/* @__PURE__ */ (0,
|
|
10028
|
-
/* @__PURE__ */ (0,
|
|
10029
|
-
/* @__PURE__ */ (0,
|
|
10674
|
+
/* @__PURE__ */ (0, import_jsx_runtime266.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-4)", children: [
|
|
10675
|
+
/* @__PURE__ */ (0, import_jsx_runtime266.jsx)(Heading_default, { size: "md", children: "Mobile Layout (320px width)" }),
|
|
10676
|
+
/* @__PURE__ */ (0, import_jsx_runtime266.jsx)(
|
|
10030
10677
|
Box_default,
|
|
10031
10678
|
{
|
|
10032
10679
|
maxWidth: "320px",
|
|
10033
10680
|
border: "1px solid var(--color-neutral-200)",
|
|
10034
10681
|
p: "var(--spacing-4)",
|
|
10035
|
-
children: /* @__PURE__ */ (0,
|
|
10682
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime266.jsx)(Reviews_default, { ...sampleData })
|
|
10036
10683
|
}
|
|
10037
10684
|
)
|
|
10038
10685
|
] })
|
|
@@ -10068,6 +10715,8 @@ var ReviewsShowcase_default = ReviewsShowcase;
|
|
|
10068
10715
|
Icon,
|
|
10069
10716
|
IconLabel,
|
|
10070
10717
|
IconSizeMap,
|
|
10718
|
+
ImageGalleryModal,
|
|
10719
|
+
ImageGalleryModalComponent,
|
|
10071
10720
|
InfoBox,
|
|
10072
10721
|
Input,
|
|
10073
10722
|
LandownerProfile,
|
|
@@ -10076,6 +10725,8 @@ var ReviewsShowcase_default = ReviewsShowcase;
|
|
|
10076
10725
|
Logo,
|
|
10077
10726
|
MarkdownContent,
|
|
10078
10727
|
MessageBubble,
|
|
10728
|
+
Modal,
|
|
10729
|
+
ModalComponent,
|
|
10079
10730
|
Navigation,
|
|
10080
10731
|
PackageCard,
|
|
10081
10732
|
PackageHeader,
|