PageSourceSearch

http://www.activa.com.au/js/addthis_widget.js

js activa.com.au collected 2026-10-06 13:15:39 UTC 19,048 bytes, 442 lines download raw bytes

1/* (c) 2008-2014 AddThis, Inc */
2var addthis_conf = {
3    ver: 300
4};
5! function t(e, s, i) {
6    function r(n, o) {
7        if (!s[n]) {
8            if (!e[n]) {
9                var c = "function" == typeof require && require;
10                if (!o && c) return c(n, !0);
11                if (a) return a(n, !0);
12                var d = new Error("Cannot find module '" + n + "'");
13                throw d.code = "MODULE_NOT_FOUND", d
14            }
15            var u = s[n] = {
16                exports: {}
17            };
18            e[n][0].call(u.exports, function(t) {
19                var s = e[n][1][t];
20                return r(s ? s : t)
21            }, u, u.exports, t, e, s, i)
22        }
23        return s[n].exports
24    }
25    for (var a = "function" == typeof require && require, n = 0; n < i.length; n++) r(i[n]);
26    return r
27}({
28    1: [function(t, e) {
29        var s = t("../business/getPostLoadOps");
30        e.exports = function(t) {
31            s().push(t)
32        }
33    }, {
34        "../business/getPostLoadOps": 3
35    }],
36    2: [function(t, e) {
37        e.exports = function() {
38            return window.addthis_cdn || "//s7.addthis.com/"
39        }
40    }, {}],
41    3: [function(t, e) {
42        var s, i = window;
43        e.exports = function() {
44            return s || (i.addthis ? (i.addthis.plo || (i.addthis.plo = []), s = i.addthis.plo) : "undefined" != typeof _ate && (_ate.plo || (_ate.plo = []), s = _ate.plo)), s
45        }
46    }, {}],
47    4: [function(t, e) {
48        var s = t("../util/domEvents").listen,
49            i = {};
50        e.exports = function(t) {
51            function e(e, s) {
52                return function() {
53                    var i, r, a = Array.prototype.slice.call(arguments, 0),
54                        c = a[a.length - 1];
55                    c && c.constructor === Function && (r = a.pop(), i = n++, o[e] ? o[e][i] = r : (o[e] = {}, o[e][i] = r)), t.contentWindow.postMessage(JSON.stringify({
56                        type: "api.request",
57                        api: e,
58                        method: s,
59                        args: a,
60                        id: i
61                    }), t.src)
62                }
63            }
64
65            function r(e) {
66                c[e] ? a(this, e, c[e]) : (u[e] ? u[e].push(this) : u[e] = [this], t.contentWindow.postMessage(JSON.stringify({
67                    type: "api.info.request",
68                    api: e
69                }), "*")), this.addReadyListener = function(t) {
70                    c[e] ? t() : d[e] ? d[e].push(t) : d[e] = [t]
71                }
72            }
73
74            function a(t, s, i) {
75                var r, a;
76                for (r = 0; r < i.length; r++) a = i[r], t[a] = e(s, a)
77            }
78            if (t.__apiID && i[t.__apiID]) return i[t.__apiID];
79            t.__apiID = String(Math.random());
80            var n = 0,
81                o = {},
82                c = {},
83                d = {},
84                u = {};
85            return s(window, "message", function(e) {
86                var s, i, r = e.data,
87                    n = e.source;
88                if (n === t.contentWindow) {
89                    try {
90                        r = JSON.parse(r)
91                    } catch (l) {
92                        r = r || {}
93                    }
94                    if ("api.response" === r.type) o[r.api] && o[r.api][r.id] && (o[r.api][r.id].call(this, r.result), delete o[r.api][r.id]);
95                    else if ("api.info" === r.type) {
96                        for (s = u[r.api], c[r.api] = r.methods; s && s.length;) a(s.pop(), r.api, c[r.api]);
97                        for (; d[r.api] && d[r.api].length;)(i = d[r.api].pop())()
98                    }
99                }
100            }), i[t.__apiID] = r, r
101        }
102    }, {
103        "../util/domEvents": 7
104    }],
105    5: [function(t) {
106        ! function() {
107            function e(t, e, s, i) {
108                return function() {
109                    this.qs || (this.qs = 0), _atc.qs++, this.qs++ > 0 && i || _atc.qs > 1e3 || !p.addthis || d({
110                        call: t,
111                        args: arguments,
112                        ns: e,
113                        ctx: s
114                    })
115                }
116            }
117
118            function s(t) {
119                var e = this,
120                    s = this.queue = [];
121                this.name = t, this.call = function() {
122                    s.push(arguments)
123                }, this.call.queuer = this, this.flush = function(t, i) {
124                    this.flushed = 1;
125                    for (var r = 0; r < s.length; r++) t.apply(i || e, s[r]);
126                    return t
127                }
128            }
129
130            function i(t) {
131                t && !(t.data || {}).addthisxf && p.addthis && (addthis._pmh.flushed ? _ate.pmh(t) : addthis._pmh.call(t))
132            }
133            var r, a = t("../util/getScriptTagParams"),
134                n = t("../makeAPIFrame"),
135                o = t("../util/onePixelPosition"),
136                c = t("../business/getATRoot"),
137                d = t("../business/addPostLoadOp"),
138                u = t("../constructor/ClientAPI"),
139                l = t("../util/domEvents").listen,
140                p = window,
141                h = document;
142            (p._atc || {}).ver || (p._atd = "www.addthis.com/", p._atr = c(), p._euc = encodeURIComponent, p._duc = decodeURIComponent, p._atc = {
143                dbg: 0,
144                rrev: "12.6",
145                dr: 0,
146                ver: 250,
147                loc: 0,
148                enote: "",
149                cwait: 500,
150                bamp: .25,
151                camp: 1,
152                csmp: 1e-4,
153                damp: 1,
154                famp: 1,
155                pamp: .1,
156                abmp: .5,
157                sfmp: -1,
158                tamp: 1,
159                plmp: 1,
160                stmp: 0,
161                vamp: 1,
162                cscs: 1,
163                dtt: .1,
164                ohmp: 0,
165                ltj: 1,
166                xamp: 1,
167                abf: !!p.addthis_do_ab,
168                qs: 0,
169                cdn: 0,
170                rsrcs: {
171                    bookmark: _atr + "static/r07/bookmark047.html",
172                    atimg: _atr + "static/r07/atimg047.html",
173                    countercss: _atr + "static/r07/plugins/counter015.css",
174                    counterIE67css: _atr + "plugins/static/r07/counterIE67004.css",
175                    counter: _atr + "static/r07/plugins/counter020.js",
176                    core: _atr + "static/r07/core174.js",
177                    wombat: _atr + "static/r07/bar.js",
178                    wombatcss: _atr + "static/r07/bar.css",
179                    qbarcss: _atr + "bannerQuirks.css",
180                    fltcss: _atr + "static/r07/floating010.css",
181                    barcss: _atr + "static/r07/banner006.css",
182                    barjs: _atr + "static/r07/banner004.js",
183                    contentcss: _atr + "static/r07/content009.css",
184                    contentjs: _atr + "static/r07/content023.js",
185                    layersjs: _atr + "static/r07/plugins/layers090.js",
186                    layerscss: _atr + "static/r07/plugins/layers070.css",
187                    layersiecss: _atr + "static/r07/plugins/layersIE6008.css",
188                    layersdroidcss: _atr + "static/r07/plugins/layersdroid005.css",
189                    warning: _atr + "static/r07/warning000.html",
190                    ssojs: _atr + "static/r07/ssi005.js",
191                    ssocss: _atr + "static/r07/ssi004.css",
192                    peekaboocss: _atr + "static/r07/peekaboo002.css",
193                    overlayjs: _atr + "static/r07/overlay005.js",
194                    widgetWhite32CSS: _atr + "static/r07/widget/css/widget009.white.32.css",
195                    widgetIE67css: _atr + "static/r07/widgetIE67007.css",
196                    widgetpng: "//s7.addthis.com/",
197                    widgetOldCSS: _atr + "static/r07/widget/css/widget009.old.css",
198                    widgetOld16CSS: _atr + "static/r07/widget/css/widget009.old.16.css",
199                    widgetOld20CSS: _atr + "static/r07/widget/css/widget009.old.20.css",
200                    widgetOld32CSS: _atr + "static/r07/widget/css/widget009.old.32.css",
201                    widgetMobileCSS: _atr + "static/r07/widget/css/widget009.mobile.css",
202                    embed: _atr + "static/r07/embed010.js",
203                    embedcss: _atr + "static/r07/embed004.css",
204                    lightbox: _atr + "static/r07/lightbox000.js",
205                    lightboxcss: _atr + "static/r07/lightbox001.css",
206                    link: _atr + "static/r07/link005.html",
207                    pinit: _atr + "static/r07/pinit022.html",
208                    linkedin: _atr + "static/r07/linkedin025.html",
209                    fbshare: _atr + "static/r07/fbshare004.html",
210                    tweet: _atr + "static/r07/tweet029.html",
211                    menujs: _atr + "static/r07/menu169.js",
212                    sh: _atr + "static/r07/sh183.html"
213                }
214            });
215            var f, g, m, _ = "https:" === p.location.protocol,
216                v = h.body || h.getElementsByTagName("head")[0];
217            if (!p.addthis || p.addthis.nodeType !== r) {
218                try {
219                    f = p.navigator ? navigator.userLanguage || navigator.language : "", g = f.split("-").pop().toLowerCase(), m = f.substring(0, 2)
220                } catch (w) {}
221                p.addthis = {
222                    ost: 0,
223                    cache: {},
224                    plo: [],
225                    links: [],
226                    ems: [],
227                    timer: {
228                        load: (new Date).getTime()
229                    },
230                    _Queuer: s,
231                    _queueFor: e,
232                    data: {
233                        getShareCount: e("getShareCount", "data")
234                    },
235                    bar: {
236                        show: e("show", "bar"),
237                        initialize: e("initialize", "bar")
238                    },
239                    layers: e("layers"),
240                    login: {
241                        initialize: e("initialize", "login"),
242                        connect: e("connect", "login")
243                    },
244                    configure: function(t) {
245                        p.addthis_config || (p.addthis_config = {}), p.addthis_share || (p.addthis_share = {});
246                        for (var e in t)
247                            if ("share" == e && "object" == typeof t[e])
248                                for (var s in t[e]) t[e].hasOwnProperty(s) && (addthis.ost ? addthis.update("share", s, t[e][s]) : p.addthis_share[s] = t[e][s]);
249                            else t.hasOwnProperty(e) && (addthis.ost ? addthis.update("config", e, t[e]) : p.addthis_config[e] = t[e])
250                    },
251                    box: e("box"),
252                    button: e("button"),
253                    counter: e("counter"),
254                    count: e("count"),
255                    lightbox: e("lightbox"),
256                    toolbox: e("toolbox"),
257                    update: e("update"),
258                    init: e("init"),
259                    ad: {
260                        menu: e("menu", "ad", "ad"),
261                        event: e("event", "ad"),
262                        getPixels: e("getPixels", "ad")
263                    },
264                    util: {
265                        getServiceName: e("getServiceName")
266                    },
267                    ready: e("ready"),
268                    addEventListener: e("addEventListener", "ed", "ed"),
269                    removeEventListener: e("removeEventListener", "ed", "ed"),
270                    user: {
271                        getID: e("getID", "user"),
272                        getGeolocation: e("getGeolocation", "user", null, !0),
273                        getPreferredServices: e("getPreferredServices", "user", null, !0),
274                        getServiceShareHistory: e("getServiceShareHistory", "user", null, !0),
275                        ready: e("ready", "user"),
276                        isReturning: e("isReturning", "user"),
277                        isOptedOut: e("isOptedOut", "user"),
278                        isUserOf: e("isUserOf", "user"),
279                        hasInterest: e("hasInterest", "user"),
280                        isLocatedIn: e("isLocatedIn", "user"),
281                        interests: e("getInterests", "user"),
282                        services: e("getServices", "user"),
283                        location: e("getLocation", "user")
284                    },
285                    session: {
286                        source: e("getSource", "session"),
287                        isSocial: e("isSocial", "session"),
288                        isSearch: e("isSearch", "session")
289                    },
290                    _pmh: new s("pmh"),
291                    _pml: []
292                };
293                var b = a("addthis_widget");
294                if (b.headless) {
295                    var y = n(b),
296                        x = u(y);
297                    v.appendChild(y), b.userapi && (p.addthis.UserAPI = new x("user")), b.provider && (p.addthis.ProviderAPI = new x("provider"))
298                } else {
299                    if (-1 == h.location.href.indexOf(_atr)) {
300                        var S = h.getElementById("_atssh");
301                        if (S || (S = h.createElement("div"), S.style.visibility = "hidden", S.id = "_atssh", o(S), v.appendChild(S)), p.postMessage && (l(p, "message", i), addthis._pml.push(i)), !S.firstChild) {
302                            var I, P = Math.floor(1e3 * Math.random());
303                            I = h.createElement("iframe"), I.id = "_atssh" + P, I.title = "AddThis utility frame", S.appendChild(I), o(I), I.frameborder = I.style.border = 0, I.style.top = I.style.left = 0, _atc._atf = I
304                        }
305                    }
306                    var O = h.createElement("script");
307                    O.type = "text/javascript", O.src = (_ ? "https:" : "http:") + _atc.rsrcs.core, v.appendChild(O);
308                    var E = 1e4;
309                    setTimeout(function() {
310                        p.addthis.timer.core || Math.random() < _atc.ohmp && ((new Image).src = "//m.addthisedge.com/live/t00/oh.gif?" + Math.floor(4294967295 * Math.random()).toString(36) + "&cdn=" + _atc.cdn + "&sr=" + _atc.ohmp + "&rev=" + _atc.rrev + "&to=" + E)
311                    }, E)
312                }
313            }
314        }()
315    }, {
316        "../business/addPostLoadOp": 1,
317        "../business/getATRoot": 2,
318        "../constructor/ClientAPI": 4,
319        "../makeAPIFrame": 6,
320        "../util/domEvents": 7,
321        "../util/getScriptTagParams": 12,
322        "../util/onePixelPosition": 13
323    }],
324    6: [function(t, e) {
325        {
326            var s = t("./util/toKV");
327            t("./util/onePixelPosition")
328        }
329        e.exports = function(t) {
330            var e = document.createElement("iframe");
331            return t = t || {}, e.src = "//s7.addthis.com/static/r07/api000.html#" + s(t), e.style.display = "none", e
332        }
333    }, {
334        "./util/onePixelPosition": 13,
335        "./util/toKV": 16
336    }],
337    7: [function(t, e) {
338        function s(t, e, s, i) {
339            e && (e.attachEvent ? e[(t ? "detach" : "attach") + "Event"]("on" + s, i) : e[(t ? "remove" : "add") + "EventListener"](s, i, !1))
340        }
341
342        function i(t, e, i) {
343            s(0, t, e, i)
344        }
345
346        function r(t, e, i) {
347            s(1, t, e, i)
348        }
349        e.exports = {
350            listen: i,
351            unlisten: r
352        }
353    }, {}],
354    8: [function(t, e) {
355        var s = t("./strip"),
356            i = t("./reduce"),
357            s = t("./strip");
358        e.exports = function(t, e) {
359            return e = void 0 !== e ? e : "&", t = void 0 !== t ? t : "", i(t.split(e), function(t, e) {
360                try {
361                    var i = e.split("="),
362                        r = s(window.decodeURIComponent(i[0])),
363                        a = s(window.decodeURIComponent(i.slice(1).join("=")));
364                    r && (t[r] = a)
365                } catch (n) {}
366                return t
367            }, {})
368        }
369    }, {
370        "./reduce": 14,
371        "./strip": 15
372    }],
373    9: [function(t, e) {
374        var s = t("./fromKV");
375        e.exports = function(t) {
376            var e, i = t.indexOf("#");
377            return e = -1 !== i ? t.substring(i) : "", s(e.replace(/^[^\#]+\#?|^\#?/, ""))
378        }
379    }, {
380        "./fromKV": 8
381    }],
382    10: [function(t, e) {
383        var s = t("./fromKV");
384        e.exports = function(t) {
385            var e, i = t.indexOf("?");
386            return e = -1 !== i ? t.substring(i) : "", s(e.replace(/^[^\?]+\??|^\??/, ""))
387        }
388    }, {
389        "./fromKV": 8
390    }],
391    11: [function(t, e) {
392        e.exports = function(t) {
393            for (var e = document.getElementsByTagName("script"), s = 0; s < e.length; s++)
394                if (-1 !== e[s].src.indexOf(t)) return e[s]
395        }
396    }, {}],
397    12: [function(t, e) {
398        var s = t("./getHashParams"),
399            i = t("./getQueryParams"),
400            r = t("./getScriptTag");
401        e.exports = function(t) {
402            var e = r(t);
403            return e && e.src ? e.src.indexOf("#") > -1 ? s(e.src) : i(e.src) : {}
404        }
405    }, {
406        "./getHashParams": 9,
407        "./getQueryParams": 10,
408        "./getScriptTag": 11
409    }],
410    13: [function(t, e) {
411        e.exports = function(t) {
412            t.width = t.height = "1px", t.position = "absolute", t.top = "-9999px", t.zIndex = 1e5
413        }
414    }, {}],
415    14: [function(t, e) {
416        e.exports = function(t, e, s, i) {
417            if (!t) return s;
418            if (t instanceof Array)
419                for (var r = 0, a = t.length, n = t[0]; a > r; n = t[++r]) s = e.call(i || t, s, n, r, t);
420            else
421                for (var o in t) t.hasOwnProperty(o) && (s = e.call(i || t, s, t[o], o, t));
422            return s
423        }
424    }, {}],
425    15: [function(t, e) {
426        e.exports = function(t) {
427            return t += "", t.replace(/(^\s+|\s+$)/g, "")
428        }
429    }, {}],
430    16: [function(t, e) {
431        var s = t("./reduce"),
432            i = t("./strip");
433        e.exports = function(t, e) {
434            return e = void 0 !== e ? e : "&", s(t, function(t, e, s) {
435                return s = i(s), s && t.push(window.encodeURIComponent(s) + "=" + window.encodeURIComponent(i(e))), t
436            }, []).join(e)
437        }
438    }, {
439        "./reduce": 14,
440        "./strip": 15
441    }]
442}, {}, [5]);

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.