PageSourceSearch

https://static.wuubi.com/_next/static/chunks/pages/hashtag/[tag]-eb41205f907670c5.js

js wuubi.com collected 2026-09-24 14:21:05 UTC 14,347 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0422e731-6fe9-4430-94ad-8f63abd6e187",e._sentryDebugIdIdentifier="sentry-dbid-0422e731-6fe9-4430-94ad-8f63abd6e187")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3855],{7886:(e,t,a)=>{"use strict";a.d(t,{T6:()=>o,Uv:()=>n,hM:()=>l,k9:()=>d});var s=a(74359),r=a(58346);let i=e=>({page:e?.page||1,limit:e?.limit||20}),n=({limit:e=24,scope:t="all",days:a=30,enabled:i=!0}={})=>(0,s.I)({queryKey:["hashtags","popular",e,t,a],enabled:i,queryFn:async()=>{let s=await fetch(`https://api.wuubi.com/api/tag/popular?limit=${e}&scope=${t}&days=${a}`),i=await s.json();if(!i?.responseResult?.status)throw Error((0,r.S)(i,"Etiketler y\xfcklenemedi"));return i?.result?.data||[]},staleTime:3e5}),l=(e,t)=>{let a=i(t);return(0,s.I)({queryKey:["hashtags","contents",e,a.page,a.limit],queryFn:async()=>{let t=await fetch(`https://api.wuubi.com/api/tag/contents/${encodeURIComponent(e||"")}?page=${a.page}&limit=${a.limit}`),s=await t.json();if(!s?.responseResult?.status)throw Error((0,r.S)(s,"Hashtag i\xe7erikleri y\xfcklenemedi"));return s?.result||{data:[],pagination:{currentPage:a.page,limit:a.limit,total:0}}},enabled:!!e})},o=(e,t)=>{let a=i(t);return(0,s.I)({queryKey:["hashtags","profile-posts",e,a.page,a.limit],queryFn:async()=>{let t=await fetch(`https://api.wuubi.com/api/tag/profile-posts/${encodeURIComponent(e||"")}?page=${a.page}&limit=${a.limit}`),s=await t.json();if(!s?.responseResult?.status)throw Error((0,r.S)(s,"Hashtag profil g\xf6nderileri y\xfcklenemedi"));return s?.result||{data:[],pagination:{currentPage:a.page,limit:a.limit,total:0}}},enabled:!!e})},d=(e,t)=>{let a=i(t);return(0,s.I)({queryKey:["hashtags","stories",e,a.page,a.limit],queryFn:async()=>{let t=await fetch(`https://api.wuubi.com/api/tag/stories/${encodeURIComponent(e||"")}?page=${a.page}&limit=${a.limit}`),s=await t.json();if(!s?.responseResult?.status)throw Error((0,r.S)(s,"Hashtag hik\xe2yeleri y\xfcklenemedi"));return s?.result||{data:[],pagination:{currentPage:a.page,limit:a.limit,total:0}}},enabled:!!e})}},27832:(e,t,a)=>{"use strict";a.d(t,{W$:()=>n,hM:()=>l.hM,Uv:()=>l.Uv,T6:()=>l.T6,k9:()=>l.k9});var s=a(74359),r=a(97685),i=a(43874);function n({type:e}){let{ContentsSet:t,ContentsFilter:a,ContentsFilterSet:n}=(0,i.A)();return(0,s.I)({queryKey:["getTaggedContents",e,a?.paging?.currentPage],queryFn:async()=>{let s=await fetch(`https://api.wuubi.com/api/content/get-attributed-content/${e}?page=${a?.paging?.currentPage}&limit=${a?.paging?.limit}`,{method:"GET",headers:{Accept:"application/json","Content-Type":"application/json"}}),i=await s.json();if(!i||!i.responseResult.status)return r.Ay.error(i.responseResult.exceptionDetail?.[0]),!1;let l=Number(i.result?.pagination?.currentPage)||Number(a?.paging?.currentPage)||1;return t(e=>l<=1?i:{...i,result:{...i.result,data:((e,t)=>{let a=new Set;return[...e,...t].filter(e=>{let t,s=(t=e,t?.id||t?._id||t?.slug);return!s||!a.has(s)&&(a.add(s),!0)})})(e?.result?.data||[],i.result?.data||[])}}),n(e=>({...e,paging:{...e.paging,total:i.result.pagination.total,limit:i.result.pagination.limit}})),i},enabled:!!a?.paging?.currentPage&&e>0,staleTime:0,refetchOnWindowFocus:!1,refetchOnMount:!1,refetchOnReconnect:!1})}var l=a(7886)},31010:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var s=a(14232);let r=s.forwardRef(function({title:e,titleId:t,...a},r){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},a),e?s.createElement("title",{id:t},e):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m0-10.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.75c0 5.592 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.57-.598-3.75h-.152c-3.196 0-6.1-1.25-8.25-3.286Zm0 13.036h.008v.008H12v-.008Z"}))})},43874:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var s=a(85278),r=a(99542);let i=(0,r.eU)({responseResult:{status:!1,exceptionDetail:[]},result:{data:[],pagination:{currentPage:1,total:0,limit:0}}}),n=(0,r.eU)({filter:[{key:"",value:[]}],paging:{currentPage:1,limit:10,total:0}}),l=()=>{let[e,t]=(0,s.fp)(i),[a,r]=(0,s.fp)(n);
1return{Contents:e,ContentsSet:t,ContentsFilter:a,ContentsFilterSet:r}}},45084:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var s=a(14232);let r=s.forwardRef(function({title:e,titleId:t,...a},r){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},a),e?s.createElement("title",{id:t},e):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.625 9.75a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375m-13.5 3.01c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.184-4.183a1.14 1.14 0 0 1 .778-.332 48.294 48.294 0 0 0 5.83-.498c1.585-.233 2.708-1.626 2.708-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0 0 12 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018Z"}))})},57526:(e,t,a)=>{"use strict";a.d(t,{C:()=>r,g:()=>s});let s=e=>String(e??"").trim().replace(/^#+/,"").normalize("NFKC").toLocaleLowerCase("tr-TR").replace(/ı/g,"i").normalize("NFKD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").slice(0,80),r=e=>{let t=s(e);return t?`/hashtag/${encodeURIComponent(t)}`:"/explore"}},68268:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSP:()=>N,default:()=>$});var s=a(37876),r=a(38908),i=a(86987),n=a(24178),l=a(87185),o=a(24610),d=a(49790),c=a(27832),u=a(72713),m=a(6220),p=a(54587),g=a.n(p),h=a(48230),x=a.n(h),b=a(89099),f=a(14232),y=a(79734),w=a(57526);let v=(e,t)=>Math.max(1,Math.ceil(Math.max(0,e)/Math.max(1,t))),k=(e,t,a)=>e>0?"contents":t>0?"posts":a>0?"stories":"contents",j=({initialTag:e,initialContents:t,initialPosts:a,initialStories:n,initialTotals:p,siteUrl:h})=>{let j=(0,b.useRouter)(),[N,$]=(0,f.useState)(()=>k(p.contentTotal,p.postTotal,p.storyTotal)),[C,E]=(0,f.useState)(1),[_,M]=(0,f.useState)(1),[T,A]=(0,f.useState)(1),R=(0,f.useRef)(!1),L=(0,f.useRef)(null),P=(0,f.useMemo)(()=>{let t=j.query.tag;return t?(0,w.g)(t):e},[e,j.query.tag]);(0,f.useEffect)(()=>{if(L.current===P)return;let e=null===L.current;L.current=P,e||(R.current=!1,$("contents"),E(1),M(1),A(1))},[P]);let{data:S,isLoading:I}=(0,c.hM)(P,{page:C,limit:12}),{data:q,isLoading:F}=(0,c.T6)(P,{page:_,limit:12}),{data:H,isLoading:U}=(0,c.k9)(P,{page:T,limit:12}),G=P===e,O=1===C?S?.data||(G?t:[]):S?.data||[],z=1===_?q?.data||(G?a:[]):q?.data||[],D=1===T?H?.data||(G?n:[]):H?.data||[],K=Number(S?.pagination?.total??(G?p.contentTotal:0)),W=Number(q?.pagination?.total??(G?p.postTotal:0)),Z=Number(H?.pagination?.total??(G?p.storyTotal:0)),B=(0,y.L)(K),V=(0,y.L)(W),X=(0,y.L)(Z),Y=v(K,12),J=v(W,12),Q=v(Z,12),ee="contents"===N?C:"posts"===N?_:T,et="contents"===N?Y:"posts"===N?J:Q,ea="contents"===N?I&&0===O.length:"posts"===N?F&&0===z.length:U&&0===D.length,es=!I&&!F&&!U;(0,f.useEffect)(()=>{es&&!R.current&&($(k(K,W,Z)),R.current=!0)},[es,K,W,Z]);let er=`#${P} etiketiyle ilişkili \xf6zg\xfcn i\xe7erikler, a\xe7ık profil g\xf6nderileri ve topluluk paylaşımları Wuubi \xfczerinde bir arada listelenir.`;return(0,s.jsxs)("div",{className:"container mx-auto px-4 py-8",children:[(0,s.jsx)(l.A,{title:`#${P} | Wuubi`,description:(0,d.Yi)(er),canonicalPath:(0,w.C)(P),siteUrl:h,noindex:!0,jsonLd:[(0,o.tV)(h,{title:`#${P} hashtag sayfası`,description:er,path:(0,w.C)(P)}),(0,o.Y8)(h,[{name:"Ana Sayfa",path:"/"},{name:`#${P}`,path:(0,w.C)(P)}])]}),(0,s.jsxs)("div",{className:"rounded-2xl border border-slate-200 bg-white p-6 shadow-sm",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 text-slate-700",children:[(0,s.jsx)(u.A,{className:"h-6 w-6 text-orange-500"}),(0,s.jsxs)("h1",{className:"text-2xl font-bold",children:["#",P||"hashtag"]})]}),(0,s.jsx)("p",{className:"mt-2 text-sm text-slate-500",children:"Bu hashtag ile eşleşen i\xe7erikler, profil g\xf6nderileri, public grup g\xf6nderileri ve hikayeler burada toplanır."}),(0,s.jsxs)("div",{className:"mt-4 flex flex-wrap gap-2",children:[(0,s.jsxs)("button",{className:`btn btn-sm ${"contents"===N?"btn-secondary":"btn-dark"}`,onClick:()=>{R.current=!0,$("contents")},children:["İ\xe7erikler (",B,")"]}),(0,s.jsxs)("button",{className:`btn btn-sm ${"posts"===N?"btn-secondary":"btn-dark"}`,onClick:()=>{R.current=!0,$("posts")},children:["G\xf6nderiler (",V,")"]}),(0,s.jsxs)("button",{className:`btn btn-sm ${"stories"===N?"btn-secondary":"btn-dark"}`,onClick:()=>{R.current=!0,$("stories")},children:["Hikayeler (",X,")"]})]})]}),"contents"===N&&(0,s.jsxs)("div",{className:"mt-6",children:[ea&&(0,s.jsx)("div",{className:"rounded-xl border border-slate-200 bg-white p-4 text-slate-500",children:"İ\xe7erikler y\xfckleniyor..."}),!ea&&(0,s.jsx)(i.A,{columnsClassName:"columns-1 md:columns-2 xl:columns-3",children:O.map(e=>(0,s.jsx)(r.A,{content:e},e._id||e.id))}),!ea&&0===O.length&&(0,s.jsx)("div",{className:"text-slate-500",children:"İ\xe7erik bulunamadı."})]}),"posts"===N&&(0,s.jsxs)("div",{className:"mt-6 grid grid-cols-1 gap-4 md:grid-cols-2",children:[ea&&(0,s.jsx)("div",{className:"col-span-full rounded-xl border border-slate-200 bg-white p-4 text-slate-500",children:"G\xf6nderiler y\xfckleniyor..."}),!ea&&z.map(e=>(0,s.jsxs)("div",{className:"rounded-[24px] border border-slate-200 bg-white p-5 shadow-sm",children:[(0,s.jsxs)("div",{className:"mb-3 flex items-center justify-between gap-3",children:[(0,s.jsx)("div",{className:"inline-flex rounded-full bg-slate-100 px-3 py-1 text-[11px] font-semibold uppercase tracking-wide text-slate-600",children:"group-
1post"===e.sourceType?"Grup G\xf6nderisi":"Profil G\xf6nderisi"}),e.group?.slug?(0,s.jsx)(x(),{href:`/group/${e.group.slug}`,className:"text-xs font-semibold text-sky-700 hover:text-sky-600",children:e.group.title}):null]}),(0,s.jsxs)("div",{className:"mb-2 flex items-center gap-2",children:[(0,s.jsx)(m.A,{src:e?.createdBy?.profilePicture,sx:{width:28,height:28,backgroundColor:"var(--color-surface-muted)"}}),(0,s.jsxs)("span",{className:"text-xs text-slate-600",children:["@",e?.createdBy?.username||"unknown"]})]}),(0,s.jsx)("p",{className:"line-clamp-3 text-sm text-slate-700",children:e.content}),Array.isArray(e.images)&&e.images[0]?(0,s.jsx)("div",{className:"relative mt-4 h-48 overflow-hidden rounded-2xl bg-slate-100",children:(0,s.jsx)(g(),{src:e.images[0],alt:e.content||"G\xf6nderi",fill:!0,sizes:"(max-width: 767px) calc(100vw - 2rem), 640px",className:"object-cover"})}):null]},`${e.sourceType||"profile-post"}-${e._id}`)),!ea&&0===z.length&&(0,s.jsx)("div",{className:"col-span-full text-slate-500",children:"G\xf6nderi bulunamadı."})]}),"stories"===N&&(0,s.jsxs)("div",{className:"mt-6 grid grid-cols-2 gap-4 md:grid-cols-4",children:[ea&&(0,s.jsx)("div",{className:"col-span-full rounded-xl border border-slate-200 bg-white p-4 text-slate-500",children:"Hikayeler y\xfckleniyor..."}),!ea&&D.map(e=>(0,s.jsxs)("div",{className:"rounded-xl border border-slate-200 bg-white p-2",children:[(0,s.jsx)("div",{className:"relative h-48 w-full overflow-hidden rounded-lg",children:(0,s.jsx)(g(),{src:e.mediaUrl||e.media,alt:e.caption||"Hikaye",fill:!0,sizes:"(max-width: 639px) calc(100vw - 2rem), 420px",className:"object-cover"})}),(0,s.jsx)("p",{className:"mt-2 line-clamp-2 text-xs text-slate-600",children:e.caption||"Hikaye"})]},e._id)),!ea&&0===D.length&&(0,s.jsx)("div",{className:"col-span-full text-slate-500",children:"Hikaye bulunamadı."})]}),et>1&&(0,s.jsxs)("div",{className:"mt-6 flex items-center justify-center gap-3",children:[(0,s.jsx)("button",{className:"btn btn-sm btn-dark",onClick:()=>"contents"===N?void E(e=>Math.max(1,e-1)):"posts"===N?void M(e=>Math.max(1,e-1)):void A(e=>Math.max(1,e-1)),disabled:ee<=1,children:"\xd6nceki"}),(0,s.jsxs)("span",{className:"rounded-full bg-slate-100 px-3 py-1 text-xs font-semibold text-slate-700",children:["Sayfa ",ee," / ",et]}),(0,s.jsx)("button",{className:"btn btn-sm btn-dark",onClick:()=>"contents"===N?void E(e=>Math.min(Y,e+1)):"posts"===N?void M(e=>Math.min(J,e+1)):void A(e=>Math.min(Q,e+1)),disabled:ee>=et,children:"Sonraki"})]})]})};j.getLayout=e=>(0,s.jsx)(n.A,{children:e});var N=!0;let $=j},72084:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/hashtag/[tag]",function(){return a(68268)}])},74359:(e,t,a)=>{"use strict";a.d(t,{I:()=>i});var s=a(13478),r=a(23836);function i(e,t){return(0,r.t)(e,s.$,t)}},79734:(e,t,a)=>{"use strict";function s(e){let t=Number(e||0),a=Number.isFinite(t)?Math.max(0,Math.floor(t)):0;return a>=1e9?`${(a/1e9).toFixed(1).replace(/\.0$/,"")}b`:a>=1e6?`${(a/1e6).toFixed(1).replace(/\.0$/,"")}m`:a>=1e3?`${(a/1e3).toFixed(1).replace(/\.0$/,"")}k`:a>=100?`${100*Math.floor(a/100)}+`:String(a)}a.d(t,{L:()=>s})},81744:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var s=a(14232);let r=s.forwardRef(function({title:e,titleId:t,...a},r){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},a),e?s.createElement("title",{id:t},e):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733-.715-1.607-2.377-2.733-4.313-2.733C5.1 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12Z"}))})},86987:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var s=a(37876),r=a(14232);let i=({children:e,className:t="",columnsClassName:a="columns-1 md:columns-2 xl:columns-3",itemClassName:i="mb-4 break-inside-avoid"})=>{let n=r.Children.toArray(e);return(0,s.jsx)("div",{className:`${a} [column-gap:1rem] ${t}`.trim(),children:n.map((e,t)=>(0,s.jsx)("div",{className:i,children:e},t))})}}},e=>{e.O(0,[4938,713,3753,1163,289,152,975,3514,1750,6220,4178,4296,6732,8908,636,6593,8792],()=>e(e.s=72084)),_N_E=e.O()}]);

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.