{"version":3,"sources":["cookie.js","scripts.js"],"names":["factory","registeredInModuleLoader","define","amd","exports","module","OldCookies","window","Cookies","api","noConflict","extend","i","result","arguments","length","attributes","key","init","converter","value","document","path","defaults","expires","Date","toUTCString","JSON","stringify","test","e","write","encodeURIComponent","String","replace","decodeURIComponent","escape","stringifiedAttributes","attributeName","split","cookie","jar","decode","s","cookies","parts","slice","join","this","json","charAt","name","read","parse","set","get","call","getJSON","apply","remove","withConverter","$","hide","css","click","parent"],"mappings":"CAQA,SAAAA,GACA,GAAAC,EASA,IARA,kBAAAC,SAAAA,OAAAC,MACAD,OAAAF,GACAC,GAAA,GAEA,gBAAAG,WACAC,OAAAD,QAAAJ,IACAC,GAAA,IAEAA,EAAA,CACA,GAAAK,GAAAC,OAAAC,QACAC,EAAAF,OAAAC,QAAAR,GACAS,GAAAC,WAAA,WAEA,MADAH,QAAAC,QAAAF,EACAG,KAGA,WACA,QAAAE,KAGA,IAFA,GAAAC,GAAA,EACAC,KACAD,EAAAE,UAAAC,OAAAH,IAAA,CACA,GAAAI,GAAAF,UAAAF,EACA,KAAA,GAAAK,KAAAD,GACAH,EAAAI,GAAAD,EAAAC,GAGA,MAAAJ,GAGA,QAAAK,GAAAC,GACA,QAAAV,GAAAQ,EAAAG,EAAAJ,GACA,GAAA,mBAAAK,UAAA,CAMA,GAAAP,UAAAC,OAAA,EAAA,CACAC,EAAAL,GACAW,KAAA,KACAb,EAAAc,SAAAP,GAEA,gBAAAA,GAAAQ,UACAR,EAAAQ,QAAA,GAAAC,MAAA,EAAA,GAAAA,MAAA,MAAAT,EAAAQ,UAIAR,EAAAQ,QAAAR,EAAAQ,QAAAR,EAAAQ,QAAAE,cAAA,EAEA,KACA,GAAAb,GAAAc,KAAAC,UAAAR,EACA,WAAAS,KAAAhB,KACAO,EAAAP,GAEA,MAAAiB,IAEAV,EAAAD,EAAAY,MACAZ,EAAAY,MAAAX,EAAAH,GACAe,mBAAAC,OAAAb,IACAc,QAAA,4DAAAC,oBAEA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AAA,kBAAAC,QAEAD,EAAA,kBAAAE,IAAA,UAAA,SACAF,EAAA,yBAAAG,MAAA,WACAxD,QAAA8C,IAAA,gBAAA,YACA9B,QAAA,MAEAqC,EAAAb,MAAAiB,SAAAA,SAAAH","file":"../compiled.min.js","sourcesContent":["/*!\r\n * JavaScript Cookie v2.2.0\r\n * https://github.com/js-cookie/js-cookie\r\n *\r\n * Copyright 2006, 2015 Klaus Hartl & Fagner Brack\r\n * Released under the MIT license\r\n */\r\n;\r\n(function (factory) {\r\n var registeredInModuleLoader;\r\n if (typeof define === 'function' && define.amd) {\r\n define(factory);\r\n registeredInModuleLoader = true;\r\n }\r\n if (typeof exports === 'object') {\r\n module.exports = factory();\r\n registeredInModuleLoader = true;\r\n }\r\n if (!registeredInModuleLoader) {\r\n var OldCookies = window.Cookies;\r\n var api = window.Cookies = factory();\r\n api.noConflict = function () {\r\n window.Cookies = OldCookies;\r\n return api;\r\n };\r\n }\r\n}(function () {\r\n function extend() {\r\n var i = 0;\r\n var result = {};\r\n for (; i < arguments.length; i++) {\r\n var attributes = arguments[i];\r\n for (var key in attributes) {\r\n result[key] = attributes[key];\r\n }\r\n }\r\n return result;\r\n }\r\n\r\n function init(converter) {\r\n function api(key, value, attributes) {\r\n if (typeof document === 'undefined') {\r\n return;\r\n }\r\n\r\n // Write\r\n\r\n if (arguments.length > 1) {\r\n attributes = extend({\r\n path: '/'\r\n }, api.defaults, attributes);\r\n\r\n if (typeof attributes.expires === 'number') {\r\n attributes.expires = new Date(new Date() * 1 + attributes.expires * 864e+5);\r\n }\r\n\r\n // We're using \"expires\" because \"max-age\" is not supported by IE\r\n attributes.expires = attributes.expires ? attributes.expires.toUTCString() : '';\r\n\r\n try {\r\n var result = JSON.stringify(value);\r\n if (/^[\\{\\[]/.test(result)) {\r\n value = result;\r\n }\r\n } catch (e) {}\r\n\r\n value = converter.write ?\r\n converter.write(value, key) :\r\n encodeURIComponent(String(value))\r\n .replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);\r\n\r\n key = encodeURIComponent(String(key))\r\n .replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent)\r\n .replace(/[\\(\\)]/g, escape);\r\n\r\n var stringifiedAttributes = '';\r\n for (var attributeName in attributes) {\r\n if (!attributes[attributeName]) {\r\n continue;\r\n }\r\n stringifiedAttributes += '; ' + attributeName;\r\n if (attributes[attributeName] === true) {\r\n continue;\r\n }\r\n\r\n // Considers RFC 6265 section 5.2:\r\n // ...\r\n // 3. If the remaining unparsed-attributes contains a %x3B (\";\")\r\n // character:\r\n // Consume the characters of the unparsed-attributes up to,\r\n // not including, the first %x3B (\";\") character.\r\n // ...\r\n stringifiedAttributes += '=' + attributes[attributeName].split(';')[0];\r\n }\r\n\r\n return (document.cookie = key + '=' + value + stringifiedAttributes);\r\n }\r\n\r\n // Read\r\n\r\n var jar = {};\r\n var decode = function (s) {\r\n return s.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);\r\n };\r\n // To prevent the for loop in the first place assign an empty array\r\n // in case there are no cookies at all.\r\n var cookies = document.cookie ? document.cookie.split('; ') : [];\r\n var i = 0;\r\n\r\n for (; i < cookies.length; i++) {\r\n var parts = cookies[i].split('=');\r\n var cookie = parts.slice(1).join('=');\r\n\r\n if (!this.json && cookie.charAt(0) === '\"') {\r\n cookie = cookie.slice(1, -1);\r\n }\r\n\r\n try {\r\n var name = decode(parts[0]);\r\n cookie = (converter.read || converter)(cookie, name) ||\r\n decode(cookie);\r\n\r\n if (this.json) {\r\n try {\r\n cookie = JSON.parse(cookie);\r\n } catch (e) {}\r\n }\r\n\r\n jar[name] = cookie;\r\n\r\n if (key === name) {\r\n break;\r\n }\r\n } catch (e) {}\r\n }\r\n\r\n return key ? jar[key] : jar;\r\n }\r\n\r\n api.set = api;\r\n api.get = function (key) {\r\n return api.call(api, key);\r\n };\r\n api.getJSON = function () {\r\n return api.apply({\r\n json: true\r\n }, arguments);\r\n };\r\n api.remove = function (key, attributes) {\r\n api(key, '', extend(attributes, {\r\n expires: -1\r\n }));\r\n };\r\n\r\n api.defaults = {};\r\n\r\n api.withConverter = init;\r\n\r\n return api;\r\n }\r\n\r\n return init(function () {});\r\n}));","// cookie notice\r\n$(function () {\r\n\tif (!!Cookies.get('gorbalsCookie')) {\r\n\t\t// console.log(\"there is a cookie\");\r\n\t\t$('.cookie-notice').hide();\r\n\t} else {\r\n\t\t$('.cookie-notice').css('display', 'block');\r\n\t\t$('.cookie-notice__close').click(function () {\r\n\t\t\tCookies.set('gorbalsCookie', 'accepted', {\r\n\t\t\t\texpires: 365\r\n\t\t\t});\r\n\t\t\t$(this).parent().parent().hide();\r\n\t\t})\r\n\t}\r\n})\r\n"]}