PageSourceSearch

https://www.kartanarusheniy.org/_next/static/chunks/pages/index-ac1384dd4d34ac4f.js

js kartanarusheniy.org collected 2026-10-02 04:55:00 UTC 5,383 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{8312:function(e,n,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return s(9970)}])},9266:function(e,n,s){"use strict";var i=s(5893),r=s(9539),t=s(3131),a=s(112),l=s(7294),o=s(5466);n.Z=function(e){e.isFetching;var n=e.messages,s=e.pagination,c=e.form,u=(0,l.useState)(!0),d=u[0],m=u[1];return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.T,{h:"lg"}),(0,i.jsxs)(t.Z,{children:[(0,i.jsxs)(a.x,{weight:"bold",children:["\u041d\u0430\u0439\u0434\u0435\u043d\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439: ",n._count._all]}),(0,i.jsx)(r.T,{h:"xl"}),(0,i.jsxs)(a.x,{color:"#b8083e",style:{cursor:"pointer"},onClick:function(){return m(!d)},children:[d?"\u0420\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c":"\u0421\u0432\u0435\u0440\u043d\u0443\u0442\u044c"," \u0432\u0441\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f"]})]}),n.data.map((function(e){return(0,i.jsx)(o.Z,{message:e,full:!d,setFieldValue:c.setFieldValue},e.id)})),s]})}},9970:function(e,n,s){"use strict";s.r(n),s.d(n,{default:function(){return D}});var i=s(5893),r=s(9008),t=s.n(r),a=s(1314),l=s(9539),o=s(9967),c=s(7095),u=s(5152),d=s.n(u)()((function(){return Promise.all([s.e(269),s.e(257),s.e(864)]).then(s.bind(s,2311))}),{loadableGenerated:{webpack:function(){return[2311]}},ssr:!1}),m=function(e){var n=e.messages,s=e.form;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.T,{h:"sm"}),(0,i.jsx)(o.Z,{children:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(d,{markers:n.coordinates,form:s}),(0,i.jsx)(c.Z,{secondary:!0,href:"/messages",style:{display:"inline-block",width:"initial",margin:"40px 20px"},children:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f"})]})})]})},h=s(6366),x=s(7294),g=s(9266),j=s(2416),f=s(1455),p=s(1664),_=s.n(p),b=s(2464),v=s(1799),F=s(3131),Z=s(112),k=s(4325),w=s(6269),M=s(8233),N=s(8852),y=s(1465),E=s(3148),P=s(892),T=s(3471),z=s(9669),C=s.n(z),S=s(1604),V=S.z.object({region_id:S.z.string().min(1,{message:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043e\u043d"}).transform(Number),email:S.z.string().email("\u0412\u043f\u0438\u0448\u0438\u0442\u0435 \u0432\u0430\u0448 e-mail")}),Y=function(){var e=(0,E.c)({schema:(0,P.F)(V),initialValues:{region_id:null,email:""}}),n=e.onSubmit((function(e){s.mutate(e)})),s=(0,T.useMutation)((function(e){return C().post("/api/subscribe",V.parse(e))}));return(0,i.jsx)(o.Z,{className:"important__block",children:(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("form",{onSubmit:n,children:(0,i.jsxs)(F.Z,{children:[(0,i.jsx)(Z.x,{children:"\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0430 \u043d\u0430 \u043d\u043e\u0432\u044b\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0432 \u0440\u0435\u0433\u0438\u043e\u043d\u0435"}),s.isSuccess?(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(k.P,{onClose:function(){s.reset(),e.reset()},children:["\u0421\u043f\u0430\u0441\u0438\u0431\u043e! ",e.values.email," \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e \u043d\u043e\u0432\u044b\u0445 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u0445."]})}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(w.Ph,(0,v.Z)({searchable:!0,clearable:!0,data:y.KM.VO.sort((function(e,n){return e.auto_code-n.auto_code})).sort((function(e,n){return n.priority-e.priority})).map((function(e){return{value:"".concat(e.id),label:e.name}}))},e.getInputProps("region_id"))),(0,i.jsx)(M.o,(0,v.Z)({placeholder:"e-mail"},e.getInputProps("email"))),(0,i.jsx)(N.z,{color:"blue",variant:"light",type:"submit",children:"\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f"})]})]})})})})},O=function(e){var n,s=e.importantMessages,r=e.messages,a=e.isFetching,c=e.pagination,u=e.form;return(0,i.jsxs)("div",{children:[(0,i.jsx)(t(),{children:(0,i.jsx)("title",{children:"\u041a\u0430\u0440\u0442\u0430 \u043d\u0430\u0440\u0443\u0448\u0435\u043d\u0438\u0439 \u043d\u0430 \u0432\u044b\u0431\u043e\u0440\u0430\u0445"})}),r.coordinates&&!u.values.ids.length?(0,i.jsx)(m,{messages:r,form:u}):(0,i.jsx)(g.Z,{messages:r,isFetching:a,pagination:c,form:u}),(0,i.jsx)(l.T,{h:"lg"}),(0,i.jsx)(Y,{}),(0,i.jsx)(l.T,{h:"lg"}),(null===(n=s.data)||void 0===n?void 0:n.length)>0&&(0,i.jsx)(o.Z,{className:"important__block",children:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"important__block__title",children:"\u0412\u044b\u0431\u043e\u0440 \u044d\u043a\u0441\u043f\u0435\u0440\u0442\u043e\u0432 "}),(0,i.jsx)(j.r,{columns:2,children:s.data.map((function(e){return(0,i.jsxs)(j.r.Col,{span:2,sm:1,children:[(0,i.jsx)("div",{children:(0,b.Z)(e.created_at).tz("Europe/Moscow").format("DD MMMM YYYY, HH:mm")}
1),(0,i.jsx)("div",{children:(0,i.jsx)(_(),{href:f.Z.messagesShow(e.id),children:(0,i.jsx)("a",{className:"important__link",children:e.name})})})]},e.id)}))})]})})]})};O.getLayout=function(e){return(0,i.jsx)(h.Z,{children:(0,i.jsx)(a.Z,{children:function(n){var s=n.importantMessages,i=n.messages,r=n.isFetching,t=n.pagination,a=n.form;return x.cloneElement(e,{importantMessages:s,messages:i,isFetching:r,pagination:t,form:a})}})})};var D=O}},function(e){e.O(0,[687,393,498,446,71,314,466,774,888,179],(function(){return n=8312,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

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.