1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6123],{25781:function(e,t,r){r.d(t,{A:function(){return EmploymentType}});var n=r(85893),a={src:"/_next/static/media/office.04561b8d.svg",height:20,width:21,blurWidth:0,blurHeight:0},o={src:"/_next/static/media/remote.97dd7986.svg",height:20,width:21,blurWidth:0,blurHeight:0},i=r(25675),l=r.n(i);let c={kyiv:{icon:a,title:{"uk-ua":"ÐÑÑÑ, ÑÑлÑайм","en-au":"Office, full-time",ru:"ÐÑиÑ, ÑÑлÑайм"}},warsaw:{icon:a,title:{"uk-ua":"ÐÑÑÑ, ÑÑлÑайм","en-au":"Office, full-time",ru:"ÐÑиÑ, ÑÑлÑайм"}},remote:{icon:o,title:{"uk-ua":"ÐÑддалено, ÑаÑÑкова зайнÑÑÑÑÑÑ","en-au":"Remote, part-time",ru:"Удаленно, ÑаÑÑиÑÐ½Ð°Ñ Ð·Ð°Ð½ÑÑоÑÑÑ"}},hybrid:{icon:o,title:{"uk-ua":"ÐÑбÑидний ÑоÑÐ¼Ð°Ñ ÑобоÑи","en-au":"Hybrid format of work",ru:"ÐибÑиднÑй ÑоÑÐ¼Ð°Ñ ÑабоÑÑ"}}},EmploymentType=e=>{let{type:t,locale:r}=e;return(0,n.jsxs)("div",{className:"d-flex align-items-center secondary-text gap-1",children:[(0,n.jsx)(l(),{src:c[t].icon,width:20,height:20,alt:"type",loading:"lazy"}),(0,n.jsx)("span",{children:c[t].title[r]})]})}},26123:function(e,t,r){r.r(t),r.d(t,{default:function(){return slices_ArticleContent}});var n=r(85893),a=r(10682),o=r(34051),i=r(31555),l=r(68152),c=r(92557),u=r(41664),f=r.n(u),v=r(67294),b=r(94184),x=r.n(b),A=r(25781),j=r(50259),C=r(35988),S={src:"/_next/static/media/icon-checkmark.4be6e4ad.png",height:108,width:108,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAS1BMVEX8/f7v8/8yR4mOp/+wv/Gvwf/T3v8AE6FMaXHb5P/M1/9KWo8xQXYaJ10ADEIEDkAAABgDABzI0/X///+Vrv+kuf+5xOZ2lv94mP+CM/EVAAAAE3RSTlP+/oVIrIXoCAD7y+j7/MjOSUjxTUek8QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAD5JREFUeJwFwYcRwCAQBLElPslpDrD7r9QSJbSakxWCk6RoNKFV8VTWfFEna36CQRKCfWLRSfu4Keb7uJ7yA10/ArNNrZllAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8},N=r(25675),k=r.n(N),E=r(29517),P=r.n(E),R=r(5152),_=r.n(R);let T=_()(()=>r.e(4365).then(r.bind(r,74365)),{loadableGenerated:{webpack:()=>[74365]}}),$=_()(()=>Promise.all([r.e(4589),r.e(6392)]).then(r.bind(r,16392)),{loadableGenerated:{webpack:()=>[16392]}}),M={caption:{"en-au":"Top 5 articles","uk-ua":"Топ-5 ÑÑаÑей",ru:"Топ-5 ÑÑаÑей"}},L={bookId:{"en-au":865725,"uk-ua":865723,ru:865724},caption:{"en-au":"Subscribe to our blog","uk-ua":"ÐÑдпиÑÑÑÑÑÑ Ð½Ð° Ð½Ð°Ñ Ð±Ð»Ð¾Ð³",ru:"ÐодпиÑиÑеÑÑ Ð½Ð° Ð½Ð°Ñ Ð±Ð»Ð¾Ð³"},name:{"en-au":"Name","uk-ua":"Ðм\xb4Ñ",ru:"ÐмÑ"},email:{"en-au":"Email","uk-ua":"Email",ru:"Email"},subscribe:{"en-au":"Subscribe","uk-ua":"ÐÑдпиÑаÑиÑÑ",ru:"ÐодпиÑаÑÑÑÑ"},modalTitle:{"en-au":"Thank you for subscribing to our blog","uk-ua":"ÐÑкÑÑмо за пÑдпиÑкÑ!",ru:"СпаÑибо за подпиÑкÑ!"},close:{"en-au":"Close","uk-ua":"ÐакÑиÑи",ru:"ÐакÑÑÑÑ"}};var slices_ArticleContent=e=>{var t,r,u,b;let{slice:N,caption:E,employment_type:R,locale:_,index:F,topArticles:O}=e,[B,z]=(0,v.useState)(""),[G,V]=(0,v.useState)(""),[J,W]=(0,v.useState)(""),[Z,U]=(0,v.useState)(!1),H=null==N?void 0:null===(t=N.items)||void 0===t?void 0:t.filter(e=>e.article_item_caption_slug);(0,v.useEffect)(()=>{z(window.location.href)},[]);let handleSubmit=async e=>{e.preventDefault();let t=await fetch("/api/subscription",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:J,name:G,bookId:L.bookId[_]})});await t.json(),U(!0),V(""),W("")};return(0,n.jsxs)("section",{className:P().article,children:[(0,n.jsx)(a.Z,{children:(0,n.jsxs)(o.Z,{children:[(0,n.jsx)(i.Z,{xl:3,children:!!H.length&&(0,n.jsxs)("div",{className:x()(P().articleNavigation,"d-flex flex-column align-items-baseline"),children:[(0,n.jsx)("h6",{className:P().navigationCaption,children:N.primary.navigation_caption}),null==H?void 0:H.map(e=>{let{article_item_caption:t,article_item_caption_slug:r,sidebar_caption:a}=e;return(0,n.jsx)("div",{className:P().articleNavigationItem,children:t&&(0,n.jsx)("a",{href:"#".concat(r),children:a||t})},r)})]})}),(0,n.jsxs)(i.Z,{xl:6,children:[0===F&&E&&(0,n.jsx)("h2",{itemProp:"headline",children:E}),0===F&&R&&(0,n.jsx)("div",{className:P().employeT,children:(0,n.jsx)(A.A,{type:R,locale:_})}),null==N?void 0:null===(r=N.items)||void 0===r?void 0:r.map((e,t)=>{let{article_item_caption:r,article_item_caption_slug:a,article_item_text:o,article_item_image:i,video:u}=e;return(0,n.jsxs)("div",{id:a,itemProp:"articleBody",children:[r&&(0,n.jsx)("h2",{className:P().h5,children:r}),"cv"===a?(0,n.jsx)(j.pm,{reCaptchaKey:"6LebwoImAAAAAB2406I8wbABpv6scpPHk-cvVoxB",scriptProps:{async:!0,defer:!1,appendTo:"head",nonce:void 0},children:(0,n.jsx)($,{locale:_})}):(0,n.jsxs)(n.Fragment,{children:[i.url&&(0,n.jsx)("div",{className:P().itemImage,children:(0,n.jsx)(c.Z,{loading:"lazy",field:i,className:"responsive_image",title:i.alt,imgixParams:{auto:!1}})}),(0,n.jsx)("div",{className:P().articleTextContent,children:(0,n.jsx)(l.v,{field:o})}),(null==u?void 0:u.html)&&(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:null==u?void 0:u.html}})]})]},"blog-".concat(t))}),(0,n.jsx)(T,{caption:N.primary.share_caption,title:N.primary.title,styles:P(),postUrl:B})]}),O&&(0,n.jsxs)(i.Z,{xl:3,children:[(0,n.jsxs)("div",{className:P().popularArticles,children:[(0,n.jsx)("div",{className:x()(P().popularArticlesTitle,"h6"),children:M.caption[_]}),(0,n.jsx)("div",{className:P().articlesWrapper,children:null==O?void 0:null===(b=O.data)||void 0===b?void 0:null===(u=b.articles)||void 0===u?void 0:u.map(e=>{let{name:t,link:r,image:a}=e;return(0,n.jsx)("div",{children:(0,n.jsxs)(f(),{href:r.uid,className:P().popularArticle,children:[(0,n.jsx)(c.Z,{loading:"lazy",field:a,className:"responsive_image",alt:"social"}),t]})},t)})})]}),(0,n.jsxs)("div",{className:P().subscribe,children:[(0,n.jsx)("div",{className:x()(P().subscribeTitle,"h6"),children:L.caption[_]}),(0,n.jsxs)("form",{onSubmit:handleSubmit,method:"post",children:[(0,n.jsx)("label",{for:"name",children:L.name[_]}),(0,n.jsx)("input",{value:G,type:"text",name:"name",placeholder:"",id:"name",onChange:e=>V(e.target.value)}),(0,n.jsx)("label",{for:"email",children:L.email[_]}),(0,n.jsx)("input",{value:J,type:"email",required:!0,name:"email",id:"email",onChange:e=>W(e.target.value)}),(0,n.jsx)("button",{children:L.subscribe[_]})]})]})]})]})}),Z&&(0,n.jsx)("div",{className:P().modal,children:(0,n.jsxs)("div",{className:P().modalWrapper,children:[(0,n.jsx)(k(),{src:S,alt:"logo",loading:"lazy"}),(0,n.jsx)("div",{className:x()(P().modalText,"h4"),children:L.modalTitle[_]}),(0,n.jsx)("div",{onClick:()=>{U(!1)},children:(0,n.jsx)(C.DF,{title:L.close[_],classes:P().modalCloseBtn})})]})})]})}},50259:function(e,t,r){r.d(t,{pm:function(){return h},xX:function(){return g}});var n,a=r(67294),o=r(34155),s=function(){return(s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},p=function(e){var t;e?function(e){if(e)for(;e.lastChild;
1)e.lastChild.remove()}("string"==typeof e?document.getElementById(e):e):(t=document.querySelector(".grecaptcha-badge"))&&t.parentNode&&document.body.removeChild(t.parentNode)},d=function(e,t){p(t),window.___grecaptcha_cfg=void 0;var r,n=document.querySelector("#"+e);n&&n.remove(),(r=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]'))&&r.remove()},y=function(e){var t=e.render,r=e.onLoadCallbackName,n=e.language,a=e.onLoad,o=e.useRecaptchaNet,i=e.useEnterprise,l=e.scriptProps,c=void 0===l?{}:l,u=c.nonce,f=void 0===u?"":u,v=c.defer,b=c.async,x=c.id,A=c.appendTo,j=(void 0===x?"":x)||"google-recaptcha-v3";if(document.querySelector("#"+j))a();else{var C,S="https://www."+((C={useEnterprise:i,useRecaptchaNet:o}).useRecaptchaNet?"recaptcha.net":"google.com")+"/recaptcha/"+(C.useEnterprise?"enterprise.js":"api.js"),N=document.createElement("script");N.id=j,N.src=S+"?render="+t+("explicit"===t?"&onload="+r:"")+(n?"&hl="+n:""),f&&(N.nonce=f),N.defer=!!(void 0!==v&&v),N.async=!!(void 0!==b&&b),N.onload=a,("body"===A?document.body:document.getElementsByTagName("head")[0]).appendChild(N)}},m=function(e){void 0===o||o.env,console.warn(e)};(n||(n={})).SCRIPT_NOT_AVAILABLE="Recaptcha script is not available";var i=(0,a.createContext)({executeRecaptcha:function(){throw Error("GoogleReCaptcha Context has not yet been implemented, if you are using useGoogleReCaptcha hook, make sure the hook is called inside component wrapped by GoogleRecaptchaProvider")}});function h(e){var t=e.reCaptchaKey,r=e.useEnterprise,o=void 0!==r&&r,l=e.useRecaptchaNet,c=void 0!==l&&l,u=e.scriptProps,f=e.language,v=e.container,b=e.children,x=(0,a.useState)(null),A=x[0],j=x[1],C=(0,a.useRef)(t),S=JSON.stringify(u),N=JSON.stringify(null==v?void 0:v.parameters);(0,a.useEffect)(function(){if(t){var e=(null==u?void 0:u.id)||"google-recaptcha-v3",r=(null==u?void 0:u.onLoadCallbackName)||"onRecaptchaLoadCallback";return window[r]=function(){var e=o?window.grecaptcha.enterprise:window.grecaptcha,r=s({badge:"inline",size:"invisible",sitekey:t},(null==v?void 0:v.parameters)||{});C.current=e.render(null==v?void 0:v.element,r)},y({render:(null==v?void 0:v.element)?"explicit":t,onLoadCallbackName:r,useEnterprise:o,useRecaptchaNet:c,scriptProps:u,language:f,onLoad:function(){if(window&&window.grecaptcha){var e=o?window.grecaptcha.enterprise:window.grecaptcha;e.ready(function(){j(e)})}else m("<GoogleRecaptchaProvider /> "+n.SCRIPT_NOT_AVAILABLE)},onError:function(){m("Error loading google recaptcha script")}}),function(){d(e,null==v?void 0:v.element)}}m("<GoogleReCaptchaProvider /> recaptcha key not provided")},[o,c,S,N,f,t,null==v?void 0:v.element]);var k=(0,a.useCallback)(function(e){if(!A||!A.execute)throw Error("<GoogleReCaptchaProvider /> Google Recaptcha has not been loaded");return A.execute(C.current,{action:e})},[A,C]),E=(0,a.useMemo)(function(){return{executeRecaptcha:A?k:void 0,container:null==v?void 0:v.element}},[k,A,null==v?void 0:v.element]);return a.createElement(i.Provider,{value:E},b)}i.Consumer;var g=function(){return(0,a.useContext)(i)};function w(e,t){return e(t={exports:{}},t.exports),t.exports;/** @license React v16.13.1 2 * react-is.production.min.js 3 * 4 * Copyright (c) Facebook, Inc. and its affiliates. 5 * 6 * This source code is licensed under the MIT license found in the 7 * LICENSE file in the root directory of this source tree. 8 */}var l="function"==typeof Symbol&&Symbol.for,c=l?Symbol.for("react.element"):60103,u=l?Symbol.for("react.portal"):60106,f=l?Symbol.for("react.fragment"):60107,v=l?Symbol.for("react.strict_mode"):60108,b=l?Symbol.for("react.profiler"):60114,x=l?Symbol.for("react.provider"):60109,A=l?Symbol.for("react.context"):60110,j=l?Symbol.for("react.async_mode"):60111,C=l?Symbol.for("react.concurrent_mode"):60111,S=l?Symbol.for("react.forward_ref"):60112,N=l?Symbol.for("react.suspense"):60113,k=l?Symbol.for("react.suspense_list"):60120,E=l?Symbol.for("react.memo"):60115,P=l?Symbol.for("react.lazy"):60116,R=l?Symbol.for("react.block"):60121,_=l?Symbol.for("react.fundamental"):60117,T=l?Symbol.for("react.responder"):60118,$=l?Symbol.for("react.scope"):60119;function I(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case c:switch(e=e.type){case j:case C:case f:case b:case v:case N:return e;default:switch(e=e&&e.$$typeof){case A:case S:case P:case E:case x:return e;default:return t}}case u:return t}}}function D(e){return I(e)===C}var M={AsyncMode:j,ConcurrentMode:C,ContextConsumer:A,ContextProvider:x,Element:c,ForwardRef:S,Fragment:f,Lazy:P,Memo:E,Portal:u,Profiler:b,StrictMode:v,Suspense:N,isAsyncMode:function(e){return D(e)||I(e)===j},isConcurrentMode:D,isContextConsumer:function(e){return I(e)===A},isContextProvider:function(e){return I(e)===x},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===c},isForwardRef:function(e){return I(e)===S},isFragment:function(e){return I(e)===f},isLazy:function(e){return I(e)===P},isMemo:function(e){return I(e)===E},isPortal:function(e){return I(e)===u},isProfiler:function(e){return I(e)===b},isStrictMode:function(e){return I(e)===v},isSuspense:function(e){return I(e)===N},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===f||e===C||e===b||e===v||e===N||e===k||"object"==typeof e&&null!==e&&(e.$$typeof===P||e.$$typeof===E||e.$$typeof===x||e.$$typeof===A||e.$$typeof===S||e.$$typeof===_||e.$$typeof===T||e.$$typeof===$||e.$$typeof===R)},typeOf:I},L=w(function(e,t){}),F=(L.AsyncMode,L.ConcurrentMode,L.ContextConsumer,L.ContextProvider,L.Element,L.ForwardRef,L.Fragment,L.Lazy,L.Memo,L.Portal,L.Profiler,L.StrictMode,L.Suspense,L.isAsyncMode,L.isConcurrentMode,L.isContextConsumer,L.isContextProvider,L.isElement,L.isForwardRef,L.isFragment,L.isLazy,L.isMemo,L.isPortal,L.isProfiler,L.isStrictMode,L.isSuspense,L.isValidElementType,L.typeOf,w(function(e){e.exports=M})),O={};O[F.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},O[F.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0}}}]);
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.