HEX
Server: nginx/1.24.0
System: Linux 0c1023d6c65e 6.8.0-137-generic #137-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 17 20:28:23 UTC 2026 x86_64
User: root (0)
PHP: 8.3.33
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/themes/thegem-elementor/inc/pagespeed/pagespeed.class.php
<?php

require get_template_directory() . '/inc/pagespeed/lazy-items.class.php';


class TGM_PageSpeed {
    public static function activate() {
        self::activateComponents();
    }

    private static function activateComponents() {
        if(thegem_get_option('page_speed_image_load') == 'js') {
            self::activateLazyItemsComponent();
        }
        if(thegem_get_option('page_speed_image_load') == 'native') {
            self::activateNativeLazyItemsComponent();
        }
    }

    private static function activateLazyItemsComponent() {
        $lazyItems = new TGM_PageSpeed_Lazy_Items();
    }

    private static function activateNativeLazyItemsComponent() {
        $lazyItems = new TGM_PageSpeed_Native_Lazy_Items();
    }
}