PageSourceSearch

https://astra-hotel.ch/wp-content/plugins/wf-cookie-consent/js/cookiechoices.min.js?ver=1.3

js astra-hotel.ch collected 2026-10-03 21:38:51 UTC 3,149 bytes, 16 lines download raw bytes

1/*
2 Copyright 2014 Google Inc. All rights reserved.
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15 */
16!function(){var e="displayCookieConsent",t="cookieChoiceInfo",n="cookieChoiceDismiss",c="cookieChoiceDismissIcon",o=["top","bottom"],a=["light","dark","minimal","card"];function i(e,t,n){for(var c=0;c<t.length;c++)if(t[c]===e)return e;return n}function d(){var e=window._wfCookieConsentSettings;if(void 0!==e&&void 0!==e.wf_linkhref){var t={position:i(e.wf_position,o,"bottom"),style:i(e.wf_style,a,"light"),autoDark:!!e.wf_auto_dark};p(v(e.wf_cookietext),v(e.wf_dismisstext),v(e.wf_linktext),e.wf_linkhref,t,!1)}}function r(e,n,o,a,i){var d,r=document.createElement("div"),l=document.createElement("div");return l.className="wf-cc__inner",r.id=t,r.className="wf-cc wf-cc--"+i.position+" wf-cc--theme-"+i.style+(i.autoDark?" wf-cc--auto-dark":""),l.appendChild(m(e)),o&&a&&l.appendChild(u(o,a)),l.appendChild(s(n)),r.appendChild(l),r.appendChild(((d=document.createElement("a")).id=c,d.href="#",d.className="wf-cc__close",d)),r}function l(e,t){"textContent"in document.body?e.textContent=t:e.innerText=t}function m(e){var t=document.createElement("span");return l(t,e),t}function s(e){var t=document.createElement("a");return l(t,e),t.id=n,t.href="#",t.className="wf-cc__dismiss",t}function u(e,t){var n=document.createElement("a");return l(n,e),n.href=t,n.target="_blank",n.rel="noopener",n.className="wf-cc__link",n}function f(){var t;return(t=new Date).setFullYear(t.getFullYear()+1),document.cookie=e+"=y;path=/; expires="+t.toGMTString(),h(),!1}function p(o,a,i,d,l,p){if(!document.cookie.match(new RegExp(e+"=([^;]+)"))){h();var v=p?function(e,n,c,o){var a=document.createElement("div");a.id=t,a.className="wf-cc";var i=document.createElement("div");i.className="wf-cc__glass";var d=document.createElement("div");d.className="wf-cc__content";var r=document.createElement("div");r.className="wf-cc__dialog";var l=s(n);return l.className+=" wf-cc__dismiss--block",d.appendChild(m(e)),c&&o&&d.appendChild(u(c,o)),d.appendChild(l),r.appendChild(d),a.appendChild(i),a.appendChild(r),a}(o,a,i,d):r(o,a,i,d,l),_=document.createDocumentFragment();_.appendChild(v),document.body.appendChild(_.cloneNode(!0)),document.getElementById(n).onclick=f,document.getElementById(c).onclick=f}}function h(){var e=document.getElementById(t);null!=e&&e.parentNode.removeChild(e)}function v(e){var t=document.createElement("textarea");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}document.addEventListener?document.addEventListener("DOMContentLoaded",d):document.attachEvent("onreadystatechange",function(e){"complete"===document.readyState&&d()})}();

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.