add ads

var arr = [ "", "", "", "", "", "" ]; window['_$']=function(j){var f=document['querySelectorAll'](j);if(f['length']>1)return f;else return f['length']==0?document['createDocumentFragment']()['childNodes']:f[0];},Element['prototype']['siblings']=function(j){var f=this,D=[...this['parentElement']['children']],k=D['indexOf'](this);return D['filter'](function(q){return j?D['indexOf'](q)!=k&&Array['prototype']['indexOf']['call'](f['parentElement']['querySelectorAll'](j),q)!=-1:D['indexOf'](q)!=k;});},Element['prototype']['is']=function(j){return Array['prototype']['indexOf']['call'](document['querySelectorAll'](j),this)!=-1;},Element['prototype']['nextUntil']=function(j){return f(this['nextElementSibling']);function f(D){return D&&D['is'](j)?D:f(D['nextElementSibling']);}},Element['prototype']['parentsUntil']=function(j){var f=[];D(this['parentElement']);function D(k){f['push'](k),!k['is'](j)&&D(k['parentElement']);}return f;},Element['prototype']['found']=function(){return!![];},NodeList['prototype']['found']=function(){return this['length']>0;},window['oneScroll']=function(j){var f=!![];window['addEventListener']('scroll',function(D){if(f){f=![];if(j)j(D);}});},NodeList['prototype']['filter']=function(j){return Array['prototype']['filter']['call'](this,j);},Element['prototype']['each']=function(j){return j(this);},NodeList['prototype']['each']=function(j){return Array['prototype']['forEach']['call'](this,j);},Array['prototype']['each']=function(j){return Array['prototype']['forEach']['call'](this,j);},HTMLCollection['prototype']['each']=function(j){return Array['prototype']['forEach']['call'](this,j);},Element['prototype']['onClick']=function(j){this['addEventListener']('click',j);},NodeList['prototype']['onClick']=function(j){this['each'](function(f){f['addEventListener']('click',j);});},Element['prototype']['before']=function(j){this[typeof j=='object'?'insertAdjacentElement':'insertAdjacentHTML']('beforebegin',j);},Element['prototype']['after']=function(j){this[typeof j=='object'?'insertAdjacentElement':'insertAdjacentHTML']('afterend',j);},Element['prototype']['prepend']=function(j){this[typeof j=='object'?'insertAdjacentElement':'insertAdjacentHTML']('afterbegin',j);},Element['prototype']['append']=function(j){this[typeof j=='object'?'insertAdjacentElement':'insertAdjacentHTML']('beforeend',j);},Element['prototype']['hasClass']=function(j){return this['classList']['contains'](j);},Element['prototype']['addClass']=function(j){this['classList']['add'](j);},NodeList['prototype']['addClass']=function(j){this['each'](function(f){f['classList']['add'](j);});},Element['prototype']['removeClass']=function(j){this['classList']['remove'](j);},NodeList['prototype']['removeClass']=function(j){this['each'](function(f){f['classList']['remove'](j);});},Element['prototype']['toggleClass']=function(j){this['hasClass'](j)?this['removeClass'](j):this['addClass'](j);},NodeList['prototype']['toggleClass']=function(j){this['each'](function(f){f['hasClass'](j)?f['removeClass'](j):f['addClass'](j);});},Element['prototype']['css']=function(j){if(typeof j=='string')return window['getComputedStyle'](this)[j];if(typeof j=='object')for(var f in j){this['style'][f]=j[f];}},Element['prototype']['slideUp']=function(f,D){var k=this;if(!k['hasClass']('nomove')){k['addClass']('nomove'),k['css']({'transition':(f||400)+'ms linear','height':k['offsetHeight']+'px'}),k['offsetHeight'];var q={};q['height']=0,q['paddingTop']=0,q['paddingBottom']=0,q['marginTop']=0,q['marginBottom']=0,k['css'](q),setTimeout(function(){k['removeAttribute']('style'),k['style']['display']='none',k['removeClass']('nomove');if(D)D(k);},f||400);}},Element['prototype']['slideDown']=function(D,k){var q=this;if(!q['hasClass']('nomove')){q['addClass']('nomove'),q['style']['display']='block';var C=q['offsetHeight'],h=q['css']('paddingTop'),s=q['css']('paddingBottom'),G=q['css']('marginTop'),P=q['css']('marginBottom'),Q={};Q['transition']='0s linear',Q['height']=0,Q['paddingTop']=0,Q['paddingBottom']=0,Q['marginTop']=0,Q['marginBottom']=0,q['css'](Q),q['offsetHeight'];var t={};t['transition']=(D||400)+'ms linear',t['height']=C+'px',t['paddingTop']=h,t['paddingBottom']=s,t['marginTop']=G,t['marginBottom']=P,q['css'](t),setTimeout(function(){q['removeAttribute']('style'),q['style']['display']='block',q['removeClass']('nomove');if(k)k(q);},D||400);}},Element['prototype']['fadeIn']=function(D,k){var q=this,C={};C['display']='block',C['opacity']=0,q['css'](C),q['offsetHeight'];var h={};h['transition']=(D||400)+'ms linear',h['opacity']=1,q['css'](h),setTimeout(function(){q['removeAttribute']('style'),q['style']['display']='block';if(k)k(q);},D||400);},Element['prototype']['fadeOut']=function(f,D){var k=this;k['css']({'opacity':k['css']('opacity')}),k;var q={};q['transition']=(f||400)+'ms linear',q['opacity']=0,k['css'](q),setTimeout(function(){k['removeAttribute']('style'),k['style']['display']='none';if(D)D(k);},f||400);},Element['prototype']['offset']=function(){var f={};return f['top']=this['getBoundingClientRect']()['top']+window['scrollY'],f['bottom']=this['getBoundingClientRect']()['top']+window['scrollY']+this['outerHeight'],f;};function $getJSON(j,f){fetch(j)['then'](D=>{D['json']()['then'](function(k){f(k);});});};function $getScript(j,f,D){var k=document['createElement']('script');k['src']=j,k['onload']=function(){f();};if(D)k[D]=D;document['head']['append'](k);};function $getJSONP(j,f){var D=document['createElement']('script'),k=new URLSearchParams(j)['get']('callback');!k&&(k='sq_'+Math['round'](Math['random']()*1000000000000),j+='&callback='+k),D['src']=j,window[k]=function(q){f(q);},document['head']['append'](D);};function $load(j,f){fetch(j)['then'](function(D){return D['text']();})['then'](function(D){f(D);});}; (function () { window._$ = function (L) { var Q = document.querySelectorAll(L); if (1 < Q.length) { return Q; } else { if (Q.length == 0) { return document.createDocumentFragment().childNodes; } else { return Q[0]; } } }; _$('.nazads').each(function(gB) { gr(gB); }); function gr(gB) { gB.innerHTML = arr[Math.floor(Math.random() * arr.length)]; } })();

تعليقات