PageSourceSearch

https://bankrot.gov.by/assets/News-B0GZGHTZ.js

js bankrot.gov.by collected 2026-10-02 03:58:59 UTC 5,662 bytes, 1 lines download raw bytes

1import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{r as i,R as S,N as E}from"./createLucideIcon-CiWnlb16.js";import{d as M,c as y,E as V,N as D}from"./addLoader-p8WLB-bt.js";import{c as h,d as T,e as o,bU as R,bV as I,bW as B,bX as F,bY as O,bZ as A,b_ as $,b$ as k,bb as G,c0 as W,c1 as q,c2 as U,L as X,A as Y,aa as Z,c3 as N,c4 as _,c5 as w}from"./loginCallback-DUlVA6A0.js";import{T as J}from"./TextInput-D56ByitK.js";import{B as K}from"./index-CQOuJFSK.js";import{P as Q}from"./PageTitle-BqRYU3UK.js";import{d as ee}from"./decodeHtml-lNODPKcZ.js";import{N as c,c as C}from"./convertNewsCategory-vl7eF2yW.js";import{P as se}from"./PagePaginate-DJM1JnFh.js";import{G as te}from"./Gavel-V12tjGNE.js";import"./config.release-CKeoGYk7.js";const ae=h(i.createElement("path",{d:"M20 8h-2.81c-.45-.78-1.07-1.45-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5c-.49 0-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-6 8h-4v-2h4v2zm0-4h-4v-2h4v2z"})),ce=h(i.createElement("path",{d:"M20 2H4c-1.11 0-2 .89-2 2v11c0 1.11.89 2 2 2h4v5l4-2 4 2v-5h4c1.11 0 2-.89 2-2V4c0-1.11-.89-2-2-2zm0 13H4v-2h16v2zm0-5H4V4h16v6z"})),le=h(S.createElement("path",{transform:"scale(0.5, 0.5)",d:"M42 6H6c-2.2 0-4 1.8-4 4v6h4v-6h36v28H28v4h14c2.2 0 4-1.8 4-4V10c0-2.2-1.8-4-4-4zM2 36v6h6c0-3.32-2.68-6-6-6zm0-8v4c5.52 0 10 4.48 10 10h4c0-7.74-6.26-14-14-14zm0-8v4c9.94 0 18 8.06 18 18h4c0-12.16-9.86-22-22-22zm20 2.18v4L29 30l7-3.82v-4L29 26l-7-3.82zM29 12l-11 6 11 6 11-6-11-6z"})),ne=h(i.createElement("path",{d:"M17 10H7v2h10v-2zm2-7h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zm-5-5H7v2h7v-2z"})),re=h(i.createElement("path",{d:"M23 12l-2.44-2.78.34-3.68-3.61-.82-1.89-3.18L12 3 8.6 1.54 6.71 4.72l-3.61.81.34 3.68L1 12l2.44 2.78-.34 3.69 3.61.82 1.89 3.18L12 21l3.4 1.46 1.89-3.18 3.61-.82-.34-3.68L23 12zm-10 5h-2v-2h2v2zm0-4h-2V7h2v6z"})),oe=h(i.createElement("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"})),b=Object.values(c).filter(l=>typeof l=="number").map(l=>({value:l,label:C(l)}));function we(){const[l,p]=i.useState(!1),r=T(),f=o(R),t=o(I),z=o(B),g=o(F),d=o(O),H=o(A),x=o($),v=async(s=t)=>{r(_(s))};i.useEffect(()=>{f.length||v()},[]);const u=()=>p(!l),P=async s=>{s.preventDefault();const n={...t,pagination:{...t.pagination,offset:0}};r(w(0)),r(N(1)),await v(n)},L=async s=>{const n={...t,pagination:s};r(w(s.offset)),await v(n)},j=g?Math.ceil(g/d):0;return e.jsx(M,{type:"section",children:e.jsxs("div",{className:"page-wrapper",children:[e.jsx(y,{type:"div",className:"page-panel-filters",toggle:l,handleShowFilters:u,children:e.jsxs("form",{onSubmit:P,className:"page-form",children:[e.jsx(J,{label:"Заголовок",placeholder:"Введите заголовок",value:t.filters.title,onChange:s=>r(k(s.target.value))}),e.jsx(G,{label:"Дата",dateFormat:"dd.MM.yyyy",startDate:t.filters.date.from?new Date(t.filters.date.from):null,endDate:t.filters.date.to?new Date(t.filters.date.to):null,selectsRange:!0,onChange:s=>{const[n,m]=s;r(W({from:n?n.toISOString():"",to:m?m.toISOString():""}))}}),e.jsxs("div",{className:"select-wrapper",children:[e.jsx("label",{children:"Категория"}),e.jsx(q,{options:b,onChange:s=>r(U(s?s.value:null)),value:b.find(s=>
1s.value===t.filters.category),placeholder:"Все категории",isClearable:!0,styles:{control:s=>({...s,borderColor:"#e2e8f0","&:hover":{borderColor:"#a0aec0"}})}})]}),e.jsx(K,{type:"submit",value:"Найти",className:"page-filters-button"})]})}),x?e.jsx(V,{...x}):e.jsx(e.Fragment,{children:H?e.jsx(X,{text:"Загрузка..."}):e.jsxs("div",{className:"page-content",children:[e.jsx(D,{toggle:l,setToggle:p,handleShowFilters:u}),e.jsx("div",{className:"flex justify-between items-center pl-5 pr-5",children:e.jsx(Q,{title:"Новости"})}),e.jsx("div",{className:"news-list",children:f.map(({id:s,date:n,title:m,category:a})=>e.jsxs(E,{to:`/news/${s}`,className:"news-card",children:[e.jsxs("div",{className:"news-card-icon",children:[a===c.Events&&e.jsx(ne,{}),a===c.Certification&&e.jsx(ce,{}),a===c.Legislation&&e.jsx(te,{}),a===c.Training&&e.jsx(le,{}),a===c.BankruptcyIssues&&e.jsx(Y,{}),a===c.PressReview&&e.jsx(re,{}),a===c.TechnicalIssues&&e.jsx(ae,{}),a===c.Services&&e.jsx(oe,{})]}),e.jsxs("div",{className:"news-card-content",children:[e.jsxs("div",{className:"news-card-header",children:[e.jsx("span",{className:`news-badge category-${a}`,children:C(a)}),e.jsx("span",{className:"news-date",children:Z(n)})]}),e.jsx("h3",{className:"news-title",children:ee(m)}),e.jsx("div",{className:"news-footer",children:"Подробнее →"})]})]},s))}),j>1&&e.jsx("div",{className:"p-5 flex justify-end",children:e.jsx(se,{currentPage:z,setCurrentPage:N,offset:d,request:L,count:d,totalPages:j})})]})})]})})}export{we 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.