1!function(){try{var t="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="ed830360-1e9c-4247-af93-26683f6d03af",t._sentryDebugIdIdentifier="sentry-dbid-ed830360-1e9c-4247-af93-26683f6d03af")}catch(t){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7579],{13434:(t,e,r)=>{"use strict";r.d(e,{JU:()=>m,V6:()=>u,yt:()=>h,z6:()=>l});var n,i,a=r(63857),o=r(60180),s=r.n(o),c=r(12436),d="/admin/api/unsplash",l=(n=(0,a.A)(s().mark(function t(){var e,r,n,i,a=arguments;return s().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:"community",r=a.length>1&&void 0!==a[1]?a[1]:{pageNumber:1,numberOfImages:25,orientation:"landscape"},t.prev=2,t.next=5,fetch("".concat(d,"/search"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:e,pageNumber:r.pageNumber,numberOfImages:r.numberOfImages,orientation:r.orientation})});case 5:if((n=t.sent).ok){t.next=8;break}throw Error("Failed to search photos");case 8:return t.next=10,n.json();case 10:return i=t.sent,t.abrupt("return",i.results||[]);case 14:return t.prev=14,t.t0=t.catch(2),console.error("Error loading images:",t.t0),t.abrupt("return",[]);case 18:case"end":return t.stop()}},t,null,[[2,14]])})),function(){return n.apply(this,arguments)}),u=(i=(0,a.A)(s().mark(function t(e,r){var n,i,a,o;return s().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch("".concat(d,"/upload"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({imageUrl:e,photoId:r})});case 3:if((n=t.sent).ok){t.next=17;break}return i="Failed to upload image",t.prev=6,t.next=9,n.json();case 9:i=(a=t.sent).details||a.error||i,t.next=16;break;case 13:t.prev=13,t.t0=t.catch(6),i=n.statusText||i;case 16:throw Error(i);case 17:return t.next=19,n.json();case 19:return o=t.sent,t.abrupt("return",o.awsImageUrl);case 23:throw t.prev=23,t.t1=t.catch(0),console.error("Error uploading image:",t.t1),t.t1;case 27:case"end":return t.stop()}},t,null,[[0,23],[6,13]])})),function(t,e){return i.apply(this,arguments)}),f=function(t){var e=m(t);e&&"-undefined"!==e&&fetch("".concat(d,"/track-view?photoId=").concat(encodeURIComponent(e)),{method:"GET"}).catch(function(t){console.error("Error tracking view:",t)})},h=function(t,e,r){if(null!=t&&t.includes("/static/images/")){var n=t.match(/\/(\d+)-/);if(null!=n&&n[1])return"/static/assets/images/home-page-placeholder-images/".concat(n[1],".jpg")}var i=null==t?void 0:t.match(/\/(?:static\/media|_next\/static\/media)\/(\d+)\.[a-zA-Z0-9_-]+\.\w+/);if(null!=i&&i[1])return"/static/assets/images/home-page-placeholder-images/".concat(i[1],".jpg");if(!t)return"";if(t.startsWith("/static/assets/")||t.startsWith("/static/media/"))return t.split("?")[0];if(t.indexOf(".gif")>-1)return t;var a=(0,c.G)(t,e,r);return -1===t.indexOf("unsplash-")||f(t),a},m=function(t){var e="";try{var r=t&&t.split("unsplash-")[1];if(!r)return"";if(!(e=r.split("-")[0])){var n=r.split("-")[1];if(!n)return"";e="-".concat(n)}}catch(t){e=""}return e}},26796:(t,e,r)=>{"use strict";r.d(e,{Av:()=>l,I3:()=>d,PI:()=>c,dS:()=>s,iv:()=>u,lg:()=>f});var n=r(56557),i=r.n(n),a=r(66315),o=r.n(a);r(46476),i().extend(o());var s=function(t,e){if(!t)throw Error("Missing required argument: timestamp1");if(!e)throw Error("Missing required argument: timestamp2");return i()(e).isAfter(i()(t))?1:-1},c=function(t){if(!t)throw Error("Missing required argument: timestamp");return i()(t).fromNow()},d=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"D MMM YYYY, H:mm",r=arguments.length>2?arguments[2]:void 0;if(!t)throw Error("Missing required argument: timestamp");return"fr-CA"===r?i()(t).locale("fr-ca").format(e):i()(t).format(e)},l=function(t,e){if(!t)throw Error("Missing required argument: timestamp");var r="fr-CA"===e?"D MMMM YYYY":"MMMM D, YYYY";return"fr-CA"===e?i()(t).locale("fr-ca").format(r):i()(t).format(r)},u=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"second";if(!t)throw Error("Missing required argument: timestamp");return i()().diff(t,e)},f=function(t){return t?i()(t).format():null}},32601:(t,e,r)=>{"use strict";function n(t){var e=String(t).replace(/[^a-zA-Z0-9_-]/g,"-").split("-"),r=e.pop(),n=e.join("-");return{date:"".concat(n,"-date-").concat(r),title:"".concat(n,"-title-").concat(r),description:"".concat(n,"-description-").concat(r),status:"".concat(n,"-status-").concat(r)}}function i(t){return t.filter(Boolean).join(" ")}function a(t){var e=t.key,r=t.meta,a=t.title,o=t.description,s=t.date,c=t.ctaLinkType,d=t.state,l=t.dateMode,u=void 0===l?"projects":l,f=t.showTitle,h=t.showDescription,m=n(e),p=!!((void 0===f||f)&&a),g=!!((void 0===h||h)&&o),y="finder"===u?!!((null==r?void 0:r.showProjectTimestamp)&&s):!!((null==r?void 0:r.showPublishDate)&&s&&("projects"===c||void 0===c)),b="finder"===u?!!((null==r?void 0:r.showProjectStatus)&&d):!!((null==r?void 0:r.autoAddProjects)&&(null==r?void 0:r.showProjectStatus)&&d),v=i([p&&m.title]),x=i([y&&m.date,g&&m.description,b&&m.status]),j={};return v&&(j["aria-labelledby"]=v),x&&(j["aria-describedby"]=x),{ids:m,props:j}}r.d(e,{O5:()=>n,ap:()=>a})},43123:(t,e,r)=>{"use strict";r.d(e,{s:()=>o});var n=r(37876),i=r(14232),a=r(57539);let o=(0,i.forwardRef)(function(t,e){let{direction:r,align:i,justify:o,wrap:s,basis:c,grow:d,shrink:l,inline:u,...f}=t;return(0,n.jsx)(a.B.div,{ref:e,...f,css:{display:u?"inline-flex":"flex",flexDirection:r,alignItems:i,justifyContent:o,flexWrap:s,flexBasis:c,flexGrow:d,flexShrink:l,...t.css}})});o.displayName="Flex"},45503:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>j});var n=r(31777),i=r(42969);r(14232);var a=r(39822),o=r(65955),s=r(70435),c=r(43123),d=r(6709),l=r(28118),u=r(26796),f=r(32601),h=r(13434),m=r(69364),p=r.n(m),g=r(75912),y=r(37876);function b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function v(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?b(Object(r),!0).forEach(function(e){(0,i.default)(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}let x=(0,l.withTranslation)(["editor"])(function(t){var e=t.t,r=t.data,n=t.meta,i=t.theme,l=t.isInsideAdminView,m=t.i18n;return(!!r.length||!!l)&&(0,y.jsx)(a.a,{bg:i.backgroundColor,px:{base:2,sm:4,md:8,lg:16},children:(0,y.jsx)(a.a,{bg:i.backgroundColor,py:8,px:{base:4,sm:4,md:0},children:(0,y.jsxs)(s.m,{maxWidth:"container.lg",mx:"auto",px:0,children:[!!n.title&&(0,y.jsx)(a.a,{color:i.sectionTitleColor,fontSize:"sectionTitle",fontWeight:"heading",fontFamily:"heading",mb:4,asChild:!0,children:(0,y.jsx)("h2",{children:n.title})}),(0,y.jsx)(c.s,{flexWrap:"wrap",flexDirection:{xs:"column",md:"row"},mx:-6,children:r.map(function(t,r){var s,c,l,b,x,j="homepage-projects-six-".concat(r),w=(0,f.ap)({key:j,meta:n,title:t.title||t.name,description:t.description,date:t.publishedAt,ctaLinkType:t.ctaLinkType,state:t.state});return(0,y.jsx)(a.a,{px:6,py:6,w:{base:"100%",md:"50%"},children:(0,y.jsx)(a.a,v(v({},w.props),{},{bg:i.cardBackgroundColor||"#ffffff",boxShadow:"site",display:"block",target:t.openInNewTab?"_blank":"_self",overflow:"hidden",rounded:"site",h:"full",className:"animated-card",asChild:!0,children:(0,y.jsx)("a",{href:n.autoAddProjects?"/".concat(t.permalink):t.permalink,children:(0,y.jsx)(a.a,{alignItems:"flex-end",backgroundColor:"brand",backgroundImage:"url(".concat((0,h.yt)(t.image||t.imageUrl||t.bannerUrl,n.imageSize||800),")"),backgroundPosition:"".concat(t.imgFocalX,"% ").concat(t.imgFocalY,"%"),backgroundRepeat:"no-repeat",backgroundSize:"cover",display:"flex",justifyContent:"flex-end",pt:8,h:"full",w:"full",role:"img","aria-label":"",children:(0,y.jsxs)(a.a,{bg:i.cardBackgroundColor||"#ffffff",minHeight:48,p:6,w:"90%",h:"100%",display:"flex",flexDirection:"column",justifyContent:"space-between",className:"animated-card-image",children:[(0,y.jsx)(a.a,{children:(0,y.jsxs)(d.B,{gap:3,children:[(0,y.jsxs)(a.a,{children:[(0,y.jsx)(a.a,{children:(s=t.publishedAt,c=t.ctaLinkType,!!n.showPublishDate&&!!s&&("projects"===c||void 0===c)&&(0,y.jsx)(a.a,{id:(0,f.O5)(j).date,color:"gray.700",fontFamily:"body",fontSize:"body",fontWeight:"body",children:(0,u.Av)(s,m.language)}))}),(0,y.jsx)(a.a,{children:!!t.state&&(l=e("common:common.".concat(t.state)),!!n.autoAddProjects&&!!n.showProjectStatus&&(0,y.jsx)(o.Ex,{id:(0,f.O5)(j).status,fontFamily:"body",fontSize:"xs",rounded:"site",variant:"solid",fontWeight:"normal",backgroundColor:"gray.700",children:l}))})]}),(0,y.jsx)(a.a,{children:(b=t.title||t.name,(0,y.jsx)(a.a,{id:(0,f.O5)(j).title,color:i.textColor,fontFamily:"heading",fontWeight:"heading",fontSize:"heading",wordBreak:"break-word",asChild:!0,children:(0,y.jsx)("h3",{children:p()(b,{length:70})})}))}),(0,y.jsx)(a.a,{children:(x=t.description,(0,y.jsx)(a.a,{id:(0,f.O5)(j).description,color:i.textColor,fontFamily:"body",fontWeight:"body",fontSize:"body",wordBreak:"break-word",children:(0,y.jsx)(g.A,{html:x,allowTags:["br","&","p"],truncateLength:100})}))})]})}),(0,y.jsx)(a.a,{children:!!n.ctaText&&(0,y.jsx)(a.a,{alignItems:"center",bg:i.ctaBackgroundColor||"brand",boxShadow:"site",color:i.ctaTextColor||"white",_hover:{bg:i.ctaBackgroundHoverColor||i.ctaBackgroundColor||"brand",color:i.ctaTextHoverColor||i.ctaTextColor||"#fff"},display:"inline-flex",fontFamily:"body",fontSize:"body",fontWeight:"bold",justifyContent:"center",mt:4,px:2,py:1,rounded:"site",textDecoration:"none",className:"project-button",children:(0,y.jsx)(a.a,{children:p()(n.ctaText,{length:20})})})})]})})},r)}))},r)})})]})})})}),j=(0,n.Ng)(function(t,e){return{data:t.homePageRevision.revision.sections[e.sectionId].meta.autoAddProjects?e.projects:t.homePageRevision.revision.sections[e.sectionId].data,meta:t.homePageRevision.revision.sections[e.sectionId].meta,theme:t.homePageRevision.revision.sections[e.sectionId].theme}})(x)},46476:function(t,e,r){t.exports=function(t){"use strict";var e={name:"fr-ca",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(t){return t},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};return(t&&"object"==typeof t&&"default"in t?t:{default:t}).default.locale(e,null,!0),e}(r(56557))},56557:function(t){t.exports=function(){"use strict";var t="millisecond",e="second",r="minute",n="hour",i="week",a="month",o="quarter",s="year",c="date",d="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,u=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}
1|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},h="en",m={};m[h]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")};var p=function(t){return t instanceof v},g=function(t,e,r){var n;if(!t)return h;if("string"==typeof t)m[t]&&(n=t),e&&(m[t]=e,n=t);else{var i=t.name;m[i]=t,n=i}return!r&&n&&(h=n),n||!r&&h},y=function(t,e){if(p(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new v(r)},b={s:f,z:function(t){var e=-t.utcOffset(),r=Math.abs(e);return(e<=0?"+":"-")+f(Math.floor(r/60),2,"0")+":"+f(r%60,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var n=12*(r.year()-e.year())+(r.month()-e.month()),i=e.clone().add(n,a),o=r-i<0,s=e.clone().add(n+(o?-1:1),a);return+(-(n+(r-i)/(o?i-s:s-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(d){return({M:a,y:s,w:i,d:"day",D:c,h:n,m:r,s:e,ms:t,Q:o})[d]||String(d||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};b.l=g,b.i=p,b.w=function(t,e){return y(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var v=function(){function f(t){this.$L=g(t.locale,null,!0),this.parse(t)}var h=f.prototype;return h.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(l);if(n){var i=n[2]-1||0,a=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},h.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},h.$utils=function(){return b},h.isValid=function(){return this.$d.toString()!==d},h.isSame=function(t,e){var r=y(t);return this.startOf(e)<=r&&r<=this.endOf(e)},h.isAfter=function(t,e){return y(t)<this.startOf(e)},h.isBefore=function(t,e){return this.endOf(e)<y(t)},h.$g=function(t,e,r){return b.u(t)?this[e]:this.set(r,t)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(t,o){var d=this,l=!!b.u(o)||o,u=b.p(t),f=function(t,e){var r=b.w(d.$u?Date.UTC(d.$y,e,t):new Date(d.$y,e,t),d);return l?r:r.endOf("day")},h=function(t,e){return b.w(d.toDate()[t].apply(d.toDate("s"),(l?[0,0,0,0]:[23,59,59,999]).slice(e)),d)},m=this.$W,p=this.$M,g=this.$D,y="set"+(this.$u?"UTC":"");switch(u){case s:return l?f(1,0):f(31,11);case a:return l?f(1,p):f(0,p+1);case i:var v=this.$locale().weekStart||0,x=(m<v?m+7:m)-v;return f(l?g-x:g+(6-x),p);case"day":case c:return h(y+"Hours",0);case n:return h(y+"Minutes",1);case r:return h(y+"Seconds",2);case e:return h(y+"Milliseconds",3);default:return this.clone()}},h.endOf=function(t){return this.startOf(t,!1)},h.$set=function(i,o){var d,l=b.p(i),u="set"+(this.$u?"UTC":""),f=((d={}).day=u+"Date",d[c]=u+"Date",d[a]=u+"Month",d[s]=u+"FullYear",d[n]=u+"Hours",d[r]=u+"Minutes",d[e]=u+"Seconds",d[t]=u+"Milliseconds",d)[l],h="day"===l?this.$D+(o-this.$W):o;if(l===a||l===s){var m=this.clone().set(c,1);m.$d[f](h),m.init(),this.$d=m.set(c,Math.min(this.$D,m.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},h.set=function(t,e){return this.clone().$set(t,e)},h.get=function(t){return this[b.p(t)]()},h.add=function(t,o){var c,d=this;t=Number(t);var l=b.p(o),u=function(e){var r=y(d);return b.w(r.date(r.date()+Math.round(e*t)),d)};if(l===a)return this.set(a,this.$M+t);if(l===s)return this.set(s,this.$y+t);if("day"===l)return u(1);if(l===i)return u(7);var f=((c={})[r]=6e4,c[n]=36e5,c[e]=1e3,c)[l]||1,h=this.$d.getTime()+t*f;return b.w(h,this)},h.subtract=function(t,e){return this.add(-1*t,e)},h.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||d;var n=t||"YYYY-MM-DDTHH:mm:ssZ",i=b.z(this),a=this.$H,o=this.$m,s=this.$M,c=r.weekdays,l=r.months,f=function(t,r,i,a){return t&&(t[r]||t(e,n))||i[r].substr(0,a)},h=function(t){return b.s(a%12||12,t,"0")},m=r.meridiem||function(t,e,r){var n=t<12?"AM":"PM";return r?n.toLowerCase():n},p={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:b.s(s+1,2,"0"),MMM:f(r.monthsShort,s,l,3),MMMM:f(l,s),D:this.$D,DD:b.s(this.$D,2,"0"),d:String(this.$W),dd:f(r.weekdaysMin,this.$W,c,2),ddd:f(r.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(a),HH:b.s(a,2,"0"),h:h(1),hh:h(2),a:m(a,o,!0),A:m(a,o,!1),m:String(o),mm:b.s(o,2,"0"),s:String(this.$s),ss:b.s(this.$s,2,"0"),SSS:b.s(this.$ms,3,"0"),Z:i};return n.replace(u,function(t,e){return e||p[t]||i.replace(":","")})},h.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},h.diff=function(t,c,d){var l,u=b.p(c),f=y(t),h=(f.utcOffset()-this.utcOffset())*6e4,m=this-f,p=b.m(this,f);return p=((l={}
1)[s]=p/12,l[a]=p,l[o]=p/3,l[i]=(m-h)/6048e5,l.day=(m-h)/864e5,l[n]=m/36e5,l[r]=m/6e4,l[e]=m/1e3,l)[u]||m,d?p:b.a(p)},h.daysInMonth=function(){return this.endOf(a).$D},h.$locale=function(){return m[this.$L]},h.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=g(t,e,!0);return n&&(r.$L=n),r},h.clone=function(){return b.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},f}(),x=v.prototype;return y.prototype=x,[["$ms",t],["$s",e],["$m",r],["$H",n],["$W","day"],["$M",a],["$y",s],["$D",c]].forEach(function(t){x[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),y.extend=function(t,e){return t.$i||(t(e,v,y),t.$i=!0),y},y.locale=g,y.isDayjs=p,y.unix=function(t){return y(1e3*t)},y.en=m[h],y.Ls=m,y.p={},y}()},65955:(t,e,r)=>{"use strict";r.d(e,{Ex:()=>a});let{PropsProvider:n,withContext:i}=(0,r(74482).a)({key:"badge"}),a=i("span");a.displayName="Badge"},66315:function(t){t.exports=function(t,e,r){t=t||{};var n=e.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function a(t,e,r,i){return n.fromToBase(t,e,r,i)}r.en.relativeTime=i,n.fromToBase=function(e,n,a,o,s){for(var c,d,l,u=a.$locale().relativeTime||i,f=t.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],h=f.length,m=0;m<h;m+=1){var p=f[m];p.d&&(c=o?r(e).diff(a,p.d,!0):a.diff(e,p.d,!0));var g=(t.rounding||Math.round)(Math.abs(c));if(l=c>0,g<=p.r||!p.r){g<=1&&m>0&&(p=f[m-1]);var y=u[p.l];s&&(g=s(""+g)),d="string"==typeof y?y.replace("%d",g):y(g,n,p.l,l);break}}if(n)return d;var b=l?u.future:u.past;return"function"==typeof b?b(d):b.replace("%s",d)},n.to=function(t,e){return a(t,e,this,!0)},n.from=function(t,e){return a(t,e,this)};var o=function(t){return t.$u?r.utc():r()};n.toNow=function(t){return this.to(o(this),t)},n.fromNow=function(t){return this.from(o(this),t)}}},70435:(t,e,r)=>{"use strict";r.d(e,{m:()=>a});let{withContext:n,PropsProvider:i}=(0,r(74482).a)({key:"container"}),a=n("div");a.displayName="Container"},89365:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>j});var n=r(31777),i=r(42969);r(14232);var a=r(39822),o=r(65955),s=r(70435),c=r(43123),d=r(6709),l=r(28118),u=r(26796),f=r(32601),h=r(13434),m=r(69364),p=r.n(m),g=r(75912),y=r(37876);function b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function v(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach(function(e){(0,i.default)(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}let x=(0,l.withTranslation)(["editor"])(function(t){var e=t.t,r=t.data,n=t.meta,i=t.theme,l=t.isInsideAdminView,m=t.i18n,b=t.dataTestId;return(!!r.length||!!l)&&(0,y.jsx)(a.a,{bg:i.backgroundColor,px:{base:2,sm:4,md:8,lg:16},"data-testid":b,children:(0,y.jsx)(a.a,{bg:i.backgroundColor,py:8,px:{base:4,sm:4,md:0},children:(0,y.jsxs)(s.m,{maxWidth:"container.lg",mx:"auto",px:0,children:[!!n.title&&(0,y.jsx)(a.a,{color:i.sectionTitleColor,fontSize:"sectionTitle",fontWeight:"heading",fontFamily:"heading",mb:4,asChild:!0,children:(0,y.jsx)("h2",{children:n.title})}),(0,y.jsx)(c.s,{flexWrap:"wrap",flexDirection:{xs:"column",md:"row"},mx:-6,children:r.map(function(t,r){var s,c,l,b,x,j="hubpage-projects-six-".concat(r),w=(0,f.ap)({key:j,meta:n,title:t.title||t.name,description:t.description,date:t.publishedAt,ctaLinkType:t.ctaLinkType,state:t.state});return(0,y.jsx)(a.a,{px:6,py:6,w:{base:"100%",md:"50%"}
1,children:(0,y.jsx)(a.a,v(v({bg:i.cardBackgroundColor||"#ffffff",boxShadow:"site",display:"block"},w.props),{},{target:t.openInNewTab?"_blank":"_self",overflow:"hidden",rounded:"site",h:"full",className:"animated-card",asChild:!0,children:(0,y.jsx)("a",{href:n.autoAddProjects?"/".concat(t.permalink):t.permalink,children:(0,y.jsx)(a.a,{alignItems:"flex-end",backgroundColor:"brand",backgroundImage:"url(".concat((0,h.yt)(t.image||t.imageUrl||t.bannerUrl,n.imageSize||800),")"),backgroundPosition:"".concat(t.imgFocalX,"% ").concat(t.imgFocalY,"%"),backgroundRepeat:"no-repeat",backgroundSize:"cover",display:"flex",justifyContent:"flex-end",pt:8,h:"full",w:"full",role:"img","aria-label":"",children:(0,y.jsxs)(a.a,{bg:i.cardBackgroundColor||"#ffffff",minHeight:48,p:6,w:"90%",h:"100%",display:"flex",flexDirection:"column",justifyContent:"space-between",className:"animated-card-image",children:[(0,y.jsx)(a.a,{children:(0,y.jsxs)(d.B,{gap:3,children:[(0,y.jsxs)(a.a,{display:"flex",justifyContent:"space-between",h:"24px",children:[(0,y.jsx)(a.a,{children:(s=t.publishedAt,c=t.ctaLinkType,!!n.showPublishDate&&!!s&&("projects"===c||void 0===c)&&(0,y.jsx)(a.a,{id:(0,f.O5)(j).date,color:"gray.700",fontFamily:"body",fontSize:"body",fontWeight:"body",children:(0,u.Av)(s,m.language)}))}),(0,y.jsx)(a.a,{children:!!t.state&&(l=e("common:common.".concat(t.state)),!!n.autoAddProjects&&!!n.showProjectStatus&&(0,y.jsx)(o.Ex,{id:(0,f.O5)(j).status,fontFamily:"body",fontSize:"xs",rounded:"site",variant:"solid",fontWeight:"normal",backgroundColor:"gray.700",children:l}))})]}),(0,y.jsx)(a.a,{children:(b=t.title||t.name,(0,y.jsx)(a.a,{id:(0,f.O5)(j).title,color:i.textColor,fontFamily:"heading",fontWeight:"heading",fontSize:"heading",wordBreak:"break-word",asChild:!0,children:(0,y.jsx)("h3",{children:p()(b,{length:70})})}))}),(0,y.jsx)(a.a,{children:(x=t.description,(0,y.jsx)(a.a,{id:(0,f.O5)(j).description,color:i.textColor,fontFamily:"body",fontWeight:"body",fontSize:"body",wordBreak:"break-word",children:(0,y.jsx)(g.A,{html:x,allowTags:["br","&","p"],truncateLength:100})}))})]})}),(0,y.jsx)(a.a,{children:!!n.ctaText&&(0,y.jsx)(a.a,{alignItems:"center",bg:i.ctaBackgroundColor||"brand",boxShadow:"site",color:i.ctaTextColor||"white",_hover:{bg:i.ctaBackgroundHoverColor||i.ctaBackgroundColor||"brand",color:i.ctaTextHoverColor||i.ctaTextColor||"#fff"},display:"inline-flex",fontFamily:"body",fontSize:"body",fontWeight:"normal",href:n.autoAddProjects?"/".concat(t.permalink):t.permalink,justifyContent:"center",mt:4,px:2,py:1,rounded:"site",textDecoration:"none",target:t.openInNewTab?"_blank":"_self",className:"project-button",children:(0,y.jsx)(a.a,{"aria-label":n.ctaText,children:p()(n.ctaText,{length:20})})})})]})})},r)}))},r)})})]})})})}),j=(0,n.Ng)(function(t,e){return{data:t.hubPageRevision.revision.sections[e.sectionId].meta.autoAddProjects?e.projects:t.hubPageRevision.revision.sections[e.sectionId].data,meta:t.hubPageRevision.revision.sections[e.sectionId].meta,theme:t.hubPageRevision.revision.sections[e.sectionId].theme,dataTestId:"participant-hubs-views-projects-section-layout-six"}})(x)}}]); 2//# sourceMappingURL=ProjectsSectionLayout14.fb13174ed794600a.js.map
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.