PageSourceSearch

https://simorghacademy.com/wp-content/plugins/esanj/assets/user/js/scripts.js?ver=1790034239

js simorghacademy.com collected 2026-09-25 09:41:18 UTC 1,861 bytes, 50 lines download raw bytes

1function esanj_select_menu_profile(element) {
2    var id = element.getAttribute('data-id')
3
4
5    document.querySelector('.menus-esanj > .active').classList.remove('active');
6    document.querySelector('.menus-esanj > .' + id).classList.add('active');
7
8    document.querySelector('.contents-menus-esanj > .active').classList.remove('active');
9    document.querySelector('.contents-menus-esanj > #' + id).classList.add('active');
10
11}
12
13function esanjOpenBoxDiscount() {
14    var $ = jQuery.noConflict();
15    $(".esanj-discount-checker").css('display', 'flex')
16}
17
18function esanj_number_format(number, decimals, dec_point, thousands_sep) {
19    // Strip all characters but numerical ones.
20    number = (number + '').replace(/[^0-9+\-Ee.]/g, '');
21    var n = !isFinite(+number) ? 0 : +number,
22        prec = !isFinite(+decimals) ? 0 : Math.abs(decimals),
23        sep = (typeof thousands_sep === 'undefined') ? ',' : thousands_sep,
24        dec = (typeof dec_point === 'undefined') ? '.' : dec_point,
25        s = '',
26        toFixedFix = function (n, prec) {
27            var k = Math.pow(10, prec);
28            return '' + Math.round(n * k) / k;
29        };
30    // Fix for IE parseFloat(0.55).toFixed(0) = 0;
31    s = (prec ? toFixedFix(n, prec) : '' + Math.round(n)).split('.');
32    if (s[0].length > 3) {
33        s[0] = s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g, sep);
34    }
35    if ((s[1] || '').length < prec) {
36        s[1] = s[1] || '';
37        s[1] += new Array(prec - s[1].length + 1).join('0');
38    }
39    return s.join(dec);
40}
41
42var $ = jQuery.noConflict();
43$(document).ready(function () {
44    if ($("#EsanjDiscountCode").length > 0) {
45        var valuediscount = $("#EsanjDiscountCode").val();
46        if (valuediscount.length > 0){
47            $("#EsanjDiscountCode").parent().find('button').click()
48        }
49    }
50});

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.