PageSourceSearch

https://watt-pad.ru/build/assets/Index-Ds3NSqYU.js

js watt-pad.ru collected 2026-10-06 00:38:38 UTC 2,249 bytes, 1 lines download raw bytes

1import{j as e,A as i,x as d}from"./app-czPFo12y.js";import{M as g}from"./Footer-wPZ09Ppw.js";import{B as c}from"./BaseLayout-CPRbZouk.js";import{S as b}from"./SitePostList-BqOrzYEM.js";import{i as p,a as h}from"./laravelPagination-BzXqYh33.js";import{C as u}from"./chevron-left-BebPpUa5.js";import{C as y}from"./chevron-right-hj2-TUZX.js";import"./pin-BAJXDX5X.js";function _({heading:n,pinned:o=[],topics:a={data:[],current_page:1,last_page:1,per_page:15,total:0},meta:x}){const s=Array.isArray(a.links)?a.links:[];return e.jsxs(e.Fragment,{children:[e.jsx(g,{meta:x}),e.jsx(c,{children:e.jsx("main",{className:"py-8 lg:px-10",children:e.jsxs("div",{className:"container max-w-3xl",children:[e.jsxs("header",{className:"mb-8 space-y-2",children:[e.jsx("h1",{className:"text-2xl lg:text-3xl font-semibold text-gray-900 dark:text-gray-100",children:n}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:"Выберите тему и оставьте комментарий с идеей или вопросом"})]}),e.jsx(b,{pinned:o,items:a,itemRoute:r=>route("feedback.show",r),pinnedTitle:"Закреплённые",listTitle:"Темы"}),a.last_page>1&&s.length>0&&e.jsx("nav",{className:"mt-8 flex flex-wrap justify-center gap-2","aria-label":"Страницы",children:s.map((r,l)=>{if(!r.url)return null;const t=p(r.label),m=h(r.label);return t||m?e.jsx("button",{type:"button",onClick:()=>i.visit(r.url),className:"px-3 py-1 text-sm rounded-lg border border-gray-200 dark:border-gray-600 hover:bg-gray-50 dark:hover:bg-gray-700","aria-label":t?"Предыдущая страница":"Следующая страница",children:t?e.jsx(u,{className:"w-4 h-4"}):e.jsx(y,{className:"w-4 h-4"})},l):e.jsx("button",{type:"button",onClick:()=>i.visit(r.url),className:`px-3 py-1 text-sm rounded-lg border ${r.active?"bg-orangie border-orangie text-white":"border-gray-200 dark:border-gray-600 hover:bg-gray-50 dark:hover:bg-gray-700"}`,dangerouslySetInnerHTML:{__html:r.label}},l)})}),e.jsx("p",{className:"mt-8 text-center text-sm",children:e.jsx(d,{href:route("updates.index"),className:"text-blue-600 dark:text-blue-400 hover:underline",children:"Обновления сайта"})})]})})})]})}export{_ 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.