1import{_ as ft,a as bt,b as Lt}from"./BIDdiezb.js";import{_ as Tt}from"./BxpC7vlV.js";import{_ as Ct}from"./DOAdtEKY.js";import{_ as It}from"./DK9Uv1W7.js";import{Q as St,d as dt,y as Ft,p as E,u as h,z as K,m as u,r as b,w as z,g as et,j as mt,o,c as n,b as e,v as g,f as d,e as i,F as T,q as I,A as R,B as M,R as Et,a as Rt,h as X,C as Mt,k as At,D as $t,E as Pt,i as Z}from"./CT94Y2Xm.js";import{u as qt}from"./D2DR6_YM.js";import{s as Bt}from"./wI4vemrs.js";import{u as jt}from"./CZPl-Nza.js";import"./CY7__Xvj.js";import"./B_79DgtX.js";import"./DlAUqK2U.js";const Ut=St("/images/other/movie_gift.png"),Wt={key:0,class:"topArea__container"},zt={key:0,class:"fullWidth__slider__wrap top"},Dt={key:1,class:"top__container"},Gt={class:"categoryFixed__link__wrap withSerch"},Nt={key:0,class:"popularMvtkMae__container",id:"ticket-maeuri"},xt={class:"content__wrapper widest"},Vt={class:"grid__wrap"},Ht={class:"form__btnWrap"},Ot={key:1,class:"picup__container",id:"pickup"},Qt={class:"content__wrapper widest"},Yt={class:"grid__wrap"},Jt={key:2,class:"goodsInformation__container gray"},Kt={key:3,class:"popularMvtkNow__container",id:"ticket-kansho"},Xt={class:"content__wrapper widest"},Zt={class:"grid__wrap"},te={class:"form__btnWrap"},ee={key:4,class:"campaign__container"},se={class:"content__wrapper widest"},ie={key:5,class:"newOrSoonProduct__container",id:"ending-soon"},oe={class:"content__wrapper widest"},ne={class:"grid__wrap"},ae={class:"form__btnWrap"},re={key:6,class:"newProduct__container",id:"new-arrivals"},le={class:"content__wrapper widest"},ce={class:"grid__wrap"},de={class:"form__btnWrap"},me={key:7,class:"soonSalesStart__container",id:"coming-soon"},_e={class:"content__wrapper widest"},pe={class:"grid__wrap"},ue={class:"form__btnWrap"},ge={key:8,class:"otherCampaign__container gray"},ve={class:"content__wrapper widest"},we={key:9,class:"announcement__container"},ye={class:"content__wrapper widest"},he={class:"news__list__wrap"},ke={class:"form__btnWrap"},fe=dt({__name:"topPageTicket",async setup(_t){let l,_;const p=Rt(),k=p.public.frontSitePath,c=p.public.constants,C=Ft();c.customMaster.flgCode.on;const{data:y}=E("releaseCampaignListTopTicket",async()=>{const s={operator:"and",filters:[{field:"contents.custom.display_top.code",value:c.customMaster.flgCode.on}]},{contentsList:t}=await h.contents.releaseCampaignList(void 0,s,void 0,K.contents.releaseCampaignListTopTicket);return t.value}),f=c.customMaster.campaignTypeCode,P=u(()=>{if(!y.value)return[];const s=y.value.contents.filter(t=>[f.movieTicket,f.toho].includes(t.custom.campaign_type.code));if(s.length){s.sort((r,w)=>r.custom.display_top_priority-w.custom.display_top_priority);const t=p.public.site.contents.topSliderUpperMinCount;for(;s.length<t;)s.push(...s.map(r=>({...r})))}return s}),q=u(()=>{if(!y.value)return[];const s=y.value.contents.filter(t=>t.custom.campaign_type.code===f.member);return s.sort((t,r)=>t.custom.display_top_priority-r.custom.display_top_priority),s}),A=u(()=>{if(!y.value)return[];const s=y.value.contents.filter(t=>t.custom.campaign_type.code===f.other);return s.sort((t,r)=>t.custom.display_top_priority-r.custom.display_top_priority),s}),B=p.public.site.contents.contentsSearchLimit,{data:j}=E("releaseFeatureListTopTicket",async()=>{const s=[c.customMaster.featureTypeCode.cardTicketIntroBanner],{contentsList:t}=await h.contents.releaseFeatureList(B,0,!0,void 0,s,K.contents.releaseFeatureListTopTicket);return t.value}),S=u(()=>{if(!j.value)return[];const s=[...j.value.contents];if(s?.length){s.sort((r,w)=>r.custom.display_top_priority-w.custom.display_top_priority);const t=p.public.site.contents.topSliderMiddleMinCount;for(;s.length<t;)s.push(...s.map(r=>({...r})))}return s}),U=p.public.site.contents.mbtkPickUpItemsContentCode,{data:$}=E("pickUpItemListTopTicket",()=>h.items.pickupItems(U)),L=u(()=>{if(!$.value)return[];const s=b(),t=$.value.data;if(s.value=t?.items,!s.value)return[];const r=C.$dayjs,w=r();return s.value.filter(v=>(!v.purchase_period_end||r(v.purchase_period_end)>=w)&&v.custom.sales_item_type.code!==c.customMaster.salesItemTypeCode.movie).slice(0,12)});b(([l,_]=z(()=>h.items.category.allCategories()),l=await l,_(),l));const m=([l,_]=z(()=>h.utility.sites()),l=await l,_(),l).site.value,st=b({status:"E000-000",data:void 0}),it=b({status:"E000-000",data:void 0}),D=b([]),G=b([]),N=b([]),ot=p.public.site.item.topSalesEndItemLimit,nt=p.public.site.item.topSalesStartItemLimit,at=p.public.site.item.topNewArrivalItemLimit,W=h.items.soonItems();if(m){const s=[p.public.site.categoryTreeCodes[0],c.item.categoryCode.movieTicket];try{const[t,r]=([l,_]=z(()=>Promise.all([E("weeklyRankingItemListTopTicket",()=>h.items.mbtkWeeklyRankingItems()),E("dailyRankingItemListTopTicket",()=>h.items.mbtkDailyRankingItems()),W.get(s)])),l=await l,_(),l);st.value=t.data.value||{status:"E000-000",data:void 0},it.value=r.data.value||{status:"E000-000",data:void 0},G.value=W.salesStartList(),D.value=W.salesEndList(m.custom.sale_end_soon_days),N.value=W.newArrivalList(m.custom.new_arrival_days)}catch(t){console.error("éåæå¦çä¸ã«ã¨ã©ã¼çºç:",t)}}const rt=C.$items.List,x=u(()=>rt.show(st.value)),V=u(()=>rt.show(it.value)),H=u(()=>D.value.slice(0,ot)),O=u(()=>G.value.slice(0,nt)),Q=u(()=>N.value.slice(0,at)),ut=u(()=>D.value.length>
1ot),gt=u(()=>G.value.length>nt),vt=u(()=>N.value.length>at),F=([l,_]=z(()=>h.items.releaseDate()),l=await l,_(),l),wt=p.public.site.news.topNewsListLimit,{data:lt}=E("newsListTopTicket",async()=>{const s=[c.customMaster.newsCategoryCode.movieTicket,c.customMaster.newsCategoryCode.other],{newsList:t}=await h.news.list(wt,1,s,!0,K.news.newsListTopTicket);return t.value??[]}),{sendViewItemListEvent:yt}=qt();et(()=>{const s=[...L.value.map(t=>({item_id:t.id,item_name:t.name,item_category:t.categories.mw?.[0]?.slice(-1)?.[0].name||""})),...x.value.map(t=>({item_id:t.id,item_name:t.name,item_category:t.categories.mw?.[0]?.slice(-1)?.[0].name||""})),...V.value.map(t=>({item_id:t.id,item_name:t.name,item_category:t.categories.mw?.[0]?.slice(-1)?.[0].name||""})),...H.value.map(t=>({item_id:t.id,item_name:t.name,item_category:t.categories.mw?.[0]?.slice(-1)?.[0].name||""})),...O.value.map(t=>({item_id:t.id,item_name:t.name,item_category:t.categories.mw?.[0]?.slice(-1)?.[0].name||""})),...Q.value.map(t=>({item_id:t.id,item_name:t.name,item_category:t.categories.mw?.[0]?.slice(-1)?.[0].name||""}))];yt(s)});const Y=b(!1),ht=s=>{const t=document.getElementById(s);if(!t)return;const r=document.querySelector("header")?.getBoundingClientRect().height||0,w=document.querySelector(".categoryFixed__link__wrap")?.getBoundingClientRect().height||0,v=r+w,J=t.getBoundingClientRect().top+window.scrollY-v;window.scrollTo({top:J,behavior:"smooth"})};return et(()=>{const s=mt(),t=Bt(()=>{const r=document.querySelector('link[href="/css/co1.css"]');r&&r.sheet&&(Y.value=!0,clearInterval(t),requestAnimationFrame(()=>{requestAnimationFrame(()=>{if(s.hash){const w=s.hash.substring(1);ht(w)}})}))},200)}),(s,t)=>{const r=ft,w=Tt,v=Ct,J=It,ct=bt,kt=Lt;return o(),n(T,null,[e(Y)?(o(),n("section",Wt,[e(P).length?(o(),n("div",zt,[g(r,{"contents-list":e(P),site:e(m)},null,8,["contents-list","site"])])):d("",!0)])):d("",!0),e(Y)?(o(),n("div",Dt,[i("div",Gt,[g(w)]),e(V).length?(o(),n("section",Nt,[i("div",xt,[t[6]||(t[6]=i("h2",{class:"title mvtk__mae"},"人æ°ã®",-1)),t[7]||(t[7]=i("p",{class:"subtitle"},"ã¿ããæ°ãªã©ãåºã«ããã©ã¤ã³ãããï¼",-1)),i("div",Vt,[(o(!0),n(T,null,I(e(V),a=>(o(),n("div",{key:a.id,class:"movieImage__wrap"},[g(v,{"item-data":a,"release-date-tool":e(F),site:e(m),"is-lazy-load":!0},null,8,["item-data","release-date-tool","site"])]))),128))]),i("div",Ht,[i("button",{class:"btn btn-white btn-wider btn-arrow mvtk__mae",onClick:t[0]||(t[0]=R(a=>("navigateTo"in s?s.navigateTo:e(M))(`${e(k).item.list.index}/${e(c).item.categoryCode.advanceTicket}`),["prevent"]))}," ããã¹ã¦è¦ã ")])])])):d("",!0),e(L).length?(o(),n("section",Ot,[i("div",Qt,[t[8]||(t[8]=i("h2",{class:"title"},"ããã¯ã¢ããåå",-1)),i("div",Yt,[(o(!0),n(T,null,I(e(L),a=>(o(),n("div",{key:a.id,class:"movieImage__wrap"},[g(v,{"item-data":a,"release-date-tool":e(F),site:e(m),"is-lazy-load":!0},null,8,["item-data","release-date-tool","site"])]))),128))])])])):d("",!0),e(S)?.length?(o(),n("section",Jt,[t[9]||(t[9]=i("h2",{class:"title"},"å売ã«ã¼ãç¹å
¸ã»ã°ããºæ
å ±",-1)),g(J,{featureList:e(S),site:e(m)},null,8,["featureList","site"])])):d("",!0),e(x).length?(o(),n("section",Kt,[i("div",Xt,[t[10]||(t[10]=i("h2",{class:"title mvtk__now"},"人æ°ã®",-1)),t[11]||(t[11]=i("p",{class:"subtitle"},"å½å
æ ç»ã©ã³ãã³ã°ã«ã©ã³ã¯ã¤ã³ããä½åããªã¹ãã¢ããï¼",-1)),i("div",Zt,[(o(!0),n(T,null,I(e(x),a=>(o(),n("div",{key:a.id,class:"movieImage__wrap"},[g(v,{"item-data":a,"release-date-tool":e(F),site:e(m),"is-lazy-load":!0},null,8,["item-data","release-date-tool","site"])]))),128))]),i("div",te,[i("button",{class:"btn btn-white btn-wider btn-arrow mvtk__now",onClick:t[1]||(t[1]=R(a=>("navigateTo"in s?s.navigateTo:e(M))(`${e(k).item.list.index}/${e(c).item.categoryCode.viewingTicket}`),["prevent"]))}," ããã¹ã¦è¦ã ")])])])):d("",!0),e(q).length?(o(),n("section",ee,[i("div",se,[t[12]||(t[12]=i("h2",{class:"title"},"ãªãã¯ãªãã£ã³ãã¼ã³",-1)),g(ct,{"campaign-list":e(q),site:e(m),"swiper-key":"otoku-swiper"},null,8,["campaign-list","site"])])])):d("",!0),e(H).length?(o(),n("section",ie,[i("div",oe,[t[13]||(t[13]=i("h2",{class:"title"},"ã¾ããªã販売çµäº",-1)),i("div",ne,[(o(!0),n(T,null,I(e(H),a=>(o(),n("div",{key:a.id,class:"movieImage__wrap"}
1,[g(v,{"item-data":a,"release-date-tool":e(F),site:e(m),"is-lazy-load":!0},null,8,["item-data","release-date-tool","site"])]))),128))]),i("div",ae,[e(ut)?(o(),n("button",{key:0,class:"btn btn-white btn-wider btn-arrow",onClick:t[2]||(t[2]=R(a=>("navigateTo"in s?s.navigateTo:e(M))({path:e(k).item.list.endingSoon,query:{category:e(c).item.categoryCode.movieTicket}}),["prevent"]))}," ãã£ã¨ã¿ã ")):d("",!0)])])])):d("",!0),e(Q).length?(o(),n("section",re,[i("div",le,[t[14]||(t[14]=i("h2",{class:"title"},"æ°çåå",-1)),i("div",ce,[(o(!0),n(T,null,I(e(Q),a=>(o(),n("div",{key:a.id,class:"movieImage__wrap"},[g(v,{"item-data":a,"release-date-tool":e(F),site:e(m),"is-lazy-load":!0},null,8,["item-data","release-date-tool","site"])]))),128))]),i("div",de,[e(vt)?(o(),n("button",{key:0,class:"btn btn-white btn-wider btn-arrow",onClick:t[3]||(t[3]=R(a=>("navigateTo"in s?s.navigateTo:e(M))({path:e(k).item.list.newArrival,query:{category:e(c).item.categoryCode.movieTicket}}),["prevent"]))}," ãã£ã¨ã¿ã ")):d("",!0)])])])):d("",!0),e(O).length?(o(),n("section",me,[i("div",_e,[t[15]||(t[15]=i("h2",{class:"title"},"ã¾ããªã販売éå§",-1)),i("div",pe,[(o(!0),n(T,null,I(e(O),a=>(o(),n("div",{key:a.id,class:"movieImage__wrap"},[g(v,{"item-data":a,"release-date-tool":e(F),site:e(m),"is-lazy-load":!0},null,8,["item-data","release-date-tool","site"])]))),128))]),i("div",ue,[e(gt)?(o(),n("button",{key:0,class:"btn btn-white btn-wider btn-arrow",onClick:t[4]||(t[4]=R(a=>("navigateTo"in s?s.navigateTo:e(M))({path:e(k).item.list.comingSoon,query:{category:e(c).item.categoryCode.movieTicket}}),["prevent"]))}," ãã£ã¨ã¿ã ")):d("",!0)])])])):d("",!0),t[18]||(t[18]=Et('<section class="movieGift__container"><div class="content__wrapper widest"><h2 class="title">æ ç»GIFT</h2><p class="subtitle">å ¨å½ã©ãã§ããã©ããªæ ç»ãéè³ã§ãããã¸ã¿ã«ã®ãã</p><div class="gift__wrap"><div class="img__wrap"><img src="'+Ut+'" alt="æ ç»GIFT"></div><div class="description__list__wrap"><ul class="description__list"><li><a href="https://mvtk.jp/eiga-gift?from=mwstop">æ ç»GIFTã¨ã¯ï¼</a></li><li><a href="https://moviewalker.jp/eiga-gift/howtouse?from=mwstop">æ ç»GIFTã®ä½¿ãæ¹</a></li><li><a href="https://giftee-mv.e-gift.co/?from=MWS">æ ç»GIFTï¼ã³ã¼ãï¼ã<br class="break">è³¼å ¥ãã</a></li><li><a href="https://store.moviewalker.jp/item/list/mw-2-1?from=mwstop">æ ç»GIFTï¼ã«ã¼ãï¼ã<br class="break">è³¼å ¥ãã</a></li><li><a href="https://store.moviewalker.jp/ticket-online">æ ç»GIFTã使ã</a></li><li><a href="https://ticket.moviewalker.jp/eigagift?from=mwstop">ãã£ã¼ã¸ãã</a></li><li><a href="https://www.giftcard.ne.jp/gift/carduser/CardUserLoginPage/open.do?key=5312af5b831076f7">æ ç»GIFTã³ã¼ãã®ç¢ºèª</a></li></ul></div></div></div></section>',1)),e(A).length?(o(),n("section",ge,[i("div",ve,[t[16]||(t[16]=i("h2",{class:"title"},"ãã®ä»ã®ãã£ã³ãã¼ã³",-1)),g(ct,{"campaign-list":e(A),site:e(m),"swiper-key":"other-swiper"},null,8,["campaign-list","site"])])])):d("",!0),e(lt)?.length?(o(),n("section",we,[i("div",ye,[t[17]||(t[17]=i("h2",{class:"title"},"ãç¥ãã",-1)),i("div",he,[i("ul",null,[(o(!0),n(T,null,I(e(lt),a=>(o(),n("li",{key:a.id,class:"news__item"},[g(kt,{"news-data":a},null,8,["news-data"])]))),128))])]),i("div",ke,[i("button",{class:"btn btn-white btn-wider btn-arrow",onClick:t[5]||(t[5]=R(a=>("navigateTo"in s?s.navigateTo:e(M))({path:e(k).information,query:{category:`${e(c).customMaster.newsCategory.movieTicket},${e(c).customMaster.newsCategory.other}`}}),["prevent"]))}," ãã£ã¨ã¿ã ")])])])):d("",!0)])):d("",!0)],64)}}}),be=Object.assign(fe,{__name:"TopPageTicket"}),tt=`ã ããã±ã¯å ¨å½ã§å©ç¨ã§ããããããã§åº§å¸æå®å¯è½ãªæ ç»éè³å¸ã 2æéããªãã¯ãªãã ããã±å売å¸ãã¨ãå種ãã¤ã³ãã使ã£ã¦è³¼å ¥ã§ãããã ããã±éè³å¸ããããã¾ãã`,Pe=dt({__name:"ticket",setup(_t){const l=Z("headerFlags");l.showSearch=!0,l.showInformation=!0,l.showMenuIcon=!0,l.showSearchSp=!0;const _=Z("footerFlags");_.showFullElement=!0,_.showFooterContent=!0,_.showSearch=!1,_.showBreadcrumb=!0;const p=Z("breadcrumb"),k=b(!1);let c,C,y;const f=()=>{if(c=document.querySelector(".categoryFixed__link__wrap"),C=document.querySelector(".category__container"),y=document.querySelector("header"),!c||!C||!y)return;const L=C.getBoundingClientRect().top+C.clientHeight+document.documentElement.scrollTop-y.clientHeight;document.documentElement.scrollTop>=L?c.classList.add("show"):c.classList.remove("show")},{saveScrollPosition:P,scrollPosition:q}=jt();et(()=>{const L=X().public.constants;p.list=L.breadcrumb.mvtkTop,k.value=!0,window.addEventListener("scroll",f),window.addEventListener("resize",f),q()}),Mt(()=>{P(),window.removeEventListener("scroll",f),window.removeEventListener("resize",f)});const A=X().public.frontPageConfig,B=X().public.frontSiteURL,j=mt(),S=B+j.path,U=B+"/images/other/ogp_mws.png",$=A.ticket.head.title;return At({...A.ticket.head,meta:[{name:"description",content:tt},{name:"twitter:title",content:$},{name:"twitter:description",content:tt},{name:"twitter:url",content:S},{name:"twitter:image",content:U},{name:"twitter:card",content:"summary_large_image"},{property:"og:title",content:$},{property:"og:description",content:tt},{property:"og:url",content:S},{property:"og:image",content:U}],link:[{rel:"canonical",href:S},{rel:"stylesheet",href:"/css/co1.css"}]}),(L,pt)=>{const m=be;return $t((o(),n("div",null,[g(m)],512)),[[Pt,e(k)]])}}});
2export{Pe 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.