PageSourceSearch

https://lab.timee.co.jp/assets/timee/js/template.js?20240509120126

js timee.co.jp collected 2026-09-24 08:39:39 UTC 9,930 bytes, 1 lines download raw bytes

1!function(e){var n={};function t(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:i})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(t.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(i,o,function(n){return e[n]}.bind(null,o));return i},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=0)}([function(e,n,t){"use strict";function i(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}t.r(n);var o=function(){function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e)}var n,t,o;return n=e,o=[{key:"init",value:function(){this.$el={window:$(window),timeeHeader:$(".timee-c-header"),menuControl:$(".timee-c-header").find(".js-menu-control"),headerMenuButton:$(".timee-c-header").find(".c-header__menuButton"),headerSearchButton:$(".timee-c-header").find(".c-header__searchButton"),headerMenuClose:$(".timee-c-header").find(".c-header__menuClose")},this.handleHeaderMenu(),this.headerSticky()}},{key:"handleHeaderMenu",value:function(){var e,n=this,t=!1,i=!1;window.matchMedia("(max-width: 767px)"),this.$el.headerSearchButton.on("click",(function(t){t.preventDefault(),i||(e=$(window).scrollTop(),$("body").addClass("fixed").css({top:-e}),$("html").css({"overflow-y":"hidden","scroll-behavior":"auto"}),n.$el.timeeHeader.addClass("is-search"),i=!0)})),this.$el.headerMenuButton.on("click",(function(i){i.preventDefault(),t||(e=$(window).scrollTop(),$("body").addClass("fixed").css({top:-e}),$("html").css({"overflow-y":"hidden","scroll-behavior":"auto"}),n.$el.timeeHeader.addClass("is-active"),t=!0)})),this.$el.headerMenuClose.on("click",(function(o){o.preventDefault(),t?($("body").removeClass("fixed").css({top:"auto"}),window.scrollTo(0,e-10),$("body").delay(50).queue((function(){$("html").css({"overflow-y":"scroll","scroll-behavior":"smooth"}),$(this).dequeue()})),n.$el.timeeHeader.removeClass("is-active"),t=!1):i&&($("body").removeClass("fixed").css({top:"auto"}),window.scrollTo(0,e-10),$("body").delay(50).queue((function(){$("html").css({"overflow-y":"scroll","scroll-behavior":"smooth"}),$(this).dequeue()})),n.$el.timeeHeader.removeClass("is-search"),i=!1)}))}},{key:"headerSticky",value:function(){var e=0,n=0;$(".timee-c-header .timee-c-inner").clone(!0).appendTo($(".timee-c-header--clone")),$(window).on("scroll",(function(){n=$(this).scrollTop(),$(window).scrollTop()>=300?$(window).scrollTop()>=700?(n>=e?n>=10&&$(".timee-c-header--clone").addClass("hide"):$(".timee-c-header--clone").removeClass("hide"),e=n):$(".timee-c-header--clone").addClass("hide"):($(".timee-c-header").removeClass("is-scroll"),$("body").css("paddingTop",0))}))}}],(t=null)&&i(n.prototype,t),o&&i(n,o),e}();function a(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var r=function(){function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e)}var n,t,i;return n=e,i=[{key:"init",value:function(){this.$el={window:$(window),topBtn:$(".c-footerContents__totop")},this.scrollToTop()}},{key:"scrollToTop",value:function(){this.$el.topBtn.on("click",(function(){return $("body, html").animate({scrollTop:0},250),!1}))}}],(t=null)&&a(n.prototype,t),i&&a(n,i),e}();function c(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var l=function(){function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e)}var n,t,i;return n=e,i=[{key:"init",value:function(){this.breadcrumbBar()}},{key:"breadcrumbBar",value:function(){var e;function n(){e=$(".c-breadcrumb__inner").height()-$(".timee-c-breadcrumb").height(),$(".timee-c-breadcrumb").css({marginBottom:e})}$(".c-breadcrumb__inner").css({paddingBottom:20}),n(),$(window).on("resize",(function(){n()}))}}],(t=null)&&c(n.prototype,t),i&&c(n,i),e}();function s(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var u=function(){function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e)}var n,t,i;return n=e,i=[{key:"init",value:function(){this.$el={window:$(window),sectionArray:$(".timee-s-mainvisual")},this.slickInit()}},{key:"slickInit",value:function(){this.$el.sectionArray.each((function(e,n){var t=$(n).find(".s-mainVisual__slider");t.on("init",(function(e,n){$(".s-mainVisual__dotsList li button").before('<svg viewBox="0 0 36 36"><circle cx="18" cy="18" r="16" stroke="#000" stroke-width="4" stroke-linecap="round" fill="none" class="s-mainVisual__dotIndicator" /></svg>')})),t.on("beforeChange",(function(e,n,i,o){t.find(".slick-slide").each((function(e,t){var a=$(t),r=a.attr("data-slick-index");a.currentSlide,o==n.slideCount-1&&0==i?"-1"==r?a.addClass("is-active-next"):a.removeClass("is-active-next"):0==o&&r==n.slideCount?a.addClass("is-active-next"):a.removeClass("is-active-next")})),$(".s-mainVisual__dotsList li").removeClass("added"),$(".s-mainVisual__dotsList li").slice(0,o).addClass("added"),o>0&&t.slick("slickSetOption","autoplaySpeed",3700,!1)})),t.slick({slidesToShow:1,centerMode:!0,centerPadding:0,autoplay:!0,autoplaySpeed:4e3,speed:300,swipe:!0,cssEase:"linear",variableWidth:!0,pauseOnFocus:!1,pauseOnHover:!1,pauseOnDotsHover:!1,arrows:!0,appendArrows:$(".s-mainVisual__arrowsContent"),prevArrow:'<span class="s-mainVisual__arrow s-mainVisual__arrow--prev slick-prev"></span>',nextArrow:'<span class="s-mainVisual__arrow s-mainVisual__arrow--next slick-next"></span>',dots:!0,dotsClass:"s-mainVisual__dotsList",appendDots:$(".s-mainVisual__dotsContent")}),window.addEventListener("resize",(function(){t.slick("setPosition")}))}))}}],(t=null)&&s(n.prototype,t),i&&s(n,i),e}();function d(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var f=function(){function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e)}var n,t,i;return n=e,i=[{key:"init",value:function(){this.$el={window:$(window),sectionArray:$(".timee-s-documentDetail")},this.sectionInit()}},{key:"sectionInit",value:function(){this.$el.sectionArray.each((function(e,n){var t,i;$(n).find(".js-authorizationCheckbox").each((function(e,t){$(t).on("click",(function(){var e=$
1(n).find(".js-authorizationCheckbox"),t=!0,i=$(n).find(".js-action");e.each((function(e,n){$(n).prop("checked")||(t=!1)})),t?i.each((function(e,n){$(n).removeClass("-notValid")})):i.each((function(e,n){$(n).addClass("-notValid")}))}))})),t=$(n).find(".js-dataHref").data("href"),i=$(n).find(".js-action")[0],t&&$(i).on("click",(function(){var e;document.cookie="fileLoading=; max-age=0",e=setInterval((function(){document.cookie.split(";").filter((function(e){return e.indexOf("fileLoading=true")>=0})).length&&(clearInterval(e),window.location.href=t)}),500),setTimeout((function(){clearInterval(e)}),1e4)}))}))}}],(t=null)&&d(n.prototype,t),i&&d(n,i),e}();function h(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var v=function(){function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e)}var n,t,i;return n=e,i=[{key:"init",value:function(){this.$el={window:$(window),sectionArray:$(".timee-s-blogDetail")},this.generateToc()}},{key:"generateToc",value:function(){this.$el.sectionArray.each((function(e,n){var t,i,o=document.querySelector("#toc"),a=document.querySelectorAll(".s-blogDetail__contentInner h2"),r=[],c=0,l=-1;try{if(0===a.length)return void o.remove();var s=function(e){var n=document.createElement("li"),t=document.createElement("a");return e.id=e.id||"".concat("heading").concat(c++),t.href="#".concat(e.id),t.innerText=e.innerText,t.className="tocLink",n.appendChild(t),n},u=function(e,n,t){do{if(e[n+=t])return e[n]}while(0<n&&n<2);return!1};a.forEach((function(e){var n=Number(e.tagName.substring(1)),t=u(r,n,-1);l>n&&(r.length=n+1),r[n]||(r[n]=document.createElement("ul"),r[n].classList.add("h".concat(n,"list")),t.lastChild&&t.lastChild.appendChild(r[n])),r[n].appendChild(s(e)),l=n})),r.length&&(t=o,i=u(r,0,1),t.appendChild(i.cloneNode(!0))),document.querySelectorAll(".".concat("tocLink")).forEach((function(e){e.addEventListener("click",(function(n){var t=document.querySelector(e.hash);scrollTo(0,window.pageYOffset+t.getBoundingClientRect().top-100),n.preventDefault(),n.stopPropagation()}))}))}catch(e){}}))}}],(t=null)&&h(n.prototype,t),i&&h(n,i),e}();function m(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(function(){function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e)}var n,t,i;return n=e,i=[{key:"init",value:function(){o.init(),r.init(),l.init(),u.init(),f.init(),v.init()}}],(t=null)&&m(n.prototype,t),i&&m(n,i),e})().init()}]);

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.