"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7332],{32767:function(e,n,t){t.d(n,{L:function(){return c}});var r,c=((r={}).DirectoryPage="directoryPage",r.SectionBasedPage="sectionBasedPage",r.CourseCategoryPage="courseCategoryPage",r.TopicPage="topic",r)},13922:function(e,n,t){t.d(n,{s:function(){return v}});var r,c,o=t(95229),i=t(83454),s=i.env.CONTENTFUL_SPACE_ID||"aoyx73g9h2pg",a=null!==(r=null!==(c=i.env.CONTENTFUL_ENVIRONMENT)&&void 0!==c?c:"master")&&void 0!==r?r:"master",u={preview:{host:"preview.contentful.com",accessToken:i.env.CONTENTFUL_PREVIEW_ACCESS_TOKEN||"_m2Ya2h7qmrZiY2Ln9iSbLm4HQWEhAWg-tCRNc-wesg"},live:{host:"cdn.contentful.com",accessToken:i.env.CONTENTFUL_LIVE_ACCESS_TOKEN||"r38OWV8WrekczjzQP7Qje7KySFMW58C5sUCk455m7B0"}};function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.preview,t=n?u.preview.accessToken:u.live.accessToken,r=n?u.preview.host:u.live.host;return(0,o.createClient)({space:s,environment:a,accessToken:t,host:r})}},57332:function(e,n,t){t.d(n,{Ru:function(){return s}});var r=t(50029),c=t(64687),o=t.n(c),i=t(13922);function s(e,n){return a.apply(this,arguments)}function a(){return(a=(0,r.Z)(o().mark(function e(n,t){var r,c,s,a,u,v,l=arguments;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=l.length>2&&void 0!==l[2]&&l[2],c=l.length>3&&void 0!==l[3]?l[3]:"en-US",s=l.length>4&&void 0!==l[4]?l[4]:10,!(n&&t)){e.next=12;break}return a=(0,i.s)({preview:r}),e.next=7,a.getEntries({content_type:t,"fields.slug":n,include:s,locale:c});case 7:if(!((v=void 0===(u=e.sent.items)?[]:u).length>0)){e.next=12;break}return e.abrupt("return",v[0]);case 12:return e.abrupt("return",null);case 13:case"end":return e.stop()}},e)}))).apply(this,arguments)}t(32767)}}]);