1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[422],{5449:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return ke},default:function(){return Me}});var l,n=r(2962),s=r(9499),a=r(6835),o=r(1042),i=r(1163),c=r(1664),d=r.n(c),m=r(7330),u=r(6639),p=r(1691),x=r(6102),h=r(3656),f=r(5870),b=r(7294);function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e},g.apply(this,arguments)}var v=function(e,t){return b.createElement("svg",g({viewBox:"0 0 1920 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid",ref:t},e),l||(l=b.createElement("path",{d:"M140.292 40.1162C154.377 32.5437 168.468 30.169 184.001 33.3313C199.096 36.4229 211.308 47.2787 219.623 59.9044C220.737 61.5859 221.729 63.3883 222.61 65.2792C223.742 67.707 224.688 70.2823 225.452 72.9432L289.035 35.9686L289.076 35.9479L332.878 10.4693C341.823 5.03254 351.503 2.19765 361.907 2L376.588 3.68737C386.431 6.17712 395.072 10.9501 402.489 18.0123L412.21 30.2605C416.58 37.0276 418.995 44.3376 419.474 52.2139C421.172 59.6478 420.991 67.1288 418.873 74.6276C417.321 82.265 414.083 88.9673 409.152 94.7639L408.831 95.2978L408.405 95.9675L456.963 67.2439C470.57 59.1964 485.49 57.3645 500.672 60.459C513.013 62.9871 523.755 71.2352 531.434 80.908C533.669 83.7282 535.6 86.6398 537.245 89.6487L667.066 14.0358C695.185 -2.33052 728.659 6.85561 746.392 33.824C754.368 45.9718 756.451 64.1966 753.067 78.1587C765.973 67.8014 778.909 57.4501 791.933 47.2492C813.236 30.5318 840.106 17.4489 867.495 17.4666C876.136 17.4695 885.443 18.4017 893.676 21.3103C899.079 23.216 904.26 25.2868 909.191 27.7619C914.506 30.4257 919.53 33.5526 924.222 37.4377L929.8 34.0954C943.308 25.9683 958.397 24.2337 973.509 27.3105C988.61 30.4021 1000.82 41.2578 1009.13 53.8836C1017.14 66.0433 1019.18 84.2916 1015.79 98.2507C1015.19 100.741 1014.43 103.145 1013.52 105.466C1012.09 109.104 1010.3 112.531 1008.2 115.744L1182.84 14.0358C1210.96 -2.33052 1244.43 6.85561 1262.17 33.824C1270.14 45.9718 1272.23 64.1966 1268.84 78.1587C1276.05 72.3738 1283.27 66.5919 1290.5 60.8366C1296.23 56.2878 1301.96 51.7537 1307.71 47.2492C1329.01 30.5318 1355.88 17.4489 1383.27 17.4666C1386.61 17.4666 1390.04 17.6052 1393.48 17.9444C1398.94 18.4843 1404.4 19.5256 1409.45 21.3103C1420.68 25.2662 1430.95 29.9478 1440 37.4377L1445.58 34.0954C1459.08 25.9683 1474.17 24.2337 1489.29 27.3105C1504.39 30.4021 1516.6 41.2578 1524.91 53.8836C1532.92 66.0433 1534.96 84.2916 1531.58 98.2507C1527.85 113.588 1518.04 125.729 1505.38 134.423L1488.14 146.243C1488.79 146.243 1489.44 146.255 1490.1 146.282L1687.64 40.1162C1701.73 32.5437 1715.81 30.169 1731.35 33.3313C1746.44 36.4229 1758.65 47.2787 1766.97 59.9044C1769.51 63.7423 1771.44 68.2085 1772.8 72.9432L1880.23 10.4693C1889.17 5.03254 1898.85 2.19765 1909.26 2L1920 3.23477V200H0V115.512L140.292 40.1162Z",fill:"currentColor"})))},_=(0,b.forwardRef)(v),j=r(4426),w=r(6235),L=r.n(w),y=r(7779),C=r(29),O=r(7794),N=r.n(O),k=function(){var e=(0,C.Z)(N().mark((function e(t){return N().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",fetch("/api/get-guide",{method:"post",headers:{"content-type":"application/json",accept:"apptication/json"},body:JSON.stringify(t)}));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),M=r(6882),P="GetBrochure",E=function(){var e=(0,M.dd)(),t=(0,a.Z)(e,2),r=t[0],l=t[1],n=r===P,s=(0,b.useCallback)((function(){l(n?null:P)}),[n]);return(0,b.useMemo)((function(){return[n,s]}),[n,s])},S=r(4625),H=r(8001),I=r(1040),Z=r(137),D=r(7536),T=r(3976),R=r(5893);function z(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,l)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?z(Object(r),!0).forEach((function(t){(0,s.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):z(Object(r)).forEac
1h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var B=[{name:"email",type:"email",label:"Email",required:!0}],q=[{name:"language",label:"Choose language",required:!0,options:[{value:"en",label:"English"},{value:"it",label:"Italian"},{value:"fr",label:"French"}]}],V=function(e){var t=e.onSubmit,r=e.error,l=e.methods,n=l.register,s=l.handleSubmit,a=l.formState.errors,o=l.setValue,i=l.trigger;(0,b.useEffect)((function(){o("url",window.location.href)}),[]);var c=(0,b.useCallback)((function(e,t){var r=e.value;o(t,r),i(t)}),[onchange]);return(0,R.jsx)(D.RV,A(A({},l),{},{children:(0,R.jsxs)("form",{className:"flex flex-col justify-between",onSubmit:s(t),children:[(0,R.jsxs)("div",{children:[B.map((function(e){var t,r,l,s,o=e.name,i=e.type,c=e.label,d=e.required;return(0,R.jsx)(I.u,A({type:i,label:c,error:"required"===(null===(t=a[o])||void 0===t?void 0:t.type)?"".concat(c," is required"):"pattern"===(null===(r=a[o])||void 0===r?void 0:r.type)?"".concat(c," is invalid"):"server"===(null===(l=a[o])||void 0===l?void 0:l.type)?null===(s=a[o])||void 0===s?void 0:s.message:null},n(o,{required:d,pattern:"email"===i?T.L:void 0})),o)})),q.map((function(e){var t,r,l,s,o=e.name,i=e.label,d=e.required,m=e.options;return(0,R.jsxs)("div",{className:"relative mt-4 md:mt-5 lg:mt-6 2xl:mt-8 ".concat(a.language?"text-error":""),children:[(0,R.jsx)("input",A({className:"absolute invisible -z-1 w-[.1rem] h-[.1rem]",disabled:!0},n(o,{required:d}))),(0,R.jsx)(Z.C,{onChange:function(e){return c(e,o)},options:m,placeholder:i,defaultValue:null,disabled:!1,error:"required"===(null===(t=a[o])||void 0===t?void 0:t.type)?"".concat(i," is required"):"pattern"===(null===(r=a[o])||void 0===r?void 0:r.type)?"".concat(i," is invalid"):"server"===(null===(l=a[o])||void 0===l?void 0:l.type)?null===(s=a[o])||void 0===s?void 0:s.message:null})]},o)}))]}),r&&(0,R.jsx)("div",{className:"text-error py-4",children:r}),(0,R.jsxs)("div",{className:"mt-16 pt-6 border-t border-current md:border-0 md:mt-auto md:pt-5 lg:pt-0 lg:mt-12 2xl:mt-16",children:[(0,R.jsx)(j.z,{primary:!0,color:"auto",size:"big",className:"w-full",children:"Get link"}),(0,R.jsx)("div",{className:"mt-5 2xl:mt-8 text-caption",children:"After submitting this form you will receive the download link."})]})]})}))};function Y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,l)}return r}function F(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(r),!0).forEach((function(t){(0,s.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var U,G,J=function(e){var t,r,l=e.guide;if(!l)return null;var n=E(),s=(0,a.Z)(n,2),o=s[0],i=s[1],c=(0,S.Z)(k),d=(0,a.Z)(c,3),m=d[0],u=m.isSubmited,p=m.isLoading,x=m.error,h=d[1],f=d[2],g=(0,b.useCallback)(function(){var e=(0,C.Z)(N().mark((function e(t){var r,n,s,a,o,i,c;return N().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!p){e.next=3;break}return e.abrupt("return",null);case 3:return e.next=5,h(F(F({},t),{},{guide:null===l||void 0===l||null===(r=l.usefull_materials_item_link)||void 0===r?void 0:r.name}));case 5:if(localStorage.setItem("popupFilled","true"),null===(n=l.usefull_materials_item_link)||void 0===n||!n.url){e.next=18;break}return e.next=9,fetch(l.usefull_materials_item_link.url);case 9:return o=e.sent,e.next=12,o.blob();case 12:i=e.sent,(c=document.createElement("a")).href=URL.createObjectURL(i),c.download=null!==(s=null===l||void 0===l||null===(a=l.usefull_materials_item_link)||void 0===a?void 0:a.name)&&void 0!==s?s:"download",c.click(),URL.revokeObjectURL(c.href);case 18:e.next=23;break;case 20:e.prev=20,e.t0=e.catch(0),console.log(e.t0);case 23:case"end":return e.stop()}}),e,null,[[0,20]])})));return function(t){return e.apply(this,arguments)}}
1(),[p]),v=u?(0,R.jsx)("div",{className:"text-title mb-12 md:mb-10 lg:mb-0 flex flex-col",children:(0,R.jsx)("div",{className:"ml-auto mr-auto md:ml-0 md:mr-0",children:(0,R.jsx)("strong",{children:"success"})})}):(0,R.jsxs)("div",{className:"text-title mb-12 md:mb-10 lg:mb-0 flex flex-col",children:[(0,R.jsxs)("div",{children:[(0,R.jsx)("span",{className:"font-sans",children:"DOWNLOAD"})," "]}),(0,R.jsx)("div",{className:"ml-auto mr-0 md:ml-0 md:mr-0 whitespace-normal break-words",children:(0,R.jsx)("strong",{children:l.usefull_materials_item_link.name})})]}),_=u?(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)("div",{className:"text-lead mb-auto",dangerouslySetInnerHTML:{__html:"We got your request. If your download has not started please press the button below."}}),l&&(0,R.jsx)("div",{className:"mt-16 pt-6 border-t border-current md:border-0 md:mt-auto md:pt-5 lg:pt-0 lg:mt-12 2xl:mt-16",children:(0,R.jsx)("a",{className:"w-full",target:"_blank",href:null===(t=l.usefull_materials_item_link)||void 0===t?void 0:t.url,download:null===(r=l.usefull_materials_item_link)||void 0===r?void 0:r.name,children:(0,R.jsx)(j.z,{as:"span",primary:!0,color:"auto",size:"big",className:"w-full",children:"Download"})})})]}):(0,R.jsx)(R.Fragment,{children:(0,R.jsx)(V,{onSubmit:g,error:x,methods:f})});return(0,R.jsx)(H.u,{isOpen:o,onClose:i,aside:v,footer:"",className:"th-colors-auto th-colors-bg-auto-var",children:_})},W=function(e){var t=e.usefull_materials_title_rich_text,r=e.usefull_materials_items,l=e.ctaBtnEvent,n=(0,y.Gc)().xl,s=E(),o=(0,a.Z)(s,2)[1],i=(0,b.useState)(void 0),c=i[0],d=i[1],m=function(e){e.nativeEvent.preventDefault()},u=function(e){var t,r;"true"!==localStorage.getItem("popupFilled")?function(e){d(e),o()}(e):null!==(t=e.usefull_materials_item_link)&&void 0!==t&&t.url&&window.open(null===(r=e.usefull_materials_item_link)||void 0===r?void 0:r.url,"_blank")},p=n?"w-full 2xl:text-button_small_1920 !px-10 min-w-[18.2rem] 2xl:min-w-[27.3rem]":"w-full md:text-button_small_1280 !px-10 min-w-[18.2rem]",x=n?"small":"big";return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(J,{guide:c}),(0,R.jsxs)("div",{className:"relative overflow-hidden",children:[(0,R.jsx)(_,{className:"\n th-colors-auto-invert\n block max-w-[70rem] md:max-w-none md:w-full h-[8rem] md:h-[10rem] lg:h-[12rem] xl:h-[14.8rem] 2xl:h-[20rem]\n transform scale-105\n ",preserveAspectRatio:"xMidYMax"}),(0,R.jsxs)("section",{className:"th-colors-auto pt-8 lg:pt-12 2xl:pt-18 pb-8 md:pb-16 xl:pb-20 2xl:pb-30 ",children:[(0,R.jsxs)("div",{className:"px-std grid-std grid-cols-1",children:[t&&(0,R.jsx)("div",{className:" col-span-full md:col-span-10 lg:col-span-14 lg:col-start-8 xl:col-span-18 xl:col-start-10 md:mr-6 2xl:mr-10 ",children:(0,R.jsx)("div",{className:"text-title-rich-text-normal mb-10 md:mb-0",dangerouslySetInnerHTML:{__html:t}})}),(0,R.jsx)("div",{className:"col-span-full md:col-span-17 lg:col-span-16 xl:col-span-20",children:r&&r.map((function(e,t){var r,l=e.usefull_materials_item_title,n=e.usefull_materials_item_rich_text,s=e.usefull_materials_item_link;return(0,R.jsxs)("div",{className:"".concat(L().row," flex justify-between flex-wrap py-10 md:py-8 2xl:py-10 border-t border-current"),children:[l&&(0,R.jsx)("div",{className:"text-h1_serif md:text-h2_1280 2xl:text-h2_1920 order-1 w-full md:w-[20rem] xl:w-[28.6rem] 2xl:w-[43rem] md:my-auto",dangerouslySetInnerHTML:{__html:l}}),n&&(r=n,!/^<p><\/p>$/i.test(r))&&(0,R.jsx)("div",{className:"md:w-full text-caption_big order-2 md:order-3 mt-5 md:mt-6",dangerouslySetInnerHTML:{__html:n}}),s.url&&(0,R.jsx)("a",{className:"w-full md:w-auto order-3 md:order-2 mt-6 md:my-auto",href:"/#",onClick:m,children:(0,R.jsx)(j.z,{className:p,size:x,as:"span",color:"auto",onClick:function(){return u({usefull_materials_item_title:l,usefull_materials_item_rich_text:n,usefull_materials_item_link:s})},children:"Download"})})]},t)}))})]}),(0,R.jsx)("div",{className:"px-std grid-std",children:(0,R.jsx)(j.z,{className:"w-full col-span-full lg:col-span-30 xl:col-span-38 lg:col-start-8 xl:col-start-10 -mt-6 md:mt-0 lg:mt-2 2xl:mt-6 ",primary:!0,color:"auto",size:"big",onClick:l,children:"ask a question"})})]})]})]})},X=r(5758),K=r(3558),Q=r(9101),$=r(1700),ee=r.n($),te=function(e){var t=e.courses,r=e.invert;if(ee()(t))return null;var l=Q.X.Educators,n=r?"th-colors-auto-invert th-border-auto-invert":"th-colors-auto th-border-auto";return(0,R.jsxs)("section",{children:[(0,R.jsx)("div",{className:"\n relative bottom-[-1px] z-10\n ".concat(n," border-b\n text-center text-h1_sans\n py-5 md:py-6 2xl:py-8\n "),children:"Educator courses"}),t&&(0,R.jsx)(K.H,{courses:t,invert:r}),(0,R.jsx)(d(),{href:"/courses/".concat(l),children:(0,R.jsxs)("a",{className:"block group relative ".concat(n," text-center text-button py-5 md:py-8 2xl:py-11 border-t"),children:[(0,R.jsx)("span",{className:"\n pointer-events-none absolute top-0 left-0 w-full h-full\n opacity-0 group-hover:opacity-10 transition-opacity duration-100\n ".concat(r?"th-colors-bg-auto":"th-colors-bg-auto-invert","\n ")}),(0,R.jsx)("span",{children:"show more courses"})]})})]})},re=r(3760),le=r.n(re);function ne(){return ne=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e},ne.apply(this,arguments)}var se,ae=function(e,t){return b.createElement("svg",ne({viewBox:"0 0 156 156",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid",ref:t},e),U||(U=b.createElement("mask",{id:"stars"},b.createElement("circle",{cx:78,cy:78,r:78,fill:"white"}),b.createElement("path",{d:"M77.2615 31.1992L78.9255 36.4291H84.3931L80.1141 39.7571L81.7782 44.987L77.2615 41.6589L72.7448 44.987L74.4088 39.7571L70.1299 36.4291H75.5974L77.2615 31.1992Z",fill:"black"}),b.createElement("path",{d:"M77.2615 112.016L78.9255 117.245H84.3931L80.1141 120.336L81.7782 125.803L77.2615 122.475L72.7448 125.803L74.4088 120.336L70.1299 117.245H75.5974L77.2615 112.016Z",fill:"black"}),b.createElement("path",{d:"M97.2253 105.375L98.8894 110.605H104.595L100.078 113.933L101.742 119.163L97.2253 115.835L92.7087 119.163L94.6104 113.933L90.0938 110.605H95.5613L97.2253 105.375Z",fill:"black"}),b.createElement("path",{d:"M111.018 91.6016L112.682 96.8314H118.388L113.871 100.159L115.535 105.389L111.018 102.061L106.502 105.389L108.403 100.159L103.887 96.8314H109.354L111.018 91.6016Z",fill:"black"}),b.createElement("path",{d:"M117.666 71.6094L119.33 76.8392H124.798L120.281 80.1673L121.945 85.3971L117.666 82.0691L113.15 85.3971L114.814 80.1673L110.297 76.8392H115.764L117.666 71.6094Z",fill:"black"}),b.createElement("path",{d:"M111.018 51.4062L112.682 56.8738H118.388L113.871 59.9642L115.535 65.194L111.018
162.1036L106.502 65.194L108.403 59.9642L103.887 56.8738H109.354L111.018 51.4062Z",fill:"black"}),b.createElement("path",{d:"M97.2253 37.6172L98.8894 43.0847H104.595L100.078 46.1751L101.742 51.4049L97.2253 48.3146L92.7087 51.4049L94.6104 46.1751L90.0938 43.0847H95.5613L97.2253 37.6172Z",fill:"black"}),b.createElement("path",{d:"M57.2883 105.375L55.6242 110.605H49.9189L54.4356 113.933L52.7716 119.163L57.2883 115.835L61.8049 119.163L59.9032 113.933L64.4199 110.605H58.9523L57.2883 105.375Z",fill:"black"}),b.createElement("path",{d:"M43.508 91.6016L41.844 96.8314H36.1387L40.6554 100.159L38.9913 105.389L43.508 102.061L48.0247 105.389L46.1229 100.159L50.6396 96.8314H45.172L43.508 91.6016Z",fill:"black"}),b.createElement("path",{d:"M36.8455 71.6094L35.1814 76.8392H29.7139L34.2305 80.1673L32.5665 85.3971L36.8455 82.0691L41.3621 85.3971L39.6981 80.1673L44.2148 76.8392H38.7472L36.8455 71.6094Z",fill:"black"}),b.createElement("path",{d:"M43.508 51.4062L41.844 56.8738H36.1387L40.6554 59.9642L38.9913 65.194L43.508 62.1036L48.0247 65.194L46.1229 59.9642L50.6396 56.8738H45.172L43.508 51.4062Z",fill:"black"}),b.createElement("path",{d:"M57.2883 37.6172L55.6242 43.0847H49.9189L54.4356 46.1751L52.7716 51.4049L57.2883 48.3146L61.8049 51.4049L59.9032 46.1751L64.4199 43.0847H58.9523L57.2883 37.6172Z",fill:"black"}))),G||(G=b.createElement("circle",{cx:78,cy:78,r:78,fill:"currentColor",mask:"url(#stars)"})))},oe=(0,b.forwardRef)(ae),ie=function(e){var t=e.title,r=e.description;return(0,R.jsxs)("section",{className:"th-colors-text-auto-invert px-std grid-std pt-8 pb-16 md:pt-6 md:pb-20 lg:pt-9 lg:pb-25 2xl:pt-13 2xl:pb-35",children:[(0,R.jsx)("div",{className:"text-title col-span-full md:col-start-5 lg:col-start-8 xl:col-start-10 mb-8 md:mb-6 2xl:mb-13 ",children:t&&(0,R.jsx)("h1",{className:"".concat(le().h1),dangerouslySetInnerHTML:{__html:t}})}),(0,R.jsx)("div",{className:"hidden md:block mt-auto md:col-start-5 lg:col-start-8 xl:col-start-10 md:col-span-3 lg:col-span-4",children:(0,R.jsx)(oe,{className:"w-[100%]"})}),r&&(0,R.jsx)("div",{className:"text-review col-span-full md:col-start-11 lg:col-start-14 xl:col-start-17 2xl:col-start-16",dangerouslySetInnerHTML:{__html:r}})]})},ce=r(2716),de=r.n(ce),me=function(e){var t=e.steps_title_rich_text,r=e.steps_subtitle,l=e.steps_items,n=(0,y.Gc)().md;return(0,R.jsx)("section",{className:"relative overflow-hidden th-colors-auto-invert px-std grid-std pb-20 lg:pb-25 2xl:pb-35 ",children:(0,R.jsxs)("div",{className:"col-span-full lg:col-span-30 lg:col-start-8 xl:col-span-38 xl:col-start-10",children:[t&&(0,R.jsx)("div",{className:"grid grid-cols-3 md:grid-cols-27 lg:grid-cols-30 xl:grid-cols-38",children:(0,R.jsx)("div",{className:" text-title-rich-text-normal col-span-full md:col-span-11 lg:col-span-14 xl:col-span-18 md:col-start-11 lg:col-start-15 xl:col-start-19 pr-6 md:pr-0 mb-8 lg:mb-12 2xl:mb-18 ",dangerouslySetInnerHTML:{__html:t}})}),r&&(0,R.jsx)("div",{className:" text-button border-t border-current text-center py-3 2xl:py-5 px-11 ",dangerouslySetInnerHTML:{__html:r}}),(0,R.jsxs)("div",{className:"".concat(de().steps),children:[l&&l.map((function(e,t){var r=e.steps_item_title,l=e.steps_item_description_rich_text,s=e.steps_item_duration,a=e.steps_item_link_one_url,o=e.steps_item_link_one_text,i=e.steps_item_link_two_url,c=e.steps_item_link_two_text;return(0,R.jsxs)("div",{className:"\n border-t border-current\n grid grid-cols-3 md:grid-cols-27 lg:grid-cols-30 xl:grid-cols-38\n pt-7 md:pt-8 2xl:pt-13\n pb-10 md:pb-16 2xl:pb-23\n ",children:[(0,R.jsxs)("div",{className:"\n relative\n col-span-full md:col-span-10 lg:col-span-14 \n xl:col-span-18\n pl-[5.6rem] md:pl-[7.2rem] lg:pl-[7.6rem] 2xl:pl-[11.6rem]\n ",children:[(0,R.jsx)("div",{className:"".concat(de().number," border border-current rounded-full\n absolute top-0 left-0 flex align-center justify-center \n w-10 md:w-[5.6rem] 2xl:w-[8.4rem]\n h-10 md:h-[5.6rem] 2xl:h-[8.4rem]\n text-h1_320 xl:text-h2_1280 2xl:text-h2_1920\n ")}
1),s&&(0,R.jsx)("div",{className:"text-button mb-2 2xl:mb-3 uppercase",dangerouslySetInnerHTML:{__html:s}}),r&&(0,R.jsx)("h2",{className:" text-h1_320 md:text-h2_1280 2xl:text-h2_1920 font-normal lg:w-[22rem] xl:w-[22rem] 2xl:w-[35.6rem] ",dangerouslySetInnerHTML:{__html:r}})]}),(0,R.jsxs)("div",{className:" col-span-full md:col-span-17 lg:col-span-16 xl:col-span-20 mt-5 md:mt-0 ",children:[l&&(0,R.jsx)("div",{className:"text-caption_big",dangerouslySetInnerHTML:{__html:l}}),((null===a||void 0===a?void 0:a.url)||(null===i||void 0===i?void 0:i.url))&&(0,R.jsxs)("div",{className:"xl:flex justify-between mt-6 md:mt-6 lg:mt-8 xl:mt-4 2xl:mt-5",children:[(null===a||void 0===a?void 0:a.url)&&(0,R.jsx)(d(),{href:a.url,children:(0,R.jsx)("a",{className:"block w-full xl:w-[25.2rem] 2xl:w-[38rem] mt-3 md:mt-4 xl:mt-4 2xl:mt-5 md:text-button_small_1280 2xl:text-button_small_1920 ",children:(0,R.jsx)(j.z,{className:"w-full !px-[1rem]",primary:!0,as:"span",color:"auto-invert",size:n?"small":"big",children:o||"Link"})})}),(null===i||void 0===i?void 0:i.url)&&(0,R.jsx)(d(),{href:i.url,children:(0,R.jsx)("a",{className:"block w-full xl:w-[25.2rem] 2xl:w-[39rem] mt-3 md:mt-4 xl:mt-4 2xl:mt-5 md:text-button_small_1280 2xl:text-button_small_1920 ",children:(0,R.jsx)(j.z,{className:"w-full !px-[1rem]",primary:!0,as:"span",color:"auto-invert",size:n?"small":"big",children:c||"Link"})})})]})]})]},t)})),(0,R.jsx)("div",{className:"\n border-t border-current\n grid grid-cols-3 md:grid-cols-27 lg:grid-cols-30 xl:grid-cols-38\n pt-7 md:pt-8 2xl:pt-13\n pb-6 md:pb-8 lg:pb-10 2xl:pb-16\n ",children:(0,R.jsxs)("div",{className:"\n relative col-span-full\n md:pl-[7.2rem] lg:pl-[7.6rem] 2xl:pl-[11.6rem]\n ",children:[(0,R.jsx)("div",{className:"".concat(de().number," border border-current rounded-full\n absolute top-0 left-0 flex align-center justify-center \n xl:top-[0.5rem]\n w-10 md:w-[5.6rem] 2xl:w-[8.4rem]\n h-10 md:h-[5.6rem] 2xl:h-[8.4rem]\n text-h1_320 xl:text-h2_1280 2xl:text-h2_1920\n ")}),(0,R.jsx)("div",{className:"text-title-rich-text-normal normal-case flex flex-col md:pt-2 lg:pt-1 xl:pt-0",children:n?(0,R.jsxs)(b.Fragment,{children:[(0,R.jsxs)("p",{className:"mr-auto",children:["SUBMIT ",(0,R.jsx)("em",{children:"online"})," APPLICATION"]}),(0,R.jsxs)("p",{className:"ml-auto",children:[(0,R.jsx)("strong",{children:"ONCE"})," ",(0,R.jsx)("em",{children:"it is"})," ",(0,R.jsx)("strong",{children:"OPEN"})]})]}):(0,R.jsxs)(b.Fragment,{children:[(0,R.jsxs)("p",{className:"pl-14 md:pl-0 mr-auto",children:["SUBMIT ",(0,R.jsx)("em",{children:"online"})]}),(0,R.jsx)("p",{className:"ml-auto",children:"APPLICATION"}),(0,R.jsxs)("p",{className:"mr-auto",children:[(0,R.jsx)("strong",{children:"ONCE"})," ",(0,R.jsx)("em",{children:"it is"})," ",(0,R.jsx)("strong",{children:"OPEN"})]})]})})]})})]}),(0,R.jsx)(d(),{href:"https://webgate.ec.europa.eu/cas/login?loginRequestId=ECAS_LR-20515075-Wix4GfASWRjAJlQYLMzzzPW34W4vawI96kg1AUxtshaCSuFoyJeROJnzJ9ugkmm6bQXbVXW0cyUT5o6JSzdr7Pr-yntOf97TTHqkKSg2fYfE6m-l5Gzgs6U1wtBAohkzTEoP7tRbDOvMu3mRsVyEj2PdXM9mv2sOXC8HmHZdQTP5DomYkuwBDYiNnM6pzSkjEcfVIW",children:(0,R.jsx)("a",{className:"w-full",children:(0,R.jsx)(j.z,{className:"w-full",primary:!0,color:"auto-invert",size:"big",as:"span",children:n?"SUBMIT online APPLICATION":"SUBMIT"})})})]})})},ue=r(4184),pe=r.n(ue),xe=r(5189),he=r.n(xe),fe=function(e){var t=e.eligible_title_rich_text,r=e.eligible_categories_group_title,l=e.eligible_countries_group_title,n=e.eligible_categories_group,s=e.eligible_countries_group;return(0,R.jsxs)("section",{className:pe()("px-std grid-std grid-cols-1 th-colors-auto-invert \n pb-20 lg:pb-25 2xl:pb-35\n pt-16 2xl:pt-23"),children:[(0,R.jsx)("div",{className:"md:flex md:flex-col md:justify-between col-span-full md:col-span-10 lg:col-span-14 lg:col-start-8 xl:col-span-18 xl:col-start-10",children:t&&(0,R.jsx)("header",{className:"".concat(he().header," text-title-rich-text-normal pr-10 md:pr-0"),dangerouslySetInnerHTML:{__html:t}})}),(0,R.jsx)("main",{className:"col-span-full md:col-span-17 lg:col-span-16 xl:col-span-20",children:(0,R.jsx)("div",{className:"mt-8 md:mt-0 lg:pt-1 xl:pt-[1rem] 2xl:pt-3",children:(0,R.jsxs)("div",{children:[n&&(0,R.jsxs)(b.Fragment,{children:[(0,R.jsx)("div",{className:"text-button text-center py-3 2xl:py-5 border-b border-current border-t",children:r}),(0,R.jsx)("div",{className:"md:flex md:flex-wrap",children:n.map((function(e,t){var r=e.eligible_categories_item_rich_text;return r&&(0,R.jsx)("div",{className:"\n md:min-w-[50%] md:flex-1 pt-5 pb-10 md:py-5 2xl:py-8\n border-b border-current\n text-h1_320 md:text-h3_1280 xl:text-h2_1280 2xl:text-h2_1920 uppercase font-sans\n ".concat(he().programmeItem,"\n "),dangerouslySetInnerHTML:{__html:r}},t)}))})]}),s&&(0,R.jsxs)(b.Fragment,{children:[(0,R.jsx)("div",{className:"text-button text-center py-3 2xl:py-5 border-b border-current",children:l}),(0,R.jsx)("div",{className:"md:flex md:flex-wrap border-b border-current py-1 md:py-5 2xl:py-8",children:s.map((function(e,t){var r=e.eligible_countries_item_icon,l=e.eligible_countries_item_name;return(0,R.jsxs)("div",{className:"\n md:min-w-[40%] md:flex-1\n text-h1_320 md:text-h3_1280 xl:text-h2_1280 2xl:text-h2_1920 uppercase font-serif font-normal\n my-4 md:my-0\n ".concat(he().countryItem,"\n "),children:[r&&(0,R.jsx)("img",{src:r.url,alt:r.alt,className:"".concat(he().langugeIcon)}),l]},t)}))})]})]})})})]})};function be(){return be=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e},be.apply(this,arguments)}var ge=function(e,t){return b.createElement("svg",be({viewBox:"0 0 1920 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid",ref:t},e),se||(se=b.createElement("path",{d:"M140.292 40.1162C154.377 32.5437 168.468 30.169 184.001 33.3313C199.096 36.4229 211.308 47.2787 219.623 59.9044C220.737 61.5859 221.729 63.3883 222.61 65.2792C223.742 67.707 224.688 70.2823 225.452 72.9432L289.035 35.9686L289.076 35.9479L332.878 10.4693C341.823 5.03254 351.503 2.19765 361.907 2L376.588 3.68737C386.431 6.17712 395.072 10.9501 402.489 18.0123L412.21 30.2605C416.58 37.0276 418.995 44.3376 419.474 52.2139C421.172 59.6478 420.991 67.1288 418.873 74.6276C417.321 82.265 414.083 88.9673 409.152 94.7639L408.831 95.2978L408.405 95.9675L456.963 67.2439C470.57 59.1964 485.49 57.3645 500.672 60.459C513.013 62.9871 523.755 71.2352 531.434 80.908C533.669 83.7282 535.6 86.6398 537.245 89.6487L667.066 14.0358C695.185 -2.33052 728.659 6.85561 746.392 33.824C754.368 45.9718 756.451 64.1966 753.067 78.1587C765.973 67.8014 778.909 57.4501 791.933 47.2492C813.236 30.5318 840.106 17.4489 867.495 17.4666C876.136 17.4695 885.443 18.4017 893.676 21.3103C899.079 23.216 904.26 25.2868 909.191 27.7619C914.506 30.4257 919.53 33.5526 924.222 37.4377L929.8 34.0954C943.308 25.9683 958.397 24.2337 973.509 27.3105C988.61 30.4021 1000.82 41.2578 1009.13 53.8836C1017.14 66.0433 1019.18 84.2916 1015.79 98.2507C1015.19 100.741 1014.43 103.145 1013.52 105.466C1012.09 109.104 1010.3 112.531 1008.2 115.744L1182.84 14.0358C1210.96 -2.33052 1244.43 6.85561 1262.17 33.824C1270.14 45.9718 1272.23 64.1966 1268.84 78.1587C1276.05 72.3738 1283.27 66.5919 1290.5 60.8366C1296.23 56.2878 1301.96 51.7537 1307.71 47.2492C1329.01 30.5318 1355.88 17.4489 1383.27 17.4666C1386.61 17.4666 1390.04 17.6052 1393.48 17.9444C1398.94 18.4843 1404.4 19.5256 1409.45 21.3103C1420.68 25.2662 1430.95 29.9478 1440 37.4377L1445.58 34.0954C1459.08 25.9683 1474.17 24.2337 1489.29 27.3105C1504.39 30.4021 1516.6 41.2578 1524.91 53.8836C1
1532.92 66.0433 1534.96 84.2916 1531.58 98.2507C1527.85 113.588 1518.04 125.729 1505.38 134.423L1488.14 146.243C1488.79 146.243 1489.44 146.255 1490.1 146.282L1687.64 40.1162C1701.73 32.5437 1715.81 30.169 1731.35 33.3313C1746.44 36.4229 1758.65 47.2787 1766.97 59.9044C1769.51 63.7423 1771.44 68.2085 1772.8 72.9432L1880.23 10.4693C1889.17 5.03254 1898.85 2.19765 1909.26 2L1920 3.23477V200H0V115.512L140.292 40.1162Z",fill:"currentColor"})))},ve=(0,b.forwardRef)(ge),_e=function(e){var t=e.title,r=e.url,l=e.invert,n=l?"th-colors-auto-invert":"th-colors-auto",s=l?"th-colors-auto":"th-colors-auto-invert";return(0,R.jsxs)("div",{className:"".concat(n," relative overflow-hidden"),children:[(0,R.jsx)(ve,{className:"\n block max-w-[70rem] md:max-w-none md:w-full h-[8rem] md:h-[10rem] lg:h-[12rem] xl:h-[14.8rem] 2xl:h-[20rem]\n transform scale-105\n ",preserveAspectRatio:"xMidYMax"}),(0,R.jsx)("section",{className:"".concat(s," pt-1 pb-3 2xl:pb-8"),children:(0,R.jsx)("div",{className:"col-span-full md:col-span-17 lg:col-span-16 xl:col-span-20",children:t&&(0,R.jsxs)("div",{className:"th-colors-auto px-std text-center md:text-left py-10 md:py-6 lg:py-8 xl:py-10 2xl:12",children:[(0,R.jsx)("div",{className:"uppercase font-medium font-sans text-button mb-3 md:mb-4 2xl:mb-5"}),(0,R.jsx)(d(),{href:r,children:(0,R.jsx)("a",{className:"flex flex-col md:flex-row justify-between items-center text-title font-normal",children:t})})]})})}),(0,R.jsx)(ve,{className:"\n block max-w-[70rem] md:max-w-none md:w-full h-[8rem] md:h-[10rem] lg:h-[12rem] xl:h-[14.8rem] 2xl:h-[20rem]\n transform scale-105 rotate-180\n ",preserveAspectRatio:"xMidYMax"})]})},je=r(3313),we=r(4698),Le=r.n(we);function ye(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,l)}return r}function Ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(r),!0).forEach((function(t){(0,s.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ye(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Oe=function(e){var t=e.page,r=e.siteSettings,l=(0,p.Fg)(),n=(0,a.Z)(l,2)[1],s=((0,i.useRouter)(),(0,u.w)()),c=(0,a.Z)(s,2)[1];(0,o.Z)((function(){n("edu")}),[]);var b={deadline_title_rich_text:t.deadline_title_rich_text,deadline_date:t.deadline_date};return(0,R.jsxs)("div",{className:"th-colors-bg-auto-invert th-colors-text-auto-invert ".concat(h.h4.PlaceholderClassName),children:[(0,R.jsx)(X.$,{}),(0,R.jsx)(m.d,{contactProps:t}),(0,R.jsxs)(je.sT,{children:[(0,R.jsx)(ie,{title:t.erasmus_title_rich_text,description:t.erasmus_description_rich_text}),(0,R.jsx)("div",{className:Le().btnRegister,children:(0,R.jsx)(d(),{href:"/courses/educators/funding",children:(0,R.jsx)("a",{className:"w-full",children:(0,R.jsx)(j.z,{className:"w-full",primary:!0,color:"auto-invert",size:"big",as:"span",children:"REGISTER"})})})})]}),(0,R.jsx)(je.sT,{inverse:!0,children:(0,R.jsx)(f.k,{erasmusDeadline:b,invert:!0})}),(0,R.jsxs)(je.sT,{children:[(0,R.jsx)(fe,Ce({},t)),(0,R.jsx)(_e,{title:t.erasmus_banner_title,url:t.erasmus_banner_link.url,invert:!0}),(0,R.jsx)(me,Ce({},t))]}),(0,R.jsx)(je.sT,{inverse:!0,children:(0,R.jsx)(W,Ce(Ce({},t),{},{ctaBtnEvent:c}))}),(0,R.jsx)(je.sT,{children:(0,R.jsx)(te,{courses:t.courses,invert:!0})}),(0,R.jsx)(je.sT,{inverse:!0,children:(0,R.jsx)(x.i,{className:"px-std th-colors-bg-auto th-colors-text-auto",heading:r.news_form_h1,text:r.news_form_text,submitText:r.news_form_submit_text,legalConsent:r.news_form_legal_consent_rich_text,invert:!0})})]})},Ne=r(2275),ke=!0,Me=function(e){var t,r,l,s,a,o=e.page,i=e.siteSettings;e.context;return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(n.PB,{title:o.seo_title,description:o.seo_description,openGraph:{images:o.open_graph_image&&[{url:o.open_graph_image.url,width:null===(t=o.open_graph_image)||void 0===t||null===(r=t.dimensions)||void 0===r?void 0:r.width,height:null===(l=o.open_graph_image)||void 0===l||null===(s=l.dimensions)||void 0===s?void 0:s.height,alt:null===(a=o.open_graph_image)||void 0===a?void 0:a.alt}]}}),(0,R.jsx)(Ne.q,{children:(0,R.jsx)(Oe,{page:o,siteSettings:i})})]})}},5870:function(e,t,r){"use strict";r.d(t,{k:function(){return h}});var l,n=r(7294);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e},s.apply(this,arguments)}var a=function(e,t){return n.createElement("svg",s({viewBox:"0 0 1920 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid",ref:t},e),l||(l=n.createElement("path",{d:"M140.292 40.1162C154.377 32.5437 168.468 30.169 184.001 33.3313C199.096 36.4229 211.308 47.2787 219.623 59.9044C220.737 61.5859 221.729 63.3883 222.61 65.2792C223.742 67.707 224.688 70.2823 225.452 72.9432L289.035 35.9686L289.076 35.9479L332.878 10.4693C341.823 5.03254 351.503 2.19765 361.907 2L376.588 3.68737C386.431 6.17712 395.072 10.9501 402.489 18.0123L412.21 30.2605C416.58 37.0276 418.995 44.3376 419.474 52.2139C421.172 59.6478 420.991 67.1288 418.873 74.6276C417.321 82.265 414.083 88.9673 409.152 94.7639L408.831 95.2978L408.405 95.9675L456.963 67.2439C470.57 59.1964 485.49 57.3645 500.672 60.459C513.013 62.9871 523.755 71.2352 531.434 80.908C533.669 83.7282 535.6 86.6398 537.245 89.6487L667.066 14.0358C695.185 -2.33052 728.659 6.85561 746.392 33.824C754.368 45.9718 756.451 64.1966 753.067 78.1587C765.973 67.8014 778.909 57.4501 791.933 47.2492C813.236 30.5318 840.106 17.4489 867.495 17.4666C876.136 17.4695 885.443 18.4017 893.676 21.3103C899.079 23.216 904.26 25.2868 909.191 27.7619C914.506 30.4257 919.53 33.5526 924.222 37.4377L929.8 34.0954C943.308 25.9683 958.397 24.2337 973.509 27.3105C988.61 30.4021 1000.82 41.2578 1009.13 53.8836C1017.14 66.0433 1019.18 84.2916 1015.79 98.2507C1015.19 100.741 1014.43 103.145 1013.52 105.466C1012.09 109.104 1010.3 112.531 1008.2 115.744L1182.84 14.0358C1210.96 -2.33052 1244.43 6.85561 1262.17 33.824C1270.14 45.9718 1272.23 64.1966 1268.84 78.1587C1276.05 72.3738 1283.27 66.5919 1290.5 60.8366C1296.23 56.2878 1301.96 51.7537 1307.71 47.2492C1329.01 30.5318 1355.88 17.4489 1383.27 17.4666C1386.61 17.4666 1390.04 17.6052 1393.48 17.9444C1398.94 18.4843 1404.4 19.5256 1409.45 21.3103C1420.68 25.2662 1430.95 29.9478 1440 37.4377L1445.58 34.0954C1459.08 25.9683 1474.17 24.2337 1489.29 27.3105C1504.39 30.4021 1516.6 41.2578 1524.91 53.8836C1
1532.92 66.0433 1534.96 84.2916 1531.58 98.2507C1527.85 113.588 1518.04 125.729 1505.38 134.423L1488.14 146.243C1488.79 146.243 1489.44 146.255 1490.1 146.282L1687.64 40.1162C1701.73 32.5437 1715.81 30.169 1731.35 33.3313C1746.44 36.4229 1758.65 47.2787 1766.97 59.9044C1769.51 63.7423 1771.44 68.2085 1772.8 72.9432L1880.23 10.4693C1889.17 5.03254 1898.85 2.19765 1909.26 2L1920 3.23477V200H0V115.512L140.292 40.1162Z",fill:"currentColor"})))},o=(0,n.forwardRef)(a),i=r(2282),c=r(1700),d=r.n(c),m=r(9997),u=r(168),p=r.n(u),x=r(5893),h=function(e){var t=e.erasmusDeadline,r=e.invert,l=e.children;if(d()(t))return null;var n=r?"th-colors-auto-invert":"th-colors-auto",s=r?"th-colors-auto":"th-colors-auto-invert";return(0,x.jsxs)("div",{className:"".concat(n," relative overflow-hidden"),children:[(0,x.jsx)(o,{className:"\n block max-w-[70rem] md:max-w-none md:w-full h-[8rem] md:h-[10rem] lg:h-[12rem] xl:h-[14.8rem] 2xl:h-[20rem]\n transform scale-105\n ",preserveAspectRatio:"xMidYMax"}),(0,x.jsxs)("section",{className:"".concat(s," pt-1 pb-3 2xl:pb-8"),children:[(0,x.jsxs)("div",{className:"px-std grid-std grid-cols-1",children:[(0,x.jsx)("div",{className:"col-span-full md:col-span-10 lg:col-span-14 lg:col-start-8 xl:col-span-18 xl:col-start-10 md:mr-6 2xl:mr-10",children:(null===t||void 0===t?void 0:t.deadline_title_rich_text)&&(0,x.jsx)("div",{className:"".concat(p().heading," text-title_320 md:text-h2_1280 lg:text-h1_1280 2xl:text-h1_1920 font-sans uppercase mb-8 md:mb-0"),dangerouslySetInnerHTML:{__html:null===t||void 0===t?void 0:t.deadline_title_rich_text}})}),(0,x.jsxs)("div",{className:"col-span-full md:col-span-17 lg:col-span-16 xl:col-span-20",children:[(0,x.jsx)("div",{className:"uppercase font-sans font-medium lg:button_small_1280 mb-2 md:mb-3 lg:mb-4 2xl:mb-6",children:"Midday, Brussels time"}),(0,x.jsx)("div",{className:"text-title font-normal border-b border-current pb-5 xl:pb-6 2xl:pb-8 mb-5 xl:mb-6 2xl:mb-8",children:(null===t||void 0===t?void 0:t.deadline_date)&&(0,m.Z)(new Date(null===t||void 0===t?void 0:t.deadline_date),"d MMM HH:mm, yyyy")}),(0,x.jsx)("div",{className:"lg:button_small_1280 font-sans font-medium mb-2 md:mb-3 lg:mb-4 2xl:mb-6",children:"ECA OID:"}),(0,x.jsxs)("div",{className:"flex content-center justify-between md:justify-start",children:[(0,x.jsx)("div",{className:"text-title font-normal",children:"E10166322"}),(0,x.jsx)("span",{className:"button relative top-[-5px] lg:top-[0px] xl:top-[5px] 2xl:top-[15px]",children:(0,x.jsx)(i.q,{value:"E10166322",className:"md:ml-5 2xl:ml-12",children:"copy"})})]})]})]}),l&&(0,x.jsx)("div",{className:"px-std grid-std grid-cols-1 mt-8 lg:mt-10 2xl:mt-16",children:l})]}),(0,x.jsx)(o,{className:"\n block max-w-[70rem] md:max-w-none md:w-full h-[8rem] md:h-[10rem] lg:h-[12rem] xl:h-[14.8rem] 2xl:h-[20rem]\n transform scale-105 rotate-180\n ",preserveAspectRatio:"xMidYMax"})]})}},137:function(e,t,r){"use strict";r.d(t,{C:function(){return k}});var l,n=r(9499),s=r(6835),a=r(7294),o=r(216),i=r(1691),c=r(4730),d=r(90);function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e},m.apply(this,arguments)}var u,p=function(e,t){return a.createElement("svg",m({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid",ref:t},e),l||(l=a.createElement("path",{d:"M2 9L12 18L22 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})))},x=(0,a.forwardRef)(p);function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e},h.apply(this,arguments)}var f=function(e,t){return a.createElement("svg",h({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid",ref:t},e),u||(u=a.createElement("path",{d:"M2 12H22M22 12L15 5M22 12L15 19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})))},b=(0,a.forwardRef)(f),g=r(5893),v=["children"];function _(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,l)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?_(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var w={option:function(e){return j(j({},e),{},{borderBottom:"1px solid rgba(0, 0, 0, 0.1)",color:"currentColor",display:"flex",alignItems:"center",cursor:"pointer",padding:"1.7rem 1.4rem","@media (min-width: 1920px)":{padding:"2.7rem 2.4rem"}})},control:function(e){return j(j({},e),{},{background:"transparent",border:"none",borderRadius:"none",borderBottom:"1px solid currentColor",boxShadow:"none!important",":hover":{borderBottom:"1px solid currentColor"}})},singleValue:function(e){return j(j({},e),{},{opacity:1,transition:"opacity 300ms",color:"currentColor",margin:"0",padding:"1.7rem 0","@media (min-width: 1920px)":{padding:"2.7rem 0"},cursor:"pointer"})},valueContainer:function(e){return j(j({},e),{},{padding:"0"})},placeholder:function(e){return j(j({},e),{},{color:"currentColor",opacity:.7,margin:0,padding:"1.7rem 0","@media (min-width: 1920px)":{padding:"2.7rem 0"}})},menuList:function(e){return j(j({},e),{},{padding:0})},indicatorSeparator:function(){return{display:"none"}}},L=function(e){var t=e.innerProps,r=e.selectProps,l=e.isDisabled,n=r.menuIsOpen;return l?null:(0,g.jsx)(x,j(j({},t),{},{className:"w-6 h-6 transition-transform ".concat(n?"rotate-180":"")}))},y=function(e){var t=e.children,r=(0,c.Z)(e,v),l=r.isSelected;return(0,g.jsxs)(d.c.Option,j(j({},r),{},{children:[l&&(0,g.jsx)("span",{className:"mr-4",children:(0,g.jsx)(b,{className:"w-6 h-6"})}),t]}))};function C(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,l)}return r}function O(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?C(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):C(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var N={art:{primary25:"rgba(229, 169, 88, 0.1)",primary:"rgba(229, 169, 88, 0.4)"},arch:{primary25:"rgba(1, 36, 68, 0.1)",primary:"rgba(1, 36, 68, 0.4)"},edu:{primary25:"rgba(50, 49, 134, 0.1)",primary:"rgba(50, 49, 134, 0.4)"}},k=function(e){var t=e.onChange,r=e.options,l=e.placeholder,n=e.disabled,c=e.defaultValue,d=e.error,m=(0,i.Fg)(),u=(0,s.Z)(m,1)[0],p=N[u],x=(0,a.useCallback)((function(e){return O(O({},e),{},{colors:O(O({},e.colors),p),borderRadius:0})}),[u]);return(0,g.jsxs)("div",{children:[(0,g.jsx)(o.ZP,{placeholder:l,defaultValue:c,onChange:t,options:r,isDisabled:n,isMulti:!1,isSearchable:!1,styles:w,theme:x,components:{DropdownIndicator:L,Option:y}}),d&&(0,g.jsx)("span",{className:"absolute left-0 -bottom-7 xl:-bottom-8 2xl:-bottom-11 w-full text-error text-caption",children:d})]})}},2272:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/erasmus_plus",function(){return r(5449)}])},4698:function(e){e.exports={btnRegister:"ErasmusPage_btnRegister__fq5DJ"}},5189:function(e){e.exports={header:"Cards_header__19FK7",programmeItem:"Cards_programmeItem__hKM5v",countryItem:"Cards_countryItem__4VY3Z",langugeIcon:"Cards_langugeIcon__SSQ9z"}},3760:function(e){e.exports={h1:"PageHeader_h1__rAoKX"}},2716:function(e){e.exports={steps:"Steps_steps__kSZ03",number:"Steps_number__aZZre"}},168:function(e){e.exports={heading:"CourseDeadline_heading__3OzTJ"}},6235:function(e){e.exports={row:"UsefulMaterials_row__6LD_G"}}},function(e){e.O(0,[244,873,892,762,625,330,364,435,774,888,179],(function(){return t=2272,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.