PageSourceSearch

https://slcnypublictransit.com/_static/??-eJyNy8ENgCAMQNGFxIpG5WKc…OBvrH0K1Efu9C9VIXPWtja1p82ubpmHabTuA8f/Leg=

js slcnypublictransit.com collected 2026-10-01 15:34:35 UTC 5,658 bytes, 82 lines download raw bytes

1!function(t){"use strict";t.fn.AcmeTicker=function(e){let n,i,o=t.extend({},t.fn.AcmeTicker.defaults,e),c=t(this),r=!1;function a(){switch(o.type){case"vertical":case"horizontal":l();break;case"marquee":!function(){let e,n,i,r=o.speed,a=o.direction,l="left",s=0,u=!1;function f(t,o){c.animate({[l]:"-="+t},o,"linear",function(){c.css({[l]:e}),f(n,i)})}function p(){let t=c.offset(),e="right"===a?s-t.left:t.left,n=e+s,i=n/r;f(n,i)}(function(){c.css({position:"absolute"}),c.find("li").css({display:"inline-block",marginRight:"10px"});let o=c.find("li");e=c.parent().outerWidth(!0),"right"===a&&(l="right"),c.width(1e4),o.each(function(){s+=t(this).outerWidth(!0)+5}),c.width(s),i=(n=s+e)/r,f(s,s/r)})(),o.controls.toggle&&o.controls.toggle.on("click",function(e){console.log("mToggle"),u=!u,t(document).trigger("acmeTickerToggle",c,u),u?c.stop():p()}),o.pauseOnHover&&c.on("mouseenter",function(){c.stop()}).on("mouseleave",function(){p()});o.pauseOnFocus&&c.on("focusin",function(){c.stop()}).on("focusout",function(){p()})}();break;case"typewriter":s()}}function l(t=!1){let e=o.speed,i=o.autoplay,a=o.direction;if(t&&(e=0,i=0,clearInterval(n),n=!1),n)return!1;n=setInterval(function(){if(r)return clearInterval(n),n=!1,!1;let i,s,u,f;i=c.find("li:first"),s="up"===a||"right"===a?"-=":"+=","horizontal"===o.type?(u="left",f=i.outerWidth(!0)):(u="margin-top",f=i.outerHeight(!0)),"prev"===t?c.find("li:last").detach().prependTo(c):i.detach().appendTo(c),c.find("li").css({opacity:"0",display:"none"}),c.find("li:first").css({opacity:"1",position:"absolute",display:"block",[u]:s+f+"px"}),c.find("li:first").animate({[u]:"0px"},e,function(){clearInterval(n),n=!1,l()})},i)}function s(t=!1){if(r)return!1;t&&(clearInterval(n),n=!1,clearTimeout(i),i=!1,"prev"===t?c.find("li:last").detach().prependTo(c):c.find("li:first").detach().appendTo(c));let e=o.speed,a=o.autoplay,l=c.find("li:first"),u=l.children(),f=0;l.attr("data-text")&&u.text(l.attr("data-text"));let p=l.text();function d(){c.find("li:first").detach().appendTo(c),clearTimeout(i),i=!1,s()}c.find("li").css({opacity:"0",display:"none"}),n||(n=setInterval(function(){f++;let t=p.substring(0,f);l.attr("data-text")||l.attr("data-text",p),f<=p.length?(u.text(t),l.css({opacity:"1",display:"block"})):(clearInterval(n),n=!1,i=setTimeout(d,a))},e))}if(c.wrap("<div class='acmeticker-wrap'></div>"),c.parent().css({position:"relative"}),c.children("li").not(":first").hide(),a(),"marquee"!==o.type){function u(){r||a()}o.controls.prev&&o.controls.prev.on("click",function(t){switch(t.preventDefault(),o.type){case"typewriter":s("prev");break;default:l("prev")}}),o.controls.next&&o.controls.next.on("click",function(t){switch(t.preventDefault(),o.type){case"typewriter":s("next");break;default:l("next")}}),o.controls.toggle&&o.controls.toggle.on("click",function(e){e.preventDefault(),r=!r,t(document).trigger("acmeTickerToggle",c,r),u()}),o.pauseOnHover&&c.on("mouseenter",function(){r=!0,u()}).on("mouseleave",function(){r=!1,u()}),o.pauseOnFocus&&c.on("focusin",function(){r=!0,u()}).on("focusout",function(){r=!1,u()})}},t.fn.AcmeTicker.defaults={type:"horizontal",autoplay:2e3,speed:50,direction:"up",pauseOnFocus:!0,pauseOnHover:!0,controls:{prev:"",next:"",toggle:""}}}(jQuery);
2//# sourceMappingURL=acmeticker.min.js.map;
3(function(window, $) {
4
5    // USE STRICT
6    "use strict";
7
8    var wtnClass = $(".wtn-news-ticker")[0];
9    var wtnFeatured = document.getElementById('wtn-featured-id');
10
11    if (wtnClass != null) {
12        var rtl = wtnClass.getAttribute('data-rtl-type');
13        var speed = wtnClass.getAttribute('data-speed');
14        //alert(speed);
15
16        $('.wtn-news-ticker-marquee').AcmeTicker({
17            type: 'marquee',
18            direction: (rtl == 'rtl' ? 'right' : 'left'),
19            speed: speed
20        });
21
22        $('.wtn-news-ticker-horizontal').AcmeTicker({
23            type: 'horizontal',
24            direction: (rtl == 'rtl' ? 'left' : 'right'),
25            speed: parseInt(speed)
26        });
27
28        $('.wtn-news-ticker-typewriter').AcmeTicker({
29            type: 'typewriter',
30            direction: 'left',
31            speed: speed
32        });
33
34        $('.wtn-news-ticker-vertical').AcmeTicker({
35            type: 'vertical',
36            direction: 'down',
37            speed: parseInt(speed)
38        });
39    }
40
41    if (wtnFeatured != null) {
42        $('.featured').slick({
43            speed: 300,
44            slidesToShow: 4,
45            slidesToScroll: 1,
46            autoplay: true,
47            infinite: true,
48            autoplaySpeed: 3000,
49            cssEase: 'ease',
50            dots: false,
51            dotsClass: 'slick-dots',
52            pauseOnHover: true,
53            arrows: true,
54            prevArrow: '<button type="button" data-role="none" class="slick-prev">Previous</button>',
55            responsive: [{
56                    breakpoint: 1024,
57                    settings: {
58                        slidesToShow: 3,
59                        slidesToScroll: 3,
60                        infinite: true,
61                        dots: false
62                    }
63                },
64                {
65                    breakpoint: 600,
66                    settings: {
67                        slidesToShow: 2,
68                        slidesToScroll: 2
69                    }
70                },
71                {
72                    breakpoint: 480,
73                    settings: {
74                        slidesToShow: 1,
75                        slidesToScroll: 1
76                    }
77                }
78            ],
79        });
80    }
81
82})(window, jQuery);;

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.