PageSourceSearch

https://herbergertheater.org/wp-content/cache/wpo-minify/1777507194/assets/wpo-minify-header-bcf812a6.min.js

js herbergertheater.org collected 2026-09-26 01:39:01 UTC 19,643 bytes, 75 lines download raw bytes

1;var MonsterInsights=function(){var e=[],i='',r=!1;this.setLastClicked=function(t,n,i){t=typeof t!=='undefined'?t:[];n=typeof n!=='undefined'?n:[];i=typeof i!=='undefined'?i:!1;e.valuesArray=t;e.fieldsArray=n};this.getLastClicked=function(){return e};this.setInternalAsOutboundCategory=function(e){i=e};this.getInternalAsOutboundCategory=function(){return i};this.sendEvent=function(e,t,n){b(e,t,n,[])};function d(){if(window.monsterinsights_debug_mode){return!0}
2else{return!1}};function v(e,t,n){var l={};for(var i in e){if(!e.hasOwnProperty(i)){continue};if(t&&t.indexOf(i)===-1){continue};if(n&&n.indexOf(i)>-1){continue};l[i]=e[i]};return l};function y(e,t,n){if(!monsterinsights_frontend.v4_id||e!=='event'){return};var i=n.event_category||'',a=['event_name','event_category','event_label','value',],l=v(n,null,a);l.action=t;l.send_to=monsterinsights_frontend.v4_id;let hitType=i.replace('-','_');if(i.indexOf('outbound-link')!==-1){hitType='click'}
3else if(i==='download'){hitType='file_download'};__gtagTracker(e,hitType,l)};function l(t,i,l,a){t=typeof t!=='undefined'?t:'event';i=typeof i!=='undefined'?i:'';a=typeof a!=='undefined'?a:[];l=typeof l!=='undefined'?l:{};y(t,i,l);e.valuesArray=a;e.fieldsArray=l;e.fieldsArray.event_action=i;e.tracked=!0;n('Tracked: '+a.type);n(e)};function b(t,i,l,a){t=typeof t!=='undefined'?t:'event';i=typeof i!=='undefined'?i:'';a=typeof a!=='undefined'?a:[];l=typeof l!=='undefined'?l:{};__gtagTracker(t,i,l);e.valuesArray=a;e.fieldsArray=l;e.fieldsArray.event_action=i;e.tracked=!0;n('Tracked: '+a.type);n(e)};function t(t){t=typeof t!=='undefined'?t:[];e.valuesArray=t;e.fieldsArray=[];e.tracked=!1;n('Not Tracked: '+t.exit);n(e)};function n(e){if(d()){console.dir(e)}};function o(e){return e.replace(/^\s+|\s+$/gm,'')};function u(){var n=0,e=document.domain,i=e.split('.'),t='_gd'+(new Date()).getTime();while(n<(i.length-1)&&document.cookie.indexOf(t+'='+t)==-1){e=i.slice(-1-(++n)).join('.');document.cookie=t+'='+t+';domain='+e+';'};document.cookie=t+'=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain='+e+';';return e};function c(e){e=e.toString();e=e.substring(0,(e.indexOf('#')==-1)?e.length:e.indexOf('#'));e=e.substring(0,(e.indexOf('?')==-1)?e.length:e.indexOf('?'));e=e.substring(e.lastIndexOf('/')+1,e.length);if(e.length>0&&e.indexOf('.')!==-1){e=e.substring(e.lastIndexOf('.')+1);return e}
4else{return''}};function x(e){return e.which==1||e.which==2||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey};function h(){var e=[];if(typeof monsterinsights_frontend.download_extensions=='string'){e=monsterinsights_frontend.download_extensions.split(',')};return e};function g(){var e=[];if(typeof monsterinsights_frontend.inbound_paths=='string'){e=JSON.parse(monsterinsights_frontend.inbound_paths)};return e};function w(e){if(e.which==1){return'event.which=1'}
5else if(e.which==2){return'event.which=2'}
6else if(e.metaKey){return'metaKey'}
7else if(e.ctrlKey){return'ctrlKey'}
8else if(e.shiftKey){return'shiftKey'}
9else if(e.altKey){return'altKey'}
10else{return''}};function A(e){var f=h(),l=g(),t='unknown',d=e.href,p=c(e.href),k=u(),r=e.hostname,a=e.protocol,m=e.pathname;d=d.toString();var s,v,y=e.getAttribute('data-vars-ga-category');if(y){return y};if(d.match(/^javascript\:/i)){t='internal'}
11else if(a&&a.length>0&&(o(a)=='tel'||o(a)=='tel:')){t='tel'}
12else if(a&&a.length>0&&(o(a)=='mailto'||o(a)=='mailto:')){t='mailto'}
13else if(r&&k&&r.length>0&&k.length>0&&!r.endsWith('.'+k)&&r!==k){t='external'}
14else if(m&&JSON.stringify(l)!='{}'&&m.length>0){var b=l.length;for(var n=0;n<b;n++){if(l[n].path&&l[n].label&&l[n].path.length>0&&l[n].label.length>0&&m.startsWith(l[n].path)){t='internal-as-outbound';i='outbound-link-'+l[n].label;break}}}
15else if(r&&window.monsterinsights_experimental_mode&&r.length>0&&document.domain.length>0&&r!==document.domain){t='cross-hostname'};if(p&&(t==='unknown'||'external'===t)&&f.length>0&&p.length>0){for(s=0,v=f.length;s<v;++s){if(f[s].length>0&&(d.endsWith(f[s])||f[s]==p)){t='download';break}}};if(t==='unknown'){t='internal'};return t};function T(e,t){var n=(e.target&&!e.target.match(/^_(self|parent|top)$/i))?e.target:!1;if(t.ctrlKey||t.shiftKey||t.metaKey||t.which==2){n='_blank'};return n};function k(e){if(e.getAttribute('data-vars-ga-label')&&e.getAttribute('data-vars-ga-label').replace(/\n/ig,'')){return e.getAttribute('data-vars-ga-label').replace(/\n/ig,'')}
16else if(e.title&&e.title.replace(/\n/ig,'')){return e.title.replace(/\n/ig,'')}
17else if(e.innerText&&e.innerText.replace(/\n/ig,'')){return e.innerText.replace(/\n/ig,'')}
18else if(e.getAttribute('aria-label')&&e.getAttribute('aria-label').replace(/\n/ig,'')){return e.getAttribute('aria-label').replace(/\n/ig,'')}
19else if(e.alt&&e.alt.replace(/\n/ig,'')){return e.alt.replace(/\n/ig,'')}
20else if(e.textContent&&e.textContent.replace(/\n/ig,'')){return e.textContent.replace(/\n/ig,'')}
21else if(e.firstChild&&e.firstChild.tagName=='IMG'){return e.firstChild.src}
22else if(e.href){return e.href}
23else{return undefined}};function O(e){var i=e.children,l=0,a,n;for(var t=0;t<i.length;t++){a=i[t];n=k(a);if(n){return n};if(l==99){return undefined};l++};return undefined};function p(n){var a=n.srcElement||n.target,e=[],m;e.el=a;e.click_type=w(n);if('undefined'===typeof __gtagTracker||!x(n)){e.exit='loaded';t(e);return}
24while(a&&(typeof a.tagName=='undefined'||a.tagName.toLowerCase()!='a'||!a.href)){a=a.parentNode};if(a&&a.href&&!a.hasAttribute('xlink:href')){var p=a.href,M=c(a.href),N=h(),S=g(),D=monsterinsights_frontend.home_url,L=u(),o=A(a),K=T(a,n),y=a.getAttribute('data-vars-ga-action'),f=a.getAttribute('data-vars-ga-label');e.el=a;e.el_href=a.href;e.el_protocol=a.protocol;e.el_hostname=a.hostname;e.el_port=a.port;e.el_pathname=a.pathname;e.el_search=a.search;e.el_hash=a.hash;e.el_host=a.host;e.el_classes=a.getAttribute('class');e.el_id=a.id;e.debug_mode=d();e.download_extensions=N;
24e.inbound_paths=S;e.home_url=D;e.link=p;e.extension=M;e.type=o;e.target=K;e.title=k(a);if(!e.label&&!e.title){e.title=O(a)};if(o!=='internal'&&o!=='javascript'){var b=!1,v=function(){if(b){return};s();b=!0;if(a.attributes.download){var e=document.createElement('a');e.href=a.href;e.download=a.download;e.click()}
25else{window.location.href=p}},E=function(){e.exit='external';t(e)},C=function(){e.exit='internal-as-outbound';t(e)},I=function(){e.exit='cross-hostname';t(e)};if(K||o=='mailto'||o=='tel'){if(o=='download'){m={event_category:'download',event_label:f||e.title,file_extension:e.extension,file_name:e.link.replace(/^.*\//g,''),link_text:f||e.title,link_url:p,link_type:'download',link_domain:e.el_hostname,link_classes:e.el_classes,link_id:e.el_id,}}
26else if(o=='tel'){m={event_category:'tel',event_label:f||e.title.replace('tel:',''),tel_number:p.replace('tel:',''),link_text:f||e.title,link_url:p,link_type:'tel',link_classes:e.el_classes,link_id:e.el_id,}}
27else if(o=='mailto'){m={event_category:'mailto',event_label:f||e.title.replace('mailto:',''),email_address:p.replace('mailto:',''),link_text:f||e.title.replace('mailto:',''),link_url:p,link_type:'mailto',link_classes:e.el_classes,link_id:e.el_id,}}
28else if(o=='internal-as-outbound'){m={event_category:i,event_label:f||e.title,event_name:'click',is_affiliate_link:!0,affiliate_label:i.replace('outbound-link-',''),link_text:f||e.title,link_url:p,link_type:'affiliate',link_domain:e.el_hostname,link_classes:e.el_classes,link_id:e.el_id,outbound:!0,}}
29else if(o=='external'){m={event_category:'outbound-link',event_label:f||e.title,is_affiliate_link:!1,link_text:f||e.title,link_url:p,link_type:'outbound',link_domain:e.el_hostname,link_classes:e.el_classes,link_id:e.el_id,outbound:!0,}}
30else if(o=='cross-hostname'){m={event_category:'cross-hostname',event_label:f||e.title,link_text:f||e.title,link_url:p,link_domain:e.el_hostname,link_classes:e.el_classes,link_id:e.el_id,}};if(m){l('event',y||p,m,e)}
31else{if(o&&o!='internal'){m={event_category:o,event_label:f||e.title,link_text:f||e.title,link_url:p,link_type:'internal',link_domain:e.el_hostname,link_classes:e.el_classes,link_id:e.el_id,};l('event',y||p,m,e)}
32else{e.exit='type';t(e)}}}
33else{if(o!='cross-hostname'&&o!='external'&&o!='internal-as-outbound'){if(!n.defaultPrevented){if(n.preventDefault){n.preventDefault()}
34else{n.returnValue=!1}}};if(o=='download'){m={event_category:'download',event_label:f||e.title,event_callback:v,file_extension:e.extension,file_name:e.link.replace(/^.*\//g,''),link_text:f||e.title,link_url:p,link_type:'download',link_domain:e.el_hostname,link_classes:e.el_classes,link_id:e.el_id,};l('event',y||p,m,e)}
35else if(o=='internal-as-outbound'){r=!0;window.onbeforeunload=function(t){if(!n.defaultPrevented){if(n.preventDefault){n.preventDefault()}
36else{n.returnValue=!1}};m={event_category:i,event_label:f||e.title,event_callback:v,is_affiliate_link:!0,affiliate_label:i.replace('outbound-link-',''),link_text:f||e.title,link_url:p,link_type:'affiliate',link_domain:e.el_hostname,link_classes:e.el_classes,link_id:e.el_id,outbound:!0,};if(navigator.sendBeacon){m.transport='beacon'};l('event',y||p,m,e);setTimeout(v,1000)}}
37else if(o=='external'){r=!0;window.onbeforeunload=function(t){m={event_category:'outbound-link',event_label:f||e.title,event_callback:v,is_affiliate_link:!1,link_text:f||e.title,link_url:p,link_type:'outbound',link_domain:e.el_hostname,link_classes:e.el_classes,link_id:e.el_id,outbound:!0,};if(navigator.sendBeacon){m.transport='beacon'};l('event',y||p,m,e)}}
38else if(o=='cross-hostname'){r=!0;window.onbeforeunload=function(t){if(!n.defaultPrevented){if(n.preventDefault){n.preventDefault()}
39else{n.returnValue=!1}};m={event_category:'cross-hostname',event_label:f||e.title,event_callback:v,link_text:f||e.title,link_url:p,link_domain:e.el_hostname,link_classes:e.el_classes,link_id:e.el_id,};if(navigator.sendBeacon){m.transport='beacon'};l('event',y||p,m,e);setTimeout(v,1000)}}
40else{if(o&&o!=='internal'){m={event_category:o,event_label:f||e.title,event_callback:v,link_text:f||e.title,link_url:p,link_type:'internal',link_domain:e.el_hostname,link_classes:e.el_classes,link_id:e.el_id,};l('event',y||p,m,e)}
41else{e.exit='type';t(e)}};
41if(o!='external'&&o!='cross-hostname'&&o!='internal-as-outbound'){setTimeout(v,1000)}
42else{if(o=='external'){setTimeout(E,1100)}
43else if(o=='cross-hostname'){setTimeout(I,1100)}
44else{setTimeout(C,1100)}};setTimeout(s,100)}}
45else{s();e.exit='internal';t(e)}}
46else{e.exit='notlink';t(e)}};var f=window.location.hash;function m(){if(monsterinsights_frontend.hash_tracking==='true'&&f!=window.location.hash&&monsterinsights_frontend.v4_id){f=window.location.hash;__gtagTracker('config',monsterinsights_frontend.v4_id,{page_path:location.pathname+location.search+location.hash,});n('Hash change to: '+location.pathname+location.search+location.hash)}
47else{n('Hash change to (untracked): '+location.pathname+location.search+location.hash)}};function s(){if(r){window.onbeforeunload=null}};var a=window;if(a.addEventListener){a.addEventListener('load',function(){document.body.addEventListener('click',p,!1)},!1);window.addEventListener('hashchange',m,!1)}
48else{if(a.attachEvent){a.attachEvent('onload',function(){document.body.attachEvent('onclick',p)});window.attachEvent('onhashchange',m)}};if(typeof String.prototype.endsWith!=='function'){String.prototype.endsWith=function(e){return this.indexOf(e,this.length-e.length)!==-1}};if(typeof String.prototype.startsWith!=='function'){String.prototype.startsWith=function(e){return this.indexOf(e)===0}};if(typeof Array.prototype.lastIndexOf!=='function'){Array.prototype.lastIndexOf=function(e){'use strict';if(this===void 0||this===null){throw new TypeError()};var t,n,l=Object(this),i=l.length>>>0;if(i===0){return-1};t=i-1;if(arguments.length>1){t=Number(arguments[1]);if(t!=t){t=0}
49else if(t!=0&&t!=(1/0)&&t!=-(1/0)){t=(t>0||-1)*Math.floor(Math.abs(t))}};for(n=t>=0?Math.min(t,i-1):i-Math.abs(t);n>=0;n--){if(n in l&&l[n]===e){return n}};return-1}}},MonsterInsightsObject=new MonsterInsights();
50window.FacebookSignal=window.FacebookSignal||{_held:!1,_releasing:!1,_pixelInitialized:!1,_pixelId:null,_pixelUserInfo:{},_pixelOptions:{},_pendingPixelEvents:[],_queue:[],_config:{},_seenEventIds:{},_fbclid:(function(){try{var match=window.location.search.match(/[?&]fbclid=([^&]*)/);return match?decodeURIComponent(match[1]):null}catch(e){return null}})(),_readCookie:function(name){try{var pairs=(document.cookie||'').split(';');for(var i=0;i<pairs.length;i++){var pair=pairs[i].replace(/^\s+/,'');if(pair.indexOf(name+'=')===0){return decodeURIComponent(pair.substring(name.length+1))}}}catch(e){}
51return null},init:function(config){this._config=config||{};this._attribution=this._config.attribution||{};var cookieState=this._readCookie('wc_facebook_signals_state');this._held=cookieState?cookieState==='held':!!this._config.held;if(typeof fbq==='function'){fbq('consent',this._held?'revoke':'grant')}
52try{var raw=window.sessionStorage.getItem('fbpix_seen_event_ids');this._seenEventIds=raw?JSON.parse(raw):{}}catch(e){this._seenEventIds=this._seenEventIds||{}}},initPixel:function(pixelId,userInfo,options){this._pixelId=pixelId;this._pixelUserInfo=userInfo&&typeof userInfo==='object'&&!Array.isArray(userInfo)?userInfo:{};this._pixelOptions=options||{};if(!this._held){this._runPixelInit()}},_runPixelInit:function(){if(this._pixelInitialized||!this._pixelId||typeof fbq!=='function'){return}
53if(this._pixelOptions&&this._pixelOptions.includeCapiIntegration){var url=window.location.origin+'?ob=open-bridge';fbq('set','openbridge',this._pixelId,url)}
54if(this._config.capig==='1'){fbq('optinMetaEnabledCapi',this._pixelId)}
55fbq('init',this._pixelId,this._pixelUserInfo,this._pixelOptions);this._pixelInitialized=!0;this._flushPendingPixelEvents()}
55,_flushPendingPixelEvents:function(){var pending=this._pendingPixelEvents;this._pendingPixelEvents=[];for(var i=0;i<pending.length;i++){var ev=pending[i];this._firePixelEvent(ev.name,ev.params,ev.method,ev.eventId)}},_fireOrQueuePixelEvent:function(name,params,method,eventId){if(!this._pixelInitialized){this._pendingPixelEvents.push({name:name,params:params||{},method:method||'track',eventId:eventId||null,});return}
56this._firePixelEvent(name,params||{},method||'track',eventId||null)},_firePixelEvent:function(name,params,method,eventId){method=method||'track';if(eventId){fbq(method,name,params||{},{eventID:eventId})}else{fbq(method,name,params||{})}},_syncCookie:function(name,serverValue,domain){if(!serverValue){return}
57var encoded=encodeURIComponent(serverValue);var match=document.cookie.match(new RegExp('(?:^|;\\s*)'+name+'=([^;]*)'),);var current=match?match[1]:null;if(current&&current!==encoded){var cookie=name+'='+encoded+';path=/;max-age=7776000;SameSite=Lax';if(domain){cookie+=';domain='+domain}
58document.cookie=cookie}},queueEvent:function(eventData){if(!eventData||!eventData.event_name){return}
59if(eventData.event_id&&this._seenEventIds[eventData.event_id]){return}
60eventData.event_time=eventData.event_time||Math.floor(Date.now()/1000);eventData.event_source_url=eventData.event_source_url||window.location.href;this._queue.push(eventData);if(eventData.event_id){this._seenEventIds[eventData.event_id]=1;try{window.sessionStorage.setItem('fbpix_seen_event_ids',JSON.stringify(this._seenEventIds),)}catch(e){}}},trackEvent:function(name,params,userData,method,eventId){method=method||'track';eventId=eventId||(params&&params.eventID)||null;if(this._held){this.queueEvent({event_name:name,custom_data:params||{},event_id:eventId,event_time:Math.floor(Date.now()/1000),method:method,})}else{this._fireOrQueuePixelEvent(name,params||{},method,eventId)}},hold:function(){this._held=!0;fbq('consent','revoke')},release:function(){var self=this;if(!self._held||self._releasing||!self._config.ajaxUrl){return Promise.resolve({success:!0,data:{sent_count:0}})}
61self._releasing=!0;return new Promise(function(resolve,reject){var xhr=new XMLHttpRequest();var url=self._config.ajaxUrl+(self._config.ajaxUrl.indexOf('?')===-1?'?':'&')+'action='+encodeURIComponent(self._config.releaseAction);xhr.open('POST',url,!0);xhr.setRequestHeader('Content-Type','application/json');xhr.onload=function(){if(xhr.status<200||xhr.status>=300){self._releasing=!1;reject(new Error('Release AJAX failed: '+xhr.status));return}
62try{var response=JSON.parse(xhr.responseText);self._handleReleaseResponse(response.data||{});self._releasing=!1;resolve(response)}catch(error){self._releasing=!1;reject(error)}};xhr.onerror=function(){self._releasing=!1;reject(new Error('Network error'))};var attribution=self._config.attribution||{};xhr.send(JSON.stringify({events:self._queue,fbclid:self._fbclid,fbp:self._readCookie('_fbp')||attribution.fbp||null,fbc:self._readCookie('_fbc')||attribution.fbc||null,}),)})},_handleReleaseResponse:function(data){var attr=this._config.attribution||{};var fbpValue=data.fbp||attr.fbp;var fbcValue=data.fbc||attr.fbc;if(fbpValue){var fbpCookie='_fbp='+encodeURIComponent(fbpValue)+';path=/;max-age=7776000;SameSite=Lax';if(attr.fbpDomain){fbpCookie+=';domain='+attr.fbpDomain}
63document.cookie=fbpCookie}
64if(fbcValue){var fbcCookie='_fbc='+encodeURIComponent(fbcValue)+';path=/;max-age=7776000;SameSite=Lax';if(attr.fbcDomain){fbcCookie+=';domain='+attr.fbcDomain}
65document.cookie=fbcCookie}
66if(data.user_info&&typeof data.user_info==='object'&&!Array.isArray(data.user_info)){this._pixelUserInfo=data.user_info}
67this._pixelInitialized=!1;this._runPixelInit();fbq('consent','grant');for(var i=0;i<this._queue.length;i++){var queuedEvent=this._queue[i];var customData=queuedEvent.custom_data||{};var trackMethod=queuedEvent.method||(queuedEvent.is_custom?'trackCustom':'track');if(queuedEvent.event_id){fbq(trackMethod,queuedEvent.event_name,customData,{eventID:queuedEvent.event_id,})}else{fbq(trackMethod,queuedEvent.event_name,customData)}}
68this._queue=[];this._held=!1;this._releasing=!1},};window.fbwcsignal=window.fbwcsignal||{};(function(api){var signalConfig=window.facebookSignalConfig||{};var cookieName=signalConfig.cookieName||'';var ajaxUrl=signalConfig.ajaxUrl||'';var signalsAction=signalConfig.signalsAction||'';var signalsNonce=signalConfig.signalsNonce||'';function setCookie(value){var expires=new Date();expires.setTime(expires.getTime()+365*24*60*60*1000);document.cookie=cookieName+'='+encodeURIComponent(value)+';expires='+expires.toUTCString()+';path=/;SameSite=Lax'}
69function getCookie(){var match=document.cookie.match(new RegExp('(?:^|;\\s*)'+cookieName+'=([^;]*)'),);return match?decodeURIComponent(match[1]):null}
70function updateState(state){var normalizedState=state==='active'?'active':'held';
70setCookie(normalizedState);return new Promise(function(resolve,reject){var xhr=new XMLHttpRequest();xhr.open('POST',ajaxUrl,!0);xhr.setRequestHeader('Content-Type','application/x-www-form-urlencoded; charset=UTF-8',);xhr.onload=function(){if(xhr.status<200||xhr.status>=300){reject(new Error('Signals AJAX failed: '+xhr.status));return}
71try{var response=JSON.parse(xhr.responseText);if(normalizedState==='held'){window.FacebookSignal.hold();resolve(response);return}
72if(window.FacebookSignal&&window.FacebookSignal._held){window.FacebookSignal.release().then(function(){resolve(response)},function(error){reject(error)},);return}
73resolve(response)}catch(error){reject(error)}};xhr.onerror=function(){reject(new Error('Network error'))};xhr.send('action='+encodeURIComponent(signalsAction)+'&security='+encodeURIComponent(signalsNonce)+'&state='+encodeURIComponent(normalizedState),)})}
74api.hold=function(){return updateState('held')};api.release=function(){return updateState('active')};api.getState=function(){var value=getCookie();if(value==='active'||value==='held'){return value}
75return null}})(window.fbwcsignal);

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.