PageSourceSearch

https://www.msp.gov.ua/_next/static/chunks/3460.32037da2dd8e0164.js

js msp.gov.ua collected 2026-10-02 02:47:50 UTC 21,510 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3460,5100],{8065:function(e,t,l){l.d(t,{Z:function(){return r}});var a=l(85893);function r(e){let{className:t,size:l=24}=e;return(0,a.jsx)("svg",{className:t,width:l,height:l,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.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 a=l(85893);function r(e){let{className:t,size:l=24}=e;return(0,a.jsxs)("svg",{className:t,width:l,height:l,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{className:"stroke-current",d:"M12.7344 10.2726L20.0055 3.00098",stroke:"",strokeWidth:"1.60002",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.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,a.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)},3460:function(e,t,l){l.r(t),l.d(t,{default:function(){return L}});var a=l(85893),r=l(67294),n=l(11163),i=l(68266),s=l(44061),o=l(2195),c=l(16887),d=l(95364),u=l(72104),m=l(87536),x=l(99250),h=l(16310),p=l(49294),f=l(47533),g=l(93306),v=l(34853),_=l(95773),N=l(87066),b=()=>{let{t:e}=(0,c.$G)("common"),[t,l]=(0,r.useState)(!1),[i,s]=(0,r.useState)(!1),[o,b]=(0,r.useState)(!1),{email:j}=(0,p.D)(e),E=r.createRef(),{locale:w}=(0,n.useRouter)(),R=h.Ry().shape({email:j,recaptcha:h.Z_().required(e("confirm_you_are_not_robot")),language:h.Z_()}),y=(0,m.cI)({resolver:(0,f.X)(R),defaultValues:{email:"",recaptcha:"",language:w}}),I=async t=>{var a,r,n,i,o;b(!1),l(!0);try{if(!(null===(a=E.current)||void 0===a?void 0:a.getValue())){y.setError("recaptcha",{type:"manual",message:e("confirm_you_are_not_robot")}),l(!1);return}await N.Z.post("/api/subscribe",{data:t}).then(()=>{s(!0),y.reset()})}catch(l){if(400===l.response.status)return b(!0),null;let t=null===(o=l.response)||void 0===o?void 0:null===(i=o.data)||void 0===i?void 0:null===(n=i.error)||void 0===n?void 0:null===(r=n.details)||void 0===r?void 0:r.errors;t&&t.forEach(t=>{var l;let{path:a,message:r}=t,n=a.join("."),i=null===(l=a.join("."))||void 0===l?void 0:l.replace(/\.(\d+)\./g,(e,t)=>"[".concat(t,"].")),s=null==r?void 0:r.replace(i,"").trim();y.setError(n,{type:"manual",message:"This attribute must be unique"===s?e("email_already_registered"):s})})}finally{l(!1)}};return(0,a.jsxs)("section",{className:"relative bg-container rounded-20 py-8 px-4 md:px-8 my-4 md:my-5",children:[(0,a.jsx)("div",{id:"subscribe",className:"absolute -mt-10"}),i?(0,a.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,a.jsx)("span",{className:"text-5xl",children:"\uD83D\uDCEC"}),(0,a.jsx)("h3",{className:"h3",children:e("letter_sent")}),(0,a.jsx)("p",{className:"text-base md:text-xl text-secondary",children:e("check_email_and_confirm")})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{className:"text-2xl md:text-28 mb-5",children:e("subscribe_to_the_news")}),(0,a.jsx)("p",{className:"text-lg md:text-xl text-secondary mb-8 max-w-[40.625rem]",children:e("subscribe_text")}),(0,a.jsx)(x.l0,{...y,children:(0,a.jsxs)("form",{onSubmit:e=>e.preventDefault(),className:"flex items-start flex-wrap gap-4",children:[(0,a.jsx)(x.Wi,{control:y.control,name:"email",render:t=>{let{field:l}=t;return(0,a.jsxs)(x.xJ,{className:"flex-1",children:[(0,a.jsx)(x.NI,{children:(0,a.jsx)(u.I,{type:"email",autoComplete:"email",placeholder:e("subscribe_input_polaceholder"),...l})}),(0,a.jsx)(x.zG,{})]})}}),(0,a.jsx)(x.Wi,{name:"recaptcha",control:y.control,render:e=>{let{field:t}=e;return(0,a.jsxs)(x.xJ,{className:"flex flex-col",children:[(0,a.jsx)(v.Z,{ref:E,sitekey:"6Le0wp8sAAAAAL_WeKv0Po3veRMwEQyllnS03wrk",onChange:e=>{y.setValue("recaptcha",e||"")}}),(0,a.jsx)(x.zG,{})]})}}
1),o&&(0,a.jsxs)("div",{className:"flex gap-4 rounded-20 p-4 md:p-6 bg-[#DBE9E9]",children:[(0,a.jsx)(_.Z,{size:32}),(0,a.jsxs)("div",{className:"flex-1 flex flex-col gap-2",children:[(0,a.jsxs)("p",{className:"text-lg md:text-xl",children:[e("error"),"!"]}),(0,a.jsx)("p",{className:"font-light max-md:text-sm",children:e("server_error_msg")})]})]}),(0,a.jsxs)(d.z,{type:"button",className:"relative mr-auto max-sm:w-full overflow-hidden",disabled:t,onClick:y.handleSubmit(I),children:[t&&(0,a.jsx)("div",{className:"absolute inset-0 bg-black flex items-center justify-center [&>svg]:animate-spin",children:(0,a.jsx)(g.Z,{})}),e("subscribe")]})]})})]})]})},j=l(14263),E=l(25928),w=l(55175),R=l(60199),y=l(98388),I=l(66373),q=l(77029),Z=l(97248);function L(e){var t,l;let{size:d,type:u,articles:m,settings:x,tags:h}=e,p=(0,n.useRouter)(),{t:f}=(0,c.$G)("common"),g=u&&(0,w.Z)(u)||s.Z,v=u&&(0,R.Z)(u)||j.c3,_=u===q.Iq.NEWS||u===q.Iq.EXTERNAL_ARTICLE?"row":"column",N=q.K_[null===(l=p.asPath)||void 0===l?void 0:null===(t=l.split("?"))||void 0===t?void 0:t[0]],{results:L,pagination:A,isLoading:C}=(0,I.Z)(u===q.Iq.EXTERNAL_ARTICLE?q.O7.EXTERNAL_ARTICLE:u===q.Iq.ANNOUNCEMENT?q.O7.ANNOUNCEMENT:q.O7.ARTICLE,m,u===q.Iq.NEWS||u===q.Iq.MEDIA_GALLERY?u:void 0,N),k=(e,t,l)=>e===q.Q$.INTERNAL&&t?(0,j.o7)(t):e===q.Q$.EXTERNAL&&l||l?v(l):t?(0,j.o7)(t):void 0;return(0,r.useEffect)(()=>{if(!C&&(null==L?void 0:L.length)>0){let e=document.getElementById("aria-live-message");null==e||e.focus()}},[C,L]),(0,a.jsxs)(o.Z,{settings:x,children:[(0,a.jsx)(E.Z,{searchPlaceholder:f("search"),type:u,tags:h,isLoading:C}),(null==L?void 0:L.length)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{className:"mb-8",id:"aria-live-message","aria-live":"assertive",tabIndex:0,children:f("total_verification_registries",{count:null==A?void 0:A.total})}),(0,a.jsx)("div",{className:(0,y.m6)("grid grid-cols-1 gap-6 py-4 md:py-5",2===d?"md:grid-cols-2":3===d?"md:grid-cols-3":"grid-cols-1"),children:null==L?void 0:L.map(e=>{let t=(null==e?void 0:e.end_date)&&new Date(e.end_date)<new Date;return(0,a.jsx)(g,{item:e,flexDirection:_,titleFontSize:"18/16",contentPadding:"32/16",backgroundColor:t?"inactive":"gray",link:u===q.Iq.EXTERNAL_ARTICLE&&k(null==e?void 0:e.type,e.slug,e.link)||v(e.slug||e.link)},e.id)})})]}):(0,a.jsx)(Z.Z,{}),(0,a.jsx)(i.Z,{pagination:A}),(u===q.Iq.EXTERNAL_ARTICLE||u===q.Iq.NEWS)&&(0,a.jsx)(b,{})]})}},55100:function(e,t,l){l.r(t),l.d(t,{default:function(){return m}});var a=l(85893);l(67294);var r=l(98388),n=l(41664),i=l.n(n),s=l(14263),o=l(16887);function c(e){let{tag:t,backgroundColor:l,className:n}=e,{name:c,slug:d}=t,{t:u}=(0,o.$G)("common");return(0,a.jsx)(i(),{href:(0,s.tQ)(d),className:(0,r.m6)("max-w-full bg-grey1 text-black px-4 py-3 rounded-3xl text-xs leading-4 text-center whitespace-nowrap overflow-hidden text-ellipsis duration-200 hover:bg-black hover:text-white","white"===l&&"bg-white",n),"aria-label":"".concat(u("search_by_tag"),": ").concat(c),children:c})}var d=l(64973),u=l(70595);function m(e){var t;let{tags:l,backgroundColor:n,withTooltip:i}=e,s=(0,d.Z)("(max-width: 768px)"),o=i?s?1:2:null!==(t=null==l?void 0:l.length)&&void 0!==t?t:0;return l&&(null==l?void 0:l.length)!==0?(0,a.jsxs)("div",{className:"w-full flex gap-2 mt-auto flex-wrap",children:[null==l?void 0:l.slice(0,o).map(e=>(0,a.jsx)(c,{tag:e,backgroundColor:n},e.id)),i&&(null==l?void 0:l.length)>o&&(0,a.jsxs)(u.J2,{children:[(0,a.jsxs)(u.xo,{className:(0,r.m6)("flex items-center justify-center w-10 h-10 rounded-full text-xs leading-none bg-white duration-200 hover:bg-black hover:text-white","gray"===n&&"bg-grey1"),children:["+ ",(null==l?void 0:l.length)-o]}),(0,a.jsx)(u.yk,{side:"top",className:"flex flex-col gap-4 px-4 py-6 border-none rounded-md shadow-[0px_6px_12px_0px_rgba(0,0,0,0.08)] ",children:l.slice(o).map(e=>(0,a.jsx)(c,{tag:e,backgroundColor:"gray"},e.id))})]})]}):null}},44061:function(e,t,l){l.d(t,{Z:function(){return h}});var a=l(85893);l(67294);var r=l(55100),n=l(98388),i=l(33582),s=l(24435),o=l(25675),c=l.n(o),d=l(8065),u=l(74993),m=l(27742),x=l(77029);function h(e){let{item:t,flexDirection:l,backgroundColor:o,titleFontSize:h,contentPadding:p,withoutImg:f,link:g,showExcerpt:v,titleLineClamp:_,contentLineClamp:N,hideDate:b,imgPriority:j}=e;return(0,a.jsxs)("div",{className:(0,m.cn)("flex flex-col bg-white rounded-20 overflow-hidden h-full","row"===l&&"md:flex-row","gray"===o&&"bg-block","inactive"===o&&"bg-inactive"),children:[!f&&(0,a.jsx)(i.Z,{href:g||"",className:(0,m.cn)("relative overflow-hidden w-full pb-[52%] [&_img]:duration-300 hover:[&_img]:scale-105","row"===l&&"md:w-64 md:h-64 !pb-0"),ariaLabel:t.title,"aria-hidden":!0,tabIndex:-1,
1children:t.image?(0,a.jsx)(s.Z,{image:t.image,className:"absolute inset-0 w-full h-full",sizes:"(max-width: 768px) 80vw, (max-width: 1024px) 40vw, 31.25rem",quality:40,objectFit:x.ll.COVER,priority:j}):(0,a.jsx)(c(),{src:"/img/placeholder.png",alt:t.title,fill:!0,sizes:"(max-width: 768px) 80vw, (max-width: 1024px) 40vw, 31.25rem",className:"object-cover","aria-hidden":!0,tabIndex:-1})}),(0,a.jsxs)("div",{className:(0,m.cn)("flex flex-col flex-1 gap-4 p-4","32/16"===p&&"lg:p-6 2xl:p-8","24/16"===p&&"lg:p-6","16/16"===p&&"p-4","row"===l&&""),children:[!b&&((null==t?void 0:t.published_at_override)||(null==t?void 0:t.publishedAt))&&(0,a.jsx)("time",{dateTime:(null==t?void 0:t.published_at_override)||(null==t?void 0:t.publishedAt),className:"inline-flex text-grey1 text-xs leading-4",children:new Date((null==t?void 0:t.published_at_override)||(null==t?void 0:t.publishedAt)).toLocaleDateString("en-GB")}),(0,a.jsxs)(i.Z,{href:g||"",className:(0,m.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:t.title,children:[(0,a.jsx)("h3",{className:(0,n.m6)("line-clamp-3 lg:line-clamp-2 lg:max-w-[calc(100%-2rem)] w-full break-words","3/3"===_&&"lg:line-clamp-2 2xl:line-clamp-3"),title:t.title,children:t.title}),g.startsWith("http")?(0,a.jsx)(u.Z,{className:"opacity-0 group-hover:opacity-100 max-lg:hidden"}):(0,a.jsx)(d.Z,{className:"opacity-0 group-hover:opacity-100 max-lg:hidden"})]}),(v&&t.excerpt||t.description||t.position)&&(0,a.jsx)("p",{className:(0,n.m6)("max-lg:text-sm font-light line-clamp-4","6/6"===N&&"line-clamp-6"),children:t.description||t.excerpt||t.position}),(0,a.jsx)(r.default,{tags:t.tags,withTooltip:!0,backgroundColor:"gray"===o?"white":"gray"})]})]})}},70818:function(e,t,l){l.d(t,{Z:function(){return x}});var a=l(85893);l(67294);var r=l(11163),n=l(85130),i=l(41664),s=l.n(i),o=l(22578),c=l(98388),d=l(86853),u=l(16887),m=l(14263);function x(e){let{item:t,link:l,backgroundColor:i}=e,{locale:x}=(0,r.useRouter)(),h=(0,d.Z)(x),{t:p}=(0,u.$G)("common");return(0,a.jsxs)(s(),{href:(0,m.Rg)(l),className:(0,c.m6)("group flex max-sm:flex-col flex-wrap justify-between sm:items-center gap-4 bg-container p-4 md:p-8 rounded-20",t.date&&"max-sm:flex-col max-sm:items-start","inactive"===i&&"bg-inactive text-secondary"),children:[(0,a.jsxs)("div",{className:"flex sm:flex-1 flex-col",children:[(0,a.jsxs)("div",{className:"flex gap-6 sm:flex-1 max-sm:flex-col",children:[t.date&&(0,a.jsxs)("div",{className:"flex flex-col gap-1 sm:items-center",children:[(0,a.jsx)("span",{className:"text-3xl sm:text-4xl",children:(0,o.WU)(new Date(t.date),"d")}),(0,a.jsx)("p",{className:"text-sm",children:(0,o.WU)(new Date(t.date),"MMMM",{locale:h})})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-4 max-md:max-w-full md:flex-1 max-w-[42rem]",children:[(0,a.jsx)("p",{className:"text-xl lg:text-2xl group-hover:underline",title:t.title,children:t.title}),t.date&&t.publishedAt&&(0,a.jsx)("time",{dateTime:t.publishedAt,className:"text-xs text-secondary",children:new Date(t.publishedAt).toLocaleDateString("en-GB")})]})]}),t.due_date&&(new Date(t.due_date)<new Date?(0,a.jsx)("span",{className:"text-xs text-secondary mt-4",children:p("open_role_expired")}):(0,a.jsxs)("time",{dateTime:new Date(t.due_date).toDateString(),className:"text-xs text-secondary mt-4",children:[p("until")," ",(0,o.WU)(t.due_date,"dd MMMM yyyy",{locale:h})]}))]}),(0,a.jsx)("div",{className:"flex items-center justify-center w-14 h-14 rounded-full bg-white duration-300 group-hover:bg-black",children:(0,a.jsx)(n.Z,{className:"group-hover:text-white"})})]})}},97248:function(e,t,l){var a=l(85893),r=l(67294),n=l(16887);t.Z=e=>{let{focus:t=!0,text:l,hideTitle:i}=e,{t:s}=(0,n.$G)("common"),o=(0,r.useRef)(null);return(0,r.useEffect)(()=>{o.current&&t&&o.current.focus()},[]),(0,a.jsxs)("section",{role:"alert","aria-live":"assertive",className:"pb-16 max-w-[40rem]",children:[(0,a.jsx)("span",{className:"text-5xl",children:"\uD83E\uDD37"}
1),!i&&(0,a.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,a.jsx)("p",{className:"text-lg md:text-xl",children:l||s("empty_search_desc")})]})}},99250:function(e,t,l){l.d(t,{NI:function(){return f},Wi:function(){return u},l0:function(){return c},lX:function(){return p},xJ:function(){return h},zG:function(){return g}});var a=l(85893),r=l(67294),n=l(4222),i=l(87536),s=l(27742),o=l(7825);let c=i.RV,d=r.createContext({}),u=e=>{let{...t}=e;return(0,a.jsx)(d.Provider,{value:{name:t.name},children:(0,a.jsx)(i.Qr,{...t})})},m=()=>{let e=r.useContext(d),t=r.useContext(x),{getFieldState:l,formState:a}=(0,i.Gc)(),n=l(e.name,a);if(!e)throw Error("useFormField should be used within <FormField>");let{id:s}=t;return{id:s,name:e.name,formItemId:"".concat(s,"-form-item"),formDescriptionId:"".concat(s,"-form-item-description"),formMessageId:"".concat(s,"-form-item-message"),...n}},x=r.createContext({}),h=r.forwardRef((e,t)=>{let{className:l,...n}=e,i=r.useId();return(0,a.jsx)(x.Provider,{value:{id:i},children:(0,a.jsx)("div",{ref:t,className:(0,s.cn)("w-full space-y-2",l),...n})})});h.displayName="FormItem";let p=r.forwardRef((e,t)=>{let{className:l,hideHtmlFor:r,...n}=e,{error:i,formItemId:c}=m();return(0,a.jsx)(o._,{ref:t,className:(0,s.cn)(i&&"text-red-500 dark:text-red-900",'aria-[required=true]:after:content-["*"] aria-[required=true]:after:text-red-700',l),...r?{}:{htmlFor:c},...n})});p.displayName="FormLabel";let f=r.forwardRef((e,t)=>{let{...l}=e,{error:r,formItemId:i,formDescriptionId:s,formMessageId:o}=m();return(0,a.jsx)(n.g7,{ref:t,id:i,"aria-describedby":r?"".concat(s," ").concat(o):"".concat(s),"aria-invalid":!!r,...l})});f.displayName="FormControl",r.forwardRef((e,t)=>{let{className:l,...r}=e,{formDescriptionId:n}=m();return(0,a.jsx)("p",{ref:t,id:n,className:(0,s.cn)("text-[0.8rem] text-neutral-500 dark:text-neutral-400",l),...r})}).displayName="FormDescription";let g=r.forwardRef((e,t)=>{let{className:l,children:r,...n}=e,{error:i,formMessageId:o}=m(),c=i?String(null==i?void 0:i.message):r;return c?(0,a.jsx)("p",{ref:t,id:o,className:(0,s.cn)("text-xs px-6 text-warning dark:text-red-900",l),...n,children:c}):null});g.displayName="FormMessage"},7825:function(e,t,l){l.d(t,{_:function(){return c}});var a=l(85893),r=l(67294),n=l(49102),i=l(45139),s=l(27742);let o=(0,i.j)("text-sm font-medium leading-none cursor-pointer peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=r.forwardRef((e,t)=>{let{className:l,...r}=e;return(0,a.jsx)(n.f,{ref:t,className:(0,s.cn)(o(),l),...r})});c.displayName=n.f.displayName},33582:function(e,t,l){var a=l(85893);l(67294);var r=l(41664),n=l.n(r),i=l(16887);t.Z=e=>{let{href:t,children:l,ariaLabel:r,className:s,onClick:o,...c}=e,{t:d}=(0,i.$G)("common");return/^http/.test(t)?(0,a.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,a.jsx)(n(),{href:t,className:s,onClick:o,...c,children:l})}},66373:function(e,t,l){l.d(t,{Z:function(){return s}});var a=l(67294),r=l(39332),n=l(11163),i=l(87066);function s(e,t,l,s){let o=(0,r.useSearchParams)(),{locale:c,isReady:d}=(0,n.useRouter)(),[u,m]=(0,a.useState)(!1),[x,h]=(0,a.useState)(null==t?void 0:t.results),[p,f]=(0,a.useState)(null==t?void 0:t.pagination),g=(null==o?void 0:o.get("page"))||"",v=(null==o?void 0:o.get("pageSize"))||(null==p?void 0:p.pageSize),_=(null==o?void 0:o.get("q"))||"",N=(null==o?void 0:o.get("dateFrom"))||"",b=(null==o?void 0:o.get("dateTo"))||"",j=(null==o?void 0:o.get("category"))||"",E=(null==o?void 0:o.get("direction"))||"",w=(null==o?void 0:o.get("tags"))||"",R=void 0===l?"":l,y=void 0===s?"":s,I=(null==o?void 0:o.get("order"))||"",q=(null==o?void 0:o.get("documentType"))||"",Z=(null==o?void 0:o.get("topic"))||"",L=(null==o?void 0:o.get("number"))||"",A=(null==o?void 0:o.get("openRoleCategory"))||"",C=(null==o?void 0:o.get("openRoleField"))||"",k=(null==o?void 0:o.get("openRoleArea"))||"";return(0,a.useEffect)(()=>
1{if(d){if(!_&&!g&&!N&&!b&&!w&&!I&&!j&&!E&&!q&&!Z&&!L){m(!1),h(null==t?void 0:t.results),f(null==t?void 0:t.pagination);return}m(!0),i.Z.get("/api/search?q=".concat(_,"&locale=").concat(c,"&type=").concat(R,"&dateFrom=").concat(N,"&dateTo=").concat(b,"&category=").concat(j,"&direction=").concat(E,"&page=").concat(g,"&pageSize=").concat(v,"&tags=").concat(w,"&collectionName=").concat(e,"&order=").concat(I,"&documentType=").concat(q,"&topic=").concat(Z,"&number=").concat(L,"&openRoleCategory=").concat(A,"&openRoleField=").concat(C,"&openRoleArea=").concat(k,"&subPageType=").concat(y)).then(e=>{var t,l;h((null===(t=e.data)||void 0===t?void 0:t.articles)||[]),f(null===(l=e.data)||void 0===l?void 0:l.pagination)}).catch(e=>{console.error(e),h([]),f(void 0)}).finally(()=>{m(!1)})}},[_,c,l,t,d,N,b,j,E,g,v,w,I,q,Z,L,A,C,k]),{isLoading:u,results:x,pagination:p}}},55175:function(e,t,l){l.d(t,{Z:function(){return s}});var a=l(70818),r=l(44061),n=l(77029);let i={[n.Ll.GRID]:a.Z,[n.Ll.PAGE]:r.Z,[n.Iq.PAGE]:r.Z,[n.Iq.NEWS_old]:r.Z,[n.Iq.NEWS]:r.Z,[n.Iq.ARTICLE]:r.Z,[n.Iq.GALLERY]:r.Z,[n.Iq.ANNOUNCEMENT]:a.Z,[n.Iq.ANNOUNCEMENT_old]:a.Z,[n.Iq.OPEN_ROLE]:a.Z,[n.Iq.OPEN_ROLE_old]:a.Z,[n.Iq.PERSON]:r.Z,[n.Iq.MEDIA_GALLERY]:r.Z,[n.Iq.EXTERNAL_ARTICLE]:r.Z,[n.Iq.VERIFICATION_REGISTRY]:a.Z,[n.Iq.REGULATORY_FRAMEWORK]:a.Z,[n.Iq.DOCUMENTS]:a.Z};function s(e){return i[e]}},60199:function(e,t,l){l.d(t,{Z:function(){return i}});var a=l(14263),r=l(77029);let n={[r.Ll.GRID]:a.Rg,[r.Ll.PAGE]:a.Rg,[r.Iq.PAGE]:a.Rg,[r.Iq.NEWS]:a.c3,[r.Iq.NEWS_old]:a.c3,[r.Iq.GALLERY]:a.Yq,[r.Iq.MEDIA_GALLERY]:a.Yq,[r.Iq.ARTICLE]:a.c3,[r.Iq.ANNOUNCEMENT]:a._1,[r.Iq.ANNOUNCEMENT_old]:a._1,[r.Iq.EXTERNAL_ARTICLE]:a.Rg,[r.Iq.PERSON]:a.hX,[r.Iq.OPEN_ROLE]:a.Em,[r.Iq.OPEN_ROLE_old]:a.Em,[r.Iq.VERIFICATION_REGISTRY]:a.Rg,[r.Iq.REGULATORY_FRAMEWORK]:a.HM,[r.Iq.DOCUMENTS]:a.Rg};function i(e){return n[e]}},86853:function(e,t,l){l.d(t,{Z:function(){return i}});var a=l(86520),r=l(45568);let n={en:a.e,uk:r.uk};function i(e){return n[e]||a.e}},49294:function(e,t,l){l.d(t,{D:function(){return r}});var a=l(16310);let r=e=>{let t=a.Z_(),l=a.Z_().required(e("field_is_required")),r=a.Z_().nullable().notRequired().max(255,e("max_255_characters")),n=a.Z_().nullable().notRequired().min(1,e("min-characters-one",{count:1})).max(255,e("max_255_characters")),i=a.Z_().max(255,e("max_255_characters")).required(e("field_is_required")),s=a.Z_().min(5,e("min-characters-other",{count:5})).max(255,e("max_255_characters")).required(e("field_is_required")),o=a.Z_().min(2,e("min_2_characters")).max(255,e("max_255_characters")).required(e("field_is_required")),c=a.Z_().min(1,e("min-characters-one",{count:1})).max(255,e("max_255_characters")).required(e("field_is_required")),d=a.Z_().max(255,e("max_255_characters")).email(e("invalid_email")).test("is-valid-domain",e("invalid_email"),e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e||"")).required(e("field_is_required")),u=a.Z_().nullable().notRequired().test("valid-phone",e("invalid_phone"),e=>!e||/^\+?\d{9,12}$/.test(e)),m=a.Z_().required(e("field_is_required")).test("valid-phone",e("invalid_phone"),e=>!!e&&/^\+?\d{9,12}$/.test(e)),x=a.Z_().required(e("field_is_required")).matches(/^[A-Za-zА-Яа-яЁёІіЇїЄєҐґ'’ -]+$/,e("must_contain_only_letters")).min(2,e("min-characters-other",{count:2})).max(255,e("max_255_characters"));return{string:t,requiredString:l,max255String:r,min1max255String:n,requiredMax255String:i,requiredMin5Max255String:s,requiredMin2Max255String:o,requiredMin1Max255String:c,email:d,phone:u,requiredPhone:m,requiredMin2Max255Letters:x,max255Letters:a.Z_().nullable().notRequired().test("only-letters",e("must_contain_only_letters"),e=>!e||/^[A-Za-zА-Яа-яЁёІіЇїЄєҐґ'’ -]+$/.test(e)).max(255,e("max_255_characters")),index:a.Z_().required(e("field_is_required")).matches(/^\d{5}$/,e("must_be_exactly_5_digits")),houseNumber:a.Z_().required(e("field_is_required")).test("valid-house-number",e("invalid_house_number"),e=>!!e&&/\d/.test(e)&&!/^[A-Za-zА-Яа-яЁёІіЇїЄєҐґ]+$/.test(e)).min(1,e("min-characters-one",{count:1})).max(255,e("max_255_characters"))}}}}]);

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.