var check = require('dotsunited-cookie-consent/lib/check');
var show = require('dotsunited-cookie-consent/lib/show');
var $ = require('jquery');

module.exports = function() {
    $(function() {
        var namespace = 'cookie-consent';
        var options = {
            cookieName: 'hdeng-cookie-consent'
        };

        if (!check(namespace, options)) {
            show(namespace, options);
        }
    });
};
