{{{customeditframe.editframeStart}}}
<div class="discovery-hero{{#if isTearVariant}} discovery-hero--has-tear{{/if}}" data-module="discoveryHero" data-has-tear="{{#if isTearVariant}}true{{else}}false{{/if}}">
    {{#if isTearVariant}}
    <div class="discovery-hero__heading">
        <div class="grid-container">
            <div class="grid-x">
                <div class="cell medium-6">
                    <h1 class="discovery-hero__title">{{{title}}}</h1>
                    <p class="discovery-hero__subtitle">{{{subtitle}}}</p>
                    {{#if tags }}
                        <div class="discovery-hero__tags">
                            {{> @cp-hashtags tags }}
                        </div>
                    {{/if}}
                </div>
            </div>
        </div>
    </div>
    {{/if}}
    {{> @cp-hero-controls isTimer=true modifier="left"}}
    <div class="carousel">
        <div class="carousel__slider">
            {{#each slides}}
            {{#if ../isTearVariant}}
            <div class="carousel__slide cell hero-slide hero-slide--has-tear">
                {{> @cp-discovery-hero-slide-with-tear-edit}}
            </div>
            {{else}}
            <div class="carousel__slide cell hero-slide {{#if theme}}hero-slide--{{theme}}{{/if}}">
                {{> @cp-discovery-hero-slide-edit}}
            </div>
            {{/if}}
            {{/each}}
        </div>
    </div>
    {{> @cp-hero-controls modifier="right"}}
</div>
{{{customeditframe.editframeStop}}}