1"use strict";(self.webpackChunkgatsby_elkhorn=self.webpackChunkgatsby_elkhorn||[]).push([[5125],{603:function(e,a,i){i.d(a,{A:function(){return c}});var o=i(19029);var n=(e,a)=>{const i=[],o=((e,a)=>{const i=[0];if(null!=e&&e.length)for(const[l]of e.entries()){var o,n,r,t;0!==l&&(null==e||null===(o=e[l])||void 0===o?void 0:o.type)===a&&!0===(null==e||null===(n=e[l])||void 0===n?void 0:n.start)&&i.push(l),(null==e||null===(r=e[l])||void 0===r?void 0:r.type)===a&&!1===(null==e||null===(t=e[l])||void 0===t?void 0:t.start)&&i.push(l+1)}return i})(e,a);for(const[n]of o.entries())i.push(e.slice(o[n],o[n+1]));return i},r=i(94946),t=i(31987);const l=["basicCta","colorCards","copy","entryCarousel","eventCarousel","imageCards","socialFeed"],s=["callToAction","linkCard"],d=["utilityAnchorLink","utilityBackgroundColor","utilityBackgroundImage","utilityFlip"];var c=e=>{const a=[];let i="",c="",u="bg-transparent",p="",g="",v="",m="",b=!0;null!=e&&e.length&&e.forEach((e,n,h)=>{var k,y,A,C,f,w,E,T,I,B,P,L,G,H,F,S,x,D,j,z,Q,_,N,O,R,U,V,W,q;const{type:J}=e;p=J,g=(null===(k=h[n-1])||void 0===k?void 0:k.type)||(null===(y=h[0])||void 0===y?void 0:y.type),v=null===(A=h[n+1])||void 0===A?void 0:A.type,m=null===(C=h[n+2])||void 0===C?void 0:C.type;const K={prevBlock:g,nextBlock:v,padding:{relative:!0,"pb-10 md:pb-20":!l.includes(p)&&!s.includes(m)&&"copy"!==v||l.includes(p)&&v&&"copy"!==v,"pb-20 md:pb-30":s.includes(m),"pb-10":"copy"===v,"pt-10":"sectionHeading"===g,"pt-10 md:pt-20":c!==u&&!l.includes(p)||c!==u&&l.includes(p)&&!d.includes(g)&&0!==n||i!==u&&d.includes(g)&&1!==n||"map"===g},copyPadding:{"pt-6":"imageGrid"===g,"pt-10":"sectionHeading"===g,"pt-10 md:pt-20":0===n||1===n&&d.includes(g)||i!==u||i!==u&&d.includes(g)||"map"===g,"pb-6":"imageGrid"===v,"pb-10":"imageGrid"!==v,"md:pb-20":"buttonList"!==v&&"imageGrid"!==v},headerSpacing:{"pt-10":"sectionHeading"===g||i===u,"pt-10 md:pt-20":i!==u&&!l.includes(g)||d.includes(g),"pb-10 md:pb-20 md:pt-20":d.includes(v)||"map"===v},margin:{"z-30":!0,"-translate-y-10 -mb-10":l.includes(p)&&0===n||l.includes(p)&&1===n&&d.includes(g),"-mt-10 translate-y-10":l.includes(p)&&!v},overlap:{"relative z-30":!0,"-translate-y-10 -mb-10":d.includes(g)&&i!==u,"pt-10":"sectionHeading"===g,"pt-10 md:pt-20":!g,"pb-10 md:pb-20":!l.includes(p)}};switch(i=c,c=u,u=e.bgImage?e.darken?"bg-image-dark":"bg-image":o.A[e.bgColor]||u,J){case"accordion":case"buttonList":case"colorCards":case"copy":case"formEmbed":case"newsletterForm":case"notification":case"resourceList":case"script":case"sectionHeading":case"video":a.push({...e,...K,background:u});break;case"audioClips":a.push({...e,...K,background:u,audioClips:null===(f=e.audioClips)||void 0===f?void 0:f.map(e=>{var a;return{...e,audio:(null==e||null===(a=e.audio)||void 0===a?void 0:a[0])||null}}),backgroundImage:(0,r.A)(e.backgroundImage)});break;case"basicCta":a.push({...e,...K,background:u,links:null===(w=e.links)||void 0===w?void 0:w.map(e=>{var a;return{...e,icon:null===(a=e.icon[0])||void 0===a?void 0:a.code}}),image:(0,r.A)(e.image)});break;
1case"blogCarousel":a.push({...e,...K,background:u,entryType:e.blogCarouselEntryType,entryTopic:e.blogCarouselEntryTopic,entries:null===(E=e.entries)||void 0===E?void 0:E.map(e=>({...e,image:(0,r.A)(e.image)}))});break;case"blogPreview":a.push({...e,...K,background:u,entryType:e.blogPreviewEntryType,entryTopic:e.blogPreviewEntryTopic,entries:null===(T=e.entries)||void 0===T?void 0:T.map(e=>({...e,image:(0,r.A)(e.image)}))});break;case"callToAction":case"fullWidthImage":a.push({...e,...K,background:u,image:(0,r.A)(e.image)});break;case"entryCards":a.push({...e,...K,background:u,cards:null===(I=e.group[0])||void 0===I||null===(B=I.cards)||void 0===B?void 0:B.map(e=>{var a,i,o,n,l,s,d,c,u;return"customCard"===e.type?{...e,type:e.type,graphic:(0,r.A)(e.graphic),image:(0,r.A)(e.image),icon:null===(l=e.icon[0])||void 0===l?void 0:l.code}:"sidebarCard"===e.type?{...e.entry[0],type:e.type,image:(0,r.A)(null===(s=e.entry[0])||void 0===s?void 0:s.image),icon:null===(d=e.entry[0])||void 0===d||null===(c=d.icon[0])||void 0===c?void 0:c.code,content:(0,t.A)(null===(u=e.entry[0])||void 0===u?void 0:u.content)}:{...e.entry[0],type:e.type,descriptor:(null===(a=e.entry[0])||void 0===a?void 0:a.descriptor)||(null===(i=e.entry[0])||void 0===i?void 0:i.heroDescriptor),image:(0,r.A)((null===(o=e.entry[0])||void 0===o?void 0:o.image)||(null===(n=e.entry[0])||void 0===n?void 0:n.heroImage))}})});break;case"entryCarousel":a.push({...e,...K,background:u,entries:null===(P=e.entries)||void 0===P?void 0:P.map(e=>({...e,image:(0,r.A)(e.image)}))});break;case"eventCarousel":a.push({...e,...K,background:u,entryType:e.eventCarouselEventType,entries:null===(L=e.entries)||void 0===L?void 0:L.map(e=>({...e,image:(0,r.A)(e.image)}))});break;case"eventPreview":a.push({...e,...K,background:u,entryType:e.eventPreviewEventType,entries:null===(G=e.entries)||void 0===G?void 0:G.map(e=>({...e,image:(0,r.A)(e.image)}))});break;case"highlightedText":a.push({...e,...K,background:u,graphic:(0,r.A)(e.graphic)});break;case"iconCopyGrid":a.push({...e,...K,background:u,items:null===(H=e.items)||void 0===H?void 0:H.map(e=>{var a;return{...e,icon:null===(a=e.icon[0])||void 0===a?void 0:a.code}})});break;case"imageCards":a.push({...e,...K,background:u,cards:null===(F=e.cards)||void 0===F?void 0:F.map(e=>({...e,image:(0,r.A)(e.image)}))});break;
1case"imageCarousel":a.push({...e,...K,background:u,images:null===(S=e.images)||void 0===S?void 0:S.map(r.A)});break;case"imageCopy":b=!b,a.push({...e,...K,background:u,flip:b,logos:null===(x=e.logos)||void 0===x?void 0:x.map(r.A),block:null===(D=e.columnTwo[0])||void 0===D||null===(j=D.block)||void 0===j?void 0:j.map(e=>{var a;return{...e,graphic:(0,r.A)(e.graphic),images:null===(a=e.images)||void 0===a?void 0:a.map(r.A)}})});break;case"imageGrid":a.push({...e,...K,background:u,images:null===(z=e.images)||void 0===z?void 0:z.map(r.A)});break;case"infoCards":a.push({...e,...K,background:u,cards:null===(Q=e.cards)||void 0===Q?void 0:Q.map(e=>({...e,image:(0,r.A)(e.image)}))});break;case"logoGrid":a.push({...e,...K,background:u,logos:null===(_=e.logos)||void 0===_?void 0:_.map(r.A)});break;case"linkCard":a.push({...e,...K,background:u,image:(0,r.A)(e.image),linkList:null===(N=e.linkList)||void 0===N?void 0:N.map(e=>{var a;return{...e,icon:null===(a=e.icon[0])||void 0===a?void 0:a.code}})});break;case"map":a.push({...e,geojson:null===(O=e.polygons)||void 0===O||null===(R=O[0])||void 0===R?void 0:R.url,properties:e.properties.map(e=>{var a,i;return{property:null===(a=e.property)||void 0===a||null===(i=a[0])||void 0===i?void 0:i.uid,oid:e.objectid}})});break;case"peopleDirectory":b=!b,a.push({...e,...K,background:u,flip:b});break;case"peopleGrid":a.push({...e,...K,background:u,people:null===(U=e.people)||void 0===U?void 0:U.map(e=>({...e,headshot:(0,r.A)(e.headshot)}))});break;case"progressBar":case"utilityAnchorLink":case"utilityBackgroundColor":a.push({...e});break;case"researchPreview":a.push({...e,...K,background:u,entries:null===(V=e.entries)||void 0===V?void 0:V.map(e=>({...e,image:(0,r.A)(e.image)}))});break;case"socialFeed":a.push({...e,...K,background:u,posts:null===(W=e.posts)||void 0===W?void 0:W.map(e=>{var a,i;return{...e,images:null===(a=e.images)||void 0===a?void 0:a.map(r.A),accounts:null===(i=e.accounts)||void 0===i?void 0:i.map(e=>({...e,image:(0,r.A)(e.image)}))}})});break;case"statGrid":a.push({...e,...K,background:u,stats:e.stats.map(e=>{var a;return{...e,graphic:null===(a=e.graphic[0])||void 0===a?void 0:a.code}})});break;case"timeline":a.push({...e,...K,background:u,nodes:null==e||null===(q=e.timelineNodes)||void 0===q?void 0:q.map(e=>({...e,image:(0,r.A)(null==e?void 0:e.image)}))});break;case"utilityBackgroundImage":a.push({...e,bgImage:(0,r.A)(e.bgImage)});break;case"utilityFlip":b=!b,a.push({...e});break;default:a.push(p)}});return null!=a&&a.length?n(a,"utilityBackgroundImage"):[]}},31987:function(e,a,i){var o=i(94946);a.A=e=>{const a=[];return null!=e&&e.length&&e.forEach(e=>{var i,n;const{type:r}=e;switch(r){case"blockQuote":a.push({...e,headshot:(0,o.A)(e.headshot)});break;case"button":case"copy":case"embed":case"form":case"lead":case"newsletterForm":case"tip":case"video":a.push({...e});break;case"imageCopy":a.push({...e,image:(0,o.A)(e.image)});break;case"images":a.push({...e,images:null===(i=e.images)||void 0===i?void 0:i.map(o.A)});break;case"stat":a.push({...e,icon:null===(n=e.icon[0])||void 0===n?void 0:n.code});break;default:a.push(e)}}),a}},66934:function(e,a,i){i.r(a),i.d(a,{default:function(){return k}});var o=i(30758),n=i(56397),r=i(60886),t=i(2062),l=i(18363),s=i(94946),d=i(603);const c=e=>{const{heroHeading:a,heroDescriptor:i,heroButton:o,heroSecondaryLink:n,heroImage:r,heroImageCaption:t,heroVideo:l,pageBuilder:c,ctaHeading:u,ctaDescriptor:p,ctaLinks:g,ctaImage:v,ctaImageCaption:m}=e||{};return{hero:{heading:a,descriptor:i,button:o,secondaryLink:n,image:(0,s.A)(r),caption:t,video:l},pageBuilder:(0,d.A)(c),cta:{heading:u,descriptor:p,links:g,image:(0,s.A)(v),caption:m},theme:"blue"}};var u=()=>{const{craft:e}=(0,l.useStaticQuery)("3981543795"),{en:a,es:i}=e;return{en:c(a),es:c(i)}},p=i(35272);const g=(0,n.Ay)(()=>Promise.all([i.e(4223),i.e(2305)]).then(i.bind(i,69074))),v=(0,n.Ay)(()=>Promise.all([i.e(4223),i.e(906)]).then(i.bind(i,42494))),m=(0,n.Ay)(()=>Promise.all([i.e(4223),i.e(906)]).then(i.bind(i,56869))),b=(0,n.Ay)(()=>i.e(8429).then(i.bind(i,48429))),h=(0,n.Ay)(()=>Promise.all([i.e(4223),i.e(906)]).then(i.bind(i,65955)));var k=e=>{var a;let{location:i}=e;const[{layout:n},l]=(0,r.A1)(),{theme:s}=n,d=(0,t.A)(),{0:c,1:k}=(0,o.useState)(!1),{0:y,1:A}=(0,o.useState)(!1),{hero:C,pageBuilder:f,cta:w,theme:E}=u()["en"===d?"en":"es"],T=null!=i&&null!==(a=i.pathname)&&void 0!==a&&a.includes("reserve")?(0,p.A)()["en"===d?"en":"es"].reserveCta:(0,p.A)()["en"===d?"en":"es"].cta;
1Object.keys(w).forEach(e=>{var a;return("links"===e&&!(null!=w&&null!==(a=w.links)&&void 0!==a&&a.length)||void 0===w[e]||null===w[e])&&delete w[e]});const I={...T,...w};return(0,o.useEffect)(()=>{s!==E&&l({type:"setTheme",theme:E})},[]),(0,o.useEffect)(()=>{const e=window.location.search,a=new URLSearchParams(e);!(!a.get("x-craft-live-preview")&&!a.get("x-craft-preview"))?A(!0):k(!0)},[]),y?o.createElement(g,{location:i}):o.createElement(v,null,!!C.heading&&o.createElement(m,C),o.createElement(b,{blocks:f,theme:s}),((null==I?void 0:I.heading)||(null==I?void 0:I.descriptor))&&o.createElement(h,I))}}}]);
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.