1import{j as e,H as h,F as p,aX as u,T as c,a$ as j,t as g,aU as y,q as f}from"./app-CQDOLSaW.js";import{C as v}from"./index-rfEcqnii.js";import"./DefaultLayout-BmSOr64O.js";import"./AccountEmailWarning-DBMhECNQ.js";const b=[{value:"started_desc",label:"é嬿¥éé "},{value:"started_asc",label:"é嬿¥æé "},{value:"created_desc",label:"æ°çé "}];function w(o){const{auth:i,organizer:s,nav:m,reports:t,sort:r}=o,n=a=>{const l=new URLSearchParams;a&&l.set("sort",a);const d=l.toString();return`/community/${s.url_path}/report${d?`?${d}`:""}`},x=a=>{f.get(n(a.target.value))};return e.jsxs(v,{organizer:s,nav:m,activeTab:"report",auth:i,children:[e.jsx(h,{title:`${s.name}ã®è³æ`,description:`${s.name}ã主å¬ããã¤ãã³ãã®è³æä¸è¦§ã§ãã`}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsxs("h1",{className:"text-xl font-bold",children:[s.name," ã®è³æ"]}),e.jsxs("p",{className:"text-sm text-gray-600 mt-1",children:["å
¨",t.meta.total,"ä»¶"]})]}),e.jsxs("div",{className:"md:hidden flex items-center justify-end gap-1 text-sm text-blue-600",children:[e.jsx(p,{icon:u}),e.jsx("select",{value:r,onChange:x,className:"bg-transparent border-none text-blue-600 font-medium focus:outline-none cursor-pointer",children:b.map(a=>e.jsx("option",{value:a.value,children:a.label},a.value))})]}),e.jsxs("div",{className:"hidden md:flex flex-wrap items-center justify-end gap-1 text-sm text-gray-600",children:[e.jsx("span",{children:"並ã³é ï¼"}),r==="started_desc"?e.jsx("span",{className:"text-gray-900",children:"é嬿¥éé "}):e.jsx(c,{href:n("started_desc"),variant:"primary",children:"é嬿¥éé "}),e.jsx("span",{className:"text-gray-400",children:"|"}),r==="started_asc"?e.jsx("span",{className:"text-gray-900",children:"é嬿¥æé "}):e.jsx(c,{href:n("started_asc"),variant:"primary",children:"é嬿¥æé "}),e.jsx("span",{className:"text-gray-400",children:"|"}),r==="created_desc"?e.jsx("span",{className:"text-gray-900",children:"æ°çé "}):e.jsx(c,{href:n("created_desc"),variant:"primary",children:"æ°çé "})]}),e.jsx("div",{className:"space-y-4 max-w-xl mx-auto lg:max-w-none",children:t.data.map(a=>e.jsx(j,{report:a,bookmark:{auth:i,data:{enabled:a.bookmarked??!1},onClickCallback:async l=>await g({content:"reports",contentId:a.id,enabled:l})}},a.id))}),t.meta.last_page>1&&e.jsx("div",{className:"my-8 flex justify-center",children:e.jsx(y,{paginate:t.meta})})]})]})}export{w 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.