<div class="aside-nav2__wrapper {{mod}}" {{#if active-index}}data-active-index="{{active-index}}"{{/if}}>
  <div class="aside-nav2">
    <div class="aside-holder">
        {{#each aside-list2}}
            <div class="aside-nav2__holder">
                {{#if title-url.length}}
                    <a  class="aside-nav2__title-link" href="{{title-url}}">
                {{/if}}
                <span class="aside-nav2__title {{#if item-list}}pb-0{{else}}pb-3{{/if}}">{{title}}</span>
                {{#if title-url.length}}
                  </a>
                {{/if}}
                {{#if item-list}}
                <ul class="aside-nav2__list">
                    {{#each item-list}}
                        <li class="aside-nav2__item {{#if active}}aside-nav2__item_active {{else}} {{#ifvalue url value=../../selected-url}} aside-nav2__item_active{{/ifvalue}}{{/if}}" {{#if ../../active-index}}data-index="{{@index}}"{{/if}}>
                          <a href="{{url}}" class="{{class}}">
                            <i class="{{tradeProIcon}}"></i>
                            {{text}}
                            <span class="{{rewardsCountWrap}}">{{rewardsCount}}</span>
                          </a>
                        </li>
                    {{/each}}
                </ul>
                    {{/if}}
            </div>
        {{/each}}
    </div>
    <div class="aside-nav2__toggle accordion accordion_collapsed">
        <div class="accordion__header" role="link" aria-expanded="false">
            <span class="accordion__header-text">{{page-name}}</span>
            <span class="icon accordion__header-icon">
                <i class="fas fa-angle-up"></i>
            </span>
        </div>
        <div class="accordion__content" aria-describedby="dropdown" style="display: none;">
        <div  id="dropdown">
            {{#each aside-list2}}
                <div class="aside-nav2__holder">
                    <span class="aside-nav2__title">
                      <a href="{{title-url}}" class="aside-nav2__title-link">
                        {{ title }}
                      </a>
                    </span>
                    <ul class="aside-nav2__list">
                        {{#each item-list}}
                            <li class="aside-nav2__item" {{#if ../../active-index}}data-index="{{@index}}"{{/if}}>
                              <a href="{{url}}" class="{{class}}">
                                <i class="{{tradeProIcon}}"></i>
                                {{text}}
                                <span class="{{rewardsCountWrap}}">{{rewardsCount}}</span>
                              </a>
                            </li>
                        {{/each}}
                    </ul>
                </div>
            {{/each}}
        </div>
    </div>
    </div>
  </div>
</div>
<!-- /.aside-list-->
