PageSourceSearch

https://statics.piclumen.com/app-1790217403140/_nuxt/BYAN-a9w.js

js piclumen.com collected 2026-09-24 09:46:48 UTC 5,575 bytes, 1 lines download raw bytes

1import{_ as e,an as a,T as t,g as l}from"./Bx1xfRBz.js";import{a as s,s as i,W as o,G as r,x as d,c as n,M as c,P as p,gH as m,hc as u,gJ as x,o as f,y as v}from"./DCCPWw9Y.js";import{_ as g}from"./yHUPwVNj.js";import{aN as h,c as b,a as w,g as y,e as k,N as I,d as _,V as $,J as j,aQ as E,af as S,aa as N,O as P,E as R,r as T,aH as U,P as A,ac as O,l as D,o as z}from"./CmUz1GCm.js";import"./pyVxiBLO.js";import"./DTLJGphe.js";const H=m(g),L={class:"min-h-screen relative text-dark-active-text bg-black font-medium text-base dark"},C={class:"px-10 h-[60px] flex items-center max-md:px-4"},J={href:"/",target:"_blank",class:"cursor-pointer"},M={class:"flex-1 h-full flex justify-center items-center p-4 min-w-0 max-md:h-auto max-md:flex-none"},W={key:0,class:"w-full aspect-[16/9] max-h-full relative overflow-hidden rounded-lg bg-black"},V=["src","alt"],q={key:1,class:"flex flex-col items-center justify-center"},B={class:"mt-4 text-dark-active-text"},G={class:"md:w-[364px] md:h-full shrink-0 bg-black/20 rounded-xl relative p-6 text-sm leading-6 overflow-hidden flex flex-col"},K={key:0,class:"flex-1 overflow-y-auto no-scroll pb-32 opacity-70 dark:opacity-100"},Q={key:1,class:"flex-1 overflow-y-auto no-scroll pb-32 flex flex-col gap-1 max-md:hidden"},F={class:"text-lg font-semibold leading-[26px] text-dark-active-text line-clamp-2 w-full"},X={class:"text-sm font-normal leading-[22px] text-white/50 line-clamp-4 w-full"},Y={class:"font-semibold text-xl text-dark-active-text"},Z={class:"h-[50vh] bg-black/20 border border-solid border-border-1 rounded-2xl flex flex-col"},ee={class:"h-[64px] flex items-center justify-between gap-2 pl-6 pr-4 py-4"},ae={class:"flex items-center gap-1 text-text-1"},te={class:"text-base font-medium text-dark-active-text"},le={key:0,class:"flex-1 px-6 pt-4 pb-6 overflow-y-auto text-sm font-normal leading-[22px] text-white/50"},se=e({__name:"share-drama-episodes-[fileId]",async setup(e){let m,g;const se=s(),{isMobile:ie,os:oe}=i(se),re=o(),{t:de,locale:ne}=r(),ce=d(),pe=n().params.fileId,me=T(!0),ue=T({id:"",title:"",description:"",coverUrl:"",episodeId:"",episodeNo:1}),xe=T({fileId:"",psign:"",poster:""}),fe=D((()=>Boolean(ue.value.title||ue.value.description))),ve=D((()=>ue.value.coverUrl||""));[m,g]=h((()=>(async()=>{if(pe)try{const e=[u({fileId:pe,lang:ne.value})];e.push(x(pe));const[a,t]=await Promise.all(e),l=0===a?.status?a.data:null;l&&(ue.value={id:l.dramaId||"",title:l.title||"",description:l.synopsis||"",coverUrl:l.coverUrl||"",episodeId:l.episodeId||"",episodeNo:l.episodeNo||1});const s=ve.value;if(0===t?.status&&t.data)return void(xe.value={fileId:pe,psign:t.data,poster:s});xe.value={fileId:"",psign:"",poster:s},f.error(t?.message||de("TOAST_ERR_NETWORK"))}finally{me.value=!1}else me.value=!1})())),await m,g();const ge=async()=>{ie.value&&ue.value.id&&ue.value.episodeId?"iOS"===oe.value?await v(`https://www.naivideo.com/iOS/drama?id=${ue.value.id}&fileId=${pe}`,{external:!0}):await v(`https://www.naivideo.com/android/drama?id=${ue.value.id}&fileId=${pe}`,{external:!0}):(re.setJumpData({from:"DRAMAEP_SHARE",id:"component-ShortDrama"}),await v({path:ce(`/explore/drama-${ue.value.id}/`),query:{from:"detail",ep:String(ue.value.episodeNo||1)}}))},he=T(!1),be=()=>{ie.value&&(he.value=!0)},we=e=>String(e||"").replace(/\s+/g," ").trim(),ye=D((()=>`https://www.piclumen.com${ce(`/explore/share-drama-episodes-${pe}/`)}`));return c((()=>({link:[{rel:"canonical",href:ye.value}]}))),p({title:()=>{const e=we(ue.value.title);return e?`${e} - PicLumen`:"PicLumen"},description:()=>{const e=we(ue.value.description);return e.length<=80?e:`${e.slice(0,80).trimEnd()}...`},ogImage:()=>ve.value,ogUrl:()=>ye.value,ogType:"video.other"}),(e,s)=>{const i=a,o=H,r=t,d=O,n=E,c=N,p=l,m=U;return z(),b(A,null,[w("main",L,[w("div",C,[w("a",J,[y(i,{class:"h-8"})])]),w("section",{class:"relative page-content flex max-md:h-auto max-md:min-h-[calc(100dvh-60px)] max-md:flex-col justify-between",onClick:be},[s[3]||(s[3]=w("div",{class:"md:hidden"},null,-1)),w("div",M,[_(fe)?(z(),b("div",W,[_(xe).fileId&&_(xe).psign?(z(),I(o,{key:0,class:"size-full","file-id":_(xe).fileId,psign:_(xe).psign,poster:_(xe).poster},null,8,["file-id","psign","poster"])):(z(),b("img",{key:1,class:"absolute inset-0 size-full object-contain",src:_(ve),alt:_(ue).title},null,8,V))])):_(me)||_(fe)?k("",!0):(z(),b("div",q,[s[2]||(s[2]=w("img",{src:"https://static.piclumen.com/pic-static/images/no-detail.svg"},null,-1)),w("span",B,$(e.$t("AUTHOR_DEL_RES")),1)])),_(me)?(z(),I(d,{key:2,size:"20",class:"text-primary"},{default:j((()=>[y(r)])),_:1})):k("",!0)]),w("div",G,[_(me)||!_(fe)?(z(),b("div",K,[y(n,{text:"",class:"w-48"}),y(n,{text:"",repeat:3,class:"mt-3"})])):(z(),b("div",Q,[w("h1",F,$(_(ue).title),1),w("p",X,$(_(ue).description),1)])),y(c,{class:"w-[316px] remix-btn rounded-full max-md:mx-auto",bordered:!1,onClick:S(ge,["stop"])},{default:j((()=>[w("span",Y,$(e.$t("VIEW_DETAIL")),1)])),_:1})])])]),y(m,P({show:_(he),"onUpdate:show":s[1]||(s[1]=e=>R(he)?he.value=e:null),height:"auto",placement:"bottom","mask-closable":!1,class:"rounded-t-2xl overflow-hidden !bg
1-black z-50",style:{"--n-body-padding":"0"}},e.drawerProps),{default:j((()=>[w("div",Z,[w("div",ee,[y(p,{class:"w-5 h-5 text-text-4 hover:text-text-1 cursor-pointer",onClick:s[0]||(s[0]=e=>he.value=!1)}),w("div",ae,[w("span",te,$(_(ue).title),1)]),s[4]||(s[4]=w("div",null,null,-1))]),e.$slots["bare-mobile"]||e.$slots.bare?k("",!0):(z(),b("div",le,$(_(ue).description),1))])])),_:1},16,["show"])],64)}}},[["__scopeId","data-v-ebeeff58"]]);export{se 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.