PageSourceSearch

https://firewolf.netlify.app/_nuxt/BHuIa30z.js

js firewolf.netlify.app collected 2026-10-03 10:44:52 UTC 3,755 bytes, 1 lines download raw bytes

1import{M as F}from"./DIpSCz-v.js";import{A as T}from"./D-WKdy0Y.js";import{F as C}from"./ByjTMUYX.js";import{F as P}from"./BI8w7J0G.js";import{U as S}from"./DJwvPUyS.js";import{b as j}from"#entry";import{A as R,r as v,w as h,c as r,a9 as E,ab as b,ag as p,aj as t,ai as m,as as y,aa as O,ah as w,u as l,i as x,ac as L,am as q}from"./Cqga2mdz.js";import"./CdasQrlT.js";import"./DwH2E4Yy.js";import"./Bh4YzkF1.js";const G={class:"space-y-4"},H={key:0,class:"mt-1 text-xs text-red-500"},J={key:0,class:"mt-1 text-xs text-red-500"},K=R({__name:"ModalIntro",props:{modelValue:{type:Boolean},currentNickname:{},currentOtherSiteName:{},currentIntro:{}},emits:["update:modelValue","refresh"],setup(z,{emit:B}){const a=z,k=B,{apiCall:D}=j(),n=v(a.currentNickname),o=v(a.currentOtherSiteName??""),u=v(a.currentIntro??""),d=v(!1);h(()=>a.modelValue,i=>{i&&(n.value=a.currentNickname,o.value=a.currentOtherSiteName??"",u.value=a.currentIntro??"")});const c=r({get:()=>a.modelValue,set:i=>k("update:modelValue",i)}),f=r(()=>n.value.length<=50),g=r(()=>!o.value||o.value.length<=20),V=r(()=>u.value?.length??0),U=r(()=>V.value<=2e3),I=r(()=>f.value&&g.value&&U.value),M=r(()=>V.value>2e3?"text-red-500":"text-gray-500"),N=()=>{c.value=!1},A=async()=>{if(!(!I.value||d.value)){d.value=!0;try{await D("/player/detail",{method:"POST",body:{nickname:n.value,other_site_name:o.value||null,introduction:u.value||null}}),N(),k("refresh")}catch(i){console.error("自己紹介の保存に失敗しました:",i)}finally{d.value=!1}}};return(i,e)=>(b(),E(F,{modelValue:l(c),"onUpdate:modelValue":e[3]||(e[3]=s=>x(c)?c.value=s:null),title:"自己紹介編集"},{footer:p(()=>[m(S,{color:"secondary",size:"sm",onClick:N},{default:p(()=>[...e[10]||(e[10]=[y(" キャンセル ",-1)])]),_:1}),m(S,{color:"primary",size:"sm",disabled:!l(I)||l(d),loading:l(d),onClick:A},{default:p(()=>[...e[11]||(e[11]=[y(" 保存する ",-1)])]),_:1},8,["disabled","loading"])]),default:p(()=>[t("div",G,[m(T,{type:"default"},{default:p(()=>[...e[4]||(e[4]=[t("ul",{class:"list-disc pl-4 text-sm"},[t("li",null,[y(" 戦績サイトに登録されるIDは以下の優
1先度となります。 "),t("ul",{class:"list-disc pl-4"},[t("li",null,"他人狼サイトのID"),t("li",null,"Twitterアカウントのユーザー名"),t("li",null,"ニックネーム")])])],-1)])]),_:1}),t("div",null,[e[5]||(e[5]=t("label",{class:"mb-1 block text-sm font-semibold text-gray-700"}," ニックネーム ",-1)),e[6]||(e[6]=t("p",{class:"mb-2 text-xs text-gray-500"}," エピローグで全員に公開されます。 ",-1)),m(C,{modelValue:l(n),"onUpdate:modelValue":e[0]||(e[0]=s=>x(n)?n.value=s:null),size:"sm",maxlength:50,error:!l(f)},null,8,["modelValue","error"]),l(f)?w("",!0):(b(),O("p",H," 50字以内で入力してください "))]),t("div",null,[e[7]||(e[7]=t("label",{class:"mb-1 block text-sm font-semibold text-gray-700"}," 他人狼サイトのID ",-1)),e[8]||(e[8]=t("p",{class:"mb-2 text-xs text-gray-500"}," エピローグまでにこのIDを入力しておくと、戦績サイトにこのIDで登録されます。 ",-1)),m(C,{modelValue:l(o),"onUpdate:modelValue":e[1]||(e[1]=s=>x(o)?o.value=s:null),size:"sm",maxlength:20,error:!l(g)},null,8,["modelValue","error"]),l(g)?w("",!0):(b(),O("p",J," 20字以内で入力してください "))]),t("div",null,[e[9]||(e[9]=t("label",{class:"mb-1 block text-sm font-semibold text-gray-700"}," 自己紹介 ",-1)),m(P,{modelValue:l(u),"onUpdate:modelValue":e[2]||(e[2]=s=>x(u)?u.value=s:null),size:"sm",rows:10,maxlength:2e3},null,8,["modelValue"]),t("p",{class:L(["mt-1 text-right text-xs",l(M)])}," 文字数: "+q(l(V))+"/2000 ",3)])])]),_:1},8,["modelValue"]))}}),ae=Object.assign(K,{__name:"PagesPlayerRecordModalIntro"});export{ae 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.