(function(){window.WPD="undefined"!==typeof window.WPD?window.WPD:{};window.WPD.ajaxsearchlite=new function(){this.prevState=null;this.firstIteration=!0;this.helpers={};this.plugin={};this.addons={addons:[],add:function(d){-1==this.addons.indexOf(d)&&(d=this.addons.push(d),this.addons[d-1].init())},remove:function(d){this.addons.filter(function(b){return b.name==d?("undefined"!=typeof b.destroy&&b.destroy(),!1):!0})}}}})(); (function(d){let b=window.WPD.ajaxsearchlite.helpers;d.fn.extend(window.WPD.ajaxsearchlite.plugin,{setFilterStateInput:function(a){let c=this;"undefined"==typeof a&&(a=65);let f=function(){JSON.stringify(c.originalFormData)!=JSON.stringify(b.formData(d("form",c.n("searchsettings"))))?c.n("searchsettings").find("input[name=filters_initial]").val(0):c.n("searchsettings").find("input[name=filters_initial]").val(1)};0==a?f():setTimeout(function(){f()},a)}})})(WPD.dom); (function(d){let b=window.WPD.ajaxsearchlite.helpers;d.fn.extend(window.WPD.ajaxsearchlite.plugin,{liveLoad:function(a,c,f,e){function l(h){h=b.Hooks.applyFilters("asl/live_load/raw_data",h,g);var n=new DOMParser;let p=n.parseFromString(h,"text/html"),q=d(p);g.o.statistics&&g.stat_addKeyword(g.o.id,g.n("text").val());if(""!=h&&0d(a).length&&(m.forEach(function(h){if(0d(a).length))return console.log("Ajax Search Lite: The live search selector does not exist on the page."), !1;a=b.Hooks.applyFilters("asl/live_load/selector",a,this);let k=d(a).first(),g=this;g.searchAbort();k.css("opacity",.4);b.Hooks.applyFilters("asl/live_load/start",c,g,a,k.get(0));e||1!=g.n("searchsettings").find("input[name=filters_initial]").val()||""!=g.n("text").val()?(g.searching=!0,g.post=d.fn.ajax({url:c,method:"GET",success:function(h){l(h)},dataType:"html",fail:function(h){k.css("opacity",1);h.aborted||(k.html("This request has failed. Please check your connection."),g.hideLoader(),g.searching= !1,g.n("proclose").css({display:"block"}))}})):window.WPD.intervalUntilExecute(function(){l(ASL.pageHTML)},function(){return""!=ASL.pageHTML})},getCurrentLiveURL:function(){var a="asl_ls="+b.nicePhrase(this.n("text").val());let c="&",f=window.location.href;f=-1a?0:a,behavior:"smooth"})}}})})(WPD.dom);(function(d){d.fn.extend(window.WPD.ajaxsearchlite.plugin,{createVerticalScroll:function(){}})})(WPD.dom); (function(d){let b=window.WPD.ajaxsearchlite.helpers;d.fn.extend(window.WPD.ajaxsearchlite.plugin,{searchAbort:function(){null!=this.post&&this.post.abort()},searchWithCheck:function(a){let c=this;"undefined"==typeof a&&(a=50);c.n("text").val().lengthThe request failed. Please check your connection! Status: '+ e.status+""),a.nodes.items=d(".item",a.n("resultsDiv")),a.hideLoader(),a.showResults(),a.scrollToResults())}})}}})})(WPD.dom); (function(d){d.fn.extend(window.WPD.ajaxsearchlite.plugin,{searchFor:function(b){"undefined"!=typeof b&&this.n("text").val(b);this.n("textAutocomplete").val("");this.search(!1,!1,!1,!0)},toggleSettings:function(b){"undefined"!=typeof b?"show"==b?this.showSettings():this.hideSettings():1==this.n("prosettings").data("opened")?this.hideSettings():this.showSettings()},closeResults:function(b){"undefined"!=typeof b&&b&&(this.n("text").val(""),this.n("textAutocomplete").val(""));this.hideResults();this.n("proloading").css("display", "none");this.hideLoader();this.searchAbort()},getStateURL:function(){let b=location.href,a;b=b.split("p_asid");b=b[0];b=b.replace("&asl_active=1","");b=b.replace("?asl_active=1","");b="?"==b.slice(-1)?b.slice(0,-1):b;b="&"==b.slice(-1)?b.slice(0,-1):b;a=1=b?"phone":1024>=b?"tablet":"desktop"},detectIOS:function(){return"undefined"!=typeof window.navigator&&"undefined"!=typeof window.navigator.userAgent?null!=window.navigator.userAgent.match(/(iPod|iPhone|iPad)/):!1},detectIE:function(){var b=window.navigator.userAgent;let a=b.indexOf("MSIE ");b=b.indexOf("Trident/");return 0');e.attr("action",b);e.attr("method",a);d("body").append(e);"undefined"!==typeof c&&null!==c&&Object.keys(c).forEach(function(l){let m= c[l],k=d('');k.attr("name",l);k.attr("value",m);e.append(k)});"undefined"!=typeof f&&"new"==f&&e.attr("target","_blank");e.get(0).submit()},openInNewTab:function(b){Object.assign(document.createElement("a"),{target:"_blank",href:b}).click()},isScrolledToBottom:function(b,a){return b.scrollHeight-b.scrollTop-d(b).outerHeight()b?100:b},nicePhrase:function(b){return encodeURIComponent(b).replace(/%20/g,"+")},unqoutePhrase:function(b){return b.replace(/["']/g,"")},decodeHTMLEntities:function(b){let a=document.createElement("div");b&&"string"===typeof b&&(b=b.replace(/

Орхан - белоснежный алабай в дар — купить в Москве | Объявление №27295 | ZVERO Пти брабансона щенок мальчик — купить в Москве | Объявление №43895 | ZVERO Кане корсо — купить в Москве | Объявление №129342 | ZVERO Живая муравьиная ферма Усадьба (новая) + Микроскоп — купить в Москве | Объявление №23239 | ZVERO Сливочный котик. Редкий окрас, 3,5мес — купить в Москве | Объявление №1158 | ZVERO