ctt-babylon 0.26.32 → 0.26.34

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.
@@ -1,15 +1,27 @@
1
- import { Component, computed, EventEmitter, inject, Input, signal, } from '@angular/core';
1
+ import { DOCUMENT, isPlatformBrowser } from '@angular/common';
2
+ import { Component, computed, EventEmitter, HostListener, inject, Input, PLATFORM_ID, signal, } from '@angular/core';
2
3
  import { MatDialog } from '@angular/material/dialog';
4
+ import { DomSanitizer } from '@angular/platform-browser';
3
5
  import { Subject, takeUntil, tap } from 'rxjs';
4
- import { BabylonLightGalleryDirective } from '../../../directives/babylon-galleries/babylon-light-gallery.directive';
6
+ import { MapperService } from '../../../services/mapper/mapper.service';
7
+ import { SITE_CONFIG_SERVICE_TOKEN } from '../../../services/mapper/mapper.service.token';
5
8
  import { BabylonFilterModalComponent } from '../babylon-filter-modal/babylon-filter-modal.component';
6
9
  import * as i0 from "@angular/core";
7
10
  export class BabylonGalleryV2Component {
8
11
  constructor() {
9
12
  this.order = false; //Ordenar el filtro todas por: Imagenes de Hoteles -> Habitaciones -> Demás Imágenes
10
13
  this.dialog = inject(MatDialog);
14
+ this.sanitizer = inject(DomSanitizer);
15
+ this.document = inject(DOCUMENT);
16
+ this.platformId = inject(PLATFORM_ID);
17
+ this.mapper = inject(MapperService, { optional: true });
18
+ this.siteSvc = inject(SITE_CONFIG_SERVICE_TOKEN, {
19
+ optional: true,
20
+ });
11
21
  this.destroy$ = new Subject();
12
22
  this.filterSelected = signal(undefined);
23
+ /** Índice (dentro de `slides`) de la imagen abierta en el modal. */
24
+ this.modalIndex = signal(null);
13
25
  this.imagesDisplayed = computed(() => {
14
26
  if (!this.order) {
15
27
  if (this.filterSelected()?.all || !this.filterSelected()) {
@@ -59,6 +71,22 @@ export class BabylonGalleryV2Component {
59
71
  }
60
72
  }
61
73
  });
74
+ /** Items listos para pintar (src resuelto, tanto para `img.src` como para multimedia). */
75
+ this.slides = computed(() => (this.imagesDisplayed() ?? [])
76
+ .filter((item) => item?.active !== false)
77
+ .map((item) => this.toSlide(item))
78
+ .filter((slide) => !!slide.src || !!slide.videoUrl));
79
+ this.currentSlide = computed(() => {
80
+ const index = this.modalIndex();
81
+ return index === null ? undefined : this.slides()[index];
82
+ });
83
+ this.currentVideoSrc = computed(() => {
84
+ const url = this.currentSlide()?.videoUrl;
85
+ const embed = url ? this.toEmbedUrl(url) : null;
86
+ return embed
87
+ ? this.sanitizer.bypassSecurityTrustResourceUrl(embed)
88
+ : null;
89
+ });
62
90
  }
63
91
  ngOnInit() {
64
92
  this.filterSelected.set(this.filters?.find((f) => f.all));
@@ -66,12 +94,114 @@ export class BabylonGalleryV2Component {
66
94
  ngOnDestroy() {
67
95
  this.destroy$.next(true);
68
96
  this.destroy$.complete();
97
+ this.unlockScroll();
98
+ }
99
+ onKeydown(event) {
100
+ if (this.modalIndex() === null)
101
+ return;
102
+ switch (event.key) {
103
+ case 'Escape':
104
+ this.closeModal();
105
+ break;
106
+ case 'ArrowLeft':
107
+ this.prev();
108
+ break;
109
+ case 'ArrowRight':
110
+ this.next();
111
+ break;
112
+ }
113
+ }
114
+ openModal(index, event) {
115
+ event?.preventDefault();
116
+ this.modalIndex.set(index);
117
+ this.lockScroll();
118
+ }
119
+ closeModal() {
120
+ this.modalIndex.set(null);
121
+ this.unlockScroll();
122
+ }
123
+ prev() {
124
+ this.move(-1);
125
+ }
126
+ next() {
127
+ this.move(1);
128
+ }
129
+ move(step) {
130
+ const index = this.modalIndex();
131
+ const total = this.slides().length;
132
+ if (index === null || total < 2)
133
+ return;
134
+ this.modalIndex.set((index + step + total) % total);
135
+ }
136
+ lockScroll() {
137
+ if (isPlatformBrowser(this.platformId)) {
138
+ this.document.body.style.overflow = 'hidden';
139
+ }
140
+ }
141
+ unlockScroll() {
142
+ if (isPlatformBrowser(this.platformId)) {
143
+ this.document.body.style.overflow = '';
144
+ }
145
+ }
146
+ // ---------------------------------------------------------------------
147
+ // Resolución de imágenes (img.src ya resuelto o multimedia de la API)
148
+ // ---------------------------------------------------------------------
149
+ toSlide(item) {
150
+ const full = this.resolveFull(item);
151
+ const thumb = this.resolveThumb(item) || full;
152
+ return {
153
+ src: full,
154
+ thumb,
155
+ alt: item.alt || item.img?.alt || item.title || '',
156
+ title: item.title || item.img?.title,
157
+ subtitle: item.subtitle || item.img?.subtitle,
158
+ ndTitle: item.ndTitle || item.nd_title || item.img?.ndTitle,
159
+ ndSubtitle: item.ndSubtitle || item.nd_subtitle,
160
+ description: item.description || item.img?.description,
161
+ videoUrl: item.videoUrl || undefined,
162
+ };
163
+ }
164
+ /** Imagen a mayor calidad para el modal. */
165
+ resolveFull(item) {
166
+ if (item.img?.src)
167
+ return item.img.src;
168
+ return this.withCdn(item.path?.webp ||
169
+ item.path?.original ||
170
+ item.thumbnails?.['1366']?.webp ||
171
+ item.thumbnails?.['1366']?.original);
172
+ }
173
+ /** Imagen adaptada al viewport para el listado. */
174
+ resolveThumb(item) {
175
+ if (item.img?.src)
176
+ return item.img.src;
177
+ const mapped = this.mapper?.getImageResponsive(item, true);
178
+ return typeof mapped === 'string' ? mapped : '';
179
+ }
180
+ withCdn(path) {
181
+ if (!path)
182
+ return '';
183
+ if (/^(https?:)?\/\/|^data:|^blob:/.test(path))
184
+ return path;
185
+ const cdn = this.siteSvc?.cdnImagesInstant ?? '';
186
+ return `${cdn}${path}`;
187
+ }
188
+ toEmbedUrl(url) {
189
+ const youtube = url.match(/(?:youtube\.com\/(?:watch\?v=|embed\/|shorts\/)|youtu\.be\/)([\w-]{6,})/i);
190
+ if (youtube) {
191
+ return `https://www.youtube-nocookie.com/embed/${youtube[1]}?autoplay=1&rel=0`;
192
+ }
193
+ const vimeo = url.match(/vimeo\.com\/(?:video\/)?(\d+)/i);
194
+ if (vimeo) {
195
+ return `https://player.vimeo.com/video/${vimeo[1]}?autoplay=1`;
196
+ }
197
+ return /^https?:\/\//i.test(url) ? url : null;
69
198
  }
70
- getGalleryHref(item) {
71
- return (item.videoUrl ||
72
- item.img?.src ||
73
- 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7');
199
+ isDirectVideo(url) {
200
+ return !!url && /\.(mp4|webm|ogg)(\?.*)?$/i.test(url);
74
201
  }
202
+ // ---------------------------------------------------------------------
203
+ // Filtros
204
+ // ---------------------------------------------------------------------
75
205
  filterItems(filter) {
76
206
  if (filter) {
77
207
  !filter.rooms
@@ -113,11 +243,11 @@ export class BabylonGalleryV2Component {
113
243
  return this.images.some((item) => item.filter === filter.id);
114
244
  }
115
245
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BabylonGalleryV2Component, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
116
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: BabylonGalleryV2Component, isStandalone: true, selector: "lib-babylon-gallery-v2", inputs: { title: "title", pretitle: "pretitle", filters: "filters", images: "images", filtersBtn: "filtersBtn", roomsBtn: "roomsBtn", filterModalBtn: "filterModalBtn", filterRoomsBtn: "filterRoomsBtn", tags: "tags", textColors: "textColors", order: "order" }, ngImport: i0, template: "<section class=\"gallery\">\n <div class=\"container\">\n <div class=\"gallery__inner\">\n <!-- HEADER -->\n <div class=\"gallery__heading\">\n @if (title) {\n <h1>{{ title }}</h1>\n }\n\n <div class=\"gallery__nav\">\n <!-- DESKTOP -->\n <ul class=\"desktop\">\n @for (filter of filters; track $index) {\n @if (\n filter &&\n !filter.room &&\n hasImagesForFilter(filter)\n ) {\n <li>\n <span\n (click)=\"filterItems(filter)\"\n [class.active]=\"\n filterSelected() === filter\n \"\n >\n {{ filter.text }}\n </span>\n </li>\n }\n }\n </ul>\n\n <!-- MOBILE -->\n <ul class=\"mobile\">\n <li\n class=\"btn btn__primary\"\n (click)=\"openFiltersModal()\"\n >\n {{ filterModalBtn ?? 'Categor\u00EDas' }}\n </li>\n\n @if (filterRoomsBtn) {\n <li\n class=\"btn btn__primary\"\n (click)=\"openFiltersRoomModal()\"\n >\n {{ filterRoomsBtn }}\n </li>\n }\n </ul>\n </div>\n </div>\n\n <!-- LIST -->\n <div class=\"gallery__list\" BabylonLightGallery>\n @if (imagesDisplayed()?.length) {\n @for (item of imagesDisplayed(); track $index) {\n <div\n class=\"gallery__item show\"\n data-category=\"habitactiones\"\n [attr.data-img]=\"\n item.img?.src ||\n 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7'\n \"\n [attr.data-title]=\"item.title\"\n >\n <a\n class=\"gallery__item--box cs_lightbox_item\"\n [href]=\"getGalleryHref(item)\"\n [attr.data-thumb]=\"getGalleryHref(item)\"\n (click)=\"$event.preventDefault()\"\n >\n <div class=\"gallery__item--image\">\n <figure>\n <img [src]=\"getGalleryHref(item)\" />\n </figure>\n </div>\n\n <div class=\"gallery__item--content\">\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n class=\"gallery__item--graphic\"\n >\n <use\n href=\"/assets/babylon/svg/icon-graphic.svg#icon-graphic\"\n ></use>\n </svg>\n\n <span>{{ item.title }}</span>\n\n <svg\n aria-hidden=\"true\"\n class=\"gallery__item--icon\"\n focusable=\"false\"\n >\n <use\n href=\"/assets/babylon/svg/icon-close.svg#icon-close\"\n ></use>\n </svg>\n </div>\n </a>\n </div>\n }\n }\n </div>\n </div>\n </div>\n</section>\n", styles: ["@media (min-width: 1280px){.order-custom-xl-xxl-1{order:1}.order-custom-xl-xxl-2{order:2}}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-fill{flex:1 1 auto!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.m-auto{margin:auto!important}.mt-auto,.my-auto{margin-top:auto!important}.mr-auto,.mx-auto{margin-right:auto!important}.mb-auto,.my-auto{margin-bottom:auto!important}.ml-auto,.mx-auto{margin-left:auto!important}@media (min-width: 540px){.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.m-sm-auto{margin:auto!important}.mt-sm-auto,.my-sm-auto{margin-top:auto!important}.mr-sm-auto,.mx-sm-auto{margin-right:auto!important}.mb-sm-auto,.my-sm-auto{margin-bottom:auto!important}.ml-sm-auto,.mx-sm-auto{margin-left:auto!important}}@media (min-width: 768px){.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.m-md-auto{margin:auto!important}.mt-md-auto,.my-md-auto{margin-top:auto!important}.mr-md-auto,.mx-md-auto{margin-right:auto!important}.mb-md-auto,.my-md-auto{margin-bottom:auto!important}.ml-md-auto,.mx-md-auto{margin-left:auto!important}}@media (min-width: 1025px){.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.m-lg-auto{margin:auto!important}.mt-lg-auto,.my-lg-auto{margin-top:auto!important}.mr-lg-auto,.mx-lg-auto{margin-right:auto!important}.mb-lg-auto,.my-lg-auto{margin-bottom:auto!important}.ml-lg-auto,.mx-lg-auto{margin-left:auto!important}}@media (min-width: 1280px){.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.m-xl-auto{margin:auto!important}.mt-xl-auto,.my-xl-auto{margin-top:auto!important}.mr-xl-auto,.mx-xl-auto{margin-right:auto!important}.mb-xl-auto,.my-xl-auto{margin-bottom:auto!important}.ml-xl-auto,.mx-xl-auto{margin-left:auto!important}}@media (min-width: 1366px){.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.m-xxl-auto{margin:auto!important}.mt-xxl-auto,.my-xxl-auto{margin-top:auto!important}.mr-xxl-auto,.mx-xxl-auto{margin-right:auto!important}.mb-xxl-auto,.my-xxl-auto{margin-bottom:auto!important}.ml-xxl-auto,.mx-xxl-auto{margin-left:auto!important}}@media (min-width: 1680px){.flex-xxxl-row{flex-direction:row!important}.flex-xxxl-column{flex-direction:column!important}.flex-xxxl-row-reverse{flex-direction:row-reverse!important}.flex-xxxl-column-reverse{flex-direction:column-reverse!important}.flex-xxxl-wrap{flex-wrap:wrap!important}.flex-xxxl-nowrap{flex-wrap:nowrap!important}.flex-xxxl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xxxl-fill{flex:1 1 auto!important}.flex-xxxl-grow-0{flex-grow:0!important}.flex-xxxl-grow-1{flex-grow:1!important}.flex-xxxl-shrink-0{flex-shrink:0!important}.flex-xxxl-shrink-1{flex-shrink:1!important}.justify-content-xxxl-start{justify-content:flex-start!important}.justify-content-xxxl-end{justify-content:flex-end!important}.justify-content-xxxl-center{justify-content:center!important}.justify-content-xxxl-between{justify-content:space-between!important}.justify-content-xxxl-around{justify-content:space-around!important}.align-items-xxxl-start{align-items:flex-start!important}.align-items-xxxl-end{align-items:flex-end!important}.align-items-xxxl-center{align-items:center!important}.align-items-xxxl-baseline{align-items:baseline!important}.align-items-xxxl-stretch{align-items:stretch!important}.align-content-xxxl-start{align-content:flex-start!important}.align-content-xxxl-end{align-content:flex-end!important}.align-content-xxxl-center{align-content:center!important}.align-content-xxxl-between{align-content:space-between!important}.align-content-xxxl-around{align-content:space-around!important}.align-content-xxxl-stretch{align-content:stretch!important}.align-self-xxxl-auto{align-self:auto!important}.align-self-xxxl-start{align-self:flex-start!important}.align-self-xxxl-end{align-self:flex-end!important}.align-self-xxxl-center{align-self:center!important}.align-self-xxxl-baseline{align-self:baseline!important}.align-self-xxxl-stretch{align-self:stretch!important}.m-xxxl-auto{margin:auto!important}.mt-xxxl-auto,.my-xxxl-auto{margin-top:auto!important}.mr-xxxl-auto,.mx-xxxl-auto{margin-right:auto!important}.mb-xxxl-auto,.my-xxxl-auto{margin-bottom:auto!important}.ml-xxxl-auto,.mx-xxxl-auto{margin-left:auto!important}}@media (min-width: 1921px){.flex-xxxxl-row{flex-direction:row!important}.flex-xxxxl-column{flex-direction:column!important}.flex-xxxxl-row-reverse{flex-direction:row-reverse!important}.flex-xxxxl-column-reverse{flex-direction:column-reverse!important}.flex-xxxxl-wrap{flex-wrap:wrap!important}.flex-xxxxl-nowrap{flex-wrap:nowrap!important}.flex-xxxxl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xxxxl-fill{flex:1 1 auto!important}.flex-xxxxl-grow-0{flex-grow:0!important}.flex-xxxxl-grow-1{flex-grow:1!important}.flex-xxxxl-shrink-0{flex-shrink:0!important}.flex-xxxxl-shrink-1{flex-shrink:1!important}.justify-content-xxxxl-start{justify-content:flex-start!important}.justify-content-xxxxl-end{justify-content:flex-end!important}.justify-content-xxxxl-center{justify-content:center!important}.justify-content-xxxxl-between{justify-content:space-between!important}.justify-content-xxxxl-around{justify-content:space-around!important}.align-items-xxxxl-start{align-items:flex-start!important}.align-items-xxxxl-end{align-items:flex-end!important}.align-items-xxxxl-center{align-items:center!important}.align-items-xxxxl-baseline{align-items:baseline!important}.align-items-xxxxl-stretch{align-items:stretch!important}.align-content-xxxxl-start{align-content:flex-start!important}.align-content-xxxxl-end{align-content:flex-end!important}.align-content-xxxxl-center{align-content:center!important}.align-content-xxxxl-between{align-content:space-between!important}.align-content-xxxxl-around{align-content:space-around!important}.align-content-xxxxl-stretch{align-content:stretch!important}.align-self-xxxxl-auto{align-self:auto!important}.align-self-xxxxl-start{align-self:flex-start!important}.align-self-xxxxl-end{align-self:flex-end!important}.align-self-xxxxl-center{align-self:center!important}.align-self-xxxxl-baseline{align-self:baseline!important}.align-self-xxxxl-stretch{align-self:stretch!important}.m-xxxxl-auto{margin:auto!important}.mt-xxxxl-auto,.my-xxxxl-auto{margin-top:auto!important}.mr-xxxxl-auto,.mx-xxxxl-auto{margin-right:auto!important}.mb-xxxxl-auto,.my-xxxxl-auto{margin-bottom:auto!important}.ml-xxxxl-auto,.mx-xxxxl-auto{margin-left:auto!important}}.mt--0{margin-top:0!important}.mb--0{margin-bottom:0!important}.pt--0{padding-top:0}.pb--0{padding-bottom:0}.mblock--0{margin-block:0px}.pblock--0{padding-block:0px}.mt--10{margin-top:10px!important}.mb--10{margin-bottom:10px!important}.pt--10{padding-top:10px}.pb--10{padding-bottom:10px}.mblock--10{margin-block:10px}.pblock--10{padding-block:10px}.mt--20{margin-top:20px!important}.mb--20{margin-bottom:20px!important}.pt--20{padding-top:20px}.pb--20{padding-bottom:20px}.mblock--20{margin-block:20px}.pblock--20{padding-block:20px}.mt--25{margin-top:25px!important}.mb--25{margin-bottom:25px!important}.pt--25{padding-top:25px}.pb--25{padding-bottom:25px}.mblock--25{margin-block:25px}.pblock--25{padding-block:25px}.mt--30{margin-top:30px!important}.mb--30{margin-bottom:30px!important}.pt--30{padding-top:30px}.pb--30{padding-bottom:30px}.mblock--30{margin-block:30px}.pblock--30{padding-block:30px}.mt--40{margin-top:40px!important}.mb--40{margin-bottom:40px!important}.pt--40{padding-top:40px}.pb--40{padding-bottom:40px}.mblock--40{margin-block:40px}.pblock--40{padding-block:40px}.mt--50{margin-top:50px!important}.mb--50{margin-bottom:50px!important}.pt--50{padding-top:50px}.pb--50{padding-bottom:50px}.mblock--50{margin-block:50px}.pblock--50{padding-block:50px}.mt--60{margin-top:60px!important}.mb--60{margin-bottom:60px!important}.pt--60{padding-top:60px}.pb--60{padding-bottom:60px}.mblock--60{margin-block:60px}.pblock--60{padding-block:60px}.mt--70{margin-top:70px!important}.mb--70{margin-bottom:70px!important}.pt--70{padding-top:70px}.pb--70{padding-bottom:70px}.mblock--70{margin-block:70px}.pblock--70{padding-block:70px}.mt--80{margin-top:80px!important}.mb--80{margin-bottom:80px!important}.pt--80{padding-top:80px}.pb--80{padding-bottom:80px}.mblock--80{margin-block:80px}.pblock--80{padding-block:80px}.mt--90{margin-top:90px!important}.mb--90{margin-bottom:90px!important}.pt--90{padding-top:90px}.pb--90{padding-bottom:90px}.mblock--90{margin-block:90px}.pblock--90{padding-block:90px}.mt--100{margin-top:100px!important}.mb--100{margin-bottom:100px!important}.pt--100{padding-top:100px}.pb--100{padding-bottom:100px}.mblock--100{margin-block:100px}.pblock--100{padding-block:100px}.mt--150{margin-top:150px!important}.mb--150{margin-bottom:150px!important}.pt--150{padding-top:150px}.pb--150{padding-bottom:150px}.mblock--150{margin-block:150px}.pblock--150{padding-block:150px}.mt--180{margin-top:180px!important}.mb--180{margin-bottom:180px!important}.pt--180{padding-top:180px}.pb--180{padding-bottom:180px}.mblock--180{margin-block:180px}.pblock--180{padding-block:180px}@keyframes move-right{0%{right:30px}50%{right:20px}to{right:30px}}:root{--font-title: \"the-seasons\", Helvetica, sans-serif;--font-pretitle: \"Poppins\", Helvetica, sans-serif;--font-text: \"Poppins\", Helvetica, sans-serif;--font-claim: \"turbinado-pro\", Helvetica, sans-serif;--cl_corp: #24262d;--cl_accent: #aa8453;--cl_icon: #978667;--cl_icon-light: #fff;--cl_border-light: #ededed;--cl_border-dark: #d9e1e6;--cl_shadow: rgba(0, 0, 0, .1);--cl_breadcrumb: #24262d;--cl_breadcrumb-hover: #978667;--cl_preload-bg: #ededed;--cl_preload: #24262d;--cl_background_body: #fdfbf8;--cl_background_white: #fff;--cl_background_dark: #19314b;--cl_background_gray: #eee;--cl_background_dark-opacity: #19314bbf;--cl_background_dark-opacity-v2: #1326398b;--cl_background_body-transparent: #ffffffe7;--cl_title: #978667;--cl_subtitle: #19314b;--cl_pretitle: #19314b;--cl_text: #3c3b3b;--cl_title-light: #fff;--cl_subtitle-light: #fff;--cl_pretitle-light: #fff;--cl_text-light: #fff;--cl_text-disable: #888;--w_title: 600;--w_text: 300;--w_subtitle: 300;--w_pretitle: 300;--padding-bottom-slider: 0px;--lh_pretitle-slider: 1.2;--lh_title-slider: 1.2;--cl_header-bg-nosticky: #0000001a;--cl_header-text-nosticky: #fff;--cl_header-bg-sticky: #eee;--cl_header-text-sticky: #19314b;--cl_header-bg-mobile: #b6b6b6;--cl_headerBottom-bg-mobile: #b6b6b6;--cl_header-text-mobile: #19314b;--cl_menu-modal-bg: #19314b;--cl_menu-modal-items: #978667;--cl_menu-modal-items-hover: #fff;--cl_menu-modal-text: #fff;--cl_menu-modal-text-hover: #fff;--ls_menu-modal-items: 1px;--w_menu-modal-items: 300;--hg_menu-img-height: 15rem;--cl_submenu-bg: #19314b;--cl_submenu-text: #fff;--cl_submenu-hover: #978667;--w_btn: 400;--size_btn: 14px;--size_link: 14px;--ls_link: 1px;--ls_btn: 1px;--upper_btn: uppercase;--upper_link: uppercase;--font-btn: \"Poppins\", Helvetica, sans-serif;--font-link: \"Poppins\", Helvetica, sans-serif;--cl_btn-box: #19314b;--cl_btn-box-text: #19314b;--cl_btn-box-hover: #978667;--cl_btn-box-text-hover: #fff;--cl_btn-call: #19314bf2;--cl_btn-call-text: #fff;--cl_btn-call-hover: #978667;--cl_btn-call-text-hover: #fff;--cl_btn-link: #19314b;--cl_btn-link-hover: #978667;--cl_btn-arrow: #19314b;--cl_btn-arrow-icon: #fff;--cl_btn-arrow-hover: #978667;--cl_btn-arrow-icon-hover: #fff;--cl_btn-dots: #24262d;--cl_btn-dots-active: #978667;--cl_btn-dots-hover: #978667;--cl_btn-light: #fff;--cl_btn-light-text: #fff;--cl_btn-light-hover: #978667;--cl_btn-light-text-hover: #978667;--cl_footer-bg: #19314b;--cl_footer-bg-bottom: #0a1d31;--cl_footer-bg-logos: #f8f7f3;--cl_footer-scroll: #978667;--cl_footer-text: #fff;--cl_footer-text-hover: #978667;--btn_radius: 5px;--img_radius: 5px;--img_border: #fff;--img_border-width: 1px;--dropdown-radius: 20px;--cl_background_dropdown: #fdfbf8;--cl_border-dropdown: #d9e1e6;--font-size-engine-text: 14px;--cl_engine-text: #19314b;--cl_engine-bg-nosticky: #ffffffcf;--cl_engine-text-nosticky: #19314b;--cl_engine-bg-sticky: #ffffff00;--cl_engine-text-sticky: #19314b;--cl_engine-bg-modal: #19314bbf;--cl_engine-input-bg: #ebebeb;--cl_engine-input-bg-select: #ebebeb;--cl_dropdown: #19314b;--cl_dropdown-text: #5a5a5a;--cl_dropdown-hover: #19314b;--cl_newsletter-input-background: #d1d1d1;--cl_newsletter-input-text: #5a5a5a;--cl_error: #ff7173;--cl_desde: #bcbbc3;--cl_price: #19314b;--cl_badget: #ff8874;--cl_badget-text: #fff;--alg-service-room-detail: center;--cl_alert-text: #19314b;--cl_alert-text-error: #fff;--cl_alert-background: #fff;--cl_alert-background-error: rgb(230, 92, 92);--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: var(--cl_corp);--mdc-checkbox-selected-hover-icon-color: var(--cl_corp);--mdc-checkbox-selected-icon-color: var(--cl_corp);--mdc-checkbox-selected-pressed-icon-color: var(--cl_corp);--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: var(--cl_corp);--mdc-checkbox-selected-hover-state-layer-color: var(--cl_corp);--mdc-checkbox-selected-pressed-state-layer-color: var(--cl_corp);--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black;--mat-checkbox-disabled-label-color: rgba(0, 0, 0, .38);--primary: #4a4a49;--cream: #f9f8f5;--white: #ffffff;--black: #000000;--whatsapp: #24cc63;--logo: #616161;--grey: #dcdcdc;--darkgrey: #1e1e1e;--instagram: #61bdff;--facebook: #3782f4;--twitter: #4a4a49;--youtube: #d9464b;--tripadvisor: #34e0a1;--booking: #0c3b7c;--silver: #c0bebe;--gold: #ffca64;--platinum: #b5d9e2}.cs_dark{--cl_corp: #181818;--cl_accent: #aa8453;--cl_icon: #aa8453;--cl_icon-light: #fff;--cl_border-light: #ededed;--cl_border-dark: #d9e1e6;--cl_shadow: rgba(0, 0, 0, .1);--cl_breadcrumb: #fff;--cl_breadcrumb-hover: #aa8453;--cl_preload-bg: #ededed;--cl_preload: #24262d;--cl_background_body: #181818;--cl_background_white: transparent;--cl_background_dark: #aa8453;--cl_background_gray: #333;--type-align: center;--cl_title: #fff;--cl_subtitle: #aa8453;--cl_pretitle: #aa8453;--cl_text: #fff;--cl_title-light: #fff;--cl_subtitle-light: #fff;--cl_pretitle-light: #fff;--cl_text-light: #fff;--cl_header-bg: #aa8453;--cl_header-text-light: #fff;--cl_menu-bg: #79582c;--cl_menu-text: #fff;--cl_btn-box: #aa8453;--cl_btn-box-text: #aa8453;--cl_btn-box-hover: #79582c;--cl_btn-box-text-hover: #fff;--cl_btn-call: #aa8453;--cl_btn-call-text: white;--cl_btn-call-hover: #79582c;--cl_btn-call-text-hover: #fff;--cl_btn-link: #aa8453;--cl_btn-link-hover: #79582c;--cl_btn-arrow: #ffffff3a;--cl_btn-arrow-icon: #fff;--cl_btn-arrow-hover: #79582c;--cl_btn-arrow-icon-hover: #fff;--cl_btn-dots: #eee;--cl_btn-dots-active: #79582c;--cl_btn-dots-hover: #79582c;--cl_btn-light: #fff;--cl_btn-light-text: #fff;--cl_btn-light-hover: #79582c;--cl_btn-light-text-hover: #79582c;--cl_footer-bg: #aa8453;--cl_footer-bg-bottom: #79582c;--cl_footer-scroll: #aa8453;--cl_footer-text: #fff;--cl_footer-text-hover: #aa8453;--btn_radius: 1px;--img_radius: 0px;--img_border: #fff;--img_border-width: 2px;--cl_engine-bg: #181818;--cl_engine-input-bg: #79582c;--cl_engine-input-bg-hover: #081523;--cl_engine-text: #fff;--cl_dropdown: #19314b;--cl_dropdown-text: #5a5a5a;--cl_dropdown-hover: #19314b;--cl_dropdown-radius: 20px;--cl_newsletter-input-background: #d1d1d1;--cl_newsletter-input-text: #5a5a5a}.gallery{padding-block:2.5rem 5rem}@media (min-width: 540px){.gallery{padding-block:3rem 5.8rem}}@media (min-width: 768px){.gallery{padding-block:4rem 8rem}}@media (min-width: 1024px){.gallery{padding-bottom:6.984rem}}@media (min-width: 1280px){.gallery{padding-bottom:8rem}}@media (min-width: 1366px){.gallery{padding-block:5.7rem 8.953rem}}@media (min-width: 1680px){.gallery{padding-block:6rem 10rem}}.gallery__inner{display:flex;flex-direction:column;gap:2.5rem}@media (min-width: 540px){.gallery__inner{gap:3rem}}@media (min-width: 768px){.gallery__inner{gap:4rem}}.gallery__heading{display:flex;align-items:center;flex-direction:column;gap:2rem}@media (min-width: 540px){.gallery__heading{gap:3rem}}@media (min-width: 1280px){.gallery__heading{gap:4rem}}.gallery__heading h2{font-size:4rem;line-height:1}@media (min-width: 540px){.gallery__heading h2{font-size:5.2rem;line-height:1}}@media (min-width: 768px){.gallery__heading h2{font-size:6rem;line-height:1}}.gallery__nav .desktop{display:none}@media (min-width: 1280px){.gallery__nav .desktop{display:flex;gap:5rem}}.gallery__nav .desktop li{text-transform:uppercase;color:rgb(var(--primary),50%);font-size:1.6rem;line-height:1;letter-spacing:.16rem;transition:var(--transition)}.gallery__nav .desktop li span{position:relative;padding-bottom:1.4rem;display:block}.gallery__nav .desktop li span:after{content:\"\";position:absolute;bottom:0;left:50%;transition:var(--transition);opacity:0;transform:translate(-50%);height:.1rem;width:1.8rem;background:var(--primary)}.gallery__nav .desktop li span.active{color:var(--primary)}.gallery__nav .desktop li span.active:after{opacity:1}.gallery__nav .mobile{display:flex}.gallery__nav .mobile .btn{width:15rem}@media (min-width: 540px){.gallery__nav .mobile .btn{width:21rem}}@media (min-width: 768px){.gallery__nav .mobile .btn{width:26rem}}@media (max-width: 539.98px){.gallery__nav .mobile .btn{height:3.6rem;padding-block:1rem;font-size:1.6rem;line-height:1}}@media (min-width: 1280px){.gallery__nav .mobile{display:none}}.gallery__nav .mobile li+li{margin-left:-1px}.gallery__list{display:grid;grid-template-columns:repeat(7,1fr);grid-auto-flow:dense;gap:2.4rem}@media (min-width: 540px){.gallery__list{gap:3rem}}@media (min-width: 768px){.gallery__list{gap:4.4rem;grid-template-columns:repeat(12,1fr)}}@media (min-width: 1024px){.gallery__list{column-gap:5rem;row-gap:2rem}}@media (min-width: 1280px){.gallery__list{grid-template-columns:repeat(19,1fr);column-gap:4.8rem;row-gap:2.8rem}}@media (min-width: 1366px){.gallery__list{column-gap:5rem;row-gap:2rem}}@media (min-width: 1680px){.gallery__list{column-gap:6.4rem;row-gap:3.4rem}}@media (min-width: 1800px){.gallery__list{column-gap:6.5rem;row-gap:3.5rem}}.gallery__item:nth-child(odd){grid-column:span 7}.gallery__item:nth-child(odd) .gallery__item--image figure{aspect-ratio:297/208}.gallery__item:nth-child(2n){grid-column:2/span 5}.gallery__item:nth-child(2n) .gallery__item--image figure{aspect-ratio:208/297}@media (min-width: 768px){.gallery__item:nth-child(4n+1){grid-row:span 3}.gallery__item:nth-child(4n+2){grid-column:span 5;grid-row:span 4}.gallery__item:nth-child(4n+3){grid-column:7/span 7;grid-row:span 3}.gallery__item:nth-child(4n+4){grid-column:2/span 5;grid-row:span 4}}@media (min-width: 1024px){.gallery__item:hover .gallery__item--content{transform:translateY(3rem)}}@media (min-width: 1280px){.gallery__item:nth-child(6n+1),.gallery__item:nth-child(6n+3),.gallery__item:nth-child(6n+5){grid-column:span 7;grid-row:span 3}.gallery__item:nth-child(6n+1) .gallery__item--image figure,.gallery__item:nth-child(6n+3) .gallery__item--image figure,.gallery__item:nth-child(6n+5) .gallery__item--image figure{aspect-ratio:297/208}.gallery__item:nth-child(6n+2),.gallery__item:nth-child(6n+4),.gallery__item:nth-child(6n+6){grid-column:span 5;grid-row:span 4}.gallery__item:nth-child(6n+2) .gallery__item--image figure,.gallery__item:nth-child(6n+4) .gallery__item--image figure,.gallery__item:nth-child(6n+6) .gallery__item--image figure{aspect-ratio:208/297}.gallery__item:nth-child(6n+4){grid-column:2/span 5}.gallery__item:nth-child(6n+5){grid-column:7/span 7}.gallery__item:nth-child(6n+6){grid-column:14/span 5}}.gallery__item--box{position:relative}@media (min-width: 1024px){.gallery__item--box{overflow:hidden;padding-bottom:3rem;display:block}}.gallery__item--content{position:absolute;inset:auto 0 0;background:var(--white);display:flex;gap:1rem;transition:var(--transition);align-items:center;justify-content:center;text-align:center;padding-top:1.281rem;transform:translateY(calc(100% - 3rem))}@media (min-width: 540px){.gallery__item--content{padding-top:1.341rem}}@media (min-width: 768px){.gallery__item--content{padding-top:1.259rem}}@media (min-width: 1024px){.gallery__item--content{justify-content:space-between;text-align:left;padding:2rem 2.4rem;transform:translateY(calc(100% + 5rem))}}.gallery__item--content span{font-size:1.6rem;line-height:1.5;color:rgb(var(--primary),80%)}@media (min-width: 540px){.gallery__item--content span{font-size:1.8rem;line-height:1.5555555556}}@media (min-width: 768px){.gallery__item--content span{font-size:2rem;line-height:1.7;letter-spacing:.04rem}}.gallery__item--graphic{position:absolute;width:6rem;aspect-ratio:2/1;left:50%;top:0;transform:translate(-50%,-100%) scaleY(-1);color:var(--white);display:none}@media (min-width: 540px){.gallery__item--graphic{width:10rem}}@media (min-width: 1024px){.gallery__item--graphic{display:block}}.gallery__item--icon{color:var(--primary);width:.914rem;aspect-ratio:1;transform:rotate(-45deg);display:none}@media (min-width: 1024px){.gallery__item--icon{display:block}}.gallery__item:not(.show){display:none}\n"], dependencies: [{ kind: "directive", type: BabylonLightGalleryDirective, selector: "[BabylonLightGallery]" }] }); }
246
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: BabylonGalleryV2Component, isStandalone: true, selector: "lib-babylon-gallery-v2", inputs: { title: "title", pretitle: "pretitle", filters: "filters", images: "images", filtersBtn: "filtersBtn", roomsBtn: "roomsBtn", filterModalBtn: "filterModalBtn", filterRoomsBtn: "filterRoomsBtn", tags: "tags", textColors: "textColors", order: "order" }, host: { listeners: { "document:keydown": "onKeydown($event)" } }, ngImport: i0, template: "<section class=\"gallery\">\n <div class=\"container\">\n <div class=\"gallery__inner\">\n <!-- HEADER -->\n <div class=\"gallery__heading\">\n @if (title || pretitle) {\n <h1>{{ title || pretitle }}</h1>\n }\n\n <div class=\"gallery__nav\">\n <!-- DESKTOP -->\n <ul class=\"desktop\">\n @for (filter of filters; track $index) {\n @if (\n filter &&\n !filter.room &&\n hasImagesForFilter(filter)\n ) {\n <li>\n <span\n (click)=\"filterItems(filter)\"\n [class.active]=\"\n filterSelected() === filter\n \"\n >\n {{ filter.text }}\n </span>\n </li>\n }\n }\n </ul>\n\n <!-- MOBILE -->\n @if (filters?.length) {\n <ul class=\"mobile\">\n <li\n class=\"btn btn__primary\"\n (click)=\"openFiltersModal()\"\n >\n {{ filterModalBtn ?? 'Categor\u00EDas' }}\n </li>\n\n @if (filterRoomsBtn) {\n <li\n class=\"btn btn__primary\"\n (click)=\"openFiltersRoomModal()\"\n >\n {{ filterRoomsBtn }}\n </li>\n }\n </ul>\n }\n </div>\n </div>\n\n <!-- LIST -->\n <div class=\"gallery__list\">\n @for (slide of slides(); track $index) {\n <div class=\"gallery__item show\">\n <a\n class=\"gallery__item--box\"\n [href]=\"slide.videoUrl || slide.src\"\n (click)=\"openModal($index, $event)\"\n >\n <div class=\"gallery__item--image\">\n <figure>\n <img\n [src]=\"slide.thumb\"\n [alt]=\"slide.alt\"\n loading=\"lazy\"\n />\n </figure>\n </div>\n\n @if (slide.title) {\n <div class=\"gallery__item--content\">\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n class=\"gallery__item--graphic\"\n >\n <use\n href=\"/assets/babylon/svg/icon-graphic.svg#icon-graphic\"\n ></use>\n </svg>\n\n <span>{{ slide.title }}</span>\n\n <svg\n aria-hidden=\"true\"\n class=\"gallery__item--icon\"\n focusable=\"false\"\n >\n <use\n href=\"/assets/babylon/svg/icon-close.svg#icon-close\"\n ></use>\n </svg>\n </div>\n }\n </a>\n </div>\n }\n </div>\n </div>\n </div>\n\n <!-- MODAL -->\n @if (currentSlide(); as slide) {\n <div\n class=\"gallery-modal\"\n role=\"dialog\"\n aria-modal=\"true\"\n [attr.aria-label]=\"slide.title || slide.alt || 'Galer\u00EDa'\"\n (click)=\"closeModal()\"\n >\n <div class=\"gallery-modal__panel\" (click)=\"$event.stopPropagation()\">\n <button\n type=\"button\"\n class=\"gallery-modal__close\"\n aria-label=\"Cerrar\"\n (click)=\"closeModal()\"\n >\n <svg viewBox=\"0 0 12 12\" aria-hidden=\"true\">\n <path\n d=\"M1 1l10 10M11 1L1 11\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.2\"\n />\n </svg>\n </button>\n\n @if (slides().length > 1) {\n <button\n type=\"button\"\n class=\"gallery-modal__nav gallery-modal__nav--prev\"\n aria-label=\"Anterior\"\n (click)=\"prev()\"\n >\n <svg viewBox=\"0 0 8 12\" aria-hidden=\"true\">\n <path\n d=\"M6.5 1L1.5 6l5 5\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.2\"\n />\n </svg>\n </button>\n <button\n type=\"button\"\n class=\"gallery-modal__nav gallery-modal__nav--next\"\n aria-label=\"Siguiente\"\n (click)=\"next()\"\n >\n <svg viewBox=\"0 0 8 12\" aria-hidden=\"true\">\n <path\n d=\"M1.5 1l5 5-5 5\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.2\"\n />\n </svg>\n </button>\n }\n\n <div class=\"gallery-modal__media\">\n @if (slide.videoUrl) {\n @if (isDirectVideo(slide.videoUrl)) {\n <video\n [src]=\"slide.videoUrl\"\n [poster]=\"slide.thumb\"\n controls\n autoplay\n playsinline\n ></video>\n } @else if (currentVideoSrc()) {\n <iframe\n [src]=\"currentVideoSrc()\"\n allow=\"autoplay; encrypted-media; picture-in-picture; fullscreen\"\n allowfullscreen\n title=\"video\"\n ></iframe>\n }\n } @else {\n <img [src]=\"slide.src\" [alt]=\"slide.alt\" />\n }\n </div>\n\n @if (\n slide.title ||\n slide.subtitle ||\n slide.ndTitle ||\n slide.ndSubtitle ||\n slide.description\n ) {\n <ul class=\"gallery-modal__info\">\n @if (slide.title) {\n <li>{{ slide.title }}</li>\n }\n @if (slide.subtitle) {\n <li>{{ slide.subtitle }}</li>\n }\n @if (slide.ndTitle) {\n <li>{{ slide.ndTitle }}</li>\n }\n @if (slide.ndSubtitle) {\n <li>{{ slide.ndSubtitle }}</li>\n }\n @if (slide.description) {\n <li>{{ slide.description }}</li>\n }\n </ul>\n }\n </div>\n </div>\n }\n</section>\n", styles: ["@media (min-width: 1280px){.order-custom-xl-xxl-1{order:1}.order-custom-xl-xxl-2{order:2}}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-fill{flex:1 1 auto!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.m-auto{margin:auto!important}.mt-auto,.my-auto{margin-top:auto!important}.mr-auto,.mx-auto{margin-right:auto!important}.mb-auto,.my-auto{margin-bottom:auto!important}.ml-auto,.mx-auto{margin-left:auto!important}@media (min-width: 540px){.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.m-sm-auto{margin:auto!important}.mt-sm-auto,.my-sm-auto{margin-top:auto!important}.mr-sm-auto,.mx-sm-auto{margin-right:auto!important}.mb-sm-auto,.my-sm-auto{margin-bottom:auto!important}.ml-sm-auto,.mx-sm-auto{margin-left:auto!important}}@media (min-width: 768px){.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.m-md-auto{margin:auto!important}.mt-md-auto,.my-md-auto{margin-top:auto!important}.mr-md-auto,.mx-md-auto{margin-right:auto!important}.mb-md-auto,.my-md-auto{margin-bottom:auto!important}.ml-md-auto,.mx-md-auto{margin-left:auto!important}}@media (min-width: 1025px){.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.m-lg-auto{margin:auto!important}.mt-lg-auto,.my-lg-auto{margin-top:auto!important}.mr-lg-auto,.mx-lg-auto{margin-right:auto!important}.mb-lg-auto,.my-lg-auto{margin-bottom:auto!important}.ml-lg-auto,.mx-lg-auto{margin-left:auto!important}}@media (min-width: 1280px){.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.m-xl-auto{margin:auto!important}.mt-xl-auto,.my-xl-auto{margin-top:auto!important}.mr-xl-auto,.mx-xl-auto{margin-right:auto!important}.mb-xl-auto,.my-xl-auto{margin-bottom:auto!important}.ml-xl-auto,.mx-xl-auto{margin-left:auto!important}}@media (min-width: 1366px){.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.m-xxl-auto{margin:auto!important}.mt-xxl-auto,.my-xxl-auto{margin-top:auto!important}.mr-xxl-auto,.mx-xxl-auto{margin-right:auto!important}.mb-xxl-auto,.my-xxl-auto{margin-bottom:auto!important}.ml-xxl-auto,.mx-xxl-auto{margin-left:auto!important}}@media (min-width: 1680px){.flex-xxxl-row{flex-direction:row!important}.flex-xxxl-column{flex-direction:column!important}.flex-xxxl-row-reverse{flex-direction:row-reverse!important}.flex-xxxl-column-reverse{flex-direction:column-reverse!important}.flex-xxxl-wrap{flex-wrap:wrap!important}.flex-xxxl-nowrap{flex-wrap:nowrap!important}.flex-xxxl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xxxl-fill{flex:1 1 auto!important}.flex-xxxl-grow-0{flex-grow:0!important}.flex-xxxl-grow-1{flex-grow:1!important}.flex-xxxl-shrink-0{flex-shrink:0!important}.flex-xxxl-shrink-1{flex-shrink:1!important}.justify-content-xxxl-start{justify-content:flex-start!important}.justify-content-xxxl-end{justify-content:flex-end!important}.justify-content-xxxl-center{justify-content:center!important}.justify-content-xxxl-between{justify-content:space-between!important}.justify-content-xxxl-around{justify-content:space-around!important}.align-items-xxxl-start{align-items:flex-start!important}.align-items-xxxl-end{align-items:flex-end!important}.align-items-xxxl-center{align-items:center!important}.align-items-xxxl-baseline{align-items:baseline!important}.align-items-xxxl-stretch{align-items:stretch!important}.align-content-xxxl-start{align-content:flex-start!important}.align-content-xxxl-end{align-content:flex-end!important}.align-content-xxxl-center{align-content:center!important}.align-content-xxxl-between{align-content:space-between!important}.align-content-xxxl-around{align-content:space-around!important}.align-content-xxxl-stretch{align-content:stretch!important}.align-self-xxxl-auto{align-self:auto!important}.align-self-xxxl-start{align-self:flex-start!important}.align-self-xxxl-end{align-self:flex-end!important}.align-self-xxxl-center{align-self:center!important}.align-self-xxxl-baseline{align-self:baseline!important}.align-self-xxxl-stretch{align-self:stretch!important}.m-xxxl-auto{margin:auto!important}.mt-xxxl-auto,.my-xxxl-auto{margin-top:auto!important}.mr-xxxl-auto,.mx-xxxl-auto{margin-right:auto!important}.mb-xxxl-auto,.my-xxxl-auto{margin-bottom:auto!important}.ml-xxxl-auto,.mx-xxxl-auto{margin-left:auto!important}}@media (min-width: 1921px){.flex-xxxxl-row{flex-direction:row!important}.flex-xxxxl-column{flex-direction:column!important}.flex-xxxxl-row-reverse{flex-direction:row-reverse!important}.flex-xxxxl-column-reverse{flex-direction:column-reverse!important}.flex-xxxxl-wrap{flex-wrap:wrap!important}.flex-xxxxl-nowrap{flex-wrap:nowrap!important}.flex-xxxxl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xxxxl-fill{flex:1 1 auto!important}.flex-xxxxl-grow-0{flex-grow:0!important}.flex-xxxxl-grow-1{flex-grow:1!important}.flex-xxxxl-shrink-0{flex-shrink:0!important}.flex-xxxxl-shrink-1{flex-shrink:1!important}.justify-content-xxxxl-start{justify-content:flex-start!important}.justify-content-xxxxl-end{justify-content:flex-end!important}.justify-content-xxxxl-center{justify-content:center!important}.justify-content-xxxxl-between{justify-content:space-between!important}.justify-content-xxxxl-around{justify-content:space-around!important}.align-items-xxxxl-start{align-items:flex-start!important}.align-items-xxxxl-end{align-items:flex-end!important}.align-items-xxxxl-center{align-items:center!important}.align-items-xxxxl-baseline{align-items:baseline!important}.align-items-xxxxl-stretch{align-items:stretch!important}.align-content-xxxxl-start{align-content:flex-start!important}.align-content-xxxxl-end{align-content:flex-end!important}.align-content-xxxxl-center{align-content:center!important}.align-content-xxxxl-between{align-content:space-between!important}.align-content-xxxxl-around{align-content:space-around!important}.align-content-xxxxl-stretch{align-content:stretch!important}.align-self-xxxxl-auto{align-self:auto!important}.align-self-xxxxl-start{align-self:flex-start!important}.align-self-xxxxl-end{align-self:flex-end!important}.align-self-xxxxl-center{align-self:center!important}.align-self-xxxxl-baseline{align-self:baseline!important}.align-self-xxxxl-stretch{align-self:stretch!important}.m-xxxxl-auto{margin:auto!important}.mt-xxxxl-auto,.my-xxxxl-auto{margin-top:auto!important}.mr-xxxxl-auto,.mx-xxxxl-auto{margin-right:auto!important}.mb-xxxxl-auto,.my-xxxxl-auto{margin-bottom:auto!important}.ml-xxxxl-auto,.mx-xxxxl-auto{margin-left:auto!important}}.mt--0{margin-top:0!important}.mb--0{margin-bottom:0!important}.pt--0{padding-top:0}.pb--0{padding-bottom:0}.mblock--0{margin-block:0px}.pblock--0{padding-block:0px}.mt--10{margin-top:10px!important}.mb--10{margin-bottom:10px!important}.pt--10{padding-top:10px}.pb--10{padding-bottom:10px}.mblock--10{margin-block:10px}.pblock--10{padding-block:10px}.mt--20{margin-top:20px!important}.mb--20{margin-bottom:20px!important}.pt--20{padding-top:20px}.pb--20{padding-bottom:20px}.mblock--20{margin-block:20px}.pblock--20{padding-block:20px}.mt--25{margin-top:25px!important}.mb--25{margin-bottom:25px!important}.pt--25{padding-top:25px}.pb--25{padding-bottom:25px}.mblock--25{margin-block:25px}.pblock--25{padding-block:25px}.mt--30{margin-top:30px!important}.mb--30{margin-bottom:30px!important}.pt--30{padding-top:30px}.pb--30{padding-bottom:30px}.mblock--30{margin-block:30px}.pblock--30{padding-block:30px}.mt--40{margin-top:40px!important}.mb--40{margin-bottom:40px!important}.pt--40{padding-top:40px}.pb--40{padding-bottom:40px}.mblock--40{margin-block:40px}.pblock--40{padding-block:40px}.mt--50{margin-top:50px!important}.mb--50{margin-bottom:50px!important}.pt--50{padding-top:50px}.pb--50{padding-bottom:50px}.mblock--50{margin-block:50px}.pblock--50{padding-block:50px}.mt--60{margin-top:60px!important}.mb--60{margin-bottom:60px!important}.pt--60{padding-top:60px}.pb--60{padding-bottom:60px}.mblock--60{margin-block:60px}.pblock--60{padding-block:60px}.mt--70{margin-top:70px!important}.mb--70{margin-bottom:70px!important}.pt--70{padding-top:70px}.pb--70{padding-bottom:70px}.mblock--70{margin-block:70px}.pblock--70{padding-block:70px}.mt--80{margin-top:80px!important}.mb--80{margin-bottom:80px!important}.pt--80{padding-top:80px}.pb--80{padding-bottom:80px}.mblock--80{margin-block:80px}.pblock--80{padding-block:80px}.mt--90{margin-top:90px!important}.mb--90{margin-bottom:90px!important}.pt--90{padding-top:90px}.pb--90{padding-bottom:90px}.mblock--90{margin-block:90px}.pblock--90{padding-block:90px}.mt--100{margin-top:100px!important}.mb--100{margin-bottom:100px!important}.pt--100{padding-top:100px}.pb--100{padding-bottom:100px}.mblock--100{margin-block:100px}.pblock--100{padding-block:100px}.mt--150{margin-top:150px!important}.mb--150{margin-bottom:150px!important}.pt--150{padding-top:150px}.pb--150{padding-bottom:150px}.mblock--150{margin-block:150px}.pblock--150{padding-block:150px}.mt--180{margin-top:180px!important}.mb--180{margin-bottom:180px!important}.pt--180{padding-top:180px}.pb--180{padding-bottom:180px}.mblock--180{margin-block:180px}.pblock--180{padding-block:180px}@keyframes move-right{0%{right:30px}50%{right:20px}to{right:30px}}:root{--font-title: \"the-seasons\", Helvetica, sans-serif;--font-pretitle: \"Poppins\", Helvetica, sans-serif;--font-text: \"Poppins\", Helvetica, sans-serif;--font-claim: \"turbinado-pro\", Helvetica, sans-serif;--cl_corp: #24262d;--cl_accent: #aa8453;--cl_icon: #978667;--cl_icon-light: #fff;--cl_border-light: #ededed;--cl_border-dark: #d9e1e6;--cl_shadow: rgba(0, 0, 0, .1);--cl_breadcrumb: #24262d;--cl_breadcrumb-hover: #978667;--cl_preload-bg: #ededed;--cl_preload: #24262d;--cl_background_body: #fdfbf8;--cl_background_white: #fff;--cl_background_dark: #19314b;--cl_background_gray: #eee;--cl_background_dark-opacity: #19314bbf;--cl_background_dark-opacity-v2: #1326398b;--cl_background_body-transparent: #ffffffe7;--cl_title: #978667;--cl_subtitle: #19314b;--cl_pretitle: #19314b;--cl_text: #3c3b3b;--cl_title-light: #fff;--cl_subtitle-light: #fff;--cl_pretitle-light: #fff;--cl_text-light: #fff;--cl_text-disable: #888;--w_title: 600;--w_text: 300;--w_subtitle: 300;--w_pretitle: 300;--padding-bottom-slider: 0px;--lh_pretitle-slider: 1.2;--lh_title-slider: 1.2;--cl_header-bg-nosticky: #0000001a;--cl_header-text-nosticky: #fff;--cl_header-bg-sticky: #eee;--cl_header-text-sticky: #19314b;--cl_header-bg-mobile: #b6b6b6;--cl_headerBottom-bg-mobile: #b6b6b6;--cl_header-text-mobile: #19314b;--cl_menu-modal-bg: #19314b;--cl_menu-modal-items: #978667;--cl_menu-modal-items-hover: #fff;--cl_menu-modal-text: #fff;--cl_menu-modal-text-hover: #fff;--ls_menu-modal-items: 1px;--w_menu-modal-items: 300;--hg_menu-img-height: 15rem;--cl_submenu-bg: #19314b;--cl_submenu-text: #fff;--cl_submenu-hover: #978667;--w_btn: 400;--size_btn: 14px;--size_link: 14px;--ls_link: 1px;--ls_btn: 1px;--upper_btn: uppercase;--upper_link: uppercase;--font-btn: \"Poppins\", Helvetica, sans-serif;--font-link: \"Poppins\", Helvetica, sans-serif;--cl_btn-box: #19314b;--cl_btn-box-text: #19314b;--cl_btn-box-hover: #978667;--cl_btn-box-text-hover: #fff;--cl_btn-call: #19314bf2;--cl_btn-call-text: #fff;--cl_btn-call-hover: #978667;--cl_btn-call-text-hover: #fff;--cl_btn-link: #19314b;--cl_btn-link-hover: #978667;--cl_btn-arrow: #19314b;--cl_btn-arrow-icon: #fff;--cl_btn-arrow-hover: #978667;--cl_btn-arrow-icon-hover: #fff;--cl_btn-dots: #24262d;--cl_btn-dots-active: #978667;--cl_btn-dots-hover: #978667;--cl_btn-light: #fff;--cl_btn-light-text: #fff;--cl_btn-light-hover: #978667;--cl_btn-light-text-hover: #978667;--cl_footer-bg: #19314b;--cl_footer-bg-bottom: #0a1d31;--cl_footer-bg-logos: #f8f7f3;--cl_footer-scroll: #978667;--cl_footer-text: #fff;--cl_footer-text-hover: #978667;--btn_radius: 5px;--img_radius: 5px;--img_border: #fff;--img_border-width: 1px;--dropdown-radius: 20px;--cl_background_dropdown: #fdfbf8;--cl_border-dropdown: #d9e1e6;--font-size-engine-text: 14px;--cl_engine-text: #19314b;--cl_engine-bg-nosticky: #ffffffcf;--cl_engine-text-nosticky: #19314b;--cl_engine-bg-sticky: #ffffff00;--cl_engine-text-sticky: #19314b;--cl_engine-bg-modal: #19314bbf;--cl_engine-input-bg: #ebebeb;--cl_engine-input-bg-select: #ebebeb;--cl_dropdown: #19314b;--cl_dropdown-text: #5a5a5a;--cl_dropdown-hover: #19314b;--cl_newsletter-input-background: #d1d1d1;--cl_newsletter-input-text: #5a5a5a;--cl_error: #ff7173;--cl_desde: #bcbbc3;--cl_price: #19314b;--cl_badget: #ff8874;--cl_badget-text: #fff;--alg-service-room-detail: center;--cl_alert-text: #19314b;--cl_alert-text-error: #fff;--cl_alert-background: #fff;--cl_alert-background-error: rgb(230, 92, 92);--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: var(--cl_corp);--mdc-checkbox-selected-hover-icon-color: var(--cl_corp);--mdc-checkbox-selected-icon-color: var(--cl_corp);--mdc-checkbox-selected-pressed-icon-color: var(--cl_corp);--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: var(--cl_corp);--mdc-checkbox-selected-hover-state-layer-color: var(--cl_corp);--mdc-checkbox-selected-pressed-state-layer-color: var(--cl_corp);--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black;--mat-checkbox-disabled-label-color: rgba(0, 0, 0, .38);--primary: #4a4a49;--cream: #f9f8f5;--white: #ffffff;--black: #000000;--whatsapp: #24cc63;--logo: #616161;--grey: #dcdcdc;--darkgrey: #1e1e1e;--instagram: #61bdff;--facebook: #3782f4;--twitter: #4a4a49;--youtube: #d9464b;--tripadvisor: #34e0a1;--booking: #0c3b7c;--silver: #c0bebe;--gold: #ffca64;--platinum: #b5d9e2}.cs_dark{--cl_corp: #181818;--cl_accent: #aa8453;--cl_icon: #aa8453;--cl_icon-light: #fff;--cl_border-light: #ededed;--cl_border-dark: #d9e1e6;--cl_shadow: rgba(0, 0, 0, .1);--cl_breadcrumb: #fff;--cl_breadcrumb-hover: #aa8453;--cl_preload-bg: #ededed;--cl_preload: #24262d;--cl_background_body: #181818;--cl_background_white: transparent;--cl_background_dark: #aa8453;--cl_background_gray: #333;--type-align: center;--cl_title: #fff;--cl_subtitle: #aa8453;--cl_pretitle: #aa8453;--cl_text: #fff;--cl_title-light: #fff;--cl_subtitle-light: #fff;--cl_pretitle-light: #fff;--cl_text-light: #fff;--cl_header-bg: #aa8453;--cl_header-text-light: #fff;--cl_menu-bg: #79582c;--cl_menu-text: #fff;--cl_btn-box: #aa8453;--cl_btn-box-text: #aa8453;--cl_btn-box-hover: #79582c;--cl_btn-box-text-hover: #fff;--cl_btn-call: #aa8453;--cl_btn-call-text: white;--cl_btn-call-hover: #79582c;--cl_btn-call-text-hover: #fff;--cl_btn-link: #aa8453;--cl_btn-link-hover: #79582c;--cl_btn-arrow: #ffffff3a;--cl_btn-arrow-icon: #fff;--cl_btn-arrow-hover: #79582c;--cl_btn-arrow-icon-hover: #fff;--cl_btn-dots: #eee;--cl_btn-dots-active: #79582c;--cl_btn-dots-hover: #79582c;--cl_btn-light: #fff;--cl_btn-light-text: #fff;--cl_btn-light-hover: #79582c;--cl_btn-light-text-hover: #79582c;--cl_footer-bg: #aa8453;--cl_footer-bg-bottom: #79582c;--cl_footer-scroll: #aa8453;--cl_footer-text: #fff;--cl_footer-text-hover: #aa8453;--btn_radius: 1px;--img_radius: 0px;--img_border: #fff;--img_border-width: 2px;--cl_engine-bg: #181818;--cl_engine-input-bg: #79582c;--cl_engine-input-bg-hover: #081523;--cl_engine-text: #fff;--cl_dropdown: #19314b;--cl_dropdown-text: #5a5a5a;--cl_dropdown-hover: #19314b;--cl_dropdown-radius: 20px;--cl_newsletter-input-background: #d1d1d1;--cl_newsletter-input-text: #5a5a5a}.gallery{padding-block:2.5rem 5rem}@media (min-width: 540px){.gallery{padding-block:3rem 5.8rem}}@media (min-width: 768px){.gallery{padding-block:4rem 8rem}}@media (min-width: 1024px){.gallery{padding-bottom:6.984rem}}@media (min-width: 1280px){.gallery{padding-bottom:8rem}}@media (min-width: 1366px){.gallery{padding-block:5.7rem 8.953rem}}@media (min-width: 1680px){.gallery{padding-block:6rem 10rem}}.gallery__inner{display:flex;flex-direction:column;gap:2.5rem}@media (min-width: 540px){.gallery__inner{gap:3rem}}@media (min-width: 768px){.gallery__inner{gap:4rem}}.gallery__heading{display:flex;align-items:center;flex-direction:column;gap:2rem}@media (min-width: 540px){.gallery__heading{gap:3rem}}@media (min-width: 1280px){.gallery__heading{gap:4rem}}.gallery__heading h2{font-size:4rem;line-height:1}@media (min-width: 540px){.gallery__heading h2{font-size:5.2rem;line-height:1}}@media (min-width: 768px){.gallery__heading h2{font-size:6rem;line-height:1}}.gallery__nav .desktop{display:none}@media (min-width: 1280px){.gallery__nav .desktop{display:flex;gap:5rem}}.gallery__nav .desktop li{text-transform:uppercase;color:rgb(var(--primary),50%);font-size:1.6rem;line-height:1;letter-spacing:.16rem;transition:var(--transition)}.gallery__nav .desktop li span{position:relative;padding-bottom:1.4rem;display:block}.gallery__nav .desktop li span:after{content:\"\";position:absolute;bottom:0;left:50%;transition:var(--transition);opacity:0;transform:translate(-50%);height:.1rem;width:1.8rem;background:var(--primary)}.gallery__nav .desktop li span.active{color:var(--primary)}.gallery__nav .desktop li span.active:after{opacity:1}.gallery__nav .mobile{display:flex}.gallery__nav .mobile .btn{width:15rem}@media (min-width: 540px){.gallery__nav .mobile .btn{width:21rem}}@media (min-width: 768px){.gallery__nav .mobile .btn{width:26rem}}@media (max-width: 539.98px){.gallery__nav .mobile .btn{height:3.6rem;padding-block:1rem;font-size:1.6rem;line-height:1}}@media (min-width: 1280px){.gallery__nav .mobile{display:none}}.gallery__nav .mobile li+li{margin-left:-1px}.gallery__list{display:grid;grid-template-columns:repeat(7,1fr);grid-auto-flow:dense;gap:2.4rem}@media (min-width: 540px){.gallery__list{gap:3rem}}@media (min-width: 768px){.gallery__list{gap:4.4rem;grid-template-columns:repeat(12,1fr)}}@media (min-width: 1024px){.gallery__list{column-gap:5rem;row-gap:2rem}}@media (min-width: 1280px){.gallery__list{grid-template-columns:repeat(19,1fr);column-gap:4.8rem;row-gap:2.8rem}}@media (min-width: 1366px){.gallery__list{column-gap:5rem;row-gap:2rem}}@media (min-width: 1680px){.gallery__list{column-gap:6.4rem;row-gap:3.4rem}}@media (min-width: 1800px){.gallery__list{column-gap:6.5rem;row-gap:3.5rem}}.gallery__item:nth-child(odd){grid-column:span 7}.gallery__item:nth-child(odd) .gallery__item--image figure{aspect-ratio:297/208}.gallery__item:nth-child(2n){grid-column:2/span 5}.gallery__item:nth-child(2n) .gallery__item--image figure{aspect-ratio:208/297}@media (min-width: 768px){.gallery__item:nth-child(4n+1){grid-row:span 3}.gallery__item:nth-child(4n+2){grid-column:span 5;grid-row:span 4}.gallery__item:nth-child(4n+3){grid-column:7/span 7;grid-row:span 3}.gallery__item:nth-child(4n+4){grid-column:2/span 5;grid-row:span 4}}@media (min-width: 1024px){.gallery__item:hover .gallery__item--content{transform:translateY(3rem)}}@media (min-width: 1280px){.gallery__item:nth-child(6n+1),.gallery__item:nth-child(6n+3),.gallery__item:nth-child(6n+5){grid-column:span 7;grid-row:span 3}.gallery__item:nth-child(6n+1) .gallery__item--image figure,.gallery__item:nth-child(6n+3) .gallery__item--image figure,.gallery__item:nth-child(6n+5) .gallery__item--image figure{aspect-ratio:297/208}.gallery__item:nth-child(6n+2),.gallery__item:nth-child(6n+4),.gallery__item:nth-child(6n+6){grid-column:span 5;grid-row:span 4}.gallery__item:nth-child(6n+2) .gallery__item--image figure,.gallery__item:nth-child(6n+4) .gallery__item--image figure,.gallery__item:nth-child(6n+6) .gallery__item--image figure{aspect-ratio:208/297}.gallery__item:nth-child(6n+4){grid-column:2/span 5}.gallery__item:nth-child(6n+5){grid-column:7/span 7}.gallery__item:nth-child(6n+6){grid-column:14/span 5}}.gallery__item--box{position:relative}@media (min-width: 1024px){.gallery__item--box{overflow:hidden;padding-bottom:3rem;display:block}}.gallery__item--content{position:absolute;inset:auto 0 0;background:var(--white);display:flex;gap:1rem;transition:var(--transition);align-items:center;justify-content:center;text-align:center;padding-top:1.281rem;transform:translateY(calc(100% - 3rem))}@media (min-width: 540px){.gallery__item--content{padding-top:1.341rem}}@media (min-width: 768px){.gallery__item--content{padding-top:1.259rem}}@media (min-width: 1024px){.gallery__item--content{justify-content:space-between;text-align:left;padding:2rem 2.4rem;transform:translateY(calc(100% + 5rem))}}.gallery__item--content span{font-size:1.6rem;line-height:1.5;color:rgb(var(--primary),80%)}@media (min-width: 540px){.gallery__item--content span{font-size:1.8rem;line-height:1.5555555556}}@media (min-width: 768px){.gallery__item--content span{font-size:2rem;line-height:1.7;letter-spacing:.04rem}}.gallery__item--graphic{position:absolute;width:6rem;aspect-ratio:2/1;left:50%;top:0;transform:translate(-50%,-100%) scaleY(-1);color:var(--white);display:none}@media (min-width: 540px){.gallery__item--graphic{width:10rem}}@media (min-width: 1024px){.gallery__item--graphic{display:block}}.gallery__item--icon{color:var(--primary);width:.914rem;aspect-ratio:1;transform:rotate(-45deg);display:none}@media (min-width: 1024px){.gallery__item--icon{display:block}}.gallery__item:not(.show){display:none}.gallery-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:1.6rem;background:#1b1b1beb}@media (min-width: 1024px){.gallery-modal{padding:4rem}}.gallery-modal__panel{position:relative;display:flex;flex-direction:column;align-items:center;gap:1.6rem;width:100%;height:80dvh;max-width:84.4rem;min-width:90vw;padding:6rem 1.6rem 2rem;overflow:hidden;background:var(--white)}@media (min-width: 1024px){.gallery-modal__panel{padding:4.6rem 8.6rem 3.4rem}}@media (max-width: 1024px){.gallery-modal__panel{height:auto}}.gallery-modal__media{display:flex;align-items:center;justify-content:center;width:100%;min-height:0;flex:1 1 auto}.gallery-modal__media img,.gallery-modal__media video{display:block;max-width:100%;max-height:calc(100vh - 40rem);width:auto;height:auto;object-fit:contain}.gallery-modal__media iframe{width:100%;aspect-ratio:16/9;max-height:calc(100vh - 20rem);border:0}.gallery-modal__close,.gallery-modal__nav{display:flex;align-items:center;justify-content:center;border:0;padding:0;cursor:pointer;color:var(--primary);background:rgb(var(--primary),8%);transition:var(--transition)}.gallery-modal__close:hover,.gallery-modal__nav:hover{background:rgb(var(--primary),16%)}.gallery-modal__close svg,.gallery-modal__nav svg{width:1rem;height:1rem}.gallery-modal__close{position:absolute;top:1.6rem;right:1.6rem;width:2.8rem;height:2.8rem;z-index:2}@media (min-width: 1024px){.gallery-modal__close{top:2.4rem;right:2.4rem}}.gallery-modal__nav{position:absolute;top:50%;width:2.8rem;height:2.8rem;transform:translateY(-50%);z-index:2}.gallery-modal__nav--prev{left:.8rem}@media (min-width: 1024px){.gallery-modal__nav--prev{left:2.4rem}}.gallery-modal__nav--next{right:.8rem}@media (min-width: 1024px){.gallery-modal__nav--next{right:2.4rem}}.gallery-modal__info{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:.8rem 3.2rem;width:100%;max-width:50vw;min-height:40px;margin:0;padding:0;list-style:none;font-size:1.2rem;line-height:1.6rem;letter-spacing:.05em;color:rgb(var(--primary),80%)}.gallery-modal__info li{padding-left:1.6rem}.gallery-modal__info li:before{display:none}@media (max-width: 1024px){.gallery-modal__info{max-width:100%;min-height:100%}}\n"] }); }
117
247
  }
118
248
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BabylonGalleryV2Component, decorators: [{
119
249
  type: Component,
120
- args: [{ selector: 'lib-babylon-gallery-v2', standalone: true, imports: [BabylonLightGalleryDirective], template: "<section class=\"gallery\">\n <div class=\"container\">\n <div class=\"gallery__inner\">\n <!-- HEADER -->\n <div class=\"gallery__heading\">\n @if (title) {\n <h1>{{ title }}</h1>\n }\n\n <div class=\"gallery__nav\">\n <!-- DESKTOP -->\n <ul class=\"desktop\">\n @for (filter of filters; track $index) {\n @if (\n filter &&\n !filter.room &&\n hasImagesForFilter(filter)\n ) {\n <li>\n <span\n (click)=\"filterItems(filter)\"\n [class.active]=\"\n filterSelected() === filter\n \"\n >\n {{ filter.text }}\n </span>\n </li>\n }\n }\n </ul>\n\n <!-- MOBILE -->\n <ul class=\"mobile\">\n <li\n class=\"btn btn__primary\"\n (click)=\"openFiltersModal()\"\n >\n {{ filterModalBtn ?? 'Categor\u00EDas' }}\n </li>\n\n @if (filterRoomsBtn) {\n <li\n class=\"btn btn__primary\"\n (click)=\"openFiltersRoomModal()\"\n >\n {{ filterRoomsBtn }}\n </li>\n }\n </ul>\n </div>\n </div>\n\n <!-- LIST -->\n <div class=\"gallery__list\" BabylonLightGallery>\n @if (imagesDisplayed()?.length) {\n @for (item of imagesDisplayed(); track $index) {\n <div\n class=\"gallery__item show\"\n data-category=\"habitactiones\"\n [attr.data-img]=\"\n item.img?.src ||\n 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7'\n \"\n [attr.data-title]=\"item.title\"\n >\n <a\n class=\"gallery__item--box cs_lightbox_item\"\n [href]=\"getGalleryHref(item)\"\n [attr.data-thumb]=\"getGalleryHref(item)\"\n (click)=\"$event.preventDefault()\"\n >\n <div class=\"gallery__item--image\">\n <figure>\n <img [src]=\"getGalleryHref(item)\" />\n </figure>\n </div>\n\n <div class=\"gallery__item--content\">\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n class=\"gallery__item--graphic\"\n >\n <use\n href=\"/assets/babylon/svg/icon-graphic.svg#icon-graphic\"\n ></use>\n </svg>\n\n <span>{{ item.title }}</span>\n\n <svg\n aria-hidden=\"true\"\n class=\"gallery__item--icon\"\n focusable=\"false\"\n >\n <use\n href=\"/assets/babylon/svg/icon-close.svg#icon-close\"\n ></use>\n </svg>\n </div>\n </a>\n </div>\n }\n }\n </div>\n </div>\n </div>\n</section>\n", styles: ["@media (min-width: 1280px){.order-custom-xl-xxl-1{order:1}.order-custom-xl-xxl-2{order:2}}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-fill{flex:1 1 auto!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.m-auto{margin:auto!important}.mt-auto,.my-auto{margin-top:auto!important}.mr-auto,.mx-auto{margin-right:auto!important}.mb-auto,.my-auto{margin-bottom:auto!important}.ml-auto,.mx-auto{margin-left:auto!important}@media (min-width: 540px){.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.m-sm-auto{margin:auto!important}.mt-sm-auto,.my-sm-auto{margin-top:auto!important}.mr-sm-auto,.mx-sm-auto{margin-right:auto!important}.mb-sm-auto,.my-sm-auto{margin-bottom:auto!important}.ml-sm-auto,.mx-sm-auto{margin-left:auto!important}}@media (min-width: 768px){.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.m-md-auto{margin:auto!important}.mt-md-auto,.my-md-auto{margin-top:auto!important}.mr-md-auto,.mx-md-auto{margin-right:auto!important}.mb-md-auto,.my-md-auto{margin-bottom:auto!important}.ml-md-auto,.mx-md-auto{margin-left:auto!important}}@media (min-width: 1025px){.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.m-lg-auto{margin:auto!important}.mt-lg-auto,.my-lg-auto{margin-top:auto!important}.mr-lg-auto,.mx-lg-auto{margin-right:auto!important}.mb-lg-auto,.my-lg-auto{margin-bottom:auto!important}.ml-lg-auto,.mx-lg-auto{margin-left:auto!important}}@media (min-width: 1280px){.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.m-xl-auto{margin:auto!important}.mt-xl-auto,.my-xl-auto{margin-top:auto!important}.mr-xl-auto,.mx-xl-auto{margin-right:auto!important}.mb-xl-auto,.my-xl-auto{margin-bottom:auto!important}.ml-xl-auto,.mx-xl-auto{margin-left:auto!important}}@media (min-width: 1366px){.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.m-xxl-auto{margin:auto!important}.mt-xxl-auto,.my-xxl-auto{margin-top:auto!important}.mr-xxl-auto,.mx-xxl-auto{margin-right:auto!important}.mb-xxl-auto,.my-xxl-auto{margin-bottom:auto!important}.ml-xxl-auto,.mx-xxl-auto{margin-left:auto!important}}@media (min-width: 1680px){.flex-xxxl-row{flex-direction:row!important}.flex-xxxl-column{flex-direction:column!important}.flex-xxxl-row-reverse{flex-direction:row-reverse!important}.flex-xxxl-column-reverse{flex-direction:column-reverse!important}.flex-xxxl-wrap{flex-wrap:wrap!important}.flex-xxxl-nowrap{flex-wrap:nowrap!important}.flex-xxxl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xxxl-fill{flex:1 1 auto!important}.flex-xxxl-grow-0{flex-grow:0!important}.flex-xxxl-grow-1{flex-grow:1!important}.flex-xxxl-shrink-0{flex-shrink:0!important}.flex-xxxl-shrink-1{flex-shrink:1!important}.justify-content-xxxl-start{justify-content:flex-start!important}.justify-content-xxxl-end{justify-content:flex-end!important}.justify-content-xxxl-center{justify-content:center!important}.justify-content-xxxl-between{justify-content:space-between!important}.justify-content-xxxl-around{justify-content:space-around!important}.align-items-xxxl-start{align-items:flex-start!important}.align-items-xxxl-end{align-items:flex-end!important}.align-items-xxxl-center{align-items:center!important}.align-items-xxxl-baseline{align-items:baseline!important}.align-items-xxxl-stretch{align-items:stretch!important}.align-content-xxxl-start{align-content:flex-start!important}.align-content-xxxl-end{align-content:flex-end!important}.align-content-xxxl-center{align-content:center!important}.align-content-xxxl-between{align-content:space-between!important}.align-content-xxxl-around{align-content:space-around!important}.align-content-xxxl-stretch{align-content:stretch!important}.align-self-xxxl-auto{align-self:auto!important}.align-self-xxxl-start{align-self:flex-start!important}.align-self-xxxl-end{align-self:flex-end!important}.align-self-xxxl-center{align-self:center!important}.align-self-xxxl-baseline{align-self:baseline!important}.align-self-xxxl-stretch{align-self:stretch!important}.m-xxxl-auto{margin:auto!important}.mt-xxxl-auto,.my-xxxl-auto{margin-top:auto!important}.mr-xxxl-auto,.mx-xxxl-auto{margin-right:auto!important}.mb-xxxl-auto,.my-xxxl-auto{margin-bottom:auto!important}.ml-xxxl-auto,.mx-xxxl-auto{margin-left:auto!important}}@media (min-width: 1921px){.flex-xxxxl-row{flex-direction:row!important}.flex-xxxxl-column{flex-direction:column!important}.flex-xxxxl-row-reverse{flex-direction:row-reverse!important}.flex-xxxxl-column-reverse{flex-direction:column-reverse!important}.flex-xxxxl-wrap{flex-wrap:wrap!important}.flex-xxxxl-nowrap{flex-wrap:nowrap!important}.flex-xxxxl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xxxxl-fill{flex:1 1 auto!important}.flex-xxxxl-grow-0{flex-grow:0!important}.flex-xxxxl-grow-1{flex-grow:1!important}.flex-xxxxl-shrink-0{flex-shrink:0!important}.flex-xxxxl-shrink-1{flex-shrink:1!important}.justify-content-xxxxl-start{justify-content:flex-start!important}.justify-content-xxxxl-end{justify-content:flex-end!important}.justify-content-xxxxl-center{justify-content:center!important}.justify-content-xxxxl-between{justify-content:space-between!important}.justify-content-xxxxl-around{justify-content:space-around!important}.align-items-xxxxl-start{align-items:flex-start!important}.align-items-xxxxl-end{align-items:flex-end!important}.align-items-xxxxl-center{align-items:center!important}.align-items-xxxxl-baseline{align-items:baseline!important}.align-items-xxxxl-stretch{align-items:stretch!important}.align-content-xxxxl-start{align-content:flex-start!important}.align-content-xxxxl-end{align-content:flex-end!important}.align-content-xxxxl-center{align-content:center!important}.align-content-xxxxl-between{align-content:space-between!important}.align-content-xxxxl-around{align-content:space-around!important}.align-content-xxxxl-stretch{align-content:stretch!important}.align-self-xxxxl-auto{align-self:auto!important}.align-self-xxxxl-start{align-self:flex-start!important}.align-self-xxxxl-end{align-self:flex-end!important}.align-self-xxxxl-center{align-self:center!important}.align-self-xxxxl-baseline{align-self:baseline!important}.align-self-xxxxl-stretch{align-self:stretch!important}.m-xxxxl-auto{margin:auto!important}.mt-xxxxl-auto,.my-xxxxl-auto{margin-top:auto!important}.mr-xxxxl-auto,.mx-xxxxl-auto{margin-right:auto!important}.mb-xxxxl-auto,.my-xxxxl-auto{margin-bottom:auto!important}.ml-xxxxl-auto,.mx-xxxxl-auto{margin-left:auto!important}}.mt--0{margin-top:0!important}.mb--0{margin-bottom:0!important}.pt--0{padding-top:0}.pb--0{padding-bottom:0}.mblock--0{margin-block:0px}.pblock--0{padding-block:0px}.mt--10{margin-top:10px!important}.mb--10{margin-bottom:10px!important}.pt--10{padding-top:10px}.pb--10{padding-bottom:10px}.mblock--10{margin-block:10px}.pblock--10{padding-block:10px}.mt--20{margin-top:20px!important}.mb--20{margin-bottom:20px!important}.pt--20{padding-top:20px}.pb--20{padding-bottom:20px}.mblock--20{margin-block:20px}.pblock--20{padding-block:20px}.mt--25{margin-top:25px!important}.mb--25{margin-bottom:25px!important}.pt--25{padding-top:25px}.pb--25{padding-bottom:25px}.mblock--25{margin-block:25px}.pblock--25{padding-block:25px}.mt--30{margin-top:30px!important}.mb--30{margin-bottom:30px!important}.pt--30{padding-top:30px}.pb--30{padding-bottom:30px}.mblock--30{margin-block:30px}.pblock--30{padding-block:30px}.mt--40{margin-top:40px!important}.mb--40{margin-bottom:40px!important}.pt--40{padding-top:40px}.pb--40{padding-bottom:40px}.mblock--40{margin-block:40px}.pblock--40{padding-block:40px}.mt--50{margin-top:50px!important}.mb--50{margin-bottom:50px!important}.pt--50{padding-top:50px}.pb--50{padding-bottom:50px}.mblock--50{margin-block:50px}.pblock--50{padding-block:50px}.mt--60{margin-top:60px!important}.mb--60{margin-bottom:60px!important}.pt--60{padding-top:60px}.pb--60{padding-bottom:60px}.mblock--60{margin-block:60px}.pblock--60{padding-block:60px}.mt--70{margin-top:70px!important}.mb--70{margin-bottom:70px!important}.pt--70{padding-top:70px}.pb--70{padding-bottom:70px}.mblock--70{margin-block:70px}.pblock--70{padding-block:70px}.mt--80{margin-top:80px!important}.mb--80{margin-bottom:80px!important}.pt--80{padding-top:80px}.pb--80{padding-bottom:80px}.mblock--80{margin-block:80px}.pblock--80{padding-block:80px}.mt--90{margin-top:90px!important}.mb--90{margin-bottom:90px!important}.pt--90{padding-top:90px}.pb--90{padding-bottom:90px}.mblock--90{margin-block:90px}.pblock--90{padding-block:90px}.mt--100{margin-top:100px!important}.mb--100{margin-bottom:100px!important}.pt--100{padding-top:100px}.pb--100{padding-bottom:100px}.mblock--100{margin-block:100px}.pblock--100{padding-block:100px}.mt--150{margin-top:150px!important}.mb--150{margin-bottom:150px!important}.pt--150{padding-top:150px}.pb--150{padding-bottom:150px}.mblock--150{margin-block:150px}.pblock--150{padding-block:150px}.mt--180{margin-top:180px!important}.mb--180{margin-bottom:180px!important}.pt--180{padding-top:180px}.pb--180{padding-bottom:180px}.mblock--180{margin-block:180px}.pblock--180{padding-block:180px}@keyframes move-right{0%{right:30px}50%{right:20px}to{right:30px}}:root{--font-title: \"the-seasons\", Helvetica, sans-serif;--font-pretitle: \"Poppins\", Helvetica, sans-serif;--font-text: \"Poppins\", Helvetica, sans-serif;--font-claim: \"turbinado-pro\", Helvetica, sans-serif;--cl_corp: #24262d;--cl_accent: #aa8453;--cl_icon: #978667;--cl_icon-light: #fff;--cl_border-light: #ededed;--cl_border-dark: #d9e1e6;--cl_shadow: rgba(0, 0, 0, .1);--cl_breadcrumb: #24262d;--cl_breadcrumb-hover: #978667;--cl_preload-bg: #ededed;--cl_preload: #24262d;--cl_background_body: #fdfbf8;--cl_background_white: #fff;--cl_background_dark: #19314b;--cl_background_gray: #eee;--cl_background_dark-opacity: #19314bbf;--cl_background_dark-opacity-v2: #1326398b;--cl_background_body-transparent: #ffffffe7;--cl_title: #978667;--cl_subtitle: #19314b;--cl_pretitle: #19314b;--cl_text: #3c3b3b;--cl_title-light: #fff;--cl_subtitle-light: #fff;--cl_pretitle-light: #fff;--cl_text-light: #fff;--cl_text-disable: #888;--w_title: 600;--w_text: 300;--w_subtitle: 300;--w_pretitle: 300;--padding-bottom-slider: 0px;--lh_pretitle-slider: 1.2;--lh_title-slider: 1.2;--cl_header-bg-nosticky: #0000001a;--cl_header-text-nosticky: #fff;--cl_header-bg-sticky: #eee;--cl_header-text-sticky: #19314b;--cl_header-bg-mobile: #b6b6b6;--cl_headerBottom-bg-mobile: #b6b6b6;--cl_header-text-mobile: #19314b;--cl_menu-modal-bg: #19314b;--cl_menu-modal-items: #978667;--cl_menu-modal-items-hover: #fff;--cl_menu-modal-text: #fff;--cl_menu-modal-text-hover: #fff;--ls_menu-modal-items: 1px;--w_menu-modal-items: 300;--hg_menu-img-height: 15rem;--cl_submenu-bg: #19314b;--cl_submenu-text: #fff;--cl_submenu-hover: #978667;--w_btn: 400;--size_btn: 14px;--size_link: 14px;--ls_link: 1px;--ls_btn: 1px;--upper_btn: uppercase;--upper_link: uppercase;--font-btn: \"Poppins\", Helvetica, sans-serif;--font-link: \"Poppins\", Helvetica, sans-serif;--cl_btn-box: #19314b;--cl_btn-box-text: #19314b;--cl_btn-box-hover: #978667;--cl_btn-box-text-hover: #fff;--cl_btn-call: #19314bf2;--cl_btn-call-text: #fff;--cl_btn-call-hover: #978667;--cl_btn-call-text-hover: #fff;--cl_btn-link: #19314b;--cl_btn-link-hover: #978667;--cl_btn-arrow: #19314b;--cl_btn-arrow-icon: #fff;--cl_btn-arrow-hover: #978667;--cl_btn-arrow-icon-hover: #fff;--cl_btn-dots: #24262d;--cl_btn-dots-active: #978667;--cl_btn-dots-hover: #978667;--cl_btn-light: #fff;--cl_btn-light-text: #fff;--cl_btn-light-hover: #978667;--cl_btn-light-text-hover: #978667;--cl_footer-bg: #19314b;--cl_footer-bg-bottom: #0a1d31;--cl_footer-bg-logos: #f8f7f3;--cl_footer-scroll: #978667;--cl_footer-text: #fff;--cl_footer-text-hover: #978667;--btn_radius: 5px;--img_radius: 5px;--img_border: #fff;--img_border-width: 1px;--dropdown-radius: 20px;--cl_background_dropdown: #fdfbf8;--cl_border-dropdown: #d9e1e6;--font-size-engine-text: 14px;--cl_engine-text: #19314b;--cl_engine-bg-nosticky: #ffffffcf;--cl_engine-text-nosticky: #19314b;--cl_engine-bg-sticky: #ffffff00;--cl_engine-text-sticky: #19314b;--cl_engine-bg-modal: #19314bbf;--cl_engine-input-bg: #ebebeb;--cl_engine-input-bg-select: #ebebeb;--cl_dropdown: #19314b;--cl_dropdown-text: #5a5a5a;--cl_dropdown-hover: #19314b;--cl_newsletter-input-background: #d1d1d1;--cl_newsletter-input-text: #5a5a5a;--cl_error: #ff7173;--cl_desde: #bcbbc3;--cl_price: #19314b;--cl_badget: #ff8874;--cl_badget-text: #fff;--alg-service-room-detail: center;--cl_alert-text: #19314b;--cl_alert-text-error: #fff;--cl_alert-background: #fff;--cl_alert-background-error: rgb(230, 92, 92);--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: var(--cl_corp);--mdc-checkbox-selected-hover-icon-color: var(--cl_corp);--mdc-checkbox-selected-icon-color: var(--cl_corp);--mdc-checkbox-selected-pressed-icon-color: var(--cl_corp);--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: var(--cl_corp);--mdc-checkbox-selected-hover-state-layer-color: var(--cl_corp);--mdc-checkbox-selected-pressed-state-layer-color: var(--cl_corp);--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black;--mat-checkbox-disabled-label-color: rgba(0, 0, 0, .38);--primary: #4a4a49;--cream: #f9f8f5;--white: #ffffff;--black: #000000;--whatsapp: #24cc63;--logo: #616161;--grey: #dcdcdc;--darkgrey: #1e1e1e;--instagram: #61bdff;--facebook: #3782f4;--twitter: #4a4a49;--youtube: #d9464b;--tripadvisor: #34e0a1;--booking: #0c3b7c;--silver: #c0bebe;--gold: #ffca64;--platinum: #b5d9e2}.cs_dark{--cl_corp: #181818;--cl_accent: #aa8453;--cl_icon: #aa8453;--cl_icon-light: #fff;--cl_border-light: #ededed;--cl_border-dark: #d9e1e6;--cl_shadow: rgba(0, 0, 0, .1);--cl_breadcrumb: #fff;--cl_breadcrumb-hover: #aa8453;--cl_preload-bg: #ededed;--cl_preload: #24262d;--cl_background_body: #181818;--cl_background_white: transparent;--cl_background_dark: #aa8453;--cl_background_gray: #333;--type-align: center;--cl_title: #fff;--cl_subtitle: #aa8453;--cl_pretitle: #aa8453;--cl_text: #fff;--cl_title-light: #fff;--cl_subtitle-light: #fff;--cl_pretitle-light: #fff;--cl_text-light: #fff;--cl_header-bg: #aa8453;--cl_header-text-light: #fff;--cl_menu-bg: #79582c;--cl_menu-text: #fff;--cl_btn-box: #aa8453;--cl_btn-box-text: #aa8453;--cl_btn-box-hover: #79582c;--cl_btn-box-text-hover: #fff;--cl_btn-call: #aa8453;--cl_btn-call-text: white;--cl_btn-call-hover: #79582c;--cl_btn-call-text-hover: #fff;--cl_btn-link: #aa8453;--cl_btn-link-hover: #79582c;--cl_btn-arrow: #ffffff3a;--cl_btn-arrow-icon: #fff;--cl_btn-arrow-hover: #79582c;--cl_btn-arrow-icon-hover: #fff;--cl_btn-dots: #eee;--cl_btn-dots-active: #79582c;--cl_btn-dots-hover: #79582c;--cl_btn-light: #fff;--cl_btn-light-text: #fff;--cl_btn-light-hover: #79582c;--cl_btn-light-text-hover: #79582c;--cl_footer-bg: #aa8453;--cl_footer-bg-bottom: #79582c;--cl_footer-scroll: #aa8453;--cl_footer-text: #fff;--cl_footer-text-hover: #aa8453;--btn_radius: 1px;--img_radius: 0px;--img_border: #fff;--img_border-width: 2px;--cl_engine-bg: #181818;--cl_engine-input-bg: #79582c;--cl_engine-input-bg-hover: #081523;--cl_engine-text: #fff;--cl_dropdown: #19314b;--cl_dropdown-text: #5a5a5a;--cl_dropdown-hover: #19314b;--cl_dropdown-radius: 20px;--cl_newsletter-input-background: #d1d1d1;--cl_newsletter-input-text: #5a5a5a}.gallery{padding-block:2.5rem 5rem}@media (min-width: 540px){.gallery{padding-block:3rem 5.8rem}}@media (min-width: 768px){.gallery{padding-block:4rem 8rem}}@media (min-width: 1024px){.gallery{padding-bottom:6.984rem}}@media (min-width: 1280px){.gallery{padding-bottom:8rem}}@media (min-width: 1366px){.gallery{padding-block:5.7rem 8.953rem}}@media (min-width: 1680px){.gallery{padding-block:6rem 10rem}}.gallery__inner{display:flex;flex-direction:column;gap:2.5rem}@media (min-width: 540px){.gallery__inner{gap:3rem}}@media (min-width: 768px){.gallery__inner{gap:4rem}}.gallery__heading{display:flex;align-items:center;flex-direction:column;gap:2rem}@media (min-width: 540px){.gallery__heading{gap:3rem}}@media (min-width: 1280px){.gallery__heading{gap:4rem}}.gallery__heading h2{font-size:4rem;line-height:1}@media (min-width: 540px){.gallery__heading h2{font-size:5.2rem;line-height:1}}@media (min-width: 768px){.gallery__heading h2{font-size:6rem;line-height:1}}.gallery__nav .desktop{display:none}@media (min-width: 1280px){.gallery__nav .desktop{display:flex;gap:5rem}}.gallery__nav .desktop li{text-transform:uppercase;color:rgb(var(--primary),50%);font-size:1.6rem;line-height:1;letter-spacing:.16rem;transition:var(--transition)}.gallery__nav .desktop li span{position:relative;padding-bottom:1.4rem;display:block}.gallery__nav .desktop li span:after{content:\"\";position:absolute;bottom:0;left:50%;transition:var(--transition);opacity:0;transform:translate(-50%);height:.1rem;width:1.8rem;background:var(--primary)}.gallery__nav .desktop li span.active{color:var(--primary)}.gallery__nav .desktop li span.active:after{opacity:1}.gallery__nav .mobile{display:flex}.gallery__nav .mobile .btn{width:15rem}@media (min-width: 540px){.gallery__nav .mobile .btn{width:21rem}}@media (min-width: 768px){.gallery__nav .mobile .btn{width:26rem}}@media (max-width: 539.98px){.gallery__nav .mobile .btn{height:3.6rem;padding-block:1rem;font-size:1.6rem;line-height:1}}@media (min-width: 1280px){.gallery__nav .mobile{display:none}}.gallery__nav .mobile li+li{margin-left:-1px}.gallery__list{display:grid;grid-template-columns:repeat(7,1fr);grid-auto-flow:dense;gap:2.4rem}@media (min-width: 540px){.gallery__list{gap:3rem}}@media (min-width: 768px){.gallery__list{gap:4.4rem;grid-template-columns:repeat(12,1fr)}}@media (min-width: 1024px){.gallery__list{column-gap:5rem;row-gap:2rem}}@media (min-width: 1280px){.gallery__list{grid-template-columns:repeat(19,1fr);column-gap:4.8rem;row-gap:2.8rem}}@media (min-width: 1366px){.gallery__list{column-gap:5rem;row-gap:2rem}}@media (min-width: 1680px){.gallery__list{column-gap:6.4rem;row-gap:3.4rem}}@media (min-width: 1800px){.gallery__list{column-gap:6.5rem;row-gap:3.5rem}}.gallery__item:nth-child(odd){grid-column:span 7}.gallery__item:nth-child(odd) .gallery__item--image figure{aspect-ratio:297/208}.gallery__item:nth-child(2n){grid-column:2/span 5}.gallery__item:nth-child(2n) .gallery__item--image figure{aspect-ratio:208/297}@media (min-width: 768px){.gallery__item:nth-child(4n+1){grid-row:span 3}.gallery__item:nth-child(4n+2){grid-column:span 5;grid-row:span 4}.gallery__item:nth-child(4n+3){grid-column:7/span 7;grid-row:span 3}.gallery__item:nth-child(4n+4){grid-column:2/span 5;grid-row:span 4}}@media (min-width: 1024px){.gallery__item:hover .gallery__item--content{transform:translateY(3rem)}}@media (min-width: 1280px){.gallery__item:nth-child(6n+1),.gallery__item:nth-child(6n+3),.gallery__item:nth-child(6n+5){grid-column:span 7;grid-row:span 3}.gallery__item:nth-child(6n+1) .gallery__item--image figure,.gallery__item:nth-child(6n+3) .gallery__item--image figure,.gallery__item:nth-child(6n+5) .gallery__item--image figure{aspect-ratio:297/208}.gallery__item:nth-child(6n+2),.gallery__item:nth-child(6n+4),.gallery__item:nth-child(6n+6){grid-column:span 5;grid-row:span 4}.gallery__item:nth-child(6n+2) .gallery__item--image figure,.gallery__item:nth-child(6n+4) .gallery__item--image figure,.gallery__item:nth-child(6n+6) .gallery__item--image figure{aspect-ratio:208/297}.gallery__item:nth-child(6n+4){grid-column:2/span 5}.gallery__item:nth-child(6n+5){grid-column:7/span 7}.gallery__item:nth-child(6n+6){grid-column:14/span 5}}.gallery__item--box{position:relative}@media (min-width: 1024px){.gallery__item--box{overflow:hidden;padding-bottom:3rem;display:block}}.gallery__item--content{position:absolute;inset:auto 0 0;background:var(--white);display:flex;gap:1rem;transition:var(--transition);align-items:center;justify-content:center;text-align:center;padding-top:1.281rem;transform:translateY(calc(100% - 3rem))}@media (min-width: 540px){.gallery__item--content{padding-top:1.341rem}}@media (min-width: 768px){.gallery__item--content{padding-top:1.259rem}}@media (min-width: 1024px){.gallery__item--content{justify-content:space-between;text-align:left;padding:2rem 2.4rem;transform:translateY(calc(100% + 5rem))}}.gallery__item--content span{font-size:1.6rem;line-height:1.5;color:rgb(var(--primary),80%)}@media (min-width: 540px){.gallery__item--content span{font-size:1.8rem;line-height:1.5555555556}}@media (min-width: 768px){.gallery__item--content span{font-size:2rem;line-height:1.7;letter-spacing:.04rem}}.gallery__item--graphic{position:absolute;width:6rem;aspect-ratio:2/1;left:50%;top:0;transform:translate(-50%,-100%) scaleY(-1);color:var(--white);display:none}@media (min-width: 540px){.gallery__item--graphic{width:10rem}}@media (min-width: 1024px){.gallery__item--graphic{display:block}}.gallery__item--icon{color:var(--primary);width:.914rem;aspect-ratio:1;transform:rotate(-45deg);display:none}@media (min-width: 1024px){.gallery__item--icon{display:block}}.gallery__item:not(.show){display:none}\n"] }]
250
+ args: [{ selector: 'lib-babylon-gallery-v2', standalone: true, template: "<section class=\"gallery\">\n <div class=\"container\">\n <div class=\"gallery__inner\">\n <!-- HEADER -->\n <div class=\"gallery__heading\">\n @if (title || pretitle) {\n <h1>{{ title || pretitle }}</h1>\n }\n\n <div class=\"gallery__nav\">\n <!-- DESKTOP -->\n <ul class=\"desktop\">\n @for (filter of filters; track $index) {\n @if (\n filter &&\n !filter.room &&\n hasImagesForFilter(filter)\n ) {\n <li>\n <span\n (click)=\"filterItems(filter)\"\n [class.active]=\"\n filterSelected() === filter\n \"\n >\n {{ filter.text }}\n </span>\n </li>\n }\n }\n </ul>\n\n <!-- MOBILE -->\n @if (filters?.length) {\n <ul class=\"mobile\">\n <li\n class=\"btn btn__primary\"\n (click)=\"openFiltersModal()\"\n >\n {{ filterModalBtn ?? 'Categor\u00EDas' }}\n </li>\n\n @if (filterRoomsBtn) {\n <li\n class=\"btn btn__primary\"\n (click)=\"openFiltersRoomModal()\"\n >\n {{ filterRoomsBtn }}\n </li>\n }\n </ul>\n }\n </div>\n </div>\n\n <!-- LIST -->\n <div class=\"gallery__list\">\n @for (slide of slides(); track $index) {\n <div class=\"gallery__item show\">\n <a\n class=\"gallery__item--box\"\n [href]=\"slide.videoUrl || slide.src\"\n (click)=\"openModal($index, $event)\"\n >\n <div class=\"gallery__item--image\">\n <figure>\n <img\n [src]=\"slide.thumb\"\n [alt]=\"slide.alt\"\n loading=\"lazy\"\n />\n </figure>\n </div>\n\n @if (slide.title) {\n <div class=\"gallery__item--content\">\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n class=\"gallery__item--graphic\"\n >\n <use\n href=\"/assets/babylon/svg/icon-graphic.svg#icon-graphic\"\n ></use>\n </svg>\n\n <span>{{ slide.title }}</span>\n\n <svg\n aria-hidden=\"true\"\n class=\"gallery__item--icon\"\n focusable=\"false\"\n >\n <use\n href=\"/assets/babylon/svg/icon-close.svg#icon-close\"\n ></use>\n </svg>\n </div>\n }\n </a>\n </div>\n }\n </div>\n </div>\n </div>\n\n <!-- MODAL -->\n @if (currentSlide(); as slide) {\n <div\n class=\"gallery-modal\"\n role=\"dialog\"\n aria-modal=\"true\"\n [attr.aria-label]=\"slide.title || slide.alt || 'Galer\u00EDa'\"\n (click)=\"closeModal()\"\n >\n <div class=\"gallery-modal__panel\" (click)=\"$event.stopPropagation()\">\n <button\n type=\"button\"\n class=\"gallery-modal__close\"\n aria-label=\"Cerrar\"\n (click)=\"closeModal()\"\n >\n <svg viewBox=\"0 0 12 12\" aria-hidden=\"true\">\n <path\n d=\"M1 1l10 10M11 1L1 11\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.2\"\n />\n </svg>\n </button>\n\n @if (slides().length > 1) {\n <button\n type=\"button\"\n class=\"gallery-modal__nav gallery-modal__nav--prev\"\n aria-label=\"Anterior\"\n (click)=\"prev()\"\n >\n <svg viewBox=\"0 0 8 12\" aria-hidden=\"true\">\n <path\n d=\"M6.5 1L1.5 6l5 5\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.2\"\n />\n </svg>\n </button>\n <button\n type=\"button\"\n class=\"gallery-modal__nav gallery-modal__nav--next\"\n aria-label=\"Siguiente\"\n (click)=\"next()\"\n >\n <svg viewBox=\"0 0 8 12\" aria-hidden=\"true\">\n <path\n d=\"M1.5 1l5 5-5 5\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.2\"\n />\n </svg>\n </button>\n }\n\n <div class=\"gallery-modal__media\">\n @if (slide.videoUrl) {\n @if (isDirectVideo(slide.videoUrl)) {\n <video\n [src]=\"slide.videoUrl\"\n [poster]=\"slide.thumb\"\n controls\n autoplay\n playsinline\n ></video>\n } @else if (currentVideoSrc()) {\n <iframe\n [src]=\"currentVideoSrc()\"\n allow=\"autoplay; encrypted-media; picture-in-picture; fullscreen\"\n allowfullscreen\n title=\"video\"\n ></iframe>\n }\n } @else {\n <img [src]=\"slide.src\" [alt]=\"slide.alt\" />\n }\n </div>\n\n @if (\n slide.title ||\n slide.subtitle ||\n slide.ndTitle ||\n slide.ndSubtitle ||\n slide.description\n ) {\n <ul class=\"gallery-modal__info\">\n @if (slide.title) {\n <li>{{ slide.title }}</li>\n }\n @if (slide.subtitle) {\n <li>{{ slide.subtitle }}</li>\n }\n @if (slide.ndTitle) {\n <li>{{ slide.ndTitle }}</li>\n }\n @if (slide.ndSubtitle) {\n <li>{{ slide.ndSubtitle }}</li>\n }\n @if (slide.description) {\n <li>{{ slide.description }}</li>\n }\n </ul>\n }\n </div>\n </div>\n }\n</section>\n", styles: ["@media (min-width: 1280px){.order-custom-xl-xxl-1{order:1}.order-custom-xl-xxl-2{order:2}}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-fill{flex:1 1 auto!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.m-auto{margin:auto!important}.mt-auto,.my-auto{margin-top:auto!important}.mr-auto,.mx-auto{margin-right:auto!important}.mb-auto,.my-auto{margin-bottom:auto!important}.ml-auto,.mx-auto{margin-left:auto!important}@media (min-width: 540px){.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.m-sm-auto{margin:auto!important}.mt-sm-auto,.my-sm-auto{margin-top:auto!important}.mr-sm-auto,.mx-sm-auto{margin-right:auto!important}.mb-sm-auto,.my-sm-auto{margin-bottom:auto!important}.ml-sm-auto,.mx-sm-auto{margin-left:auto!important}}@media (min-width: 768px){.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.m-md-auto{margin:auto!important}.mt-md-auto,.my-md-auto{margin-top:auto!important}.mr-md-auto,.mx-md-auto{margin-right:auto!important}.mb-md-auto,.my-md-auto{margin-bottom:auto!important}.ml-md-auto,.mx-md-auto{margin-left:auto!important}}@media (min-width: 1025px){.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.m-lg-auto{margin:auto!important}.mt-lg-auto,.my-lg-auto{margin-top:auto!important}.mr-lg-auto,.mx-lg-auto{margin-right:auto!important}.mb-lg-auto,.my-lg-auto{margin-bottom:auto!important}.ml-lg-auto,.mx-lg-auto{margin-left:auto!important}}@media (min-width: 1280px){.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.m-xl-auto{margin:auto!important}.mt-xl-auto,.my-xl-auto{margin-top:auto!important}.mr-xl-auto,.mx-xl-auto{margin-right:auto!important}.mb-xl-auto,.my-xl-auto{margin-bottom:auto!important}.ml-xl-auto,.mx-xl-auto{margin-left:auto!important}}@media (min-width: 1366px){.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.m-xxl-auto{margin:auto!important}.mt-xxl-auto,.my-xxl-auto{margin-top:auto!important}.mr-xxl-auto,.mx-xxl-auto{margin-right:auto!important}.mb-xxl-auto,.my-xxl-auto{margin-bottom:auto!important}.ml-xxl-auto,.mx-xxl-auto{margin-left:auto!important}}@media (min-width: 1680px){.flex-xxxl-row{flex-direction:row!important}.flex-xxxl-column{flex-direction:column!important}.flex-xxxl-row-reverse{flex-direction:row-reverse!important}.flex-xxxl-column-reverse{flex-direction:column-reverse!important}.flex-xxxl-wrap{flex-wrap:wrap!important}.flex-xxxl-nowrap{flex-wrap:nowrap!important}.flex-xxxl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xxxl-fill{flex:1 1 auto!important}.flex-xxxl-grow-0{flex-grow:0!important}.flex-xxxl-grow-1{flex-grow:1!important}.flex-xxxl-shrink-0{flex-shrink:0!important}.flex-xxxl-shrink-1{flex-shrink:1!important}.justify-content-xxxl-start{justify-content:flex-start!important}.justify-content-xxxl-end{justify-content:flex-end!important}.justify-content-xxxl-center{justify-content:center!important}.justify-content-xxxl-between{justify-content:space-between!important}.justify-content-xxxl-around{justify-content:space-around!important}.align-items-xxxl-start{align-items:flex-start!important}.align-items-xxxl-end{align-items:flex-end!important}.align-items-xxxl-center{align-items:center!important}.align-items-xxxl-baseline{align-items:baseline!important}.align-items-xxxl-stretch{align-items:stretch!important}.align-content-xxxl-start{align-content:flex-start!important}.align-content-xxxl-end{align-content:flex-end!important}.align-content-xxxl-center{align-content:center!important}.align-content-xxxl-between{align-content:space-between!important}.align-content-xxxl-around{align-content:space-around!important}.align-content-xxxl-stretch{align-content:stretch!important}.align-self-xxxl-auto{align-self:auto!important}.align-self-xxxl-start{align-self:flex-start!important}.align-self-xxxl-end{align-self:flex-end!important}.align-self-xxxl-center{align-self:center!important}.align-self-xxxl-baseline{align-self:baseline!important}.align-self-xxxl-stretch{align-self:stretch!important}.m-xxxl-auto{margin:auto!important}.mt-xxxl-auto,.my-xxxl-auto{margin-top:auto!important}.mr-xxxl-auto,.mx-xxxl-auto{margin-right:auto!important}.mb-xxxl-auto,.my-xxxl-auto{margin-bottom:auto!important}.ml-xxxl-auto,.mx-xxxl-auto{margin-left:auto!important}}@media (min-width: 1921px){.flex-xxxxl-row{flex-direction:row!important}.flex-xxxxl-column{flex-direction:column!important}.flex-xxxxl-row-reverse{flex-direction:row-reverse!important}.flex-xxxxl-column-reverse{flex-direction:column-reverse!important}.flex-xxxxl-wrap{flex-wrap:wrap!important}.flex-xxxxl-nowrap{flex-wrap:nowrap!important}.flex-xxxxl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xxxxl-fill{flex:1 1 auto!important}.flex-xxxxl-grow-0{flex-grow:0!important}.flex-xxxxl-grow-1{flex-grow:1!important}.flex-xxxxl-shrink-0{flex-shrink:0!important}.flex-xxxxl-shrink-1{flex-shrink:1!important}.justify-content-xxxxl-start{justify-content:flex-start!important}.justify-content-xxxxl-end{justify-content:flex-end!important}.justify-content-xxxxl-center{justify-content:center!important}.justify-content-xxxxl-between{justify-content:space-between!important}.justify-content-xxxxl-around{justify-content:space-around!important}.align-items-xxxxl-start{align-items:flex-start!important}.align-items-xxxxl-end{align-items:flex-end!important}.align-items-xxxxl-center{align-items:center!important}.align-items-xxxxl-baseline{align-items:baseline!important}.align-items-xxxxl-stretch{align-items:stretch!important}.align-content-xxxxl-start{align-content:flex-start!important}.align-content-xxxxl-end{align-content:flex-end!important}.align-content-xxxxl-center{align-content:center!important}.align-content-xxxxl-between{align-content:space-between!important}.align-content-xxxxl-around{align-content:space-around!important}.align-content-xxxxl-stretch{align-content:stretch!important}.align-self-xxxxl-auto{align-self:auto!important}.align-self-xxxxl-start{align-self:flex-start!important}.align-self-xxxxl-end{align-self:flex-end!important}.align-self-xxxxl-center{align-self:center!important}.align-self-xxxxl-baseline{align-self:baseline!important}.align-self-xxxxl-stretch{align-self:stretch!important}.m-xxxxl-auto{margin:auto!important}.mt-xxxxl-auto,.my-xxxxl-auto{margin-top:auto!important}.mr-xxxxl-auto,.mx-xxxxl-auto{margin-right:auto!important}.mb-xxxxl-auto,.my-xxxxl-auto{margin-bottom:auto!important}.ml-xxxxl-auto,.mx-xxxxl-auto{margin-left:auto!important}}.mt--0{margin-top:0!important}.mb--0{margin-bottom:0!important}.pt--0{padding-top:0}.pb--0{padding-bottom:0}.mblock--0{margin-block:0px}.pblock--0{padding-block:0px}.mt--10{margin-top:10px!important}.mb--10{margin-bottom:10px!important}.pt--10{padding-top:10px}.pb--10{padding-bottom:10px}.mblock--10{margin-block:10px}.pblock--10{padding-block:10px}.mt--20{margin-top:20px!important}.mb--20{margin-bottom:20px!important}.pt--20{padding-top:20px}.pb--20{padding-bottom:20px}.mblock--20{margin-block:20px}.pblock--20{padding-block:20px}.mt--25{margin-top:25px!important}.mb--25{margin-bottom:25px!important}.pt--25{padding-top:25px}.pb--25{padding-bottom:25px}.mblock--25{margin-block:25px}.pblock--25{padding-block:25px}.mt--30{margin-top:30px!important}.mb--30{margin-bottom:30px!important}.pt--30{padding-top:30px}.pb--30{padding-bottom:30px}.mblock--30{margin-block:30px}.pblock--30{padding-block:30px}.mt--40{margin-top:40px!important}.mb--40{margin-bottom:40px!important}.pt--40{padding-top:40px}.pb--40{padding-bottom:40px}.mblock--40{margin-block:40px}.pblock--40{padding-block:40px}.mt--50{margin-top:50px!important}.mb--50{margin-bottom:50px!important}.pt--50{padding-top:50px}.pb--50{padding-bottom:50px}.mblock--50{margin-block:50px}.pblock--50{padding-block:50px}.mt--60{margin-top:60px!important}.mb--60{margin-bottom:60px!important}.pt--60{padding-top:60px}.pb--60{padding-bottom:60px}.mblock--60{margin-block:60px}.pblock--60{padding-block:60px}.mt--70{margin-top:70px!important}.mb--70{margin-bottom:70px!important}.pt--70{padding-top:70px}.pb--70{padding-bottom:70px}.mblock--70{margin-block:70px}.pblock--70{padding-block:70px}.mt--80{margin-top:80px!important}.mb--80{margin-bottom:80px!important}.pt--80{padding-top:80px}.pb--80{padding-bottom:80px}.mblock--80{margin-block:80px}.pblock--80{padding-block:80px}.mt--90{margin-top:90px!important}.mb--90{margin-bottom:90px!important}.pt--90{padding-top:90px}.pb--90{padding-bottom:90px}.mblock--90{margin-block:90px}.pblock--90{padding-block:90px}.mt--100{margin-top:100px!important}.mb--100{margin-bottom:100px!important}.pt--100{padding-top:100px}.pb--100{padding-bottom:100px}.mblock--100{margin-block:100px}.pblock--100{padding-block:100px}.mt--150{margin-top:150px!important}.mb--150{margin-bottom:150px!important}.pt--150{padding-top:150px}.pb--150{padding-bottom:150px}.mblock--150{margin-block:150px}.pblock--150{padding-block:150px}.mt--180{margin-top:180px!important}.mb--180{margin-bottom:180px!important}.pt--180{padding-top:180px}.pb--180{padding-bottom:180px}.mblock--180{margin-block:180px}.pblock--180{padding-block:180px}@keyframes move-right{0%{right:30px}50%{right:20px}to{right:30px}}:root{--font-title: \"the-seasons\", Helvetica, sans-serif;--font-pretitle: \"Poppins\", Helvetica, sans-serif;--font-text: \"Poppins\", Helvetica, sans-serif;--font-claim: \"turbinado-pro\", Helvetica, sans-serif;--cl_corp: #24262d;--cl_accent: #aa8453;--cl_icon: #978667;--cl_icon-light: #fff;--cl_border-light: #ededed;--cl_border-dark: #d9e1e6;--cl_shadow: rgba(0, 0, 0, .1);--cl_breadcrumb: #24262d;--cl_breadcrumb-hover: #978667;--cl_preload-bg: #ededed;--cl_preload: #24262d;--cl_background_body: #fdfbf8;--cl_background_white: #fff;--cl_background_dark: #19314b;--cl_background_gray: #eee;--cl_background_dark-opacity: #19314bbf;--cl_background_dark-opacity-v2: #1326398b;--cl_background_body-transparent: #ffffffe7;--cl_title: #978667;--cl_subtitle: #19314b;--cl_pretitle: #19314b;--cl_text: #3c3b3b;--cl_title-light: #fff;--cl_subtitle-light: #fff;--cl_pretitle-light: #fff;--cl_text-light: #fff;--cl_text-disable: #888;--w_title: 600;--w_text: 300;--w_subtitle: 300;--w_pretitle: 300;--padding-bottom-slider: 0px;--lh_pretitle-slider: 1.2;--lh_title-slider: 1.2;--cl_header-bg-nosticky: #0000001a;--cl_header-text-nosticky: #fff;--cl_header-bg-sticky: #eee;--cl_header-text-sticky: #19314b;--cl_header-bg-mobile: #b6b6b6;--cl_headerBottom-bg-mobile: #b6b6b6;--cl_header-text-mobile: #19314b;--cl_menu-modal-bg: #19314b;--cl_menu-modal-items: #978667;--cl_menu-modal-items-hover: #fff;--cl_menu-modal-text: #fff;--cl_menu-modal-text-hover: #fff;--ls_menu-modal-items: 1px;--w_menu-modal-items: 300;--hg_menu-img-height: 15rem;--cl_submenu-bg: #19314b;--cl_submenu-text: #fff;--cl_submenu-hover: #978667;--w_btn: 400;--size_btn: 14px;--size_link: 14px;--ls_link: 1px;--ls_btn: 1px;--upper_btn: uppercase;--upper_link: uppercase;--font-btn: \"Poppins\", Helvetica, sans-serif;--font-link: \"Poppins\", Helvetica, sans-serif;--cl_btn-box: #19314b;--cl_btn-box-text: #19314b;--cl_btn-box-hover: #978667;--cl_btn-box-text-hover: #fff;--cl_btn-call: #19314bf2;--cl_btn-call-text: #fff;--cl_btn-call-hover: #978667;--cl_btn-call-text-hover: #fff;--cl_btn-link: #19314b;--cl_btn-link-hover: #978667;--cl_btn-arrow: #19314b;--cl_btn-arrow-icon: #fff;--cl_btn-arrow-hover: #978667;--cl_btn-arrow-icon-hover: #fff;--cl_btn-dots: #24262d;--cl_btn-dots-active: #978667;--cl_btn-dots-hover: #978667;--cl_btn-light: #fff;--cl_btn-light-text: #fff;--cl_btn-light-hover: #978667;--cl_btn-light-text-hover: #978667;--cl_footer-bg: #19314b;--cl_footer-bg-bottom: #0a1d31;--cl_footer-bg-logos: #f8f7f3;--cl_footer-scroll: #978667;--cl_footer-text: #fff;--cl_footer-text-hover: #978667;--btn_radius: 5px;--img_radius: 5px;--img_border: #fff;--img_border-width: 1px;--dropdown-radius: 20px;--cl_background_dropdown: #fdfbf8;--cl_border-dropdown: #d9e1e6;--font-size-engine-text: 14px;--cl_engine-text: #19314b;--cl_engine-bg-nosticky: #ffffffcf;--cl_engine-text-nosticky: #19314b;--cl_engine-bg-sticky: #ffffff00;--cl_engine-text-sticky: #19314b;--cl_engine-bg-modal: #19314bbf;--cl_engine-input-bg: #ebebeb;--cl_engine-input-bg-select: #ebebeb;--cl_dropdown: #19314b;--cl_dropdown-text: #5a5a5a;--cl_dropdown-hover: #19314b;--cl_newsletter-input-background: #d1d1d1;--cl_newsletter-input-text: #5a5a5a;--cl_error: #ff7173;--cl_desde: #bcbbc3;--cl_price: #19314b;--cl_badget: #ff8874;--cl_badget-text: #fff;--alg-service-room-detail: center;--cl_alert-text: #19314b;--cl_alert-text-error: #fff;--cl_alert-background: #fff;--cl_alert-background-error: rgb(230, 92, 92);--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: var(--cl_corp);--mdc-checkbox-selected-hover-icon-color: var(--cl_corp);--mdc-checkbox-selected-icon-color: var(--cl_corp);--mdc-checkbox-selected-pressed-icon-color: var(--cl_corp);--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: var(--cl_corp);--mdc-checkbox-selected-hover-state-layer-color: var(--cl_corp);--mdc-checkbox-selected-pressed-state-layer-color: var(--cl_corp);--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black;--mat-checkbox-disabled-label-color: rgba(0, 0, 0, .38);--primary: #4a4a49;--cream: #f9f8f5;--white: #ffffff;--black: #000000;--whatsapp: #24cc63;--logo: #616161;--grey: #dcdcdc;--darkgrey: #1e1e1e;--instagram: #61bdff;--facebook: #3782f4;--twitter: #4a4a49;--youtube: #d9464b;--tripadvisor: #34e0a1;--booking: #0c3b7c;--silver: #c0bebe;--gold: #ffca64;--platinum: #b5d9e2}.cs_dark{--cl_corp: #181818;--cl_accent: #aa8453;--cl_icon: #aa8453;--cl_icon-light: #fff;--cl_border-light: #ededed;--cl_border-dark: #d9e1e6;--cl_shadow: rgba(0, 0, 0, .1);--cl_breadcrumb: #fff;--cl_breadcrumb-hover: #aa8453;--cl_preload-bg: #ededed;--cl_preload: #24262d;--cl_background_body: #181818;--cl_background_white: transparent;--cl_background_dark: #aa8453;--cl_background_gray: #333;--type-align: center;--cl_title: #fff;--cl_subtitle: #aa8453;--cl_pretitle: #aa8453;--cl_text: #fff;--cl_title-light: #fff;--cl_subtitle-light: #fff;--cl_pretitle-light: #fff;--cl_text-light: #fff;--cl_header-bg: #aa8453;--cl_header-text-light: #fff;--cl_menu-bg: #79582c;--cl_menu-text: #fff;--cl_btn-box: #aa8453;--cl_btn-box-text: #aa8453;--cl_btn-box-hover: #79582c;--cl_btn-box-text-hover: #fff;--cl_btn-call: #aa8453;--cl_btn-call-text: white;--cl_btn-call-hover: #79582c;--cl_btn-call-text-hover: #fff;--cl_btn-link: #aa8453;--cl_btn-link-hover: #79582c;--cl_btn-arrow: #ffffff3a;--cl_btn-arrow-icon: #fff;--cl_btn-arrow-hover: #79582c;--cl_btn-arrow-icon-hover: #fff;--cl_btn-dots: #eee;--cl_btn-dots-active: #79582c;--cl_btn-dots-hover: #79582c;--cl_btn-light: #fff;--cl_btn-light-text: #fff;--cl_btn-light-hover: #79582c;--cl_btn-light-text-hover: #79582c;--cl_footer-bg: #aa8453;--cl_footer-bg-bottom: #79582c;--cl_footer-scroll: #aa8453;--cl_footer-text: #fff;--cl_footer-text-hover: #aa8453;--btn_radius: 1px;--img_radius: 0px;--img_border: #fff;--img_border-width: 2px;--cl_engine-bg: #181818;--cl_engine-input-bg: #79582c;--cl_engine-input-bg-hover: #081523;--cl_engine-text: #fff;--cl_dropdown: #19314b;--cl_dropdown-text: #5a5a5a;--cl_dropdown-hover: #19314b;--cl_dropdown-radius: 20px;--cl_newsletter-input-background: #d1d1d1;--cl_newsletter-input-text: #5a5a5a}.gallery{padding-block:2.5rem 5rem}@media (min-width: 540px){.gallery{padding-block:3rem 5.8rem}}@media (min-width: 768px){.gallery{padding-block:4rem 8rem}}@media (min-width: 1024px){.gallery{padding-bottom:6.984rem}}@media (min-width: 1280px){.gallery{padding-bottom:8rem}}@media (min-width: 1366px){.gallery{padding-block:5.7rem 8.953rem}}@media (min-width: 1680px){.gallery{padding-block:6rem 10rem}}.gallery__inner{display:flex;flex-direction:column;gap:2.5rem}@media (min-width: 540px){.gallery__inner{gap:3rem}}@media (min-width: 768px){.gallery__inner{gap:4rem}}.gallery__heading{display:flex;align-items:center;flex-direction:column;gap:2rem}@media (min-width: 540px){.gallery__heading{gap:3rem}}@media (min-width: 1280px){.gallery__heading{gap:4rem}}.gallery__heading h2{font-size:4rem;line-height:1}@media (min-width: 540px){.gallery__heading h2{font-size:5.2rem;line-height:1}}@media (min-width: 768px){.gallery__heading h2{font-size:6rem;line-height:1}}.gallery__nav .desktop{display:none}@media (min-width: 1280px){.gallery__nav .desktop{display:flex;gap:5rem}}.gallery__nav .desktop li{text-transform:uppercase;color:rgb(var(--primary),50%);font-size:1.6rem;line-height:1;letter-spacing:.16rem;transition:var(--transition)}.gallery__nav .desktop li span{position:relative;padding-bottom:1.4rem;display:block}.gallery__nav .desktop li span:after{content:\"\";position:absolute;bottom:0;left:50%;transition:var(--transition);opacity:0;transform:translate(-50%);height:.1rem;width:1.8rem;background:var(--primary)}.gallery__nav .desktop li span.active{color:var(--primary)}.gallery__nav .desktop li span.active:after{opacity:1}.gallery__nav .mobile{display:flex}.gallery__nav .mobile .btn{width:15rem}@media (min-width: 540px){.gallery__nav .mobile .btn{width:21rem}}@media (min-width: 768px){.gallery__nav .mobile .btn{width:26rem}}@media (max-width: 539.98px){.gallery__nav .mobile .btn{height:3.6rem;padding-block:1rem;font-size:1.6rem;line-height:1}}@media (min-width: 1280px){.gallery__nav .mobile{display:none}}.gallery__nav .mobile li+li{margin-left:-1px}.gallery__list{display:grid;grid-template-columns:repeat(7,1fr);grid-auto-flow:dense;gap:2.4rem}@media (min-width: 540px){.gallery__list{gap:3rem}}@media (min-width: 768px){.gallery__list{gap:4.4rem;grid-template-columns:repeat(12,1fr)}}@media (min-width: 1024px){.gallery__list{column-gap:5rem;row-gap:2rem}}@media (min-width: 1280px){.gallery__list{grid-template-columns:repeat(19,1fr);column-gap:4.8rem;row-gap:2.8rem}}@media (min-width: 1366px){.gallery__list{column-gap:5rem;row-gap:2rem}}@media (min-width: 1680px){.gallery__list{column-gap:6.4rem;row-gap:3.4rem}}@media (min-width: 1800px){.gallery__list{column-gap:6.5rem;row-gap:3.5rem}}.gallery__item:nth-child(odd){grid-column:span 7}.gallery__item:nth-child(odd) .gallery__item--image figure{aspect-ratio:297/208}.gallery__item:nth-child(2n){grid-column:2/span 5}.gallery__item:nth-child(2n) .gallery__item--image figure{aspect-ratio:208/297}@media (min-width: 768px){.gallery__item:nth-child(4n+1){grid-row:span 3}.gallery__item:nth-child(4n+2){grid-column:span 5;grid-row:span 4}.gallery__item:nth-child(4n+3){grid-column:7/span 7;grid-row:span 3}.gallery__item:nth-child(4n+4){grid-column:2/span 5;grid-row:span 4}}@media (min-width: 1024px){.gallery__item:hover .gallery__item--content{transform:translateY(3rem)}}@media (min-width: 1280px){.gallery__item:nth-child(6n+1),.gallery__item:nth-child(6n+3),.gallery__item:nth-child(6n+5){grid-column:span 7;grid-row:span 3}.gallery__item:nth-child(6n+1) .gallery__item--image figure,.gallery__item:nth-child(6n+3) .gallery__item--image figure,.gallery__item:nth-child(6n+5) .gallery__item--image figure{aspect-ratio:297/208}.gallery__item:nth-child(6n+2),.gallery__item:nth-child(6n+4),.gallery__item:nth-child(6n+6){grid-column:span 5;grid-row:span 4}.gallery__item:nth-child(6n+2) .gallery__item--image figure,.gallery__item:nth-child(6n+4) .gallery__item--image figure,.gallery__item:nth-child(6n+6) .gallery__item--image figure{aspect-ratio:208/297}.gallery__item:nth-child(6n+4){grid-column:2/span 5}.gallery__item:nth-child(6n+5){grid-column:7/span 7}.gallery__item:nth-child(6n+6){grid-column:14/span 5}}.gallery__item--box{position:relative}@media (min-width: 1024px){.gallery__item--box{overflow:hidden;padding-bottom:3rem;display:block}}.gallery__item--content{position:absolute;inset:auto 0 0;background:var(--white);display:flex;gap:1rem;transition:var(--transition);align-items:center;justify-content:center;text-align:center;padding-top:1.281rem;transform:translateY(calc(100% - 3rem))}@media (min-width: 540px){.gallery__item--content{padding-top:1.341rem}}@media (min-width: 768px){.gallery__item--content{padding-top:1.259rem}}@media (min-width: 1024px){.gallery__item--content{justify-content:space-between;text-align:left;padding:2rem 2.4rem;transform:translateY(calc(100% + 5rem))}}.gallery__item--content span{font-size:1.6rem;line-height:1.5;color:rgb(var(--primary),80%)}@media (min-width: 540px){.gallery__item--content span{font-size:1.8rem;line-height:1.5555555556}}@media (min-width: 768px){.gallery__item--content span{font-size:2rem;line-height:1.7;letter-spacing:.04rem}}.gallery__item--graphic{position:absolute;width:6rem;aspect-ratio:2/1;left:50%;top:0;transform:translate(-50%,-100%) scaleY(-1);color:var(--white);display:none}@media (min-width: 540px){.gallery__item--graphic{width:10rem}}@media (min-width: 1024px){.gallery__item--graphic{display:block}}.gallery__item--icon{color:var(--primary);width:.914rem;aspect-ratio:1;transform:rotate(-45deg);display:none}@media (min-width: 1024px){.gallery__item--icon{display:block}}.gallery__item:not(.show){display:none}.gallery-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:1.6rem;background:#1b1b1beb}@media (min-width: 1024px){.gallery-modal{padding:4rem}}.gallery-modal__panel{position:relative;display:flex;flex-direction:column;align-items:center;gap:1.6rem;width:100%;height:80dvh;max-width:84.4rem;min-width:90vw;padding:6rem 1.6rem 2rem;overflow:hidden;background:var(--white)}@media (min-width: 1024px){.gallery-modal__panel{padding:4.6rem 8.6rem 3.4rem}}@media (max-width: 1024px){.gallery-modal__panel{height:auto}}.gallery-modal__media{display:flex;align-items:center;justify-content:center;width:100%;min-height:0;flex:1 1 auto}.gallery-modal__media img,.gallery-modal__media video{display:block;max-width:100%;max-height:calc(100vh - 40rem);width:auto;height:auto;object-fit:contain}.gallery-modal__media iframe{width:100%;aspect-ratio:16/9;max-height:calc(100vh - 20rem);border:0}.gallery-modal__close,.gallery-modal__nav{display:flex;align-items:center;justify-content:center;border:0;padding:0;cursor:pointer;color:var(--primary);background:rgb(var(--primary),8%);transition:var(--transition)}.gallery-modal__close:hover,.gallery-modal__nav:hover{background:rgb(var(--primary),16%)}.gallery-modal__close svg,.gallery-modal__nav svg{width:1rem;height:1rem}.gallery-modal__close{position:absolute;top:1.6rem;right:1.6rem;width:2.8rem;height:2.8rem;z-index:2}@media (min-width: 1024px){.gallery-modal__close{top:2.4rem;right:2.4rem}}.gallery-modal__nav{position:absolute;top:50%;width:2.8rem;height:2.8rem;transform:translateY(-50%);z-index:2}.gallery-modal__nav--prev{left:.8rem}@media (min-width: 1024px){.gallery-modal__nav--prev{left:2.4rem}}.gallery-modal__nav--next{right:.8rem}@media (min-width: 1024px){.gallery-modal__nav--next{right:2.4rem}}.gallery-modal__info{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:.8rem 3.2rem;width:100%;max-width:50vw;min-height:40px;margin:0;padding:0;list-style:none;font-size:1.2rem;line-height:1.6rem;letter-spacing:.05em;color:rgb(var(--primary),80%)}.gallery-modal__info li{padding-left:1.6rem}.gallery-modal__info li:before{display:none}@media (max-width: 1024px){.gallery-modal__info{max-width:100%;min-height:100%}}\n"] }]
121
251
  }], propDecorators: { title: [{
122
252
  type: Input
123
253
  }], pretitle: [{
@@ -140,5 +270,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
140
270
  type: Input
141
271
  }], order: [{
142
272
  type: Input
273
+ }], onKeydown: [{
274
+ type: HostListener,
275
+ args: ['document:keydown', ['$event']]
143
276
  }] } });
