https://ncwaterfalls.com/_next/static/chunks/pages/learning/art-literature-music-99d902e6f8b0fb77.js
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9086],{13686:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>f});var s=a(37876),l=a(14232),r=a(79203),i=a(83025),n=a(84996),c=a(4971),o=a(41884),d=a(36445),m=a.n(d),x=a(74979),u=a(99742);let p=(0,r.U)({projectId:"650zc9k7",dataset:"production",apiVersion:"2022-11-15",useCdn:!1}),h=m()(p),g=async()=>await p.fetch((0,i.A)` 2 *[_type == "art_literature_music"][0]{ 3 slug, 4 seo{ 5 ..., 6 "openGraphImageUrl": openGraphImage.asset->url 7 }, 8 intro_text, 9 art_intro_text, 10 art_items[] | order(date asc), 11 poetry_intro_text, 12 poetry_items[] | order(date asc), 13 music_intro_text, 14 music_items[] | order(date asc), 15 literature_intro_text, 16 literature_items[] | order(date asc) 17 } 18 `),f=function(){var e;let t=u.env.NEXT_PUBLIC_SITE_URL||"https://ncwaterfalls.com",[a,r]=(0,l.useState)(null),[i,d]=(0,l.useState)(null),m=a?.seo?.canonicalUrl||`${t}/learning/art-literature-music`,p=a?.seo?.metaTitle||"Art, Literature & Music | NC Waterfalls",f=a?.seo?.metaDescription||"Explore waterfall-inspired art, literature, and music collected by NC Waterfalls.",j=a?.seo?.openGraphTitle||p,b=a?.seo?.openGraphDescription||f,_=a?.seo?.openGraphImageUrl||`${t}/images/ncwaterfalls.jpg`;return(0,l.useEffect)(()=>{g().then(e=>{r(e)})},[]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(x.A,{title:p,description:f,canonicalUrl:m,socialTitle:j,socialDescription:b,socialImage:_}),(0,s.jsx)(o.A,{title:"Learning",subtitle:"Art, Literature & Music"}),(0,s.jsxs)("section",{className:"relative mx-auto mt-12] mb-20 w-[90%] max-w-7xl gap-10",children:[a?.intro_text&&(0,s.jsx)("div",{className:"my-8",children:(0,s.jsx)(n.RK,{value:a.intro_text})}),(0,s.jsx)(c.tU.Group,{"aria-label":"Art, Literature & Music Tabs",style:"underline",children:(0,s.jsxs)(c.tU.Item,{active:!0,title:"Art",children:[a?.art_intro_text&&(0,s.jsx)("div",{className:"mb-8",children:(0,s.jsx)(n.RK,{value:a.art_intro_text})}),(0,s.jsx)("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",children:a?.art_items?.map((e,t)=>{var a;return(0,s.jsxs)("div",{className:"p-4 bg-gray-100 rounded-lg shadow hover:shadow-md transition-shadow",children:[e.thumbnail&&(0,s.jsx)("img",{src:(a=e.thumbnail,h.image(a)).url(),alt:e.title,className:"rounded-md mb-4"}),(0,s.jsx)("div",{className:"font-bold mb-2 text-sm text-gray-800",children:e.title}),(0,s.jsxs)("ul",{className:"mb-2 text-gray-600",children:[(0,s.jsxs)("li",{children:["Artist: ",e.artist]}),(0,s.jsxs)("li",{children:["Subject: ",e.subject]}),(0,s.jsxs)("li",{children:["Date: ",new Date(e.date).toLocaleDateString()]})]}),e.description&&(0,s.jsx)("div",{className:"text-base text-gray-600",children:e.description})]},t)})})]})}),i&&(0,s.jsx)("div",{className:"fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 z-50",children:(0,s.jsxs)("div",{className:"bg-white/50 backdrop-blur-md p-6 rounded-lg max-w-2xl w-full text-center",children:[(0,s.jsx)("img",{src:(e=i.thumbnail,h.image(e)).url(),alt:"Image",className:"rounded-md max-w-full mx-auto"}),(0,s.jsx)("p",{className:"mt-4 text-center",children:i.title}),(0,s.jsx)("button",{className:"mt-4 block mx-auto px-4 py-2 bg-gray-500 text-white rounded-lg",onClick:()=>{d(null)},children:"Close"})]})})]})]})}},41884:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var s=a(37876),l=a(14232),r=a(79203),i=a(83025),n=a(97685);let c={projectId:"650zc9k7",dataset:"production",apiVersion:"2022-11-15",useCdn:!1},o=function({title:e,subtitle:t,imageURL:a,children:o}){let[d,m]=l.useState();return l.useEffect(()=>{(async()=>{try{let e=(0,r.U)(c),t=await e.fetch((0,i.A)` 19 *[_type == "siteSettings"]{ 20 statWaterfalls 21 }[0].statWaterfalls 22 `);m(t)}catch(e){console.error("Error fetching statWaterfalls:",e),n.oR.error("An error occurred while fetching waterfall details. Please try again later.")}})()},[]),(0,s.jsx)("div",{id:"HeroBanner",className:"w-screen bg-navy-500 p-4 md:p-10",children:(0,s.jsxs)("div",{className:"mx-auto flex max-w-7xl flex-col items-center justify-between space-x-0 space-y-5 md:flex-row md:space-x-0 md:space-y-0",children:[(0,s.jsxs)("div",{children:[t?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"inline-block rounded-full bg-yellow-400 px-3 py-1 text-base font-bold text-navy-500",children:e}),(0,s.jsx)("h1",{className:"mt-3 w-full font-family-Poppins-Regular text-4xl font-semibold text-white",children:t})]}):(0,s.jsx)("h1",{className:"font-family-Poppins-Regular text-4xl font-semibold text-white",children:e}),o]}),(0,s.jsxs)("div",{className:"mx-auto flex h-min max-w-[260px] rounded-lg bg-yellow-400 p-5 md:mx-0",children:[(0,s.jsxs)("div",{className:"text-center font-semibold leading-relaxed",children:[(0,s.jsx)("span",{className:"block font-family-Poppins-Medium text-3xl text-navy-400",children:d}),(0,s.jsx)("span",{className:"block pt-1 font-family-Poppins-Regular text-lg uppercase",children:"Waterfalls"}),(0,s.jsx)("span",{className:"font-family-Poppins-Light text-sm",children:"on this site and counting"})]}),(0,s.jsx)("p",{className:"w-auto text-[115px] leading-[65px] text-navy-400",children:"!"})]})]})})}},67652:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/learning/art-literature-music",function(){return a(13686)}])}},e=>{e.O(0,[3508,3146,4882,3240,636,6593,8792],()=>e(e.s=67652)),_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.