1import{j as e}from"./radix-ui-BzUSJnJW.js";import{a as n,j as M,J as T,K as P,f as E,X as F,N}from"./icons-DacfxxwM.js";import{a as L,L as C}from"./index-Dp5sHvIv.js";import{S as R}from"./SiteLayout-C339Rst7.js";import{T as H,a as z,K as I}from"./media-vendor-DCppbjkA.js";import{P as D}from"./PageSEO-DLv7rtN-.js";import{J,b as U}from"./seoSchemas-BnC_a51g.js";import"./trpc-vendor-COhogIrY.js";import"./router-vendor-DepLHmcQ.js";import"./ui-utility-vendor-Sp7XtC9M.js";import"./AwardBadges-edPUBrzm.js";const K={en:"EN",th:"TH",jp:"JA",fr:"FR",es:"ES",zh:"ZH",kr:"KR"},B={EN:"en",TH:"th",JA:"jp",FR:"fr",ES:"es",ZH:"zh",KR:"kr"},y={EN:{title:"World Archive Map",subtitle:"Global Institutions Preserving Vintage Print Advertising",home:"Home",resources:"Resources"},TH:{title:"à¹à¸à¸à¸à¸µà¹à¸«à¸à¸à¸à¸«à¸¡à¸²à¸¢à¹à¸«à¸à¸¸à¹à¸¥à¸",subtitle:"สà¸à¸²à¸à¸±à¸à¸à¸±à¹à¸§à¹à¸¥à¸à¸à¸µà¹à¸à¸à¸¸à¸£à¸±à¸à¸©à¹à¸ªà¸´à¹à¸à¸à¸´à¸¡à¸à¹à¹à¸à¸©à¸à¸²à¸§à¸´à¸à¹à¸à¸",home:"หà¸à¹à¸²à¹à¸£à¸",resources:"à¸à¸£à¸±à¸à¸¢à¸²à¸à¸£"},JA:{title:"ä¸çã¢ã¼ã«ã¤ãããã",subtitle:"ã´ã£ã³ãã¼ã¸å°å·åºåãä¿åããä¸çã®æ©é¢",home:"ãã¼ã ",resources:"ãªã½ã¼ã¹"},FR:{title:"Carte des Archives Mondiales",subtitle:"Institutions mondiales préservant la publicité imprimée vintage",home:"Accueil",resources:"Ressources"},ES:{title:"Mapa de Archivos Mundiales",subtitle:"Instituciones globales que preservan la publicidad impresa vintage",home:"Inicio",resources:"Recursos"},ZH:{title:"ä¸çå
¸èå°å¾",subtitle:"ä¿åå¤å¤å°å·å¹¿åçå
¨çæºæ",home:"é¦é¡µ",resources:"èµæº"},KR:{title:"ì¸ê³ ìì¹´ì´ë¸ ì§ë",subtitle:"ë¹í°ì§ ì¸ì ê´ê³ 를 ë³´ì¡´íë ì ì¸ê³ 기ê´",home:"í",resources:"리ìì¤"}},j={EN:{hook:"Why do the worldâs most prestigious institutions dedicate immense resources to preserving commercial paper?",statement:"Because vintage print advertising is not disposable ephemera. It is primary historical evidenceâa definitive, frozen record of how cultures communicated, consumed, and dreamed."},TH:{hook:"à¸à¸³à¹à¸¡à¸ªà¸à¸²à¸à¸±à¸à¸à¸µà¹à¸à¸£à¸à¹à¸à¸µà¸¢à¸£à¸à¸´à¸à¸µà¹à¸ªà¸¸à¸à¹à¸à¹à¸¥à¸à¸à¸¶à¸à¸à¸¸à¹à¸¡à¸à¸£à¸±à¸à¸¢à¸²à¸à¸£à¸¡à¸«à¸²à¸¨à¸²à¸¥à¹à¸à¸·à¹à¸à¹à¸à¹à¸à¸£à¸±à¸à¸©à¸²à¸à¸£à¸°à¸à¸²à¸©à¹à¸à¸´à¸à¸à¸²à¸à¸´à¸à¸¢à¹?",statement:"à¹à¸à¸£à¸²à¸°à¹à¸à¸©à¸à¸²à¸ªà¸´à¹à¸à¸à¸´à¸¡à¸à¹à¸§à¸´à¸à¹à¸à¸à¹à¸¡à¹à¹à¸à¹à¸ªà¸·à¹à¸à¸à¸µà¹à¹à¸à¹à¹à¸¥à¹à¸§à¸à¸´à¹à¸ à¹à¸à¹à¸¡à¸±à¸à¸à¸·à¸à¹à¸à¸à¸ªà¸²à¸£à¸à¸£à¸°à¸§à¸±à¸à¸´à¸¨à¸²à¸ªà¸à¸£à¹à¸à¸±à¹à¸à¸à¹à¸ à¹à¸à¹à¸à¸à¸±à¸à¸à¸¶à¸à¸à¸µà¹à¹à¸à¹à¹à¸à¹à¸à¸§à¸´à¸à¸µà¸à¸²à¸£à¸ªà¸·à¹à¸à¸ªà¸²à¸£ à¸à¸²à¸£à¸à¸£à¸´à¹à¸ ภà¹à¸¥à¸°à¸à¸§à¸²à¸¡à¸à¸±à¸à¸à¸à¸à¸¡à¸à¸¸à¸©à¸¢à¸à¸²à¸à¸´"},JA:{hook:"ãªãä¸çã§æãæ¨©å¨ããæ©é¢ãã忥ç¨ã®ç´ãä¿åããããã«è大ãªè³æºãæããã®ã§ããããï¼",statement:"ã´ã£ã³ãã¼ã¸ã®å°å·åºåã¯ä½¿ãæ¨ã¦ã®ã¡ãã£ã¢ã§ã¯ãªãããã§ããããã¯ä¸æ¬¡çãªæ´å²ç証æ ã§ãããæåãã©ã®ããã«ã³ãã¥ãã±ã¼ã·ã§ã³ãåããæ¶è²»ãã夢ãè¦ã¦ãããã示ããåçµããã確åºããè¨é²ãªã®ã§ãã"},FR:{hook:"Pourquoi les institutions les plus prestigieuses du monde consacrent-elles dâimmenses ressources à la préservation du papier commercial ?",statement:"Parce que la publicité imprimée vintage nâest pas un média éphémère et jetable. Câest une preuve historique de premier planâun enregistrement figé de la façon dont les cultures communiquaient, consommaient et rêvaient."},ES:{hook:"¿Por qué las instituciones más prestigiosas del mundo dedican inmensos recursos a preservar el papel comercial?",statement:"Porque la publicidad impresa vintage no es un medio efÃmero y desechable. Es evidencia histórica primaria: un registro definitivo y congelado de cómo las culturas se comunicaban, consumÃan y soñaban."},ZH:{hook:"为ä»ä¹ä¸ç䏿è´çåçæºæä¼æå
¥å·¨å¤§èµæºæ¥ä¿ååä¸å°å·åï¼",statement:"å 为å¤å¤å°å·å¹¿åå¹¶é䏿¬¡æ§ççå½åªä»ã宿¯åå§çåå²è¯æ®ââä¸ä»½ç¡®å®æ§çãå»ç»çè®°å½ï¼å±ç°äºæåå¦ä½ä¼ æãæ¶è´¹å梦æ³ã"}
1,KR:{hook:"ì¸ê³ìì ê°ì¥ ê¶ì ìë 기ê´ë¤ì´ ìì
ì¸ì물ì ë³´ì¡´íë ë° ì ë§ëí ììì í¬ì
íëê°?",statement:"ë¹í°ì§ ì¸ì ê´ê³ ë ì¼íì© ë¨ëª
ë§¤ì²´ê° ìëëë¤. ê·¸ê²ì 1ì°¨ ì¬ë£ì ìì¬ ì¦ê±°ì´ë©°, 문íê° ì´ë»ê² ìíµíê³ , ìë¹íê³ , ê¿ê¾¸ìëì§ë¥¼ ë³´ì¬ì£¼ë íì ì ì´ê³ ëê²°ë 기ë¡ì
ëë¤."}},b={EN:{directoryTitle:"Archive Directory",directorySubtitle:"Global institutions preserving vintage print advertising",northAmerica:"North America",europe:"Europe",asia:"Asia",visitArchive:"Visit Archive",funnelText:"The pieces we preserve come from this same era and tradition.",browseArchive:"Browse the Archive"},TH:{directoryTitle:"สารà¸à¸à¸«à¸à¸à¸à¸«à¸¡à¸²à¸¢à¹à¸«à¸à¸¸",directorySubtitle:"สà¸à¸²à¸à¸±à¸à¸à¸±à¹à¸§à¹à¸¥à¸à¸à¸µà¹à¸à¸à¸¸à¸£à¸±à¸à¸©à¹à¸ªà¸´à¹à¸à¸à¸´à¸¡à¸à¹à¹à¸à¸©à¸à¸²à¸§à¸´à¸à¹à¸à¸",northAmerica:"à¸à¹à¸¡à¸£à¸´à¸à¸²à¹à¸«à¸à¸·à¸",europe:"ยุà¹à¸£à¸",asia:"à¹à¸à¹à¸à¸µà¸¢",visitArchive:"à¹à¸¢à¸µà¹à¸¢à¸¡à¸à¸¡à¸ªà¸à¸²à¸à¸±à¸",funnelText:"à¸à¸´à¹à¸à¸à¸²à¸à¸à¸µà¹à¹à¸£à¸²à¸à¸à¸¸à¸£à¸±à¸à¸©à¹à¸¡à¸²à¸à¸²à¸à¸¢à¸¸à¸à¸ªà¸¡à¸±à¸¢à¹à¸¥à¸°à¸à¸£à¸°à¹à¸à¸à¸µà¹à¸à¸µà¸¢à¸§à¸à¸±à¸à¸à¸µà¹",browseArchive:"à¹à¸£à¸µà¸¢à¸à¸à¸¹à¸à¸à¸¥à¹à¸¥à¸à¸à¸±à¸"},JA:{directoryTitle:"ã¢ã¼ã«ã¤ããã£ã¬ã¯ããª",directorySubtitle:"ã´ã£ã³ãã¼ã¸å°å·åºåãä¿åããä¸çã®æ©é¢",northAmerica:"åã¢ã¡ãªã«",europe:"ã¨ã¼ããã",asia:"ã¢ã¸ã¢",visitArchive:"ã¢ã¼ã«ã¤ãã訪å",funnelText:"ç§ãã¡ãä¿åããä½åã¯ããã®åãæä»£ã¨ä¼çµ±ããçã¾ãããã®ã§ãã",browseArchive:"ã¢ã¼ã«ã¤ããé²è¦§"},FR:{directoryTitle:"Répertoire des Archives",directorySubtitle:"Institutions mondiales préservant la publicité imprimée vintage",northAmerica:"Amérique du Nord",europe:"Europe",asia:"Asie",visitArchive:"Visiter les Archives",funnelText:"Les pièces que nous préservons proviennent de cette même époque et tradition.",browseArchive:"Parcourir les Archives"},ES:{directoryTitle:"Directorio de Archivos",directorySubtitle:"Instituciones globales que preservan la publicidad impresa vintage",northAmerica:"América del Norte",europe:"Europa",asia:"Asia",visitArchive:"Visitar Archivo",funnelText:"Las piezas que preservamos provienen de esta misma era y tradición.",browseArchive:"Explorar el Archivo"},ZH:{directoryTitle:"å
¸èç®å½",directorySubtitle:"ä¿åå¤å¤å°å·å¹¿åçå
¨çæºæ",northAmerica:"åç¾æ´²",europe:"欧洲",asia:"äºæ´²",visitArchive:"访é®å
¸è",funnelText:"æä»¬ä¿åçè忥èªè¿ä¸ªç¸åçæ¶ä»£åä¼ ç»ã",browseArchive:"æµè§å
¸è"},KR:{directoryTitle:"ìì¹´ì´ë¸ ëë í 리",directorySubtitle:"ë¹í°ì§ ì¸ì ê´ê³ 를 ë³´ì¡´íë ì ì¸ê³ 기ê´",northAmerica:"ë¶ìë©ë¦¬ì¹´",europe:"ì ë½",asia:"ììì",visitArchive:"ìì¹´ì´ë¸ 방문",funnelText:"ì°ë¦¬ê° ë³´ì¡´íë ìíë¤ì ì´ ëì¼í ìëì ì íµìì ë¹ë¡¯ë ê²ì
ëë¤.",browseArchive:"ìì¹´ì´ë¸ ëë¬ë³´ê¸°"}},_=[{id:"smithsonian",name:"Smithsonian NMAH",city:"Washington D.C.",country:"USA",lat:38.8913,lng:-77.03,years:"1879â1999",focus:"American advertising, AT&T, DeBeers, GM",description:"Houses the N.W. Ayer Advertising Agency Records â one of the most comprehensive collections of American commercial print history.",url:"https://americanhistory.si.edu",region:"North America"},{id:"duke",name:"Duke University Hartman Center",city:"Durham, NC",country:"USA",lat:35.994,lng:-78.8986,years:"1910sâ1980s",focus:"J. Walter Thompson, Kraft, Kodak",description:"Over 44,000 items documenting the golden age of American advertising agencies.",url:"https://library.duke.edu/rubenstein/hartman",region:"North America"},{id:"hat",name:"History of Advertising Trust (HAT)",city:"Norwich",country:"UK",lat:52.6309,lng:1.2974,years:"1800sâpresent",focus:"British advertising, ephemera",description:"The largest collection of British advertising history in the world.",url:"https://www.hatads.org.uk",regi
1on:"Europe"},{id:"adarchives",name:"The Advertising Archives",city:"London",country:"UK",lat:51.5074,lng:-.1278,years:"1850sâpresent",focus:"British & American magazine ads",description:"Europeâs most comprehensive resource for vintage advertisements.",url:"https://www.advertisingarchives.co.uk",region:"Europe"},{id:"loc",name:"Library of Congress",city:"Washington D.C.",country:"USA",lat:38.8887,lng:-77.0047,years:"1909â1990s",focus:"Philip Morris archive, Coca-Cola",description:"Over 55,000 advertising images preserved as federal historical record.",url:"https://www.loc.gov",region:"North America"},{id:"vam",name:"Victoria and Albert Museum",city:"London",country:"UK",lat:51.4966,lng:-.1722,years:"1960sâ1980s",focus:"Paper ephemera, commercial design",description:"World-class collection of commercial art and paper ephemera.",url:"https://www.vam.ac.uk",region:"Europe"},{id:"henryford",name:"Henry Ford Museum",city:"Dearborn, MI",country:"USA",lat:42.303,lng:-83.2344,years:"1900sâ1960s",focus:"Automotive advertising, American industry",description:"Preserves the visual language of American industrial progress.",url:"https://www.thehenryford.org",region:"North America"},{id:"met",name:"The Metropolitan Museum of Art (The Met)",city:"New York City, NY",country:"USA",lat:40.7794,lng:-73.9632,years:"1860sâ1963",focus:"Trade cards, ephemera",description:"Houses the Jefferson R. Burdick Collection, an archive of over 303,000 pieces of commercial ephemera.",url:"https://www.metmuseum.org",region:"North America"},{id:"admt",name:"Ad Museum Tokyo",city:"Tokyo",country:"Japan",lat:35.662,lng:139.7628,years:"1603âpresent",focus:"Japanese advertising, woodblock prints",description:"The only museum in Japan dedicated entirely to advertising history.",url:"https://www.admt.jp",region:"Asia"},{id:"brands",name:"Museum of Brands",city:"London",country:"UK",lat:51.5165,lng:-.2078,years:"1800sâpresent",focus:"Consumer culture, packaging",description:"A journey through over 200 years of consumer culture and vintage prints.",url:"https://www.museumofbrands.com",region:"Europe"},{id:"rivoli",name:"Museum of Advertising (Castello di Rivoli)",city:"Turin",country:"Italy",lat:45.0697,lng:7.51,years:"1930sâ1980s",focus:"Italian commercial art, vintage posters",description:"Archives the golden age of Ital
1ian advertising inside a historic castle.",url:"https://www.castellodirivoli.org",region:"Europe"},{id:"bodleian",name:"Bodleian Libraries",city:"Oxford",country:"UK",lat:51.754,lng:-1.2541,years:"1750sâ1930s",focus:"Printed ephemera, trade cards",description:"Houses the John Johnson Collection, preserving fragile, everyday commercial prints.",url:"https://www.bodleian.ox.ac.uk",region:"Europe"},{id:"momat",name:"National Museum of Modern Art Tokyo",city:"Tokyo",country:"Japan",lat:35.6862,lng:139.7278,years:"1868âpresent",focus:"Japanese commercial art, Meiji era",description:"Preserves Japanese commercial art from the Meiji era through the modern period, documenting the evolution of visual communication in East Asia.",url:"https://www.momat.go.jp",region:"Asia"},{id:"shanghai-ad",name:"Shanghai Advertising Museum",city:"Shanghai",country:"China",lat:31.2304,lng:121.4737,years:"1920sâ1980s",focus:"Chinese commercial art, Republican era",description:"Chronicles the golden age of Chinese commercial art from the Republican era through the economic reform period.",url:"https://www.shanghai.gov.cn",region:"Asia"},{id:"design-sg",name:"Design Museum Singapore",city:"Singapore",country:"Singapore",lat:1.2966,lng:103.8487,years:"1900sâpresent",focus:"Southeast Asian commercial print, colonial era",description:"Documents the rich tradition of Southeast Asian commercial print design from the colonial era to contemporary graphic culture.",url:"https://www.nhb.gov.sg",region:"Asia"}],O="https://d2xsxph8kpxj0f.cloudfront.net/310519663360688494/BAGiU7AgvfJVzPZg2qPsQi/world-map-dark-gold-FABkggA3BZiMfzef37NVYi.webp",q=2752,Z=1536;function G(r,c){const s=(c+180)/360*100,o=(90-r)/180*100;return{xPct:s,yPct:o}}function V({lang:r,setLang:c}){const[s,o]=n.useState(!0),p=["EN","TH","JA","FR","ES","ZH","KR"],a=i=>{i!==r&&(o(!1),setTimeout(()=>{c(i),o(!0)},200))};return e.jsx("section",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:405",className:"py-12 sm:py-16 px-4 text-center",style:{backgroundColor:"var(--theme-bg)"},children:e.jsxs("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:406",className:"max-w-3xl mx-auto",children:[e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:408",className:"flex items-center justify-center gap-1 mb-10",children:p.map(i=>e.jsx("button",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:410",onClick:()=>a(i),className:"tap-sm px-3 py-1.5 text-[10px] tracking-[0.15em] uppercase transition-all duration-300",style:{fontFamily:"'Courier Prime', monospace",color:r===i?"var(--theme-accent-gold)":"var(--theme-text-faint)",borderBottom:r===i?"1px solid var(--theme-accent-gold)":"1px solid transparent"},children:i},i))}),e.jsxs("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:426",className:"transition-opacity duration-300",style:{opacity:s?1:0},children:[e.jsx("h2",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:430",className:"text-lg sm:text-xl lg:text-2xl leading-relaxed mb-6",style:{fontFamily:"'Cinzel', serif",color:"var(--theme-text)",fontWeight:400},children:j[r].hook}),e.jsx("p",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:440",className:"text-xs sm:text-sm leading-[1.9] max-w-xl mx-auto",style:{fontFamily:"'Courier Prime', monospace",color:"var(--theme-text-muted)"},children:j[r].statement})]}),e.jsxs("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:452",className:"flex items-center justify-center gap-3 mt-10",children:[e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:453",className:"h-px w-16",style:{background:"linear-gradient(to right, transparent, var(--theme-border-subtle))"}}),e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:454",className:"w-1 h-1 rounded-full",style:{backgroundColor:"var(--theme-accent-gold-faint)"}}),e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:455",className:"h-px w-16",style:{background:"linear-gradient(to left, transparent, var(--theme-border-subtle))"}})]})]})})}function $({node:r,isSelected:c,onSelect:s}){const[o,p]=n.useState(!1),{xPct:a,yPct:i}=G(r.lat,r.lng);return e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:479",className:"absolute",style:{left:`${a}%`,top:`${i}%`,transform:"translate(-50%, -50%)",zIndex:c?20:o?15:10,pointerEvents:"none"},children:e.jsx(I,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:489",children:e.jsx("button",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:490",onClick:m=>{m.stopPropagation(),s()},onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),className:"block tap-sm",style:{width:12,height:12,borderRadius:c?2:"50%",backgroundColor:c?"#ef4444":"var(--theme-accent-gold)",border:`1.5px solid ${c?"#ef4444":"var(--theme-accent-gold)"}`,cursor:"pointer",pointerEvents:"auto",transition:"all 0.2s ease",transform:o&&!c?"scale(1.3)":"scale(1)",boxShadow:c?"0 0 8px rgba(239,68,68,0.5)":o?"0 0 8px var(--theme-accent-gold)":"0 0 4px var(--theme-accent-gold-faint)",animation:!c&&!o?"pulseGlow 3s ease-in-out infinite":"none"},"aria-label":`View ${r.name}`})})})}function Y({node:r,onClose:c,lang:s}){const o=b[s];return e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:526",className:"absolute z-40 w-72 sm:w-80",style:{to
1p:"50%",left:"50%",transform:"translate(-50%, -50%)",pointerEvents:"auto"},children:e.jsxs("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:535",className:"relative p-5",style:{backgroundColor:"var(--theme-bg-deep)",border:"1px solid var(--theme-accent-gold-faint)",boxShadow:"0 20px 60px rgba(0,0,0,0.8), 0 0 20px var(--theme-border-subtle)"},children:[e.jsx("button",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:543",onClick:c,className:"absolute top-3 right-3 p-1 transition-colors tap-sm",style:{color:"var(--theme-text-faint)"},children:e.jsx(F,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:548",size:14})}),e.jsx("h3",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:551",className:"text-[12px] tracking-[0.2em] uppercase mb-1 pr-6",style:{fontFamily:"'Cinzel', serif",color:"var(--theme-accent-gold)"},children:r.name}),e.jsxs("p",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:557",className:"text-[9px] tracking-[0.15em] uppercase mb-3",style:{fontFamily:"'Courier Prime', monospace",color:"var(--theme-text-faint)"},children:[r.city,", ",r.country," · ",r.years]}),e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:564",className:"mb-3",style:{height:"1px",background:"linear-gradient(to right, var(--theme-border-subtle), transparent)"}}),e.jsx("p",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:566",className:"text-[10px] leading-[1.7] mb-3",style:{fontFamily:"'Courier Prime', monospace",color:"var(--theme-text-muted)"},children:r.focus}),e.jsx("p",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:572",className:"text-[10px] leading-[1.7] mb-4",style:{fontFamily:"'Courier Prime', monospace",color:"var(--theme-text-faint)"},children:r.description}),e.jsxs("a",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:579",href:r.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-[9px] tracking-[0.2em] uppercase transition-colors",style:{fontFamily:"'Courier Prime', monospace",color:"var(--theme-accent-gold)"},children:[o.visitArchive," ",e.jsx(N,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:589",size:9})]})]})})}function Q({nodes:r,selectedId:c,onSelectNode:s,onMapClick:o,adminMode:p,lang:a}){const i=n.useRef(null),m=r.find(g=>g.id===c)||null,v=n.useCallback(g=>{if(!o||!i.current)return;const l=i.current.getBoundingClientRect(),d=(g.clientX-l.left)/l.width*100,t=(g.clientY-l.top)/l.height*100,u=d/100*360-180,x=90-t/100*180;o(x,u)},[o]);return e.jsxs("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:632",className:"relative",style:{backgroundColor:"var(--theme-bg)"},children:[e.jsx(H,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:633",initialScale:1,minScale:.8,maxScale:6,wheel:{step:.08},pinch:{step:5},doubleClick:{disabled:!0},panning:{velocityDisabled:!0},children:({zoomIn:g,zoomOut:l,resetTransform:d})=>e.jsxs(e.Fragment,{children:[e.jsxs("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:645",className:"absolute top-3 right-3 z-30 flex flex-col gap-1",style:{pointerEvents:"auto"},children:[e.jsx("button",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:649",onClick:()=>g(),className:"w-8 h-8 flex items-center justify-center text-sm transition-all duration-200 tap-sm",style:{backgroundColor:"rgba(10,10,10,0.85)",border:"1px solid var(--theme-border-subtle)",color:"var(--theme-accent-gold)",fontFamily:"'Courier Prime', monospace"},"aria-label":"Zoom in",children:"+"}),e.jsx("button",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:662",onClick:()=>l(),className:"w-8 h-8 flex items-center justify-center text-sm transition-all duration-200 tap-sm",style:{backgroundColor:"rgba(10,10,10,0.85)",border:"1px solid var(--theme-border-subtle)",color:"var(--theme-accent-gold)",fontFamily:"'Courier Prime', monospace"},"aria-label":"Zoom out",children:"â"}),e.jsx("button",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:675",onClick:()=>d(),className:"w-8 h-8 flex items-center justify-center text-[9px] transition-all duration-200 tap-sm",style:{backgroundColor:"rgba(10,10,10,0.85)",border:"1px solid var(--theme-border-subtle)",color:"var(--theme-accent-gold)",fontFamily:"'Courier Prime', monospace"},"aria-label":"Reset zoom",children:"1:1"})]}),e.jsxs(z,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:690",wrapperStyle:{width:"100%",maxHeight:"70vh",overflow:"hidden"},contentStyle:{width:"100%",position:"relative"},children:[e.jsx("img",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:695",ref:i,src:O,alt:"World Archive Map \\u2014 15 global institutions preserving vintage print advertising",title:"World Archive Map \\u2014 15 global institutions preserving vintage print advertising",width:q,height:Z,loading:"eager",fetchPriority:"high",decoding:"async",draggable:!1,onClick:v,style:{width:"100%",height:"auto",display:"block",cursor:p?"crosshair":"grab",userSelect:"none"}}),e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:717",className:"absolute inset-0",style:{pointerEvents:"none"},children:r.map(t=>e.jsx($,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:722",node:t,isSelected:c===t.id,onSelect:()=>s(c===t.id?null:t.id)},t.id))})]})]})}),m&&e.jsx(Y,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:737",node:m,onClose:()=>s(null),lang:a})]})}const k="world-archive-map-custom-nodes";function X(){if(typeof window>"u")return[];try{const r=localStorage.getItem(k);return r?JSON.parse(r):[]}catch{return[]}}function W(r){typeof window>"u"||localStorage.setItem(k,JSON.stringify(r))}function ee({customNodes:r,setCustomNodes:c,pendingLatLng:s}){const[o,p]=n.useState(null),[a,i]=n.useState({name:"",city:"",country:"",lat:"",lng:"",years:"",focus:"",description:"",url:"",region:"North America"});n.useEffect(()=>{s&&i(t=>({...t,lat:String(s.lat),lng:String(s.lng)}))},[s]);const m=()=>{i({name:"",city:"",country:"",lat:"",lng:"",years:"",focus:"",description:"",url:"",region:"North America"}),p(null)},v=()=>{if(!a.name||!a.lat||!a.lng)return;const t={id:o||`custom-${Date.now()}`,name:a.name,city:a.city,country:a.country,lat:parseFloat(a.lat),lng:parseFloat(a.lng),years:a.years,focus:a.focus,description:a.description.slice(0,500),url:a.url,regi
1on:a.region};let u;o?u=r.map(x=>x.id===o?t:x):u=[...r,t],c(u),W(u),m()},g=t=>{p(t.id),i({name:t.name,city:t.city,country:t.country,lat:String(t.lat),lng:String(t.lng),years:t.years,focus:t.focus,description:t.description,url:t.url,region:t.region})},l=t=>{const u=r.filter(x=>x.id!==t);c(u),W(u)},d={fontFamily:"'Courier Prime', monospace",fontSize:"11px",color:"var(--theme-text)",backgroundColor:"var(--theme-bg-card)",border:"1px solid var(--theme-border-subtle)",padding:"6px 10px",width:"100%"};return e.jsxs("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:861",className:"mx-auto max-w-4xl px-4 py-8",style:{borderTop:"1px solid var(--theme-border-subtle)"},children:[e.jsxs("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:865",className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:866",className:"w-2 h-2 rounded-full bg-green-500 animate-pulse"}),e.jsx("h3",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:867",className:"text-sm tracking-[0.2em] uppercase",style:{fontFamily:"'Cinzel', serif",color:"var(--theme-accent-gold)"},children:"Admin Mode â Archive Node Editor"})]}),e.jsx("p",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:875",className:"text-[10px] mb-6",style:{fontFamily:"'Courier Prime', monospace",color:"var(--theme-text-faint)"},children:"Click anywhere on the map to auto-fill coordinates. Data is saved to localStorage."}),e.jsxs("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:879",className:"grid grid-cols-1 sm:grid-cols-2 gap-3 mb-6",children:[e.jsx("input",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:880",style:d,placeholder:"Museum Name *",value:a.name,onChange:t=>i({...a,name:t.target.value})}),e.jsx("input",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:881",style:d,placeholder:"City",value:a.city,onChange:t=>i({...a,city:t.target.value})}),e.jsx("input",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:882",style:d,placeholder:"Country",value:a.country,onChange:t=>i({...a,country:t.target.value})}),e.jsx("input",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:883",style:d,placeholder:"Years (e.g. 1900s\\u20131960s)",value:a.years,onChange:t=>i({...a,years:t.target.value})}),e.jsx("input",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:884",style:d,placeholder:"Latitude *",value:a.lat,onChange:t=>i({...a,lat:t.target.value})}),e.jsx("input",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:885",style:d,placeholder:"Longitude *",value:a.lng,onChange:t=>i({...a,lng:t.target.value})}),e.jsx("input",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:886",style:d,placeholder:"Focus",value:a.focus,onChange:t=>i({...a,focus:t.target.value})}),e.jsx("input",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:887",style:d,placeholder:"Website URL",value:a.url,onChange:t=>i({...a,url:t.target.value})}),e.jsxs("select",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:888",style:d,value:a.region,onChange:t=>i({...a,region:t.target.value}),children:[e.jsx("option",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:893",value:"North America",children:"North America"}),e.jsx("option",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:894",value:"Europe",children:"Europe"}),e.jsx("option",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:895",value:"Asia",children:"Asia"})]}),e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:897"}),e.jsx("textarea",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:898",style:{...d,minHeight:"60px",resize:"vertical"},placeholder:"Description (max 100 words)",value:a.description,onChange:t=>i({...a,description:t.target.value}),className:"sm:col-span-2"})]}),e.jsxs("button",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:907",onClick:v,className:"inline-flex items-center gap-2 px-5 py-2.5 text-[10px] tracking-[0.2em] uppercase transition-all duration-300 mb-8",style:{fontFamily:"'Courier Prime', monospace",color:"var(--theme-bg)",backgroundColor:"var(--theme-accent-gold)"},children:[e.jsx(T,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:916",size:12}),o?"Update Node":"Add Node"]}),o&&e.jsx("button",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:921",onClick:m,className:"ml-3 text-[10px] tracking-[0.15em] uppercase",style:{fontFamily:"'Courier Prime', monospace",color:"var(--theme-text-faint)"},children:"Cancel"}),r.length>0&&e.jsxs("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:931",children:[e.jsxs("h4",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:932",className:"text-[10px] tracking-[0.2em] uppercase mb-3",style:{fontFamily:"'Courier Prime', monospace",color:"var(--theme-text-faint)"},children:["Custom Nodes (",r.length,")"]}),e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:938",className:"space-y-2",children:r.map(t=>e.jsxs("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:940",className:"flex items-center justify-between px-3 py-2",style:{backgroundColor:"var(--theme-bg
1-card)",border:"1px solid var(--theme-border-subtle)"},children:[e.jsxs("span",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:948",className:"text-[10px] tracking-[0.1em]",style:{fontFamily:"'Courier Prime', monospace",color:"var(--theme-text-muted)"},children:[t.name," â ",t.city,", ",t.country]}),e.jsxs("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:954",className:"flex items-center gap-2",children:[e.jsx("button",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:955",onClick:()=>g(t),className:"p-1 transition-colors tap-sm",style:{color:"var(--theme-accent-gold)"},children:e.jsx(P,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:956",size:12})}),e.jsx("button",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:958",onClick:()=>l(t.id),className:"p-1 transition-colors tap-sm",style:{color:"#ef4444"},children:e.jsx(E,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:959",size:12})})]})]},t.id))})]})]})}function A({position:r}){const c={tl:"rotate(0)",tr:"rotate(90)",br:"rotate(180)",bl:"rotate(270)"},s={tl:{top:-1,left:-1},tr:{top:-1,right:-1},bl:{bottom:-1,left:-1}
1,br:{bottom:-1,right:-1}};return e.jsx("svg",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:990",width:"32",height:"32",viewBox:"0 0 32 32",className:"absolute pointer-events-none",style:{...s[r]},children:e.jsxs("g",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:997",transform:`${c[r]} ${r==="tr"?"translate(32,0)":r==="br"?"translate(32,32)":r==="bl"?"translate(0,32)":""}`,style:{transformOrigin:"center"},children:[e.jsx("path",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:998",d:"M 0 0 L 14 0 L 14 2 L 2 2 L 2 14 L 0 14 Z",fill:"#C9A96E",opacity:"0.7"}),e.jsx("path",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:999",d:"M 4 4 Q 4 8 8 8 Q 4 8 4 12",stroke:"#C9A96E",strokeWidth:"0.8",fill:"none",opacity:"0.45"}),e.jsx("rect",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1000",x:"5",y:"5",width:"2.5",height:"2.5",transform:"rotate(45 6.25 6.25)",fill:"#C9A96E",opacity:"0.3"})]})})}function te({node:r,lang:c}){const s=b[c];return e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1013",className:"relative group transition-all duration-500",style:{padding:"3px",background:"linear-gradient(135deg, #C9A96E 0%, #8a6d3b 25%, #C9A96E 50%, #8a6d3b 75%, #C9A96E 100%)"},children:e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1021",style:{padding:"2px",backgroundColor:"var(--theme-bg)"},children:e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1027",style:{padding:"2px",background:"linear-gradient(135deg, var(--theme-accent-gold-faint), var(--theme-border-subtle), var(--theme-accent-gold-faint))"},children:e.jsxs("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1034",className:"relative p-5 sm:p-6",style:{backgroundColor:"var(--theme-bg-deep)",boxShadow:"inset 0 0 30px rgba(0,0,0,0.5), inset 0 0 60px var(--theme-border-subtle)"},children:[e.jsx(A,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1041",position:"tl"}),e.jsx(A,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1042",position:"tr"}),e.jsx(A,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1043",position:"bl"}),e.jsx(A,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1044",position:"br"}),e.jsxs("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1047",className:"flex items-center justify-center gap-2 mb-4",children:[e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1048",className:"h-px flex-1",style:{background:"linear-gradient(to right, transparent, var(--theme-border-subtle))"}}),e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1049",className:"w-1 h-1 rotate-45",style:{backgroundColor:"var(--theme-accent-gold-faint)"}}),e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1050",className:"h-px flex-1",style:{background:"linear-gradient(to left, transparent, var(--theme-border-subtle))"}})]}),e.jsx("h4",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1053",className:"text-center text-[12px] sm:text-[13px] tracking-[0.2em] uppercase mb-1 leading-tight",style:{fontFamily:"'Cinzel', serif",color:"var(--theme-accent-gold)"},children:r.name}),e.jsxs("p",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1060",className:"text-center text-[9px] tracking-[0.18em] uppercase mb-4",style:{fontFamily:"'Courier Prime', monospace",color:"var(--theme-text-faint)"},children:[r.city,", ",r.country," · ",r.years]}),e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1067",className:"mx-auto mb-4",style:{width:"40%",height:"1px",background:"linear-gradient(to right, transparent, var(--theme-border-subtle), transparent)"}}),e.jsx("p",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1069",className:"text-center text-[9px] tracking-[0.12em] uppercase mb-3",style:{fontFamily:"'Courier Prime', monospace",color:"var(--theme-accent-gold)",opacity:.6},children:r.focus}),e.jsx("p",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1076",className:"text-center text-[10px] leading-[1.8] mb-5",style:{fontFamily:"'Courier Prime', monospace",color:"var(--theme-text-muted)"},children:r.description}),e.jsxs("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1084",className:"flex items-center justify-center gap-2 mb-4",children:[e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1085",className:"h-px flex-1",style:{background:"linear-gradient(to right, transparent, var(--theme-border-subtle))"}}),e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1086",className:"w-1 h-1 rotate-45",style:{border:"0.5px solid var(--theme-accent-gold-faint)"}}),e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1087",className:"h-px flex-1",style:{background:"linear-gradient(to left, transparent, var(--theme-border-subtle))"}})]}),e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1090",className:"text-center",children:e.jsxs("a",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1091",href:r.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-4 py-2 text-[9px] tracking-[0.2em] uppercase transition-all duration-300",style:{fontFamily:"'Courier Prime', monospace",color:"var(--theme-accent-gold)",border:"1px solid var(--theme-border-subtle)"},onMouseEnter:o=>{o.currentTarget.style.borderColor="var(--theme-accent-gold)",o.currentTarget.style.backgroundColor="var(--theme-accent-gold-faint)"},onMouseLeave:o=>{o.currentTarget.style.borderColor="var(--theme-border-subtle)",o.currentTarget.style.backgroundColor="transparent"},children:[s.visitArchive," ",e.jsx(N,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1110",size:9})]})})]})})})})}function re({nodes:r,lang:c}){const s=b[c],o=["North America","Europe","Asia"],p={"North America":s.northAmerica,Europe:s.europe,Asia:s.asia};return e.jsx("section",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1134",className:"py-16 sm:py-24 px-4",style:{backgroundColor:"var(--theme-bg)"},children:e.jsxs("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1135",className:"max-w-6xl mx-auto",children:[e.jsx("h2",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1136",className:"text-center text-lg sm:text-xl tracking-[0.3em] uppercase mb-4",style:{fontFamily:"'Cinzel', serif",color:"var(--theme-text)"},children:s.directoryTitle}),e.jsx("p",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1142",className:"text-center text-[10px] tracking-[0.2em] uppercase mb-12",style:{fontFamily:"'Courier Prime', monospace",color:"var(--theme-text-faint)"},children:s.directorySubtitle}),o.map(a=>{const i=r.filter(m=>m.region===a);return i.length===0?null:e.jsxs("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1153",className:"mb-16",children:[e.jsxs("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1154",className:"flex items-center gap-4 mb-8",children:[e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1155",className:"h-px flex-1",style:{background:"linear-gradient(to right, transparent, var(--theme-border-subtle))"}}),e.jsx("h3",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1156",className:"text-[11px] tracking-[0.3em] uppercase px-4",style:{fontFamily:"'Cinzel', serif",color:"var(--theme-accent-gold)"},children:p[a]}),e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1162",className:"h-px flex-1",style:{background:"linear-gradient(to left, transparent, var(--theme-border-subtle))"}})]}),e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1165",className:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-6 sm:gap-8",children:i.map(m=>e.jsx(te,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1167",node:m,lang:c},m.id))})]},a)})]})})}function ae({lang:r}){const c=b[r];return e.jsx("section",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1185",className:"py-16 sm:py-24 px-4 text-center",style:{backgroundColor:"var(--theme-bg
1-deep)",borderTop:"1px solid var(--theme-accent-gold-faint)"},children:e.jsxs("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1192",className:"max-w-2xl mx-auto",children:[e.jsxs("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1193",className:"flex items-center justify-center gap-3 mb-8",children:[e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1194",className:"h-px w-12",style:{background:"linear-gradient(to right, transparent, var(--theme-accent-gold-faint))"}}),e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1195",className:"w-1.5 h-1.5 rotate-45",style:{border:"1px solid var(--theme-accent-gold-faint)"}}),e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1196",className:"h-px w-12",style:{background:"linear-gradient(to left, transparent, var(--theme-accent-gold-faint))"}})]}),e.jsx("p",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1199",className:"text-sm sm:text-base leading-relaxed mb-8",style:{fontFamily:"'Courier Prime', monospace",color:"var(--theme-text-secondary)"},children:c.funnelText}),e.jsxs(C,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1209",href:"/gallery",className:"inline-flex items-center gap-2 px-6 py-3 text-[11px] tracking-[0.25em] uppercase transition-all duration-300",style:{fontFamily:"'Courier Prime', monospace",color:"var(--theme-accent-gold)",border:"1px solid var(--theme-accent-gold-faint)"},onMouseEnter:s=>{s.currentTarget.style.borderColor="var(--theme-accent-gold)",s.currentTarget.style.backgroundColor="var(--theme-accent-gold-faint)"},onMouseLeave:s=>{s.currentTarget.style.borderColor="var(--theme-accent-gold-faint)",s.currentTarget.style.backgroundColor="transparent"},children:[c.browseArchive," ",e.jsx(M,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1226",size:14})]})]})})}function ge(){const[r,c]=n.useState(null),[s,o]=n.useState(!1),[p,a]=n.useState([]),[i,m]=n.useState(null),{locale:v,setLocale:g}=L(),l=K[v],d=h=>g(B[h]);n.useEffect(()=>{a(X())},[]),n.useEffect(()=>{const h=f=>{f.shiftKey&&f.key==="A"&&o(S=>!S)};return window.addEventListener("keydown",h),()=>window.removeEventListener("keydown",h)},[]);const t=n.useMemo(()=>[..._,...p],[p]),u=n.useCallback((h,f)=>{m({lat:h,lng:f})},[]),x=n.useMemo(()=>{const h=new Date;return h.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})+" at "+h.toLocaleTimeString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0,timeZoneName:"short"})},[]),w=n.useMemo(()=>JSON.stringify({"@context":"https://schema.org","@type":"ItemList",name:"World Archive Map",description:"Global institutions preserving vintage print advertising",numberOfItems:15}),[]);return e.jsxs(R,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1293",children:[e.jsx(D,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1294",title:"World Archive Map \\u2014 The Record Institute",description:"Discover 15 institutions worldwide that preserve vintage print advertising. An interactive guide by The Record Institute, Seattle.",canonical:"/world-archive-map",ogType:"article",keywords:"vintage advertising preservation, world archive map, print media museums, advertising history institutions"}),e.jsx(J,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1301",id:"breadcrumb-world-archive",data:U([{name:"Home",path:"/"},{name:"World Archive Map"}])}),e.jsx("script",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1307",type:"application/ld+json",dangerouslySetInnerHTML:{__html:w}}),e.jsx("section",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1310",className:"pt-20 pb-0 px-4",style:{backgroundColor:"var(--theme-bg)"},children:e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1311",className:"max-w-6xl mx-auto",children:e.jsxs("nav",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1312","aria-label":"Breadcrumb",className:"flex items-center gap-2 text-[9px] tracking-[0.15em] uppercase",style:{fontFamily:"'Courier Prime', monospace"},children:[e.jsx(C,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1317",href:"/",className:"transition-colors duration-200 tap-sm",style:{color:"var(--theme-text)",opacity:.5},onMouseEnter:h=>{h.currentTarget.style.opacity="0.8"},onMouseLeave:h=>{h.currentTarget.style.opacity="0.5"},children:y[l].home}),e.jsx(M,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1326",size:9,style:{color:"var(--theme-accent-gold-faint)"}}),e.jsx("span",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1327",style:{color:"var(--theme-accent-gold-faint)"},children:y[l].resources}),e.jsx(M,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1328",size:9,style:{color:"var(--theme-accent-gold-faint)"}}),e.jsx("span",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1329",style:{color:"var(--theme-accent-gold)"},children:y[l].title})]})})}),e.jsxs("section",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1335",className:"pt-6 pb-8 px-4 text-center",style:{backgroundColor:"var(--theme-bg)"},children:[e.jsx("p",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1336",className:"text-[9px] tracking-[0.3em] uppercase mb-4",style:{fontFamily:"'Courier Prime', monospace",color:"var(--theme-accent-gold-faint)"},children:"The Record Institute"}),e.jsx("h1",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1342",className:"text-2xl sm:text-3xl lg:text-4xl tracking-[0.2em] uppercase mb-4",style:{fontFamily:"'Cinzel', serif",color:"var(--theme-text)",fontWeight:400},children:y[l].title}),e.jsx("p",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1348",className:"text-[10px] tracking-[0.2em] uppercase",style:{fontFamily:"'Courier Prime', monospace",color:"var(--theme-text-faint)"},children:y[l].subtitle})]}),e.jsx(V,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1357",lang:l,setLang:d}),e.jsx("section",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1360",className:"px-4 pb-4",style:{backgroundColor:"var(--theme-bg)"},children:e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1361",className:"max-w-6xl mx-auto text-center",children:e.jsxs("p",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1362",className:"text-[9px] tracking-[0.12em]",style:{fontFamily:"'Courier Prime', monospace",color:"var(--theme-accent-gold-faint)"},children:["Last updated: ",x," · ",t.length," institutions · 3 regions"]})})}),e.jsx("section",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1372",className:"px-4 py-8",style:{backgroundColor:"var(--theme-bg)"},children:e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1373",className:"max-w-6xl mx-auto",children:e.jsxs("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1374",className:"relative overflow-hidden",style:{border:"1px solid var(--theme-accent-gold-faint)"},children:[e.jsxs("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1379",className:"flex items-center justify-between px-4 py-2",style:{backgroundColor:"var(--theme-bg
1-card)",borderBottom:"1px solid var(--theme-accent-gold-faint)"},children:[e.jsxs("span",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1386",className:"text-[9px] tracking-[0.2em] uppercase",style:{fontFamily:"'Courier Prime', monospace",color:"var(--theme-accent-gold-faint)"},children:["Interactive Archive Map · ",t.length," Institutions · Scroll to Zoom · Drag to Pan"]}),s&&e.jsxs("span",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1393",className:"text-[9px] tracking-[0.15em] uppercase flex items-center gap-1.5",style:{fontFamily:"'Courier Prime', monospace",color:"#22c55e"},children:[e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1397",className:"w-1.5 h-1.5 rounded-full bg-green-500 animate-pulse"}),"Admin Mode"]})]}),e.jsx(Q,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1403",nodes:t,selectedId:r,onSelectNode:c,onMapClick:s?u:void 0,adminMode:s,lang:l}),e.jsxs("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1413",className:"flex items-center gap-6 px-4 py-2",style:{backgroundColor:"var(--theme-bg-card)",borderTop:"1px solid var(--theme-accent-gold-faint)"},children:[e.jsxs("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1420",className:"flex items-center gap-2",children:[e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1421",className:"w-2.5 h-2.5 rounded-full",style:{backgroundColor:"var(--theme-accent-gold)"}}),e.jsx("span",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1422",className:"text-[8px] tracking-[0.15em] uppercase",style:{fontFamily:"'Courier Prime', monospace",color:"var(--theme-text-faint)"},children:"Archive"})]}),e.jsxs("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1426",className:"flex items-center gap-2",children:[e.jsx("div",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1427",className:"w-2.5 h-2.5 rotate-45",style:{backgroundColor:"#ef4444"}}),e.jsx("span",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1428",className:"text-[8px] tracking-[0.15em] uppercase",style:{fontFamily:"'Courier Prime', monospace",color:"var(--theme-text-faint)"},children:"Selected"})]})]})]})})}),s&&e.jsx(ee,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1439",customNodes:p,setCustomNodes:a,pendingLatLng:i}),e.jsx(re,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1447",nodes:t,lang:l}),e.jsx(ae,{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1450",lang:l}),e.jsx("style",{"data-loc":"client/src/pages/WorldArchiveMap.tsx:1453",children:` 2 @keyframes pulse-ring { 3 0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.6; } 4 100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; } 5 } 6 `})]})}export{ge as default};
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.