var ModalHelper=function(e){var t;return{afterOpen:function(){t=document.scrollingElement.scrollTop,document.body.classList.add(e),document.body.style.top=-t+"px"},beforeClose:function(){document.body.classList.remove(e),document.scrollingElement.scrollTop=t}}}("modal-open");function debounce(n,i,l){if("function"!=typeof n)throw new TypeError("need a function arguments");var s=null;return function(){var e,t=this,o=arguments;clearTimeout(s),l?(e=!s,s=setTimeout(function(){s=null},i),e&&n.apply(t,o)):s=setTimeout(function(){n&&n.apply(t,o)},i)}}function throttle(o,n){if("function"!=typeof o)throw new TypeError("need a function arguments");var i=null,l=Date.now();return function(){var e=Date.now(),e=n-(e-l),t=arguments;clearTimeout(i),e<=0?(o.apply(this,t),l=Date.now()):i=setTimeout(o,e)}}function getSubstring(e,t,o){if("string"!=typeof e)throw new TypeError("need a string arguments");return o?e.length>t?e.substring(0,t)+"...":e:e.length>t?e.substring(0,t):e}function IsMobile(){let t=navigator.userAgent;return["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"].some(e=>t.includes(e))}let isMobile=IsMobile()||$(window).width()<=768;$(function(){const t=isMobile?56:64;var o=!0;let n=!0;var e=$(".J-toggle-nav");let i=parseInt($(".footer").offset().top-$(window).height()+100);var l,s;function a(){i=parseInt($(".footer").offset().top-$(window).height()+100)}if(0c&&(e.addClass("hidden"),o.find(".view-more").css("display","block"),a())}),$(".files-dowdload-box").on("click",".J-view-document",function(){var e=$(this);let t=e.parent().find(".files-table-box");var o=t.find(".files-table").outerHeight();e.hasClass("opened")?(e.removeClass("opened"),e.find(".txt").text("鏌ョ湅鏇村"),t.animate({height:c},400,function(){t.addClass("hidden"),a()})):(e.addClass("opened"),e.find(".txt").text("鐐瑰嚮鏀惰捣"),t.animate({height:o},400,function(){t.removeClass("hidden"),a()}))})}console.log(i);const r=$(".J-floating-roof");function d(){var e=$(window).scrollTop();e>t?o&&($(".header").addClass("scrolling"),$(".left-sidebar").addClass("scrolling-fixed"),o=!1):o||($(".header").removeClass("scrolling"),$(".left-sidebar").removeClass("scrolling-fixed"),o=!0),0l-t?n&&($(".J-floating-roof").addClass("scroll-fixed"),n=!1):n||($(".J-floating-roof").removeClass("scroll-fixed"),n=!0))}if(0{e.css("height",0),e.find(".drop-s-list").css("height",0)},300)})})),0<$(".J-scroll-group").length&&gsap.utils.toArray(".J-scroll-group").forEach((e,t)=>{ScrollTrigger.create({trigger:e,start:"top 100%",toggleClass:"active",end:"bottom 10%",scrub:!1,onUpdate:e=>{}})}),$(".J-close-modalbox").click(function(){var e;$(".modal-mask").fadeOut(),(e||$(".modal-box")).removeClass("opened")}),$("body").on("click",".files-table .disabled",function(){var e;e=$("#popTips"),$(".modal-mask").fadeIn(),(e||$(".modal-box")).addClass("opened")})});