1import{a as e}from"./chunk-CBLgr6S2.js";import{t}from"./axios-CkhUaRus.js";import{a as n,l as r,n as i,t as a}from"./dayjs.min-DUkrVuYU.js";import{t as o}from"./jquery-hGODL_1s.js";import{t as s}from"./device_decision-CLiGzJB-.js";import{t as c}from"./slick-BwxPIRCU.js";var l=e(o(),1);c(),n();var u=e(a(),1);document.addEventListener(`DOMContentLoaded`,()=>{var e=5,n,a=(0,l.default)(`.topimg-main__slid`),o,c,d;a.on(`init`,function(e,t){(0,l.default)(this).append(`<div class="slick-counter"><span class="current"></span> / <span class="total"></span></div>`);let n=(`0`+(t.currentSlide+1)).slice(-2),r=(`0`+t.slideCount).slice(-2);(0,l.default)(`.current`).text(n),(0,l.default)(`.total`).text(r)}).slick({autoplay:!0,speed:1600,fade:!0,autoplaySpeed:8e3,dots:!1,responsive:[{breakpoint:768,settings:{arrows:!1}}]}).on(`beforeChange`,function(e,t,n,r){let i=(`0`+(r+1)).slice(-2);(0,l.default)(`.current`).text(i)}),n=(0,l.default)(`.topimg-main__progress .topimg-main__progress--item`),(0,l.default)(`.topimg-main`).on({mouseenter:function(){o=!0},mouseleave:function(){o=!1}});function f(){m(),d=0,o=!1,c=setInterval(p,10)}function p(){o===!1&&(d+=1/(e+.1),n.css({width:d+`%`}),d>=100&&(a.slick(`slickNext`),f()))}function m(){n.css({width:`0%`}),clearTimeout(c)}f(),r({data(){return{category_id:0,limit:5,infos:[]}},mounted(){this.fetchInfos()},computed:{getFormatDate(){return e=>(0,u.default)(e).format(`YYYY.MM.DD`)},getCurrent(){return e=>e===this.category_id?`current`:``}},watch:{category_id(){this.fetchInfos()}},methods:{async fetchInfos(){let e={limit:this.limit,front:!0};this.category_id&&(e.category_id=this.category_id);let n=await t.post(i+`/infos/top`,e);if(n.status===200)return this.infos=n.data,!1;alert(`ãç¥ããã®åå¾ã«å¤±æãã¾ããã`)},changeCategoryId(e){this.category_id=e}}}).mount(`#topnews`);function h(){if(s==`pc`)(0,l.default)(`.topnews-category--items`).not(`.slick-initialized`).slick({speed:1e3,autoplay:!1,fade:!1,dots:!1,slidesToShow:5,slidesToScroll:1,arrows:!0});else{(0,l.default)(`.topnews-category--items.slick-initialized`).slick(`unslick`);var e=(0,l.default)(`.topnews-category--item`).length,t=e*100+e*5+40+`px`;(0,l.default)(`.topnews-category--items`).css(`width`,t)}}h(),(0,l.default)(window).resize(function(){h()})});
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.