PageSourceSearch

https://crushpop.io/_next/static/chunks/3hzdb90ga15e8.js

js crushpop.io collected 2026-10-02 01:57:50 UTC 35,107 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,779846,e=>{"use strict";let t={basic:"기본 프롬프트",roleplay:"1:1 롤플레잉",simulation:"시뮬레이션",custom:"커스텀"},a={roleplay:"1:1 롤플레잉",simulation:"시뮬레이션"};function i(e){return"basic"===e||"roleplay"===e||"simulation"===e||"custom"===e}e.s(["buildPromptTags",0,function({promptMode:e,conversationStyle:n}){var r;return i(e)?"roleplay"===e||"simulation"===e?[{key:"promptTemplate",label:t[e],value:e}]:"roleplay"!==(r=n)&&"simulation"!==r?[]:[{key:"conversationStyle",label:a[n],value:n},{key:"promptTemplate",label:t[e],value:e}]:[]},"getPromptTemplateLabel",0,function(e){return i(e)?t[e]:null}])},986788,e=>{"use strict";var t=e.i(248685),a=e.i(925723),i=e.i(614983);let n=new Set(["WEB_TRIAL_LOGIN_REQUIRED","WEB_TRIAL_DONUT_REQUIRED"]);function r(e){return e instanceof i.ApiError&&l(e.code)}function l(e){return!!(e&&n.has(e))}function o(e){let a=function(e){switch(e){case"action":return"trial_action";case"model":return"trial_model";default:return"default"}}(e.source),i=`${window.location.pathname}${window.location.search}`;t.useAuthModalStore.getState().openAuthModal(e.pendingAction,{entryButton:e.entryButton??"web_trial_gate",entryPath:e.entryPath??i,personaId:e.personaId,redirectTarget:e.redirectTarget??i,variant:a})}e.s(["buildTrialChatPostAuthRedirectTarget",0,function({personaId:e,conversationId:t,webTrialConversationId:i}){let n=new URL(`/trial-chat/${e}/${t}`,"http://localhost");return i&&n.searchParams.set(a.WEB_TRIAL_CONVERSATION_ID_QUERY_KEY,i),`${n.pathname}${n.search}`},"getWebTrialConversationIdFromLocation",0,function(){return new URLSearchParams(window.location.search).get(a.WEB_TRIAL_CONVERSATION_ID_QUERY_KEY)||null},"handleWebTrialUnauthorized",0,function(e,t){return!!r(e)&&(o(t),!0)},"isWebTrialAuthModalCode",0,l,"isWebTrialUnauthorized",0,r,"openWebTrialAuthModal",0,o])},660912,815803,753248,949912,e=>{"use strict";var t=e.i(420472),a=e.i(561409),i=e.i(698586),n=e.i(205732),r=e.i(33326),l=e.i(744460);let o=l.picklist(["announcement","activity"]),s=l.looseObject({publicId:l.optional(l.nullable(l.string())),name:l.optional(l.nullable(l.string())),profileImageUrl:l.optional(l.nullable(l.string()))}),c=l.looseObject({id:l.string(),title:l.string(),body:l.optional(l.nullable(l.string())),deeplinkUrl:l.optional(l.nullable(l.string())),actor:l.optional(l.nullable(s)),groupCount:l.optional(l.number(),1),isNew:l.optional(l.boolean(),!1),readAt:l.optional(l.nullable(l.string())),createdAt:l.string(),lastActivityAt:l.optional(l.nullable(l.string())),category:l.optional(l.nullable(l.string())),sourceType:l.optional(l.nullable(o)),tab:l.optional(l.nullable(l.string())),eventType:l.optional(l.nullable(l.string()))}),d=l.looseObject({items:l.array(c),nextCursor:l.optional(l.nullable(l.string())),hasMore:l.optional(l.boolean(),!1)}),u=l.looseObject({hasUnread:l.optional(l.boolean(),!1)}),f=l.looseObject({count:l.optional(l.number()),readAt:l.optional(l.nullable(l.string()))}),m=e=>{let t=new URLSearchParams,a=e?.tab??"all";return e?.cursor&&t.set("cursor",e.cursor),t.set("limit",String(e?.limit??20)),"all"!==a&&t.set("tab",a),(0,r.directBackendGet)(`/notifications?${t.toString()}`,d)};var p=e.i(342949),x=e.i(186745),v=e.i(364891),b=e.i(651137);function h(e){let t=e?.tab??"all";return(0,p.useInfiniteQuery)({queryKey:b.notificationKeys.list(t),queryFn:({pageParam:e})=>m({cursor:e,tab:t}),initialPageParam:void 0,getNextPageParam:e=>e.nextCursor??void 0,enabled:e?.enabled,staleTime:3e4,refetchOnMount:"always"})}function g(e){return(0,v.useQuery)({queryKey:b.notificationKeys.unreadState(),queryFn:()=>(0,r.directBackendGet)("/notifications/unread-state",u),enabled:e?.enabled,staleTime:3e4})}function y(){let e=(0,a.useQueryClient)();return(0,x.useMutation)({mutationFn:()=>(0,r.directBackendPatch)("/notifications/read-all",f),onSuccess:()=>{e.invalidateQueries({queryKey:b.notificationKeys.unreadState()})}})}e.s(["useInfiniteNotifications",0,h,"useMarkAllNotificationsRead",0,y,"useNotificationUnreadState",0,g,"usePrefetchNotifications",0,function(e){let t=(0,a.useQueryClient)(),n=e?.tab??"all",r=e?.enabled??!0;return(0,i.useCallback)(()=>{r&&t.prefetchInfiniteQuery({queryKey:b.notificationKeys.list(n),queryFn:({pageParam:e})=>m({cursor:e,tab:n}),initialPageParam:void 0,getNextPageParam:e=>e.nextCursor??void 0,staleTime:3e4})},[r,t,n])}],815803),e.s([],753248),e.i(993649);var j=e.i(24833);let N=[{key:"all",label:"전체"},{key:"news",label:"공지"},{key:"activity",label:"커뮤니티"}];var w=e.i(522179),k=e.i(823277),C=e.i(473459),I=e.i(403388);function T(){return(0,t.jsx)("div",{className:"px-5 py-2",children:(0,t.jsx)("div",{className:"h-px w-full bg-line-alternative"})})}function A({message:e="받은 알림이 없습니다."}){return(0,t.jsx)("div",{className:"flex w-full flex-1 flex-col items-center justify-center px-8",role:"status",children:(0,t.jsx)("p",{className:"typo-body1-reading text-center font-medium text-label-alternative",children:e})})}e.i(635743);var P=e.i(764191);function S({onRetry:e}){return(0,t.jsxs)("div",{className:"flex w-full flex-col items-center gap-4 px-8 py-12 text-center",role:"alert",children:[(0,t.jsx)("p",{className:"typo-body1 text-label-neutral",children:"알림을 불러오지 못했어요"}),(0,t.jsx)(P.Button,{buttonType:"outline",variant:"neutral",size:"small",onClick:e,children:"다시 시도"})]})}let _=/^https?:\/\//i,E=/^\/profile\/[^/?#]+\/followers(?=$|[?#])/;function R({item:e,sessionReadAt:a,onNavigate:i,isLoading:n=!1,isNavigationPending:r=!1}){let l=function(e){let t=new Date(e);if(Number.isNaN(t.getTime()))return"";let a=Math.floor((new Date().getTime()-t.getTime())/6e4);if(a<1)return"방금 전";if(a<60)return`${a}분 전`;let i=Math.floor(a/60);if(i<24)return`${i}시간 전`;let n=Math.floor(i/24);
1if(n<7)return`${n}일 전`;let r=new Intl.DateTimeFormat("en-CA",{timeZone:"Asia/Seoul",year:"2-digit",month:"2-digit",day:"2-digit"}).formatToParts(t),l=e=>r.find(t=>t.type===e)?.value??"",o=l("year"),s=l("month"),c=l("day");return`${o}.${s}.${c}`}(e.lastActivityAt??e.createdAt),o=function(e){let t=e?.trim();if(!t)return;if(_.test(t))return t;let a=t.startsWith("/")?t:`/${t}`;return E.test(a)?"/profile/follows":a}(e.deeplinkUrl),s=e.isNew||!!a&&!!e.readAt&&Date.parse(e.readAt)>=Date.parse(a)-1e4,c=(0,t.jsxs)("div",{className:"relative flex w-full flex-col items-start px-5 py-3",children:[s&&(0,t.jsx)("span",{"aria-hidden":!0,className:"pointer-events-none absolute inset-y-0 inset-x-2 rounded-[10px] bg-interaction-color-hover"}),(0,t.jsx)("span",{"aria-hidden":!0,className:"pointer-events-none absolute inset-y-0 inset-x-2 rounded-[10px] bg-interaction-color-hover opacity-0 transition-opacity group-hover:opacity-100"}),(0,t.jsx)("span",{"aria-hidden":!0,className:"pointer-events-none absolute inset-y-0 inset-x-2 rounded-[10px] bg-interaction-color-pressed opacity-0 transition-opacity group-active:opacity-100"}),(0,t.jsxs)("div",{className:`relative z-10 flex w-full flex-col items-start gap-1${n?" pr-7":""}`,children:[(0,t.jsx)("p",{className:"typo-label1 w-full truncate font-semibold text-label-normal",children:e.title}),e.body&&(0,t.jsx)("p",{className:"typo-label1-reading line-clamp-2 w-full font-medium text-label-alternative",children:e.body}),l&&(0,t.jsx)("p",{className:"typo-caption1 font-normal text-label-alternative",children:l})]}),n&&(0,t.jsx)("span",{role:"status","aria-label":"대화를 불러오는 중",className:"absolute right-5 top-1/2 z-10 -translate-y-1/2",children:(0,t.jsx)("span",{className:"block size-4 animate-spin rounded-full border-2 border-label-assistive border-t-label-normal"})})]});if(o){let e="group block w-full focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary-strong";return/^https?:\/\//i.test(o)?(0,t.jsx)("a",{href:o,target:"_blank",rel:"noopener noreferrer",onClick:e=>i?.(e,o),"aria-disabled":r||void 0,className:e,children:c}):(0,t.jsx)(C.Link,{href:o,prefetch:!/^\/chat(?:\?|$)/.test(o)&&void 0,onClick:e=>i?.(e,o),"aria-busy":n||void 0,"aria-disabled":r||void 0,className:e,children:c})}return(0,t.jsx)("div",{className:"group w-full",children:c})}function B({rows:e=5}){return(0,t.jsx)("div",{role:"status","aria-busy":"true","aria-label":"알림을 불러오는 중",children:Array.from({length:e}).map((e,a)=>(0,t.jsxs)("div",{className:"flex flex-col gap-2 px-5 py-3","aria-hidden":!0,children:[(0,t.jsx)("div",{className:"h-3 w-10 animate-pulse rounded bg-elevated-normal"}),(0,t.jsx)("div",{className:"h-[21px] w-3/4 animate-pulse rounded bg-elevated-normal"}),(0,t.jsx)("div",{className:"h-3 w-12 animate-pulse rounded bg-elevated-normal"})]},a))})}function z({activeKey:e,onChange:a,className:i}){return(0,t.jsx)("div",{className:(0,j.cn)("flex items-center gap-1.5 px-5 py-3",i),children:N.map(i=>{let n=i.key===e;return(0,t.jsx)("button",{type:"button",onClick:()=>a(i.key),"aria-pressed":n,className:(0,j.cn)("inline-flex shrink-0 cursor-pointer items-center justify-center rounded-[8px] px-[10px] py-[6px] typo-label1 font-semibold transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-strong",n?"bg-[rgba(112,115,124,0.08)] text-label-neutral":"text-label-alternative hover:bg-interaction-hover"),children:i.label},i.key)})})}e.s(["NotificationCenter",0,function({onItemClick:e,className:r}){let{isVerifiedAuthenticated:l}=(0,n.useSessionState)(),[o,s]=(0,i.useState)("all"),c=(0,a.useQueryClient)(),{loadingItemId:d,handleNavigate:u}=function(e){let t=(0,a.useQueryClient)(),n=(0,C.useRouter)(),r=(0,C.usePathname)(),l=(0,I.useToastStore)(e=>e.showToast),[o,s]=(0,i.useState)(null),[c,d]=(0,i.useState)(null),[u,f]=(0,i.useTransition)(),m=(0,i.useRef)(null),p=(0,i.useRef)(null);return(0,i.useEffect)(()=>(s(null),()=>{m.current?.abort(),m.current=null}),[r]),(0,i.useEffect)(()=>{c&&!u&&(m.current=null,s(null),d(null),e?.())},[c,u,e]),{loadingItemId:o,handleNavigate:async({event:a,itemId:i,href:r})=>{if(a.defaultPrevented)return;if(m.current)return void a.preventDefault();if(0!==a.button||a.metaKey||a.ctrlKey||a.shiftKey||a.altKey)return;let o=Date.now(),c=p.current;if(c?.itemId===i&&c.href===r&&o-c.clickedAt<500)return void a.preventDefault();if(p.current={itemId:i,href:r,clickedAt:o},!/^\/chat(?:\?|$)/.test(r))return void e?.();a.preventDefault();
1let u=new URLSearchParams(r.split("?")[1]?.split("#")[0]),x=u.get("conversation_id")?.trim();if(!x)return void l("대화방 정보를 확인할 수 없어요.","error");let v=new AbortController;m.current=v,s(i);let b=!1,h=()=>{},g=new Promise((e,t)=>{h=()=>t(Error("Notification navigation aborted")),v.signal.addEventListener("abort",h,{once:!0})}),y=setTimeout(()=>{b=!0,v.abort()},1e4);try{let e=await Promise.race([w.conversationsApi.getConversation(x,v.signal),g]);if(v.signal.aborted)return;if(e.id!==x||!e.personaId.trim())throw Error("Notification conversation target mismatch");t.setQueryData(k.conversationKeys.room(x),e);let a=`/conversations/${encodeURIComponent(e.personaId)}/${encodeURIComponent(x)}`;f(()=>{n.push(a),d(a)})}catch{if(m.current!==v||v.signal.aborted&&!b)return;v.abort(),m.current=null,s(null),l(b?"대화를 불러오는 시간이 오래 걸리고 있어요. 다시 시도해 주세요.":"대화를 불러오지 못했어요. 다시 시도해 주세요.","error")}finally{clearTimeout(y),v.signal.removeEventListener("abort",h)}}}}(e),{data:f,isPending:m,isError:p,refetch:x,fetchNextPage:v,hasNextPage:N,isFetchingNextPage:P}=h({tab:o,enabled:l}),_=y(),{data:E}=g({enabled:l}),$=(0,i.useRef)(!1);(0,i.useEffect)(()=>{l&&E?.hasUnread&&!$.current&&($.current=!0,_.mutate())},[l,E?.hasUnread]);let L=_.data?.readAt??null;(0,i.useEffect)(()=>()=>{c.removeQueries({queryKey:b.notificationKeys.lists()})},[c]);let U=f?.pages.flatMap(e=>e.items)??[],F=(0,i.useCallback)(e=>{if(!N||P)return;let t=e.currentTarget;t.scrollHeight-t.scrollTop-t.clientHeight<240&&v()},[v,N,P]);return(0,t.jsxs)("div",{className:(0,j.cn)("flex flex-col pt-2 pb-5",r),children:[(0,t.jsx)(z,{activeKey:o,onChange:e=>{d||s(e)},className:"shrink-0"}),(0,t.jsx)("div",{className:"flex min-h-0 flex-1 flex-col overflow-y-auto overscroll-contain",onScroll:F,children:m?(0,t.jsx)(B,{}):p?(0,t.jsx)(S,{onRetry:()=>void x()}):0===U.length?(0,t.jsx)(A,{}):(0,t.jsxs)(t.Fragment,{children:[U.map((e,a)=>(0,t.jsxs)(i.Fragment,{children:[a>0&&(0,t.jsx)(T,{}),(0,t.jsx)(R,{item:e,sessionReadAt:L,isLoading:d===e.id,isNavigationPending:null!==d,onNavigate:(t,a)=>{u({event:t,href:a,itemId:e.id})}})]},e.id)),P&&(0,t.jsx)(B,{rows:1})]})})]})}],949912),e.s([],660912)},957256,e=>{"use strict";let t=["tag","genre","adult","conversation_style","influencer"];function a(e){return e?t.some(t=>t===e)?e:"tag":"tag"}e.s(["buildExploreFacetHref",0,function(e,t){let a=new URLSearchParams({tag:e,facetKind:t});return`/explore/tags?${a.toString()}`},"formatExploreFacetLabel",0,function(e,t){let i=e.trim();return i?"tag"===a(t)?`#${i}`:i:""},"normalizeExploreFacetKind",0,a])},49030,e=>{"use strict";var t=e.i(477627);e.s(["Chip",()=>t.default])},331054,e=>{"use strict";var t=e.i(152454);e.s(["ChipControl",()=>t.default])},753601,e=>{"use strict";var t=e.i(763030);e.s(["ContentBadge",()=>t.default])},418277,e=>{"use strict";var t=e.i(138842);e.s(["Thumbnail",()=>t.default])},154194,986416,e=>{"use strict";var t=e.i(928196);e.s([],154194),e.s(["Card",()=>t.default],986416)},928196,e=>{"use strict";var t=e.i(420472),a=e.i(380981),i=e.i(827985),n=e.i(966920),r=e.i(209180),l=e.i(661866);e.i(397013);var o=e.i(24833),s=e.i(734950),c=e.i(418277);e.i(578908);var d=e.i(72187),u=e.i(555973);let f=({indexNumber:e,title:a,isAdultOnly:i,isAdultImage:n,forceAdultLock:r,description:l,thumbnailUrl:f,isCertificated:m,className:p,thumbnailClassName:x,onClick:v,genre:b,tags:h,isHot:g,isNew:y,badges:j,isInfluencer:N,creator:w,isOriginal:k,label:C,rank:I,stats:T,personaType:A})=>(0,t.jsxs)("div",{className:(0,o.cn)("flex gap-4",u.default.card,p),onClick:v,children:[(0,t.jsx)("div",{className:"shrink-0 relative rounded-[12px] overflow-hidden",children:(0,t.jsx)(c.Thumbnail,{src:f,isAdultImage:n,variant:"square",forceAdultLock:r,responsive:!1,className:(0,o.cn)("rounded-[12px] min-w-[102px] w-[102px] h-[102px]",x),tagElement:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"absolute left-0 bottom-0 z-10 flex",children:(0,t.jsx)("div",{className:"inline-flex w-[28px] h-[28px] min-w-[28px] min-h-[28px] shrink-0 items-center justify-center leading-none typo-body1 font-bold text-static-white bg-static-black rounded-tr-[12px] rounded-bl-[12px]",children:e})}),(0,t.jsx)("div",{className:u.default.overlay})]})})}),(0,t.jsxs)("div",{className:"flex flex-col py-3 flex-1",children:[(0,t.jsxs)("div",{className:(0,o.cn)("flex gap-1"),children:[(0,t.jsx)("div",{className:"line-clamp-1 typo-body1 font-bold",children:a}),(0,t.jsx)("div",{children:m&&(0,t.jsx)(s.Icon,{name:"badge",size:22,folder:"color"})})]}),(0,t.jsx)("div",{className:(0,o.cn)("line-clamp-1 mt-1 typo-body1 text-label-alternative font-medium"),children:l}
1),(0,t.jsx)(d.ContentBadges,{isAdultOnly:i,badges:j,genre:b,tags:h,isInfluencer:N,overflow:!0,linkable:!0,className:"pt-2.5"})]})]});e.i(635743);var m=e.i(753601);let p=({title:e,description:a,thumbnailUrl:i,isAdultOnly:n,isAdultImage:r,forceAdultLock:l,isNew:f,isHot:p,isCertificated:x=!0,onClick:v,className:b,thumbnailClassName:h,genre:g,tags:y,personaType:j,badges:N,isInfluencer:w,creator:k,isOriginal:C,label:I,rank:T,stats:A})=>(0,t.jsx)("div",{className:(0,o.cn)("flex-1 max-w-[230px]",u.default.card,b),onClick:v,children:(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("div",{className:"relative rounded-[14px] overflow-hidden",children:(0,t.jsx)(c.Thumbnail,{src:i,variant:"square",isAdultImage:r,forceAdultLock:l,className:(0,o.cn)("rounded-[14px]",h),tagElement:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"absolute top-2.5 left-2.5 z-10 flex gap-1",children:[f&&(0,t.jsx)(m.ContentBadge,{mode:"notice",variant:"new"}),p&&(0,t.jsx)(m.ContentBadge,{mode:"notice",variant:"hot"})]}),(0,t.jsx)("div",{className:u.default.overlay})]})})}),(0,t.jsxs)("div",{className:"flex gap-0.5 items-center mt-3 pr-[26px]",children:[(0,t.jsx)("p",{className:"min-w-0 truncate typo-body1 font-bold",children:e}),x&&(0,t.jsx)(s.Icon,{name:"badge",size:22,folder:"color"})]}),(0,t.jsxs)("div",{className:"mt-1 flex min-w-0 flex-col gap-2.5",children:[(0,t.jsx)("div",{className:"line-clamp-2 typo-body1 text-label-alternative font-medium min-w-0",children:a}),(0,t.jsx)(d.ContentBadges,{isAdultOnly:n,badges:N,genre:g,tags:y,isInfluencer:w,overflow:!0,linkable:!0})]})]})});e.s(["default",0,e=>{let{type:o}=e;switch(o){case"favorite":{let{type:a,...i}=e;return(0,t.jsx)(r.default,{...i})}case"emptyFavorite":return(0,t.jsx)(n.default,{});case"category":{let{type:i,...n}=e;return(0,t.jsx)(a.default,{...n})}case"curation":{let{type:a,...n}=e;return(0,t.jsx)(i.default,{...n})}case"list":{let{type:a,...i}=e;return(0,t.jsx)(f,{...i})}case"square":{let{type:a,...i}=e;return(0,t.jsx)(p,{...i})}case"horizontal":{let{type:a,...i}=e;return(0,t.jsx)(l.default,{...i})}default:return null}}],928196)},555973,e=>{e.v({card:"CardStyle-module__X3Y7CW__card",overlay:"CardStyle-module__X3Y7CW__overlay"})},380981,827985,966920,209180,e=>{"use strict";var t=e.i(420472);e.i(993649);var a=e.i(24833),i=e.i(138842),n=e.i(555973);e.s(["default",0,({title:e="",count:r=0,thumbnailUrl:l,className:o,thumbnailClassName:s,tagElement:c,onClick:d})=>(0,t.jsxs)("div",{className:(0,a.cn)("relative w-full","flex flex-col max-w-[230px]",n.default.card,o),onClick:d,children:[(0,t.jsx)("div",{className:"relative w-full rounded-[12px] overflow-hidden",children:(0,t.jsx)(i.default,{src:l??void 0,variant:"category",className:(0,a.cn)("rounded-[12px]",s),tagElement:(0,t.jsxs)(t.Fragment,{children:[c,(0,t.jsx)("div",{className:n.default.overlay})]})})}),""!==e&&(0,t.jsx)("div",{className:"mt-3 pr-12",children:(0,t.jsx)("p",{className:"typo-body1 font-bold text-label-normal truncate line-clamp-1",children:e})})]})],380981),e.i(635743);var r=e.i(949239),l=e.i(753601),o=e.i(792437),s=e.i(418277);e.s(["default",0,({genreCount:e,showAuthor:i,officialLabel:n,authorThumbnail:c,authorName:d,thumbnails:u,title:f,className:m,thumbnailClassName:p,style:x,onClick:v})=>(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:(0,a.cn)("relative flex gap-6 cursor-pointer","p-6 rounded-[16px] bg-static-white",m),style:x,onClick:v,children:[(0,t.jsx)("div",{className:"shrink-0 rounded-[10px] grid grid-cols-2 overflow-hidden",children:Array.from({length:4},(e,t)=>u?.[t]).map((e,a)=>(0,t.jsx)("div",{className:"w-[66px] h-[66px]",children:(0,t.jsx)(s.Thumbnail,{variant:"square",src:e,responsive:!1,className:p})},a))}),(0,t.jsxs)("div",{className:"flex flex-col gap gap-6 overflow-hidden",children:[(0,t.jsxs)("div",{className:"gap gap-1.5",children:[(0,t.jsx)("div",{className:"typo-body1 text-label-normal line-clamp-2 font-semibold",children:f}),(0,t.jsxs)(l.ContentBadge,{mode:"genre",variant:"color",className:"bg-label-normal text-static-white",children:[e,"개"]})]}),i?(0,t.jsxs)("div",{className:"flex gap-1.5 items-center",children:[(0,t.jsx)(r.Avatar,{src:c,alt:"작가 썸네일 이미지",size:"xs"}),(0,t.jsx)("span",{className:"typo-caption1 text-label-normal truncate font-medium",children:d})]}):n?(0,t.jsx)(o.OfficialAuthor,{label:n}):null]})]})})],827985);var c=e.i(734950);e.s(["default",0,()=>(0,t.jsx)("div",{className:"flex w-18 h-18 justify-center items-center rounded-[20px] bg-alternative",children:(0,t.jsx)(c.Icon,{name:"make",size:28,color:"cool-neutral-80"})})],966920);var d=e.i(727854);let u="0 2px 6px 0 rgba(0, 0, 0, 0.1)",f="absolute w-6 h-6 rounded-full flex flex-col items-center justify-center px-1.75 py-1 border border-static-white";e.s(["default",0,({thumbnailUrl:e,favorite:a,numberingColor:i,numberingNumber:r,favoriteColor:l,className:o,thumbnailClassName:s,onClick:m})=>(0,t.jsx)("div",{className:`${n.default.card} ${o||""}`,onClick:m,children:(0,t.jsxs)("div",{className:"relative w-18 h-18",children:[(0,t.jsxs)("div",{className:`relative w-18 h-18 rounded-[20px] overflow-hidden ${s||""}`,children:[e?(0,t.jsx)(d.default,{src:e,alt:"메인페이지 즐겨찾기 썸네일 이미지",fill:!0,className:"object-cover",quality:75,sizes:"(max-width: 72px) 72px, 72px",placeholder:"blur",blurDataURL:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iNzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJnIiB4MT0iMCUiIHkxPSIwJSIgeDI9IjEwMCUiIHkyPSIxMDAlIj48c3RvcCBvZmZzZXQ9IjAlIiBzdHlsZT0ic3RvcC1jb2xvcjojZTVlN2ViO3N0b3Atb3BhY2l0eToxIi8+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdHlsZT0ic3RvcC1jb2xvcjojZjNmNGY2O3N0b3Atb3BhY2l0eToxIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHJlY3Qgd2lkdGg9IjcyIiBoZWlnaHQ9IjcyIiBmaWxsPSJ1cmwoI2cpIi8+PC9zdmc+"}):(0,t.jsx)("div",{className:"flex w-full h-full justify-center items-center bg-alternative",children:(0,t.jsx)(d.default,{src:"/images/card/favoriteThumbnail.svg",alt:"메인페이지 즐겨찾기 썸네일 비어있음 이미지",quality:75,width:72,height:72})}),(0,t.jsx)("div",{className:`${n.default.overlay} rounded-[20px]`})]}),r&&(0,t.jsx)("div",{className:`${f} -top-2 -right-2 typo-label1 font-bold text-static-white`,style:{backgroundColor:i,boxShadow:u},children:r}),a&&(0,t.jsx)("div",{className:`${f} -bottom-2 -right-2`,style:{backgroundColor:l,boxShadow:u},children:(0,t.jsx)(c.Icon,{name:"favoriteFill",size:14,color:"static-white"})})]})})],209180)},661866,e=>{"use strict";var t=e.i(420472);e.i(397013);var a=e.i(24833);e.i(635743);var i=e.i(753601),n=e.i(734950),r=e.i(418277),l=e.i(397407),o=e.i(555973);e.s(["default",0,({title:e,description:s,thumbnailUrl:c,isAdultImage:d,forceAdultLock:u,isNew:f,isHot:m,isCertificated:p,hasGenreTag:x,tags:v,thumbnailClassName:b,onClick:h})=>{let g=l.MAX_WIDTHS.horizontal,y=l.MIN_WIDTHS.horizontal;return(0,t.jsxs)("div",{className:(0,a.cn)(g,o.default.card),onClick:h,children:[(0,t.jsx)("div",{className:"relative rounded-2xl overflow-hidden",children:(0,t.jsx)(r.Thumbnail,{src:c,variant:"horizontal",isAdultImage:d,forceAdultLock:u,className:(0,a.cn)("rounded-2xl",b),tagElement:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"absolute top-2.5 left-2.5 z-10 flex gap-1",children:[(0,t.jsx)(t.Fragment,{children:f&&(0,t.jsx)(i.ContentBadge,{mode:"notice",variant:"new"})}),(0,t.jsx)(t.Fragment,{children:m&&(0,t.jsx)(i.ContentBadge,{mode:"notice",variant:"hot"})})]}),(0,t.jsx)("div",{className:o.default.overlay})]})})}),(0,t.jsxs)("div",{className:(0,a.cn)("flex gap-1 mt-3",g,y),children:[(0,t.jsx)("div",{className:"line-clamp-1 typo-body1 font-bold max-w-[260px]",children:e}),(0,t.jsx)("div",{children:p&&(0,t.jsx)(n.Icon,{name:"badge",size:22,folder:"color"})})]}),(0,t.jsx)("div",{className:(0,a.cn)("line-clamp-2 mt-1 typo-body1 text-label-alternative font-medium",g,y),children:s}),(0,t.jsxs)("div",{className:"pt-2.5 flex flex-wrap gap-1",children:[x&&(0,t.jsx)(i.ContentBadge,{mode:"genre",variant:"color",children:"장르"}),v?.map(e=>(0,t.jsx)(i.ContentBadge,{mode:"genre",variant:"outlined",children:"장르"},e))]})]})}])},578908,72187,e=>{"use strict";var t=e.i(577205);e.s([],578908),e.s(["ContentBadges",()=>t.default],72187)},577205,e=>{"use strict";var t=e.i(420472),a=e.i(473459);e.i(635743);var i=e.i(753601),n=e.i(698586),r=e.i(779846),l=e.i(957256);function o(e){let a=s[e.type];return(0,t.jsx)(i.ContentBadge,{mode:"genre",variant:a.variant,className:a.className,children:e.label})}let s={adult:{variant:"solid",className:"bg-accent-purple text-static-white shrink-0"},conversationType:{variant:"solid"},genre:{variant:"solid",className:"bg-primary-strong text-static-white shrink-0"},influencer:{variant:"outlined"},tag:{variant:"outlined"}};function c({href:e,item:i,onBadgeClick:n,children:r}){return e?(0,t.jsx)(a.Link,{href:e,onClick:e=>{e.stopPropagation(),n?.(i)},className:"inline-flex items-center leading-none align-middle",children:r}):(0,t.jsx)("span",{className:"inline-flex items-center leading-none align-middle",children:r})}function d({items:e,className:a,onBadgeClick:i}
1){let r=(0,n.useRef)(null),l=(0,n.useRef)([]),[s,u]=(0,n.useState)(null),f=(0,n.useCallback)(()=>{let t=r.current;if(!t||0===e.length)return;let a=l.current;for(let e=0;e<a.length;e++){let t=a[e];t&&(t.style.display="")}let i=t.getBoundingClientRect().right,n=0;for(let t=0;t<e.length;t++){let e=a[t];if(!e||e.getBoundingClientRect().right>i+1)break;n++}for(let e=0;e<a.length;e++){let t=a[e];t&&(t.style.display=e>=n?"none":"")}u(n)},[e.length]);return(0,n.useEffect)(()=>{let t=r.current;if(!t||0===e.length)return;requestAnimationFrame(f);let a=new ResizeObserver(f);return a.observe(t),()=>a.disconnect()},[e.length,f]),(0,t.jsx)("div",{ref:r,className:`flex flex-nowrap items-center gap-1 ${a??""}`,children:e.map((e,a)=>(0,t.jsx)("div",{ref:e=>{l.current[a]=e},className:"shrink-0 flex items-center leading-none",style:null!==s&&a>=s?{display:"none"}:void 0,children:(0,t.jsx)(c,{href:e.href,item:e,onBadgeClick:i,children:o(e)})},e.key))})}e.s(["default",0,({isAdultOnly:e,badges:a,genre:i,tags:n,isInfluencer:s,overflow:u=!1,linkable:f=!1,maxTags:m=2,showConversationType:p=!1,promptMode:x,conversationStyle:v,className:b,onBadgeClick:h})=>{let g=function({isAdultOnly:e,badges:t,genre:a,tags:i,isInfluencer:n,linkable:o=!1,maxTags:s=2,showConversationType:c=!1,promptMode:d,conversationStyle:u}){let f=[];e&&f.push({key:"adult",type:"adult",label:"19+",href:o?(0,l.buildExploreFacetHref)("19+","adult"):void 0});let m=a??t?.find(e=>"genre"===e.type)?.label;if(m&&f.push({key:"genre",type:"genre",label:m,href:o?(0,l.buildExploreFacetHref)(m,"genre"):void 0}),c){let e=(0,r.buildPromptTags)({promptMode:d,conversationStyle:u}).map(e=>({key:`ct-${e.key}-${e.value}`,type:"conversationType",label:e.label,href:o?(0,l.buildExploreFacetHref)(e.label,"conversation_style"):void 0}));if(e.length>0)f.push(...e);else if(t)for(let e of t.filter(e=>"conversation_type"===e.type).slice(0,2))f.push({key:`ct-${e.label}`,type:"conversationType",label:e.label,href:o?(0,l.buildExploreFacetHref)(e.label,"conversation_style"):void 0})}for(let e of(n&&f.push({key:"influencer",type:"influencer",label:"인플루언서",href:o?(0,l.buildExploreFacetHref)("인플루언서","influencer"):void 0}),i?.slice(0,s)??[]))f.push({key:`tag-${e}`,type:"tag",label:e,href:o?(0,l.buildExploreFacetHref)(e,"tag"):void 0});return f}({isAdultOnly:e,badges:a,genre:i,tags:n,isInfluencer:s,linkable:f,maxTags:m,showConversationType:p,promptMode:x,conversationStyle:v});return 0===g.length?null:u?(0,t.jsx)(d,{items:g,className:b,onBadgeClick:h}):(0,t.jsx)("div",{className:`flex flex-wrap items-center gap-1 ${b??""}`,children:g.map(e=>(0,t.jsx)(c,{href:e.href,item:e,onBadgeClick:h,children:o(e)},e.key))})}],577205)},727398,266604,e=>{"use strict";var t=e.i(420472),a=e.i(986788);e.i(792163),e.i(682004),e.i(774465);var i=e.i(346693);e.i(653679),e.i(706281),e.i(560743),e.i(704693);var n=e.i(399372);e.s([],266604);var r=e.i(356982),l=e.i(252612),o=e.i(205732);e.i(52948);var s=e.i(49574),c=e.i(473459);e.i(993649);var d=e.i(24833);e.i(664703);var u=e.i(225189),f=e.i(999076),m=e.i(849657),p=e.i(988625);e.i(457389);var x=e.i(403388);e.i(635743);var v=e.i(734950),b=e.i(30337),h=e.i(682603),g=e.i(698586);e.i(753248);var y=e.i(815803);e.i(660912);var j=e.i(949912),N=e.i(398485);function w(){let e=(0,N.useIsMobile)(),a=(0,c.useRouter)(),[i,n]=(0,g.useState)(!1),{isVerifiedAuthenticated:r}=(0,o.useSessionState)(),l=(0,g.useRef)(null),{data:s}=(0,y.useNotificationUnreadState)({enabled:r}),u=(0,y.usePrefetchNotifications)({enabled:r}),f=!!s?.hasUnread&&!i;(0,g.useEffect)(()=>{u()},[u]);let m=(0,g.useCallback)(()=>{n(!1),l.current?.focus()},[]),p=(0,g.useCallback)(e=>{e?.focus()},[]);return(0,g.useEffect)(()=>{if(!i)return;let e=e=>{let t=e.target;!t||l.current?.contains(t)||t.closest(".notification-popover")||n(!1)},t=e=>{"Escape"===e.key&&m()};return document.addEventListener("pointerdown",e,!0),document.addEventListener("keydown",t),()=>{document.removeEventListener("pointerdown",e,!0),document.removeEventListener("keydown",t)}},[i,m]),(0,t.jsxs)("div",{className:"relative size-6 shrink-0",children:[(0,t.jsxs)("button",{ref:l,type:"button",onClick:()=>{(u(),e)?a.push("/notification"):n(e=>!e)},onMouseEnter:u,onFocus:u,"aria-label":"알림","aria-haspopup":e?void 0:"dialog","aria-expanded":e?void 0:i,className:(0,d.cn)("relative isolate inline-flex size-6 cursor-pointer items-center justify-center","before:absolute before:inset-[-4px] before:-z-10 before:rounded-[10px] before:transition-colors before:duration-200 before:ease-out before:content-['']","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-strong",i?"before:bg-interaction-hover active:before:bg-interaction-pressed":"hover:before:bg-interaction-hover active:before:bg-interaction-pressed"),children:[(0,t.jsx)(v.Icon,{name:"alarm",size:20,color:"var(--nav-foreground, var(--color-label-normal))",className:"transition-colors duration-200 motion-reduce:transition-none"}),f&&(0,t.jsx)("span",{className:"absolute right-0 top-0 size-[6px] -translate-y-1/2 translate-x-1/2 roun
1ded-full bg-status-negative"})]}),i&&!e&&(0,t.jsx)("div",{ref:p,role:"dialog","aria-label":"알림",tabIndex:-1,onPointerDown:e=>e.stopPropagation(),className:(0,d.cn)("notification-popover absolute right-0 top-[calc(100%+8px)] z-[10005] flex min-h-[333px] max-h-[511px] w-[392px] flex-col overflow-hidden","rounded-[20px] border border-line-alternative bg-static-white","shadow-[0px_0px_14px_1px_rgba(0,0,0,0.07)] focus:outline-none"),children:(0,t.jsx)(j.NotificationCenter,{onItemClick:m,className:"min-h-0 flex-1"})})]})}let k=/\/trial-chat\/([^/?#]+)\/([^/?#]+)/;e.s(["default",0,()=>{let e=(0,s.useClientHydrated)(),{isAuthenticated:y}=(0,o.useSessionState)(),j=(0,h.usePathname)(),N=(0,h.useSearchParams)(),[C,I]=(0,g.useState)(!1),[T,A]=(0,g.useState)("ios"),P=(0,x.useToastStore)(e=>e.showToast),S=N.toString(),_=`${j}${S?`?${S}`:""}`,E=()=>{(0,f.trackGlobalNavigationClick)({sourceArea:"global_nav",navType:"top_nav",navAction:"menu_click",navTarget:"search",isActiveMenu:(0,u.isActiveNavigationPath)(j,"/search"),destinationPath:"/search"}),(0,p.saveSearchOrigin)(_)},R=j.endsWith("/login")?(0,m.buildClientAuthEntryUrl)({pathname:j,entryButton:"login_button"}):(0,m.buildClientAuthEntryUrl)({pathname:j,redirectTarget:_,entryButton:"login_button",entryPath:_}),B=j.match(k),z=!!B,$=B?.[1],L=()=>{(0,f.trackNavigationLoginClick)({entryPath:_,entryButton:"login_button"})},U=()=>{(0,a.openWebTrialAuthModal)({source:"other",entryButton:"login_button",entryPath:_,personaId:$,redirectTarget:_})},F=async()=>{let e=new URL(R,window.location.origin).toString();try{await navigator.clipboard.writeText(e),P("링크 복사 완료",void 0,"top")}catch{let t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.opacity="0",document.body.appendChild(t),t.select();let a=document.execCommand("copy");document.body.removeChild(t),P(a?"링크 복사 완료":"링크 복사에 실패했어요",a?void 0:"error","top")}},D=()=>{if(z){I(!1),U();return}window.location.href=R};return e?y?(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsx)(c.Link,{href:"/search","aria-label":"검색",className:"cursor-pointer lg:hidden",onClick:E,children:(0,t.jsx)(v.Icon,{name:"search",size:24,color:"var(--nav-foreground, var(--color-label-normal))",className:"transition-colors duration-200 motion-reduce:transition-none"})}),(0,t.jsx)(w,{}),(0,t.jsx)(c.Link,{href:"/profile","aria-label":"프로필",onClick:()=>{(0,f.trackGlobalNavigationClick)({sourceArea:"global_nav",navType:"top_nav",navAction:"profile_click",navTarget:"profile",isActiveMenu:(0,u.isActiveNavigationPath)(j,"/profile"),destinationPath:"/profile"})},className:(0,d.cn)("relative isolate inline-flex size-6 shrink-0 cursor-pointer items-center justify-center","before:absolute before:inset-[-4px] before:-z-10 before:rounded-[10px] before:transition-colors before:duration-200 before:ease-out before:content-['']","hover:before:bg-interaction-hover active:before:bg-interaction-pressed","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-strong"),children:(0,t.jsx)(v.Icon,{name:"profile",size:24,color:"var(--nav-foreground, var(--color-label-normal))",className:"transition-colors duration-200 motion-reduce:transition-none",folder:"navigation"})})]}):(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsx)(c.Link,{href:"/search","aria-label":"검색",className:"cursor-pointer lg:hidden",onClick:E,children:(0,t.jsx)(v.Icon,{name:"search",size:24,color:"var(--nav-foreground, var(--color-label-normal))",className:"transition-colors duration-200 motion-reduce:transition-none"})}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",onClick:()=>{L();let e=(0,l.getInAppBrowserInfo)();!e.isInAppBrowser||"android"===e.platform&&(0,r.isGuardDismissed)()?D():(A("android"===e.platform?"android":"ios"),I(!0))},className:(0,d.cn)("min-w-[58px] h-[32px] px-3 lg:hidden","border border-[var(--nav-login-border,var(--color-line-normal))] rounded-[10px]","typo-label2 font-medium text-[var(--nav-login-color,var(--color-label-neutral))] transition-colors duration-200 motion-reduce:transition-none","cursor-pointer relative overflow-hidden inline-flex items-center justify-center","before:absolute before:inset-0 before:transition-colors before:duration-200","hover:before:bg-interaction-hover active:before:bg-interaction-pressed"),children:"로그인"}),z?(0,t.jsx)("button",{type:"button",onClick:()=>{L(),U()},className:(0,d.cn)("min-w-[58px] h-[32px] px-3 hidden lg:inline-flex","border border-line-normal rounded-[10px]","typo-label2 font-medium text-label-neutral","cursor-pointer relative overflow-hidden items-center justify-center","before:absolute before:inset-0 before:transition-colors before:duration-200","hover:before:bg-interaction-hover active:before:bg-interaction-pressed"),children:"로그인"}):(0,t.jsx)(b.default,{href:R,onClick:L,className:(0,d.cn)("min-w-[58px] h-[32px] px-3 hidden lg:inline-flex","border border-line-normal rounded-[10px]","typo-label2 font-medium text-label-neutral","cursor-pointer relative overflow-hidden items-center justify-center","before:absolute before:inset-0 before:transition-colors before:duration-200","hover:before:bg-interaction-hover active:before:bg-interaction-pressed"),children:"로그인"}),(0,t.jsx)(i.LoginBrowserGuideSheet,{isOpen:C,context:"home",platform:T,onClose:()=>I(!1),onPrimaryAction:()=>{"android"===T?(0,n.openInChromeOnAndroid)({targetPath:R}):F()},onSecondaryAction:()=>
1{if("android"===T){(0,r.dismissGuard)("guest"),I(!1);return}D()}})]})]}):(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsx)("div",{className:"w-6 h-6 md:hidden"}),(0,t.jsx)("div",{className:"w-[52px] h-8 rounded-md bg-fill-alternative animate-pulse"})]})}],727398)}]);

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.