1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[892],{210:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog",function(){return r(8231)}])},3893:(e,t,r)=>{"use strict";r.d(t,{U8:()=>i,Wp:()=>l,b$:()=>o});var n=r(5589),a=r(7260);let s=e=>(0,a.Em)("https://admin.evergreenlodge.com/graphql",e),o=()=>{let{data:e,error:t}=(0,n.Ay)("query GetRecentBlogPosts {\n posts(first: 12) {\n nodes {\n title\n slug\n featuredImage {\n node {\n altText\n sourceUrl\n }\n }\n excerpt\n }\n }\n }",s);return{data:e,error:t}},l=e=>{let{data:t,error:r}=(0,n.Ay)("query PostsQuery {\n posts(first: 200, where: { categoryId: ".concat(e," }) {\n nodes {\n slug\n title\n excerpt\n date\n featuredImage {\n node {\n altText\n sourceUrl\n }\n }\n }\n }\n }\n "),s);return{data:t,error:r}},i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"forward",r="";e&&(r="backward"===t?', before: "'.concat(e,'"'):', after: "'.concat(e,'"'));let{data:a,error:o}=(0,n.Ay)("query GetRecentBlogPosts {\n posts(first: 12".concat(r,") {\n nodes {\n title\n date\n slug\n featuredImage {\n node {\n altText\n sourceUrl\n }\n }\n excerpt\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n }"),s);return{data:a,error:o}}},3856:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(4848),a=r(3956);function s(e){var t="#",r="#";return t="https://www.tripadvisor.com/Hotel_Review-g32460-d251654-Reviews-Evergreen_Lodge_at_Yosemite-Groveland_California.html",r="https://www.bcorporation.net/en-us/find-a-b-corp/company/evergreen-lodge/",(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"page-header-banner inner-banner relative min-h-[650px] lg:min-h-[700px] text-white font-serif bg-black text-center text-22 leading-[1.5454] before:content-[''] before:absolute before:left-0 before:right-0 before:top-0 before:bottom-0 before:bg-gradient-to-t before:from-transparent before:to-black60 before:z-10 pt-[220px] lg:pt-[330px] pb-5 lg:pb-10 tracking-wide text-shadow max-w-full mx-auto relative !mb-[60px]",children:[(0,n.jsx)(a.A,{src:e.attrs.image,src_url:e.attrs.image_url,src_alt:e.attrs.image_alt,className:"absolute object-cover w-full h-full top-0 left-0 right-0 bottom-0",width:1582,height:700}),(0,n.jsxs)("div",{className:"container relative z-10",children:[e.attrs.header&&(0,n.jsx)("h1",{className:"uppercase font-sans text-h1m lg:text-h1 font-bold leading-[1.2] mb-1_5 lg:mb-2_5",children:e.attrs.header}),e.attrs.subheader&&(0,n.jsx)("p",{className:"lg:max-w-[1150px] lg:mx-auto",children:e.attrs.subheader})]}),(0,n.jsx)("div",{"data-siteid":"1",className:"max-w-[1670px] mx-auto ".concat(""),children:(0,n.jsxs)("div",{className:"grid grid-cols-6 items-end pl-2 lg:pl-[22px] pr-2 slider-logos",children:[(0,n.jsx)("div",{className:"col-span-1 text-left",children:(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("a",{className:"relative z-20 align-bottom","aria-label":"TripAdvisor",title:"TripAdvisor",target:"_blank",href:t,children:(0,n.jsx)("img",{src:"/trip_advisor_travelers_choice_2026_white.png",alt:"TripAdvisor Travelers' Choice 2026",className:"inline-block h-[80px] w-auto align-bottom",id:"CDSWIDCOELOGO"})})})}),(0,n.jsx)("div",{className:"col-span-4"}),(0,n.jsx)("div",{className:"col-span-1 text-right",children:(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("a",{href:r,"aria-label":"Certified B Corporation",title:"Certified B Corporation",target:"_blank",className:"align-bottom transition-opacity relative z-20",children:(0,n.jsx)("img",{src:"/images/logo-certified-b-white-trimmed.png",alt:"Certified B Corporation",className:"inline-block h-[80px] w-auto align-bottom"})})})})]})})]})})}},3956:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});
1var n=r(4848),a=r(9965),s=r.n(a),o=r(6540);function l(e){let t=e.src_url||e.source_url||"",[r,a]=o.useState(t),[l,i]=o.useState(e.src_alt||"");(0,o.useEffect)(()=>{if(e.src_url||e.source_url){a(e.src_url||e.source_url),e.src_alt&&i(e.src_alt);return}fetch("https://www.evergreenlodge.com/api/get/image/?id="+e.src).then(e=>e.json()).then(function(e){a(e.source_url),e.alt_text?i(e.alt_text):e.caption&&e.caption.rendered&&i(e.caption.rendered)}).catch(function(e){console.error("Error fetching image:",e)})},[e.src,e.src_url,e.source_url,e.src_alt]);var c="img-cover";return e.className&&(c=e.className),(0,n.jsx)(n.Fragment,{children:r&&(0,n.jsx)(n.Fragment,{children:"true"==e.fancybox?(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("a",{href:r,"data-fancybox":"gallery","data-caption":e&&e.alttext?e.alttext:l,class:"fancybox",rel:"gallery",children:(0,n.jsx)("picture",{children:(0,n.jsx)(s(),{className:c,src:r,alt:e&&e.alttext?e.alttext:l,width:e.width,height:e.height})})})}):(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(s(),{className:c,src:r,alt:e&&e.alttext?e.alttext:l,width:e.width,height:e.height})})})})}},1939:(e,t,r)=>{"use strict";r.d(t,{LV:()=>o,hj:()=>l});var n=r(7836);let a=(e,t)=>{let r=Number(e);return Number.isFinite(r)&&r>0?Math.floor(r):t};a(n.env.REVALIDATE_PAGE,3600),a(n.env.REVALIDATE_DETAIL,3600);let s=a(n.env.WP_CACHE_BUCKET_SECONDS,60),o=1e3*a(n.env.SITE_OPTIONS_TTL_SECONDS,60);function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"v1",t=Math.floor(Date.now()/(1e3*s));return"".concat(e,"_").concat(t)}},5791:(e,t,r)=>{"use strict";r.d(t,{Il:()=>s,VW:()=>l,aQ:()=>c,l7:()=>i,xb:()=>o});let n=["https://evergreenlodge.travelboommarketing.com/api/preview/?slug=","https://www.evergreenlodge.com/api/preview/?slug=","https://www.firefallranch.com/api/preview/?slug=","https://firefall-admin.travelboommarketing.com/api/preview/?slug=","https://preview.rushcreeklodge.com/api/preview/?slug=","https://admin.rushcreeklodge.com/api/preview/?slug=","https://www.rushcreeklodge.com/api/preview/?slug=","https://admin.yosemitehotels.com/api/preview/?slug=","https://www.yosemitehotels.com/api/preview/?slug=","https://yosemitehotels.travelboommarketing.com/api/preview/?slug="];function a(e){return e&&"string"==typeof e?e.replace("://admin.","://www.").replace(/([^:])\/\/+/g,"$1/"):e}function s(e,t){let r="https://www.evergreenlodge.com".replace(/\/+$/,""),s=!t||"/"===t||"homepage"===t;if(null==e?void 0:e.opengraphUrl){let t=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!e||"string"!=typeof e)return null;let r=a(e);for(let e of n)r=r.split(e).join("");let s=t?a(t).replace(/\/+$/,""):"";s&&r.startsWith(s)&&(r=r.slice(s.length)||"/");let o=r.trim();return o.length?o:null}(e.opengraphUrl,r);if(t&&("/"!==t&&""!==t&&t!=="".concat(r,"/")&&t!==r||s)){if(t.startsWith("http://")||t.startsWith("https://"))return a(t);let e=t.startsWith("/")?t:"/".concat(t);return a("".concat(r).concat(e).replace(/([^:]\/)\/+/g,"$1"))}}return function(e,t){let r=null==t?"":String(t);if("/"===r||""===r||"homepage"===r)return"".concat(e,"/");let n=r.replace(/^\/+|\/+$/g,"");if(!n)return"".concat(e,"/");let a=n.split("/").filter(Boolean).join("/");return"".concat(e,"/").concat(a,"/")}(r,t)}function o(e){return"nofollow"===String((e||{}).metaRobotsNofollow||"").trim().toLowerCase()?"noindex, nofollow":"index, follow"}function l(e){if(null==e||"string"!=typeof e)return null;let t=e.trim();if(!t)return null;if(t.startsWith("http://")||t.startsWith("https://"))return t;let r="https://www.evergreenlodge.com".replace(/\/+$/,"");if(!r)return t;let n=t.startsWith("/")?t:"/".concat(t);return"".concat(r).concat(n)}function i(e){return e&&"object"==typeof e?["opengraphImage","opengraph_image","ogImage","og_image","socialImage","twitterImage","imageUrl","featuredImage"].map(t=>e[t]).filter(e=>null!=e&&String(e).trim()):[]}function c(e){if(!e)return null;for(let t of Array.isArray(e)?e:[e])if(null!=t&&String(t).trim())return String(t).trim();return null}},8231:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSG:()=>b,default:()=>v,getPageLayout:()=>_,getPageSEO:()=>y,getSiteOptions:()=>j});
1var n=r(4848),a=r(3368),s=r.n(a),o=r(6352),l=r(3539),i=r(6540),c=r(6715),g=r(1106),d=r.n(g),p=r(9965),h=r.n(p),u=r(3893),m=r(5791),x=r(3856),f=r(1939),w=r(7836),b=!0;function v(e){let{acf_schema:t,page_layout:r,page_content:a,site_options:g,seo_content:p,archiveOgImage:f,pageHeaderAttrs:w}=e,b=(0,c.useRouter)(),v=parseInt(b.query.page)||1,[j,_]=(0,i.useState)(()=>{{let e=sessionStorage.getItem("blogCursorHistory");if(e)try{return JSON.parse(e)}catch(e){}}return{}}),[y,N]=(0,i.useState)(()=>{{let e=sessionStorage.getItem("blogStartCursorHistory");if(e)try{return JSON.parse(e)}catch(e){}}return{}}),[S,I]=(0,i.useState)(()=>b.query.page&&parseInt(b.query.page)||1),{cursor:k,direction:E}=1===v?{cursor:null,direction:"forward"}:v<S&&y[v]?{cursor:y[v],direction:"backward"}:j[v-1]?{cursor:j[v-1],direction:"forward"}:{cursor:null,direction:"forward"},{data:C,error:P}=(0,u.U8)(k,E);(0,i.useEffect)(()=>{v!==S&&I(v)},[v,S]);let T=(0,m.Il)(p,"blog"),A=(0,m.VW)(f),O=(null==p?void 0:p.title)&&String(p.title).trim()||(null==a?void 0:a.title)&&String(a.title).trim()||null;return(0,i.useEffect)(()=>{if(C&&C.posts&&C.posts.pageInfo){let e=C.posts.pageInfo,t=e.endCursor,r=e.startCursor;r&&N(e=>{let t={...e};return t[v]=r,sessionStorage.setItem("blogStartCursorHistory",JSON.stringify(t)),t}),t&&_(e=>{let r={...e};return r[v]=t,sessionStorage.setItem("blogCursorHistory",JSON.stringify(r)),r})}},[C,v]),(0,i.useEffect)(()=>{window.scrollTo({top:0,behavior:"smooth"})},[v]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(s(),{children:[O&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("title",{children:O}),(0,n.jsx)("meta",{property:"og:title",content:O})]}),(null==p?void 0:p.metaDesc)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("meta",{name:"description",content:p.metaDesc}),(0,n.jsx)("meta",{property:"og:description",content:p.metaDesc})]}),A&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("meta",{property:"og:image",content:A}),(0,n.jsx)("meta",{property:"og:image:width",content:"1200"}),(0,n.jsx)("meta",{property:"og:image:height",content:"630"}),(0,n.jsx)("meta",{name:"twitter:image",content:A})]}),t&&t.sitePageSchemas&&t.sitePageSchemas.length>0&&t.sitePageSchemas.map((e,t)=>(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:e.sitePageSchemasSchema}},t)),T&&(0,n.jsx)("link",{rel:"canonical",href:T}),(0,n.jsx)("meta",{content:"width=device-width, initial-scale=1",name:"viewport"})]}),(0,n.jsx)(o.A,{options:g,layout:r}),(0,n.jsxs)("main",{role:"main",id:"main",children:[w?(0,n.jsx)(x.A,{attrs:w}):a.content&&(0,n.jsx)("div",{className:"",dangerouslySetInnerHTML:{__html:a.content}}),(0,n.jsxs)("div",{"data-kibble-section":"blog-index","data-kibble-topic":"blog",className:"container mx-auto",children:[(0,n.jsx)("div",{className:"row",children:(0,n.jsx)("div",{className:"package-holder -mx-[13px] w-[9999px] lg:w-auto lg:flex lg:flex-wrap",children:C&&C.posts&&C.posts.nodes&&C.posts.nodes.map((e,t)=>(0,n.jsx)("div",{className:"package mb-2 px-[13px] w-[calc(100vw-100px)] md:w-[400px] lg:w-[33.33%] xl:w-[25%]",children:(0,n.jsxs)(d(),{"aria-label":e.title,title:e.title,href:"/blog/".concat(encodeURIComponent(e.slug)),className:"relative block flex flex-col w-full h-full group bg-white",children:[e.featuredImage&&e.featuredImage.node&&e.featuredImage.node.sourceUrl&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"img-holder h-[275px]",children:(0,n.jsx)(h(),{width:275,height:375,alt:e.title,decoding:"async",src:e.featuredImage.node.sourceUrl,loading:"lazy",className:"w-full h-full object-cover transition-opacity group-hover:opacity-80"})})}),(0,n.jsxs)("div",{className:"text-holder text-15 leading-relaxed shadow-sm p-2 text-onyx font-serif tracking-wide flex flex-col flex-grow",children:[(0,n.jsx)("strong",{className:"title block font-bold font-sans text-20 leading-snug tracking-wide text-black news-grid-padding-2",children:e.title}),(0,n.jsx)("strong",{className:"title block font-sans leading-snug tracking-wide text-black news-grid-padding-2",children:new Date(e.date).toLocaleDateString("en-US")}),(0,n.jsx)("div",{className:"mb-2_5 special-offer-description",dangerouslySetInnerHTML:{__html:e.excerpt}}),(0,n.jsx)("div",{className:"flex flex-grow items-end",children:(0,n.jsx)("span",{className:"vd-btn btn bg-white border-red-100 border text-red-100 text-white text-center inline-block text-16 font-bold px-2 py-[8px] leading-extraloose group-hover:bg-red-100 group-hover:text-white hover:bg-red-100 hover:text-white transition-colors min-w-[125px] w-full sm:w-auto tracking-wide thematic-read-more",children:"Read More"})})]})]})}))})}),C&&C.posts&&C.posts.pageInfo&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"container mx-auto",children:(0,n.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-4 mt-[30px] mb-[30px]",children:[v>1&&(0,n.jsx)(d(),{href:"/blog/?page=".concat(v-1),className:"btn border-2 border-red-100 bg-red-100 text-white uppercase inline-block text-16 font-bold px-4 py-[12px] leading-extraloose hover:bg-white hover:text-red-100 transition-colors min-w-[190px] 2xl:min-w-[200px] w-full sm:w-auto tracking-wide !text-center",children:"Previous Page"}),(0,n.jsx)("div",{className:"flex items-center gap-2 flex-wrap justify-center",children:(()=>{var e,t;let r=[],n=(null==C?void 0:null===(t=C.posts)||void 0===t?void 0:null===(e=t.pageInfo)||void 0===e?void 0:e.hasNextPage)||!1,a=new Set([1,v,...Object.keys(j).map(Number).filter(e=>e>0),...Object.keys(y).map(Number).filter(e=>e>0)]);return r.push(v),v>1&&a.has(v-1)&&r.push(v-1),n&&r.push(v+1),r.sort((e,t)=>
1e-t)})().map(e=>e===v?(0,n.jsx)("span",{className:"inline-block text-16 font-bold px-3 py-2 leading-tight min-w-[40px] text-center bg-gray-300 text-gray-600 border-2 border-gray-300 cursor-not-allowed",children:e},e):(0,n.jsx)(d(),{href:"/blog/?page=".concat(e),className:"inline-block text-16 font-bold px-3 py-2 leading-tight transition-colors min-w-[40px] text-center border-2 border-red-100 text-red-100 hover:bg-red-100 hover:text-white",children:e},e))}),C&&C.posts.pageInfo&&C.posts.pageInfo.hasNextPage&&(0,n.jsx)(d(),{href:"/blog/?page=".concat(v+1),className:"btn border-2 border-red-100 bg-red-100 text-white uppercase inline-block text-16 font-bold px-4 py-[12px] leading-extraloose hover:bg-white hover:text-red-100 transition-colors min-w-[190px] 2xl:min-w-[200px] w-full sm:w-auto tracking-wide !text-center",children:"Next Page"})]})})})]})]}),(0,n.jsx)(l.A,{options:g})]})}async function j(){return fetch(w.env.WPENGINE_SITE_URL+"/wp-json/shaggle/v1/options/all?cache="+(0,f.hj)("options")).then(e=>e.json()).then(e=>e)}async function _(e){return fetch(w.env.WPENGINE_SITE_URL+"/wp-json/shaggle/v1/page/"+e).then(e=>e.json()).then(e=>e)}async function y(e,t){let r=w.env.WPENGINE_SITE_URL+"/wp-json/shaggle/v1/seo/"+t+"/"+e+"?cache="+(0,f.hj)("seo");try{let e=await fetch(r);if(200!==e.status)return{};{let t=await e.json();if(t&&"object"==typeof t)return t;return{}}}catch(e){return console.error("Error fetching SEO data:",e),{}}}}},e=>{var t=t=>e(e.s=t);e.O(0,[843,260,658,636,593,792],()=>t(210)),_N_E=e.O()}]);
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.