PageSourceSearch

https://www.spectator.com.au/_static/??-eJylkNtOwzAMhl+ILAyBpl4gHq…XaP6+LXvU06IO8SZU28pdf9YXg8vAz752H+BDBcrCc=

js spectator.com.au collected 2026-10-02 02:43:15 UTC 12,346 bytes, 148 lines download raw bytes

1  (function() {
2    var cx = scriptParams.google_search_engine_id;  
3    //var cx = '007604623310582658229:j5pu9nxyssu';
4    var gcse = document.createElement('script');
5    gcse.type = 'text/javascript';
6    gcse.async = true;
7    gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
8        '//www.google.com/cse/cse.js?cx=' + cx;
9    var s = document.getElementsByTagName('script')[0];
10    s.parentNode.insertBefore(gcse, s);
11  })();;
12(()=>{var e={257(){var e=".member-links-container--mobile",r=document.querySelector(".user-toggle"),n=document.querySelector(".member-links-container"),t=function(){document.querySelector(e).classList.add("member-links-container--mobile--active")},o=function(){document.querySelector(e).classList.remove("member-links-container--mobile--active")};window.addEventListener("load",function(){if(null!==n){var e=n.cloneNode(!0);document.querySelector("body").appendChild(e),e.classList.remove("member-links-container--desktop"),e.classList.add("member-links-container--mobile"),e.innerHTML+='<div class="member-links-container__close">Close</div>',r.addEventListener("click",t),document.querySelector(".member-links-container__close").addEventListener("click",o)}})},27(){var e,r,n,t,o,c;e=document.querySelector(".js-zephr-content"),r=document.querySelector(".js-subscribe-ribbon"),n=r?r.querySelector(".subscribe-cta.button--secondary"):null,t=r?r.querySelector(".js-subscribe-ribbon-close"):null,o=!0,c=function(){o=!1,null==t||t.setAttribute("aria-expanded",o),r.classList.toggle("subscribe-ribbon--collapsed",!o),n&&(n.className="subscribe-ribbon__cta--small"),null==t||t.removeEventListener("click",c)},window.addEventListener("load",function(){if(e&&r){var n=document.querySelector(".article");n&&(new IntersectionObserver(function(e){e.forEach(function(e){r.ariaHidden=!e.isIntersecting})}).observe(n),o=!0,null==t||t.setAttribute("aria-expanded",o),null==t||t.addEventListener("click",c))}})}};const r={};function n(t){const o=r[t];if(void 0!==o)return o.exports;const c=r[t]={exports:{}};return e[t](c,c.exports,n),c.exports}n.n=e=>{const r=e&&e.__esModule?()=>e.default:()=>e;return n.d(r,{a:r}),r},n.d=(e,r)=>{if(Array.isArray(r))for(var t=0;t<r.length;){var o=r[t++],c=r[t++];n.o(e,o)?0===c&&t++:0===c?Object.defineProperty(e,o,{enumerable:!0,value:r[t++]}):Object.defineProperty(e,o,{enumerable:!0,get:c})}else for(var o in r)n.o(r,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{"use strict";n(257),n(27)})()})();
13//# sourceMappingURL=components.js.map;
14(function () {
15    
16    const COOKIE = "LandingPage";
17    const MAX_AGE_DAYS = 30;
18
19    const href = window.location.href;
20    const path = window.location.pathname || "";
21
22    // Load funnel paths from WP
23    const funnelPaths = (window.coeditorLandingConfig?.funnelPaths || [])
24        .map(p => p.trim())
25        .filter(Boolean);
26
27    // Check if page matches any admin-defined funnel path
28    const isFunnel = funnelPaths.some(fp => path.startsWith(fp));
29    if (isFunnel) return;
30
31    const maxAge = MAX_AGE_DAYS * 24 * 60 * 60;
32    const secure = window.location.protocol === "https:" ? "; Secure" : "";
33
34    document.cookie =
35      `${COOKIE}=${encodeURIComponent(href)}; Max-Age=${maxAge}; Path=/; SameSite=Lax${secure}`;
36})();
37
38;
39var disqus_shortname = countVars.disqusShortname;
40(function () {
41    var nodes = document.getElementsByTagName('span');
42    for (var i = 0, url; i < nodes.length; i++) {
43        if (nodes[i].className.indexOf('dsq-postid') != -1 && nodes[i].parentNode.tagName == 'A') {
44            nodes[i].parentNode.setAttribute('data-disqus-identifier', nodes[i].getAttribute('data-dsqidentifier'));
45            url = nodes[i].parentNode.href.split('#', 1);
46            if (url.length == 1) { url = url[0]; }
47            else { url = url[1]; }
48            nodes[i].parentNode.href = url + '#disqus_thread';
49        }
50    }
51    var s = document.createElement('script');
52    s.async = true;
53    s.type = 'text/javascript';
54    s.src = 'https://' + disqus_shortname + '.disqus.com/count.js';
55    (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
56}());
57;
58var disqus_url = embedVars.disqusUrl;
59var disqus_identifier = embedVars.disqusIdentifier;
60var disqus_container_id = 'disqus_thread';
61var disqus_shortname = embedVars.disqusShortname;
62var disqus_title = embedVars.disqusTitle;
63var disqus_config_custom = window.disqus_config;
64var disqus_config = function () {
65    /*
66    All currently supported events:
67    onReady: fires when everything is ready,
68    onNewComment: fires when a new comment is posted,
69    onIdentify: fires when user is authenticated
70    */
71    var dsqConfig = embedVars.disqusConfig;
72    this.page.integration = dsqConfig.integration;
73    this.page.remote_auth_s3 = dsqConfig.remote_auth_s3;
74    this.page.api_key = dsqConfig.api_key;
75    this.sso = dsqConfig.sso;
76    this.language = dsqConfig.language;
77
78    if (disqus_config_custom)
79        disqus_config_custom.call(this);
80};
81
82(function() {
83    // Adds the disqus_thread id to the comment section if site is using a WP block theme
84    var commentsBlock = document.querySelector('.wp-block-comments');
85    if (commentsBlock) {
86        commentsBlock.id = 'disqus_thread';
87    }
88    if (document.getElementById(disqus_container_id)) {
89        var dsq = document.createElement('script');
90        dsq.type = 'text/javascript';
91        dsq.async = true;
92        dsq.src = 'https://' + disqus_shortname + '.disqus.com/embed.js';
93        (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
94    } else {
95        console.error("Could not find 'disqus_thread' container to load DISQUS.  This is usually the result of a WordPress theme conflicting with the DISQUS plugin.  Try switching your site to a Classic Theme, or contact DISQUS support for help.");
96    }
97})();
98;
99function rcTrackViaDatalayer( data ) {
100    // Only proceed if the dataLayer has already been instantiated
101    if( typeof dataLayer === 'undefined' ) return;
102
103    // ensure we have all the required data
104    if ( ! data.action || ! data.category ) return;
105
106    // push the event data
107    dataLayer.push( {
108        eventCategory: data.category,
109        event: data.event,
110        eventAction: data.action,
111        eventLabel: data.label,
112        eventValue: data.value
113    } );
114}
115
116function rcTrackViaFallback( data ) {
117
118    // ensure we have an instance of google analytics
119    if( typeof _gaq === 'undefined' ) return;
120
121    // ensure we have all the required data
122    if ( ! data.action || ! data.category ) return;
123
124    // push the event data
125    return _gaq.push( [
126        '_trackEvent',
127        data.category,
128        data.action,
129        data.label,
130        data.value
131    ] );
132}
133
134// for debug purposes
135function rcTrackViaConsole( data ) {
136    console.log( "Analytics Event" );
137    console.log( "Category: " + data.category );
138    console.log( "Event:    " + data.event );
139    console.log( "Action:   " + data.action );
140    console.log( "Label:    " + data.label );
141    console.log( "Value:    " + data.value );
142};
143/*! This file is auto-generated */
144(function() {
145"use strict";var wp;(wp||={}).hooks=(()=>{var v=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var I=Object.prototype.hasOwnProperty;var w=(e,n)=>{for(var s in n)v(e,s,{get:n[s],enumerable:!0})},D=(e,n,s,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of g(n))!I.call(e,t)&&t!==s&&v(e,t,{get:()=>n[t],enumerable:!(r=S(n,t))||r.enumerable});return e};var T=e=>D(v({},"__esModule",{value:!0}),e);var le={};w(le,{actions:()=>ae,addAction:()=>J,addFilter:()=>K,applyFilters:()=>N,applyFiltersAsync:()=>ee,createHooks:()=>F,currentAction:()=>te,currentFilter:()=>re,defaultHooks:()=>b,didAction:()=>ie,didFilter:()=>se,doAction:()=>X,doActionAsync:()=>Y,doingAction:()=>ne,doingFilter:()=>oe,filters:()=>ce,hasAction:()=>P,hasFilter:()=>Q,removeAction:()=>L,removeAllActions:()=>U,removeAllFilters:()=>W,removeFilter:()=>M});function z(e){return typeof e!="string"||e===""?(console.error("The namespace must be a non-empty string."),!1):/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)?!0:(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)}var m=z;function E(e){return typeof e!="string"||e===""?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)?!0:(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)}var f=E;function Z(e,n){return function(r,t,a,i=10){let c=e[n];if(!f(r)||!m(t))return;if(typeof a!="function"){console.error("The hook callback must be a function.");return}if(typeof i!="number"){console.error("If specified, the hook priority must be a number.");return}let l={callback:a,priority:i,namespace:t};if(c[r]){let o=c[r].handlers,d;for(d=o.length;d>0&&!(i>=o[d-1].priority);d--);d===o.length?o[d]=l:o.splice(d,0,l),c.__current.forEach(h=>{h.name===r&&h.currentIndex>=d&&h.currentIndex++})}else c[r]={handlers:[l],runs:0};r!=="hookAdded"&&e.doAction("hookAdded",r,t,a,i)}}var H=Z;function C(e,n,s=!1){return function(t,a){let i=e[n];if(!f(t)||!s&&!m(a))return;if(!i[t])return 0;let c=0;if(s)c=i[t].handlers.length,i[t]={runs:i[t].runs,handlers:[]};else{let l=i[t].handlers;for(let o=l.length-1;o>=0;o--)l[o].namespace===a&&(l.splice(o,1),c++,i.__current.forEach(d=>{d.name===t&&d.currentIndex>=o&&d.currentIndex--}))}return t!=="hookRemoved"&&e.doAction("hookRemoved",t,a),c}}var p=C;function O(e,n){return function(r,t){let a=e[n];return typeof t<"u"?r in a&&a[r].handlers.some(i=>i.namespace===t):r in a}}var _=O;function j(e,n,s,r){return function(a,...i){let c=e[n];c[a]||(c[a]={handlers:[],runs:0}),c[a].runs++;let l=c[a].handlers;if(!l||!l.length)return s?i[0]:void 0;let o={name:a,currentIndex:0};async function d(){try{c.__current.add(o);let u=s?i[0]:void 0;for(;o.currentIndex<l.length;
145)u=await l[o.currentIndex].callback.apply(null,i),s&&(i[0]=u),o.currentIndex++;return s?u:void 0}finally{c.__current.delete(o)}}function h(){try{c.__current.add(o);let u=s?i[0]:void 0;for(;o.currentIndex<l.length;)u=l[o.currentIndex].callback.apply(null,i),s&&(i[0]=u),o.currentIndex++;return s?u:void 0}finally{c.__current.delete(o)}}return(r?d:h)()}}var A=j;function $(e,n){return function(){let r=e[n];return Array.from(r.__current).at(-1)?.name??null}}var y=$;function V(e,n){return function(r){let t=e[n];return typeof r>"u"?t.__current.size>0:Array.from(t.__current).some(a=>a.name===r)}}var k=V;function q(e,n){return function(r){let t=e[n];if(f(r))return t[r]&&t[r].runs?t[r].runs:0}}var x=q;var B=class{actions;filters;addAction;addFilter;removeAction;removeFilter;hasAction;hasFilter;removeAllActions;removeAllFilters;doAction;doActionAsync;applyFilters;applyFiltersAsync;currentAction;currentFilter;doingAction;doingFilter;didAction;didFilter;constructor(){this.actions=Object.create(null),this.actions.__current=new Set,this.filters=Object.create(null),this.filters.__current=new Set,this.addAction=H(this,"actions"),this.addFilter=H(this,"filters"),this.removeAction=p(this,"actions"),this.removeFilter=p(this,"filters"),this.hasAction=_(this,"actions"),this.hasFilter=_(this,"filters"),this.removeAllActions=p(this,"actions",!0),this.removeAllFilters=p(this,"filters",!0),this.doAction=A(this,"actions",!1,!1),this.doActionAsync=A(this,"actions",!1,!0),this.applyFilters=A(this,"filters",!0,!1),this.applyFiltersAsync=A(this,"filters",!0,!0),this.currentAction=y(this,"actions"),this.currentFilter=y(this,"filters"),this.doingAction=k(this,"actions"),this.doingFilter=k(this,"filters"),this.didAction=x(this,"actions"),this.didFilter=x(this,"filters")}};function G(){return new B}var F=G;var b=F(),{addAction:J,addFilter:K,removeAction:L,removeFilter:M,hasAction:P,hasFilter:Q,removeAllActions:U,removeAllFilters:W,doAction:X,doActionAsync:Y,applyFilters:N,applyFiltersAsync:ee,currentAction:te,currentFilter:re,doingAction:ne,doingFilter:oe,didAction:ie,didFilter:se,actions:ae,filters:ce}=b;return T(le);})();
146(window.wp ||= {}).hooks = wp.hooks;
147})();
148;

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.