PageSourceSearch

https://www.saishumiraishoujo.com/_nuxt/B7hJKrJn.js

js saishumiraishoujo.com collected 2026-10-04 12:34:56 UTC 7,743 bytes, 1 lines download raw bytes

1import{_ as S}from"./WYbnVWVL.js";import{_ as A}from"./DikCfpWp.js";import{_ as j,a as O}from"./DfFtpsue.js";import{b as W,_ as $}from"./BLzY1lv0.js";import{d as E,e as P,s as x,a4 as U,K as v,w as V,U as C,v as z,ad as K,o as f,c as L,i as u,h as e,u as t,b as h,t as l,p as d,k as g,n as M,j as T,F as H,a9 as J,B as X}from"./B-v5-248.js";import{s as q}from"./BKAKhnEm.js";import{_ as Q}from"./DlAUqK2U.js";import"./CgGkwUMz.js";const Y={absolute:"",top:"0",left:"0",right:"0",bottom:"0",flex:"~ col","items-center":"","justify-center":""},Z={key:0,flex:"~ col","items-center":"","justify-center":"",gap:"12px","text-center":"",height:"100%",p:"at-sp:x-20px"},tt={text:"#fff 24px at-sp:20px","font-bold":""},et={text:"#fff 16px","font-bold":""},at={flex:"~ col",gap:"12px",h:"100%",w:"100%","max-w":"100%","max-h":"100%",relative:"","overflow-scroll":"","text-center":""},it={flex:"~ col 1","items-center":"","justify-center":"",p:"at-sp:x-20px"},ot={relative:"",w:"400px","max-w":"100%",aspect:"1/1"},st=["src","alt"],nt={text:"#fff 12px","font-bold":""},lt={flex:"~ row items-center",w:"400px","max-w":"100%"},ct={text:"#fff 20px","text-left":"","font-bold":"",flex:"1"},rt=["href"],pt={flex:"~ row",gap:"12px",p:"y-40px"},G=E({__name:"index",async setup(_){let s,k;const I=J(),o=P(),i=x(),p=x(!1),b=x(),B=U(),{t:r}=v({useScope:"local"}),{t:N}=v({useScope:"global"}),y=()=>{const c=B.currentRoute.value,a=c.params.gachaTicketId,n=c.params.txnId;return{ticketId:typeof a=="string"?a:null,txnId:typeof n=="string"?n:null}},R=([s,k]=V(()=>I.nft.gachaTicket.all._gachaTicketId(y().ticketId).fetch()),s=await s,k(),s);i.value=R.data.value?.gachaTickets;const D=()=>{let c=null;c=q(async()=>{const{txnId:a,ticketId:n}=y();if(a&&n){const m=await I.nft.gachaTicket._gachaTicketId(n).buy._gachaTicketTxnId(a).get();p.value=!!m.txn.txnHash,p.value&&C({title:i?.value?.gachaTicket?.name?`${i.value.gachaTicket.name} - 交換完了`:"アイテム交換完了"}),b.value=m.txn.amount,p.value&&c&&clearInterval(c)}},2500)};return C({title:i?.value?.gachaTicket?.name?`${i.value.gachaTicket.name} - ${r("CreatingItem")}`:void 0,description:"ガチャチケットのアイテム交換ページです。"}),z(()=>{D(),o.hasCTA=!1,o.hasFooter=!1,o.hasFollowingMenu=!1}),K(()=>{o.hasCTA=!0,o.hasFooter=!0,o.hasFollowingMenu=!0}),(c,a)=>{const n=X,m=S,F=A;return f(),L(F,null,{default:u(()=>[e("div",null,[a[4]||(a[4]=e("video",{top:"0",left:"0",right:"0",bottom:"0",w:"100%",height:"100%",src:j,controls:!1,autoplay:"",loop:"","webkit-playsinline":"",muted:"",playsinline:"",absolute:"","object-cover":""},null,-1)),e("div",Y,[t(p)?g("",!0):(f(),h("div",Z,[a[1]||(a[1]=e("div",{h:"120px at-sp:100px"},[e("div",{class:"loading"})],-1)),e("p",tt,l(t(r)("CreatingItem")),1),e("p",et,[d(l(t(r)("NftIsBeingMintedItMayTakeSomeTimeToReflectOnTheBlockchain")),1),a[0]||(a[0]=e("br",null,null,-1)),d(l(t(r)("TheCreationResultWillBeDisplayedAfterMintingIsCompleted")),1)])])),t(p)?(f(),h(H,{key:1},[a[3]||(a[3]=e("div",{absolute:"",top:"0",left:"0",right:"0",bottom:"0"},[e("img",{absolute:"",top:"0",left:"50%",height:"100%",src:O,style:{transform:"translateX(-50%) scale(1.3)"}})],-1)),e("div",at,[e("div",it,[e("p",{text:"32px at-sp:24px","font-bold":"",p:"y-24px",style:M({color:t(o).theme.blueColor})},l(t(r)("GetItem",{item:t(i)?.gachaTicket.name})),5),e("figure",ot,[e("img",{w:"100%",absolute:"",top:"0",left:"0","object-contain":"","object-position":"center",src:t(i)?.gachaTicket.imageMedia.fullPath,alt:t(i)?.gachaTicket.name||""},null,8,st),t(b)?(f(),h("div",{key:0,flex:"~ inline",absolute:"",top:"16px",right:"16px",p:"y-2px x-16px",rounded:"full",style:M({background:t(o).theme.primaryColor}),border:"solid #fff 2px"},[e("p",nt," ✕"+l(t(b)),1)],4)):g("",!0)]),e("div",lt,[e("p",ct,l(t(i)?.gachaTicket.name),1),t(i)?(f(),h("a",{key:0,href:t(W)(t(i)?.gachaTicket),target:"_blank"},a[2]||(a[2]=[e("img",{w:"24px",h:"24px",src:$,alt:"Opensea"},null,-1)]),8,rt)):g("",!0)]),e("div",pt,[T(m,{to:`/gacha-ticket/${t(i)?.gachaTicket.id}`},{default:u(()=>[T(n,{w:"220px at-sp:160px",ghost:"",color:t(o).theme.purpleColor,style:{background:"#fff"}},{default:u(()=>[d(l(t(N)("app.back")),1)]),_:1},8,["color"])]),_:1}
1,8,["to"]),T(m,{to:t(i)?.gachaTicket.gacha[0]?`/gacha/detail/${t(i)?.gachaTicket.gacha[0]?.id}`:"/gacha"},{default:u(()=>[T(n,{w:"220px at-sp:160px",class:"gradient-button",bordered:!1,"text-color":"#fff"},{default:u(()=>[d(l(t(r)("DrawGacha")),1)]),_:1})]),_:1},8,["to"])])])])],64)):g("",!0)])])]),_:1})}}});function w(_){const s=_;s.__i18n=s.__i18n||[],s.__i18n.push({locale:"",resource:{"ja-JP":{DrawGacha:{t:0,b:{t:2,i:[{t:3}],s:"ガチャを引く!"}},GachaResult:{t:0,b:{t:2,i:[{t:3}],s:"ガチャ結果!"}},ContinueGacha:{t:0,b:{t:2,i:[{t:3}],s:"続けて引く!"}},GetItem:{t:0,b:{t:2,i:[{t:3,v:"『"},{t:4,k:"item"},{t:3,v:"』をGET!"}]}},CreatingItem:{t:0,b:{t:2,i:[{t:3}],s:"アイテムを作成中…"}},NftIsBeingMintedItMayTakeSomeTimeToReflectOnTheBlockchain:{t:0,b:{t:2,i:[{t:3}],s:"NFTをMINTしています。ブロックチェーンへの反映に時間がかかります。"}},TheCreationResultWillBeDisplayedAfterMintingIsCompleted:{t:0,b:{t:2,i:[{t:3}],s:"MINT完了後に作成結果が表示されます。"}}},"en-US":{DrawGacha:{t:0,b:{t:2,i:[{t:3}],s:"Draw Gacha!"}},GachaResult:{t:0,b:{t:2,i:[{t:3}],s:"Gacha Result!"}},ContinueGacha:{t:0,b:{t:2,i:[{t:3}],s:"Continue Gacha!"}},GetItem:{t:0,b:{t:2,i:[{t:3,v:"GET "},{t:4,k:"item"},{t:3,v:"!"}]}},CreatingItem:{t:0,b:{t:2,i:[{t:3}],s:"Creating item..."}},NftIsBeingMintedItMayTakeSomeTimeToReflectOnTheBlockchain:{t:0,b:{t:2,i:[{t:3}],s:"NFT is being minted. It may take some time to reflect on the blockchain."}},TheCreationResultWillBeDisplayedAfterMintingIsCompleted:{t:0,b:{t:2,i:[{t:3}],s:"The creation result will be displayed after minting is completed."}}},"ko-KR":{DrawGacha:{t:0,b:{t:2,i:[{t:3}],s:"가챠를 돌리기!"}},GachaResult:{t:0,b:{t:2,i:[{t:3}],s:"가챠 결과!"}},ContinueGacha:{t:0,b:{t:2,i:[{t:3}],s:"계속 가챠!"}},GetItem:{t:0,b:{t:2,i:[{t:3,v:"GET "},{t:4,k:"item"},{t:3,v:"!"}]}},CreatingItem:{t:0,b:{t:2,i:[{t:3}],s:"아이템 생성 중…"}},NftIsBeingMintedItMayTakeSomeTimeToReflectOnTheBlockchain:{t:0,b:{t:2,i:[{t:3}],s:"NFT를 MINT 중입니다. 블록체인에 반영되기까지 시간이 걸릴 수 있습니다."}},TheCreationResultWillBeDisplayedAfterMintingIsCompleted:{t:0,b:{t:2,i:[{t:3}],s:"MINT 완료 후 생성 결과가 표시됩니다."}}},"zh-TW":{DrawGacha:{t:0,b:{t:2,i:[{t:3}],s:"抽扭蛋!"}},GachaResult:{t:0,b:{t:2,i:[{t:3}],s:"抽獎結果!"}},ContinueGacha:{t:0,b:{t:2,i:[{t:3}],s:"繼續抽獎!"}},GetItem:{t:0,b:{t:2,i:[{t:3,v:"獲得 "},{t:4,k:"item"},{t:3,v:"!"}]}},CreatingItem:{t:0,b:{t:2,i:[{t:3}],s:"正在建立項目…"}},NftIsBeingMintedItMayTakeSomeTimeToReflectOnTheBlockchain:{t:0,b:{t:2,i:[{t:3}],s:"正在 MINT NFT。反映至區塊鏈可能需要一些時間。"}},TheCreationResultWillBeDisplayedAfterMintingIsCompleted:{t:0,b:{t:2,i:[{t:3}],s:"MINT 完成後會顯示建立結果。"}}},"zh-CN":{DrawGacha:{t:0,b:{t:2,i:[{t:3}],s:"抽扭蛋!"}},GachaResult:{t:0,b:{t:2,i:[{t:3}],s:"抽奖结果!"}},ContinueGacha:{t:0,b:{t:2,i:[{t:3}],s:"继续抽奖!"}},GetItem:{t:0,b:{t:2,i:[{t:3,v:"获得 "},{t:4,k:"item"},{t:3,v:"!"}]}},CreatingItem:{t:0,b:{t:2,i:[{t:3}],s:"正在生成道具…"}},NftIsBeingMintedItMayTakeSomeTimeToReflectOnTheBlockchain:{t:0,b:{t:2,i:[{t:3}],s:"正在 MINT NFT。反映到区块链可能需要一些时间。"}},TheCreationResultWillBeDisplayedAfterMintingIsCompleted:{t:0,b:{t:2,i:[{t:3}],s:"MINT 完成后将显示生成结果。"}}}}})}typeof w=="function"&&w(G);const xt=Q(G,[["__scopeId","data-v-29ce125c"]]);export{xt 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.