PageSourceSearch

https://www.tohotheater.jp/responsive/js/home.js

js tohotheater.jp collected 2026-10-02 02:20:14 UTC 2,485 bytes, 1 lines download raw bytes

1!function(i){"use strict";function e(t,s){s=s||{},this.$el=i(t),this.options=i.extend({},e.defaults,s),this.init(),this.subscribe()}function t(){i("#js-slider-mainvisual").show();var e=i("#js-slider-home-01"),t=e.data("sliderPro"),s=window.innerWidth<768;if(s){if("undefined"!=typeof t&&(t.settings.autoHeight=!1,e.sliderPro("destroy"),e.find(".sp-slides").css("display","inline"),setTimeout(function(){e.find(".sp-slides").css("transform","")},100)),"undefined"==typeof i("#movie-banners").data("sliderPro")){var n=i("#movie-banners").find(".sp-slide").length>2;i("#movie-banners").sliderPro({arrows:!1,buttons:!0,slideDistance:0,autoHeight:!0,responsive:!0,aspectRatio:1,loop:n})}if("undefined"==typeof i("#banner-top").data("sliderPro")){var n=i("#banner-top").find(".sp-slide").length>2;i("#banner-top").sliderPro({arrows:!1,buttons:!0,slideDistance:0,autoHeight:!0,width:"auto",responsive:!0,aspectRatio:1,loop:n})}}else"undefined"==typeof e.data("sliderPro")&&e.sliderPro({width:"100%",arrows:!0,buttons:!1,autoHeight:!0,responsive:!0,autoplay:!1});var o=i("#js-slider-mainvisual"),r=o.find(".sp-slide");"undefined"==typeof o.data("sliderPro")&&(o.sliderPro({width:746,height:500,visibleSize:"100%",slideDistance:0,arrows:!0,autoHeight:!1,buttons:!0,responsive:!1,autoplay:!0,autoplayDelay:5e3,breakpoints:{768:{responsive:!0,aspectRatio:1,autoHeight:!0,width:"100%"}},init:function(i){r.eq(0).addClass("is-current")},gotoSlideComplete:function(i){r.removeClass("is-current"),r.eq(i.index).addClass("is-current")}}),o.show())}e.defaults={step:1},e.prototype.init=function(){this.$item=this.$el.find(".ranking-item"),this.length=this.$item.length;var i=this.$item.index(this.$item.filter(".is-next"));this.$item.slice(i+1).addClass("is-hidden")},e.prototype.subscribe=function(){this.$el.on("click",".ranking-more a",function(e){e.preventDefault(),i(".ranking-item").each(function(){i(this).removeClass("is-next"),i(this).removeClass("is-hidden")}),i(".ranking-more").hide()})},i.fn.step=function(i){return this.each(function(){new e(this,i)})},i(function(){var e=i(".ranking");e.step({step:1}),t()});var s;i(window).on("resize",function(){var e=i("#js-slider-mainvisual");e.sliderPro({autoplay:!1}),clearTimeout(s),s=setTimeout(function(){t(),e.sliderPro({autoplay:!0})},100)}),i(window).bind("orientationchange",function(){var e=i("#js-slider-mainvisual");e.sliderPro({autoplay:!1}),clearTimeout(s),s=setTimeout(function(){t(),e.sliderPro({autoplay:!0})},100)})}(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.