mayak-common-library 0.0.28 → 0.0.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -91,15 +91,20 @@ __export(src_exports, {
91
91
  module.exports = __toCommonJS(src_exports);
92
92
 
93
93
  // src/components/Greet.tsx
94
+ var import_jsx_runtime = require("react/jsx-runtime");
94
95
  function Greet(props) {
95
96
  const { name } = props;
96
- return /* @__PURE__ */ React.createElement("div", null, "Hello ", name);
97
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { children: [
98
+ "Hello ",
99
+ name
100
+ ] });
97
101
  }
98
102
 
99
103
  // src/components/Button/Button.tsx
100
104
  var import_Button = __toESM(require("@mui/material/Button"));
101
105
  var import_material = require("@mui/material");
102
106
  var import_Typography = __toESM(require("@mui/material/Typography"));
107
+ var import_jsx_runtime2 = require("react/jsx-runtime");
103
108
  var StyledButton = (0, import_material.styled)(import_Button.default)(() => ({
104
109
  textTransform: "none",
105
110
  width: "fit-content",
@@ -119,28 +124,29 @@ var StyledButton = (0, import_material.styled)(import_Button.default)(() => ({
119
124
  }));
120
125
  var Button = (props) => {
121
126
  const _a = props, { children, base, bolt, border, small, large } = _a, rest = __objRest(_a, ["children", "base", "bolt", "border", "small", "large"]);
122
- return /* @__PURE__ */ React.createElement(
127
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
123
128
  StyledButton,
124
129
  __spreadProps(__spreadValues({}, rest), {
125
130
  disableRipple: true,
126
131
  className: `${base ? "bg-accent-dark rounded-none text-white hover:bg-accent-beige text-base" : ""}
127
132
  ${small ? "py-1.5 px-4" : ""}
128
133
  ${large ? "py-5 px-10" : ""}
129
- ${border ? "border-b border-solid rounded-none" : ""}`
130
- }),
131
- /* @__PURE__ */ React.createElement(
132
- import_Typography.default,
133
- {
134
- className: `${bolt ? "font-extrabold leading-4" : "font-normal leading-3"}`
135
- },
136
- children
137
- )
134
+ ${border ? "border-b border-solid rounded-none" : ""}`,
135
+ children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
136
+ import_Typography.default,
137
+ {
138
+ className: `${bolt ? "font-extrabold leading-4" : "font-normal leading-3"}`,
139
+ children
140
+ }
141
+ )
142
+ })
138
143
  );
139
144
  };
140
145
  var Button_default = Button;
141
146
 
142
147
  // src/components/Button/IconButton.tsx
143
148
  var import_material2 = require("@mui/material");
149
+ var import_jsx_runtime3 = require("react/jsx-runtime");
144
150
  var StyledButton2 = (0, import_material2.styled)(import_material2.IconButton)(() => ({
145
151
  width: "fit-content",
146
152
  borderRadius: 0,
@@ -155,7 +161,7 @@ var StyledButton2 = (0, import_material2.styled)(import_material2.IconButton)(()
155
161
  }));
156
162
  var IconButton = (props) => {
157
163
  const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
158
- return /* @__PURE__ */ React.createElement(StyledButton2, __spreadProps(__spreadValues({}, rest), { disableRipple: true }), children);
164
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(StyledButton2, __spreadProps(__spreadValues({}, rest), { disableRipple: true, children }));
159
165
  };
160
166
  var IconButton_default = IconButton;
161
167
 
@@ -164,11 +170,13 @@ var import_react = require("react");
164
170
  var import_material3 = require("@mui/material");
165
171
 
166
172
  // src/icons/dropdown-arrow.svg
167
- var React2 = __toESM(require("react"));
168
- var SvgDropdownArrow = (props) => /* @__PURE__ */ React2.createElement("svg", __spreadValues({ width: 13, height: 7, viewBox: "0 0 13 7", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props), /* @__PURE__ */ React2.createElement("path", { d: "M12 6.25L6.5 0.75L1 6.25", stroke: "#343434", strokeLinecap: "round" }));
173
+ var React = __toESM(require("react"));
174
+ var import_jsx_runtime4 = require("react/jsx-runtime");
175
+ var SvgDropdownArrow = (props) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("svg", __spreadProps(__spreadValues({ width: 13, height: 7, viewBox: "0 0 13 7", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { d: "M12 6.25L6.5 0.75L1 6.25", stroke: "#343434", strokeLinecap: "round" }) }));
169
176
  var dropdown_arrow_default = SvgDropdownArrow;
170
177
 
171
178
  // src/components/Select/Select.tsx
179
+ var import_jsx_runtime5 = require("react/jsx-runtime");
172
180
  var StyledSelect = (0, import_material3.styled)(import_material3.Select)(({ open }) => ({
173
181
  minWidth: 250,
174
182
  "&.MuiInputBase-root": {
@@ -220,7 +228,7 @@ var CustomSelect = (props) => {
220
228
  var _a2;
221
229
  if (!open) (_a2 = myRef.current) == null ? void 0 : _a2.classList.remove("Mui-focused");
222
230
  }, [open]);
223
- return /* @__PURE__ */ React.createElement(
231
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
224
232
  StyledSelect,
225
233
  __spreadProps(__spreadValues({}, rest), {
226
234
  ref: myRef,
@@ -245,16 +253,17 @@ var CustomSelect = (props) => {
245
253
  }
246
254
  }
247
255
  },
248
- IconComponent: () => /* @__PURE__ */ React.createElement(dropdown_arrow_default, null)
249
- }),
250
- children
256
+ IconComponent: () => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(dropdown_arrow_default, {}),
257
+ children
258
+ })
251
259
  );
252
260
  };
253
261
  var Select_default = CustomSelect;
254
262
 
255
263
  // src/icons/search.svg
256
- var React3 = __toESM(require("react"));
257
- var SvgSearch = (props) => /* @__PURE__ */ React3.createElement("svg", __spreadValues({ width: 24, height: 25, viewBox: "0 0 24 25", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props), /* @__PURE__ */ React3.createElement("path", { d: "M21 12.5L12 3.5L3 12.5H5V19.5C5 20.0304 5.21071 20.5391 5.58579 20.9142C5.96086 21.2893 6.46957 21.5 7 21.5H11.7M9 21.5V15.5C9 14.9696 9.21071 14.4609 9.58579 14.0858C9.96086 13.7107 10.4696 13.5 11 13.5H13M20.1992 20.6992L21.9992 22.4992M15 18.5C15 19.2956 15.3161 20.0587 15.8787 20.6213C16.4413 21.1839 17.2044 21.5 18 21.5C18.7956 21.5 19.5587 21.1839 20.1213 20.6213C20.6839 20.0587 21 19.2956 21 18.5C21 17.7044 20.6839 16.9413 20.1213 16.3787C19.5587 15.8161 18.7956 15.5 18 15.5C17.2044 15.5 16.4413 15.8161 15.8787 16.3787C15.3161 16.9413 15 17.7044 15 18.5Z", stroke: "#C8BCA1", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }));
264
+ var React2 = __toESM(require("react"));
265
+ var import_jsx_runtime6 = require("react/jsx-runtime");
266
+ var SvgSearch = (props) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("svg", __spreadProps(__spreadValues({ width: 24, height: 25, viewBox: "0 0 24 25", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M21 12.5L12 3.5L3 12.5H5V19.5C5 20.0304 5.21071 20.5391 5.58579 20.9142C5.96086 21.2893 6.46957 21.5 7 21.5H11.7M9 21.5V15.5C9 14.9696 9.21071 14.4609 9.58579 14.0858C9.96086 13.7107 10.4696 13.5 11 13.5H13M20.1992 20.6992L21.9992 22.4992M15 18.5C15 19.2956 15.3161 20.0587 15.8787 20.6213C16.4413 21.1839 17.2044 21.5 18 21.5C18.7956 21.5 19.5587 21.1839 20.1213 20.6213C20.6839 20.0587 21 19.2956 21 18.5C21 17.7044 20.6839 16.9413 20.1213 16.3787C19.5587 15.8161 18.7956 15.5 18 15.5C17.2044 15.5 16.4413 15.8161 15.8787 16.3787C15.3161 16.9413 15 17.7044 15 18.5Z", stroke: "#C8BCA1", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }) }));
258
267
  var search_default = SvgSearch;
259
268
 
260
269
  // src/components/Select/SelectPro.tsx
@@ -262,11 +271,16 @@ var import_react2 = require("react");
262
271
  var import_material4 = require("@mui/material");
263
272
 
264
273
  // src/icons/close.svg
265
- var React4 = __toESM(require("react"));
266
- var SvgClose = (props) => /* @__PURE__ */ React4.createElement("svg", __spreadValues({ width: 9, height: 9, viewBox: "0 0 9 9", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props), /* @__PURE__ */ React4.createElement("path", { d: "M1 7.5L7.5 1", stroke: "#343434", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ React4.createElement("path", { d: "M7.5 7.5L1 1", stroke: "#343434", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }));
274
+ var React3 = __toESM(require("react"));
275
+ var import_jsx_runtime7 = require("react/jsx-runtime");
276
+ var SvgClose = (props) => /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("svg", __spreadProps(__spreadValues({ width: 9, height: 9, viewBox: "0 0 9 9", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props), { children: [
277
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M1 7.5L7.5 1", stroke: "#343434", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }),
278
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7.5 7.5L1 1", stroke: "#343434", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })
279
+ ] }));
267
280
  var close_default = SvgClose;
268
281
 
269
282
  // src/components/Select/SelectPro.tsx
283
+ var import_jsx_runtime8 = require("react/jsx-runtime");
270
284
  var SelectPro = ({
271
285
  children,
272
286
  placeholder,
@@ -297,78 +311,88 @@ var SelectPro = ({
297
311
  const childrenWithHandleChange = (0, import_react2.isValidElement)(children) ? (0, import_react2.cloneElement)(children, {
298
312
  collapseParent: handleClose
299
313
  }) : children;
300
- return /* @__PURE__ */ React.createElement(import_material4.ClickAwayListener, { onClickAway: handleClose }, /* @__PURE__ */ React.createElement(import_material4.Box, null, clickComponent ? (0, import_react2.cloneElement)(clickComponent, {
301
- ref: btn,
302
- onClick: handleClick
303
- // onClick: (e) => {
304
- // clickComponent.props.onClick(e);
305
- // // e.preventDefault();
306
- // handleClick(e);
307
- // },
308
- }) : /* @__PURE__ */ React.createElement(
309
- import_material4.Button,
310
- {
314
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_material4.ClickAwayListener, { onClickAway: handleClose, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_material4.Box, { children: [
315
+ clickComponent ? (0, import_react2.cloneElement)(clickComponent, {
311
316
  ref: btn,
312
- "aria-controls": open ? "basic-menu" : void 0,
313
- "aria-haspopup": "true",
314
- "aria-expanded": open ? "true" : void 0,
315
- onClick: handleClick,
316
- disableRipple: true,
317
- fullWidth: true,
318
- sx: {
319
- height: small ? "34px" : "49px",
320
- padding: small ? "0 10px 0 6px" : "0 20px 0 19px"
321
- },
322
- className: `border rounded-none border-solid normal-case text-accent-dark hover:bg-white ${open ? "!border-transparent bg-white" : ""} ${colorBorder ? "border-accent-beige flex-row-reverse justify-end gap-x-2" : "justify-between border-accent-dark"}`
323
- },
324
- /* @__PURE__ */ React.createElement(
325
- import_material4.Typography,
317
+ onClick: handleClick
318
+ // onClick: (e) => {
319
+ // clickComponent.props.onClick(e);
320
+ // // e.preventDefault();
321
+ // handleClick(e);
322
+ // },
323
+ }) : /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
324
+ import_material4.Button,
326
325
  {
327
- className: "text-sm leading-4"
328
- },
329
- `${placeholder}`
326
+ ref: btn,
327
+ "aria-controls": open ? "basic-menu" : void 0,
328
+ "aria-haspopup": "true",
329
+ "aria-expanded": open ? "true" : void 0,
330
+ onClick: handleClick,
331
+ disableRipple: true,
332
+ fullWidth: true,
333
+ sx: {
334
+ height: small ? "34px" : "49px",
335
+ padding: small ? "0 10px 0 6px" : "0 20px 0 19px"
336
+ },
337
+ className: `border rounded-none border-solid normal-case text-accent-dark hover:bg-white ${open ? "!border-transparent bg-white" : ""} ${colorBorder ? "border-accent-beige flex-row-reverse justify-end gap-x-2" : "justify-between border-accent-dark"}`,
338
+ children: [
339
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
340
+ import_material4.Typography,
341
+ {
342
+ className: "text-sm leading-4",
343
+ children: `${placeholder}`
344
+ }
345
+ ),
346
+ colorBorder ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(search_default, {}) : /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
347
+ dropdown_arrow_default,
348
+ {
349
+ style: {
350
+ transform: open ? "scaleY(-1)" : "scaleY(1)",
351
+ transition: "0.3s ease-in-out"
352
+ }
353
+ }
354
+ )
355
+ ]
356
+ }
330
357
  ),
331
- colorBorder ? /* @__PURE__ */ React.createElement(search_default, null) : /* @__PURE__ */ React.createElement(
332
- dropdown_arrow_default,
358
+ btn ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
359
+ import_material4.Paper,
333
360
  {
334
- style: {
335
- transform: open ? "scaleY(-1)" : "scaleY(1)",
336
- transition: "0.3s ease-in-out"
337
- }
361
+ sx: {
362
+ position: "absolute",
363
+ width: !fullContainerWidth && btn ? btn.offsetWidth : "100%",
364
+ left: fullContainerWidth ? 0 : "initial",
365
+ right: fullContainerWidth ? 0 : "initial",
366
+ top: overButton ? 0 : "initial"
367
+ },
368
+ className: `menu ${open ? "menu--open" : "menu--close"} z-50 rounded-none shadow-sm`,
369
+ children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_material4.Box, { className: `flex flex-col p-3 gap-3`, children: [
370
+ overButton ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
371
+ IconButton_default,
372
+ {
373
+ className: "bg-accent-silver p-1 self-end absolute",
374
+ onClick: handleClose,
375
+ children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(close_default, {})
376
+ }
377
+ ) : null,
378
+ childTitle ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
379
+ import_material4.Typography,
380
+ {
381
+ className: "text-sm font-normal text-accent-silver-2",
382
+ children: childTitle
383
+ }
384
+ ) : null,
385
+ childrenWithHandleChange
386
+ ] })
338
387
  }
339
- )
340
- ), btn ? /* @__PURE__ */ React.createElement(
341
- import_material4.Paper,
342
- {
343
- sx: {
344
- position: "absolute",
345
- width: !fullContainerWidth && btn ? btn.offsetWidth : "100%",
346
- left: fullContainerWidth ? 0 : "initial",
347
- right: fullContainerWidth ? 0 : "initial",
348
- top: overButton ? 0 : "initial"
349
- },
350
- className: `menu ${open ? "menu--open" : "menu--close"} z-50 rounded-none shadow-sm`
351
- },
352
- /* @__PURE__ */ React.createElement(import_material4.Box, { className: `flex flex-col p-3 gap-3` }, overButton ? /* @__PURE__ */ React.createElement(
353
- IconButton_default,
354
- {
355
- className: "bg-accent-silver p-1 self-end absolute",
356
- onClick: handleClose
357
- },
358
- /* @__PURE__ */ React.createElement(close_default, null)
359
- ) : null, childTitle ? /* @__PURE__ */ React.createElement(
360
- import_material4.Typography,
361
- {
362
- className: "text-sm font-normal text-accent-silver-2"
363
- },
364
- childTitle
365
- ) : null, childrenWithHandleChange)
366
- ) : null));
388
+ ) : null
389
+ ] }) });
367
390
  };
368
391
  var SelectPro_default = SelectPro;
369
392
 
370
393
  // src/components/Chip/Chip.tsx
371
394
  var import_material5 = require("@mui/material");
395
+ var import_jsx_runtime9 = require("react/jsx-runtime");
372
396
  var StyledChip = (0, import_material5.styled)(import_material5.Chip)(({ theme: theme2 }) => ({
373
397
  borderRadius: theme2.shape.borderRadius
374
398
  }));
@@ -380,7 +404,7 @@ var ChipViews = {
380
404
  };
381
405
  var CustomChip = (props) => {
382
406
  const _a = props, { view } = _a, rest = __objRest(_a, ["view"]);
383
- return /* @__PURE__ */ React.createElement(
407
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
384
408
  StyledChip,
385
409
  __spreadValues({
386
410
  className: `rounded-none w-fit h-fit px-2.5 py-0 ${ChipViews[view]}`
@@ -391,57 +415,61 @@ var Chip_default = CustomChip;
391
415
 
392
416
  // src/components/Badge/Badge.tsx
393
417
  var import_material6 = require("@mui/material");
418
+ var import_jsx_runtime10 = require("react/jsx-runtime");
394
419
  var CustomBadge = (props) => {
395
- return /* @__PURE__ */ React.createElement(import_material6.Badge, __spreadValues({}, props));
420
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_material6.Badge, __spreadValues({}, props));
396
421
  };
397
422
  var Badge_default = CustomBadge;
398
423
 
399
424
  // src/components/Avatar/Avatar.tsx
400
425
  var import_Avatar = __toESM(require("@mui/material/Avatar"));
426
+ var import_jsx_runtime11 = require("react/jsx-runtime");
401
427
  var CustomAvatar = (props) => {
402
- return /* @__PURE__ */ React.createElement(import_Avatar.default, __spreadValues({}, props));
428
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_Avatar.default, __spreadValues({}, props));
403
429
  };
404
430
  var Avatar_default = CustomAvatar;
405
431
 
406
432
  // src/components/Text/Text.tsx
407
433
  var import_Typography2 = __toESM(require("@mui/material/Typography"));
434
+ var import_jsx_runtime12 = require("react/jsx-runtime");
408
435
  var Text = (props) => {
409
436
  const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
410
- return /* @__PURE__ */ React.createElement(import_Typography2.default, __spreadValues({}, rest), children);
437
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_Typography2.default, __spreadProps(__spreadValues({}, rest), { children }));
411
438
  };
412
439
  var Text_default = Text;
413
440
 
414
441
  // src/components/Radio/Radio.tsx
415
- var import_react3 = __toESM(require("react"));
416
442
  var import_Radio = __toESM(require("@mui/material/Radio"));
417
443
  var import_FormControlLabel = __toESM(require("@mui/material/FormControlLabel"));
444
+ var import_jsx_runtime13 = require("react/jsx-runtime");
418
445
  var CustomRadio = (props) => {
419
446
  const { value, label, radioProps, labelProps } = props;
420
447
  if (label && value)
421
- return /* @__PURE__ */ import_react3.default.createElement(
448
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
422
449
  import_FormControlLabel.default,
423
450
  __spreadValues({
424
451
  value,
425
- control: /* @__PURE__ */ import_react3.default.createElement(import_Radio.default, __spreadValues({}, radioProps)),
452
+ control: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_Radio.default, __spreadValues({}, radioProps)),
426
453
  label
427
454
  }, labelProps)
428
455
  );
429
- return /* @__PURE__ */ import_react3.default.createElement(import_Radio.default, __spreadValues({}, radioProps));
456
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_Radio.default, __spreadValues({}, radioProps));
430
457
  };
431
458
  var Radio_default = CustomRadio;
432
459
 
433
460
  // src/components/RadioGroup/RadioGroup.tsx
434
- var import_react4 = __toESM(require("react"));
435
461
  var import_RadioGroup = __toESM(require("@mui/material/RadioGroup"));
462
+ var import_jsx_runtime14 = require("react/jsx-runtime");
436
463
  var CustomRadioGroup = (props) => {
437
464
  const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
438
- return /* @__PURE__ */ import_react4.default.createElement(import_RadioGroup.default, __spreadValues({}, rest), children);
465
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_RadioGroup.default, __spreadProps(__spreadValues({}, rest), { children }));
439
466
  };
440
467
  var RadioGroup_default = CustomRadioGroup;
441
468
 
442
469
  // src/components/Switch/Switch.tsx
443
470
  var import_material7 = require("@mui/material");
444
471
  var import_Typography3 = __toESM(require("@mui/material/Typography"));
472
+ var import_jsx_runtime15 = require("react/jsx-runtime");
445
473
  var Switch = (0, import_material7.styled)(import_material7.Switch)(({ theme: theme2 }) => ({
446
474
  width: 60,
447
475
  height: 30,
@@ -485,20 +513,26 @@ var Switch = (0, import_material7.styled)(import_material7.Switch)(({ theme: the
485
513
  }));
486
514
  var CustomSwitch = (props) => {
487
515
  const _a = props, { beforeText, afterText } = _a, rest = __objRest(_a, ["beforeText", "afterText"]);
488
- return /* @__PURE__ */ React.createElement(import_material7.Stack, { direction: "row", spacing: 1, alignItems: "center" }, beforeText ? /* @__PURE__ */ React.createElement(import_Typography3.default, { className: "text-base" }, beforeText) : null, /* @__PURE__ */ React.createElement(Switch, __spreadProps(__spreadValues({ defaultChecked: true }, rest), { disableRipple: true })), afterText ? /* @__PURE__ */ React.createElement(import_Typography3.default, { className: "text-base" }, afterText) : null);
516
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_material7.Stack, { direction: "row", spacing: 1, alignItems: "center", children: [
517
+ beforeText ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_Typography3.default, { className: "text-base", children: beforeText }) : null,
518
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Switch, __spreadProps(__spreadValues({ defaultChecked: true }, rest), { disableRipple: true })),
519
+ afterText ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_Typography3.default, { className: "text-base", children: afterText }) : null
520
+ ] });
489
521
  };
490
522
  var Switch_default = CustomSwitch;
491
523
 
492
524
  // src/components/Slider/Slider.tsx
493
525
  var import_material8 = require("@mui/material");
526
+ var import_jsx_runtime16 = require("react/jsx-runtime");
494
527
  var StyledSlider = (0, import_material8.styled)(import_material8.Slider)(() => ({}));
495
528
  var CustomSlider = (props) => {
496
- return /* @__PURE__ */ React.createElement(StyledSlider, __spreadValues({}, props));
529
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(StyledSlider, __spreadValues({}, props));
497
530
  };
498
531
  var Slider_default = CustomSlider;
499
532
 
500
533
  // src/components/MenuItem/MenuItem.tsx
501
534
  var import_material9 = require("@mui/material");
535
+ var import_jsx_runtime17 = require("react/jsx-runtime");
502
536
  var StyledMenuItem = (0, import_material9.styled)(import_material9.MenuItem)(() => ({
503
537
  borderRadius: "5px",
504
538
  "&.Mui-selected": {
@@ -508,13 +542,14 @@ var StyledMenuItem = (0, import_material9.styled)(import_material9.MenuItem)(()
508
542
  }));
509
543
  var CustomMenuItem = (props) => {
510
544
  const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
511
- return /* @__PURE__ */ React.createElement(StyledMenuItem, __spreadValues({}, rest), children);
545
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(StyledMenuItem, __spreadProps(__spreadValues({}, rest), { children }));
512
546
  };
513
547
  var MenuItem_default = CustomMenuItem;
514
548
 
515
549
  // src/components/Input/Input.tsx
516
550
  var import_material10 = require("@mui/material");
517
551
  var import_Input = __toESM(require("@mui/material/Input"));
552
+ var import_jsx_runtime18 = require("react/jsx-runtime");
518
553
  var StyledInput = (0, import_material10.styled)(import_Input.default)(() => ({
519
554
  "& input::-webkit-outer-spin-button, & input::-webkit-inner-spin-button": {
520
555
  display: "none"
@@ -531,12 +566,12 @@ var CustomInput = (props) => {
531
566
  event.stopPropagation();
532
567
  }
533
568
  };
534
- return /* @__PURE__ */ React.createElement(
569
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
535
570
  StyledInput,
536
571
  __spreadValues({
537
572
  disableUnderline: true,
538
573
  onKeyDown: handleKeyDown,
539
- startAdornment: adornmentText ? /* @__PURE__ */ React.createElement(import_material10.InputAdornment, { position: "start", className: "text-sm" }, adornmentText) : void 0,
574
+ startAdornment: adornmentText ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material10.InputAdornment, { position: "start", className: "text-sm", children: adornmentText }) : void 0,
540
575
  value,
541
576
  componentsProps: {
542
577
  root: {
@@ -551,11 +586,12 @@ var Input_default = CustomInput;
551
586
 
552
587
  // src/components/Input/PhoneInput.tsx
553
588
  var import_react_number_format = require("react-number-format");
554
- var import_react5 = require("react");
555
- var PhoneInput = (0, import_react5.forwardRef)(
589
+ var import_react3 = require("react");
590
+ var import_jsx_runtime19 = require("react/jsx-runtime");
591
+ var PhoneInput = (0, import_react3.forwardRef)(
556
592
  function NumericFormatCustom(props, ref) {
557
593
  const _a = props, { onChange } = _a, other = __objRest(_a, ["onChange"]);
558
- return /* @__PURE__ */ React.createElement(
594
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
559
595
  import_react_number_format.PatternFormat,
560
596
  __spreadProps(__spreadValues({}, other), {
561
597
  getInputRef: ref,
@@ -579,17 +615,23 @@ var PhoneInput_default = PhoneInput;
579
615
  // src/components/Input/FromToInput.tsx
580
616
  var import_material11 = require("@mui/material");
581
617
  var import_Typography4 = __toESM(require("@mui/material/Typography"));
618
+ var import_jsx_runtime20 = require("react/jsx-runtime");
582
619
  var FromToInput = ({ label }) => {
583
- return /* @__PURE__ */ React.createElement(import_material11.Stack, null, label ? /* @__PURE__ */ React.createElement(import_Typography4.default, { className: "text-accent-dark text-xs" }, label) : null, /* @__PURE__ */ React.createElement(import_material11.Stack, { direction: "row", spacing: 1 }, /* @__PURE__ */ React.createElement(Input_default, { adornmentText: "\u0432\u0456\u0434", fullWidth: true, type: "number" }), /* @__PURE__ */ React.createElement(Input_default, { adornmentText: "\u0434\u043E", fullWidth: true, type: "number" })));
620
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_material11.Stack, { children: [
621
+ label ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_Typography4.default, { className: "text-accent-dark text-xs", children: label }) : null,
622
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_material11.Stack, { direction: "row", spacing: 1, children: [
623
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Input_default, { adornmentText: "\u0432\u0456\u0434", fullWidth: true, type: "number" }),
624
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Input_default, { adornmentText: "\u0434\u043E", fullWidth: true, type: "number" })
625
+ ] })
626
+ ] });
584
627
  };
585
628
  var FromToInput_default = FromToInput;
586
629
 
587
630
  // src/theme/index.tsx
588
- var import_react6 = __toESM(require("react"));
589
- var import_react7 = require("react");
631
+ var import_react4 = require("react");
590
632
  var import_cache = __toESM(require("@emotion/cache"));
591
633
  var import_navigation = require("next/navigation");
592
- var import_react8 = require("@emotion/react");
634
+ var import_react5 = require("@emotion/react");
593
635
  var import_ThemeProvider = __toESM(require("@mui/material/styles/ThemeProvider"));
594
636
  var import_createTheme = __toESM(require("@mui/material/styles/createTheme"));
595
637
  var import_CssBaseline = __toESM(require("@mui/material/CssBaseline"));
@@ -632,10 +674,11 @@ var _theme = {
632
674
  };
633
675
 
634
676
  // src/theme/index.tsx
677
+ var import_jsx_runtime21 = require("react/jsx-runtime");
635
678
  var theme = (0, import_createTheme.default)(__spreadValues({}, _theme));
636
679
  function ThemeRegistry(props) {
637
680
  const { children } = props;
638
- const [{ cache, flush }] = (0, import_react7.useState)(() => {
681
+ const [{ cache, flush }] = (0, import_react4.useState)(() => {
639
682
  const cache2 = (0, import_cache.default)({
640
683
  key: "mui",
641
684
  stylisPlugins: [import_stylis.prefixer]
@@ -664,34 +707,39 @@ function ThemeRegistry(props) {
664
707
  for (const name of names) {
665
708
  styles += cache.inserted[name];
666
709
  }
667
- return /* @__PURE__ */ import_react6.default.createElement(
710
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
668
711
  "style",
669
712
  {
670
- key: cache.key,
671
713
  "data-emotion": `${cache.key} ${names.join(" ")}`,
672
714
  dangerouslySetInnerHTML: {
673
715
  __html: styles
674
716
  }
675
- }
717
+ },
718
+ cache.key
676
719
  );
677
720
  });
678
- return /* @__PURE__ */ import_react6.default.createElement(import_react8.CacheProvider, { value: cache }, /* @__PURE__ */ import_react6.default.createElement(import_ThemeProvider.default, { theme }, /* @__PURE__ */ import_react6.default.createElement(import_CssBaseline.default, null), children));
721
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react5.CacheProvider, { value: cache, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_ThemeProvider.default, { theme, children: [
722
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_CssBaseline.default, {}),
723
+ children
724
+ ] }) });
679
725
  }
680
726
 
681
727
  // src/providers/Providers.tsx
728
+ var import_jsx_runtime22 = require("react/jsx-runtime");
682
729
  var Providers = ({ children }) => {
683
- return /* @__PURE__ */ React.createElement(ThemeRegistry, null, children);
730
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(ThemeRegistry, { children });
684
731
  };
685
732
  var Providers_default = Providers;
686
733
 
687
734
  // src/components/AppBar/AppBar.tsx
688
- var import_react9 = require("react");
735
+ var import_react6 = require("react");
689
736
  var import_material12 = require("@mui/material");
690
737
  var import_link = __toESM(require("next/link"));
738
+ var import_jsx_runtime23 = require("react/jsx-runtime");
691
739
  var AppBar = ({ links }) => {
692
- const [activeIndex, setActiveIndex] = (0, import_react9.useState)(0);
693
- const navItemsRef = (0, import_react9.useRef)([]);
694
- (0, import_react9.useEffect)(() => {
740
+ const [activeIndex, setActiveIndex] = (0, import_react6.useState)(0);
741
+ const navItemsRef = (0, import_react6.useRef)([]);
742
+ (0, import_react6.useEffect)(() => {
695
743
  const indicator = document.querySelector(".nav-indicator");
696
744
  const navItem = navItemsRef.current[activeIndex];
697
745
  const navItemWidth = navItem.offsetWidth;
@@ -705,25 +753,29 @@ var AppBar = ({ links }) => {
705
753
  const handleClick = (index) => {
706
754
  setActiveIndex(index);
707
755
  };
708
- return /* @__PURE__ */ React.createElement(import_material12.Stack, { direction: "row", spacing: 1, position: "relative" }, /* @__PURE__ */ React.createElement(import_material12.Box, { className: "nav-indicator" }), links.map((link, index) => /* @__PURE__ */ React.createElement(
709
- import_link.default,
710
- {
711
- ref: (el) => {
712
- navItemsRef.current[index] = el;
756
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_material12.Stack, { direction: "row", spacing: 1, position: "relative", children: [
757
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_material12.Box, { className: "nav-indicator" }),
758
+ links.map((link, index) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
759
+ import_link.default,
760
+ {
761
+ ref: (el) => {
762
+ navItemsRef.current[index] = el;
763
+ },
764
+ href: link.path,
765
+ className: `nav-item ${index === activeIndex ? "active" : ""} hover:text-accent-beige`,
766
+ onClick: () => handleClick(index),
767
+ children: link.title
713
768
  },
714
- key: index,
715
- href: link.path,
716
- className: `nav-item ${index === activeIndex ? "active" : ""} hover:text-accent-beige`,
717
- onClick: () => handleClick(index)
718
- },
719
- link.title
720
- )));
769
+ index
770
+ ))
771
+ ] });
721
772
  };
722
773
  var AppBar_default = AppBar;
723
774
 
724
775
  // src/components/Image/ImageContainer.tsx
725
776
  var import_material13 = require("@mui/material");
726
777
  var import_image = __toESM(require("next/image"));
778
+ var import_jsx_runtime24 = require("react/jsx-runtime");
727
779
  var ImageContainer = (props) => {
728
780
  const {
729
781
  src,
@@ -735,7 +787,7 @@ var ImageContainer = (props) => {
735
787
  loading = "lazy",
736
788
  objectFit = "object-cover"
737
789
  } = props;
738
- return /* @__PURE__ */ React.createElement(import_material13.Box, { className: `relative ${width} ${height}` }, /* @__PURE__ */ React.createElement(
790
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_material13.Box, { className: `relative ${width} ${height}`, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
739
791
  import_image.default,
740
792
  {
741
793
  className: `${objectFit} object-center`,
@@ -746,13 +798,14 @@ var ImageContainer = (props) => {
746
798
  sizes: "(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",
747
799
  priority
748
800
  }
749
- ));
801
+ ) });
750
802
  };
751
803
  var ImageContainer_default = ImageContainer;
752
804
 
753
805
  // src/icons/map-search.svg
754
- var React8 = __toESM(require("react"));
755
- var SvgMapSearch = (props) => /* @__PURE__ */ React8.createElement("svg", __spreadValues({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props), /* @__PURE__ */ React8.createElement("path", { d: "M11 18L9 17M9 17L3 20V7L9 4M9 17V4M9 4L15 7M15 7L21 4V11.5M15 7V12M20.1992 20.1992L21.9992 21.9992M15 18C15 18.7956 15.3161 19.5587 15.8787 20.1213C16.4413 20.6839 17.2044 21 18 21C18.7956 21 19.5587 20.6839 20.1213 20.1213C20.6839 19.5587 21 18.7956 21 18C21 17.2044 20.6839 16.4413 20.1213 15.8787C19.5587 15.3161 18.7956 15 18 15C17.2044 15 16.4413 15.3161 15.8787 15.8787C15.3161 16.4413 15 17.2044 15 18Z", stroke: "#343434", className: "stroke-current", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }));
806
+ var React4 = __toESM(require("react"));
807
+ var import_jsx_runtime25 = require("react/jsx-runtime");
808
+ var SvgMapSearch = (props) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("svg", __spreadProps(__spreadValues({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("path", { d: "M11 18L9 17M9 17L3 20V7L9 4M9 17V4M9 4L15 7M15 7L21 4V11.5M15 7V12M20.1992 20.1992L21.9992 21.9992M15 18C15 18.7956 15.3161 19.5587 15.8787 20.1213C16.4413 20.6839 17.2044 21 18 21C18.7956 21 19.5587 20.6839 20.1213 20.1213C20.6839 19.5587 21 18.7956 21 18C21 17.2044 20.6839 16.4413 20.1213 15.8787C19.5587 15.3161 18.7956 15 18 15C17.2044 15 16.4413 15.3161 15.8787 15.8787C15.3161 16.4413 15 17.2044 15 18Z", stroke: "#343434", className: "stroke-current", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }) }));
756
809
  var map_search_default = SvgMapSearch;
757
810
 
758
811
  // src/components/Card/CategoryCard.tsx
@@ -763,16 +816,23 @@ var import_link2 = __toESM(require("next/link"));
763
816
  var NO_IMAGE = "/images/no-photo.svg";
764
817
 
765
818
  // src/components/Card/CategoryCard.tsx
819
+ var import_jsx_runtime26 = require("react/jsx-runtime");
766
820
  var CategoryCard = (props) => {
767
821
  const { link, text, title, image_url = NO_IMAGE } = props;
768
- return /* @__PURE__ */ React.createElement(import_link2.default, { href: link, className: "group/card" }, /* @__PURE__ */ React.createElement(import_material14.Box, { className: "flex flex-col gap-[20px]" }, /* @__PURE__ */ React.createElement(ImageContainer_default, { src: image_url, alt: title, height: "h-[300px]" }), /* @__PURE__ */ React.createElement(import_material14.Box, { className: "flex flex-col px-[16px]" }, /* @__PURE__ */ React.createElement(
769
- import_material14.Typography,
770
- {
771
- component: "span",
772
- className: "font-extrabold text-16 group-hover/card:text-gold2"
773
- },
774
- title
775
- ), /* @__PURE__ */ React.createElement(import_material14.Typography, { component: "span", className: "group-hover/card:text-gold2" }, text))));
822
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_link2.default, { href: link, className: "group/card", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_material14.Box, { className: "flex flex-col gap-[20px]", children: [
823
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ImageContainer_default, { src: image_url, alt: title, height: "h-[300px]" }),
824
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_material14.Box, { className: "flex flex-col px-[16px]", children: [
825
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
826
+ import_material14.Typography,
827
+ {
828
+ component: "span",
829
+ className: "font-extrabold text-16 group-hover/card:text-gold2",
830
+ children: title
831
+ }
832
+ ),
833
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_material14.Typography, { component: "span", className: "group-hover/card:text-gold2", children: text })
834
+ ] })
835
+ ] }) });
776
836
  };
777
837
  var CategoryCard_default = CategoryCard;
778
838
 
@@ -780,95 +840,141 @@ var CategoryCard_default = CategoryCard;
780
840
  var import_link3 = __toESM(require("next/link"));
781
841
  var import_material15 = require("@mui/material");
782
842
  var import_Typography5 = __toESM(require("@mui/material/Typography"));
843
+ var import_jsx_runtime27 = require("react/jsx-runtime");
783
844
  var ArticleCard = (props) => {
784
845
  const { image_src = NO_IMAGE } = props;
785
- return /* @__PURE__ */ React.createElement(import_link3.default, { href: "/", className: "group/card bg-gray-light" }, /* @__PURE__ */ React.createElement(
786
- ImageContainer_default,
787
- {
788
- src: image_src,
789
- alt: "test",
790
- contentful: false,
791
- height: "h-[220px]"
792
- }
793
- ), /* @__PURE__ */ React.createElement(import_material15.Box, { className: "pt-[24px] pl-[16px] pr-[50px] pb-[10px] flex flex-col gap-[6px]" }, /* @__PURE__ */ React.createElement(
794
- import_Typography5.default,
795
- {
796
- component: "span",
797
- className: "text-16 font-extrabold group-hover/card:text-gold2"
798
- },
799
- "\u041E\u0441\u043E\u0431\u043B\u0438\u0432\u043E\u0441\u0442\u0456 \u043A\u0443\u043F\u0456\u0432\u043B\u0456 \u0433\u043E\u0442\u0435\u043B\u044E"
800
- ), /* @__PURE__ */ React.createElement(
801
- import_Typography5.default,
802
- {
803
- component: "span",
804
- className: "text-gray group-hover/card:text-gold2"
805
- },
806
- "We have built a strong network in Dubai since 2009, which allows us to source the best deal for"
807
- ), /* @__PURE__ */ React.createElement(import_Typography5.default, { component: "span", className: "border-gold-block-snack" }, "\u0422\u0435\u0433-\u043D\u0430\u0437\u0432\u0430")));
846
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_link3.default, { href: "/", className: "group/card bg-gray-light", children: [
847
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
848
+ ImageContainer_default,
849
+ {
850
+ src: image_src,
851
+ alt: "test",
852
+ contentful: false,
853
+ height: "h-[220px]"
854
+ }
855
+ ),
856
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_material15.Box, { className: "pt-[24px] pl-[16px] pr-[50px] pb-[10px] flex flex-col gap-[6px]", children: [
857
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
858
+ import_Typography5.default,
859
+ {
860
+ component: "span",
861
+ className: "text-16 font-extrabold group-hover/card:text-gold2",
862
+ children: "\u041E\u0441\u043E\u0431\u043B\u0438\u0432\u043E\u0441\u0442\u0456 \u043A\u0443\u043F\u0456\u0432\u043B\u0456 \u0433\u043E\u0442\u0435\u043B\u044E"
863
+ }
864
+ ),
865
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
866
+ import_Typography5.default,
867
+ {
868
+ component: "span",
869
+ className: "text-gray group-hover/card:text-gold2",
870
+ children: "We have built a strong network in Dubai since 2009, which allows us to source the best deal for"
871
+ }
872
+ ),
873
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_Typography5.default, { component: "span", className: "border-gold-block-snack", children: "\u0422\u0435\u0433-\u043D\u0430\u0437\u0432\u0430" })
874
+ ] })
875
+ ] });
808
876
  };
809
877
  var ArticleCard_default = ArticleCard;
810
878
 
811
879
  // src/components/Card/JobCard.tsx
880
+ var import_jsx_runtime28 = require("react/jsx-runtime");
812
881
  var JobCard = () => {
813
- return /* @__PURE__ */ React.createElement(React.Fragment, null);
882
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_jsx_runtime28.Fragment, {});
814
883
  };
815
884
  var JobCard_default = JobCard;
816
885
 
817
886
  // src/components/Card/RealtorCard.tsx
887
+ var import_jsx_runtime29 = require("react/jsx-runtime");
818
888
  var RealtorCard = () => {
819
- return /* @__PURE__ */ React.createElement(React.Fragment, null);
889
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_jsx_runtime29.Fragment, {});
820
890
  };
821
891
  var RealtorCard_default = RealtorCard;
822
892
 
823
893
  // src/components/Card/RealtyCard.tsx
824
894
  var import_material16 = require("@mui/material");
825
895
  var import_link4 = __toESM(require("next/link"));
896
+ var import_jsx_runtime30 = require("react/jsx-runtime");
826
897
  var RealtyCard = () => {
827
- return /* @__PURE__ */ React.createElement(import_link4.default, { href: "/", className: "relative" }, /* @__PURE__ */ React.createElement(import_material16.Box, { className: "absolute left-[16px] top-[16px] flex flex-col gap-[9px] z-[1]" }, /* @__PURE__ */ React.createElement(Chip_default, { view: "white", label: "id: 00154" }), /* @__PURE__ */ React.createElement(Chip_default, { view: "white", label: "\u0416\u041A: \u0421\u0443\u0447\u0430\u0441\u043D\u0438\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B4" })), /* @__PURE__ */ React.createElement(
828
- ImageContainer_default,
829
- {
830
- src: "/images/test.png",
831
- alt: "test",
832
- height: "h-[260px]",
833
- contentful: false
834
- }
835
- ), /* @__PURE__ */ React.createElement(import_material16.Box, { className: "bg-white py-[20px] px-[16px] flex flex-col gap-[6px]" }, /* @__PURE__ */ React.createElement(Chip_default, { view: "black", label: "120 000 \u20B4/\u043C\u0456\u0441\u044F\u0446\u044C" }), /* @__PURE__ */ React.createElement(import_material16.Typography, { component: "span", className: "font-extrabold" }, "\u0432\u0443\u043B. \u0414\u0440\u0430\u0433\u043E\u043C\u0438\u0440\u043E\u0432\u0430 25"), /* @__PURE__ */ React.createElement(import_material16.Typography, { component: "span", className: "text-12" }, "\u041F\u0435\u0447\u0435\u0440\u0441\u044C\u043A\u0438\u0439 \u0440-\u043D"), /* @__PURE__ */ React.createElement(
836
- Chip_default,
837
- {
838
- view: "silver",
839
- label: /* @__PURE__ */ React.createElement(import_material16.Stack, { direction: "row", spacing: 1 }, /* @__PURE__ */ React.createElement(import_material16.Typography, null, "\u043C\u0435\u0442\u0440\u043E:"), /* @__PURE__ */ React.createElement(import_material16.Typography, { className: "font-extrabold" }, "\u041B\u0438\u0431\u0456\u0434\u0441\u044C\u043A\u0430"))
840
- }
841
- ), /* @__PURE__ */ React.createElement(import_material16.Box, { className: "flex flex-wrap gap-[6px] mt-[6px]" }, /* @__PURE__ */ React.createElement(Chip_default, { view: "line", label: "2 \u043A\u0456\u043C\u043D" }), /* @__PURE__ */ React.createElement(Chip_default, { view: "line", label: "60 \u043C\xB2" }), /* @__PURE__ */ React.createElement(Chip_default, { view: "line", label: "\u043F\u043E\u0432\u0435\u0440\u0445: 3/24" }))));
898
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_link4.default, { href: "/", className: "relative", children: [
899
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_material16.Box, { className: "absolute left-[16px] top-[16px] flex flex-col gap-[9px] z-[1]", children: [
900
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Chip_default, { view: "white", label: "id: 00154" }),
901
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Chip_default, { view: "white", label: "\u0416\u041A: \u0421\u0443\u0447\u0430\u0441\u043D\u0438\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B4" })
902
+ ] }),
903
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
904
+ ImageContainer_default,
905
+ {
906
+ src: "/images/test.png",
907
+ alt: "test",
908
+ height: "h-[260px]",
909
+ contentful: false
910
+ }
911
+ ),
912
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_material16.Box, { className: "bg-white py-[20px] px-[16px] flex flex-col gap-[6px]", children: [
913
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Chip_default, { view: "black", label: "120 000 \u20B4/\u043C\u0456\u0441\u044F\u0446\u044C" }),
914
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_material16.Typography, { component: "span", className: "font-extrabold", children: "\u0432\u0443\u043B. \u0414\u0440\u0430\u0433\u043E\u043C\u0438\u0440\u043E\u0432\u0430 25" }),
915
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_material16.Typography, { component: "span", className: "text-12", children: "\u041F\u0435\u0447\u0435\u0440\u0441\u044C\u043A\u0438\u0439 \u0440-\u043D" }),
916
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
917
+ Chip_default,
918
+ {
919
+ view: "silver",
920
+ label: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_material16.Stack, { direction: "row", spacing: 1, children: [
921
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_material16.Typography, { children: "\u043C\u0435\u0442\u0440\u043E:" }),
922
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_material16.Typography, { className: "font-extrabold", children: "\u041B\u0438\u0431\u0456\u0434\u0441\u044C\u043A\u0430" })
923
+ ] })
924
+ }
925
+ ),
926
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_material16.Box, { className: "flex flex-wrap gap-[6px] mt-[6px]", children: [
927
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Chip_default, { view: "line", label: "2 \u043A\u0456\u043C\u043D" }),
928
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Chip_default, { view: "line", label: "60 \u043C\xB2" }),
929
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Chip_default, { view: "line", label: "\u043F\u043E\u0432\u0435\u0440\u0445: 3/24" })
930
+ ] })
931
+ ] })
932
+ ] });
842
933
  };
843
934
  var RealtyCard_default = RealtyCard;
844
935
 
845
936
  // src/components/Card/TeamPersonCard.tsx
846
937
  var import_material17 = require("@mui/material");
938
+ var import_jsx_runtime31 = require("react/jsx-runtime");
847
939
  var TeamPersonCard = (props) => {
848
940
  const { image_url = NO_IMAGE, name, position, text } = props;
849
- return /* @__PURE__ */ React.createElement(import_material17.Box, { className: "group/card" }, /* @__PURE__ */ React.createElement(import_material17.Box, { className: "relative h-[300px]" }, /* @__PURE__ */ React.createElement(import_material17.Box, { className: "w-full h-full bg-gray-medium group-hover/card:brightness-[50%]" }, /* @__PURE__ */ React.createElement(
850
- ImageContainer_default,
851
- {
852
- contentful: false,
853
- src: image_url,
854
- alt: name,
855
- objectFit: "object-contain"
856
- }
857
- )), /* @__PURE__ */ React.createElement(import_material17.Box, { className: "hidden absolute top-[110px] left-[30px] right-[30px] group-hover/card:flex flex-col text-white" }, /* @__PURE__ */ React.createElement(import_material17.Typography, { component: "span", className: "text-16 font-extrabold" }, position), /* @__PURE__ */ React.createElement(import_material17.Typography, { component: "span", className: "mt-[4px]" }, name), /* @__PURE__ */ React.createElement(
858
- import_material17.Typography,
859
- {
860
- component: "span",
861
- className: "mt-[11px] text-12 !leading-[16px]"
862
- },
863
- text
864
- ))), /* @__PURE__ */ React.createElement(import_material17.Box, { className: "mt-[20px] text-center mx-auto flex flex-col w-10/12" }, /* @__PURE__ */ React.createElement(import_material17.Typography, { component: "span", className: "text-16 font-extrabold" }, position), /* @__PURE__ */ React.createElement(import_material17.Typography, { component: "span", className: "text-gray" }, name)));
941
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_material17.Box, { className: "group/card", children: [
942
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_material17.Box, { className: "relative h-[300px]", children: [
943
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_material17.Box, { className: "w-full h-full bg-gray-medium group-hover/card:brightness-[50%]", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
944
+ ImageContainer_default,
945
+ {
946
+ contentful: false,
947
+ src: image_url,
948
+ alt: name,
949
+ objectFit: "object-contain"
950
+ }
951
+ ) }),
952
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_material17.Box, { className: "hidden absolute top-[110px] left-[30px] right-[30px] group-hover/card:flex flex-col text-white", children: [
953
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_material17.Typography, { component: "span", className: "text-16 font-extrabold", children: position }),
954
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_material17.Typography, { component: "span", className: "mt-[4px]", children: name }),
955
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
956
+ import_material17.Typography,
957
+ {
958
+ component: "span",
959
+ className: "mt-[11px] text-12 !leading-[16px]",
960
+ children: text
961
+ }
962
+ )
963
+ ] })
964
+ ] }),
965
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_material17.Box, { className: "mt-[20px] text-center mx-auto flex flex-col w-10/12", children: [
966
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_material17.Typography, { component: "span", className: "text-16 font-extrabold", children: position }),
967
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_material17.Typography, { component: "span", className: "text-gray", children: name })
968
+ ] })
969
+ ] });
865
970
  };
866
971
  var TeamPersonCard_default = TeamPersonCard;
867
972
 
868
973
  // src/components/Autocomplete/Autocomplete.tsx
869
- var import_react10 = require("react");
974
+ var import_react7 = require("react");
870
975
  var import_material18 = require("@mui/material");
871
976
  var import_react_hook_form = require("react-hook-form");
977
+ var import_jsx_runtime32 = require("react/jsx-runtime");
872
978
  var RenderInputAutocomplete = (_a) => {
873
979
  var _b = _a, {
874
980
  InputProps: InputProps2,
@@ -877,11 +983,14 @@ var RenderInputAutocomplete = (_a) => {
877
983
  "InputProps",
878
984
  "InputLabelProps"
879
985
  ]);
880
- return /* @__PURE__ */ React.createElement(import_material18.Box, { ref: InputProps2.ref }, /* @__PURE__ */ React.createElement(
986
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_material18.Box, { ref: InputProps2.ref, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
881
987
  import_material18.Input,
882
988
  __spreadProps(__spreadValues(__spreadValues({}, InputProps2), other), {
883
- startAdornment: /* @__PURE__ */ React.createElement(import_material18.Stack, { direction: "row", alignItems: "center" }, /* @__PURE__ */ React.createElement(import_material18.InputAdornment, { position: "start" }, /* @__PURE__ */ React.createElement(search_default, null)), InputProps2.startAdornment),
884
- endAdornment: /* @__PURE__ */ React.createElement(React.Fragment, null),
989
+ startAdornment: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_material18.Stack, { direction: "row", alignItems: "center", children: [
990
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_material18.InputAdornment, { position: "start", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(search_default, {}) }),
991
+ InputProps2.startAdornment
992
+ ] }),
993
+ endAdornment: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_jsx_runtime32.Fragment, {}),
885
994
  ref: InputProps2.ref,
886
995
  disableUnderline: true,
887
996
  placeholder: "\u041F\u043E\u0448\u0443\u043A \u043F\u043E \u0440\u0430\u0439\u043E\u043D\u0443, \u0432\u0443\u043B\u0438\u0446\u0456, \u0416\u041A",
@@ -894,15 +1003,18 @@ var RenderInputAutocomplete = (_a) => {
894
1003
  // },
895
1004
  }
896
1005
  })
897
- ));
1006
+ ) });
898
1007
  };
899
1008
  var CustomPaperComponent = (props) => {
900
- return /* @__PURE__ */ React.createElement(import_material18.Paper, __spreadValues({}, props), /* @__PURE__ */ React.createElement("div", { key: "click-away-wrapper" }, "helllooo", props.children));
1009
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_material18.Paper, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { children: [
1010
+ "helllooo",
1011
+ props.children
1012
+ ] }, "click-away-wrapper") }));
901
1013
  };
902
1014
  var Autocomplete = (props) => {
903
1015
  const { values } = props;
904
- const [open, setOpen] = (0, import_react10.useState)(false);
905
- const [anchorEl, setAnchorEl] = (0, import_react10.useState)(null);
1016
+ const [open, setOpen] = (0, import_react7.useState)(false);
1017
+ const [anchorEl, setAnchorEl] = (0, import_react7.useState)(null);
906
1018
  const { field } = (0, import_react_hook_form.useController)(props);
907
1019
  const handleClick = (event) => {
908
1020
  if (open)
@@ -912,7 +1024,7 @@ var Autocomplete = (props) => {
912
1024
  else setAnchorEl(event.currentTarget);
913
1025
  setOpen(!open);
914
1026
  };
915
- return /* @__PURE__ */ React.createElement(
1027
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
916
1028
  import_material18.Autocomplete,
917
1029
  {
918
1030
  multiple: true,
@@ -928,15 +1040,15 @@ var Autocomplete = (props) => {
928
1040
  PaperComponent: CustomPaperComponent,
929
1041
  renderTags: (value, getTagProps) => value.map((option, index) => {
930
1042
  const _a = getTagProps({ index }), { key } = _a, tagProps = __objRest(_a, ["key"]);
931
- return /* @__PURE__ */ React.createElement(
1043
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
932
1044
  import_material18.Chip,
933
1045
  __spreadProps(__spreadValues({
934
- label: option,
935
- key
1046
+ label: option
936
1047
  }, tagProps), {
937
- deleteIcon: /* @__PURE__ */ React.createElement(IconButton_default, { className: "rounded-none bg-accent-silver p-1" }, /* @__PURE__ */ React.createElement(close_default, null)),
1048
+ deleteIcon: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(IconButton_default, { className: "rounded-none bg-accent-silver p-1", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(close_default, {}) }),
938
1049
  className: "rounded-none w-fit h-fit bg-transparent p-0"
939
- })
1050
+ }),
1051
+ key
940
1052
  );
941
1053
  }),
942
1054
  slotProps: {
@@ -945,7 +1057,7 @@ var Autocomplete = (props) => {
945
1057
  className: `menu ${open ? "menu--open" : "menu--close"} z-50 rounded-none shadow-sm`
946
1058
  }
947
1059
  },
948
- renderInput: (params) => /* @__PURE__ */ React.createElement(
1060
+ renderInput: (params) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
949
1061
  RenderInputAutocomplete,
950
1062
  __spreadValues({}, params)
951
1063
  )