@geotrekce/geotrek-rando-widget 0.27.0 → 0.27.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{call-cae9ea9a.js → call-a8e7c8f6.js} +13 -13
- package/dist/cjs/call-a8e7c8f6.js.br +0 -0
- package/dist/cjs/{call-cae9ea9a.js.gz → call-a8e7c8f6.js.gz} +0 -0
- package/dist/cjs/call-a8e7c8f6.js.map +1 -0
- package/dist/cjs/geotrek-rando-widget.cjs.js +1 -1
- package/dist/cjs/geotrek-rando-widget.cjs.js.br +0 -0
- package/dist/cjs/geotrek-rando-widget.cjs.js.gz +0 -0
- package/dist/cjs/grw-common-button_23.cjs.entry.js +5 -5
- package/dist/cjs/grw-common-button_23.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-common-button_23.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-common-button_23.cjs.entry.js.map +1 -1
- package/dist/cjs/grw-details-modal_8.cjs.entry.js +1 -1
- package/dist/cjs/grw-details-modal_8.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-details-modal_8.cjs.entry.js.gz +0 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js.br +0 -0
- package/dist/cjs/loader.cjs.js.gz +0 -0
- package/dist/collection/components/grw-map/grw-map.js +23 -3
- package/dist/collection/components/grw-map/grw-map.js.br +0 -0
- package/dist/collection/components/grw-map/grw-map.js.gz +0 -0
- package/dist/collection/components/grw-map/grw-map.js.map +1 -1
- package/dist/collection/services/outdoor-sites.service.js +1 -1
- package/dist/collection/services/outdoor-sites.service.js.br +0 -0
- package/dist/collection/services/outdoor-sites.service.js.gz +0 -0
- package/dist/collection/services/outdoor-sites.service.js.map +1 -1
- package/dist/collection/services/touristic-contents.service.js +6 -6
- package/dist/collection/services/touristic-contents.service.js.br +0 -0
- package/dist/collection/services/touristic-contents.service.js.gz +0 -0
- package/dist/collection/services/touristic-contents.service.js.map +1 -1
- package/dist/collection/services/touristic-events.service.js +6 -6
- package/dist/collection/services/touristic-events.service.js.br +0 -0
- package/dist/collection/services/touristic-events.service.js.gz +0 -0
- package/dist/collection/services/touristic-events.service.js.map +1 -1
- package/dist/esm/{call-b714d007.js → call-e7ca34e9.js} +13 -13
- package/dist/esm/call-e7ca34e9.js.br +0 -0
- package/dist/esm/{call-b714d007.js.gz → call-e7ca34e9.js.gz} +0 -0
- package/dist/esm/call-e7ca34e9.js.map +1 -0
- package/dist/esm/geotrek-rando-widget.js +1 -1
- package/dist/esm/geotrek-rando-widget.js.br +0 -0
- package/dist/esm/geotrek-rando-widget.js.gz +0 -0
- package/dist/esm/grw-common-button_23.entry.js +5 -5
- package/dist/esm/grw-common-button_23.entry.js.br +0 -0
- package/dist/esm/grw-common-button_23.entry.js.gz +0 -0
- package/dist/esm/grw-common-button_23.entry.js.map +1 -1
- package/dist/esm/grw-details-modal_8.entry.js +1 -1
- package/dist/esm/grw-details-modal_8.entry.js.br +0 -0
- package/dist/esm/grw-details-modal_8.entry.js.gz +0 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/loader.js.br +0 -0
- package/dist/esm/loader.js.gz +0 -0
- package/dist/esm-es5/{call-b714d007.js → call-e7ca34e9.js} +2 -2
- package/dist/esm-es5/call-e7ca34e9.js.br +0 -0
- package/dist/esm-es5/call-e7ca34e9.js.gz +0 -0
- package/dist/esm-es5/call-e7ca34e9.js.map +1 -0
- package/dist/esm-es5/geotrek-rando-widget.js +1 -1
- package/dist/esm-es5/geotrek-rando-widget.js.br +0 -0
- package/dist/esm-es5/geotrek-rando-widget.js.gz +0 -0
- package/dist/esm-es5/geotrek-rando-widget.js.map +1 -1
- package/dist/esm-es5/grw-common-button_23.entry.js +2 -2
- package/dist/esm-es5/grw-common-button_23.entry.js.br +0 -0
- package/dist/esm-es5/grw-common-button_23.entry.js.gz +0 -0
- package/dist/esm-es5/grw-common-button_23.entry.js.map +1 -1
- package/dist/esm-es5/grw-details-modal_8.entry.js +1 -1
- package/dist/esm-es5/grw-details-modal_8.entry.js.br +0 -0
- package/dist/esm-es5/grw-details-modal_8.entry.js.gz +0 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.br +0 -0
- package/dist/esm-es5/loader.js.gz +0 -0
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.br +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.gz +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.map +1 -1
- package/dist/geotrek-rando-widget/{p-c5feb143.entry.js → p-201a8fe8.entry.js} +3 -3
- package/dist/geotrek-rando-widget/p-201a8fe8.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-201a8fe8.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-201a8fe8.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-064ca827.system.js → p-4fcc4a2d.system.js} +2 -2
- package/dist/geotrek-rando-widget/p-4fcc4a2d.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-4fcc4a2d.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-4fcc4a2d.system.js.map +1 -0
- package/dist/geotrek-rando-widget/p-5517eb99.system.js +1 -1
- package/dist/geotrek-rando-widget/p-5517eb99.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-5517eb99.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-5517eb99.system.js.map +1 -1
- package/dist/geotrek-rando-widget/{p-a613a0d6.system.entry.js → p-641e709b.system.entry.js} +3 -3
- package/dist/geotrek-rando-widget/p-641e709b.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-641e709b.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-641e709b.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-dc410266.js → p-806676e7.js} +2 -2
- package/dist/geotrek-rando-widget/p-806676e7.js.br +0 -0
- package/dist/geotrek-rando-widget/p-806676e7.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-806676e7.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-86192f48.system.entry.js → p-c61d0c7b.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-c61d0c7b.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-c61d0c7b.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-7316b83c.entry.js → p-ca852f00.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-ca852f00.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-ca852f00.entry.js.gz +0 -0
- package/dist/types/components.d.ts +2 -0
- package/package.json +1 -1
- package/dist/cjs/call-cae9ea9a.js.br +0 -0
- package/dist/cjs/call-cae9ea9a.js.map +0 -1
- package/dist/esm/call-b714d007.js.br +0 -0
- package/dist/esm/call-b714d007.js.map +0 -1
- package/dist/esm-es5/call-b714d007.js.br +0 -0
- package/dist/esm-es5/call-b714d007.js.gz +0 -0
- package/dist/esm-es5/call-b714d007.js.map +0 -1
- package/dist/geotrek-rando-widget/p-064ca827.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-064ca827.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-064ca827.system.js.map +0 -1
- package/dist/geotrek-rando-widget/p-7316b83c.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-7316b83c.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-86192f48.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-86192f48.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-a613a0d6.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-a613a0d6.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-a613a0d6.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-c5feb143.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-c5feb143.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-c5feb143.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-dc410266.js.br +0 -0
- package/dist/geotrek-rando-widget/p-dc410266.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-dc410266.js.map +0 -1
- /package/dist/geotrek-rando-widget/{p-86192f48.system.entry.js.map → p-c61d0c7b.system.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-7316b83c.entry.js.map → p-ca852f00.entry.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, e as getAssetPath } from './index-83d78b30.js';
|
|
2
|
-
import { C as CloseIcon, l as CallIcon, f as freeMode, M as Mousewheel, D as DownloadIcon, a as getTouristicContentCategory, m as getTouristicContent, c as getTouristicEventType, n as getTouristicEvent } from './call-
|
|
2
|
+
import { C as CloseIcon, l as CallIcon, f as freeMode, M as Mousewheel, D as DownloadIcon, a as getTouristicContentCategory, m as getTouristicContent, c as getTouristicEventType, n as getTouristicEvent } from './call-e7ca34e9.js';
|
|
3
3
|
import { s as state } from './store-04f82731.js';
|
|
4
4
|
import { t as translate } from './i18n-d4785001.js';
|
|
5
5
|
import { a as getDataInStore, g as getAllDataInStore } from './grw-db.service-37105839.js';
|
|
Binary file
|
|
Binary file
|
package/dist/esm/loader.js
CHANGED
|
@@ -5,7 +5,7 @@ import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
7
7
|
await globalScripts();
|
|
8
|
-
return bootstrapLazy(JSON.parse("[[\"grw-app\",[[0,\"grw-app\",{\"appWidth\":[1,\"app-width\"],\"appHeight\":[1,\"app-height\"],\"api\":[1],\"languages\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1],\"routes\":[1],\"practices\":[1],\"labels\":[1],\"nameLayer\":[1,\"name-layer\"],\"urlLayer\":[1,\"url-layer\"],\"attributionLayer\":[1,\"attribution-layer\"],\"weather\":[4],\"emergencyNumber\":[2,\"emergency-number\"],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorPrimary\":[1,\"color-primary\"],\"colorOnPrimary\":[1,\"color-on-primary\"],\"colorSurface\":[1,\"color-surface\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSurfaceVariant\":[1,\"color-surface-variant\"],\"colorOnSurfaceVariant\":[1,\"color-on-surface-variant\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorBackground\":[1,\"color-background\"],\"colorSurfaceContainerHigh\":[1,\"color-surface-container-high\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"fabBackgroundColor\":[1,\"fab-background-color\"],\"fabColor\":[1,\"fab-color\"],\"rounded\":[4],\"colorTrekLine\":[1,\"color-trek-line\"],\"colorSensitiveArea\":[1,\"color-sensitive-area\"],\"colorMarkers\":[8,\"color-markers\"],\"colorClusters\":[8,\"color-clusters\"],\"colorOutdoorArea\":[1,\"color-outdoor-area\"],\"treks\":[4],\"touristicContents\":[4,\"touristic-contents\"],\"touristicEvents\":[4,\"touristic-events\"],\"outdoor\":[4],\"enableOffline\":[4,\"enable-offline\"],\"globalTilesMinZoomOffline\":[2,\"global-tiles-min-zoom-offline\"],\"globalTilesMaxZoomOffline\":[2,\"global-tiles-max-zoom-offline\"],\"tilesMinZoomOffline\":[2,\"tiles-min-zoom-offline\"],\"tilesMaxZoomOffline\":[2,\"tiles-max-zoom-offline\"],\"mainMarkerSize\":[2,\"main-marker-size\"],\"selectedMainMarkerSize\":[2,\"selected-main-marker-size\"],\"mainClusterSize\":[2,\"main-cluster-size\"],\"commonMarkerSize\":[2,\"common-marker-size\"],\"departureArrivalMarkerSize\":[2,\"departure-arrival-marker-size\"],\"pointReferenceMarkerSize\":[2,\"point-reference-marker-size\"],\"largeViewSize\":[2,\"large-view-size\"],\"elevationHeight\":[2,\"elevation-height\"],\"mobileElevationHeight\":[2,\"mobile-elevation-height\"],\"signages\":[4],\"showTrek\":[32],\"showTouristicContent\":[32],\"showTouristicEvent\":[32],\"showOutdoorSite\":[32],\"showOutdoorCourse\":[32],\"showOutdoorSiteMap\":[32],\"showOutdoorCourseMap\":[32],\"showHomeMap\":[32],\"showTrekMap\":[32],\"showTouristicContentMap\":[32],\"showTouristicEventMap\":[32],\"showFilters\":[32],\"isLargeView\":[32],\"currentTrekId\":[32],\"currentTouristicContentId\":[32],\"currentTouristicEventId\":[32],\"currentOutdoorSiteId\":[32],\"currentOutdoorCourseId\":[32]},[[8,\"trekCardPress\",\"onTrekCardPress\"],[8,\"parentTrekPress\",\"onParentTrekPress\"],[8,\"touristicContentCardPress\",\"onTouristicContentCardPress\"],[8,\"touristicEventCardPress\",\"onTouristiceEventCardPress\"],[8,\"outdoorSiteCardPress\",\"onOutdoorSiteCardPress\"],[8,\"outdoorCourseCardPress\",\"onOutdoorCourseCardPress\"],[9,\"resize\",\"onWindowResize\"],[8,\"centerOnMap\",\"onCenterOnMap\"]],{\"isLargeView\":[\"watchPropHandler\"]}]]],[\"grw-toggle-slot-visibility\",[[4,\"grw-toggle-slot-visibility\",{\"largeViewSize\":[2,\"large-view-size\"],\"fontFamily\":[1,\"font-family\"],\"fabBackgroundColor\":[1,\"fab-background-color\"],\"fabColor\":[1,\"fab-color\"],\"slotEndHeight\":[1,\"slot-end-height\"],\"isLargeView\":[32],\"showStartSlot\":[32],\"showEndSlot\":[32]},[[9,\"resize\",\"onWindowResize\"]]]]],[\"grw-outdoor-courses-provider\",[[1,\"grw-outdoor-courses-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1]}]]],[\"grw-extended-fab\",[[1,\"grw-extended-fab\",{\"action\":[16],\"icon\":[16],\"name\":[16],\"display\":[1],\"fontFamily\":[1,\"font-family\"],\"fabBackgroundColor\":[1,\"fab-background-color\"],\"fabColor\":[1,\"fab-color\"]}]]],[\"grw-fab\",[[1,\"grw-fab\",{\"action\":[16],\"icon\":[16],\"showTitle\":[1,\"show-title\"],\"hideTitle\":[1,\"hide-title\"],\"fontFamily\":[1,\"font-family\"],\"fabBackgroundColor\":[1,\"fab-background-color\"],\"fabColor\":[1,\"fab-color\"]}]]],[\"grw-filter\",[[1,\"grw-filter\",{\"fontFamily\":[1,\"font-family\"],\"filterType\":[1,\"filter-type\"],\"filterName\":[1,\"filter-name\"],\"filterPlaceholder\":[1,\"filter-placeholder\"],\"filterNameProperty\":[1,\"filter-name-property\"],\"segment\":[1]},[[8,\"resetFilter\",\"onResetFilter\"]]]]],[\"grw-sensitive-area-detail_2\",[[1,\"grw-sensitive-area-detail\",{\"sensitiveArea\":[16]}],[1,\"grw-trek-card\",{\"trek\":[16],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"isStep\":[4,\"is-step\"],\"grwApp\":[4,\"grw-app\"],\"currentTrek\":[32],\"difficulty\":[32],\"route\":[32],\"practice\":[32],\"themes\":[32],\"departureCity\":[32],\"isAvailableOffline\":[32],\"showDefaultImage\":[32]},[[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"],[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]]]],[\"grw-poi_3\",[[1,\"grw-poi\",{\"poi\":[16],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"displayShortDescription\":[32],\"showPoiDescriptionButton\":[32],\"displayFullscreen\":[32],\"offline\":[32]},[[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"]]],[1,\"grw-touristic-content-card\",{\"fontFamily\":[1,\"font-family\"],\"touristicContent\":[16],\"isLargeView\":[4,\"is-large-view\"],\"isInsideHorizontalList\":[4,\"is-inside-horizontal-list\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"displayFullscreen\":[32],\"offline\":[32]},[[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"],[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]],[1,\"grw-touristic-event-card\",{\"fontFamily\":[1,\"font-family\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"touristicEvent\":[16],\"isLargeView\":[4,\"is-large-view\"],\"isInsideHorizontalList\":[4,\"is-inside-horizontal-list\"],\"displayFullscreen\":[32],\"offline\":[32]},[[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"],[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]]]],[\"grw-details-modal_8\",[[1,\"grw-outdoor-course-card\",{\"outdoorCourse\":[16],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"isInsideHorizontalList\":[4,\"is-inside-horizontal-list\"],\"offline\":[32]},[[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]],[4,\"grw-details-modal\",{\"fontFamily\":[1,\"font-family\"],\"colorBackground\":[1,\"color-background\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"rounded\":[4]}],[1,\"grw-information-desk\",{\"informationDesk\":[16],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"displayShortDescription\":[32],\"showInformationDeskDescriptionButton\":[32],\"offline\":[32],\"showDefaultImage\":[32]}],[1,\"grw-outdoor-site-card\",{\"outdoorSite\":[16],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"isInsideHorizontalList\":[4,\"is-inside-horizontal-list\"],\"offline\":[32]},[[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]],[1,\"grw-touristic-content-detail\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"isLargeView\":[4,\"is-large-view\"],\"grwApp\":[4,\"grw-app\"],\"displayFullscreen\":[32],\"offline\":[32]}],[1,\"grw-touristic-content-provider\",{\"languages\":[1],\"api\":[1],\"touristicContentId\":[2,\"touristic-content-id\"],\"portals\":[1]}],[1,\"grw-touristic-event-detail\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"isLargeView\":[4,\"is-large-view\"],\"grwApp\":[4,\"grw-app\"],\"displayFullscreen\":[32],\"offline\":[32]}],[1,\"grw-touristic-event-provider\",{\"languages\":[1],\"api\":[1],\"touristicEventId\":[2,\"touristic-event-id\"],\"portals\":[1]}]]],[\"grw-common-button_23\",[[1,\"grw-outdoor-site-detail\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"isLargeView\":[4,\"is-large-view\"],\"weather\":[4],\"enableOffline\":[4,\"enable-offline\"],\"defaultBackgroundLayerUrl\":[8,\"default-background-layer-url\"],\"defaultBackgroundLayerAttribution\":[8,\"default-background-layer-attribution\"],\"globalTilesMinZoomOffline\":[2,\"global-tiles-min-zoom-offline\"],\"globalTilesMaxZoomOffline\":[2,\"global-tiles-max-zoom-offline\"],\"tilesMinZoomOffline\":[2,\"tiles-min-zoom-offline\"],\"tilesMaxZoomOffline\":[2,\"tiles-max-zoom-offline\"],\"grwApp\":[4,\"grw-app\"],\"rounded\":[4],\"offline\":[32],\"displayFullscreen\":[32],\"currentOutdoorSite\":[32],\"sources\":[32],\"showTouristicContentDetailsModal\":[32],\"showTouristicEventDetailsModal\":[32],\"modalDetailsId\":[32]},[[8,\"closeDetailsModal\",\"onCloseDetailsModal\"],[8,\"touristicEventCardPress\",\"onTouristiceEventCardPress\"],[8,\"touristicContentCardPress\",\"onTouristicContentCardPress\"],[8,\"downloadPress\",\"onDownloadPress\"],[8,\"deletePress\",\"onDeletePress\"]]],[1,\"grw-trek-detail\",{\"emergencyNumber\":[2,\"emergency-number\"],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"rounded\":[4],\"weather\":[4],\"isLargeView\":[4,\"is-large-view\"],\"defaultBackgroundLayerUrl\":[8,\"default-background-layer-url\"],\"defaultBackgroundLayerAttribution\":[8,\"default-background-layer-attribution\"],\"enableOffline\":[4,\"enable-offline\"],\"globalTilesMinZoomOffline\":[2,\"global-tiles-min-zoom-offline\"],\"globalTilesMaxZoomOffline\":[2,\"global-tiles-max-zoom-offline\"],\"tilesMinZoomOffline\":[2,\"tiles-min-zoom-offline\"],\"tilesMaxZoomOffline\":[2,\"tiles-max-zoom-offline\"],\"grwApp\":[4,\"grw-app\"],\"currentTrek\":[32],\"difficulty\":[32],\"route\":[32],\"practice\":[32],\"themes\":[32],\"labels\":[32],\"sources\":[32],\"accessibilities\":[32],\"accessibilityLevel\":[32],\"displayFullscreen\":[32],\"cities\":[32],\"options\":[32],\"offline\":[32],\"showTouristicContentDetailsModal\":[32],\"showTouristicEventDetailsModal\":[32],\"modalDetailsId\":[32]},[[8,\"closeDetailsModal\",\"onCloseDetailsModal\"],[8,\"touristicEventCardPress\",\"onTouristiceEventCardPress\"],[8,\"touristicContentCardPress\",\"onTouristicContentCardPress\"],[8,\"downloadPress\",\"onDownloadPress\"],[8,\"deletePress\",\"onDeletePress\"]]],[1,\"grw-outdoor-course-detail\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"isLargeView\":[4,\"is-large-view\"],\"weather\":[4],\"grwApp\":[4,\"grw-app\"],\"displayFullscreen\":[32],\"currentOutdoorCourse\":[32],\"offline\":[32]}],[1,\"grw-filters\",{\"handleFilters\":[16],\"fontFamily\":[1,\"font-family\"],\"selectedSegment\":[32]}],[1,\"grw-map\",{\"nameLayer\":[1,\"name-layer\"],\"urlLayer\":[1,\"url-layer\"],\"attributionLayer\":[1,\"attribution-layer\"],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorBackground\":[1,\"color-background\"],\"colorTrekLine\":[1,\"color-trek-line\"],\"colorSensitiveArea\":[1,\"color-sensitive-area\"],\"colorMarkers\":[8,\"color-markers\"],\"colorClusters\":[8,\"color-clusters\"],\"colorOutdoorArea\":[1,\"color-outdoor-area\"],\"tilesMaxZoomOffline\":[2,\"tiles-max-zoom-offline\"],\"grwApp\":[4,\"grw-app\"],\"mainMarkerSize\":[2,\"main-marker-size\"],\"selectedMainMarkerSize\":[2,\"selected-main-marker-size\"],\"mainClusterSize\":[2,\"main-cluster-size\"],\"commonMarkerSize\":[2,\"common-marker-size\"],\"departureArrivalMarkerSize\":[2,\"departure-arrival-marker-size\"],\"pointReferenceMarkerSize\":[2,\"point-reference-marker-size\"],\"elevationHeight\":[2,\"elevation-height\"],\"mobileElevationHeight\":[2,\"mobile-elevation-height\"],\"largeViewSize\":[2,\"large-view-size\"],\"elevationDefaultState\":[1,\"elevation-default-state\"],\"isLargeView\":[4,\"is-large-view\"],\"fabBackgroundColor\":[1,\"fab-background-color\"],\"fabColor\":[1,\"fab-color\"],\"mapIsReady\":[32]},[[8,\"centerOnMap\",\"onCenterOnMap\"],[8,\"stepsIsInViewport\",\"stepsIsInViewport\"],[8,\"descriptionIsInViewport\",\"descriptionIsInViewport\"],[8,\"parkingIsInViewport\",\"parkingIsInViewport\"],[8,\"informationPlacesIsInViewport\",\"onInformationPlacesIsInViewport\"],[8,\"sensitiveAreaIsInViewport\",\"sensitiveAreaIsInViewport\"],[8,\"poiIsInViewport\",\"poiIsInViewport\"],[8,\"touristicContentsIsInViewport\",\"touristicContentsIsInViewport\"],[8,\"touristicEventsIsInViewport\",\"touristicEventsIsInViewport\"],[8,\"sitesIsInViewport\",\"sitesIsInViewport\"],[8,\"coursesIsInViewport\",\"coursesIsInViewport\"],[8,\"cardTrekMouseOver\",\"onCardTrekMouseOver\"],[8,\"cardTrekMouseLeave\",\"onCardTrekMouseLeave\"],[8,\"cardTouristicContentMouseOver\",\"onTouristicContentMouseOver\"],[8,\"cardTouristicContentMouseLeave\",\"onTouristicContentMouseLeave\"],[8,\"cardTouristicEventMouseOver\",\"onTouristicEventMouseOver\"],[8,\"cardTouristicEventMouseLeave\",\"onTouristicEventMouseLeave\"],[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"],[8,\"cardOutdoorSiteMouseOver\",\"onOutdoorSiteMouseOver\"],[8,\"cardOutdoorSiteMouseLeave\",\"onOutdoorSiteMouseLeave\"],[9,\"resize\",\"onWindowResize\"]]],[1,\"grw-outdoor-sites-list\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"outdoorSitesToDisplay\":[32]}],[1,\"grw-touristic-contents-list\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"touristicContentsToDisplay\":[32]}],[1,\"grw-touristic-events-list\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"touristicEventsToDisplay\":[32]}],[1,\"grw-treks-list\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"displayOnlyOfflineTreks\":[4,\"display-only-offline-treks\"],\"isLargeView\":[4,\"is-large-view\"],\"grwApp\":[4,\"grw-app\"],\"treksToDisplay\":[32]}],[1,\"grw-common-button\",{\"action\":[16],\"icon\":[1],\"name\":[1],\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-loader\",{\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"]}],[1,\"grw-offline-confirm-modal\",{\"mode\":[1],\"showOfflineModal\":[32],\"showConfirmModal\":[32],\"showLoaderModal\":[32],\"showSuccessModal\":[32],\"showErrorModal\":[32],\"showConfirmDeleteModal\":[32],\"showDeletingMessage\":[32],\"showDeleteSuccessMessage\":[32]},[[8,\"downloadConfirm\",\"onDownloadConfirm\"],[8,\"downloadedSuccessConfirm\",\"onDownloadedSuccessConfirm\"],[8,\"downloadedErrorConfirm\",\"downloadedErrorConfirm\"],[8,\"deleteConfirm\",\"onDeleteConfirm\"],[8,\"deleteSuccessConfirm\",\"onDeleteSuccessConfirm\"],[8,\"deleteErrorConfirm\",\"deleteErrorConfirm\"]]],[1,\"grw-outdoor-course-provider\",{\"languages\":[1],\"api\":[1],\"outdoorCourseId\":[2,\"outdoor-course-id\"],\"portals\":[1]}],[1,\"grw-outdoor-site-provider\",{\"languages\":[1],\"api\":[1],\"outdoorSiteId\":[2,\"outdoor-site-id\"],\"portals\":[1]}],[1,\"grw-outdoor-sites-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1],\"offline\":[4]}],[1,\"grw-search\",{\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-segmented-segment\",{\"treks\":[4],\"touristicContents\":[4,\"touristic-contents\"],\"touristicEvents\":[4,\"touristic-events\"],\"outdoor\":[4],\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-select-language\"],[1,\"grw-switch\",{\"action\":[16],\"fontFamily\":[1,\"font-family\"],\"checked\":[4]}],[1,\"grw-touristic-contents-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1]}],[1,\"grw-touristic-events-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1]}],[1,\"grw-trek-provider\",{\"languages\":[1],\"api\":[1],\"trekId\":[2,\"trek-id\"],\"portals\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"routes\":[1],\"practices\":[1],\"labels\":[1],\"signages\":[4]}],[1,\"grw-treks-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1],\"routes\":[1],\"practices\":[1],\"labels\":[1],\"offline\":[4]}]]]]"), options);
|
|
8
|
+
return bootstrapLazy(JSON.parse("[[\"grw-app\",[[0,\"grw-app\",{\"appWidth\":[1,\"app-width\"],\"appHeight\":[1,\"app-height\"],\"api\":[1],\"languages\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1],\"routes\":[1],\"practices\":[1],\"labels\":[1],\"nameLayer\":[1,\"name-layer\"],\"urlLayer\":[1,\"url-layer\"],\"attributionLayer\":[1,\"attribution-layer\"],\"weather\":[4],\"emergencyNumber\":[2,\"emergency-number\"],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorPrimary\":[1,\"color-primary\"],\"colorOnPrimary\":[1,\"color-on-primary\"],\"colorSurface\":[1,\"color-surface\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSurfaceVariant\":[1,\"color-surface-variant\"],\"colorOnSurfaceVariant\":[1,\"color-on-surface-variant\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorBackground\":[1,\"color-background\"],\"colorSurfaceContainerHigh\":[1,\"color-surface-container-high\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"fabBackgroundColor\":[1,\"fab-background-color\"],\"fabColor\":[1,\"fab-color\"],\"rounded\":[4],\"colorTrekLine\":[1,\"color-trek-line\"],\"colorSensitiveArea\":[1,\"color-sensitive-area\"],\"colorMarkers\":[8,\"color-markers\"],\"colorClusters\":[8,\"color-clusters\"],\"colorOutdoorArea\":[1,\"color-outdoor-area\"],\"treks\":[4],\"touristicContents\":[4,\"touristic-contents\"],\"touristicEvents\":[4,\"touristic-events\"],\"outdoor\":[4],\"enableOffline\":[4,\"enable-offline\"],\"globalTilesMinZoomOffline\":[2,\"global-tiles-min-zoom-offline\"],\"globalTilesMaxZoomOffline\":[2,\"global-tiles-max-zoom-offline\"],\"tilesMinZoomOffline\":[2,\"tiles-min-zoom-offline\"],\"tilesMaxZoomOffline\":[2,\"tiles-max-zoom-offline\"],\"mainMarkerSize\":[2,\"main-marker-size\"],\"selectedMainMarkerSize\":[2,\"selected-main-marker-size\"],\"mainClusterSize\":[2,\"main-cluster-size\"],\"commonMarkerSize\":[2,\"common-marker-size\"],\"departureArrivalMarkerSize\":[2,\"departure-arrival-marker-size\"],\"pointReferenceMarkerSize\":[2,\"point-reference-marker-size\"],\"largeViewSize\":[2,\"large-view-size\"],\"elevationHeight\":[2,\"elevation-height\"],\"mobileElevationHeight\":[2,\"mobile-elevation-height\"],\"signages\":[4],\"showTrek\":[32],\"showTouristicContent\":[32],\"showTouristicEvent\":[32],\"showOutdoorSite\":[32],\"showOutdoorCourse\":[32],\"showOutdoorSiteMap\":[32],\"showOutdoorCourseMap\":[32],\"showHomeMap\":[32],\"showTrekMap\":[32],\"showTouristicContentMap\":[32],\"showTouristicEventMap\":[32],\"showFilters\":[32],\"isLargeView\":[32],\"currentTrekId\":[32],\"currentTouristicContentId\":[32],\"currentTouristicEventId\":[32],\"currentOutdoorSiteId\":[32],\"currentOutdoorCourseId\":[32]},[[8,\"trekCardPress\",\"onTrekCardPress\"],[8,\"parentTrekPress\",\"onParentTrekPress\"],[8,\"touristicContentCardPress\",\"onTouristicContentCardPress\"],[8,\"touristicEventCardPress\",\"onTouristiceEventCardPress\"],[8,\"outdoorSiteCardPress\",\"onOutdoorSiteCardPress\"],[8,\"outdoorCourseCardPress\",\"onOutdoorCourseCardPress\"],[9,\"resize\",\"onWindowResize\"],[8,\"centerOnMap\",\"onCenterOnMap\"]],{\"isLargeView\":[\"watchPropHandler\"]}]]],[\"grw-toggle-slot-visibility\",[[4,\"grw-toggle-slot-visibility\",{\"largeViewSize\":[2,\"large-view-size\"],\"fontFamily\":[1,\"font-family\"],\"fabBackgroundColor\":[1,\"fab-background-color\"],\"fabColor\":[1,\"fab-color\"],\"slotEndHeight\":[1,\"slot-end-height\"],\"isLargeView\":[32],\"showStartSlot\":[32],\"showEndSlot\":[32]},[[9,\"resize\",\"onWindowResize\"]]]]],[\"grw-outdoor-courses-provider\",[[1,\"grw-outdoor-courses-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1]}]]],[\"grw-extended-fab\",[[1,\"grw-extended-fab\",{\"action\":[16],\"icon\":[16],\"name\":[16],\"display\":[1],\"fontFamily\":[1,\"font-family\"],\"fabBackgroundColor\":[1,\"fab-background-color\"],\"fabColor\":[1,\"fab-color\"]}]]],[\"grw-fab\",[[1,\"grw-fab\",{\"action\":[16],\"icon\":[16],\"showTitle\":[1,\"show-title\"],\"hideTitle\":[1,\"hide-title\"],\"fontFamily\":[1,\"font-family\"],\"fabBackgroundColor\":[1,\"fab-background-color\"],\"fabColor\":[1,\"fab-color\"]}]]],[\"grw-filter\",[[1,\"grw-filter\",{\"fontFamily\":[1,\"font-family\"],\"filterType\":[1,\"filter-type\"],\"filterName\":[1,\"filter-name\"],\"filterPlaceholder\":[1,\"filter-placeholder\"],\"filterNameProperty\":[1,\"filter-name-property\"],\"segment\":[1]},[[8,\"resetFilter\",\"onResetFilter\"]]]]],[\"grw-sensitive-area-detail_2\",[[1,\"grw-sensitive-area-detail\",{\"sensitiveArea\":[16]}],[1,\"grw-trek-card\",{\"trek\":[16],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"isStep\":[4,\"is-step\"],\"grwApp\":[4,\"grw-app\"],\"currentTrek\":[32],\"difficulty\":[32],\"route\":[32],\"practice\":[32],\"themes\":[32],\"departureCity\":[32],\"isAvailableOffline\":[32],\"showDefaultImage\":[32]},[[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"],[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]]]],[\"grw-poi_3\",[[1,\"grw-poi\",{\"poi\":[16],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"displayShortDescription\":[32],\"showPoiDescriptionButton\":[32],\"displayFullscreen\":[32],\"offline\":[32]},[[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"]]],[1,\"grw-touristic-content-card\",{\"fontFamily\":[1,\"font-family\"],\"touristicContent\":[16],\"isLargeView\":[4,\"is-large-view\"],\"isInsideHorizontalList\":[4,\"is-inside-horizontal-list\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"displayFullscreen\":[32],\"offline\":[32]},[[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"],[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]],[1,\"grw-touristic-event-card\",{\"fontFamily\":[1,\"font-family\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"touristicEvent\":[16],\"isLargeView\":[4,\"is-large-view\"],\"isInsideHorizontalList\":[4,\"is-inside-horizontal-list\"],\"displayFullscreen\":[32],\"offline\":[32]},[[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"],[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]]]],[\"grw-details-modal_8\",[[1,\"grw-outdoor-course-card\",{\"outdoorCourse\":[16],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"isInsideHorizontalList\":[4,\"is-inside-horizontal-list\"],\"offline\":[32]},[[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]],[4,\"grw-details-modal\",{\"fontFamily\":[1,\"font-family\"],\"colorBackground\":[1,\"color-background\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"rounded\":[4]}],[1,\"grw-information-desk\",{\"informationDesk\":[16],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"displayShortDescription\":[32],\"showInformationDeskDescriptionButton\":[32],\"offline\":[32],\"showDefaultImage\":[32]}],[1,\"grw-outdoor-site-card\",{\"outdoorSite\":[16],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"isInsideHorizontalList\":[4,\"is-inside-horizontal-list\"],\"offline\":[32]},[[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]],[1,\"grw-touristic-content-detail\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"isLargeView\":[4,\"is-large-view\"],\"grwApp\":[4,\"grw-app\"],\"displayFullscreen\":[32],\"offline\":[32]}],[1,\"grw-touristic-content-provider\",{\"languages\":[1],\"api\":[1],\"touristicContentId\":[2,\"touristic-content-id\"],\"portals\":[1]}],[1,\"grw-touristic-event-detail\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"isLargeView\":[4,\"is-large-view\"],\"grwApp\":[4,\"grw-app\"],\"displayFullscreen\":[32],\"offline\":[32]}],[1,\"grw-touristic-event-provider\",{\"languages\":[1],\"api\":[1],\"touristicEventId\":[2,\"touristic-event-id\"],\"portals\":[1]}]]],[\"grw-common-button_23\",[[1,\"grw-outdoor-site-detail\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"isLargeView\":[4,\"is-large-view\"],\"weather\":[4],\"enableOffline\":[4,\"enable-offline\"],\"defaultBackgroundLayerUrl\":[8,\"default-background-layer-url\"],\"defaultBackgroundLayerAttribution\":[8,\"default-background-layer-attribution\"],\"globalTilesMinZoomOffline\":[2,\"global-tiles-min-zoom-offline\"],\"globalTilesMaxZoomOffline\":[2,\"global-tiles-max-zoom-offline\"],\"tilesMinZoomOffline\":[2,\"tiles-min-zoom-offline\"],\"tilesMaxZoomOffline\":[2,\"tiles-max-zoom-offline\"],\"grwApp\":[4,\"grw-app\"],\"rounded\":[4],\"offline\":[32],\"displayFullscreen\":[32],\"currentOutdoorSite\":[32],\"sources\":[32],\"showTouristicContentDetailsModal\":[32],\"showTouristicEventDetailsModal\":[32],\"modalDetailsId\":[32]},[[8,\"closeDetailsModal\",\"onCloseDetailsModal\"],[8,\"touristicEventCardPress\",\"onTouristiceEventCardPress\"],[8,\"touristicContentCardPress\",\"onTouristicContentCardPress\"],[8,\"downloadPress\",\"onDownloadPress\"],[8,\"deletePress\",\"onDeletePress\"]]],[1,\"grw-trek-detail\",{\"emergencyNumber\":[2,\"emergency-number\"],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"rounded\":[4],\"weather\":[4],\"isLargeView\":[4,\"is-large-view\"],\"defaultBackgroundLayerUrl\":[8,\"default-background-layer-url\"],\"defaultBackgroundLayerAttribution\":[8,\"default-background-layer-attribution\"],\"enableOffline\":[4,\"enable-offline\"],\"globalTilesMinZoomOffline\":[2,\"global-tiles-min-zoom-offline\"],\"globalTilesMaxZoomOffline\":[2,\"global-tiles-max-zoom-offline\"],\"tilesMinZoomOffline\":[2,\"tiles-min-zoom-offline\"],\"tilesMaxZoomOffline\":[2,\"tiles-max-zoom-offline\"],\"grwApp\":[4,\"grw-app\"],\"currentTrek\":[32],\"difficulty\":[32],\"route\":[32],\"practice\":[32],\"themes\":[32],\"labels\":[32],\"sources\":[32],\"accessibilities\":[32],\"accessibilityLevel\":[32],\"displayFullscreen\":[32],\"cities\":[32],\"options\":[32],\"offline\":[32],\"showTouristicContentDetailsModal\":[32],\"showTouristicEventDetailsModal\":[32],\"modalDetailsId\":[32]},[[8,\"closeDetailsModal\",\"onCloseDetailsModal\"],[8,\"touristicEventCardPress\",\"onTouristiceEventCardPress\"],[8,\"touristicContentCardPress\",\"onTouristicContentCardPress\"],[8,\"downloadPress\",\"onDownloadPress\"],[8,\"deletePress\",\"onDeletePress\"]]],[1,\"grw-outdoor-course-detail\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"isLargeView\":[4,\"is-large-view\"],\"weather\":[4],\"grwApp\":[4,\"grw-app\"],\"displayFullscreen\":[32],\"currentOutdoorCourse\":[32],\"offline\":[32]}],[1,\"grw-filters\",{\"handleFilters\":[16],\"fontFamily\":[1,\"font-family\"],\"selectedSegment\":[32]}],[1,\"grw-map\",{\"maxZoom\":[2,\"max-zoom\"],\"nameLayer\":[1,\"name-layer\"],\"urlLayer\":[1,\"url-layer\"],\"attributionLayer\":[1,\"attribution-layer\"],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorBackground\":[1,\"color-background\"],\"colorTrekLine\":[1,\"color-trek-line\"],\"colorSensitiveArea\":[1,\"color-sensitive-area\"],\"colorMarkers\":[8,\"color-markers\"],\"colorClusters\":[8,\"color-clusters\"],\"colorOutdoorArea\":[1,\"color-outdoor-area\"],\"tilesMaxZoomOffline\":[2,\"tiles-max-zoom-offline\"],\"grwApp\":[4,\"grw-app\"],\"mainMarkerSize\":[2,\"main-marker-size\"],\"selectedMainMarkerSize\":[2,\"selected-main-marker-size\"],\"mainClusterSize\":[2,\"main-cluster-size\"],\"commonMarkerSize\":[2,\"common-marker-size\"],\"departureArrivalMarkerSize\":[2,\"departure-arrival-marker-size\"],\"pointReferenceMarkerSize\":[2,\"point-reference-marker-size\"],\"elevationHeight\":[2,\"elevation-height\"],\"mobileElevationHeight\":[2,\"mobile-elevation-height\"],\"largeViewSize\":[2,\"large-view-size\"],\"elevationDefaultState\":[1,\"elevation-default-state\"],\"isLargeView\":[4,\"is-large-view\"],\"fabBackgroundColor\":[1,\"fab-background-color\"],\"fabColor\":[1,\"fab-color\"],\"mapIsReady\":[32]},[[8,\"centerOnMap\",\"onCenterOnMap\"],[8,\"stepsIsInViewport\",\"stepsIsInViewport\"],[8,\"descriptionIsInViewport\",\"descriptionIsInViewport\"],[8,\"parkingIsInViewport\",\"parkingIsInViewport\"],[8,\"informationPlacesIsInViewport\",\"onInformationPlacesIsInViewport\"],[8,\"sensitiveAreaIsInViewport\",\"sensitiveAreaIsInViewport\"],[8,\"poiIsInViewport\",\"poiIsInViewport\"],[8,\"touristicContentsIsInViewport\",\"touristicContentsIsInViewport\"],[8,\"touristicEventsIsInViewport\",\"touristicEventsIsInViewport\"],[8,\"sitesIsInViewport\",\"sitesIsInViewport\"],[8,\"coursesIsInViewport\",\"coursesIsInViewport\"],[8,\"cardTrekMouseOver\",\"onCardTrekMouseOver\"],[8,\"cardTrekMouseLeave\",\"onCardTrekMouseLeave\"],[8,\"cardTouristicContentMouseOver\",\"onTouristicContentMouseOver\"],[8,\"cardTouristicContentMouseLeave\",\"onTouristicContentMouseLeave\"],[8,\"cardTouristicEventMouseOver\",\"onTouristicEventMouseOver\"],[8,\"cardTouristicEventMouseLeave\",\"onTouristicEventMouseLeave\"],[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"],[8,\"cardOutdoorSiteMouseOver\",\"onOutdoorSiteMouseOver\"],[8,\"cardOutdoorSiteMouseLeave\",\"onOutdoorSiteMouseLeave\"],[9,\"resize\",\"onWindowResize\"]]],[1,\"grw-outdoor-sites-list\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"outdoorSitesToDisplay\":[32]}],[1,\"grw-touristic-contents-list\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"touristicContentsToDisplay\":[32]}],[1,\"grw-touristic-events-list\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"touristicEventsToDisplay\":[32]}],[1,\"grw-treks-list\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"displayOnlyOfflineTreks\":[4,\"display-only-offline-treks\"],\"isLargeView\":[4,\"is-large-view\"],\"grwApp\":[4,\"grw-app\"],\"treksToDisplay\":[32]}],[1,\"grw-common-button\",{\"action\":[16],\"icon\":[1],\"name\":[1],\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-loader\",{\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"]}],[1,\"grw-offline-confirm-modal\",{\"mode\":[1],\"showOfflineModal\":[32],\"showConfirmModal\":[32],\"showLoaderModal\":[32],\"showSuccessModal\":[32],\"showErrorModal\":[32],\"showConfirmDeleteModal\":[32],\"showDeletingMessage\":[32],\"showDeleteSuccessMessage\":[32]},[[8,\"downloadConfirm\",\"onDownloadConfirm\"],[8,\"downloadedSuccessConfirm\",\"onDownloadedSuccessConfirm\"],[8,\"downloadedErrorConfirm\",\"downloadedErrorConfirm\"],[8,\"deleteConfirm\",\"onDeleteConfirm\"],[8,\"deleteSuccessConfirm\",\"onDeleteSuccessConfirm\"],[8,\"deleteErrorConfirm\",\"deleteErrorConfirm\"]]],[1,\"grw-outdoor-course-provider\",{\"languages\":[1],\"api\":[1],\"outdoorCourseId\":[2,\"outdoor-course-id\"],\"portals\":[1]}],[1,\"grw-outdoor-site-provider\",{\"languages\":[1],\"api\":[1],\"outdoorSiteId\":[2,\"outdoor-site-id\"],\"portals\":[1]}],[1,\"grw-outdoor-sites-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1],\"offline\":[4]}],[1,\"grw-search\",{\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-segmented-segment\",{\"treks\":[4],\"touristicContents\":[4,\"touristic-contents\"],\"touristicEvents\":[4,\"touristic-events\"],\"outdoor\":[4],\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-select-language\"],[1,\"grw-switch\",{\"action\":[16],\"fontFamily\":[1,\"font-family\"],\"checked\":[4]}],[1,\"grw-touristic-contents-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1]}],[1,\"grw-touristic-events-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1]}],[1,\"grw-trek-provider\",{\"languages\":[1],\"api\":[1],\"trekId\":[2,\"trek-id\"],\"portals\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"routes\":[1],\"practices\":[1],\"labels\":[1],\"signages\":[4]}],[1,\"grw-treks-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1],\"routes\":[1],\"practices\":[1],\"labels\":[1],\"offline\":[4]}]]]]"), options);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export { defineCustomElements };
|
package/dist/esm/loader.js.br
CHANGED
|
Binary file
|
package/dist/esm/loader.js.gz
CHANGED
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as getWindow,n as nextTick,d as now,f as elementTransitionEnd}from"./pagination-1f55c22a.js";import{d as getAllPaginatedResults}from"./utils-c2e5c5b9.js";function Mousewheel(e){var t=e.swiper,i=e.extendParams,r=e.on,n=e.emit;var s=getWindow();i({mousewheel:{enabled:false,releaseOnEdges:false,invert:false,forceToAxis:false,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}});t.mousewheel={enabled:false};var a;var o=now();var u;var l=[];function f(e){var t=10;var i=40;var r=800;var n=0;var s=0;var a=0;var o=0;if("detail"in e){s=e.detail}if("wheelDelta"in e){s=-e.wheelDelta/120}if("wheelDeltaY"in e){s=-e.wheelDeltaY/120}if("wheelDeltaX"in e){n=-e.wheelDeltaX/120}if("axis"in e&&e.axis===e.HORIZONTAL_AXIS){n=s;s=0}a=n*t;o=s*t;if("deltaY"in e){o=e.deltaY}if("deltaX"in e){a=e.deltaX}if(e.shiftKey&&!a){a=o;o=0}if((a||o)&&e.deltaMode){if(e.deltaMode===1){a*=i;o*=i}else{a*=r;o*=r}}if(a&&!n){n=a<1?-1:1}if(o&&!s){s=o<1?-1:1}return{spinX:n,spinY:s,pixelX:a,pixelY:o}}function c(){if(!t.enabled)return;t.mouseEntered=true}function d(){if(!t.enabled)return;t.mouseEntered=false}function g(e){if(t.params.mousewheel.thresholdDelta&&e.delta<t.params.mousewheel.thresholdDelta){return false}if(t.params.mousewheel.thresholdTime&&now()-o<t.params.mousewheel.thresholdTime){return false}if(e.delta>=6&&now()-o<60){return true}if(e.direction<0){if((!t.isEnd||t.params.loop)&&!t.animating){t.slideNext();n("scroll",e.raw)}}else if((!t.isBeginning||t.params.loop)&&!t.animating){t.slidePrev();n("scroll",e.raw)}o=(new s.Date).getTime();return false}function v(e){var i=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&i.releaseOnEdges){return true}}else if(t.isBeginning&&!t.params.loop&&i.releaseOnEdges){return true}return false}function h(e){var i=e;var r=true;if(!t.enabled)return;if(e.target.closest(".".concat(t.params.mousewheel.noMousewheelClass)))return;var s=t.params.mousewheel;if(t.params.cssMode){i.preventDefault()}var o=t.el;if(t.params.mousewheel.eventsTarget!=="container"){o=document.querySelector(t.params.mousewheel.eventsTarget)}var c=o&&o.contains(i.target);if(!t.mouseEntered&&!c&&!s.releaseOnEdges)return true;if(i.originalEvent)i=i.originalEvent;var d=0;var h=t.rtlTranslate?-1:1;var m=f(i);if(s.forceToAxis){if(t.isHorizontal()){if(Math.abs(m.pixelX)>Math.abs(m.pixelY))d=-m.pixelX*h;else return true}else if(Math.abs(m.pixelY)>Math.abs(m.pixelX))d=-m.pixelY;else return true}else{d=Math.abs(m.pixelX)>Math.abs(m.pixelY)?-m.pixelX*h:-m.pixelY}if(d===0)return true;if(s.invert)d=-d;var p=t.getTranslate()+d*s.sensitivity;if(p>=t.minTranslate())p=t.minTranslate();if(p<=t.maxTranslate())p=t.maxTranslate();r=t.params.loop?true:!(p===t.minTranslate()||p===t.maxTranslate());if(r&&t.params.nested)i.stopPropagation();if(!t.params.freeMode||!t.params.freeMode.enabled){var T={time:now(),delta:Math.abs(d),direction:Math.sign(d),raw:e};if(l.length>=2){l.shift()}var w=l.length?l[l.length-1]:undefined;l.push(T);if(w){if(T.direction!==w.direction||T.delta>w.delta||T.time>w.time+150){g(T)}}else{g(T)}if(v(T)){return true}}else{var b={time:now(),delta:Math.abs(d),direction:Math.sign(d)};var M=u&&b.time<u.time+500&&b.delta<=u.delta&&b.direction===u.direction;if(!M){u=undefined;var y=t.getTranslate()+d*s.sensitivity;var C=t.isBeginning;var _=t.isEnd;if(y>=t.minTranslate())y=t.minTranslate();if(y<=t.maxTranslate())y=t.maxTranslate();t.setTransition(0);t.setTranslate(y);t.updateProgress();t.updateActiveIndex();t.updateSlidesClasses();if(!C&&t.isBeginning||!_&&t.isEnd){t.updateSlidesClasses()}if(t.params.loop){t.loopFix({direction:b.direction<0?"next":"prev",byMousewheel:true})}if(t.params.freeMode.sticky){clearTimeout(a);a=undefined;if(l.length>=15){l.shift()}var w=l.length?l[l.length-1]:undefined;var E=l[0];l.push(b);if(w&&(b.delta>w.delta||b.direction!==w.direction)){l.splice(0)}else if(l.length>=15&&b.time-E.time<500&&E.delta-b.delta>=1&&b.delta<=6){var x=d>0?.8:.2;u=b;l.splice(0);a=nextTick((function(){t.slideToClosest(t.params.speed,true,undefined,x)}),0)}if(!a){a=nextTick((function(){var e=.5;u=b;l.splice(0);t.slideToClosest(t.params.speed,true,undefined,e)}),500)}}if(!M)n("scroll",i);if(t.params.autoplay&&t.params.autoplayDisableOnInteraction)t.autoplay.stop();if(y===t.minTranslate()||y===t.maxTranslate())return true}}if(i.preventDefault)i.preventDefault();else i.returnValue=false;return false}function m(e){var i=t.el;if(t.params.mousewheel.eventsTarget!=="container"){i=document.querySelector(t.params.mousewheel.eventsTarget)}i[e]("mouseenter",c);i[e]("mouseleave",d);i[e]("wheel",h)}function p(){if(t.params.cssMode){t.wrapperEl.removeEventListener("wheel",h);return true}if(t.mousewheel.enabled)return false;m("addEventListener");t.mousewheel.enabled=true;return true}function T(){if(t.params.cssMode){t.wrapperEl.addEventListener(event,h);return true}if(!t.mousewheel.enabled)return false;m("removeEventListener");t.mousewheel.enabled=false;return true}r("init",(function(){if(!t.params.mousewheel.enabled&&t.params.cssMode){T()}if(t.params.mousewheel.enabled)p()}));r("destroy",(function(){if(t.params.cssMode){p()}if(t.mousewheel.enabled)T()}));Object.assign(t.mousewheel,{enable:p,disable:T})}function freeMode(e){var t=e.swiper,i=e.extendParams,r=e.emit,n=e.once;i({freeMode:{enabled:false,momentum:true,momentumRatio:1,momentumBounce:true,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:false,minimumVelocity:.02}});function s(){if(t.params.cssMode)return;var e=t.getTranslate();t.setTranslate(e);t.setTransition(0);t.touchEventsData.velocities.length=0;t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})}function a(){if(t.params.cssMode)return;var e=t.touchEventsData,i=t.touches;if(e.velocities.length===0){e.velocities.push({position:i[t.isHorizontal()?"startX":"startY"],time:e.touchStartTime})}e.velocities.push({position:i[t.isHorizontal()?"currentX":"currentY"],time:now()})}function o(e){var i=e.currentPos;if(t.params.cssMode)return;var s=t.params,a=t.wrapperEl,o=t.rtlTranslate,u=t.snapGrid,l=t.touchEventsData;var f=now();var c=f-l.touchStartTime;if(i<-t.minTranslate()){t.slideTo(t.activeIndex);return}if(i>-t.maxTranslate()){if(t.slides.length<u.length){t.slideTo(u.length-1)}else{t.slideTo(t.slides.length-1)}return}if(s.freeMode.momentum){if(l.velocities.length>1){var d=l.velocities.pop();var g=l.velocities.pop();var v=d.position-g.position;var h=d.time-g.time;t.velocity=v/h;t.velocity/=2;if(Math.abs(t.velocity)<s.freeMode.minimumVelocity){t.velocity=0}if(h>150||now()-d.time>300){t.velocity=0}}else{t.velocity=0}t.velocity*=s.freeMode.momentumVelocityRatio;l.velocities.length=0;var m=1e3*s.freeMode.momentumRatio;var p=t.velocity*m;var T=t.translate+p;if(o)T=-T;var w=false;var b;var M=Math.abs(t.velocity)*20*s.freeMode.momentumBounceRatio;var y=void 0;if(T<t.maxTranslate()){if(s.freeMode.momentumBounce){if(T+t.maxTranslate()<-M){T=t.maxTranslate()-M}b=t.maxTranslate();w=true;l.allowMomentumBounce=true}else{T=t.maxTranslate()}if(s.loop&&s.centeredSlides)y=true}else if(T>t.minTranslate()){if(s.freeMode.momentumBounce){if(T-t.minTranslate()>M){T=t.minTranslate()+M}b=t.minTranslate();w=true;l.allowMomentumBounce=true}else{T=t.minTranslate()}if(s.loop&&s.centeredSlides)y=true}else if(s.freeMode.sticky){var C=void 0;for(var _=0;_<u.length;_+=1){if(u[_]>-T){C=_;break}}if(Math.abs(u[C]-T)<Math.abs(u[C-1]-T)||t.swipeDirection==="next"){T=u[C]}else{T=u[C-1]}T=-T}if(y){n("transitionEnd",(function(){t.loopFix()}))}if(t.velocity!==0){if(o){m=Math.abs((-T-t.translate)/t.velocity)}else{m=Math.abs((T-t.translate)/t.velocity)}if(s.freeMode.sticky){var E=Math.abs((o?-T:T)-t.translate);var x=t.slidesSizesGrid[t.activeIndex];if(E<x){m=s.speed}else if(E<2*x){m=s.speed*1.5}else{m=s.speed*2.5}}}else if(s.freeMode.sticky){t.slideToClosest();return}if(s.freeMode.momentumBounce&&w){t.updateProgress(b);t.setTransition(m);t.setTranslate(T);t.transitionStart(true,t.swipeDirection);t.animating=true;elementTransitionEnd(a,(function(){if(!t||t.destroyed||!l.allowMomentumBounce)return;r("momentumBounce");t.setTransition(s.speed);setTimeout((function(){t.setTranslate(b);elementTransitionEnd(a,(function(){if(!t||t.destroyed)return;t.transitionEnd()}))}),0)}))}else if(t.velocity){r("_freeModeNoMomentumRelease");t.updateProgress(T);t.setTransition(m);t.setTranslate(T);t.transitionStart(true,t.swipeDirection);if(!t.animating){t.animating=true;elementTransitionEnd(a,(function(){if(!t||t.destroyed)return;t.transitionEnd()}))}}else{t.updateProgress(T)}t.updateActiveIndex();t.updateSlidesClasses()}else if(s.freeMode.sticky){t.slideToClosest();return}else if(s.freeMode){r("_freeModeNoMomentumRelease")}if(!s.freeMode.momentum||c>=s.longSwipesMs){t.updateProgress();t.updateActiveIndex();t.updateSlidesClasses()}}Object.assign(t,{freeMode:{onTouchStart:s,onTouchMove:a,onTouchEnd:o}})}var CloseIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z"/></svg>';var DownloadIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="M480-320 280-520l56-58 104 104v-326h80v326l104-104 56 58-200 200ZM240-160q-33 0-56.5-23.5T160-240v-120h80v120h480v-120h80v120q0 33-23.5 56.5T720-160H240Z"/></svg>';function getTouristicContent(e,t,i,r){return fetch("".concat(e,"touristiccontent/").concat(i,"/?language=").concat(t,"&published=true&fields=id,name,attachments,description,description_teaser,category,geometry,cities,pdf,practical_info,contact,email,website,districts"),r)}function getTouristicContentsNearTrek(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristiccontent/?language=").concat(t,"&near_trek=").concat(i,"&published=true&fields=id,name,attachments,description,description_teaser,category,geometry,cities,pdf,practical_info,contact,email,website,districts"),r)}function getTouristicContentsNearOutdoorSite(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristiccontent/?language=").concat(t,"&near_outdoorsite=").concat(i,"&published=true&fields=id,name,attachments,description,description_teaser,category,geometry,cities,pdf,practical_info,contact,email,website,districts"),r)}function getTouristicContentsNearOutdoorCourse(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristiccontent/?language=").concat(t,"&near_outdoorcourse=").concat(i,"&published=true&fields=id,name,attachments,description,description_teaser,category,geometry,cities,pdf,practical_info,contact,email,website,districts"),r)}function getTouristicContentCategory(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristiccontent_category/?language=").concat(t).concat(i?"&portals=".concat(i):"","&published=true&fields=id,label,pictogram"),r)}function getTouristicContentsList(e,t,i,r,n,s,a,o,u){var l="".concat(e,"touristiccontent/?language=").concat(t,"&published=true");this.inBbox&&(l+="&in_bbox=".concat(i));this.cities&&(l+="&cities=".concat(r));this.districts&&(l+="&districts=".concat(n));this.structures&&(l+="&structures=".concat(s));this.themes&&(l+="&themes=".concat(a));this.portals&&(l+="&portals=".concat(o));l+="&fields=id,name,attachments,category,geometry,cities,districts";return getAllPaginatedResults(l,u)}function getTouristicEvent(e,t,i,r){return fetch("".concat(e,"touristicevent/").concat(i,"/?language=").concat(t,"&fields=id,name,attachments,description,description_teaser,type,geometry,cities,pdf,practical_info,contact,email,website,begin_date,end_date&published=true"),r)}function getTouristicEventsNearTrek(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristicevent/?language=").concat(t,"&near_trek=").concat(i,"&published=true&fields=id,name,attachments,type,geometry"),r)}function getTouristicEventsNearOutdoorSite(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristicevent/?language=").concat(t,"&near_outdoorsite=").concat(i,"&published=true&fields=id,name,attachments,type,geometry"),r)}function getTouristicEventsNearOutdoorCourse(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristicevent/?language=").concat(t,"&near_outdoorcourse=").concat(i,"&published=true&fields=id,name,attachments,type,geometry"),r)}function getTouristicEventType(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristicevent_type/?language=").concat(t).concat(i?"&portals=".concat(i):"","&published=true&fields=id,type,pictogram"),r)}function getTouristicEventsList(e,t,i,r,n,s,a,o,u){var l="".concat(e,"touristicevent/?language=").concat(t,"&published=true");this.inBbox&&(l+="&in_bbox=".concat(i));this.cities&&(l+="&cities=".concat(r));this.districts&&(l+="&districts=".concat(n));this.structures&&(l+="&structures=".concat(s));this.themes&&(l+="&themes=".concat(a));this.portals&&(l+="&portals=".concat(o));l+="&fields=id,name,attachments,category,geometry,cities,districts,type,begin_date,end_date";return getAllPaginatedResults(l,u)}var CallIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="M798-120q-125 0-247-54.5T329-329Q229-429 174.5-551T120-798q0-18 12-30t30-12h162q14 0 25 9.5t13 22.5l26 140q2 16-1 27t-11 19l-97 98q20 37 47.5 71.5T387-386q31 31 65 57.5t72 48.5l94-94q9-9 23.5-13.5T670-390l138 28q14 4 23 14.5t9 23.5v162q0 18-12 30t-30 12ZM241-600l66-66-17-94h-89q5 41 14 81t26 79Zm358 358q39 17 79.5 27t81.5 13v-88l-94-19-67 67ZM241-600Zm358 358Z"/></svg>';export{CloseIcon as C,DownloadIcon as D,Mousewheel as M,getTouristicContentCategory as a,getTouristicEventsNearOutdoorCourse as b,getTouristicEventType as c,getTouristicContentsNearOutdoorSite as d,getTouristicEventsNearOutdoorSite as e,freeMode as f,getTouristicContentsNearOutdoorCourse as g,getTouristicContentsList as h,getTouristicEventsList as i,getTouristicContentsNearTrek as j,getTouristicEventsNearTrek as k,CallIcon as l,getTouristicContent as m,getTouristicEvent as n};
|
|
2
|
-
//# sourceMappingURL=call-
|
|
1
|
+
import{b as getWindow,n as nextTick,d as now,f as elementTransitionEnd}from"./pagination-1f55c22a.js";import{d as getAllPaginatedResults}from"./utils-c2e5c5b9.js";function Mousewheel(e){var t=e.swiper,i=e.extendParams,r=e.on,n=e.emit;var a=getWindow();i({mousewheel:{enabled:false,releaseOnEdges:false,invert:false,forceToAxis:false,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}});t.mousewheel={enabled:false};var s;var o=now();var u;var l=[];function f(e){var t=10;var i=40;var r=800;var n=0;var a=0;var s=0;var o=0;if("detail"in e){a=e.detail}if("wheelDelta"in e){a=-e.wheelDelta/120}if("wheelDeltaY"in e){a=-e.wheelDeltaY/120}if("wheelDeltaX"in e){n=-e.wheelDeltaX/120}if("axis"in e&&e.axis===e.HORIZONTAL_AXIS){n=a;a=0}s=n*t;o=a*t;if("deltaY"in e){o=e.deltaY}if("deltaX"in e){s=e.deltaX}if(e.shiftKey&&!s){s=o;o=0}if((s||o)&&e.deltaMode){if(e.deltaMode===1){s*=i;o*=i}else{s*=r;o*=r}}if(s&&!n){n=s<1?-1:1}if(o&&!a){a=o<1?-1:1}return{spinX:n,spinY:a,pixelX:s,pixelY:o}}function c(){if(!t.enabled)return;t.mouseEntered=true}function d(){if(!t.enabled)return;t.mouseEntered=false}function g(e){if(t.params.mousewheel.thresholdDelta&&e.delta<t.params.mousewheel.thresholdDelta){return false}if(t.params.mousewheel.thresholdTime&&now()-o<t.params.mousewheel.thresholdTime){return false}if(e.delta>=6&&now()-o<60){return true}if(e.direction<0){if((!t.isEnd||t.params.loop)&&!t.animating){t.slideNext();n("scroll",e.raw)}}else if((!t.isBeginning||t.params.loop)&&!t.animating){t.slidePrev();n("scroll",e.raw)}o=(new a.Date).getTime();return false}function v(e){var i=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&i.releaseOnEdges){return true}}else if(t.isBeginning&&!t.params.loop&&i.releaseOnEdges){return true}return false}function m(e){var i=e;var r=true;if(!t.enabled)return;if(e.target.closest(".".concat(t.params.mousewheel.noMousewheelClass)))return;var a=t.params.mousewheel;if(t.params.cssMode){i.preventDefault()}var o=t.el;if(t.params.mousewheel.eventsTarget!=="container"){o=document.querySelector(t.params.mousewheel.eventsTarget)}var c=o&&o.contains(i.target);if(!t.mouseEntered&&!c&&!a.releaseOnEdges)return true;if(i.originalEvent)i=i.originalEvent;var d=0;var m=t.rtlTranslate?-1:1;var h=f(i);if(a.forceToAxis){if(t.isHorizontal()){if(Math.abs(h.pixelX)>Math.abs(h.pixelY))d=-h.pixelX*m;else return true}else if(Math.abs(h.pixelY)>Math.abs(h.pixelX))d=-h.pixelY;else return true}else{d=Math.abs(h.pixelX)>Math.abs(h.pixelY)?-h.pixelX*m:-h.pixelY}if(d===0)return true;if(a.invert)d=-d;var p=t.getTranslate()+d*a.sensitivity;if(p>=t.minTranslate())p=t.minTranslate();if(p<=t.maxTranslate())p=t.maxTranslate();r=t.params.loop?true:!(p===t.minTranslate()||p===t.maxTranslate());if(r&&t.params.nested)i.stopPropagation();if(!t.params.freeMode||!t.params.freeMode.enabled){var T={time:now(),delta:Math.abs(d),direction:Math.sign(d),raw:e};if(l.length>=2){l.shift()}var w=l.length?l[l.length-1]:undefined;l.push(T);if(w){if(T.direction!==w.direction||T.delta>w.delta||T.time>w.time+150){g(T)}}else{g(T)}if(v(T)){return true}}else{var b={time:now(),delta:Math.abs(d),direction:Math.sign(d)};var M=u&&b.time<u.time+500&&b.delta<=u.delta&&b.direction===u.direction;if(!M){u=undefined;var y=t.getTranslate()+d*a.sensitivity;var C=t.isBeginning;var _=t.isEnd;if(y>=t.minTranslate())y=t.minTranslate();if(y<=t.maxTranslate())y=t.maxTranslate();t.setTransition(0);t.setTranslate(y);t.updateProgress();t.updateActiveIndex();t.updateSlidesClasses();if(!C&&t.isBeginning||!_&&t.isEnd){t.updateSlidesClasses()}if(t.params.loop){t.loopFix({direction:b.direction<0?"next":"prev",byMousewheel:true})}if(t.params.freeMode.sticky){clearTimeout(s);s=undefined;if(l.length>=15){l.shift()}var w=l.length?l[l.length-1]:undefined;var E=l[0];l.push(b);if(w&&(b.delta>w.delta||b.direction!==w.direction)){l.splice(0)}else if(l.length>=15&&b.time-E.time<500&&E.delta-b.delta>=1&&b.delta<=6){var x=d>0?.8:.2;u=b;l.splice(0);s=nextTick((function(){t.slideToClosest(t.params.speed,true,undefined,x)}),0)}if(!s){s=nextTick((function(){var e=.5;u=b;l.splice(0);t.slideToClosest(t.params.speed,true,undefined,e)}),500)}}if(!M)n("scroll",i);if(t.params.autoplay&&t.params.autoplayDisableOnInteraction)t.autoplay.stop();if(y===t.minTranslate()||y===t.maxTranslate())return true}}if(i.preventDefault)i.preventDefault();else i.returnValue=false;return false}function h(e){var i=t.el;if(t.params.mousewheel.eventsTarget!=="container"){i=document.querySelector(t.params.mousewheel.eventsTarget)}i[e]("mouseenter",c);i[e]("mouseleave",d);i[e]("wheel",m)}function p(){if(t.params.cssMode){t.wrapperEl.removeEventListener("wheel",m);return true}if(t.mousewheel.enabled)return false;h("addEventListener");t.mousewheel.enabled=true;return true}function T(){if(t.params.cssMode){t.wrapperEl.addEventListener(event,m);return true}if(!t.mousewheel.enabled)return false;h("removeEventListener");t.mousewheel.enabled=false;return true}r("init",(function(){if(!t.params.mousewheel.enabled&&t.params.cssMode){T()}if(t.params.mousewheel.enabled)p()}));r("destroy",(function(){if(t.params.cssMode){p()}if(t.mousewheel.enabled)T()}));Object.assign(t.mousewheel,{enable:p,disable:T})}function freeMode(e){var t=e.swiper,i=e.extendParams,r=e.emit,n=e.once;i({freeMode:{enabled:false,momentum:true,momentumRatio:1,momentumBounce:true,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:false,minimumVelocity:.02}});function a(){if(t.params.cssMode)return;var e=t.getTranslate();t.setTranslate(e);t.setTransition(0);t.touchEventsData.velocities.length=0;t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})}function s(){if(t.params.cssMode)return;var e=t.touchEventsData,i=t.touches;if(e.velocities.length===0){e.velocities.push({position:i[t.isHorizontal()?"startX":"startY"],time:e.touchStartTime})}e.velocities.push({position:i[t.isHorizontal()?"currentX":"currentY"],time:now()})}function o(e){var i=e.currentPos;if(t.params.cssMode)return;var a=t.params,s=t.wrapperEl,o=t.rtlTranslate,u=t.snapGrid,l=t.touchEventsData;var f=now();var c=f-l.touchStartTime;if(i<-t.minTranslate()){t.slideTo(t.activeIndex);return}if(i>-t.maxTranslate()){if(t.slides.length<u.length){t.slideTo(u.length-1)}else{t.slideTo(t.slides.length-1)}return}if(a.freeMode.momentum){if(l.velocities.length>1){var d=l.velocities.pop();var g=l.velocities.pop();var v=d.position-g.position;var m=d.time-g.time;t.velocity=v/m;t.velocity/=2;if(Math.abs(t.velocity)<a.freeMode.minimumVelocity){t.velocity=0}if(m>150||now()-d.time>300){t.velocity=0}}else{t.velocity=0}t.velocity*=a.freeMode.momentumVelocityRatio;l.velocities.length=0;var h=1e3*a.freeMode.momentumRatio;var p=t.velocity*h;var T=t.translate+p;if(o)T=-T;var w=false;var b;var M=Math.abs(t.velocity)*20*a.freeMode.momentumBounceRatio;var y=void 0;if(T<t.maxTranslate()){if(a.freeMode.momentumBounce){if(T+t.maxTranslate()<-M){T=t.maxTranslate()-M}b=t.maxTranslate();w=true;l.allowMomentumBounce=true}else{T=t.maxTranslate()}if(a.loop&&a.centeredSlides)y=true}else if(T>t.minTranslate()){if(a.freeMode.momentumBounce){if(T-t.minTranslate()>M){T=t.minTranslate()+M}b=t.minTranslate();w=true;l.allowMomentumBounce=true}else{T=t.minTranslate()}if(a.loop&&a.centeredSlides)y=true}else if(a.freeMode.sticky){var C=void 0;for(var _=0;_<u.length;_+=1){if(u[_]>-T){C=_;break}}if(Math.abs(u[C]-T)<Math.abs(u[C-1]-T)||t.swipeDirection==="next"){T=u[C]}else{T=u[C-1]}T=-T}if(y){n("transitionEnd",(function(){t.loopFix()}))}if(t.velocity!==0){if(o){h=Math.abs((-T-t.translate)/t.velocity)}else{h=Math.abs((T-t.translate)/t.velocity)}if(a.freeMode.sticky){var E=Math.abs((o?-T:T)-t.translate);var x=t.slidesSizesGrid[t.activeIndex];if(E<x){h=a.speed}else if(E<2*x){h=a.speed*1.5}else{h=a.speed*2.5}}}else if(a.freeMode.sticky){t.slideToClosest();return}if(a.freeMode.momentumBounce&&w){t.updateProgress(b);t.setTransition(h);t.setTranslate(T);t.transitionStart(true,t.swipeDirection);t.animating=true;elementTransitionEnd(s,(function(){if(!t||t.destroyed||!l.allowMomentumBounce)return;r("momentumBounce");t.setTransition(a.speed);setTimeout((function(){t.setTranslate(b);elementTransitionEnd(s,(function(){if(!t||t.destroyed)return;t.transitionEnd()}))}),0)}))}else if(t.velocity){r("_freeModeNoMomentumRelease");t.updateProgress(T);t.setTransition(h);t.setTranslate(T);t.transitionStart(true,t.swipeDirection);if(!t.animating){t.animating=true;elementTransitionEnd(s,(function(){if(!t||t.destroyed)return;t.transitionEnd()}))}}else{t.updateProgress(T)}t.updateActiveIndex();t.updateSlidesClasses()}else if(a.freeMode.sticky){t.slideToClosest();return}else if(a.freeMode){r("_freeModeNoMomentumRelease")}if(!a.freeMode.momentum||c>=a.longSwipesMs){t.updateProgress();t.updateActiveIndex();t.updateSlidesClasses()}}Object.assign(t,{freeMode:{onTouchStart:a,onTouchMove:s,onTouchEnd:o}})}var CloseIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z"/></svg>';var DownloadIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="M480-320 280-520l56-58 104 104v-326h80v326l104-104 56 58-200 200ZM240-160q-33 0-56.5-23.5T160-240v-120h80v120h480v-120h80v120q0 33-23.5 56.5T720-160H240Z"/></svg>';function getTouristicContent(e,t,i,r){return fetch("".concat(e,"touristiccontent/").concat(i,"/?language=").concat(t,"&published=true&fields=id,name,attachments,description,description_teaser,category,geometry,cities,pdf,practical_info,contact,email,website,districts"),r)}function getTouristicContentsNearTrek(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristiccontent/?language=").concat(t,"&near_trek=").concat(i,"&published=true&fields=id,name,attachments,description,description_teaser,category,geometry,cities,pdf,practical_info,contact,email,website,districts"),r)}function getTouristicContentsNearOutdoorSite(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristiccontent/?language=").concat(t,"&near_outdoorsite=").concat(i,"&published=true&fields=id,name,attachments,description,description_teaser,category,geometry,cities,pdf,practical_info,contact,email,website,districts"),r)}function getTouristicContentsNearOutdoorCourse(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristiccontent/?language=").concat(t,"&near_outdoorcourse=").concat(i,"&published=true&fields=id,name,attachments,description,description_teaser,category,geometry,cities,pdf,practical_info,contact,email,website,districts"),r)}function getTouristicContentCategory(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristiccontent_category/?language=").concat(t).concat(i?"&portals=".concat(i):"","&published=true&fields=id,label,pictogram"),r)}function getTouristicContentsList(e,t,i,r,n,a,s,o,u){var l="".concat(e,"touristiccontent/?language=").concat(t,"&published=true");i&&(l+="&in_bbox=".concat(i));r&&(l+="&cities=".concat(r));n&&(l+="&districts=".concat(n));a&&(l+="&structures=".concat(a));s&&(l+="&themes=".concat(s));o&&(l+="&portals=".concat(o));l+="&fields=id,name,attachments,category,geometry,cities,districts";return getAllPaginatedResults(l,u)}function getTouristicEvent(e,t,i,r){return fetch("".concat(e,"touristicevent/").concat(i,"/?language=").concat(t,"&fields=id,name,attachments,description,description_teaser,type,geometry,cities,pdf,practical_info,contact,email,website,begin_date,end_date&published=true"),r)}function getTouristicEventsNearTrek(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristicevent/?language=").concat(t,"&near_trek=").concat(i,"&published=true&fields=id,name,attachments,type,geometry"),r)}function getTouristicEventsNearOutdoorSite(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristicevent/?language=").concat(t,"&near_outdoorsite=").concat(i,"&published=true&fields=id,name,attachments,type,geometry"),r)}function getTouristicEventsNearOutdoorCourse(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristicevent/?language=").concat(t,"&near_outdoorcourse=").concat(i,"&published=true&fields=id,name,attachments,type,geometry"),r)}function getTouristicEventType(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristicevent_type/?language=").concat(t).concat(i?"&portals=".concat(i):"","&published=true&fields=id,type,pictogram"),r)}function getTouristicEventsList(e,t,i,r,n,a,s,o,u){var l="".concat(e,"touristicevent/?language=").concat(t,"&published=true");i&&(l+="&in_bbox=".concat(i));r&&(l+="&cities=".concat(r));n&&(l+="&districts=".concat(n));a&&(l+="&structures=".concat(a));s&&(l+="&themes=".concat(s));o&&(l+="&portals=".concat(o));l+="&fields=id,name,attachments,category,geometry,cities,districts,type,begin_date,end_date";return getAllPaginatedResults(l,u)}var CallIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="M798-120q-125 0-247-54.5T329-329Q229-429 174.5-551T120-798q0-18 12-30t30-12h162q14 0 25 9.5t13 22.5l26 140q2 16-1 27t-11 19l-97 98q20 37 47.5 71.5T387-386q31 31 65 57.5t72 48.5l94-94q9-9 23.5-13.5T670-390l138 28q14 4 23 14.5t9 23.5v162q0 18-12 30t-30 12ZM241-600l66-66-17-94h-89q5 41 14 81t26 79Zm358 358q39 17 79.5 27t81.5 13v-88l-94-19-67 67ZM241-600Zm358 358Z"/></svg>';export{CloseIcon as C,DownloadIcon as D,Mousewheel as M,getTouristicContentCategory as a,getTouristicEventsNearOutdoorCourse as b,getTouristicEventType as c,getTouristicContentsNearOutdoorSite as d,getTouristicEventsNearOutdoorSite as e,freeMode as f,getTouristicContentsNearOutdoorCourse as g,getTouristicContentsList as h,getTouristicEventsList as i,getTouristicContentsNearTrek as j,getTouristicEventsNearTrek as k,CallIcon as l,getTouristicContent as m,getTouristicEvent as n};
|
|
2
|
+
//# sourceMappingURL=call-e7ca34e9.js.map
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Mousewheel","_a","swiper","extendParams","on","emit","window","getWindow","mousewheel","enabled","releaseOnEdges","invert","forceToAxis","sensitivity","eventsTarget","thresholdDelta","thresholdTime","noMousewheelClass","timeout","lastScrollTime","now","lastEventBeforeSnap","recentWheelEvents","normalize","e","PIXEL_STEP","LINE_HEIGHT","PAGE_HEIGHT","sX","sY","pX","pY","detail","wheelDelta","wheelDeltaY","wheelDeltaX","axis","HORIZONTAL_AXIS","deltaY","deltaX","shiftKey","deltaMode","spinX","spinY","pixelX","pixelY","handleMouseEnter","mouseEntered","handleMouseLeave","animateSlider","newEvent","params","delta","direction","isEnd","loop","animating","slideNext","raw","isBeginning","slidePrev","Date","getTime","releaseScroll","handle","event","disableParentSwiper","target","closest","concat","cssMode","preventDefault","targetEl","el","document","querySelector","targetElContainsTarget","contains","originalEvent","rtlFactor","rtlTranslate","data","isHorizontal","Math","abs","positions","getTranslate","minTranslate","maxTranslate","nested","stopPropagation","freeMode","time","sign","length","shift","prevEvent","undefined","push","newEvent_1","ignoreWheelEvents","position","wasBeginning","wasEnd","setTransition","setTranslate","updateProgress","updateActiveIndex","updateSlidesClasses","loopFix","byMousewheel","sticky","clearTimeout","firstEvent","splice","snapToThreshold_1","nextTick","slideToClosest","speed","snapToThreshold","autoplay","autoplayDisableOnInteraction","stop","returnValue","events","method","enable","wrapperEl","removeEventListener","disable","addEventListener","Object","assign","once","momentum","momentumRatio","momentumBounce","momentumBounceRatio","momentumVelocityRatio","minimumVelocity","onTouchStart","translate","touchEventsData","velocities","onTouchEnd","currentPos","rtl","onTouchMove","touches","touchStartTime","snapGrid","touchEndTime","timeDiff","slideTo","activeIndex","slides","lastMoveEvent","pop","velocityEvent","distance","velocity","momentumDuration","momentumDistance","newPosition","doBounce","afterBouncePosition_1","bounceAmount","needsLoopFix","allowMomentumBounce","centeredSlides","nextSlide","j","swipeDirection","moveDistance","currentSlideSize","slidesSizesGrid","transitionStart","elementTransitionEnd","destroyed","setTimeout","transitionEnd","longSwipesMs","getTouristicContent","api","language","touristicContentId","init","fetch","getTouristicContentsNearTrek","trekId","getAllPaginatedResults","getTouristicContentsNearOutdoorSite","outdoorSiteId","getTouristicContentsNearOutdoorCourse","outdoorCourseId","getTouristicContentCategory","portals","getTouristicContentsList","inBbox","cities","districts","structures","themes","touristicContentsRequest","getTouristicEvent","touristicEventId","getTouristicEventsNearTrek","getTouristicEventsNearOutdoorSite","getTouristicEventsNearOutdoorCourse","getTouristicEventType","getTouristicEventsList","touristicEventsRequest"],"sources":["node_modules/swiper/modules/mousewheel/mousewheel.js","node_modules/swiper/modules/free-mode/free-mode.js","src/services/touristic-contents.service.ts","src/services/touristic-events.service.ts"],"sourcesContent":["/* eslint-disable consistent-return */\nimport { getWindow } from 'ssr-window';\nimport { now, nextTick } from '../../shared/utils.js';\nexport default function Mousewheel({\n swiper,\n extendParams,\n on,\n emit\n}) {\n const window = getWindow();\n extendParams({\n mousewheel: {\n enabled: false,\n releaseOnEdges: false,\n invert: false,\n forceToAxis: false,\n sensitivity: 1,\n eventsTarget: 'container',\n thresholdDelta: null,\n thresholdTime: null,\n noMousewheelClass: 'swiper-no-mousewheel'\n }\n });\n swiper.mousewheel = {\n enabled: false\n };\n let timeout;\n let lastScrollTime = now();\n let lastEventBeforeSnap;\n const recentWheelEvents = [];\n function normalize(e) {\n // Reasonable defaults\n const PIXEL_STEP = 10;\n const LINE_HEIGHT = 40;\n const PAGE_HEIGHT = 800;\n let sX = 0;\n let sY = 0; // spinX, spinY\n let pX = 0;\n let pY = 0; // pixelX, pixelY\n\n // Legacy\n if ('detail' in e) {\n sY = e.detail;\n }\n if ('wheelDelta' in e) {\n sY = -e.wheelDelta / 120;\n }\n if ('wheelDeltaY' in e) {\n sY = -e.wheelDeltaY / 120;\n }\n if ('wheelDeltaX' in e) {\n sX = -e.wheelDeltaX / 120;\n }\n\n // side scrolling on FF with DOMMouseScroll\n if ('axis' in e && e.axis === e.HORIZONTAL_AXIS) {\n sX = sY;\n sY = 0;\n }\n pX = sX * PIXEL_STEP;\n pY = sY * PIXEL_STEP;\n if ('deltaY' in e) {\n pY = e.deltaY;\n }\n if ('deltaX' in e) {\n pX = e.deltaX;\n }\n if (e.shiftKey && !pX) {\n // if user scrolls with shift he wants horizontal scroll\n pX = pY;\n pY = 0;\n }\n if ((pX || pY) && e.deltaMode) {\n if (e.deltaMode === 1) {\n // delta in LINE units\n pX *= LINE_HEIGHT;\n pY *= LINE_HEIGHT;\n } else {\n // delta in PAGE units\n pX *= PAGE_HEIGHT;\n pY *= PAGE_HEIGHT;\n }\n }\n\n // Fall-back if spin cannot be determined\n if (pX && !sX) {\n sX = pX < 1 ? -1 : 1;\n }\n if (pY && !sY) {\n sY = pY < 1 ? -1 : 1;\n }\n return {\n spinX: sX,\n spinY: sY,\n pixelX: pX,\n pixelY: pY\n };\n }\n function handleMouseEnter() {\n if (!swiper.enabled) return;\n swiper.mouseEntered = true;\n }\n function handleMouseLeave() {\n if (!swiper.enabled) return;\n swiper.mouseEntered = false;\n }\n function animateSlider(newEvent) {\n if (swiper.params.mousewheel.thresholdDelta && newEvent.delta < swiper.params.mousewheel.thresholdDelta) {\n // Prevent if delta of wheel scroll delta is below configured threshold\n return false;\n }\n if (swiper.params.mousewheel.thresholdTime && now() - lastScrollTime < swiper.params.mousewheel.thresholdTime) {\n // Prevent if time between scrolls is below configured threshold\n return false;\n }\n\n // If the movement is NOT big enough and\n // if the last time the user scrolled was too close to the current one (avoid continuously triggering the slider):\n // Don't go any further (avoid insignificant scroll movement).\n if (newEvent.delta >= 6 && now() - lastScrollTime < 60) {\n // Return false as a default\n return true;\n }\n // If user is scrolling towards the end:\n // If the slider hasn't hit the latest slide or\n // if the slider is a loop and\n // if the slider isn't moving right now:\n // Go to next slide and\n // emit a scroll event.\n // Else (the user is scrolling towards the beginning) and\n // if the slider hasn't hit the first slide or\n // if the slider is a loop and\n // if the slider isn't moving right now:\n // Go to prev slide and\n // emit a scroll event.\n if (newEvent.direction < 0) {\n if ((!swiper.isEnd || swiper.params.loop) && !swiper.animating) {\n swiper.slideNext();\n emit('scroll', newEvent.raw);\n }\n } else if ((!swiper.isBeginning || swiper.params.loop) && !swiper.animating) {\n swiper.slidePrev();\n emit('scroll', newEvent.raw);\n }\n // If you got here is because an animation has been triggered so store the current time\n lastScrollTime = new window.Date().getTime();\n // Return false as a default\n return false;\n }\n function releaseScroll(newEvent) {\n const params = swiper.params.mousewheel;\n if (newEvent.direction < 0) {\n if (swiper.isEnd && !swiper.params.loop && params.releaseOnEdges) {\n // Return true to animate scroll on edges\n return true;\n }\n } else if (swiper.isBeginning && !swiper.params.loop && params.releaseOnEdges) {\n // Return true to animate scroll on edges\n return true;\n }\n return false;\n }\n function handle(event) {\n let e = event;\n let disableParentSwiper = true;\n if (!swiper.enabled) return;\n\n // Ignore event if the target or its parents have the swiper-no-mousewheel class\n if (event.target.closest(`.${swiper.params.mousewheel.noMousewheelClass}`)) return;\n const params = swiper.params.mousewheel;\n if (swiper.params.cssMode) {\n e.preventDefault();\n }\n let targetEl = swiper.el;\n if (swiper.params.mousewheel.eventsTarget !== 'container') {\n targetEl = document.querySelector(swiper.params.mousewheel.eventsTarget);\n }\n const targetElContainsTarget = targetEl && targetEl.contains(e.target);\n if (!swiper.mouseEntered && !targetElContainsTarget && !params.releaseOnEdges) return true;\n if (e.originalEvent) e = e.originalEvent; // jquery fix\n let delta = 0;\n const rtlFactor = swiper.rtlTranslate ? -1 : 1;\n const data = normalize(e);\n if (params.forceToAxis) {\n if (swiper.isHorizontal()) {\n if (Math.abs(data.pixelX) > Math.abs(data.pixelY)) delta = -data.pixelX * rtlFactor;else return true;\n } else if (Math.abs(data.pixelY) > Math.abs(data.pixelX)) delta = -data.pixelY;else return true;\n } else {\n delta = Math.abs(data.pixelX) > Math.abs(data.pixelY) ? -data.pixelX * rtlFactor : -data.pixelY;\n }\n if (delta === 0) return true;\n if (params.invert) delta = -delta;\n\n // Get the scroll positions\n let positions = swiper.getTranslate() + delta * params.sensitivity;\n if (positions >= swiper.minTranslate()) positions = swiper.minTranslate();\n if (positions <= swiper.maxTranslate()) positions = swiper.maxTranslate();\n\n // When loop is true:\n // the disableParentSwiper will be true.\n // When loop is false:\n // if the scroll positions is not on edge,\n // then the disableParentSwiper will be true.\n // if the scroll on edge positions,\n // then the disableParentSwiper will be false.\n disableParentSwiper = swiper.params.loop ? true : !(positions === swiper.minTranslate() || positions === swiper.maxTranslate());\n if (disableParentSwiper && swiper.params.nested) e.stopPropagation();\n if (!swiper.params.freeMode || !swiper.params.freeMode.enabled) {\n // Register the new event in a variable which stores the relevant data\n const newEvent = {\n time: now(),\n delta: Math.abs(delta),\n direction: Math.sign(delta),\n raw: event\n };\n\n // Keep the most recent events\n if (recentWheelEvents.length >= 2) {\n recentWheelEvents.shift(); // only store the last N events\n }\n\n const prevEvent = recentWheelEvents.length ? recentWheelEvents[recentWheelEvents.length - 1] : undefined;\n recentWheelEvents.push(newEvent);\n\n // If there is at least one previous recorded event:\n // If direction has changed or\n // if the scroll is quicker than the previous one:\n // Animate the slider.\n // Else (this is the first time the wheel is moved):\n // Animate the slider.\n if (prevEvent) {\n if (newEvent.direction !== prevEvent.direction || newEvent.delta > prevEvent.delta || newEvent.time > prevEvent.time + 150) {\n animateSlider(newEvent);\n }\n } else {\n animateSlider(newEvent);\n }\n\n // If it's time to release the scroll:\n // Return now so you don't hit the preventDefault.\n if (releaseScroll(newEvent)) {\n return true;\n }\n } else {\n // Freemode or scrollContainer:\n\n // If we recently snapped after a momentum scroll, then ignore wheel events\n // to give time for the deceleration to finish. Stop ignoring after 500 msecs\n // or if it's a new scroll (larger delta or inverse sign as last event before\n // an end-of-momentum snap).\n const newEvent = {\n time: now(),\n delta: Math.abs(delta),\n direction: Math.sign(delta)\n };\n const ignoreWheelEvents = lastEventBeforeSnap && newEvent.time < lastEventBeforeSnap.time + 500 && newEvent.delta <= lastEventBeforeSnap.delta && newEvent.direction === lastEventBeforeSnap.direction;\n if (!ignoreWheelEvents) {\n lastEventBeforeSnap = undefined;\n let position = swiper.getTranslate() + delta * params.sensitivity;\n const wasBeginning = swiper.isBeginning;\n const wasEnd = swiper.isEnd;\n if (position >= swiper.minTranslate()) position = swiper.minTranslate();\n if (position <= swiper.maxTranslate()) position = swiper.maxTranslate();\n swiper.setTransition(0);\n swiper.setTranslate(position);\n swiper.updateProgress();\n swiper.updateActiveIndex();\n swiper.updateSlidesClasses();\n if (!wasBeginning && swiper.isBeginning || !wasEnd && swiper.isEnd) {\n swiper.updateSlidesClasses();\n }\n if (swiper.params.loop) {\n swiper.loopFix({\n direction: newEvent.direction < 0 ? 'next' : 'prev',\n byMousewheel: true\n });\n }\n if (swiper.params.freeMode.sticky) {\n // When wheel scrolling starts with sticky (aka snap) enabled, then detect\n // the end of a momentum scroll by storing recent (N=15?) wheel events.\n // 1. do all N events have decreasing or same (absolute value) delta?\n // 2. did all N events arrive in the last M (M=500?) msecs?\n // 3. does the earliest event have an (absolute value) delta that's\n // at least P (P=1?) larger than the most recent event's delta?\n // 4. does the latest event have a delta that's smaller than Q (Q=6?) pixels?\n // If 1-4 are \"yes\" then we're near the end of a momentum scroll deceleration.\n // Snap immediately and ignore remaining wheel events in this scroll.\n // See comment above for \"remaining wheel events in this scroll\" determination.\n // If 1-4 aren't satisfied, then wait to snap until 500ms after the last event.\n clearTimeout(timeout);\n timeout = undefined;\n if (recentWheelEvents.length >= 15) {\n recentWheelEvents.shift(); // only store the last N events\n }\n\n const prevEvent = recentWheelEvents.length ? recentWheelEvents[recentWheelEvents.length - 1] : undefined;\n const firstEvent = recentWheelEvents[0];\n recentWheelEvents.push(newEvent);\n if (prevEvent && (newEvent.delta > prevEvent.delta || newEvent.direction !== prevEvent.direction)) {\n // Increasing or reverse-sign delta means the user started scrolling again. Clear the wheel event log.\n recentWheelEvents.splice(0);\n } else if (recentWheelEvents.length >= 15 && newEvent.time - firstEvent.time < 500 && firstEvent.delta - newEvent.delta >= 1 && newEvent.delta <= 6) {\n // We're at the end of the deceleration of a momentum scroll, so there's no need\n // to wait for more events. Snap ASAP on the next tick.\n // Also, because there's some remaining momentum we'll bias the snap in the\n // direction of the ongoing scroll because it's better UX for the scroll to snap\n // in the same direction as the scroll instead of reversing to snap. Therefore,\n // if it's already scrolled more than 20% in the current direction, keep going.\n const snapToThreshold = delta > 0 ? 0.8 : 0.2;\n lastEventBeforeSnap = newEvent;\n recentWheelEvents.splice(0);\n timeout = nextTick(() => {\n swiper.slideToClosest(swiper.params.speed, true, undefined, snapToThreshold);\n }, 0); // no delay; move on next tick\n }\n\n if (!timeout) {\n // if we get here, then we haven't detected the end of a momentum scroll, so\n // we'll consider a scroll \"complete\" when there haven't been any wheel events\n // for 500ms.\n timeout = nextTick(() => {\n const snapToThreshold = 0.5;\n lastEventBeforeSnap = newEvent;\n recentWheelEvents.splice(0);\n swiper.slideToClosest(swiper.params.speed, true, undefined, snapToThreshold);\n }, 500);\n }\n }\n\n // Emit event\n if (!ignoreWheelEvents) emit('scroll', e);\n\n // Stop autoplay\n if (swiper.params.autoplay && swiper.params.autoplayDisableOnInteraction) swiper.autoplay.stop();\n // Return page scroll on edge positions\n if (position === swiper.minTranslate() || position === swiper.maxTranslate()) return true;\n }\n }\n if (e.preventDefault) e.preventDefault();else e.returnValue = false;\n return false;\n }\n function events(method) {\n let targetEl = swiper.el;\n if (swiper.params.mousewheel.eventsTarget !== 'container') {\n targetEl = document.querySelector(swiper.params.mousewheel.eventsTarget);\n }\n targetEl[method]('mouseenter', handleMouseEnter);\n targetEl[method]('mouseleave', handleMouseLeave);\n targetEl[method]('wheel', handle);\n }\n function enable() {\n if (swiper.params.cssMode) {\n swiper.wrapperEl.removeEventListener('wheel', handle);\n return true;\n }\n if (swiper.mousewheel.enabled) return false;\n events('addEventListener');\n swiper.mousewheel.enabled = true;\n return true;\n }\n function disable() {\n if (swiper.params.cssMode) {\n swiper.wrapperEl.addEventListener(event, handle);\n return true;\n }\n if (!swiper.mousewheel.enabled) return false;\n events('removeEventListener');\n swiper.mousewheel.enabled = false;\n return true;\n }\n on('init', () => {\n if (!swiper.params.mousewheel.enabled && swiper.params.cssMode) {\n disable();\n }\n if (swiper.params.mousewheel.enabled) enable();\n });\n on('destroy', () => {\n if (swiper.params.cssMode) {\n enable();\n }\n if (swiper.mousewheel.enabled) disable();\n });\n Object.assign(swiper.mousewheel, {\n enable,\n disable\n });\n}","import { elementTransitionEnd, now } from '../../shared/utils.js';\nexport default function freeMode({\n swiper,\n extendParams,\n emit,\n once\n}) {\n extendParams({\n freeMode: {\n enabled: false,\n momentum: true,\n momentumRatio: 1,\n momentumBounce: true,\n momentumBounceRatio: 1,\n momentumVelocityRatio: 1,\n sticky: false,\n minimumVelocity: 0.02\n }\n });\n function onTouchStart() {\n if (swiper.params.cssMode) return;\n const translate = swiper.getTranslate();\n swiper.setTranslate(translate);\n swiper.setTransition(0);\n swiper.touchEventsData.velocities.length = 0;\n swiper.freeMode.onTouchEnd({\n currentPos: swiper.rtl ? swiper.translate : -swiper.translate\n });\n }\n function onTouchMove() {\n if (swiper.params.cssMode) return;\n const {\n touchEventsData: data,\n touches\n } = swiper;\n // Velocity\n if (data.velocities.length === 0) {\n data.velocities.push({\n position: touches[swiper.isHorizontal() ? 'startX' : 'startY'],\n time: data.touchStartTime\n });\n }\n data.velocities.push({\n position: touches[swiper.isHorizontal() ? 'currentX' : 'currentY'],\n time: now()\n });\n }\n function onTouchEnd({\n currentPos\n }) {\n if (swiper.params.cssMode) return;\n const {\n params,\n wrapperEl,\n rtlTranslate: rtl,\n snapGrid,\n touchEventsData: data\n } = swiper;\n // Time diff\n const touchEndTime = now();\n const timeDiff = touchEndTime - data.touchStartTime;\n if (currentPos < -swiper.minTranslate()) {\n swiper.slideTo(swiper.activeIndex);\n return;\n }\n if (currentPos > -swiper.maxTranslate()) {\n if (swiper.slides.length < snapGrid.length) {\n swiper.slideTo(snapGrid.length - 1);\n } else {\n swiper.slideTo(swiper.slides.length - 1);\n }\n return;\n }\n if (params.freeMode.momentum) {\n if (data.velocities.length > 1) {\n const lastMoveEvent = data.velocities.pop();\n const velocityEvent = data.velocities.pop();\n const distance = lastMoveEvent.position - velocityEvent.position;\n const time = lastMoveEvent.time - velocityEvent.time;\n swiper.velocity = distance / time;\n swiper.velocity /= 2;\n if (Math.abs(swiper.velocity) < params.freeMode.minimumVelocity) {\n swiper.velocity = 0;\n }\n // this implies that the user stopped moving a finger then released.\n // There would be no events with distance zero, so the last event is stale.\n if (time > 150 || now() - lastMoveEvent.time > 300) {\n swiper.velocity = 0;\n }\n } else {\n swiper.velocity = 0;\n }\n swiper.velocity *= params.freeMode.momentumVelocityRatio;\n data.velocities.length = 0;\n let momentumDuration = 1000 * params.freeMode.momentumRatio;\n const momentumDistance = swiper.velocity * momentumDuration;\n let newPosition = swiper.translate + momentumDistance;\n if (rtl) newPosition = -newPosition;\n let doBounce = false;\n let afterBouncePosition;\n const bounceAmount = Math.abs(swiper.velocity) * 20 * params.freeMode.momentumBounceRatio;\n let needsLoopFix;\n if (newPosition < swiper.maxTranslate()) {\n if (params.freeMode.momentumBounce) {\n if (newPosition + swiper.maxTranslate() < -bounceAmount) {\n newPosition = swiper.maxTranslate() - bounceAmount;\n }\n afterBouncePosition = swiper.maxTranslate();\n doBounce = true;\n data.allowMomentumBounce = true;\n } else {\n newPosition = swiper.maxTranslate();\n }\n if (params.loop && params.centeredSlides) needsLoopFix = true;\n } else if (newPosition > swiper.minTranslate()) {\n if (params.freeMode.momentumBounce) {\n if (newPosition - swiper.minTranslate() > bounceAmount) {\n newPosition = swiper.minTranslate() + bounceAmount;\n }\n afterBouncePosition = swiper.minTranslate();\n doBounce = true;\n data.allowMomentumBounce = true;\n } else {\n newPosition = swiper.minTranslate();\n }\n if (params.loop && params.centeredSlides) needsLoopFix = true;\n } else if (params.freeMode.sticky) {\n let nextSlide;\n for (let j = 0; j < snapGrid.length; j += 1) {\n if (snapGrid[j] > -newPosition) {\n nextSlide = j;\n break;\n }\n }\n if (Math.abs(snapGrid[nextSlide] - newPosition) < Math.abs(snapGrid[nextSlide - 1] - newPosition) || swiper.swipeDirection === 'next') {\n newPosition = snapGrid[nextSlide];\n } else {\n newPosition = snapGrid[nextSlide - 1];\n }\n newPosition = -newPosition;\n }\n if (needsLoopFix) {\n once('transitionEnd', () => {\n swiper.loopFix();\n });\n }\n // Fix duration\n if (swiper.velocity !== 0) {\n if (rtl) {\n momentumDuration = Math.abs((-newPosition - swiper.translate) / swiper.velocity);\n } else {\n momentumDuration = Math.abs((newPosition - swiper.translate) / swiper.velocity);\n }\n if (params.freeMode.sticky) {\n // If freeMode.sticky is active and the user ends a swipe with a slow-velocity\n // event, then durations can be 20+ seconds to slide one (or zero!) slides.\n // It's easy to see this when simulating touch with mouse events. To fix this,\n // limit single-slide swipes to the default slide duration. This also has the\n // nice side effect of matching slide speed if the user stopped moving before\n // lifting finger or mouse vs. moving slowly before lifting the finger/mouse.\n // For faster swipes, also apply limits (albeit higher ones).\n const moveDistance = Math.abs((rtl ? -newPosition : newPosition) - swiper.translate);\n const currentSlideSize = swiper.slidesSizesGrid[swiper.activeIndex];\n if (moveDistance < currentSlideSize) {\n momentumDuration = params.speed;\n } else if (moveDistance < 2 * currentSlideSize) {\n momentumDuration = params.speed * 1.5;\n } else {\n momentumDuration = params.speed * 2.5;\n }\n }\n } else if (params.freeMode.sticky) {\n swiper.slideToClosest();\n return;\n }\n if (params.freeMode.momentumBounce && doBounce) {\n swiper.updateProgress(afterBouncePosition);\n swiper.setTransition(momentumDuration);\n swiper.setTranslate(newPosition);\n swiper.transitionStart(true, swiper.swipeDirection);\n swiper.animating = true;\n elementTransitionEnd(wrapperEl, () => {\n if (!swiper || swiper.destroyed || !data.allowMomentumBounce) return;\n emit('momentumBounce');\n swiper.setTransition(params.speed);\n setTimeout(() => {\n swiper.setTranslate(afterBouncePosition);\n elementTransitionEnd(wrapperEl, () => {\n if (!swiper || swiper.destroyed) return;\n swiper.transitionEnd();\n });\n }, 0);\n });\n } else if (swiper.velocity) {\n emit('_freeModeNoMomentumRelease');\n swiper.updateProgress(newPosition);\n swiper.setTransition(momentumDuration);\n swiper.setTranslate(newPosition);\n swiper.transitionStart(true, swiper.swipeDirection);\n if (!swiper.animating) {\n swiper.animating = true;\n elementTransitionEnd(wrapperEl, () => {\n if (!swiper || swiper.destroyed) return;\n swiper.transitionEnd();\n });\n }\n } else {\n swiper.updateProgress(newPosition);\n }\n swiper.updateActiveIndex();\n swiper.updateSlidesClasses();\n } else if (params.freeMode.sticky) {\n swiper.slideToClosest();\n return;\n } else if (params.freeMode) {\n emit('_freeModeNoMomentumRelease');\n }\n if (!params.freeMode.momentum || timeDiff >= params.longSwipesMs) {\n swiper.updateProgress();\n swiper.updateActiveIndex();\n swiper.updateSlidesClasses();\n }\n }\n Object.assign(swiper, {\n freeMode: {\n onTouchStart,\n onTouchMove,\n onTouchEnd\n }\n });\n}","import { getAllPaginatedResults } from '../utils/utils';\n\nexport function getTouristicContents(api, language, init) {\n return fetch(\n `${api}touristiccontent/?language=${language}&published=true&fields=id,name,attachments,description,description_teaser,category,geometry,cities,pdf,practical_info,contact,email,website,districts`,\n init,\n );\n}\n\nexport function getTouristicContent(api, language, touristicContentId, init) {\n return fetch(\n `${api}touristiccontent/${touristicContentId}/?language=${language}&published=true&fields=id,name,attachments,description,description_teaser,category,geometry,cities,pdf,practical_info,contact,email,website,districts`,\n init,\n );\n}\n\nexport function getTouristicContentsNearTrek(api, language, trekId, init) {\n return getAllPaginatedResults(\n `${api}touristiccontent/?language=${language}&near_trek=${trekId}&published=true&fields=id,name,attachments,description,description_teaser,category,geometry,cities,pdf,practical_info,contact,email,website,districts`,\n init,\n );\n}\n\nexport function getTouristicContentsNearOutdoorSite(api, language, outdoorSiteId, init) {\n return getAllPaginatedResults(\n `${api}touristiccontent/?language=${language}&near_outdoorsite=${outdoorSiteId}&published=true&fields=id,name,attachments,description,description_teaser,category,geometry,cities,pdf,practical_info,contact,email,website,districts`,\n init,\n );\n}\n\nexport function getTouristicContentsNearOutdoorCourse(api, language, outdoorCourseId, init) {\n return getAllPaginatedResults(\n `${api}touristiccontent/?language=${language}&near_outdoorcourse=${outdoorCourseId}&published=true&fields=id,name,attachments,description,description_teaser,category,geometry,cities,pdf,practical_info,contact,email,website,districts`,\n init,\n );\n}\n\nexport function getTouristicContentCategory(api, language, portals, init) {\n return getAllPaginatedResults(\n `${api}touristiccontent_category/?language=${language}${portals ? '&portals='.concat(portals) : ''}&published=true&fields=id,label,pictogram`,\n init,\n );\n}\n\nexport function getTouristicContentsList(api, language, inBbox, cities, districts, structures, themes, portals, init) {\n let touristicContentsRequest = `${api}touristiccontent/?language=${language}&published=true`;\n\n inBbox && (touristicContentsRequest += `&in_bbox=${inBbox}`);\n cities && (touristicContentsRequest += `&cities=${cities}`);\n districts && (touristicContentsRequest += `&districts=${districts}`);\n structures && (touristicContentsRequest += `&structures=${structures}`);\n themes && (touristicContentsRequest += `&themes=${themes}`);\n portals && (touristicContentsRequest += `&portals=${portals}`);\n\n touristicContentsRequest += `&fields=id,name,attachments,category,geometry,cities,districts`;\n\n return getAllPaginatedResults(touristicContentsRequest, init);\n}\n","import { getAllPaginatedResults } from '../utils/utils';\n\nexport function getTouristicEvent(api, language, touristicEventId, init) {\n return fetch(\n `${api}touristicevent/${touristicEventId}/?language=${language}&fields=id,name,attachments,description,description_teaser,type,geometry,cities,pdf,practical_info,contact,email,website,begin_date,end_date&published=true`,\n init,\n );\n}\n\nexport function getTouristicEventsNearTrek(api, language, trekId, init) {\n return getAllPaginatedResults(`${api}touristicevent/?language=${language}&near_trek=${trekId}&published=true&fields=id,name,attachments,type,geometry`, init);\n}\n\nexport function getTouristicEventsNearOutdoorSite(api, language, outdoorSiteId, init) {\n return getAllPaginatedResults(`${api}touristicevent/?language=${language}&near_outdoorsite=${outdoorSiteId}&published=true&fields=id,name,attachments,type,geometry`, init);\n}\n\nexport function getTouristicEventsNearOutdoorCourse(api, language, outdoorCourseId, init) {\n return getAllPaginatedResults(`${api}touristicevent/?language=${language}&near_outdoorcourse=${outdoorCourseId}&published=true&fields=id,name,attachments,type,geometry`, init);\n}\n\nexport function getTouristicEventType(api, language, portals, init) {\n return getAllPaginatedResults(`${api}touristicevent_type/?language=${language}${portals ? '&portals='.concat(portals) : ''}&published=true&fields=id,type,pictogram`, init);\n}\n\nexport function getTouristicEventsList(api, language, inBbox, cities, districts, structures, themes, portals, init) {\n let touristicEventsRequest = `${api}touristicevent/?language=${language}&published=true`;\n\n inBbox && (touristicEventsRequest += `&in_bbox=${inBbox}`);\n cities && (touristicEventsRequest += `&cities=${cities}`);\n districts && (touristicEventsRequest += `&districts=${districts}`);\n structures && (touristicEventsRequest += `&structures=${structures}`);\n themes && (touristicEventsRequest += `&themes=${themes}`);\n portals && (touristicEventsRequest += `&portals=${portals}`);\n\n touristicEventsRequest += `&fields=id,name,attachments,category,geometry,cities,districts,type,begin_date,end_date`;\n\n return getAllPaginatedResults(touristicEventsRequest, init);\n}\n"],"mappings":"mKAGe,SAASA,WAAWC,G,IACjCC,EAAMD,EAAAC,OACNC,EAAYF,EAAAE,aACZC,EAAEH,EAAAG,GACFC,EAAIJ,EAAAI,KAEJ,IAAMC,EA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,EAASV,GAC5G,IAAIyB,EAAyB,GAAA9I,OAAGkH,EAAG,6BAAAlH,OAA4BmH,EAAQ,mBAEvEc,IAAWa,GAA0B,YAAA9I,OAAYiI,IACjDC,IAAWY,GAA0B,WAAA9I,OAAWkI,IAChDC,IAAcW,GAA0B,cAAA9I,OAAcmI,IACtDC,IAAeU,GAA0B,eAAA9I,OAAeoI,IACxDC,IAAWS,GAA0B,WAAA9I,OAAWqI,IAChDN,IAAYe,GAA0B,YAAA9I,OAAY+H,IAElDe,GAA0B,0FAE1B,OAAOrB,uBAAuBqB,EAAwBzB,EACxD,C","ignoreList":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(o,r,e,i){function n(o){return o instanceof e?o:new e((function(r){r(o)}))}return new(e||(e=Promise))((function(e,a){function t(o){try{l(i.next(o))}catch(o){a(o)}}function c(o){try{l(i["throw"](o))}catch(o){a(o)}}function l(o){o.done?e(o.value):n(o.value).then(t,c)}l((i=i.apply(o,r||[])).next())}))};var __generator=this&&this.__generator||function(o,r){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,t;return t={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(t[Symbol.iterator]=function(){return this}),t;function c(o){return function(r){return l([o,r])}}function l(c){if(i)throw new TypeError("Generator is already executing.");while(t&&(t=0,c[0]&&(e=0)),e)try{if(i=1,n&&(a=c[0]&2?n["return"]:c[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,c[1])).done)return a;if(n=0,a)c=[c[0]&2,a.value];switch(c[0]){case 0:case 1:a=c;break;case 4:e.label++;return{value:c[1],done:false};case 5:e.label++;n=c[1];c=[0];continue;case 7:c=e.ops.pop();e.trys.pop();continue;default:if(!(a=e.trys,a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){e=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){e.label=c[1];break}if(c[0]===6&&e.label<a[1]){e.label=a[1];a=c;break}if(a&&e.label<a[2]){e.label=a[2];e.ops.push(c);break}if(a[2])e.ops.pop();e.trys.pop();continue}c=r.call(o,e)}catch(o){c=[6,o];n=0}finally{i=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};import{p as promiseResolve,d as doc,N as NAMESPACE,b as bootstrapLazy}from"./index-83d78b30.js";export{s as setNonce}from"./index-83d78b30.js";import{g as globalScripts}from"./app-globals-0f993ce5.js";var patchBrowser=function(){var o=Array.from(doc.querySelectorAll("script")).find((function(o){return new RegExp("/".concat(NAMESPACE,"(\\.esm)?\\.js($|\\?|#)")).test(o.src)||o.getAttribute("data-stencil-namespace")===NAMESPACE}));var r=import.meta.url;var e=(o||{})["data-opts"]||{};if(r!==""){e.resourcesUrl=new URL(".",r).href}return promiseResolve(e)};patchBrowser().then((function(o){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:return[4,globalScripts()];case 1:r.sent();return[2,bootstrapLazy(JSON.parse('[["grw-app",[[0,"grw-app",{"appWidth":[1,"app-width"],"appHeight":[1,"app-height"],"api":[1],"languages":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1],"routes":[1],"practices":[1],"labels":[1],"nameLayer":[1,"name-layer"],"urlLayer":[1,"url-layer"],"attributionLayer":[1,"attribution-layer"],"weather":[4],"emergencyNumber":[2,"emergency-number"],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorPrimary":[1,"color-primary"],"colorOnPrimary":[1,"color-on-primary"],"colorSurface":[1,"color-surface"],"colorOnSurface":[1,"color-on-surface"],"colorSurfaceVariant":[1,"color-surface-variant"],"colorOnSurfaceVariant":[1,"color-on-surface-variant"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorBackground":[1,"color-background"],"colorSurfaceContainerHigh":[1,"color-surface-container-high"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"fabBackgroundColor":[1,"fab-background-color"],"fabColor":[1,"fab-color"],"rounded":[4],"colorTrekLine":[1,"color-trek-line"],"colorSensitiveArea":[1,"color-sensitive-area"],"colorMarkers":[8,"color-markers"],"colorClusters":[8,"color-clusters"],"colorOutdoorArea":[1,"color-outdoor-area"],"treks":[4],"touristicContents":[4,"touristic-contents"],"touristicEvents":[4,"touristic-events"],"outdoor":[4],"enableOffline":[4,"enable-offline"],"globalTilesMinZoomOffline":[2,"global-tiles-min-zoom-offline"],"globalTilesMaxZoomOffline":[2,"global-tiles-max-zoom-offline"],"tilesMinZoomOffline":[2,"tiles-min-zoom-offline"],"tilesMaxZoomOffline":[2,"tiles-max-zoom-offline"],"mainMarkerSize":[2,"main-marker-size"],"selectedMainMarkerSize":[2,"selected-main-marker-size"],"mainClusterSize":[2,"main-cluster-size"],"commonMarkerSize":[2,"common-marker-size"],"departureArrivalMarkerSize":[2,"departure-arrival-marker-size"],"pointReferenceMarkerSize":[2,"point-reference-marker-size"],"largeViewSize":[2,"large-view-size"],"elevationHeight":[2,"elevation-height"],"mobileElevationHeight":[2,"mobile-elevation-height"],"signages":[4],"showTrek":[32],"showTouristicContent":[32],"showTouristicEvent":[32],"showOutdoorSite":[32],"showOutdoorCourse":[32],"showOutdoorSiteMap":[32],"showOutdoorCourseMap":[32],"showHomeMap":[32],"showTrekMap":[32],"showTouristicContentMap":[32],"showTouristicEventMap":[32],"showFilters":[32],"isLargeView":[32],"currentTrekId":[32],"currentTouristicContentId":[32],"currentTouristicEventId":[32],"currentOutdoorSiteId":[32],"currentOutdoorCourseId":[32]},[[8,"trekCardPress","onTrekCardPress"],[8,"parentTrekPress","onParentTrekPress"],[8,"touristicContentCardPress","onTouristicContentCardPress"],[8,"touristicEventCardPress","onTouristiceEventCardPress"],[8,"outdoorSiteCardPress","onOutdoorSiteCardPress"],[8,"outdoorCourseCardPress","onOutdoorCourseCardPress"],[9,"resize","onWindowResize"],[8,"centerOnMap","onCenterOnMap"]],{"isLargeView":["watchPropHandler"]}]]],["grw-toggle-slot-visibility",[[4,"grw-toggle-slot-visibility",{"largeViewSize":[2,"large-view-size"],"fontFamily":[1,"font-family"],"fabBackgroundColor":[1,"fab-background-color"],"fabColor":[1,"fab-color"],"slotEndHeight":[1,"slot-end-height"],"isLargeView":[32],"showStartSlot":[32],"showEndSlot":[32]},[[9,"resize","onWindowResize"]]]]],["grw-outdoor-courses-provider",[[1,"grw-outdoor-courses-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1]}]]],["grw-extended-fab",[[1,"grw-extended-fab",{"action":[16],"icon":[16],"name":[16],"display":[1],"fontFamily":[1,"font-family"],"fabBackgroundColor":[1,"fab-background-color"],"fabColor":[1,"fab-color"]}]]],["grw-fab",[[1,"grw-fab",{"action":[16],"icon":[16],"showTitle":[1,"show-title"],"hideTitle":[1,"hide-title"],"fontFamily":[1,"font-family"],"fabBackgroundColor":[1,"fab-background-color"],"fabColor":[1,"fab-color"]}]]],["grw-filter",[[1,"grw-filter",{"fontFamily":[1,"font-family"],"filterType":[1,"filter-type"],"filterName":[1,"filter-name"],"filterPlaceholder":[1,"filter-placeholder"],"filterNameProperty":[1,"filter-name-property"],"segment":[1]},[[8,"resetFilter","onResetFilter"]]]]],["grw-sensitive-area-detail_2",[[1,"grw-sensitive-area-detail",{"sensitiveArea":[16]}],[1,"grw-trek-card",{"trek":[16],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"isStep":[4,"is-step"],"grwApp":[4,"grw-app"],"currentTrek":[32],"difficulty":[32],"route":[32],"practice":[32],"themes":[32],"departureCity":[32],"isAvailableOffline":[32],"showDefaultImage":[32]},[[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"],[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]]]],["grw-poi_3",[[1,"grw-poi",{"poi":[16],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"displayShortDescription":[32],"showPoiDescriptionButton":[32],"displayFullscreen":[32],"offline":[32]},[[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"]]],[1,"grw-touristic-content-card",{"fontFamily":[1,"font-family"],"touristicContent":[16],"isLargeView":[4,"is-large-view"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"displayFullscreen":[32],"offline":[32]},[[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"],[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]],[1,"grw-touristic-event-card",{"fontFamily":[1,"font-family"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"touristicEvent":[16],"isLargeView":[4,"is-large-view"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"displayFullscreen":[32],"offline":[32]},[[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"],[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]]]],["grw-details-modal_8",[[1,"grw-outdoor-course-card",{"outdoorCourse":[16],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"offline":[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]],[4,"grw-details-modal",{"fontFamily":[1,"font-family"],"colorBackground":[1,"color-background"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"rounded":[4]}],[1,"grw-information-desk",{"informationDesk":[16],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"displayShortDescription":[32],"showInformationDeskDescriptionButton":[32],"offline":[32],"showDefaultImage":[32]}],[1,"grw-outdoor-site-card",{"outdoorSite":[16],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"offline":[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]],[1,"grw-touristic-content-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"grwApp":[4,"grw-app"],"displayFullscreen":[32],"offline":[32]}],[1,"grw-touristic-content-provider",{"languages":[1],"api":[1],"touristicContentId":[2,"touristic-content-id"],"portals":[1]}],[1,"grw-touristic-event-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"grwApp":[4,"grw-app"],"displayFullscreen":[32],"offline":[32]}],[1,"grw-touristic-event-provider",{"languages":[1],"api":[1],"touristicEventId":[2,"touristic-event-id"],"portals":[1]}]]],["grw-common-button_23",[[1,"grw-outdoor-site-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"weather":[4],"enableOffline":[4,"enable-offline"],"defaultBackgroundLayerUrl":[8,"default-background-layer-url"],"defaultBackgroundLayerAttribution":[8,"default-background-layer-attribution"],"globalTilesMinZoomOffline":[2,"global-tiles-min-zoom-offline"],"globalTilesMaxZoomOffline":[2,"global-tiles-max-zoom-offline"],"tilesMinZoomOffline":[2,"tiles-min-zoom-offline"],"tilesMaxZoomOffline":[2,"tiles-max-zoom-offline"],"grwApp":[4,"grw-app"],"rounded":[4],"offline":[32],"displayFullscreen":[32],"currentOutdoorSite":[32],"sources":[32],"showTouristicContentDetailsModal":[32],"showTouristicEventDetailsModal":[32],"modalDetailsId":[32]},[[8,"closeDetailsModal","onCloseDetailsModal"],[8,"touristicEventCardPress","onTouristiceEventCardPress"],[8,"touristicContentCardPress","onTouristicContentCardPress"],[8,"downloadPress","onDownloadPress"],[8,"deletePress","onDeletePress"]]],[1,"grw-trek-detail",{"emergencyNumber":[2,"emergency-number"],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"rounded":[4],"weather":[4],"isLargeView":[4,"is-large-view"],"defaultBackgroundLayerUrl":[8,"default-background-layer-url"],"defaultBackgroundLayerAttribution":[8,"default-background-layer-attribution"],"enableOffline":[4,"enable-offline"],"globalTilesMinZoomOffline":[2,"global-tiles-min-zoom-offline"],"globalTilesMaxZoomOffline":[2,"global-tiles-max-zoom-offline"],"tilesMinZoomOffline":[2,"tiles-min-zoom-offline"],"tilesMaxZoomOffline":[2,"tiles-max-zoom-offline"],"grwApp":[4,"grw-app"],"currentTrek":[32],"difficulty":[32],"route":[32],"practice":[32],"themes":[32],"labels":[32],"sources":[32],"accessibilities":[32],"accessibilityLevel":[32],"displayFullscreen":[32],"cities":[32],"options":[32],"offline":[32],"showTouristicContentDetailsModal":[32],"showTouristicEventDetailsModal":[32],"modalDetailsId":[32]},[[8,"closeDetailsModal","onCloseDetailsModal"],[8,"touristicEventCardPress","onTouristiceEventCardPress"],[8,"touristicContentCardPress","onTouristicContentCardPress"],[8,"downloadPress","onDownloadPress"],[8,"deletePress","onDeletePress"]]],[1,"grw-outdoor-course-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"weather":[4],"grwApp":[4,"grw-app"],"displayFullscreen":[32],"currentOutdoorCourse":[32],"offline":[32]}],[1,"grw-filters",{"handleFilters":[16],"fontFamily":[1,"font-family"],"selectedSegment":[32]}],[1,"grw-map",{"nameLayer":[1,"name-layer"],"urlLayer":[1,"url-layer"],"attributionLayer":[1,"attribution-layer"],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorBackground":[1,"color-background"],"colorTrekLine":[1,"color-trek-line"],"colorSensitiveArea":[1,"color-sensitive-area"],"colorMarkers":[8,"color-markers"],"colorClusters":[8,"color-clusters"],"colorOutdoorArea":[1,"color-outdoor-area"],"tilesMaxZoomOffline":[2,"tiles-max-zoom-offline"],"grwApp":[4,"grw-app"],"mainMarkerSize":[2,"main-marker-size"],"selectedMainMarkerSize":[2,"selected-main-marker-size"],"mainClusterSize":[2,"main-cluster-size"],"commonMarkerSize":[2,"common-marker-size"],"departureArrivalMarkerSize":[2,"departure-arrival-marker-size"],"pointReferenceMarkerSize":[2,"point-reference-marker-size"],"elevationHeight":[2,"elevation-height"],"mobileElevationHeight":[2,"mobile-elevation-height"],"largeViewSize":[2,"large-view-size"],"elevationDefaultState":[1,"elevation-default-state"],"isLargeView":[4,"is-large-view"],"fabBackgroundColor":[1,"fab-background-color"],"fabColor":[1,"fab-color"],"mapIsReady":[32]},[[8,"centerOnMap","onCenterOnMap"],[8,"stepsIsInViewport","stepsIsInViewport"],[8,"descriptionIsInViewport","descriptionIsInViewport"],[8,"parkingIsInViewport","parkingIsInViewport"],[8,"informationPlacesIsInViewport","onInformationPlacesIsInViewport"],[8,"sensitiveAreaIsInViewport","sensitiveAreaIsInViewport"],[8,"poiIsInViewport","poiIsInViewport"],[8,"touristicContentsIsInViewport","touristicContentsIsInViewport"],[8,"touristicEventsIsInViewport","touristicEventsIsInViewport"],[8,"sitesIsInViewport","sitesIsInViewport"],[8,"coursesIsInViewport","coursesIsInViewport"],[8,"cardTrekMouseOver","onCardTrekMouseOver"],[8,"cardTrekMouseLeave","onCardTrekMouseLeave"],[8,"cardTouristicContentMouseOver","onTouristicContentMouseOver"],[8,"cardTouristicContentMouseLeave","onTouristicContentMouseLeave"],[8,"cardTouristicEventMouseOver","onTouristicEventMouseOver"],[8,"cardTouristicEventMouseLeave","onTouristicEventMouseLeave"],[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"],[8,"cardOutdoorSiteMouseOver","onOutdoorSiteMouseOver"],[8,"cardOutdoorSiteMouseLeave","onOutdoorSiteMouseLeave"],[9,"resize","onWindowResize"]]],[1,"grw-outdoor-sites-list",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"outdoorSitesToDisplay":[32]}],[1,"grw-touristic-contents-list",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"touristicContentsToDisplay":[32]}],[1,"grw-touristic-events-list",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"touristicEventsToDisplay":[32]}],[1,"grw-treks-list",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"displayOnlyOfflineTreks":[4,"display-only-offline-treks"],"isLargeView":[4,"is-large-view"],"grwApp":[4,"grw-app"],"treksToDisplay":[32]}],[1,"grw-common-button",{"action":[16],"icon":[1],"name":[1],"fontFamily":[1,"font-family"]}],[1,"grw-loader",{"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"]}],[1,"grw-offline-confirm-modal",{"mode":[1],"showOfflineModal":[32],"showConfirmModal":[32],"showLoaderModal":[32],"showSuccessModal":[32],"showErrorModal":[32],"showConfirmDeleteModal":[32],"showDeletingMessage":[32],"showDeleteSuccessMessage":[32]},[[8,"downloadConfirm","onDownloadConfirm"],[8,"downloadedSuccessConfirm","onDownloadedSuccessConfirm"],[8,"downloadedErrorConfirm","downloadedErrorConfirm"],[8,"deleteConfirm","onDeleteConfirm"],[8,"deleteSuccessConfirm","onDeleteSuccessConfirm"],[8,"deleteErrorConfirm","deleteErrorConfirm"]]],[1,"grw-outdoor-course-provider",{"languages":[1],"api":[1],"outdoorCourseId":[2,"outdoor-course-id"],"portals":[1]}],[1,"grw-outdoor-site-provider",{"languages":[1],"api":[1],"outdoorSiteId":[2,"outdoor-site-id"],"portals":[1]}],[1,"grw-outdoor-sites-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1],"offline":[4]}],[1,"grw-search",{"fontFamily":[1,"font-family"]}],[1,"grw-segmented-segment",{"treks":[4],"touristicContents":[4,"touristic-contents"],"touristicEvents":[4,"touristic-events"],"outdoor":[4],"fontFamily":[1,"font-family"]}],[1,"grw-select-language"],[1,"grw-switch",{"action":[16],"fontFamily":[1,"font-family"],"checked":[4]}],[1,"grw-touristic-contents-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1]}],[1,"grw-touristic-events-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1]}],[1,"grw-trek-provider",{"languages":[1],"api":[1],"trekId":[2,"trek-id"],"portals":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"routes":[1],"practices":[1],"labels":[1],"signages":[4]}],[1,"grw-treks-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1],"routes":[1],"practices":[1],"labels":[1],"offline":[4]}]]]]'),o)]}}))}))}));
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(o,r,e,i){function n(o){return o instanceof e?o:new e((function(r){r(o)}))}return new(e||(e=Promise))((function(e,a){function t(o){try{l(i.next(o))}catch(o){a(o)}}function c(o){try{l(i["throw"](o))}catch(o){a(o)}}function l(o){o.done?e(o.value):n(o.value).then(t,c)}l((i=i.apply(o,r||[])).next())}))};var __generator=this&&this.__generator||function(o,r){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,t;return t={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(t[Symbol.iterator]=function(){return this}),t;function c(o){return function(r){return l([o,r])}}function l(c){if(i)throw new TypeError("Generator is already executing.");while(t&&(t=0,c[0]&&(e=0)),e)try{if(i=1,n&&(a=c[0]&2?n["return"]:c[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,c[1])).done)return a;if(n=0,a)c=[c[0]&2,a.value];switch(c[0]){case 0:case 1:a=c;break;case 4:e.label++;return{value:c[1],done:false};case 5:e.label++;n=c[1];c=[0];continue;case 7:c=e.ops.pop();e.trys.pop();continue;default:if(!(a=e.trys,a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){e=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){e.label=c[1];break}if(c[0]===6&&e.label<a[1]){e.label=a[1];a=c;break}if(a&&e.label<a[2]){e.label=a[2];e.ops.push(c);break}if(a[2])e.ops.pop();e.trys.pop();continue}c=r.call(o,e)}catch(o){c=[6,o];n=0}finally{i=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};import{p as promiseResolve,d as doc,N as NAMESPACE,b as bootstrapLazy}from"./index-83d78b30.js";export{s as setNonce}from"./index-83d78b30.js";import{g as globalScripts}from"./app-globals-0f993ce5.js";var patchBrowser=function(){var o=Array.from(doc.querySelectorAll("script")).find((function(o){return new RegExp("/".concat(NAMESPACE,"(\\.esm)?\\.js($|\\?|#)")).test(o.src)||o.getAttribute("data-stencil-namespace")===NAMESPACE}));var r=import.meta.url;var e=(o||{})["data-opts"]||{};if(r!==""){e.resourcesUrl=new URL(".",r).href}return promiseResolve(e)};patchBrowser().then((function(o){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:return[4,globalScripts()];case 1:r.sent();return[2,bootstrapLazy(JSON.parse('[["grw-app",[[0,"grw-app",{"appWidth":[1,"app-width"],"appHeight":[1,"app-height"],"api":[1],"languages":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1],"routes":[1],"practices":[1],"labels":[1],"nameLayer":[1,"name-layer"],"urlLayer":[1,"url-layer"],"attributionLayer":[1,"attribution-layer"],"weather":[4],"emergencyNumber":[2,"emergency-number"],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorPrimary":[1,"color-primary"],"colorOnPrimary":[1,"color-on-primary"],"colorSurface":[1,"color-surface"],"colorOnSurface":[1,"color-on-surface"],"colorSurfaceVariant":[1,"color-surface-variant"],"colorOnSurfaceVariant":[1,"color-on-surface-variant"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorBackground":[1,"color-background"],"colorSurfaceContainerHigh":[1,"color-surface-container-high"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"fabBackgroundColor":[1,"fab-background-color"],"fabColor":[1,"fab-color"],"rounded":[4],"colorTrekLine":[1,"color-trek-line"],"colorSensitiveArea":[1,"color-sensitive-area"],"colorMarkers":[8,"color-markers"],"colorClusters":[8,"color-clusters"],"colorOutdoorArea":[1,"color-outdoor-area"],"treks":[4],"touristicContents":[4,"touristic-contents"],"touristicEvents":[4,"touristic-events"],"outdoor":[4],"enableOffline":[4,"enable-offline"],"globalTilesMinZoomOffline":[2,"global-tiles-min-zoom-offline"],"globalTilesMaxZoomOffline":[2,"global-tiles-max-zoom-offline"],"tilesMinZoomOffline":[2,"tiles-min-zoom-offline"],"tilesMaxZoomOffline":[2,"tiles-max-zoom-offline"],"mainMarkerSize":[2,"main-marker-size"],"selectedMainMarkerSize":[2,"selected-main-marker-size"],"mainClusterSize":[2,"main-cluster-size"],"commonMarkerSize":[2,"common-marker-size"],"departureArrivalMarkerSize":[2,"departure-arrival-marker-size"],"pointReferenceMarkerSize":[2,"point-reference-marker-size"],"largeViewSize":[2,"large-view-size"],"elevationHeight":[2,"elevation-height"],"mobileElevationHeight":[2,"mobile-elevation-height"],"signages":[4],"showTrek":[32],"showTouristicContent":[32],"showTouristicEvent":[32],"showOutdoorSite":[32],"showOutdoorCourse":[32],"showOutdoorSiteMap":[32],"showOutdoorCourseMap":[32],"showHomeMap":[32],"showTrekMap":[32],"showTouristicContentMap":[32],"showTouristicEventMap":[32],"showFilters":[32],"isLargeView":[32],"currentTrekId":[32],"currentTouristicContentId":[32],"currentTouristicEventId":[32],"currentOutdoorSiteId":[32],"currentOutdoorCourseId":[32]},[[8,"trekCardPress","onTrekCardPress"],[8,"parentTrekPress","onParentTrekPress"],[8,"touristicContentCardPress","onTouristicContentCardPress"],[8,"touristicEventCardPress","onTouristiceEventCardPress"],[8,"outdoorSiteCardPress","onOutdoorSiteCardPress"],[8,"outdoorCourseCardPress","onOutdoorCourseCardPress"],[9,"resize","onWindowResize"],[8,"centerOnMap","onCenterOnMap"]],{"isLargeView":["watchPropHandler"]}]]],["grw-toggle-slot-visibility",[[4,"grw-toggle-slot-visibility",{"largeViewSize":[2,"large-view-size"],"fontFamily":[1,"font-family"],"fabBackgroundColor":[1,"fab-background-color"],"fabColor":[1,"fab-color"],"slotEndHeight":[1,"slot-end-height"],"isLargeView":[32],"showStartSlot":[32],"showEndSlot":[32]},[[9,"resize","onWindowResize"]]]]],["grw-outdoor-courses-provider",[[1,"grw-outdoor-courses-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1]}]]],["grw-extended-fab",[[1,"grw-extended-fab",{"action":[16],"icon":[16],"name":[16],"display":[1],"fontFamily":[1,"font-family"],"fabBackgroundColor":[1,"fab-background-color"],"fabColor":[1,"fab-color"]}]]],["grw-fab",[[1,"grw-fab",{"action":[16],"icon":[16],"showTitle":[1,"show-title"],"hideTitle":[1,"hide-title"],"fontFamily":[1,"font-family"],"fabBackgroundColor":[1,"fab-background-color"],"fabColor":[1,"fab-color"]}]]],["grw-filter",[[1,"grw-filter",{"fontFamily":[1,"font-family"],"filterType":[1,"filter-type"],"filterName":[1,"filter-name"],"filterPlaceholder":[1,"filter-placeholder"],"filterNameProperty":[1,"filter-name-property"],"segment":[1]},[[8,"resetFilter","onResetFilter"]]]]],["grw-sensitive-area-detail_2",[[1,"grw-sensitive-area-detail",{"sensitiveArea":[16]}],[1,"grw-trek-card",{"trek":[16],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"isStep":[4,"is-step"],"grwApp":[4,"grw-app"],"currentTrek":[32],"difficulty":[32],"route":[32],"practice":[32],"themes":[32],"departureCity":[32],"isAvailableOffline":[32],"showDefaultImage":[32]},[[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"],[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]]]],["grw-poi_3",[[1,"grw-poi",{"poi":[16],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"displayShortDescription":[32],"showPoiDescriptionButton":[32],"displayFullscreen":[32],"offline":[32]},[[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"]]],[1,"grw-touristic-content-card",{"fontFamily":[1,"font-family"],"touristicContent":[16],"isLargeView":[4,"is-large-view"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"displayFullscreen":[32],"offline":[32]},[[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"],[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]],[1,"grw-touristic-event-card",{"fontFamily":[1,"font-family"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"touristicEvent":[16],"isLargeView":[4,"is-large-view"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"displayFullscreen":[32],"offline":[32]},[[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"],[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]]]],["grw-details-modal_8",[[1,"grw-outdoor-course-card",{"outdoorCourse":[16],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"offline":[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]],[4,"grw-details-modal",{"fontFamily":[1,"font-family"],"colorBackground":[1,"color-background"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"rounded":[4]}],[1,"grw-information-desk",{"informationDesk":[16],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"displayShortDescription":[32],"showInformationDeskDescriptionButton":[32],"offline":[32],"showDefaultImage":[32]}],[1,"grw-outdoor-site-card",{"outdoorSite":[16],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"offline":[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]],[1,"grw-touristic-content-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"grwApp":[4,"grw-app"],"displayFullscreen":[32],"offline":[32]}],[1,"grw-touristic-content-provider",{"languages":[1],"api":[1],"touristicContentId":[2,"touristic-content-id"],"portals":[1]}],[1,"grw-touristic-event-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"grwApp":[4,"grw-app"],"displayFullscreen":[32],"offline":[32]}],[1,"grw-touristic-event-provider",{"languages":[1],"api":[1],"touristicEventId":[2,"touristic-event-id"],"portals":[1]}]]],["grw-common-button_23",[[1,"grw-outdoor-site-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"weather":[4],"enableOffline":[4,"enable-offline"],"defaultBackgroundLayerUrl":[8,"default-background-layer-url"],"defaultBackgroundLayerAttribution":[8,"default-background-layer-attribution"],"globalTilesMinZoomOffline":[2,"global-tiles-min-zoom-offline"],"globalTilesMaxZoomOffline":[2,"global-tiles-max-zoom-offline"],"tilesMinZoomOffline":[2,"tiles-min-zoom-offline"],"tilesMaxZoomOffline":[2,"tiles-max-zoom-offline"],"grwApp":[4,"grw-app"],"rounded":[4],"offline":[32],"displayFullscreen":[32],"currentOutdoorSite":[32],"sources":[32],"showTouristicContentDetailsModal":[32],"showTouristicEventDetailsModal":[32],"modalDetailsId":[32]},[[8,"closeDetailsModal","onCloseDetailsModal"],[8,"touristicEventCardPress","onTouristiceEventCardPress"],[8,"touristicContentCardPress","onTouristicContentCardPress"],[8,"downloadPress","onDownloadPress"],[8,"deletePress","onDeletePress"]]],[1,"grw-trek-detail",{"emergencyNumber":[2,"emergency-number"],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"rounded":[4],"weather":[4],"isLargeView":[4,"is-large-view"],"defaultBackgroundLayerUrl":[8,"default-background-layer-url"],"defaultBackgroundLayerAttribution":[8,"default-background-layer-attribution"],"enableOffline":[4,"enable-offline"],"globalTilesMinZoomOffline":[2,"global-tiles-min-zoom-offline"],"globalTilesMaxZoomOffline":[2,"global-tiles-max-zoom-offline"],"tilesMinZoomOffline":[2,"tiles-min-zoom-offline"],"tilesMaxZoomOffline":[2,"tiles-max-zoom-offline"],"grwApp":[4,"grw-app"],"currentTrek":[32],"difficulty":[32],"route":[32],"practice":[32],"themes":[32],"labels":[32],"sources":[32],"accessibilities":[32],"accessibilityLevel":[32],"displayFullscreen":[32],"cities":[32],"options":[32],"offline":[32],"showTouristicContentDetailsModal":[32],"showTouristicEventDetailsModal":[32],"modalDetailsId":[32]},[[8,"closeDetailsModal","onCloseDetailsModal"],[8,"touristicEventCardPress","onTouristiceEventCardPress"],[8,"touristicContentCardPress","onTouristicContentCardPress"],[8,"downloadPress","onDownloadPress"],[8,"deletePress","onDeletePress"]]],[1,"grw-outdoor-course-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"weather":[4],"grwApp":[4,"grw-app"],"displayFullscreen":[32],"currentOutdoorCourse":[32],"offline":[32]}],[1,"grw-filters",{"handleFilters":[16],"fontFamily":[1,"font-family"],"selectedSegment":[32]}],[1,"grw-map",{"maxZoom":[2,"max-zoom"],"nameLayer":[1,"name-layer"],"urlLayer":[1,"url-layer"],"attributionLayer":[1,"attribution-layer"],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorBackground":[1,"color-background"],"colorTrekLine":[1,"color-trek-line"],"colorSensitiveArea":[1,"color-sensitive-area"],"colorMarkers":[8,"color-markers"],"colorClusters":[8,"color-clusters"],"colorOutdoorArea":[1,"color-outdoor-area"],"tilesMaxZoomOffline":[2,"tiles-max-zoom-offline"],"grwApp":[4,"grw-app"],"mainMarkerSize":[2,"main-marker-size"],"selectedMainMarkerSize":[2,"selected-main-marker-size"],"mainClusterSize":[2,"main-cluster-size"],"commonMarkerSize":[2,"common-marker-size"],"departureArrivalMarkerSize":[2,"departure-arrival-marker-size"],"pointReferenceMarkerSize":[2,"point-reference-marker-size"],"elevationHeight":[2,"elevation-height"],"mobileElevationHeight":[2,"mobile-elevation-height"],"largeViewSize":[2,"large-view-size"],"elevationDefaultState":[1,"elevation-default-state"],"isLargeView":[4,"is-large-view"],"fabBackgroundColor":[1,"fab-background-color"],"fabColor":[1,"fab-color"],"mapIsReady":[32]},[[8,"centerOnMap","onCenterOnMap"],[8,"stepsIsInViewport","stepsIsInViewport"],[8,"descriptionIsInViewport","descriptionIsInViewport"],[8,"parkingIsInViewport","parkingIsInViewport"],[8,"informationPlacesIsInViewport","onInformationPlacesIsInViewport"],[8,"sensitiveAreaIsInViewport","sensitiveAreaIsInViewport"],[8,"poiIsInViewport","poiIsInViewport"],[8,"touristicContentsIsInViewport","touristicContentsIsInViewport"],[8,"touristicEventsIsInViewport","touristicEventsIsInViewport"],[8,"sitesIsInViewport","sitesIsInViewport"],[8,"coursesIsInViewport","coursesIsInViewport"],[8,"cardTrekMouseOver","onCardTrekMouseOver"],[8,"cardTrekMouseLeave","onCardTrekMouseLeave"],[8,"cardTouristicContentMouseOver","onTouristicContentMouseOver"],[8,"cardTouristicContentMouseLeave","onTouristicContentMouseLeave"],[8,"cardTouristicEventMouseOver","onTouristicEventMouseOver"],[8,"cardTouristicEventMouseLeave","onTouristicEventMouseLeave"],[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"],[8,"cardOutdoorSiteMouseOver","onOutdoorSiteMouseOver"],[8,"cardOutdoorSiteMouseLeave","onOutdoorSiteMouseLeave"],[9,"resize","onWindowResize"]]],[1,"grw-outdoor-sites-list",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"outdoorSitesToDisplay":[32]}],[1,"grw-touristic-contents-list",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"touristicContentsToDisplay":[32]}],[1,"grw-touristic-events-list",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"touristicEventsToDisplay":[32]}],[1,"grw-treks-list",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"displayOnlyOfflineTreks":[4,"display-only-offline-treks"],"isLargeView":[4,"is-large-view"],"grwApp":[4,"grw-app"],"treksToDisplay":[32]}],[1,"grw-common-button",{"action":[16],"icon":[1],"name":[1],"fontFamily":[1,"font-family"]}],[1,"grw-loader",{"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"]}],[1,"grw-offline-confirm-modal",{"mode":[1],"showOfflineModal":[32],"showConfirmModal":[32],"showLoaderModal":[32],"showSuccessModal":[32],"showErrorModal":[32],"showConfirmDeleteModal":[32],"showDeletingMessage":[32],"showDeleteSuccessMessage":[32]},[[8,"downloadConfirm","onDownloadConfirm"],[8,"downloadedSuccessConfirm","onDownloadedSuccessConfirm"],[8,"downloadedErrorConfirm","downloadedErrorConfirm"],[8,"deleteConfirm","onDeleteConfirm"],[8,"deleteSuccessConfirm","onDeleteSuccessConfirm"],[8,"deleteErrorConfirm","deleteErrorConfirm"]]],[1,"grw-outdoor-course-provider",{"languages":[1],"api":[1],"outdoorCourseId":[2,"outdoor-course-id"],"portals":[1]}],[1,"grw-outdoor-site-provider",{"languages":[1],"api":[1],"outdoorSiteId":[2,"outdoor-site-id"],"portals":[1]}],[1,"grw-outdoor-sites-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1],"offline":[4]}],[1,"grw-search",{"fontFamily":[1,"font-family"]}],[1,"grw-segmented-segment",{"treks":[4],"touristicContents":[4,"touristic-contents"],"touristicEvents":[4,"touristic-events"],"outdoor":[4],"fontFamily":[1,"font-family"]}],[1,"grw-select-language"],[1,"grw-switch",{"action":[16],"fontFamily":[1,"font-family"],"checked":[4]}],[1,"grw-touristic-contents-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1]}],[1,"grw-touristic-events-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1]}],[1,"grw-trek-provider",{"languages":[1],"api":[1],"trekId":[2,"trek-id"],"portals":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"routes":[1],"practices":[1],"labels":[1],"signages":[4]}],[1,"grw-treks-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1],"routes":[1],"practices":[1],"labels":[1],"offline":[4]}]]]]'),o)]}}))}))}));
|
|
2
2
|
//# sourceMappingURL=geotrek-rando-widget.js.map
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["patchBrowser","scriptElm","Array","from","doc","querySelectorAll","find","s","RegExp","concat","NAMESPACE","test","src","getAttribute","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","__awaiter","globalScripts","_a","sent","bootstrapLazy","JSON","parse"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.23.1 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, doc, H, promiseResolve } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? Array.from(doc.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"upDAOA,IAAIA,aAAe,WAOjB,IAAMC,EAAmCC,MAAMC,KAAKC,IAAIC,iBAAiB,WAAWC,MAClF,SAACC,GAAM,WAAIC,OAAO,IAAAC,OAAIC,UAAS,4BAA2BC,KAAKJ,EAAEK,MAAQL,EAAEM,aAAa,4BAA8BH,SAA/G,IAET,IAAMI,cAAyBC,IAC/B,IAAMC,GAA+Bf,GAAa,IAAI,cAAgB,GACtE,GAAIa,IAAe,GAAI,CACrBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACjD,CACE,OAAOC,eAAeJ,EACxB,ECnBAhB,eAAeqB,MAAK,SAAOC,GAAO,OAAAC,eAAA,4B,4DAChC,SAAMC,iB,OAANC,EAAAC,OACA,SAAOC,cAAcC,KAAAC,MAAA,
|
|
1
|
+
{"version":3,"names":["patchBrowser","scriptElm","Array","from","doc","querySelectorAll","find","s","RegExp","concat","NAMESPACE","test","src","getAttribute","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","__awaiter","globalScripts","_a","sent","bootstrapLazy","JSON","parse"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.23.1 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, doc, H, promiseResolve } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? Array.from(doc.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"upDAOA,IAAIA,aAAe,WAOjB,IAAMC,EAAmCC,MAAMC,KAAKC,IAAIC,iBAAiB,WAAWC,MAClF,SAACC,GAAM,WAAIC,OAAO,IAAAC,OAAIC,UAAS,4BAA2BC,KAAKJ,EAAEK,MAAQL,EAAEM,aAAa,4BAA8BH,SAA/G,IAET,IAAMI,cAAyBC,IAC/B,IAAMC,GAA+Bf,GAAa,IAAI,cAAgB,GACtE,GAAIa,IAAe,GAAI,CACrBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACjD,CACE,OAAOC,eAAeJ,EACxB,ECnBAhB,eAAeqB,MAAK,SAAOC,GAAO,OAAAC,eAAA,4B,4DAChC,SAAMC,iB,OAANC,EAAAC,OACA,SAAOC,cAAcC,KAAAC,MAAA,0mmBAAuCP,I","ignoreList":[]}
|