@geotrekce/geotrek-rando-widget 0.0.9 → 0.0.10

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.
@@ -14258,8 +14258,8 @@ const GrwMap = class {
14258
14258
  this.addTrek();
14259
14259
  }
14260
14260
  else if (store.state.currentTreks) {
14261
- this.addTreks();
14262
14261
  this.removeTrek();
14262
+ this.addTreks();
14263
14263
  }
14264
14264
  });
14265
14265
  store.onChange('currentTrek', () => {
@@ -14268,8 +14268,8 @@ const GrwMap = class {
14268
14268
  this.addTrek();
14269
14269
  }
14270
14270
  else {
14271
- this.addTreks();
14272
14271
  this.removeTrek();
14272
+ this.addTreks();
14273
14273
  }
14274
14274
  });
14275
14275
  }
@@ -14357,7 +14357,9 @@ const GrwMap = class {
14357
14357
  }
14358
14358
  }
14359
14359
  handleTreksWithinBounds() {
14360
- store.state.treksWithinBounds = store.state.currentTreks.filter(trek => this.map.getBounds().contains(leafletSrc.latLng(trek.departure_geom[1], trek.departure_geom[0])));
14360
+ if (!store.state.currentMapTreksBounds || store.state.currentMapTreksBounds.toBBoxString() !== this.map.getBounds().toBBoxString()) {
14361
+ store.state.treksWithinBounds = store.state.currentTreks.filter(trek => this.map.getBounds().contains(leafletSrc.latLng(trek.departure_geom[1], trek.departure_geom[0])));
14362
+ }
14361
14363
  }
