PageSourceSearch

https://store.trimhealthymama.com/wp-content/mu-plugins/thm-custom/assets/pdp.js?ver=1.0.0

js trimhealthymama.com collected 2026-10-02 05:43:58 UTC 1,508 bytes, 44 lines download raw bytes

1jQuery(document).ready(function ($) {
2
3    /* FAQ Accordion */
4    if ($('.woo-pdFAQ__itemHeader').length > 0) {
5        $('.woo-pdFAQ__itemHeader').first().addClass('active');
6        $('.woo-pdFAQ__itemContent').first().slideDown();
7
8        $('.woo-pdFAQ__itemHeader').on('click', function () {
9            if (!$(this).hasClass('active')) {
10                $('.woo-pdFAQ__itemHeader').removeClass('active');
11                $('.woo-pdFAQ__itemContent').slideUp();
12                $(this).addClass('active');
13                $(this).next('.woo-pdFAQ__itemContent').slideDown();
14            }
15        });
16    }
17
18    /* Equal height for grid headlines */
19    function setRowEqualHeight() {
20        var rows = [];
21        var currentTop = null;
22        $('.woo-pdpGrid-4__headline').css('height', 'auto');
23        $('.woo-pdpGrid-4__headline').each(function () {
24            var top = $(this).offset().top;
25            if (currentTop === null || currentTop !== top) {
26                currentTop = top;
27                rows.push([]);
28            }
29            rows[rows.length - 1].push($(this));
30        });
31        rows.forEach(function (row) {
32            var maxHeight = 0;
33            row.forEach(function ($item) {
34                maxHeight = Math.max(maxHeight, $item.outerHeight());
35            });
36            row.forEach(function ($item) {
37                $item.css('height', maxHeight);
38            });
39        });
40    }
41
42    setRowEqualHeight();
43    $(window).on('resize', setRowEqualHeight);
44});

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.