1import 'https://cdn.jsdelivr.net/gh/orestbida/[email protected]/dist/cookieconsent.umd.js'; 2import 'https://cdn.jsdelivr.net/gh/orestbida/[email protected]/dist/iframemanager.js'; 3document.documentElement.classList.add('cc--lightmode'); 4const im = iframemanager(); 5const SERVICE_AD_STORAGE = 'ad_storage' 6const SERVICE_AD_USER_DATA = 'ad_user_data' 7const SERVICE_AD_PERSONALIZATION = 'ad_personalization' 8const SERVICE_ANALYTICS_STORAGE = 'analytics_storage' 9const SERVICE_FUNCTIONALITY_STORAGE = 'functionality_storage' 10const SERVICE_PERSONALIZATION_STORAGE = 'personalization_storage' 11const SERVICE_SECURITY_STORAGE = 'security_storage' 12im.run({ onChange: ({ changedServices, eventSource }) => { if (eventSource.type === 'click') { const servicesToAccept = [ ...CookieConsent.getUserPreferences().acceptedServices['analytics'], ...changedServices, ]; CookieConsent.acceptService(servicesToAccept, 'analytics'); } }, currLang: 'en', services: { youtube: { embedUrl: 'https://www.youtube-nocookie.com/embed/{data-id}', thumbnailUrl: 'https://i3.ytimg.com/vi/{data-id}/hqdefault.jpg', iframe: { allow: 'accelerometer; encrypted-media; gyroscope; picture-in-picture; fullscreen;', }, languages: { en: { notice: 'This content is hosted by a third party. By showing the external content you accept the <a rel="noreferrer noopener" href="https://www.youtube.com/t/terms" target="_blank">terms and conditions</a> of youtube.com.', loadAllBtn: 'Accept and Load', }, }, }, vimeo: { embedUrl: 'https://player.vimeo.com/video/{data-id}', iframe: { allow: 'fullscreen; picture-in-picture;', }, thumbnailUrl: async (dataId, setThumbnail) => { const url = 'https://vimeo.com/api/v2/video/'+dataId+'.json'; const response = await (await fetch(url)).json(); const thumbnailUrl = response[0]?.thumbnail_large; thumbnailUrl && setThumbnail(thumbnailUrl); }, languages: { en: { notice: 'This content is hosted by a third party. By showing the external content you accept the <a rel="noreferrer noopener" href="https://vimeo.com/terms" target="_blank">terms and conditions</a> of vimeo.com.', loadBtn: 'Load once', loadAllBtn: "Don't ask again", }, }, }, googlemaps: { embedUrl: 'https://www.google.com/maps/embed?pb={data-id}', iframe: { allow: 'picture-in-picture; fullscreen;' }, languages: { en: { notice: 'This content is hosted by a third party. By showing the external content you accept the <a rel="noreferrer noopener" href="https://cloud.google.com/maps-platform/terms" target="_blank">terms and conditions</a> of Google Maps.', loadBtn: 'Load map', loadAllBtn: "Don't ask again" } } }, tickettailor: { onAccept: async (div, setIframe) => { await CookieConsent.loadScript('https://cdn.tickettailor.com/js/widgets/min/widget.js'); const placeholder = div.querySelector('[data-placeholder]'); if (!placeholder) return; let script = document.createElement('script'); script.src = 'https://cdn.tickettailor.com/js/widgets/min/widget.js'; script.setAttribute('data-type', 'inline'); script.setAttribute('data-url', placeholder.getAttribute('data-url')); script.setAttribute('data-inline-minimal', placeholder.getAttribute('data-minimal')); script.setAttribute('data-inline-show-logo', placeholder.getAttribute('data-show-logo')); script.setAttribute('data-inline-bg-fill', placeholder.getAttribute('data-bg-fill')); script.setAttribute('data-inline-inherit-ref-from-url-param', placeholder.getAttribute('data-inherit-ref-from-url-param')); script.setAttribute('data-inline-ref', placeholder.getAttribute('data-ref')); document.querySelector(".tt-widget").innerHTML = ''; document.querySelector(".tt-widget").appendChild(script); /*div.classList.remove('c-h-n'); div.removeAttribute('data-service');*/ await im.childExists({ parent: div }); setIframe(div.querySelector('iframe')); }, onReject: (iframe) => { iframe && iframe.parentElement.remove(); }, languages: { en: { notice: 'This content is hosted by a third party. By showing the external content you accept the <a rel="noreferrer noopener" href="https://www.tickettailor.com/legal/terms-and-conditions" target="_blank">terms and conditions</a> and <a href="https://www.tickettailor.com/legal/privacy-policy" target="_blank">privacy policy</a> of tickettailor.com.', loadAllBtn: 'Accept and Load', }, }, } }, 13}); 14CookieConsent.run({ mode: 'opt-in', autoShow: 1, disablePageInteraction: 0, hideFromBots: 1, revision: 1, autoClearCookies: 1, cookie: { name: 'cc_cookie', domain: window.location.hostname, path: '/', expiresAfterDays: 90, sameSite: 'Lax', useLocalStorage: false }, guiOptions: { consentModal: { layout: "box inline", position: "bottom right", equalWeightButtons: fal
14se, flipButtons: false }, preferencesModal: { layout: "box", position: "right", equalWeightButtons: true, flipButtons: false } }, categories: {"necessary":{"readOnly":true},"functionality":{"enabled":false,"readOnly":false,"services":{"youtube":{"label":"YouTube","cookies":[{"name":"/^(VISITOR_PRIVACY_METADATA|YSC)/"}],"onAccept": () => im.acceptService('youtube'),"onReject": () => im.rejectService('youtube')}},"autoClear":{"reloadPage":true,"cookies":[{"name":"/^(VISITOR_PRIVACY_METADATA|YSC)/"}]}},"analytics":{"enabled":false,"readOnly":false,"services":{"youtube":{"label":"YouTube","cookies":[{"name":"/^(VISITOR_PRIVACY_METADATA|YSC)/"}],"onAccept": () => im.acceptService('youtube'),"onReject": () => im.rejectService('youtube')}},"autoClear":{"reloadPage":true,"cookies":[{"name":"/^(VISITOR_PRIVACY_METADATA|YSC)/"}]}}}, language: {"default":"en","autoDetect":"browser","translations":{"en":{"consentModal":{"title":"Cookies on our website","description":"{{revisionMessage}} We use essential cookies to make this site work and provide you with the best experience. We'd like to set analytics cookies to understand how you use this site. We may use other services that may also use cookies. For more detailed information, see our <a href=\"/privacy-policy/\">Privacy & Cookie Policy</a>.","revisionMessage":"We've made some changes to our cookie policy since the last time you visited.<hr>","acceptAllBtn":"Accept non-essential cookies","acceptNecessaryBtn":"Reject non-essential cookies","showPreferencesBtn":"Manage preferences","footer":"<a href=\"/privacy-policy/\">Privacy & Cookie Policy</a>"},"preferencesModal":{"title":"Manage Cookie Preferences","acceptAllBtn":"Accept all","acceptNecessaryBtn":"Reject all","savePreferencesBtn":"Save preferences","closeIconLabel":"Close modal","serviceCounterLabel":"Service|Services","sections":[{"title":"Your cookie choices","description":"We use cookies mainly to improve and analyse your experience on our website and for marketing purposes. We respect your right to choose how cookies are used. Please click on the categories below to find out more and change your preferences. You can come back to this section and update your choices at any time by clicking the icon in the bottom left hand corner of this page.\r\nFor more detailed information, see our <a href=\"/cookie-policy/\">Cookie Policy</a>."},{"title":"Essential Cookies <span class=\"pm__badge\">Always Enabled</span>","description":"These cookies are necessary to enable core functionality. The website cannot function properly without these cookies. ","linkedCategory":"necessary","cookieTable":{"headers":{"name":"Name","domain":"Service","description":"Description","expiration":"Expiration"},"body":[{"name":"cc_cookie","domain":"Cookie Consent","description":"Cookie set by us for saving your preferences on this prompt","expiration":"Expires after 2 months"},{"name":"wordpress_*","domain":"Website Core","description":"Used for login authentication and to store authentication details. Only active for logged-in users.","expiration":"Session"},{"name":"wordpress_logged_in_*","domain":"Website Core","description":"Indicates when you're logged in, and who you are. Only active for logged-in users.","expiration":"Session"},{"name":"__stripe_mid","domain":"Stripe","description":"Cookie set by <a href=\"https://stripe.com/gb/privacy\">Stripe</a> to provide fraud provention.","expiration":"Session"}]}},{"title":"Functionality Cookies","description":"Functional cookies allow users to access features fundamental to interacting with a service or site. These include: the userâs choice of language; product optimizations that help maintain and improve a service; and maintaining information relating to a userâs session, such as the content of a shopping cart.","linkedCategory":"functionality","cookieTable":{"headers":{"name":"Name","domain":"Service","description":"Description","expiration":"Expiration"},"body":[{"name":"VISITOR_PRIVACY_METADATA","domain":"YouTube","description":"This cookie is used to store the user's consent and privacy choices for their interaction with the site. It records data on the visitor's consent regarding various privacy policies and settings, ensuring that their preferences are honored in future sessions","expiration":"5 months 4 weeks"},{"name":"YSC","domain":"YouTube","description":"This cookie is set by YouTube to track views of embedded videos.","expiration":"Session"}]}}
14,{"title":"Analytics Cookies","description":"These cookies collect information about how you use our website. All of the data is anonymized and cannot be used to identify you.","linkedCategory":"analytics","cookieTable":{"headers":{"name":"Name","domain":"Service","description":"Description","expiration":"Expiration"},"body":[{"name":"_ga_*","domain":"Google Analytics","description":"Used to distinguish individual users by means of designation of a randomly generated number as client identifier, which allows calculation of visits and sessions","expiration":"1 year"},{"name":"_ga","domain":"Google Analytics","description":"Records a particular ID used to come up with data about website usage by the user","expiration":"2 years"},{"name":"_gid","domain":"Google Analytics","description":"Keeps an entry of unique ID which is then used to come up with statistical data on website usage by visitors. It is a HTTP cookie type and expires after a browsing session.","expiration":"1 day"},{"name":"_gat","domain":"Google Analytics","description":"Used to monitor number of Google Analytics server requests when using Google Tag Manager","expiration":"1 minute"}]}},{"title":"Marketing Cookies","description":"These cookies are used to make advertising messages more relevant to you and your interests. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.","linkedCategory":"marketing","cookieTable":{"headers":{"name":"Name","domain":"Service","description":"Description","expiration":"Expiration"},"body":[]}},{"title":"More information","description":"For any query in relation to our policy on cookies and your choices, please <a class=\"cc__link\" href=\"/contact-us/\">contact us</a>."}]}}}}, onFirstConsent: () => { logConsent(); updateGtagConsent(); }, onChange: () => { logConsent(); updateGtagConsent(); }, onConsent: () => { updateGtagConsent(); } 15}); 16function updateGtagConsent() { //gtag('consent', 'update', { /*console.log('gtag: ', { [SERVICE_ANALYTICS_STORAGE]: CookieConsent.acceptedService(SERVICE_ANALYTICS_STORAGE, 'analytics') ? 'granted' : 'denied', [SERVICE_AD_STORAGE]: CookieConsent.acceptedService(SERVICE_AD_STORAGE, 'marketing') ? 'granted' : 'denied', [SERVICE_AD_USER_DATA]: CookieConsent.acceptedService(SERVICE_AD_USER_DATA, 'marketing') ? 'granted' : 'denied', [SERVICE_AD_PERSONALIZATION]: CookieConsent.acceptedService(SERVICE_AD_PERSONALIZATION, 'marketing') ? 'granted' : 'denied', [SERVICE_FUNCTIONALITY_STORAGE]: CookieConsent.acceptedService(SERVICE_FUNCTIONALITY_STORAGE, 'functionality') ? 'granted' : 'denied', [SERVICE_PERSONALIZATION_STORAGE]: CookieConsent.acceptedService(SERVICE_PERSONALIZATION_STORAGE, 'functionality') ? 'granted' : 'denied', [SERVICE_SECURITY_STORAGE]: CookieConsent.acceptedService(SERVICE_SECURITY_STORAGE, 'security') ? 'granted' : 'denied', });*/ 17} 18function logConsent(){ const cookie = CookieConsent.getCookie(); const preferences = CookieConsent.getUserPreferences(); const userConsent = { consentId: cookie.consentId, acceptType: preferences.acceptType, acceptedCategories: preferences.acceptedCategories, rejectedCategories: preferences.rejectedCategories, acceptedServices: preferences.acceptedServices, rejectedServices: preferences.rejectedServices, timestamp: new Date().toISOString() }; fetch('/wp-json/dmgltd/v1/log-consent', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(userConsent) }); 19} 20const button = document.createElement('button'); 21button.className = 'cc-btn left'; 22button.setAttribute('aria-label', 'Cookie Options'); 23button.setAttribute('title', 'Cookie Options'); 24button.setAttribute('aria-expanded', 'false'); 25button.setAttribute('data-cc', 'show-preferencesModal'); 26button.innerHTML = ` <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"> <path d="M21.8 13.9999C20.8734 18.5644 16.8379 21.9999 12 21.9999C6.47715 21.9999 2 17.5228 2 11.9999C2 6.81459 5.94668 2.55104 11 2.04932" stroke-linecap="round" stroke-linejoin="round"/> <path d="M6.5 10C6.22386 10 6 9.77614 6 9.5C6 9.22386 6.22386 9 6.5 9C6.77614 9 7 9.22386 7 9.5C7 9.77614 6.77614 10 6.5 10Z" stroke-linecap="round" stroke-linejoin="round"/> <path d="M20.5 4C20.2239 4 20 3.77614 20 3.5C20 3.22386 20.2239 3 20.5 3C20.7761 3 21 3.22386 21 3.5C21 3.77614 20.7761 4 20.5 4Z" stroke-linecap="round" stroke-linejoin="round"/> <path d="M12 19C11.4477 19 11 18.5523 11 18C11 17.4477 11.4477 17 12 17C12.5
26523 17 13 17.4477 13 18C13 18.5523 12.5523 19 12 19Z" stroke-linecap="round" stroke-linejoin="round"/> <path d="M7 15.01L7.01 14.9989" stroke-linecap="round" stroke-linejoin="round"/> <path d="M17 15.01L17.01 14.9989" stroke-linecap="round" stroke-linejoin="round"/> <path d="M11 12.01L11.01 11.9989" stroke-linecap="round" stroke-linejoin="round"/> <path d="M21 9.01L21.01 8.99889" stroke-linecap="round" stroke-linejoin="round"/> <path d="M17 6.01L17.01 5.99889" stroke-linecap="round" stroke-linejoin="round"/> <path d="M11 2C10.5 3.5 11.4999 5 13.0855 5C11 8.5 13 12 18 11.5C18 14 20.5 14.5 21.6998 14.0136" stroke-linecap="round" stroke-linejoin="round"/> </svg>`; 27//document.body.appendChild(button);
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.