<commit_before><?php
/* @var \Magento\Framework\View\Element\Html\Links $this */

$html = '';
if ($this->getLinks()) {
    $html .= ($this->hasCssClass() ? '
    <style>
    .prxgtTopWindow {
    position: fixed;
    top: 0;
    z-index:9999;
    }
    #prxgt-back-top-button {
    position: fixed;
    z-index:99;
    bottom: 40px;
    left: 50%;
    margin-left: 635px;
    /*display: none;*/
    width: 41px;
    height: 31px;
    padding-top: 11px;
    color: #000080;

    background: #D8D9DD;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#D8D9DD\', endColorstr=\'#ECEFF2\');
    background: -webkit-gradient(linear, left top, left bottom, from(#d8d9dd), to(#eceff2));
    background: -moz-linear-gradient(top, #d8d9dd, #eceff2);
    background: -o-linear-gradient(top, #d8d9dd, #eceff2);
    background: -ms-linear-gradient(top, #d8d9dd, #eceff2);
    }
    #prxgt-back-top-button a {
    padding-left: 10px;
    }
    @media only screen and (min-width: 768px) {
        .prxgt-footer-links-block {
            padding-bottom: 140px;
            display: block;
        }
        .prxgt-footer-links-small-size-block {
            padding-bottom: 140px;
            display: none;
        }
        .prxgt-footer-links {
            float: left;
            margin-right: 1.5%;
            width: 15%;
        }
    }
    @media only screen and (max-width: 767px) {
        .prxgt-footer-links-block {
            display: none;
        }
        .prxgt-footer-links-small-size-block {
            display: block;
        }
        .prxgt-footer-links {
            width: 100%;
        }
    }
    </style>' : '');
    $html .= '';
    $column[1] = '';
    $column[2] = '';
    $column[3] = '';
    $column[4] = '';
    $columnSmallSize[1] = '';
    $columnSmallSize[2] = '';
    $columnSmallSize[3] = '';
    $columnSmallSize[4] = '';

    $column[1] = '<ul' . ($this->hasCssClass() ? ' class="' . $this->escapeHtml(
                $this->getCssClass()
            ) . '"' : '') . '>';
    $column[2] =  '<ul' . ($this->hasCssClass() ? ' class="' . $this->escapeHtml(
                $this->getCssClass()
            ) . '"' : '') . '>';
    $column[3] = '<ul' . ($this->hasCssClass() ? ' class="' . $this->escapeHtml(
                $this->getCssClass()
            ) . '"' : '') . '>';
    $column[4] = '<ul' . ($this->hasCssClass() ? ' class="' . $this->escapeHtml(
                $this->getCssClass()
            ) . '"' : '') . '>';

    $columnSmallSize[1] = '<ul' . ($this->hasCssClass() ? ' class="' . $this->escapeHtml(
                $this->getCssClass()
            ) . '"' : '') . ' data-role="content">';
    $columnSmallSize[2] =  '<ul' . ($this->hasCssClass() ? ' class="' . $this->escapeHtml(
                $this->getCssClass()
            ) . '"' : '') . ' data-role="content">';
    $columnSmallSize[3] = '<ul' . ($this->hasCssClass() ? ' class="' . $this->escapeHtml(
                $this->getCssClass()
            ) . '"' : '') . ' data-role="content">';
    $columnSmallSize[4] = '<ul' . ($this->hasCssClass() ? ' class="' . $this->escapeHtml(
                $this->getCssClass()
            ) . '"' : '') . ' data-role="content">';
    $i = 0;
    foreach ($this->getLinks() as $link) {
        $column[(int)($i % 4) + 1] .= $this->renderLink($link);
        $columnSmallSize[(int)($i % 4) + 1] .= $this->renderLink($link);
        $i++;
    }
    $column[1] .= '</ul>';
    $column[2] .= '</ul>';
    $column[3] .= '</ul>';
    $column[4] .= '</ul>';

    $columnSmallSize[1] .= '</ul>';
    $columnSmallSize[2] .= '</ul>';
    $columnSmallSize[3] .= '</ul>';
    $columnSmallSize[4] .= '</ul>';

    $html .=
        '<div class="prxgt-footer-links-block" id="prxgt-footer-links-block"> <div class="prxgt-footer-links"><h4>Privacy</h4>'.$column[1].'</div>'.
        '<div class="prxgt-footer-links"><h4>Search</h4>'.$column[2].'</div>'.
        '<div class="prxgt-footer-links"><h4>Contacts</h4>'.$column[3].'</div>'.
        '<div class="prxgt-footer-links"><h4>Orders</h4>'.$column[4].'</div>

        <div id="prxgt-back-top-button" style="display: block;"><a title="Top" href="#top">Top</a></div>

        </div>';

    $html .=
        '<div class="prxgt-footer-links-small-size-block"> <div class="prxgt-footer-links" data-mage-init=\'{"collapsible":{ "active": false, "animate": 200, "collapsible": true}}\' ><div data-role="title"><h4><a href="#">Privacy</a></h4></div>'.$columnSmallSize[1].'</div>'.
        '<div class="prxgt-footer-links" data-mage-init=\'{"collapsible":{ "active": false, "animate": 200, "collapsible": true}}\' ><div data-role="title"><h4><a href="#">Search</a></h4></div>'.$columnSmallSize[2].'</div>'.
        '<div class="prxgt-footer-links" data-mage-init=\'{"collapsible":{ "active": false, "animate": 200, "collapsible": true}}\' ><div data-role="title"><h4><a href="#">Contacts</a></h4></div>'.$columnSmallSize[3].'</div>'.
        '<div class="prxgt-footer-links" data-mage-init=\'{"collapsible":{ "active": false, "animate": 200, "collapsible": true}}\' ><div data-role="title"><h4><a href="#">Orders</a></h4></div>'.$columnSmallSize[4].'</div> </div>';
}

echo $html;<commit_msg>MOBI-422	 #  top button fix<commit_after><?php
/* @var \Magento\Framework\View\Element\Html\Links $this */

$html = '';
if ($this->getLinks()) {
    $html .= ($this->hasCssClass() ? '
    <style>
    .prxgtTopWindow {
    position: fixed;
    top: 0;
    z-index:9999;
    }
    #prxgt-back-top-button {
    position: fixed;
    z-index:99;
    bottom: 40px;
    left: 50%;
    margin-left: 635px;
    /*display: none;*/
    width: 41px;
    height: 31px;
    padding-top: 11px;
    color: #000080;

    background: #D8D9DD;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#D8D9DD\', endColorstr=\'#ECEFF2\');
    background: -webkit-gradient(linear, left top, left bottom, from(#d8d9dd), to(#eceff2));
    background: -moz-linear-gradient(top, #d8d9dd, #eceff2);
    background: -o-linear-gradient(top, #d8d9dd, #eceff2);
    background: -ms-linear-gradient(top, #d8d9dd, #eceff2);
    }
    #prxgt-back-top-button a {
    padding-left: 10px;
    }
    @media only screen and (min-width: 768px) {
        .prxgt-footer-links-block {
            padding-bottom: 140px;
            display: block;
        }
        .prxgt-footer-links-small-size-block {
            padding-bottom: 140px;
            display: none;
        }
        .prxgt-footer-links {
            float: left;
            margin-right: 1.5%;
            width: 15%;
        }
    }
    @media only screen and (max-width: 767px) {
        .prxgt-footer-links-block {
            display: none;
        }
        .prxgt-footer-links-small-size-block {
            display: block;
        }
        .prxgt-footer-links {
            width: 100%;
        }
    }
    </style>' : '');
    $html .= '';
    $column[1] = '';
    $column[2] = '';
    $column[3] = '';
    $column[4] = '';
    $columnSmallSize[1] = '';
    $columnSmallSize[2] = '';
    $columnSmallSize[3] = '';
    $columnSmallSize[4] = '';

    $column[1] = '<ul' . ($this->hasCssClass() ? ' class="' . $this->escapeHtml(
                $this->getCssClass()
            ) . '"' : '') . '>';
    $column[2] =  '<ul' . ($this->hasCssClass() ? ' class="' . $this->escapeHtml(
                $this->getCssClass()
            ) . '"' : '') . '>';
    $column[3] = '<ul' . ($this->hasCssClass() ? ' class="' . $this->escapeHtml(
                $this->getCssClass()
            ) . '"' : '') . '>';
    $column[4] = '<ul' . ($this->hasCssClass() ? ' class="' . $this->escapeHtml(
                $this->getCssClass()
            ) . '"' : '') . '>';

    $columnSmallSize[1] = '<ul' . ($this->hasCssClass() ? ' class="' . $this->escapeHtml(
                $this->getCssClass()
            ) . '"' : '') . ' data-role="content">';
    $columnSmallSize[2] =  '<ul' . ($this->hasCssClass() ? ' class="' . $this->escapeHtml(
                $this->getCssClass()
            ) . '"' : '') . ' data-role="content">';
    $columnSmallSize[3] = '<ul' . ($this->hasCssClass() ? ' class="' . $this->escapeHtml(
                $this->getCssClass()
            ) . '"' : '') . ' data-role="content">';
    $columnSmallSize[4] = '<ul' . ($this->hasCssClass() ? ' class="' . $this->escapeHtml(
                $this->getCssClass()
            ) . '"' : '') . ' data-role="content">';
    $i = 0;
    foreach ($this->getLinks() as $link) {
        $column[(int)($i % 4) + 1] .= $this->renderLink($link);
        $columnSmallSize[(int)($i % 4) + 1] .= $this->renderLink($link);
        $i++;
    }
    $column[1] .= '</ul>';
    $column[2] .= '</ul>';
    $column[3] .= '</ul>';
    $column[4] .= '</ul>';

    $columnSmallSize[1] .= '</ul>';
    $columnSmallSize[2] .= '</ul>';
    $columnSmallSize[3] .= '</ul>';
    $columnSmallSize[4] .= '</ul>';

    $html .=
        '<div class="prxgt-footer-links-block" id="prxgt-footer-links-block"> <div class="prxgt-footer-links"><h4>Privacy</h4>'.$column[1].'</div>'.
        '<div class="prxgt-footer-links"><h4>Search</h4>'.$column[2].'</div>'.
        '<div class="prxgt-footer-links"><h4>Contacts</h4>'.$column[3].'</div>'.
        '<div class="prxgt-footer-links"><h4>Orders</h4>'.$column[4].'</div>

        <div id="prxgt-back-top-button" style="display: none;"><a title="Top" href="#top">Top</a></div>

        </div>';

    $html .=
        '<div class="prxgt-footer-links-small-size-block"> <div class="prxgt-footer-links" data-mage-init=\'{"collapsible":{ "active": false, "animate": 200, "collapsible": true}}\' ><div data-role="title"><h4><a href="#">Privacy</a></h4></div>'.$columnSmallSize[1].'</div>'.
        '<div class="prxgt-footer-links" data-mage-init=\'{"collapsible":{ "active": false, "animate": 200, "collapsible": true}}\' ><div data-role="title"><h4><a href="#">Search</a></h4></div>'.$columnSmallSize[2].'</div>'.
        '<div class="prxgt-footer-links" data-mage-init=\'{"collapsible":{ "active": false, "animate": 200, "collapsible": true}}\' ><div data-role="title"><h4><a href="#">Contacts</a></h4></div>'.$columnSmallSize[3].'</div>'.
        '<div class="prxgt-footer-links" data-mage-init=\'{"collapsible":{ "active": false, "animate": 200, "collapsible": true}}\' ><div data-role="title"><h4><a href="#">Orders</a></h4></div>'.$columnSmallSize[4].'</div> </div>';
}

echo $html;
{'fraction_non_alphanumeric': 0.24304285026480502, 'fraction_numerical': 0.025132402503610977, 'mean_word_length': 2.450498338870432, 'pattern_counts': {'":': 32, '<': 153, '<?xml version=': 0, '>': 209, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2265831', 'n_tokens_mistral': 3936, 'n_tokens_neox': 3764, 'n_words': 540}