PageSourceSearch

https://bukas-humboldt.ru/wp-content/themes/real_estate_agent_5/script.js

js bukas-humboldt.ru collected 2026-10-06 22:18:08 UTC 7,758 bytes, 198 lines download raw bytes

1var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; };
2if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } }
3{
4  let window = _____WB$wombat$assign$function_____("window");
5  let self = _____WB$wombat$assign$function_____("self");
6  let document = _____WB$wombat$assign$function_____("document");
7  let location = _____WB$wombat$assign$function_____("location");
8  let top = _____WB$wombat$assign$function_____("top");
9  let parent = _____WB$wombat$assign$function_____("parent");
10  let frames = _____WB$wombat$assign$function_____("frames");
11  let opener = _____WB$wombat$assign$function_____("opener");
12
13/* begin Page */
14
15jQuery(function(){jQuery('#art-page-background-glare').css('zoom',1)});
16
17// css hacks
18(function($) {
19    // fix ie blinking
20    var m = document.uniqueID && document.compatMode && !window.XMLHttpRequest && document.execCommand;
21    try { if (!!m) { m('BackgroundImageCache', false, true); } }
22    catch (oh) { };
23    // css helper
24    var data = [
25        {str:navigator.userAgent,sub:'Chrome',ver:'Chrome',name:'chrome'},
26        {str:navigator.vendor,sub:'Apple',ver:'Version',name:'safari'},
27        {prop:window.opera,ver:'Opera',name:'opera'},
28        {str:navigator.userAgent,sub:'Firefox',ver:'Firefox',name:'firefox'},
29        {str:navigator.userAgent,sub:'MSIE',ver:'MSIE',name:'ie'}];
30    for (var n=0;n<data.length;n++)	{
31        if ((data[n].str && (data[n].str.indexOf(data[n].sub) != -1)) || data[n].prop) {
32            var v = function(s){var i=s.indexOf(data[n].ver);return (i!=-1)?parseInt(s.substring(i+data[n].ver.length+1)):'';};
33            $('html').addClass(data[n].name+' '+data[n].name+v(navigator.userAgent) || v(navigator.appVersion)); break;			
34        }
35    }
36})(jQuery);
37
38var _artStyleUrlCached = null;
39function artGetStyleUrl() {
40    if (null == _artStyleUrlCached) {
41        var ns;
42        _artStyleUrlCached = '';
43        ns = jQuery('link');
44        for (var i = 0; i < ns.length; i++) {
45            var l = ns[i].href;
46            if (l && /style\.ie6\.css(\?.*)?$/.test(l))
47                return _artStyleUrlCached = l.replace(/style\.ie6\.css(\?.*)?$/, '');
48        }
49        ns = jQuery('style');
50        for (var i = 0; i < ns.length; i++) {
51            var matches = new RegExp('import\\s+"([^"]+\\/)style\\.ie6\\.css"').exec(ns[i].html());
52            if (null != matches && matches.length > 0)
53                return _artStyleUrlCached = matches[1];
54        }
55    }
56    return _artStyleUrlCached;
57}
58
59function artFixPNG(element) {
60    if (jQuery.browser.msie && parseInt(jQuery.browser.version) < 7) {
61		var src;
62		if (element.tagName == 'IMG') {
63			if (/\.png$/.test(element.src)) {
64				src = element.src;
65				element.src = artGetStyleUrl() + 'images/spacer.gif';
66			}
67		}
68		else {
69			src = element.currentStyle.backgroundImage.match(/url\("(.+\.png)"\)/i);
70			if (src) {
71				src = src[1];
72				element.runtimeStyle.backgroundImage = 'none';
73			}
74		}
75		if (src) element.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "')";
76	}
77}
78
79jQuery(function() {
80    jQuery.each(jQuery('ul.art-hmenu>li:not(.art-hmenu-li-separator),ul.art-vmenu>li:not(.art-vmenu-separator)'), function (i, val) {
81        var l = jQuery(val); var s = l.children('span'); if (s.length == 0) return;
82        var t = l.find('span.t').last(); l.children('a').append(t.html(t.text()));
83        s.remove();
84    });
85});/* end Page */
86
87/* begin Box, Sheet */
88
89function artFluidSheetComputedWidth(percent, minval, maxval) {
90    percent = parseInt(percent);
91    var val = document.body.clientWidth / 100 * percent;
92    return val < minval ? minval + 'px' : val > maxval ? maxval + 'px' : percent + '%';
93}/* end Box, Sheet */
94
95/* begin Menu */
96jQuery(function () {
97    jQuery('ul.art-hmenu a[href=#]').click(function () { return false; });
98    if (!jQuery.browser.msie || parseInt(jQuery.browser.version) > 6) return;
99    jQuery.each(jQuery('ul.art-hmenu li'), function(i, val) {
100        val.j = jQuery(val);
101        val.UL = val.j.children('ul:first');
102        if (val.UL.length == 0) return;
103        val.A = val.j.children('a:first');
104        this.onmouseenter = function() {
105            this.j.addClass('art-hmenuhover');
106            this.UL.addClass('art-hmenuhoverUL');
107            this.A.addClass('art-hmenuhoverA');
108        };
109        this.onmouseleave = function() {
110            this.j.removeClass('art-hmenuhover');
111            this.UL.removeClass('art-hmenuhoverUL');
112            this.A.removeClass('art-hmenuhoverA');
113        };
114    });
115});
116/* end Menu */
117
118/* begin Layout */
119jQuery(function () {
120     var c = jQuery('div.art-content');
121    if (c.length !== 1) return;
122    var s = c.parent().children('.art-layout-cell:not(.art-content)');
123
124    if (jQuery.browser.msie && parseInt(jQuery.browser.version) < 8) {
125
126        jQuery(window).bind('resize', function () {
127            var w = 0;
128            c.hide();
129            s.each(function () { w += this.clientWidth; });
130            c.w = c.parent().width(); c.css('width', c.w - w + 'px');
131            c.show();
132        })
133
134        var r = jQuery('div.art-content-layout-row').each(function () {
135            this.c = jQuery(this).children('.art-layout-cell:not(.art-content)');
136        });
137
138        jQuery(window).bind('resize', function () {
139            r.each(function () {
140                if (this.h == this.clientHeight) return;
141                this.c.css('height', 'auto');
142                this.h = this.clientHeight;
143                this.c.css('height', this.h + 'px');
144            });
145        });
146    }
147
148    var g = jQuery('.art-layout-glare-image');
149    jQuery(window).bind('resize', function () {
150        g.each(function () {
151            var i = jQuery(this);
152            i.css('height', i.parents('.art-layout-cell').height() + 'px');
153        });
154    });
155
156    jQuery(window).trigger('resize');
157});/* end Layout */
158
159/* begin Button */
160function artButtonSetup(className) {
161    jQuery.each(jQuery("a." + className + ", button." + className + ", input." + className), function (i, val) {
162        var b = jQuery(val);
163        if (!b.parent().hasClass('art-button-wrapper')) {
164            if (b.is('input')) b.val(b.val().replace(/^\s*/, '')).css('zoom', '1');
165            if (!b.hasClass('art-button')) b.addClass('art-button');
166            jQuery("<span class='art-button-wrapper'><span class='art-button-l'> </span><span class='art-button-r'> </span></span>").insertBefore(b).append(b);
167            if (b.hasClass('active')) b.parent().addClass('active');
168        }
169        b.mouseover(function () { jQuery(this).parent().addClass("hover"); });
170        b.mouseout(function () { var b = jQuery(this); b.parent().removeClass("hover"); if (!b.hasClass('active')) b.parent().removeClass('active'); });
171        b.mousedown(function () { var b = jQuery(this); b.parent().removeClass("hover"); if (!b.hasClass('active')) b.parent().addClass('active'); });
172        b.mouseup(function () { var b = jQuery(this); if (!b.hasClass('active')) b.parent().removeClass('active'); });
173    });
174}
175jQuery(function() { artButtonSetup("art-button"); });
176
177/* end Button */
178
179/* begin VMenu */
180jQuery(function () {
181    jQuery('ul.art-vmenu a[href=#]').click(function () {
182        jQuery(this).parents('.art-vmenu').find('.active').removeClass('active');
183        jQuery(this).addClass('active').next().addClass('active');
184        jQuery(this).parents('ul.art-vmenu ul').addClass('active').prev().addClass('active');
185        jQuery(this).parents('ul.art-vmenu li').addClass('active');
186        return false;
187    });
188});/* end VMenu */
189
190
191
192jQuery(function () {
193    artButtonSetup("button");
194});
195
196
197}
198

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.