1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7394],{27211:(e,n,o)=>{"use strict";o.d(n,{A:()=>l});var a=o(37876),t=o(57758),i=o(77328),r=o.n(i);let l=e=>{let{title:n,description:o,locale:i,path:l,slug:s}=e,c=(0,t.$_)(),d="".concat(c,"/").concat(i).concat(l);s&&(d+="/".concat(s)),d=d.endsWith("/")?d:"".concat(d,"/");let u="".concat(c,"/images/logo-en-rgb.svg");return(0,a.jsxs)(r(),{children:[(0,a.jsx)("title",{children:n}),(0,a.jsx)("meta",{name:"description",content:o||n}),(0,a.jsx)("meta",{property:"og:title",content:n}),(0,a.jsx)("meta",{property:"og:description",content:o||n}),(0,a.jsx)("meta",{property:"og:type",content:"website"}),(0,a.jsx)("meta",{property:"og:url",content:d}),(0,a.jsx)("meta",{property:"og:image",content:u}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,a.jsx)("meta",{name:"twitter:title",content:n}),(0,a.jsx)("meta",{name:"twitter:description",content:o||n}),(0,a.jsx)("meta",{name:"twitter:image",content:u}),(0,a.jsx)("meta",{name:"robots",content:"index, follow"}),(0,a.jsx)("link",{rel:"canonical",href:d}),(0,a.jsx)("link",{rel:"alternate",hrefLang:i,href:d})]})}},48353:(e,n,o)=>{"use strict";o.r(n),o.d(n,{__N_SSG:()=>D,default:()=>E});var a=o(37876),t=o(6227),i=o(38523),r=o(89099),l=o(15133),s=o(86695),c=o(54587),d=o.n(c);let u=e=>{var n,o,t,i;let{country:r,locale:s}=e,{t:c}=(0,l.Bd)(["country"]),u=r.onlineCounseling&&(null==r||null==(n=r.onlineCounseling[s])?void 0:n.html)&&{__html:null==r||null==(o=r.onlineCounseling[s])?void 0:o.html},m=r.onlineCounselingTitle&&r.onlineCounselingTitle[s],p=r.onlineCounselingSkype,g=r.onlineCounselingEmail,h=r.onlineCounselingPhone;String(h||"").replace(/ /g,"").replace("+","").replace(":","").replace("/","").replace("WhatsApp","").replace("Whatsapp","").replace("whatsapp","").replace("Viber","").replace("viber","");let f="skype:"+String(p||"").replace(": ","").replace(" :","").replace(":","").replace("Skype","").replace("skype",""),y=(null==r?void 0:r.onlineCounselingConsultationTime)&&(null==r||null==(t=r.onlineCounselingConsultationTime[s])?void 0:t.html)&&{__html:null==r||null==(i=r.onlineCounselingConsultationTime[s])?void 0:i.html};return(0,a.jsxs)("div",{className:"country-vcbox",children:[(0,a.jsx)("div",{className:"sidebar-box sidebar-box--has-footer sidebar-box--online-counselling",children:(u||m)&&(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"sidebar-box__subtitle sidebar-box__subtitlecolor",children:c("countryInfoBox.blockTitle")}),m&&(0,a.jsx)("h4",{className:"sidebar-box__title sidebar-box__countrytextcolor",children:m}),(0,a.jsxs)("ul",{className:"page-social",children:[p&&(0,a.jsxs)("li",{className:"page-social__item",style:{marginBottom:20},children:[(0,a.jsx)(d(),{className:"page-social__icon",width:25,height:25,alt:"icon Skype",src:"/images/social/icon-social-skype.svg"}),(0,a.jsx)("a",{href:"".concat(f),className:"page-social__link",children:p})]}),g&&(0,a.jsxs)("div",{className:"sidebar-box__countrytextcolor sidebar-box__countrymargin",children:["E-Mail: ",(0,a.jsx)("u",{className:"sidebar-box__email",children:g})]}),h&&(0,a.jsxs)("div",{className:"sidebar-box__countrytextcolor",children:[" ",h]})]})]})}),y&&(0,a.jsx)("div",{className:"sidebar-box__footer sidebar-box__text",dangerouslySetInnerHTML:y})]})};var m=o(88065);let p=e=>{let{files:n,locale:o}=e,{t}=(0,l.Bd)(["commons"]);return(0,a.jsxs)("div",{className:"sidebar-box",children:[(0,a.jsx)("h3",{id:"downloads",className:"programme-page-sidebar-info__title",children:t("global.downloads")}),(0,a.jsx)(m.A,{filecategory:"Countries",files:n,locale:o})]})};var g=o(48230),h=o.n(g),f=o(46959),y=o(14232),v=o(65106);let b=new Set(["afghanistan","algeria","syria"]),x={de:"Das European Reintegration Programme bietet Ihnen in Kooperation mit einer lokalen Partnerorganisation individuelle Reintegrationshilfen an. Dies gilt ausschlie\xdflich f\xfcr freiwillig r\xfcckkehrende Personen. Dabei kann eine Kurzeitunterst\xfctzung direkt nach der Ankunft sowie eine Langzeitunterst\xfctzung bis zu 12 Monate nach der Ausreise erfolgen. Mehr Informationen finden Sie hier",en:"The European Reintegration Programme can offer you individual reintegration assistance in cooperation with a local partner organisation. This applies only to voluntary returnees. Both short-term support directly after arrival and long-term support for up to 12 months following departure can be provided. You can find more information here",fr:"Le programme europ\xe9en de r\xe9int\xe9gration vous propose une aide personnalis\xe9e \xe0 la r\xe9int\xe9gration en collaboration avec une organisation partenaire locale. Cette aide sâadresse uniquement aux personnes qui rentrent volontairement dans leur pays. Elle peut prendre la forme dâune aide \xe0 court terme imm\xe9diatement apr\xe8s lâarriv\xe9e, ou dâune aide \xe0 long terme pouvant sâ\xe9tendre jusquâ\xe0 12 mois apr\xe8s le d\xe9part. Vous trouverez de plus amples informations ici.",ar:"ÙÙÙØ± ÙÙÙ
Ø§ÙØ¨Ø±ÙاÙ
ج Ø§ÙØ£ÙØ±ÙØ¨Ù ÙØ¥Ø¹Ø§Ø¯Ø© Ø§ÙØ¥Ø¯ÙÙ
Ø§Ø¬Ø Ø¨Ø§ÙØªØ¹Ø§ÙÙ Ù
ع Ù
ÙØ¸Ù
Ø© شرÙÙØ© Ù
ØÙÙØ©Ø Ù
ساعدات ÙØ±Ø¯ÙØ© ÙØ¥Ø¹Ø§Ø¯Ø© Ø§Ø§ÙØ¥Ø¯ÙÙ
اج. ÙÙÙØ·Ø¨Ù ذÙÙ ÙÙØ· عÙÙ Ø§ÙØ¹Ø§Ø¦Ø¯ÙÙ Ø·ÙØ¹Ùا Ø¥ÙÙ ÙØ·ÙÙÙ
. ÙÙÙ
ÙÙ ØªÙØ¯ÙÙ
دعÙ
ÙØµÙر Ø§ÙØ£Ø¬Ù Ù
باشرة بعد اÙÙØµÙÙØ ÙÙØ°Ù٠دعÙ
Ø·ÙÙÙ Ø§ÙØ£Ø¬Ù ØØªÙ 12 Ø´ÙØ±Ùا بعد اÙÙ
غادرة. ÙÙ
ÙÙÙÙ
Ø§ÙØ§Ø·Ùاع عÙÙ Ù
Ø²ÙØ¯ Ù
٠اÙÙ
عÙÙÙ
ات ÙÙØ§",fa:'Ø¨Ø±ÙØ§Ù
Ù "Ø§Ø³ØªÙØ±Ø§Ø± Ù
جدد ارÙپا"Ø Ø¨Ø§ ÙÙ
Ú©Ø§Ø±Û Ø³Ø§Ø²Ù
اÙâÙØ§Û ÙÙ
کار Ù
ØÙÛØ ب٠ارائ٠کÙ
Ú©âÙØ§Û ÙØ±Ø¯Û در زÙ
ÛÙÙ Ø§Ø³ØªÙØ±Ø§Ø± Ù
جدد Ù
Ûâپردازد. اÛÙ Ú©Ù
Ú©âÙØ§ تÙÙØ§ Ø¨Ù Ø§ÙØ±Ø§Ø¯ Ù
Ø´Ù
Ù٠بازگشت Ø¯Ø§ÙØ·ÙباÙ٠ارائ٠Ù
ÛâØ´ÙØ¯. ØÙ
Ø§ÛØª Ú©ÙØªØ§ÙâÙ
دت را Ù
ÛâØªÙØ§Ù Ø¨ÙØ§ÙاصÙ٠پس از ÙØ±Ùد ارائ٠کرد Ù ØÙ
Ø§ÛØª بÙÙØ¯Ù
دت تا Û±Û² Ù
ا٠پس از Ø®Ø±ÙØ¬ ارائ٠Ù
ÛâØ´ÙØ¯. Ø§Ø·ÙØ§Ø¹Ø§Øª Ø¨ÛØ´ØªØ± را Ù
ÛâØªÙØ§ÙÛØ¯ از اÛÙØ¬Ø§ کسب Ú©ÙÛØ¯.',ps:"د ارÙپا د Ø¨ÛØ§ ÛÙ ÚØ§Û Ú©ÛØ¯ÙÙ Ø¨Ø±ÙØ§Ù
٠تاس٠ت٠د ÛÙÛ ÚØ§ÛÛ Ø´Ø±ÛÚ©Û Ø§Ø¯Ø§Ø±Û Ù¾Ù ÙÙ
Ú©Ø§Ø±Û Ø¯ Ø¨ÛØ§ ÛÙ ÚØ§Û Ú©ÛØ¯ÙÙ ÙØ±Ø¯Ù Ù
رست٠ÙÚØ§ÙØ¯Û Ú©ÙÙ. . دا ÛÙØ§Ø²Û Ù¾Ù ÙØºÙ کساÙ٠تطبÛÙÛÚÙ ÚÛ Ù¾Ù Ø®Ù¾ÙÙ Ø®ÙÚÙ Ø¨ÛØ±ØªÙ راستÙÛÚÙ. Ù¾Ù Ø¯Û Ø¨Ø±Ø®Ù Ú©ÛØ ÙÙÚÙ
ÙØ§ÙÙ Ù
رست٠سÙ
دست٠د رØ
1³ÛØ¯Ù ÙØ±Ùست٠ا٠اÙÚØ¯Ù
ÙØ§ÙÙ Ù
Ø±Ø³ØªÙ Ø¨ÛØ§ تر 12 Ù
ÛØ§Ø´ØªÙ Ù¾ÙØ±Û د ÙØªÙÙ ÙÙ ÙØ±Ùست٠ÙÚØ§ÙØ¯Û Ú©ÛØ¯Ø§Û Ø´Ù.",es:"El programa de reintegraci\xf3n europeo le ofrece, en colaboraci\xf3n con una organizaci\xf3n local asociada, ayudas individuales para la reintegraci\xf3n. El programa est\xe1 dirigido exclusivamente a personas que retornan de manera voluntaria. En este contexto, se puede otorgar un apoyo a corto plazo inmediatamente despu\xe9s de la llegada y un apoyo a largo plazo hasta 12 meses despu\xe9s del retorno. Puede encontrar m\xe1s informaci\xf3n aqu\xed"},_=e=>{let{text:n,locale:o,countrySlug:a,programmeSlug:t}=e;return n?"european-reintegration-programme-eurp"===t&&b.has(String(a||"").toLowerCase())&&x[o]||n:""},j=e=>{let[n,o]=(0,y.useState)({}),{country:t,programmeCategories:i,locale:r}=e,{t:s}=(0,l.Bd)(["country","commons","programme"]),c=t.reintegrationProgrammes,d=(0,y.useMemo)(()=>{for(var e=[],n=0;n<c.length;n++){var o=c[n];if(o.category){var a=e.find(e=>{if(e.slug==o.category.slug||o.category==e.category_id)return e});if(a)a.items.push(o);else{var t,l=i.find(e=>{if(e._id==o.category)return e});l&&e.push({category_id:null==l?void 0:l._id,type:"group",name:null==l?void 0:l.translatedName[r],slug:null==l?void 0:l.slug,items:[o],description:null==l||null==(t=l.translatedDescription[r])?void 0:t.html,countryProgrammes:(null==l?void 0:l.countryProgrammes)&&(null==l?void 0:l.countryProgrammes[r]),position:null==l?void 0:l.position})}}}return e.sort((e,n)=>e.position<n.position?-1:+(e.position>n.position)),e},[i,c,r]),u=e=>{let{category:n}=e;switch(n){case"return-programmes":return s("countries.categoryName.return",{ns:"country"});case"programmes-of-the-federal-states":return s("countries.categoryName.federalState",{ns:"country"});case"reintegration-programmes":return s("countries.categoryName.reintegration",{ns:"country"});case"rueckkehrvorbereitung":return s("countries.categoryName.preparation",{ns:"country"});case"zirf-country-information":return s("countries.categoryName.zirf",{ns:"country"})}},m={de:"Abh\xe4ngig von Ihrer Staatsangeh\xf6rigkeit k\xf6nnen Sie au\xdferdem eine finanzielle Starthilfe bekommen.",en:"Depending on your nationality, you can also receive financial start-up assistance.",fr:"Selon votre nationalit\xe9, vous pouvez \xe9galement b\xe9n\xe9ficier d'une aide financi\xe8re pour vous aider \xe0 d\xe9marrer.",sr:"У завиÑноÑÑи од ÐаÑег дÑжавÑанÑÑва оÑим Ñога можеÑе да добиÑеÑе и ÑинанÑиÑÑÐºÑ Ð¿Ð¾ÑеÑÐ½Ñ Ð¿Ð¾Ð¼Ð¾Ñ.",ru:"РзавиÑимоÑÑи Ð¾Ñ Ð²Ð°Ñего гÑажданÑÑва Ð²Ñ Ñакже можеÑе полÑÑиÑÑ ÑинанÑовÑÑ Ð¿Ð¾Ð¼Ð¾ÑÑ Ð½Ð° наÑалÑном ÑÑапе.",sq:"N\xeb var\xebsi t\xeb n\xebnshtet\xebsis\xeb suaj, ju mund t\xeb p\xebrfitoni gjithashtu nj\xeb ndihm\xeb financiare fillestare.",ar:"ÙØ¨ØØ³Ø¨ Ø¬ÙØ³ÙØªÙØ ÙØ¯ ØªØªØ§Ø ÙÙ Ø£ÙØ¶Ùا Ø¥Ù
ÙØ§ÙÙØ© Ø§ÙØØµÙ٠عÙÙ Ù
ساعدة Ù
اÙÙØ© Ø£ÙÙÙØ©.",fa:"Ø¹ÙØ§Ù٠بر اÛÙ Ø¨Ø³ØªÙ Ø¨Ù ØªØ§Ø¨Ø¹ÛØª Ø®ÙØ¯ Ù
ÛâØªÙØ§ÙÛØ¯ ÛÚ© Ú©Ù
Ú© Ù
اÙÛ Ø¨Ø±Ø§Û Ø´Ø±ÙØ¹ Ø¯Ø±ÛØ§Ùت Ú©ÙÛØ¯.",ps:"ستاس٠د ØªØ§Ø¨Ø¹ÛØª Ù¾ÙØ±Û اÚÙ ÙØ±ÙØ ØªØ§Ø³Ù Ù
Ù
ک٠د Ù
اÙÙ Ù¾ÛÙ Ù
Ø±Ø³ØªÛ Ùپار٠ÙÙ
ÙÚ ÛØ§Ø³Øª.",ku:"ÙÛØ±ÙÛÙØ§ Ø¯ÛØªÙاÙÛØª ÛØ§Ø±Ù
ÛØªÛ داراÛÛ ÙÛØ±Ø¨Ú¯Ø±Ûت Ø¨Û Ø¯ÛØ³ØªÙ¾ÛÚ©Ø±Ø¯ÙØ بÛÙ¾ÛÛ ÚÛÚ¯ÛØ²ÙاÙ
ÛÛ Ø®ÛØª.",es:"Dependiendo de su nacionalidad, puede recibir asistencia financiera inicial.",tr:"UyruÄunuza baÄlı olarak, baÅlangı\xe7 aÅaması i\xe7in finansal destekten de yararlanabilirsiniz.",kmr:"Li gor\xee neteweya/weletiy\xea we h\xfbn dikarin al\xeekariya daray\xee ya destp\xeak\xea j\xee bist\xeenin.",ka:"áá¥áááá ááá¥áááá¥ááááá¡ ááá®ááááá á¨áááá«áááá áááá¦áá áá áá¯áá ááá á¡áá¬á§áá¡á á¤ááááá¡á£á á ááá®ááá ááá.",uk:"Ðалежно вÑд ваÑого гÑомадÑнÑÑва, ви Ñакож можеÑе оÑÑимаÑи одноÑÐ°Ð·Ð¾Ð²Ñ ÑÑнанÑÐ¾Ð²Ñ ÑÑаÑÑÐ¾Ð²Ñ Ð´Ð¾Ð¿Ð¾Ð¼Ð¾Ð³Ñ.",az:"VÉtÉndaÅlıÄınıza g\xf6rÉ birdÉfÉlik maliyyÉ baÅlanÄıc yardımı da ala bilÉrsiniz.",prs:"Ø¨Ø³ØªÙ Ø¨Ù ØªØ§Ø¨Ø¹ÛØª Ø´Ù
ا Ù
ÛâØªÙØ§ÙÛØ¯ Ú©Ù
Ú© Ù
اÙÛ ÛÚ©âØ¨Ø§Ø±Ù Ø¢ØºØ§Ø² ÙÛØ² Ø¯Ø±ÛØ§Ùت Ú©ÙÛØ¯.",ur:"آپ Ú©Û Ø´ÛØ±Ûت Ú©Û Ù
طاب٠آپ ک٠اÛÚ© بار Ú©Û Ù
اÙÛ Ø§Ø¨ØªØ¯Ø§Ø¦Û Ø§Ù
داد Ø¨Ú¾Û Ù
Ù Ø³Ú©ØªÛ ÛÛÛ",ha:"Bisa ga Æasancin ku, za ku iya samun taimakon kuÉi na farawa na lokaci Éaya.",hy:"ÕÕ¥Ö ÖÕ¡Õ²Õ¡ÖÕ¡ÖÕ«Õ¸ÖÕ©ÕµÕ¡Õ¶Õ¨ Õ¯Õ¡ÕÕ¾Õ¡Õ®Õ Õ¯Õ¡ÖÕ¸Õ² Õ¥Ö Õ½Õ¿Õ¡Õ¶Õ¡Õ¬ Õ¶Õ¡Ö Õ´Õ«Õ¡Õ¶Õ¾Õ¡Õ£ Õ½Õ¯Õ½Õ¶Õ¡Õ¯ ÖÕ«Õ¶Õ¡Õ¶Õ½Õ¡Õ¯Õ¡Õ¶ Õ¡Õ»Õ¡Õ¯ÖÕ¸ÖÕ©ÕµÕ¸ÖÕ¶Ö",ro:"\xcen funcÈie de cetÄÈenie, puteÈi primi Èi asistenÈÄ financiarÄ unicÄ de start."},p=(e,n,o)=>e?o?e.replace("{{STARTUP_CASH}}",m[n]):e.replace("{{STARTUP_CASH}}","").replace(/\s+/g," "):"",g=e=>{var t,i;let r="file-section__arrow",l="file-section__content";n[null==e?void 0:e.id]?(r+=" file-section__arrow--open",l+=" file-section__content--open"):(r+=" file-section__arrow--closed",l+=" file-section__content--closed");let s=(null==e||null==(i=e.text)||null==(t=i.trim())?void 0:t.split(" "))||[],c=s.pop(),d=s.join(" ");return(0,a.jsxs)("div",{className:"country-programms__style",children:[(0,a.jsx)("div",{className:"country-programms__headiconparent file-section",children:(0,a.jsx)("h4",{className:n[null==e?void 0:e.id]?"icon-placement file-section__title file-section__title--open":"icon-placement file-section__title",onClick:()=>(e=>{o(n=>({...n,[e]:!n[e]}))})(null==e?void 0:e.id),children:null==e?void 0:e.title})}),n[null==e?void 0:e.id]&&(0,a.jsxs)(a.Fragment,{children:[d," ",(0,a.jsxs)(h(),{href:null==e?void 0:e.link,children:[c," ",(0,a.jsx)(v.EQc,{size:12})]})]})]})};return((e,n)=>{let o;e.files&&(e.files.filter(e=>e.primaryCategoryCountries&&"country-fact-sheets"===e.primaryCategoryCountries.slug),e.files.filter(e=>e.primaryCategoryCountries&&"anfragen"===e.primaryCategoryCountries.slug));let t="EU"!==e.europeanUnion&&!e.securitySituation&&(e.reagGarp||e.starthilfePlus||e.reintegrationProgrammes.length>0);for(var i=[],l=0;l<n.length;l++){var c,d=n[l];i.push((0,a.jsx)("div",{className:"country-programms",children:(0,a.jsx)("div",{children:null==d||null==(c=d.items)?void 0:c.map((n,o)=>{var t,i,l;let s={text:p(_({text:(null==n||null==(t=n.countryProgrammeDescription)?void 0:t[r])||"",locale:r,countrySlug:null==e?void 0:e.slug,programmeSlug:null==n?void 0:n.slug}),r,null==e?void 0:e.showStartupCashSentence),title:(null==n?void 0:n.countryProgrammeHeading)&&(null==n?void 0:n.countryProgrammeHeading[r]),categoryName:u({category:null==d?void 0:d.slug}),id:null==n?void 0:n._id,link:"/programmes/".concat(null==n?void 0:n.slug)};if(!(null==s?void 0:s.title)||!(null==s?void 0:s.text))return null;0===o&&(d._shownCategories=new Set);let c=(null==s?void 0:s.categoryName)&&!(null==d||null==(i=d._shownCategories)?void 0:i.has(null==s?void 0:s.categoryName));return c&&(null==d||null==(l=d._shownCategories)||l.add(null==s?void 0:s.categoryName)),(0,a.jsxs)("div",{children:[c&&(0,a.jsx)("h3",{className:"country-programms__title",children:null==s?void 0:s.categoryName}),s&&g(s,!1)]},null==s?void 0:s.id)})})},"programms-".concat(d.name)))}return(0,a.jsxs)("div",{children:[e&&e.description&&(o=e,(0,a.jsx)("div",{className:"country-programms country-programms--
1hidden",children:(0,a.jsx)(f.A,{source:(o.description[r]||{}).md||""})})),e.securitySituation&&!e.securitySituationCustomText&&(0,a.jsxs)("div",{className:"infobox infobox--special",children:[(0,a.jsx)("p",{children:s("countries.securitySituation",{ns:"country",country:e.translatedName[r]})}),(0,a.jsx)("p",{children:s("countries.securitySituationIOM",{ns:"country"})})]}),e.securitySituation&&e.securitySituationCustomText&&(0,a.jsxs)("div",{className:"infobox infobox--special",children:[(0,a.jsx)("p",{children:e.securitySituationText[r]}),(0,a.jsx)("p",{children:s("countries.securitySituationIOM",{ns:"country"})})]}),"EU"===e.europeanUnion&&(0,a.jsxs)("div",{className:"infobox infobox--special",children:[(0,a.jsx)("p",{children:s("countries.euTextA",{ns:"country"})}),(0,a.jsx)("p",{children:s("countries.euTextB",{ns:"country"})}),(0,a.jsx)("p",{children:s("countries.euTextC",{ns:"country"})})]}),t&&(0,a.jsx)("p",{className:"page-content__text",children:s("countries.availableProgrammes",{ns:"country"})}),n.length>0&&i,((e,n)=>Array.isArray(e.services)&&e.services.filter(e=>e.translatedName[n]).length>0)(e,r)&&(0,a.jsxs)("div",{className:"card card--primary card--country-services",children:[(0,a.jsx)("h3",{className:"card__headline",children:s("countries.servicesOverviewHeadline",{ns:"country"})}),(0,a.jsx)("ul",{className:"list list-card",children:e.services.map(e=>(0,a.jsxs)("li",{className:"list-item ".concat(e.description[r]&&"list-item--toggle"),children:[e.translatedName[r],e.description[r]&&(0,a.jsx)("span",{children:e.description[r]})]},e._id))})]})]})})(t,d)};var w=o(57758),k=o(64816),N=o(89193);let C=e=>{let{files:n,locale:o}=e,{t}=(0,l.Bd)(["country"]),[i,r]=(0,y.useState)(null),[s,c]=(0,y.useState)([]),d=(0,y.useRef)(null);(0,y.useEffect)(()=>{let e=n.filter(e=>!0===e.cfs);e.length>0?(c(e.map(e=>({...e,value:e._id,label:e.language.nativeName}))),r(u(e))):(c([]),r(null))},[n]);let u=e=>e.find(e=>"de"===e.language.name)||e[0];if(n=n.map(e=>({...e,value:e._id,label:e.language.nativeName})),0===s.length)return null;let m=i.primaryCategoryCountries.translatedName[o]||"",p=(0,w.w8)({file:i.file});return(0,a.jsxs)("div",{className:"country-programms__pdf",children:[(0,a.jsxs)("div",{className:"country-programms__pdf-selection",children:[(0,a.jsx)("h3",{id:"reintegration-programmes",style:{marginBottom:15},children:m}),(0,a.jsx)("label",{htmlFor:"country-language",className:"country-programms__pdf-lead-text",children:t("countries.csfViewInOtherLanguages")}),(0,a.jsx)(N.A,{ref:d,options:s,defaultValue:i,placeholder:t("countryInfoBox.chooseCountry"),onChange:e=>{r(n.find(n=>n._id===e))},controlClassName:"form-select country-programms__form-select"})]}),(0,a.jsx)("div",{className:"country-programms__pdf-object",children:(0,a.jsx)(k.PDFObject,{url:p,height:"600px"})})]})};var P=o(27211);let S=JSON.parse('{"abkhazia":{"code":"ge"},"afghanistan":{"code":"af"},"albania":{"code":"al"},"algeria":{"code":"dz"},"andorra":{"code":"ad"},"angola":{"code":"ao"},"anguilla":{"code":"ai"},"antigua-and-barbuda":{"code":"ag"},"argentina":{"code":"ar"},"armenia":{"code":"am"},"australia":{"code":"au"},"austria":{"code":"at"},"azerbaijan":{"code":"az"},"bahamas":{"code":"bs"},"bahrain":{"code":"bh"},"bangladesh":{"code":"bd"},"barbados":{"code":"bb"},"belarus":{"code":"by"},"belgium":{"code":"be"},"belize":{"code":"bz"},"benin":{"code":"bj"},"bermuda":{"code":"bm"},"bhutan":{"code":"bt"},"bolivia":{"code":"bo"},"bosnia-and-herzegovina":{"code":"ba"},"botswana":{"code":"bw"},"brazil":{"code":"br"},"brunei":{"code":"bn"},"bulgaria":{"code":"bg"},"burkina-faso":{"code":"bf"},"burundi":{"code":"bi"},"cambodia":{"code":"kh"},"cameroon":{"code":"cm"},"canada":{"code":"ca"},"cape-verde":{"code":"cv"},"central-african-republic":{"code":"cf"},"chad":{"code":"td"},"chile":{"code":"cl"},"china":{"code":"cn"},"colombia":{"code":"co"},"comoros":{"code":"km"},"congo-republic-of-the":{"code":"cg"},"congo-democratic-republic-of-the":{"code":"cd"},"cook-islands":{"code":"ck"},"costa-rica":{"code":"cr"},"croatia":{"code":"hr"},"cuba":{"code":"cu"},"cyprus":{"code":"cy"},"czech-republic":{"code":"cz"},"denmark":{"code":"dk"},"djibouti":{"code":"dj"},"dominica":{"code":"dm"},"dominican-republic":{"code":"do"},"east-timor":{"code":"tl"},"ecuador":{"code":"ec"},"egypt":{"code":"eg"},"el-salvador":{"code":"sv"}
1,"equatorial-guinea":{"code":"gq"},"eritrea":{"code":"er"},"estonia":{"code":"ee"},"ethiopia":{"code":"et"},"fiji":{"code":"fj"},"finland":{"code":"fi"},"france":{"code":"fr"},"gabon":{"code":"ga"},"gambia-the":{"code":"gm"},"georgia":{"code":"ge"},"germany":{"code":"de"},"ghana":{"code":"gh"},"greece":{"code":"gr"},"grenada":{"code":"gd"},"guatemala":{"code":"gt"},"guinea":{"code":"gn"},"guinea-bissau":{"code":"gw"},"guyana":{"code":"gy"},"haiti":{"code":"ht"},"honduras":{"code":"hn"},"hungary":{"code":"hu"},"iceland":{"code":"is"},"india":{"code":"in"},"indonesia":{"code":"id"},"iran":{"code":"ir"},"iraq":{"code":"iq"},"ireland":{"code":"ie"},"israel":{"code":"il"},"italy":{"code":"it"},"ivory-coast":{"code":"ci"},"jamaica":{"code":"jm"},"japan":{"code":"jp"},"jordan":{"code":"jo"},"kazakhstan":{"code":"kz"},"kenya":{"code":"ke"},"kiribati":{"code":"ki"},"korea-north":{"code":"kp"},"korea-south":{"code":"kr"},"kosovo":{"code":"xk"},"kuwait":{"code":"kw"},"kyrgyzstan":{"code":"kg"},"laos":{"code":"la"},"latvia":{"code":"lv"},"lebanon":{"code":"lb"},"lesotho":{"code":"ls"},"liberia":{"code":"lr"},"libya":{"code":"ly"},"liechtenstein":{"code":"li"},"lithuania":{"code":"lt"},"luxembourg":{"code":"lu"},"macedonia":{"code":"mk"},"madagascar":{"code":"mg"},"malawi":{"code":"mw"},"malaysia":{"code":"my"},"maldives":{"code":"mv"},"mali":{"code":"ml"},"malta":{"code":"mt"},"marshall-islands":{"code":"mh"},"mauritania":{"code":"mr"},"mauritius":{"code":"mu"},"mexico":{"code":"mx"},"micronesia":{"code":"fm"},"moldova":{"code":"md"},"monaco":{"code":"mc"},"mongolia":{"code":"mn"},"montenegro":{"code":"me"},"morocco":{"code":"ma"},"mozambique":{"code":"mz"},"myanmar":{"code":"mm"},"nagorno-karabakh":{"code":"am"},"namibia":{"code":"na"},"nauru":{"code":"nr"},"nepal":{"code":"np"},"netherlands":{"code":"nl"},"new-zealand":{"code":"nz"},"nicaragua":{"code":"ni"},"niger":{"code":"ne"},"nigeria":{"code":"ng"},"niue":{"code":"nu"},"norway":{"code":"no"},"northern-cyprus":{"code":"cy"},"oman":{"code":"om"},"pakistan":{"code":"pk"},"palau":{"code":"pw"},"palestine":{"code":"ps"},"panama":{"code":"pa"},"papa-new-guinea":{"code":"pg"},"papua-new-guinea":{"code":"pg"},"paraguay":{"code":"py"},"peru":{"code":"pe"},"philippines":{"code":"ph"},"poland":{"code":"pl"},"portugal":{"code":"pt"},"puerto rico":{"code":"pr"},"qatar":{"code":"qa"},"romania":{"code":"ro"},"russia":{"code":"ru"},"russian-federation":{"code":"ru"},"rwanda":{"code":"rw"},"sahrawi-arab-democratic-republic":{"code":"eh"},"saint-kitts-and-nevis":{"code":"kn"},"saint-lucia":{"code":"lc"},"saint-martin":{"code":"mf"},"saint-vincent-and-grenadines":{"code":"vc"},"saint-vincent-and-the-grenadines":{"code":"vc"},"samoa":{"code":"ws"},"san-marino":{"code":"sm"}
1,"saudi-arabia":{"code":"sa"},"senegal":{"code":"sn"},"serbia":{"code":"rs"},"seychelles":{"code":"sc"},"sierra-leone":{"code":"sl"},"singapore":{"code":"sg"},"slovakia":{"code":"sk"},"slovenia":{"code":"si"},"solomon-islands":{"code":"sb"},"somalia":{"code":"so"},"somaliland":{"code":"so"},"south-africa":{"code":"za"},"spain":{"code":"es"},"sri-lanka":{"code":"lk"},"south-sudan":{"code":"ss"},"south-ossetia":{"code":"ge"},"sudan":{"code":"sd"},"suriname":{"code":"sr"},"swaziland":{"code":"sz"},"sweden":{"code":"se"},"switzerland":{"code":"ch"},"syria":{"code":"sy"},"sao-tome-and-principe":{"code":"st"},"taiwan":{"code":"tw"},"tajikistan":{"code":"tj"},"tanzania":{"code":"tz"},"thailand":{"code":"th"},"togo":{"code":"tg"},"tonga":{"code":"to"},"transnistria":{"code":"md"},"trinidad-and-tobago":{"code":"tt"},"tunisia":{"code":"tn"},"turkey":{"code":"tr"},"turkmenistan":{"code":"tm"},"tuvalu":{"code":"tv"},"uganda":{"code":"ug"},"ukraine":{"code":"ua"},"united-arab-emirates":{"code":"ae"},"united-kingdom":{"code":"gb"},"united-states":{"code":"us"},"uruguay":{"code":"uy"},"uzbekistan":{"code":"uz"},"vanuatu":{"code":"vu"},"vatican-city":{"code":"va"},"venezuela":{"code":"ve"},"vietnam":{"code":"vn"},"yemen":{"code":"ye"},"zambia":{"code":"zm"},"zimbabwe":{"code":"zw"}}');var z=o(69311);let T=e=>{var n;let{slug:o,img:t}=e;if(!o)return null;let i=!!(null==t?void 0:t.url),r=null==(n=S[o])?void 0:n.code;return i||r?(0,a.jsx)("div",{className:"country-image",children:(0,a.jsx)(d(),{style:{objectFit:!t&&"cover"},loader:i?z.A:void 0,className:"country-image__icon",width:640,height:480,alt:r,src:i?t.url:"/images/flags/".concat(r,".svg")})}):null};var A=o(99594),O=o(38890),D=!0;let E=e=>{var n,o,c,d,m;let g=(0,r.useRouter)().locale,{t:h}=(0,l.Bd)(["country","commons"]),{country:f,programmeCategories:y}=e;(0,A.A)((0,O.T)(f));let v=(0,i.Gr)(g)?h("countries.back",{ns:"country"}):"",b=f.translatedStateStatus&&f.translatedStateStatus[g],x=!!((null==f?void 0:f.onlineBeratung)&&((null==f||null==(n=f.onlineCounselingTitle)?void 0:n[g])||(null==f||null==(c=f.onlineCounseling)||null==(o=c[g])?void 0:o.html)||(null==f?void 0:f.onlineCounselingPhone)||(null==f?void 0:f.onlineCounselingEmail)||(null==f?void 0:f.onlineCounselingSkype))),_="",w="";return f&&(_=f.name,f.translatedName&&f.translatedName[g]&&(_=f.translatedName[g]),w=h("meta.country",{country:_})),(0,a.jsxs)(t.A,{countryPage:!0,children:[(0,a.jsx)(P.A,{title:_+" - "+h("countries.title",{ns:"country"}),description:w,locale:g,path:"/countries",slug:null==e?void 0:e.slug}),(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"page country-page",children:[(0,a.jsx)(s.A,{label:v,path:"/countries",locale:g}),(0,a.jsx)("div",{className:"container",children:(0,a.jsxs)("div",{className:"page-layout",children:[(0,a.jsxs)("div",{className:"page-layout__content",children:[(0,a.jsxs)("div",{className:"page-header",children:[(0,a.jsxs)("div",{className:"page-header__content",children:[(0,a.jsx)("h1",{className:"page-header__title",children:(0,a.jsxs)("span",{children:[f.translatedName[g],b&&"*"]})}),(0,a.jsxs)("div",{className:"parent-container",children:[(0,a.jsx)("div",{className:"countryimage-box",children:(0,a.jsx)(T,{slug:f.slug,img:null==f?void 0:f.image})}),x&&(0,a.jsx)("div",{className:"vcinformation-box",children:(0,a.jsx)(u,{country:f,locale:g})})]})]}),(0,a.jsxs)("div",{className:"column-two-thirds column-tablet-full",children:[f.reintegrationProgrammes&&(0,a.jsx)(j,{programmeCategories:y,country:f,locale:g}),(null==f?void 0:f.files)&&(null==f||null==(d=f.files)?void 0:d.length)>0&&(0,a.jsx)(C,{files:f.files,locale:g})]})]}),(()=>{if(b)return(0,a.jsxs)("div",{className:"country-extra-hint",children:[(0,a.jsx)("span",{children:"*"})," ",f.translatedStateStatus[g]]})})()]}),(null==f?void 0:f.files)&&(null==f||null==(m=f.files)?void 0:m.length)>0&&(0,a.jsx)("aside",{className:"page-layout__sidebar country-downloadbox",children:(0,a.jsx)(p,{files:f.files,locale:g})})]})})]})})]})}},64816:function(e,n,o){"use strict";var a,t=this&&this.__extends||(a=function(e,n){return(a=Object.setPrototypeOf||({__proto__:[]}
1)instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var o in n)n.hasOwnProperty(o)&&(e[o]=n[o])})(e,n)},function(e,n){function o(){this.constructor=e}a(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var n,o=1,a=arguments.length;o<a;o++)for(var t in n=arguments[o])Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);return e}).apply(this,arguments)},r=this&&this.__rest||function(e,n){var o={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>n.indexOf(a)&&(o[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var t=0,a=Object.getOwnPropertySymbols(e);t<a.length;t++)0>n.indexOf(a[t])&&Object.prototype.propertyIsEnumerable.call(e,a[t])&&(o[a[t]]=e[a[t]]);return o};Object.defineProperty(n,"__esModule",{value:!0}),n.PDFObject=void 0;var l=o(14232),s=o(87619);n.PDFObject=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.embed=function(){var e=n.props,o=e.url,a=e.containerId,t=(e.containerProps,r(e,["url","containerId","containerProps"]));s&&s.embed(o,"#"+a,t)},n}return t(n,e),n.pdfobjectversion=function(){return s.pdfobjectversion},n.supportsPDFs=function(){return s.supportsPDFs},n.prototype.componentDidMount=function(){this.embed()},n.prototype.componentDidUpdate=function(e){e.url!==this.props.url&&this.embed()},n.prototype.render=function(){return l.createElement("div",i({},this.props.containerProps,{id:this.props.containerId}))},n.defaultProps={width:"100%",height:"100%",containerId:"pdfobject",forcePDFJS:!1,assumptionMode:!0},n}(l.PureComponent)},65356:(e,n,o)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/countries/[slug]",function(){return o(48353)}])},86695:(e,n,o)=>{"use strict";o.d(n,{A:()=>c});var a=o(37876),t=o(38523),i=o(54587),r=o.n(i),l=o(48230),s=o.n(l);let c=e=>{let{label:n,path:o,locale:i}=e,l=t.DB.includes(i);return(0,a.jsx)("div",{className:"page-header",children:(0,a.jsx)("div",{className:"container",children:(0,a.jsx)("div",{className:"back-button",children:(0,a.jsxs)(s(),{href:o,className:"back-button__link",children:[(0,a.jsx)("div",{className:"back-button__icon",children:(0,a.jsx)(r(),{priority:!0,src:"/images/common/arrow-right.svg",className:l?"rotateimg180":"",height:13,width:13,alt:"Back"})}),(0,a.jsx)("span",{className:"back-button__label",children:n})]})})})})}},87619:function(e,n){var o,a;void 0===(a="function"==typeof(o=function(){"use strict";if("undefined"==typeof window||void 0===window.navigator||void 0===window.navigator.userAgent)return!1;let e=window,n=e.navigator,o=n.userAgent,a=!1,t=function(){let a=void 0!==e.chrome,t=void 0!==e.safari||void 0!==n.vendor&&/Apple/.test(n.vendor)&&/Safari/.test(o),i=void 0!==e.Mozilla||/irefox/.test(o);return a||t||i},i=function(e){var n=null;try{n=new ActiveXObject(e)}catch(e){n=null}return!!n},r=function(){if(void 0!==n.platform&&"MacIntel"===n.platform&&void 0!==n.maxTouchPoints&&n.maxTouchPoints>1||/Mobi|Tablet|Android|iPad|iPhone/.test(o))return!1;let a="boolean"==typeof n.pdfViewerEnabled;return(!a||!!n.pdfViewerEnabled)&&(a&&n.pdfViewerEnabled||t()||"ActiveXObject"in e&&(i("AcroPDF.PDF")||i("PDF.PdfCtrl")))}(),l=function(e){let n,o="",a=[],t="";if((e.comment||e.viewrect||e.highlight)&&!e.page&&(e.page=1,s("The comment, viewrect, and highlight parameters require a page parameter, but none was specified. Defaulting to page 1.")),e.page&&(a.push("page="+encodeURIComponent(e.page)),delete e.page),e.fdf&&(t=e.fdf,delete e.fdf),e){for(n in e)e.hasOwnProperty(n)&&a.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));
1t&&a.push("fdf="+encodeURIComponent(t)),(o=a.join("&"))&&(o="#"+o)}return o},s=function(e){return a||console.log("[PDFObject]",e),!1},c=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},d=function(n){let o=document.body;return"string"==typeof n?o=document.querySelector(n):void 0!==e.jQuery&&n instanceof jQuery&&n.length?o=n.get(0):void 0!==n.nodeType&&1===n.nodeType&&(o=n),o},u=function(e,n,o,a){if(window.Blob&&window.URL&&window.URL.createObjectURL){var t=new XMLHttpRequest;t.open("GET",e,!0),t.responseType="blob",t.onload=function(){if(200===t.status){var e=t.response,i=document.createElement("a");i.innerText="Download PDF",i.href=URL.createObjectURL(e),i.setAttribute("download",n),o.innerHTML=a.replace(/\[pdflink\]/g,i.outerHTML)}},t.send()}},m=function(e,n,o,a,t,i,r,l,s,d,u){c(n);let m=o;if("pdfjs"===e){let e=-1!==u.indexOf("?")?"&":"?";m=u+e+"file="+encodeURIComponent(o)+a}else m+=a;let p=document.createElement("iframe");if(p.className="pdfobject",p.type="application/pdf",p.title=l,p.src=m,p.allow="fullscreen",p.frameborder="0",r&&(p.id=r),!s){let e="border: none;";n!==document.body?e+="width: "+t+"; height: "+i+";":e+="position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%;",p.style.cssText=e}return d&&d.key&&-1===["className","type","title","src","style","id","allow","frameborder"].indexOf(d.key)&&p.setAttribute(d.key,void 0!==d.value?d.value:""),n.classList.add("pdfobject-container"),n.appendChild(p),n.getElementsByTagName("iframe")[0]},p=function(e,n,o){let t=o||{};a="boolean"==typeof t.suppressConsole&&t.suppressConsole;let i="string"==typeof t.id?t.id:"",c=t.page||!1,p=t.pdfOpenParams||{},g="string"!=typeof t.fallbackLink&&"boolean"!=typeof t.fallbackLink||t.fallbackLink,h=t.width||"100%",f=t.height||"100%",y=t.title||"Embedded PDF",v="boolean"==typeof t.forcePDFJS&&t.forcePDFJS,b="boolean"==typeof t.omitInlineStyles&&t.omitInlineStyles,x=t.PDFJS_URL||!1,_=d(n||!1),j="",w=t.customAttribute||{},k=t.fallbackFileNameForBase64,N="<p>This browser does not support inline PDFs. Please download the PDF to view it: [pdflink]</p>";if("string"!=typeof e)return s("URL is not valid");if(!_)return s("Target element cannot be determined");if(c&&(p.page=c),j=l(p),v&&x)return m("pdfjs",_,e,j,h,f,i,y,b,w,x);if(r)return m("iframe",_,e,j,h,f,i,y,b,w);if(x)return m("pdfjs",_,e,j,h,f,i,y,b,w,x);if(g)if("string"==typeof g)_.innerHTML=g.replace(/\[url\]/g,e);else{let n=e.match(/data:application\/pdf;(?:.*filename=([^;]+);)?.*base64,/i);if(n)u(e,k=k||n[1]||"file.pdf",_,N);else{let n="<a href='"+e+"'>Download PDF</a>";_.innerHTML=N.replace(/\[pdflink\]/g,n)}}return s("This browser does not support embedded PDFs")};return{embed:function(e,n,o){return p(e,n,o)},pdfobjectversion:"2.3.1",supportsPDFs:r}})?o.apply(n,[]):o)||(e.exports=a)},88065:(e,n,o)=>{"use strict";o.d(n,{A:()=>v});var a=o(37876),t=o(14232),i=o(95062),r=o.n(i),l=o(15133),s=o(54587),c=o.n(s),d=o(53916),u=o(92925),m=o(60302);let p=e=>{let{title:n,files:o,children:i,locale:r,logged_section:s,open:p}=e,[g,h]=(0,t.useState)(p),[f,y]=(0,t.useState)(!0),{isAuthenticated:v}=(0,d.A)(),{t:b}=(0,l.Bd)(["commons"]),x="file-section__arrow",_="file-section__content";g?(x+=" file-section__arrow--open",_+=" file-section__content--open"):f||(x+=" file-section__arrow--closed",_+=" file-section__content--closed");let j=!1;if(o=o.filter(e=>{let n=!e.onlyloginusers;return!v&&e.onlyloginusers&&(j=!0),v||n}),s&&!v)return(0,a.jsx)("div",{className:"file-section",children:b("filesection.logged_files")});let w=o?[...o].sort((e,n)=>e.name.localeCompare(n.name)):null;return(0,a.jsxs)("div",{className:"file-section",children:[(0,a.jsx)("p",{className:g?"file-section__title file-section__title--open":"file-section__title",onClick:()=>{h(!g),y(!1)},children:n}),(0,a.jsx)("div",{className:"file-section__files",children:(0,a.jsxs)("div",{className:_,children:[w&&(0,a.jsxs)("ul",{className:"file-list",children:[w.map(e=>{let n="";return e.language&&(n="("+e.language.nativeName,e.seclanguage.forEach(e=>{n=n+", "+e.nativeName}),n+=")"),(0,a.jsxs)("li",{className:"file-list__item",children:[(0,a.jsx)(c(),{height:41,width:23,className:"file-list__icon",alt:"pdf icon",src:"/images/common/icon-pdf.svg"}),(0,a.jsxs)("a",{onClick:()=>(e=>{let n="";e.primaryCategory&&(n=e.primaryCategory.name),(0,u.s)("FileDownload",n,e.name)})(e),target:"_blank",href:(0,m.w)(e),className:"file-list__link",rel:"noreferrer",children:[e.translatedname[r]||e.name," ",n]})]},"".concat(e._id))}),j&&(0,a.jsxs)("li",{className:"file-list__item file-list__item--logged-files",children:[(0,a.jsx)(c(),{height:41,width:23,className:"file-list__icon file-list__icon--logged-files",alt:"pdf icon",src:"/images/common/icon-pdf.svg"}),b("filesection.logged_files")]},"logged-files")]}),i]})})]})},g=(e,n)=>e.translatedName&&e.translatedName[n]||e.name,h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(n.length<2)return e;let{path:o,onlyloginusers:a}=n[0];o||(o=n[0]);let t=2===n.length&&n[1],i=e.find(e=>e.title===o);if(i)t?i.files.push(t):i.children=h(i.children,n.slice(1));else{let i=[],r=[];t?r.push(t):i=h(i,n.slice(1)),e.push({title:o,onlyloginusers:a,children:i,files:r})}return e},f=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0,a=((e,n)=>{let o="primaryCategory"+n,a="secondaryCategory"+n;return e.map(e=>(e.primaryCategory=e[o],e.secondaryCategory=e[a],e))})(e,o);return(a=a.filter(e=>e).filter(e=>e&&"object"==typeof e).map(e=>((e,n)=>{let o=[],a=!1;if(e.primaryCategory){let t={path:g(e.primaryCategory,n),onlyloginusers:e.primaryCategory.onlyloginusers};if(o.push(t),e.secondaryCategory){let a={path:g(e.secondaryCategory,n),onlyloginusers:e.secondaryCategory.onlyloginusers};o.push(a)}e.year&&(o.push("".concat(e.year)),a=!0)}return e.tagCategory&&(o.push(g(e.tagCategory,n)),e.categoryTag&&o.push(g(e.categoryTag,n)),e.year&&!a&&o.push("".concat(e.year))),o.push(e),o})(e,n))).reduce(h,[])};function y(e){let{locale:n="en",filecategory:o,files:i,open:r=!1}=e,l=(0,t.useMemo)(()=>
1f(i,n,o),[i,n,o]);return(0,a.jsx)("div",{className:"file-downloads",children:function e(o,t){if(0!==o.length)return[...o].sort((e,n)=>e.title.localeCompare(n.title)).map((o,i)=>(0,a.jsx)(p,{logged_section:o.onlyloginusers,files:o.files,title:o.title,locale:n,open:t,children:o.children&&e(o.children,t)},"fileSection-".concat(i)))}(l,r)})}y.propTypes={files:r().array,locale:r().string};let v=y},89193:(e,n,o)=>{"use strict";o.d(n,{A:()=>d});var a=o(37876),t=o(14232),i=o(92991);let r={display:"flex",alignItems:"center",justifyContent:"space-between"},l={backgroundColor:"#EBECF0",borderRadius:"2em",color:"#172B4D",display:"inline-block",fontSize:12,fontWeight:"normal",lineHeight:"1",minWidth:1,padding:"0.16666666666667em 0.5em",textAlign:"center"},s=e=>(0,a.jsxs)("div",{style:r,children:[(0,a.jsx)("span",{style:{fontSize:16,color:"#6789b0"},children:e.label}),(0,a.jsx)("span",{style:l,children:e.options.length})]}),c=t.forwardRef((e,n)=>{let{options:o,defaultValue:r,placeholder:l,onChange:c,controlClassName:d}=e;return(0,a.jsx)(i.Ay,{ref:n,instanceId:(0,t.useId)(),classNames:{control:()=>d,placeholder:()=>"form-select__placeholder"},options:o,formatGroupLabel:s,defaultValue:r,placeholder:l,onChange:e=>c(e.value)})});c.displayName="ReactSelect";let d=t.memo(c,(e,n)=>e.options.length===n.options.length&&e.options[0].label===n.options[0].label&&e.placeholder===n.placeholder)},99594:(e,n,o)=>{"use strict";o.d(n,{A:()=>l});var a=o(14232),t=o(89099),i=o(80919),r=o(38523);let l=e=>{let n=(0,t.useRouter)(),{setLocaleOverride:o}=(0,i.b)(),l=(null==e?void 0:e.length)?e.join(","):"";(0,a.useEffect)(()=>{if(l){let e=l.split(",");o(e);let{locale:a,pathname:t,asPath:i,query:s}=n;if(!e.includes(a)){let o=e.includes(r.MY)?r.MY:e[0];document.cookie="NEXT_LOCALE=".concat(o),n.replace({pathname:t,query:s},i,{locale:o})}}else o(null);return()=>o(null)},[l,n.locale,o])}}},e=>{e.O(0,[9196,1167,3371,9772,6695,460,2991,6227,636,6593,8792],()=>e(e.s=65356)),_N_E=e.O()}]);
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.