PageSourceSearch

https://firestorage.jp/doc/wp-content/themes/stingerpro2/js/base.js?ver=7.0.4

js firestorage.jp collected 2026-09-24 08:47:56 UTC 12,590 bytes, 1 lines download raw bytes

1new function(){"use strict";var e="footer",t="fixed-footer";function n(){document.getElementsByTagName("body")[0].clientHeight;document.getElementById(e).style.top="0px";var n,i=document.getElementById(e).offsetTop,o=document.getElementById(e).offsetHeight;window.innerHeight?n=window.innerHeight:document.documentElement&&0!==document.documentElement.clientHeight&&(n=document.documentElement.clientHeight),i+o<n?(document.getElementById(e).style.position="relative",document.getElementById(e).style.top=n-o-i-1+"px",document.body.classList?document.body.classList.add(t):document.body.className+=" "+t):document.body.classList?document.body.classList.remove(t):document.body.className=document.body.className.replace(new RegExp("(^|\\b)"+t+"(\\b|$)","gi")," ")}function i(e,t,n){try{e.addEventListener(t,n,!1)}catch(i){e.attachEvent("on"+t,n)}}i(window,"load",n),i(window,"load",function(){!function(e){var t=document.createElement("div"),n=document.createTextNode("S");t.appendChild(n),t.style.visibility="hidden",t.style.position="absolute",t.style.top="0",document.body.appendChild(t);var i=t.offsetHeight;setInterval(function(){i!==t.offsetHeight&&(e(),i=t.offsetHeight)},1e3)}(n)}),i(window,"resize",n)},jQuery(function(){"use strict";var e=jQuery("#page-top");e.hide(),jQuery(window).scroll(function(){jQuery(this).scrollTop()>400?e.fadeIn():e.fadeOut()}),e.click(function(){return jQuery("body,html").animate({scrollTop:0},800),!1})}),function(e,t,n,i){"use strict";var o=function(){var e=document.createElement("div"),t={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&void 0!==e.style[n])return t[n];return"transitionend"}();function s(){return"1"===n.is_mobile}var a=function(){function e(n,i){if(!(this instanceof e))return new e(n);this.$element=n,this.options=t.extend({},{listener:{click:function(){},mouseenter:function(){},mouseleave:function(){}},expanded:!1,hoverable:!1,link:null,children:null,icon:!1},i),this.options.link||(this.options.link=function(){return this.$element.find("> a")}),this.options.children||(this.options.children=function(){return this.$element.find("> ul")}),this.expanded=this.options.expanded,this.$icon=null}return e.prototype.getElement=function(){return this.$element},e.prototype.hasParent=function(){return this.$element.parents().each(function(){if(void 0!==t(this).data("st-menu-item"))return!1}),!1},e.prototype.getRoot=function(){var e=this.$element;return this.$element.parents().each(function(){var n=t(this);void 0!==n.data("st-menu-item")&&(e=n)}),e},e.prototype.getIcon=function(){return this.$icon=this.$icon||t("<i></i>").appendTo(this.getLink()),this.$icon},e.prototype.getLink=function(){return"function"==typeof this.options.link?this.options.link.bind(this)():t(this.options.link).eq(0)},e.prototype.hasChildren=function(){return"function"==typeof this.options.children?this.options.children.bind(this)().length:t(this.options.children).length},e.prototype.isExpanded=function(){return this.expanded},e.prototype.isClickable=function(){return!!this.getLink().length&&(!this.hasChildren()||this.hasChildren()&&this.isExpanded())},e.prototype.initialize=function(){this.options.icon&&(this.$icon=t("<i></i>"),this.getLink().append(this.$icon)),this.refresh(!1),this.addEventListener()},e.prototype.refresh=function(e){e=void 0===e||e,this.expanded||!this.hasChildren()?this.expand(e):this.collapse(e)},e.prototype.expand=function(e){var t=this,n=this.$element.find("> ul");this.expanded=!0,(e=void 0===e||e)&&n.length?n.animate({marginTop:"show",marginBottom:"show",paddingTop:"show",paddingBottom:"show",height:"show"},"fast",function(){t.options.icon&&t.getIcon().attr({class:"menu-item-icon fa fa-angle-right"}),t.$element.removeClass("menu-item-collapsed").addClass("menu-item-expanded")}):(n.show(),t.options.icon&&this.getIcon().attr({class:"menu-item-icon fa fa-angle-right"}),this.$element.removeClass("menu-item-collapsed").addClass("menu-item-expanded"))},e.prototype.collapse=function(e){var t=this,n=this.$element.find("> ul");this.expanded=!1,(e=void 0===e||e)&&n.length?n.slideUp("fast",function(){t.options.icon&&t.getIcon().attr({class:"menu-item-icon fa fa-angle-down"}),t.$element.removeClass("menu-item-expanded").addClass("menu-item-collapsed")}):(n.hide(),n.length&&t.options.icon&&this.getIcon().attr({class:"menu-item-icon fa fa-angle-down"}),this.$element.removeClass("menu-item-expanded").addClass("menu-item-collapsed"))},e.prototype.toggle=function(){this.hasChildren()&&(this.expanded?this.collapse():this.expand())},e.prototype.addEventListener=function(){this.getLink().click(t.proxy(this.options.listener.click,this)),this.options.hoverable&&this.$element.hover(t.proxy(this.options.listener.mouseenter,this),t.proxy(this.options.listener.mouseleave,this))},e}(),c=function(){function n(e,i){if(!(this instanceof n))return new n;this.$element=e,this.options=t.extend({},{expanded:!1,hoverable:!1,link:null,children:null,icon:!1},i)}return n.prototype.initialize=function(){var n=this;this.getMenuItems().each(function(){var i=t(this),o={listener:n.options.hoverable?{click:function(t){if(t.preventDefault(),t.stopPropagation(),this.isClickable())return s()&&this.getRoot().data("st-menu").collapseChildren(!1),void(e.location.href=this.getLink().attr("href"));this.toggle()},mouseenter:function(){s()||this.expand()},mouseleave:function(){s()||this.collapse()}}:{click:function(t){t.preventDefault(),t.stopPropagation(),this.isClickable()?e.location.href=this.getLink().attr("href"):this.toggle()},mouseenter:function(){}
1,mouseleave:function(){}},expanded:n.options.expanded,hoverable:n.options.hoverable,link:n.options.link,children:n.options.children,icon:n.options.icon},c=new a(i,o);i.data("st-menu",n),i.data("st-menu-item",c),c.initialize()})},n.prototype.getMenuItems=function(){return this.$element.find("li")},n.prototype.collapseChildren=function(e){this.getMenuItems().each(function(){t(this).data("st-menu-item").collapse(e)})},n.prototype.expandChildren=function(e){this.getMenuItems().each(function(){t(this).data("st-menu-item").expand(e)})},n}(),r=function(){function n(e,n,i,o,s){var a={expanded:!1,$navigationContent:e,hoverable:!1,link:null,children:null,icon:!0};this.$navigation=e,this.$menu=n,this.$toggle=i,this.$container=o,this.options=t.extend({},a,s),this.opened=!1,this.scrollTop=0}return n.prototype.isOpened=function(){return this.opened},n.prototype.open=function(){var n=this;n.opened||(n.scrollTop=t(e).scrollTop(),n.options.expanded?n.$menu.each(function(){t(this).data("st-menu").expandChildren(!1)}):n.$menu.each(function(){t(this).data("st-menu").collapseChildren(!1)}),n.$toggle.addClass("active"),t("html").addClass("s-navi-active"),n.$container.css({top:-n.scrollTop}),e.innerHeight&&n.$navigation.one(o,function(){var t=e.innerHeight===document.body.offsetHeight?e.innerHeight:document.body.offsetHeight;setTimeout(function(){n.options.$navigationContent.css({height:t+"px"})},250)}),n.options.$navigationContent.scrollTop(0),n.opened=!0)},n.prototype.close=function(){var n=this;n.opened&&(n.$toggle.removeClass("active"),t("html").removeClass("s-navi-active"),n.options.$navigationContent.css({height:""}),n.$container.css({top:""}),t(e).scrollTop(n.scrollTop),n.opened=!1)},n.prototype.refresh=function(){if(this.opened)if(e.matchMedia&&e.matchMedia("screen and (min-width: 960px)").matches)this.close();else{var t=e.innerHeight===document.body.offsetHeight?e.innerHeight:document.body.offsetHeight;this.options.$navigationContent.css({height:t+"px"})}},n.prototype.addEventListeners=function(){var n,i,o=this;this.$toggle.click(function(e){e.preventDefault(),e.stopPropagation(),o.opened?o.close():o.open()}),t(e).on("orientationchange resize",function(e){n&&clearTimeout(n),n=setTimeout(function(){o.refresh()},100)}),o.options.$navigationContent.on("touchstart",function(e){i&&clearTimeout(i),i=setTimeout(function(){o.refresh()},100)})},n.prototype.initialize=function(){var e=this;this.$menu.each(function(){var n=t(this),i={expanded:e.options.expanded,hoverable:e.options.hoverable,link:e.options.link,children:e.options.children,icon:e.options.icon},o=new c(n,i);n.data("st-menu",o),o.initialize()}),this.addEventListeners()},n}(),l=function(){function e(e,n,i){this.$menu=e,this.options=t.extend({},{expanded:!1,hoverable:!0,link:null,children:null,icon:!1},i)}return e.prototype.initialize=function(){var e=this;this.$menu.each(function(){var n=t(this),i={expanded:e.options.expanded,hoverable:e.options.hoverable,link:e.options.link,children:e.options.children,icon:e.options.icon},o=new c(n,i);n.data("st-menu",o),o.initialize()})},e}();t(function(){var e,i,o,a,c,h,d,u;e=t(".acordion_tree"),i=t(".acordion_tree .acordion_tree_content"),o=t(".acordion_tree ul.menu"),a=t(".op"),c=t("#st-ami"),h={expanded:"1"===n.expand_accordion_menu,$navigationContent:i},new r(e,o,a,c,h).initialize(),"1"===n.sidemenu_accordion&&(d=t("#side aside .st-pagelists ul"),u={hoverable:s()},new l(d,u).initialize())})}(window,jQuery,ST),jQuery(function(){"use strict";jQuery("ul.menu li").filter(function(){return!jQuery(this).closest(".acordion").length}).hover(function(){jQuery(">ul:not(:animated)",this).slideDown("fast")},function(){jQuery(">ul",this).slideUp("fast")})}),function(e,t,n,i){"use strict";function o(e){var t=n(e.$slider);t.removeClass(function(e,t){return(t.match(/\bslick-slides-to-show-\S+/g)||[]).join(" ")}).addClass("slick-slides-to-show-"+e.options.slidesToShow),(Math.ceil(e.slideCount/e.options.slidesToScroll)>10||e.slideCount<=e.options.slidesToShow)&&t.removeClass("slick-dotted")}void 0!==n.fn.slick&&n(function(){n("[data-slick]").on("init",function(e,t){o(t)}).on("breakpoint",function(e,t,n){o(t)}).slick()})}(window,window.document,jQuery),$(function(){"use strict";$("p.hatenamark").each(function(){$(this).prepend('<i class="fa fa-question-circle"></i>')}),$("p.checkmark").each(function(){$(this).prepend('<i class="fa fa-check-circle"></i>')}),$(".check-ul li").each(function(){$(this).prepend('<i class="fa fa-check-circle"></i>')}),$("p.attentionmark").each(function(){$(this).prepend('<i class="fa fa-exclamation-triangle"></i>')}),$("p.memomark").each(function(){$(this).prepend('<i class="fa fa-pencil-square-o"></i>')}),$("p.usermark").each(function(){$(this).prepend('<i class="fa fa-user" aria-hidden="true"></i>')}),$("h2.hatenamark").each(function(){$(this).prepend('<i class="fa fa-question-circle"></i>')}),$("h2.checkmark").each(function(){$(this).prepend('<i class="fa fa-check-circle"></i>')}),$("h2.attentionmark").each(function(){$(this).prepend('<i class="fa fa-exclamation-triangle"></i>')}),$("h2.memomark").each(function(){$(this).prepend('<i class="fa fa-pencil-square-o"></i>')}),$("h2.usermark").each(function(){$(this).prepend('<i class="fa fa-user" aria-hidden="true"></i>')}),$("h3.hatenamark").each(function(){$(this).prepend('<i class="fa fa-question-circle"></i>')}),$("h3.checkmark").each(function(){$(this).prepend('<i class="fa fa-check-circle"></i>')}),$("h3.attentionmark").each(function(){$(this).prepend('<i class="fa fa-exclamation-triangle"></i>')}),$("h3.memomark").each(function(){$(this).prepend('<i class="fa fa-pencil-square-o"></i>')}),$("h3.usermark").each(function(){$(this).prepend('<i class="fa fa-user" aria-hidden="true"></i>')}),$("h4.hatenamark").each(function(){$(this).prepend('<i class="fa fa-question-circle"></i>')}),$("h4.checkmark").each(function(){$(this).prepend('<i class="fa fa-check-circle"></i>')}),$("h4.attentionmark").each(function(){$(this).prepend('<i class="fa fa-exclamation-triangle"></i>')}),$("h4.memomark").each(function(){$(this).prepend('<i class="fa fa-pencil-square-o"></i>')}),$("h4.usermark").each(function(){$(this).prepend('<i class="fa fa-user" aria-hidden="true"></i>')}),$("h5.hatenamark").each(function(){$(this).prepend('<i class="fa fa-question-circle"></i>')}),$("h5.checkmark").each(function(){$(this).prepend('<i class="fa fa-check-circle"></i>')}),$("h5.attentionmark").each(function(){$(this).prepend('<i class="fa fa-exclamation-triangle"></i>')}),$("h5.memomark").each(function(){$(this).prepend('<i class="fa fa-pencil-square-o"></i>')}),$("h5.usermark").each(function(){$(this).prepend('<i class="fa fa-user" aria-hidden="true"></i>')})}),$(function(){"use strict";var e=$("#st-footermenubox");e.css("bottom","-100px");var t=!1;$(window).scroll(function(){$(this).scrollTop()>100?t||(t=!0,e.stop().animate({bottom:"0px"},200)):t&&(t=!1,e.stop().animate({bottom:"-100px"},200))})});

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.