// WPGV PDF Namespace Isolation
window.WPGV_PDF = window.WPGV_PDF || {};

// Isolate jsPDF operations to prevent conflicts with other plugins
window.WPGV_PDF.generate = function(options) {
    if (typeof jsPDF !== 'undefined') {
        // PDF generation logic here
        return new jsPDF(options);
    }
    return null;
};

// Ensure jsPDF is only available within WPGV context
window.WPGV_PDF.jsPDF = window.jsPDF;
if (typeof window.jsPDF !== 'undefined') {
    // Remove global jsPDF to prevent conflicts
    delete window.jsPDF;
}
