ublo-lib 1.47.8 → 1.47.9-1.rc0
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/es/common/components/admin-links/admin-links.d.ts +7 -1
- package/es/common/components/admin-links/admin-links.d.ts.map +1 -1
- package/es/common/components/admin-links/admin-links.js +14 -8
- package/es/common/components/cart-dialog/cart-dialog-inner.d.ts +2 -1
- package/es/common/components/cart-dialog/cart-dialog-inner.d.ts.map +1 -1
- package/es/common/components/cart-dialog/cart-dialog-inner.js +13 -2
- package/es/common/components/cart-dialog/cart-dialog.d.ts +2 -1
- package/es/common/components/cart-dialog/cart-dialog.d.ts.map +1 -1
- package/es/common/components/cart-dialog/cart-dialog.js +2 -2
- package/es/common/components/cart-dialog/default.d.ts +2 -1
- package/es/common/components/cart-dialog/default.d.ts.map +1 -1
- package/es/common/components/cart-dialog/default.js +2 -2
- package/es/common/components/cart-dialog/esf-custom.d.ts +2 -1
- package/es/common/components/cart-dialog/esf-custom.d.ts.map +1 -1
- package/es/common/components/cart-dialog/esf-custom.js +2 -2
- package/es/common/components/cart-dialog/esf.d.ts +2 -1
- package/es/common/components/cart-dialog/esf.d.ts.map +1 -1
- package/es/common/components/cart-dialog/esf.js +2 -2
- package/es/common/components/cart-dialog/lodging.d.ts +2 -1
- package/es/common/components/cart-dialog/lodging.d.ts.map +1 -1
- package/es/common/components/cart-dialog/lodging.js +2 -2
- package/es/common/components/cart-dialog/ski-passes.d.ts +2 -1
- package/es/common/components/cart-dialog/ski-passes.d.ts.map +1 -1
- package/es/common/components/cart-dialog/ski-passes.js +2 -2
- package/es/common/components/cart-dialog/ski-rental.d.ts +2 -1
- package/es/common/components/cart-dialog/ski-rental.d.ts.map +1 -1
- package/es/common/components/cart-dialog/ski-rental.js +2 -2
- package/es/common/components/cart-dialog/vakario.d.ts +2 -1
- package/es/common/components/cart-dialog/vakario.d.ts.map +1 -1
- package/es/common/components/cart-dialog/vakario.js +2 -2
- package/es/common/components/cart-preview/cart-pill.d.ts +3 -1
- package/es/common/components/cart-preview/cart-pill.d.ts.map +1 -1
- package/es/common/components/cart-preview/cart-pill.js +5 -3
- package/es/common/components/cart-preview/cart-preview.d.ts +4 -1
- package/es/common/components/cart-preview/cart-preview.d.ts.map +1 -1
- package/es/common/components/cart-preview/cart-preview.js +19 -6
- package/es/common/components/cart-preview/utils.d.ts.map +1 -1
- package/es/common/components/cart-preview/utils.js +8 -1
- package/es/common/components/cookie-consent/cookie-consent.d.ts.map +1 -1
- package/es/common/components/cookie-consent/cookie-consent.js +10 -1
- package/es/common/components/cross-selling-editor/services/utils.d.ts.map +1 -1
- package/es/common/components/cross-selling-editor/services/utils.js +6 -5
- package/es/common/components/custom-contact-form/attachment.js +2 -2
- package/es/common/components/custom-contact-form/custom-contact-form.js +8 -3
- package/es/common/components/date-picker/calendar.d.ts +2 -1
- package/es/common/components/date-picker/calendar.d.ts.map +1 -1
- package/es/common/components/date-picker/calendar.js +2 -4
- package/es/common/components/date-picker/context-lang.d.ts +6 -0
- package/es/common/components/date-picker/context-lang.d.ts.map +1 -0
- package/es/common/components/date-picker/context-lang.js +9 -0
- package/es/common/components/date-picker/date-item.d.ts +2 -1
- package/es/common/components/date-picker/date-item.d.ts.map +1 -1
- package/es/common/components/date-picker/date-item.js +1 -3
- package/es/common/components/date-picker/date-item.module.css +1 -1
- package/es/common/components/date-picker/date-picker.d.ts +2 -1
- package/es/common/components/date-picker/date-picker.d.ts.map +1 -1
- package/es/common/components/date-picker/date-picker.js +6 -3
- package/es/common/components/date-picker/month.d.ts +2 -1
- package/es/common/components/date-picker/month.d.ts.map +1 -1
- package/es/common/components/date-picker/month.js +2 -4
- package/es/common/components/gesco-contact-form/services/messages.js +1 -1
- package/es/common/components/infinite-carousel/index.d.ts +3 -0
- package/es/common/components/infinite-carousel/index.d.ts.map +1 -0
- package/es/common/components/infinite-carousel/index.js +2 -0
- package/es/common/components/infinite-carousel/infinite-carousel.d.ts +20 -0
- package/es/common/components/infinite-carousel/infinite-carousel.d.ts.map +1 -0
- package/es/common/components/infinite-carousel/infinite-carousel.js +196 -0
- package/es/common/components/infinite-carousel/infinite-carousel.module.css +175 -0
- package/es/common/components/information/i18n.json +6 -0
- package/es/common/components/information/information.d.ts.map +1 -1
- package/es/common/components/information/information.js +4 -2
- package/es/common/components/information/information.module.css +1 -2
- package/es/common/components/information/use-season-choice.d.ts +2 -0
- package/es/common/components/information/use-season-choice.d.ts.map +1 -0
- package/es/common/components/information/use-season-choice.js +47 -0
- package/es/common/components/search-bar/search-bar.d.ts +2 -1
- package/es/common/components/search-bar/search-bar.d.ts.map +1 -1
- package/es/common/components/search-bar/search-bar.js +19 -6
- package/es/common/components/season-switch/index.d.ts +6 -0
- package/es/common/components/season-switch/index.d.ts.map +1 -0
- package/es/common/components/season-switch/index.js +42 -0
- package/es/common/components/season-switch/index.module.css +24 -0
- package/es/common/components/season-switch/use-choose-winter.d.ts +2 -0
- package/es/common/components/season-switch/use-choose-winter.d.ts.map +1 -0
- package/es/common/components/season-switch/use-choose-winter.js +47 -0
- package/es/common/components/week-selector/services/weeks.d.ts +1 -1
- package/es/common/components/week-selector/services/weeks.d.ts.map +1 -1
- package/es/common/components/week-selector/services/weeks.js +4 -2
- package/es/common/components/week-selector/week-selector.d.ts +1 -1
- package/es/common/components/week-selector/week-selector.d.ts.map +1 -1
- package/es/common/components/week-selector/week-selector.js +6 -2
- package/es/common/hooks/use-packages.js +1 -1
- package/es/esf/components/espace-prive/index.d.ts +2 -1
- package/es/esf/components/espace-prive/index.d.ts.map +1 -1
- package/es/esf/components/espace-prive/index.js +2 -2
- package/es/esf/components/espace-prive/partenaire.d.ts +2 -1
- package/es/esf/components/espace-prive/partenaire.d.ts.map +1 -1
- package/es/esf/components/espace-prive/partenaire.js +2 -2
- package/es/esf/components/espace-prive/tunnel.d.ts +3 -1
- package/es/esf/components/espace-prive/tunnel.d.ts.map +1 -1
- package/es/esf/components/espace-prive/tunnel.js +2 -2
- package/es/esf/components/instant-search/hooks/use-search.d.ts.map +1 -1
- package/es/esf/components/instant-search/hooks/use-search.js +8 -1
- package/es/esf/components/instant-search/instant-search.d.ts.map +1 -1
- package/es/esf/components/instant-search/instant-search.js +16 -1
- package/es/esf/components/instant-search/links.d.ts +1 -1
- package/es/esf/components/instant-search/links.d.ts.map +1 -1
- package/es/esf/components/instant-search/links.js +1 -1
- package/es/esf/components/instant-search/products.d.ts +1 -1
- package/es/esf/components/instant-search/products.d.ts.map +1 -1
- package/es/esf/components/instant-search/products.js +1 -1
- package/es/esf/components/instant-search/results.d.ts +1 -1
- package/es/esf/components/instant-search/results.d.ts.map +1 -1
- package/es/esf/components/instant-search/results.js +2 -2
- package/es/esf/components/instructors-book/sheet.d.ts.map +1 -1
- package/es/esf/components/instructors-book/sheet.js +16 -1
- package/es/esf/components/levels/levels.d.ts +3 -1
- package/es/esf/components/levels/levels.d.ts.map +1 -1
- package/es/esf/components/levels/levels.js +24 -3
- package/es/esf/components/magic-box/booking.d.ts +3 -1
- package/es/esf/components/magic-box/booking.d.ts.map +1 -1
- package/es/esf/components/magic-box/booking.js +12 -3
- package/es/esf/components/magic-box/filter.d.ts.map +1 -1
- package/es/esf/components/magic-box/filter.js +8 -8
- package/es/esf/components/magic-box/magic-box.d.ts +2 -1
- package/es/esf/components/magic-box/magic-box.d.ts.map +1 -1
- package/es/esf/components/magic-box/magic-box.js +7 -9
- package/es/esf/components/magic-box/services/api.d.ts.map +1 -1
- package/es/esf/components/magic-box/services/api.js +1 -0
- package/es/esf/components/period-picker/period-picker.d.ts.map +1 -1
- package/es/esf/components/period-picker/period-picker.js +1 -1
- package/es/esf/components/period-picker/weeks.module.css +8 -5
- package/es/esf/hooks/use-booking-links.d.ts.map +1 -1
- package/es/esf/hooks/use-booking-links.js +11 -7
- package/es/esf/hooks/use-gesco-referral.d.ts +2 -0
- package/es/esf/hooks/use-gesco-referral.d.ts.map +1 -0
- package/es/esf/hooks/use-gesco-referral.js +18 -0
- package/es/future/components/event-analytics/instant-search.d.ts +10 -0
- package/es/future/components/event-analytics/instant-search.d.ts.map +1 -0
- package/es/future/components/event-analytics/instant-search.js +41 -0
- package/es/future/components/msem/index.d.ts +2 -1
- package/es/future/components/msem/index.d.ts.map +1 -1
- package/es/future/components/msem/index.js +2 -1
- package/es/future/components/msem/tunnel-new.d.ts +32 -0
- package/es/future/components/msem/tunnel-new.d.ts.map +1 -0
- package/es/future/components/msem/tunnel-new.js +27 -0
- package/es/future/components/msem/tunnel.d.ts +1 -1
- package/es/future/components/msem/tunnel.d.ts.map +1 -1
- package/es/future/components/msem/tunnel.js +8 -0
- package/es/future/components/msem/types.d.ts +1 -0
- package/es/future/components/msem/types.d.ts.map +1 -1
- package/es/future/components/msem/utils.d.ts +1 -1
- package/es/future/components/msem/utils.d.ts.map +1 -1
- package/es/future/components/msem-preset-editor/components/widget-list-item.d.ts.map +1 -1
- package/es/future/components/msem-preset-editor/components/widget-list-item.js +1 -2
- package/es/future/components/msem-preset-editor/editors/lodgings.d.ts.map +1 -1
- package/es/future/components/msem-preset-editor/editors/lodgings.js +48 -48
- package/es/future/components/msem-preset-editor/editors/lodgings.module.css +24 -0
- package/es/future/components/msem-preset-editor/editors/ski-passes.d.ts.map +1 -1
- package/es/future/components/msem-preset-editor/editors/ski-passes.js +23 -24
- package/es/future/components/msem-preset-editor/editors/ski-rental.d.ts +1 -1
- package/es/future/components/msem-preset-editor/editors/ski-rental.d.ts.map +1 -1
- package/es/future/components/msem-preset-editor/editors/ski-rental.js +161 -17
- package/es/future/components/msem-preset-editor/msem-preset-editor.d.ts.map +1 -1
- package/es/future/components/msem-preset-editor/msem-preset-editor.js +3 -1
- package/es/future/components/msem-preset-editor/services/api.d.ts +2 -0
- package/es/future/components/msem-preset-editor/services/api.d.ts.map +1 -1
- package/es/future/components/msem-preset-editor/services/api.js +8 -0
- package/es/future/components/plausible/services/callback.d.ts +2 -1
- package/es/future/components/plausible/services/callback.d.ts.map +1 -1
- package/es/future/components/plausible/services/callback.js +102 -6
- package/es/lbm/components/instant-search/faqs.d.ts +1 -1
- package/es/lbm/components/instant-search/faqs.d.ts.map +1 -1
- package/es/lbm/components/instant-search/faqs.js +1 -1
- package/es/lbm/components/instant-search/google-results.d.ts +1 -1
- package/es/lbm/components/instant-search/google-results.d.ts.map +1 -1
- package/es/lbm/components/instant-search/links.d.ts +1 -1
- package/es/lbm/components/instant-search/links.d.ts.map +1 -1
- package/es/lbm/components/instant-search/links.js +1 -1
- package/es/lbm/components/instant-search/products.d.ts +1 -1
- package/es/lbm/components/instant-search/products.d.ts.map +1 -1
- package/es/lbm/components/instant-search/products.js +1 -1
- package/es/lbm/components/instant-search/results.d.ts +1 -1
- package/es/lbm/components/instant-search/results.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/access.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/access.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/activity.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/activity.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/components/card.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/components/card.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/components/card.js +1 -1
- package/es/lbm/components/instant-search/widgets/dawn-nights-openings.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/dawn-nights-openings.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/lift.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/lift.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/lifts.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/lifts.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/msem-widget.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/msem-widget.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/openings.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/openings.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/slope.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/slope.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/slopes.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/slopes.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/snow.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/snow.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/weather.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/weather.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/webcam.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/webcam.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets.d.ts.map +1 -1
- package/es/lbm/components/lumiplan/pois.d.ts.map +1 -1
- package/es/lbm/components/lumiplan/pois.js +6 -2
- package/es/market-place/components/instant-search/google-results.d.ts +1 -1
- package/es/market-place/components/instant-search/google-results.d.ts.map +1 -1
- package/es/market-place/components/instant-search/links.d.ts +1 -1
- package/es/market-place/components/instant-search/links.d.ts.map +1 -1
- package/es/market-place/components/instant-search/links.js +1 -1
- package/es/market-place/components/instant-search/products.d.ts +1 -1
- package/es/market-place/components/instant-search/products.d.ts.map +1 -1
- package/es/market-place/components/instant-search/products.js +1 -1
- package/es/market-place/components/instant-search/results.d.ts +1 -1
- package/es/market-place/components/instant-search/results.d.ts.map +1 -1
- package/package.json +2 -2
- package/es/common/utils/file-manager.d.ts +0 -8
- package/es/common/utils/file-manager.d.ts.map +0 -1
- package/es/common/utils/file-manager.js +0 -12
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
declare global {
|
|
2
|
+
interface Window {
|
|
3
|
+
Cms: any;
|
|
4
|
+
}
|
|
5
|
+
}
|
|
1
6
|
type Link = {
|
|
2
7
|
name: string;
|
|
3
8
|
onClick: string | (() => void);
|
|
@@ -5,7 +10,8 @@ type Link = {
|
|
|
5
10
|
};
|
|
6
11
|
type Props = {
|
|
7
12
|
customLinks?: Record<string, Link>;
|
|
13
|
+
showMseMLink?: boolean;
|
|
8
14
|
};
|
|
9
|
-
declare const AdminLinks: ({ customLinks }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare const AdminLinks: ({ customLinks, showMseMLink }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
10
16
|
export default AdminLinks;
|
|
11
17
|
//# sourceMappingURL=admin-links.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin-links.d.ts","sourceRoot":"","sources":["../../../../src/common/components/admin-links/admin-links.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"admin-links.d.ts","sourceRoot":"","sources":["../../../../src/common/components/admin-links/admin-links.tsx"],"names":[],"mappings":"AAKA,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,GAAG,EAAE,GAAG,CAAC;KACV;CACF;AAED,KAAK,IAAI,GAAG;IACV,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IACnC,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAeF,QAAA,MAAM,UAAU,kCAA0C,KAAK,4CA6G9D,CAAC;AAOF,eAAe,UAAU,CAAC"}
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { useUbloContext } from "ublo/with-ublo";
|
|
4
|
-
import { loadFileManager } from "../../utils/file-manager";
|
|
5
4
|
import styles from "./admin-links.module.css";
|
|
6
5
|
const ToggleIcon = () => {
|
|
7
6
|
return (_jsx("svg", { viewBox: "0 0 24 24", width: "24", height: "24", className: styles.toggleIcon, children: _jsx("path", { d: "M19.44 12.99l-.01.02c.04-.33.08-.67.08-1.01 0-.34-.03-.66-.07-.99l.01.02 2.44-1.92-2.43-4.22-2.87 1.16.01.01c-.52-.4-1.09-.74-1.71-1h.01L14.44 2H9.57l-.44 3.07h.01c-.62.26-1.19.6-1.71 1l.01-.01-2.88-1.17-2.44 4.22 2.44 1.92.01-.02c-.04.33-.07.65-.07.99 0 .34.03.68.08 1.01l-.01-.02-2.1 1.65-.33.26 2.43 4.2 2.88-1.15-.02-.04c.53.41 1.1.75 1.73 1.01h-.03L9.58 22h4.85s.03-.18.06-.42l.38-2.65h-.01c.62-.26 1.2-.6 1.73-1.01l-.02.04 2.88 1.15 2.43-4.2s-.14-.12-.33-.26l-2.11-1.66zM12 15.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5z" }) }));
|
|
8
7
|
};
|
|
9
|
-
const AdminLinks = ({ customLinks }) => {
|
|
8
|
+
const AdminLinks = ({ customLinks, showMseMLink = true }) => {
|
|
10
9
|
const { lang, cmsMode, config } = useUbloContext();
|
|
11
10
|
const [open, setOpen] = React.useState(false);
|
|
12
11
|
const [subsOpen, setSubsOpen] = React.useState(false);
|
|
13
12
|
const hasLangPrefix = config.langPrefix.links;
|
|
14
13
|
const { plausibleLink } = config;
|
|
15
14
|
const links = {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
...(showMseMLink !== false && {
|
|
16
|
+
msemAdmin: {
|
|
17
|
+
name: "Administration MseM",
|
|
18
|
+
onClick: "https://admin.mon-sejour-en-montagne.com/",
|
|
19
|
+
target: "_blank",
|
|
20
|
+
},
|
|
21
|
+
}),
|
|
21
22
|
tutoriels: {
|
|
22
23
|
name: "Tutoriels",
|
|
23
24
|
onClick: "https://www.valraiso.net/toolbox/?auth=my-toolbox&filter=tools",
|
|
@@ -29,7 +30,7 @@ const AdminLinks = ({ customLinks }) => {
|
|
|
29
30
|
},
|
|
30
31
|
fileManager: {
|
|
31
32
|
name: "Photothèque",
|
|
32
|
-
onClick:
|
|
33
|
+
onClick: openFileManagerUploadOnly,
|
|
33
34
|
},
|
|
34
35
|
plausible: {
|
|
35
36
|
name: "Statistiques",
|
|
@@ -73,4 +74,9 @@ const AdminLinks = ({ customLinks }) => {
|
|
|
73
74
|
}) }))] }));
|
|
74
75
|
})] }))] })) }));
|
|
75
76
|
};
|
|
77
|
+
const openFileManagerUploadOnly = async () => {
|
|
78
|
+
if (typeof window === "undefined")
|
|
79
|
+
return;
|
|
80
|
+
window.Cms?.fileManagerUploadOnly();
|
|
81
|
+
};
|
|
76
82
|
export default AdminLinks;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default CartDialogInner;
|
|
2
|
-
declare function CartDialogInner({ kind, title, image, thumbnail, price, label, contentTitle, paxPlan, closeDialog, goToCart, cart, zoneId, zonePath, hideSkiPassesStay, }: {
|
|
2
|
+
declare function CartDialogInner({ kind, title, image, thumbnail, price, label, contentTitle, paxPlan, closeDialog, goToCart, cart, zoneId, zonePath, hideSkiPassesStay, customContinue, }: {
|
|
3
3
|
kind: any;
|
|
4
4
|
title: any;
|
|
5
5
|
image: any;
|
|
@@ -14,5 +14,6 @@ declare function CartDialogInner({ kind, title, image, thumbnail, price, label,
|
|
|
14
14
|
zoneId: any;
|
|
15
15
|
zonePath: any;
|
|
16
16
|
hideSkiPassesStay: any;
|
|
17
|
+
customContinue: any;
|
|
17
18
|
}): import("react/jsx-runtime").JSX.Element;
|
|
18
19
|
//# sourceMappingURL=cart-dialog-inner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart-dialog-inner.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-dialog/cart-dialog-inner.js"],"names":[],"mappings":";AAWA
|
|
1
|
+
{"version":3,"file":"cart-dialog-inner.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-dialog/cart-dialog-inner.js"],"names":[],"mappings":";AAWA;;;;;;;;;;;;;;;;4CAyHC"}
|
|
@@ -9,10 +9,15 @@ import { message } from "./message";
|
|
|
9
9
|
import CrossSellingOffers from "./cross-selling-offers";
|
|
10
10
|
import CheckCircleIcon from "dt-design-system/es/icons/check-circle";
|
|
11
11
|
import styles from "./cart-dialog-inner.module.css";
|
|
12
|
-
const CartDialogInner = ({ kind, title, image, thumbnail, price, label, contentTitle, paxPlan, closeDialog, goToCart, cart, zoneId, zonePath, hideSkiPassesStay, }) => {
|
|
12
|
+
const CartDialogInner = ({ kind, title, image, thumbnail, price, label, contentTitle, paxPlan, closeDialog, goToCart, cart, zoneId, zonePath, hideSkiPassesStay, customContinue, }) => {
|
|
13
13
|
const [stay, setStay] = React.useState({ from: "", to: "" });
|
|
14
14
|
const { lang, config } = useUbloContext();
|
|
15
15
|
const hasLangPrefix = config.langPrefix.links;
|
|
16
|
+
const continueToSiteURL = customContinue?.url
|
|
17
|
+
? customContinue.url
|
|
18
|
+
: hasLangPrefix
|
|
19
|
+
? `/${lang}/`
|
|
20
|
+
: "/";
|
|
16
21
|
React.useEffect(() => {
|
|
17
22
|
const sessionStay = sessionStorage.getItem("stay");
|
|
18
23
|
setStay(JSON.parse(sessionStay));
|
|
@@ -21,6 +26,12 @@ const CartDialogInner = ({ kind, title, image, thumbnail, price, label, contentT
|
|
|
21
26
|
const formattedStayFrom = stay?.from && new Date(stay.from).toLocaleDateString(lang, formatOptions);
|
|
22
27
|
const formattedStayTo = stay?.to && new Date(stay.to).toLocaleDateString(lang, formatOptions);
|
|
23
28
|
const buttonClasses = classNames(styles.contentButton, styles.contentButtonContinue);
|
|
24
|
-
return (_jsxs("div", { className: styles.inner, children: [_jsxs("div", { className: styles.title, children: [_jsx(CheckCircleIcon, { className: styles.titleIcon }), _jsx("div", { className: styles.titleText, children: title })] }), _jsxs("div", { className: styles.content, children: [image && (_jsx("div", { className: styles.contentLeft, children: _jsx(Image, { className: styles.productImage, src: image, width: 320, height: 200, placeholder: thumbnail ? "blur" : undefined, blurDataURL: thumbnail, alt: "" }) })), _jsxs("div", { className: styles.contentRight, children: [_jsxs("div", { className: styles.wrapper, children: [label && (_jsx("div", { className: styles.contentLabel, dangerouslySetInnerHTML: { __html: label } })), price && price > 0 ? (_jsxs("div", { className: styles.price, children: [parseFloat(price).toFixed(2), " \u20AC"] })) : null, price === 0 && (_jsx("div", { className: styles.price, children: message(lang, "free") }))] }), contentTitle && (_jsx("div", { className: styles.contentTitle, children: contentTitle })), !hideSkiPassesStay && formattedStayFrom && formattedStayTo && (_jsxs("div", { className: styles.stay, children: [formattedStayFrom, " \uA537 ", formattedStayTo] })), paxPlan && _jsx("div", { className: styles.paxPlan, children: paxPlan }), _jsxs("div", { className: styles.contentButtons, children: [_jsx(Button, { tag: Link, href:
|
|
29
|
+
return (_jsxs("div", { className: styles.inner, children: [_jsxs("div", { className: styles.title, children: [_jsx(CheckCircleIcon, { className: styles.titleIcon }), _jsx("div", { className: styles.titleText, children: title })] }), _jsxs("div", { className: styles.content, children: [image && (_jsx("div", { className: styles.contentLeft, children: _jsx(Image, { className: styles.productImage, src: image, width: 320, height: 200, placeholder: thumbnail ? "blur" : undefined, blurDataURL: thumbnail, alt: "" }) })), _jsxs("div", { className: styles.contentRight, children: [_jsxs("div", { className: styles.wrapper, children: [label && (_jsx("div", { className: styles.contentLabel, dangerouslySetInnerHTML: { __html: label } })), price && price > 0 ? (_jsxs("div", { className: styles.price, children: [parseFloat(price).toFixed(2), " \u20AC"] })) : null, price === 0 && (_jsx("div", { className: styles.price, children: message(lang, "free") }))] }), contentTitle && (_jsx("div", { className: styles.contentTitle, children: contentTitle })), !hideSkiPassesStay && formattedStayFrom && formattedStayTo && (_jsxs("div", { className: styles.stay, children: [formattedStayFrom, " \uA537 ", formattedStayTo] })), paxPlan && _jsx("div", { className: styles.paxPlan, children: paxPlan }), _jsxs("div", { className: styles.contentButtons, children: [_jsx(Button, { tag: Link, href: continueToSiteURL, className: buttonClasses, variant: "secondary", onClick: (e) => {
|
|
30
|
+
if (customContinue?.onClick) {
|
|
31
|
+
e.preventDefault();
|
|
32
|
+
customContinue.onClick(e);
|
|
33
|
+
}
|
|
34
|
+
closeDialog();
|
|
35
|
+
}, children: customContinue?.label || message(lang, "cart-dialog-continue") }), _jsx(Button, { className: styles.contentButton, onClick: goToCart, children: message(lang, "cart-dialog-go-to-cart") })] })] })] }), kind && (_jsx(CrossSellingOffers, { kind: kind, cart: cart, closeDialog: closeDialog, zoneId: zoneId, zonePath: zonePath }))] }));
|
|
25
36
|
};
|
|
26
37
|
export default CartDialogInner;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default CartDialog;
|
|
2
|
-
declare function CartDialog({ cart, setCart, shortcuts, paxPlan, facet, zoneId, zonePath, hasImage, hideSkiPassesStay, }: {
|
|
2
|
+
declare function CartDialog({ cart, setCart, shortcuts, paxPlan, facet, zoneId, zonePath, hasImage, hideSkiPassesStay, customContinue, }: {
|
|
3
3
|
cart: any;
|
|
4
4
|
setCart: any;
|
|
5
5
|
shortcuts: any;
|
|
@@ -9,5 +9,6 @@ declare function CartDialog({ cart, setCart, shortcuts, paxPlan, facet, zoneId,
|
|
|
9
9
|
zonePath: any;
|
|
10
10
|
hasImage: any;
|
|
11
11
|
hideSkiPassesStay: any;
|
|
12
|
+
customContinue: any;
|
|
12
13
|
}): import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
//# sourceMappingURL=cart-dialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart-dialog.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-dialog/cart-dialog.js"],"names":[],"mappings":";AAuBA
|
|
1
|
+
{"version":3,"file":"cart-dialog.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-dialog/cart-dialog.js"],"names":[],"mappings":";AAuBA;;;;;;;;;;;4CA2EC"}
|
|
@@ -19,7 +19,7 @@ const products = {
|
|
|
19
19
|
VAKARIO: Vakario,
|
|
20
20
|
};
|
|
21
21
|
const STAND_PRODUCTS = ["VAKARIO", "ELLOHA-ACTIVITY"];
|
|
22
|
-
const CartDialog = ({ cart, setCart, shortcuts, paxPlan, facet, zoneId, zonePath, hasImage, hideSkiPassesStay, }) => {
|
|
22
|
+
const CartDialog = ({ cart, setCart, shortcuts, paxPlan, facet, zoneId, zonePath, hasImage, hideSkiPassesStay, customContinue, }) => {
|
|
23
23
|
const { lang, config } = useUbloContext();
|
|
24
24
|
const hasLangPrefix = config.langPrefix.links;
|
|
25
25
|
if (!cart)
|
|
@@ -49,6 +49,6 @@ const CartDialog = ({ cart, setCart, shortcuts, paxPlan, facet, zoneId, zonePath
|
|
|
49
49
|
window.location.href = cartUrl;
|
|
50
50
|
};
|
|
51
51
|
const Component = isSupported ? products[kind] : products.DEFAULT;
|
|
52
|
-
return (_jsx(Dialog, { className: styles.cartDialog, isOpened: Boolean(cart), close: closeDialogAndReload, closeButtonVariant: "link", children: _jsx(Component, { kind: kind, item: newItem, data: data, closeDialog: closeDialog, goToCart: goToCart, cart: cart, paxPlan: paxPlan, facet: facet, zoneId: zoneId, zonePath: zonePath, hasImage: hasImage, hideSkiPassesStay: hideSkiPassesStay }) }));
|
|
52
|
+
return (_jsx(Dialog, { className: styles.cartDialog, isOpened: Boolean(cart), close: closeDialogAndReload, closeButtonVariant: "link", children: _jsx(Component, { kind: kind, item: newItem, data: data, closeDialog: closeDialog, goToCart: goToCart, cart: cart, paxPlan: paxPlan, facet: facet, zoneId: zoneId, zonePath: zonePath, hasImage: hasImage, hideSkiPassesStay: hideSkiPassesStay, customContinue: customContinue }) }));
|
|
53
53
|
};
|
|
54
54
|
export default CartDialog;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default Default;
|
|
2
|
-
declare function Default({ kind, closeDialog, goToCart, cart, facet, zoneId, zonePath, }: {
|
|
2
|
+
declare function Default({ kind, closeDialog, goToCart, cart, facet, zoneId, zonePath, customContinue, }: {
|
|
3
3
|
kind: any;
|
|
4
4
|
closeDialog: any;
|
|
5
5
|
goToCart: any;
|
|
@@ -7,5 +7,6 @@ declare function Default({ kind, closeDialog, goToCart, cart, facet, zoneId, zon
|
|
|
7
7
|
facet: any;
|
|
8
8
|
zoneId: any;
|
|
9
9
|
zonePath: any;
|
|
10
|
+
customContinue: any;
|
|
10
11
|
}): import("react/jsx-runtime").JSX.Element;
|
|
11
12
|
//# sourceMappingURL=default.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-dialog/default.js"],"names":[],"mappings":";AAIA
|
|
1
|
+
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-dialog/default.js"],"names":[],"mappings":";AAIA;;;;;;;;;4CAkCC"}
|
|
@@ -2,11 +2,11 @@ import { jsxs as _jsxs, Fragment as _Fragment, jsx as _jsx } from "react/jsx-run
|
|
|
2
2
|
import { useUbloContext } from "ublo/with-ublo";
|
|
3
3
|
import CartDialogInner from "./cart-dialog-inner";
|
|
4
4
|
import { message } from "./message";
|
|
5
|
-
const Default = ({ kind, closeDialog, goToCart, cart, facet, zoneId, zonePath, }) => {
|
|
5
|
+
const Default = ({ kind, closeDialog, goToCart, cart, facet, zoneId, zonePath, customContinue, }) => {
|
|
6
6
|
const { lang } = useUbloContext();
|
|
7
7
|
const Title = () => {
|
|
8
8
|
return (_jsxs(_Fragment, { children: [_jsxs("b", { children: [message(lang, "cart-dialog-product-title"), " "] }), message(lang, "cart-dialog-title-suffix-singular")] }));
|
|
9
9
|
};
|
|
10
|
-
return (_jsx(CartDialogInner, { kind: kind, title: _jsx(Title, {}), closeDialog: closeDialog, goToCart: goToCart, cart: cart, facet: facet, zoneId: zoneId, zonePath: zonePath }));
|
|
10
|
+
return (_jsx(CartDialogInner, { customContinue: customContinue, kind: kind, title: _jsx(Title, {}), closeDialog: closeDialog, goToCart: goToCart, cart: cart, facet: facet, zoneId: zoneId, zonePath: zonePath }));
|
|
11
11
|
};
|
|
12
12
|
export default Default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default ESFCustom;
|
|
2
|
-
declare function ESFCustom({ item, closeDialog, goToCart, cart, facet, zoneId, zonePath, hasImage, }: {
|
|
2
|
+
declare function ESFCustom({ item, closeDialog, goToCart, cart, facet, zoneId, zonePath, hasImage, customContinue, }: {
|
|
3
3
|
item: any;
|
|
4
4
|
closeDialog: any;
|
|
5
5
|
goToCart: any;
|
|
@@ -8,5 +8,6 @@ declare function ESFCustom({ item, closeDialog, goToCart, cart, facet, zoneId, z
|
|
|
8
8
|
zoneId: any;
|
|
9
9
|
zonePath: any;
|
|
10
10
|
hasImage: any;
|
|
11
|
+
customContinue: any;
|
|
11
12
|
}): import("react/jsx-runtime").JSX.Element;
|
|
12
13
|
//# sourceMappingURL=esf-custom.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esf-custom.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-dialog/esf-custom.js"],"names":[],"mappings":";AAKA
|
|
1
|
+
{"version":3,"file":"esf-custom.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-dialog/esf-custom.js"],"names":[],"mappings":";AAKA;;;;;;;;;;4CA+CC"}
|
|
@@ -3,7 +3,7 @@ import { useUbloContext } from "ublo/with-ublo";
|
|
|
3
3
|
import CartDialogInner from "./cart-dialog-inner";
|
|
4
4
|
import { message } from "./message";
|
|
5
5
|
import imagePaths from "./image-paths.json";
|
|
6
|
-
const ESFCustom = ({ item, closeDialog, goToCart, cart, facet, zoneId, zonePath, hasImage, }) => {
|
|
6
|
+
const ESFCustom = ({ item, closeDialog, goToCart, cart, facet, zoneId, zonePath, hasImage, customContinue, }) => {
|
|
7
7
|
const { lang } = useUbloContext();
|
|
8
8
|
const { activity, level, name, price } = item.product;
|
|
9
9
|
const kind = "ski-lessons";
|
|
@@ -14,6 +14,6 @@ const ESFCustom = ({ item, closeDialog, goToCart, cart, facet, zoneId, zonePath,
|
|
|
14
14
|
const Title = () => {
|
|
15
15
|
return (_jsxs(_Fragment, { children: [_jsxs("b", { children: [message(lang, "cart-dialog-esf-title"), " "] }), message(lang, "cart-dialog-title-suffix-singular")] }));
|
|
16
16
|
};
|
|
17
|
-
return (_jsx(CartDialogInner, { kind: kind, title: _jsx(Title, {}), image: image, price: price, contentTitle: name, label: activity.concat(" - ", level), closeDialog: closeDialog, goToCart: goToCart, cart: cart, facet: facet, zoneId: zoneId, zonePath: zonePath }));
|
|
17
|
+
return (_jsx(CartDialogInner, { customContinue: customContinue, kind: kind, title: _jsx(Title, {}), image: image, price: price, contentTitle: name, label: activity.concat(" - ", level), closeDialog: closeDialog, goToCart: goToCart, cart: cart, facet: facet, zoneId: zoneId, zonePath: zonePath }));
|
|
18
18
|
};
|
|
19
19
|
export default ESFCustom;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default ESF;
|
|
2
|
-
declare function ESF({ item, closeDialog, goToCart, cart, facet, zoneId, zonePath, hasImage, }: {
|
|
2
|
+
declare function ESF({ item, closeDialog, goToCart, cart, facet, zoneId, zonePath, hasImage, customContinue, }: {
|
|
3
3
|
item: any;
|
|
4
4
|
closeDialog: any;
|
|
5
5
|
goToCart: any;
|
|
@@ -8,5 +8,6 @@ declare function ESF({ item, closeDialog, goToCart, cart, facet, zoneId, zonePat
|
|
|
8
8
|
zoneId: any;
|
|
9
9
|
zonePath: any;
|
|
10
10
|
hasImage: any;
|
|
11
|
+
customContinue: any;
|
|
11
12
|
}): import("react/jsx-runtime").JSX.Element;
|
|
12
13
|
//# sourceMappingURL=esf.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esf.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-dialog/esf.js"],"names":[],"mappings":";AAKA
|
|
1
|
+
{"version":3,"file":"esf.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-dialog/esf.js"],"names":[],"mappings":";AAKA;;;;;;;;;;4CAsDC"}
|
|
@@ -3,7 +3,7 @@ import { useUbloContext } from "ublo/with-ublo";
|
|
|
3
3
|
import CartDialogInner from "./cart-dialog-inner";
|
|
4
4
|
import { message } from "./message";
|
|
5
5
|
import imagePaths from "./image-paths.json";
|
|
6
|
-
const ESF = ({ item, closeDialog, goToCart, cart, facet, zoneId, zonePath, hasImage, }) => {
|
|
6
|
+
const ESF = ({ item, closeDialog, goToCart, cart, facet, zoneId, zonePath, hasImage, customContinue, }) => {
|
|
7
7
|
const { lang } = useUbloContext();
|
|
8
8
|
const { activity, level, name, price } = item.product;
|
|
9
9
|
const kind = "ski-lessons";
|
|
@@ -18,6 +18,6 @@ const ESF = ({ item, closeDialog, goToCart, cart, facet, zoneId, zonePath, hasIm
|
|
|
18
18
|
const Title = () => {
|
|
19
19
|
return (_jsxs(_Fragment, { children: [_jsxs("b", { children: [message(lang, "cart-dialog-esf-title"), " "] }), message(lang, "cart-dialog-title-suffix-singular")] }));
|
|
20
20
|
};
|
|
21
|
-
return (_jsx(CartDialogInner, { kind: kind, title: _jsx(Title, {}), image: image, price: price, contentTitle: name, label: label, closeDialog: closeDialog, goToCart: goToCart, cart: cart, facet: facet, zoneId: zoneId, zonePath: zonePath }));
|
|
21
|
+
return (_jsx(CartDialogInner, { customContinue: customContinue, kind: kind, title: _jsx(Title, {}), image: image, price: price, contentTitle: name, label: label, closeDialog: closeDialog, goToCart: goToCart, cart: cart, facet: facet, zoneId: zoneId, zonePath: zonePath }));
|
|
22
22
|
};
|
|
23
23
|
export default ESF;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default Lodging;
|
|
2
|
-
declare function Lodging({ item, data, closeDialog, goToCart, cart, facet, paxPlan, zoneId, zonePath, hasImage, }: {
|
|
2
|
+
declare function Lodging({ item, data, closeDialog, goToCart, cart, facet, paxPlan, zoneId, zonePath, hasImage, customContinue, }: {
|
|
3
3
|
item: any;
|
|
4
4
|
data: any;
|
|
5
5
|
closeDialog: any;
|
|
@@ -10,5 +10,6 @@ declare function Lodging({ item, data, closeDialog, goToCart, cart, facet, paxPl
|
|
|
10
10
|
zoneId: any;
|
|
11
11
|
zonePath: any;
|
|
12
12
|
hasImage: any;
|
|
13
|
+
customContinue: any;
|
|
13
14
|
}): import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
//# sourceMappingURL=lodging.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lodging.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-dialog/lodging.js"],"names":[],"mappings":";AAiCA
|
|
1
|
+
{"version":3,"file":"lodging.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-dialog/lodging.js"],"names":[],"mappings":";AAiCA;;;;;;;;;;;;4CA4DC"}
|
|
@@ -26,7 +26,7 @@ const getPaxPlanLabel = (lang, paxPlan) => {
|
|
|
26
26
|
}
|
|
27
27
|
return "";
|
|
28
28
|
};
|
|
29
|
-
const Lodging = ({ item, data, closeDialog, goToCart, cart, facet, paxPlan, zoneId, zonePath, hasImage, }) => {
|
|
29
|
+
const Lodging = ({ item, data, closeDialog, goToCart, cart, facet, paxPlan, zoneId, zonePath, hasImage, customContinue, }) => {
|
|
30
30
|
const { lang } = useUbloContext();
|
|
31
31
|
const { hotel, room, total } = item.description;
|
|
32
32
|
const { options = [] } = item.conciergeries || {};
|
|
@@ -43,6 +43,6 @@ const Lodging = ({ item, data, closeDialog, goToCart, cart, facet, paxPlan, zone
|
|
|
43
43
|
const Title = () => {
|
|
44
44
|
return (_jsxs(_Fragment, { children: [_jsxs("b", { children: [message(lang, "cart-dialog-lodging-title"), " "] }), message(lang, "cart-dialog-title-suffix-singular")] }));
|
|
45
45
|
};
|
|
46
|
-
return (_jsx(CartDialogInner, { kind: kind, title: _jsx(Title, {}), image: image, thumbnail: thumbnail, price: price, label: room, contentTitle: hotel, paxPlan: formattedPaxPlan, closeDialog: closeDialog, goToCart: goToCart, cart: cart, facet: facet, zoneId: zoneId, zonePath: zonePath }));
|
|
46
|
+
return (_jsx(CartDialogInner, { customContinue: customContinue, kind: kind, title: _jsx(Title, {}), image: image, thumbnail: thumbnail, price: price, label: room, contentTitle: hotel, paxPlan: formattedPaxPlan, closeDialog: closeDialog, goToCart: goToCart, cart: cart, facet: facet, zoneId: zoneId, zonePath: zonePath }));
|
|
47
47
|
};
|
|
48
48
|
export default Lodging;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default SkiPasses;
|
|
2
|
-
declare function SkiPasses({ item, facet, closeDialog, goToCart, cart, zoneId, zonePath, hasImage, hideSkiPassesStay, }: {
|
|
2
|
+
declare function SkiPasses({ item, facet, closeDialog, goToCart, cart, zoneId, zonePath, hasImage, hideSkiPassesStay, customContinue, }: {
|
|
3
3
|
item: any;
|
|
4
4
|
facet: any;
|
|
5
5
|
closeDialog: any;
|
|
@@ -9,5 +9,6 @@ declare function SkiPasses({ item, facet, closeDialog, goToCart, cart, zoneId, z
|
|
|
9
9
|
zonePath: any;
|
|
10
10
|
hasImage: any;
|
|
11
11
|
hideSkiPassesStay: any;
|
|
12
|
+
customContinue: any;
|
|
12
13
|
}): import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
//# sourceMappingURL=ski-passes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ski-passes.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-dialog/ski-passes.js"],"names":[],"mappings":";AAUA
|
|
1
|
+
{"version":3,"file":"ski-passes.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-dialog/ski-passes.js"],"names":[],"mappings":";AAUA;;;;;;;;;;;4CAmDC"}
|
|
@@ -8,7 +8,7 @@ const getGroupLabel = (lang, tickets) => {
|
|
|
8
8
|
return `1 ${message(lang, "person")}`;
|
|
9
9
|
return `${tickets.length} ${message(lang, "persons")}`;
|
|
10
10
|
};
|
|
11
|
-
const SkiPasses = ({ item, facet, closeDialog, goToCart, cart, zoneId, zonePath, hasImage, hideSkiPassesStay, }) => {
|
|
11
|
+
const SkiPasses = ({ item, facet, closeDialog, goToCart, cart, zoneId, zonePath, hasImage, hideSkiPassesStay, customContinue, }) => {
|
|
12
12
|
const { lang } = useUbloContext();
|
|
13
13
|
const { label, price, tickets } = item;
|
|
14
14
|
const kind = "ski-passes";
|
|
@@ -20,6 +20,6 @@ const SkiPasses = ({ item, facet, closeDialog, goToCart, cart, zoneId, zonePath,
|
|
|
20
20
|
const Title = () => {
|
|
21
21
|
return (_jsxs(_Fragment, { children: [_jsxs("b", { children: [message(lang, "cart-dialog-ski-passes-title"), " "] }), message(lang, "cart-dialog-title-suffix-plural")] }));
|
|
22
22
|
};
|
|
23
|
-
return (_jsx(CartDialogInner, { kind: kind, title: _jsx(Title, {}), image: image, price: price, contentTitle: label, paxPlan: formattedPaxPlan, closeDialog: closeDialog, goToCart: goToCart, cart: cart, facet: facet, zoneId: zoneId, zonePath: zonePath, hideSkiPassesStay: hideSkiPassesStay }));
|
|
23
|
+
return (_jsx(CartDialogInner, { customContinue: customContinue, kind: kind, title: _jsx(Title, {}), image: image, price: price, contentTitle: label, paxPlan: formattedPaxPlan, closeDialog: closeDialog, goToCart: goToCart, cart: cart, facet: facet, zoneId: zoneId, zonePath: zonePath, hideSkiPassesStay: hideSkiPassesStay }));
|
|
24
24
|
};
|
|
25
25
|
export default SkiPasses;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default SkiRental;
|
|
2
|
-
declare function SkiRental({ item, facet, closeDialog, goToCart, cart, zoneId, zonePath, hasImage, }: {
|
|
2
|
+
declare function SkiRental({ item, facet, closeDialog, goToCart, cart, zoneId, zonePath, hasImage, customContinue, }: {
|
|
3
3
|
item: any;
|
|
4
4
|
facet: any;
|
|
5
5
|
closeDialog: any;
|
|
@@ -8,5 +8,6 @@ declare function SkiRental({ item, facet, closeDialog, goToCart, cart, zoneId, z
|
|
|
8
8
|
zoneId: any;
|
|
9
9
|
zonePath: any;
|
|
10
10
|
hasImage: any;
|
|
11
|
+
customContinue: any;
|
|
11
12
|
}): import("react/jsx-runtime").JSX.Element;
|
|
12
13
|
//# sourceMappingURL=ski-rental.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ski-rental.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-dialog/ski-rental.js"],"names":[],"mappings":";AAKA
|
|
1
|
+
{"version":3,"file":"ski-rental.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-dialog/ski-rental.js"],"names":[],"mappings":";AAKA;;;;;;;;;;4CAkDC"}
|
|
@@ -3,7 +3,7 @@ import { useUbloContext } from "ublo/with-ublo";
|
|
|
3
3
|
import CartDialogInner from "./cart-dialog-inner";
|
|
4
4
|
import { message } from "./message";
|
|
5
5
|
import imagePaths from "./image-paths.json";
|
|
6
|
-
const SkiRental = ({ item, facet, closeDialog, goToCart, cart, zoneId, zonePath, hasImage, }) => {
|
|
6
|
+
const SkiRental = ({ item, facet, closeDialog, goToCart, cart, zoneId, zonePath, hasImage, customContinue, }) => {
|
|
7
7
|
const { lang } = useUbloContext();
|
|
8
8
|
const { rentDuration, price, products } = item;
|
|
9
9
|
const kind = "ski-rental";
|
|
@@ -15,6 +15,6 @@ const SkiRental = ({ item, facet, closeDialog, goToCart, cart, zoneId, zonePath,
|
|
|
15
15
|
const Title = () => {
|
|
16
16
|
return (_jsxs(_Fragment, { children: [_jsxs("b", { children: [message(lang, "cart-dialog-ski-rental-title"), " "] }), message(lang, "cart-dialog-title-suffix-singular")] }));
|
|
17
17
|
};
|
|
18
|
-
return (_jsx(CartDialogInner, { kind: "ski-rental", title: _jsx(Title, {}), image: image, price: price, contentTitle: rentDuration, label: product?.label, closeDialog: closeDialog, goToCart: goToCart, cart: cart, facet: facet, zoneId: zoneId, zonePath: zonePath }));
|
|
18
|
+
return (_jsx(CartDialogInner, { customContinue: customContinue, kind: "ski-rental", title: _jsx(Title, {}), image: image, price: price, contentTitle: rentDuration, label: product?.label, closeDialog: closeDialog, goToCart: goToCart, cart: cart, facet: facet, zoneId: zoneId, zonePath: zonePath }));
|
|
19
19
|
};
|
|
20
20
|
export default SkiRental;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default Vakario;
|
|
2
|
-
declare function Vakario({ item, closeDialog, goToCart, cart, facet, zoneId, zonePath, hasImage, }: {
|
|
2
|
+
declare function Vakario({ item, closeDialog, goToCart, cart, facet, zoneId, zonePath, hasImage, customContinue, }: {
|
|
3
3
|
item: any;
|
|
4
4
|
closeDialog: any;
|
|
5
5
|
goToCart: any;
|
|
@@ -8,5 +8,6 @@ declare function Vakario({ item, closeDialog, goToCart, cart, facet, zoneId, zon
|
|
|
8
8
|
zoneId: any;
|
|
9
9
|
zonePath: any;
|
|
10
10
|
hasImage: any;
|
|
11
|
+
customContinue: any;
|
|
11
12
|
}): import("react/jsx-runtime").JSX.Element;
|
|
12
13
|
//# sourceMappingURL=vakario.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vakario.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-dialog/vakario.js"],"names":[],"mappings":";AAKA
|
|
1
|
+
{"version":3,"file":"vakario.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-dialog/vakario.js"],"names":[],"mappings":";AAKA;;;;;;;;;;4CA8CC"}
|
|
@@ -3,7 +3,7 @@ import { useUbloContext } from "ublo/with-ublo";
|
|
|
3
3
|
import CartDialogInner from "./cart-dialog-inner";
|
|
4
4
|
import { message } from "./message";
|
|
5
5
|
import imagePaths from "./image-paths.json";
|
|
6
|
-
const Vakario = ({ item, closeDialog, goToCart, cart, facet, zoneId, zonePath, hasImage, }) => {
|
|
6
|
+
const Vakario = ({ item, closeDialog, goToCart, cart, facet, zoneId, zonePath, hasImage, customContinue, }) => {
|
|
7
7
|
const { lang } = useUbloContext();
|
|
8
8
|
const { title, price } = item;
|
|
9
9
|
const kind = "vakario";
|
|
@@ -14,6 +14,6 @@ const Vakario = ({ item, closeDialog, goToCart, cart, facet, zoneId, zonePath, h
|
|
|
14
14
|
const Title = () => {
|
|
15
15
|
return (_jsxs(_Fragment, { children: [_jsxs("b", { children: [message(lang, "cart-dialog-product-title"), " "] }), message(lang, "cart-dialog-title-suffix-singular")] }));
|
|
16
16
|
};
|
|
17
|
-
return (_jsx(CartDialogInner, { kind: kind, title: _jsx(Title, {}), image: image, price: price, contentTitle: title, closeDialog: closeDialog, goToCart: goToCart, cart: cart, facet: facet, zoneId: zoneId, zonePath: zonePath }));
|
|
17
|
+
return (_jsx(CartDialogInner, { customContinue: customContinue, kind: kind, title: _jsx(Title, {}), image: image, price: price, contentTitle: title, closeDialog: closeDialog, goToCart: goToCart, cart: cart, facet: facet, zoneId: zoneId, zonePath: zonePath }));
|
|
18
18
|
};
|
|
19
19
|
export default Vakario;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export default CartPill;
|
|
2
|
-
declare function CartPill({ count }: {
|
|
2
|
+
declare function CartPill({ count, className, forcePillVisibility }: {
|
|
3
3
|
count: any;
|
|
4
|
+
className: any;
|
|
5
|
+
forcePillVisibility: any;
|
|
4
6
|
}): import("react/jsx-runtime").JSX.Element;
|
|
5
7
|
//# sourceMappingURL=cart-pill.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart-pill.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-preview/cart-pill.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"cart-pill.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-preview/cart-pill.js"],"names":[],"mappings":";AAIA;;;;4CAMC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
|
+
import classNames from "classnames";
|
|
3
4
|
import css from "./cart-pill.module.css";
|
|
4
|
-
const CartPill = ({ count }) => {
|
|
5
|
-
if (!count)
|
|
5
|
+
const CartPill = ({ count, className, forcePillVisibility }) => {
|
|
6
|
+
if (!count && !forcePillVisibility)
|
|
6
7
|
return null;
|
|
7
|
-
|
|
8
|
+
const classes = classNames(css.pill, className);
|
|
9
|
+
return _jsx("div", { className: classes, children: count });
|
|
8
10
|
};
|
|
9
11
|
export default CartPill;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export default CartPreview;
|
|
2
|
-
declare function CartPreview({ lang, visible }: {
|
|
2
|
+
declare function CartPreview({ lang, visible, className, pillClassName, forcePillVisibility, }: {
|
|
3
3
|
lang: any;
|
|
4
4
|
visible: any;
|
|
5
|
+
className: any;
|
|
6
|
+
pillClassName: any;
|
|
7
|
+
forcePillVisibility: any;
|
|
5
8
|
}): import("react/jsx-runtime").JSX.Element;
|
|
6
9
|
//# sourceMappingURL=cart-preview.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart-preview.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-preview/cart-preview.js"],"names":[],"mappings":";AAYA
|
|
1
|
+
{"version":3,"file":"cart-preview.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-preview/cart-preview.js"],"names":[],"mappings":";AAYA;;;;;;4CA0GC"}
|
|
@@ -9,11 +9,21 @@ import * as API from "./api";
|
|
|
9
9
|
import * as Utils from "./utils";
|
|
10
10
|
import css from "./cart-preview.module.css";
|
|
11
11
|
const { publicRuntimeConfig } = getConfig();
|
|
12
|
-
const CartPreview = ({ lang, visible }) => {
|
|
12
|
+
const CartPreview = ({ lang, visible, className, pillClassName, forcePillVisibility, }) => {
|
|
13
13
|
const { lang: ubloLang = lang } = useUbloContext();
|
|
14
14
|
const { resort } = publicRuntimeConfig;
|
|
15
15
|
const [count, setCount] = React.useState(0);
|
|
16
16
|
const [cart, setCart] = React.useState();
|
|
17
|
+
const [cartChanges, setCartChanges] = React.useState(0);
|
|
18
|
+
const addCartChange = React.useCallback(() => {
|
|
19
|
+
setCartChanges((prev) => prev + 1);
|
|
20
|
+
}, []);
|
|
21
|
+
React.useEffect(() => {
|
|
22
|
+
window.addEventListener("msem-cart-changed", addCartChange);
|
|
23
|
+
return () => {
|
|
24
|
+
window.removeEventListener("msem-cart-changed", addCartChange);
|
|
25
|
+
};
|
|
26
|
+
}, [addCartChange]);
|
|
17
27
|
React.useEffect(() => {
|
|
18
28
|
const cartId = window.sessionStorage.cartId;
|
|
19
29
|
const getCart = async () => {
|
|
@@ -27,17 +37,20 @@ const CartPreview = ({ lang, visible }) => {
|
|
|
27
37
|
if (resort && cartId) {
|
|
28
38
|
getCart();
|
|
29
39
|
}
|
|
30
|
-
}, [ubloLang, resort]);
|
|
31
|
-
if (!cart)
|
|
40
|
+
}, [ubloLang, resort, cartChanges]);
|
|
41
|
+
if (!cart && !forcePillVisibility)
|
|
32
42
|
return null;
|
|
43
|
+
if (!cart) {
|
|
44
|
+
return (_jsx(CartPill, { className: pillClassName, count: count, forcePillVisibility: forcePillVisibility }));
|
|
45
|
+
}
|
|
33
46
|
const { orders: bareOrders, price } = cart.cart;
|
|
34
47
|
const orders = Utils.getOrders(bareOrders);
|
|
35
48
|
const preventClick = (e) => e.preventDefault();
|
|
36
49
|
const stopPropagation = (e) => e.stopPropagation();
|
|
37
|
-
const classes = classNames(css.preview, {
|
|
50
|
+
const classes = classNames(css.preview, className, {
|
|
38
51
|
[css.previewVisible]: visible,
|
|
39
52
|
});
|
|
40
|
-
return (_jsxs(_Fragment, { children: [_jsx(CartPill, { count: count }), _jsxs("div", { className: classes, onClick: preventClick, children: [orders.map((order, i) => {
|
|
53
|
+
return (_jsxs(_Fragment, { children: [_jsx(CartPill, { className: pillClassName, count: count, forcePillVisibility: forcePillVisibility }), cart && (_jsxs("div", { className: classes, onClick: preventClick, children: [orders.map((order, i) => {
|
|
41
54
|
const { inscriptions = [], merchantName, price, total } = order;
|
|
42
55
|
return (_jsxs("div", { className: css.entry, children: [_jsxs("div", { className: css.entryTitle, children: [merchantName, _jsxs("span", { className: css.entryPrice, children: [total || price, " \u20AC"] })] }), _jsx("div", { className: css.entryRows, children: inscriptions.map((inscription, i) => {
|
|
43
56
|
const { product, activity } = inscription;
|
|
@@ -46,6 +59,6 @@ const CartPreview = ({ lang, visible }) => {
|
|
|
46
59
|
const { name, label } = product || activity;
|
|
47
60
|
return (_jsx("p", { className: css.entryRow, children: name || label }, i));
|
|
48
61
|
}) })] }, i));
|
|
49
|
-
}), _jsxs("div", { className: css.total, children: [_jsxs("div", { className: css.totalTitle, children: ["Total ", _jsxs("em", { children: ["(", count, " produits)"] })] }), _jsxs("div", { className: css.totalAmount, children: [price, " \u20AC"] })] }), _jsx(Button, { className: css.bottomButton, onClick: stopPropagation, children: "Voir le panier" })] })] }));
|
|
62
|
+
}), _jsxs("div", { className: css.total, children: [_jsxs("div", { className: css.totalTitle, children: ["Total ", _jsxs("em", { children: ["(", count, " produits)"] })] }), _jsxs("div", { className: css.totalAmount, children: [price, " \u20AC"] })] }), _jsx(Button, { className: css.bottomButton, onClick: stopPropagation, children: "Voir le panier" })] }))] }));
|
|
50
63
|
};
|
|
51
64
|
export default CartPreview;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-preview/utils.js"],"names":[],"mappings":"AAcO,oEAIN;AAEM,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-preview/utils.js"],"names":[],"mappings":"AAcO,oEAIN;AAEM,kDAaN"}
|
|
@@ -21,5 +21,12 @@ export const countInscriptions = (cart) => {
|
|
|
21
21
|
return 0;
|
|
22
22
|
}
|
|
23
23
|
const { orders } = cart.cart;
|
|
24
|
-
return Object.keys(orders).reduce((acc, key) =>
|
|
24
|
+
return Object.keys(orders).reduce((acc, key) => {
|
|
25
|
+
const order = orders[key];
|
|
26
|
+
const subCount = order.reduce((subAcc, orderItem) => {
|
|
27
|
+
const { inscriptions = [] } = orderItem;
|
|
28
|
+
return subAcc + inscriptions.length;
|
|
29
|
+
}, 0);
|
|
30
|
+
return acc + subCount;
|
|
31
|
+
}, 0);
|
|
25
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cookie-consent.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cookie-consent/cookie-consent.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cookie-consent.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cookie-consent/cookie-consent.js"],"names":[],"mappings":"AAiHO,0CA6BN;;AAhID;;;;sBAiGC;uBA/GsB,OAAO"}
|
|
@@ -28,7 +28,16 @@ const CookieConsent = ({ lang, consent, updateConsent }) => {
|
|
|
28
28
|
if (mounted) {
|
|
29
29
|
const runEffect = async () => {
|
|
30
30
|
if (consent && hotjar) {
|
|
31
|
-
const { id, version = 6 } = hotjar;
|
|
31
|
+
const { id, version = 6, pages = null } = hotjar;
|
|
32
|
+
if (pages && Array.isArray(pages)) {
|
|
33
|
+
if (pages.length === 0) {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
const path = window.location.pathname;
|
|
37
|
+
const match = pages.find((p) => p === path || p + "/" === path);
|
|
38
|
+
if (!match)
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
32
41
|
await Utils.loadHotjar(id, version);
|
|
33
42
|
}
|
|
34
43
|
else {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/common/components/cross-selling-editor/services/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,gBAAgB,EAAE,QAAQ,EAAa,MAAM,UAAU,CAAC;AAE9E,KAAK,IAAI,GAAG;IACV,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B,CAAC;AAEF,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,gBAAgB,CAAC,EAAE,gBAAgB,EAAE,CAAC;CACvC,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;CAOxB,CAAC;AAEF,KAAK,QAAQ,GAAG,MAAM,OAAO,YAAY,CAAC;AAE1C,wBAAgB,eAAe,CAC7B,SAAS,EAAE,WAAW,EACtB,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,MAAM,EACd,iBAAiB,CAAC,EAAE,MAAM;;;;;IA6D3B;AAED,wBAAgB,iBAAiB,CAC/B,GAAG,EAAE,MAAM,GAAG,QAAQ,EACtB,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,MAAM,EACd,iBAAiB,CAAC,EAAE,MAAM,YAoB3B;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/common/components/cross-selling-editor/services/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,gBAAgB,EAAE,QAAQ,EAAa,MAAM,UAAU,CAAC;AAE9E,KAAK,IAAI,GAAG;IACV,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B,CAAC;AAEF,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,gBAAgB,CAAC,EAAE,gBAAgB,EAAE,CAAC;CACvC,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;CAOxB,CAAC;AAEF,KAAK,QAAQ,GAAG,MAAM,OAAO,YAAY,CAAC;AAE1C,wBAAgB,eAAe,CAC7B,SAAS,EAAE,WAAW,EACtB,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,MAAM,EACd,iBAAiB,CAAC,EAAE,MAAM;;;;;IA6D3B;AAED,wBAAgB,iBAAiB,CAC/B,GAAG,EAAE,MAAM,GAAG,QAAQ,EACtB,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,MAAM,EACd,iBAAiB,CAAC,EAAE,MAAM,YAoB3B;AAsJD,eAAO,MAAM,gBAAgB,UAAgD,CAAC;AAE9E,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,WAE/C;AAED,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,WAAW,CAAC,EAAE;QACZ,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,KAAK,EAAE,gBAAgB,CAAC;CACzB,CAAC;AAEF,KAAK,KAAK,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,WAAW,EAAE,CAAA;CAAE,CAAC;AAE/D,KAAK,IAAI,GAAG;IACV,MAAM,CAAC,EAAE,MAAM,CAAC,QAAQ,EAAE,KAAK,EAAE,CAAC,CAAC;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,IAAI,MAY3C;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,IAAI,YAS9C;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,IAAI;;;;;;;;EAMzC;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,IAAI,YAKpD;AAcD,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,IAAI,YAQjD;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,IAAI,YAQjD;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,IAAI,GAAG,gBAAgB,EAAE,CAUnE;AAED,eAAO,MAAM,SAAS,yBAAyB,CAAC;AAEhD,wBAAgB,SAAS,CAAC,SAAS,EAAE,WAAW,OAc/C;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,UAOlE"}
|