PageSourceSearch

https://www.saso.gov.sa/Style%20Library/ar-sa/styles/js/new-main.js

js saso.gov.sa collected 2026-10-02 14:36:03 UTC 3,702 bytes, 105 lines download raw bytes

1function recentNews() {
2    $(".recentNews-modal").fadeIn("d-block"), $(".popup-Overlay").fadeToggle("d-block"), $(".tooltip").removeClass("show")
3}
4
5function timeModal() {
6    $(".time-modal").fadeToggle("d-block"), $(".popup-Overlay").fadeToggle("d-block"), $(".tooltip").removeClass("show")
7}
8
9function calenderModal() {
10    $(".calender-modal").fadeToggle("d-block"), $(".popup-Overlay").fadeToggle("d-block"), $(".tooltip").removeClass("show")
11}
12$(document).ready((function() {
13    $(".close-popup").click((function() {
14        $(".recentNews-modal").fadeOut("d-block"), $(".popup-Overlay").fadeToggle("d-block")
15    }))
16})), $(document).ready((function() {
17    $(".popup-Overlay").click((function() {
18        $(".recentNews-modal").fadeOut("d-block"), $(".time-modal").fadeOut("d-block"), $(".calender-modal").fadeOut("d-block"), $(".popup-Overlay").fadeToggle("d-block")
19    }))
20})), $(document).ready((function() {
21    if ($(".newsSlider-new").length > 0) new Swiper(".newsSlider-new", {
22        effect: "coverflow",
23        grabCursor: !0,
24        centeredSlides: !0,
25        slidesPerView: "auto",
26        initialSlide: 2,
27        coverflowEffect: {
28            rotate: 0,
29            stretch: 0,
30            depth: 500,
31            modifier: 1,
32            slideShadows: !1
33        },
34        pagination: {
35            el: ".news-section .swiper-pagination",
36            dynamicBullets: !0
37        }
38    });
39    if ($(".download-swiper").length > 0) new Swiper(".download-swiper", {
40        centeredSlides: !0,
41        slidesPerView: 1,
42        spaceBetween: 1,
43        initialSlide: 1,
44        loop: !0,
45        autoplay: {
46            delay: 2e3
47        },
48        speed: 4e3
49    });
50    if ($(".mainslider").length > 0) {
51        $(window).resize((function() {
52            $(".mainslider").height($(window).height())
53        }));
54         
55      /*  new Swiper(".mainslider-container", {
56            speed: 2e3,
57            lazy: !0,
58            pagination: {
59                el: ".mainslider .swiper-pagination",
60                dynamicBullets: !0
61            },
62            navigation: {
63                nextEl: ".mainslider .swiper-button-next",
64                prevEl: ".mainslider .swiper-button-prev"
65            },
66            effect: "slide",
67            watchOverflow: !0
68        })*/
69    }
70    if ($(".scroller").on("click", (function() {
71            return $("body, html, #s4-workspace").animate({
72                scrollTop: $("#home-content").offset().top
73            }, 1e3), !1
74        })), $(".training-swiper").length > 0) {
75        var e = new Swiper(".training-swiper", {
76                slidesPerView: 5.5,
77                spaceBetween: 20,
78                breakpoints: {
79                    1250: {
80                        slidesPerView: 5.5,
81                        spaceBetween: 20
82                    },
83                    992: {
84                        slidesPerView: 2,
85                        spaceBetween: 20
86                    },
87                    320: {
88                        slidesPerView: 1,
89                        spaceBetween: 10
90                    }
91                },
92                navigation: {
93                    nextEl: ".slider-training .swiper-button-next",
94                    prevEl: ".slider-training .swiper-button-prev"
95                },
96                pagination: {
97                    el: ".swiper-pagination",
98                    clickable: !0
99                }
100            }),
101            i = $(".nav-link.active").parents(".swiper-slide").index(),
102            n = 0;
103        i > 4 && (n += i - 4), e.slideTo(n)
104    }
105}));

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.