PageSourceSearch

https://speakupgreeley.com/_next/static/chunks/FeaturedSectionLayout2.a2a5b84c55035053.js

js speakupgreeley.com collected 2026-09-29 05:40:59 UTC 9,635 bytes, 2 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="21e06521-9826-40ee-830e-1eeebfd73d06",e._sentryDebugIdIdentifier="sentry-dbid-21e06521-9826-40ee-830e-1eeebfd73d06")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[29642],{13434:(e,t,a)=>{a.d(t,{JU:()=>g,V6:()=>u,yt:()=>m,z6:()=>l});var o,n,r=a(63857),i=a(60180),s=a.n(i),c=a(12436),d="/admin/api/unsplash",l=(o=(0,r.A)(s().mark(function e(){var t,a,o,n,r=arguments;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:"community",a=r.length>1&&void 0!==r[1]?r[1]:{pageNumber:1,numberOfImages:25,orientation:"landscape"},e.prev=2,e.next=5,fetch("".concat(d,"/search"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:t,pageNumber:a.pageNumber,numberOfImages:a.numberOfImages,orientation:a.orientation})});case 5:if((o=e.sent).ok){e.next=8;break}throw Error("Failed to search photos");case 8:return e.next=10,o.json();case 10:return n=e.sent,e.abrupt("return",n.results||[]);case 14:return e.prev=14,e.t0=e.catch(2),console.error("Error loading images:",e.t0),e.abrupt("return",[]);case 18:case"end":return e.stop()}},e,null,[[2,14]])})),function(){return o.apply(this,arguments)}),u=(n=(0,r.A)(s().mark(function e(t,a){var o,n,r,i;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("".concat(d,"/upload"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({imageUrl:t,photoId:a})});case 3:if((o=e.sent).ok){e.next=17;break}return n="Failed to upload image",e.prev=6,e.next=9,o.json();case 9:n=(r=e.sent).details||r.error||n,e.next=16;break;case 13:e.prev=13,e.t0=e.catch(6),n=o.statusText||n;case 16:throw Error(n);case 17:return e.next=19,o.json();case 19:return i=e.sent,e.abrupt("return",i.awsImageUrl);case 23:throw e.prev=23,e.t1=e.catch(0),console.error("Error uploading image:",e.t1),e.t1;case 27:case"end":return e.stop()}},e,null,[[0,23],[6,13]])})),function(e,t){return n.apply(this,arguments)}),h=function(e){var t=g(e);t&&"-undefined"!==t&&fetch("".concat(d,"/track-view?photoId=").concat(encodeURIComponent(t)),{method:"GET"}).catch(function(e){console.error("Error tracking view:",e)})},m=function(e,t,a){if(null!=e&&e.includes("/static/images/")){var o=e.match(/\/(\d+)-/);if(null!=o&&o[1])return"/static/assets/images/home-page-placeholder-images/".concat(o[1],".jpg")}var n=null==e?void 0:e.match(/\/(?:static\/media|_next\/static\/media)\/(\d+)\.[a-zA-Z0-9_-]+\.\w+/);if(null!=n&&n[1])return"/static/assets/images/home-page-placeholder-images/".concat(n[1],".jpg");if(!e)return"";if(e.startsWith("/static/assets/")||e.startsWith("/static/media/"))return e.split("?")[0];if(e.indexOf(".gif")>-1)return e;var r=(0,c.G)(e,t,a);return -1===e.indexOf("unsplash-")||h(e),r},g=function(e){var t="";try{var a=e&&e.split("unsplash-")[1];if(!a)return"";if(!(t=a.split("-")[0])){var o=a.split("-")[1];if(!o)return"";t="-".concat(o)}}catch(e){t=""}return t}},16328:(e,t,a)=>{a.r(t),a.d(t,{default:()=>p});var o=a(31777),n=a(47091),r=a.n(n);a(14232);var i=a(39822),s=a(65955),c=a(70435),d=a(13434),l=a(69364),u=a.n(l),h=a(75912),m=a(54237),g=a(89099),b=a(45491),f=a(37876);let p=(0,o.Ng)(function(e,t){return{data:e.homePageRevision.revision.sections[t.sectionId].data[0],meta:e.homePageRevision.revision.sections[t.sectionId].meta,theme:e.homePageRevision.revision.sections[t.sectionId].theme,brandColor:e.theme.theme.brandColor}})(function(e){var t=e.data,a=e.meta,o=e.theme,n=e.brandColor,l=(0,g.useRouter)(),p=(0,m.useTranslation)("common").t;return(0,f.jsxs)(i.a,{bg:o.backgroundColor,px:{base:2,sm:4,md:8,lg:16},children:[(0,f.jsx)(i.a,{bg:o.backgroundColor,py:8,px:{base:4,sm:4,md:0},children:(0,f.jsxs)(c.m,{maxWidth:"container.lg",mx:"auto",px:0,children:[!!a.title&&(0,f.jsx)(i.a,{as:"h2",color:o.sectionTitleColor,fontSize:"sectionTitle",fontWeight:"heading",fontFamily:"heading",mb:4,children:a.title}),(0,f.jsxs)(i.a,{display:"flex",children:[(0,f.jsx)(i.a,{boxShadow:"site",bg:o.backgroundColor,backgroundImage:"url(".concat((0,d.yt)(t.image,a.imageSize||800),")"),backgroundPosition:"".concat(t.imgFocalX,"% ").concat(t.imgFocalY,"%"),backgroundRepeat:"no-repeat",backgroundSize:"cover",p:{base:4,sm:4,md:8},rounded:"site",w:"full",role:"img","aria-label":""}
1),(0,f.jsx)(i.a,{as:a.showCtabutton?"div":"a",bg:o.cardBackgroundColor,boxShadow:"site",href:t.permalink,ml:-48,my:24,overflow:"hidden",rounded:"site",w:"full",children:(0,f.jsxs)(i.a,{p:6,children:[!!a.showCardStatus&&(0,f.jsx)(s.Ex,{fontFamily:"body",fontSize:"body",rounded:"site",variant:"solid",className:"ehq-text-gray-8 ehq-bg-gray-4 ehq-px-1 ehq-py-1 ehq-leading-4 ehq-font-normal",children:!!t.status&&p("common:common.".concat(t.status.toLowerCase()))}),(0,f.jsx)(i.a,{color:o.textColor,fontFamily:"heading",fontWeight:"heading",fontSize:"heading",wordBreak:"break-word",mb:0,mt:1,children:u()(t.title,{length:70})}),(0,f.jsx)(i.a,{color:o.textColor,fontFamily:"body",fontWeight:"body",fontSize:"body",mt:2,wordBreak:"break-word",className:"featured-desc",children:(0,f.jsx)(h.A,{html:u()(t.description,{length:255})})}),!!a.showCtabutton&&!!t.ctaText&&(0,f.jsx)(i.a,{alignItems:"center",as:"a",bg:o.ctaBackgroundColor||"brand",boxShadow:"site",color:o.ctaTextColor||"white",_hover:{bg:o.ctaBackgroundHoverColor||o.ctaBackgroundColor||"brand",color:o.ctaTextHoverColor||o.ctaTextColor||"#fff"},display:"inline-flex",fontFamily:"body",fontSize:"body",fontWeight:"bold",href:(0,b.A)(t.ctaLink)&&"/"!==l.asPath?"".concat(t.ctaLink,"?next=").concat(l.asPath):t.ctaLink,justifyContent:"center",mt:2,px:2,py:1,rounded:"site",textDecoration:"none",className:"featured-button",children:t.ctaText})]})})]})]})}),(0,f.jsx)(r(),{id:"2550103798",dynamic:[n],children:[".featured-desc p{margin-block-start:1em;margin-block-end:1em;}",".featured-desc a{color:".concat(n," !important;}"),".featured-desc ul{padding-inline-start:40px !important;}"]})]})})},45491:(e,t,a)=>{a.d(t,{A:()=>o});let o=function(e){return"/login"===e||"/register"===e}},65955:(e,t,a)=>{a.d(t,{Ex:()=>r});let{PropsProvider:o,withContext:n}=(0,a(74482).a)({key:"badge"}),r=n("span");r.displayName="Badge"},68295:(e,t,a)=>{a.r(t),a.d(t,{default:()=>p});var o=a(31777),n=a(47091),r=a.n(n);a(14232);var i=a(39822),s=a(65955),c=a(70435),d=a(13434),l=a(69364),u=a.n(l),h=a(75912),m=a(89099),g=a(54237),b=a(45491),f=a(37876);let p=(0,o.Ng)(function(e,t){return{data:e.hubPageRevision.revision.sections[t.sectionId].data[0],meta:e.hubPageRevision.revision.sections[t.sectionId].meta,theme:e.hubPageRevision.revision.sections[t.sectionId].theme,dataTestId:"participant-hubs-views-featured-section-layout-three",brandColor:e.theme.theme.brandColor}})(function(e){var t=e.data,a=e.meta,o=e.theme,n=e.dataTestId,l=e.brandColor,p=(0,m.useRouter)(),x=(0,g.useTranslation)("common").t;return(0,f.jsxs)(i.a,{bg:o.backgroundColor,px:{base:2,sm:4,md:8,lg:16},"data-testid":n,children:[(0,f.jsx)(i.a,{bg:o.backgroundColor,py:8,px:{base:4,sm:4,md:0},children:(0,f.jsxs)(c.m,{maxWidth:"container.lg",mx:"auto",px:0,children:[!!a.title&&(0,f.jsx)(i.a,{as:"h2",color:o.sectionTitleColor,fontSize:"sectionTitle",fontWeight:"heading",fontFamily:"heading",mb:4,children:a.title}),(0,f.jsxs)(i.a,{display:"flex",children:[(0,f.jsx)(i.a,{boxShadow:"site",bg:o.backgroundColor,backgroundImage:"url(".concat((0,d.yt)(t.image,a.imageSize||800),")"),backgroundPosition:"".concat(t.imgFocalX,"% ").concat(t.imgFocalY,"%"),backgroundRepeat:"no-repeat",backgroundSize:"cover",p:{base:4,sm:4,md:8},rounded:"site",w:"full",role:"img","aria-label":""}),(0,f.jsx)(i.a,{as:a.showCtabutton?"div":"a",bg:o.cardBackgroundColor,boxShadow:"site",href:t.ctaLink,ml:-48,my:24,overflow:"hidden",rounded:"site",w:"full",children:(0,f.jsxs)(i.a,{p:6,children:[!!a.showCardStatus&&(0,f.jsx)(s.Ex,{fontFamily:"body",fontSize:"body",rounded:"site",variant:"solid",className:"ehq-text-gray-8 ehq-bg-gray-4 ehq-px-1 ehq-py-1 ehq-leading-4 ehq-font-normal",children:!!t.status&&x("common:common.".concat(t.status.toLowerCase()))}),(0,f.jsx)(i.a,{color:o.textColor,fontFamily:"heading",fontWeight:"heading",fontSize:"heading",wordBreak:"break-word",mb:0,mt:1,children:u()(t.title,{length:70})}),(0,f.jsx)(i.a,{color:o.textColor,fontFamily:"body",fontWeight:"body",fontSize:"body",mt:2,wordBreak:"break-word",className:"featured-desc",children:(0,f.jsx)(h.A,{html:u()(t.description,{length:255})})}),!!a.showCtabutton&&!!t.ctaText&&(0,f.jsx)(i.a,{alignItems:"center",as:"a",bg:o.ctaBackgroun
1dColor||"brand",boxShadow:"site",color:o.ctaTextColor||"white",_hover:{bg:o.ctaBackgroundHoverColor||o.ctaBackgroundColor||"brand",color:o.ctaTextHoverColor||o.ctaTextColor||"#fff"},display:"inline-flex",fontFamily:"body",fontSize:"body",fontWeight:"bold",href:(0,b.A)(t.ctaLink)&&"/"!==p.asPath?"".concat(t.ctaLink,"?next=").concat(p.asPath):t.ctaLink,justifyContent:"center",mt:2,px:2,py:1,rounded:"site",textDecoration:"none",className:"featured-button",children:t.ctaText})]})})]})]})}),(0,f.jsx)(r(),{id:"2550103798",dynamic:[l],children:[".featured-desc p{margin-block-start:1em;margin-block-end:1em;}",".featured-desc a{color:".concat(l," !important;}"),".featured-desc ul{padding-inline-start:40px !important;}"]})]})})},70435:(e,t,a)=>{a.d(t,{m:()=>r});let{withContext:o,PropsProvider:n}=(0,a(74482).a)({key:"container"}),r=o("div");r.displayName="Container"}}]);
2//# sourceMappingURL=FeaturedSectionLayout2.a2a5b84c55035053.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.