if (scripts_added === undefined) {
    var scripts_added = false;
}
function addTheScripts() {
    if (scripts_added) {
        return;
    }

    let includeScripts = [{"src":"https:\/\/www.suse.com\/assets\/uniparts\/js\/qualified.js?avs=1733135042","attributes":[],"type":"text\/javascript"},{"src":"https:\/\/js.qualified.com\/qualified.js?token=SKqQ8nnADD22cAnc&avs=1733135042","attributes":[],"type":"text\/javascript"}];
    for (let itKey in includeScripts) {
        let currentScript = document.createElement('script');
        if (includeScripts[itKey].hasOwnProperty('type')) {
            currentScript.type = includeScripts[itKey]['type'];
        } else {
            currentScript.type = 'text/javascript';
        }
        currentScript.src = includeScripts[itKey]['src'];
        currentScript.async = false;
        currentScript.defer = false;
        if (Object.keys(includeScripts[itKey]['attributes']).length > 0) {
            let scrAttributes = includeScripts[itKey]['attributes'];
            for (let elKey in scrAttributes) {
                currentScript.setAttribute(elKey, scrAttributes[elKey]);
            }
        }
        document.head.appendChild(currentScript)
    }
}

window.addEventListener('DOMContentLoaded', (event) => addTheScripts);
if (!scripts_added) {
    addTheScripts();
}
