PageSourceSearch

https://rst-project.com/_nuxt/drawn.BOusSs3o.js

js rst-project.com collected 2026-10-02 04:10:40 UTC 4,678 bytes, 1 lines download raw bytes

1import{_ as O}from"./nuxt-link.SGoQimai.js";import{_ as A}from"./client-only.DvcrSXwZ.js";import{_ as V}from"./Image.vue.CIQaDyV6.js";import{_ as F}from"./PrizeBadge.vue.CnzQpHnq.js";import{_ as G}from"./Button.vue.BbAXM6bZ.js";import{f as Z,a3 as M,T as H,y as Y,r as f,Z as U,Y as W,o as d,c as p,b as a,w as v,a as o,j as t,d as x,F as L,B as q,s as I,t as _,L as B,a7 as J,aa as K,S as h,p as Q,e as X}from"./entry.B8DI74JY.js";import{u as ee}from"./useEventLottery.PygZj0md.js";import{u as te}from"./useLotteryCommon.5zMWHOhZ.js";import{u as oe}from"./useErrorHandler.gRZDZEoA.js";import{_ as se}from"./lotteryClass.BhrSoX1b.js";import{_ as ae}from"./gacha.BOFQEYMh.js";import{P as k}from"./eventLottery.DUBxjpIG.js";import{a as ne,b as re}from"./lotteryCommon.vj8obnw2.js";import{_ as le}from"./_plugin-vue_export-helper.DlAUqK2U.js";import"./index.CS7R4WcE.js";import"./Loading.vue.DZ46cvoh.js";import"./Svg.vue.DMeAaxAz.js";import"./commonClass.Dw9dIX-c.js";import"./useSnackbar.LTSk-Dt4.js";const ie=y=>(Q("data-v-8e933d11"),y=y(),X(),y),ce={id:"lotteries",class:"w-screen md:h-[70vh] relative sm:mt-[50px]"},me=ie(()=>o("source",{src:ae,type:"video/mp4"},null,-1)),ue=[me],de={id:"skip",class:"flex justify-center my-10"},pe={id:"result",class:"hidden mx-auto max-w-[950px]"},_e={key:0},ye={class:"size-[300px] bg-imageGray rounded-lg overflow-hidden"},fe={class:"sm:space-y-10 space-y-5 sm:my-10 my-5"},ve={key:0,class:"flex justify-center"},xe=Z({__name:"drawn",setup(y){const z=M(),T=H(),{results:n}=ee(),{getPrizeLabelAlphabet:C}=te(),r=typeof z.params.eventLotteryId=="string"?z.params.eventLotteryId:"",l=Y(()=>n.value?n.value.filter(e=>e.prizeType===re.DEFAULT):[]),i=f(1),g=f("slide-in-bottom"),c=f(1),m=f(void 0);(!n.value||n.value.length===0)&&T.push(`/event-lotteries/${r}/lottery-result`);const R=()=>{try{l.value.length>i.value?(c.value=0,g.value="fade-out",m.value=void 0,setTimeout(()=>{var e;i.value++,m.value=w((e=l.value[i.value-1])==null?void 0:e.prizeLabel)},100),setTimeout(()=>{c.value=1,g.value="slide-in-bottom"},500)):J(`/event-lotteries/${r}/lottery-result`)}catch{oe(new Error("くじの結果の表示に失敗しました。")),K(`/event-lotteries/${r}/lottery-result`)}},S=()=>{const e=document.getElementById("lotteries"),b=document.getElementById("result"),u=document.getElementById("skip");!e||!b||!u||(e.style.display="none",b.style.display="block",u.style.display="none")},w=e=>k[e]??k.OTHER;return U(()=>{history.pushState(history.state,"",window.location.href),window.addEventListener("popstate",()=>{history.pushState(history.state,"",window.location.href)})}),W(()=>{var e;m.value=w((e=l.value[0])==null?void 0:e.prizeLabel)}),(e,b)=>{var E;const u=O,$=A,P=V,D=F,j=G;return d(),p(L,null,[a($,null,{default:v(()=>[o("div",ce,[o("video",{autoplay:"",playsinline:"",muted:"",class:"w-full h-full object-contain",onEnded:S},ue,32)]),o("div",de,[a(u,{to:`/event-lotteries/${t(r)}/lottery-result`,class:"font-medium text-[15px]"},{default:v(()=>[x(" スキップ ")]),_:1},8,["to"])])]),_:1}),o("div",pe,[(d(!0),p(L,null,q(t(l),(s,N)=>(d(),p("div",{key:s.prizeDisplayOrder,class:"flex flex-col mx-auto sm:size-[600px] h-[100vw] w-full sm:mt-[50px] max-w-screen-sm min-h-[440px] sm:rounded-lg justify-center items-center relative",style:h({display:t(i)===N+1?"":"none",background:t(m)?`url(${t(m)}) center center`:"none"})},[o("div",{class:I(t(g))},[o("p",{class:"mb-[1vw] mx-auto w-[60vw] max-w-[550px] min-w-[300px] truncate text-lg text-center text-grayDark font-medium",style:h({opacity:t(c)})},[s.prizeDisplayOrder!==0?(d(),p("span",_e,_(t(C)(s.prizeLabel))+"賞: ",1)):B("",!0),x(" "+_(s.prizeTitle),1)],4),o("div",{class:"size-[300px] mx-auto rounded-lg relative transition-opacity duration-500",style:h({opacity:t(c)})},[o("div",ye,[a(P,{image:s.prizeItemThumbnail,class:"mx-auto h-full object-contain"},null,8,["image"])]),a(D,{"prize-label":s.prizeLabel,"hide-badge":s.prizeLabel===t(ne).TEN_DRAWS_GIFT,variant:"eventLottery",size:"medium",position:"absolute -bottom-10 -left-8"},null,8,["prize-label","hide-badge"])],4),o("p",{class:"text-center mt-10 z-10 font-extrabold text-lg text-grayExtraDark",style:h({opacity:t(c)})},_(s.prizeItemTitle),5)],2)],4))),128)),o("div",fe,[o("p",{class:I(("lotteryClass"in e?e.lotteryClass:t(se)).subTitle())},_(t(i))+"/"+_(t(l).length),3),a(j,{onClick:R,color:"base"},{default:v(()=>[x("次へ")]),_:1}),((E=t(n))==null?void 0:E.length)!==1?(d(),p("div",ve,[a(u,{to:`/event-lotteries/${t(r)}/lottery-result`,class:"font-medium text-[15px]"},{default:v(()=>[x(" スキップ ")]),_:1},8,["to"])])):B("",!0)])])],64)}}}),Oe=le(xe,[["__scopeId","data-v-8e933d11"]]);export{Oe 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.