let currentPage = location.pathname.split("/").at(-2); const waybackSiteBase = "http://www.angelfire.com/moon2/petzzoo2/"; const pageMetadata = { vpz_research: { captureId: "20200510220014", sourcePageName: "", }, felinez: { captureId: "20200609155611", sourcePageName: "id29.htm", }, c_wildz: { captureId: "20190805174324", sourcePageName: "id22.htm", }, c_fantasyz: { captureId: "20190805174242", sourcePageName: "id30.htm", }, forestfolk: { captureId: "20190805174230", sourcePageName: "id50.htm", }, catzdogz: { captureId: "20190805174231", sourcePageName: "id48.htm", }, caninez: { captureId: "20190805174241", sourcePageName: "id33.htm", }, d_wildz: { captureId: "20190805174322", sourcePageName: "id23.htm", }, d_fantasyz: { captureId: "", sourcePageName: "id39.htm", }, "clothez-toyz": { captureId: "", sourcePageName: "id24.htm", }, skinz: { captureId: "", sourcePageName: "id25.htm", }, playscenes: { captureId: "", sourcePageName: "id26.htm", }, hexing: { captureId: "", sourcePageName: "id27.htm", }, codes: { captureId: "", sourcePageName: "id35.htm", }, offset: { captureId: "", sourcePageName: "id28.htm", }, links: { captureId: "", sourcePageName: "id37.htm", }, }; export const wayback = pageMetadata[currentPage].captureId + "/" + waybackSiteBase + pageMetadata[currentPage].sourcePageName;