14362
14364
  addTrek() {
14363
14365
  const currentTrekFeature = {
@@ -14755,19 +14757,22 @@ const GrwTreksList = class {
14755
14757
  this.isLargeView = false;
14756
14758
  this.step = 10;
14757
14759
  this.handleInfiniteScrollBind = this.handleInfiniteScroll.bind(this);
14760
+ this.shouldAddInfiniteScrollEvent = true;
14758
14761
  }
14759
14762
  connectedCallback() {
14760
- this.element.addEventListener('scroll', this.handleInfiniteScrollBind);
14763
+ this.handleInfiniteScrollEvent(true);
14761
14764
  if (store.state.currentTreks) {
14762
14765
  this.treksToDisplay = [...store.state.currentTreks.slice(0, this.step)];
14763
14766
  }
14764
14767
  store.onChange('currentTreks', () => {
14768
+ this.handleInfiniteScrollEvent(true);
14765
14769
  this.element.scroll({ top: 0 });
14766
14770
  if (store.state.currentTreks) {
14767
14771
  this.treksToDisplay = [...store.state.currentTreks.slice(0, this.step)];
14768
14772
  }
14769
14773
  });
14770
14774
  store.onChange('treksWithinBounds', () => {
14775
+ this.handleInfiniteScrollEvent(true);
14771
14776
  this.element.scroll({ top: 0 });
14772
14777
  if (store.state.treksWithinBounds) {
14773
14778
  this.treksToDisplay = [...store.state.treksWithinBounds.slice(0, this.step)];
@@ -14780,12 +14785,24 @@ const GrwTreksList = class {
14780
14785
  this.treksToDisplay = store.state.treksWithinBounds.slice(0, this.treksToDisplay.length + this.step >= store.state.treksWithinBounds.length ? store.state.treksWithinBounds.length : this.treksToDisplay.length + this.step);
14781
14786
  }
14782
14787
  else {
14783
- this.element.removeEventListener('scroll', this.handleInfiniteScrollBind);
14788
+ this.handleInfiniteScrollEvent(false);
14784
14789
  }
14785
14790
  }
14786
14791
  }
14792
+ handleInfiniteScrollEvent(shouldAddInfiniteScrollEvent) {
14793
+ if (shouldAddInfiniteScrollEvent) {
14794
+ if (this.shouldAddInfiniteScrollEvent) {
14795
+ this.element.addEventListener('scroll', this.handleInfiniteScrollBind);
14796
+ this.shouldAddInfiniteScrollEvent = !shouldAddInfiniteScrollEvent;
14797
+ }
14798
+ }
14799
+ else {
14800
+ this.element.removeEventListener('scroll', this.handleInfiniteScrollBind);
14801
+ this.shouldAddInfiniteScrollEvent = !shouldAddInfiniteScrollEvent;
14802
+ }
14803
+ }
14787
14804
  disconnectedCallback() {
14788
- this.element.removeEventListener('scroll', this.handleInfiniteScrollBind);
14805
+ this.handleInfiniteScrollEvent(false);
14789
14806
  }
14790
14807
  render() {
14791
14808
  return (index.h(index.Host, { style: { '--color-primary': this.colorPrimary, '--color-primary-tint': this.colorPrimaryTint } }, this.treksToDisplay.map(trek => (index.h("grw-trek-card", { key: `trek-${trek.id}`, trek: trek, "is-large-view": this.isLargeView, "color-primary": this.colorPrimary, "color-primary-tint": this.colorPrimaryTint })))));
@@ -38,8 +38,8 @@ export class GrwMap {
38
38
  this.addTrek();
39
39
  }
40
40
  else if (state.currentTreks) {
41
- this.addTreks();
42
41
  this.removeTrek();
42
+ this.addTreks();
43
43
  }
44
44
  });
45
45
  onChange('currentTrek', () => {
@@ -48,8 +48,8 @@ export class GrwMap {
48
48
  this.addTrek();
49
49
  }
50
50
  else {
51
- this.addTreks();
52
51
  this.removeTrek();
52
+ this.addTreks();
53
53
  }
54
54
  });
55
55
  }
@@ -137,7 +137,9 @@ export class GrwMap {
137
137
  }
138
138
  }
139
139
  handleTreksWithinBounds() {
140
- state.treksWithinBounds = state.currentTreks.filter(trek => this.map.getBounds().contains(L.latLng(trek.departure_geom[1], trek.departure_geom[0])));
140
+ if (!state.currentMapTreksBounds || state.currentMapTreksBounds.toBBoxString() !== this.map.getBounds().toBBoxString()) {
141
+ state.treksWithinBounds = state.currentTreks.filter(trek => this.map.getBounds().contains(L.latLng(trek.departure_geom[1], trek.departure_geom[0])));
142
+ }
141
143
  }
142
144
  addTrek() {
143
145
  const currentTrekFeature = {
@@ -8,19 +8,22 @@ export class GrwTreksList {
8
8
  this.isLargeView = false;
9
9
  this.step = 10;
10
10
  this.handleInfiniteScrollBind = this.handleInfiniteScroll.bind(this);
11
+ this.shouldAddInfiniteScrollEvent = true;
11
12
  }
12
13
  connectedCallback() {
13
- this.element.addEventListener('scroll', this.handleInfiniteScrollBind);
14
+ this.handleInfiniteScrollEvent(true);
14
15
  if (state.currentTreks) {
15
16
  this.treksToDisplay = [...state.currentTreks.slice(0, this.step)];
16
17
  }
17
18
  onChange('currentTreks', () => {
19
+ this.handleInfiniteScrollEvent(true);
18
20
  this.element.scroll({ top: 0 });
19
21
  if (state.currentTreks) {
20
22
  this.treksToDisplay = [...state.currentTreks.slice(0, this.step)];
21
23
  }
22
24
  });
23
25
  onChange('treksWithinBounds', () => {
26
+ this.handleInfiniteScrollEvent(true);
24
27
  this.element.scroll({ top: 0 });
25
28
  if (state.treksWithinBounds) {
26
29
  this.treksToDisplay = [...state.treksWithinBounds.slice(0, this.step)];
@@ -33,12 +36,24 @@ export class GrwTreksList {
33
36
  this.treksToDisplay = state.treksWithinBounds.slice(0, this.treksToDisplay.length + this.step >= state.treksWithinBounds.length ? state.treksWithinBounds.length : this.treksToDisplay.length + this.step);
34
37
  }
35
38
  else {
36
- this.element.removeEventListener('scroll', this.handleInfiniteScrollBind);
39
+ this.handleInfiniteScrollEvent(false);
37
40
  }
38
41
  }
39
42
  }
43
+ handleInfiniteScrollEvent(shouldAddInfiniteScrollEvent) {
44
+ if (shouldAddInfiniteScrollEvent) {
45
+ if (this.shouldAddInfiniteScrollEvent) {
46
+ this.element.addEventListener('scroll', this.handleInfiniteScrollBind);
47
+ this.shouldAddInfiniteScrollEvent = !shouldAddInfiniteScrollEvent;
48
+ }
49
+ }
50
+ else {
51
+ this.element.removeEventListener('scroll', this.handleInfiniteScrollBind);
52
+ this.shouldAddInfiniteScrollEvent = !shouldAddInfiniteScrollEvent;
53
+ }
54
+ }
40
55
  disconnectedCallback() {
41
- this.element.removeEventListener('scroll', this.handleInfiniteScrollBind);
56
+ this.handleInfiniteScrollEvent(false);
42
57
  }
43
58
  render() {
44
59
  return (h(Host, { style: { '--color-primary': this.colorPrimary, '--color-primary-tint': this.colorPrimaryTint } }, this.treksToDisplay.map(trek => (h("grw-trek-card", { key: `trek-${trek.id}`, trek: trek, "is-large-view": this.isLargeView, "color-primary": this.colorPrimary, "color-primary-tint": this.colorPrimaryTint })))));
@@ -14183,8 +14183,8 @@ const GrwMap = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
14183
14183
  this.addTrek();
14184
14184
  }
14185
14185
  else if (state.currentTreks) {
14186
- this.addTreks();
14187
14186
  this.removeTrek();
14187
+ this.addTreks();
14188
14188
  }
14189
14189
  });
14190
14190
  onChange('currentTrek', () => {
@@ -14193,8 +14193,8 @@ const GrwMap = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
14193
14193
  this.addTrek();
14194
14194
  }
14195
14195
  else {
14196
- this.addTreks();
14197
14196
  this.removeTrek();
14197
+ this.addTreks();
14198
14198
  }
14199
14199
  });
14200
14200
  }
@@ -14282,7 +14282,9 @@ const GrwMap = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
14282
14282
  }
