import { LitElement, css } from "lit";
import { customElement, property } from "lit/decorators.js";
import { ItemSectionMixin } from "../../../mixins/item-section-mixin.js";
function _ts_decorate(decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
    else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
}
function _ts_metadata(k, v) {
    if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
}
class AtomicResultSectionVisual extends ItemSectionMixin(LitElement, css`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */atomic-result-section-visual.with-sections{grid-area:visual;overflow:hidden;text-overflow:ellipsis}atomic-result-section-visual.with-sections.image-icon{border-radius:var(--atomic-border-radius);height:2rem;width:2rem}atomic-result-section-visual.with-sections.image-none{display:none}@media (min-width:1024px){atomic-result-section-visual.with-sections.display-list{margin-right:1rem}atomic-result-section-visual.with-sections.display-list.density-comfortable{margin-right:1.5rem}atomic-result-section-visual.with-sections.display-list.image-large.density-compact{height:10rem;width:10rem}atomic-result-section-visual.with-sections.display-list.image-large.density-comfortable,atomic-result-section-visual.with-sections.display-list.image-large.density-normal{height:20.375rem;width:20.375rem}atomic-result-section-visual.with-sections.display-list.image-small{height:10rem;width:10rem}atomic-result-section-visual.with-sections.display-grid{margin-bottom:.5rem}:is(atomic-result-section-visual.with-sections.display-grid.image-large,atomic-result-section-visual.with-sections.display-grid.image-small).density-comfortable{margin:0 auto 2rem}:is(atomic-result-section-visual.with-sections.display-grid.image-large,atomic-result-section-visual.with-sections.display-grid.image-small).density-normal{margin:0 auto 1.5rem}:is(atomic-result-section-visual.with-sections.display-grid.image-large,atomic-result-section-visual.with-sections.display-grid.image-small).density-compact{margin:0 auto 1rem}atomic-result-section-visual.with-sections.display-grid.image-large,atomic-result-section-visual.with-sections.display-grid.image-small{width:100%}atomic-result-section-visual.with-sections.display-grid.image-large{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){atomic-result-section-visual.with-sections.display-grid.image-large{height:19.75rem}}atomic-result-section-visual.with-sections.display-grid.image-small{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){atomic-result-section-visual.with-sections.display-grid.image-small{height:14rem}}}@media not all and (min-width:1024px){atomic-result-section-visual.with-sections.display-list{margin-right:1rem}atomic-result-section-visual.with-sections.display-list.image-large{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){atomic-result-section-visual.with-sections.display-list.image-large{height:7.25rem}}atomic-result-section-visual.with-sections.display-list.image-large{margin-bottom:1rem;margin-right:0;width:100%}atomic-result-section-visual.with-sections.display-list.image-small{height:24vw;margin-bottom:1rem;width:24vw}atomic-result-section-visual.with-sections.display-list.image-icon{margin-bottom:0}atomic-result-section-visual.with-sections.display-grid.image-large{margin-right:1rem}atomic-result-section-visual.with-sections.display-grid.image-large.image-large{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){atomic-result-section-visual.with-sections.display-grid.image-large.image-large{height:7.25rem}}atomic-result-section-visual.with-sections.display-grid.image-large.image-large{margin-bottom:1rem;margin-right:0;width:100%}atomic-result-section-visual.with-sections.display-grid.image-large.image-small{height:24vw;margin-bottom:1rem;width:24vw}atomic-result-section-visual.with-sections.display-grid.image-large.image-icon{margin-bottom:0}:is(:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-large,:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-small).density-comfortable{margin-bottom:1rem}:is(:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-large,:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-small).density-normal{margin-bottom:.75rem}:is(:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-large,:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-small).density-compact{margin-bottom:.5rem}:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-large,:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-small{width:100%}:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-small{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-small{height:9rem}}:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-small{height:10.25rem;width:10.25rem}}atomic-result-section-visual.with-sections.display-table{margin-right:1rem}atomic-result-section-visual.with-sections.display-table.density-comfortable{margin-right:1.5rem}atomic-result-section-visual.with-sections.display-table.image-large.density-compact{height:10rem;width:10rem}atomic-result-section-visual.with-sections.display-table.image-large.density-comfortable,atomic-result-section-visual.with-sections.display-table.image-large.density-normal{height:20.375rem;width:20.375rem}atomic-result-section-visual.with-sections.display-table.image-small{height:10rem;width:10rem}`) {
}
_ts_decorate([
    property({
        reflect: true,
        attribute: 'image-size',
        type: Object
    }),
    _ts_metadata("design:type", "u" < typeof Omit ? Object : Omit)
], AtomicResultSectionVisual.prototype, "imageSize", void 0);
AtomicResultSectionVisual = _ts_decorate([
    customElement('atomic-result-section-visual')
], AtomicResultSectionVisual);
export { AtomicResultSectionVisual };
