1function getRequest() { 2 if (location.search.length > 1) { 3 for (var s = new Object, e = location 4 .search 5 .substr(1) 6 .split("&"), i = 0; i < e.length; i++) { 7 var o = e[i].split("="); 8 s[o[0]] = o[1] 9 } 10 return s 11 } 12 return !1 13} 14function getMediaLayout() { 15 return $(".js-media_queries").css("font-family").replace(/"/g, "") 16} 17function is_ie() { 18 return userAgent.indexOf("msie") != -1 || userAgent.indexOf("trident/7") !== -1 19} 20function is_edge() { 21 return userAgent.indexOf("edge") != -1 22} 23var $win = $(window), 24 $body = $("body"), 25 media_layout, 26 userAgent = window 27 .navigator 28 .userAgent 29 .toLowerCase(); 30$(function () { 31 //ã¹ã¯ãã¼ã«åºå®ï¼iosã ã¨overflow:hiddenã§ãåºå®ã§ããªãããæ¸ãåããï¼ 32 function bodyScrollPrevent(flag){ 33 let scrollPosition; 34 const body = document.getElementsByTagName('body')[0]; 35 const ua = window.navigator.userAgent.toLowerCase(); 36 const isiOS = ua.indexOf('iphone') > -1 || ua.indexOf('ipad') > -1 || ua.indexOf('macintosh') > -1 && 'ontouchend' in document; 37 const scrollBarWidth = window.innerWidth - document.body.clientWidth; 38 if(flag){ 39 body.style.paddingRight = scrollBarWidth + 'px'; 40 if(isiOS) { 41 scrollPosition = -window.pageYOffset; 42 body.style.position = 'fixed'; 43 body.style.width = '100%'; 44 body.style.top = scrollPosition + 'px'; 45 } else { 46 body.style.overflow = 'hidden'; 47 } 48 } else if (!flag) { 49 body.style.paddingRight = ''; 50 if(isiOS) { 51 scrollPosition = parseInt(body.style.top.replace(/[^0-9]/g,'')); 52 body.style.position = ''; 53 body.style.width = ''; 54 body.style.top = ''; 55 window.scrollTo(0, scrollPosition); 56 } else { 57 body.style.overflow = ''; 58 } 59 } 60 } 61 62 function s() { 63 $btn = $(".js-navbtn"), 64 //$scrollBarWidth = window.innerWidth - document.body.clientWidth; 65 $btn.click(function () { 66 $body.hasClass("is-navopen") 67 ? ($body.removeClass("is-navopen"), $body.addClass("is-navclose"),bodyScrollPrevent(false)) 68 : ($body.addClass("is-navopen"), $body.removeClass("is-navclose"),bodyScrollPrevent(true)) 69 }) 70 } 71 $media_queries = $(".js-media_queries"), 72 media_layout = $media_queries.css("font-family").replace(/"/g, ""), 73 media_layout_work = media_layout, 74 $win.on("resize", function () { 75 media_layout = $media_queries.css("font-family").replace(/"/g, ""), 76 media_layout_work != media_layout && location.reload() 77 }), 78 is_ie() && $("html, body").addClass("is-ie"), 79 is_edge() && $("html, body").addClass("is-edge"), 80 s(), 81 $(".js-search__btn").click(function () { 82 $this = $(this), 83 $txtbox = $this.prev(); 84 //æ¤ç´¢ãã¿ã³å¶å¾¡ 85 if($txtbox.hasClass("is-show") && $("input.l-header__search__txt").val() != "") 86 { 87 $("form.l-header__search__form").submit(); 88 } 89 else 90 { 91 $txtbox.hasClass("is-show") 92 ? $this.prev().removeClass("is-show") 93 : $this.prev().addClass("is-show") 94 } 95 }), 96 $(".js-pickup-slide").slick({ 97 centerMode: !0, 98 centerPadding: "60px", 99 slidesToShow: 1, 100 arrows: !1, 101 dots: !1, 102 autoplay: !0, 103 autoplaySpeed: 2500, 104 speed: 600 105 }), 106 $(".js-slide-writer").slick({ 107 slidesToShow: 5, 108 dots: !1, 109 autoplay: !0, 110 autoplaySpeed: 2500, 111 speed: 600, 112 prevArrow: '<span class="slick-arrow slick-prev"></span>', 113 nextArrow: '<span class="slick-arrow slick-next"></span>', 114 responsive: [ 115 { 116 breakpoint: 1e3, 117 settings: { 118 slidesToShow: 3 119 } 120 } 121 ] 122 }), 123 $(".js-slide-map").slick({ 124 slidesToShow: 1, 125 dots: !1, 126 autoplay: !0, 127 autoplaySpeed: 5000, 128 speed: 600, 129 prevArrow: '<span class="slick-arrow slick-prev"></span>', 130 nextArrow: '<span class="slick-arrow slick-next"></span>', 131 }), 132 $(".js-slide-feature").slick({ 133 slidesToShow: 1, 134 dots: !1, 135 autoplay: !0, 136 autoplaySpeed: 2500, 137 speed: 600, 138 prevArrow: '<span class="slick-arrow slick-prev"></span>', 139 nextArrow: '<span class="slick-arrow slick-next"></span>' 140 }) 141}), 142// ãµã¤ããã¼ã¹ã¯ãã¼ã«åºå® 143$win.on("load", function () { 144 var s, 145 e, 146 i, 147 o = $(".js-column__side"), 148 t = $(".js-column__contents"), 149 h = $(".js-sns").outerHeight(true), 150 k = $(".js-sky").outerHeight(true), 151 d = $(".js-header").outerHeight(), 152 shkd = $(window).height() - h - k - d; 153 o.length > 0 && (console.log("side"), sideBtm = 0, $win.on("scroll", function () { 154 s = $(window).height(), 155 i = $win.scrollTop(), 156 // shkd = s - h - k - d, 157 t.height() > o.height() && sideBtm && $win.scrollTop() + s > sideBtm 158 ? ( 159 e = o.offset().left, 160 i + s - shkd <= mainBtm 161 ? (o.css({"left": e + "px", "bottom": shkd + "px"}), o.addClass("is-fix"), o.removeClass("is-aboslute"), console.log("is-fix")) 162 : (o.css({"left": 0, "bottom": 0}), o.addClass("is-aboslute"), o.removeClass("is-fix"), console.log("is-aboslute")) 163 ) 164 : (o.removeClass("is-fix"), o.removeClass("is-aboslute")) 165 }), mainBtm = t.offset().top + t.height(), sideBtm = o.offset().top + o.height() + shkd, console.log(sideBtm)) 166}), 167function (s) { 168 s.fn.toggleCSS3 = function () { 169 var e = s(this).next(); 170 if (e.hasClass("state-active")) 171 e.stop().velocity({ 172 height: 0 173 }, 300, "swing"), 174 e.removeClass("state-active"); 175 else { 176 e.css("height", "auto");
177 var i = e.innerHeight(); 178 e.css("height", 0), 179 e.stop().velocity({ 180 height: i 181 }, 300, "swing"), 182 e.addClass("state-active") 183 } 184 } 185}(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.