144
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFieWxvbi1nYWxsZXJ5LXYyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2JhYnlsb24vc3JjL2xpYi9jb21wb25lbnRzL2NvcmUvYmFieWxvbi1nYWxsZXJ5LXYyL2JhYnlsb24tZ2FsbGVyeS12Mi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9iYWJ5bG9uL3NyYy9saWIvY29tcG9uZW50cy9jb3JlL2JhYnlsb24tZ2FsbGVyeS12Mi9iYWJ5bG9uLWdhbGxlcnktdjIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNILFNBQVMsRUFDVCxRQUFRLEVBQ1IsWUFBWSxFQUNaLE1BQU0sRUFDTixLQUFLLEVBR0wsTUFBTSxHQUNULE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUNyRCxPQUFPLEVBQUUsT0FBTyxFQUFFLFNBQV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09IHRoaXMuZmlsdGVyU2VsZWN0ZWQoKT8uaWRcbiAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgfVxuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgY29uc3Qgc2VsZWN0ZWQgPSB0aGlzLmZpbHRlclNlbGVjdGVkKCk7XG4gICAgICAgICAgICBjb25zdCBpbWFnZXNMaXN0ID0gdGhpcy5pbWFnZXMgfHwgW107XG5cbiAgICAgICAgICAgIC8vIFNpIGVzIGVsIGZpbHRybyBcIlRvZGFzXCIgbyBubyBoYXkgZmlsdHJvIHNlbGVjY2lvbmFkb1xuICAgICAgICAgICAgaWYgKHNlbGVjdGVkPy5hbGwgfHwgIXNlbGVjdGVkKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIFsuLi5pbWFnZXNMaXN0XS5zb3J0KChhLCBiKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIC8vIEVuY29udHJhbW9zIGVsIGZpbHRybyBhc29jaWFkbyBhIGNhZGEgaW1hZ2VuXG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IGZpbHRlckEgPSB0aGlzLmZpbHRlcnM/LmZpbmQoXG4gICAgICAgICAgICAgICAgICAgICAgICAoZikgPT4gZi5pZCA9PT0gYS5maWx0ZXJcbiAgICAgICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgZmlsdGVyQiA9IHRoaXMuZmlsdGVycz8uZmluZChcbiAgICAgICAgICAgICAgICAgICAgICAgIChmKSA9PiBmLmlkID09PSBiLmZpbHRlclxuICAgICAgICAgICAgICAgICAgICApO1xuXG4gICAgICAgICAgICAgICAgICAgIC8vIEFzaWduYW1vcyBsYSBwcmlvcmlkYWQgc29saWNpdGFkYTpcbiAgICAgICAgICAgICAgICAgICAgLy8gMCA9IEhvdGVsLCAxID0gSGFiaXRhY2lvbmVzIGluZGl2aWR1YWxlcywgMiA9IFJlc3RvXG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IGdldFByaW9yaXR5ID0gKGZpbHRlcj86IEJhYnlsb25HYWxsZXJ5RmlsdGVyKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoIWZpbHRlcikgcmV0dXJuIDI7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChmaWx0ZXIudGV4dD8udG9Mb3dlckNhc2UoKSA9PT0gJ2hvdGVsJykgcmV0dXJuIDA7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoZmlsdGVyLnJvb20pIHJldHVybiAxOyAvLyBVc2Ftb3MgZWwgZmxhZyBgcm9vbTogdHJ1ZWAgZGUgdHUgSlNPTlxuXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gMjsgLy8gU3BhLCBHYXN0cm9ub23DrWEsIE1lbm9yY2EsIGV0Yy5cbiAgICAgICAgICAgICAgICAgICAgfTtcblxuICAgICAgICAgICAgICAgICAgICBjb25zdCBwcmlvcml0eUEgPSBnZXRQcmlvcml0eShmaWx0ZXJBKTtcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgcHJpb3JpdHlCID0gZ2V0UHJpb3JpdHkoZmlsdGVyQik7XG5cbiAgICAgICAgICAgICAgICAgICAgLy8gU2kgdGllbmVuIGRpc3RpbnRhIHByaW9yaWRhZCwgb3JkZW5hbW9zIHBvciBlc2UgcGVzb1xuICAgICAgICAgICAgICAgICAgICBpZiAocHJpb3JpdHlBICE9PSBwcmlvcml0eUIpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBwcmlvcml0eUEgLSBwcmlvcml0eUI7XG4gICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICAgICAvLyBTaSBlc3TDoW4gZW4gZWwgbWlzbW8gZ3J1cG8gKGVqLiBkb3MgaGFiaXRhY2lvbmVzIGRpc3RpbnRhcyBvIFNwYSB2cyBHYXN0cm9ub23DrWEpLFxuICAgICAgICAgICAgICAgICAgICAvLyB1c2Ftb3MgbGEgcHJvcGllZGFk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MCkgcmV0dXJuIGZhbHNlO1xuXG4gICAgICAgIGlmIChmaWx0ZXIuYWxsKSB7XG4gICAgICAgICAgICByZXR1cm4gdGhpcy5pbWFnZXMubGVuZ3RoID4gMDtcbiAgICAgICAgfVxuXG4gICAgICAgIHJldHVybiB0aGlzLmltYWdlcy5zb21lKChpdGVtKSA9PiBpdGVtLmZpbHRlciA9PT0gZmlsdGVyLmlkKTtcbiAgICB9XG59XG4iLCI8c2VjdGlvbiBjbGFzcz1cImdhbGxlcnlcIj5cbiAgICA8ZGl2IGNsYXNzPVwiY29udGFpbmVyXCI+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJnYWxsZXJ5X19pbm5lclwiPlxuICAgICAgICAgICAgPCEtLSBIRUFERVIgLS0+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiZ2FsbGVyeV9faGVhZGluZ1wiPlxuICAgICAgICAgICAgICAgIEBpZiAodGl0bGUpIHtcbiAgICAgICAgICAgICAgICAgICAgPGgxPnt7IHRpdGxlIH19PC9oMT5cbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiZ2FsbGVyeV9fbmF2XCI+XG4gICAgICAgICAgICAgICAgICAgIDwhLS0gREVTS1RPUCAtLT5cbiAgICAgICAgICAgICAgICAgICAgPHVsIGNsYXNzPVwiZGVza3RvcFwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgQGZvciAoZmlsdGVyIG9mIGZpbHRlcnM7IHRyYWNrICRpbmRleCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIEBpZiAoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZpbHRlciAmJlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAhZmlsdGVyLnJvb20gJiZcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGFzSW1hZ2VzRm9yRmlsdGVyKGZpbHRlcilcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICApIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGxpPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiZmlsdGVySXRlbXMoZmlsdGVyKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2NsYXNzLmFjdGl2ZV09XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZmlsdGVyU2VsZWN0ZWQoKSA9PT0gZmlsdGVyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7eyBmaWx0ZXIudGV4dCB9fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9zcGFuPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2xpPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgPC91bD5cblxuICAgICAgICAgICAgICAgICAgICA8IS0tIE1PQklMRSAtLT5cbiAgICAgICAgICAgICAgICAgICAgPHVsIGNsYXNzPVwibW9iaWxlXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8bGlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImJ0biBidG5fX3ByaW1hcnlcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJvcGVuRmlsdGVyc01vZGFsKClcIlxuICAgICAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt7IGZpbHRlck1vZGFsQnRuID8/ICdDYXRlZ29yw61hcycgfX1cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvbGk+XG5cbiAgICAgICAgICAgICAgICAgICAgICAgIEBpZiAoZmlsdGVyUm9vbXNCdG4pIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bGlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJidG4gYnRuX19wcmltYXJ5XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGNsaWNrKT1cIm9wZW5GaWx0ZXJzUm9vbU1vZGFsKClcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge3sgZmlsdGVyUm9vbXNCdG4gfX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2xpPlxuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICA8L3VsPlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPC9kaXY+XG5cbiAgICAgICAgICAgIDwhLS0gTElTVCAtLT5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJnYWxsZXJ5X19saXN0XCIgQmFieWxvbkxpZ2h0R2FsbGVyeT5cbiAgICAgICAgICAgICAgICBAaWYgKGltYWdlc0Rpc3BsYXllZCgpPy5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgQGZvciAoaXRlbSBvZiBpbWFnZXNEaXNwbGF5ZWQoKTsgdHJhY2sgJGluZGV4KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJnYWxsZXJ5X19pdGVtIHNob3dcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRhdGEtY2F0ZWdvcnk9XCJoYWJpdGFjdGlvbmVzXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbYXR0ci5kYXRhLWltZ109XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaXRlbS5pbWc/LnNyYyB8fFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAnZGF0YTppbWFnZS9naWY7YmFzZTY0LFIwbEdPRGxoQVFBQkFJQUFBQUFBQVAvLy95SDVCQUVBQUFBQUxBQUFBQUFCQUFFQUFBSUJSQUE3J1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW2F0dHIuZGF0YS10aXRsZV09XCJpdGVtLnRpdGxlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImdhbGxlcnlfX2l0ZW0tLWJveCBjc19saWdodGJveF9pdGVtXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2hyZWZdPVwiZ2V0R2FsbGVyeUhyZWYoaXRlbSlcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbYXR0ci5kYXRhLXRodW1iXT1cImdldEdhbGxlcnlIcmVmKGl0ZW0pXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGNsaWNrKT1cIiRldmVudC5wcmV2ZW50RGVmYXVsdCgpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJnYWxsZXJ5X19pdGVtLS1pbWFnZVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGZpZ3VyZT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW1nIFtzcmNdPVwiZ2V0R2FsbGVyeUhyZWYoaXRlbSlcIiAvPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9maWd1cmU+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJnYWxsZXJ5X19pdGVtLS1jb250ZW50XCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c3ZnXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJnYWxsZXJ5X19pdGVtLS1ncmFwaGljXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dXNlXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhyZWY9XCIvYXNzZXRzL2JhYnlsb24vc3ZnL2ljb24tZ3JhcGhpYy5zdmcjaWNvbi1ncmFwaGljXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA+PC91c2U+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3N2Zz5cblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4+e3sgaXRlbS50aXRsZSB9fTwvc3Bhbj5cblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHN2Z1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJnYWxsZXJ5X19pdGVtLS1pY29uXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHVzZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBocmVmPVwiL2Fzc2V0cy9iYWJ5bG9uL3N2Zy9pY29uLWNsb3NlLnN2ZyNpY29uLWNsb3NlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA+PC91c2U+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3N2Zz5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9hPlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG48L3NlY3Rpb24+XG4iXX0=
277
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFieWxvbi1nYWxsZXJ5LXYyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2JhYnlsb24vc3JjL2xpYi9jb21wb25lbnRzL2NvcmUvYmFieWxvbi1nYWxsZXJ5LXYyL2JhYnlsb24tZ2FsbGVyeS12Mi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9iYWJ5bG9uL3NyYy9saWIvY29tcG9uZW50cy9jb3JlL2JhYnlsb24tZ2FsbGVyeS12Mi9iYWJ5bG9uLWdhbGxlcnktdjIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxpQkFBa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IHNlbGVjY2lvbmFkb1xuICAgICAgICAgICAgaWYgKHNlbGVjdGVkPy5hbGwgfHwgIXNlbGVjdGVkKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIFsuLi5pbWFnZXNMaXN0XS5zb3J0KChhLCBiKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIC8vIEVuY29udHJhbW9zIGVsIGZpbHRybyBhc29jaWFkbyBhIGNhZGEgaW1hZ2VuXG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IGZpbHRlckEgPSB0aGlzLmZpbHRlcnM/LmZpbmQoXG4gICAgICAgICAgICAgICAgICAgICAgICAoZikgPT4gZi5pZCA9PT0gYS5maWx0ZXJcbiAgICAgICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgZmlsdGVyQiA9IHRoaXMuZmlsdGVycz8uZmluZChcbiAgICAgICAgICAgICAgICAgICAgICAgIChmKSA9PiBmLmlkID09PSBiLmZpbHRlclxuICAgICAgICAgICAgICAgICAgICApO1xuXG4gICAgICAgICAgICAgICAgICAgIC8vIEFzaWduYW1vcyBsYSBwcmlvcmlkYWQgc29saWNpdGFkYTpcbiAgICAgICAgICAgICAgICAgICAgLy8gMCA9IEhvdGVsLCAxID0gSGFiaXRhY2lvbmVzIGluZGl2aWR1YWxlcywgMiA9IFJlc3RvXG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IGdldFByaW9yaXR5ID0gKGZpbHRlcj86IEJhYnlsb25HYWxsZXJ5RmlsdGVyKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoIWZpbHRlcikgcmV0dXJuIDI7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChmaWx0ZXIudGV4dD8udG9Mb3dlckNhc2UoKSA9PT0gJ2hvdGVsJykgcmV0dXJuIDA7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoZmlsdGVyLnJvb20pIHJldHVybiAxOyAvLyBVc2Ftb3MgZWwgZmxhZyBgcm9vbTogdHJ1ZWAgZGUgdHUgSlNPTlxuXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gMjsgLy8gU3BhLCBHYXN0cm9ub23DrWEsIE1lbm9yY2EsIGV0Yy5cbiAgICAgICAgICAgICAgICAgICAgfTtcblxuICAgICAgICAgICAgICAgICAgICBjb25zdCBwcmlvcml0eUEgPSBnZXRQcmlvcml0eShmaWx0ZXJBKTtcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgcHJpb3JpdHlCID0gZ2V0UHJpb3JpdHkoZmlsdGVyQik7XG5cbiAgICAgICAgICAgICAgICAgICAgLy8gU2kgdGllbmVuIGRpc3RpbnRhIHByaW9yaWRhZCwgb3JkZW5hbW9zIHBvciBlc2UgcGVzb1xuICAgICAgICAgICAgICAgICAgICBpZiAocHJpb3JpdHlBICE9PSBwcmlvcml0eUIpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBwcmlvcml0eUEgLSBwcmlvcml0eUI7XG4gICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICAgICAvLyBTaSBlc3TDoW4gZW4gZWwgbWlzbW8gZ3J1cG8gKGVqLiBkb3MgaGFiaXRhY2lvbmVzIGRpc3RpbnRhcyBvIFNwYSB2cyBHYXN0cm9ub23DrWEpLFxuICAgICAgICAgICAgICAgICAgICAvLyB1c2Ftb3MgbGEgcHJvcGllZGFkICdvcmRlcicgcXVlIHZpZW5lIGVuIHR1IEpTT04gcGFyYSBtYW50ZW5lciBsYSBjb2hlcmVuY2lhIGludGVybmEuXG4gICAgICAgICAgICAgICAgICAgIC8vIE5vdGE6IFNpICdvcmRlcicgbm8gZXN0w6EgZW4gbGEgaW50ZXJmYXogb3JpZ2luYWwsIHB1ZWRlcyBjYXN0ZWFybG8gbyBhZ3JlZ2FybG8uXG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IG9yZGVyQSA9IChmaWx0ZXJBIGFzIGFueSk/Lm9yZGVyID8/IDk5O1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rO1xuICAgICAgICAgICAgY2FzZSAnQXJyb3dMZWZ0JzpcbiAgICAgICAgICAgICAgICB0aGlzLnByZXYoKTtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGNhc2UgJ0Fycm93UmlnaHQnOlxuICAgICAgICAgICAgICAgIHRoaXMubmV4dCgpO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgb3Blbk1vZGFsKGluZGV4OiBudW1iZXIsIGV2ZW50PzogRXZlbnQpOiB2b2lkIHtcbiAgICAgICAgZXZlbnQ/LnByZXZlbnREZWZhdWx0KCk7XG4gICAgICAgIHRoaXMubW9kYWxJbmRleC5zZXQoaW5kZXgpO1xuICAgICAgICB0aGlzLmxvY2tTY3JvbGwoKTtcbiAgICB9XG5cbiAgICBjbG9zZU1vZGFsKCk6IHZvaWQge1xuICAgICAgICB0aGlzLm1vZGFsSW5kZXguc2V0KG51bGwpO1xuICAgICAgICB0aGlzLnVubG9ja1Njcm9sbCgpO1xuICAgIH1cblxuICAgIHByZXYoKTogdm9pZCB7XG4gICAgICAgIHRoaXMubW92ZSgtMSk7XG4gICAgfVxuXG4gICAgbmV4dCgpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5tb3ZlKDEpO1xuICAgIH1cblxuICAgIHByaXZhdGUgbW92ZShzdGVwOiBudW1iZXIpOiB2b2lkIHtcbiAgICAgICAgY29uc3QgaW5kZXggPSB0aGlzLm1vZGFsSW5kZXgoKTtcbiAgICAgICAgY29uc3QgdG90YWwgPSB0aGlzLnNsaWRlcygpLmxlbmd0aDtcblxuICAgICAgICBpZiAoaW5kZXggPT09IG51bGwgfHwgdG90YWwgPCAyKSByZXR1cm47XG5cbiAgICAgICAgdGhpcy5tb2RhbEluZGV4LnNldCgoaW5kZXggKyBzdGVwICsgdG90YWwpICUgdG90YWwpO1xuICAgIH1cblxuICAgIHByaXZhdGUgbG9ja1Njcm9sbCgpOiB2b2lkIHtcbiAg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9wZW5GaWx0ZXJzTW9kYWwocm9vbXM/OiBib29sZWFuKTogdm9pZCB7XG4gICAgICAgIGNvbnN0IGRpYWxvZ1JlZiA9IHRoaXMuZGlhbG9nLm9wZW4oQmFieWxvbkZpbHRlck1vZGFsQ29tcG9uZW50LCB7XG4gICAgICAgICAgICB3aWR0aDogJzEwMHZ3JyxcbiAgICAgICAgICAgIGhlaWdodDogJzEwMHZoJyxcbiAgICAgICAgICAgIG1heFdpZHRoOiAnMTAwdncnLFxuICAgICAgICAgICAgaGFzQmFja2Ryb3A6IHRydWUsXG4gICAgICAgIH0pO1xuXG4gICAgICAgIGNvbnN0IGV2ZW50ID0gbmV3IEV2ZW50RW1pdHRlcjxCYWJ5bG9uR2FsbGVyeUZpbHRlcj4oKTtcblxuICAgICAgICBldmVudFxuICAgICAgICAgICAgLnBpcGUoXG4gICAgICAgICAgICAgICAgdGFrZVVudGlsKHRoaXMuZGVzdHJveSQpLFxuICAgICAgICAgICAgICAgIHRhcCgoZmlsdGVyPzogQmFieWxvbkdhbGxlcnlGaWx0ZXIpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5maWx0ZXJJdGVtcyhmaWx0ZXIpO1xuICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICApXG4gICAgICAgICAgICAuc3Vic2NyaWJlKCk7XG5cbiAgICAgICAgZGlhbG9nUmVmLmNvbXBvbmVudEluc3RhbmNlLmZpbHRlcnMgPSB0aGlzLmZpbHRlcnM/LmZpbHRlcihcbiAgICAgICAgICAgIChmaWx0ZXIpID0+XG4gICAgICAgICAgICAgICAgKCghcm9vbXMgJiYgIWZpbHRlci5yb29tKSB8fCAocm9vbXMgJiYgZmlsdGVyLnJvb20pKSAmJlxuICAgICAgICAgICAgICAgIHRoaXMuaGFzSW1hZ2VzRm9yRmlsdGVyKGZpbHRlcilcbiAgICAgICAgKTtcblxuICAgICAgICBkaWFsb2dSZWYuY29tcG9uZW50SW5zdGFuY2UuZmlsdGVyU2VsZW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pdGxlIHx8IHByZXRpdGxlIH19PC9oMT5cbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiZ2FsbGVyeV9fbmF2XCI+XG4gICAgICAgICAgICAgICAgICAgIDwhLS0gREVTS1RPUCAtLT5cbiAgICAgICAgICAgICAgICAgICAgPHVsIGNsYXNzPVwiZGVza3RvcFwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgQGZvciAoZmlsdGVyIG9mIGZpbHRlcnM7IHRyYWNrICRpbmRleCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIEBpZiAoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZpbHRlciAmJlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAhZmlsdGVyLnJvb20gJiZcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGFzSW1hZ2VzRm9yRmlsdGVyKGZpbHRlcilcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICApIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGxpPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiZmlsdGVySXRlbXMoZmlsdGVyKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2NsYXNzLmFjdGl2ZV09XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZmlsdGVyU2VsZWN0ZWQoKSA9PT0gZmlsdGVyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7eyBmaWx0ZXIudGV4dCB9fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9zcGFuPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2xpPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgPC91bD5cblxuICAgICAgICAgICAgICAgICAgICA8IS0tIE1PQklMRSAtLT5cbiAgICAgICAgICAgICAgICAgICAgQGlmIChmaWx0ZXJzPy5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIDx1bCBjbGFzcz1cIm1vYmlsZVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxsaVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImJ0biBidG5fX3ByaW1hcnlcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwib3BlbkZpbHRlcnNNb2RhbCgpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt7IGZpbHRlck1vZGFsQnRuID8/ICdDYXRlZ29yw61hcycgfX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2xpPlxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgQGlmIChmaWx0ZXJSb29tc0J0bikge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bGlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiYnRuIGJ0bl9fcHJpbWFyeVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwib3BlbkZpbHRlcnNSb29tTW9kYWwoKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt7IGZpbHRlclJvb21zQnRuIH19XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvbGk+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgPC91bD5cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPC9kaXY+XG5cbiAgICAgICAgICAgIDwhLS0gTElTVCAtLT5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJnYWxsZXJ5X19saXN0XCI+XG4gICAgICAgICAgICAgICAgQGZvciAoc2xpZGUgb2Ygc2xpZGVzKCk7IHRyYWNrICRpbmRleCkge1xuICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiZ2FsbGVyeV9faXRlbSBzaG93XCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8YVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiZ2FsbGVyeV9faXRlbS0tYm94XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbaHJlZl09XCJzbGlkZS52aWRlb1VybCB8fCBzbGlkZS5zcmNcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJvcGVuTW9kYWwoJGluZGV4LCAkZXZlbnQpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiZ2FsbGVyeV9faXRlbS0taW1hZ2VcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGZpZ3VyZT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpbWdcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbc3JjXT1cInNsaWRlLnRodW1iXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbYWx0XT1cInNsaWRlLmFsdFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbG9hZGluZz1cImxhenlcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9maWd1cmU+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBAaWYgKHNsaWRlLnRpdGxlKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJnYWxsZXJ5X19pdGVtLS1jb250ZW50XCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c3ZnXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJnYWxsZXJ5X19pdGVtLS1ncmFwaGljXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dXNlXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhyZWY9XCIvYXNzZXRzL2JhYnlsb24vc3ZnL2ljb24tZ3JhcGhpYy5zdmcjaWNvbi1ncmFwaGljXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA+PC91c2U+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3N2Zz5cblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4+e3sgc2xpZGUudGl0bGUgfX08L3NwYW4+XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzdmdcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiZ2FsbGVyeV9faXRlbS0taWNvblwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZm9jdXNhYmxlPVwiZmFsc2VcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx1c2VcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaHJlZj1cIi9hc3NldHMvYmFieWxvbi9zdmcvaWNvbi1jbG9zZS5zdmcjaWNvbi1jbG9zZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPjwvdXNlPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9zdmc+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvYT5cbiAgICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuXG4gICAgPCEtLSBNT0RBTCAtLT5cbiAgICBAaWYgKGN1cnJlbnRTbGlkZSgpOyBhcyBzbGlkZSkge1xuICAgICAgICA8ZGl2XG4gICAgICAgICAgICBjbGFzcz1cImdhbGxlcnktbW9kYWxcIlxuICAgICAgICAgICAgcm9sZT1cImRpYWxvZ1wiXG4gICAgICAgICAgICBhcmlhLW1vZGFsPVwidHJ1ZVwiXG4gICAgICAgICAgICBbYXR0ci5hcmlhLWxhYmVsXT1cInNsaWRlLnRpdGxlIHx8IHNsaWRlLmFsdCB8fCAnR2FsZXLDrWEnXCJcbiAgICAgICAgICAgIChjbGljayk9XCJjbG9zZU1vZGFsKClcIlxuICAgICAgICA+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiZ2FsbGVyeS1tb2RhbF9fcGFuZWxcIiAoY2xpY2spPVwiJGV2ZW50LnN0b3BQcm9wYWdhdGlvbigpXCI+XG4gICAgICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgICAgICB0eXBlPVwiYnV0dG9uXCJcbiAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJnYWxsZXJ5LW1vZGFsX19jbG9zZVwiXG4gICAgICAgICAgICAgICAgICAgIGFyaWEtbGFiZWw9XCJDZXJyYXJcIlxuICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiY2xvc2VNb2RhbCgpXCJcbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIDxzdmcgdmlld0JveD1cIjAgMCAxMiAxMlwiIGFyaWEtaGlkZGVuPVwidHJ1ZVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGhcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBkPVwiTTEgMWwxMCAxME0xMSAxTDEgMTFcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZpbGw9XCJub25lXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdHJva2U9XCJjdXJyZW50Q29sb3JcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHN0cm9rZS13aWR0aD1cIjEuMlwiXG4gICAgICAgICAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICAgICAgICA8L3N2Zz5cbiAgICAgICAgICAgICAgICA8L2J1dHRvbj5cblxuICAgICAgICAgICAgICAgIEBpZiAoc2xpZGVzKCkubGVuZ3RoID4gMSkge1xuICAgICAgICAgICAgICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICAgICAgICAgICAgICB0eXBlPVwiYnV0dG9uXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiZ2FsbGVyeS1tb2RhbF9fbmF2IGdhbGxlcnktbW9kYWxfX25hdi0tcHJldlwiXG4gICAgICAgICAgICAgICAgICAgICAgICBhcmlhLWxhYmVsPVwiQW50ZXJpb3JcIlxuICAgICAgICAgICAgICAgICAgICAgICAgKGNsaWNrKT1cInByZXYoKVwiXG4gICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxzdmcgdmlld0JveD1cIjAgMCA4IDEyXCIgYXJpYS1oaWRkZW49XCJ0cnVlXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGhcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZD1cIk02LjUgMUwxLjUgNmw1IDVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmaWxsPVwibm9uZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHN0cm9rZT1cImN1cnJlbnRDb2xvclwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHN0cm9rZS13aWR0aD1cIjEuMlwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvc3ZnPlxuICAgICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgICAgICAgICAgdHlwZT1cImJ1dHRvblwiXG4gICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImdhbGxlcnktbW9kYWxfX25hdiBnYWxsZXJ5LW1vZGFsX19uYXYtLW5leHRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgYXJpYS1sYWJlbD1cIlNpZ3VpZW50ZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwibmV4dCgpXCJcbiAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICAgICAgPHN2ZyB2aWV3Qm94PVwiMCAwIDggMTJcIiBhcmlhLWhpZGRlbj1cInRydWVcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBkPVwiTTEuNSAxbDUgNS01IDVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmaWxsPVwibm9uZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHN0cm9rZT1cImN1cnJlbnRDb2xvclwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHN0cm9rZS13aWR0aD1cIjEuMlwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvc3ZnPlxuICAgICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiZ2FsbGVyeS1tb2RhbF9fbWVkaWFcIj5cbiAgICAgICAgICAgICAgICAgICAgQGlmIChzbGlkZS52aWRlb1VybCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgQGlmIChpc0RpcmVjdFZpZGVvKHNsaWRlLnZpZGVvVXJsKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx2aWRlb1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbc3JjXT1cInNsaWRlLnZpZGVvVXJsXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3Bvc3Rlcl09XCJzbGlkZS50aHVtYlwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRyb2xzXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGF1dG9wbGF5XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBsYXlzaW5saW5lXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPjwvdmlkZW8+XG4gICAgICAgICAgICAgICAgICAgICAgICB9IEBlbHNlIGlmIChjdXJyZW50VmlkZW9TcmMoKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpZnJhbWVcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3NyY109XCJjdXJyZW50VmlkZW9TcmMoKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFsbG93PVwiYXV0b3BsYXk7IGVuY3J5cHRlZC1tZWRpYTsgcGljdHVyZS1pbi1waWN0dXJlOyBmdWxsc2NyZWVuXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYWxsb3dmdWxsc2NyZWVuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlPVwidmlkZW9cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgID48L2lmcmFtZT5cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfSBAZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICA8aW1nIFtzcmNdPVwic2xpZGUuc3JjXCIgW2FsdF09XCJzbGlkZS5hbHRcIiAvPlxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgPC9kaXY+XG5cbiAgICAgICAgICAgICAgICBAaWYgKFxuICAgICAgICAgICAgICAgICAgICBzbGlkZS50aXRsZSB8fFxuICAgICAgICAgICAgICAgICAgICBzbGlkZS5zdWJ0aXRsZSB8fFxuICAgICAgICAgICAgICAgICAgICBzbGlkZS5uZFRpdGxlIHx8XG4gICAgICAgICAgICAgICAgICAgIHNsaWRlLm5kU3VidGl0bGUgfHxcbiAgICAgICAgICAgICAgICAgICAgc2xpZGUuZGVzY3JpcHRpb25cbiAgICAgICAgICAgICAgICApIHtcbiAgICAgICAgICAgICAgICAgICAgPHVsIGNsYXNzPVwiZ2FsbGVyeS1tb2RhbF9faW5mb1wiPlxuICAgICAgICAgICAgICAgICAgICAgICAgQGlmIChzbGlkZS50aXRsZSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxsaT57eyBzbGlkZS50aXRsZSB9fTwvbGk+XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICBAaWYgKHNsaWRlLnN1YnRpdGxlKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPGxpPnt7IHNsaWRlLnN1YnRpdGxlIH19PC9saT5cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIEBpZiAoc2xpZGUubmRUaXRsZSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxsaT57eyBzbGlkZS5uZFRpdGxlIH19PC9saT5cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIEBpZiAoc2xpZGUubmRTdWJ0aXRsZSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxsaT57eyBzbGlkZS5uZFN1YnRpdGxlIH19PC9saT5cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIEBpZiAoc2xpZGUuZGVzY3JpcHRpb24pIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bGk+e3sgc2xpZGUuZGVzY3JpcHRpb24gfX08L2xpPlxuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICA8L3VsPlxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L2Rpdj5cbiAgICB9XG48L3NlY3Rpb24+XG4iXX0=