/*!stogram2023-03-23*/ function wheelChange(a){wheelTo(a.realIndex)}function wheelTo(a){console.log(a),$(".st-wheel-nav >ul >li").removeClass("active"),$(".st-wheel-nav >ul >li").eq(a).addClass("active"),$(".st-wheel-nav >ul").css({transform:"rotate("+angle*a+"deg)"}),$(".st-header .nav-main >li").removeClass("active"),$(".st-header .nav-main >li").eq(a).addClass("active")}$.fn.ready(function(){setTimeout(function(){$('[role="loading"]').removeClass("unload").addClass("completed"),$(window).trigger("scroll")},200),$(".richtext img").height("auto"),$(".btn-toggle-menu").on("click",function(a){$("body").toggleClass("opened"),a.stopPropagation()}),$("body").on("click",function(a){$(this).removeClass("opened")});var a=0;$(window).scroll(function(){var b=$(this).scrollTop();b>=$(".st-header").height()?($(".st-header").addClass("standby"),a>b?$(".st-header").addClass("opened"):$(".st-header").removeClass("opened")):($(".st-header").removeClass("standby"),$(".st-header").removeClass("opened")),a=b}),$(window).trigger("scroll"),console.log($(".special-btn"))}),$(".st-header ul.APP-g li a.btn-menu").on("click",function(){$(this).children(".icon").toggleClass("active"),$(".st-header ul.APP-g ul.APP-menu").toggleClass("active")}),$.fn.ready(function(){$(".form-inquire").on("submit",function(){var a=$(this).data("id"),b=stogram.plugins[a],c=$(this).serializeArray();return b.run()&&$.post("/jsapi/message/inquire",c,function(a){200==a.code?(stogram.message.info("淇℃伅宸叉彁浜ゆ垚鍔?),setTimeout(function(){location.reload()},1e3)):stogram.message.error(a.msg)}),!1})});var length=$(".st-wheel-nav ul li").length,angle=200/length;$.fn.ready(function(){$(".st-wheel-nav ul li").each(function(a){$(this).css({transform:"translateY(-50%) rotate(-"+angle*a+"deg)"})}),$(".st-wheel-nav >ul >li, .st-header .nav-main li").on("click",function(a){var b=$(this).index(),c=window.stogram.plugins.wheel;return c.slideTo(b),wheelTo(b),!1})});