PageSourceSearch

https://proobruch.ru/assets/LegalDocumentPage-BLzFAj1f.js

js proobruch.ru collected 2026-10-09 22:39:26 UTC 3,718 bytes, 1 lines download raw bytes

1import{o as h,r as x,j as e,q as p,$ as g,S as j,T as f,a$ as u}from"./vendor-0v--kTIY.js";import{e as l,A as y,w,S as v,P as S,a as N,C as D}from"./index-D44GA20K.js";import{S as E}from"./SiteOwnerDetails-D27HiFGT.js";const{Title:c,Text:n}=f,m="owner-details",B=({document:t})=>{const{hash:a}=h(),i=t.path===l.privacy||t.path===l.cookies||t.path===l.consent||t.path===l.terms||t.path===l.offer||t.path===l.refund;x.useEffect(()=>{if(!a){window.scrollTo({top:0});return}const s=window.document.getElementById(decodeURIComponent(a.slice(1)));s==null||s.scrollIntoView({behavior:"smooth",block:"start"})},[a,t.path]);const r=t.ownerDetailKeys?y(t.ownerDetailKeys):null,d=t.draft||r!==null,o=[Object.values(v).some(s=>s===null)?`«${w}»`:null,null].filter(Boolean).join(" или ");return e.jsxs(S,{width:"medium",children:[e.jsx(N,{title:t.title,subtitle:t.subtitle,subtitleSize:t.compactHeader?13:void 0}),d&&e.jsx(p,{type:"warning",showIcon:!0,className:i?"legal-policy-draft":void 0,style:{marginBottom:24},message:"Черновик документа",description:e.jsxs("span",{style:{fontSize:16},children:["Текст ещё не утверждён и может измениться."," ",r&&e.jsxs(e.Fragment,{children:["Часть реквизитов владельца сайта ещё не окончательная (",r,") — такие места помечены"," ",o.includes(" или ")?"словами":"словом"," ",o,"."," "]}),i?"Дата указана для текущей редакции; перед размещением на основном сайте её нужно проверить.":"Мы опубликуем окончательную редакцию с точной датой вступления в силу."]})}),i?e.jsx("div",{className:"legal-policy-meta",style:t.compactHeader?{fontSize:13}:void 0,children:e.jsxs("p",{children:["Дата публикации текущей редакции: ",t.effectiveDate??"будет указана после публикации"]})}):e.jsx(g,{style:{marginBottom:24},children:e.jsxs(j,{direction:"vertical",size:4,style:{width:"100%"},children:[e.jsxs(n,{style:{fontSize:16},children:[e.jsx(n,{strong:!0,children:"Редакция:"})," ",t.revision]}),e.jsxs(n,{style:{fontSize:16},children:[e.jsx(n,{strong:!0,children:"Дата вступления в силу:"})," ",t.effectiveDate??e.jsx(D,{children:"уточняется"})]})]})}),e.jsxs("div",{className:i?"legal-text legal-text-compact":"legal-text",children:[t.intro,!i&&t.sections.length>1&&e.jsxs("nav",{"aria-label":"Содержание документа",className:"legal-toc",style:{margin:i?"16px 0":"24px 0"},children:[e.jsx(n,{strong:!0,style:{display:"block",fontSize:17,marginBottom:8},children:"Содержание"}),e.jsxs("ul",{children:[t.sections.map(s=>e.jsx("li",{children:e.jsx("a",{href:`#${s.id}`,children:s.title})},s.id)),e.jsx("li",{children:e.jsx("a",{href:`#${m}`,children:"Реквизиты владельца сайта"})})]})]}),t.sections.map(s=>e.jsxs("section",{id:s.id,className:"legal-section",style:{marginTop:i?22:32},children:[e.jsx(c,{level:2,style:{fontSize:i?18:22,marginBottom:i?8:12},children:s.title}),s.content]},s.id)),!i&&e.jsxs(e.Fragment,{children:[e.jsx(u,{}),e.jsxs("section",{id:m,className:"legal-section",style:{marginTop:32},children:[e.jsx(c,{level:2,style:{fontSize:22,marginBottom:12},children:"Реквизиты владельца сайта"}),e.jsx(E,{title:null,footer:"Все обращения по этому документу принимаются по указанному адресу электронной почты."})]})]})]})]})};export{B as LegalDocumentPage,B 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.