PageSourceSearch

https://moviecool.asia/_nuxt/C7zZnit2.js

js moviecool.asia collected 2026-10-03 17:58:04 UTC 1,320 bytes, 1 lines download raw bytes

1import{D as o,_ as l,b as c,ct as d,mt as m,vn as _}from"./IKVlQCqm.js";import{d as f}from"./COqa1XKc.js";import{t as p}from"./0p9REYoh.js";import{n as v}from"./Dl5cC00g.js";import{t as u}from"./-Hr1cHui.js";import{t as h}from"./DATGI6-9.js";import{t as g}from"./DtbA6li4.js";import{r as y}from"./BaGqHm8M.js";var T={class:"page"},C={class:"relative container"},P={__name:"calendar",setup(E){const i=u();v(()=>({title:`新片上映日曆 - ${i.WEBSITE_NAME_SHORT}`}));const s=y(),n=_(null);return d(async()=>{const[r]=await Promise.all([p("/api/cached/calendar.json"),s.load()]);new FullCalendar.Calendar(n.value,{initialView:"dayGridMonth",locale:"zh-tw",headerToolbar:{left:"prev today next",center:"title",right:"dayGridMonth listMonth"},allDaySlot:!0,displayEventTime:!1,events:r,eventClick:e=>f(`/film/${e.event.id}`),eventContent:e=>{const t=document.createElement("div");t.className="fc-event-title fc-sticy",t.innerHTML=`《${e.event._def.title}》`;const a=document.createElement("div");return e.event.extendedProps.image&&(a.className="fc-event-img",a.innerHTML=`<img src="${e.event.extendedProps.image}">`),{domNodes:[a,t]}}}).render()}),(r,e)=>{const t=g,a=h;return m(),c("div",T,[o(t),l("div",C,[o(a,{title:"新片上映日曆"}),l("div",{ref_key:"calendar_el",ref:n},null,512)])])}}};export{P as default};

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.