@wix/editor-react-components 1.2425.0 → 1.2427.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.
Files changed (58) hide show
  1. package/dist/site/components/BoxContainer/component.js +1 -1
  2. package/dist/site/components/Breadcrumbs/component.js +2 -2
  3. package/dist/site/components/Checkbox/component.js +1 -1
  4. package/dist/site/components/CheckboxGroup/component.js +1 -1
  5. package/dist/site/components/DatePicker/component.js +1 -1
  6. package/dist/site/components/Dropdown/component.js +2 -2
  7. package/dist/site/components/GoogleMap/GoogleMap.types.d.ts +2 -2
  8. package/dist/site/components/GoogleMap/component.js +47 -11
  9. package/dist/site/components/GoogleMap/components/GoogleMapReact.d.ts +1 -1
  10. package/dist/site/components/GoogleMap/components/GoogleMapReactInteractiveMap.d.ts +1 -1
  11. package/dist/site/components/GoogleMap/consts.d.ts +15 -0
  12. package/dist/site/components/GoogleMap/hooks/useGoogleMapProps.d.ts +2 -0
  13. package/dist/site/components/GoogleMap/manifest.js +1 -1
  14. package/dist/site/components/HTMLComponent/component.js +1 -1
  15. package/dist/site/components/HipaaIcon/component.js +2 -2
  16. package/dist/site/components/LegacyAppWidget/component.js +1 -1
  17. package/dist/site/components/LegacyContainer/component.js +1 -1
  18. package/dist/site/components/LegacyMultiStateBox/component.js +1 -1
  19. package/dist/site/components/LinkBar/component.js +1 -1
  20. package/dist/site/components/Lottie/component.js +1 -1
  21. package/dist/site/components/Menu/component.js +3 -3
  22. package/dist/site/components/RadioButtons/component.js +1 -1
  23. package/dist/site/components/ShareButtons/component.js +2 -2
  24. package/dist/site/components/Slideshow/component.js +1 -1
  25. package/dist/site/components/TextBox/component.js +1 -1
  26. package/dist/site/components/TextEffects3d/component.js +1 -1
  27. package/dist/site/components/TextEffectsBauhaus/component.js +1 -1
  28. package/dist/site/components/TextEffectsGlass/component.js +1 -1
  29. package/dist/site/components/TextEffectsGlitch/component.js +1 -1
  30. package/dist/site/components/TextEffectsLetterPress/component.js +1 -1
  31. package/dist/site/components/TextEffectsMatrix/component.js +1 -1
  32. package/dist/site/components/TextEffectsNeonSign/component.js +1 -1
  33. package/dist/site/components/TextEffectsNoisy/component.js +1 -1
  34. package/dist/site/components/TextEffectsOutlineOut/component.js +1 -1
  35. package/dist/site/components/TextEffectsRetro/component.js +1 -1
  36. package/dist/site/components/TextEffectsShook/component.js +1 -1
  37. package/dist/site/components/TextEffectsSticker/component.js +1 -1
  38. package/dist/site/components/TextEffectsStriped/component.js +1 -1
  39. package/dist/site/components/TextInput/component.js +2 -2
  40. package/dist/site/components/TextInput/sdk.js +1 -1
  41. package/dist/site/components/TimePicker/component.js +1 -1
  42. package/dist/site/components/TransparentVideo/component.js +1 -1
  43. package/dist/site/components/chunks/AnimatedIcon.js +1 -1
  44. package/dist/site/components/chunks/consts.js +23 -6
  45. package/dist/site/components/chunks/index10.js +3 -2021
  46. package/dist/site/components/chunks/index3.js +1 -1
  47. package/dist/site/components/chunks/index5.js +3 -2370
  48. package/dist/site/components/chunks/index6.js +3 -3
  49. package/dist/site/components/chunks/index7.js +4 -3
  50. package/dist/site/components/chunks/index8.js +66 -3
  51. package/dist/site/components/chunks/index9.js +31214 -64
  52. package/dist/site/components/chunks/parseHtml.js +2 -4
  53. package/dist/site/components/chunks/parseSvg.js +23 -7
  54. package/dist/site/components/chunks/staticService.js +1 -1
  55. package/dist/site/components/chunks/useConsentPolicyProps.js +1 -1
  56. package/package.json +3 -4
  57. package/dist/site/components/chunks/index11.js +0 -31219
  58. package/dist/site/components/chunks/index12.js +0 -5
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { c as clsx } from "../chunks/clsx.js";
3
3
  import { useService } from "@wix/services-manager-react";
4
- import { T as TranslationsDefinition } from "../chunks/index6.js";
4
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
5
5
  import { A as ARIA_LABEL_NAMESPACE } from "../chunks/constants32.js";
6
6
  import { e as getTabIndexAttribute, f as convertA11yKeysToHtmlFormat } from "../chunks/a11y.js";
7
7
  const root = "root__eLvEL";
@@ -9,9 +9,9 @@ import { d as directionStyles } from "../chunks/direction.module.js";
9
9
  import { s as semanticClassNames } from "../chunks/constants38.js";
10
10
  import { A as AnimatedIcon } from "../chunks/AnimatedIcon.js";
11
11
  import { useService } from "@wix/services-manager-react";
12
- import { d as defineService } from "../chunks/index8.js";
12
+ import { d as defineService } from "../chunks/index7.js";
13
13
  import { E as EnvironmentDefinition } from "../chunks/index2.js";
