
<div class="lu-widget">
    <div class="lu-widget__header">
        {if $rawObject->isShowTitle() && ($rawObject->isRawTitle() || $rawObject->getTitle())}
            <div class="lu-widget__top lu-top">
                <div class="lu-top__title">
                    {if $rawObject->getIcon()}<i class="{$rawObject->getIcon()}"></i>{/if}
                    {if $rawObject->isRawTitle()}{$rawObject->getRawTitle()}{elseif $rawObject->getTitle()}{$MGLANG->T($rawObject->getTitle())}{/if}
                </div>
            </div>
        {/if}
        <div class="lu-widget__nav swiper-container swiper-container-horizontal swiper-container-false" data-content-slider="" style="visibility: visible; margin-left: unset; margin-right: unset; width:100%;">
            {assign var="firstArrKey" value=$rawObject->getElements()|array_keys}
            {if $elements}
                <ul class="lu-nav lu-nav--md lu-nav--h lu-nav--tabs lu-nav--arrow" style="width: 100%; display: table; margin:0; padding:0;">
                    {foreach from=$rawObject->getElements() key=tplKey item=tplValue}
                        <li {if $tplKey  === $firstArrKey[0]} class="lu-nav__item is-active" {else} class="lu-nav__item" {/if} style="display: table-cell">
                            <a class="lu-nav__link"  data-toggle="lu-tab" href="#contTab{$tplValue->getId()}">
                                <span class="nav__link-text" style="font-weight: 600;">{if $tplValue->isRawTitle()}{$tplValue->getRawTitle()}{elseif $tplValue->getTitle()}{$MGLANG->T($tplValue->getTitle())}{/if}</span>
                            </a>
                        </li>
                    {/foreach}
                </ul>
            {/if}
        </div>
    </div>
    <div class="lu-widget__body">
        <div class="lu-tab-content">
            {foreach from=$rawObject->getElements() key=tplKey item=tplValue}
                <div id="contTab{$tplValue->getId()}" class="lu-tab-pane {if $tplKey === $firstArrKey[0]} is-active {/if}">
                    {$tplValue->getHtml()}
                </div>
            {/foreach}
        </div>
    </div>
</div>
