(function() {
    function installEduCode() {
        window.installedEduCodes = window.installedEduCodes || [];
        if (window.installedEduCodes['6916c709e4ae46.63311814'] === true) {
            return;
        }

        var fragmentsList = [];
            fragmentsList.push(
        function(callback) {
            var script_tag = document.createElement('script');
            script_tag.type = 'text/javascript';
            script_tag.innerHTML = JSON.parse('"\\n    \\u0022use strict\\u0022;\\n    const script = document.createElement(\\u0022script\\u0022);\\n    script.src = \\u0022https:\\/\\/kampus.ai\\/public\\/external\\/widgets\\/copyPopup\\/copyPopup.min.js\\u0022;\\n    \\n    script.onload = () => {\\n        window.CopyPopupWidget.init({\\n            getParams: \\u0022entry=edugram_copyPaste\\u0022,\\n            referral: \\u0022f912177cfb0baf65\\u0022,\\n            useTopicForTextCopilot: false,\\n            selectorForFallbackTopic: \\u0027h1\\u0027,\\n            showEdugram: true,\\n            openOnCopyLimit: \\u00271\\u0027,\\n            buttonLabel: \\u0022\\u00d0\\u00a1\\u00d0\\u00b3\\u00d0\\u00b5\\u00d0\\u00bd\\u00d0\\u00b5\\u00d1\\u0080\\u00d0\\u00b8\\u00d1\\u0080\\u00d0\\u00be\\u00d0\\u00b2\\u00d0\\u00b0\\u00d1\\u0082\\u00d1\\u008c\\u0022\\n        });\\n    };\\n    \\n    document.body.appendChild(script);\\n"');
            
            document.getElementsByTagName('head')[0].appendChild(script_tag);
            callback();
        }
    );
        var iterateFragments = function() {
            var fragmentFunction = fragmentsList.shift();
            if (typeof fragmentFunction != 'undefined') {
                fragmentFunction(iterateFragments);
            }
        };
        iterateFragments();

        window.installedEduCodes['6916c709e4ae46.63311814'] = true;
    }

    function checkEduCodeInstalled() {
        if (document.readyState !== "loading") {
            installEduCode();
        } else {
            setTimeout(checkEduCodeInstalled, 1);
        }
    }

    checkEduCodeInstalled();
})();