PageSourceSearch

https://www.dobayadam.hu/wp-content/plugins/popupally-pro/resource/frontend/popup.min.js?ver=3.4.3

js dobayadam.hu collected 2026-10-08 23:23:34 UTC 18,838 bytes, 1 lines download raw bytes

1jQuery(document).ready(function(ae){function b(){if("https:"===window.location.protocol){if("http:"===popupally_pro_action_object.ajax_url.substr(0,5).toLowerCase()){popupally_pro_action_object.ajax_url="https:"+popupally_pro_action_object.ajax_url.substr(5)}}}b();var af=false,K=-1,t=0,Q=false,ai=new Object(),I=new Object(),al=false,at=false,d=false;V();function L(av){if(av){ae(av+" iframe").each(function(){var aw=ae(this),ax=aw.attr("popupally-delay-src");if(typeof ax!==typeof undefined&&ax!==false){aw.attr("src",ax);aw.attr("popupally-delay-src","")}});ae(av+" [popupally-delay]").each(function(){var ax=ae(this),aw=ax.attr("popupally-delay");if(typeof aw!==typeof undefined&&aw!==false){ax.after(aw)}})}}function m(av){if(av["popup-selector"]){ae(av["popup-selector"]+" iframe").each(function(){var ax=ae(this),aw=ax.attr("popupally-delay-src"),ay=ax.attr("src");if(typeof aw!==typeof undefined&&aw!==false){if(aw.length>0){return}}ax.attr("src","");ax.attr("popupally-delay-src",ay)})}}function Z(av){if(false===Q||Q<av.priority){k(av,0);a(av["cookie-name"],av["cookie-duration"])}}function o(av){if(av.checking&&(false===Q||Q<av.priority)){k(av,1);a(av["cookie-name"],av["cookie-duration"])}av.checking=false}function aq(av){if(false===Q||Q<av.priority){var ax=ae(window).scrollTop()+ae(window).height(),aw=ae(document).height();if(av["scroll-percent"]>=0){if(ax>=aw*av["scroll-percent"]/100){k(av,2);a(av["cookie-name"],av["cookie-duration"]);return}}if(au(av["scroll-trigger"])){ae(av["scroll-trigger"]).filter(":visible").each(function(ay,aA){if(false===Q||Q<av.priority){var az=ae(aA).offset().top;if(az<ax){k(av,2);a(av["cookie-name"],av["cookie-duration"])}}})}}}function au(av){if(av){try{var aw=ae(av);return true}catch(ax){return false}}return false}var ag=false;ae("html").on("touchstart",function(){ag=false});ae("html").on("touchmove",function(){ag=true});function i(ax,ay,av,aw){if(av&&ax.target!==ay){return}if(ax.type==="touchend"){if(ag){return false}}return aw(ae(ay))}function Y(av,aw,ax){if(ae.isFunction(ae.fn.on)){ae("html").on("touchend click",av,function(ay){return i(ay,this,aw,ax)})}else{ae(av).bind("touchend click",function(ay){return i(ay,this,aw,ax)})}}function u(av,aw,ay){if(au(av["close-trigger"])){Y(av["close-trigger"],true,function(az){X(av);return false})}m(av);if("disabled" in av&&av.disabled){return}var ax=ak(av,aw);if(ax){y(av,ay)}if(au(av["open-trigger"])){Y(av["open-trigger"],true,function(az){k(av,3);return false})}}function am(av){return ae(av).filter(":visible").length>0}function W(){ae('input[type="hidden"][name="popupally-nonce"][value="{{validation-nonce}}"]').val(popupally_pro_action_object.val_nonce)}function M(av,ax){var aw='<style type="text/css" id="popupally-pro-style-top-margin-'+av+'-css">'+duwhs_popupallypro_html_code_sjhw[av]["top_margin_css"]+"</style>";ae("#popupally-pro-style-top-margin-"+ax+"-css").after(aw).remove()}function ao(av){ae("#popupally-pro-style-top-margin-"+av+"-css").remove()}function r(aw,av,ax){var ay=duwhs_popupallypro_html_code_sjhw[av]["embedded_html"];if(aw.hasClass("popupally-pro-top-page-jehjsq-"+ax)){ay=ay.replace(/class-placeholder-jehjsq/g,"popupally-pro-top-page-jehjsq");M(av,ax)}else{if(aw.hasClass("popupally-pro-top-page-follow-jehjsq-"+ax)){ay=ay.replace(/class-placeholder-jehjsq/g,"popupally-pro-top-page-follow-jehjsq");M(av,ax)}else{if(aw.hasClass("popupally-pro-end-page-follow-jehjsq-"+ax)){ay=ay.replace(/class-placeholder-jehjsq/g,"popupally-pro-end-page-follow-jehjsq")}}}if(aw.attr("role")==="navigation"){ay=ae(ay);ay.attr("role","navigation")}aw.after(ay)}function p(av){var ax=ae("."+av["embedded-popup-selector"].replace(/#/g,"")),aw=av.id;if(ax.hasClass("popupally-pro-top-page-jehjsq-"+aw)){ao(aw)}else{if(ax.hasClass("popupally-pro-top-page-follow-jehjsq-"+aw)){ao(aw)}}ax.remove()}function aj(av,aA){if((""+av.test).indexOf("t")===0&&"active" in popupally_pro_action_object.split_test&&aA in popupally_pro_action_object.split_test.active){var az=popupally_pro_action_object.split_test.active[aA],ay=Math.random()*100,aB=aA;for(var aw in az.weights){ay-=parseInt(az.weights[aw]);if(ay<0){aB=aw;break}}if((""+aA)!==(""+aB)){I[aB]=av.id;var ax=ae("."+av["embedded-popup-selector"].replace(/#/g,""));for(aw=0;aw<ax.length;++aw){r(ae(ax[aw]),aB,aA)}ax.remove();av.id=popupally_pro_action_object.popup_param[aB]["id"];av["popup-selector"]=popupally_pro_action_object.popup_param[aB]["popup-selector"];av["embedded-popup-selector"]=popupally_pro_action_object.popup_param[aB]["embedded-popup-selector"];av["popup-class"]=popupally_pro_action_object.popup_param[aB]["popup-class"];av["close-trigger"]=popupally_pro_action_object.popup_param[aB]["close-trigger"]}}return av}function T(av){var aw=A(av["cookie-name"]);if(aw!==null){if("select-existing-subscribers-embed" in av){if(av["select-existing-subscribers-embed"]==="never"){p(av)}else{if(av["select-existing-subscribers-embed"]==="embed-thank-you"){if("select-popup-embed-after-embed" in av){G(av,av["select-popup-embed-after-embed"],false)}}else{if(av["select-existing-subscribers-embed"]==="embed-code"){l(av)}}}}}}function F(av){av.disabled=false;if(t&&"disable-mobile" in av&&av["disable-mobile"]==="true"){p(av);av.disabled=true}if(!t&&"disable-desktop" in av&&av["disable-desktop"]==="true"){p(av);av.disabled=true}return av}function V(){var az=false,aw=false,av="",ay=ae.isFunction(ae.fn.on),ax;t=/android|webos|iphone|ipad|ipod|blackberry|bb10|iemobile|opera mini|(?=.*\bfirefox\b)(?=.*\bmobile\b)|(?=.*\bwindows\b)(?=.*\barm\b)/i.test(navigator.userAgent.toLowerCase())?1:0;ai=popupally_pro_action_object.popup_param;for(az in popupally_pro_action_object.popup_param){aw=popupally_pro_action_object.popup_param[az];aw=F(aw);popupally_pro_action_object.popup_param[az]=aw;T(aw);ax=ak(aw,popupally_pro_action_object.popup_param);if(!ax){p(aw)}}for(az in popupally_pro_action_object.popup_param){ai[az]=aj(popupally_pro_action_object.popup_param[az],az);u(ai[az],ai,ay)}W();for(az in ai){if(!(az in I)){aw=ai[az];if(am(aw["embedded-popup-selector"])){L(aw["embedded-popup-selector"]);av+=aw.id+"||embed||view||"+aw.test+"||"+t+"==>"}}}w(av);ae(document).keyup(function(aA){if(aA.keyCode!=27){return}X(af);return false});Y("[svvuyx-redirect-popup]",false,function(aB){var aA=aB.attr("svvuyx-redirect-popup");aa(aB);X(af);if(aA in ai){k(ai[aA],4)}return false});Y("[svvuyx-redirect-url]",false,function(aC){var aA=aC.attr("svvuyx-redirect-url"),aB=aC.attr("svvuyx-redirect-action");aa(aC);X(af);if(aB==="new"){window.open(aA)}else{location.href=aA}return false})}function P(ax,av){if(av.hasOpened){return}var az=new Date(),ay=az.getTime();if(ax.clientY!==av.previousY||ay-av.previousTime>5){av.checking=false;if(ax.clientY<av.previousY){var aw=ax.clientY+(ax.clientY-av.previousY);if(aw<=10){av.checking=true;setTimeout(function(){o(av)},1)}}}av.previousY=ax.clientY;av.previousTime=ay}function X(av){af=false;K=-1;if(av["popup-selector"]&&av["popup-class"]){ae(av["popup-selector"]).removeClass(av["popup-class"])}m(av)}function E(aw){if(!ae(aw["popup-selector"]).length){var av=duwhs_popupallypro_html_code_sjhw[aw.id]["html"];ae("body").append(av)}}function k(ay,aA){if(3>aA){if(false===Q||Q<ay.priority){Q=ay.priority}}if(af){return}E(ay);af=ay;K=aA;if(ay["popup-selector"]&&ay["popup-class"]){L(ay["popup-selector"]);if("fade"===ay["select-animation"]&&ay["fade-in"]>0){ae(ay["popup-selector"]).css("opacity",0).addClass(ay["popup-class"]).animate({opacity:1},ay["fade-in"]*1000)}else{if("spin"===ay["select-animation"]){ae(ay["popup-selector"]).addClass(ay["popup-class"]);ad(ay["popup-selector"],function(){})}else{if("wiggle"===ay["select-animation"]){ae(ay["popup-selector"]).addClass(ay["popup-class"]);n(ay["popup-selector"],function(){})}else{if("zoom"===ay["select-animation"]){ae(ay["popup-selector"]+">div").css("display","none");ae(ay["popup-selector"]).addClass(ay["popup-class"]);v(ay["popup-selector"],function(){})}else{if("slide-top"===ay["select-animation"]){ae(ay["popup-selector"]+">div").css("display","none");ae(ay["popup-selector"]).addClass(ay["popup-class"]);B(ay["popup-selector"],function(){})}else{if("slide-bottom"===ay["select-animation"]){ae(ay["popup-selector"]+">div").css("display","none");ae(ay["popup-selector"]).addClass(ay["popup-class"]);R(ay["popup-selector"],function(){})}else{if("slide-left"===ay["select-animation"]){ae(ay["popup-selector"]+">div").css("display","none");ae(ay["popup-selector"]).addClass(ay["popup-class"]);ap(ay["popup-selector"],function(){})}else{if("slide-right"===ay["select-animation"]){ae(ay["popup-selector"]+">div").css("display","none");ae(ay["popup-selector"]).addClass(ay["popup-class"]);O(ay["popup-selector"],function(){})}else{ae(ay["popup-selector"]).addClass(ay["popup-class"])}}}}}}}}w(ay.id+"||"+aA+"||view||"+ay.test+"||"+t);var ax=ae(ay["popup-selector"]).find("input"),az=0,aw,av;for(;az<ax.length;++az){aw=ae(ax[az]);av=aw.attr("type");av=av.toLowerCase();if("text"===av||"email"===av){aw.focus();break}}}}function a(ax,ay){var av="",aw=null;if(ax){if(ay!==0){aw=new Date();aw.setTime(aw.getTime()+(ay*24*60*60*1000));av="; expires="+aw.toGMTString()}document.cookie=ax+"=disable"+av+"; path=/"}}function A(ay){if(ay){var ax=ay+"=",aw=document.cookie,av=aw.indexOf(ax);if(av>=0){av+=ax.length;endIndex=aw.indexOf(";",av);if(endIndex<0){endIndex=aw.length}return aw.substring(av,endIndex)}}return null}function x(av){var aw=av.attr("style");if(typeof aw===typeof undefined||aw===false){aw=""}else{if(aw.length>0&&!aw.endsWith(";")){aw+=";"}}aw+="background-color:#ff0000 !important;";av.attr("style",aw)}function s(av){var aw=av.attr("style");if(typeof aw===typeof undefined||aw===false){aw=""}else{aw=aw.replace("background-color:#ff0000 !important;","")}av.attr("style",aw)}function c(aw){var av=[];aw.children('[required="required"]').each(function(ay,az){var ax=ae(az);if(ax.attr("type")==="checkbox"){if(ax.is(":checked")){return}}else{if(ax.val()){return}}av.push(ax);x(ax)});aw.children('input[type="email"]').each(function(ay,az){var ax=ae(az),aA=ax.val();if(!aA){return}if(aA.match(/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i)){return}av.push(ax);x(ax)});if(av.length>0){setTimeout(function(){for(var ax=0;ax<av.length;++ax){s(av[ax])}},200);return false}return true}function D(aA,aw){var av="",ay=0,ax=aA.length,az=aw.length;for(;ay<ax;++ay){av+=aA[ay];if(ay<az){av+=aw[ay]}}return av}function ac(av){av.find('input[type="text"]').val("");av.find('input[type="email"]').val("");av.find("textarea").val("")}function N(av,aw){var ay=av.attr("action"),az=av.attr("method"),ax;if(typeof az===typeof undefined||az===false){az="GET"}ax={action:"popupallypro_submit_form",ufndh_data_icnw:encodeURI(av.serialize()),method:az,target:encodeURI(ay),submit_nonce:popupally_pro_action_object.submit_nonce};ae.ajax({type:"POST",url:popupally_pro_action_object.ajax_url,data:a
1x,success:function(aA){console.log(aA)}});a(aw["cookie-name"],1024);ac(av)}function w(aw){if(popupally_pro_action_object.disable_track==="true"||!aw){return}var av={action:"popupallypro_track_stats",data:aw,submit_nonce:popupally_pro_action_object.submit_nonce};ae.ajax({type:"POST",url:popupally_pro_action_object.ajax_url,data:av,success:false})}function aa(aB){var aA=aB.attr("ijdh-popupally-pro-track-cnewh");if(typeof aA!==typeof undefined&&aA!==false){aA+=" clicked";var ay=aB.parents("[popupally-pro-popup]"),av=aB.parents("[popupally-pro-embed]"),az="embed",aw=false;if(ay.length===1){if(K>=0){az=K;aw=af}}else{if(av.length===1){var ax=av.attr("popupally-pro-embed");aw=ah(ax)}}if(aw){aA=encodeURI(aA.replace(/\|/g,"-"));w(aw.id+"||"+az+"||"+aA+"||"+aw.test+"||"+t)}}}function ah(av){if(av in I){return ai[I[av]]}return ai[av]}var J=["contact_id","afft_","aff_","ref_","own_","sess_","utm_source","utm_medium","utm_term","utm_content","utm_campaign","referral_page","oprid"];function z(aw){var av,ax=null;for(av=0;av<J.length;av++){ax=A(J[av]);if(ax){aw.find('[name="'+J[av]+'"]').val(ax)}}}function G(aw,ay,av){var az=ae("."+aw["embedded-popup-selector"].replace(/#/g,""));if(ay in ai){var aA=ai[ay],ax;for(ax=0;ax<az.length;++ax){r(ae(az[ax]),aA.id,aw.id)}az.remove();if(av){w(aA.id+"||4||view||"+aA.test+"||"+t)}}else{p(aw)}}function l(ax){var av=ae("."+ax["embedded-popup-selector"].replace(/#/g,"")),aw=false,ay,az;for(ay=0;ay<av.length;++ay){az=ae(av[ay]);aw=az.attr("popupally-pro-custom-code");if(typeof aw!==typeof undefined&&aw!==false){if(aw in window){az.after(window[aw])}}}p(ax);f()}ae(document).on("submit",".popupallypro-signup-form-sijfhw",function(){var aB=ae(this),aw=c(aB),aC=aB.attr("sejds-popupally-pro-anti-spam-uengs"),ay=aB.attr("qweokgj-popupally-pro-anti-spam-mwhgser"),av=aB.attr("popupally-pro-embed"),az=aB.attr("popupally-pro-popup"),ax=null;if(aw){if(typeof aC!==typeof undefined&&aC!==false&&typeof ay!==typeof undefined&&ay!==false){aB.attr("action",D(aC,ay))}var aA="embed";if(av){ax=ah(av)}else{if(az){aA=K;ax=ah(az)}else{return false}}z(aB);w(ax.id+"||"+aA+"||submit||"+ax.test+"||"+t);if(az&&ax&&K>=0&&"select-signup-type-popup" in ax&&ax["select-signup-type-popup"]==="popup"){N(aB,ax);X(af);C(ax["select-popup-after-popup"]);return false}else{if(av&&ax&&"select-signup-type-embed" in ax&&ax["select-signup-type-embed"]!=="thank-you"){N(aB,ax);if(ax["select-signup-type-embed"]==="popup"){X(af);C(ax["select-popup-after-embed"])}else{if(ax["select-signup-type-embed"]==="embed-thank-you"){if("select-popup-embed-after-embed" in ax){G(ax,ax["select-popup-embed-after-embed"],true)}}else{if(ax["select-signup-type-embed"]==="embed-code"){l(ax)}}}return false}else{if(aB.attr("action")==="popupally-pro-send-email"){aB.append('<input type="hidden" name="submit-nonce" value="'+popupally_pro_action_object.submit_nonce+'" />');aB.attr("action","")}}}return true}return false});if(document.addEventListener){document.addEventListener("popupallyshowpopup",function(av){if("popup_id" in av.detail){C(av.detail.popup_id)}},false)}else{if(document.attachEvent){document.attachEvent("popupallyshowpopup",function(av){if("popup_id" in av.detail){C(av.detail.popup_id)}})}}function C(aw){if(aw in ai){var av=ai[aw];X(af);k(av,4);return true}return false}var h=[15,30,45,60,75,90,105,120,135,150,165,180,195,210,225,240,255,270,285,300,315,330,345];function j(aw,ax,av){if(ax>h.length){aw.css({"-moz-transform":"","-webkit-transform":"",transform:""});av()}else{var ay=h[ax];aw.css({"-moz-transform":"rotateY("+ay+"deg)","-webkit-transform":"rotateY("+ay+"deg)",transform:"rotateY("+ay+"deg)"});setTimeout(function(){j(aw,ax+1,av)},20)}}function ad(ax,aw){if(ax){var av=ae(ax+">div");setTimeout(function(){j(av,0,aw)},20)}}var q=[6,12,18,24,18,12,6,0,-6,-12,-18,-24,-18,-12,-6,0,6,12,18,24,18,12,6,0,-6,-12,-18,-24,-18,-12,-6];function S(aw,ax,av){if(ax>q.length){aw.css({"-ms-transform":"","-moz-transform":"","-webkit-transform":"",transform:""});av()}else{var ay=q[ax];aw.css({"-ms-transform":"rotate("+ay+"deg)","-moz-transform":"rotate("+ay+"deg)","-webkit-transform":"rotate("+
1ay+"deg)",transform:"rotate("+ay+"deg)"});setTimeout(function(){S(aw,ax+1,av)},20)}}function n(ax,aw){if(ax){var av=ae(ax+">div");setTimeout(function(){S(av,0,aw)},20)}}var g=[8,16,24,32,40,48,56,64,72,80,88,96];function H(aw,ax,av){if(ax>g.length){aw.css({"-ms-transform":"","-moz-transform":"","-webkit-transform":"",transform:""});av()}else{var ay=g[ax]/100;aw.css({"-ms-transform":"scale("+ay+","+ay+")","-moz-transform":"scale("+ay+","+ay+")","-webkit-transform":"scale("+ay+","+ay+")",transform:"scale("+ay+","+ay+")"});setTimeout(function(){H(aw,ax+1,av)},20)}}function v(ax,aw){if(ax){var av=ae(ax+">div");av.css({display:"","-ms-transform":"scale(0,0)","-moz-transform":"scale(0,0)","-webkit-transform":"scale(0,0)",transform:"scale(0,0)"});setTimeout(function(){H(av,0,aw)},20)}}function e(ax,aw){ax=ax.toLowerCase();if(ax.endsWith("%")){var av=document.documentElement.clientWidth;if(aw){av=document.documentElement.clientHeight}ax=ax.replace("%","",ax);ax=parseFloat(ax);if(isNaN((ax))){ax=0}return av*ax/100}ax=ax.replace("px","",ax);ax=parseFloat(ax);if(isNaN((ax))){ax=0}return ax}function an(ay,az,ax,aA,aw){if(az>aA.length){ay.css(aw,"");ax()}else{var av=aA[az];ay.css(aw,av+"px");setTimeout(function(){an(ay,az+1,ax,aA,aw)},10)}}function ar(av,az){var ay=[],aw=0,ax=0;ax=az/ab;for(;aw<ab;++aw){ay.push(av+aw*ax)}return ay}function U(aA,av){var aD="top"===av,ax=aD?"bottom":"right",aC=aD?"height":"width",ay=aA.css(av),aw=aA.css(ax),aB=aA.css(aC),az=aA.css("margin-"+av);ay=ay.toLowerCase();aB=e(aB,aD);az=e(az,aD);if(ay.endsWith("%")||ay.endsWith("px")){ay=e(ay,aD)}else{aw=e(ay,aD);if("top"===av){ay=document.documentElement.clientHeight-aw-aB}else{ay=document.documentElement.clientWidth-aw-aB}}return[ay,aB,az]}var ab=20;function B(aD,av){if(aD){var aA=ae(aD+">div"),aw=U(aA,"top"),az=aw[0],aE=aw[1],aB=aw[2],ay,ax=0,aC=[];ay=-aE-aB;ax=az-ay;aC=ar(ay,ax);aA.css({display:"",top:ay+"px"});setTimeout(function(){an(aA,1,av,aC,"top")},10)}}function R(aD,av){if(aD){var aA=ae(aD+">div"),aw=U(aA,"top"),az=aw[0],aB=aw[2],ay,ax=0,aC=[];ay=document.documentElement.clientHeight-aB;ax=az-ay;aC=ar(ay,ax);aA.css({display:"",top:ay+"px"});setTimeout(function(){an(aA,1,av,aC,"top")},10)}}function ap(aD,av){if(aD){var aB=ae(aD+">div"),ax=U(aB,"left"),aA=ax[0],aw=ax[1],aE=ax[2],az,ay=0,aC=[];az=-aw-aE;ay=aA-az;aC=ar(az,ay);aB.css({display:"",left:az+"px"});setTimeout(function(){an(aB,1,av,aC,"left")},10)}}function O(aC,av){if(aC){var aA=ae(aC+">div"),aw=U(aA,"left"),az=aw[0],aD=aw[2],ay,ax=0,aB=[];ay=document.documentElement.clientWidth-aD;ax=az-ay;aB=ar(ay,ax);aA.css({display:"",left:ay+"px"});setTimeout(function(){an(aA,1,av,aB,"left")},10)}}function ak(av,ay){if("popup-dependency" in av){var ax,aw,az;for(ax in av["popup-dependency"]){aw=av["popup-dependency"][ax];if(aw in ay){az=A(ay[aw]["cookie-name"]);if(null!==az){return true}}}return false}return true}function y(av,ax){var aw=A(av["cookie-name"]);if(al===false&&av["timed-popup-delay"]>=0){al=av;if(aw===null){setTimeout(function(){Z(av)},av["timed-popup-delay"]*1000)}}if(at===false&&av["enable-exit-intent-popup"]){at=av;if(aw===null){av.previousY=-1;av.previousTime=0;ae(document).mousemove(function(ay){P(ay,av)})}}if(d===false&&av["enable-scroll-popup"]&&(av["scroll-percent"]>=0||av["scroll-trigger"])){d=av;if(aw===null){if(ax){ae(window).on("scroll",function(ay){aq(av)})}else{ae(window).bind("scroll",function(ay){aq(av)})}}}}ae(document).on("keypress",".popupally-space-click",function(av){if(av.keyCode==13||av.keyCode==32){av.preventDefault();ae(this).trigger("click");return false}});function f(){try{if(typeof window.Event==="function"){var av=new Event("ambitionallyrefresh");document.dispatchEvent(av)}else{if(typeof document.createEvent==="function"){var av=document.createEvent("Event");av.initEvent("ambitionallyrefresh",true,true);document.dispatchEvent(av)}}}catch(aw){}}});

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.