PageSourceSearch

https://meewestbrabant.nl/app/cache/min/1/app/plugins/ts-cookiecon…/ts-cookiesconsent-public.js?ver=1791365989

js meewestbrabant.nl collected 2026-10-08 15:07:20 UTC 13,988 bytes, 1 lines download raw bytes

1!function(e){var t={};function __webpack_require__(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,o){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(__webpack_require__.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__webpack_require__.d(o,n,function(t){return e[t]}.bind(null,n));return o},__webpack_require__.n=function(e){var t=e&&e.__esModule?function getDefault(){return e.default}:function getModuleExports(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=0)}([function(e,t,o){o(1),e.exports=o(2)},function(e,t){var o=window.dataLayer=window.dataLayer||null;!function(e,t){e.fn.outerHTML=function(e){return e?this.before(e).remove():jQuery("<p>").append(this.eq(0).clone()).html()};var n={pluginURL:tsCookieConsent.pluginsUrl,templateType:tsCookieConsent.templateType,version:tsCookieConsent.version,wildcard:tsCookieConsent.wildcard,secureCookie:"",sessionHash:"",init:{init:function(){n.sessionHash=n.init.createHash(),n.secureCookie=n.init.secureConnection(),n.cookie.checkCookieVersion(),n.html.loadTemplate(),n.hooks.init()},initAfterRender:function(){var e=n.cookie.get();e?(n.html.hideBanner(),n.cookie.createObject(e.stamp,e.necessary,e.preferences,e.statistics,e.marketing,e.version),n.object.updateObject(),n.gtm.init()):n.html.showBanner(),n.sources.init(),n.init.toggleBanner(),n.hooks.triggerOnLoad()},toggleBanner:function(){e(document).on("click",".tsCookieSettings",function(e){e.preventDefault(),n.html.showBanner()})},createHash:function(){for(var e="",t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",o=0;o<128;o++)e+=t.charAt(Math.floor(Math.random()*t.length));return e},secureConnection:function(){return"https:"==document.location.protocol}},cookie:{name:"CookieConsent",necessary:!0,preferences:!1,statistics:!1,marketing:!1,set:function(e,t,o,i,s,r){var c=n.cookie.createObject(e,t,o,i,s,r),a=new Date((new Date).setFullYear((new Date).getFullYear()+1)),l="";if(!0===n.secureCookie&&(l="secure;"),"true"===n.wildcard){var k="."+location.hostname.split(".").reverse()[1]+"."+location.hostname.split(".").reverse()[0];document.cookie=n.cookie.name+"="+JSON.stringify(c)+"; domain="+k+"; path=/; expires="+a.toUTCString()+";"+l}else document.cookie=n.cookie.name+"="+JSON.stringify(c)+"; path=/; expires="+a.toUTCString()+";"+l;n.cookie.log(c),n.object.updateObject(),n.hooks.triggerOnConsent()},get:function(){var e=document.cookie.match("(^|;)\\s*"+n.cookie.name+"\\s*=\\s*([^;]+)");return e?JSON.parse(e.pop()):""},delete:function(){var e="";if(!0===n.secureCookie&&(e="secure;"),"true"===n.wildcard){var t="."+location.hostname.split(".").reverse()[1]+"."+location.hostname.split(".").reverse()[0];document.cookie=n.cookie.name+"=; domain="+t+"; path=/; expires=Thu, 01 Jan 1970 00:00:01 GMT;"+e}else document.cookie=n.cookie.name+"=; path=/; expires=Thu, 01 Jan 1970 00:00:01 GMT;"+e},log:function(t){e.post(tsCookieConsent.adminUrl,{action:"log_consent",object:t,url:window.location.href},function(e){})},createObject:function(e,t,o,i,s,r){var c={stamp:e,necessary:t,preferences:o,statistics:i,marketing:s,version:r};return n.cookie.necessary=t,n.cookie.preferences=o,n.cookie.statistics=i,n.cookie.marketing=s,n.cookie.version=r,c},checkCookieVersion:function(){var e=n.cookie.get();null!=e&&(void 0===e.version||e.version<n.version)&&n.cookie.delete()}},html:{html:"",loadTemplate:function(){var t="";t="advanced"==n.templateType?tsCookieConsent.bar_template_advanced:tsCookieConsent.bar_template_basic;if(null==tsCookieConsent.template_load||0===tsCookieConsent.template_load.indexOf("default")||""==t||null==t){var o="advanced"==n.templateType?"templates/banner-advanced.mst":"templates/banner-basic.mst";e.get(n.pluginURL+o,function(e){t=e,n.html.renderTemplate(t)}
1)}else n.html.renderTemplate(t)},renderTemplate:function(t){void 0!==tsCookieConsent.bar_policies_necessary&&tsCookieConsent.bar_policies_necessary.length>0&&(tsCookieConsent.bar_policies_necessary={policies:tsCookieConsent.bar_policies_necessary}),void 0!==tsCookieConsent.bar_policies_preferences&&tsCookieConsent.bar_policies_preferences.length>0&&(tsCookieConsent.bar_policies_preferences={policies:tsCookieConsent.bar_policies_preferences}),void 0!==tsCookieConsent.bar_policies_statistics&&tsCookieConsent.bar_policies_statistics.length>0&&(tsCookieConsent.bar_policies_statistics={policies:tsCookieConsent.bar_policies_statistics}),void 0!==tsCookieConsent.bar_policies_marketing&&tsCookieConsent.bar_policies_marketing.length>0&&(tsCookieConsent.bar_policies_marketing={policies:tsCookieConsent.bar_policies_marketing}),void 0!==tsCookieConsent.cookie_types&&tsCookieConsent.cookie_types.length>0&&(tsCookieConsent.bar_show_necessary=!1,tsCookieConsent.cookie_types.indexOf("necessary")>-1&&(tsCookieConsent.bar_show_necessary=!0),tsCookieConsent.bar_show_preferences=!1,tsCookieConsent.cookie_types.indexOf("preferences")>-1&&(tsCookieConsent.bar_show_preferences=!0),tsCookieConsent.bar_show_statistics=!1,tsCookieConsent.cookie_types.indexOf("statistics")>-1&&(tsCookieConsent.bar_show_statistics=!0),tsCookieConsent.bar_show_marketing=!1,tsCookieConsent.cookie_types.indexOf("marketing")>-1&&(tsCookieConsent.bar_show_marketing=!0));var o=Mustache.render(t,{bannerPosition:tsCookieConsent.display_position[0],bannerText:tsCookieConsent.bar_text,bannerTextMobile:tsCookieConsent.bar_text_mobile,btnAcceptLabel:tsCookieConsent.bar_button_accept_label,btnDeclineLabel:tsCookieConsent.bar_button_decline_label,btnEditLabel:tsCookieConsent.bar_button_edit_label,btnDetailsLabel:tsCookieConsent.bar_button_details_label,btnCancelLabel:tsCookieConsent.bar_button_cancel_label,btnSaveLabel:tsCookieConsent.bar_button_save_label,checkboxLabelNecessary:tsCookieConsent.bar_checkbox_necessary_label,checkboxLabelPreferences:tsCookieConsent.bar_checkbox_preferences_label,checkboxLabelStatistics:tsCookieConsent.bar_checkbox_statistics_label,checkboxLabelMarketing:tsCookieConsent.bar_checkbox_marketing_label,checkboxDescriptionNecessary:tsCookieConsent.bar_description_necessary,checkboxDescriptionPreferences:tsCookieConsent.bar_description_preferences,checkboxDescriptionStatistics:tsCookieConsent.bar_description_statistics,checkboxDescriptionMarketing:tsCookieConsent.bar_description_marketing,policiesNecessary:tsCookieConsent.bar_policies_necessary,policiesPreferences:tsCookieConsent.bar_policies_preferences,policiesStatistics:tsCookieConsent.bar_policies_statistics,policiesMarketing:tsCookieConsent.bar_policies_marketing,showNecessary:tsCookieConsent.bar_show_necessary,showPreferences:tsCookieConsent.bar_show_preferences,showStatistics:tsCookieConsent.bar_show_statistics,showMarketing:tsCookieConsent.bar_show_marketing,placeHolderContent:tsCookieConsent.bar_placeholder_content});n.html.html=e("<div/>").html(o).contents(),e("body").append(n.html.html),e(document).on("click",".tsCookieDecline",function(e){e.preventDefault(),n.html.clickDecline(e)}),e(document).on("click",".tsCookieAccept",function(e){e.preventDefault(),n.html.clickAccept(e)}),n.html.banner=n.html.html.find(".tsCookieBanner"),n.init.initAfterRender(),"advanced"==n.templateType&&(e(document).on("click",".tsCookieCancel",function(e){e.preventDefault(),n.html.clickCancel(e)}),e(document).on("click",".tsCookieEdit",function(e){e.preventDefault(),n.html.clickEdit(e)}),e(document).on("click",".tsCookieSave",function(e){e.preventDefault(),n.html.clickSave(e)}),e(document).on("click",".tsCookieDetail",function(e){e.preventDefault(),n.html.clickDetail(e)}),n.html.modal=n.html.html.find(".tsCookieModal"),n.html.initModal())},showBanner:function(){n.html.banner.show()},hideBanner:function(){n.html.banner.hide()},initModal:function(){n.html.html.find("#tsCookieNecessary").prop("checked",n.cookie.necessary),n.html.html.find("#tsCookiePreferences").prop("checked",n.cookie.preferences),n.html.html.find("#tsCookieStatistics").prop("checked",n.cookie.statistics),n.html.html.find("#tsCookieMarketing").prop("checked",n.cookie.marketing),n.html.html.find("#tsCookieNecessary").prop("disabled",!0)},showModal:function(){n.html.html.addClass("ts-cookie-consent--modal-open")},hideModal:function(){n.html.html.removeClass("ts-cookie-consent--modal-open")},toggleDetails:function(t){var o=e(t.target).parents(".ts-cookie-option");
1e(o).hasClass("ts-cookie-option--details-open")?e(o).removeClass("ts-cookie-option--details-open"):(e(".ts-cookie-option").removeClass("ts-cookie-option--details-open"),e(o).addClass("ts-cookie-option--details-open"))},clickSave:function(e){e.preventDefault();var t=!!n.html.html.find("#tsCookieNecessary").prop("checked"),o=!!n.html.html.find("#tsCookiePreferences").prop("checked"),i=!!n.html.html.find("#tsCookieStatistics").prop("checked"),s=!!n.html.html.find("#tsCookieMarketing").prop("checked"),r=n.version;n.cookie.set(n.sessionHash,t,o,i,s,r),n.html.reload()},clickAccept:function(e){e.preventDefault();var t=n.version;n.cookie.set(n.sessionHash,!0,!0,!0,!0,t),n.sources.afterConsent(),n.html.reload()},clickDecline:function(e){e.preventDefault();var t=n.version;n.cookie.set(n.sessionHash,!0,!1,!1,!1,t),n.html.hideBanner(),n.sources.afterConsent()},clickEdit:function(e){e.preventDefault(),n.html.hideBanner(),n.html.showModal()},clickCancel:function(e){e.preventDefault(),n.html.showBanner(),n.html.hideModal()},clickDetail:function(e){e.preventDefault(),n.html.toggleDetails(e)},reload:function(){"hard"==tsCookieConsent.reload?location.reload():(n.html.hideBanner(),n.html.hideModal(),n.gtm.init())}},object:{updateObject:function(){var e=n.cookie.get(),t=!1,o=!1;null!=e&&(t=!0,n.responded=!0),null!=e.necessary&&"boolean"==typeof e.necessary&&(n.cookie.necessary=e.necessary,!1===e.necessary&&(t=!1,o=!0)),null!=e.preferences&&"boolean"==typeof e.preferences&&(n.cookie.preferences=e.preferences,!1===e.preferences&&(t=!1,o=!0)),null!=e.statistics&&"boolean"==typeof e.statistics&&(n.cookie.statistics=e.statistics,!1===e.statistics&&(t=!1,o=!0)),null!=e.marketing&&"boolean"==typeof e.marketing&&(n.cookie.marketing=e.marketing,!1===e.marketing&&(t=!1,o=!0)),n.accepted=t,n.declined=o}},gtm:{interval:"",timing:100,timeOut:3e3,timeRunning:0,init:function(){null!=tsCookieConsent.gtm&&"true"==tsCookieConsent.gtm||(n.gtm.timeRunning=0,n.gtm.interval=setInterval(n.gtm.checkForDataLayer,n.gtm.timing))},checkForDataLayer:function(){n.gtm.timeRunning=n.gtm.timeRunning+n.gtm.timing,null!=o&&n.gtm.pushToDataLayer(),(null!=o||n.gtm.timeRunning>=n.gtm.timeOut)&&clearInterval(n.gtm.interval)},pushToDataLayer:function(){n.cookie.preferences&&(o.push({event:"cookieconsent_preferences"}),gtag("consent","update",{personalization_storage:"granted"})),n.cookie.statistics&&(o.push({event:"cookieconsent_statistics"}),gtag("consent","update",{analytics_storage:"granted"})),n.cookie.marketing&&(o.push({event:"cookieconsent_marketing"}),gtag("consent","update",{ad_storage:"granted",ad_user_data:"granted",ad_personalization:"granted"}))}},hooks:{init:function(){document.addEventListener("tscookiesDispatchAfterConsent",n.sources.afterConsent,!1),document.addEventListener("tscookiesDispatchSetPlaceholder",n.sources.setPlaceholders,!1)},triggerOnLoad:function(){var e=new Event("tscookiesLoaded");n.hooks.triggerDocument(e)},triggerOnConsent:function(){var e=new Event("tscookiesSetConsent");n.hooks.triggerDocument(e)},triggerDocument:function(e){document.dispatchEvent(e)}},sources:{init:function(){n.sources.setPlaceholders()},setPlaceholders:function(){null!==tsCookieConsent.placeholder&&void 0!==tsCookieConsent.placeholder&&!1!==tsCookieConsent.placeholder&&0===tsCookieConsent.placeholder.indexOf("true")?e.get(n.pluginURL+"templates/placeholder.mst",function(t){templateHtml=t,e("[data-src]").each(function(t){var o=e(this),i=o.data("consent");if(i){if(0==o.parent().find(".placeholderCover").length){var s=Mustache.render(tsCookieConsent.bar_placeholder_content,{placeholder_cookies:i}),r=Mustache.render(templateHtml,{placeholder_original:o.outerHTML(),placeholder_content:s});o.after(r),o.remove()}n.sources.afterConsent()}})}):n.sources.afterConsent()},afterConsent:function(){e("[data-src]").each(function(t){$element=e(this);var o=$element.data("consent"),i=$element.data("src");o&&i&&n.sources.load($element,o,i)})},load:function(e,t,o){var i=!0;if(t&&((t=t.split(",")).indexOf("necessary")>=0&&!1===n.cookie.necessary&&(i=!1),t.indexOf("preferences")>=0&&!1===n.cookie.preferences&&(i=!1),t.indexOf("statistics")>=0&&!1===n.cookie.statistics&&(i=!1),t.indexOf("marketing")>=0&&!1===n.cookie.marketing&&(i=!1)),i)e.attr("src",o),0===tsCookieConsent.placeholder.indexOf("true")&&e.parent().find(".placeholderCover").hide();else{var s=e.attr("src");void 0!==s&&!1!==s&&e.removeAttr("src"),0===tsCookieConsent.placeholder.indexOf("true")&&e.parent().find(".placeholderCover").show()}}},analytics:{getCookiesArray:function(){var e={};if(document.cookie&&""!=document.cookie)for(var t=document.cookie.split(";"),o=0;o<t.length;o++){var n=t[o].split("=");
1n[0]=n[0].replace(/^ /,""),e[decodeURIComponent(n[0])]=decodeURIComponent(n[1])}return e}}},i={exec:function(e,t){var o=n;t=void 0===t?"init":t,""!==e&&o[e]&&"function"==typeof o[e][t]&&o[e][t]()},init:function(){i.exec("init")}};window.TSCOOKIE=n,e(window).ready(i.init)}(jQuery)},function(e,t){}])

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.