(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5106],{9895:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/maps-resources",function(){return n(5830)}])},104:function(e,t,n){"use strict";async function o(e){let t={"Content-Type":"application/json"};t.Authorization="Bearer ".concat("eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wvd3AudGhlY29sbGVjdG9yLmNvbSIsImlhdCI6MTcyNDA2NDAzNSwibmJmIjoxNzI0MDY0MDM1LCJleHAiOjE3NTU2MDAwMzUsImRhdGEiOnsidXNlciI6eyJpZCI6IjQ1MiIsInVzZXJfc2VjcmV0IjoiZ3JhcGhxbF9qd3RfNjYyMjEwMmNjYTQzOCJ9fX0.gVdkxMhtKz9Q1CsJ6WlSYvoXY5fo6HdeWow1tijwtIA");let n=await fetch("https://wp.thecollector.com/graphql",{headers:t,method:"POST",body:JSON.stringify(e)});if(!n.ok)throw Error("API request failed with status ".concat(n.status));return await n.json()}n.d(t,{Z:function(){return o}})},3272:function(e,t,n){"use strict";var o=n(5893),a=n(9008),s=n.n(a),r=n(9585),i=n(3043);t.Z=e=>{let{title:t=r.dW.title,description:n=r.dW.description,canonical:a=r.dW.siteURL,robots:c="index, follow",author:l=r.dW.title,ogType:p="website",url:d=r.dW.siteURL,ogTitle:m=t||r.dW.title,imageUrl:h=r.dW.defaultOGimage,imageWidth:g="746",imageHeight:u="746",imageType:x="image/jpg",ga4Json:_}=e,[y]=(0,i.F)();return(0,o.jsxs)(s(),{children:[(0,o.jsx)("meta",{charSet:"utf-8"}),(0,o.jsx)("meta",{httpEquiv:"Content-Security-Policy",content:"block-all-mixed-content"}),(0,o.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=2"}),(0,o.jsx)("meta",{httpEquiv:"X-UA-Compatible",content:"IE=edge"}),t&&(0,o.jsx)("title",{children:t}),n&&(0,o.jsx)("meta",{name:"description",content:n}),(0,o.jsx)("link",{rel:"canonical",href:a}),(0,o.jsx)("meta",{name:"robots",content:"".concat(c,", max-image-preview:large, max-snippet:-1, max-video-preview:-1")}),(0,o.jsx)("meta",{name:"author",content:l}),(0,o.jsx)("link",{rel:"preload",href:r.dW.whiteLogo,as:"image",type:"image/svg+xml","data-fetchpriority":"high"}),(0,o.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n (function(w,d,s,l,i){\n w[l]=w[l]||[];\n w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});\n var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';\n j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;\n f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer','GTM-5SM34HX');\n "}}),_&&"object"==typeof _&&_.category&&_.author&&(0,o.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n gtag('config', 'G-K91S7RQGQ2', {\n 'content_group': '".concat(_.category,"',\n 'author': '").concat(_.author,"',\n 'datePublished': '").concat(_.date||"","',\n 'dateModified': '").concat(_.modified||"","'\n });\n ")}}),(0,o.jsx)("script",{async:!0,src:"".concat(r.dW.siteURL,"js/tcgoogleAnalytics.js")}),(0,o.jsx)("link",{rel:"preconnect",href:r.dW.CDN_URL}),(0,o.jsx)("link",{rel:"dns-prefetch",href:r.dW.CDN_URL}),(0,o.jsx)("meta",{property:"og:type",content:p}),(0,o.jsx)("meta",{property:"og:site_name",content:r.dW.title}),(0,o.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,o.jsx)("meta",{property:"og:url",content:d}),(0,o.jsx)("meta",{property:"og:title",content:m}),n&&(0,o.jsx)("meta",{property:"og:description",content:n}),(0,o.jsx)("meta",{property:"og:image",content:h}),(0,o.jsx)("meta",{property:"og:image:width",content:g}),(0,o.jsx)("meta",{property:"og:image:height",content:u}),(0,o.jsx)("meta",{property:"og:image:type",content:x}),(0,o.jsx)("meta",{property:"fb:pages",content:"102529674647418"}),(0,o.jsx)("meta",{property:"article:publisher",content:r.ns.facebook}),(0,o.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,o.jsx)("meta",{name:"twitter:site",content:"@The__Collector_"}),(0,o.jsx)("meta",{name:"twitter:creator",content:"@The__Collector_"}),(0,o.jsx)("meta",{name:"twitter:title",content:t}),n&&(0,o.jsx)("meta",{name:"twitter:description",content:n}),(0,o.jsx)("link",{rel:"icon",type:"image/png",href:"/images/favicon/favicon-32x32.png",sizes:"32x32"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",href:"/images/favicon/favicon-16x16.png",sizes:"16x16"}),(0,o.jsx)("link",{rel:"shortcut icon",href:"/images/favicon/favicon.ico"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/images/favicon/apple-touch-icon.png"}),(0,o.jsx)("meta",{name:"apple-mobile-web-app-title",content:"TheCollector"}),(0,o.jsx)("link",{rel:"manifest",href:"/images/favicon/site.webmanifest"}),(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"Organization",name:"TheCollector",url:r.dW.schemaSiteURL,sameAs:[r.ns.facebook,r.ns.instagram,r.ns.flipboard],description:"TheCollector.com Explore historical articles on ancient history, modern history, art, artists, philosophy, and travel, written by academics and experts. Trusted by scholars and classrooms worldwide.",logo:{"@type":"ImageObject",url:r.dW.schemaLogo},contactPoint:{"@type":"ContactPoint",contactType:"Customer Service",email:"support@thecollector.com"},keywords:["Ancient History Blog","History Blog","Art Blog","Philosophy Blog","Ancient History","Medieval History","American History","Latin and South American History","European History","World History","Philosophy","Artists Blog","Renaissance History","Modern Art","Contemporary Art","Modern Philosophy","Ancient Philosophy","Travel and Culture","History of Religion","History of Politics","Military History","WWI","WWII"]})}}),(0,o.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n window.sentinelData = window.sentinelData || [];\n function sentinelTrack(){sentinelData.push(arguments)};\n sentinelTrack('initTimestamp', Date.now());\n window.addEventListener('DOMContentLoaded', () => {\n sentinelTrack('footerTimestamp', Date.now());\n });\n\n const sentinelSetup = {\n accountName: 'thecollector',\n propertyId: 'www.thecollector.com',\n dimensions: {}\n };\n\n sentinelTrack('config', sentinelSetup);\n "}}),(0,o.jsx)("script",{async:!0,src:"https://cdn.sentinelpro.com/thecollector/sp.js"})]})}},7279:function(e,t,n){"use strict";var o=n(5893);n(7294);var a=n(8573),s=n(4347),r=n(2576),i=n.n(r);t.Z=e=>{let{count:t}=e;return(0,o.jsx)(a.ZP,{container:!0,spacing:3,className:i().storiesAreaBox,children:Array.from(Array(t)).map((e,t)=>(0,o.jsxs)(a.ZP,{item:!0,xs:12,sm:12,md:4,children:[(0,o.jsx)(s.Z,{variant:"rectangular",width:"100%",height:292,sx:{backgroundColor:"var(--bgColor2)"}}),(0,o.jsx)(s.Z,{variant:"text",width:"90%",sx:{backgroundColor:"var(--bgColor2)"}}),(0,o.jsx)(s.Z,{variant:"text",width:"85%",sx:{backgroundColor:"var(--bgColor2)"}}),(0,o.jsx)(s.Z,{variant:"text",width:"80%",sx:{backgroundColor:"var(--bgColor2)"}})]},t))})}},7226:function(e,t,n){"use strict";var o=n(5893);n(7294);var a=n(664);t.Z=e=>{let{count:t,page:n,changeEvent:s}=e;return(0,o.jsx)(a.Z,{count:t,page:n,onChange:s,variant:"outlined",shape:"rounded",sx:{display:"flex",justifyContent:"center",alignItems:"center",marginTop:"20px",marginBottom:"40px","& .MuiPaginationItem-root":{fontSize:"14px",padding:"8px",color:"var(--primaryColor)"},"& .MuiPaginationItem-root.Mui-selected":{backgroundColor:"var(--primaryColor)",color:"var(--bgColor)"},"& .MuiPaginationItem-root.Mui-selected:hover":{backgroundColor:"var(--primaryColor)",color:"var(--bgColor)"},"& .MuiPaginationItem-ellipsis":{fontSize:"14px"},"& .MuiPaginationItem-root:hover":{backgroundColor:"var(--primaryColor)",color:"var(--bgColor)"}}})}},5830:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return j},default:function(){return w}});var o=n(5893),a=n(7294),s=n(1163),r=n(9585),i=n(104);async function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:15,n=(e-1)*t,o="where: {offsetPagination: {offset: ".concat(n,", size: ").concat(t,"}}");return(await (0,i.Z)({query:"query MapsQuery {\n maps(".concat(o,") {\n nodes {\n date\n slug\n title\n subtitle\n featuredImage {\n node {\n sourceUrl\n altText\n mediaDetails {\n width\n height\n }\n }\n }\n image1200x800\n }\n pageInfo {\n offsetPagination {\n total\n }\n }\n }\n }")})).data.maps}var l=n(9284),p=n(3272),d=n(1032),m=n(1664),h=n.n(m),g=n(788),u=n(8573),x=n(2576),_=n.n(x),y=n(7226),f=n(7279),j=!0,w=e=>{let{initialMaps:t,initialPage:n,total:i}=e,m=(0,s.useRouter)(),[x,j]=(0,a.useState)(t),[w,v]=(0,a.useState)(!1),M=Number(m.query.page||1);(0,a.useEffect)(()=>{let e=async e=>{v(!0);let t=await c(e,15);t&&t.nodes&&j(t),v(!1)};1===M?j(t):e(M)},[M,n,t]);let C=e=>{if(!e)return"";try{let t=new URL(e);if("cdn.thecollector.com"===t.hostname)return e;return"https://cdn.thecollector.com".concat(t.pathname)}catch(t){return e}};return(0,o.jsxs)(l.Z,{bottomBorder:!0,children:[(0,o.jsx)(p.Z,{robots:x&&x.nodes.length>0?"index, follow":"noindex, nofollow",canonical:"".concat(r.dW.siteURL,"maps-resources/"),title:"Maps | ".concat(r.dW.title),ogTitle:"Maps | ".concat(r.dW.title),description:"Explore history through maps! Download free, comprehensive maps for students, classrooms, or anyone interested in the ancient world.",url:"".concat(r.dW.siteURL,"maps-resources/"),imageUrl:r.dW.defaultOGimage,imageWidth:"470px",imageHeight:"246px",imageType:"image/jpg",author:r.dW.title,ogType:"article"}),(0,o.jsxs)(d.Z,{className:"container",children:[(0,o.jsxs)("div",{style:{marginTop:"30px",marginBottom:"46px"},children:[(0,o.jsxs)("div",{className:"post-breadcrumbs-area",children:[(0,o.jsx)(h(),{href:"/",children:"home"}),(0,o.jsx)(g.Bqb,{}),(0,o.jsx)("span",{children:"Maps & Resources"})]}),(0,o.jsxs)("div",{className:_().MapsArea,children:[(0,o.jsx)("h1",{className:"pageTitle",children:"Maps & Media Resources"}),1===M&&(0,o.jsx)("p",{children:"Explore TheCollector's collection of free downloadable charts, infographics, historical maps, and media resources perfect for students, classrooms, and publications."})]}),(0,o.jsx)(u.ZP,{container:!0,spacing:3,className:_().storiesAreaBox,children:w?(0,o.jsx)(f.Z,{count:6}):x&&x.nodes&&x.nodes.length>0?x.nodes.map((e,t)=>{var n;return(0,o.jsxs)(u.ZP,{item:!0,xs:12,sm:12,md:4,children:[(0,o.jsx)("div",{className:"storiesThumbnailBox",children:(0,o.jsx)(h(),{href:"/maps-resources/".concat(e.slug,"/"),children:(0,o.jsx)("img",{src:(null==e?void 0:null===(n=e.featuredImage)||void 0===n?void 0:n.node.sourceUrl)||C(e.image1200x800),alt:e.title,width:"768",height:"442",sizes:"(max-width: 900px) 100vw, 50vw"})})}),(0,o.jsx)("div",{className:"storiesDescriptionBox",children:(0,o.jsx)(h(),{href:"/maps-resources/".concat(e.slug,"/"),className:"l-post-title",children:e&&e.title})})]},t)}):(0,o.jsx)("p",{className:"no-posts-found",children:"No Maps found."})})]}),(0,o.jsx)(y.Z,{count:Math.ceil(i/15),page:M,changeEvent:(e,t)=>{1===t?m.push("/maps-resources/",void 0,{shallow:!0}):m.push("/maps-resources/?page=".concat(t),void 0,{shallow:!0}),window.scrollTo({top:0,behavior:"smooth"})}})]})]})}},2576:function(e){e.exports={MapsArea:"Maps_MapsArea__tjgEA",mapBox:"Maps_mapBox__NtNIc",mapTitle:"Maps_mapTitle__C0OX5",MapSinglePageAreaTop:"Maps_MapSinglePageAreaTop__S_iXw",MapBodyTitle:"Maps_MapBodyTitle__Go0Ls",MapSinglePageContentArea:"Maps_MapSinglePageContentArea__w1DbQ",copyBtn:"Maps_copyBtn__pRNM_",tagsListArea:"Maps_tagsListArea__oFKD7",RelatedArea:"Maps_RelatedArea__Vlvgd",MapDownloadBtnBox:"Maps_MapDownloadBtnBox__Frr2_",DownloadHover:"Maps_DownloadHover__xIqnG",ThanksDiv:"Maps_ThanksDiv__TIqGy",CloseBtn:"Maps_CloseBtn__A4qA7",ThanksContentBox:"Maps_ThanksContentBox__8TGWF",ThanksImage:"Maps_ThanksImage__8wG2D",ThanksContent:"Maps_ThanksContent__DnBsC",ThanksContentCopyTextArea:"Maps_ThanksContentCopyTextArea__at28x",DownloadCountArea:"Maps_DownloadCountArea__HW_BE",relatedMapsPostContentArea:"Maps_relatedMapsPostContentArea__1hK8u",SideBarNewsletterArea:"Maps_SideBarNewsletterArea__gOpyP",SideBarNewsletterContentBox:"Maps_SideBarNewsletterContentBox__xVKjI",NewsletterFormArea:"Maps_NewsletterFormArea__F15z6"}}},function(e){e.O(0,[3365,8845,6130,4838,3198,6717,664,9284,3118,2888,9774,179],function(){return e(e.s=9895)}),_N_E=e.O()}]);