PageSourceSearch

https://scti.com.au/mc-4ae19cb4-2340-482b-9937-16c9-cdn-endpoint.a…&hash=53AC8BF44379A2CBB9DDF3A7043CEA9D

js scti.com.au collected 2026-10-02 19:45:26 UTC 1,022 bytes, 40 lines download raw bytes

1XA.component.search.parameters = (function ($, document) {
2
3    var api = {},
4        queryModel,
5        searchResultModels,
6        initialized = false,
7        defaults = {};
8
9
10    api.init = function() {
11        if ($("body").hasClass("on-page-editor") || initialized) {
12            return;
13        }
14
15        queryModel = XA.component.search.query;
16        searchResultModels = XA.component.search.results.searchResultModels;
17        initialized = true;
18    };
19
20    api.registerDefault = function(hash){
21        _.each(hash, function(item, key) {
22            defaults[key] = hash[key].toString();
23        });
24    };
25
26    api.updateHash = function (newHash) {
27        _.each(newHash, function(item, key){
28            if (defaults[key] === newHash[key].toString()) {
29                newHash[key] = "";
30            }
31        });
32
33        queryModel.updateHash(newHash);
34    }
35
36    return api;
37
38}(jQuery, document));
39
40XA.register('searchParameters', XA.component.search.parameters);

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.