if (typeof jQuery == 'undefined') { if (typeof $ == 'function') { // warning, global var thisPageUsingOtherJSLibrary = true; } function getScript(url, success) { var script = document.createElement('script'); script.src = url; var head = document.getElementsByTagName('head')[0], done = false; // Attach handlers for all browsers script.onload = script.onreadystatechange = function() { if (!done && (!this.readyState || this.readyState == 'loaded' || this.readyState == 'complete')) { done = true; // callback function provided as param success(); script.onload = script.onreadystatechange = null; head.removeChild(script); }; }; head.appendChild(script); }; getScript('https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js', function() { if (typeof jQuery=='undefined') { // Super failsafe - still somehow failed... } else { // jQuery loaded! Make sure to use .noConflict just in case fancyCode(); if (thisPageUsingOtherJSLibrary) { // Run your jQuery Code } else { // Use .noConflict(), then run your jQuery Code } } }); } else { // jQuery was already loaded // Run your jQuery Code }; /** * Minified by jsDelivr using UglifyJS v3.4.2. * Original file: /npm/js-cookie@2.2.0/src/js.cookie.js * * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files */ !function(e){var n=!1;if("function"==typeof define&&define.amd&&(define(e),n=!0),"object"==typeof exports&&(module.exports=e(),n=!0),!n){var o=window.Cookies,t=window.Cookies=e();t.noConflict=function(){return window.Cookies=o,t}}}(function(){function g(){for(var e=0,n={};e" + "
"+ "
"+ ""+ "

Hi!

"+ "

Are you over the age of 19 in Canada, 21 in the United States?

"+ ""+ "
"+ ""+ ""+ "
"+ "
"+ "
"+ ""; var container = document.createElement('div'); container.innerHTML = content; document.body.appendChild(container); var font = 'Cabin'.replace(/\+/g, ' '); font = font.split(':'); jQuery('#av-parent').css('font-family', font[0]); document.getElementById('av-parent').style.backgroundColor="rgba(235, 235, 235, 1.00)"; } }