14283
14283
  }
14284
14284
  handleTreksWithinBounds() {
14285
- state.treksWithinBounds = state.currentTreks.filter(trek => this.map.getBounds().contains(leafletSrc.latLng(trek.departure_geom[1], trek.departure_geom[0])));
14285
+ if (!state.currentMapTreksBounds || state.currentMapTreksBounds.toBBoxString() !== this.map.getBounds().toBBoxString()) {
14286
+ state.treksWithinBounds = state.currentTreks.filter(trek => this.map.getBounds().contains(leafletSrc.latLng(trek.departure_geom[1], trek.departure_geom[0])));
14287
+ }
14286
14288
  }
14287
14289
  addTrek() {
14288
14290
  const currentTrekFeature = {
@@ -15,19 +15,22 @@ const GrwTreksList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
15
15
  this.isLargeView = false;
16
16
  this.step = 10;
17
17
  this.handleInfiniteScrollBind = this.handleInfiniteScroll.bind(this);
18
+ this.shouldAddInfiniteScrollEvent = true;
18
19
  }
19
20
  connectedCallback() {
20
- this.element.addEventListener('scroll', this.handleInfiniteScrollBind);
21
+ this.handleInfiniteScrollEvent(true);
21
22
  if (state.currentTreks) {
22
23
  this.treksToDisplay = [...state.currentTreks.slice(0, this.step)];
23
24
  }
24
25
  onChange('currentTreks', () => {
26
+ this.handleInfiniteScrollEvent(true);
25
27
  this.element.scroll({ top: 0 });
26
28
  if (state.currentTreks) {
27
29
  this.treksToDisplay = [...state.currentTreks.slice(0, this.step)];
28
30
  }
29
31
  });
30
32
  onChange('treksWithinBounds', () => {
33
+ this.handleInfiniteScrollEvent(true);
31
34
  this.element.scroll({ top: 0 });
32
35
  if (state.treksWithinBounds) {
33
36
  this.treksToDisplay = [...state.treksWithinBounds.slice(0, this.step)];
@@ -40,12 +43,24 @@ const GrwTreksList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
40
43
  this.treksToDisplay = state.treksWithinBounds.slice(0, this.treksToDisplay.length + this.step >= state.treksWithinBounds.length ? state.treksWithinBounds.length : this.treksToDisplay.length + this.step);
41
44
  }
42
45
  else {
43
- this.element.removeEventListener('scroll', this.handleInfiniteScrollBind);
46
+ this.handleInfiniteScrollEvent(false);
44
47
  }
45
48
  }
46
49
  }
50
+ handleInfiniteScrollEvent(shouldAddInfiniteScrollEvent) {
51
+ if (shouldAddInfiniteScrollEvent) {
52
+ if (this.shouldAddInfiniteScrollEvent) {
53
+ this.element.addEventListener('scroll', this.handleInfiniteScrollBind);
54
+ this.shouldAddInfiniteScrollEvent = !shouldAddInfiniteScrollEvent;
55
+ }
56
+ }
57
+ else {
58
+ this.element.removeEventListener('scroll', this.handleInfiniteScrollBind);
59
+ this.shouldAddInfiniteScrollEvent = !shouldAddInfiniteScrollEvent;
60
+ }
61
+ }
47
62
  disconnectedCallback() {
48
- this.element.removeEventListener('scroll', this.handleInfiniteScrollBind);
63
+ this.handleInfiniteScrollEvent(false);
49
64
  }
50
65
  render() {
51
66
  return (h(Host, { style: { '--color-primary': this.colorPrimary, '--color-primary-tint': this.colorPrimaryTint } }, this.treksToDisplay.map(trek => (h("grw-trek-card", { key: `trek-${trek.id}`, trek: trek, "is-large-view": this.isLargeView, "color-primary": this.colorPrimary, "color-primary-tint": this.colorPrimaryTint })))));
@@ -14254,8 +14254,8 @@ const GrwMap = class {
14254
14254
  this.addTrek();
14255
14255
  }
14256
14256
  else if (state.currentTreks) {
14257
- this.addTreks();
14258
14257
  this.removeTrek();
14258
+ this.addTreks();
14259
14259
  }
14260
14260
  });
14261
14261
  onChange('currentTrek', () => {
@@ -14264,8 +14264,8 @@ const GrwMap = class {
14264
14264
  this.addTrek();
14265
14265
  }
14266
14266
  else {
14267
- this.addTreks();
14268
14267
  this.removeTrek();
14268
+ this.addTreks();
14269
14269
  }
14270
14270
  });
14271
14271
  }
