D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
sadaunjx
/
forsa2you.com
/
wp-content
/
plugins
/
ad-inserter
/
includes
/
js
/
Filename :
ai-lists.min.js
back
Copy
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.createTemplateTagFirstArg=function(a){return a.raw=a};$jscomp.createTemplateTagFirstArgWithRaw=function(a,n){a.raw=n;return a};$jscomp.arrayIteratorImpl=function(a){var n=0;return function(){return n<a.length?{done:!1,value:a[n++]}:{done:!0}}};$jscomp.arrayIterator=function(a){return{next:$jscomp.arrayIteratorImpl(a)}};$jscomp.makeIterator=function(a){var n="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return n?n.call(a):$jscomp.arrayIterator(a)}; jQuery(function(a){function n(c){c=c.match(ba);return null!=c&&1<c.length&&"string"===typeof c[1]&&0<c[1].length?c[1].toLowerCase():null}function E(c){return c.includes(":")?(c=c.split(":"),1E3*(3600*parseInt(c[0])+60*parseInt(c[1])+parseInt(c[2]))):null}function v(c){try{var l=Date.parse(c);isNaN(l)&&(l=null)}catch(G){l=null}if(null==l&&c.includes(" ")){c=c.split(" ");try{l=Date.parse(c[0]),l+=E(c[1]),isNaN(l)&&(l=null)}catch(G){l=null}}return l}function H(){(jQuery("#ai-iab-tcf-bar").length||jQuery(".ai-list-manual").length)&& "function"==typeof __tcfapi&&"function"==typeof ai_load_blocks&&"undefined"==typeof ai_iab_tcf_callback_installed&&(__tcfapi("addEventListener",2,function(c,l){l&&"useractioncomplete"===c.eventStatus&&(ai_tcData=c,ai_load_blocks(),jQuery("#ai-iab-tcf-status").text("IAB TCF 2.0 DATA LOADED"),jQuery("#ai-iab-tcf-bar").addClass("status-ok").removeClass("status-error"))}),ai_iab_tcf_callback_installed=!0)}function w(c){c=("; "+document.cookie).split("; "+c+"=");if(2===c.length)return c.pop().split(";").shift()} function k(c){if(w(c)){var l=window.location.hostname;w(c)&&(document.cookie=c+"=;path=/"+(l?";domain="+l:"")+";expires=Thu, 01 Jan 1970 00:00:01 GMT");document.cookie=c+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"}}Array.prototype.includes||(Array.prototype.includes=function(c){return!!~this.indexOf(c)});var ba=RegExp(":\\/\\/(.[^/:]+)","i");ai_process_lists=function(c){function l(m,e,d){if(0==m.length){if("!@!"==d)return!0;e!=d&&("true"==d.toLowerCase()?d=!0:"false"==d.toLowerCase()&&(d= !1));return e==d}if("object"!=typeof e&&"array"!=typeof e)return!1;var h=m[0];m=m.slice(1);if("*"==h)for(e=$jscomp.makeIterator(Object.entries(e)),h=e.next();!h.done;h=e.next()){if(h=$jscomp.makeIterator(h.value),h.next(),h=h.next().value,l(m,h,d))return!0}else if(h in e)return l(m,e[h],d);return!1}function G(m,e,d){if("object"!=typeof m||-1==e.indexOf("["))return!1;e=e.replace(/]| /gi,"").split("[");return l(e,m,d)}function ca(){"function"==typeof __tcfapi&&(a("#ai-iab-tcf-status").text("IAB TCF 2.0 DETECTED"), __tcfapi("getTCData",2,function(m,e){e?(a("#ai-iab-tcf-bar").addClass("status-ok"),"tcloaded"==m.eventStatus||"useractioncomplete"==m.eventStatus?(ai_tcData=m,m.gdprApplies?a("#ai-iab-tcf-status").text("IAB TCF 2.0 DATA LOADED"):jQuery("#ai-iab-tcf-status").text("IAB TCF 2.0 GDPR DOES NOT APPLY"),a("#ai-iab-tcf-bar").addClass("status-ok").removeClass("status-error"),setTimeout(function(){ai_process_lists()},10)):"cmpuishown"==m.eventStatus&&(ai_cmpuishown=!0,a("#ai-iab-tcf-status").text("IAB TCF 2.0 CMP UI SHOWN"), a("#ai-iab-tcf-bar").addClass("status-ok").removeClass("status-error"))):(a("#ai-iab-tcf-status").text("IAB TCF 2.0 __tcfapi getTCData failed"),a("#ai-iab-tcf-bar").removeClass("status-ok").addClass("status-error"))}))}function K(m){"function"==typeof __tcfapi?("undefined"==typeof ai_iab_tcf_callback_installed&&H(),"undefined"==typeof ai_tcData_requested&&(ai_tcData_requested=!0,ca(),cookies_need_tcData=!0)):m&&(a("#ai-iab-tcf-bar").addClass("status-error").removeClass("status-ok"),a("#ai-iab-tcf-status").text("IAB TCF 2.0 MISSING: __tcfapi function not found"))} c=null==c?a("div.ai-list-data, meta.ai-list-data"):c.filter(".ai-list-data");if(c.length){c.removeClass("ai-list-data");var V=getAllUrlParams(window.location.search);if(null!=V.referrer)var y=V.referrer;else y=document.referrer,""!=y&&(y=n(y));var R=window.navigator.userAgent,S=R.toLowerCase(),W=navigator.language,L=W.toLowerCase();if("undefined"!==typeof MobileDetect)var X=new MobileDetect(R);c.each(function(){var m=document.cookie.split(";");m.forEach(function(A,g){m[g]=A.trim()});var e=a(this).closest("div.AI_FUNCT_GET_BLOCK_CLASS_NAME"), d=!0,h=a(this).attr("referer-list");if("undefined"!=typeof h){h=b64d(h).split(",");var r=a(this).attr("referer-list-type"),I=!1;a.each(h,function(A,g){g=g.trim();if(""==g)return!0;if("*"==g.charAt(0))if("*"==g.charAt(g.length-1)){if(g=g.substr(1,g.length-2),-1!=y.indexOf(g))return I=!0,!1}else{if(g=g.substr(1),y.substr(-g.length)==g)return I=!0,!1}else if("*"==g.charAt(g.length-1)){if(g=g.substr(0,g.length-1),0==y.indexOf(g))return I=!0,!1}else if("#"==g){if(""==y)return I=!0,!1}else if(g==y)return I= !0,!1});var p=I;switch(r){case "B":p&&(d=!1);break;case "W":p||(d=!1)}}if(d&&(h=a(this).attr("client-list"),"undefined"!=typeof h&&"undefined"!==typeof X))switch(h=b64d(h).split(","),r=a(this).attr("client-list-type"),p=!1,a.each(h,function(A,g){if(""==g.trim())return!0;var M=g.split("&&");a.each(M,function(da,b){var u=!0,t=!1;for(b=b.trim();"!!"==b.substring(0,2);)u=!u,b=b.substring(2);"language:"==b.substring(0,9)&&(t=!0,b=b.substring(9).toLowerCase());var q=!1;t?"*"==b.charAt(0)?"*"==b.charAt(b.length- 1)?(b=b.substr(1,b.length-2).toLowerCase(),-1!=L.indexOf(b)&&(q=!0)):(b=b.substr(1).toLowerCase(),L.substr(-b.length)==b&&(q=!0)):"*"==b.charAt(b.length-1)?(b=b.substr(0,b.length-1).toLowerCase(),0==L.indexOf(b)&&(q=!0)):b==L&&(q=!0):"*"==b.charAt(0)?"*"==b.charAt(b.length-1)?(b=b.substr(1,b.length-2).toLowerCase(),-1!=S.indexOf(b)&&(q=!0)):(b=b.substr(1).toLowerCase(),S.substr(-b.length)==b&&(q=!0)):"*"==b.charAt(b.length-1)?(b=b.substr(0,b.length-1).toLowerCase(),0==S.indexOf(b)&&(q=!0)):X.is(b)&& (q=!0);p=q?u:!u;if(!p)return!1});if(p)return!1}),r){case "B":p&&(d=!1);break;case "W":p||(d=!1)}var N=h=!1;for(r=1;2>=r;r++)if(d){switch(r){case 1:var f=a(this).attr("cookie-list");break;case 2:f=a(this).attr("parameter-list")}if("undefined"!=typeof f){f=b64d(f);switch(r){case 1:var B=a(this).attr("cookie-list-type");break;case 2:B=a(this).attr("parameter-list-type")}f=f.replace("tcf-gdpr","tcf-v2[gdprApplies]=true");f=f.replace("tcf-no-gdpr","tcf-v2[gdprApplies]=false");f=f.replace("tcf-google", "tcf-v2[vendor][consents][755]=true && tcf-v2[purpose][consents][1]=true");f=f.replace("tcf-no-google","!!tcf-v2[vendor][consents][755]");f=f.replace("tcf-media.net","tcf-v2[vendor][consents][142]=true && tcf-v2[purpose][consents][1]=true");f=f.replace("tcf-no-media.net","!!tcf-v2[vendor][consents][142]");f=f.replace("tcf-amazon","tcf-v2[vendor][consents][793]=true && tcf-v2[purpose][consents][1]=true");f=f.replace("tcf-no-amazon","!!tcf-v2[vendor][consents][793]");f=f.replace("tcf-ezoic","tcf-v2[vendor][consents][347]=true && tcf-v2[purpose][consents][1]=true"); f=f.replace("tcf-no-ezoic","!!tcf-v2[vendor][consents][347]");var D=f.split(","),Y=[];m.forEach(function(A){A=A.split("=");try{var g=JSON.parse(decodeURIComponent(A[1]))}catch(M){g=decodeURIComponent(A[1])}Y[A[0]]=g});p=!1;var O=a(this);a.each(D,function(A,g){var M=g.split("&&");a.each(M,function(da,b){var u=!0;for(b=b.trim();"!!"==b.substring(0,2);)u=!u,b=b.substring(2);var t=b,q="!@!",Z=-1!=b.indexOf("["),aa=(0==b.indexOf("tcf-v2")||0==b.indexOf("euconsent-v2"))&&-1!=b.indexOf("[");-1!=b.indexOf("=")&& (q=b.split("="),t=q[0],q=q[1],Z=-1!=t.indexOf("["),aa=(0==t.indexOf("tcf-v2")||0==t.indexOf("euconsent-v2"))&&-1!=t.indexOf("["));if(aa)a("#ai-iab-tcf-bar").show(),"object"==typeof ai_tcData?(a("#ai-iab-tcf-bar").addClass("status-ok"),t=t.replace(/]| /gi,"").split("["),t.shift(),p=(t=l(t,ai_tcData,q))?u:!u):(O.addClass("ai-list-data"),N=!0,"function"==typeof __tcfapi?K(!1):"undefined"==typeof ai_tcData_retrying&&(ai_tcData_retrying=!0,setTimeout(function(){"function"==typeof __tcfapi?K(!1):setTimeout(function(){"function"== typeof __tcfapi?K(!1):setTimeout(function(){K(!0)},3E3)},1E3)},600)));else if(Z)p=(t=G(Y,t,q))?u:!u;else{var T=!1;"!@!"==q?m.every(function(ea){return ea.split("=")[0]==b?(T=!0,!1):!0}):T=-1!=m.indexOf(b);p=T?u:!u}if(!p)return!1});if(p)return!1});p&&(N=!1);switch(B){case "B":p&&(d=!1);break;case "W":p||(d=!1)}}}a(this).hasClass("ai-list-manual")&&(d?(O.removeClass("ai-list-data"),O.removeClass("ai-list-manual")):(h=!0,O.addClass("ai-list-data")));if(d||!h&&!N)if(f=a(this).data("debug-info"),"undefined"!= typeof f&&(f=a("."+f),0!=f.length)){var x=f.parent();x.hasClass("ai-debug-info")&&x.remove()}x=a(this).prevAll(".ai-debug-bar.ai-debug-lists");f=""==y?"#":y;x.find(".ai-debug-name.ai-list-info").text(f).attr("title",R+"\n"+W);x.find(".ai-debug-name.ai-list-status").text(d?ai_front.visible:ai_front.hidden);f=!1;if(d&&(r=a(this).attr("scheduling-start"),B=a(this).attr("scheduling-end"),D=a(this).attr("scheduling-days"),"undefined"!=typeof r&&"undefined"!=typeof B&&"undefined"!=typeof D)){f=!0;var z= b64d(r),P=b64d(B),U=parseInt(a(this).attr("scheduling-fallback")),Q=parseInt(a(this).attr("gmt"));z.includes("-")||P.includes("-")?(B=v(z)+Q,r=v(P)+Q):(B=E(z),r=E(P));D=b64d(D).split(",");x=a(this).attr("scheduling-type");var C=(new Date).getTime()+Q,F=new Date(C),J=F.getDay();z.includes("-")||P.includes("-")||(z=(new Date(F.getFullYear(),F.getMonth(),F.getDate())).getTime()+Q,C-=z,0>C&&(C+=864E5));0==J?J=6:J--;z=C>=B&&C<r&&D.includes(J.toString());switch(x){case "B":z=!z}z||(d=!1);F=F.toISOString().split(".")[0].replace("T", " ");x=a(this).prevAll(".ai-debug-bar.ai-debug-scheduling");x.find(".ai-debug-name.ai-scheduling-info").text(F+" "+J+" current_time:"+Math.floor(C.toString()/1E3)+" start_date:"+Math.floor(B/1E3).toString()+" ="+(C>=B).toString()+" end_date:"+Math.floor(r/1E3).toString()+" =:"+(C<r).toString()+" days:"+D.toString()+" =:"+D.includes(J.toString()).toString());x.find(".ai-debug-name.ai-scheduling-status").text(d?ai_front.visible:ai_front.hidden);d||0==U||(x.removeClass("ai-debug-scheduling").addClass("ai-debug-fallback"), x.find(".ai-debug-name.ai-scheduling-status").text(ai_front.fallback+" = "+U))}if(h||!d&&N)return!0;a(this).css({visibility:"",position:"",width:"",height:"","z-index":""});d?(e.css({visibility:""}),e.hasClass("ai-remove-position")&&e.css({position:""}),"undefined"!=typeof a(this).data("code")&&(d=b64d(a(this).data("code")),0!=a(this).closest("head").length?(a(this).after(d),a(this).remove()):a(this).append(d),ai_process_element_lists(this))):f&&!z&&0!=U?(e.css({visibility:""}),e.hasClass("ai-remove-position")&& e.css({position:""}),a(this).next(".ai-fallback").removeClass("ai-fallback"),"undefined"!=typeof a(this).data("fallback-code")?(d=b64d(a(this).data("fallback-code")),a(this).append(d),ai_process_element_lists(this)):(a(this).hide(),!e.find(".ai-debug-block").length&&e[0].hasAttribute("style")&&-1==e.attr("style").indexOf("height:")&&e.hide()),d=e.attr("data-ai"),"undefined"!==typeof d&&!1!==d&&(d=a(this).attr("fallback-tracking"),"undefined"!==typeof d&&!1!==d&&e.attr("data-ai-"+a(this).attr("fallback_level"), d))):(a(this).hide(),e.length&&(e.removeAttr("data-ai").removeClass("ai-track"),e.find(".ai-debug-block").length?(e.css({visibility:""}).removeClass("ai-close"),e.hasClass("ai-remove-position")&&e.css({position:""})):e[0].hasAttribute("style")&&-1==e.attr("style").indexOf("height:")&&e.hide()));a(this).attr("data-code","");a(this).attr("data-fallback-code","");e.removeClass("ai-list-block")})}};a(document).ready(function(c){setTimeout(function(){ai_process_lists();setTimeout(function(){H();if("function"== typeof ai_load_blocks){var l=function(G){"cmplzEnableScripts"!=G.type&&"all"!==G.consentLevel||ai_load_blocks()};jQuery(document).on("cmplzEnableScripts",l);jQuery(document).on("cmplz_event_marketing",l)}},50);jQuery(".ai-debug-page-type").dblclick(function(){jQuery("#ai-iab-tcf-status").text("CONSENT COOKIES");jQuery("#ai-iab-tcf-bar").show()});jQuery("#ai-iab-tcf-bar").click(function(){k("euconsent-v2");k("__lxG__consent__v2");k("__lxG__consent__v2_daisybit");k("__lxG__consent__v2_gdaisybit");k("CookieLawInfoConsent"); k("cookielawinfo-checkbox-advertisement");k("cookielawinfo-checkbox-analytics");k("cookielawinfo-checkbox-necessary");k("complianz_policy_id");k("complianz_consent_status");k("cmplz_marketing");k("cmplz_consent_status");k("cmplz_preferences");k("cmplz_statistics-anonymous");k("cmplz_choice");k("cmplz_banner-status");k("cmplz_functional");k("cmplz_policy_id");k("cmplz_statistics");k("moove_gdpr_popup");k("real_cookie_banner-blog:1-tcf");k("real_cookie_banner-blog:1");jQuery("#ai-iab-tcf-status").text("CONSENT COOKIES DELETED")})}, 5)})}); function ai_process_element_lists(a){setTimeout(function(){"function"==typeof ai_process_rotations_in_element&&ai_process_rotations_in_element(a);"function"==typeof ai_process_lists&&ai_process_lists(jQuery(".ai-list-data",a));"function"==typeof ai_process_ip_addresses&&ai_process_ip_addresses(jQuery(".ai-ip-data",a));"function"==typeof ai_process_filter_hooks&&ai_process_filter_hooks(jQuery(".ai-filter-check",a));"function"==typeof ai_adb_process_blocks&&ai_adb_process_blocks(a);"function"==typeof ai_process_impressions&& 1==ai_tracking_finished&&ai_process_impressions();"function"==typeof ai_install_click_trackers&&1==ai_tracking_finished&&ai_install_click_trackers();"function"==typeof ai_install_close_buttons&&ai_install_close_buttons(document)},5)} function getAllUrlParams(a){var n=a?a.split("?")[1]:window.location.search.slice(1);a={};if(n){n=n.split("#")[0];n=n.split("&");for(var E=0;E<n.length;E++){var v=n[E].split("="),H=void 0,w=v[0].replace(/\[\d*\]/,function(k){H=k.slice(1,-1);return""});v="undefined"===typeof v[1]?"":v[1];w=w.toLowerCase();v=v.toLowerCase();a[w]?("string"===typeof a[w]&&(a[w]=[a[w]]),"undefined"===typeof H?a[w].push(v):a[w][H]=v):a[w]=v}}return a};