@aeris-ui/core 22.0.0-alpha.1 → 22.0.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +232 -191
- package/THIRD_PARTY_LICENSES.md +48 -0
- package/fesm2022/aeris-ui-core-accordion.mjs +666 -273
- package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +284 -103
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-auto-complete.mjs +1301 -450
- package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-auto-focus.mjs +111 -61
- package/fesm2022/aeris-ui-core-auto-focus.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-avatar.mjs +383 -101
- package/fesm2022/aeris-ui-core-avatar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-badge.mjs +562 -115
- package/fesm2022/aeris-ui-core-badge.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-block-ui.mjs +221 -101
- package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-breadcrumb.mjs +609 -199
- package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button-forms.mjs +78 -0
- package/fesm2022/aeris-ui-core-button-forms.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-button-group.mjs +554 -36
- package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button.mjs +911 -137
- package/fesm2022/aeris-ui-core-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-card.mjs +371 -101
- package/fesm2022/aeris-ui-core-card.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-carousel.mjs +835 -369
- package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-cascade-select.mjs +1294 -525
- package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chart.mjs +594 -262
- package/fesm2022/aeris-ui-core-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-checkbox.mjs +619 -150
- package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chip.mjs +1109 -121
- package/fesm2022/aeris-ui-core-chip.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-class-names.mjs +87 -65
- package/fesm2022/aeris-ui-core-class-names.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-code-block.mjs +687 -0
- package/fesm2022/aeris-ui-core-code-block.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-color-picker.mjs +2436 -1076
- package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-command-palette.mjs +996 -0
- package/fesm2022/aeris-ui-core-command-palette.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-compare.mjs +870 -338
- package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs +1454 -575
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-popup.mjs +1499 -760
- package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-context-menu.mjs +975 -449
- package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs +946 -0
- package/fesm2022/aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-date-picker.mjs +2538 -1183
- package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dialog.mjs +1187 -368
- package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-divider.mjs +204 -43
- package/fesm2022/aeris-ui-core-divider.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-drawer.mjs +1712 -345
- package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +418 -254
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-editor.mjs +1808 -783
- package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-file-upload.mjs +1529 -536
- package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-filter-service.mjs +258 -301
- package/fesm2022/aeris-ui-core-filter-service.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-fluid.mjs +68 -21
- package/fesm2022/aeris-ui-core-fluid.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-focus-trap.mjs +206 -182
- package/fesm2022/aeris-ui-core-focus-trap.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-form-field.mjs +688 -0
- package/fesm2022/aeris-ui-core-form-field.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-galleria.mjs +2821 -1143
- package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-glass.mjs +110 -33
- package/fesm2022/aeris-ui-core-glass.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-icon-field.mjs +426 -98
- package/fesm2022/aeris-ui-core-icon-field.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-inplace.mjs +496 -132
- package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-group.mjs +413 -107
- package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-mask.mjs +713 -257
- package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-number.mjs +1095 -297
- package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-otp.mjs +678 -264
- package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-text.mjs +703 -160
- package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-kbd.mjs +243 -0
- package/fesm2022/aeris-ui-core-kbd.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-key-filter.mjs +263 -201
- package/fesm2022/aeris-ui-core-key-filter.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-listbox.mjs +789 -0
- package/fesm2022/aeris-ui-core-listbox.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-mega-menu.mjs +662 -388
- package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menu.mjs +1111 -478
- package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menubar.mjs +1081 -411
- package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-message.mjs +513 -147
- package/fesm2022/aeris-ui-core-message.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-meter-group.mjs +641 -230
- package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-multi-select.mjs +1832 -577
- package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-navbar.mjs +1407 -0
- package/fesm2022/aeris-ui-core-navbar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-order-list.mjs +748 -220
- package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-organization-chart.mjs +521 -201
- package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-paginator.mjs +671 -127
- package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-panel.mjs +602 -210
- package/fesm2022/aeris-ui-core-panel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-password.mjs +1046 -269
- package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-pick-list.mjs +1796 -703
- package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-popover.mjs +1354 -385
- package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-bar.mjs +609 -182
- package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-spinner.mjs +428 -133
- package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-radio-button.mjs +502 -132
- package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-rating.mjs +506 -231
- package/fesm2022/aeris-ui-core-rating.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-scroll-panel.mjs +457 -154
- package/fesm2022/aeris-ui-core-scroll-panel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-scroll-top.mjs +279 -69
- package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-select-native.mjs +145 -0
- package/fesm2022/aeris-ui-core-select-native.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-select.mjs +1984 -668
- package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-sidebar.mjs +1293 -0
- package/fesm2022/aeris-ui-core-sidebar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-skeleton.mjs +149 -45
- package/fesm2022/aeris-ui-core-skeleton.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-slider.mjs +884 -430
- package/fesm2022/aeris-ui-core-slider.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-speed-dial.mjs +882 -337
- package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-split-button.mjs +972 -268
- package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-splitter.mjs +831 -356
- package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-stepper.mjs +705 -256
- package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-style-class.mjs +587 -342
- package/fesm2022/aeris-ui-core-style-class.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-table.mjs +2927 -923
- package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tabs.mjs +855 -283
- package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-textarea.mjs +919 -221
- package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theme-builder.mjs +1368 -1407
- package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theming.mjs +132 -144
- package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tiered-menu.mjs +966 -447
- package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-timeline.mjs +407 -131
- package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toast.mjs +1109 -384
- package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toggle-switch.mjs +398 -132
- package/fesm2022/aeris-ui-core-toggle-switch.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toolbar.mjs +1340 -131
- package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tooltip.mjs +625 -330
- package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-select.mjs +1650 -627
- package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-table.mjs +2442 -994
- package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree.mjs +1257 -670
- package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
- package/fesm2022/aeris-ui-core.mjs +1601 -312
- package/fesm2022/aeris-ui-core.mjs.map +1 -1
- package/package.json +48 -8
- package/schematics/ng-add/schema.json +1 -1
- package/schematics/runtime/schematics/ng-add/options.js +4 -4
- package/schematics/runtime/schematics/ng-add/options.js.map +1 -1
- package/schematics/runtime/schematics/ng-add/workspace.js +1 -1
- package/schematics/runtime/schematics/ng-add/workspace.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-color-derivation.js +1 -1
- package/schematics/runtime/theme-builder/aeris-contrast.js +38 -17
- package/schematics/runtime/theme-builder/aeris-contrast.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-foundation.js +13 -8
- package/schematics/runtime/theme-builder/aeris-foundation.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js +33 -23
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-generator.js +8 -2
- package/schematics/runtime/theme-builder/aeris-theme-generator.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js +63 -76
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js +15 -5
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-validation.js +18 -2
- package/schematics/runtime/theme-builder/aeris-theme-validation.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme.js +121 -34
- package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -1
- package/styles/_choice-card.scss +93 -0
- package/styles/_fallback-colors.scss +10 -0
- package/styles/_icon-artwork.scss +14 -0
- package/styles/_icon-template.scss +42 -0
- package/styles/_mobile.scss +16 -0
- package/styles/_selection-icons.scss +12 -0
- package/styles/_table-pinning.scss +119 -0
- package/styles/_tokens.scss +5 -5
- package/styles/aeris.css +447 -137
- package/styles/controls.css +205 -35
- package/tools/aeris-theme.mjs +4 -4
- package/tools/aeris-theme.schema.json +18 -13
- package/types/aeris-ui-core-accordion.d.ts +167 -93
- package/types/aeris-ui-core-animate-on-scroll.d.ts +72 -31
- package/types/aeris-ui-core-auto-complete.d.ts +339 -140
- package/types/aeris-ui-core-auto-focus.d.ts +24 -16
- package/types/aeris-ui-core-avatar.d.ts +112 -42
- package/types/aeris-ui-core-badge.d.ts +160 -46
- package/types/aeris-ui-core-block-ui.d.ts +48 -27
- package/types/aeris-ui-core-breadcrumb.d.ts +163 -92
- package/types/aeris-ui-core-button-forms.d.ts +18 -0
- package/types/aeris-ui-core-button-group.d.ts +150 -16
- package/types/aeris-ui-core-button.d.ts +274 -67
- package/types/aeris-ui-core-card.d.ts +74 -37
- package/types/aeris-ui-core-carousel.d.ts +213 -117
- package/types/aeris-ui-core-cascade-select.d.ts +275 -123
- package/types/aeris-ui-core-chart.d.ts +150 -84
- package/types/aeris-ui-core-checkbox.d.ts +173 -54
- package/types/aeris-ui-core-chip.d.ts +316 -56
- package/types/aeris-ui-core-class-names.d.ts +22 -20
- package/types/aeris-ui-core-code-block.d.ts +201 -0
- package/types/aeris-ui-core-color-picker.d.ts +450 -143
- package/types/aeris-ui-core-command-palette.d.ts +267 -0
- package/types/aeris-ui-core-compare.d.ts +230 -102
- package/types/aeris-ui-core-confirm-dialog.d.ts +450 -245
- package/types/aeris-ui-core-confirm-popup.d.ts +442 -263
- package/types/aeris-ui-core-context-menu.d.ts +270 -146
- package/types/aeris-ui-core-date-picker.d.ts +594 -219
- package/types/aeris-ui-core-dialog.d.ts +301 -117
- package/types/aeris-ui-core-divider.d.ts +58 -20
- package/types/aeris-ui-core-drawer.d.ts +380 -112
- package/types/aeris-ui-core-dynamic-dialog.d.ts +162 -137
- package/types/aeris-ui-core-editor.d.ts +257 -123
- package/types/aeris-ui-core-file-upload.d.ts +385 -197
- package/types/aeris-ui-core-filter-service.d.ts +48 -52
- package/types/aeris-ui-core-fluid.d.ts +12 -9
- package/types/aeris-ui-core-focus-trap.d.ts +39 -31
- package/types/aeris-ui-core-form-field.d.ts +163 -0
- package/types/aeris-ui-core-galleria.d.ts +636 -256
- package/types/aeris-ui-core-glass.d.ts +24 -11
- package/types/aeris-ui-core-icon-field.d.ts +94 -32
- package/types/aeris-ui-core-inplace.d.ts +129 -62
- package/types/aeris-ui-core-input-group.d.ts +84 -33
- package/types/aeris-ui-core-input-mask.d.ts +201 -69
- package/types/aeris-ui-core-input-number.d.ts +291 -87
- package/types/aeris-ui-core-input-otp.d.ts +191 -81
- package/types/aeris-ui-core-input-text.d.ts +195 -60
- package/types/aeris-ui-core-kbd.d.ts +74 -0
- package/types/aeris-ui-core-key-filter.d.ts +53 -39
- package/types/aeris-ui-core-listbox.d.ts +222 -0
- package/types/aeris-ui-core-mega-menu.d.ts +181 -121
- package/types/aeris-ui-core-menu.d.ts +283 -168
- package/types/aeris-ui-core-menubar.d.ts +289 -135
- package/types/aeris-ui-core-message.d.ts +138 -60
- package/types/aeris-ui-core-meter-group.d.ts +169 -90
- package/types/aeris-ui-core-multi-select.d.ts +469 -180
- package/types/aeris-ui-core-navbar.d.ts +208 -0
- package/types/aeris-ui-core-order-list.d.ts +168 -66
- package/types/aeris-ui-core-organization-chart.d.ts +139 -77
- package/types/aeris-ui-core-paginator.d.ts +129 -38
- package/types/aeris-ui-core-panel.d.ts +149 -78
- package/types/aeris-ui-core-password.d.ts +276 -102
- package/types/aeris-ui-core-pick-list.d.ts +428 -179
- package/types/aeris-ui-core-popover.d.ts +294 -105
- package/types/aeris-ui-core-progress-bar.d.ts +163 -73
- package/types/aeris-ui-core-progress-spinner.d.ts +116 -48
- package/types/aeris-ui-core-radio-button.d.ts +146 -50
- package/types/aeris-ui-core-rating.d.ts +149 -76
- package/types/aeris-ui-core-scroll-panel.d.ts +142 -64
- package/types/aeris-ui-core-scroll-top.d.ts +73 -29
- package/types/aeris-ui-core-select-native.d.ts +40 -0
- package/types/aeris-ui-core-select.d.ts +487 -217
- package/types/aeris-ui-core-sidebar.d.ts +220 -0
- package/types/aeris-ui-core-skeleton.d.ts +39 -17
- package/types/aeris-ui-core-slider.d.ts +270 -115
- package/types/aeris-ui-core-speed-dial.d.ts +241 -111
- package/types/aeris-ui-core-split-button.d.ts +267 -113
- package/types/aeris-ui-core-splitter.d.ts +224 -106
- package/types/aeris-ui-core-stepper.d.ts +184 -91
- package/types/aeris-ui-core-style-class.d.ts +141 -71
- package/types/aeris-ui-core-table.d.ts +729 -304
- package/types/aeris-ui-core-tabs.d.ts +193 -76
- package/types/aeris-ui-core-textarea.d.ts +271 -78
- package/types/aeris-ui-core-theme-builder.d.ts +220 -463
- package/types/aeris-ui-core-theming.d.ts +42 -45
- package/types/aeris-ui-core-tiered-menu.d.ts +257 -142
- package/types/aeris-ui-core-timeline.d.ts +109 -71
- package/types/aeris-ui-core-toast.d.ts +231 -115
- package/types/aeris-ui-core-toggle-switch.d.ts +125 -51
- package/types/aeris-ui-core-toolbar.d.ts +314 -47
- package/types/aeris-ui-core-tooltip.d.ts +157 -88
- package/types/aeris-ui-core-tree-select.d.ts +394 -171
- package/types/aeris-ui-core-tree-table.d.ts +629 -288
- package/types/aeris-ui-core-tree.d.ts +294 -165
- package/types/aeris-ui-core.d.ts +338 -74
|
@@ -1,776 +1,1591 @@
|
|
|
1
|
-
import { DOCUMENT,
|
|
2
|
-
import * as i0 from
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
1
|
+
import { DOCUMENT, NgTemplateOutlet, isPlatformBrowser } from "@angular/common";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { Component, DestroyRef, Directive, ElementRef, PLATFORM_ID, TemplateRef, afterNextRender, booleanAttribute, computed, contentChild, effect, inject, input, model, output, signal, viewChild } from "@angular/core";
|
|
4
|
+
import { aerisInternalCreateFrameScheduler, aerisInternalObserveViewport, ɵAerisIcon, ɵlockAerisDocumentScroll, ɵregisterAerisOverlay, ɵunlockAerisDocumentScroll, ɵunregisterAerisOverlay } from "@aeris-ui/core";
|
|
5
|
+
var AerisGalleriaItemTemplate = class AerisGalleriaItemTemplate {
|
|
6
|
+
template = inject(TemplateRef);
|
|
7
|
+
static ngTemplateContextGuard(_directive, context) {
|
|
8
|
+
return true;
|
|
9
|
+
}
|
|
10
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
11
|
+
minVersion: "12.0.0",
|
|
12
|
+
version: "22.2.3",
|
|
13
|
+
ngImport: i0,
|
|
14
|
+
type: AerisGalleriaItemTemplate,
|
|
15
|
+
deps: [],
|
|
16
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
17
|
+
});
|
|
18
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
19
|
+
minVersion: "14.0.0",
|
|
20
|
+
version: "22.2.3",
|
|
21
|
+
type: AerisGalleriaItemTemplate,
|
|
22
|
+
isStandalone: true,
|
|
23
|
+
selector: "ng-template[aerisGalleriaItem]",
|
|
24
|
+
ngImport: i0
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
28
|
+
minVersion: "12.0.0",
|
|
29
|
+
version: "22.2.3",
|
|
30
|
+
ngImport: i0,
|
|
31
|
+
type: AerisGalleriaItemTemplate,
|
|
32
|
+
decorators: [{
|
|
33
|
+
type: Directive,
|
|
34
|
+
args: [{ selector: "ng-template[aerisGalleriaItem]" }]
|
|
35
|
+
}]
|
|
36
|
+
});
|
|
37
|
+
var AerisGalleriaThumbnailTemplate = class AerisGalleriaThumbnailTemplate {
|
|
38
|
+
template = inject(TemplateRef);
|
|
39
|
+
static ngTemplateContextGuard(_directive, context) {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
43
|
+
minVersion: "12.0.0",
|
|
44
|
+
version: "22.2.3",
|
|
45
|
+
ngImport: i0,
|
|
46
|
+
type: AerisGalleriaThumbnailTemplate,
|
|
47
|
+
deps: [],
|
|
48
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
49
|
+
});
|
|
50
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
51
|
+
minVersion: "14.0.0",
|
|
52
|
+
version: "22.2.3",
|
|
53
|
+
type: AerisGalleriaThumbnailTemplate,
|
|
54
|
+
isStandalone: true,
|
|
55
|
+
selector: "ng-template[aerisGalleriaThumbnail]",
|
|
56
|
+
ngImport: i0
|
|
57
|
+
});
|
|
58
|
+
};
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
60
|
+
minVersion: "12.0.0",
|
|
61
|
+
version: "22.2.3",
|
|
62
|
+
ngImport: i0,
|
|
63
|
+
type: AerisGalleriaThumbnailTemplate,
|
|
64
|
+
decorators: [{
|
|
65
|
+
type: Directive,
|
|
66
|
+
args: [{ selector: "ng-template[aerisGalleriaThumbnail]" }]
|
|
67
|
+
}]
|
|
68
|
+
});
|
|
69
|
+
var AerisGalleriaCaptionTemplate = class AerisGalleriaCaptionTemplate {
|
|
70
|
+
template = inject(TemplateRef);
|
|
71
|
+
static ngTemplateContextGuard(_directive, context) {
|
|
72
|
+
return true;
|
|
73
|
+
}
|
|
74
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
75
|
+
minVersion: "12.0.0",
|
|
76
|
+
version: "22.2.3",
|
|
77
|
+
ngImport: i0,
|
|
78
|
+
type: AerisGalleriaCaptionTemplate,
|
|
79
|
+
deps: [],
|
|
80
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
81
|
+
});
|
|
82
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
83
|
+
minVersion: "14.0.0",
|
|
84
|
+
version: "22.2.3",
|
|
85
|
+
type: AerisGalleriaCaptionTemplate,
|
|
86
|
+
isStandalone: true,
|
|
87
|
+
selector: "ng-template[aerisGalleriaCaption]",
|
|
88
|
+
ngImport: i0
|
|
89
|
+
});
|
|
90
|
+
};
|
|
91
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
92
|
+
minVersion: "12.0.0",
|
|
93
|
+
version: "22.2.3",
|
|
94
|
+
ngImport: i0,
|
|
95
|
+
type: AerisGalleriaCaptionTemplate,
|
|
96
|
+
decorators: [{
|
|
97
|
+
type: Directive,
|
|
98
|
+
args: [{ selector: "ng-template[aerisGalleriaCaption]" }]
|
|
99
|
+
}]
|
|
100
|
+
});
|
|
101
|
+
var AerisGalleriaEmptyTemplate = class AerisGalleriaEmptyTemplate {
|
|
102
|
+
template = inject(TemplateRef);
|
|
103
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
104
|
+
minVersion: "12.0.0",
|
|
105
|
+
version: "22.2.3",
|
|
106
|
+
ngImport: i0,
|
|
107
|
+
type: AerisGalleriaEmptyTemplate,
|
|
108
|
+
deps: [],
|
|
109
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
110
|
+
});
|
|
111
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
112
|
+
minVersion: "14.0.0",
|
|
113
|
+
version: "22.2.3",
|
|
114
|
+
type: AerisGalleriaEmptyTemplate,
|
|
115
|
+
isStandalone: true,
|
|
116
|
+
selector: "ng-template[aerisGalleriaEmpty]",
|
|
117
|
+
ngImport: i0
|
|
118
|
+
});
|
|
119
|
+
};
|
|
120
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
121
|
+
minVersion: "12.0.0",
|
|
122
|
+
version: "22.2.3",
|
|
123
|
+
ngImport: i0,
|
|
124
|
+
type: AerisGalleriaEmptyTemplate,
|
|
125
|
+
decorators: [{
|
|
126
|
+
type: Directive,
|
|
127
|
+
args: [{ selector: "ng-template[aerisGalleriaEmpty]" }]
|
|
128
|
+
}]
|
|
129
|
+
});
|
|
130
|
+
var AerisGalleriaGridItemTemplate = class AerisGalleriaGridItemTemplate {
|
|
131
|
+
template = inject(TemplateRef);
|
|
132
|
+
static ngTemplateContextGuard(_directive, context) {
|
|
133
|
+
return true;
|
|
134
|
+
}
|
|
135
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
136
|
+
minVersion: "12.0.0",
|
|
137
|
+
version: "22.2.3",
|
|
138
|
+
ngImport: i0,
|
|
139
|
+
type: AerisGalleriaGridItemTemplate,
|
|
140
|
+
deps: [],
|
|
141
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
142
|
+
});
|
|
143
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
144
|
+
minVersion: "14.0.0",
|
|
145
|
+
version: "22.2.3",
|
|
146
|
+
type: AerisGalleriaGridItemTemplate,
|
|
147
|
+
isStandalone: true,
|
|
148
|
+
selector: "ng-template[aerisGalleriaGridItem]",
|
|
149
|
+
ngImport: i0
|
|
150
|
+
});
|
|
151
|
+
};
|
|
152
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
153
|
+
minVersion: "12.0.0",
|
|
154
|
+
version: "22.2.3",
|
|
155
|
+
ngImport: i0,
|
|
156
|
+
type: AerisGalleriaGridItemTemplate,
|
|
157
|
+
decorators: [{
|
|
158
|
+
type: Directive,
|
|
159
|
+
args: [{ selector: "ng-template[aerisGalleriaGridItem]" }]
|
|
160
|
+
}]
|
|
161
|
+
});
|
|
162
|
+
var AerisGalleriaPreviousIconTemplate = class AerisGalleriaPreviousIconTemplate {
|
|
163
|
+
template = inject(TemplateRef);
|
|
164
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
165
|
+
minVersion: "12.0.0",
|
|
166
|
+
version: "22.2.3",
|
|
167
|
+
ngImport: i0,
|
|
168
|
+
type: AerisGalleriaPreviousIconTemplate,
|
|
169
|
+
deps: [],
|
|
170
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
171
|
+
});
|
|
172
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
173
|
+
minVersion: "14.0.0",
|
|
174
|
+
version: "22.2.3",
|
|
175
|
+
type: AerisGalleriaPreviousIconTemplate,
|
|
176
|
+
isStandalone: true,
|
|
177
|
+
selector: "ng-template[aerisGalleriaPreviousIcon]",
|
|
178
|
+
ngImport: i0
|
|
179
|
+
});
|
|
180
|
+
};
|
|
181
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
182
|
+
minVersion: "12.0.0",
|
|
183
|
+
version: "22.2.3",
|
|
184
|
+
ngImport: i0,
|
|
185
|
+
type: AerisGalleriaPreviousIconTemplate,
|
|
186
|
+
decorators: [{
|
|
187
|
+
type: Directive,
|
|
188
|
+
args: [{ selector: "ng-template[aerisGalleriaPreviousIcon]" }]
|
|
189
|
+
}]
|
|
190
|
+
});
|
|
191
|
+
var AerisGalleriaNextIconTemplate = class AerisGalleriaNextIconTemplate {
|
|
192
|
+
template = inject(TemplateRef);
|
|
193
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
194
|
+
minVersion: "12.0.0",
|
|
195
|
+
version: "22.2.3",
|
|
196
|
+
ngImport: i0,
|
|
197
|
+
type: AerisGalleriaNextIconTemplate,
|
|
198
|
+
deps: [],
|
|
199
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
200
|
+
});
|
|
201
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
202
|
+
minVersion: "14.0.0",
|
|
203
|
+
version: "22.2.3",
|
|
204
|
+
type: AerisGalleriaNextIconTemplate,
|
|
205
|
+
isStandalone: true,
|
|
206
|
+
selector: "ng-template[aerisGalleriaNextIcon]",
|
|
207
|
+
ngImport: i0
|
|
208
|
+
});
|
|
209
|
+
};
|
|
210
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
211
|
+
minVersion: "12.0.0",
|
|
212
|
+
version: "22.2.3",
|
|
213
|
+
ngImport: i0,
|
|
214
|
+
type: AerisGalleriaNextIconTemplate,
|
|
215
|
+
decorators: [{
|
|
216
|
+
type: Directive,
|
|
217
|
+
args: [{ selector: "ng-template[aerisGalleriaNextIcon]" }]
|
|
218
|
+
}]
|
|
219
|
+
});
|
|
220
|
+
var AerisGalleriaFullscreenIconTemplate = class AerisGalleriaFullscreenIconTemplate {
|
|
221
|
+
template = inject(TemplateRef);
|
|
222
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
223
|
+
minVersion: "12.0.0",
|
|
224
|
+
version: "22.2.3",
|
|
225
|
+
ngImport: i0,
|
|
226
|
+
type: AerisGalleriaFullscreenIconTemplate,
|
|
227
|
+
deps: [],
|
|
228
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
229
|
+
});
|
|
230
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
231
|
+
minVersion: "14.0.0",
|
|
232
|
+
version: "22.2.3",
|
|
233
|
+
type: AerisGalleriaFullscreenIconTemplate,
|
|
234
|
+
isStandalone: true,
|
|
235
|
+
selector: "ng-template[aerisGalleriaFullscreenIcon]",
|
|
236
|
+
ngImport: i0
|
|
237
|
+
});
|
|
238
|
+
};
|
|
239
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
240
|
+
minVersion: "12.0.0",
|
|
241
|
+
version: "22.2.3",
|
|
242
|
+
ngImport: i0,
|
|
243
|
+
type: AerisGalleriaFullscreenIconTemplate,
|
|
244
|
+
decorators: [{
|
|
245
|
+
type: Directive,
|
|
246
|
+
args: [{ selector: "ng-template[aerisGalleriaFullscreenIcon]" }]
|
|
247
|
+
}]
|
|
248
|
+
});
|
|
90
249
|
let nextGalleriaId = 0;
|
|
91
|
-
class AerisGalleria {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: AerisGalleria, isStandalone: true, selector: "aeris-galleria", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, activeIndex: { classPropertyName: "activeIndex", publicName: "activeIndex", isSignal: true, isRequired: false, transformFunction: null }, fullscreen: { classPropertyName: "fullscreen", publicName: "fullscreen", isSignal: true, isRequired: false, transformFunction: null }, zoom: { classPropertyName: "zoom", publicName: "zoom", isSignal: true, isRequired: false, transformFunction: null }, rotation: { classPropertyName: "rotation", publicName: "rotation", isSignal: true, isRequired: false, transformFunction: null }, horizontalFlip: { classPropertyName: "horizontalFlip", publicName: "horizontalFlip", isSignal: true, isRequired: false, transformFunction: null }, verticalFlip: { classPropertyName: "verticalFlip", publicName: "verticalFlip", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, numVisible: { classPropertyName: "numVisible", publicName: "numVisible", isSignal: true, isRequired: false, transformFunction: null }, fullscreenNumVisible: { classPropertyName: "fullscreenNumVisible", publicName: "fullscreenNumVisible", isSignal: true, isRequired: false, transformFunction: null }, responsiveOptions: { classPropertyName: "responsiveOptions", publicName: "responsiveOptions", isSignal: true, isRequired: false, transformFunction: null }, thumbnailPosition: { classPropertyName: "thumbnailPosition", publicName: "thumbnailPosition", isSignal: true, isRequired: false, transformFunction: null }, showThumbnails: { classPropertyName: "showThumbnails", publicName: "showThumbnails", isSignal: true, isRequired: false, transformFunction: null }, showThumbnailNavigators: { classPropertyName: "showThumbnailNavigators", publicName: "showThumbnailNavigators", isSignal: true, isRequired: false, transformFunction: null }, showNavigators: { classPropertyName: "showNavigators", publicName: "showNavigators", isSignal: true, isRequired: false, transformFunction: null }, navigatorsOnHover: { classPropertyName: "navigatorsOnHover", publicName: "navigatorsOnHover", isSignal: true, isRequired: false, transformFunction: null }, showIndicators: { classPropertyName: "showIndicators", publicName: "showIndicators", isSignal: true, isRequired: false, transformFunction: null }, indicatorsOverlay: { classPropertyName: "indicatorsOverlay", publicName: "indicatorsOverlay", isSignal: true, isRequired: false, transformFunction: null }, showCaption: { classPropertyName: "showCaption", publicName: "showCaption", isSignal: true, isRequired: false, transformFunction: null }, showToolbar: { classPropertyName: "showToolbar", publicName: "showToolbar", isSignal: true, isRequired: false, transformFunction: null }, showRotateControls: { classPropertyName: "showRotateControls", publicName: "showRotateControls", isSignal: true, isRequired: false, transformFunction: null }, showFlipControls: { classPropertyName: "showFlipControls", publicName: "showFlipControls", isSignal: true, isRequired: false, transformFunction: null }, showZoomControls: { classPropertyName: "showZoomControls", publicName: "showZoomControls", isSignal: true, isRequired: false, transformFunction: null }, showResetControl: { classPropertyName: "showResetControl", publicName: "showResetControl", isSignal: true, isRequired: false, transformFunction: null }, showDownloadControl: { classPropertyName: "showDownloadControl", publicName: "showDownloadControl", isSignal: true, isRequired: false, transformFunction: null }, rotationStep: { classPropertyName: "rotationStep", publicName: "rotationStep", isSignal: true, isRequired: false, transformFunction: null }, zoomStep: { classPropertyName: "zoomStep", publicName: "zoomStep", isSignal: true, isRequired: false, transformFunction: null }, minZoom: { classPropertyName: "minZoom", publicName: "minZoom", isSignal: true, isRequired: false, transformFunction: null }, maxZoom: { classPropertyName: "maxZoom", publicName: "maxZoom", isSignal: true, isRequired: false, transformFunction: null }, resetTransformOnChange: { classPropertyName: "resetTransformOnChange", publicName: "resetTransformOnChange", isSignal: true, isRequired: false, transformFunction: null }, gridMinItemWidth: { classPropertyName: "gridMinItemWidth", publicName: "gridMinItemWidth", isSignal: true, isRequired: false, transformFunction: null }, gridAspectRatio: { classPropertyName: "gridAspectRatio", publicName: "gridAspectRatio", isSignal: true, isRequired: false, transformFunction: null }, gridOpenFullscreen: { classPropertyName: "gridOpenFullscreen", publicName: "gridOpenFullscreen", isSignal: true, isRequired: false, transformFunction: null }, circular: { classPropertyName: "circular", publicName: "circular", isSignal: true, isRequired: false, transformFunction: null }, autoplayInterval: { classPropertyName: "autoplayInterval", publicName: "autoplayInterval", isSignal: true, isRequired: false, transformFunction: null }, pauseOnHover: { classPropertyName: "pauseOnHover", publicName: "pauseOnHover", isSignal: true, isRequired: false, transformFunction: null }, allowFullscreen: { classPropertyName: "allowFullscreen", publicName: "allowFullscreen", isSignal: true, isRequired: false, transformFunction: null }, dismissibleBackdrop: { classPropertyName: "dismissibleBackdrop", publicName: "dismissibleBackdrop", isSignal: true, isRequired: false, transformFunction: null }, backdropBlur: { classPropertyName: "backdropBlur", publicName: "backdropBlur", isSignal: true, isRequired: false, transformFunction: null }, backdropBlurAmount: { classPropertyName: "backdropBlurAmount", publicName: "backdropBlurAmount", isSignal: true, isRequired: false, transformFunction: null }, closeOnEscape: { classPropertyName: "closeOnEscape", publicName: "closeOnEscape", isSignal: true, isRequired: false, transformFunction: null }, objectFit: { classPropertyName: "objectFit", publicName: "objectFit", isSignal: true, isRequired: false, transformFunction: null }, aspectRatio: { classPropertyName: "aspectRatio", publicName: "aspectRatio", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, stageAriaLabel: { classPropertyName: "stageAriaLabel", publicName: "stageAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, gridAriaLabel: { classPropertyName: "gridAriaLabel", publicName: "gridAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, toolbarAriaLabel: { classPropertyName: "toolbarAriaLabel", publicName: "toolbarAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, thumbnailsAriaLabel: { classPropertyName: "thumbnailsAriaLabel", publicName: "thumbnailsAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, indicatorsAriaLabel: { classPropertyName: "indicatorsAriaLabel", publicName: "indicatorsAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, previousAriaLabel: { classPropertyName: "previousAriaLabel", publicName: "previousAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, nextAriaLabel: { classPropertyName: "nextAriaLabel", publicName: "nextAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, previousThumbnailsAriaLabel: { classPropertyName: "previousThumbnailsAriaLabel", publicName: "previousThumbnailsAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, nextThumbnailsAriaLabel: { classPropertyName: "nextThumbnailsAriaLabel", publicName: "nextThumbnailsAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, enterFullscreenAriaLabel: { classPropertyName: "enterFullscreenAriaLabel", publicName: "enterFullscreenAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, exitFullscreenAriaLabel: { classPropertyName: "exitFullscreenAriaLabel", publicName: "exitFullscreenAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, rotateLeftAriaLabel: { classPropertyName: "rotateLeftAriaLabel", publicName: "rotateLeftAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, rotateRightAriaLabel: { classPropertyName: "rotateRightAriaLabel", publicName: "rotateRightAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, flipHorizontalAriaLabel: { classPropertyName: "flipHorizontalAriaLabel", publicName: "flipHorizontalAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, flipVerticalAriaLabel: { classPropertyName: "flipVerticalAriaLabel", publicName: "flipVerticalAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, zoomOutAriaLabel: { classPropertyName: "zoomOutAriaLabel", publicName: "zoomOutAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, zoomInAriaLabel: { classPropertyName: "zoomInAriaLabel", publicName: "zoomInAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, zoomLevelAriaLabel: { classPropertyName: "zoomLevelAriaLabel", publicName: "zoomLevelAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, resetTransformAriaLabel: { classPropertyName: "resetTransformAriaLabel", publicName: "resetTransformAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, downloadAriaLabel: { classPropertyName: "downloadAriaLabel", publicName: "downloadAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { activeIndex: "activeIndexChange", fullscreen: "fullscreenChange", zoom: "zoomChange", rotation: "rotationChange", horizontalFlip: "horizontalFlipChange", verticalFlip: "verticalFlipChange", indexChanged: "indexChanged", fullscreenClosed: "fullscreenClosed", transformChanged: "transformChanged", downloadRequested: "downloadRequested" }, host: { properties: { "attr.data-fullscreen": "fullscreen() || null" }, classAttribute: "aeris-galleria-host" }, queries: [{ propertyName: "itemTemplate", first: true, predicate: (AerisGalleriaItemTemplate), descendants: true, isSignal: true }, { propertyName: "thumbnailTemplate", first: true, predicate: (AerisGalleriaThumbnailTemplate), descendants: true, isSignal: true }, { propertyName: "captionTemplate", first: true, predicate: (AerisGalleriaCaptionTemplate), descendants: true, isSignal: true }, { propertyName: "gridItemTemplate", first: true, predicate: (AerisGalleriaGridItemTemplate), descendants: true, isSignal: true }, { propertyName: "emptyTemplate", first: true, predicate: AerisGalleriaEmptyTemplate, descendants: true, isSignal: true }, { propertyName: "previousIconTemplate", first: true, predicate: AerisGalleriaPreviousIconTemplate, descendants: true, isSignal: true }, { propertyName: "nextIconTemplate", first: true, predicate: AerisGalleriaNextIconTemplate, descendants: true, isSignal: true }, { propertyName: "fullscreenIconTemplate", first: true, predicate: AerisGalleriaFullscreenIconTemplate, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
250
|
+
var AerisGalleria = class AerisGalleria {
|
|
251
|
+
rotateLeftIconTemplate = input(...ngDevMode ? [void 0, { debugName: "rotateLeftIconTemplate" }] : /* istanbul ignore next */ []);
|
|
252
|
+
rotateRightIconTemplate = input(...ngDevMode ? [void 0, { debugName: "rotateRightIconTemplate" }] : /* istanbul ignore next */ []);
|
|
253
|
+
flipHorizontalIconTemplate = input(...ngDevMode ? [void 0, { debugName: "flipHorizontalIconTemplate" }] : /* istanbul ignore next */ []);
|
|
254
|
+
flipVerticalIconTemplate = input(...ngDevMode ? [void 0, { debugName: "flipVerticalIconTemplate" }] : /* istanbul ignore next */ []);
|
|
255
|
+
zoomOutIconTemplate = input(...ngDevMode ? [void 0, { debugName: "zoomOutIconTemplate" }] : /* istanbul ignore next */ []);
|
|
256
|
+
zoomInIconTemplate = input(...ngDevMode ? [void 0, { debugName: "zoomInIconTemplate" }] : /* istanbul ignore next */ []);
|
|
257
|
+
resetIconTemplate = input(...ngDevMode ? [void 0, { debugName: "resetIconTemplate" }] : /* istanbul ignore next */ []);
|
|
258
|
+
downloadIconTemplate = input(...ngDevMode ? [void 0, { debugName: "downloadIconTemplate" }] : /* istanbul ignore next */ []);
|
|
259
|
+
host = inject(ElementRef);
|
|
260
|
+
document = inject(DOCUMENT);
|
|
261
|
+
platformId = inject(PLATFORM_ID);
|
|
262
|
+
destroyRef = inject(DestroyRef);
|
|
263
|
+
browser = isPlatformBrowser(this.platformId);
|
|
264
|
+
viewportWidth = signal(0, ...ngDevMode ? [{ debugName: "viewportWidth" }] : /* istanbul ignore next */ []);
|
|
265
|
+
viewportHeight = signal(0, ...ngDevMode ? [{ debugName: "viewportHeight" }] : /* istanbul ignore next */ []);
|
|
266
|
+
hoverPaused = signal(false, ...ngDevMode ? [{ debugName: "hoverPaused" }] : /* istanbul ignore next */ []);
|
|
267
|
+
focusPaused = signal(false, ...ngDevMode ? [{ debugName: "focusPaused" }] : /* istanbul ignore next */ []);
|
|
268
|
+
autoplayStopped = signal(false, ...ngDevMode ? [{ debugName: "autoplayStopped" }] : /* istanbul ignore next */ []);
|
|
269
|
+
reducedMotion = signal(false, ...ngDevMode ? [{ debugName: "reducedMotion" }] : /* istanbul ignore next */ []);
|
|
270
|
+
pointerStart = signal(null, ...ngDevMode ? [{ debugName: "pointerStart" }] : /* istanbul ignore next */ []);
|
|
271
|
+
pointerSession = null;
|
|
272
|
+
panX = signal(0, ...ngDevMode ? [{ debugName: "panX" }] : /* istanbul ignore next */ []);
|
|
273
|
+
panY = signal(0, ...ngDevMode ? [{ debugName: "panY" }] : /* istanbul ignore next */ []);
|
|
274
|
+
thumbnailViewport = viewChild("thumbnailViewport", ...ngDevMode ? [{ debugName: "thumbnailViewport" }] : /* istanbul ignore next */ []);
|
|
275
|
+
thumbnailAtStart = signal(true, ...ngDevMode ? [{ debugName: "thumbnailAtStart" }] : /* istanbul ignore next */ []);
|
|
276
|
+
thumbnailAtEnd = signal(false, ...ngDevMode ? [{ debugName: "thumbnailAtEnd" }] : /* istanbul ignore next */ []);
|
|
277
|
+
thumbnailFrame = aerisInternalCreateFrameScheduler(() => this.syncThumbnailScroll());
|
|
278
|
+
previousFocus = signal(null, ...ngDevMode ? [{ debugName: "previousFocus" }] : /* istanbul ignore next */ []);
|
|
279
|
+
pageLocked = false;
|
|
280
|
+
resizeObserver = null;
|
|
281
|
+
toolbar = viewChild("toolbar", ...ngDevMode ? [{ debugName: "toolbar" }] : /* istanbul ignore next */ []);
|
|
282
|
+
toolbarFadeLeft = signal(false, ...ngDevMode ? [{ debugName: "toolbarFadeLeft" }] : /* istanbul ignore next */ []);
|
|
283
|
+
toolbarFadeRight = signal(false, ...ngDevMode ? [{ debugName: "toolbarFadeRight" }] : /* istanbul ignore next */ []);
|
|
284
|
+
toolbarFrame = aerisInternalCreateFrameScheduler(() => this.measureToolbarOverflow());
|
|
285
|
+
itemTemplate = contentChild(AerisGalleriaItemTemplate, ...ngDevMode ? [{ debugName: "itemTemplate" }] : /* istanbul ignore next */ []);
|
|
286
|
+
thumbnailTemplate = contentChild(AerisGalleriaThumbnailTemplate, ...ngDevMode ? [{ debugName: "thumbnailTemplate" }] : /* istanbul ignore next */ []);
|
|
287
|
+
captionTemplate = contentChild(AerisGalleriaCaptionTemplate, ...ngDevMode ? [{ debugName: "captionTemplate" }] : /* istanbul ignore next */ []);
|
|
288
|
+
gridItemTemplate = contentChild(AerisGalleriaGridItemTemplate, ...ngDevMode ? [{ debugName: "gridItemTemplate" }] : /* istanbul ignore next */ []);
|
|
289
|
+
emptyTemplate = contentChild(AerisGalleriaEmptyTemplate, ...ngDevMode ? [{ debugName: "emptyTemplate" }] : /* istanbul ignore next */ []);
|
|
290
|
+
previousIconTemplate = contentChild(AerisGalleriaPreviousIconTemplate, ...ngDevMode ? [{ debugName: "previousIconTemplate" }] : /* istanbul ignore next */ []);
|
|
291
|
+
nextIconTemplate = contentChild(AerisGalleriaNextIconTemplate, ...ngDevMode ? [{ debugName: "nextIconTemplate" }] : /* istanbul ignore next */ []);
|
|
292
|
+
fullscreenIconTemplate = contentChild(AerisGalleriaFullscreenIconTemplate, ...ngDevMode ? [{ debugName: "fullscreenIconTemplate" }] : /* istanbul ignore next */ []);
|
|
293
|
+
value = input([], ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
294
|
+
activeIndex = model(0, ...ngDevMode ? [{ debugName: "activeIndex" }] : /* istanbul ignore next */ []);
|
|
295
|
+
fullscreen = model(false, ...ngDevMode ? [{ debugName: "fullscreen" }] : /* istanbul ignore next */ []);
|
|
296
|
+
zoom = model(1, ...ngDevMode ? [{ debugName: "zoom" }] : /* istanbul ignore next */ []);
|
|
297
|
+
rotation = model(0, ...ngDevMode ? [{ debugName: "rotation" }] : /* istanbul ignore next */ []);
|
|
298
|
+
horizontalFlip = model(false, ...ngDevMode ? [{ debugName: "horizontalFlip" }] : /* istanbul ignore next */ []);
|
|
299
|
+
verticalFlip = model(false, ...ngDevMode ? [{ debugName: "verticalFlip" }] : /* istanbul ignore next */ []);
|
|
300
|
+
mode = input("gallery", ...ngDevMode ? [{ debugName: "mode" }] : /* istanbul ignore next */ []);
|
|
301
|
+
numVisible = input("auto", ...ngDevMode ? [{ debugName: "numVisible" }] : /* istanbul ignore next */ []);
|
|
302
|
+
fullscreenNumVisible = input("auto", ...ngDevMode ? [{ debugName: "fullscreenNumVisible" }] : /* istanbul ignore next */ []);
|
|
303
|
+
responsiveOptions = input([], ...ngDevMode ? [{ debugName: "responsiveOptions" }] : /* istanbul ignore next */ []);
|
|
304
|
+
thumbnailPosition = input("bottom", ...ngDevMode ? [{ debugName: "thumbnailPosition" }] : /* istanbul ignore next */ []);
|
|
305
|
+
showThumbnails = input(true, {
|
|
306
|
+
...ngDevMode ? { debugName: "showThumbnails" } : /* istanbul ignore next */ {},
|
|
307
|
+
transform: booleanAttribute
|
|
308
|
+
});
|
|
309
|
+
showThumbnailNavigators = input(true, {
|
|
310
|
+
...ngDevMode ? { debugName: "showThumbnailNavigators" } : /* istanbul ignore next */ {},
|
|
311
|
+
transform: booleanAttribute
|
|
312
|
+
});
|
|
313
|
+
showNavigators = input(true, {
|
|
314
|
+
...ngDevMode ? { debugName: "showNavigators" } : /* istanbul ignore next */ {},
|
|
315
|
+
transform: booleanAttribute
|
|
316
|
+
});
|
|
317
|
+
navigatorsOnHover = input(false, {
|
|
318
|
+
...ngDevMode ? { debugName: "navigatorsOnHover" } : /* istanbul ignore next */ {},
|
|
319
|
+
transform: booleanAttribute
|
|
320
|
+
});
|
|
321
|
+
showCaption = input(true, {
|
|
322
|
+
...ngDevMode ? { debugName: "showCaption" } : /* istanbul ignore next */ {},
|
|
323
|
+
transform: booleanAttribute
|
|
324
|
+
});
|
|
325
|
+
showToolbar = input(false, {
|
|
326
|
+
...ngDevMode ? { debugName: "showToolbar" } : /* istanbul ignore next */ {},
|
|
327
|
+
transform: booleanAttribute
|
|
328
|
+
});
|
|
329
|
+
showRotateControls = input(true, {
|
|
330
|
+
...ngDevMode ? { debugName: "showRotateControls" } : /* istanbul ignore next */ {},
|
|
331
|
+
transform: booleanAttribute
|
|
332
|
+
});
|
|
333
|
+
showFlipControls = input(true, {
|
|
334
|
+
...ngDevMode ? { debugName: "showFlipControls" } : /* istanbul ignore next */ {},
|
|
335
|
+
transform: booleanAttribute
|
|
336
|
+
});
|
|
337
|
+
showZoomControls = input(true, {
|
|
338
|
+
...ngDevMode ? { debugName: "showZoomControls" } : /* istanbul ignore next */ {},
|
|
339
|
+
transform: booleanAttribute
|
|
340
|
+
});
|
|
341
|
+
showResetControl = input(true, {
|
|
342
|
+
...ngDevMode ? { debugName: "showResetControl" } : /* istanbul ignore next */ {},
|
|
343
|
+
transform: booleanAttribute
|
|
344
|
+
});
|
|
345
|
+
showDownloadControl = input(true, {
|
|
346
|
+
...ngDevMode ? { debugName: "showDownloadControl" } : /* istanbul ignore next */ {},
|
|
347
|
+
transform: booleanAttribute
|
|
348
|
+
});
|
|
349
|
+
rotationStep = input(90, ...ngDevMode ? [{ debugName: "rotationStep" }] : /* istanbul ignore next */ []);
|
|
350
|
+
zoomStep = input(.25, ...ngDevMode ? [{ debugName: "zoomStep" }] : /* istanbul ignore next */ []);
|
|
351
|
+
minZoom = input(.5, ...ngDevMode ? [{ debugName: "minZoom" }] : /* istanbul ignore next */ []);
|
|
352
|
+
maxZoom = input(3, ...ngDevMode ? [{ debugName: "maxZoom" }] : /* istanbul ignore next */ []);
|
|
353
|
+
resetTransformOnChange = input(true, {
|
|
354
|
+
...ngDevMode ? { debugName: "resetTransformOnChange" } : /* istanbul ignore next */ {},
|
|
355
|
+
transform: booleanAttribute
|
|
356
|
+
});
|
|
357
|
+
gridMinItemWidth = input("10rem", ...ngDevMode ? [{ debugName: "gridMinItemWidth" }] : /* istanbul ignore next */ []);
|
|
358
|
+
gridAspectRatio = input("4 / 3", ...ngDevMode ? [{ debugName: "gridAspectRatio" }] : /* istanbul ignore next */ []);
|
|
359
|
+
gridOpenFullscreen = input(true, {
|
|
360
|
+
...ngDevMode ? { debugName: "gridOpenFullscreen" } : /* istanbul ignore next */ {},
|
|
361
|
+
transform: booleanAttribute
|
|
362
|
+
});
|
|
363
|
+
circular = input(false, {
|
|
364
|
+
...ngDevMode ? { debugName: "circular" } : /* istanbul ignore next */ {},
|
|
365
|
+
transform: booleanAttribute
|
|
366
|
+
});
|
|
367
|
+
autoplayInterval = input(0, ...ngDevMode ? [{ debugName: "autoplayInterval" }] : /* istanbul ignore next */ []);
|
|
368
|
+
pauseOnHover = input(true, {
|
|
369
|
+
...ngDevMode ? { debugName: "pauseOnHover" } : /* istanbul ignore next */ {},
|
|
370
|
+
transform: booleanAttribute
|
|
371
|
+
});
|
|
372
|
+
allowFullscreen = input(false, {
|
|
373
|
+
...ngDevMode ? { debugName: "allowFullscreen" } : /* istanbul ignore next */ {},
|
|
374
|
+
transform: booleanAttribute
|
|
375
|
+
});
|
|
376
|
+
closeOnBackdropClick = input(true, {
|
|
377
|
+
...ngDevMode ? { debugName: "closeOnBackdropClick" } : /* istanbul ignore next */ {},
|
|
378
|
+
transform: booleanAttribute
|
|
379
|
+
});
|
|
380
|
+
backdropBlur = input(true, {
|
|
381
|
+
...ngDevMode ? { debugName: "backdropBlur" } : /* istanbul ignore next */ {},
|
|
382
|
+
transform: booleanAttribute
|
|
383
|
+
});
|
|
384
|
+
backdropBlurAmount = input("", ...ngDevMode ? [{ debugName: "backdropBlurAmount" }] : /* istanbul ignore next */ []);
|
|
385
|
+
closeOnEscape = input(true, {
|
|
386
|
+
...ngDevMode ? { debugName: "closeOnEscape" } : /* istanbul ignore next */ {},
|
|
387
|
+
transform: booleanAttribute
|
|
388
|
+
});
|
|
389
|
+
objectFit = input("cover", ...ngDevMode ? [{ debugName: "objectFit" }] : /* istanbul ignore next */ []);
|
|
390
|
+
aspectRatio = input("16 / 10", ...ngDevMode ? [{ debugName: "aspectRatio" }] : /* istanbul ignore next */ []);
|
|
391
|
+
ariaLabel = input("Image gallery", ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
392
|
+
stageAriaLabel = input("Current gallery item", ...ngDevMode ? [{ debugName: "stageAriaLabel" }] : /* istanbul ignore next */ []);
|
|
393
|
+
gridAriaLabel = input("Gallery grid", ...ngDevMode ? [{ debugName: "gridAriaLabel" }] : /* istanbul ignore next */ []);
|
|
394
|
+
toolbarAriaLabel = input("Image tools", ...ngDevMode ? [{ debugName: "toolbarAriaLabel" }] : /* istanbul ignore next */ []);
|
|
395
|
+
thumbnailsAriaLabel = input("Gallery thumbnails", ...ngDevMode ? [{ debugName: "thumbnailsAriaLabel" }] : /* istanbul ignore next */ []);
|
|
396
|
+
previousAriaLabel = input("Previous item", ...ngDevMode ? [{ debugName: "previousAriaLabel" }] : /* istanbul ignore next */ []);
|
|
397
|
+
nextAriaLabel = input("Next item", ...ngDevMode ? [{ debugName: "nextAriaLabel" }] : /* istanbul ignore next */ []);
|
|
398
|
+
previousThumbnailsAriaLabel = input("Previous thumbnails", ...ngDevMode ? [{ debugName: "previousThumbnailsAriaLabel" }] : /* istanbul ignore next */ []);
|
|
399
|
+
nextThumbnailsAriaLabel = input("Next thumbnails", ...ngDevMode ? [{ debugName: "nextThumbnailsAriaLabel" }] : /* istanbul ignore next */ []);
|
|
400
|
+
enterFullscreenAriaLabel = input("Enter fullscreen", ...ngDevMode ? [{ debugName: "enterFullscreenAriaLabel" }] : /* istanbul ignore next */ []);
|
|
401
|
+
exitFullscreenAriaLabel = input("Exit fullscreen", ...ngDevMode ? [{ debugName: "exitFullscreenAriaLabel" }] : /* istanbul ignore next */ []);
|
|
402
|
+
rotateLeftAriaLabel = input("Rotate counterclockwise", ...ngDevMode ? [{ debugName: "rotateLeftAriaLabel" }] : /* istanbul ignore next */ []);
|
|
403
|
+
rotateRightAriaLabel = input("Rotate clockwise", ...ngDevMode ? [{ debugName: "rotateRightAriaLabel" }] : /* istanbul ignore next */ []);
|
|
404
|
+
flipHorizontalAriaLabel = input("Flip horizontally", ...ngDevMode ? [{ debugName: "flipHorizontalAriaLabel" }] : /* istanbul ignore next */ []);
|
|
405
|
+
flipVerticalAriaLabel = input("Flip vertically", ...ngDevMode ? [{ debugName: "flipVerticalAriaLabel" }] : /* istanbul ignore next */ []);
|
|
406
|
+
zoomOutAriaLabel = input("Zoom out", ...ngDevMode ? [{ debugName: "zoomOutAriaLabel" }] : /* istanbul ignore next */ []);
|
|
407
|
+
zoomInAriaLabel = input("Zoom in", ...ngDevMode ? [{ debugName: "zoomInAriaLabel" }] : /* istanbul ignore next */ []);
|
|
408
|
+
zoomLevelAriaLabel = input("Zoom level", ...ngDevMode ? [{ debugName: "zoomLevelAriaLabel" }] : /* istanbul ignore next */ []);
|
|
409
|
+
resetTransformAriaLabel = input("Reset image", ...ngDevMode ? [{ debugName: "resetTransformAriaLabel" }] : /* istanbul ignore next */ []);
|
|
410
|
+
downloadAriaLabel = input("Download image", ...ngDevMode ? [{ debugName: "downloadAriaLabel" }] : /* istanbul ignore next */ []);
|
|
411
|
+
emptyMessage = input("No gallery items available.", ...ngDevMode ? [{ debugName: "emptyMessage" }] : /* istanbul ignore next */ []);
|
|
412
|
+
indexChanged = output();
|
|
413
|
+
fullscreenClosed = output();
|
|
414
|
+
transformChanged = output();
|
|
415
|
+
downloadRequested = output();
|
|
416
|
+
dragOffset = signal(0, ...ngDevMode ? [{ debugName: "dragOffset" }] : /* istanbul ignore next */ []);
|
|
417
|
+
dragging = signal(false, ...ngDevMode ? [{ debugName: "dragging" }] : /* istanbul ignore next */ []);
|
|
418
|
+
motion = signal("fade", ...ngDevMode ? [{ debugName: "motion" }] : /* istanbul ignore next */ []);
|
|
419
|
+
thumbnailStart = signal(0, ...ngDevMode ? [{ debugName: "thumbnailStart" }] : /* istanbul ignore next */ []);
|
|
420
|
+
stageId = `aeris-galleria-stage-${++nextGalleriaId}`;
|
|
421
|
+
currentIndex = computed(() => Math.min(Math.max(0, Math.floor(this.activeIndex())), Math.max(0, this.value().length - 1)), ...ngDevMode ? [{ debugName: "currentIndex" }] : /* istanbul ignore next */ []);
|
|
422
|
+
views = computed(() => this.value().map((item, index) => {
|
|
423
|
+
const image = this.resolveImage(item);
|
|
424
|
+
return {
|
|
425
|
+
item,
|
|
426
|
+
index,
|
|
427
|
+
image,
|
|
428
|
+
thumbnailLabel: image?.alt ? `Show ${image.alt}` : `Show item ${index + 1}`,
|
|
429
|
+
context: {
|
|
430
|
+
$implicit: item,
|
|
431
|
+
item,
|
|
432
|
+
index,
|
|
433
|
+
active: index === this.currentIndex()
|
|
434
|
+
}
|
|
435
|
+
};
|
|
436
|
+
}), ...ngDevMode ? [{ debugName: "views" }] : /* istanbul ignore next */ []);
|
|
437
|
+
activeView = computed(() => this.views()[this.currentIndex()] ?? null, ...ngDevMode ? [{ debugName: "activeView" }] : /* istanbul ignore next */ []);
|
|
438
|
+
activeViews = computed(() => {
|
|
439
|
+
const active = this.activeView();
|
|
440
|
+
return active ? [active] : [];
|
|
441
|
+
}, ...ngDevMode ? [{ debugName: "activeViews" }] : /* istanbul ignore next */ []);
|
|
442
|
+
responsiveSetting = computed(() => {
|
|
443
|
+
const width = this.viewportWidth();
|
|
444
|
+
if (!width) return null;
|
|
445
|
+
return [...this.responsiveOptions()].map((option) => ({
|
|
446
|
+
option,
|
|
447
|
+
pixels: this.breakpointPixels(option.breakpoint)
|
|
448
|
+
})).filter(({ pixels }) => pixels > 0 && width <= pixels).sort((left, right) => left.pixels - right.pixels)[0]?.option ?? null;
|
|
449
|
+
}, ...ngDevMode ? [{ debugName: "responsiveSetting" }] : /* istanbul ignore next */ []);
|
|
450
|
+
thumbnailWindowCount = computed(() => {
|
|
451
|
+
const configured = this.fullscreen() ? this.fullscreenNumVisible() : this.responsiveSetting()?.numVisible ?? this.numVisible();
|
|
452
|
+
const vertical = !this.fullscreen() && this.thumbnailOrientation() === "vertical";
|
|
453
|
+
const extent = this.fullscreen() ? this.document.documentElement.clientWidth : vertical ? this.viewportHeight() : this.viewportWidth();
|
|
454
|
+
const unitExtent = this.fullscreen() ? extent > 0 && extent <= 640 ? 80 : 112 : vertical ? 80 : extent > 0 && extent <= 640 ? 84 : 100;
|
|
455
|
+
const reservedExtent = this.showThumbnailNavigators() ? 96 : 16;
|
|
456
|
+
const capacity = extent > 0 ? Math.max(1, Math.floor((extent - reservedExtent) / unitExtent)) : configured === "auto" ? 5 : this.safeCount(configured);
|
|
457
|
+
const requested = configured === "auto" ? capacity : this.safeCount(configured);
|
|
458
|
+
return Math.min(this.views().length || 1, requested, this.safeCount(capacity));
|
|
459
|
+
}, ...ngDevMode ? [{ debugName: "thumbnailWindowCount" }] : /* istanbul ignore next */ []);
|
|
460
|
+
stageObjectFit = computed(() => this.fullscreen() && this.mode() === "grid" ? "contain" : this.objectFit(), ...ngDevMode ? [{ debugName: "stageObjectFit" }] : /* istanbul ignore next */ []);
|
|
461
|
+
resolvedShowThumbnails = computed(() => {
|
|
462
|
+
if (!this.showThumbnails() || this.mode() === "single") return false;
|
|
463
|
+
if (this.fullscreen()) return true;
|
|
464
|
+
return this.mode() === "gallery" && (this.responsiveSetting()?.showThumbnails ?? true);
|
|
465
|
+
}, ...ngDevMode ? [{ debugName: "resolvedShowThumbnails" }] : /* istanbul ignore next */ []);
|
|
466
|
+
effectiveThumbnailPosition = computed(() => {
|
|
467
|
+
if (this.fullscreen()) return "bottom";
|
|
468
|
+
const configured = this.responsiveSetting()?.thumbnailPosition ?? this.thumbnailPosition();
|
|
469
|
+
return this.viewportWidth() > 0 && this.viewportWidth() <= 640 && (configured === "start" || configured === "end") ? "bottom" : configured;
|
|
470
|
+
}, ...ngDevMode ? [{ debugName: "effectiveThumbnailPosition" }] : /* istanbul ignore next */ []);
|
|
471
|
+
thumbnailOrientation = computed(() => this.effectiveThumbnailPosition() === "start" || this.effectiveThumbnailPosition() === "end" ? "vertical" : "horizontal", ...ngDevMode ? [{ debugName: "thumbnailOrientation" }] : /* istanbul ignore next */ []);
|
|
472
|
+
maxThumbnailStart = computed(() => Math.max(0, this.views().length - this.thumbnailWindowCount()), ...ngDevMode ? [{ debugName: "maxThumbnailStart" }] : /* istanbul ignore next */ []);
|
|
473
|
+
previousDisabled = computed(() => !this.circular() && this.currentIndex() === 0, ...ngDevMode ? [{ debugName: "previousDisabled" }] : /* istanbul ignore next */ []);
|
|
474
|
+
nextDisabled = computed(() => !this.circular() && this.currentIndex() === this.views().length - 1, ...ngDevMode ? [{ debugName: "nextDisabled" }] : /* istanbul ignore next */ []);
|
|
475
|
+
activeStatus = computed(() => this.views().length ? `Item ${this.currentIndex() + 1} of ${this.views().length}` : "", ...ngDevMode ? [{ debugName: "activeStatus" }] : /* istanbul ignore next */ []);
|
|
476
|
+
resolvedMinZoom = computed(() => Math.max(.1, this.finiteNumber(this.minZoom(), .5)), ...ngDevMode ? [{ debugName: "resolvedMinZoom" }] : /* istanbul ignore next */ []);
|
|
477
|
+
resolvedMaxZoom = computed(() => Math.max(this.resolvedMinZoom(), this.finiteNumber(this.maxZoom(), 3)), ...ngDevMode ? [{ debugName: "resolvedMaxZoom" }] : /* istanbul ignore next */ []);
|
|
478
|
+
resolvedZoom = computed(() => Math.min(this.resolvedMaxZoom(), Math.max(this.resolvedMinZoom(), this.finiteNumber(this.zoom(), 1))), ...ngDevMode ? [{ debugName: "resolvedZoom" }] : /* istanbul ignore next */ []);
|
|
479
|
+
resolvedRotation = computed(() => this.finiteNumber(this.rotation(), 0), ...ngDevMode ? [{ debugName: "resolvedRotation" }] : /* istanbul ignore next */ []);
|
|
480
|
+
normalizedRotation = computed(() => {
|
|
481
|
+
const rotation = this.resolvedRotation() % 360;
|
|
482
|
+
return rotation < 0 ? rotation + 360 : rotation;
|
|
483
|
+
}, ...ngDevMode ? [{ debugName: "normalizedRotation" }] : /* istanbul ignore next */ []);
|
|
484
|
+
zoomPercent = computed(() => Math.round(this.resolvedZoom() * 100), ...ngDevMode ? [{ debugName: "zoomPercent" }] : /* istanbul ignore next */ []);
|
|
485
|
+
mediaTransform = computed(() => {
|
|
486
|
+
const horizontal = this.horizontalFlip() ? -1 : 1;
|
|
487
|
+
const vertical = this.verticalFlip() ? -1 : 1;
|
|
488
|
+
return `translate3d(${this.panX()}px, ${this.panY()}px, 0) rotate(${this.resolvedRotation()}deg) scale(${this.resolvedZoom() * horizontal}, ${this.resolvedZoom() * vertical})`;
|
|
489
|
+
}, ...ngDevMode ? [{ debugName: "mediaTransform" }] : /* istanbul ignore next */ []);
|
|
490
|
+
transformIsDefault = computed(() => this.normalizedRotation() === 0 && this.resolvedZoom() === 1 && !this.horizontalFlip() && !this.verticalFlip(), ...ngDevMode ? [{ debugName: "transformIsDefault" }] : /* istanbul ignore next */ []);
|
|
491
|
+
downloadAvailable = computed(() => {
|
|
492
|
+
const src = this.activeView()?.image?.src;
|
|
493
|
+
return !!src && this.safeDownloadUrl(src) !== null;
|
|
494
|
+
}, ...ngDevMode ? [{ debugName: "downloadAvailable" }] : /* istanbul ignore next */ []);
|
|
495
|
+
paused = computed(() => this.hoverPaused() || this.focusPaused() || this.autoplayStopped() || this.reducedMotion() || this.pointerStart() !== null, ...ngDevMode ? [{ debugName: "paused" }] : /* istanbul ignore next */ []);
|
|
496
|
+
constructor() {
|
|
497
|
+
afterNextRender(() => this.initializeBrowserFeatures());
|
|
498
|
+
this.destroyRef.onDestroy(() => this.resizeObserver?.disconnect());
|
|
499
|
+
this.destroyRef.onDestroy(() => this.toolbarFrame.cancel());
|
|
500
|
+
this.destroyRef.onDestroy(() => this.thumbnailFrame.cancel());
|
|
501
|
+
effect(() => {
|
|
502
|
+
this.resolvedZoom();
|
|
503
|
+
this.resolvedRotation();
|
|
504
|
+
this.horizontalFlip();
|
|
505
|
+
this.verticalFlip();
|
|
506
|
+
this.currentIndex();
|
|
507
|
+
this.fullscreen();
|
|
508
|
+
this.panX.set(0);
|
|
509
|
+
this.panY.set(0);
|
|
510
|
+
});
|
|
511
|
+
effect((onCleanup) => {
|
|
512
|
+
this.showRotateControls();
|
|
513
|
+
this.showFlipControls();
|
|
514
|
+
this.showZoomControls();
|
|
515
|
+
this.showResetControl();
|
|
516
|
+
this.showDownloadControl();
|
|
517
|
+
this.allowFullscreen();
|
|
518
|
+
this.downloadAvailable();
|
|
519
|
+
this.zoomPercent();
|
|
520
|
+
const toolbar = this.toolbar()?.nativeElement;
|
|
521
|
+
if (!this.browser || !toolbar) {
|
|
522
|
+
this.toolbarFadeLeft.set(false);
|
|
523
|
+
this.toolbarFadeRight.set(false);
|
|
524
|
+
return;
|
|
525
|
+
}
|
|
526
|
+
this.toolbarFrame.schedule();
|
|
527
|
+
const resize = () => this.toolbarFrame.schedule();
|
|
528
|
+
const observer = typeof ResizeObserver === "undefined" ? null : new ResizeObserver(resize);
|
|
529
|
+
observer?.observe(toolbar);
|
|
530
|
+
if (!observer) this.document.defaultView?.addEventListener("resize", resize);
|
|
531
|
+
onCleanup(() => {
|
|
532
|
+
observer?.disconnect();
|
|
533
|
+
this.document.defaultView?.removeEventListener("resize", resize);
|
|
534
|
+
this.toolbarFrame.cancel();
|
|
535
|
+
});
|
|
536
|
+
});
|
|
537
|
+
let previousThumbnailIndex = this.currentIndex();
|
|
538
|
+
let previousThumbnailCount = this.thumbnailWindowCount();
|
|
539
|
+
let previousThumbnailOrientation = this.thumbnailOrientation();
|
|
540
|
+
let previousThumbnailViewport;
|
|
541
|
+
effect(() => {
|
|
542
|
+
const active = this.currentIndex();
|
|
543
|
+
const count = this.thumbnailWindowCount();
|
|
544
|
+
const max = this.maxThumbnailStart();
|
|
545
|
+
const start = this.thumbnailStart();
|
|
546
|
+
const viewport = this.thumbnailViewport()?.nativeElement;
|
|
547
|
+
const orientation = this.thumbnailOrientation();
|
|
548
|
+
const orientationChanged = orientation !== previousThumbnailOrientation;
|
|
549
|
+
previousThumbnailOrientation = orientation;
|
|
550
|
+
const viewportChanged = viewport !== previousThumbnailViewport;
|
|
551
|
+
previousThumbnailViewport = viewport;
|
|
552
|
+
const selectionChanged = active !== previousThumbnailIndex;
|
|
553
|
+
const capacityChanged = count !== previousThumbnailCount;
|
|
554
|
+
previousThumbnailIndex = active;
|
|
555
|
+
previousThumbnailCount = count;
|
|
556
|
+
if (selectionChanged || capacityChanged) {
|
|
557
|
+
if (active < start) this.thumbnailStart.set(Math.min(max, active));
|
|
558
|
+
else if (active >= start + count) this.thumbnailStart.set(Math.min(max, active - count + 1));
|
|
559
|
+
else if (start > max) this.thumbnailStart.set(max);
|
|
560
|
+
} else if (start > max) this.thumbnailStart.set(max);
|
|
561
|
+
if (viewportChanged || selectionChanged || capacityChanged || orientationChanged) this.thumbnailFrame.schedule();
|
|
562
|
+
});
|
|
563
|
+
let previousTransformIndex = this.currentIndex();
|
|
564
|
+
effect(() => {
|
|
565
|
+
const current = this.currentIndex();
|
|
566
|
+
if (current !== previousTransformIndex && this.resetTransformOnChange()) this.setDefaultTransform(false);
|
|
567
|
+
previousTransformIndex = current;
|
|
568
|
+
});
|
|
569
|
+
effect((onCleanup) => {
|
|
570
|
+
const interval = this.autoplayInterval();
|
|
571
|
+
if (!this.browser || interval <= 0 || this.mode() === "single" || this.views().length <= 1 || this.paused()) return;
|
|
572
|
+
const timer = setInterval(() => this.next("autoplay"), Math.max(500, interval));
|
|
573
|
+
onCleanup(() => clearInterval(timer));
|
|
574
|
+
});
|
|
575
|
+
effect((onCleanup) => {
|
|
576
|
+
if (!this.browser || !this.fullscreen()) return;
|
|
577
|
+
this.lockPage();
|
|
578
|
+
const surface = this.host.nativeElement.querySelector(".aeris-galleria");
|
|
579
|
+
const stopViewport = surface ? aerisInternalObserveViewport(surface, this.document) : () => void 0;
|
|
580
|
+
ɵregisterAerisOverlay(this.document, this.host.nativeElement, () => {
|
|
581
|
+
if (!this.fullscreen() || !this.closeOnEscape()) return false;
|
|
582
|
+
this.closeFullscreen("escape");
|
|
583
|
+
return true;
|
|
584
|
+
});
|
|
585
|
+
queueMicrotask(() => this.host.nativeElement.querySelector(".aeris-galleria__panel")?.focus());
|
|
586
|
+
onCleanup(() => {
|
|
587
|
+
stopViewport();
|
|
588
|
+
ɵunregisterAerisOverlay(this.document, this.host.nativeElement);
|
|
589
|
+
this.unlockPage();
|
|
590
|
+
queueMicrotask(() => this.previousFocus()?.focus());
|
|
591
|
+
});
|
|
592
|
+
});
|
|
593
|
+
}
|
|
594
|
+
selectGridItem(index) {
|
|
595
|
+
this.goTo(index, "grid");
|
|
596
|
+
if (this.gridOpenFullscreen()) this.openFullscreen();
|
|
597
|
+
}
|
|
598
|
+
rotate(degrees = this.rotationStep()) {
|
|
599
|
+
this.rotation.set(this.resolvedRotation() + this.finiteNumber(degrees, 0));
|
|
600
|
+
this.emitTransform();
|
|
601
|
+
}
|
|
602
|
+
toggleHorizontalFlip() {
|
|
603
|
+
this.horizontalFlip.update((flipped) => !flipped);
|
|
604
|
+
this.emitTransform();
|
|
605
|
+
}
|
|
606
|
+
toggleVerticalFlip() {
|
|
607
|
+
this.verticalFlip.update((flipped) => !flipped);
|
|
608
|
+
this.emitTransform();
|
|
609
|
+
}
|
|
610
|
+
zoomIn() {
|
|
611
|
+
this.setZoom(this.resolvedZoom() + Math.abs(this.finiteNumber(this.zoomStep(), .25)));
|
|
612
|
+
}
|
|
613
|
+
zoomOut() {
|
|
614
|
+
this.setZoom(this.resolvedZoom() - Math.abs(this.finiteNumber(this.zoomStep(), .25)));
|
|
615
|
+
}
|
|
616
|
+
resetTransform() {
|
|
617
|
+
this.setDefaultTransform(true);
|
|
618
|
+
}
|
|
619
|
+
download() {
|
|
620
|
+
const view = this.activeView();
|
|
621
|
+
const image = view?.image;
|
|
622
|
+
if (!view || !image) return;
|
|
623
|
+
const src = this.safeDownloadUrl(image.src);
|
|
624
|
+
if (!src) return;
|
|
625
|
+
const filename = this.downloadFilename(image, src, view.index);
|
|
626
|
+
const link = this.document.createElement("a");
|
|
627
|
+
link.href = src;
|
|
628
|
+
link.download = filename;
|
|
629
|
+
link.rel = "noopener noreferrer";
|
|
630
|
+
link.click();
|
|
631
|
+
this.downloadRequested.emit({
|
|
632
|
+
item: view.item,
|
|
633
|
+
index: view.index,
|
|
634
|
+
src,
|
|
635
|
+
filename
|
|
636
|
+
});
|
|
637
|
+
}
|
|
638
|
+
next(reason = "api") {
|
|
639
|
+
if (this.views().length <= 1) return;
|
|
640
|
+
const current = this.currentIndex();
|
|
641
|
+
if (current === this.views().length - 1 && !this.circular()) return;
|
|
642
|
+
this.changeIndex(current === this.views().length - 1 ? 0 : current + 1, reason, "next");
|
|
643
|
+
}
|
|
644
|
+
previous(reason = "api") {
|
|
645
|
+
if (this.views().length <= 1) return;
|
|
646
|
+
const current = this.currentIndex();
|
|
647
|
+
if (current === 0 && !this.circular()) return;
|
|
648
|
+
this.changeIndex(current === 0 ? this.views().length - 1 : current - 1, reason, "previous");
|
|
649
|
+
}
|
|
650
|
+
goTo(index, reason = "api") {
|
|
651
|
+
const target = Math.min(Math.max(0, Math.floor(index)), Math.max(0, this.views().length - 1));
|
|
652
|
+
if (target === this.currentIndex()) return;
|
|
653
|
+
this.changeIndex(target, reason, target > this.currentIndex() ? "next" : "previous");
|
|
654
|
+
}
|
|
655
|
+
openFullscreen() {
|
|
656
|
+
if (this.fullscreen()) return;
|
|
657
|
+
this.previousFocus.set(this.document.activeElement instanceof HTMLElement ? this.document.activeElement : null);
|
|
658
|
+
this.fullscreen.set(true);
|
|
659
|
+
}
|
|
660
|
+
closeFullscreen(reason = "api") {
|
|
661
|
+
if (!this.fullscreen()) return;
|
|
662
|
+
this.fullscreen.set(false);
|
|
663
|
+
this.fullscreenClosed.emit(reason);
|
|
664
|
+
}
|
|
665
|
+
toggleFullscreen() {
|
|
666
|
+
if (this.fullscreen()) this.closeFullscreen("toggle");
|
|
667
|
+
else this.openFullscreen();
|
|
668
|
+
}
|
|
669
|
+
startAutoplay() {
|
|
670
|
+
this.autoplayStopped.set(false);
|
|
671
|
+
}
|
|
672
|
+
stopAutoplay() {
|
|
673
|
+
this.autoplayStopped.set(true);
|
|
674
|
+
}
|
|
675
|
+
shiftThumbnails(direction) {
|
|
676
|
+
const amount = this.thumbnailWindowCount();
|
|
677
|
+
this.thumbnailStart.set(Math.min(this.maxThumbnailStart(), Math.max(0, this.thumbnailStart() + direction * amount)));
|
|
678
|
+
this.thumbnailFrame.schedule();
|
|
679
|
+
}
|
|
680
|
+
measureThumbnailScroll() {
|
|
681
|
+
const viewport = this.thumbnailViewport()?.nativeElement;
|
|
682
|
+
if (!viewport) return;
|
|
683
|
+
const vertical = this.thumbnailOrientation() === "vertical";
|
|
684
|
+
const offset = Math.abs(vertical ? viewport.scrollTop : viewport.scrollLeft);
|
|
685
|
+
const max = Math.max(0, vertical ? viewport.scrollHeight - viewport.clientHeight : viewport.scrollWidth - viewport.clientWidth);
|
|
686
|
+
this.thumbnailAtStart.set(offset <= 1);
|
|
687
|
+
this.thumbnailAtEnd.set(max - offset <= 1);
|
|
688
|
+
const step = this.thumbnailStep();
|
|
689
|
+
if (step > 0) this.thumbnailStart.set(Math.min(this.maxThumbnailStart(), Math.round(offset / step)));
|
|
690
|
+
}
|
|
691
|
+
thumbnailStep() {
|
|
692
|
+
const buttons = (this.thumbnailViewport()?.nativeElement)?.querySelectorAll(".aeris-galleria__thumbnail");
|
|
693
|
+
if (!buttons?.length) return 0;
|
|
694
|
+
if (buttons.length === 1) return this.thumbnailOrientation() === "vertical" ? buttons[0].offsetHeight : buttons[0].offsetWidth;
|
|
695
|
+
return this.thumbnailOrientation() === "vertical" ? Math.abs(buttons[1].offsetTop - buttons[0].offsetTop) : Math.abs(buttons[1].offsetLeft - buttons[0].offsetLeft);
|
|
696
|
+
}
|
|
697
|
+
syncThumbnailScroll() {
|
|
698
|
+
const viewport = this.thumbnailViewport()?.nativeElement;
|
|
699
|
+
const step = this.thumbnailStep();
|
|
700
|
+
if (!viewport || step <= 0) return;
|
|
701
|
+
const offset = this.thumbnailStart() * step;
|
|
702
|
+
viewport.scrollTo?.(this.thumbnailOrientation() === "vertical" ? {
|
|
703
|
+
top: offset,
|
|
704
|
+
left: 0
|
|
705
|
+
} : {
|
|
706
|
+
left: this.isRtl() ? -offset : offset,
|
|
707
|
+
top: 0
|
|
708
|
+
});
|
|
709
|
+
this.measureThumbnailScroll();
|
|
710
|
+
}
|
|
711
|
+
handleRootKeydown(event) {
|
|
712
|
+
if (event.key === "Escape" && this.fullscreen() && this.closeOnEscape()) {
|
|
713
|
+
event.preventDefault();
|
|
714
|
+
this.closeFullscreen("escape");
|
|
715
|
+
return;
|
|
716
|
+
}
|
|
717
|
+
if (event.key === "Tab" && this.fullscreen()) {
|
|
718
|
+
this.trapTab(event);
|
|
719
|
+
return;
|
|
720
|
+
}
|
|
721
|
+
const target = event.target;
|
|
722
|
+
if (!target.classList.contains("aeris-galleria__viewport")) return;
|
|
723
|
+
if (this.resolvedZoom() > 1 && [
|
|
724
|
+
"ArrowLeft",
|
|
725
|
+
"ArrowRight",
|
|
726
|
+
"ArrowUp",
|
|
727
|
+
"ArrowDown"
|
|
728
|
+
].includes(event.key)) {
|
|
729
|
+
event.preventDefault();
|
|
730
|
+
const bounds = this.panBounds(target);
|
|
731
|
+
this.panX.set(Math.max(-bounds.x, Math.min(bounds.x, this.panX() + (event.key === "ArrowLeft" ? -40 : event.key === "ArrowRight" ? 40 : 0))));
|
|
732
|
+
this.panY.set(Math.max(-bounds.y, Math.min(bounds.y, this.panY() + (event.key === "ArrowUp" ? -40 : event.key === "ArrowDown" ? 40 : 0))));
|
|
733
|
+
return;
|
|
734
|
+
}
|
|
735
|
+
if (this.mode() === "single") return;
|
|
736
|
+
const nextKey = this.isRtl() ? "ArrowLeft" : "ArrowRight";
|
|
737
|
+
const previousKey = this.isRtl() ? "ArrowRight" : "ArrowLeft";
|
|
738
|
+
if (event.key === nextKey) {
|
|
739
|
+
event.preventDefault();
|
|
740
|
+
this.next("keyboard");
|
|
741
|
+
} else if (event.key === previousKey) {
|
|
742
|
+
event.preventDefault();
|
|
743
|
+
this.previous("keyboard");
|
|
744
|
+
} else if (event.key === "Home") {
|
|
745
|
+
event.preventDefault();
|
|
746
|
+
this.goTo(0, "keyboard");
|
|
747
|
+
} else if (event.key === "End") {
|
|
748
|
+
event.preventDefault();
|
|
749
|
+
this.goTo(this.views().length - 1, "keyboard");
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
handlePointerDown(event) {
|
|
753
|
+
if (this.pointerSession) return;
|
|
754
|
+
const pan = this.resolvedZoom() > 1;
|
|
755
|
+
if (!pan && (this.mode() === "single" || this.views().length < 2)) return;
|
|
756
|
+
if (event.pointerType === "mouse" && event.button !== 0) return;
|
|
757
|
+
if (event.target?.closest("button,a,input,select,textarea,[role=\"button\"],[contenteditable]:not([contenteditable=\"false\"])")) return;
|
|
758
|
+
const target = event.currentTarget;
|
|
759
|
+
if (event.pointerType === "mouse") event.preventDefault();
|
|
760
|
+
target.setPointerCapture?.(event.pointerId);
|
|
761
|
+
const bounds = pan ? this.panBounds(target) : {
|
|
762
|
+
x: 0,
|
|
763
|
+
y: 0
|
|
764
|
+
};
|
|
765
|
+
this.pointerSession = {
|
|
766
|
+
id: event.pointerId,
|
|
767
|
+
x: event.clientX,
|
|
768
|
+
y: event.clientY,
|
|
769
|
+
pan,
|
|
770
|
+
panX: this.panX(),
|
|
771
|
+
panY: this.panY(),
|
|
772
|
+
maxX: bounds.x,
|
|
773
|
+
maxY: bounds.y
|
|
774
|
+
};
|
|
775
|
+
this.pointerStart.set(event.clientX);
|
|
776
|
+
this.dragOffset.set(0);
|
|
777
|
+
}
|
|
778
|
+
handlePointerMove(event) {
|
|
779
|
+
const session = this.pointerSession;
|
|
780
|
+
if (!session || session.id !== event.pointerId) return;
|
|
781
|
+
const x = event.clientX - session.x;
|
|
782
|
+
const y = event.clientY - session.y;
|
|
783
|
+
if (!this.dragging()) {
|
|
784
|
+
if (Math.max(Math.abs(x), Math.abs(y)) < 6) return;
|
|
785
|
+
if (!session.pan && Math.abs(y) > Math.abs(x)) {
|
|
786
|
+
this.handlePointerCancel(event);
|
|
787
|
+
return;
|
|
788
|
+
}
|
|
789
|
+
this.motion.set("none");
|
|
790
|
+
this.dragging.set(true);
|
|
791
|
+
}
|
|
792
|
+
event.preventDefault();
|
|
793
|
+
if (session.pan) {
|
|
794
|
+
this.panX.set(Math.max(-session.maxX, Math.min(session.maxX, session.panX + x)));
|
|
795
|
+
this.panY.set(Math.max(-session.maxY, Math.min(session.maxY, session.panY + y)));
|
|
796
|
+
} else this.dragOffset.set(x);
|
|
797
|
+
}
|
|
798
|
+
handlePointerUp(event) {
|
|
799
|
+
const session = this.pointerSession;
|
|
800
|
+
if (!session || session.id !== event.pointerId) return;
|
|
801
|
+
const target = event.currentTarget;
|
|
802
|
+
if (target.hasPointerCapture?.(event.pointerId)) target.releasePointerCapture(event.pointerId);
|
|
803
|
+
const distance = event.clientX - session.x;
|
|
804
|
+
const moved = this.dragging();
|
|
805
|
+
this.clearPointer();
|
|
806
|
+
if (session.pan || !moved) return;
|
|
807
|
+
if (Math.abs(distance) < Math.min(64, target.clientWidth * .12)) return;
|
|
808
|
+
if (this.isRtl() ? distance > 0 : distance < 0) this.next("swipe");
|
|
809
|
+
else this.previous("swipe");
|
|
810
|
+
}
|
|
811
|
+
clearPointer() {
|
|
812
|
+
this.pointerSession = null;
|
|
813
|
+
this.pointerStart.set(null);
|
|
814
|
+
this.dragOffset.set(0);
|
|
815
|
+
this.dragging.set(false);
|
|
816
|
+
}
|
|
817
|
+
handlePointerCancel(event) {
|
|
818
|
+
if (this.pointerSession?.id !== event.pointerId) return;
|
|
819
|
+
const target = event.currentTarget;
|
|
820
|
+
if (target.hasPointerCapture?.(event.pointerId)) target.releasePointerCapture(event.pointerId);
|
|
821
|
+
this.clearPointer();
|
|
822
|
+
}
|
|
823
|
+
panBounds(viewport) {
|
|
824
|
+
const width = viewport.clientWidth;
|
|
825
|
+
const height = viewport.clientHeight;
|
|
826
|
+
const image = viewport.querySelector(".aeris-galleria__image");
|
|
827
|
+
let imageWidth = width;
|
|
828
|
+
let imageHeight = height;
|
|
829
|
+
if (image?.naturalWidth && image.naturalHeight) {
|
|
830
|
+
const scale = this.stageObjectFit() === "contain" ? Math.min(width / image.naturalWidth, height / image.naturalHeight) : Math.max(width / image.naturalWidth, height / image.naturalHeight);
|
|
831
|
+
imageWidth = image.naturalWidth * scale;
|
|
832
|
+
imageHeight = image.naturalHeight * scale;
|
|
833
|
+
}
|
|
834
|
+
const angle = this.resolvedRotation() * Math.PI / 180;
|
|
835
|
+
const cosine = Math.abs(Math.cos(angle));
|
|
836
|
+
const sine = Math.abs(Math.sin(angle));
|
|
837
|
+
return {
|
|
838
|
+
x: Math.max(0, ((imageWidth * cosine + imageHeight * sine) * this.resolvedZoom() - width) / 2),
|
|
839
|
+
y: Math.max(0, ((imageWidth * sine + imageHeight * cosine) * this.resolvedZoom() - height) / 2)
|
|
840
|
+
};
|
|
841
|
+
}
|
|
842
|
+
setHoverPaused(paused) {
|
|
843
|
+
if (this.pauseOnHover()) this.hoverPaused.set(paused);
|
|
844
|
+
}
|
|
845
|
+
setFocusPaused(paused) {
|
|
846
|
+
if (this.pauseOnHover()) this.focusPaused.set(paused);
|
|
847
|
+
}
|
|
848
|
+
handleFocusOut(event) {
|
|
849
|
+
const next = event.relatedTarget;
|
|
850
|
+
if (next instanceof Node && this.host.nativeElement.contains(next)) return;
|
|
851
|
+
this.setFocusPaused(false);
|
|
852
|
+
}
|
|
853
|
+
handleBackdropClick(event) {
|
|
854
|
+
if (!this.fullscreen() || !this.closeOnBackdropClick()) return;
|
|
855
|
+
if (event.target.classList.contains("aeris-galleria--fullscreen")) this.closeFullscreen("backdrop");
|
|
856
|
+
}
|
|
857
|
+
changeIndex(index, reason, motion) {
|
|
858
|
+
const previousIndex = this.currentIndex();
|
|
859
|
+
const item = this.views()[index]?.item;
|
|
860
|
+
if (item === void 0) return;
|
|
861
|
+
this.motion.set(this.reducedMotion() ? "fade" : motion);
|
|
862
|
+
this.activeIndex.set(index);
|
|
863
|
+
this.indexChanged.emit({
|
|
864
|
+
index,
|
|
865
|
+
previousIndex,
|
|
866
|
+
item,
|
|
867
|
+
reason
|
|
868
|
+
});
|
|
869
|
+
}
|
|
870
|
+
setZoom(value) {
|
|
871
|
+
this.zoom.set(Math.min(this.resolvedMaxZoom(), Math.max(this.resolvedMinZoom(), value)));
|
|
872
|
+
this.emitTransform();
|
|
873
|
+
}
|
|
874
|
+
setDefaultTransform(emit) {
|
|
875
|
+
this.rotation.set(0);
|
|
876
|
+
this.zoom.set(Math.min(this.resolvedMaxZoom(), Math.max(this.resolvedMinZoom(), 1)));
|
|
877
|
+
this.horizontalFlip.set(false);
|
|
878
|
+
this.verticalFlip.set(false);
|
|
879
|
+
if (emit) this.emitTransform();
|
|
880
|
+
}
|
|
881
|
+
emitTransform() {
|
|
882
|
+
this.transformChanged.emit({
|
|
883
|
+
rotation: this.resolvedRotation(),
|
|
884
|
+
zoom: this.resolvedZoom(),
|
|
885
|
+
horizontalFlip: this.horizontalFlip(),
|
|
886
|
+
verticalFlip: this.verticalFlip()
|
|
887
|
+
});
|
|
888
|
+
}
|
|
889
|
+
safeDownloadUrl(src) {
|
|
890
|
+
const value = src.trim();
|
|
891
|
+
if (/^data:image\/(?:avif|bmp|gif|jpeg|png|webp);base64,/iu.test(value)) return value;
|
|
892
|
+
try {
|
|
893
|
+
const url = new URL(value, this.document.baseURI);
|
|
894
|
+
return url.protocol === "http:" || url.protocol === "https:" || url.protocol === "blob:" ? url.href : null;
|
|
895
|
+
} catch {
|
|
896
|
+
return null;
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
downloadFilename(image, src, index) {
|
|
900
|
+
let pathName = "";
|
|
901
|
+
try {
|
|
902
|
+
pathName = new URL(src, this.document.baseURI).pathname.split("/").filter(Boolean).at(-1) ?? "";
|
|
903
|
+
} catch {}
|
|
904
|
+
return (image.downloadName || pathName || image.title || `gallery-image-${index + 1}`).replace(/[\u0000-\u001f\u007f<>:"/\\|?*]/gu, "_").replace(/^\.+|\.+$/gu, "").trim().slice(0, 180) || `gallery-image-${index + 1}`;
|
|
905
|
+
}
|
|
906
|
+
finiteNumber(value, fallback) {
|
|
907
|
+
return Number.isFinite(value) ? value : fallback;
|
|
908
|
+
}
|
|
909
|
+
scheduleToolbarMeasurement() {
|
|
910
|
+
this.toolbarFrame.schedule();
|
|
911
|
+
}
|
|
912
|
+
measureToolbarOverflow() {
|
|
913
|
+
const toolbar = this.toolbar()?.nativeElement;
|
|
914
|
+
const first = toolbar?.firstElementChild;
|
|
915
|
+
const last = toolbar?.lastElementChild;
|
|
916
|
+
if (!toolbar || !first || !last || toolbar.scrollWidth <= toolbar.clientWidth + 1) {
|
|
917
|
+
this.toolbarFadeLeft.set(false);
|
|
918
|
+
this.toolbarFadeRight.set(false);
|
|
919
|
+
return;
|
|
920
|
+
}
|
|
921
|
+
const bounds = toolbar.getBoundingClientRect();
|
|
922
|
+
const firstBounds = first.getBoundingClientRect();
|
|
923
|
+
const lastBounds = last.getBoundingClientRect();
|
|
924
|
+
this.toolbarFadeLeft.set(Math.min(firstBounds.left, lastBounds.left) < bounds.left - 1);
|
|
925
|
+
this.toolbarFadeRight.set(Math.max(firstBounds.right, lastBounds.right) > bounds.right + 1);
|
|
926
|
+
}
|
|
927
|
+
initializeBrowserFeatures() {
|
|
928
|
+
if (!this.browser) return;
|
|
929
|
+
if (typeof ResizeObserver !== "undefined") {
|
|
930
|
+
this.resizeObserver = new ResizeObserver((entries) => {
|
|
931
|
+
const width = entries[0]?.contentRect.width;
|
|
932
|
+
const height = entries[0]?.contentRect.height;
|
|
933
|
+
if (width !== void 0) this.viewportWidth.set(width);
|
|
934
|
+
if (height !== void 0) this.viewportHeight.set(height);
|
|
935
|
+
});
|
|
936
|
+
this.resizeObserver.observe(this.host.nativeElement);
|
|
937
|
+
}
|
|
938
|
+
const media = globalThis.matchMedia?.("(prefers-reduced-motion: reduce)");
|
|
939
|
+
if (!media) return;
|
|
940
|
+
const update = () => this.reducedMotion.set(media.matches);
|
|
941
|
+
update();
|
|
942
|
+
media.addEventListener("change", update);
|
|
943
|
+
this.destroyRef.onDestroy(() => media.removeEventListener("change", update));
|
|
944
|
+
}
|
|
945
|
+
resolveImage(item) {
|
|
946
|
+
if (!item || typeof item !== "object") return null;
|
|
947
|
+
const candidate = item;
|
|
948
|
+
return typeof candidate.src === "string" && typeof candidate.alt === "string" ? candidate : null;
|
|
949
|
+
}
|
|
950
|
+
safeCount(value) {
|
|
951
|
+
return Number.isFinite(value) ? Math.max(1, Math.floor(value)) : 1;
|
|
952
|
+
}
|
|
953
|
+
breakpointPixels(value) {
|
|
954
|
+
const match = /^(\d+(?:\.\d+)?)(px|rem|em)?$/.exec(value.trim());
|
|
955
|
+
if (!match) return 0;
|
|
956
|
+
const amount = Number(match[1]);
|
|
957
|
+
if ((match[2] ?? "px") === "px") return amount;
|
|
958
|
+
return amount * (Number.parseFloat(getComputedStyle(this.document.documentElement).fontSize) || 16);
|
|
959
|
+
}
|
|
960
|
+
isRtl() {
|
|
961
|
+
const direction = this.document.defaultView?.getComputedStyle(this.host.nativeElement).direction;
|
|
962
|
+
return direction ? direction === "rtl" : this.document.documentElement.dir === "rtl";
|
|
963
|
+
}
|
|
964
|
+
trapTab(event) {
|
|
965
|
+
const panel = this.host.nativeElement.querySelector(".aeris-galleria__panel");
|
|
966
|
+
if (!panel) return;
|
|
967
|
+
const focusable = Array.from(panel.querySelectorAll("button:not(:disabled), [href], [tabindex]:not([tabindex=\"-1\"])")).filter((element) => !element.hasAttribute("hidden"));
|
|
968
|
+
if (!focusable.length) {
|
|
969
|
+
event.preventDefault();
|
|
970
|
+
panel.focus();
|
|
971
|
+
return;
|
|
972
|
+
}
|
|
973
|
+
const first = focusable[0];
|
|
974
|
+
const last = focusable[focusable.length - 1];
|
|
975
|
+
if (event.shiftKey && this.document.activeElement === first) {
|
|
976
|
+
event.preventDefault();
|
|
977
|
+
last?.focus();
|
|
978
|
+
} else if (!event.shiftKey && this.document.activeElement === last) {
|
|
979
|
+
event.preventDefault();
|
|
980
|
+
first?.focus();
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
lockPage() {
|
|
984
|
+
if (this.pageLocked) return;
|
|
985
|
+
this.previousFocus.set(this.previousFocus() ?? (this.document.activeElement instanceof HTMLElement ? this.document.activeElement : null));
|
|
986
|
+
ɵlockAerisDocumentScroll(this.document);
|
|
987
|
+
this.pageLocked = true;
|
|
988
|
+
}
|
|
989
|
+
unlockPage() {
|
|
990
|
+
if (!this.pageLocked) return;
|
|
991
|
+
ɵunlockAerisDocumentScroll(this.document);
|
|
992
|
+
this.pageLocked = false;
|
|
993
|
+
}
|
|
994
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
995
|
+
minVersion: "12.0.0",
|
|
996
|
+
version: "22.2.3",
|
|
997
|
+
ngImport: i0,
|
|
998
|
+
type: AerisGalleria,
|
|
999
|
+
deps: [],
|
|
1000
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
1001
|
+
});
|
|
1002
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1003
|
+
minVersion: "17.0.0",
|
|
1004
|
+
version: "22.2.3",
|
|
1005
|
+
type: AerisGalleria,
|
|
1006
|
+
isStandalone: true,
|
|
1007
|
+
selector: "aeris-galleria",
|
|
1008
|
+
inputs: {
|
|
1009
|
+
rotateLeftIconTemplate: {
|
|
1010
|
+
classPropertyName: "rotateLeftIconTemplate",
|
|
1011
|
+
publicName: "rotateLeftIconTemplate",
|
|
1012
|
+
isSignal: true,
|
|
1013
|
+
isRequired: false,
|
|
1014
|
+
transformFunction: null
|
|
1015
|
+
},
|
|
1016
|
+
rotateRightIconTemplate: {
|
|
1017
|
+
classPropertyName: "rotateRightIconTemplate",
|
|
1018
|
+
publicName: "rotateRightIconTemplate",
|
|
1019
|
+
isSignal: true,
|
|
1020
|
+
isRequired: false,
|
|
1021
|
+
transformFunction: null
|
|
1022
|
+
},
|
|
1023
|
+
flipHorizontalIconTemplate: {
|
|
1024
|
+
classPropertyName: "flipHorizontalIconTemplate",
|
|
1025
|
+
publicName: "flipHorizontalIconTemplate",
|
|
1026
|
+
isSignal: true,
|
|
1027
|
+
isRequired: false,
|
|
1028
|
+
transformFunction: null
|
|
1029
|
+
},
|
|
1030
|
+
flipVerticalIconTemplate: {
|
|
1031
|
+
classPropertyName: "flipVerticalIconTemplate",
|
|
1032
|
+
publicName: "flipVerticalIconTemplate",
|
|
1033
|
+
isSignal: true,
|
|
1034
|
+
isRequired: false,
|
|
1035
|
+
transformFunction: null
|
|
1036
|
+
},
|
|
1037
|
+
zoomOutIconTemplate: {
|
|
1038
|
+
classPropertyName: "zoomOutIconTemplate",
|
|
1039
|
+
publicName: "zoomOutIconTemplate",
|
|
1040
|
+
isSignal: true,
|
|
1041
|
+
isRequired: false,
|
|
1042
|
+
transformFunction: null
|
|
1043
|
+
},
|
|
1044
|
+
zoomInIconTemplate: {
|
|
1045
|
+
classPropertyName: "zoomInIconTemplate",
|
|
1046
|
+
publicName: "zoomInIconTemplate",
|
|
1047
|
+
isSignal: true,
|
|
1048
|
+
isRequired: false,
|
|
1049
|
+
transformFunction: null
|
|
1050
|
+
},
|
|
1051
|
+
resetIconTemplate: {
|
|
1052
|
+
classPropertyName: "resetIconTemplate",
|
|
1053
|
+
publicName: "resetIconTemplate",
|
|
1054
|
+
isSignal: true,
|
|
1055
|
+
isRequired: false,
|
|
1056
|
+
transformFunction: null
|
|
1057
|
+
},
|
|
1058
|
+
downloadIconTemplate: {
|
|
1059
|
+
classPropertyName: "downloadIconTemplate",
|
|
1060
|
+
publicName: "downloadIconTemplate",
|
|
1061
|
+
isSignal: true,
|
|
1062
|
+
isRequired: false,
|
|
1063
|
+
transformFunction: null
|
|
1064
|
+
},
|
|
1065
|
+
value: {
|
|
1066
|
+
classPropertyName: "value",
|
|
1067
|
+
publicName: "value",
|
|
1068
|
+
isSignal: true,
|
|
1069
|
+
isRequired: false,
|
|
1070
|
+
transformFunction: null
|
|
1071
|
+
},
|
|
1072
|
+
activeIndex: {
|
|
1073
|
+
classPropertyName: "activeIndex",
|
|
1074
|
+
publicName: "activeIndex",
|
|
1075
|
+
isSignal: true,
|
|
1076
|
+
isRequired: false,
|
|
1077
|
+
transformFunction: null
|
|
1078
|
+
},
|
|
1079
|
+
fullscreen: {
|
|
1080
|
+
classPropertyName: "fullscreen",
|
|
1081
|
+
publicName: "fullscreen",
|
|
1082
|
+
isSignal: true,
|
|
1083
|
+
isRequired: false,
|
|
1084
|
+
transformFunction: null
|
|
1085
|
+
},
|
|
1086
|
+
zoom: {
|
|
1087
|
+
classPropertyName: "zoom",
|
|
1088
|
+
publicName: "zoom",
|
|
1089
|
+
isSignal: true,
|
|
1090
|
+
isRequired: false,
|
|
1091
|
+
transformFunction: null
|
|
1092
|
+
},
|
|
1093
|
+
rotation: {
|
|
1094
|
+
classPropertyName: "rotation",
|
|
1095
|
+
publicName: "rotation",
|
|
1096
|
+
isSignal: true,
|
|
1097
|
+
isRequired: false,
|
|
1098
|
+
transformFunction: null
|
|
1099
|
+
},
|
|
1100
|
+
horizontalFlip: {
|
|
1101
|
+
classPropertyName: "horizontalFlip",
|
|
1102
|
+
publicName: "horizontalFlip",
|
|
1103
|
+
isSignal: true,
|
|
1104
|
+
isRequired: false,
|
|
1105
|
+
transformFunction: null
|
|
1106
|
+
},
|
|
1107
|
+
verticalFlip: {
|
|
1108
|
+
classPropertyName: "verticalFlip",
|
|
1109
|
+
publicName: "verticalFlip",
|
|
1110
|
+
isSignal: true,
|
|
1111
|
+
isRequired: false,
|
|
1112
|
+
transformFunction: null
|
|
1113
|
+
},
|
|
1114
|
+
mode: {
|
|
1115
|
+
classPropertyName: "mode",
|
|
1116
|
+
publicName: "mode",
|
|
1117
|
+
isSignal: true,
|
|
1118
|
+
isRequired: false,
|
|
1119
|
+
transformFunction: null
|
|
1120
|
+
},
|
|
1121
|
+
numVisible: {
|
|
1122
|
+
classPropertyName: "numVisible",
|
|
1123
|
+
publicName: "numVisible",
|
|
1124
|
+
isSignal: true,
|
|
1125
|
+
isRequired: false,
|
|
1126
|
+
transformFunction: null
|
|
1127
|
+
},
|
|
1128
|
+
fullscreenNumVisible: {
|
|
1129
|
+
classPropertyName: "fullscreenNumVisible",
|
|
1130
|
+
publicName: "fullscreenNumVisible",
|
|
1131
|
+
isSignal: true,
|
|
1132
|
+
isRequired: false,
|
|
1133
|
+
transformFunction: null
|
|
1134
|
+
},
|
|
1135
|
+
responsiveOptions: {
|
|
1136
|
+
classPropertyName: "responsiveOptions",
|
|
1137
|
+
publicName: "responsiveOptions",
|
|
1138
|
+
isSignal: true,
|
|
1139
|
+
isRequired: false,
|
|
1140
|
+
transformFunction: null
|
|
1141
|
+
},
|
|
1142
|
+
thumbnailPosition: {
|
|
1143
|
+
classPropertyName: "thumbnailPosition",
|
|
1144
|
+
publicName: "thumbnailPosition",
|
|
1145
|
+
isSignal: true,
|
|
1146
|
+
isRequired: false,
|
|
1147
|
+
transformFunction: null
|
|
1148
|
+
},
|
|
1149
|
+
showThumbnails: {
|
|
1150
|
+
classPropertyName: "showThumbnails",
|
|
1151
|
+
publicName: "showThumbnails",
|
|
1152
|
+
isSignal: true,
|
|
1153
|
+
isRequired: false,
|
|
1154
|
+
transformFunction: null
|
|
1155
|
+
},
|
|
1156
|
+
showThumbnailNavigators: {
|
|
1157
|
+
classPropertyName: "showThumbnailNavigators",
|
|
1158
|
+
publicName: "showThumbnailNavigators",
|
|
1159
|
+
isSignal: true,
|
|
1160
|
+
isRequired: false,
|
|
1161
|
+
transformFunction: null
|
|
1162
|
+
},
|
|
1163
|
+
showNavigators: {
|
|
1164
|
+
classPropertyName: "showNavigators",
|
|
1165
|
+
publicName: "showNavigators",
|
|
1166
|
+
isSignal: true,
|
|
1167
|
+
isRequired: false,
|
|
1168
|
+
transformFunction: null
|
|
1169
|
+
},
|
|
1170
|
+
navigatorsOnHover: {
|
|
1171
|
+
classPropertyName: "navigatorsOnHover",
|
|
1172
|
+
publicName: "navigatorsOnHover",
|
|
1173
|
+
isSignal: true,
|
|
1174
|
+
isRequired: false,
|
|
1175
|
+
transformFunction: null
|
|
1176
|
+
},
|
|
1177
|
+
showCaption: {
|
|
1178
|
+
classPropertyName: "showCaption",
|
|
1179
|
+
publicName: "showCaption",
|
|
1180
|
+
isSignal: true,
|
|
1181
|
+
isRequired: false,
|
|
1182
|
+
transformFunction: null
|
|
1183
|
+
},
|
|
1184
|
+
showToolbar: {
|
|
1185
|
+
classPropertyName: "showToolbar",
|
|
1186
|
+
publicName: "showToolbar",
|
|
1187
|
+
isSignal: true,
|
|
1188
|
+
isRequired: false,
|
|
1189
|
+
transformFunction: null
|
|
1190
|
+
},
|
|
1191
|
+
showRotateControls: {
|
|
1192
|
+
classPropertyName: "showRotateControls",
|
|
1193
|
+
publicName: "showRotateControls",
|
|
1194
|
+
isSignal: true,
|
|
1195
|
+
isRequired: false,
|
|
1196
|
+
transformFunction: null
|
|
1197
|
+
},
|
|
1198
|
+
showFlipControls: {
|
|
1199
|
+
classPropertyName: "showFlipControls",
|
|
1200
|
+
publicName: "showFlipControls",
|
|
1201
|
+
isSignal: true,
|
|
1202
|
+
isRequired: false,
|
|
1203
|
+
transformFunction: null
|
|
1204
|
+
},
|
|
1205
|
+
showZoomControls: {
|
|
1206
|
+
classPropertyName: "showZoomControls",
|
|
1207
|
+
publicName: "showZoomControls",
|
|
1208
|
+
isSignal: true,
|
|
1209
|
+
isRequired: false,
|
|
1210
|
+
transformFunction: null
|
|
1211
|
+
},
|
|
1212
|
+
showResetControl: {
|
|
1213
|
+
classPropertyName: "showResetControl",
|
|
1214
|
+
publicName: "showResetControl",
|
|
1215
|
+
isSignal: true,
|
|
1216
|
+
isRequired: false,
|
|
1217
|
+
transformFunction: null
|
|
1218
|
+
},
|
|
1219
|
+
showDownloadControl: {
|
|
1220
|
+
classPropertyName: "showDownloadControl",
|
|
1221
|
+
publicName: "showDownloadControl",
|
|
1222
|
+
isSignal: true,
|
|
1223
|
+
isRequired: false,
|
|
1224
|
+
transformFunction: null
|
|
1225
|
+
},
|
|
1226
|
+
rotationStep: {
|
|
1227
|
+
classPropertyName: "rotationStep",
|
|
1228
|
+
publicName: "rotationStep",
|
|
1229
|
+
isSignal: true,
|
|
1230
|
+
isRequired: false,
|
|
1231
|
+
transformFunction: null
|
|
1232
|
+
},
|
|
1233
|
+
zoomStep: {
|
|
1234
|
+
classPropertyName: "zoomStep",
|
|
1235
|
+
publicName: "zoomStep",
|
|
1236
|
+
isSignal: true,
|
|
1237
|
+
isRequired: false,
|
|
1238
|
+
transformFunction: null
|
|
1239
|
+
},
|
|
1240
|
+
minZoom: {
|
|
1241
|
+
classPropertyName: "minZoom",
|
|
1242
|
+
publicName: "minZoom",
|
|
1243
|
+
isSignal: true,
|
|
1244
|
+
isRequired: false,
|
|
1245
|
+
transformFunction: null
|
|
1246
|
+
},
|
|
1247
|
+
maxZoom: {
|
|
1248
|
+
classPropertyName: "maxZoom",
|
|
1249
|
+
publicName: "maxZoom",
|
|
1250
|
+
isSignal: true,
|
|
1251
|
+
isRequired: false,
|
|
1252
|
+
transformFunction: null
|
|
1253
|
+
},
|
|
1254
|
+
resetTransformOnChange: {
|
|
1255
|
+
classPropertyName: "resetTransformOnChange",
|
|
1256
|
+
publicName: "resetTransformOnChange",
|
|
1257
|
+
isSignal: true,
|
|
1258
|
+
isRequired: false,
|
|
1259
|
+
transformFunction: null
|
|
1260
|
+
},
|
|
1261
|
+
gridMinItemWidth: {
|
|
1262
|
+
classPropertyName: "gridMinItemWidth",
|
|
1263
|
+
publicName: "gridMinItemWidth",
|
|
1264
|
+
isSignal: true,
|
|
1265
|
+
isRequired: false,
|
|
1266
|
+
transformFunction: null
|
|
1267
|
+
},
|
|
1268
|
+
gridAspectRatio: {
|
|
1269
|
+
classPropertyName: "gridAspectRatio",
|
|
1270
|
+
publicName: "gridAspectRatio",
|
|
1271
|
+
isSignal: true,
|
|
1272
|
+
isRequired: false,
|
|
1273
|
+
transformFunction: null
|
|
1274
|
+
},
|
|
1275
|
+
gridOpenFullscreen: {
|
|
1276
|
+
classPropertyName: "gridOpenFullscreen",
|
|
1277
|
+
publicName: "gridOpenFullscreen",
|
|
1278
|
+
isSignal: true,
|
|
1279
|
+
isRequired: false,
|
|
1280
|
+
transformFunction: null
|
|
1281
|
+
},
|
|
1282
|
+
circular: {
|
|
1283
|
+
classPropertyName: "circular",
|
|
1284
|
+
publicName: "circular",
|
|
1285
|
+
isSignal: true,
|
|
1286
|
+
isRequired: false,
|
|
1287
|
+
transformFunction: null
|
|
1288
|
+
},
|
|
1289
|
+
autoplayInterval: {
|
|
1290
|
+
classPropertyName: "autoplayInterval",
|
|
1291
|
+
publicName: "autoplayInterval",
|
|
1292
|
+
isSignal: true,
|
|
1293
|
+
isRequired: false,
|
|
1294
|
+
transformFunction: null
|
|
1295
|
+
},
|
|
1296
|
+
pauseOnHover: {
|
|
1297
|
+
classPropertyName: "pauseOnHover",
|
|
1298
|
+
publicName: "pauseOnHover",
|
|
1299
|
+
isSignal: true,
|
|
1300
|
+
isRequired: false,
|
|
1301
|
+
transformFunction: null
|
|
1302
|
+
},
|
|
1303
|
+
allowFullscreen: {
|
|
1304
|
+
classPropertyName: "allowFullscreen",
|
|
1305
|
+
publicName: "allowFullscreen",
|
|
1306
|
+
isSignal: true,
|
|
1307
|
+
isRequired: false,
|
|
1308
|
+
transformFunction: null
|
|
1309
|
+
},
|
|
1310
|
+
closeOnBackdropClick: {
|
|
1311
|
+
classPropertyName: "closeOnBackdropClick",
|
|
1312
|
+
publicName: "closeOnBackdropClick",
|
|
1313
|
+
isSignal: true,
|
|
1314
|
+
isRequired: false,
|
|
1315
|
+
transformFunction: null
|
|
1316
|
+
},
|
|
1317
|
+
backdropBlur: {
|
|
1318
|
+
classPropertyName: "backdropBlur",
|
|
1319
|
+
publicName: "backdropBlur",
|
|
1320
|
+
isSignal: true,
|
|
1321
|
+
isRequired: false,
|
|
1322
|
+
transformFunction: null
|
|
1323
|
+
},
|
|
1324
|
+
backdropBlurAmount: {
|
|
1325
|
+
classPropertyName: "backdropBlurAmount",
|
|
1326
|
+
publicName: "backdropBlurAmount",
|
|
1327
|
+
isSignal: true,
|
|
1328
|
+
isRequired: false,
|
|
1329
|
+
transformFunction: null
|
|
1330
|
+
},
|
|
1331
|
+
closeOnEscape: {
|
|
1332
|
+
classPropertyName: "closeOnEscape",
|
|
1333
|
+
publicName: "closeOnEscape",
|
|
1334
|
+
isSignal: true,
|
|
1335
|
+
isRequired: false,
|
|
1336
|
+
transformFunction: null
|
|
1337
|
+
},
|
|
1338
|
+
objectFit: {
|
|
1339
|
+
classPropertyName: "objectFit",
|
|
1340
|
+
publicName: "objectFit",
|
|
1341
|
+
isSignal: true,
|
|
1342
|
+
isRequired: false,
|
|
1343
|
+
transformFunction: null
|
|
1344
|
+
},
|
|
1345
|
+
aspectRatio: {
|
|
1346
|
+
classPropertyName: "aspectRatio",
|
|
1347
|
+
publicName: "aspectRatio",
|
|
1348
|
+
isSignal: true,
|
|
1349
|
+
isRequired: false,
|
|
1350
|
+
transformFunction: null
|
|
1351
|
+
},
|
|
1352
|
+
ariaLabel: {
|
|
1353
|
+
classPropertyName: "ariaLabel",
|
|
1354
|
+
publicName: "ariaLabel",
|
|
1355
|
+
isSignal: true,
|
|
1356
|
+
isRequired: false,
|
|
1357
|
+
transformFunction: null
|
|
1358
|
+
},
|
|
1359
|
+
stageAriaLabel: {
|
|
1360
|
+
classPropertyName: "stageAriaLabel",
|
|
1361
|
+
publicName: "stageAriaLabel",
|
|
1362
|
+
isSignal: true,
|
|
1363
|
+
isRequired: false,
|
|
1364
|
+
transformFunction: null
|
|
1365
|
+
},
|
|
1366
|
+
gridAriaLabel: {
|
|
1367
|
+
classPropertyName: "gridAriaLabel",
|
|
1368
|
+
publicName: "gridAriaLabel",
|
|
1369
|
+
isSignal: true,
|
|
1370
|
+
isRequired: false,
|
|
1371
|
+
transformFunction: null
|
|
1372
|
+
},
|
|
1373
|
+
toolbarAriaLabel: {
|
|
1374
|
+
classPropertyName: "toolbarAriaLabel",
|
|
1375
|
+
publicName: "toolbarAriaLabel",
|
|
1376
|
+
isSignal: true,
|
|
1377
|
+
isRequired: false,
|
|
1378
|
+
transformFunction: null
|
|
1379
|
+
},
|
|
1380
|
+
thumbnailsAriaLabel: {
|
|
1381
|
+
classPropertyName: "thumbnailsAriaLabel",
|
|
1382
|
+
publicName: "thumbnailsAriaLabel",
|
|
1383
|
+
isSignal: true,
|
|
1384
|
+
isRequired: false,
|
|
1385
|
+
transformFunction: null
|
|
1386
|
+
},
|
|
1387
|
+
previousAriaLabel: {
|
|
1388
|
+
classPropertyName: "previousAriaLabel",
|
|
1389
|
+
publicName: "previousAriaLabel",
|
|
1390
|
+
isSignal: true,
|
|
1391
|
+
isRequired: false,
|
|
1392
|
+
transformFunction: null
|
|
1393
|
+
},
|
|
1394
|
+
nextAriaLabel: {
|
|
1395
|
+
classPropertyName: "nextAriaLabel",
|
|
1396
|
+
publicName: "nextAriaLabel",
|
|
1397
|
+
isSignal: true,
|
|
1398
|
+
isRequired: false,
|
|
1399
|
+
transformFunction: null
|
|
1400
|
+
},
|
|
1401
|
+
previousThumbnailsAriaLabel: {
|
|
1402
|
+
classPropertyName: "previousThumbnailsAriaLabel",
|
|
1403
|
+
publicName: "previousThumbnailsAriaLabel",
|
|
1404
|
+
isSignal: true,
|
|
1405
|
+
isRequired: false,
|
|
1406
|
+
transformFunction: null
|
|
1407
|
+
},
|
|
1408
|
+
nextThumbnailsAriaLabel: {
|
|
1409
|
+
classPropertyName: "nextThumbnailsAriaLabel",
|
|
1410
|
+
publicName: "nextThumbnailsAriaLabel",
|
|
1411
|
+
isSignal: true,
|
|
1412
|
+
isRequired: false,
|
|
1413
|
+
transformFunction: null
|
|
1414
|
+
},
|
|
1415
|
+
enterFullscreenAriaLabel: {
|
|
1416
|
+
classPropertyName: "enterFullscreenAriaLabel",
|
|
1417
|
+
publicName: "enterFullscreenAriaLabel",
|
|
1418
|
+
isSignal: true,
|
|
1419
|
+
isRequired: false,
|
|
1420
|
+
transformFunction: null
|
|
1421
|
+
},
|
|
1422
|
+
exitFullscreenAriaLabel: {
|
|
1423
|
+
classPropertyName: "exitFullscreenAriaLabel",
|
|
1424
|
+
publicName: "exitFullscreenAriaLabel",
|
|
1425
|
+
isSignal: true,
|
|
1426
|
+
isRequired: false,
|
|
1427
|
+
transformFunction: null
|
|
1428
|
+
},
|
|
1429
|
+
rotateLeftAriaLabel: {
|
|
1430
|
+
classPropertyName: "rotateLeftAriaLabel",
|
|
1431
|
+
publicName: "rotateLeftAriaLabel",
|
|
1432
|
+
isSignal: true,
|
|
1433
|
+
isRequired: false,
|
|
1434
|
+
transformFunction: null
|
|
1435
|
+
},
|
|
1436
|
+
rotateRightAriaLabel: {
|
|
1437
|
+
classPropertyName: "rotateRightAriaLabel",
|
|
1438
|
+
publicName: "rotateRightAriaLabel",
|
|
1439
|
+
isSignal: true,
|
|
1440
|
+
isRequired: false,
|
|
1441
|
+
transformFunction: null
|
|
1442
|
+
},
|
|
1443
|
+
flipHorizontalAriaLabel: {
|
|
1444
|
+
classPropertyName: "flipHorizontalAriaLabel",
|
|
1445
|
+
publicName: "flipHorizontalAriaLabel",
|
|
1446
|
+
isSignal: true,
|
|
1447
|
+
isRequired: false,
|
|
1448
|
+
transformFunction: null
|
|
1449
|
+
},
|
|
1450
|
+
flipVerticalAriaLabel: {
|
|
1451
|
+
classPropertyName: "flipVerticalAriaLabel",
|
|
1452
|
+
publicName: "flipVerticalAriaLabel",
|
|
1453
|
+
isSignal: true,
|
|
1454
|
+
isRequired: false,
|
|
1455
|
+
transformFunction: null
|
|
1456
|
+
},
|
|
1457
|
+
zoomOutAriaLabel: {
|
|
1458
|
+
classPropertyName: "zoomOutAriaLabel",
|
|
1459
|
+
publicName: "zoomOutAriaLabel",
|
|
1460
|
+
isSignal: true,
|
|
1461
|
+
isRequired: false,
|
|
1462
|
+
transformFunction: null
|
|
1463
|
+
},
|
|
1464
|
+
zoomInAriaLabel: {
|
|
1465
|
+
classPropertyName: "zoomInAriaLabel",
|
|
1466
|
+
publicName: "zoomInAriaLabel",
|
|
1467
|
+
isSignal: true,
|
|
1468
|
+
isRequired: false,
|
|
1469
|
+
transformFunction: null
|
|
1470
|
+
},
|
|
1471
|
+
zoomLevelAriaLabel: {
|
|
1472
|
+
classPropertyName: "zoomLevelAriaLabel",
|
|
1473
|
+
publicName: "zoomLevelAriaLabel",
|
|
1474
|
+
isSignal: true,
|
|
1475
|
+
isRequired: false,
|
|
1476
|
+
transformFunction: null
|
|
1477
|
+
},
|
|
1478
|
+
resetTransformAriaLabel: {
|
|
1479
|
+
classPropertyName: "resetTransformAriaLabel",
|
|
1480
|
+
publicName: "resetTransformAriaLabel",
|
|
1481
|
+
isSignal: true,
|
|
1482
|
+
isRequired: false,
|
|
1483
|
+
transformFunction: null
|
|
1484
|
+
},
|
|
1485
|
+
downloadAriaLabel: {
|
|
1486
|
+
classPropertyName: "downloadAriaLabel",
|
|
1487
|
+
publicName: "downloadAriaLabel",
|
|
1488
|
+
isSignal: true,
|
|
1489
|
+
isRequired: false,
|
|
1490
|
+
transformFunction: null
|
|
1491
|
+
},
|
|
1492
|
+
emptyMessage: {
|
|
1493
|
+
classPropertyName: "emptyMessage",
|
|
1494
|
+
publicName: "emptyMessage",
|
|
1495
|
+
isSignal: true,
|
|
1496
|
+
isRequired: false,
|
|
1497
|
+
transformFunction: null
|
|
1498
|
+
}
|
|
1499
|
+
},
|
|
1500
|
+
outputs: {
|
|
1501
|
+
activeIndex: "activeIndexChange",
|
|
1502
|
+
fullscreen: "fullscreenChange",
|
|
1503
|
+
zoom: "zoomChange",
|
|
1504
|
+
rotation: "rotationChange",
|
|
1505
|
+
horizontalFlip: "horizontalFlipChange",
|
|
1506
|
+
verticalFlip: "verticalFlipChange",
|
|
1507
|
+
indexChanged: "indexChanged",
|
|
1508
|
+
fullscreenClosed: "fullscreenClosed",
|
|
1509
|
+
transformChanged: "transformChanged",
|
|
1510
|
+
downloadRequested: "downloadRequested"
|
|
1511
|
+
},
|
|
1512
|
+
host: {
|
|
1513
|
+
properties: { "attr.data-fullscreen": "fullscreen() || null" },
|
|
1514
|
+
classAttribute: "aeris-galleria-host"
|
|
1515
|
+
},
|
|
1516
|
+
queries: [
|
|
1517
|
+
{
|
|
1518
|
+
propertyName: "itemTemplate",
|
|
1519
|
+
first: true,
|
|
1520
|
+
predicate: AerisGalleriaItemTemplate,
|
|
1521
|
+
descendants: true,
|
|
1522
|
+
isSignal: true
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
propertyName: "thumbnailTemplate",
|
|
1526
|
+
first: true,
|
|
1527
|
+
predicate: AerisGalleriaThumbnailTemplate,
|
|
1528
|
+
descendants: true,
|
|
1529
|
+
isSignal: true
|
|
1530
|
+
},
|
|
1531
|
+
{
|
|
1532
|
+
propertyName: "captionTemplate",
|
|
1533
|
+
first: true,
|
|
1534
|
+
predicate: AerisGalleriaCaptionTemplate,
|
|
1535
|
+
descendants: true,
|
|
1536
|
+
isSignal: true
|
|
1537
|
+
},
|
|
1538
|
+
{
|
|
1539
|
+
propertyName: "gridItemTemplate",
|
|
1540
|
+
first: true,
|
|
1541
|
+
predicate: AerisGalleriaGridItemTemplate,
|
|
1542
|
+
descendants: true,
|
|
1543
|
+
isSignal: true
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
propertyName: "emptyTemplate",
|
|
1547
|
+
first: true,
|
|
1548
|
+
predicate: AerisGalleriaEmptyTemplate,
|
|
1549
|
+
descendants: true,
|
|
1550
|
+
isSignal: true
|
|
1551
|
+
},
|
|
1552
|
+
{
|
|
1553
|
+
propertyName: "previousIconTemplate",
|
|
1554
|
+
first: true,
|
|
1555
|
+
predicate: AerisGalleriaPreviousIconTemplate,
|
|
1556
|
+
descendants: true,
|
|
1557
|
+
isSignal: true
|
|
1558
|
+
},
|
|
1559
|
+
{
|
|
1560
|
+
propertyName: "nextIconTemplate",
|
|
1561
|
+
first: true,
|
|
1562
|
+
predicate: AerisGalleriaNextIconTemplate,
|
|
1563
|
+
descendants: true,
|
|
1564
|
+
isSignal: true
|
|
1565
|
+
},
|
|
1566
|
+
{
|
|
1567
|
+
propertyName: "fullscreenIconTemplate",
|
|
1568
|
+
first: true,
|
|
1569
|
+
predicate: AerisGalleriaFullscreenIconTemplate,
|
|
1570
|
+
descendants: true,
|
|
1571
|
+
isSignal: true
|
|
1572
|
+
}
|
|
1573
|
+
],
|
|
1574
|
+
viewQueries: [{
|
|
1575
|
+
propertyName: "thumbnailViewport",
|
|
1576
|
+
first: true,
|
|
1577
|
+
predicate: ["thumbnailViewport"],
|
|
1578
|
+
descendants: true,
|
|
1579
|
+
isSignal: true
|
|
1580
|
+
}, {
|
|
1581
|
+
propertyName: "toolbar",
|
|
1582
|
+
first: true,
|
|
1583
|
+
predicate: ["toolbar"],
|
|
1584
|
+
descendants: true,
|
|
1585
|
+
isSignal: true
|
|
1586
|
+
}],
|
|
1587
|
+
ngImport: i0,
|
|
1588
|
+
template: `
|
|
774
1589
|
<section
|
|
775
1590
|
class="aeris-galleria"
|
|
776
1591
|
[class.aeris-galleria--fullscreen]="fullscreen()"
|
|
@@ -831,7 +1646,7 @@ class AerisGalleria {
|
|
|
831
1646
|
} @else {
|
|
832
1647
|
<div
|
|
833
1648
|
class="aeris-galleria__stage"
|
|
834
|
-
[attr.data-fit]="
|
|
1649
|
+
[attr.data-fit]="stageObjectFit()"
|
|
835
1650
|
[attr.data-toolbar]="showToolbar() || null"
|
|
836
1651
|
[attr.data-navigators-on-hover]="navigatorsOnHover() || null"
|
|
837
1652
|
[style.aspect-ratio]="aspectRatio()"
|
|
@@ -842,6 +1657,7 @@ class AerisGalleria {
|
|
|
842
1657
|
>
|
|
843
1658
|
<div
|
|
844
1659
|
class="aeris-galleria__viewport"
|
|
1660
|
+
[attr.data-zoomed]="resolvedZoom() > 1 || null"
|
|
845
1661
|
[id]="stageId"
|
|
846
1662
|
tabindex="0"
|
|
847
1663
|
[attr.aria-label]="stageAriaLabel()"
|
|
@@ -849,7 +1665,8 @@ class AerisGalleria {
|
|
|
849
1665
|
(pointerdown)="handlePointerDown($event)"
|
|
850
1666
|
(pointermove)="handlePointerMove($event)"
|
|
851
1667
|
(pointerup)="handlePointerUp($event)"
|
|
852
|
-
(pointercancel)="
|
|
1668
|
+
(pointercancel)="handlePointerCancel($event)"
|
|
1669
|
+
(lostpointercapture)="handlePointerCancel($event)"
|
|
853
1670
|
(dragstart)="$event.preventDefault()"
|
|
854
1671
|
>
|
|
855
1672
|
@for (view of activeViews(); track view.index) {
|
|
@@ -859,7 +1676,11 @@ class AerisGalleria {
|
|
|
859
1676
|
[attr.data-dragging]="dragging() || null"
|
|
860
1677
|
[style.--aeris-galleria-drag-offset]="dragOffset() + 'px'"
|
|
861
1678
|
>
|
|
862
|
-
<div
|
|
1679
|
+
<div
|
|
1680
|
+
class="aeris-galleria__media"
|
|
1681
|
+
[attr.data-panning]="(dragging() && resolvedZoom() > 1) || null"
|
|
1682
|
+
[style.transform]="mediaTransform()"
|
|
1683
|
+
>
|
|
863
1684
|
@if (itemTemplate(); as template) {
|
|
864
1685
|
<ng-container
|
|
865
1686
|
[ngTemplateOutlet]="template.template"
|
|
@@ -883,133 +1704,224 @@ class AerisGalleria {
|
|
|
883
1704
|
|
|
884
1705
|
@if (showToolbar()) {
|
|
885
1706
|
<div
|
|
886
|
-
class="aeris-galleria__toolbar"
|
|
887
|
-
|
|
888
|
-
[attr.
|
|
1707
|
+
class="aeris-galleria__toolbar-frame"
|
|
1708
|
+
[attr.data-fade-left]="toolbarFadeLeft() || null"
|
|
1709
|
+
[attr.data-fade-right]="toolbarFadeRight() || null"
|
|
889
1710
|
>
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
<
|
|
1011
|
-
|
|
1012
|
-
|
|
1711
|
+
<div
|
|
1712
|
+
#toolbar
|
|
1713
|
+
class="aeris-galleria__toolbar"
|
|
1714
|
+
role="toolbar"
|
|
1715
|
+
[attr.aria-label]="toolbarAriaLabel()"
|
|
1716
|
+
(scroll)="scheduleToolbarMeasurement()"
|
|
1717
|
+
>
|
|
1718
|
+
@if (showRotateControls()) {
|
|
1719
|
+
<button
|
|
1720
|
+
type="button"
|
|
1721
|
+
[attr.aria-label]="rotateLeftAriaLabel()"
|
|
1722
|
+
[title]="rotateLeftAriaLabel()"
|
|
1723
|
+
(click)="rotate(-rotationStep())"
|
|
1724
|
+
>
|
|
1725
|
+
@if (rotateLeftIconTemplate(); as customIcon) {
|
|
1726
|
+
<span
|
|
1727
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--rotate-left"
|
|
1728
|
+
aria-hidden="true"
|
|
1729
|
+
data-aeris-custom-icon
|
|
1730
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1731
|
+
/></span>
|
|
1732
|
+
} @else {
|
|
1733
|
+
<span
|
|
1734
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--rotate-left"
|
|
1735
|
+
aria-hidden="true"
|
|
1736
|
+
></span>
|
|
1737
|
+
}
|
|
1738
|
+
</button>
|
|
1739
|
+
<button
|
|
1740
|
+
type="button"
|
|
1741
|
+
[attr.aria-label]="rotateRightAriaLabel()"
|
|
1742
|
+
[title]="rotateRightAriaLabel()"
|
|
1743
|
+
(click)="rotate(rotationStep())"
|
|
1744
|
+
>
|
|
1745
|
+
@if (rotateRightIconTemplate(); as customIcon) {
|
|
1746
|
+
<span
|
|
1747
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--rotate-right"
|
|
1748
|
+
aria-hidden="true"
|
|
1749
|
+
data-aeris-custom-icon
|
|
1750
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1751
|
+
/></span>
|
|
1752
|
+
} @else {
|
|
1753
|
+
<span
|
|
1754
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--rotate-right"
|
|
1755
|
+
aria-hidden="true"
|
|
1756
|
+
></span>
|
|
1757
|
+
}
|
|
1758
|
+
</button>
|
|
1759
|
+
}
|
|
1760
|
+
@if (showFlipControls()) {
|
|
1761
|
+
<button
|
|
1762
|
+
type="button"
|
|
1763
|
+
[attr.aria-label]="flipHorizontalAriaLabel()"
|
|
1764
|
+
[title]="flipHorizontalAriaLabel()"
|
|
1765
|
+
[attr.aria-pressed]="horizontalFlip()"
|
|
1766
|
+
(click)="toggleHorizontalFlip()"
|
|
1767
|
+
>
|
|
1768
|
+
@if (flipHorizontalIconTemplate(); as customIcon) {
|
|
1769
|
+
<span
|
|
1770
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--flip-horizontal"
|
|
1771
|
+
aria-hidden="true"
|
|
1772
|
+
data-aeris-custom-icon
|
|
1773
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1774
|
+
/></span>
|
|
1775
|
+
} @else {
|
|
1776
|
+
<span
|
|
1777
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--flip-horizontal"
|
|
1778
|
+
aria-hidden="true"
|
|
1779
|
+
></span>
|
|
1780
|
+
}
|
|
1781
|
+
</button>
|
|
1782
|
+
<button
|
|
1783
|
+
type="button"
|
|
1784
|
+
[attr.aria-label]="flipVerticalAriaLabel()"
|
|
1785
|
+
[title]="flipVerticalAriaLabel()"
|
|
1786
|
+
[attr.aria-pressed]="verticalFlip()"
|
|
1787
|
+
(click)="toggleVerticalFlip()"
|
|
1788
|
+
>
|
|
1789
|
+
@if (flipVerticalIconTemplate(); as customIcon) {
|
|
1790
|
+
<span
|
|
1791
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--flip-vertical"
|
|
1792
|
+
aria-hidden="true"
|
|
1793
|
+
data-aeris-custom-icon
|
|
1794
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1795
|
+
/></span>
|
|
1796
|
+
} @else {
|
|
1797
|
+
<span
|
|
1798
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--flip-vertical"
|
|
1799
|
+
aria-hidden="true"
|
|
1800
|
+
></span>
|
|
1801
|
+
}
|
|
1802
|
+
</button>
|
|
1803
|
+
}
|
|
1804
|
+
@if (showZoomControls()) {
|
|
1805
|
+
<button
|
|
1806
|
+
type="button"
|
|
1807
|
+
[attr.aria-label]="zoomOutAriaLabel()"
|
|
1808
|
+
[title]="zoomOutAriaLabel()"
|
|
1809
|
+
[disabled]="resolvedZoom() <= resolvedMinZoom()"
|
|
1810
|
+
(click)="zoomOut()"
|
|
1811
|
+
>
|
|
1812
|
+
@if (zoomOutIconTemplate(); as customIcon) {
|
|
1813
|
+
<span
|
|
1814
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--zoom-out"
|
|
1815
|
+
aria-hidden="true"
|
|
1816
|
+
data-aeris-custom-icon
|
|
1817
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1818
|
+
/></span>
|
|
1819
|
+
} @else {
|
|
1820
|
+
<span
|
|
1821
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--zoom-out"
|
|
1822
|
+
aria-hidden="true"
|
|
1823
|
+
></span>
|
|
1824
|
+
}
|
|
1825
|
+
</button>
|
|
1826
|
+
<output
|
|
1827
|
+
class="aeris-galleria__zoom-value"
|
|
1828
|
+
[attr.aria-label]="zoomLevelAriaLabel()"
|
|
1829
|
+
>{{ zoomPercent() }}%</output
|
|
1830
|
+
>
|
|
1831
|
+
<button
|
|
1832
|
+
type="button"
|
|
1833
|
+
[attr.aria-label]="zoomInAriaLabel()"
|
|
1834
|
+
[title]="zoomInAriaLabel()"
|
|
1835
|
+
[disabled]="resolvedZoom() >= resolvedMaxZoom()"
|
|
1836
|
+
(click)="zoomIn()"
|
|
1837
|
+
>
|
|
1838
|
+
@if (zoomInIconTemplate(); as customIcon) {
|
|
1839
|
+
<span
|
|
1840
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--zoom-in"
|
|
1841
|
+
aria-hidden="true"
|
|
1842
|
+
data-aeris-custom-icon
|
|
1843
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1844
|
+
/></span>
|
|
1845
|
+
} @else {
|
|
1846
|
+
<span
|
|
1847
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--zoom-in"
|
|
1848
|
+
aria-hidden="true"
|
|
1849
|
+
></span>
|
|
1850
|
+
}
|
|
1851
|
+
</button>
|
|
1852
|
+
}
|
|
1853
|
+
@if (showResetControl()) {
|
|
1854
|
+
<button
|
|
1855
|
+
type="button"
|
|
1856
|
+
[attr.aria-label]="resetTransformAriaLabel()"
|
|
1857
|
+
[title]="resetTransformAriaLabel()"
|
|
1858
|
+
[disabled]="transformIsDefault()"
|
|
1859
|
+
(click)="resetTransform()"
|
|
1860
|
+
>
|
|
1861
|
+
@if (resetIconTemplate(); as customIcon) {
|
|
1862
|
+
<span
|
|
1863
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--reset"
|
|
1864
|
+
aria-hidden="true"
|
|
1865
|
+
data-aeris-custom-icon
|
|
1866
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1867
|
+
/></span>
|
|
1868
|
+
} @else {
|
|
1869
|
+
<span
|
|
1870
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--reset"
|
|
1871
|
+
aria-hidden="true"
|
|
1872
|
+
></span>
|
|
1873
|
+
}
|
|
1874
|
+
</button>
|
|
1875
|
+
}
|
|
1876
|
+
@if (showDownloadControl() && downloadAvailable()) {
|
|
1877
|
+
<button
|
|
1878
|
+
type="button"
|
|
1879
|
+
[attr.aria-label]="downloadAriaLabel()"
|
|
1880
|
+
[title]="downloadAriaLabel()"
|
|
1881
|
+
(click)="download()"
|
|
1882
|
+
>
|
|
1883
|
+
@if (downloadIconTemplate(); as customIcon) {
|
|
1884
|
+
<span
|
|
1885
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--download"
|
|
1886
|
+
aria-hidden="true"
|
|
1887
|
+
data-aeris-custom-icon
|
|
1888
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1889
|
+
/></span>
|
|
1890
|
+
} @else {
|
|
1891
|
+
<span
|
|
1892
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--download"
|
|
1893
|
+
aria-hidden="true"
|
|
1894
|
+
></span>
|
|
1895
|
+
}
|
|
1896
|
+
</button>
|
|
1897
|
+
}
|
|
1898
|
+
@if (allowFullscreen()) {
|
|
1899
|
+
<button
|
|
1900
|
+
type="button"
|
|
1901
|
+
[attr.aria-label]="
|
|
1902
|
+
fullscreen() ? exitFullscreenAriaLabel() : enterFullscreenAriaLabel()
|
|
1903
|
+
"
|
|
1904
|
+
[title]="
|
|
1905
|
+
fullscreen() ? exitFullscreenAriaLabel() : enterFullscreenAriaLabel()
|
|
1906
|
+
"
|
|
1907
|
+
[attr.aria-pressed]="fullscreen()"
|
|
1908
|
+
(click)="toggleFullscreen()"
|
|
1909
|
+
>
|
|
1910
|
+
@if (fullscreenIconTemplate(); as icon) {
|
|
1911
|
+
<span aria-hidden="true" data-aeris-custom-icon
|
|
1912
|
+
><ng-container
|
|
1913
|
+
[ngTemplateOutlet]="icon.template"
|
|
1914
|
+
[ngTemplateOutletContext]="{
|
|
1915
|
+
$implicit: fullscreen(),
|
|
1916
|
+
fullscreen: fullscreen(),
|
|
1917
|
+
}"
|
|
1918
|
+
/></span>
|
|
1919
|
+
} @else {
|
|
1920
|
+
<span class="aeris-galleria__fullscreen-icon" aria-hidden="true"></span>
|
|
1921
|
+
}
|
|
1922
|
+
</button>
|
|
1923
|
+
}
|
|
1924
|
+
</div>
|
|
1013
1925
|
</div>
|
|
1014
1926
|
}
|
|
1015
1927
|
|
|
@@ -1022,9 +1934,15 @@ class AerisGalleria {
|
|
|
1022
1934
|
(click)="previous('previous')"
|
|
1023
1935
|
>
|
|
1024
1936
|
@if (previousIconTemplate(); as icon) {
|
|
1025
|
-
<
|
|
1937
|
+
<span aria-hidden="true" data-aeris-custom-icon
|
|
1938
|
+
><ng-container [ngTemplateOutlet]="icon.template"
|
|
1939
|
+
/></span>
|
|
1026
1940
|
} @else {
|
|
1027
|
-
<span
|
|
1941
|
+
<span
|
|
1942
|
+
aerisInternalIcon="chevron"
|
|
1943
|
+
class="aeris-galleria__chevron"
|
|
1944
|
+
aria-hidden="true"
|
|
1945
|
+
></span>
|
|
1028
1946
|
}
|
|
1029
1947
|
</button>
|
|
1030
1948
|
<button
|
|
@@ -1035,9 +1953,15 @@ class AerisGalleria {
|
|
|
1035
1953
|
(click)="next('next')"
|
|
1036
1954
|
>
|
|
1037
1955
|
@if (nextIconTemplate(); as icon) {
|
|
1038
|
-
<
|
|
1956
|
+
<span aria-hidden="true" data-aeris-custom-icon
|
|
1957
|
+
><ng-container [ngTemplateOutlet]="icon.template"
|
|
1958
|
+
/></span>
|
|
1039
1959
|
} @else {
|
|
1040
|
-
<span
|
|
1960
|
+
<span
|
|
1961
|
+
aerisInternalIcon="chevron"
|
|
1962
|
+
class="aeris-galleria__chevron"
|
|
1963
|
+
aria-hidden="true"
|
|
1964
|
+
></span>
|
|
1041
1965
|
}
|
|
1042
1966
|
</button>
|
|
1043
1967
|
}
|
|
@@ -1053,13 +1977,14 @@ class AerisGalleria {
|
|
|
1053
1977
|
(click)="toggleFullscreen()"
|
|
1054
1978
|
>
|
|
1055
1979
|
@if (fullscreenIconTemplate(); as icon) {
|
|
1056
|
-
<
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1980
|
+
<span aria-hidden="true" data-aeris-custom-icon
|
|
1981
|
+
><ng-container
|
|
1982
|
+
[ngTemplateOutlet]="icon.template"
|
|
1983
|
+
[ngTemplateOutletContext]="{
|
|
1984
|
+
$implicit: fullscreen(),
|
|
1985
|
+
fullscreen: fullscreen(),
|
|
1986
|
+
}"
|
|
1987
|
+
/></span>
|
|
1063
1988
|
} @else {
|
|
1064
1989
|
<span class="aeris-galleria__fullscreen-icon" aria-hidden="true"></span>
|
|
1065
1990
|
}
|
|
@@ -1086,22 +2011,15 @@ class AerisGalleria {
|
|
|
1086
2011
|
}
|
|
1087
2012
|
}
|
|
1088
2013
|
|
|
1089
|
-
@if (resolvedShowIndicators() && indicatorsOverlay() && views().length > 1) {
|
|
1090
|
-
<ng-container [ngTemplateOutlet]="indicatorList" />
|
|
1091
|
-
}
|
|
1092
|
-
|
|
1093
2014
|
<span class="aeris-galleria__status" aria-live="polite" aria-atomic="true">
|
|
1094
2015
|
{{ activeStatus() }}
|
|
1095
2016
|
</span>
|
|
1096
2017
|
</div>
|
|
1097
2018
|
|
|
1098
|
-
@if (resolvedShowIndicators() && !indicatorsOverlay() && views().length > 1) {
|
|
1099
|
-
<ng-container [ngTemplateOutlet]="indicatorList" />
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
2019
|
@if (resolvedShowThumbnails() && views().length > 1) {
|
|
1103
2020
|
<div
|
|
1104
2021
|
class="aeris-galleria__thumbnails"
|
|
2022
|
+
[attr.data-start]="thumbnailStart()"
|
|
1105
2023
|
[attr.data-orientation]="thumbnailOrientation()"
|
|
1106
2024
|
[style.--aeris-galleria-thumbnail-count]="thumbnailWindowCount()"
|
|
1107
2025
|
>
|
|
@@ -1110,20 +2028,30 @@ class AerisGalleria {
|
|
|
1110
2028
|
class="aeris-galleria__thumbnail-navigator aeris-galleria__thumbnail-navigator--previous"
|
|
1111
2029
|
type="button"
|
|
1112
2030
|
[attr.aria-label]="previousThumbnailsAriaLabel()"
|
|
1113
|
-
[disabled]="
|
|
2031
|
+
[disabled]="thumbnailAtStart()"
|
|
1114
2032
|
(click)="shiftThumbnails(-1)"
|
|
1115
2033
|
>
|
|
1116
|
-
|
|
2034
|
+
@if (previousIconTemplate(); as icon) {
|
|
2035
|
+
<span aria-hidden="true" data-aeris-custom-icon
|
|
2036
|
+
><ng-container [ngTemplateOutlet]="icon.template"
|
|
2037
|
+
/></span>
|
|
2038
|
+
} @else {
|
|
2039
|
+
<span aerisInternalIcon="chevron" aria-hidden="true"></span>
|
|
2040
|
+
}
|
|
1117
2041
|
</button>
|
|
1118
2042
|
}
|
|
1119
2043
|
|
|
1120
|
-
<div
|
|
2044
|
+
<div
|
|
2045
|
+
#thumbnailViewport
|
|
2046
|
+
class="aeris-galleria__thumbnail-viewport"
|
|
2047
|
+
(scroll)="measureThumbnailScroll()"
|
|
2048
|
+
>
|
|
1121
2049
|
<div
|
|
1122
2050
|
class="aeris-galleria__thumbnail-track"
|
|
1123
2051
|
role="group"
|
|
1124
2052
|
[attr.aria-label]="thumbnailsAriaLabel()"
|
|
1125
2053
|
>
|
|
1126
|
-
@for (view of
|
|
2054
|
+
@for (view of views(); track view.index) {
|
|
1127
2055
|
<button
|
|
1128
2056
|
class="aeris-galleria__thumbnail"
|
|
1129
2057
|
type="button"
|
|
@@ -1160,10 +2088,16 @@ class AerisGalleria {
|
|
|
1160
2088
|
class="aeris-galleria__thumbnail-navigator aeris-galleria__thumbnail-navigator--next"
|
|
1161
2089
|
type="button"
|
|
1162
2090
|
[attr.aria-label]="nextThumbnailsAriaLabel()"
|
|
1163
|
-
[disabled]="
|
|
2091
|
+
[disabled]="thumbnailAtEnd()"
|
|
1164
2092
|
(click)="shiftThumbnails(1)"
|
|
1165
2093
|
>
|
|
1166
|
-
|
|
2094
|
+
@if (nextIconTemplate(); as icon) {
|
|
2095
|
+
<span aria-hidden="true" data-aeris-custom-icon
|
|
2096
|
+
><ng-container [ngTemplateOutlet]="icon.template"
|
|
2097
|
+
/></span>
|
|
2098
|
+
} @else {
|
|
2099
|
+
<span aerisInternalIcon="chevron" aria-hidden="true"></span>
|
|
2100
|
+
}
|
|
1167
2101
|
</button>
|
|
1168
2102
|
}
|
|
1169
2103
|
</div>
|
|
@@ -1180,30 +2114,37 @@ class AerisGalleria {
|
|
|
1180
2114
|
}
|
|
1181
2115
|
</div>
|
|
1182
2116
|
</section>
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
<div
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
`, isInline: true, styles: [":host{--aeris-galleria-chevron-icon: var( --aeris-icon-chevron, url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='m7%209.5%205%205%205-5'%20fill='none'%20stroke='black'%20stroke-width='2.4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E\") );--aeris-galleria-enter-fullscreen-icon: url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M8%203H3v5M16%203h5v5M8%2021H3v-5M21%2016v5h-5'%20fill='none'%20stroke='black'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E\");--aeris-galleria-exit-fullscreen-icon: url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M3%208h5V3M21%208h-5V3M3%2016h5v5M21%2016h-5v5'%20fill='none'%20stroke='black'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E\");--aeris-galleria-rotate-left-icon: url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M4%204v6h6M5.5%2015a7%207%200%201%200%201.2-7.7L4%2010'%20fill='none'%20stroke='black'%20stroke-width='2.1'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E\");--aeris-galleria-rotate-right-icon: url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M20%204v6h-6M18.5%2015a7%207%200%201%201-1.2-7.7L20%2010'%20fill='none'%20stroke='black'%20stroke-width='2.1'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E\");--aeris-galleria-flip-horizontal-icon: url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M12%203v18M9%207H4l5%2010V7ZM15%207h5l-5%2010V7Z'%20fill='none'%20stroke='black'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E\");--aeris-galleria-flip-vertical-icon: url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M3%2012h18M7%209V4l10%205H7ZM7%2015v5l10-5H7Z'%20fill='none'%20stroke='black'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E\");--aeris-galleria-zoom-in-icon: url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Ccircle%20cx='10.5'%20cy='10.5'%20r='6.5'%20fill='none'%20stroke='black'%20stroke-width='2'/%3E%3Cpath%20d='m15.5%2015.5%204.5%204.5M10.5%207.5v6M7.5%2010.5h6'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'/%3E%3C/svg%3E\");--aeris-galleria-zoom-out-icon: url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Ccircle%20cx='10.5'%20cy='10.5'%20r='6.5'%20fill='none'%20stroke='black'%20stroke-width='2'/%3E%3Cpath%20d='m15.5%2015.5%204.5%204.5M7.5%2010.5h6'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'/%3E%3C/svg%3E\");--aeris-galleria-reset-icon: url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M4%204v6h6M5.5%2015a7%207%200%201%200%201.2-7.7L4%2010'%20fill='none'%20stroke='black'%20stroke-width='2.1'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E\");--aeris-galleria-download-icon: url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M12%203v12m0%200%205-5m-5%205-5-5M4%2020h16'%20fill='none'%20stroke='black'%20stroke-width='2.1'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E\");display:block;min-inline-size:0}:host([data-fullscreen=true]){position:relative;z-index:var(--aeris-galleria-fullscreen-z-index, 1050)}.aeris-galleria,.aeris-galleria *,.aeris-galleria *:before,.aeris-galleria *:after{box-sizing:border-box}.aeris-galleria{min-inline-size:0;color:var(--aeris-galleria-color, var(--aeris-text, #222222));font:inherit}.aeris-galleria__panel{display:grid;grid-template-areas:\"stage\" \"indicators\" \"thumbnails\";gap:var(--aeris-galleria-gap, calc(var(--aeris-density-gap, .5rem) * 1.5));min-inline-size:0;outline:none}.aeris-galleria[data-thumbnail-position=top] .aeris-galleria__panel{grid-template-areas:\"thumbnails\" \"stage\" \"indicators\"}.aeris-galleria[data-thumbnail-position=start] .aeris-galleria__panel{grid-template-areas:\"thumbnails stage\" \"thumbnails indicators\";grid-template-columns:minmax(4.5rem,var(--aeris-galleria-side-thumbnail-size, 5.5rem)) minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;align-items:stretch}.aeris-galleria[data-thumbnail-position=end] .aeris-galleria__panel{grid-template-areas:\"stage thumbnails\" \"indicators thumbnails\";grid-template-columns:minmax(0,1fr) minmax(5rem,var(--aeris-galleria-side-thumbnail-size, 5.5rem));grid-template-rows:minmax(0,1fr) auto;align-items:stretch}.aeris-galleria__stage{grid-area:stage;position:relative;min-inline-size:0;overflow:hidden;border:1px solid var(--aeris-galleria-border, color-mix(in srgb, var(--aeris-border, #deddd7) 72%, transparent));border-radius:var(--aeris-galleria-radius, var(--aeris-radius-lg, .875rem));background:radial-gradient(circle at 50% 15%,rgba(255,255,255,.07),transparent 48%),var(--aeris-galleria-stage-background, #11130f);box-shadow:var(--aeris-galleria-shadow, 0 1.25rem 3.5rem rgba(31, 35, 27, .14));isolation:isolate}.aeris-galleria__viewport,.aeris-galleria__item{inline-size:100%;block-size:100%;min-inline-size:0}.aeris-galleria__viewport{position:relative;overflow:hidden;touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none;cursor:grab}.aeris-galleria__viewport:active{cursor:grabbing}.aeris-galleria__viewport:focus-visible{outline:3px solid color-mix(in srgb,var(--aeris-focus, #536437) 42%,transparent);outline-offset:-4px}.aeris-galleria__item{display:grid;place-items:center;overflow:hidden;transform:translate3d(var(--aeris-galleria-drag-offset, 0),0,0);will-change:transform,opacity}.aeris-galleria__item[data-motion=next]{animation:aeris-galleria-enter-next var(--aeris-galleria-transition-duration, .42s) var(--aeris-galleria-transition-easing, cubic-bezier(.22, 1, .36, 1))}.aeris-galleria__item[data-motion=previous]{animation:aeris-galleria-enter-previous var(--aeris-galleria-transition-duration, .42s) var(--aeris-galleria-transition-easing, cubic-bezier(.22, 1, .36, 1))}.aeris-galleria__item[data-motion=fade]{animation:aeris-galleria-fade var(--aeris-galleria-transition-duration, .42s) ease-out}.aeris-galleria__item[data-dragging=true]{animation:none;transition:transform 40ms linear}.aeris-galleria__media{display:grid;inline-size:100%;block-size:100%;min-inline-size:0;place-items:center;transform-origin:center;transition:transform var(--aeris-galleria-transform-duration, .22s) ease;will-change:transform}.aeris-galleria__image{display:block;inline-size:100%;block-size:100%;min-inline-size:0;max-inline-size:none;object-position:center;pointer-events:none}.aeris-galleria__stage[data-fit=cover] .aeris-galleria__image{object-fit:cover}.aeris-galleria__stage[data-fit=contain] .aeris-galleria__image{object-fit:contain}.aeris-galleria__default-item{display:grid;inline-size:100%;block-size:100%;min-block-size:14rem;place-items:center;padding:var(--aeris-galleria-item-padding, 1.5rem);color:var(--aeris-galleria-stage-color, #fff);text-align:center}.aeris-galleria__navigator,.aeris-galleria__fullscreen-toggle,.aeris-galleria__toolbar button,.aeris-galleria__grid-item,.aeris-galleria__thumbnail-navigator,.aeris-galleria__thumbnail,.aeris-galleria__indicators button{margin:0;font:inherit;appearance:none;-webkit-appearance:none}.aeris-galleria__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--aeris-galleria-grid-min-item-width, 10rem)),1fr));gap:var(--aeris-galleria-grid-gap, var(--aeris-density-gap-lg, 1rem));min-inline-size:0}.aeris-galleria__grid-cell{min-inline-size:0}.aeris-galleria__grid-item{position:relative;display:grid;inline-size:100%;aspect-ratio:var(--aeris-galleria-grid-aspect-ratio, 4/3);place-items:center;padding:0;overflow:hidden;border:1px solid var(--aeris-galleria-grid-border, var(--aeris-border, #deddd7));border-radius:var(--aeris-galleria-grid-radius, var(--aeris-radius-lg, .875rem));background:var(--aeris-galleria-stage-background, #11130f);color:#fff;cursor:pointer;isolation:isolate;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.aeris-galleria__grid-item:hover{z-index:1;border-color:color-mix(in srgb,var(--aeris-primary, #879566) 62%,var(--aeris-border, #deddd7));box-shadow:0 .8rem 2rem #1f231b29;transform:translateY(-2px)}.aeris-galleria__grid-item[aria-current=true]{border-color:var(--aeris-galleria-active-thumbnail-border, var(--aeris-primary, #879566));box-shadow:0 0 0 2px color-mix(in srgb,var(--aeris-primary, #879566) 22%,transparent)}.aeris-galleria__grid-item img{display:block;inline-size:100%;block-size:100%;max-inline-size:none;object-fit:cover;transition:transform .36s cubic-bezier(.22,1,.36,1)}.aeris-galleria__grid-item:hover img{transform:scale(1.035)}.aeris-galleria__grid-title{position:absolute;inset-inline:0;inset-block-end:0;padding:2.75rem .875rem .75rem;background:linear-gradient(transparent,#050705c7);font-size:.875rem;font-weight:700;text-align:start}.aeris-galleria__toolbar{position:absolute;z-index:6;inset-block-start:var(--aeris-galleria-control-inset, .75rem);inset-inline-start:50%;display:flex;max-inline-size:calc(100% - 6.5rem);align-items:center;gap:.125rem;padding:.3rem;overflow-x:auto;border:1px solid rgba(255,255,255,.18);border-radius:var(--aeris-galleria-toolbar-radius, var(--aeris-radius-control, .6875rem));background:var(--aeris-galleria-toolbar-background, rgba(13, 15, 12, .66));color:#fff;box-shadow:0 .5rem 1.5rem #00000029;-webkit-backdrop-filter:blur(.85rem);backdrop-filter:blur(.85rem);scrollbar-width:none;transform:translate(-50%)}.aeris-galleria__toolbar::-webkit-scrollbar{display:none}.aeris-galleria__toolbar button{display:grid;flex:0 0 auto;inline-size:2.25rem;block-size:2.25rem;place-items:center;padding:0;border:0;border-radius:max(.25rem,var(--aeris-galleria-toolbar-radius, var(--aeris-radius-control, .6875rem)) - .2rem);background:transparent;color:inherit;cursor:pointer}.aeris-galleria__toolbar button:hover:not(:disabled),.aeris-galleria__toolbar button[aria-pressed=true]{background:#ffffff21}.aeris-galleria__toolbar button:disabled{opacity:.36;cursor:not-allowed}.aeris-galleria__zoom-value{min-inline-size:3.25rem;color:#ffffffc2;font-size:.6875rem;font-variant-numeric:tabular-nums;text-align:center}.aeris-galleria__tool-icon{display:block;inline-size:1.1rem;block-size:1.1rem;background:currentColor;-webkit-mask-position:center;-webkit-mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-position:center;mask-size:100% 100%;mask-repeat:no-repeat}.aeris-galleria__tool-icon--rotate-left{-webkit-mask-image:var(--aeris-galleria-rotate-left-icon);mask-image:var(--aeris-galleria-rotate-left-icon)}.aeris-galleria__tool-icon--rotate-right{-webkit-mask-image:var(--aeris-galleria-rotate-right-icon);mask-image:var(--aeris-galleria-rotate-right-icon)}.aeris-galleria__tool-icon--flip-horizontal{-webkit-mask-image:var(--aeris-galleria-flip-horizontal-icon);mask-image:var(--aeris-galleria-flip-horizontal-icon)}.aeris-galleria__tool-icon--flip-vertical{-webkit-mask-image:var(--aeris-galleria-flip-vertical-icon);mask-image:var(--aeris-galleria-flip-vertical-icon)}.aeris-galleria__tool-icon--zoom-in{-webkit-mask-image:var(--aeris-galleria-zoom-in-icon);mask-image:var(--aeris-galleria-zoom-in-icon)}.aeris-galleria__tool-icon--zoom-out{-webkit-mask-image:var(--aeris-galleria-zoom-out-icon);mask-image:var(--aeris-galleria-zoom-out-icon)}.aeris-galleria__tool-icon--reset{-webkit-mask-image:var(--aeris-galleria-reset-icon);mask-image:var(--aeris-galleria-reset-icon)}.aeris-galleria__tool-icon--download{-webkit-mask-image:var(--aeris-galleria-download-icon);mask-image:var(--aeris-galleria-download-icon)}.aeris-galleria__navigator,.aeris-galleria__fullscreen-toggle{position:absolute;z-index:4;display:grid;inline-size:max(2.75rem,var(--aeris-control-height, 2.625rem));block-size:max(2.75rem,var(--aeris-control-height, 2.625rem));place-items:center;padding:0;border:1px solid rgba(255,255,255,.22);border-radius:var(--aeris-galleria-control-radius, var(--aeris-radius-control, .6875rem));background:#0d0f0c9e;color:#fff;box-shadow:0 .5rem 1.5rem #0000002e;-webkit-backdrop-filter:blur(.75rem);backdrop-filter:blur(.75rem);cursor:pointer;transition:opacity .18s ease,transform .18s ease,background-color .18s ease,border-color .18s ease}.aeris-galleria__navigator{inset-block-start:50%;transform:translateY(-50%)}.aeris-galleria__navigator--previous{inset-inline-start:var(--aeris-galleria-control-inset, .75rem)}.aeris-galleria__navigator--next{inset-inline-end:var(--aeris-galleria-control-inset, .75rem)}.aeris-galleria__fullscreen-toggle{inset-block-start:var(--aeris-galleria-control-inset, .75rem);inset-inline-end:var(--aeris-galleria-control-inset, .75rem)}.aeris-galleria__navigator:hover:not(:disabled),.aeris-galleria__fullscreen-toggle:hover{border-color:#ffffff6b;background:#0d0f0cd1}.aeris-galleria__navigator:hover:not(:disabled){transform:translateY(-50%) scale(1.04)}.aeris-galleria__fullscreen-toggle:hover{transform:scale(1.04)}.aeris-galleria__navigator:disabled{opacity:.32;cursor:not-allowed}.aeris-galleria__stage[data-navigators-on-hover=true] .aeris-galleria__navigator{opacity:0}.aeris-galleria__stage[data-navigators-on-hover=true]:hover .aeris-galleria__navigator,.aeris-galleria__stage[data-navigators-on-hover=true]:focus-within .aeris-galleria__navigator{opacity:1}.aeris-galleria__chevron,.aeris-galleria__thumbnail-navigator span{display:block;inline-size:1.2rem;block-size:1.2rem;background:currentColor;-webkit-mask:var(--aeris-galleria-chevron-icon) center/100% 100% no-repeat;mask:var(--aeris-galleria-chevron-icon) center/100% 100% no-repeat}.aeris-galleria__navigator--previous .aeris-galleria__chevron,.aeris-galleria__thumbnail-navigator--previous span{transform:rotate(90deg)}.aeris-galleria__navigator--next .aeris-galleria__chevron,.aeris-galleria__thumbnail-navigator--next span{transform:rotate(-90deg)}:host-context([dir=rtl]) .aeris-galleria__navigator--previous .aeris-galleria__chevron,:host-context([dir=rtl]) .aeris-galleria__thumbnail-navigator--previous span{transform:rotate(-90deg)}:host-context([dir=rtl]) .aeris-galleria__navigator--next .aeris-galleria__chevron,:host-context([dir=rtl]) .aeris-galleria__thumbnail-navigator--next span{transform:rotate(90deg)}.aeris-galleria__fullscreen-icon{display:block;inline-size:1.2rem;block-size:1.2rem;background:currentColor;-webkit-mask:var(--aeris-galleria-enter-fullscreen-icon) center/100% 100% no-repeat;mask:var(--aeris-galleria-enter-fullscreen-icon) center/100% 100% no-repeat}.aeris-galleria__fullscreen-toggle[aria-pressed=true] .aeris-galleria__fullscreen-icon,.aeris-galleria__toolbar button[aria-pressed=true] .aeris-galleria__fullscreen-icon{-webkit-mask-image:var(--aeris-galleria-exit-fullscreen-icon);mask-image:var(--aeris-galleria-exit-fullscreen-icon)}.aeris-galleria__caption{position:absolute;z-index:3;inset-inline:0;inset-block-end:0;display:grid;gap:.25rem;padding:clamp(3.5rem,15%,7rem) clamp(1rem,4vw,2rem) clamp(1rem,3vw,1.75rem);background:linear-gradient(180deg,transparent,rgba(6,8,6,.82));color:#fff;pointer-events:none}.aeris-galleria__caption strong{font-size:clamp(1rem,2.5vw,1.4rem);line-height:1.2}.aeris-galleria__caption span{max-inline-size:58ch;color:#ffffffc7;font-size:clamp(.8125rem,2vw,.9375rem);line-height:1.5}.aeris-galleria__caption>*{pointer-events:auto}.aeris-galleria__thumbnails{grid-area:thumbnails;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--aeris-galleria-thumbnail-gap, var(--aeris-density-gap, .5rem));min-inline-size:0}.aeris-galleria__thumbnails[data-orientation=vertical]{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;min-block-size:0}.aeris-galleria__thumbnail-viewport{min-inline-size:0;min-block-size:0;margin:-.25rem;padding:.25rem;overflow:clip;border-radius:var(--aeris-galleria-thumbnail-viewport-radius, var(--aeris-radius-md, .625rem))}.aeris-galleria__thumbnail-track{display:grid;grid-template-columns:repeat(var(--aeris-galleria-thumbnail-count),minmax(0,var(--aeris-galleria-thumbnail-width, 5.75rem)));gap:var(--aeris-galleria-thumbnail-gap, var(--aeris-density-gap, .5rem));justify-content:center;min-inline-size:0;animation:aeris-galleria-thumbnails-enter .22s ease-out}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-track{grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(var(--aeris-galleria-thumbnail-count),minmax(0,var(--aeris-galleria-thumbnail-height, 4.5rem)));block-size:100%}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail{inline-size:100%;block-size:100%;aspect-ratio:auto}.aeris-galleria__thumbnail{position:relative;z-index:0;display:grid;min-inline-size:0;min-block-size:0;aspect-ratio:var(--aeris-galleria-thumbnail-aspect-ratio, 16/10);place-items:center;padding:var(--aeris-galleria-thumbnail-padding, .2rem);border:1px solid var(--aeris-galleria-thumbnail-border, var(--aeris-border, #deddd7));border-radius:var(--aeris-galleria-thumbnail-radius, var(--aeris-radius-md, .625rem));background:var(--aeris-galleria-thumbnail-background, var(--aeris-surface, #fff));color:var(--aeris-galleria-color, var(--aeris-text, #222222));overflow:visible;cursor:pointer;opacity:.68;transition:opacity .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}.aeris-galleria__thumbnail[aria-current=true]{border-color:var(--aeris-galleria-active-thumbnail-border, var(--aeris-primary, #879566));box-shadow:0 0 0 2px color-mix(in srgb,var(--aeris-primary, #879566) 22%,transparent);opacity:1}.aeris-galleria__thumbnail-content{display:grid;inline-size:100%;block-size:100%;min-inline-size:0;min-block-size:0;place-items:center;overflow:hidden;border-radius:max(0px,var(--aeris-galleria-thumbnail-radius, var(--aeris-radius-md, .625rem)) - var(--aeris-galleria-thumbnail-padding, .2rem) - 1px)}.aeris-galleria__thumbnail-content img{display:block;inline-size:100%;block-size:100%;max-inline-size:none;max-block-size:none;border-radius:inherit;object-fit:cover;pointer-events:none}.aeris-galleria__thumbnail-navigator{display:grid;inline-size:max(2.25rem,var(--aeris-control-height-sm, 2.25rem));block-size:max(2.25rem,var(--aeris-control-height-sm, 2.25rem));place-items:center;padding:0;border:1px solid var(--aeris-galleria-thumbnail-navigator-border, var(--aeris-border, #deddd7));border-radius:var(--aeris-galleria-thumbnail-navigator-radius, var(--aeris-radius-control, .6875rem));background:var(--aeris-galleria-thumbnail-navigator-background, var(--aeris-surface, #fff));color:var(--aeris-galleria-color, var(--aeris-text, #222222));cursor:pointer}.aeris-galleria__thumbnail-navigator:hover:not(:disabled){border-color:color-mix(in srgb,var(--aeris-primary, #879566) 48%,var(--aeris-border, #deddd7));background:color-mix(in srgb,var(--aeris-primary, #879566) 9%,var(--aeris-surface, #fff))}.aeris-galleria__thumbnail-navigator:disabled{opacity:.38;cursor:not-allowed}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator{justify-self:center}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator--previous span{transform:rotate(180deg)}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator--next span{transform:none}.aeris-galleria__indicators{grid-area:indicators;display:flex;flex-wrap:wrap;justify-content:center;gap:var(--aeris-galleria-indicator-gap, .5rem);min-inline-size:0}.aeris-galleria__indicators--overlay{position:absolute;z-index:4;inset-block-start:var(--aeris-galleria-control-inset, .75rem);inset-inline-start:50%;transform:translate(-50%);padding:.5rem .625rem;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:#0d0f0c8a;-webkit-backdrop-filter:blur(.75rem);backdrop-filter:blur(.75rem)}.aeris-galleria__stage[data-toolbar=true] .aeris-galleria__indicators--overlay{inset-block-start:4.25rem}.aeris-galleria__indicators button{inline-size:var(--aeris-galleria-indicator-size, .625rem);block-size:var(--aeris-galleria-indicator-size, .625rem);padding:0;border:0;border-radius:999px;background:var(--aeris-galleria-indicator-background, var(--aeris-border-strong, #c7c9c0));cursor:pointer;transition:inline-size .18s ease,background-color .18s ease}.aeris-galleria__indicators--overlay button{background:#ffffff7a}.aeris-galleria__indicators button[aria-current=true]{inline-size:var(--aeris-galleria-active-indicator-width, 1.5rem);background:var(--aeris-galleria-active-indicator-background, var(--aeris-primary, #879566))}.aeris-galleria__indicators--overlay button[aria-current=true]{background:#fff}.aeris-galleria__navigator:focus-visible,.aeris-galleria__fullscreen-toggle:focus-visible,.aeris-galleria__toolbar button:focus-visible,.aeris-galleria__grid-item:focus-visible,.aeris-galleria__thumbnail:focus-visible,.aeris-galleria__thumbnail-navigator:focus-visible,.aeris-galleria__indicators button:focus-visible{outline:3px solid color-mix(in srgb,var(--aeris-focus, #536437) 38%,transparent);outline-offset:2px}.aeris-galleria__empty{display:grid;min-block-size:var(--aeris-galleria-empty-min-height, 15rem);place-items:center;padding:2rem;border:1px dashed var(--aeris-galleria-border, var(--aeris-border, #deddd7));border-radius:var(--aeris-galleria-radius, var(--aeris-radius-lg, .875rem));background:var(--aeris-galleria-empty-background, var(--aeris-surface-2, #f6f6f2));color:var(--aeris-galleria-muted-color, var(--aeris-text-muted, #6d7067));text-align:center}.aeris-galleria__status{position:absolute;inline-size:1px;block-size:1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.aeris-galleria--fullscreen{position:fixed;z-index:var(--aeris-galleria-fullscreen-z-index, 1050);inset:0;min-block-size:100vh;min-block-size:100dvh;display:grid;place-items:center;padding:clamp(.5rem,2.5vw,2rem);overflow:hidden;background:var(--aeris-galleria-backdrop, rgba(5, 7, 5, .88))}.aeris-galleria--fullscreen[data-backdrop-blur]{-webkit-backdrop-filter:blur(var(--aeris-galleria-backdrop-blur, var(--aeris-backdrop-blur, .25rem)));backdrop-filter:blur(var(--aeris-galleria-backdrop-blur, var(--aeris-backdrop-blur, .25rem)))}.aeris-galleria--fullscreen .aeris-galleria__panel{inline-size:min(100%,var(--aeris-galleria-fullscreen-max-width, 96rem));block-size:calc(100vh - clamp(1rem,5vw,4rem));block-size:calc(100dvh - clamp(1rem,5vw,4rem));max-block-size:100%;grid-template-areas:\"stage\" \"indicators\" \"thumbnails\";grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto;gap:var(--aeris-galleria-fullscreen-gap, .5rem)}.aeris-galleria--fullscreen .aeris-galleria__stage{min-block-size:0;max-block-size:none;aspect-ratio:auto!important;block-size:auto;border-color:#ffffff24;box-shadow:0 2rem 7rem #0000006b}.aeris-galleria--fullscreen .aeris-galleria__thumbnails{inline-size:100%}.aeris-galleria--fullscreen .aeris-galleria__thumbnail-track{grid-template-columns:repeat(var(--aeris-galleria-thumbnail-count),minmax(0,var(--aeris-galleria-fullscreen-thumbnail-width, 6.5rem)));justify-content:center}.aeris-galleria--fullscreen .aeris-galleria__thumbnail{aspect-ratio:var(--aeris-galleria-fullscreen-thumbnail-aspect-ratio, 16/9)}@keyframes aeris-galleria-enter-next{0%{opacity:.28;transform:translate3d(4%,0,0) scale(1.015)}to{opacity:1;transform:translateZ(0) scale(1)}}@keyframes aeris-galleria-enter-previous{0%{opacity:.28;transform:translate3d(-4%,0,0) scale(1.015)}to{opacity:1;transform:translateZ(0) scale(1)}}@keyframes aeris-galleria-fade{0%{opacity:.35;transform:scale(1.01)}to{opacity:1;transform:scale(1)}}@keyframes aeris-galleria-thumbnails-enter{0%{opacity:.5;transform:translateY(.2rem)}to{opacity:1;transform:translateY(0)}}@media(max-width:40rem){.aeris-galleria__panel,.aeris-galleria[data-thumbnail-position=start] .aeris-galleria__panel,.aeris-galleria[data-thumbnail-position=end] .aeris-galleria__panel{grid-template-areas:\"stage\" \"indicators\" \"thumbnails\";grid-template-columns:minmax(0,1fr);grid-template-rows:auto}.aeris-galleria__stage{min-block-size:13rem}.aeris-galleria__thumbnails[data-orientation=vertical]{grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-track{grid-template-columns:repeat(var(--aeris-galleria-thumbnail-count),minmax(0,var(--aeris-galleria-thumbnail-width, 5.75rem)));grid-template-rows:auto;block-size:auto;justify-content:center}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator--previous span{transform:rotate(90deg)}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator--next span{transform:rotate(-90deg)}.aeris-galleria__navigator,.aeris-galleria__fullscreen-toggle{inline-size:2.75rem;block-size:2.75rem}.aeris-galleria__toolbar{inset-inline:.5rem;max-inline-size:none;justify-content:flex-start;transform:none}.aeris-galleria__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--aeris-galleria-grid-mobile-gap, .625rem)}.aeris-galleria__caption{padding-inline:1rem}.aeris-galleria__caption span{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.aeris-galleria--fullscreen{padding:.5rem}.aeris-galleria--fullscreen .aeris-galleria__panel{block-size:calc(100vh - 1rem);block-size:calc(100dvh - 1rem)}.aeris-galleria--fullscreen .aeris-galleria__stage{min-block-size:0}.aeris-galleria--fullscreen .aeris-galleria__thumbnail-track{grid-template-columns:repeat(var(--aeris-galleria-thumbnail-count),minmax(0,var(--aeris-galleria-fullscreen-thumbnail-width, 4.5rem)))}}@media(max-width:40rem){:host-context([dir=rtl]) .aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator--previous span{transform:rotate(-90deg)}:host-context([dir=rtl]) .aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator--next span{transform:rotate(90deg)}}@media(hover:none){.aeris-galleria__stage[data-navigators-on-hover=true] .aeris-galleria__navigator{opacity:1}}@media(hover:hover){.aeris-galleria__thumbnail:hover{z-index:1;opacity:.9;transform:scale(1.04)}}@media(prefers-reduced-motion:reduce){.aeris-galleria__item,.aeris-galleria__media,.aeris-galleria__grid-item,.aeris-galleria__grid-item img,.aeris-galleria__thumbnail-track{animation:none}.aeris-galleria__navigator,.aeris-galleria__fullscreen-toggle,.aeris-galleria__thumbnail,.aeris-galleria__thumbnail-track,.aeris-galleria__indicators button{transition:none}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
2117
|
+
`,
|
|
2118
|
+
isInline: true,
|
|
2119
|
+
styles: [":host{--aeris-galleria-chevron-icon: var( --aeris-icon-chevron, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"m6 9 6 6 6-6\"/%3E%3C/svg%3E') );--aeris-galleria-enter-fullscreen-icon: url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"M8 3H5a2 2 0 0 0-2 2v3\"/%3E%3Cpath d=\"M21 8V5a2 2 0 0 0-2-2h-3\"/%3E%3Cpath d=\"M3 16v3a2 2 0 0 0 2 2h3\"/%3E%3Cpath d=\"M16 21h3a2 2 0 0 0 2-2v-3\"/%3E%3C/svg%3E');--aeris-galleria-exit-fullscreen-icon: url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"M8 3v3a2 2 0 0 1-2 2H3\"/%3E%3Cpath d=\"M21 8h-3a2 2 0 0 1-2-2V3\"/%3E%3Cpath d=\"M3 16h3a2 2 0 0 1 2 2v3\"/%3E%3Cpath d=\"M16 21v-3a2 2 0 0 1 2-2h3\"/%3E%3C/svg%3E');--aeris-galleria-rotate-left-icon: url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8\"/%3E%3Cpath d=\"M3 3v5h5\"/%3E%3C/svg%3E');--aeris-galleria-rotate-right-icon: url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8\"/%3E%3Cpath d=\"M21 3v5h-5\"/%3E%3C/svg%3E');--aeris-galleria-flip-horizontal-icon: url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"M8 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h3\"/%3E%3Cpath d=\"M16 3h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-3\"/%3E%3Cpath d=\"M12 20v2\"/%3E%3Cpath d=\"M12 14v2\"/%3E%3Cpath d=\"M12 8v2\"/%3E%3Cpath d=\"M12 2v2\"/%3E%3C/svg%3E');--aeris-galleria-flip-vertical-icon: url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"M21 8V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3\"/%3E%3Cpath d=\"M21 16v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-3\"/%3E%3Cpath d=\"M4 12H2\"/%3E%3Cpath d=\"M10 12H8\"/%3E%3Cpath d=\"M16 12h-2\"/%3E%3Cpath d=\"M22 12h-2\"/%3E%3C/svg%3E');--aeris-galleria-zoom-in-icon: url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Ccircle cx=\"11\" cy=\"11\" r=\"8\"/%3E%3Cline x1=\"21\" x2=\"16.65\" y1=\"21\" y2=\"16.65\"/%3E%3Cline x1=\"11\" x2=\"11\" y1=\"8\" y2=\"14\"/%3E%3Cline x1=\"8\" x2=\"14\" y1=\"11\" y2=\"11\"/%3E%3C/svg%3E');--aeris-galleria-zoom-out-icon: url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Ccircle cx=\"11\" cy=\"11\" r=\"8\"/%3E%3Cline x1=\"21\" x2=\"16.65\" y1=\"21\" y2=\"16.65\"/%3E%3Cline x1=\"8\" x2=\"14\" y1=\"11\" y2=\"11\"/%3E%3C/svg%3E');--aeris-galleria-reset-icon: url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8\"/%3E%3Cpath d=\"M3 3v5h5\"/%3E%3C/svg%3E');--aeris-galleria-download-icon: url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"M12 15V3\"/%3E%3Cpath d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"/%3E%3Cpath d=\"m7 10 5 5 5-5\"/%3E%3C/svg%3E');display:block;min-inline-size:0}:host([data-fullscreen=true]){position:relative;z-index:var(--aeris-galleria-fullscreen-z-index, 1050)}.aeris-galleria,.aeris-galleria *,.aeris-galleria *:before,.aeris-galleria *:after{box-sizing:border-box}.aeris-galleria{min-inline-size:0;color:var(--aeris-galleria-color, var(--aeris-text, #111111));font:inherit}.aeris-galleria__panel{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:\"stage\" \"thumbnails\";gap:var(--aeris-galleria-gap, calc(var(--aeris-density-gap, .5rem) * 1.5));min-inline-size:0;outline:none}.aeris-galleria[data-thumbnail-position=top] .aeris-galleria__panel{grid-template-areas:\"thumbnails\" \"stage\"}.aeris-galleria[data-thumbnail-position=start] .aeris-galleria__panel{grid-template-areas:\"thumbnails stage\";grid-template-columns:minmax(4.5rem,var(--aeris-galleria-side-thumbnail-size, 5.5rem)) minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-items:stretch}.aeris-galleria[data-thumbnail-position=end] .aeris-galleria__panel{grid-template-areas:\"stage thumbnails\";grid-template-columns:minmax(0,1fr) minmax(5rem,var(--aeris-galleria-side-thumbnail-size, 5.5rem));grid-template-rows:minmax(0,1fr);align-items:stretch}.aeris-galleria__stage{grid-area:stage;inline-size:100%;position:relative;min-inline-size:0;overflow:hidden;border:1px solid var(--aeris-galleria-border, color-mix(in srgb, var(--aeris-border, #efefef) 72%, transparent));border-radius:var(--aeris-galleria-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));background:radial-gradient(circle at 50% 15%,rgba(255,255,255,.07),transparent 48%),var(--aeris-galleria-stage-background, #11130f);box-shadow:var(--aeris-galleria-shadow, 0 1.25rem 3.5rem rgba(31, 35, 27, .14));isolation:isolate;filter:opacity(1)}.aeris-galleria__viewport,.aeris-galleria__item{inline-size:100%;block-size:100%;min-inline-size:0}.aeris-galleria__viewport{position:relative;overflow:hidden;touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none;cursor:grab;-webkit-tap-highlight-color:transparent}.aeris-galleria__viewport[data-zoomed]{touch-action:pinch-zoom}.aeris-galleria__viewport:active{cursor:grabbing}.aeris-galleria__viewport:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid color-mix(in srgb,var(--aeris-focus, #111111) 42%,transparent);outline-offset:-4px}.aeris-galleria__item{display:grid;place-items:center;overflow:hidden;transform:translate3d(var(--aeris-galleria-drag-offset, 0),0,0);will-change:transform,opacity}.aeris-galleria__item[data-motion=next]{animation:aeris-galleria-enter-next var(--aeris-galleria-transition-duration, .42s) var(--aeris-galleria-transition-easing, cubic-bezier(.22, 1, .36, 1))}.aeris-galleria__item[data-motion=previous]{animation:aeris-galleria-enter-previous var(--aeris-galleria-transition-duration, .42s) var(--aeris-galleria-transition-easing, cubic-bezier(.22, 1, .36, 1))}.aeris-galleria__item[data-motion=fade]{animation:aeris-galleria-fade var(--aeris-galleria-transition-duration, .42s) ease-out}.aeris-galleria__item[data-dragging=true]{animation:none;transition:transform 40ms linear}.aeris-galleria__media{display:grid;inline-size:100%;block-size:100%;min-inline-size:0;place-items:center;transform-origin:center;transition:transform var(--aeris-galleria-transform-duration, .22s) ease;will-change:transform}.aeris-galleria__media[data-panning]{transition:none}.aeris-galleria__image{display:block;inline-size:100%;block-size:100%;min-inline-size:0;max-inline-size:none;object-position:center;pointer-events:none}.aeris-galleria__stage[data-fit=cover] .aeris-galleria__image{object-fit:cover}.aeris-galleria__stage[data-fit=contain] .aeris-galleria__image{object-fit:contain}.aeris-galleria__default-item{display:grid;inline-size:100%;block-size:100%;min-block-size:14rem;place-items:center;padding:var(--aeris-galleria-item-padding, 1.5rem);color:var(--aeris-galleria-stage-color, #fff);text-align:center}.aeris-galleria__navigator,.aeris-galleria__fullscreen-toggle,.aeris-galleria__toolbar button,.aeris-galleria__grid-item,.aeris-galleria__thumbnail-navigator,.aeris-galleria__thumbnail{margin:0;font:inherit;appearance:none;-webkit-appearance:none}.aeris-galleria__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--aeris-galleria-grid-min-item-width, 10rem)),1fr));gap:var(--aeris-galleria-grid-gap, var(--aeris-density-gap-lg, 1rem));min-inline-size:0}.aeris-galleria__grid-cell{min-inline-size:0}.aeris-galleria__grid-item{position:relative;display:grid;inline-size:100%;aspect-ratio:var(--aeris-galleria-grid-aspect-ratio, 4/3);place-items:center;padding:0;overflow:hidden;border:1px solid var(--aeris-galleria-grid-border, var(--aeris-border));border-radius:var(--aeris-galleria-grid-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));background:var(--aeris-galleria-stage-background, #11130f);color:#fff;cursor:pointer;isolation:isolate;transition:transform var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}@media(hover:hover){.aeris-galleria__grid-item:hover{z-index:1;border-color:color-mix(in srgb,var(--aeris-primary, #111111) 62%,var(--aeris-border, #efefef));box-shadow:0 .8rem 2rem #1f231b29;transform:translateY(-2px)}}.aeris-galleria__grid-item[aria-current=true]{border-color:var(--aeris-galleria-active-thumbnail-border, var(--aeris-primary, #111111));box-shadow:0 0 0 2px color-mix(in srgb,var(--aeris-primary, #111111) 22%,transparent)}.aeris-galleria__grid-item img{display:block;inline-size:100%;block-size:100%;max-inline-size:none;object-fit:cover;transition:transform .36s cubic-bezier(.22,1,.36,1)}@media(hover:hover){.aeris-galleria__grid-item:hover img{transform:scale(1.035)}}.aeris-galleria__grid-title{position:absolute;inset-inline:0;inset-block-end:0;padding:2.75rem .875rem .75rem;background:linear-gradient(transparent,#050705c7);font-size:var(--aeris-font-size-lg, .875rem);font-weight:var(--aeris-font-weight-bold, 700);text-align:start}.aeris-galleria__toolbar-frame{--_aeris-galleria-toolbar-fade-left: 0px;--_aeris-galleria-toolbar-fade-right: 0px;position:absolute;z-index:6;inset-block-start:var(--aeris-galleria-control-inset, .75rem);left:50%;inline-size:max-content;max-inline-size:calc(100% - 6.5rem);overflow:hidden;border:1px solid rgba(255,255,255,.18);border-radius:var(--aeris-galleria-toolbar-radius, var(--aeris-radius-control, .6875rem));background:var(--aeris-galleria-toolbar-background, rgba(13, 15, 12, .66));color:#fff;box-shadow:0 .5rem 1.5rem #00000029;-webkit-backdrop-filter:blur(.85rem);backdrop-filter:blur(.85rem);transform:translate(-50%)}.aeris-galleria__toolbar-frame[data-fade-left]{--_aeris-galleria-toolbar-fade-left: var(--aeris-galleria-toolbar-fade-size, 1.5rem)}.aeris-galleria__toolbar-frame[data-fade-right]{--_aeris-galleria-toolbar-fade-right: var(--aeris-galleria-toolbar-fade-size, 1.5rem)}.aeris-galleria__toolbar{display:flex;align-items:center;gap:.125rem;padding:.3rem;overflow-x:auto;scrollbar-width:none;scroll-padding-inline:var(--aeris-galleria-toolbar-fade-size, 1.5rem);-webkit-mask-image:linear-gradient(to right,transparent,#000 var(--_aeris-galleria-toolbar-fade-left),#000 calc(100% - var(--_aeris-galleria-toolbar-fade-right)),transparent);mask-image:linear-gradient(to right,transparent,#000 var(--_aeris-galleria-toolbar-fade-left),#000 calc(100% - var(--_aeris-galleria-toolbar-fade-right)),transparent)}.aeris-galleria__toolbar::-webkit-scrollbar{display:none}.aeris-galleria__toolbar button{display:grid;flex:0 0 auto;inline-size:2.25rem;block-size:2.25rem;place-items:center;padding:0;border:0;border-radius:var(--aeris-radius-item, var(--aeris-radius-sm, .4375rem));background:transparent;color:inherit;cursor:pointer}.aeris-galleria__toolbar button[aria-pressed=true]{background:#ffffff21}@media(hover:hover){.aeris-galleria__toolbar button:hover:not(:disabled){background:#ffffff21}}.aeris-galleria__toolbar button:disabled{opacity:.36;cursor:not-allowed}.aeris-galleria__zoom-value{flex:0 0 auto;inline-size:3.25rem;min-inline-size:3.25rem;color:#ffffffc2;font-size:var(--aeris-font-size-xs, .6875rem);font-variant-numeric:tabular-nums;text-align:center}.aeris-galleria__tool-icon{display:block;inline-size:1.1rem;block-size:1.1rem;background:currentColor;-webkit-mask-position:center;-webkit-mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-position:center;mask-size:100% 100%;mask-repeat:no-repeat}.aeris-galleria__tool-icon--rotate-left{-webkit-mask-image:var(--aeris-galleria-rotate-left-icon);mask-image:var(--aeris-galleria-rotate-left-icon)}.aeris-galleria__tool-icon--rotate-right{-webkit-mask-image:var(--aeris-galleria-rotate-right-icon);mask-image:var(--aeris-galleria-rotate-right-icon)}.aeris-galleria__tool-icon--flip-horizontal{-webkit-mask-image:var(--aeris-galleria-flip-horizontal-icon);mask-image:var(--aeris-galleria-flip-horizontal-icon)}.aeris-galleria__tool-icon--flip-vertical{-webkit-mask-image:var(--aeris-galleria-flip-vertical-icon);mask-image:var(--aeris-galleria-flip-vertical-icon)}.aeris-galleria__tool-icon--zoom-in{-webkit-mask-image:var(--aeris-galleria-zoom-in-icon);mask-image:var(--aeris-galleria-zoom-in-icon)}.aeris-galleria__tool-icon--zoom-out{-webkit-mask-image:var(--aeris-galleria-zoom-out-icon);mask-image:var(--aeris-galleria-zoom-out-icon)}.aeris-galleria__tool-icon--reset{-webkit-mask-image:var(--aeris-galleria-reset-icon);mask-image:var(--aeris-galleria-reset-icon)}.aeris-galleria__tool-icon--download{-webkit-mask-image:var(--aeris-galleria-download-icon);mask-image:var(--aeris-galleria-download-icon)}.aeris-galleria__navigator,.aeris-galleria__fullscreen-toggle{position:absolute;z-index:4;display:grid;inline-size:max(2.75rem,var(--aeris-control-height, 2.625rem));block-size:max(2.75rem,var(--aeris-control-height, 2.625rem));place-items:center;padding:0;border:1px solid rgba(255,255,255,.22);border-radius:var(--aeris-galleria-control-radius, var(--aeris-radius-control, .6875rem));background:#0d0f0c9e;color:#fff;box-shadow:0 .5rem 1.5rem #0000002e;-webkit-backdrop-filter:blur(.75rem);backdrop-filter:blur(.75rem);cursor:pointer;transition:opacity var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),transform var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-galleria__navigator{inset-block-start:50%;transform:translateY(-50%)}.aeris-galleria__navigator--previous{inset-inline-start:var(--aeris-galleria-control-inset, .75rem)}.aeris-galleria__navigator--next{inset-inline-end:var(--aeris-galleria-control-inset, .75rem)}.aeris-galleria__fullscreen-toggle{inset-block-start:var(--aeris-galleria-control-inset, .75rem);inset-inline-end:var(--aeris-galleria-control-inset, .75rem)}@media(hover:hover){.aeris-galleria__navigator:hover:not(:disabled),.aeris-galleria__fullscreen-toggle:hover{border-color:#ffffff6b;background:#0d0f0cd1}}@media(hover:hover){.aeris-galleria__navigator:hover:not(:disabled){transform:translateY(-50%) scale(1.04)}}@media(hover:hover){.aeris-galleria__fullscreen-toggle:hover{transform:scale(1.04)}}.aeris-galleria__navigator:disabled{opacity:.32;cursor:not-allowed}.aeris-galleria__stage[data-navigators-on-hover=true] .aeris-galleria__navigator{opacity:0}.aeris-galleria__stage[data-navigators-on-hover=true]:focus-within .aeris-galleria__navigator{opacity:1}@media(hover:hover){.aeris-galleria__stage[data-navigators-on-hover=true]:hover .aeris-galleria__navigator{opacity:1}}.aeris-galleria__chevron,.aeris-galleria__thumbnail-navigator span{display:block;inline-size:1.2rem;block-size:1.2rem;background:currentColor;-webkit-mask:var(--aeris-galleria-chevron-icon) center/100% 100% no-repeat;mask:var(--aeris-galleria-chevron-icon) center/100% 100% no-repeat}.aeris-galleria__navigator--previous .aeris-galleria__chevron,.aeris-galleria__thumbnail-navigator--previous span{transform:rotate(90deg)}.aeris-galleria__navigator--next .aeris-galleria__chevron,.aeris-galleria__thumbnail-navigator--next span{transform:rotate(-90deg)}:host-context([dir=rtl]) .aeris-galleria__navigator--previous .aeris-galleria__chevron,:host-context([dir=rtl]) .aeris-galleria__thumbnail-navigator--previous span{transform:rotate(-90deg)}:host-context([dir=rtl]) .aeris-galleria__navigator--next .aeris-galleria__chevron,:host-context([dir=rtl]) .aeris-galleria__thumbnail-navigator--next span{transform:rotate(90deg)}.aeris-galleria__fullscreen-icon{display:block;inline-size:1.2rem;block-size:1.2rem;background:currentColor;-webkit-mask:var(--aeris-galleria-enter-fullscreen-icon) center/100% 100% no-repeat;mask:var(--aeris-galleria-enter-fullscreen-icon) center/100% 100% no-repeat}.aeris-galleria__fullscreen-toggle[aria-pressed=true] .aeris-galleria__fullscreen-icon,.aeris-galleria__toolbar button[aria-pressed=true] .aeris-galleria__fullscreen-icon{-webkit-mask-image:var(--aeris-galleria-exit-fullscreen-icon);mask-image:var(--aeris-galleria-exit-fullscreen-icon)}.aeris-galleria__caption{position:absolute;z-index:3;inset-inline:0;inset-block-end:0;display:grid;gap:.25rem;padding:clamp(3.5rem,15%,7rem) clamp(1rem,4vw,2rem) clamp(1rem,3vw,1.75rem);background:linear-gradient(180deg,transparent,rgba(6,8,6,.82));color:#fff;pointer-events:none}.aeris-galleria__caption strong{font-size:clamp(1rem,2.5vw,1.4rem);line-height:1.2}.aeris-galleria__caption span{max-inline-size:58ch;color:#ffffffc7;font-size:clamp(.8125rem,2vw,.9375rem);line-height:var(--aeris-line-height-normal, 1.5)}.aeris-galleria__caption>*{pointer-events:auto}.aeris-galleria__thumbnails{grid-area:thumbnails;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--aeris-galleria-thumbnail-gap, var(--aeris-density-gap, .5rem));min-inline-size:0}.aeris-galleria__thumbnails[data-orientation=vertical]{contain:size;align-items:stretch;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;min-block-size:0}.aeris-galleria__thumbnail-viewport{min-inline-size:0;min-block-size:0;margin:-.25rem;padding:.25rem;overflow:auto;scrollbar-width:none;scroll-snap-type:x proximity;scroll-padding:.25rem;border-radius:var(--aeris-galleria-thumbnail-viewport-radius, var(--aeris-radius-md, .625rem))}.aeris-galleria__thumbnail-viewport:only-child{grid-column:1/-1}.aeris-galleria__thumbnail-viewport::-webkit-scrollbar{display:none}.aeris-galleria__thumbnail-track{display:flex;gap:var(--aeris-galleria-thumbnail-gap, var(--aeris-density-gap, .5rem));inline-size:100%;min-inline-size:0}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-viewport{block-size:100%;scroll-snap-type:y proximity}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-track{flex-direction:column;block-size:100%}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail{flex-basis:var(--aeris-galleria-thumbnail-height, var(--_aeris-galleria-thumbnail-basis));inline-size:100%;aspect-ratio:auto}.aeris-galleria__thumbnail{--_aeris-galleria-thumbnail-basis: calc( ( 100% - (var(--aeris-galleria-thumbnail-count) - 1) * var(--aeris-galleria-thumbnail-gap, var(--aeris-density-gap, .5rem)) ) / var(--aeris-galleria-thumbnail-count) );flex:0 0 var(--aeris-galleria-thumbnail-width, var(--_aeris-galleria-thumbnail-basis));scroll-snap-align:start;-webkit-tap-highlight-color:transparent;position:relative;z-index:0;display:grid;min-inline-size:0;min-block-size:0;aspect-ratio:var(--aeris-galleria-thumbnail-aspect-ratio, 16/10);place-items:center;padding:var(--aeris-galleria-thumbnail-padding, .2rem);border:1px solid var(--aeris-galleria-thumbnail-border, var(--aeris-border));border-radius:var(--aeris-galleria-thumbnail-radius, var(--aeris-radius-md, .625rem));background:var(--aeris-galleria-thumbnail-background, var(--aeris-surface, #fff));color:var(--aeris-galleria-color, var(--aeris-text, #111111));overflow:visible;cursor:pointer;opacity:.68;transition:opacity var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),transform var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-galleria__thumbnail[aria-current=true]{border-color:var(--aeris-galleria-active-thumbnail-border, var(--aeris-primary, #111111));box-shadow:0 0 0 2px color-mix(in srgb,var(--aeris-primary, #111111) 22%,transparent);opacity:1}.aeris-galleria__thumbnail-content{display:grid;inline-size:100%;block-size:100%;min-inline-size:0;min-block-size:0;place-items:center;overflow:hidden;border-radius:max(0px,var(--aeris-galleria-thumbnail-radius, var(--aeris-radius-md, .625rem)) - var(--aeris-galleria-thumbnail-padding, .2rem) - 1px)}.aeris-galleria__thumbnail-content img{display:block;inline-size:100%;block-size:100%;max-inline-size:none;max-block-size:none;border-radius:inherit;object-fit:cover;pointer-events:none}.aeris-galleria__thumbnail-navigator{display:grid;inline-size:max(2.25rem,var(--aeris-control-height-sm, 2.25rem));block-size:max(2.25rem,var(--aeris-control-height-sm, 2.25rem));place-items:center;padding:0;border:1px solid var(--aeris-galleria-thumbnail-navigator-border, var(--aeris-border, #efefef));border-radius:var(--aeris-galleria-thumbnail-navigator-radius, var(--aeris-radius-control, .6875rem));background:var(--aeris-galleria-thumbnail-navigator-background, var(--aeris-surface, #fff));color:var(--aeris-galleria-color, var(--aeris-text, #111111));cursor:pointer}@media(hover:hover){.aeris-galleria__thumbnail-navigator:hover:not(:disabled){border-color:color-mix(in srgb,var(--aeris-primary, #111111) 48%,var(--aeris-border, #efefef));background:color-mix(in srgb,var(--aeris-primary, #111111) 9%,var(--aeris-surface, #fff))}}.aeris-galleria__thumbnail-navigator:disabled{opacity:.38;cursor:not-allowed}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator{justify-self:center}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator--previous span{transform:rotate(180deg)}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator--next span{transform:none}.aeris-galleria__navigator:focus-visible,.aeris-galleria__fullscreen-toggle:focus-visible,.aeris-galleria__toolbar button:focus-visible,.aeris-galleria__grid-item:focus-visible,.aeris-galleria__thumbnail:focus-visible,.aeris-galleria__thumbnail-navigator:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid color-mix(in srgb,var(--aeris-focus, #111111) 38%,transparent);outline-offset:var(--aeris-focus-ring-offset, 2px)}.aeris-galleria__empty{display:grid;min-block-size:var(--aeris-galleria-empty-min-height, 15rem);place-items:center;padding:2rem;border:1px dashed var(--aeris-galleria-border, var(--aeris-border));border-radius:var(--aeris-galleria-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));background:var(--aeris-galleria-empty-background, var(--aeris-surface-2, #f3f3f3));color:var(--aeris-galleria-muted-color, var(--aeris-text-muted, #6d7067));text-align:center}.aeris-galleria__status{position:absolute;inline-size:1px;block-size:1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.aeris-galleria--fullscreen{position:fixed;z-index:var(--aeris-galleria-fullscreen-z-index, 1050);inset:0;inset:var(--_aeris-viewport-top, 0px) var(--_aeris-viewport-right, 0px) var(--_aeris-viewport-bottom, 0px) var(--_aeris-viewport-left, 0px);min-block-size:100vh;min-block-size:100dvh;min-block-size:var(--_aeris-viewport-height, 100dvh);display:grid;place-items:center;padding:clamp(.5rem,2.5vw,2rem);padding:max(.5rem,var(--aeris-safe-area-top, 0px)) max(.5rem,var(--aeris-safe-area-right, 0px)) max(.5rem,var(--aeris-safe-area-bottom, 0px)) max(.5rem,var(--aeris-safe-area-left, 0px));overflow:hidden;background:var(--aeris-galleria-backdrop, rgba(5, 7, 5, .88))}.aeris-galleria--fullscreen[data-backdrop-blur]{-webkit-backdrop-filter:blur(var(--aeris-galleria-backdrop-blur, var(--aeris-backdrop-blur, .25rem)));backdrop-filter:blur(var(--aeris-galleria-backdrop-blur, var(--aeris-backdrop-blur, .25rem)))}.aeris-galleria--fullscreen .aeris-galleria__panel{inline-size:min(100%,var(--aeris-galleria-fullscreen-max-width, 96rem));block-size:calc(100vh - clamp(1rem,5vw,4rem));block-size:calc(100dvh - clamp(1rem,5vw,4rem));max-block-size:100%;grid-template-areas:\"stage\" \"thumbnails\";grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:var(--aeris-galleria-fullscreen-gap, .5rem)}.aeris-galleria--fullscreen .aeris-galleria__stage{min-block-size:0;max-block-size:none;aspect-ratio:auto!important;block-size:auto;border-color:#ffffff24;box-shadow:0 2rem 7rem #0000006b}.aeris-galleria--fullscreen .aeris-galleria__thumbnails{inline-size:100%}.aeris-galleria--fullscreen .aeris-galleria__thumbnail{flex-basis:var(--aeris-galleria-fullscreen-thumbnail-width, var(--_aeris-galleria-thumbnail-basis));aspect-ratio:var(--aeris-galleria-fullscreen-thumbnail-aspect-ratio, 16/9)}@keyframes aeris-galleria-enter-next{0%{opacity:.28;transform:translate3d(4%,0,0) scale(1.015)}to{opacity:1;transform:translateZ(0) scale(1)}}:host [data-aeris-custom-icon]:not([data-aeris-global-icon]){display:inline-flex;align-items:center;justify-content:center;inline-size:var(--aeris-icon-size, 1rem);block-size:var(--aeris-icon-size, 1rem);background:transparent;border:0;box-shadow:none;-webkit-mask:none;mask:none;line-height:1}:host [data-aeris-custom-icon]:before,:host [data-aeris-custom-icon]:after{display:none}:host .aeris-galleria__thumbnail-navigator>[data-aeris-custom-icon]:not([data-aeris-global-icon]){transform:none}:host-context([dir=rtl]) .aeris-galleria__thumbnail-navigator>[data-aeris-custom-icon]:not([data-aeris-global-icon]){transform:scaleX(-1)}:host .aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator>[data-aeris-custom-icon]:not([data-aeris-global-icon]){transform:rotate(90deg)}@keyframes aeris-galleria-enter-previous{0%{opacity:.28;transform:translate3d(-4%,0,0) scale(1.015)}to{opacity:1;transform:translateZ(0) scale(1)}}@keyframes aeris-galleria-fade{0%{opacity:.35;transform:scale(1.01)}to{opacity:1;transform:scale(1)}}@media(max-width:40rem){.aeris-galleria__panel,.aeris-galleria[data-thumbnail-position=start] .aeris-galleria__panel,.aeris-galleria[data-thumbnail-position=end] .aeris-galleria__panel{grid-template-areas:\"stage\" \"thumbnails\";grid-template-columns:minmax(0,1fr);grid-template-rows:auto}.aeris-galleria__stage{min-block-size:13rem}.aeris-galleria__thumbnails[data-orientation=vertical]{grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator--previous span{transform:rotate(90deg)}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator--next span{transform:rotate(-90deg)}.aeris-galleria__navigator,.aeris-galleria__fullscreen-toggle{inline-size:2.75rem;block-size:2.75rem}.aeris-galleria__toolbar-frame{inset-inline:.5rem;inline-size:auto;max-inline-size:none;transform:none}.aeris-galleria__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--aeris-galleria-grid-mobile-gap, .625rem)}.aeris-galleria__caption{padding-inline:1rem}.aeris-galleria__caption span{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.aeris-galleria--fullscreen{padding:.5rem}.aeris-galleria--fullscreen .aeris-galleria__panel{block-size:calc(100vh - 1rem);block-size:calc(100dvh - 1rem)}.aeris-galleria--fullscreen .aeris-galleria__stage{min-block-size:0}}@media(max-width:40rem){:host-context([dir=rtl]) .aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator--previous span{transform:rotate(-90deg)}:host-context([dir=rtl]) .aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator--next span{transform:rotate(90deg)}}@media(hover:none){.aeris-galleria__stage[data-navigators-on-hover=true] .aeris-galleria__navigator{opacity:1}}@media(hover:hover){.aeris-galleria__thumbnail:hover{z-index:1;opacity:.9;transform:scale(1.04)}}@media(prefers-reduced-motion:reduce){.aeris-galleria__item,.aeris-galleria__media,.aeris-galleria__grid-item,.aeris-galleria__grid-item img,.aeris-galleria__thumbnail-track{animation:none}.aeris-galleria__navigator,.aeris-galleria__fullscreen-toggle,.aeris-galleria__thumbnail,.aeris-galleria__thumbnail-track{transition:none}}\n"],
|
|
2120
|
+
dependencies: [{
|
|
2121
|
+
kind: "component",
|
|
2122
|
+
type: ɵAerisIcon,
|
|
2123
|
+
selector: "span[aerisInternalIcon]",
|
|
2124
|
+
inputs: ["aerisInternalIcon", "aerisInternalIconFallback"]
|
|
2125
|
+
}, {
|
|
2126
|
+
kind: "directive",
|
|
2127
|
+
type: NgTemplateOutlet,
|
|
2128
|
+
selector: "[ngTemplateOutlet]",
|
|
2129
|
+
inputs: [
|
|
2130
|
+
"ngTemplateOutletContext",
|
|
2131
|
+
"ngTemplateOutlet",
|
|
2132
|
+
"ngTemplateOutletInjector"
|
|
2133
|
+
]
|
|
2134
|
+
}]
|
|
2135
|
+
});
|
|
2136
|
+
};
|
|
2137
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
2138
|
+
minVersion: "12.0.0",
|
|
2139
|
+
version: "22.2.3",
|
|
2140
|
+
ngImport: i0,
|
|
2141
|
+
type: AerisGalleria,
|
|
2142
|
+
decorators: [{
|
|
2143
|
+
type: Component,
|
|
2144
|
+
args: [{
|
|
2145
|
+
selector: "aeris-galleria",
|
|
2146
|
+
imports: [ɵAerisIcon, NgTemplateOutlet],
|
|
2147
|
+
template: `
|
|
1207
2148
|
<section
|
|
1208
2149
|
class="aeris-galleria"
|
|
1209
2150
|
[class.aeris-galleria--fullscreen]="fullscreen()"
|
|
@@ -1264,7 +2205,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
1264
2205
|
} @else {
|
|
1265
2206
|
<div
|
|
1266
2207
|
class="aeris-galleria__stage"
|
|
1267
|
-
[attr.data-fit]="
|
|
2208
|
+
[attr.data-fit]="stageObjectFit()"
|
|
1268
2209
|
[attr.data-toolbar]="showToolbar() || null"
|
|
1269
2210
|
[attr.data-navigators-on-hover]="navigatorsOnHover() || null"
|
|
1270
2211
|
[style.aspect-ratio]="aspectRatio()"
|
|
@@ -1275,6 +2216,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
1275
2216
|
>
|
|
1276
2217
|
<div
|
|
1277
2218
|
class="aeris-galleria__viewport"
|
|
2219
|
+
[attr.data-zoomed]="resolvedZoom() > 1 || null"
|
|
1278
2220
|
[id]="stageId"
|
|
1279
2221
|
tabindex="0"
|
|
1280
2222
|
[attr.aria-label]="stageAriaLabel()"
|
|
@@ -1282,7 +2224,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
1282
2224
|
(pointerdown)="handlePointerDown($event)"
|
|
1283
2225
|
(pointermove)="handlePointerMove($event)"
|
|
1284
2226
|
(pointerup)="handlePointerUp($event)"
|
|
1285
|
-
(pointercancel)="
|
|
2227
|
+
(pointercancel)="handlePointerCancel($event)"
|
|
2228
|
+
(lostpointercapture)="handlePointerCancel($event)"
|
|
1286
2229
|
(dragstart)="$event.preventDefault()"
|
|
1287
2230
|
>
|
|
1288
2231
|
@for (view of activeViews(); track view.index) {
|
|
@@ -1292,7 +2235,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
1292
2235
|
[attr.data-dragging]="dragging() || null"
|
|
1293
2236
|
[style.--aeris-galleria-drag-offset]="dragOffset() + 'px'"
|
|
1294
2237
|
>
|
|
1295
|
-
<div
|
|
2238
|
+
<div
|
|
2239
|
+
class="aeris-galleria__media"
|
|
2240
|
+
[attr.data-panning]="(dragging() && resolvedZoom() > 1) || null"
|
|
2241
|
+
[style.transform]="mediaTransform()"
|
|
2242
|
+
>
|
|
1296
2243
|
@if (itemTemplate(); as template) {
|
|
1297
2244
|
<ng-container
|
|
1298
2245
|
[ngTemplateOutlet]="template.template"
|
|
@@ -1316,133 +2263,224 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
1316
2263
|
|
|
1317
2264
|
@if (showToolbar()) {
|
|
1318
2265
|
<div
|
|
1319
|
-
class="aeris-galleria__toolbar"
|
|
1320
|
-
|
|
1321
|
-
[attr.
|
|
2266
|
+
class="aeris-galleria__toolbar-frame"
|
|
2267
|
+
[attr.data-fade-left]="toolbarFadeLeft() || null"
|
|
2268
|
+
[attr.data-fade-right]="toolbarFadeRight() || null"
|
|
1322
2269
|
>
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
<
|
|
1444
|
-
|
|
1445
|
-
|
|
2270
|
+
<div
|
|
2271
|
+
#toolbar
|
|
2272
|
+
class="aeris-galleria__toolbar"
|
|
2273
|
+
role="toolbar"
|
|
2274
|
+
[attr.aria-label]="toolbarAriaLabel()"
|
|
2275
|
+
(scroll)="scheduleToolbarMeasurement()"
|
|
2276
|
+
>
|
|
2277
|
+
@if (showRotateControls()) {
|
|
2278
|
+
<button
|
|
2279
|
+
type="button"
|
|
2280
|
+
[attr.aria-label]="rotateLeftAriaLabel()"
|
|
2281
|
+
[title]="rotateLeftAriaLabel()"
|
|
2282
|
+
(click)="rotate(-rotationStep())"
|
|
2283
|
+
>
|
|
2284
|
+
@if (rotateLeftIconTemplate(); as customIcon) {
|
|
2285
|
+
<span
|
|
2286
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--rotate-left"
|
|
2287
|
+
aria-hidden="true"
|
|
2288
|
+
data-aeris-custom-icon
|
|
2289
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
2290
|
+
/></span>
|
|
2291
|
+
} @else {
|
|
2292
|
+
<span
|
|
2293
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--rotate-left"
|
|
2294
|
+
aria-hidden="true"
|
|
2295
|
+
></span>
|
|
2296
|
+
}
|
|
2297
|
+
</button>
|
|
2298
|
+
<button
|
|
2299
|
+
type="button"
|
|
2300
|
+
[attr.aria-label]="rotateRightAriaLabel()"
|
|
2301
|
+
[title]="rotateRightAriaLabel()"
|
|
2302
|
+
(click)="rotate(rotationStep())"
|
|
2303
|
+
>
|
|
2304
|
+
@if (rotateRightIconTemplate(); as customIcon) {
|
|
2305
|
+
<span
|
|
2306
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--rotate-right"
|
|
2307
|
+
aria-hidden="true"
|
|
2308
|
+
data-aeris-custom-icon
|
|
2309
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
2310
|
+
/></span>
|
|
2311
|
+
} @else {
|
|
2312
|
+
<span
|
|
2313
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--rotate-right"
|
|
2314
|
+
aria-hidden="true"
|
|
2315
|
+
></span>
|
|
2316
|
+
}
|
|
2317
|
+
</button>
|
|
2318
|
+
}
|
|
2319
|
+
@if (showFlipControls()) {
|
|
2320
|
+
<button
|
|
2321
|
+
type="button"
|
|
2322
|
+
[attr.aria-label]="flipHorizontalAriaLabel()"
|
|
2323
|
+
[title]="flipHorizontalAriaLabel()"
|
|
2324
|
+
[attr.aria-pressed]="horizontalFlip()"
|
|
2325
|
+
(click)="toggleHorizontalFlip()"
|
|
2326
|
+
>
|
|
2327
|
+
@if (flipHorizontalIconTemplate(); as customIcon) {
|
|
2328
|
+
<span
|
|
2329
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--flip-horizontal"
|
|
2330
|
+
aria-hidden="true"
|
|
2331
|
+
data-aeris-custom-icon
|
|
2332
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
2333
|
+
/></span>
|
|
2334
|
+
} @else {
|
|
2335
|
+
<span
|
|
2336
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--flip-horizontal"
|
|
2337
|
+
aria-hidden="true"
|
|
2338
|
+
></span>
|
|
2339
|
+
}
|
|
2340
|
+
</button>
|
|
2341
|
+
<button
|
|
2342
|
+
type="button"
|
|
2343
|
+
[attr.aria-label]="flipVerticalAriaLabel()"
|
|
2344
|
+
[title]="flipVerticalAriaLabel()"
|
|
2345
|
+
[attr.aria-pressed]="verticalFlip()"
|
|
2346
|
+
(click)="toggleVerticalFlip()"
|
|
2347
|
+
>
|
|
2348
|
+
@if (flipVerticalIconTemplate(); as customIcon) {
|
|
2349
|
+
<span
|
|
2350
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--flip-vertical"
|
|
2351
|
+
aria-hidden="true"
|
|
2352
|
+
data-aeris-custom-icon
|
|
2353
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
2354
|
+
/></span>
|
|
2355
|
+
} @else {
|
|
2356
|
+
<span
|
|
2357
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--flip-vertical"
|
|
2358
|
+
aria-hidden="true"
|
|
2359
|
+
></span>
|
|
2360
|
+
}
|
|
2361
|
+
</button>
|
|
2362
|
+
}
|
|
2363
|
+
@if (showZoomControls()) {
|
|
2364
|
+
<button
|
|
2365
|
+
type="button"
|
|
2366
|
+
[attr.aria-label]="zoomOutAriaLabel()"
|
|
2367
|
+
[title]="zoomOutAriaLabel()"
|
|
2368
|
+
[disabled]="resolvedZoom() <= resolvedMinZoom()"
|
|
2369
|
+
(click)="zoomOut()"
|
|
2370
|
+
>
|
|
2371
|
+
@if (zoomOutIconTemplate(); as customIcon) {
|
|
2372
|
+
<span
|
|
2373
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--zoom-out"
|
|
2374
|
+
aria-hidden="true"
|
|
2375
|
+
data-aeris-custom-icon
|
|
2376
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
2377
|
+
/></span>
|
|
2378
|
+
} @else {
|
|
2379
|
+
<span
|
|
2380
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--zoom-out"
|
|
2381
|
+
aria-hidden="true"
|
|
2382
|
+
></span>
|
|
2383
|
+
}
|
|
2384
|
+
</button>
|
|
2385
|
+
<output
|
|
2386
|
+
class="aeris-galleria__zoom-value"
|
|
2387
|
+
[attr.aria-label]="zoomLevelAriaLabel()"
|
|
2388
|
+
>{{ zoomPercent() }}%</output
|
|
2389
|
+
>
|
|
2390
|
+
<button
|
|
2391
|
+
type="button"
|
|
2392
|
+
[attr.aria-label]="zoomInAriaLabel()"
|
|
2393
|
+
[title]="zoomInAriaLabel()"
|
|
2394
|
+
[disabled]="resolvedZoom() >= resolvedMaxZoom()"
|
|
2395
|
+
(click)="zoomIn()"
|
|
2396
|
+
>
|
|
2397
|
+
@if (zoomInIconTemplate(); as customIcon) {
|
|
2398
|
+
<span
|
|
2399
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--zoom-in"
|
|
2400
|
+
aria-hidden="true"
|
|
2401
|
+
data-aeris-custom-icon
|
|
2402
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
2403
|
+
/></span>
|
|
2404
|
+
} @else {
|
|
2405
|
+
<span
|
|
2406
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--zoom-in"
|
|
2407
|
+
aria-hidden="true"
|
|
2408
|
+
></span>
|
|
2409
|
+
}
|
|
2410
|
+
</button>
|
|
2411
|
+
}
|
|
2412
|
+
@if (showResetControl()) {
|
|
2413
|
+
<button
|
|
2414
|
+
type="button"
|
|
2415
|
+
[attr.aria-label]="resetTransformAriaLabel()"
|
|
2416
|
+
[title]="resetTransformAriaLabel()"
|
|
2417
|
+
[disabled]="transformIsDefault()"
|
|
2418
|
+
(click)="resetTransform()"
|
|
2419
|
+
>
|
|
2420
|
+
@if (resetIconTemplate(); as customIcon) {
|
|
2421
|
+
<span
|
|
2422
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--reset"
|
|
2423
|
+
aria-hidden="true"
|
|
2424
|
+
data-aeris-custom-icon
|
|
2425
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
2426
|
+
/></span>
|
|
2427
|
+
} @else {
|
|
2428
|
+
<span
|
|
2429
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--reset"
|
|
2430
|
+
aria-hidden="true"
|
|
2431
|
+
></span>
|
|
2432
|
+
}
|
|
2433
|
+
</button>
|
|
2434
|
+
}
|
|
2435
|
+
@if (showDownloadControl() && downloadAvailable()) {
|
|
2436
|
+
<button
|
|
2437
|
+
type="button"
|
|
2438
|
+
[attr.aria-label]="downloadAriaLabel()"
|
|
2439
|
+
[title]="downloadAriaLabel()"
|
|
2440
|
+
(click)="download()"
|
|
2441
|
+
>
|
|
2442
|
+
@if (downloadIconTemplate(); as customIcon) {
|
|
2443
|
+
<span
|
|
2444
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--download"
|
|
2445
|
+
aria-hidden="true"
|
|
2446
|
+
data-aeris-custom-icon
|
|
2447
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
2448
|
+
/></span>
|
|
2449
|
+
} @else {
|
|
2450
|
+
<span
|
|
2451
|
+
class="aeris-galleria__tool-icon aeris-galleria__tool-icon--download"
|
|
2452
|
+
aria-hidden="true"
|
|
2453
|
+
></span>
|
|
2454
|
+
}
|
|
2455
|
+
</button>
|
|
2456
|
+
}
|
|
2457
|
+
@if (allowFullscreen()) {
|
|
2458
|
+
<button
|
|
2459
|
+
type="button"
|
|
2460
|
+
[attr.aria-label]="
|
|
2461
|
+
fullscreen() ? exitFullscreenAriaLabel() : enterFullscreenAriaLabel()
|
|
2462
|
+
"
|
|
2463
|
+
[title]="
|
|
2464
|
+
fullscreen() ? exitFullscreenAriaLabel() : enterFullscreenAriaLabel()
|
|
2465
|
+
"
|
|
2466
|
+
[attr.aria-pressed]="fullscreen()"
|
|
2467
|
+
(click)="toggleFullscreen()"
|
|
2468
|
+
>
|
|
2469
|
+
@if (fullscreenIconTemplate(); as icon) {
|
|
2470
|
+
<span aria-hidden="true" data-aeris-custom-icon
|
|
2471
|
+
><ng-container
|
|
2472
|
+
[ngTemplateOutlet]="icon.template"
|
|
2473
|
+
[ngTemplateOutletContext]="{
|
|
2474
|
+
$implicit: fullscreen(),
|
|
2475
|
+
fullscreen: fullscreen(),
|
|
2476
|
+
}"
|
|
2477
|
+
/></span>
|
|
2478
|
+
} @else {
|
|
2479
|
+
<span class="aeris-galleria__fullscreen-icon" aria-hidden="true"></span>
|
|
2480
|
+
}
|
|
2481
|
+
</button>
|
|
2482
|
+
}
|
|
2483
|
+
</div>
|
|
1446
2484
|
</div>
|
|
1447
2485
|
}
|
|
1448
2486
|
|
|
@@ -1455,9 +2493,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
1455
2493
|
(click)="previous('previous')"
|
|
1456
2494
|
>
|
|
1457
2495
|
@if (previousIconTemplate(); as icon) {
|
|
1458
|
-
<
|
|
2496
|
+
<span aria-hidden="true" data-aeris-custom-icon
|
|
2497
|
+
><ng-container [ngTemplateOutlet]="icon.template"
|
|
2498
|
+
/></span>
|
|
1459
2499
|
} @else {
|
|
1460
|
-
<span
|
|
2500
|
+
<span
|
|
2501
|
+
aerisInternalIcon="chevron"
|
|
2502
|
+
class="aeris-galleria__chevron"
|
|
2503
|
+
aria-hidden="true"
|
|
2504
|
+
></span>
|
|
1461
2505
|
}
|
|
1462
2506
|
</button>
|
|
1463
2507
|
<button
|
|
@@ -1468,9 +2512,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
1468
2512
|
(click)="next('next')"
|
|
1469
2513
|
>
|
|
1470
2514
|
@if (nextIconTemplate(); as icon) {
|
|
1471
|
-
<
|
|
2515
|
+
<span aria-hidden="true" data-aeris-custom-icon
|
|
2516
|
+
><ng-container [ngTemplateOutlet]="icon.template"
|
|
2517
|
+
/></span>
|
|
1472
2518
|
} @else {
|
|
1473
|
-
<span
|
|
2519
|
+
<span
|
|
2520
|
+
aerisInternalIcon="chevron"
|
|
2521
|
+
class="aeris-galleria__chevron"
|
|
2522
|
+
aria-hidden="true"
|
|
2523
|
+
></span>
|
|
1474
2524
|
}
|
|
1475
2525
|
</button>
|
|
1476
2526
|
}
|
|
@@ -1486,13 +2536,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
1486
2536
|
(click)="toggleFullscreen()"
|
|
1487
2537
|
>
|
|
1488
2538
|
@if (fullscreenIconTemplate(); as icon) {
|
|
1489
|
-
<
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
2539
|
+
<span aria-hidden="true" data-aeris-custom-icon
|
|
2540
|
+
><ng-container
|
|
2541
|
+
[ngTemplateOutlet]="icon.template"
|
|
2542
|
+
[ngTemplateOutletContext]="{
|
|
2543
|
+
$implicit: fullscreen(),
|
|
2544
|
+
fullscreen: fullscreen(),
|
|
2545
|
+
}"
|
|
2546
|
+
/></span>
|
|
1496
2547
|
} @else {
|
|
1497
2548
|
<span class="aeris-galleria__fullscreen-icon" aria-hidden="true"></span>
|
|
1498
2549
|
}
|
|
@@ -1519,22 +2570,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
1519
2570
|
}
|
|
1520
2571
|
}
|
|
1521
2572
|
|
|
1522
|
-
@if (resolvedShowIndicators() && indicatorsOverlay() && views().length > 1) {
|
|
1523
|
-
<ng-container [ngTemplateOutlet]="indicatorList" />
|
|
1524
|
-
}
|
|
1525
|
-
|
|
1526
2573
|
<span class="aeris-galleria__status" aria-live="polite" aria-atomic="true">
|
|
1527
2574
|
{{ activeStatus() }}
|
|
1528
2575
|
</span>
|
|
1529
2576
|
</div>
|
|
1530
2577
|
|
|
1531
|
-
@if (resolvedShowIndicators() && !indicatorsOverlay() && views().length > 1) {
|
|
1532
|
-
<ng-container [ngTemplateOutlet]="indicatorList" />
|
|
1533
|
-
}
|
|
1534
|
-
|
|
1535
2578
|
@if (resolvedShowThumbnails() && views().length > 1) {
|
|
1536
2579
|
<div
|
|
1537
2580
|
class="aeris-galleria__thumbnails"
|
|
2581
|
+
[attr.data-start]="thumbnailStart()"
|
|
1538
2582
|
[attr.data-orientation]="thumbnailOrientation()"
|
|
1539
2583
|
[style.--aeris-galleria-thumbnail-count]="thumbnailWindowCount()"
|
|
1540
2584
|
>
|
|
@@ -1543,20 +2587,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
1543
2587
|
class="aeris-galleria__thumbnail-navigator aeris-galleria__thumbnail-navigator--previous"
|
|
1544
2588
|
type="button"
|
|
1545
2589
|
[attr.aria-label]="previousThumbnailsAriaLabel()"
|
|
1546
|
-
[disabled]="
|
|
2590
|
+
[disabled]="thumbnailAtStart()"
|
|
1547
2591
|
(click)="shiftThumbnails(-1)"
|
|
1548
2592
|
>
|
|
1549
|
-
|
|
2593
|
+
@if (previousIconTemplate(); as icon) {
|
|
2594
|
+
<span aria-hidden="true" data-aeris-custom-icon
|
|
2595
|
+
><ng-container [ngTemplateOutlet]="icon.template"
|
|
2596
|
+
/></span>
|
|
2597
|
+
} @else {
|
|
2598
|
+
<span aerisInternalIcon="chevron" aria-hidden="true"></span>
|
|
2599
|
+
}
|
|
1550
2600
|
</button>
|
|
1551
2601
|
}
|
|
1552
2602
|
|
|
1553
|
-
<div
|
|
2603
|
+
<div
|
|
2604
|
+
#thumbnailViewport
|
|
2605
|
+
class="aeris-galleria__thumbnail-viewport"
|
|
2606
|
+
(scroll)="measureThumbnailScroll()"
|
|
2607
|
+
>
|
|
1554
2608
|
<div
|
|
1555
2609
|
class="aeris-galleria__thumbnail-track"
|
|
1556
2610
|
role="group"
|
|
1557
2611
|
[attr.aria-label]="thumbnailsAriaLabel()"
|
|
1558
2612
|
>
|
|
1559
|
-
@for (view of
|
|
2613
|
+
@for (view of views(); track view.index) {
|
|
1560
2614
|
<button
|
|
1561
2615
|
class="aeris-galleria__thumbnail"
|
|
1562
2616
|
type="button"
|
|
@@ -1593,10 +2647,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
1593
2647
|
class="aeris-galleria__thumbnail-navigator aeris-galleria__thumbnail-navigator--next"
|
|
1594
2648
|
type="button"
|
|
1595
2649
|
[attr.aria-label]="nextThumbnailsAriaLabel()"
|
|
1596
|
-
[disabled]="
|
|
2650
|
+
[disabled]="thumbnailAtEnd()"
|
|
1597
2651
|
(click)="shiftThumbnails(1)"
|
|
1598
2652
|
>
|
|
1599
|
-
|
|
2653
|
+
@if (nextIconTemplate(); as icon) {
|
|
2654
|
+
<span aria-hidden="true" data-aeris-custom-icon
|
|
2655
|
+
><ng-container [ngTemplateOutlet]="icon.template"
|
|
2656
|
+
/></span>
|
|
2657
|
+
} @else {
|
|
2658
|
+
<span aerisInternalIcon="chevron" aria-hidden="true"></span>
|
|
2659
|
+
}
|
|
1600
2660
|
</button>
|
|
1601
2661
|
}
|
|
1602
2662
|
</div>
|
|
@@ -1613,45 +2673,663 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
1613
2673
|
}
|
|
1614
2674
|
</div>
|
|
1615
2675
|
</section>
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
role="group"
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
}, styles: [":host{--aeris-galleria-chevron-icon: var( --aeris-icon-chevron, url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='m7%209.5%205%205%205-5'%20fill='none'%20stroke='black'%20stroke-width='2.4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E\") );--aeris-galleria-enter-fullscreen-icon: url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M8%203H3v5M16%203h5v5M8%2021H3v-5M21%2016v5h-5'%20fill='none'%20stroke='black'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E\");--aeris-galleria-exit-fullscreen-icon: url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M3%208h5V3M21%208h-5V3M3%2016h5v5M21%2016h-5v5'%20fill='none'%20stroke='black'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E\");--aeris-galleria-rotate-left-icon: url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M4%204v6h6M5.5%2015a7%207%200%201%200%201.2-7.7L4%2010'%20fill='none'%20stroke='black'%20stroke-width='2.1'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E\");--aeris-galleria-rotate-right-icon: url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M20%204v6h-6M18.5%2015a7%207%200%201%201-1.2-7.7L20%2010'%20fill='none'%20stroke='black'%20stroke-width='2.1'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E\");--aeris-galleria-flip-horizontal-icon: url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M12%203v18M9%207H4l5%2010V7ZM15%207h5l-5%2010V7Z'%20fill='none'%20stroke='black'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E\");--aeris-galleria-flip-vertical-icon: url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M3%2012h18M7%209V4l10%205H7ZM7%2015v5l10-5H7Z'%20fill='none'%20stroke='black'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E\");--aeris-galleria-zoom-in-icon: url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Ccircle%20cx='10.5'%20cy='10.5'%20r='6.5'%20fill='none'%20stroke='black'%20stroke-width='2'/%3E%3Cpath%20d='m15.5%2015.5%204.5%204.5M10.5%207.5v6M7.5%2010.5h6'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'/%3E%3C/svg%3E\");--aeris-galleria-zoom-out-icon: url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Ccircle%20cx='10.5'%20cy='10.5'%20r='6.5'%20fill='none'%20stroke='black'%20stroke-width='2'/%3E%3Cpath%20d='m15.5%2015.5%204.5%204.5M7.5%2010.5h6'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'/%3E%3C/svg%3E\");--aeris-galleria-reset-icon: url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M4%204v6h6M5.5%2015a7%207%200%201%200%201.2-7.7L4%2010'%20fill='none'%20stroke='black'%20stroke-width='2.1'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E\");--aeris-galleria-download-icon: url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M12%203v12m0%200%205-5m-5%205-5-5M4%2020h16'%20fill='none'%20stroke='black'%20stroke-width='2.1'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E\");display:block;min-inline-size:0}:host([data-fullscreen=true]){position:relative;z-index:var(--aeris-galleria-fullscreen-z-index, 1050)}.aeris-galleria,.aeris-galleria *,.aeris-galleria *:before,.aeris-galleria *:after{box-sizing:border-box}.aeris-galleria{min-inline-size:0;color:var(--aeris-galleria-color, var(--aeris-text, #222222));font:inherit}.aeris-galleria__panel{display:grid;grid-template-areas:\"stage\" \"indicators\" \"thumbnails\";gap:var(--aeris-galleria-gap, calc(var(--aeris-density-gap, .5rem) * 1.5));min-inline-size:0;outline:none}.aeris-galleria[data-thumbnail-position=top] .aeris-galleria__panel{grid-template-areas:\"thumbnails\" \"stage\" \"indicators\"}.aeris-galleria[data-thumbnail-position=start] .aeris-galleria__panel{grid-template-areas:\"thumbnails stage\" \"thumbnails indicators\";grid-template-columns:minmax(4.5rem,var(--aeris-galleria-side-thumbnail-size, 5.5rem)) minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;align-items:stretch}.aeris-galleria[data-thumbnail-position=end] .aeris-galleria__panel{grid-template-areas:\"stage thumbnails\" \"indicators thumbnails\";grid-template-columns:minmax(0,1fr) minmax(5rem,var(--aeris-galleria-side-thumbnail-size, 5.5rem));grid-template-rows:minmax(0,1fr) auto;align-items:stretch}.aeris-galleria__stage{grid-area:stage;position:relative;min-inline-size:0;overflow:hidden;border:1px solid var(--aeris-galleria-border, color-mix(in srgb, var(--aeris-border, #deddd7) 72%, transparent));border-radius:var(--aeris-galleria-radius, var(--aeris-radius-lg, .875rem));background:radial-gradient(circle at 50% 15%,rgba(255,255,255,.07),transparent 48%),var(--aeris-galleria-stage-background, #11130f);box-shadow:var(--aeris-galleria-shadow, 0 1.25rem 3.5rem rgba(31, 35, 27, .14));isolation:isolate}.aeris-galleria__viewport,.aeris-galleria__item{inline-size:100%;block-size:100%;min-inline-size:0}.aeris-galleria__viewport{position:relative;overflow:hidden;touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none;cursor:grab}.aeris-galleria__viewport:active{cursor:grabbing}.aeris-galleria__viewport:focus-visible{outline:3px solid color-mix(in srgb,var(--aeris-focus, #536437) 42%,transparent);outline-offset:-4px}.aeris-galleria__item{display:grid;place-items:center;overflow:hidden;transform:translate3d(var(--aeris-galleria-drag-offset, 0),0,0);will-change:transform,opacity}.aeris-galleria__item[data-motion=next]{animation:aeris-galleria-enter-next var(--aeris-galleria-transition-duration, .42s) var(--aeris-galleria-transition-easing, cubic-bezier(.22, 1, .36, 1))}.aeris-galleria__item[data-motion=previous]{animation:aeris-galleria-enter-previous var(--aeris-galleria-transition-duration, .42s) var(--aeris-galleria-transition-easing, cubic-bezier(.22, 1, .36, 1))}.aeris-galleria__item[data-motion=fade]{animation:aeris-galleria-fade var(--aeris-galleria-transition-duration, .42s) ease-out}.aeris-galleria__item[data-dragging=true]{animation:none;transition:transform 40ms linear}.aeris-galleria__media{display:grid;inline-size:100%;block-size:100%;min-inline-size:0;place-items:center;transform-origin:center;transition:transform var(--aeris-galleria-transform-duration, .22s) ease;will-change:transform}.aeris-galleria__image{display:block;inline-size:100%;block-size:100%;min-inline-size:0;max-inline-size:none;object-position:center;pointer-events:none}.aeris-galleria__stage[data-fit=cover] .aeris-galleria__image{object-fit:cover}.aeris-galleria__stage[data-fit=contain] .aeris-galleria__image{object-fit:contain}.aeris-galleria__default-item{display:grid;inline-size:100%;block-size:100%;min-block-size:14rem;place-items:center;padding:var(--aeris-galleria-item-padding, 1.5rem);color:var(--aeris-galleria-stage-color, #fff);text-align:center}.aeris-galleria__navigator,.aeris-galleria__fullscreen-toggle,.aeris-galleria__toolbar button,.aeris-galleria__grid-item,.aeris-galleria__thumbnail-navigator,.aeris-galleria__thumbnail,.aeris-galleria__indicators button{margin:0;font:inherit;appearance:none;-webkit-appearance:none}.aeris-galleria__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--aeris-galleria-grid-min-item-width, 10rem)),1fr));gap:var(--aeris-galleria-grid-gap, var(--aeris-density-gap-lg, 1rem));min-inline-size:0}.aeris-galleria__grid-cell{min-inline-size:0}.aeris-galleria__grid-item{position:relative;display:grid;inline-size:100%;aspect-ratio:var(--aeris-galleria-grid-aspect-ratio, 4/3);place-items:center;padding:0;overflow:hidden;border:1px solid var(--aeris-galleria-grid-border, var(--aeris-border, #deddd7));border-radius:var(--aeris-galleria-grid-radius, var(--aeris-radius-lg, .875rem));background:var(--aeris-galleria-stage-background, #11130f);color:#fff;cursor:pointer;isolation:isolate;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.aeris-galleria__grid-item:hover{z-index:1;border-color:color-mix(in srgb,var(--aeris-primary, #879566) 62%,var(--aeris-border, #deddd7));box-shadow:0 .8rem 2rem #1f231b29;transform:translateY(-2px)}.aeris-galleria__grid-item[aria-current=true]{border-color:var(--aeris-galleria-active-thumbnail-border, var(--aeris-primary, #879566));box-shadow:0 0 0 2px color-mix(in srgb,var(--aeris-primary, #879566) 22%,transparent)}.aeris-galleria__grid-item img{display:block;inline-size:100%;block-size:100%;max-inline-size:none;object-fit:cover;transition:transform .36s cubic-bezier(.22,1,.36,1)}.aeris-galleria__grid-item:hover img{transform:scale(1.035)}.aeris-galleria__grid-title{position:absolute;inset-inline:0;inset-block-end:0;padding:2.75rem .875rem .75rem;background:linear-gradient(transparent,#050705c7);font-size:.875rem;font-weight:700;text-align:start}.aeris-galleria__toolbar{position:absolute;z-index:6;inset-block-start:var(--aeris-galleria-control-inset, .75rem);inset-inline-start:50%;display:flex;max-inline-size:calc(100% - 6.5rem);align-items:center;gap:.125rem;padding:.3rem;overflow-x:auto;border:1px solid rgba(255,255,255,.18);border-radius:var(--aeris-galleria-toolbar-radius, var(--aeris-radius-control, .6875rem));background:var(--aeris-galleria-toolbar-background, rgba(13, 15, 12, .66));color:#fff;box-shadow:0 .5rem 1.5rem #00000029;-webkit-backdrop-filter:blur(.85rem);backdrop-filter:blur(.85rem);scrollbar-width:none;transform:translate(-50%)}.aeris-galleria__toolbar::-webkit-scrollbar{display:none}.aeris-galleria__toolbar button{display:grid;flex:0 0 auto;inline-size:2.25rem;block-size:2.25rem;place-items:center;padding:0;border:0;border-radius:max(.25rem,var(--aeris-galleria-toolbar-radius, var(--aeris-radius-control, .6875rem)) - .2rem);background:transparent;color:inherit;cursor:pointer}.aeris-galleria__toolbar button:hover:not(:disabled),.aeris-galleria__toolbar button[aria-pressed=true]{background:#ffffff21}.aeris-galleria__toolbar button:disabled{opacity:.36;cursor:not-allowed}.aeris-galleria__zoom-value{min-inline-size:3.25rem;color:#ffffffc2;font-size:.6875rem;font-variant-numeric:tabular-nums;text-align:center}.aeris-galleria__tool-icon{display:block;inline-size:1.1rem;block-size:1.1rem;background:currentColor;-webkit-mask-position:center;-webkit-mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-position:center;mask-size:100% 100%;mask-repeat:no-repeat}.aeris-galleria__tool-icon--rotate-left{-webkit-mask-image:var(--aeris-galleria-rotate-left-icon);mask-image:var(--aeris-galleria-rotate-left-icon)}.aeris-galleria__tool-icon--rotate-right{-webkit-mask-image:var(--aeris-galleria-rotate-right-icon);mask-image:var(--aeris-galleria-rotate-right-icon)}.aeris-galleria__tool-icon--flip-horizontal{-webkit-mask-image:var(--aeris-galleria-flip-horizontal-icon);mask-image:var(--aeris-galleria-flip-horizontal-icon)}.aeris-galleria__tool-icon--flip-vertical{-webkit-mask-image:var(--aeris-galleria-flip-vertical-icon);mask-image:var(--aeris-galleria-flip-vertical-icon)}.aeris-galleria__tool-icon--zoom-in{-webkit-mask-image:var(--aeris-galleria-zoom-in-icon);mask-image:var(--aeris-galleria-zoom-in-icon)}.aeris-galleria__tool-icon--zoom-out{-webkit-mask-image:var(--aeris-galleria-zoom-out-icon);mask-image:var(--aeris-galleria-zoom-out-icon)}.aeris-galleria__tool-icon--reset{-webkit-mask-image:var(--aeris-galleria-reset-icon);mask-image:var(--aeris-galleria-reset-icon)}.aeris-galleria__tool-icon--download{-webkit-mask-image:var(--aeris-galleria-download-icon);mask-image:var(--aeris-galleria-download-icon)}.aeris-galleria__navigator,.aeris-galleria__fullscreen-toggle{position:absolute;z-index:4;display:grid;inline-size:max(2.75rem,var(--aeris-control-height, 2.625rem));block-size:max(2.75rem,var(--aeris-control-height, 2.625rem));place-items:center;padding:0;border:1px solid rgba(255,255,255,.22);border-radius:var(--aeris-galleria-control-radius, var(--aeris-radius-control, .6875rem));background:#0d0f0c9e;color:#fff;box-shadow:0 .5rem 1.5rem #0000002e;-webkit-backdrop-filter:blur(.75rem);backdrop-filter:blur(.75rem);cursor:pointer;transition:opacity .18s ease,transform .18s ease,background-color .18s ease,border-color .18s ease}.aeris-galleria__navigator{inset-block-start:50%;transform:translateY(-50%)}.aeris-galleria__navigator--previous{inset-inline-start:var(--aeris-galleria-control-inset, .75rem)}.aeris-galleria__navigator--next{inset-inline-end:var(--aeris-galleria-control-inset, .75rem)}.aeris-galleria__fullscreen-toggle{inset-block-start:var(--aeris-galleria-control-inset, .75rem);inset-inline-end:var(--aeris-galleria-control-inset, .75rem)}.aeris-galleria__navigator:hover:not(:disabled),.aeris-galleria__fullscreen-toggle:hover{border-color:#ffffff6b;background:#0d0f0cd1}.aeris-galleria__navigator:hover:not(:disabled){transform:translateY(-50%) scale(1.04)}.aeris-galleria__fullscreen-toggle:hover{transform:scale(1.04)}.aeris-galleria__navigator:disabled{opacity:.32;cursor:not-allowed}.aeris-galleria__stage[data-navigators-on-hover=true] .aeris-galleria__navigator{opacity:0}.aeris-galleria__stage[data-navigators-on-hover=true]:hover .aeris-galleria__navigator,.aeris-galleria__stage[data-navigators-on-hover=true]:focus-within .aeris-galleria__navigator{opacity:1}.aeris-galleria__chevron,.aeris-galleria__thumbnail-navigator span{display:block;inline-size:1.2rem;block-size:1.2rem;background:currentColor;-webkit-mask:var(--aeris-galleria-chevron-icon) center/100% 100% no-repeat;mask:var(--aeris-galleria-chevron-icon) center/100% 100% no-repeat}.aeris-galleria__navigator--previous .aeris-galleria__chevron,.aeris-galleria__thumbnail-navigator--previous span{transform:rotate(90deg)}.aeris-galleria__navigator--next .aeris-galleria__chevron,.aeris-galleria__thumbnail-navigator--next span{transform:rotate(-90deg)}:host-context([dir=rtl]) .aeris-galleria__navigator--previous .aeris-galleria__chevron,:host-context([dir=rtl]) .aeris-galleria__thumbnail-navigator--previous span{transform:rotate(-90deg)}:host-context([dir=rtl]) .aeris-galleria__navigator--next .aeris-galleria__chevron,:host-context([dir=rtl]) .aeris-galleria__thumbnail-navigator--next span{transform:rotate(90deg)}.aeris-galleria__fullscreen-icon{display:block;inline-size:1.2rem;block-size:1.2rem;background:currentColor;-webkit-mask:var(--aeris-galleria-enter-fullscreen-icon) center/100% 100% no-repeat;mask:var(--aeris-galleria-enter-fullscreen-icon) center/100% 100% no-repeat}.aeris-galleria__fullscreen-toggle[aria-pressed=true] .aeris-galleria__fullscreen-icon,.aeris-galleria__toolbar button[aria-pressed=true] .aeris-galleria__fullscreen-icon{-webkit-mask-image:var(--aeris-galleria-exit-fullscreen-icon);mask-image:var(--aeris-galleria-exit-fullscreen-icon)}.aeris-galleria__caption{position:absolute;z-index:3;inset-inline:0;inset-block-end:0;display:grid;gap:.25rem;padding:clamp(3.5rem,15%,7rem) clamp(1rem,4vw,2rem) clamp(1rem,3vw,1.75rem);background:linear-gradient(180deg,transparent,rgba(6,8,6,.82));color:#fff;pointer-events:none}.aeris-galleria__caption strong{font-size:clamp(1rem,2.5vw,1.4rem);line-height:1.2}.aeris-galleria__caption span{max-inline-size:58ch;color:#ffffffc7;font-size:clamp(.8125rem,2vw,.9375rem);line-height:1.5}.aeris-galleria__caption>*{pointer-events:auto}.aeris-galleria__thumbnails{grid-area:thumbnails;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--aeris-galleria-thumbnail-gap, var(--aeris-density-gap, .5rem));min-inline-size:0}.aeris-galleria__thumbnails[data-orientation=vertical]{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;min-block-size:0}.aeris-galleria__thumbnail-viewport{min-inline-size:0;min-block-size:0;margin:-.25rem;padding:.25rem;overflow:clip;border-radius:var(--aeris-galleria-thumbnail-viewport-radius, var(--aeris-radius-md, .625rem))}.aeris-galleria__thumbnail-track{display:grid;grid-template-columns:repeat(var(--aeris-galleria-thumbnail-count),minmax(0,var(--aeris-galleria-thumbnail-width, 5.75rem)));gap:var(--aeris-galleria-thumbnail-gap, var(--aeris-density-gap, .5rem));justify-content:center;min-inline-size:0;animation:aeris-galleria-thumbnails-enter .22s ease-out}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-track{grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(var(--aeris-galleria-thumbnail-count),minmax(0,var(--aeris-galleria-thumbnail-height, 4.5rem)));block-size:100%}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail{inline-size:100%;block-size:100%;aspect-ratio:auto}.aeris-galleria__thumbnail{position:relative;z-index:0;display:grid;min-inline-size:0;min-block-size:0;aspect-ratio:var(--aeris-galleria-thumbnail-aspect-ratio, 16/10);place-items:center;padding:var(--aeris-galleria-thumbnail-padding, .2rem);border:1px solid var(--aeris-galleria-thumbnail-border, var(--aeris-border, #deddd7));border-radius:var(--aeris-galleria-thumbnail-radius, var(--aeris-radius-md, .625rem));background:var(--aeris-galleria-thumbnail-background, var(--aeris-surface, #fff));color:var(--aeris-galleria-color, var(--aeris-text, #222222));overflow:visible;cursor:pointer;opacity:.68;transition:opacity .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}.aeris-galleria__thumbnail[aria-current=true]{border-color:var(--aeris-galleria-active-thumbnail-border, var(--aeris-primary, #879566));box-shadow:0 0 0 2px color-mix(in srgb,var(--aeris-primary, #879566) 22%,transparent);opacity:1}.aeris-galleria__thumbnail-content{display:grid;inline-size:100%;block-size:100%;min-inline-size:0;min-block-size:0;place-items:center;overflow:hidden;border-radius:max(0px,var(--aeris-galleria-thumbnail-radius, var(--aeris-radius-md, .625rem)) - var(--aeris-galleria-thumbnail-padding, .2rem) - 1px)}.aeris-galleria__thumbnail-content img{display:block;inline-size:100%;block-size:100%;max-inline-size:none;max-block-size:none;border-radius:inherit;object-fit:cover;pointer-events:none}.aeris-galleria__thumbnail-navigator{display:grid;inline-size:max(2.25rem,var(--aeris-control-height-sm, 2.25rem));block-size:max(2.25rem,var(--aeris-control-height-sm, 2.25rem));place-items:center;padding:0;border:1px solid var(--aeris-galleria-thumbnail-navigator-border, var(--aeris-border, #deddd7));border-radius:var(--aeris-galleria-thumbnail-navigator-radius, var(--aeris-radius-control, .6875rem));background:var(--aeris-galleria-thumbnail-navigator-background, var(--aeris-surface, #fff));color:var(--aeris-galleria-color, var(--aeris-text, #222222));cursor:pointer}.aeris-galleria__thumbnail-navigator:hover:not(:disabled){border-color:color-mix(in srgb,var(--aeris-primary, #879566) 48%,var(--aeris-border, #deddd7));background:color-mix(in srgb,var(--aeris-primary, #879566) 9%,var(--aeris-surface, #fff))}.aeris-galleria__thumbnail-navigator:disabled{opacity:.38;cursor:not-allowed}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator{justify-self:center}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator--previous span{transform:rotate(180deg)}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator--next span{transform:none}.aeris-galleria__indicators{grid-area:indicators;display:flex;flex-wrap:wrap;justify-content:center;gap:var(--aeris-galleria-indicator-gap, .5rem);min-inline-size:0}.aeris-galleria__indicators--overlay{position:absolute;z-index:4;inset-block-start:var(--aeris-galleria-control-inset, .75rem);inset-inline-start:50%;transform:translate(-50%);padding:.5rem .625rem;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:#0d0f0c8a;-webkit-backdrop-filter:blur(.75rem);backdrop-filter:blur(.75rem)}.aeris-galleria__stage[data-toolbar=true] .aeris-galleria__indicators--overlay{inset-block-start:4.25rem}.aeris-galleria__indicators button{inline-size:var(--aeris-galleria-indicator-size, .625rem);block-size:var(--aeris-galleria-indicator-size, .625rem);padding:0;border:0;border-radius:999px;background:var(--aeris-galleria-indicator-background, var(--aeris-border-strong, #c7c9c0));cursor:pointer;transition:inline-size .18s ease,background-color .18s ease}.aeris-galleria__indicators--overlay button{background:#ffffff7a}.aeris-galleria__indicators button[aria-current=true]{inline-size:var(--aeris-galleria-active-indicator-width, 1.5rem);background:var(--aeris-galleria-active-indicator-background, var(--aeris-primary, #879566))}.aeris-galleria__indicators--overlay button[aria-current=true]{background:#fff}.aeris-galleria__navigator:focus-visible,.aeris-galleria__fullscreen-toggle:focus-visible,.aeris-galleria__toolbar button:focus-visible,.aeris-galleria__grid-item:focus-visible,.aeris-galleria__thumbnail:focus-visible,.aeris-galleria__thumbnail-navigator:focus-visible,.aeris-galleria__indicators button:focus-visible{outline:3px solid color-mix(in srgb,var(--aeris-focus, #536437) 38%,transparent);outline-offset:2px}.aeris-galleria__empty{display:grid;min-block-size:var(--aeris-galleria-empty-min-height, 15rem);place-items:center;padding:2rem;border:1px dashed var(--aeris-galleria-border, var(--aeris-border, #deddd7));border-radius:var(--aeris-galleria-radius, var(--aeris-radius-lg, .875rem));background:var(--aeris-galleria-empty-background, var(--aeris-surface-2, #f6f6f2));color:var(--aeris-galleria-muted-color, var(--aeris-text-muted, #6d7067));text-align:center}.aeris-galleria__status{position:absolute;inline-size:1px;block-size:1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.aeris-galleria--fullscreen{position:fixed;z-index:var(--aeris-galleria-fullscreen-z-index, 1050);inset:0;min-block-size:100vh;min-block-size:100dvh;display:grid;place-items:center;padding:clamp(.5rem,2.5vw,2rem);overflow:hidden;background:var(--aeris-galleria-backdrop, rgba(5, 7, 5, .88))}.aeris-galleria--fullscreen[data-backdrop-blur]{-webkit-backdrop-filter:blur(var(--aeris-galleria-backdrop-blur, var(--aeris-backdrop-blur, .25rem)));backdrop-filter:blur(var(--aeris-galleria-backdrop-blur, var(--aeris-backdrop-blur, .25rem)))}.aeris-galleria--fullscreen .aeris-galleria__panel{inline-size:min(100%,var(--aeris-galleria-fullscreen-max-width, 96rem));block-size:calc(100vh - clamp(1rem,5vw,4rem));block-size:calc(100dvh - clamp(1rem,5vw,4rem));max-block-size:100%;grid-template-areas:\"stage\" \"indicators\" \"thumbnails\";grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto;gap:var(--aeris-galleria-fullscreen-gap, .5rem)}.aeris-galleria--fullscreen .aeris-galleria__stage{min-block-size:0;max-block-size:none;aspect-ratio:auto!important;block-size:auto;border-color:#ffffff24;box-shadow:0 2rem 7rem #0000006b}.aeris-galleria--fullscreen .aeris-galleria__thumbnails{inline-size:100%}.aeris-galleria--fullscreen .aeris-galleria__thumbnail-track{grid-template-columns:repeat(var(--aeris-galleria-thumbnail-count),minmax(0,var(--aeris-galleria-fullscreen-thumbnail-width, 6.5rem)));justify-content:center}.aeris-galleria--fullscreen .aeris-galleria__thumbnail{aspect-ratio:var(--aeris-galleria-fullscreen-thumbnail-aspect-ratio, 16/9)}@keyframes aeris-galleria-enter-next{0%{opacity:.28;transform:translate3d(4%,0,0) scale(1.015)}to{opacity:1;transform:translateZ(0) scale(1)}}@keyframes aeris-galleria-enter-previous{0%{opacity:.28;transform:translate3d(-4%,0,0) scale(1.015)}to{opacity:1;transform:translateZ(0) scale(1)}}@keyframes aeris-galleria-fade{0%{opacity:.35;transform:scale(1.01)}to{opacity:1;transform:scale(1)}}@keyframes aeris-galleria-thumbnails-enter{0%{opacity:.5;transform:translateY(.2rem)}to{opacity:1;transform:translateY(0)}}@media(max-width:40rem){.aeris-galleria__panel,.aeris-galleria[data-thumbnail-position=start] .aeris-galleria__panel,.aeris-galleria[data-thumbnail-position=end] .aeris-galleria__panel{grid-template-areas:\"stage\" \"indicators\" \"thumbnails\";grid-template-columns:minmax(0,1fr);grid-template-rows:auto}.aeris-galleria__stage{min-block-size:13rem}.aeris-galleria__thumbnails[data-orientation=vertical]{grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-track{grid-template-columns:repeat(var(--aeris-galleria-thumbnail-count),minmax(0,var(--aeris-galleria-thumbnail-width, 5.75rem)));grid-template-rows:auto;block-size:auto;justify-content:center}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator--previous span{transform:rotate(90deg)}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator--next span{transform:rotate(-90deg)}.aeris-galleria__navigator,.aeris-galleria__fullscreen-toggle{inline-size:2.75rem;block-size:2.75rem}.aeris-galleria__toolbar{inset-inline:.5rem;max-inline-size:none;justify-content:flex-start;transform:none}.aeris-galleria__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--aeris-galleria-grid-mobile-gap, .625rem)}.aeris-galleria__caption{padding-inline:1rem}.aeris-galleria__caption span{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.aeris-galleria--fullscreen{padding:.5rem}.aeris-galleria--fullscreen .aeris-galleria__panel{block-size:calc(100vh - 1rem);block-size:calc(100dvh - 1rem)}.aeris-galleria--fullscreen .aeris-galleria__stage{min-block-size:0}.aeris-galleria--fullscreen .aeris-galleria__thumbnail-track{grid-template-columns:repeat(var(--aeris-galleria-thumbnail-count),minmax(0,var(--aeris-galleria-fullscreen-thumbnail-width, 4.5rem)))}}@media(max-width:40rem){:host-context([dir=rtl]) .aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator--previous span{transform:rotate(-90deg)}:host-context([dir=rtl]) .aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator--next span{transform:rotate(90deg)}}@media(hover:none){.aeris-galleria__stage[data-navigators-on-hover=true] .aeris-galleria__navigator{opacity:1}}@media(hover:hover){.aeris-galleria__thumbnail:hover{z-index:1;opacity:.9;transform:scale(1.04)}}@media(prefers-reduced-motion:reduce){.aeris-galleria__item,.aeris-galleria__media,.aeris-galleria__grid-item,.aeris-galleria__grid-item img,.aeris-galleria__thumbnail-track{animation:none}.aeris-galleria__navigator,.aeris-galleria__fullscreen-toggle,.aeris-galleria__thumbnail,.aeris-galleria__thumbnail-track,.aeris-galleria__indicators button{transition:none}}\n"] }]
|
|
1639
|
-
|
|
2676
|
+
`,
|
|
2677
|
+
host: {
|
|
2678
|
+
class: "aeris-galleria-host",
|
|
2679
|
+
"[attr.data-fullscreen]": "fullscreen() || null"
|
|
2680
|
+
},
|
|
2681
|
+
styles: [":host{--aeris-galleria-chevron-icon: var( --aeris-icon-chevron, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"m6 9 6 6 6-6\"/%3E%3C/svg%3E') );--aeris-galleria-enter-fullscreen-icon: url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"M8 3H5a2 2 0 0 0-2 2v3\"/%3E%3Cpath d=\"M21 8V5a2 2 0 0 0-2-2h-3\"/%3E%3Cpath d=\"M3 16v3a2 2 0 0 0 2 2h3\"/%3E%3Cpath d=\"M16 21h3a2 2 0 0 0 2-2v-3\"/%3E%3C/svg%3E');--aeris-galleria-exit-fullscreen-icon: url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"M8 3v3a2 2 0 0 1-2 2H3\"/%3E%3Cpath d=\"M21 8h-3a2 2 0 0 1-2-2V3\"/%3E%3Cpath d=\"M3 16h3a2 2 0 0 1 2 2v3\"/%3E%3Cpath d=\"M16 21v-3a2 2 0 0 1 2-2h3\"/%3E%3C/svg%3E');--aeris-galleria-rotate-left-icon: url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8\"/%3E%3Cpath d=\"M3 3v5h5\"/%3E%3C/svg%3E');--aeris-galleria-rotate-right-icon: url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8\"/%3E%3Cpath d=\"M21 3v5h-5\"/%3E%3C/svg%3E');--aeris-galleria-flip-horizontal-icon: url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"M8 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h3\"/%3E%3Cpath d=\"M16 3h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-3\"/%3E%3Cpath d=\"M12 20v2\"/%3E%3Cpath d=\"M12 14v2\"/%3E%3Cpath d=\"M12 8v2\"/%3E%3Cpath d=\"M12 2v2\"/%3E%3C/svg%3E');--aeris-galleria-flip-vertical-icon: url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"M21 8V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3\"/%3E%3Cpath d=\"M21 16v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-3\"/%3E%3Cpath d=\"M4 12H2\"/%3E%3Cpath d=\"M10 12H8\"/%3E%3Cpath d=\"M16 12h-2\"/%3E%3Cpath d=\"M22 12h-2\"/%3E%3C/svg%3E');--aeris-galleria-zoom-in-icon: url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Ccircle cx=\"11\" cy=\"11\" r=\"8\"/%3E%3Cline x1=\"21\" x2=\"16.65\" y1=\"21\" y2=\"16.65\"/%3E%3Cline x1=\"11\" x2=\"11\" y1=\"8\" y2=\"14\"/%3E%3Cline x1=\"8\" x2=\"14\" y1=\"11\" y2=\"11\"/%3E%3C/svg%3E');--aeris-galleria-zoom-out-icon: url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Ccircle cx=\"11\" cy=\"11\" r=\"8\"/%3E%3Cline x1=\"21\" x2=\"16.65\" y1=\"21\" y2=\"16.65\"/%3E%3Cline x1=\"8\" x2=\"14\" y1=\"11\" y2=\"11\"/%3E%3C/svg%3E');--aeris-galleria-reset-icon: url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8\"/%3E%3Cpath d=\"M3 3v5h5\"/%3E%3C/svg%3E');--aeris-galleria-download-icon: url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"M12 15V3\"/%3E%3Cpath d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"/%3E%3Cpath d=\"m7 10 5 5 5-5\"/%3E%3C/svg%3E');display:block;min-inline-size:0}:host([data-fullscreen=true]){position:relative;z-index:var(--aeris-galleria-fullscreen-z-index, 1050)}.aeris-galleria,.aeris-galleria *,.aeris-galleria *:before,.aeris-galleria *:after{box-sizing:border-box}.aeris-galleria{min-inline-size:0;color:var(--aeris-galleria-color, var(--aeris-text, #111111));font:inherit}.aeris-galleria__panel{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:\"stage\" \"thumbnails\";gap:var(--aeris-galleria-gap, calc(var(--aeris-density-gap, .5rem) * 1.5));min-inline-size:0;outline:none}.aeris-galleria[data-thumbnail-position=top] .aeris-galleria__panel{grid-template-areas:\"thumbnails\" \"stage\"}.aeris-galleria[data-thumbnail-position=start] .aeris-galleria__panel{grid-template-areas:\"thumbnails stage\";grid-template-columns:minmax(4.5rem,var(--aeris-galleria-side-thumbnail-size, 5.5rem)) minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-items:stretch}.aeris-galleria[data-thumbnail-position=end] .aeris-galleria__panel{grid-template-areas:\"stage thumbnails\";grid-template-columns:minmax(0,1fr) minmax(5rem,var(--aeris-galleria-side-thumbnail-size, 5.5rem));grid-template-rows:minmax(0,1fr);align-items:stretch}.aeris-galleria__stage{grid-area:stage;inline-size:100%;position:relative;min-inline-size:0;overflow:hidden;border:1px solid var(--aeris-galleria-border, color-mix(in srgb, var(--aeris-border, #efefef) 72%, transparent));border-radius:var(--aeris-galleria-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));background:radial-gradient(circle at 50% 15%,rgba(255,255,255,.07),transparent 48%),var(--aeris-galleria-stage-background, #11130f);box-shadow:var(--aeris-galleria-shadow, 0 1.25rem 3.5rem rgba(31, 35, 27, .14));isolation:isolate;filter:opacity(1)}.aeris-galleria__viewport,.aeris-galleria__item{inline-size:100%;block-size:100%;min-inline-size:0}.aeris-galleria__viewport{position:relative;overflow:hidden;touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none;cursor:grab;-webkit-tap-highlight-color:transparent}.aeris-galleria__viewport[data-zoomed]{touch-action:pinch-zoom}.aeris-galleria__viewport:active{cursor:grabbing}.aeris-galleria__viewport:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid color-mix(in srgb,var(--aeris-focus, #111111) 42%,transparent);outline-offset:-4px}.aeris-galleria__item{display:grid;place-items:center;overflow:hidden;transform:translate3d(var(--aeris-galleria-drag-offset, 0),0,0);will-change:transform,opacity}.aeris-galleria__item[data-motion=next]{animation:aeris-galleria-enter-next var(--aeris-galleria-transition-duration, .42s) var(--aeris-galleria-transition-easing, cubic-bezier(.22, 1, .36, 1))}.aeris-galleria__item[data-motion=previous]{animation:aeris-galleria-enter-previous var(--aeris-galleria-transition-duration, .42s) var(--aeris-galleria-transition-easing, cubic-bezier(.22, 1, .36, 1))}.aeris-galleria__item[data-motion=fade]{animation:aeris-galleria-fade var(--aeris-galleria-transition-duration, .42s) ease-out}.aeris-galleria__item[data-dragging=true]{animation:none;transition:transform 40ms linear}.aeris-galleria__media{display:grid;inline-size:100%;block-size:100%;min-inline-size:0;place-items:center;transform-origin:center;transition:transform var(--aeris-galleria-transform-duration, .22s) ease;will-change:transform}.aeris-galleria__media[data-panning]{transition:none}.aeris-galleria__image{display:block;inline-size:100%;block-size:100%;min-inline-size:0;max-inline-size:none;object-position:center;pointer-events:none}.aeris-galleria__stage[data-fit=cover] .aeris-galleria__image{object-fit:cover}.aeris-galleria__stage[data-fit=contain] .aeris-galleria__image{object-fit:contain}.aeris-galleria__default-item{display:grid;inline-size:100%;block-size:100%;min-block-size:14rem;place-items:center;padding:var(--aeris-galleria-item-padding, 1.5rem);color:var(--aeris-galleria-stage-color, #fff);text-align:center}.aeris-galleria__navigator,.aeris-galleria__fullscreen-toggle,.aeris-galleria__toolbar button,.aeris-galleria__grid-item,.aeris-galleria__thumbnail-navigator,.aeris-galleria__thumbnail{margin:0;font:inherit;appearance:none;-webkit-appearance:none}.aeris-galleria__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--aeris-galleria-grid-min-item-width, 10rem)),1fr));gap:var(--aeris-galleria-grid-gap, var(--aeris-density-gap-lg, 1rem));min-inline-size:0}.aeris-galleria__grid-cell{min-inline-size:0}.aeris-galleria__grid-item{position:relative;display:grid;inline-size:100%;aspect-ratio:var(--aeris-galleria-grid-aspect-ratio, 4/3);place-items:center;padding:0;overflow:hidden;border:1px solid var(--aeris-galleria-grid-border, var(--aeris-border));border-radius:var(--aeris-galleria-grid-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));background:var(--aeris-galleria-stage-background, #11130f);color:#fff;cursor:pointer;isolation:isolate;transition:transform var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}@media(hover:hover){.aeris-galleria__grid-item:hover{z-index:1;border-color:color-mix(in srgb,var(--aeris-primary, #111111) 62%,var(--aeris-border, #efefef));box-shadow:0 .8rem 2rem #1f231b29;transform:translateY(-2px)}}.aeris-galleria__grid-item[aria-current=true]{border-color:var(--aeris-galleria-active-thumbnail-border, var(--aeris-primary, #111111));box-shadow:0 0 0 2px color-mix(in srgb,var(--aeris-primary, #111111) 22%,transparent)}.aeris-galleria__grid-item img{display:block;inline-size:100%;block-size:100%;max-inline-size:none;object-fit:cover;transition:transform .36s cubic-bezier(.22,1,.36,1)}@media(hover:hover){.aeris-galleria__grid-item:hover img{transform:scale(1.035)}}.aeris-galleria__grid-title{position:absolute;inset-inline:0;inset-block-end:0;padding:2.75rem .875rem .75rem;background:linear-gradient(transparent,#050705c7);font-size:var(--aeris-font-size-lg, .875rem);font-weight:var(--aeris-font-weight-bold, 700);text-align:start}.aeris-galleria__toolbar-frame{--_aeris-galleria-toolbar-fade-left: 0px;--_aeris-galleria-toolbar-fade-right: 0px;position:absolute;z-index:6;inset-block-start:var(--aeris-galleria-control-inset, .75rem);left:50%;inline-size:max-content;max-inline-size:calc(100% - 6.5rem);overflow:hidden;border:1px solid rgba(255,255,255,.18);border-radius:var(--aeris-galleria-toolbar-radius, var(--aeris-radius-control, .6875rem));background:var(--aeris-galleria-toolbar-background, rgba(13, 15, 12, .66));color:#fff;box-shadow:0 .5rem 1.5rem #00000029;-webkit-backdrop-filter:blur(.85rem);backdrop-filter:blur(.85rem);transform:translate(-50%)}.aeris-galleria__toolbar-frame[data-fade-left]{--_aeris-galleria-toolbar-fade-left: var(--aeris-galleria-toolbar-fade-size, 1.5rem)}.aeris-galleria__toolbar-frame[data-fade-right]{--_aeris-galleria-toolbar-fade-right: var(--aeris-galleria-toolbar-fade-size, 1.5rem)}.aeris-galleria__toolbar{display:flex;align-items:center;gap:.125rem;padding:.3rem;overflow-x:auto;scrollbar-width:none;scroll-padding-inline:var(--aeris-galleria-toolbar-fade-size, 1.5rem);-webkit-mask-image:linear-gradient(to right,transparent,#000 var(--_aeris-galleria-toolbar-fade-left),#000 calc(100% - var(--_aeris-galleria-toolbar-fade-right)),transparent);mask-image:linear-gradient(to right,transparent,#000 var(--_aeris-galleria-toolbar-fade-left),#000 calc(100% - var(--_aeris-galleria-toolbar-fade-right)),transparent)}.aeris-galleria__toolbar::-webkit-scrollbar{display:none}.aeris-galleria__toolbar button{display:grid;flex:0 0 auto;inline-size:2.25rem;block-size:2.25rem;place-items:center;padding:0;border:0;border-radius:var(--aeris-radius-item, var(--aeris-radius-sm, .4375rem));background:transparent;color:inherit;cursor:pointer}.aeris-galleria__toolbar button[aria-pressed=true]{background:#ffffff21}@media(hover:hover){.aeris-galleria__toolbar button:hover:not(:disabled){background:#ffffff21}}.aeris-galleria__toolbar button:disabled{opacity:.36;cursor:not-allowed}.aeris-galleria__zoom-value{flex:0 0 auto;inline-size:3.25rem;min-inline-size:3.25rem;color:#ffffffc2;font-size:var(--aeris-font-size-xs, .6875rem);font-variant-numeric:tabular-nums;text-align:center}.aeris-galleria__tool-icon{display:block;inline-size:1.1rem;block-size:1.1rem;background:currentColor;-webkit-mask-position:center;-webkit-mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-position:center;mask-size:100% 100%;mask-repeat:no-repeat}.aeris-galleria__tool-icon--rotate-left{-webkit-mask-image:var(--aeris-galleria-rotate-left-icon);mask-image:var(--aeris-galleria-rotate-left-icon)}.aeris-galleria__tool-icon--rotate-right{-webkit-mask-image:var(--aeris-galleria-rotate-right-icon);mask-image:var(--aeris-galleria-rotate-right-icon)}.aeris-galleria__tool-icon--flip-horizontal{-webkit-mask-image:var(--aeris-galleria-flip-horizontal-icon);mask-image:var(--aeris-galleria-flip-horizontal-icon)}.aeris-galleria__tool-icon--flip-vertical{-webkit-mask-image:var(--aeris-galleria-flip-vertical-icon);mask-image:var(--aeris-galleria-flip-vertical-icon)}.aeris-galleria__tool-icon--zoom-in{-webkit-mask-image:var(--aeris-galleria-zoom-in-icon);mask-image:var(--aeris-galleria-zoom-in-icon)}.aeris-galleria__tool-icon--zoom-out{-webkit-mask-image:var(--aeris-galleria-zoom-out-icon);mask-image:var(--aeris-galleria-zoom-out-icon)}.aeris-galleria__tool-icon--reset{-webkit-mask-image:var(--aeris-galleria-reset-icon);mask-image:var(--aeris-galleria-reset-icon)}.aeris-galleria__tool-icon--download{-webkit-mask-image:var(--aeris-galleria-download-icon);mask-image:var(--aeris-galleria-download-icon)}.aeris-galleria__navigator,.aeris-galleria__fullscreen-toggle{position:absolute;z-index:4;display:grid;inline-size:max(2.75rem,var(--aeris-control-height, 2.625rem));block-size:max(2.75rem,var(--aeris-control-height, 2.625rem));place-items:center;padding:0;border:1px solid rgba(255,255,255,.22);border-radius:var(--aeris-galleria-control-radius, var(--aeris-radius-control, .6875rem));background:#0d0f0c9e;color:#fff;box-shadow:0 .5rem 1.5rem #0000002e;-webkit-backdrop-filter:blur(.75rem);backdrop-filter:blur(.75rem);cursor:pointer;transition:opacity var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),transform var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-galleria__navigator{inset-block-start:50%;transform:translateY(-50%)}.aeris-galleria__navigator--previous{inset-inline-start:var(--aeris-galleria-control-inset, .75rem)}.aeris-galleria__navigator--next{inset-inline-end:var(--aeris-galleria-control-inset, .75rem)}.aeris-galleria__fullscreen-toggle{inset-block-start:var(--aeris-galleria-control-inset, .75rem);inset-inline-end:var(--aeris-galleria-control-inset, .75rem)}@media(hover:hover){.aeris-galleria__navigator:hover:not(:disabled),.aeris-galleria__fullscreen-toggle:hover{border-color:#ffffff6b;background:#0d0f0cd1}}@media(hover:hover){.aeris-galleria__navigator:hover:not(:disabled){transform:translateY(-50%) scale(1.04)}}@media(hover:hover){.aeris-galleria__fullscreen-toggle:hover{transform:scale(1.04)}}.aeris-galleria__navigator:disabled{opacity:.32;cursor:not-allowed}.aeris-galleria__stage[data-navigators-on-hover=true] .aeris-galleria__navigator{opacity:0}.aeris-galleria__stage[data-navigators-on-hover=true]:focus-within .aeris-galleria__navigator{opacity:1}@media(hover:hover){.aeris-galleria__stage[data-navigators-on-hover=true]:hover .aeris-galleria__navigator{opacity:1}}.aeris-galleria__chevron,.aeris-galleria__thumbnail-navigator span{display:block;inline-size:1.2rem;block-size:1.2rem;background:currentColor;-webkit-mask:var(--aeris-galleria-chevron-icon) center/100% 100% no-repeat;mask:var(--aeris-galleria-chevron-icon) center/100% 100% no-repeat}.aeris-galleria__navigator--previous .aeris-galleria__chevron,.aeris-galleria__thumbnail-navigator--previous span{transform:rotate(90deg)}.aeris-galleria__navigator--next .aeris-galleria__chevron,.aeris-galleria__thumbnail-navigator--next span{transform:rotate(-90deg)}:host-context([dir=rtl]) .aeris-galleria__navigator--previous .aeris-galleria__chevron,:host-context([dir=rtl]) .aeris-galleria__thumbnail-navigator--previous span{transform:rotate(-90deg)}:host-context([dir=rtl]) .aeris-galleria__navigator--next .aeris-galleria__chevron,:host-context([dir=rtl]) .aeris-galleria__thumbnail-navigator--next span{transform:rotate(90deg)}.aeris-galleria__fullscreen-icon{display:block;inline-size:1.2rem;block-size:1.2rem;background:currentColor;-webkit-mask:var(--aeris-galleria-enter-fullscreen-icon) center/100% 100% no-repeat;mask:var(--aeris-galleria-enter-fullscreen-icon) center/100% 100% no-repeat}.aeris-galleria__fullscreen-toggle[aria-pressed=true] .aeris-galleria__fullscreen-icon,.aeris-galleria__toolbar button[aria-pressed=true] .aeris-galleria__fullscreen-icon{-webkit-mask-image:var(--aeris-galleria-exit-fullscreen-icon);mask-image:var(--aeris-galleria-exit-fullscreen-icon)}.aeris-galleria__caption{position:absolute;z-index:3;inset-inline:0;inset-block-end:0;display:grid;gap:.25rem;padding:clamp(3.5rem,15%,7rem) clamp(1rem,4vw,2rem) clamp(1rem,3vw,1.75rem);background:linear-gradient(180deg,transparent,rgba(6,8,6,.82));color:#fff;pointer-events:none}.aeris-galleria__caption strong{font-size:clamp(1rem,2.5vw,1.4rem);line-height:1.2}.aeris-galleria__caption span{max-inline-size:58ch;color:#ffffffc7;font-size:clamp(.8125rem,2vw,.9375rem);line-height:var(--aeris-line-height-normal, 1.5)}.aeris-galleria__caption>*{pointer-events:auto}.aeris-galleria__thumbnails{grid-area:thumbnails;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--aeris-galleria-thumbnail-gap, var(--aeris-density-gap, .5rem));min-inline-size:0}.aeris-galleria__thumbnails[data-orientation=vertical]{contain:size;align-items:stretch;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;min-block-size:0}.aeris-galleria__thumbnail-viewport{min-inline-size:0;min-block-size:0;margin:-.25rem;padding:.25rem;overflow:auto;scrollbar-width:none;scroll-snap-type:x proximity;scroll-padding:.25rem;border-radius:var(--aeris-galleria-thumbnail-viewport-radius, var(--aeris-radius-md, .625rem))}.aeris-galleria__thumbnail-viewport:only-child{grid-column:1/-1}.aeris-galleria__thumbnail-viewport::-webkit-scrollbar{display:none}.aeris-galleria__thumbnail-track{display:flex;gap:var(--aeris-galleria-thumbnail-gap, var(--aeris-density-gap, .5rem));inline-size:100%;min-inline-size:0}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-viewport{block-size:100%;scroll-snap-type:y proximity}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-track{flex-direction:column;block-size:100%}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail{flex-basis:var(--aeris-galleria-thumbnail-height, var(--_aeris-galleria-thumbnail-basis));inline-size:100%;aspect-ratio:auto}.aeris-galleria__thumbnail{--_aeris-galleria-thumbnail-basis: calc( ( 100% - (var(--aeris-galleria-thumbnail-count) - 1) * var(--aeris-galleria-thumbnail-gap, var(--aeris-density-gap, .5rem)) ) / var(--aeris-galleria-thumbnail-count) );flex:0 0 var(--aeris-galleria-thumbnail-width, var(--_aeris-galleria-thumbnail-basis));scroll-snap-align:start;-webkit-tap-highlight-color:transparent;position:relative;z-index:0;display:grid;min-inline-size:0;min-block-size:0;aspect-ratio:var(--aeris-galleria-thumbnail-aspect-ratio, 16/10);place-items:center;padding:var(--aeris-galleria-thumbnail-padding, .2rem);border:1px solid var(--aeris-galleria-thumbnail-border, var(--aeris-border));border-radius:var(--aeris-galleria-thumbnail-radius, var(--aeris-radius-md, .625rem));background:var(--aeris-galleria-thumbnail-background, var(--aeris-surface, #fff));color:var(--aeris-galleria-color, var(--aeris-text, #111111));overflow:visible;cursor:pointer;opacity:.68;transition:opacity var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),transform var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-galleria__thumbnail[aria-current=true]{border-color:var(--aeris-galleria-active-thumbnail-border, var(--aeris-primary, #111111));box-shadow:0 0 0 2px color-mix(in srgb,var(--aeris-primary, #111111) 22%,transparent);opacity:1}.aeris-galleria__thumbnail-content{display:grid;inline-size:100%;block-size:100%;min-inline-size:0;min-block-size:0;place-items:center;overflow:hidden;border-radius:max(0px,var(--aeris-galleria-thumbnail-radius, var(--aeris-radius-md, .625rem)) - var(--aeris-galleria-thumbnail-padding, .2rem) - 1px)}.aeris-galleria__thumbnail-content img{display:block;inline-size:100%;block-size:100%;max-inline-size:none;max-block-size:none;border-radius:inherit;object-fit:cover;pointer-events:none}.aeris-galleria__thumbnail-navigator{display:grid;inline-size:max(2.25rem,var(--aeris-control-height-sm, 2.25rem));block-size:max(2.25rem,var(--aeris-control-height-sm, 2.25rem));place-items:center;padding:0;border:1px solid var(--aeris-galleria-thumbnail-navigator-border, var(--aeris-border, #efefef));border-radius:var(--aeris-galleria-thumbnail-navigator-radius, var(--aeris-radius-control, .6875rem));background:var(--aeris-galleria-thumbnail-navigator-background, var(--aeris-surface, #fff));color:var(--aeris-galleria-color, var(--aeris-text, #111111));cursor:pointer}@media(hover:hover){.aeris-galleria__thumbnail-navigator:hover:not(:disabled){border-color:color-mix(in srgb,var(--aeris-primary, #111111) 48%,var(--aeris-border, #efefef));background:color-mix(in srgb,var(--aeris-primary, #111111) 9%,var(--aeris-surface, #fff))}}.aeris-galleria__thumbnail-navigator:disabled{opacity:.38;cursor:not-allowed}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator{justify-self:center}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator--previous span{transform:rotate(180deg)}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator--next span{transform:none}.aeris-galleria__navigator:focus-visible,.aeris-galleria__fullscreen-toggle:focus-visible,.aeris-galleria__toolbar button:focus-visible,.aeris-galleria__grid-item:focus-visible,.aeris-galleria__thumbnail:focus-visible,.aeris-galleria__thumbnail-navigator:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid color-mix(in srgb,var(--aeris-focus, #111111) 38%,transparent);outline-offset:var(--aeris-focus-ring-offset, 2px)}.aeris-galleria__empty{display:grid;min-block-size:var(--aeris-galleria-empty-min-height, 15rem);place-items:center;padding:2rem;border:1px dashed var(--aeris-galleria-border, var(--aeris-border));border-radius:var(--aeris-galleria-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));background:var(--aeris-galleria-empty-background, var(--aeris-surface-2, #f3f3f3));color:var(--aeris-galleria-muted-color, var(--aeris-text-muted, #6d7067));text-align:center}.aeris-galleria__status{position:absolute;inline-size:1px;block-size:1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.aeris-galleria--fullscreen{position:fixed;z-index:var(--aeris-galleria-fullscreen-z-index, 1050);inset:0;inset:var(--_aeris-viewport-top, 0px) var(--_aeris-viewport-right, 0px) var(--_aeris-viewport-bottom, 0px) var(--_aeris-viewport-left, 0px);min-block-size:100vh;min-block-size:100dvh;min-block-size:var(--_aeris-viewport-height, 100dvh);display:grid;place-items:center;padding:clamp(.5rem,2.5vw,2rem);padding:max(.5rem,var(--aeris-safe-area-top, 0px)) max(.5rem,var(--aeris-safe-area-right, 0px)) max(.5rem,var(--aeris-safe-area-bottom, 0px)) max(.5rem,var(--aeris-safe-area-left, 0px));overflow:hidden;background:var(--aeris-galleria-backdrop, rgba(5, 7, 5, .88))}.aeris-galleria--fullscreen[data-backdrop-blur]{-webkit-backdrop-filter:blur(var(--aeris-galleria-backdrop-blur, var(--aeris-backdrop-blur, .25rem)));backdrop-filter:blur(var(--aeris-galleria-backdrop-blur, var(--aeris-backdrop-blur, .25rem)))}.aeris-galleria--fullscreen .aeris-galleria__panel{inline-size:min(100%,var(--aeris-galleria-fullscreen-max-width, 96rem));block-size:calc(100vh - clamp(1rem,5vw,4rem));block-size:calc(100dvh - clamp(1rem,5vw,4rem));max-block-size:100%;grid-template-areas:\"stage\" \"thumbnails\";grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:var(--aeris-galleria-fullscreen-gap, .5rem)}.aeris-galleria--fullscreen .aeris-galleria__stage{min-block-size:0;max-block-size:none;aspect-ratio:auto!important;block-size:auto;border-color:#ffffff24;box-shadow:0 2rem 7rem #0000006b}.aeris-galleria--fullscreen .aeris-galleria__thumbnails{inline-size:100%}.aeris-galleria--fullscreen .aeris-galleria__thumbnail{flex-basis:var(--aeris-galleria-fullscreen-thumbnail-width, var(--_aeris-galleria-thumbnail-basis));aspect-ratio:var(--aeris-galleria-fullscreen-thumbnail-aspect-ratio, 16/9)}@keyframes aeris-galleria-enter-next{0%{opacity:.28;transform:translate3d(4%,0,0) scale(1.015)}to{opacity:1;transform:translateZ(0) scale(1)}}:host [data-aeris-custom-icon]:not([data-aeris-global-icon]){display:inline-flex;align-items:center;justify-content:center;inline-size:var(--aeris-icon-size, 1rem);block-size:var(--aeris-icon-size, 1rem);background:transparent;border:0;box-shadow:none;-webkit-mask:none;mask:none;line-height:1}:host [data-aeris-custom-icon]:before,:host [data-aeris-custom-icon]:after{display:none}:host .aeris-galleria__thumbnail-navigator>[data-aeris-custom-icon]:not([data-aeris-global-icon]){transform:none}:host-context([dir=rtl]) .aeris-galleria__thumbnail-navigator>[data-aeris-custom-icon]:not([data-aeris-global-icon]){transform:scaleX(-1)}:host .aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator>[data-aeris-custom-icon]:not([data-aeris-global-icon]){transform:rotate(90deg)}@keyframes aeris-galleria-enter-previous{0%{opacity:.28;transform:translate3d(-4%,0,0) scale(1.015)}to{opacity:1;transform:translateZ(0) scale(1)}}@keyframes aeris-galleria-fade{0%{opacity:.35;transform:scale(1.01)}to{opacity:1;transform:scale(1)}}@media(max-width:40rem){.aeris-galleria__panel,.aeris-galleria[data-thumbnail-position=start] .aeris-galleria__panel,.aeris-galleria[data-thumbnail-position=end] .aeris-galleria__panel{grid-template-areas:\"stage\" \"thumbnails\";grid-template-columns:minmax(0,1fr);grid-template-rows:auto}.aeris-galleria__stage{min-block-size:13rem}.aeris-galleria__thumbnails[data-orientation=vertical]{grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator--previous span{transform:rotate(90deg)}.aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator--next span{transform:rotate(-90deg)}.aeris-galleria__navigator,.aeris-galleria__fullscreen-toggle{inline-size:2.75rem;block-size:2.75rem}.aeris-galleria__toolbar-frame{inset-inline:.5rem;inline-size:auto;max-inline-size:none;transform:none}.aeris-galleria__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--aeris-galleria-grid-mobile-gap, .625rem)}.aeris-galleria__caption{padding-inline:1rem}.aeris-galleria__caption span{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.aeris-galleria--fullscreen{padding:.5rem}.aeris-galleria--fullscreen .aeris-galleria__panel{block-size:calc(100vh - 1rem);block-size:calc(100dvh - 1rem)}.aeris-galleria--fullscreen .aeris-galleria__stage{min-block-size:0}}@media(max-width:40rem){:host-context([dir=rtl]) .aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator--previous span{transform:rotate(-90deg)}:host-context([dir=rtl]) .aeris-galleria__thumbnails[data-orientation=vertical] .aeris-galleria__thumbnail-navigator--next span{transform:rotate(90deg)}}@media(hover:none){.aeris-galleria__stage[data-navigators-on-hover=true] .aeris-galleria__navigator{opacity:1}}@media(hover:hover){.aeris-galleria__thumbnail:hover{z-index:1;opacity:.9;transform:scale(1.04)}}@media(prefers-reduced-motion:reduce){.aeris-galleria__item,.aeris-galleria__media,.aeris-galleria__grid-item,.aeris-galleria__grid-item img,.aeris-galleria__thumbnail-track{animation:none}.aeris-galleria__navigator,.aeris-galleria__fullscreen-toggle,.aeris-galleria__thumbnail,.aeris-galleria__thumbnail-track{transition:none}}\n"]
|
|
2682
|
+
}]
|
|
2683
|
+
}],
|
|
2684
|
+
ctorParameters: () => [],
|
|
2685
|
+
propDecorators: {
|
|
2686
|
+
rotateLeftIconTemplate: [{
|
|
2687
|
+
type: i0.Input,
|
|
2688
|
+
args: [{
|
|
2689
|
+
isSignal: true,
|
|
2690
|
+
alias: "rotateLeftIconTemplate",
|
|
2691
|
+
required: false
|
|
2692
|
+
}]
|
|
2693
|
+
}],
|
|
2694
|
+
rotateRightIconTemplate: [{
|
|
2695
|
+
type: i0.Input,
|
|
2696
|
+
args: [{
|
|
2697
|
+
isSignal: true,
|
|
2698
|
+
alias: "rotateRightIconTemplate",
|
|
2699
|
+
required: false
|
|
2700
|
+
}]
|
|
2701
|
+
}],
|
|
2702
|
+
flipHorizontalIconTemplate: [{
|
|
2703
|
+
type: i0.Input,
|
|
2704
|
+
args: [{
|
|
2705
|
+
isSignal: true,
|
|
2706
|
+
alias: "flipHorizontalIconTemplate",
|
|
2707
|
+
required: false
|
|
2708
|
+
}]
|
|
2709
|
+
}],
|
|
2710
|
+
flipVerticalIconTemplate: [{
|
|
2711
|
+
type: i0.Input,
|
|
2712
|
+
args: [{
|
|
2713
|
+
isSignal: true,
|
|
2714
|
+
alias: "flipVerticalIconTemplate",
|
|
2715
|
+
required: false
|
|
2716
|
+
}]
|
|
2717
|
+
}],
|
|
2718
|
+
zoomOutIconTemplate: [{
|
|
2719
|
+
type: i0.Input,
|
|
2720
|
+
args: [{
|
|
2721
|
+
isSignal: true,
|
|
2722
|
+
alias: "zoomOutIconTemplate",
|
|
2723
|
+
required: false
|
|
2724
|
+
}]
|
|
2725
|
+
}],
|
|
2726
|
+
zoomInIconTemplate: [{
|
|
2727
|
+
type: i0.Input,
|
|
2728
|
+
args: [{
|
|
2729
|
+
isSignal: true,
|
|
2730
|
+
alias: "zoomInIconTemplate",
|
|
2731
|
+
required: false
|
|
2732
|
+
}]
|
|
2733
|
+
}],
|
|
2734
|
+
resetIconTemplate: [{
|
|
2735
|
+
type: i0.Input,
|
|
2736
|
+
args: [{
|
|
2737
|
+
isSignal: true,
|
|
2738
|
+
alias: "resetIconTemplate",
|
|
2739
|
+
required: false
|
|
2740
|
+
}]
|
|
2741
|
+
}],
|
|
2742
|
+
downloadIconTemplate: [{
|
|
2743
|
+
type: i0.Input,
|
|
2744
|
+
args: [{
|
|
2745
|
+
isSignal: true,
|
|
2746
|
+
alias: "downloadIconTemplate",
|
|
2747
|
+
required: false
|
|
2748
|
+
}]
|
|
2749
|
+
}],
|
|
2750
|
+
thumbnailViewport: [{
|
|
2751
|
+
type: i0.ViewChild,
|
|
2752
|
+
args: ["thumbnailViewport", { isSignal: true }]
|
|
2753
|
+
}],
|
|
2754
|
+
toolbar: [{
|
|
2755
|
+
type: i0.ViewChild,
|
|
2756
|
+
args: ["toolbar", { isSignal: true }]
|
|
2757
|
+
}],
|
|
2758
|
+
itemTemplate: [{
|
|
2759
|
+
type: i0.ContentChild,
|
|
2760
|
+
args: [i0.forwardRef(() => AerisGalleriaItemTemplate), { isSignal: true }]
|
|
2761
|
+
}],
|
|
2762
|
+
thumbnailTemplate: [{
|
|
2763
|
+
type: i0.ContentChild,
|
|
2764
|
+
args: [i0.forwardRef(() => AerisGalleriaThumbnailTemplate), { isSignal: true }]
|
|
2765
|
+
}],
|
|
2766
|
+
captionTemplate: [{
|
|
2767
|
+
type: i0.ContentChild,
|
|
2768
|
+
args: [i0.forwardRef(() => AerisGalleriaCaptionTemplate), { isSignal: true }]
|
|
2769
|
+
}],
|
|
2770
|
+
gridItemTemplate: [{
|
|
2771
|
+
type: i0.ContentChild,
|
|
2772
|
+
args: [i0.forwardRef(() => AerisGalleriaGridItemTemplate), { isSignal: true }]
|
|
2773
|
+
}],
|
|
2774
|
+
emptyTemplate: [{
|
|
2775
|
+
type: i0.ContentChild,
|
|
2776
|
+
args: [i0.forwardRef(() => AerisGalleriaEmptyTemplate), { isSignal: true }]
|
|
2777
|
+
}],
|
|
2778
|
+
previousIconTemplate: [{
|
|
2779
|
+
type: i0.ContentChild,
|
|
2780
|
+
args: [i0.forwardRef(() => AerisGalleriaPreviousIconTemplate), { isSignal: true }]
|
|
2781
|
+
}],
|
|
2782
|
+
nextIconTemplate: [{
|
|
2783
|
+
type: i0.ContentChild,
|
|
2784
|
+
args: [i0.forwardRef(() => AerisGalleriaNextIconTemplate), { isSignal: true }]
|
|
2785
|
+
}],
|
|
2786
|
+
fullscreenIconTemplate: [{
|
|
2787
|
+
type: i0.ContentChild,
|
|
2788
|
+
args: [i0.forwardRef(() => AerisGalleriaFullscreenIconTemplate), { isSignal: true }]
|
|
2789
|
+
}],
|
|
2790
|
+
value: [{
|
|
2791
|
+
type: i0.Input,
|
|
2792
|
+
args: [{
|
|
2793
|
+
isSignal: true,
|
|
2794
|
+
alias: "value",
|
|
2795
|
+
required: false
|
|
2796
|
+
}]
|
|
2797
|
+
}],
|
|
2798
|
+
activeIndex: [{
|
|
2799
|
+
type: i0.Input,
|
|
2800
|
+
args: [{
|
|
2801
|
+
isSignal: true,
|
|
2802
|
+
alias: "activeIndex",
|
|
2803
|
+
required: false
|
|
2804
|
+
}]
|
|
2805
|
+
}, {
|
|
2806
|
+
type: i0.Output,
|
|
2807
|
+
args: ["activeIndexChange"]
|
|
2808
|
+
}],
|
|
2809
|
+
fullscreen: [{
|
|
2810
|
+
type: i0.Input,
|
|
2811
|
+
args: [{
|
|
2812
|
+
isSignal: true,
|
|
2813
|
+
alias: "fullscreen",
|
|
2814
|
+
required: false
|
|
2815
|
+
}]
|
|
2816
|
+
}, {
|
|
2817
|
+
type: i0.Output,
|
|
2818
|
+
args: ["fullscreenChange"]
|
|
2819
|
+
}],
|
|
2820
|
+
zoom: [{
|
|
2821
|
+
type: i0.Input,
|
|
2822
|
+
args: [{
|
|
2823
|
+
isSignal: true,
|
|
2824
|
+
alias: "zoom",
|
|
2825
|
+
required: false
|
|
2826
|
+
}]
|
|
2827
|
+
}, {
|
|
2828
|
+
type: i0.Output,
|
|
2829
|
+
args: ["zoomChange"]
|
|
2830
|
+
}],
|
|
2831
|
+
rotation: [{
|
|
2832
|
+
type: i0.Input,
|
|
2833
|
+
args: [{
|
|
2834
|
+
isSignal: true,
|
|
2835
|
+
alias: "rotation",
|
|
2836
|
+
required: false
|
|
2837
|
+
}]
|
|
2838
|
+
}, {
|
|
2839
|
+
type: i0.Output,
|
|
2840
|
+
args: ["rotationChange"]
|
|
2841
|
+
}],
|
|
2842
|
+
horizontalFlip: [{
|
|
2843
|
+
type: i0.Input,
|
|
2844
|
+
args: [{
|
|
2845
|
+
isSignal: true,
|
|
2846
|
+
alias: "horizontalFlip",
|
|
2847
|
+
required: false
|
|
2848
|
+
}]
|
|
2849
|
+
}, {
|
|
2850
|
+
type: i0.Output,
|
|
2851
|
+
args: ["horizontalFlipChange"]
|
|
2852
|
+
}],
|
|
2853
|
+
verticalFlip: [{
|
|
2854
|
+
type: i0.Input,
|
|
2855
|
+
args: [{
|
|
2856
|
+
isSignal: true,
|
|
2857
|
+
alias: "verticalFlip",
|
|
2858
|
+
required: false
|
|
2859
|
+
}]
|
|
2860
|
+
}, {
|
|
2861
|
+
type: i0.Output,
|
|
2862
|
+
args: ["verticalFlipChange"]
|
|
2863
|
+
}],
|
|
2864
|
+
mode: [{
|
|
2865
|
+
type: i0.Input,
|
|
2866
|
+
args: [{
|
|
2867
|
+
isSignal: true,
|
|
2868
|
+
alias: "mode",
|
|
2869
|
+
required: false
|
|
2870
|
+
}]
|
|
2871
|
+
}],
|
|
2872
|
+
numVisible: [{
|
|
2873
|
+
type: i0.Input,
|
|
2874
|
+
args: [{
|
|
2875
|
+
isSignal: true,
|
|
2876
|
+
alias: "numVisible",
|
|
2877
|
+
required: false
|
|
2878
|
+
}]
|
|
2879
|
+
}],
|
|
2880
|
+
fullscreenNumVisible: [{
|
|
2881
|
+
type: i0.Input,
|
|
2882
|
+
args: [{
|
|
2883
|
+
isSignal: true,
|
|
2884
|
+
alias: "fullscreenNumVisible",
|
|
2885
|
+
required: false
|
|
2886
|
+
}]
|
|
2887
|
+
}],
|
|
2888
|
+
responsiveOptions: [{
|
|
2889
|
+
type: i0.Input,
|
|
2890
|
+
args: [{
|
|
2891
|
+
isSignal: true,
|
|
2892
|
+
alias: "responsiveOptions",
|
|
2893
|
+
required: false
|
|
2894
|
+
}]
|
|
2895
|
+
}],
|
|
2896
|
+
thumbnailPosition: [{
|
|
2897
|
+
type: i0.Input,
|
|
2898
|
+
args: [{
|
|
2899
|
+
isSignal: true,
|
|
2900
|
+
alias: "thumbnailPosition",
|
|
2901
|
+
required: false
|
|
2902
|
+
}]
|
|
2903
|
+
}],
|
|
2904
|
+
showThumbnails: [{
|
|
2905
|
+
type: i0.Input,
|
|
2906
|
+
args: [{
|
|
2907
|
+
isSignal: true,
|
|
2908
|
+
alias: "showThumbnails",
|
|
2909
|
+
required: false
|
|
2910
|
+
}]
|
|
2911
|
+
}],
|
|
2912
|
+
showThumbnailNavigators: [{
|
|
2913
|
+
type: i0.Input,
|
|
2914
|
+
args: [{
|
|
2915
|
+
isSignal: true,
|
|
2916
|
+
alias: "showThumbnailNavigators",
|
|
2917
|
+
required: false
|
|
2918
|
+
}]
|
|
2919
|
+
}],
|
|
2920
|
+
showNavigators: [{
|
|
2921
|
+
type: i0.Input,
|
|
2922
|
+
args: [{
|
|
2923
|
+
isSignal: true,
|
|
2924
|
+
alias: "showNavigators",
|
|
2925
|
+
required: false
|
|
2926
|
+
}]
|
|
2927
|
+
}],
|
|
2928
|
+
navigatorsOnHover: [{
|
|
2929
|
+
type: i0.Input,
|
|
2930
|
+
args: [{
|
|
2931
|
+
isSignal: true,
|
|
2932
|
+
alias: "navigatorsOnHover",
|
|
2933
|
+
required: false
|
|
2934
|
+
}]
|
|
2935
|
+
}],
|
|
2936
|
+
showCaption: [{
|
|
2937
|
+
type: i0.Input,
|
|
2938
|
+
args: [{
|
|
2939
|
+
isSignal: true,
|
|
2940
|
+
alias: "showCaption",
|
|
2941
|
+
required: false
|
|
2942
|
+
}]
|
|
2943
|
+
}],
|
|
2944
|
+
showToolbar: [{
|
|
2945
|
+
type: i0.Input,
|
|
2946
|
+
args: [{
|
|
2947
|
+
isSignal: true,
|
|
2948
|
+
alias: "showToolbar",
|
|
2949
|
+
required: false
|
|
2950
|
+
}]
|
|
2951
|
+
}],
|
|
2952
|
+
showRotateControls: [{
|
|
2953
|
+
type: i0.Input,
|
|
2954
|
+
args: [{
|
|
2955
|
+
isSignal: true,
|
|
2956
|
+
alias: "showRotateControls",
|
|
2957
|
+
required: false
|
|
2958
|
+
}]
|
|
2959
|
+
}],
|
|
2960
|
+
showFlipControls: [{
|
|
2961
|
+
type: i0.Input,
|
|
2962
|
+
args: [{
|
|
2963
|
+
isSignal: true,
|
|
2964
|
+
alias: "showFlipControls",
|
|
2965
|
+
required: false
|
|
2966
|
+
}]
|
|
2967
|
+
}],
|
|
2968
|
+
showZoomControls: [{
|
|
2969
|
+
type: i0.Input,
|
|
2970
|
+
args: [{
|
|
2971
|
+
isSignal: true,
|
|
2972
|
+
alias: "showZoomControls",
|
|
2973
|
+
required: false
|
|
2974
|
+
}]
|
|
2975
|
+
}],
|
|
2976
|
+
showResetControl: [{
|
|
2977
|
+
type: i0.Input,
|
|
2978
|
+
args: [{
|
|
2979
|
+
isSignal: true,
|
|
2980
|
+
alias: "showResetControl",
|
|
2981
|
+
required: false
|
|
2982
|
+
}]
|
|
2983
|
+
}],
|
|
2984
|
+
showDownloadControl: [{
|
|
2985
|
+
type: i0.Input,
|
|
2986
|
+
args: [{
|
|
2987
|
+
isSignal: true,
|
|
2988
|
+
alias: "showDownloadControl",
|
|
2989
|
+
required: false
|
|
2990
|
+
}]
|
|
2991
|
+
}],
|
|
2992
|
+
rotationStep: [{
|
|
2993
|
+
type: i0.Input,
|
|
2994
|
+
args: [{
|
|
2995
|
+
isSignal: true,
|
|
2996
|
+
alias: "rotationStep",
|
|
2997
|
+
required: false
|
|
2998
|
+
}]
|
|
2999
|
+
}],
|
|
3000
|
+
zoomStep: [{
|
|
3001
|
+
type: i0.Input,
|
|
3002
|
+
args: [{
|
|
3003
|
+
isSignal: true,
|
|
3004
|
+
alias: "zoomStep",
|
|
3005
|
+
required: false
|
|
3006
|
+
}]
|
|
3007
|
+
}],
|
|
3008
|
+
minZoom: [{
|
|
3009
|
+
type: i0.Input,
|
|
3010
|
+
args: [{
|
|
3011
|
+
isSignal: true,
|
|
3012
|
+
alias: "minZoom",
|
|
3013
|
+
required: false
|
|
3014
|
+
}]
|
|
3015
|
+
}],
|
|
3016
|
+
maxZoom: [{
|
|
3017
|
+
type: i0.Input,
|
|
3018
|
+
args: [{
|
|
3019
|
+
isSignal: true,
|
|
3020
|
+
alias: "maxZoom",
|
|
3021
|
+
required: false
|
|
3022
|
+
}]
|
|
3023
|
+
}],
|
|
3024
|
+
resetTransformOnChange: [{
|
|
3025
|
+
type: i0.Input,
|
|
3026
|
+
args: [{
|
|
3027
|
+
isSignal: true,
|
|
3028
|
+
alias: "resetTransformOnChange",
|
|
3029
|
+
required: false
|
|
3030
|
+
}]
|
|
3031
|
+
}],
|
|
3032
|
+
gridMinItemWidth: [{
|
|
3033
|
+
type: i0.Input,
|
|
3034
|
+
args: [{
|
|
3035
|
+
isSignal: true,
|
|
3036
|
+
alias: "gridMinItemWidth",
|
|
3037
|
+
required: false
|
|
3038
|
+
}]
|
|
3039
|
+
}],
|
|
3040
|
+
gridAspectRatio: [{
|
|
3041
|
+
type: i0.Input,
|
|
3042
|
+
args: [{
|
|
3043
|
+
isSignal: true,
|
|
3044
|
+
alias: "gridAspectRatio",
|
|
3045
|
+
required: false
|
|
3046
|
+
}]
|
|
3047
|
+
}],
|
|
3048
|
+
gridOpenFullscreen: [{
|
|
3049
|
+
type: i0.Input,
|
|
3050
|
+
args: [{
|
|
3051
|
+
isSignal: true,
|
|
3052
|
+
alias: "gridOpenFullscreen",
|
|
3053
|
+
required: false
|
|
3054
|
+
}]
|
|
3055
|
+
}],
|
|
3056
|
+
circular: [{
|
|
3057
|
+
type: i0.Input,
|
|
3058
|
+
args: [{
|
|
3059
|
+
isSignal: true,
|
|
3060
|
+
alias: "circular",
|
|
3061
|
+
required: false
|
|
3062
|
+
}]
|
|
3063
|
+
}],
|
|
3064
|
+
autoplayInterval: [{
|
|
3065
|
+
type: i0.Input,
|
|
3066
|
+
args: [{
|
|
3067
|
+
isSignal: true,
|
|
3068
|
+
alias: "autoplayInterval",
|
|
3069
|
+
required: false
|
|
3070
|
+
}]
|
|
3071
|
+
}],
|
|
3072
|
+
pauseOnHover: [{
|
|
3073
|
+
type: i0.Input,
|
|
3074
|
+
args: [{
|
|
3075
|
+
isSignal: true,
|
|
3076
|
+
alias: "pauseOnHover",
|
|
3077
|
+
required: false
|
|
3078
|
+
}]
|
|
3079
|
+
}],
|
|
3080
|
+
allowFullscreen: [{
|
|
3081
|
+
type: i0.Input,
|
|
3082
|
+
args: [{
|
|
3083
|
+
isSignal: true,
|
|
3084
|
+
alias: "allowFullscreen",
|
|
3085
|
+
required: false
|
|
3086
|
+
}]
|
|
3087
|
+
}],
|
|
3088
|
+
closeOnBackdropClick: [{
|
|
3089
|
+
type: i0.Input,
|
|
3090
|
+
args: [{
|
|
3091
|
+
isSignal: true,
|
|
3092
|
+
alias: "closeOnBackdropClick",
|
|
3093
|
+
required: false
|
|
3094
|
+
}]
|
|
3095
|
+
}],
|
|
3096
|
+
backdropBlur: [{
|
|
3097
|
+
type: i0.Input,
|
|
3098
|
+
args: [{
|
|
3099
|
+
isSignal: true,
|
|
3100
|
+
alias: "backdropBlur",
|
|
3101
|
+
required: false
|
|
3102
|
+
}]
|
|
3103
|
+
}],
|
|
3104
|
+
backdropBlurAmount: [{
|
|
3105
|
+
type: i0.Input,
|
|
3106
|
+
args: [{
|
|
3107
|
+
isSignal: true,
|
|
3108
|
+
alias: "backdropBlurAmount",
|
|
3109
|
+
required: false
|
|
3110
|
+
}]
|
|
3111
|
+
}],
|
|
3112
|
+
closeOnEscape: [{
|
|
3113
|
+
type: i0.Input,
|
|
3114
|
+
args: [{
|
|
3115
|
+
isSignal: true,
|
|
3116
|
+
alias: "closeOnEscape",
|
|
3117
|
+
required: false
|
|
3118
|
+
}]
|
|
3119
|
+
}],
|
|
3120
|
+
objectFit: [{
|
|
3121
|
+
type: i0.Input,
|
|
3122
|
+
args: [{
|
|
3123
|
+
isSignal: true,
|
|
3124
|
+
alias: "objectFit",
|
|
3125
|
+
required: false
|
|
3126
|
+
}]
|
|
3127
|
+
}],
|
|
3128
|
+
aspectRatio: [{
|
|
3129
|
+
type: i0.Input,
|
|
3130
|
+
args: [{
|
|
3131
|
+
isSignal: true,
|
|
3132
|
+
alias: "aspectRatio",
|
|
3133
|
+
required: false
|
|
3134
|
+
}]
|
|
3135
|
+
}],
|
|
3136
|
+
ariaLabel: [{
|
|
3137
|
+
type: i0.Input,
|
|
3138
|
+
args: [{
|
|
3139
|
+
isSignal: true,
|
|
3140
|
+
alias: "ariaLabel",
|
|
3141
|
+
required: false
|
|
3142
|
+
}]
|
|
3143
|
+
}],
|
|
3144
|
+
stageAriaLabel: [{
|
|
3145
|
+
type: i0.Input,
|
|
3146
|
+
args: [{
|
|
3147
|
+
isSignal: true,
|
|
3148
|
+
alias: "stageAriaLabel",
|
|
3149
|
+
required: false
|
|
3150
|
+
}]
|
|
3151
|
+
}],
|
|
3152
|
+
gridAriaLabel: [{
|
|
3153
|
+
type: i0.Input,
|
|
3154
|
+
args: [{
|
|
3155
|
+
isSignal: true,
|
|
3156
|
+
alias: "gridAriaLabel",
|
|
3157
|
+
required: false
|
|
3158
|
+
}]
|
|
3159
|
+
}],
|
|
3160
|
+
toolbarAriaLabel: [{
|
|
3161
|
+
type: i0.Input,
|
|
3162
|
+
args: [{
|
|
3163
|
+
isSignal: true,
|
|
3164
|
+
alias: "toolbarAriaLabel",
|
|
3165
|
+
required: false
|
|
3166
|
+
}]
|
|
3167
|
+
}],
|
|
3168
|
+
thumbnailsAriaLabel: [{
|
|
3169
|
+
type: i0.Input,
|
|
3170
|
+
args: [{
|
|
3171
|
+
isSignal: true,
|
|
3172
|
+
alias: "thumbnailsAriaLabel",
|
|
3173
|
+
required: false
|
|
3174
|
+
}]
|
|
3175
|
+
}],
|
|
3176
|
+
previousAriaLabel: [{
|
|
3177
|
+
type: i0.Input,
|
|
3178
|
+
args: [{
|
|
3179
|
+
isSignal: true,
|
|
3180
|
+
alias: "previousAriaLabel",
|
|
3181
|
+
required: false
|
|
3182
|
+
}]
|
|
3183
|
+
}],
|
|
3184
|
+
nextAriaLabel: [{
|
|
3185
|
+
type: i0.Input,
|
|
3186
|
+
args: [{
|
|
3187
|
+
isSignal: true,
|
|
3188
|
+
alias: "nextAriaLabel",
|
|
3189
|
+
required: false
|
|
3190
|
+
}]
|
|
3191
|
+
}],
|
|
3192
|
+
previousThumbnailsAriaLabel: [{
|
|
3193
|
+
type: i0.Input,
|
|
3194
|
+
args: [{
|
|
3195
|
+
isSignal: true,
|
|
3196
|
+
alias: "previousThumbnailsAriaLabel",
|
|
3197
|
+
required: false
|
|
3198
|
+
}]
|
|
3199
|
+
}],
|
|
3200
|
+
nextThumbnailsAriaLabel: [{
|
|
3201
|
+
type: i0.Input,
|
|
3202
|
+
args: [{
|
|
3203
|
+
isSignal: true,
|
|
3204
|
+
alias: "nextThumbnailsAriaLabel",
|
|
3205
|
+
required: false
|
|
3206
|
+
}]
|
|
3207
|
+
}],
|
|
3208
|
+
enterFullscreenAriaLabel: [{
|
|
3209
|
+
type: i0.Input,
|
|
3210
|
+
args: [{
|
|
3211
|
+
isSignal: true,
|
|
3212
|
+
alias: "enterFullscreenAriaLabel",
|
|
3213
|
+
required: false
|
|
3214
|
+
}]
|
|
3215
|
+
}],
|
|
3216
|
+
exitFullscreenAriaLabel: [{
|
|
3217
|
+
type: i0.Input,
|
|
3218
|
+
args: [{
|
|
3219
|
+
isSignal: true,
|
|
3220
|
+
alias: "exitFullscreenAriaLabel",
|
|
3221
|
+
required: false
|
|
3222
|
+
}]
|
|
3223
|
+
}],
|
|
3224
|
+
rotateLeftAriaLabel: [{
|
|
3225
|
+
type: i0.Input,
|
|
3226
|
+
args: [{
|
|
3227
|
+
isSignal: true,
|
|
3228
|
+
alias: "rotateLeftAriaLabel",
|
|
3229
|
+
required: false
|
|
3230
|
+
}]
|
|
3231
|
+
}],
|
|
3232
|
+
rotateRightAriaLabel: [{
|
|
3233
|
+
type: i0.Input,
|
|
3234
|
+
args: [{
|
|
3235
|
+
isSignal: true,
|
|
3236
|
+
alias: "rotateRightAriaLabel",
|
|
3237
|
+
required: false
|
|
3238
|
+
}]
|
|
3239
|
+
}],
|
|
3240
|
+
flipHorizontalAriaLabel: [{
|
|
3241
|
+
type: i0.Input,
|
|
3242
|
+
args: [{
|
|
3243
|
+
isSignal: true,
|
|
3244
|
+
alias: "flipHorizontalAriaLabel",
|
|
3245
|
+
required: false
|
|
3246
|
+
}]
|
|
3247
|
+
}],
|
|
3248
|
+
flipVerticalAriaLabel: [{
|
|
3249
|
+
type: i0.Input,
|
|
3250
|
+
args: [{
|
|
3251
|
+
isSignal: true,
|
|
3252
|
+
alias: "flipVerticalAriaLabel",
|
|
3253
|
+
required: false
|
|
3254
|
+
}]
|
|
3255
|
+
}],
|
|
3256
|
+
zoomOutAriaLabel: [{
|
|
3257
|
+
type: i0.Input,
|
|
3258
|
+
args: [{
|
|
3259
|
+
isSignal: true,
|
|
3260
|
+
alias: "zoomOutAriaLabel",
|
|
3261
|
+
required: false
|
|
3262
|
+
}]
|
|
3263
|
+
}],
|
|
3264
|
+
zoomInAriaLabel: [{
|
|
3265
|
+
type: i0.Input,
|
|
3266
|
+
args: [{
|
|
3267
|
+
isSignal: true,
|
|
3268
|
+
alias: "zoomInAriaLabel",
|
|
3269
|
+
required: false
|
|
3270
|
+
}]
|
|
3271
|
+
}],
|
|
3272
|
+
zoomLevelAriaLabel: [{
|
|
3273
|
+
type: i0.Input,
|
|
3274
|
+
args: [{
|
|
3275
|
+
isSignal: true,
|
|
3276
|
+
alias: "zoomLevelAriaLabel",
|
|
3277
|
+
required: false
|
|
3278
|
+
}]
|
|
3279
|
+
}],
|
|
3280
|
+
resetTransformAriaLabel: [{
|
|
3281
|
+
type: i0.Input,
|
|
3282
|
+
args: [{
|
|
3283
|
+
isSignal: true,
|
|
3284
|
+
alias: "resetTransformAriaLabel",
|
|
3285
|
+
required: false
|
|
3286
|
+
}]
|
|
3287
|
+
}],
|
|
3288
|
+
downloadAriaLabel: [{
|
|
3289
|
+
type: i0.Input,
|
|
3290
|
+
args: [{
|
|
3291
|
+
isSignal: true,
|
|
3292
|
+
alias: "downloadAriaLabel",
|
|
3293
|
+
required: false
|
|
3294
|
+
}]
|
|
3295
|
+
}],
|
|
3296
|
+
emptyMessage: [{
|
|
3297
|
+
type: i0.Input,
|
|
3298
|
+
args: [{
|
|
3299
|
+
isSignal: true,
|
|
3300
|
+
alias: "emptyMessage",
|
|
3301
|
+
required: false
|
|
3302
|
+
}]
|
|
3303
|
+
}],
|
|
3304
|
+
indexChanged: [{
|
|
3305
|
+
type: i0.Output,
|
|
3306
|
+
args: ["indexChanged"]
|
|
3307
|
+
}],
|
|
3308
|
+
fullscreenClosed: [{
|
|
3309
|
+
type: i0.Output,
|
|
3310
|
+
args: ["fullscreenClosed"]
|
|
3311
|
+
}],
|
|
3312
|
+
transformChanged: [{
|
|
3313
|
+
type: i0.Output,
|
|
3314
|
+
args: ["transformChanged"]
|
|
3315
|
+
}],
|
|
3316
|
+
downloadRequested: [{
|
|
3317
|
+
type: i0.Output,
|
|
3318
|
+
args: ["downloadRequested"]
|
|
3319
|
+
}]
|
|
3320
|
+
}
|
|
3321
|
+
});
|
|
1640
3322
|
const AerisGalleriaModule = [
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
3323
|
+
AerisGalleria,
|
|
3324
|
+
AerisGalleriaItemTemplate,
|
|
3325
|
+
AerisGalleriaThumbnailTemplate,
|
|
3326
|
+
AerisGalleriaCaptionTemplate,
|
|
3327
|
+
AerisGalleriaEmptyTemplate,
|
|
3328
|
+
AerisGalleriaGridItemTemplate,
|
|
3329
|
+
AerisGalleriaPreviousIconTemplate,
|
|
3330
|
+
AerisGalleriaNextIconTemplate,
|
|
3331
|
+
AerisGalleriaFullscreenIconTemplate
|
|
1650
3332
|
];
|
|
1651
|
-
|
|
1652
|
-
/**
|
|
1653
|
-
* Generated bundle index. Do not edit.
|
|
1654
|
-
*/
|
|
1655
|
-
|
|
1656
3333
|
export { AerisGalleria, AerisGalleriaCaptionTemplate, AerisGalleriaEmptyTemplate, AerisGalleriaFullscreenIconTemplate, AerisGalleriaGridItemTemplate, AerisGalleriaItemTemplate, AerisGalleriaModule, AerisGalleriaNextIconTemplate, AerisGalleriaPreviousIconTemplate, AerisGalleriaThumbnailTemplate };
|
|
1657
|
-
|
|
3334
|
+
|
|
3335
|
+
//# sourceMappingURL=aeris-ui-core-galleria.mjs.map
|