ec0a47e152e24ec042a9378bccdeefef-scripts

/**handles:wphb-global,rank-math,options,search_suggestions,love,Rating_js**/
!function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){“undefined”!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:”Module”}),Object.defineProperty(t,”__esModule”,{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&”object”==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,”default”,{enumerable:!0,value:t}),2&e&&”string”!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,”a”,e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p=””,n(n.s=65)}({65:function(t,e){!function(){“use strict”;var t={menuButton:document.querySelector(“#wp-admin-bar-wphb-clear-cache > a”),noticeButton:document.getElementById(“wp-admin-notice-wphb-clear-cache”),ajaxurl:null,init:function(){var e=this;wphbGlobal?this.ajaxurl=wphbGlobal.ajaxurl:this.ajaxurl=ajaxurl,this.menuButton&&this.menuButton.addEventListener(“click”,(function(){return e.post(t.ajaxurl,”wphb_front_clear_cache”)})),this.noticeButton&&this.noticeButton.addEventListener(“click”,(function(){return e.post(t.ajaxurl,”wphb_global_clear_cache”)}))},post:function(t,e){var n=new XMLHttpRequest;n.open(“POST”,t+”?action=”+e),n.onload=function(){200===n.status?location.reload():console.log(“Request failed. Returned status of “+n.status)},n.send()}};document.addEventListener(“DOMContentLoaded”,(function(){t.init()}))}()}});
//# sourceMappingURL=wphb-global.min.js.map
!function(a){“use strict”;a(function(){window.rankMathFront={init:function(){this.adminMenu()},adminMenu:function(){var n=a(“#wp-admin-bar-rank-math-mark-me”),t=this,i=’‘;n.on(“click”,”.mark-page-as a”,function(n){n.preventDefault(),t.ajax(“mark_page_as”,{objectID:rankMath.objectID,objectType:rankMath.objectType,what:a(this).attr(“href”).replace(“#”,””)}),a(this).find(“.dashicons”).length?a(this).find(“.dashicons”).remove():a(this).prepend(i)})},ajax:function(n,t,i){return a.ajax({url:rankMath.ajaxurl,type:i||”POST”,dataType:”json”,data:a.extend(!0,{action:”rank_math_”+n,security:rankMath.security},t)})}},window.rankMathFront.init()})}(jQuery);
function createCookie(e,o,t){if(t){var r=new Date;r.setTime(r.getTime()+24*t*60*60*1e3);var n=”; expires=”+r.toGMTString()}else n=””;document.cookie=e+”=”+o+n+”; path=/”}function readCookie(e){for(var o=e+”=”,t=document.cookie.split(“;”),r=0;r

‘);var o=e(this).attr(“title”);jQuery(“img”).each(function(){var e=jQuery(this),t=e.attr(“alt”);t&&””!==t||(e.attr(“title”,””+o),e.attr(“alt”,””+o))}),jQuery(“span.songo”).each(function(o){var t=e(“.x”+o),r=t.map(function(){return e(this).height()}).get(),n=Math.max.apply(null,r);t.height(n)})});var s=jQuery.noConflict();s(“body”).click(function(e){s(“#search-form, #search”).removeClass(“open”),s(“#toggle-search”).removeClass(“fa-times”).addClass(“fa-search”),s(“#bio_ep,#bio_ep_bg”).hide()}),s(“#search-form, #bio_ep”).click(function(e){e.stopPropagation()}),jQuery(window).scroll(function(){jQuery(“.reviews-box”).length&&jQuery(window).scrollTop()>=jQuery(“.reviews-box”).offset().top-1.7*jQuery(“.reviews-box”).height()&&jQuery(“.rng”).each(function(e){var o=jQuery(“.elranges”+e).attr(“data-range”),t=jQuery(“.bar”+e).attr(“data-range”),r=jQuery(“.rngo”).attr(“data-range”);jQuery(“.elranges”+e).animate({width:o},3e3),jQuery(“.bar”+e).animate({“background-size”:t+”%”},3e3),jQuery(“.rngo”).animate({width:r},3e3)})}),jQuery(window).scroll(function(){var e=jQuery(window).scrollTop(),o=jQuery(postContentDiv).height()-jQuery(window).height(),t=(jQuery(window).width(),(e-jQuery(postContentDiv).offset().top)/o*100);jQuery(“#main”).height(),jQuery(postContentDiv).height(),e>=jQuery(postContentDiv).offset().top?e<=jQuery(postContentDiv).offset().top+o?jQuery(".page-progress").css("width",t+"%"):jQuery(".page-progress").css("width","100%"):jQuery(".page-progress").css("width","0px"),t<100?jQuery(".page-progress").css("background",all_vars.skinColor):t>100&&jQuery(“.page-progress”).css(“background”,”green”)}),jQuery(“.post-thumbnail”).scroll(function(){var e=jQuery(this).scrollTop();jQuery(this).css(“background-position”,”0% “+parseInt(-e/10)+”px”)}),jQuery(document).ready(function(){function e(e){var o=document.createElement(“textarea”);o.value=e,document.body.appendChild(o),o.select();try{var t=document.execCommand(“copy”),r=t?”successful”:”unsuccessful”;console.log(“Copying text command was “+r)}catch(e){console.log(“Oops, unable to copy”)}document.body.removeChild(o)}jQuery(“.coupon”).each(function(){var o=jQuery(this),t=o.parent(),r=jQuery(this).attr(“href”),n=jQuery(“span”,this).text();jQuery(“embed#ZeroClipboardMovie_1”).removeAttr(“src loop menu quality name pluginspage”),jQuery(“.fluid-width-video-wrapper”).parent().remove(),o.append(‘‘+n+”“),jQuery(“span”,this).hide(),jQuery(“a”,this).css({position:”absolute”,top:”0″,left:”0″,right:”3.5%”,”font-weight”:”700″,”font-size”:”12.5pt”,background:”crimson”,width:”100%”,height:”100%”,”line-height”:”2em”,color:”#fff !important”}),jQuery(“.hover-message”).text(“^^ اضغط على الكوبون لنسخه”).show(),jQuery(“.hover-message”).css({position:”absolute”,background:”#000″,margin:”0 auto”,padding:”0px 7px”,bottom:”-29px”,width:”100%”,left:”0″,”font-size”:”9pt”}),o.attr(“target”,”_blank”),o.removeAttr(“unselectable onselectstart ondragstart”),o.next().remove(),jQuery(“a”,this).on(“click”,function(){var o=””,t=jQuery(this).text();o=t,e(o),console.log(o),alert(“Copied to Clipboard”)}),jQuery(“a”,this).click(function(){return window.location=jQuery(“.coupon”).attr(“href”),console.log(jQuery(this).attr(“href”)),!1}),t.bind(“contextmenu”,function(e){return!1}),t.append(‘

اضغط على الكوبون لنسخه

‘),jQuery(“.hover-message-text”).css({height:”50px”,visibility:”hidden”})}),jQuery(“#wpadminbar”).append(‘>CloseIt‘),jQuery(“.closeit”).on(“click”,function(e){jQuery(“#wpadminbar”).slideUp(100)}),jQuery(“.promo-slide-in-close-promo”).on(“click”,function(e){jQuery(“.promo-slide-in”).slideUp(100)}),jQuery(window).scroll(function(){var e=jQuery(document).scrollTop(),o=Math.round(parseFloat(e/500)),t=Math.round(parseFloat(e/15)),r=jQuery(“.promo-slide-in-content div a”).html(),n=jQuery(“.promo-slide-in-content div a”).attr(“href”);jQuery(“.promo-slide-in”).css({height:”40px”,background:”rgb(26, 195,”+t+”)”}),o%2==1?(jQuery(“.promo-slide-in-button”).css({background:”rgb(17, 153,”+e+”)”}),jQuery(“.promo-slide-in-content-responsive p a”).hide(),jQuery(“.promo-slide-in-content-responsive”).append(‘‘+r+”“)):o%2!=1&&(jQuery(“.promo-slide-in-button”).css({background:”#f92c8b”}),jQuery(“.promo-slide-in-content-responsive p a”).show(),jQuery(“.promo-slide-in-content-responsive .promo-slide-in-button”).remove()),e>0?(jQuery(“.promo-slide-in”).css({height:”40px”}),jQuery(“.promo-slide-in-content p”).css(“margin”,”1% 0 0″),jQuery(“.promo-slide-in-button”).css(“margin”,”0.5% 20px 0 0″)):(jQuery(“.promo-slide-in”).removeAttr(“style”),jQuery(“.promo-slide-in-content p”).removeAttr(“style”),jQuery(“.promo-slide-in-button”).css(“margin”,”2% 20px 0 0″))})});
function suggest(e){var t=e.target.value;return 0==t.length?void suggestremove():(window.XMLHttpRequest?xmlhttp=new XMLHttpRequest:xmlhttp=new ActiveXObject(“Microsoft.XMLHTTP”),xmlhttp.onreadystatechange=function(){if(4==xmlhttp.readyState&&200==xmlhttp.status){suggestremove();var s=document.createElement(“div”);s.innerHTML=xmlhttp.responseText+”

‘+xx.search_deeply+” “+t+”

“,s.className=”search-suggestions”,e.target.parentNode.appendChild(s),suggestbold(t,s)}},xmlhttp.open(“GET”,all_vars.templateUrl+”/ajax.search.php?s=”+t,!0),void xmlhttp.send())}function suggestremove(){for(var e=document.getElementsByClassName(“search-suggestions”);e.length>0;)e[0].parentNode.removeChild(e[0])}function suggestbold(e,t){for(var s=t.getElementsByTagName(“li”),n=new RegExp(“(“+e+”)”,”ig”),r=0;r$1“)}for(var eles=document.getElementsByClassName(“custom-search”),i=0;i‘);var avarge=jQuery(“.basic”).attr(“data-score”);jQuery(“#avg”).html(avarge),jQuery(document).one(“click”,”.example”,function(e){var a=jQuery(this).data(“id”),t=jQuery(“.jRatingInfos”).text(),r=jQuery(“.rating_value”).text(),n=n1+parseFloat(r);n2++;var o=23*parseFloat(n/n2),s=parseFloat(o);r&&(jQuery(“.example”).prepend(‘Your Rating is : ‘+r+”“).fadeIn(2e3),jQuery(“.love-count”).html(‘‘).fadeIn(2e3),jQuery(“span.love-countof”).text(n2).fadeIn(2e3)),jQuery(“.basic”).css(“display”,”none”),jQuery(“.basic”).unbind(),jQuery(“.jRatingColor,.jRatingAverage”).hide(),setTimeout(function(){jQuery(“.basic”).fadeIn(1e3)},2500),setTimeout(function(){jQuery(“.spsp”).fadeOut(1e3)},1500),setTimeout(function(){jQuery(“.example”).removeAttr()},0),setTimeout(function(){jQuery(“.example”).addClass(“exampleDisable”).removeClass(“example”)},0),setTimeout(function(){jQuery(“.basic”).addClass(“jDisabled”)},0),setTimeout(function(){jQuery(“.jRatingColor,.jRatingAverage”).show(),jQuery(“.jRatingColor,.jRatingAverage”).animate({width:o},3e3)},1e3),setTimeout(function(){var e=jQuery(“.basic”).attr(“data-score”);jQuery(“#avg”).html(e)},1500);var t=jQuery(“.sidebar”).width();return jQuery.ajax({url:all_vars.ajaxUrl,type:”post”,data:{action:”post_love_add_love”,nextNonce:postlove.security,value:r,post_id:a},success:function(e){jQuery(“.love-count”).html(e)}}),!1});
!function(t){jQuery(“body”).append(‘‘),t.fn.jRating=function(a){var s={bigStarsPath:all_vars.templateUrl+”/jRating/jquery/icons/stars.png”,smallStarsPath:all_vars.templateUrl+”/jRating/jquery/icons/small.png”,type:”big”,step:!1,isDisabled:!1,showRateInfo:!0,canRateAgain:!1,sendRequest:!0,length:10,decimalLength:0,rateMax:10,rateInfosX:-45,rateInfosY:5,nbRates:1,onSuccess:null,onError:null,onClick:null};if(this.length>0)return this.each(function(){function e(t){var a=parseFloat(100*t/m*parseInt(i.rateMax)/100),s=Math.pow(10,parseInt(i.decimalLength));return Math.round(a*s)/s}function n(t){return t?t.offsetLeft+n(t.offsetParent):0}var i=t.extend(s,a),r=0,o=0,l=0,c=””,h=!1,p=0,u=i.nbRates;if(t(this).hasClass(“jDisabled”)||i.isDisabled)var f=!0;else f=!1;!function(){switch(i.type){case”small”:o=12,l=10,c=i.smallStarsPath;break;default:o=23,l=20,c=i.bigStarsPath}}(),t(this).height(l);var d=parseFloat(t(this).attr(“data-average”)),g=parseInt(t(this).attr(“data-id”)),m=o*i.length,v=d/i.rateMax*m;t(“

“,{class:”jRatingColor”,css:{width:v}}).appendTo(t(this)),d=t(“

“,{class:”jRatingAverage”,css:{width:0,top:-l}}).appendTo(t(this)),t(“

“,{class:”jStar”,css:{width:m,height:l,top:-2*l,direction:”ltr !important”,background:”url(“+c+”) repeat-x”}}).appendTo(t(this)),t(this).css({width:m,overflow:”hidden”,zIndex:1,position:”relative”}),f||t(this).unbind().bind({mouseenter:function(a){var s=n(this),r=a.pageX-s;i.showRateInfo&&t(“

“,{class:”jRatingInfos”,html:’ / ‘+i.rateMax+”“,css:{top:a.pageY+i.rateInfosY,left:a.pageX+i.rateInfosX}}).appendTo(“body”).show()},mouseover:function(a){t(this).css(“cursor”,”pointer”)},mouseout:function(){t(this).css(“cursor”,”default”),t(“span.Ratingnumber”).hide(),h?d.width(p):d.width(0)},mousemove:function(a){var s=n(this),l=a.pageX-s;r=i.step?Math.floor(l/o)*o+o:l,d.width(r),t(this).nextAll(“.jRatingColor:first”).width(r),t(this).nextAll(“span.Ratingnumber:first”).css(“display”,”inline-block”).html(e(r)+’ / ‘+i.rateMax+”“),i.showRateInfo&&t(“p.jRatingInfos”).css({left:a.pageX+i.rateInfosX}).html(e(r)+’ / ‘+i.rateMax+”“)},mouseleave:function(){t(“p.jRatingInfos”).remove()},click:function(a){var s=this;h=!0,p=r,u–,(!i.canRateAgain||parseInt(u)<=0)&&t(this).unbind().css("cursor","default").addClass("jDisabled"),i.showRateInfo&&t("p.jRatingInfos").fadeOut("fast",function(){t(this).remove()}),i.showRateInfo&&t(".Ratingnumber").fadeOut("fast",function(){t(this).remove()}),a.preventDefault();var n=e(r);d.width(r),t(".rating_value").html(n),i.onClick&&i.onClick(s,n),i.sendRequest&&t.post(i.phpPath,{idBox:g,rate:n,action:"rating"},function(a){a.error?(t(".serverResponse p").html(a.server),i.onError&&i.onError(s,n)):(t(".serverResponse p").html(a.server),i.onSuccess&&i.onSuccess(s,n))},"json")}})})}}(jQuery);

Scroll to Top