@@ -14353,7 +14353,9 @@ const GrwMap = class {
14353
14353
  }
14354
14354
  }
14355
14355
  handleTreksWithinBounds() {
14356
- state.treksWithinBounds = state.currentTreks.filter(trek => this.map.getBounds().contains(leafletSrc.latLng(trek.departure_geom[1], trek.departure_geom[0])));
14356
+ if (!state.currentMapTreksBounds || state.currentMapTreksBounds.toBBoxString() !== this.map.getBounds().toBBoxString()) {
14357
+ state.treksWithinBounds = state.currentTreks.filter(trek => this.map.getBounds().contains(leafletSrc.latLng(trek.departure_geom[1], trek.departure_geom[0])));
14358
+ }
14357
14359
  }
14358
14360
  addTrek() {
14359
14361
  const currentTrekFeature = {
@@ -14751,19 +14753,22 @@ const GrwTreksList = class {
14751
14753
  this.isLargeView = false;
14752
14754
  this.step = 10;
14753
14755
  this.handleInfiniteScrollBind = this.handleInfiniteScroll.bind(this);
14756
+ this.shouldAddInfiniteScrollEvent = true;
14754
14757
  }
14755
14758
  connectedCallback() {
14756
- this.element.addEventListener('scroll', this.handleInfiniteScrollBind);
14759
+ this.handleInfiniteScrollEvent(true);
14757
14760
  if (state.currentTreks) {
14758
14761
  this.treksToDisplay = [...state.currentTreks.slice(0, this.step)];
14759
14762
  }
14760
14763
  onChange('currentTreks', () => {
14764
+ this.handleInfiniteScrollEvent(true);
14761
14765
  this.element.scroll({ top: 0 });
14762
14766
  if (state.currentTreks) {
14763
14767
  this.treksToDisplay = [...state.currentTreks.slice(0, this.step)];
14764
14768
  }
14765
14769
  });
14766
14770
  onChange('treksWithinBounds', () => {
14771
+ this.handleInfiniteScrollEvent(true);
14767
14772
  this.element.scroll({ top: 0 });
14768
14773
  if (state.treksWithinBounds) {
14769
14774
  this.treksToDisplay = [...state.treksWithinBounds.slice(0, this.step)];
@@ -14776,12 +14781,24 @@ const GrwTreksList = class {
14776
14781
  this.treksToDisplay = state.treksWithinBounds.slice(0, this.treksToDisplay.length + this.step >= state.treksWithinBounds.length ? state.treksWithinBounds.length : this.treksToDisplay.length + this.step);
14777
14782
  }
14778
14783
  else {
14779
- this.element.removeEventListener('scroll', this.handleInfiniteScrollBind);
14784
+ this.handleInfiniteScrollEvent(false);
14780
14785
  }
14781
14786
  }
14782
14787
  }
14788
+ handleInfiniteScrollEvent(shouldAddInfiniteScrollEvent) {
14789
+ if (shouldAddInfiniteScrollEvent) {
14790
+ if (this.shouldAddInfiniteScrollEvent) {
14791
+ this.element.addEventListener('scroll', this.handleInfiniteScrollBind);
14792
+ this.shouldAddInfiniteScrollEvent = !shouldAddInfiniteScrollEvent;
14793
+ }
14794
+ }
14795
+ else {
14796
+ this.element.removeEventListener('scroll', this.handleInfiniteScrollBind);
14797
+ this.shouldAddInfiniteScrollEvent = !shouldAddInfiniteScrollEvent;
14798
+ }
14799
+ }
14783
14800
  disconnectedCallback() {
14784
- this.element.removeEventListener('scroll', this.handleInfiniteScrollBind);
14801
+ this.handleInfiniteScrollEvent(false);
14785
14802
  }
14786
14803
  render() {
14787
14804
  return (h(Host, { style: { '--color-primary': this.colorPrimary, '--color-primary-tint': this.colorPrimaryTint } }, this.treksToDisplay.map(trek => (h("grw-trek-card", { key: `trek-${trek.id}`, trek: trek, "is-large-view": this.isLargeView, "color-primary": this.colorPrimary, "color-primary-tint": this.colorPrimaryTint })))));
@@ -1 +1 @@
1
- import{p as r,b as o}from"./p-b62909db.js";(()=>{const o=import.meta.url,e={};return""!==o&&(e.resourcesUrl=new URL(".",o).href),r(e)})().then((r=>o([["p-500436f1",[[1,"grw-trek-card",{trek:[16],colorPrimary:[1,"color-primary"],colorPrimaryTint:[1,"color-primary-tint"],isLargeView:[4,"is-large-view"],currentTrek:[32],difficulty:[32],route:[32],practice:[32],themes:[32]}]]],["p-0510e16b",[[1,"grw-information-desk-detail",{informationDesk:[16]}],[1,"grw-poi-detail",{poi:[16]}],[1,"grw-sensitive-area-detail",{sensitiveArea:[16]}]]],["p-28db12ba",[[1,"grw-trek-detail",{trek:[16],colorPrimary:[1,"color-primary"],colorPrimaryShade:[1,"color-primary-shade"],colorPrimaryTint:[1,"color-primary-tint"],difficulty:[32],route:[32],practice:[32],themes:[32],labels:[32],sources:[32],accessibilities:[32],accessibilityLevel:[32],currentTrek:[32]}],[1,"grw-treks-list",{colorPrimary:[1,"color-primary"],colorPrimaryTint:[1,"color-primary-tint"],isLargeView:[4,"is-large-view"],treksToDisplay:[32]}],[1,"grw-filter",{filterType:[1,"filter-type"],filterName:[1,"filter-name"],filterNameProperty:[1,"filter-name-property"]}],[0,"grw-map",{urlLayer:[1,"url-layer"],attribution:[1],center:[1],zoom:[2],colorPrimary:[1,"color-primary"],colorPrimaryTint:[1,"color-primary-tint"],colorTrekLine:[1,"color-trek-line"],colorDepartureIcon:[1,"color-departure-icon"],colorArrivalIcon:[1,"color-arrival-icon"],colorSensitiveArea:[1,"color-sensitive-area"],colorPoiIcon:[1,"color-poi-icon"],mapIsReady:[32]}],[1,"grw-trek-provider",{language:[1],api:[1],trekId:[1,"trek-id"]}],[1,"grw-treks-provider",{language:[1],api:[1],inBbox:[1,"in-bbox"],cities:[1],districts:[1],structures:[1],themes:[1],portals:[1],routes:[1],practices:[1]}]]],["p-94f0db4d",[[1,"grw-app",{api:[1],language:[1],inBbox:[1,"in-bbox"],cities:[1],districts:[1],structures:[1],themes:[1],portals:[1],routes:[1],practices:[1],urlLayer:[1,"url-layer"],center:[1],zoom:[2],attribution:[1],colorPrimary:[1,"color-primary"],colorPrimaryShade:[1,"color-primary-shade"],colorPrimaryTint:[1,"color-primary-tint"],colorTrekLine:[1,"color-trek-line"],colorDepartureIcon:[1,"color-departure-icon"],colorArrivalIcon:[1,"color-arrival-icon"],colorSensitiveArea:[1,"color-sensitive-area"],colorPoiIcon:[1,"color-poi-icon"],showTrek:[32],showTreksMap:[32],showTrekMap:[32],showFilters:[32],isLargeView:[32],currentTrekId:[32]},[[0,"trekCardPress","onTrekCardPress"],[9,"resize","onWindowResize"]]]]]],r)));
1
+ import{p as r,b as o}from"./p-b62909db.js";(()=>{const o=import.meta.url,e={};return""!==o&&(e.resourcesUrl=new URL(".",o).href),r(e)})().then((r=>o([["p-500436f1",[[1,"grw-trek-card",{trek:[16],colorPrimary:[1,"color-primary"],colorPrimaryTint:[1,"color-primary-tint"],isLargeView:[4,"is-large-view"],currentTrek:[32],difficulty:[32],route:[32],practice:[32],themes:[32]}]]],["p-0510e16b",[[1,"grw-information-desk-detail",{informationDesk:[16]}],[1,"grw-poi-detail",{poi:[16]}],[1,"grw-sensitive-area-detail",{sensitiveArea:[16]}]]],["p-34fbbb97",[[1,"grw-trek-detail",{trek:[16],colorPrimary:[1,"color-primary"],colorPrimaryShade:[1,"color-primary-shade"],colorPrimaryTint:[1,"color-primary-tint"],difficulty:[32],route:[32],practice:[32],themes:[32],labels:[32],sources:[32],accessibilities:[32],accessibilityLevel:[32],currentTrek:[32]}],[1,"grw-treks-list",{colorPrimary:[1,"color-primary"],colorPrimaryTint:[1,"color-primary-tint"],isLargeView:[4,"is-large-view"],treksToDisplay:[32]}],[1,"grw-filter",{filterType:[1,"filter-type"],filterName:[1,"filter-name"],filterNameProperty:[1,"filter-name-property"]}],[0,"grw-map",{urlLayer:[1,"url-layer"],attribution:[1],center:[1],zoom:[2],colorPrimary:[1,"color-primary"],colorPrimaryTint:[1,"color-primary-tint"],colorTrekLine:[1,"color-trek-line"],colorDepartureIcon:[1,"color-departure-icon"],colorArrivalIcon:[1,"color-arrival-icon"],colorSensitiveArea:[1,"color-sensitive-area"],colorPoiIcon:[1,"color-poi-icon"],mapIsReady:[32]}],[1,"grw-trek-provider",{language:[1],api:[1],trekId:[1,"trek-id"]}],[1,"grw-treks-provider",{language:[1],api:[1],inBbox:[1,"in-bbox"],cities:[1],districts:[1],structures:[1],themes:[1],portals:[1],routes:[1],practices:[1]}]]],["p-94f0db4d",[[1,"grw-app",{api:[1],language:[1],inBbox:[1,"in-bbox"],cities:[1],districts:[1],structures:[1],themes:[1],portals:[1],routes:[1],practices:[1],urlLayer:[1,"url-layer"],center:[1],zoom:[2],attribution:[1],colorPrimary:[1,"color-primary"],colorPrimaryShade:[1,"color-primary-shade"],colorPrimaryTint:[1,"color-primary-tint"],colorTrekLine:[1,"color-trek-line"],colorDepartureIcon:[1,"color-departure-icon"],colorArrivalIcon:[1,"color-arrival-icon"],colorSensitiveArea:[1,"color-sensitive-area"],colorPoiIcon:[1,"color-poi-icon"],showTrek:[32],showTreksMap:[32],showTrekMap:[32],showFilters:[32],isLargeView:[32],currentTrekId:[32]},[[0,"trekCardPress","onTrekCardPress"],[9,"resize","onWindowResize"]]]]]],r)));