PageSourceSearch

https://www.msp.gov.ua/_next/static/chunks/1391.785851f514755a96.js

js msp.gov.ua collected 2026-10-02 02:47:37 UTC 9,616 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1391],{85130:function(e,t,l){l.d(t,{Z:function(){return r}});var n=l(85893);function r(e){let{className:t,size:l=24,color:r="black"}=e;return(0,n.jsx)("svg",{className:t,width:l,height:l,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{className:"fill-current",fillRule:"evenodd",clipRule:"evenodd",d:"M12.287 2.0625L22.6995 12.0018L12.3287 21.9012L11.0323 20.6638L19.1949 12.8722L1.91406 12.8369L1.91798 11.087L19.1854 11.1222L10.9906 3.29994L12.287 2.0625Z",fill:""})})}l(67294)},8065:function(e,t,l){l.d(t,{Z:function(){return r}});var n=l(85893);function r(e){let{className:t,size:l=24}=e;return(0,n.jsx)("svg",{className:t,width:l,height:l,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{className:"fill-current",fillRule:"evenodd",clipRule:"evenodd",d:"M5.17853 4.76971L19.5694 4.43511L19.2361 18.7683L17.4444 18.81L17.7068 7.5287L5.4624 19.7231L4.22777 18.483L16.4626 6.29801L5.13685 6.5614L5.17853 4.76971Z",fill:""})})}l(67294)},74993:function(e,t,l){l.d(t,{Z:function(){return r}});var n=l(85893);function r(e){let{className:t,size:l=24}=e;return(0,n.jsxs)("svg",{className:t,width:l,height:l,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{className:"stroke-current",d:"M12.7344 10.2726L20.0055 3.00098",stroke:"",strokeWidth:"1.60002",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{className:"stroke-current",d:"M20.0044 8.81831L20.0035 3.00189L14.1875 3.00098",stroke:"",strokeWidth:"1.60002",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{className:"stroke-current",d:"M17.0919 12.0901V18.271C17.0919 18.4639 17.0153 18.6488 16.8789 18.7852C16.7425 18.9216 16.5576 18.9982 16.3648 18.9982H4.73102C4.53817 18.9982 4.35323 18.9216 4.21687 18.7852C4.08051 18.6488 4.00391 18.4639 4.00391 18.271V6.63635C4.00391 6.44349 4.08051 6.25853 4.21687 6.12216C4.35323 5.98579 4.53817 5.90918 4.73102 5.90918H10.9114",stroke:"",strokeWidth:"1.60002",strokeLinecap:"round",strokeLinejoin:"round"})]})}l(67294)},21391:function(e,t,l){l.r(t),l.d(t,{default:function(){return p}});var n=l(85893),r=l(67294),i=l(16887),a=l(98388),s=l(33582),o=l(8065),c=l(74993),d=l(27742);function u(e){var t,l;let{item:r,flexDirection:i,backgroundColor:u,titleFontSize:h,contentPadding:m,titleLineClamp:g,contentLineClamp:x,hideDate:f,imgPriority:v}=e;return(0,n.jsx)("div",{className:(0,d.cn)("flex flex-col bg-white rounded-20 overflow-hidden h-full","row"===i&&"md:flex-row","gray"===u&&"bg-block","inactive"===u&&"bg-inactive"),"data-tags":null===(t=r.tags)||void 0===t?void 0:t.join(" "),role:"listitem","aria-label":r.title,children:(0,n.jsxs)("div",{className:(0,d.cn)("flex flex-col flex-1 gap-4 p-4","32/16"===m&&"lg:p-6 2xl:p-8","24/16"===m&&"lg:p-6","16/16"===m&&"p-4","row"===i&&""),children:[(0,n.jsxs)(s.Z,{href:r.link||"",className:(0,d.cn)("group flex gap-2 text-xl lg:text-2xl hover:underline","28/16"===h&&"text-base lg:text-2xl 2xl:text-[1.75rem] leading-tight lg:mb-2","24/20"===h&&"text-xl lg:text-2xl","24/18"===h&&"text-lg lg:text-2xl","18/16"===h&&"text-base lg:text-lg"),ariaLabel:r.title,children:[(0,n.jsx)("p",{className:(0,a.m6)("line-clamp-3 lg:max-w-[calc(100%-2rem)] w-full break-words"),title:r.title,children:r.title}),(null===(l=r.link)||void 0===l?void 0:l.startsWith("http"))?(0,n.jsx)(c.Z,{className:"opacity-0 group-hover:opacity-100 max-lg:hidden"}):(0,n.jsx)(o.Z,{className:"opacity-0 group-hover:opacity-100 max-lg:hidden"})]}),r.description&&(0,n.jsx)("p",{className:(0,a.m6)("max-lg:text-sm font-light line-clamp-5","6/6"===x&&"line-clamp-6"),children:r.description})]})})}var h=l(95364),m=l(2195),g=l(97248),x=l(33359);let f=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"tag";return e.filter(e=>e.option_type===t)};var v=l(61721);function p(e){let{title:t,css_id:l,cards:a,settings:s,group_id:o,displayed_items_per_block:c=6}=e,{tags:d}=(0,x.m)(),{t:p}=(0,i.$G)("common"),[b,w]=(0,r.useState)(!1),{registerBlock:j,unregisterBlock:N,groups:L}=(0,v.a)(),k=l||t||Math.random().toString(),_=o||"default",y=f(d,"tag"),C=y.length>0?y:d,E=C.filter(e=>e.has_priority),Z=C.filter(e=>!e.has_priority),T=e=>null==e?null:String(e),M=(e,t)=>{var l;if(0===t.length)return!0;let n=new Set;
1return t.forEach(e=>{var t,l;let r=T(null!==(t=e.id)&&void 0!==t?t:null),i=T(null!==(l=e.value)&&void 0!==l?l:null);r&&n.add(r),i&&n.add(i)}),null===(l=e.tags)||void 0===l?void 0:l.some(e=>{var t,l;let r=T(null!==(t=e.id)&&void 0!==t?t:null),i=T(null!==(l=e.value)&&void 0!==l?l:null);return r&&n.has(r)||i&&n.has(i)})},O=a;E.length>0?O=a.filter(e=>{let t=M(e,E),l=M(e,Z);return t&&l}):Z.length>0&&(O=a.filter(e=>M(e,Z)));let R=C.length>0?O.filter((e,t,l)=>{var n;let r=null===(n=e.title)||void 0===n?void 0:n.toLowerCase().trim();return void 0===r||l.findIndex(e=>{var t;return(null===(t=e.title)||void 0===t?void 0:t.toLowerCase().trim())===r})===t}):O,G=R.length>0;(0,r.useEffect)(()=>(j(_,k,G),()=>N(_,k)),[_,k,G]);let I=L[_]||{},W=Object.keys(I),B=Object.values(I),H=W.length>0&&B.every(e=>!1===e),A=W[0]===k;if(H&&A)return(0,n.jsx)(m.Z,{id:l,settings:{...s,title:void 0,title_component:void 0},children:(0,n.jsx)(g.Z,{text:p("empty_search_short_desc")})});if(!G)return null;let D=C.length>0?R:b?R:R.slice(0,c),S=0===C.length&&R.length>c;return(0,n.jsxs)(m.Z,{id:l,settings:s,children:[(0,n.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 md:col-span-2",role:"list","aria-label":(null==s?void 0:s.title)||t||"",children:D.map(e=>(0,n.jsx)(u,{item:e,backgroundColor:"gray",contentPadding:"32/16"},e.id))}),S&&(0,n.jsx)("div",{className:"flex justify-center mt-[40px]",children:(0,n.jsx)(h.z,{type:"button",onClick:()=>w(e=>!e),"aria-label":p(b?"show_less_button":"show_more_button"),children:p(b?"show_less_button":"show_more_button")})})]})}},97248:function(e,t,l){var n=l(85893),r=l(67294),i=l(16887);t.Z=e=>{let{focus:t=!0,text:l,hideTitle:a}=e,{t:s}=(0,i.$G)("common"),o=(0,r.useRef)(null);return(0,r.useEffect)(()=>{o.current&&t&&o.current.focus()},[]),(0,n.jsxs)("section",{role:"alert","aria-live":"assertive",className:"pb-16 max-w-[40rem]",children:[(0,n.jsx)("span",{className:"text-5xl",children:"\uD83E\uDD37"}),!a&&(0,n.jsx)("h3",{ref:o,className:"h3 mt-6 mb-4",id:"aria-live-message","aria-live":"assertive",tabIndex:-1,children:s("empty_search_title")}),(0,n.jsx)("p",{className:"text-lg md:text-xl",children:l||s("empty_search_desc")})]})}},33582:function(e,t,l){var n=l(85893);l(67294);var r=l(41664),i=l.n(r),a=l(16887);t.Z=e=>{let{href:t,children:l,ariaLabel:r,className:s,onClick:o,...c}=e,{t:d}=(0,a.$G)("common");return/^http/.test(t)?(0,n.jsx)("a",{href:t,className:s,target:"_blank",rel:"noopener noreferrer",onClick:o,"aria-label":"".concat(r," (").concat(d("new_tab_will_open"),")"),...c,children:l}):(0,n.jsx)(i(),{href:t,className:s,onClick:o,...c,children:l})}},2195:function(e,t,l){l.d(t,{Z:function(){return g}});var n=l(85893);l(67294);var r=l(55915),i=l(9003),a=l(41664),s=l.n(a),o=l(85130),c=l(14263),d=l(39846),u=l(95364),h=l(98388),m=l(27742);function g(e){let{id:t,children:l,settings:a}=e,{title:g,title_component:x,background_color:f,button:v,button_position:p,wrap_content:b,disable_padding:w,disable_margin:j}=a||{},N=f?(0,d.Z)(f):"",L=!f||"bg-white"===N,k=x||"h2";return(0,n.jsx)("section",{id:t,className:(0,m.cn)(a&&!w&&(b?"py-8 md:py-20":"mb-8 md:mb-20"),w&&!j&&"mb-6 md:mb-10",j&&"mb-0 md:mb-0",!a&&"mb-8 md:mb-20",!L&&!b&&"px-4 py-6 rounded",N,e.sectionClassName),children:(0,n.jsxs)(r.default,{fullWidth:!b,className:"grid grid-cols-1 md:grid-cols-[1fr_auto] items-center gap-6 md:gap-10",children:[g&&(0,n.jsx)(k,{className:(0,h.m6)("max-md:mb-2","h2"===k&&"h2","h3"===k&&"h3"),children:g}),v&&p===i.Wm.INLINE&&(0,n.jsx)("div",{className:"max-md:order-1 md:text-right",children:(0,n.jsxs)(s(),{href:(0,c.Rg)(v.link),className:"inline-flex items-center gap-4 hover:underline",children:[v.label,(0,n.jsx)(o.Z,{})]})}),(0,n.jsx)("div",{className:"md:col-span-2",children:l}),v&&p===i.Wm.BOTTOM&&(0,n.jsx)("div",{className:"",children:(0,n.jsx)(u.z,{asChild:!0,className:"max-sm:w-full",children:(0,n.jsx)(s(),{href:(0,c.Rg)(v.link),children:v.label})})})]})})}},39846:function(e,t,l){l.d(t,{Z:function(){return n}});function n(e){return e?({yellow:"bg-yellow",gradient:"bg-[linear-gradient(90deg,rgba(249,168,0,0.8),rgba(0,174,239,0.8))]",gradientLight:"bg-[linear-gradient(90deg,rgba(0,174,239,0.2),rgba(249,168,0,0.2))]",block:"bg-block",white:"bg-white",gray:"bg-container",lightGray:"bg-gray-100",lightBlue:"bg-lightBlue"})[e]:""}},9003:function(e,t,l){var n,r,i,a,s,o,c,d,u,h,m,g,x,f,v,p;l.d(t,{Qb:function(){return a},Wm:function(){return r},hM:function(){return o},mQ:function(){return d},yl:function(){return i}}),(u=n||(n={})).EN="en",u.UK="uk",(h=r||(r={})).INLINE="inline",h.BOTTOM="bottom",(m=i||(i={})).LINK="link",m.ATTACHMENT="attachment",(g=a||(a={})).ROW="row",g.COLUMN="column",(x=s||(s={})).white="white",x.tealWhite="tealWhite",x.lightGreen="lightGreen",x.darkGreen="darkGreen",x.lightGray="lightGray",(f=o||(o={})).access_to_public_information="Електронна форма запиту на публічну інформацію",f.electronic_request="Електронне звернення громадянина",(v=c||(c={})).HALF="half",v.THIRD="third",v.FULL="full",(p=d||(d={})).SHORT_TEXT="short_text",p.LONG_TEXT="long_text",p.NUMBER="number",p.SELECT="select",p.CHECKBOX="checkbox",p.RADIO="radio",p.DATE="date",p.EMAIL="email",p.FILE="file"}}]);

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.