PageSourceSearch

https://www.buzztai.com/_app/immutable/nodes/17.4d9872f2.js

js buzztai.com collected 2026-10-04 19:49:54 UTC 7,478 bytes, 1 lines download raw bytes

1import{S as oe,i as ae,s as le,e as se,f as ie,g as fe,j as w,k as ce,n as $,r as d,D as q,q as u,v as M,E as P,c as h,b as k,m as D,C as K,u as b,a as N,G as I,d as G}from"../chunks/index.231124bd.js";import{D as ue,A}from"../chunks/DefaultMsg.97702428.js";import{P as C,m as ge}from"../chunks/functions.e20980f3.js";import{isBlacklisted as me,currentUserId as de}from"../chunks/auth.634866b7.js";import{L as pe}from"../chunks/LoadingSpiner.1acbedde.js";import{createClient as _e}from"../chunks/index.4a05f3bc.js";import{weeklyContent as R,monthlyContent as U,followingContent as Z}from"../chunks/article.093293bf.js";import{L as X}from"../chunks/LoadMoreBtn.0f464486.js";const we=!0,B=we;function he(s){let n,o;return n=new ue({props:{text:"フォローしたユーザーの公開記事を見ることができます。"}}),{c(){h(n.$$.fragment)},l(e){k(n.$$.fragment,e)},m(e,l){D(n,e,l),o=!0},p:K,i(e){o||(u(n.$$.fragment,e),o=!0)},o(e){d(n.$$.fragment,e),o=!1},d(e){b(n,e)}}}function ke(s){let n,o,e,l;n=new A({props:{records:s[5]}});let t=!s[3]&&H(s);return{c(){h(n.$$.fragment),o=N(),t&&t.c(),e=I()},l(r){k(n.$$.fragment,r),o=G(r),t&&t.l(r),e=I()},m(r,i){D(n,r,i),$(r,o,i),t&&t.m(r,i),$(r,e,i),l=!0},p(r,i){const f={};i&32&&(f.records=r[5]),n.$set(f),r[3]?t&&(P(),d(t,1,1,()=>{t=null}),q()):t?(t.p(r,i),i&8&&u(t,1)):(t=H(r),t.c(),u(t,1),t.m(e.parentNode,e))},i(r){l||(u(n.$$.fragment,r),u(t),l=!0)},o(r){d(n.$$.fragment,r),d(t),l=!1},d(r){b(n,r),r&&w(o),t&&t.d(r),r&&w(e)}}}function De(s){let n,o,e,l;n=new A({props:{records:s[6]}});let t=!s[2]&&Q(s);return{c(){h(n.$$.fragment),o=N(),t&&t.c(),e=I()},l(r){k(n.$$.fragment,r),o=G(r),t&&t.l(r),e=I()},m(r,i){D(n,r,i),$(r,o,i),t&&t.m(r,i),$(r,e,i),l=!0},p(r,i){const f={};i&64&&(f.records=r[6]),n.$set(f),r[2]?t&&(P(),d(t,1,1,()=>{t=null}),q()):t?(t.p(r,i),i&4&&u(t,1)):(t=Q(r),t.c(),u(t,1),t.m(e.parentNode,e))},i(r){l||(u(n.$$.fragment,r),u(t),l=!0)},o(r){d(n.$$.fragment,r),d(t),l=!1},d(r){b(n,r),r&&w(o),t&&t.d(r),r&&w(e)}}}function be(s){let n,o,e,l;n=new A({props:{records:s[7]}});let t=!s[1]&&T(s);return{c(){h(n.$$.fragment),o=N(),t&&t.c(),e=I()},l(r){k(n.$$.fragment,r),o=G(r),t&&t.l(r),e=I()},m(r,i){D(n,r,i),$(r,o,i),t&&t.m(r,i),$(r,e,i),l=!0},p(r,i){const f={};i&128&&(f.records=r[7]),n.$set(f),r[1]?t&&(P(),d(t,1,1,()=>{t=null}),q()):t?(t.p(r,i),i&2&&u(t,1)):(t=T(r),t.c(),u(t,1),t.m(e.parentNode,e))},i(r){l||(u(n.$$.fragment,r),u(t),l=!0)},o(r){d(n.$$.fragment,r),d(t),l=!1},d(r){b(n,r),r&&w(o),t&&t.d(r),r&&w(e)}}}function ye(s){let n,o;return n=new pe({}),{c(){h(n.$$.fragment)},l(e){k(n.$$.fragment,e)},m(e,l){D(n,e,l),o=!0},p:K,i(e){o||(u(n.$$.fragment,e),o=!0)},o(e){d(n.$$.fragment,e),o=!1},d(e){b(n,e)}}}function H(s){let n,o;return n=new X({props:{isLoading:s[4],clicked:s[10]}}),{c(){h(n.$$.fragment)},l(e){k(n.$$.fragment,e)},m(e,l){D(n,e,l),o=!0},p(e,l){const t={};l&16&&(t.isLoading=e[4]),n.$set(t)},i(e){o||(u(n.$$.fragment,e),o=!0)},o(e){d(n.$$.fragment,e),o=!1},d(e){b(n,e)}}}function Q(s){let n,o;return n=new X({props:{isLoading:s[4],clicked:s[9]}}),{c(){h(n.$$.fragment)},l(e){k(n.$$.fragment,e)},m(e,l){D(n,e,l),o=!0},p(e,l){const t={};l&16&&(t.isLoading=e[4]),n.$set(t)},i(e){o||(u(n.$$.fragment,e),o=!0)},o(e){d(n.$$.fragment,e),o=!1},d(e){b(n,e)}}}function T(s){let n,o;return n=new X({props:{isLoading:s[4],clicked:s[8]}}),{c(){h(n.$$.fragment)},l(e){k(n.$$.fragment,e)},m(e,l){D(n,e,l),o=!0},p(e,l){const t={};l&16&&(t.isLoading=e[4]),n.$set(t)},i(e){o||(u(n.$$.fragment,e),o=!0)},o(e){d(n.$$.fragment,e),o=!1},d(e){b(n,e)}}}function $e(s){let n,o,e,l;const t=[ye,be,De,ke,he],r=[];function i(f,m){return f[4]?0:f[0]===C.weekly&&f[7].length>0?1:f[0]===C.monthly&&f[6].length>0?2:f[0]===C.following&&f[5].length>0?3:4}return o=i(s),e=r[o]=t[o](s),{c(){n=se("div"),e.c(),this.h()},l(f){n=ie(f,"DIV",{class:!0});var m=fe(n);e.l(m),m.forEach(w),this.h()},h(){ce(n,"class","lg:h-full lg:overflow-y-auto space-y-6 pt-10 pb-16 print:hidden")},m(f,m){$(f,n,m),r[o].m(n,null),l=!0},p(f,[m]){let y=o;o=i(f),o===y?r[o].p(f,m):(P(),d(r[y],1,1,()=>{r[y]=null}),q(),e=r[o],e?e.p(f,m):(e=r[o]=t[o](f),e.c()),u(e,1),e.m(n,null))},i(f){l||(u(e),l=!0)},o(f){d(e),l=!1},d(f){f&&w(n),r[o].d()}}}function Me(s,n,o){let e,l,t,r,i,f;M(s,ge,a=>o(0,e=a)),M(s,Z,a=>o(5,l=a)),M(s,me,a=>
1o(15,t=a)),M(s,de,a=>o(16,r=a)),M(s,U,a=>o(6,i=a)),M(s,R,a=>o(7,f=a));const m=_e("https://zyxpbsesdfugjtdhwtqy.supabase.co","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Inp5eHBic2VzZGZ1Z2p0ZGh3dHF5Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2Njc2ODU2MzMsImV4cCI6MTk4MzI2MTYzM30.N8sVU9Gga4q1LOhaDnJyYPc6aqReUIWnAJ-aQiKp1fE");let y=[],F=9,S=9,j=9,Y=!1,z=!1,E=!1,_=!1;const v=async()=>{if(t)return;f.length===0&&o(4,_=!0);const a=new Date,g=new Date(a.getFullYear(),a.getMonth(),a.getDate()-7).toLocaleDateString("ja-JP"),p=new Date(a.getFullYear(),a.getMonth(),a.getDate()+2).toLocaleDateString("ja-JP"),c=await m.from("content").select("*, creator!inner(*)").gte("created_at",g).lte("created_at",p).eq("share",!0).order("likes",{ascending:!1}).range(0,F-1);c.error||(R.set(c==null?void 0:c.data),o(4,_=!1),(c==null?void 0:c.data.length)<10&&o(1,Y=!0)),o(4,_=!1)},x=async()=>{if(t)return;const a=new Date,g=new Date(a.getFullYear(),a.getMonth(),a.getDate()-7).toLocaleDateString("ja-JP"),p=new Date(a.getFullYear(),a.getMonth(),a.getDate()+1).toLocaleDateString("ja-JP"),c=await m.from("content").select("*, creator!inner(*)").gte("created_at",g).lte("created_at",p).eq("share",!0).order("likes",{ascending:!1}).range(F+1,F+10);if(!c.error){F+=10;const L=[...f,...c.data].filter((J,V,W)=>W.findIndex(O=>O.id===J.id)===V);R.set(L),c.data.length<10&&o(1,Y=!0)}},ee=async()=>{if(t)return;i.length===0&&o(4,_=!0);const a=new Date,g=new Date(a.getFullYear(),a.getMonth()-1,a.getDate()).toLocaleDateString("ja-JP"),p=new Date(a.getFullYear(),a.getMonth(),a.getDate()+2).toLocaleDateString("ja-JP"),c=await m.from("content").select("*, creator!inner(*)").gte("created_at",g).lte("created_at",p).eq("share",!0).order("likes",{ascending:!1}).range(0,S);c.error||(U.set(c.data),o(4,_=!1),c.data.length<10&&o(2,z=!0)),o(4,_=!1)},te=async()=>{if(t)return;const a=new Date,g=new Date(a.getFullYear(),a.getMonth()-1,a.getDate()).toLocaleDateString("ja-JP"),p=new Date(a.getFullYear(),a.getMonth(),a.getDate()+1).toLocaleDateString("ja-JP"),c=await m.from("content").select("*, creator!inner(*)").gte("created_at",g).lte("created_at",p).eq("share",!0).order("likes",{ascending:!1}).range(S+1,S+10);if(!c.error){S+=10;const L=[...i,...c.data].filter((J,V,W)=>W.findIndex(O=>O.id===J.id)===V);U.set(L),c.data.length<10&&o(2,z=!0)}},ne=async()=>{if(t)return;l.length===0&&o(4,_=!0);const a=await m.from("follow").select("reciever",{count:"exact"}).eq("sender",r);a!=null&&a.error||(y=a.data.map(p=>p.reciever));const g=await m.from("content").select("*, creator!inner(*)").in("creator",y).eq("share",!0).range(0,j);g!=null&&g.error||(Z.set(g.data),o(4,_=!1),(g==null?void 0:g.data.length)<10&&o(3,E=!0)),o(4,_=!1)},re=async()=>{if(t)return;const a=await m.from("content").select("*, creator!inner(*)").in("creator",y).eq("share",!0).range(j+1,j+10);if(!a.error){j+=10;const g=[...l,...a.data].filter((p,c,L)=>L.findIndex(J=>J.id===p.id)===c);Z.set(g),a.data.length<10&&o(3,E=!0)}};return s.$$.update=()=>{s.$$.dirty&1&&e===C.weekly&&B&&v(),s.$$.dirty&1&&e===C.monthly&&B&&ee(),s.$$.dirty&1&&e===C.following&&B&&ne()},[e,Y,z,E,_,l,i,f,x,te,re]}class Pe extends oe{constructor(n){super(),ae(this,n,Me,$e,le,{})}}export{Pe as component};

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.