PageSourceSearch

https://jupitergem.com/static/version1790632272/frontend/Swissup/b…/en_US/Swissup_Breeze/js/common/theme.js

js jupitergem.com collected 2026-10-02 17:53:09 UTC 1,724 bytes, 51 lines download raw bytes

1(function () {
2    'use strict';
3
4    $(document).on('breeze:load', () => { setTimeout(() => {
5        $('.sidebar-main').a11y('skippable', {
6            id: 'product-list',
7            label: $t('Skip to product list'),
8            destination: '.column.main',
9        });
10
11        // remove duplicated tabstops (banner with button, )
12        // $('a[href]:has(button)').attr('tabindex', -1); // 3x slower then the selector below
13        $('a[href] button').parents('a').attr('tabindex', -1);
14
15        $('.panel.header > .header.links')
16            .clone()
17            .appendTo(document.getElementById('store.links'));
18
19        // see Model/Filter/Dom/LazyLoadImages.php
20        $.async('.breeze-bg-lazy', el => {
21            $.onReveal(el, () => {
22                var className = el.className.match(/background-image-[a-z0-9]+/);
23
24                $(el).css('background-image', '');
25
26                if (className) {
27                    $(`.${className[0]}`).css('background-image', '');
28                }
29            }, {
30                rootMargin: '100px',
31            });
32        });
33    })});
34
35    // Remove tabindex from filter title, when it's not clickable
36    function updateShopByTabindex() {
37        $('.block.filter .filter-title').attr(
38            'tabindex',
39            $('.block.filter .filter-content').css('visibility') === 'hidden' ? 0 : -1
40        );
41    }
42
43    $(document)
44        .one('keydown', () => $('html').addClass('kbd'))
45        .on('breeze:resize', _.debounce(updateShopByTabindex, 500))
46        .on('collapsible:afterCreate', (e, data) => {
47            if (data.instance.trigger.is('.block.filter .filter-title')) {
48                updateShopByTabindex();
49            }
50        });
51})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.