PageSourceSearch

https://www.safalkhabar.com/build/assets/ads-CSYj9ggJ.js

js safalkhabar.com collected 2026-10-03 00:40:22 UTC 1,864 bytes, 1 lines download raw bytes

1var e=window.jQuery,t=window._;t.templateSettings={evaluate:/<#([\s\S]+?)#>/g,escape:/\{\{(?!\{)([\s\S]+?)(?<!\})\}\}/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,variable:`data`};function n(){return window.matchMedia(`(max-width: 767px)`).matches?`mobile`:`desktop`}function r(e,n){let r=document.getElementById(e);return r?t.template(r.innerHTML)(n):``}function i(t,r){let i=n();return e.ajax({url:`/ads/${t}_${i}`,method:`GET`,data:{limit:r},headers:{device:i}}).then(e=>e?.data?.promo||[],()=>[])}function a(t){let r=n();return e.ajax({url:`/ads/cubical/${t}_${r}`,method:`GET`,headers:{device:r}}).then(e=>e?.data?.cubical||[],()=>[])}function o(e,t,a){let o=e.data(`position`);o&&i(o,e.data(`limit`)||a).then(i=>{i.length&&e.html(r(t,{promo:i,device:n()}))})}function s(e,t){let a=e.data(`position`);a&&i(a,1).then(i=>{i.length&&e.html(r(t,{promo:i[0],device:n()}))})}function c(e){let t=e.data(`position`);t&&a(t).then(t=>{t.length&&e.html(r(`sk-cubical-ads`,t))})}function l(){let t=e(`.the-content`);if(!t.length)return;let a=t.find(`> p`);i(`inner-iland-box`,3).then(e=>{if(!e.length)return;let i=r(`sk-iland-template`,{promo:e,device:n()});a.eq(0).length?a.eq(0).after(i):t.append(i)}),i(`inner-mid-content`,1).then(e=>{if(!e.length)return;let i=r(`sk-mid-paragraph`,{promo:e[0],device:n()});a.eq(3).length?a.eq(3).after(i):t.append(i)})}e(()=>{e(`.sk-promo-placeholder`).each(function(){o(e(this),`sk-promo-template`,3)}),e(`.sk-skip-placeholder`).each(function(){s(e(this),`sk-skip-template`)}),e(`.sk-list-placeholder`).each(function(){s(e(this),`sk-list-template`)}),e(`.sk-breaking-placeholder`).each(function(){s(e(this),`sk-breaking-template`)}),e(`.sk-cubical-placeholder`).each(function(){c(e(this))}),l(),e(document).on(`click`,`.skip__advertisement .skip-ad.tag`,function(t){t.preventDefault(),e(this).closest(`.skip__advertisement`).remove()})});

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.