14
- import { U as UrlDefinition } from "../chunks/index12.js";
14
+ import { U as UrlDefinition } from "../chunks/index10.js";
15
15
  const $b5e257d569688ac6$var$defaultContext = {
16
16
  prefix: String(Math.round(Math.random() * 1e10)),
17
17
  current: 0
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { useState } from "react";
3
3
  import { c as clsx } from "../chunks/clsx.js";
4
- import { F as Field, e as Checkbox, T as Tooltip } from "../chunks/index11.js";
4
+ import { F as Field, e as Checkbox, T as Tooltip } from "../chunks/index9.js";
5
5
  import { useService } from "@wix/services-manager-react";
6
6
  import { E as EnvironmentDefinition } from "../chunks/index2.js";
7
7
  import { f as formatClassNames } from "../chunks/classNames.js";
@@ -1,6 +1,6 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { c as clsx } from "../chunks/clsx.js";
3
- import { a as Fieldset, T as Tooltip, d as CheckboxGroup_CheckboxGroup_CheckboxGroup, e as Checkbox } from "../chunks/index11.js";
3
+ import { a as Fieldset, T as Tooltip, d as CheckboxGroup_CheckboxGroup_CheckboxGroup, e as Checkbox } from "../chunks/index9.js";
4
4
  import "react";
5
5
  import { useService } from "@wix/services-manager-react";
6
6
  import { E as EnvironmentDefinition } from "../chunks/index2.js";
@@ -11,7 +11,7 @@ import { $ as $ea3928288112382f$export$439d29a4e110a164, a as $ea3928288112382f$
11
11
  import __rspack_external_react_dom_7136dc57__default from "react-dom";
12
12
  import { useService } from "@wix/services-manager-react";
13
13
  import { E as EnvironmentDefinition } from "../chunks/index2.js";
14
- import { T as TranslationsDefinition } from "../chunks/index6.js";
14
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
15
15
  import { a as getDataAttributes } from "../chunks/dataUtils.js";
16
16
  import { d as directionStyles } from "../chunks/direction.module.js";
17
17
  import { p as presetWrapperStyles } from "../chunks/presetWrapper.module.js";
@@ -2,10 +2,10 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
2
  import * as React from "react";
3
3
  import { useState, useCallback, useLayoutEffect, useEffect, useRef } from "react";
4
4
  import { c as clsx } from "../chunks/clsx.js";
5
- import { C as Combobox, F as Field, B as Button_Button_Button } from "../chunks/index11.js";
5
+ import { C as Combobox, F as Field, B as Button_Button_Button } from "../chunks/index9.js";
6
6
  import { useService } from "@wix/services-manager-react";
7
7
  import { E as EnvironmentDefinition } from "../chunks/index2.js";
8
- import { T as TranslationsDefinition } from "../chunks/index6.js";
8
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
9
9
  import { f as formatClassNames } from "../chunks/classNames.js";
10
10
  import { a as getDataAttributes } from "../chunks/dataUtils.js";
11
11
  import { R as RequiredIndicator } from "../chunks/RequiredIndicator.js";
@@ -1,6 +1,6 @@
1
1
  import { GoogleMapDataProp } from '../../../types/vendored/thunderbolt-components';
2
2
  import { MAP_STYLE_KEYS } from './consts';
3
- import { VectorArt, Link } from '@wix/editor-react-types';
3
+ import { A11y, VectorArt, Link } from '@wix/editor-react-types';
4
4
  import { SdkFunctionMouseHoverProps } from '../../../utils/functions/sdkFunctionCallbackProps';
5
5
  import { ConsentPolicyWrapperTranslationsValues } from '../../../common/components/ConsentPolicyWrapper/ConsentPolicyWrapper.types';
6
6
  export type Location = {
@@ -98,9 +98,9 @@ export type GoogleMapBaseProps = GoogleMapEventHandlers & {
98
98
  className?: string;
99
99
  skin?: GoogleMapSkin;
100
100
  customClassNames?: Array<string>;
101
+ a11y?: A11y;
101
102
  translations: GoogleMapTranslations;
102
103
  lang?: string;
103
- language?: string;
104
104
  onMouseEnter?: React.MouseEventHandler<HTMLDivElement>;
105
105
  onMouseLeave?: React.MouseEventHandler<HTMLDivElement>;
106
106
  mapData: GoogleMapMapData;
@@ -4,13 +4,16 @@ import React__default, { forwardRef, useState, useCallback, useMemo, useImperati
4
4
  import { c as clsx } from "../chunks/clsx.js";
5
5
  import { f as formatClassNames } from "../chunks/classNames.js";
6
6
  import { a as getDataAttributes } from "../chunks/dataUtils.js";
7
+ import { e as getTabIndexAttribute, f as convertA11yKeysToHtmlFormat } from "../chunks/a11y.js";
7
8
  import { createPortal } from "react-dom";
8
9
  import { g as getDefaultExportFromCjs } from "../chunks/_commonjsHelpers.js";
9
- import { G as GOOGLE_MAPS_DIRECTIONS_BASE_URL, M as MIN_ZOOM, a as MAX_ZOOM, T as TestIds, D as DEFAULT_ZOOM, b as MAP_IDS, c as MAP_TYPES, A as API_KEY, d as DEFAULT_LOCATION, C as COMPANY_NAME_DEFAULT, e as COMPANY_NAME_KEY, f as COMPONENT_NAME_DEFAULT, g as COMPONENT_NAME_KEY } from "../chunks/consts.js";
10
- import { p as parse } from "../chunks/index5.js";
10
+ import { G as GOOGLE_MAPS_DIRECTIONS_BASE_URL, M as MIN_ZOOM, a as MAX_ZOOM, T as TestIds, D as DEFAULT_ZOOM, b as MAP_IDS, c as MAP_TYPES, A as API_KEY, d as DEFAULT_LOCATION, e as DefaultTranslations, f as TranslationKeys, g as TRANSLATIONS_NAMESPACES, C as COMPANY_NAME_DEFAULT, h as COMPANY_NAME_KEY, i as COMPONENT_NAME_DEFAULT, j as COMPONENT_NAME_KEY } from "../chunks/consts.js";
11
+ import parse from "html-react-parser";
11
12
  import { useService } from "@wix/services-manager-react";
12
13
  import { E as EnvironmentDefinition } from "../chunks/index2.js";
13
14
  import { u as useConsentPolicyProps, C as ConsentPolicyWrapper } from "../chunks/useConsentPolicyProps.js";
15
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
16
+ import { g as getTranslation } from "../chunks/getTranslation.js";
14
17
  const mapContainer = "mapContainer__E0LTn";
15
18
  const style = {
16
19
  mapContainer
@@ -22,6 +25,7 @@ const GoogleMapReact = forwardRef((props, forwardedRef) => {
22
25
  className,
23
26
  skin,
24
27
  customClassNames = [],
28
+ a11y,
25
29
  translations,
26
30
  lang,
27
31
  onMouseEnter,
@@ -30,6 +34,12 @@ const GoogleMapReact = forwardRef((props, forwardedRef) => {
30
34
  } = props;
31
35
  const [isMapReady, setIsMapReady] = useState(false);
32
36
  const handleMapTilesLoaded = useCallback(() => setIsMapReady(true), []);
37
+ const { tabIndex, ariaLabel, ...restA11y } = a11y || {};
38
+ const a11yAttributes = {
39
+ ...convertA11yKeysToHtmlFormat(restA11y),
40
+ ...getTabIndexAttribute(a11y),
41
+ "aria-label": ariaLabel || translations.title
42
+ };
33
43
  const domSafeProps = {
34
44
  id,
35
45
  className: clsx(
@@ -50,7 +60,7 @@ const GoogleMapReact = forwardRef((props, forwardedRef) => {
50
60
  "div",
51
61
  {
52
62
  className: style.mapContainer,
53
- "aria-label": translations.title,
63
+ ...a11yAttributes,
54
64
  "data-map-ready": isMapReady,
55
65
  role: "region",
56
66
  children: /* @__PURE__ */ jsx(
@@ -1752,7 +1762,7 @@ const GoogleMapReactInner = forwardRef((props, forwardedRef) => {
1752
1762
  );
1753
1763
  });
1754
1764
  const GoogleMapReactInteractiveMap = forwardRef((props, forwardedRef) => {
1755
- return /* @__PURE__ */ jsx(APIProvider, { apiKey: API_KEY, language: props.language, children: /* @__PURE__ */ jsx(GoogleMapReactInner, { ...props, ref: forwardedRef }) });
1765
+ return /* @__PURE__ */ jsx(APIProvider, { apiKey: API_KEY, language: props.lang, children: /* @__PURE__ */ jsx(GoogleMapReactInner, { ...props, ref: forwardedRef }) });
1756
1766
  });
1757
1767
  const GoogleMapReactInteractiveMap$1 = memo(GoogleMapReactInteractiveMap);
1758
1768
  const DEFAULT_TRANSLATIONS = {};
@@ -1813,8 +1823,18 @@ const defaultManifestProps = {
1813
1823
  mapStyleKey: "CLASSIC"
1814
1824
  };
1815
1825
  const defaultPinIcon = '<!--?xml version="1.0" encoding="UTF-8"?--><svg data-bbox="1.6 0 20.7 34" viewBox="0 0 24 34" height="34" width="24" xmlns="http://www.w3.org/2000/svg" data-type="color"><g><path d="M11.9 33.4c-.2 0-.5 0-.6-.2l-.2-.2c-.5-.4-.6-.9-.9-2.2-1-4.2-2.1-6.7-3.1-9-.7-1.4-1.4-2.6-2.1-3.7-1.7-2.8-2.8-4.7-2.8-8 0-2.3.9-4.7 2.5-6.5 1.9-1.8 4.6-3 7.2-3h.2c2.7 0 5.4 1.3 7.3 3.3 1.6 1.7 2.6 4.2 2.5 6.5 0 3.3-1.1 5.1-2.8 7.9-.6 1.1-1.3 2.3-2.1 3.8-.9 2.2-2 4.7-3 8.9-.3 1.3-.4 2-1.3 2.3h-.3c-.1.1-.2.2-.3.2Z" fill="#ff4646" data-color="1"></path><path d="M11.9 1.1h.2c2.5 0 5.1 1.2 6.9 3.2 1.5 1.6 2.4 3.9 2.4 6.1 0 3.1-1.1 4.9-2.7 7.7-.6 1.1-1.4 2.3-2.2 3.8-1 2.2-2 4.8-3.1 9-.3 1.2-.4 1.7-1 1.9h-.3c0 .1-.1.1-.2.1s-.2 0-.3-.1l-.2-.2c-.4-.3-.4-.6-.7-1.9-1-4.2-2.1-6.8-3.1-9.1-.8-1.5-1.5-2.7-2.1-3.7-1.6-2.8-2.7-4.6-2.7-7.7 0-2.2.9-4.5 2.4-6.1C7 2.2 9.5 1 12 1m-.1-1C9.1 0 6.3 1.4 4.3 3.5c-1.7 1.8-2.7 4.4-2.7 6.8 0 3.4 1.2 5.4 2.9 8.2.6 1 1.3 2.2 2.1 3.7 1 2.2 2 4.7 3 8.9.3 1.3.4 1.9 1.1 2.4l.2.2q.45.3.9.3h.8c1.1-.5 1.4-1.4 1.7-2.7 1-4.1 2.1-6.6 3-8.8.8-1.5 1.5-2.7 2.1-3.8 1.6-2.8 2.8-4.8 2.9-8.2 0-2.4-1-5-2.7-6.8C17.7 1.5 14.8.1 12 0h-.2Z" fill="#ffffff" data-color="2"></path><path fill="#590000" d="M15.2 10.4a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0" data-color="3"></path></g></svg>';
1816
- const directionTitle = "Directions";
1826
+ const noopTranslate = () => () => "";
1827
+ const translateKey = (translate, key, namespace) => getTranslation(
1828
+ translate(namespace),
1829
+ key,
1830
+ TranslationKeys,
1831
+ DefaultTranslations
1832
+ );
1817
1833
  const useGoogleMapProps = (props) => {
1834
+ const translationService = useService(TranslationsDefinition);
1835
+ const translate = (translationService == null ? void 0 : translationService.translate) ?? noopTranslate;
1836
+ const environment = useService(EnvironmentDefinition);
1837
+ const siteLanguage = (environment == null ? void 0 : environment.language) ?? "en";
1818
1838
  const consentPolicyProps = useConsentPolicyProps();
1819
1839
  const cookieConsent = useCookieConsent({
1820
1840
  config: {
@@ -1838,7 +1858,11 @@ const useGoogleMapProps = (props) => {
1838
1858
  return {
1839
1859
  ...location,
1840
1860
  pinIcon: ((_a = props.pinIcon) == null ? void 0 : _a.svgContent) || defaultPinIcon,
1841
- directionTitle
1861
+ directionTitle: translateKey(
1862
+ translate,
1863
+ "directionsLink",
1864
+ TRANSLATIONS_NAMESPACES.googleMaps
1865
+ )
1842
1866
  };
1843
1867
  });
1844
1868
  return {
@@ -1862,7 +1886,8 @@ const useGoogleMapProps = (props) => {
1862
1886
  props.zoom,
1863
1887
  props.pinIcon,
1864
1888
  props.mapStyleKey,
1865
- props.defaultLocation
1889
+ props.defaultLocation,
1890
+ translate
1866
1891
  ]);
1867
1892
  const componentProps = useMemo(() => {
1868
1893
  return {
@@ -1870,13 +1895,21 @@ const useGoogleMapProps = (props) => {
1870
1895
  id: props.id,
1871
1896
  className: `${props.className || ""} google-map`,
1872
1897
  customClassNames: [],
1898
+ a11y: props.a11y,
1873
1899
  translations: {
1874
- title: "Google Map",
1875
- allyTargetBlankDescription: "Opens in a new tab",
1900
+ title: translateKey(
1901
+ translate,
1902
+ "mapAriaLabel",
1903
+ TRANSLATIONS_NAMESPACES.componentLabel
1904
+ ),
1905
+ allyTargetBlankDescription: translateKey(
1906
+ translate,
1907
+ "linkOpensNewTab",
1908
+ TRANSLATIONS_NAMESPACES.googleMaps
1909
+ ),
1876
1910
  ...cookieConsent.translations
1877
1911
  },
1878
- language: "en",
1879
- lang: "en",
1912
+ lang: siteLanguage,
1880
1913
  onMouseEnter: props.onMouseIn,
1881
1914
  onMouseLeave: props.onMouseOut,
1882
1915
  isConsentPolicyActive: cookieConsent.isConsentPolicyActive,
@@ -1889,8 +1922,11 @@ const useGoogleMapProps = (props) => {
1889
1922
  }, [
1890
1923
  props.id,
1891
1924
  props.className,
1925
+ props.a11y,
1892
1926
  props.onMouseIn,
1893
1927
  props.onMouseOut,
1928
+ translate,
1929
+ siteLanguage,
1894
1930
  cookieConsent.hasRequiredConsent,
1895
1931
  cookieConsent.isConsentPolicyActive,
1896
1932
  cookieConsent.consentPolicy,
@@ -17,9 +17,9 @@ declare const GoogleMapReact: React.ForwardRefExoticComponent<{
17
17
  className?: string;
18
18
  skin?: import('../GoogleMap.types').GoogleMapSkin;
19
19
  customClassNames?: Array<string>;
20
+ a11y?: import('@wix/editor-react-types').A11y;
20
21
  translations: import('../GoogleMap.types').GoogleMapTranslations;
21
22
  lang?: string;
22
- language?: string;
23
23
  onMouseEnter?: React.MouseEventHandler<HTMLDivElement>;
24
24
  onMouseLeave?: React.MouseEventHandler<HTMLDivElement>;
25
25
  mapData: import('../GoogleMap.types').GoogleMapMapData;
@@ -17,9 +17,9 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
17
17
  className?: string;
18
18
  skin?: import('../GoogleMap.types').GoogleMapSkin;
19
19
  customClassNames?: Array<string>;
20
+ a11y?: import('@wix/editor-react-types').A11y;
20
21
  translations: import('../GoogleMap.types').GoogleMapTranslations;
21
22
  lang?: string;
22
- language?: string;
23
23
  onMouseEnter?: React.MouseEventHandler<HTMLDivElement>;
24
24
  onMouseLeave?: React.MouseEventHandler<HTMLDivElement>;
25
25
  mapData: import('../GoogleMap.types').GoogleMapMapData;
@@ -57,6 +57,21 @@ export declare const DEFAULT_LOCATION: {
57
57
  longitude: number;
58
58
  title: string;
59
59
  };
60
+ export declare const TRANSLATIONS_NAMESPACES: {
61
+ readonly componentLabel: "component_label";
62
+ readonly googleMaps: "GoogleMaps";
63
+ };
64
+ export declare const TranslationKeys: {
65
+ readonly mapAriaLabel: "COMPONENT_LABEL_googleMapsTitle";
66
+ readonly linkOpensNewTab: "googleMaps_ariaLabel_linkOpensNewTab";
67
+ readonly directionsLink: "GoogleMaps_Directions_Link";
68
+ };
69
+ export declare const DefaultTranslations: {
70
+ readonly mapAriaLabel: "Google Maps";
71
+ readonly linkOpensNewTab: "Opens in a new tab";
72
+ readonly directionsLink: "Directions";
73
+ };
74
+ export type TranslationKey = keyof typeof TranslationKeys;
60
75
  export declare const COMPONENT_NAME_KEY = "CookieConsent_Dataset_Component_GoogleMap";
61
76
  export declare const COMPONENT_NAME_DEFAULT = "Google Maps";
62
77
  export declare const COMPANY_NAME_KEY = "CookieConsent_Dataset_Company_Google";
@@ -1,3 +1,4 @@
1
+ import { A11y } from '@wix/editor-react-types';
1
2
  import { GoogleMapSettingsProps, GoogleMapMapData, GoogleMapWithConsentProps } from '../GoogleMap.types';
2
3
  type GoogleMapPropsWithConsent = GoogleMapWithConsentProps & {
3
4
  hasRequiredConsent?: boolean;
@@ -6,6 +7,7 @@ type GoogleMapPropsWithConsent = GoogleMapWithConsentProps & {
6
7
  declare const useGoogleMapProps: (props: GoogleMapSettingsProps & {
7
8
  id: string;
8
9
  className?: string;
10
+ a11y?: A11y;
9
11
  }) => {
10
12
  componentProps: Omit<GoogleMapPropsWithConsent, "mapData">;
11
13
  mapData: GoogleMapMapData;
@@ -1,5 +1,5 @@
1
1
  import { b as DISPLAY_GROUPS, D as DATA, M as MEDIA, a as ACTIONS, I as INTERACTIONS, A as Archetype, L as LAYOUT } from "../chunks/chunk-V7QOLP3D.js";
2
- import { h as DisplayNames, i as MAP_STYLE_KEYS, j as defaultValues, a as MAX_ZOOM, M as MIN_ZOOM } from "../chunks/consts.js";
2
+ import { k as DisplayNames, l as MAP_STYLE_KEYS, m as defaultValues, a as MAX_ZOOM, M as MIN_ZOOM } from "../chunks/consts.js";
3
3
  import { c as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
4
4
  const manifest = {
5
5
  id: "bf8a38af-5784-47d5-92d3-3627a6a60bc6",
@@ -8,7 +8,7 @@ import { e as getTabIndexAttribute } from "../chunks/a11y.js";
8
8
  import { useService } from "@wix/services-manager-react";
9
9
  import { d as defineStaticService } from "../chunks/staticService.js";
10
10
  import { E as EnvironmentDefinition } from "../chunks/index2.js";
11
- import { T as TranslationsDefinition } from "../chunks/index6.js";
11
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
12
12
  import { A as ARIA_LABEL_NAMESPACE } from "../chunks/constants32.js";
13
13
  const isBrowser = () => typeof window !== "undefined";
14
14
  function useIFrame({
@@ -1,8 +1,8 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { c as clsx } from "../chunks/clsx.js";
3
3
  import { useService } from "@wix/services-manager-react";
4
- import { T as TranslationsDefinition } from "../chunks/index6.js";
5
- import { d as defineService } from "../chunks/index8.js";
4
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
5
+ import { d as defineService } from "../chunks/index7.js";
6
6
  import { T as TranslationKeys, D as DefaultTranslations, a as TRANSLATIONS_NAMESPACE } from "../chunks/constants31.js";
7
7
  const RendererConfigurationDefinition = defineService("@wix/viewer-service-renderer-configuration");
8
8
  const hipaaIcon = "hipaaIcon__VA3L3";
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { c as cn } from "../chunks/index9.js";
2
+ import { c as cn } from "../chunks/index8.js";
3
3
  import { c as clsx } from "../chunks/clsx.js";
4
4
  import { a as getDataAttributes } from "../chunks/dataUtils.js";
5
5
  import { R as ResponsiveContainer } from "../chunks/ResponsiveContainer.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { c as cn } from "../chunks/index9.js";
2
+ import { c as cn } from "../chunks/index8.js";
3
3
  import * as React from "react";
4
4
  import { R as ResponsiveBox$1 } from "../chunks/ResponsiveBox.js";
5
5
  import { R as ResponsiveContainer } from "../chunks/ResponsiveContainer.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { c as cn } from "../chunks/index9.js";
2
+ import { c as cn } from "../chunks/index8.js";
3
3
  import { a as getDataAttributes } from "../chunks/dataUtils.js";
4
4
  import { h as getAriaAttributes } from "../chunks/a11y.js";
5
5
  import { c as clsx } from "../chunks/clsx.js";
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useMemo } from "react";
3
3
  import { useService } from "@wix/services-manager-react";
4
- import { T as TranslationsDefinition } from "../chunks/index6.js";
4
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
5
5
  import { a as getDataAttributes } from "../chunks/dataUtils.js";
6
6
  import { p as parseSvg } from "../chunks/parseSvg.js";
7
7
  import { c as clsx } from "../chunks/clsx.js";
@@ -4,7 +4,7 @@ var __publicField = (obj, key2, value2) => __defNormalProp(obj, typeof key2 !==
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { c as clsx } from "../chunks/clsx.js";
6
6
  import { useService } from "@wix/services-manager-react";
7
- import { T as TranslationsDefinition } from "../chunks/index6.js";
7
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
8
8
  import { d as directionStyles } from "../chunks/direction.module.js";
9
9
  import { g as getTranslation } from "../chunks/getTranslation.js";
10
10
  import { B as Button } from "../chunks/Button.js";
@@ -1,9 +1,9 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { c as clsx } from "../chunks/clsx.js";
3
3
  import { useService } from "@wix/services-manager-react";
4
- import { U as UrlDefinition } from "../chunks/index12.js";
5
- import { d as defineService } from "../chunks/index8.js";
6
- import { T as TranslationsDefinition } from "../chunks/index6.js";
4
+ import { U as UrlDefinition } from "../chunks/index10.js";
5
+ import { d as defineService } from "../chunks/index7.js";
6
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
7
7
  import { M as MenuAnimationName, d as defaultTranslations, a as MenuOrientation, A as AnimationPhase, V as VerticalDropdownDisplay, D as DropdownAnimationName, H as HamburgerMenuAnimationName, b as MenuParts, s as selectors, u as useAnimationState, c as ARIA_LABEL_NAMESPACE, t as translationsKeys } from "../chunks/constants27.js";
8
8
  import React__default, { createContext, useContext, useRef, useCallback, useMemo, useState, useEffect, useLayoutEffect } from "react";
9
9
  import { p as presetWrapperStyles } from "../chunks/presetWrapper.module.js";
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { useState } from "react";
3
3
  import { c as clsx } from "../chunks/clsx.js";
4
- import { a as Fieldset, T as Tooltip, R as RadioGroup_RadioGroup_RadioGroup, b as Radio, c as InfoCircle_default } from "../chunks/index11.js";
4
+ import { a as Fieldset, T as Tooltip, R as RadioGroup_RadioGroup_RadioGroup, b as Radio, c as InfoCircle_default } from "../chunks/index9.js";
5
5
  import { useService } from "@wix/services-manager-react";
6
6
  import { E as EnvironmentDefinition } from "../chunks/index2.js";
7
7
  import { f as formatClassNames } from "../chunks/classNames.js";
@@ -1,8 +1,8 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import React__default, { useState, useEffect, useRef, useMemo, createElement } from "react";
3
3
  import { c as clsx } from "../chunks/clsx.js";
4
- import { T as TranslationsDefinition } from "../chunks/index6.js";
5
- import { U as UrlDefinition } from "../chunks/index12.js";
4
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
5
+ import { U as UrlDefinition } from "../chunks/index10.js";
6
6
  import { useService } from "@wix/services-manager-react";
7
7
  import { p as presetWrapperStyles } from "../chunks/presetWrapper.module.js";
8
8
  import { d as directionStyles } from "../chunks/direction.module.js";
@@ -7,7 +7,7 @@ import { p as presetWrapperStyles } from "../chunks/presetWrapper.module.js";
7
7
  import { d as directionStyles } from "../chunks/direction.module.js";
8
8
  import { useService } from "@wix/services-manager-react";
9
9
  import { E as EnvironmentDefinition } from "../chunks/index2.js";
10
- import { T as TranslationsDefinition } from "../chunks/index6.js";
10
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
11
11
  import { g as getTranslation } from "../chunks/getTranslation.js";
12
12
  const validateActiveSlide = (activeSlide, slidesLength) => {
13
13
  if (activeSlide === void 0) {
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { useState } from "react";
3
3
  import { c as clsx } from "../chunks/clsx.js";
4
- import { F as Field, T as Tooltip, I as Input_Input_Input } from "../chunks/index11.js";
4
+ import { F as Field, T as Tooltip, I as Input_Input_Input } from "../chunks/index9.js";
5
5
  import { useService } from "@wix/services-manager-react";
6
6
  import { E as EnvironmentDefinition } from "../chunks/index2.js";
7
7
  import { f as formatClassNames } from "../chunks/classNames.js";
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { T as TextEffectsShared } from "../chunks/TextEffectsShared.js";
3
3
  import { T as TestIds } from "../chunks/constants17.js";
4
4
  import { u as usePatterns, P as Patterns } from "../chunks/Patterns.js";
5
- import { c as cn } from "../chunks/index9.js";
5
+ import { c as cn } from "../chunks/index8.js";
6
6
  const container = "container__kUr-I";
7
7
  const block = "block__EMDF3";
8
8
  const styles = {
@@ -3,7 +3,7 @@ import { T as TextEffectsShared } from "../chunks/TextEffectsShared.js";
3
3
  import { T as TestIds } from "../chunks/constants16.js";
4
4
  import { c as clsx } from "../chunks/clsx.js";
5
5
  import { u as usePatterns, P as Patterns } from "../chunks/Patterns.js";
6
- import { c as cn } from "../chunks/index9.js";
6
+ import { c as cn } from "../chunks/index8.js";
7
7
  const container = "container__s2rZR";
8
8
  const text = "text__rwjDQ";
9
9
  const block = "block__Aq5E2";
@@ -4,7 +4,7 @@ import { b as blurConfig, T as TestIds } from "../chunks/constants15.js";
4
4
  import { c as createSvgManager, r as range, u as useUniqueSvg } from "../chunks/useUniqueSvg.js";
5
5
  import { c as clsx } from "../chunks/clsx.js";
6
6
  import { u as usePatterns, P as Patterns } from "../chunks/Patterns.js";
7
- import { c as cn } from "../chunks/index9.js";
7
+ import { c as cn } from "../chunks/index8.js";
8
8
  const root = "root__8KuQx";
9
9
  const container = "container__GR3va";
10
10
  const text = "text__0R7qz";
@@ -3,7 +3,7 @@ import { T as TextEffectsShared } from "../chunks/TextEffectsShared.js";
3
3
  import { T as TestIds } from "../chunks/constants14.js";
4
4
  import { c as clsx } from "../chunks/clsx.js";
5
5
  import { u as usePatterns, P as Patterns } from "../chunks/Patterns.js";
6
- import { c as cn } from "../chunks/index9.js";
6
+ import { c as cn } from "../chunks/index8.js";
7
7
  const container = "container__dZGrq";
8
8
  const text = "text__9Z9q2";
9
9
  const block = "block__-p5LG";
@@ -3,7 +3,7 @@ import { T as TextEffectsShared } from "../chunks/TextEffectsShared.js";
3
3
  import { T as TestIds } from "../chunks/constants13.js";
4
4
  import { c as clsx } from "../chunks/clsx.js";
5
5
  import { u as usePatterns, P as Patterns } from "../chunks/Patterns.js";
6
- import { c as cn } from "../chunks/index9.js";
6
+ import { c as cn } from "../chunks/index8.js";
7
7
  const container = "container__XB6yU";
8
8
  const text = "text__ptbeV";
9
9
  const block = "block__cm29d";
@@ -3,7 +3,7 @@ import { T as TextEffectsShared } from "../chunks/TextEffectsShared.js";
3
3
  import { T as TestIds } from "../chunks/constants12.js";
4
4
  import { c as clsx } from "../chunks/clsx.js";
5
5
  import { u as usePatterns, P as Patterns } from "../chunks/Patterns.js";
6
- import { c as cn } from "../chunks/index9.js";
6
+ import { c as cn } from "../chunks/index8.js";
7
7
  const container = "container__ejDm-";
8
8
  const text = "text__-Pijk";
9
9
  const block = "block__IP1-y";
@@ -3,7 +3,7 @@ import { T as TextEffectsShared } from "../chunks/TextEffectsShared.js";
3
3
  import { T as TestIds } from "../chunks/constants11.js";
4
4
  import { c as clsx } from "../chunks/clsx.js";
5
5
  import { u as usePatterns, P as Patterns } from "../chunks/Patterns.js";
6
- import { c as cn } from "../chunks/index9.js";
6
+ import { c as cn } from "../chunks/index8.js";
7
7
  const block = "block__SOi-3";
8
8
  const text = "text__yytMu";
9
9
  const styles = {
@@ -3,7 +3,7 @@ import { T as TextEffectsShared } from "../chunks/TextEffectsShared.js";
3
3
  import { n as noiseIntensityConfig, T as TestIds } from "../chunks/constants10.js";
4
4
  import { c as createSvgManager, r as range, u as useUniqueSvg } from "../chunks/useUniqueSvg.js";
5
5
  import { u as usePatterns, P as Patterns } from "../chunks/Patterns.js";
6
- import { c as cn } from "../chunks/index9.js";
6
+ import { c as cn } from "../chunks/index8.js";
7
7
  const container = "container__Bn5tU";
8
8
  const styles = {
9
9
  container
@@ -5,7 +5,7 @@ import { b as blendModes } from "../chunks/constants9.js";
5
5
  import { r as range, u as useUniqueSvg, c as createSvgManager } from "../chunks/useUniqueSvg.js";
6
6
  import { c as clsx } from "../chunks/clsx.js";
7
7
  import { u as usePatterns, P as Patterns } from "../chunks/Patterns.js";
8
- import { c as cn } from "../chunks/index9.js";
8
+ import { c as cn } from "../chunks/index8.js";
9
9
  const container = "container__85vF6";
10
10
  const text = "text__ldqqQ";
11
11
  const block = "block__4VcAn";
@@ -4,7 +4,7 @@ import { T as TextEffectsShared } from "../chunks/TextEffectsShared.js";
4
4
  import { T as TestIds } from "../chunks/constants7.js";
5
5
  import { c as clsx } from "../chunks/clsx.js";
6
6
  import { u as usePatterns, P as Patterns } from "../chunks/Patterns.js";
7
- import { c as cn } from "../chunks/index9.js";
7
+ import { c as cn } from "../chunks/index8.js";
8
8
  const wrapper = "wrapper__pObMN";
9
9
  const colorAnimation5 = "colorAnimation5__FQZvI";
10
10
  const changeColors5 = "change-colors-5__CCuro";
@@ -3,7 +3,7 @@ import { T as TextEffectsShared } from "../chunks/TextEffectsShared.js";
3
3
  import { T as TestIds } from "../chunks/constants6.js";
4
4
  import { c as clsx } from "../chunks/clsx.js";
5
5
  import { u as usePatterns, P as Patterns } from "../chunks/Patterns.js";
6
- import { c as cn } from "../chunks/index9.js";
6
+ import { c as cn } from "../chunks/index8.js";
7
7
  const container = "container__TF63u";
8
8
  const unit = "unit__7VYSr";
9
9
  const text = "text__Z9BAg";
@@ -3,7 +3,7 @@ import { T as TextEffectsShared } from "../chunks/TextEffectsShared.js";
3
3
  import { T as TestIds } from "../chunks/constants5.js";
4
4
  import { c as clsx } from "../chunks/clsx.js";
5
5
  import { u as usePatterns, P as Patterns } from "../chunks/Patterns.js";
6
- import { c as cn } from "../chunks/index9.js";
6
+ import { c as cn } from "../chunks/index8.js";
7
7
  const wrapper = "wrapper__53uzs";
8
8
  const text = "text__BuBsw";
9
9
  const block = "block__qu3zK";
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { T as TextEffectsShared } from "../chunks/TextEffectsShared.js";
3
3
  import { T as TestIds } from "../chunks/constants4.js";
4
4
  import { c as clsx } from "../chunks/clsx.js";
5
- import { c as cn } from "../chunks/index9.js";
5
+ import { c as cn } from "../chunks/index8.js";
6
6
  const container = "container__tWYVk";
7
7
  const block = "block__wsDEG";
8
8
  const text = "text__Mcnok";
@@ -9,11 +9,11 @@ import { R as RequiredIndicator } from "../chunks/RequiredIndicator.js";
9
9
  import { u as useValidatedField } from "../chunks/useValidatedField.js";
10
10
  import { s as selectors, T as TestIds, V as VALUE_MISSING_MESSAGE } from "../chunks/constants3.js";
11
11
  import { useService } from "@wix/services-manager-react";
12
- import { T as TranslationsDefinition } from "../chunks/index6.js";
12
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
13
13
  import { c as $3e6197669829fe11$export$40bfa8c7b0832715, d as $d1116acdf220c2da$export$4c014de7c8940b4c, e as $3274bf1495747a7b$export$5add1d006293d136, f as $bbaa08b3cd72f041$export$9d1611c77c2fe928, g as $23f2114a1b82827e$export$e58f029f0fbfdb29, h as $01b77f81d0f07f68$export$75b6ee27786ba447, i as $a049562f99e7db0e$export$f9c6924e160136d1, a as $01b77f81d0f07f68$export$b04be29aa201d4f5, b as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../chunks/Group.js";
14
14
  import { d as $fd2148440a13ec26$export$fc1a364ae1f3ff10, e as $191c9b6d48a0a4e2$export$294aa081a6c6f55d, f as $860f7da480e22816$export$b8473d3665f3a75a, g as $d3e0e05bdfcf66bd$export$c24727297075ec6a, h as $3985021b0ad6602f$export$37fb8590cf2c088c, i as $514c0188e459b4c0$export$9afb8bc826b033ea, j as $ee014567cb39d3f0$export$ff05c3ac10437e03, $ as $4e3b923658d69c60$export$8c610744efcf8a1d, a as $4e3b923658d69c60$export$28c660c63b792dea, k as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../chunks/Tooltip.js";
15
15
  import { a as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f, b as $f39a9eba43920ace$export$86427a43e3e48ebb, c as $64fa3d84918910a7$export$29f1550f4b0d4415, d as $64fa3d84918910a7$export$fabf2dc03a41866e, e as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, f as $64fa3d84918910a7$export$ef03459518577ad4, g as $64fa3d84918910a7$export$4d86445c2cf5e3, h as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, i as $64fa3d84918910a7$export$2881499e37b75b9a } from "../chunks/filterDOMProps.js";
16
- import { S as SdkStateDefinition } from "../chunks/index7.js";
16
+ import { S as SdkStateDefinition } from "../chunks/index6.js";
17
17
  import { I as InfoCircleSmall_default } from "../chunks/InfoCircleSmall.js";
18
18
  const $8e6cc465cc68f603$export$698f465ec27e93df = /* @__PURE__ */ createContext(null);
19
19
  function $054f71d2330da2e3$export$712718f7aec83d5(props, ref) {
@@ -1,6 +1,6 @@
1
1
  import { c as composeSDKFactories } from "../chunks/composeSDKFactories.js";
2
2
  import { c as createA11ySdk } from "../chunks/a11ySdk.js";
3
- import { S as SdkStateDefinition } from "../chunks/index7.js";
3
+ import { S as SdkStateDefinition } from "../chunks/index6.js";
4
4
  const createValueSdkFactory = ({ valueProperty }) => (api) => {
5
5
  const { props, getService } = api;
6
6
  const sdkService = getService(SdkStateDefinition);
@@ -7,7 +7,7 @@ import { $ as $4e3b923658d69c60$export$8c610744efcf8a1d, a as $4e3b923658d69c60$
7
7
  import { $ as $2eb8e6d23f3d0cb0$export$a54013f0d02a8f82 } from "../chunks/filterDOMProps.js";
8
8
  import { useService } from "@wix/services-manager-react";
9
9
  import { E as EnvironmentDefinition } from "../chunks/index2.js";
10
- import { T as TranslationsDefinition } from "../chunks/index6.js";
10
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
11
11
  import { a as getDataAttributes } from "../chunks/dataUtils.js";
12
12
  import { g as getTranslation } from "../chunks/getTranslation.js";
13
13
  import { d as directionStyles } from "../chunks/direction.module.js";
@@ -4,7 +4,7 @@ import { F as FilterEffectType, V as VideoStartType, a as VideoEndType, b as Vid
4
4
  import { S as STATIC_MEDIA_URL } from "../chunks/index4.js";
5
5
  import { c as clsx } from "../chunks/clsx.js";
6
6
  import { V as Video } from "../chunks/Video.js";
7
- import { p as parse } from "../chunks/index5.js";
7
+ import parse from "html-react-parser";
8
8
  function getSepia(amount) {
9
9
  return `${0.393 + 0.607 * (1 - amount)} ${0.769 - 0.769 * (1 - amount)} ${0.189 - 0.189 * (1 - amount)} 0 0
10
10
  ${0.349 - 0.349 * (1 - amount)} ${0.686 + 0.314 * (1 - amount)} ${0.168 - 0.168 * (1 - amount)} 0 0
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { forwardRef, useRef, useImperativeHandle, useCallback, useMemo } from "react";
3
3
  import { p as parseSvg } from "./parseSvg.js";
4
4
  import { A as AnimatedSvgIds, a as AnimatedDataAttributes, b as AnimationDirection, T as TestIds, D as DEFAULT_ANIMATION_DURATION } from "./constants21.js";
5
- import { c as cn } from "./index9.js";
5
+ import { c as cn } from "./index8.js";
6
6
  const AnimatedSvg = forwardRef(
7
7
  ({ svgContent, reducedMotion = false, duration }, ref) => {
8
8
  const svgContainerRef = useRef(null);