// resources\landingpages\js\lp_external_variables.js

//#region Product identification variables
// This section contains variables that identify the product the user is viewing.
// Do not edit this section unless adding or removing products.
const href = window.location.href.toLowerCase();

const IsAuthoring = href.includes("/expere/authoring");
const IsDGS = href.includes("/dgs");
const IsEngine = href.includes("/expere/engine");
const IsI32 = href.includes("/i-32/");
const IsSmartSignPlus = href.includes("/smartsignplus/");
const IsWKES = href.includes("/wolterskluwer_e-sign/");
const IsWKHosted = href.includes("wk-hosted-expere");
const IsWKIS = href.includes("/wk-integratedsolutions/");
const IsOneSumX = href.includes("/onesumx/");// #endregion

//#region Set variables for products
// This section creates the variable arrays that are used later in the script.
// DO NOT UPDATE THIS SECTION
var myProduct;
var myProductAbrev;
var landingPagePath;
var display_showcase_image;
var DocFeedbackUrl;
var productSummary;
var gettingStarted = [];
var releaseNotes = [];
var releaseNotesArchives = [];
var installationGuides = [];
var implementationGuides = [];
var userGuides = [];
var featureGuides = [];
var relatedDocuments = [];
var releaseCalendars = [];
var installUpgradeGuides = [];
var odRelatedInstallGuides = [];
var releaseNotesCard = [];
var announcementContents = [];
var cardContents= [];
var landingPages= [];
// #endregion

//#region Rev levels
// This section contains the revision level variables for the products.
// These can be updated when a product's rev level is updated.
const AuthoringRevLevel         = "24.2.0";
const AuthoringRM4RevLevel      = "23.4.0";
// Update the following after every even numbered sprint 
// EZConfigInstalledRevLevel may need to be a level behind Hosted
const DGSChangelogRevLevel      = "24.06.0";  // Always a month behind WKHostedRevLevel
const EZConfigHostedRevLevel    = "2024.07.0.0000";  //Should be the same month as WKHostedRevLevel
const EZConfigInstalledRevLevel = "2024.06.0.0000";  //Should be the same month as DGSChangelogRevLevel
const WKHostedRevLevel          = "24.07.0";  //"What we do in a month goes to the next (April gets reported as 05, etc)"
// WKHostedRevLevel includes:
//   - EZConfig Consolidated Changelog 
//   - Expere EZ Config Packages and Packets User Guide
//   - EZ Config Packages and Packets Web Services Guide
//   - EZ Config Default Data User Guide
//   - EZ Config Default Data Web Services Guide
//   - EZ Gateway Web Services Guide
// DGSChangelogRevLevel includes:
//   - EZConfig Consolidated Changelog 
//   - Expere EZ Config Packages and Packets User Guide
//   - EZ Config Packages and Packets Web Services Guide
//   - EZ Config Default Data User Guide
//   - EZ Config Default Data Web Services Guide
//   - EZ Gateway Web Services Guide
// #endregion

//#region Assign dynamic value to myProduct based on conditions
// This section contains the link information for the documents and cards displayed in the product landing page.
// You can add, remove and edit link information for your product links.
//  - if an item (document or card) is commented out, it will not show in the landing page.
//  - if all items in a push variable (ex. gettingStarted.push) are commented out, the entire section is not displayed in the landing page.
if (IsAuthoring) {
    myProduct = "Expere Authoring Tools";
    myProductAbrev = "ExpAuth";
    landingPagePath = "/Expere/Authoring/";
    productSummary = "are a collection of applications and command line utilities supporting the authoring, " +
        "testing, assembly, and generation of Expere Content.";
    showSearch = "true";  //Options: true or false
    display_showcase_image = "true";  //Options: true or false

    gettingStarted.push(
        // {title: "Getting Started Guide", link: "/WK-Hosted-Expere/Getting-Started/index.html"}, 
    );

    featureGuides.push(
        // { title: "Hosted Expere: Wolters Kluwer E-Sign Feature Guide", link: "/WK-Hosted-Expere/Feature-Guide/index.html" },
        // { title: "eOriginal Quick Guide", link: "/Expere/eOriginal/QuickGuide/index.html" },
    );

    releaseCalendars.push(
        // { title: "Expere Document Services / Expere EZ Config", link: "https://documentation.wolterskluwerfs.com/resources/calendars/EDSReleaseCalendar.html" },
    );

    installUpgradeGuides.push(
        { title: "Authoring Environment Installation Guide", 
          link: "/Expere/Authoring/AuthoringEnvironmentInstallation/index.html",
          info: "How to install Administration Tool, Requirements Editor, and the Expere Authoring Web Service and Database" },
        { title: "Engine Installation Guide", 
          link: "/Expere/Authoring/EngineInstallation/index.html",
          info: "" },
    );

    implementationGuides.push(
        // { title: "Authoring Environment Installation Guide", link: "/Expere/Authoring/AuthoringEnvironmentInstallation/index.html" },
        // { title: "Engine Installation Guide", link: "/Expere/Authoring/EngineInstallation/index.html" },
    );
    
    userGuides.push(
        { title: "Data Dictionary Viewer User Guide", link: "/Expere/Authoring/DV/index.html" },
        { title: "Repository Merge User Guide", link: "/Expere/Authoring/RepositoryMerge/index.html" },
        // { title: "Requirements Editor 3 User Guide", link: "/Expere/Authoring/RequirementsEditor/index.html" },
        { title: "Requirements Editor 4 User Guide", link: "/Expere/Authoring/RequirementsEditor4/index.html" },
        { title: "Server Tools User Guide", 
          link: "/Expere/Authoring/ServerTools/index.html",
          info: "Documentation for Administration Tool, Knowledge Base Repository and Command Line Options" },
        { title: "Expere Transaction Data Model API Reference (PDF)", link: "/Expere/Authoring/TransactionDataModelAPIGuide/Expere Transaction Data Model API Reference (2015.1).pdf" },
    );

    relatedDocuments.push(
        { title: "Accessibility in Tagged PDF Outputs", link: "/ADA/Implementationguide/index.html" },
    );

    odRelatedInstallGuides.push(
        // { title: "Document Generation Services OD Install Guide", link: "/DGS/OD-Installation-Guide/index.html?audience=installed&rev=2023.12.0.0000" },
        // { title: "Expere EZ Config Packages and Packets OD Install Guide", link: "/ExpereEZConfig/EZGateway/OD-Installation-Guide/index.html?audience=installed&rev=2023.12.0.0000" },
    );

    landingPages.push(
        // { title: "Expere Authoring", link: "/Expere/Authoring/index.html" },
        // { title: "Expere Engine", link: "/Expere/Engine/index.html" },
        // { title: "Wolters Kluwer E-Sign", link: "/WoltersKluwer_E-Sign/index.html" },
        // { title: "Wolters Kluwer Hosted Expere (EDS)", link: "/WK-Hosted-Expere/index.html" },
        // { title: "Wolters Kluwer Self Hosted Expere (DGS)", link: "/dgs/index.html" },
    );

    releaseNotesCard.push({
        type: "release note",
        title: "&nbsp;&nbsp;Release Notes",
        items: [
            {
                title: "Authoring Tools Release Notes",
                link: "/Expere/Authoring/ReleaseNotes/index.html" + "?rev=" + AuthoringRevLevel,
                info: "Contains combined release note information for all authoring tools.",
            },
            {
                title: "Authoring Tools Release Notes Archive",
                link: "/Expere/Authoring/ReleaseNotesArchive/index.html",
                info: "",
            }
        ]
    });

    announcementContents.push(
        {
            type: "announcement",
            title: "&nbsp;&nbsp;Announcements",
            // If you have no announcements, the next line should read: mainContent: "",
            mainContent: "",
            bulletPoints: [
    
            ]
        },
    );

    cardContents.push(
        // {
        //     type: "",
        //     title: "",
        //     mainContent: "",
        //     bulletPoints: [
        //         "",
        //     ]
        // },
        {
            type: "card",
            title: "&nbsp;&nbsp;We value your feedback!",
            mainContent: "<p>We're working hard to keep the <span class='productname'></span> line of products the industry standard!</p>" +
                "<p>If you would like to contact us directly, please leave your comments using one of the following links<br/>" +
                "<span class='subtext'>(opens in a new tab/window):</span></p>",
            bulletPoints: [
                "E-mail: <a href='mailto:ExpereIESupport@wolterskluwer.com' target='_blank'>ExpereIESupport@wolterskluwer.com</a>",
                // ""
            ]
        },
        {
            type: "card",
            title: "&nbsp;&nbsp;Contact us!",
            mainContent: "<p>If you have any questions regarding this product, contact the Wolters Kluwer support team " +
                "by phone or e-mail. Support staff is available Monday through Friday, 7 A.M. to 7 P.M. Central. " +
                "Voice mail is available after hours and on weekends.</p>" +
                "<p>You can contact us directly through either of the following:</p>",
            bulletPoints: [
                "Tel: 1-800-274-2711, ext. 1126618",
                "E-mail: <a href='mailto:ExpereIESupport@wolterskluwer.com' target='_top'>ExpereIESupport@wolterskluwer.com</a>",
            ]
        },
    );
    
} else if (IsDGS) {
    myProduct = "Document Generation Services (DGS)";
    myProductAbrev = "dgs";
    landingPagePath = "/DGS/";
    productSummary = "documentation provides information on the collection of tools and operations " +
        "that provide document library management, as well as a means to exchange data and files " +
        "between the Document Generation Services and other systems; including third-party applications. " +
        "The service retrieves document packet information, order and status information, and enables " +
        "applications to request forms and form information from the Expere Engine.";
    showSearch = "true";  //Options: true or false
    display_showcase_image = "true";  //Options: true or false

    gettingStarted.push(
        // { title: "", 
        //   link: "",
        //   info: "" },
    );

    installUpgradeGuides.push(
        // { title: "Expere EZ Config Packages and Packets Installation Guide", 
        //   link: "/ExpereEZConfig/InstallGuide/index.html?audience=installed" + "&rev=" + EZConfigInstalledRevLevel, 
        //   info: "" },
        // { title: "Expere EZ Config Default Data Installation Guide", 
        //   link: "/ExpereEZConfig/DefaultData/InstallationGuide/index.html" + "&rev=" + EZConfigInstalledRevLevel, 
        //   info: "" },
        // { title: "Expere EZ Gateway Installation Guide", 
        //   link: "/ExpereEZConfig/EZGateway/InstallGuide/index.html?audience=installed" + "&rev=" + EZConfigInstalledRevLevel, 
        //   info: "" },
        { title: "DGS OD Install Guide", 
          link: "/DGS/OD-Installation-Guide/index.html?audience=installed&rev=2023.12.0.0000", 
          info: "" },
        { title: "Expere EZ Config Packages and Packets OD Install Guide", 
          link: "/ExpereEZConfig/EZGateway/OD-Installation-Guide/index.html?audience=installed" + "&rev=" + EZConfigInstalledRevLevel, 
          info: "" },
        { title: "Expere EZ Config Packages and Packets OD Install Guide", 
          link: "/ExpereEZConfig/DefaultData/OD-InstallGuide/index.html?audience=installed" + "&rev=" + EZConfigInstalledRevLevel, 
          info: "" },
        { title: "Expere EZ Gateway OD Install Guide", 
          link: "/ExpereEZConfig/EZGateway/OD-Installation-Guide/index.html?audience=installed" + "&rev=" + EZConfigInstalledRevLevel, 
          info: "" },
          { title: "Expere EZ Config Packages and Packets Upgrade Guide", 
          link: "/ExpereEZConfig/PackagesAndPackets/UpgradeGuide/index.html" + "&rev=" + EZConfigInstalledRevLevel, 
          info: "" },
        { title: "Expere EZ Config Default Data Upgrade Guide", 
          link: "/ExpereEZConfig/DefaultData/UpgradeGuide/index.html" + "&rev=" + EZConfigInstalledRevLevel, 
          info: "" },
    );

    implementationGuides.push(
        { title: "DGS Web Services Guide", 
          link: "/DGS/Web-Services/topics/dgs_web-services-getting-started.html",
          info: ""},
        { title: "DGS Implementation Strategies", 
          link: "/DGS/Implementation-Strategies/imp_Strategies-overview.html",
          info: "" },
        { title: "Expere EZ Config Packages and Packets Web Services Guide", 
          link: "/ExpereEZConfig/WebservicesGuide/index.html?audience=installed" + "&rev=" + EZConfigInstalledRevLevel, 
          info: "" },
        { title: "Expere EZ Config Default Data Web Services Guide", 
          link: "/ExpereEZConfig/DefaultData/WebServicesGuide/index.html?audience=installed" + "&rev=" + EZConfigInstalledRevLevel, 
          info: "" },
        { title: "Expere EZ Gateway Web Services Guide", 
          link: "/ExpereEZConfig/EZGateway/WebServices/index.html?audience=installed" + "&rev=" + EZConfigInstalledRevLevel, 
          info: "" },
        { title: "DocViewer Integration Guide", 
          link: "/DocViewer/IntegrationGuide/index.html", 
          info: "" },
    );
    
    userGuides.push(
        { title: "DGS Tool Suite Guide", 
          link: "/DGS/Tool-Suite/topics/Tool-Suite-overview.html", 
          info: "" },
        { title: "DGS Management Services Guide", 
          link: "/DGS/Management-Services/topics/dgs_mgmt-svc-manage-libraries.html", 
          info: "" },
        { title: "DGS Management Tool Guide", 
          link: "/DGS/Management-Tool/topics/exp_docgen_mgmttool.html", 
          info: "" },
        { title: "OPPSA to Default Data: Data Conversion Guide", 
          link: "/ExpereEZConfig/DefaultData/OPPSAConversion/index.html", 
          info: "" },
        { title: "Expere EZ Config Packages and Packets User Guide", 
          link: "/ExpereEZConfig/PackagesAndPackets/UserGuide/index.html?audience=integrator" + "&rev=" + EZConfigInstalledRevLevel, 
          info: "" },
        { title: "Expere EZ Config Default Data User Guide", 
          link: "/ExpereEZConfig/DefaultData/UserGuide/index.html?audience=integrator" + "&rev=" + EZConfigInstalledRevLevel, 
          info: "" },
        { title: "DocViewer User Guide", 
          link: "/DocViewer/UserGuide/index.html", 
          info: "" },
        { title: "eOriginal Quick Guide", 
          link: "/Expere/eOriginal/QuickGuide/index.html", 
          info: "" },
        { title: "OAuth Client Credential Flow Setup", 
          link: "/OAuth/Setup/index.html?audience=installed" , 
          info: "" },
        { title: "Security Administration User Guide", 
          link: "/securityadministrationself-hosted/index.html", 
          info: "" },
    );

    releaseNotesCard.push({
        type: "release note",
        title: "&nbsp;&nbsp;Release Notes",
        items: [
            {
                title: "DGS Changelog",
                link: "/DGS/Change-Log/index.html" + "?rev=" + DGSChangelogRevLevel + "&prod=DocGenServices",
                info: "",
            },
            {
                title: "Expere EZ Config Consolidated Changelog",
                link: "/ExpereEZConfig/ChangeLog/index.html" + "?audience=installed" + "&rev=" + EZConfigInstalledRevLevel,
                info: "",
            }
        ]
    });

    announcementContents.push(
        {
            type: "announcement",
            title: "&nbsp;&nbsp;Announcements",
            // If you have no announcements, the next line should read: mainContent: "",
            mainContent: "",
            bulletPoints: [
    
            ]
        },
    );

    cardContents.push(
        // {
        //     type: "",
        //     title: "",
        //     mainContent: "",
        //     bulletPoints: [
        //         "",
        //     ]
        // },
        // {
        //     type: "card",
        //     title: "&nbsp;&nbsp;We value your feedback!",
        //     mainContent: "<p>We're working hard to keep the <span class='productname'></span> line of products the industry standard!</p>" +
        //         "<p>If you would like to contact us directly, please leave your comments using one of the following links<br/>" +
        //         "<span class='subtext'>(opens in a new tab/window):</span></p>",
        //     bulletPoints: [
        //         "<a href='/Resources/Feedback/index.php?app=dgs' target='_blank'>Document Generation Services Documentation Feedback</a>",
        //         // ""
        //     ]
        // },
        {
            type: "card",
            title: "&nbsp;&nbsp;Contact us!",
            mainContent: "<p>If you have any questions regarding this product, contact the Wolters Kluwer support team " +
                "by phone or e-mail. Support staff is available Monday through Friday, 7 A.M. to 7 P.M. Central. " +
                "Voice mail is available after hours and on weekends.</p>" +
                "<p>You can contact us directly through either of the following:</p>",
            bulletPoints: [
                "Tel: 1-800-274-2711, ext. 1126618",
                "E-mail: <a href='mailto:ExpereIESupport@wolterskluwer.com' target='_top'>ExpereIESupport@wolterskluwer.com</a>",
            ]
        },
    );



} else if (IsEngine) {
    myProduct = "Expere Engine";
    myProductAbrev = "ExpEngine";
    landingPagePath = "/Expere/Engine/";
    productSummary = "documentation provides information on the document generation system accessible as a " +
        "web service within a services oriented architecture (SOA). The system typically integrates with loan " +
        "origination and other front-end systems designed to initiate a call to select, assemble and " +
        "generate compliance based document packages.";
    showSearch = "false";  //Options: true or false
    display_showcase_image = "true";  //Options: true or false
    
    installUpgradeGuides.push(
        // { title: "Authoring Environment Installation Guide", link: "/Expere/Authoring/AuthoringEnvironmentInstallation/index.html" },
        // { title: "Engine Installation Guide", link: "/Expere/Authoring/EngineInstallation/index.html" },
    );
    
    implementationGuides.push(
        { title: "Expere Implementation Guide", 
          link: "/Expere/Engine/Implementation-Guide/index.html", 
          info: "" },
        { title: "Expere System Requirements", 
          link: "/Expere/Engine/Sys-Req/index.html", 
          info: "" },
        { title: "DocViewer Integration Guide", 
          link: "/DocViewer/IntegrationGuide/index.html", 
          info: "" },
    );
    
    userGuides.push(
        { title: "Expere Developer Guide", 
          link: "/Expere/Engine/Developer/index.html", 
          info: "" },
        { title: "Expere Testing System Guide", 
          link: "/Expere/Engine/Testing-System/index.html", 
          info: "" },
        { title: "Expere Data Dictionary Viewer Guide", 
          link: "/Expere/Authoring/DDV/index.html", 
          info: "" },
        { title: "DocViewer User Guide", 
          link: "/DocViewer/UserGuide/Documentation/index.html", 
          info: "" },
        { title: "eOriginal Quick Guide", 
          link: "/Expere/eOriginal/QuickGuide/index.html", 
          info: "" },
    );

    announcementContents.push(
        {
            type: "announcement",
            title: "&nbsp;&nbsp;Announcements",
            // If you have no announcements, the next line should read: mainContent: "",
            mainContent: "",
            bulletPoints: [
    
            ]
        },
    );

    releaseNotesCard.push({
        type: "release note",
        title: "&nbsp;&nbsp;Release Notes",
        items: [
            {
                title: "Expere Engine Changelog",
                link: "/Expere/Engine/Change-Log/index.html",
                info: "",
            },
        ]
    });

    cardContents.push(
        {
            type: "card",
            title: "&nbsp;&nbsp;We value your feedback!",
            mainContent: "<p>We're working hard to keep the <span class='productname'></span> line of products the industry standard!</p>" +
                "<p>If you would like to contact us directly, please leave your comments using one of the following links<br/>" +
                "<span class='subtext'>(opens in a new tab/window):</span></p>",
            bulletPoints: [
                "E-mail: <a href='mailto:ExpereIESupport@wolterskluwer.com' target='_blank'>ExpereIESupport@wolterskluwer.com</a>",
                // ""
            ]
        },
        {
            type: "card",
            title: "&nbsp;&nbsp;Contact us!",
            mainContent: "<p>If you have any questions regarding this product, contact the Wolters Kluwer support team " +
                "by phone or e-mail. Support staff is available Monday through Friday, 7 A.M. to 7 P.M. Central. " +
                "Voice mail is available after hours and on weekends.</p>" +
                "<p>You can contact us directly through either of the following:</p>",
            bulletPoints: [
                "Tel: 1-800-274-2711, ext. 1126618",
                "E-mail: <a href='mailto:ExpereIESupport@wolterskluwer.com' target='_top'>ExpereIESupport@wolterskluwer.com</a>",
            ]
        },
    );

} else if (IsI32) {
    myProduct = "I-32";
    myProductAbrev = "I32";
    
    landingPagePath = "/I32/"
    productSummary = "is a collection of applications and command line utilities supporting the authoring, testing, assembly, and generation of Expere Content.";
    showSearch = "false"  //Options: true or false
    display_showcase_image = "true"  //Options: true or false

    installationGuides.push(
        // { title: "Authoring Environment Installation Guide", link: "/Expere/Authoring/AuthoringEnvironmentInstallation/index.html" },
        // { title: "Engine Installation Guide", link: "/Expere/Authoring/EngineInstallation/index.html" },
    );
    
    implementationGuides.push(
        // { title: "DGS Web Services Guide", link: "/DGS/Web-Services/topics/dgs_web-services-getting-started.html"},
        // { title: "DGS Implementation Strategies", link: "/DGS/Implementation-Strategies/imp_Strategies-overview.html" },
    );
    
    userGuides.push(
        { title: "I-32 Forms Design User Guide", link: "/I-32/FormsDesignUserGuide/index.html", 
          info: "" },
        { title: "I-32 Image Update User Guide", link: "/I-32/ImageUpdate/index.html", 
          info: "" },
    );

    releaseNotesCard.push({
        type: "release note",
        title: "&nbsp;&nbsp;Release Notes",
        items: [
            {
                title: "I-32 Changelog",
                link: "/I-32/Changelog/index.html",
                info: "",
            },
        ]
    });

    announcementContents.push(
        {
            type: "announcement",
            title: "&nbsp;&nbsp;Announcements",
            // If you have no announcements, the next line should read: mainContent: "",
            mainContent: "",
            bulletPoints: [
    
            ]
        },
    );

    cardContents.push(
        // {
        //     type: "",
        //     title: "",
        //     mainContent: "",
        //     bulletPoints: [
        //         "",
        //     ]
        // },
        // {
        //     type: "card",
        //     title: "&nbsp;&nbsp;We value your feedback!",
        //     mainContent: "<p>We're working hard to keep the <span class='productname'></span> line of products the industry standard!</p>" +
        //         "<p>If you would like to contact us directly, please leave your comments using one of the following links<br/>" +
        //         "<span class='subtext'>(opens in a new tab/window):</span></p>",
        //     bulletPoints: [
        //         "E-mail: <a href='mailto:ExpereIESupport@wolterskluwer.com' target='_blank'>ExpereIESupport@wolterskluwer.com</a>",
        //         // ""
        //     ]
        // },
        {
            type: "card",
            title: "&nbsp;&nbsp;Contact us!",
            mainContent: "<p>If you have any questions regarding this product, contact the Wolters Kluwer support team " +
                "by phone or e-mail. Support staff is available Monday through Friday, 7 A.M. to 7 P.M. Central. " +
                "Voice mail is available after hours and on weekends.</p>" +
                "<p>You can contact us directly through either of the following:</p>",
            bulletPoints: [
                "Tel: 1-800-274-2711, ext. 1126618",
                "E-mail: <a href='mailto:ExpereIESupport@wolterskluwer.com' target='_top'>ExpereIESupport@wolterskluwer.com</a>",
            ]
        },
    );

} else if (IsWKES) {
    myProduct = "Wolters Kluwer E-Sign";
    myProductAbrev = "wkes";
    landingPagePath = "/WKES/"
    productSummary = "provides a secure messaging and storage system that can be used to secure:<br>" +
        "<ul style='margin-left: 40px;'>" +
        "<li>Any exchange of content between employees, customers, and partners</li>" +
        "<li>Communication portals</li>" +
        "<li>Bulk statement deliveries</li>" +
        "<li>Documents across enterprise applications</li>" +
        "</ul>" +
        "Wolters Kluwer E-Sign provides not only maximum security in delivery, but also perpetual control" +
        "and receipt management for any content sent over the Internet.";
    showSearch = "false"  //Options: true or false
    display_showcase_image = "false"  //Options: true or false

    installUpgradeGuides.push(
        // { title: "", 
        //   link: "",
        //   info: "" },
    );
    
    implementationGuides.push(
        { title: "Wolters Kluwer E-Sign Webservices", 
          link: "/WoltersKluwer_E-Sign/Webservices/index.html", 
          info: "" },
    );
    
    userGuides.push(
        { title: "Wolters Kluwer E-Sign User Guide", 
          link: "/WoltersKluwer_E-Sign/UserGuide/index.html", 
          info: "" },
        { title: "Wolters Kluwer E-Sign QuickSkin Administrator Guide", 
          link: "/WoltersKluwer_E-Sign/AdminGuide/index.html", 
          info: "" },
        { title: "Wolters Kluwer E-Sign Legacy User Guide", 
          link: "/WoltersKluwer_E-Sign/LegacyUserGuide/index.html", 
          info: "" },
        { title: "Wolters Kluwer E-Sign Capture User Guide", 
          link: "/WoltersKluwer_E-Sign/Capture/index.html", 
          info: "" },
        { title: "Wolters Kluwer E-Sign Frequently Asked Questions", 
          link: "/WoltersKluwer_E-Sign/FAQ/index.html", 
          info: "" },
        { title: "Wolters Kluwer E-Sign Onsite Service User Guide", 
          link: "/WoltersKluwer_E-Sign/Onsite/index.html", 
          info: "" },
        { title: "Wolters Kluwer E-Sign Push Status User Guide", 
          link: "/WoltersKluwer_E-Sign/PushStatus/index.html", 
          info: "" },
        { title: "Wolters Kluwer E-Sign System Requirements", 
          link: "/WoltersKluwer_E-Sign/SystemRequirements/index.html", 
          info: "" },
        { title: "TILA-RESPA, Integrated Disclosures E-Delivery, and Paper Out", 
          link: "/WoltersKluwer_E-Sign/TILARESPA/index.html", 
          info: "" },
    );
    
    relatedDocuments.push(
        { title: "Wolters Kluwer E-Sign ADA Support", 
          link: "/WoltersKluwer_E-Sign/ADA/Wolters%20Kluwer%20E-Sign%20VPAT%202.0%20201811.pdf", 
          info: "" },
        { title: "Wolters Kluwer E-Sign UETA White Paper", 
          link: "/WoltersKluwer_E-Sign/whitepaper/E-Sign%20Act%20UETA%20white%20paper.pdf", 
          info: "" },
    );

    releaseNotesCard.push({
        type: "release note",
        title: "&nbsp;&nbsp;Release Notes",
        items: [
            {
                title: "Wolters Kluwer E-Sign Release Notes",
                link: "/WoltersKluwer_E-Sign/ReleaseNotes/index.html",
                info: "",
            },
        ]
    });

    announcementContents.push(
        {
            type: "announcement",
            title: "&nbsp;&nbsp;Announcements",
            // If you have no announcements, the next line should read: mainContent: "",
            mainContent: "",
            bulletPoints: [
    
            ]
        },
    );

    cardContents.push(
        // {
        //     type: "",
        //     title: "",
        //     mainContent: "",
        //     bulletPoints: [
        //         "",
        //     ]
        // },
        // {
        //     type: "card",
        //     title: "&nbsp;&nbsp;We value your feedback!",
        //     mainContent: "<p>We're working hard to keep the <span class='productname'></span> line of products the industry standard!</p>" +
        //         "<p>If you would like to contact us directly, please leave your comments using one of the following links<br/>" +
        //         "<span class='subtext'>(opens in a new tab/window):</span></p>",
        //     bulletPoints: [
        //         "<a href='/Resources/Feedback/index.php?app=wkes' target='_blank'>Wolters Kluwer E-Sign Documentation Feedback</a>",
        //         // ""
        //     ]
        // },
        {
            type: "card",
            title: "&nbsp;&nbsp;Contact us!",
            mainContent: "<p>If you have any questions regarding this product, contact the Wolters Kluwer support team " +
                "by phone or e-mail. Support staff is available Monday through Friday, 7 A.M. to 7 P.M. Central. " +
                "Voice mail is available after hours and on weekends.</p>" +
                "<p>You can contact us directly through either of the following:</p>",
            bulletPoints: [
                "Tel: 1-800-274-2711, ext. 1126618",
                "E-mail: <a href='mailto:ExpereIESupport@wolterskluwer.com' target='_top'>ExpereIESupport@wolterskluwer.com</a>",
            ]
        },
    );
    


} else if (IsWKHosted) {
    myProduct = "Expere Document Services (EDS)";
    myProductAbrev = "eds";
    landingPagePath = "/EDS/"
    productSummary = "provides information on interfacing with your existing loan origination system (LOS). Expere " +
        "Document Services receives your transaction data and generates compliant documents for your transaction.";
    showSearch = "true"  //Options: true or false
    display_showcase_image = "true"  //Options: true or false

    gettingStarted.push(
        {title: "Getting Started Guide", 
         link: "/WK-Hosted-Expere/Getting-Started/index.html", 
         info: "High level overview for using Hosted Expere, EZ Config products, and DocViewer."},
        {title: "Expere Workflow Guide", 
         link: "/Expere/Arch-Workflow/index.html",
         info: "Intro to Expere and workflow processes"},
    );

    installationGuides.push(
    );
    
    implementationGuides.push(
        { title: "EDS Web Services Guide", 
          link: "/WK-Hosted-Expere/Web-Services/topics/eds_int-webservices.html", 
          info: "Introduction to integrating with Expere Document Services (EDS)" },
        { title: "EDS Implementation Strategies", 
          link: "/WK-Hosted-Expere/Implementation-Strategies/Imp_Strategies-overview.html", 
          info: "Instructions and best practices for specific implementation goals." },
        { title: "EZ Config Default Data Web Services Guide", 
          link: "/ExpereEZConfig/DefaultData/WebServicesGuide/index.html" + "?audience=hosted", 
          info: "Information on workflows, authentication and integration APIs" },
        { title: "EZ Config Packages and Packets Web Services Guide", 
          link: "/ExpereEZConfig/WebservicesGuide/index.html" + "?audience=hosted", 
          info: "Information on workflows, authentication and integration APIs" },
        { title: "EZ Gateway Web Services Guide", 
          link: "/ExpereEZConfig/EZGateway/WebServices/index.html" + "?audience=hosted", 
          info: "" },
        { title: "OAuth Client Credential Flow Setup", 
          link: "/OAuth/Setup/index.html?audience=hosted", 
          info: "" },
    );
    
    userGuides.push(
        { title: "EDS Tool Suite Guide", 
          link: "/WK-Hosted-Expere/Tool-Suite/topics/tool-suite-overview.html", 
          info: "" },
        { title: "EZ Config Packages and Packets User Guide", 
          link: "/ExpereEZConfig/PackagesAndPackets/UserGuide/index.html" + "?audience=hosted" + "&rev=" + EZConfigHostedRevLevel, 
          info: "" },
        { title: "EZ Config Default Data User Guide", 
          link: "/ExpereEZConfig/DefaultData/UserGuide/index.html" + "?audience=hosted" + "&rev=" + EZConfigHostedRevLevel,
          info: "" },
        { title: "OPPSA to Default Data: Data Conversion Guide",
          link: "/ExpereEZConfig/DefaultData/OPPSAConversion/index.html",
          info: "" },
        { title: "DocViewer User Guide", 
          link: "/DocViewer/UserGuide/index.html",
          info: "" },
        { title: "Fulfillment Manager User Guide", 
          link: "/FulfillmentManager/index.html", 
          info: "" },
    );

    featureGuides.push(
        { title: "Expere - SmartSign Plus\u00AE Integration Guide (Work in Progress)", 
          link: "/Expere/eOriginal/SmartSignPlus-FeatureGuide/index.html", 
          info: "" },
        { title: "eOriginal Quick Guide", 
          link: "/Expere/eOriginal/QuickGuide/index.html", 
          info: "" },
        // Add more as needed
    );

    releaseCalendars.push(
        { title: "Expere Document Services / Expere EZ Config", 
          link: "https://documentation.wolterskluwerfs.com/resources/calendars/EDSReleaseCalendar.html", 
          info: "" },
    );

    releaseNotesCard.push({
        type: "release note",
        title: "&nbsp;&nbsp;Release Notes",
        items: [
            {
                title: "Wolters Kluwer Hosted Expere (EDS) Changelog",
                link: "/WK-Hosted-Expere/Change-Log/index.html" + "?rev=" + WKHostedRevLevel + "&prod=ExpereDocServices",
                info: "",
            },
            {
                title: "EZ Config Consolidated Changelog",
                link: "/ExpereEZConfig/ChangeLog/index.html" + "?audience=hosted",
                info: "Contains combined release notes for Packages and Packets, Default Data, and EZ Service/EZ Gateway",
            }
        ]
    });

    announcementContents.push(
        {
            type: "announcement",
            title: "&nbsp;&nbsp;Announcements",
            mainContent: 
            "<p>We are informing you of an upcoming enhancement regarding the default behavior of generating Acroform fields " +
            "(referred to as 'fillable fields') on documents. We are modifying our existing <b>eSignatureAndFieldSupport</b> ancillary output " +
            "default to require users to specify if they want documents generated with fillable fields. These changes will be implemented " +
            "as part of our standard deployments:<ul><li>Customer Test Environment: July 2024</li><li>Production Environment: August 2024</li>" +
			"</ul>For more information refer to the <a href='/WK-Hosted-Expere/Change-Log/topics/eds_features.html' target='_blank'>Hosted Expere " +
            "Changelog > Features page</a>.</p>",
            bulletPoints: [
    
            ]
        },
    );

    cardContents.push(
        // {
        //     type: "",
        //     title: "",
        //     mainContent: "",
        //     bulletPoints: [
        //         "",
        //     ]
        // },
        // {
        //     type: "card",
        //     title: "&nbsp;&nbsp;We value your feedback!",
        //     mainContent: "<p>We're working hard to keep the <span class='productname'></span> line of products the industry standard!</p>" +
        //         "<p>If you would like to contact us directly, please leave your comments using one of the following links<br/>" +
        //         "<span class='subtext'>(opens in a new tab/window):</span></p>",
        //     bulletPoints: [
        //         "<a href='/Resources/Feedback/index.php?app=dgs' target='_blank'>Document Generation Services Documentation Feedback</a>",
        //         // ""
        //     ]
        // },
        {
            type: "card",
            title: "&nbsp;&nbsp;Contact us!",
            mainContent: "<p>If you have any questions regarding this product, contact the Wolters Kluwer support team " +
                "by phone or e-mail. Support staff is available Monday through Friday, 7 A.M. to 7 P.M. Central. " +
                "Voice mail is available after hours and on weekends.</p>" +
                "<p>You can contact us directly through either of the following:</p>",
            bulletPoints: [
                "Tel: 1-800-274-2711, ext. 1126618",
                "E-mail: <a href='mailto:ExpereIESupport@wolterskluwer.com' target='_top'>ExpereIESupport@wolterskluwer.com</a>",
            ]
        },
    );

} else if (IsWKIS) {
    myProduct = "Wolters Kluwer Integrated Solutions";
    myProductAbrev = "wkis";
    productSummary = "provides information on interfacing with your existing loan origination system (LOS). Our fully automated, enterprise-wide " +
        "compliance content system features both standard content and rules that are maintained and warranted by Wolters Kluwer. " +
        "The landing pages below provide a robust, comprehensive library of online documentation to aid you in integrating and using any of our integrated solutions.";
    showSearch = "false"  //Options: true or false
    display_showcase_image = "true"  //Options: true or false

    landingPages.push(
        { 
            title: "Expere Authoring", 
            link: "/Expere/Authoring/index.html", 
            target: "_blank",
            bullets: [
                "Admin Tool",
                "Data Dictionary Viewer",
                "Requirements Editor",
                "Server Tools",
                // Add more bullets as needed
            ]
        },
        { title: "Expere Engine", link: "/Expere/Engine/index.html", target: "_blank" },
        { title: "Wolters Kluwer E-Sign", link: "/WoltersKluwer_E-Sign/index.html", target: "_blank" },
        { title: "Wolters Kluwer Hosted Expere (EDS)", link: "/WK-Hosted-Expere/index.html", target: "_blank" },
        { title: "Wolters Kluwer Self Hosted Expere (DGS)", link: "/dgs/index.html", target: "_blank" },
    );
        
    announcementContents.push(
        {
            type: "announcement",
            title: "&nbsp;&nbsp;Announcements",
            // If you have no announcements, the next line should read: mainContent: "",
            mainContent: "",
            bulletPoints: [
    
            ]
        },
    );

    cardContents.push(
        // {
        //     type: "",
        //     title: "",
        //     mainContent: "",
        //     bulletPoints: [
        //         "",
        //     ]
        // },
        // {
        //     type: "card",
        //     title: "&nbsp;&nbsp;We value your feedback!",
        //     mainContent: "<p>We're working hard to keep the <span class='productname'></span> line of products the industry standard!</p>" +
        //         "<p>If you would like to contact us directly, please leave your comments using one of the following links<br/>" +
        //         "<span class='subtext'>(opens in a new tab/window):</span></p>",
        //     bulletPoints: [
        //         "E-mail: <a href='mailto:ExpereIESupport@wolterskluwer.com' target='_blank'>ExpereIESupport@wolterskluwer.com</a>",
        //         // ""
        //     ]
        // },
        {
            type: "card",
            title: "&nbsp;&nbsp;Contact us!",
            mainContent: "<p>If you have any questions regarding this product, contact the Wolters Kluwer support team " +
                "by phone or e-mail. Support staff is available Monday through Friday, 7 A.M. to 7 P.M. Central. " +
                "Voice mail is available after hours and on weekends.</p>" +
                "<p>You can contact us directly through either of the following:</p>",
            bulletPoints: [
                "Tel: 1-800-274-2711, ext. 1126618",
                "E-mail: <a href='mailto:ExpereIESupport@wolterskluwer.com' target='_top'>ExpereIESupport@wolterskluwer.com</a>",
            ]
        },
    );
} else if (IsOneSumX) {
    myProduct = "OneSumX";
    myProductAbrev = "osx";
    landingPagePath = "/OneSumX/"
    productSummary = "provides Lorem ipsum dolor sit amet, consectetur adipiscing elit, " +
        "ed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Porttitor leo a diam " +
        "sollicitudin. Eget est lorem ipsum dolor. Mattis enim ut tellus elementum. Pellentesque " + 
        "dignissim enim sit amet venenatis urna.";
    showSearch = "true"  //Options: true or false
    display_showcase_image = "false"  //Options: true or false

    gettingStarted.push(
        {title: "Getting Started Guide", link: ""},
    );

    installationGuides.push(
        // { title: "Authoring Environment Installation Guide", link: "/Expere/Authoring/AuthoringEnvironmentInstallation/index.html" },
        // { title: "Engine Installation Guide", link: "/Expere/Authoring/EngineInstallation/index.html" },
    );
    
    implementationGuides.push(
        { title: "OneSumX Implementation Guide", link: "", 
          info: "" },
    );
    
    userGuides.push(
        { title: "OneSumX User Guide", link: "", 
          info: "" },
        { title: "OneSumX FAQs", link: "/OneSumX/FAQ/index.html", 
          info: "" },
    );

    featureGuides.push(
        // { title: "Expere - SmartSign Plus\u00AE Integration Guide (Work in Progress)", link: "/Expere/eOriginal/SmartSignPlus-FeatureGuide/index.html" },
        // { title: "eOriginal Quick Guide", link: "/Expere/eOriginal/QuickGuide/index.html" },
        // Add more as needed
    );

    releaseCalendars.push(
        // { title: "Expere Document Services / Expere EZ Config", link: "https://documentation.wolterskluwerfs.com/resources/calendars/EDSReleaseCalendar.html" },
    );

    releaseNotesCard.push({
        type: "release note",
        title: "&nbsp;&nbsp;Release Notes",
        items: [
            {
                title: "OneSumX Release Notes",
                link: "",
                info: "",
            },
        ]
    });

    announcementContents.push(
        {
            type: "announcement",
            title: "&nbsp;&nbsp;Announcements",
            // If you have no announcements, the next line should read: mainContent: "",
            mainContent: "",
            bulletPoints: [
    
            ]
        },
    );

    cardContents.push(
        // {
        //     type: "",
        //     title: "",
        //     mainContent: "",
        //     bulletPoints: [
        //         "",
        //     ]
        // },
        // {
        //     type: "card",
        //     title: "&nbsp;&nbsp;We value your feedback!",
        //     mainContent: "<p>We're working hard to keep the <span class='productname'></span> line of products the industry standard!</p>" +
        //         "<p>If you would like to contact us directly, please leave your comments using one of the following links<br/>" +
        //         "<span class='subtext'>(opens in a new tab/window):</span></p>",
        //     bulletPoints: [
        //         "<a href='/Resources/Feedback/index.php?app=dgs' target='_blank'>Document Generation Services Documentation Feedback</a>",
        //         // ""
        //     ]
        // },
        {
            type: "card",
            title: "&nbsp;&nbsp;Technical Support Questions",
            mainContent: "<p class='margin10'>If you have any questions regarding cases, the library, or technical support, contact our SupportLine team " +
                "by phone or e-mail. Support staff is available Monday through Friday, 7 A.M. to 7 P.M. Central Standard Time. " +
                "Voice mail is available after hours and on weekends.</p>" +
                "<p class='margin10'>You can contact us directly through either of the following:</p>",
            bulletPoints: [
                "Tel: 1-800-263-3111 Ext. 1124009",
                "E-mail: <a href='mailto:OneSumXRegManagerSupport@wolterskluwer.com' target='_top'>OneSumXRegManagerSupport@wolterskluwer.com</a>",
            ]
        },
        {
            type: "card",
            title: "&nbsp;&nbsp;Billing & Account Questions",
            mainContent: "<p class='margin10'>Do you have billing questions? Need to add or remove system users? " +
            "Please reach out to the Customer Support billing team at</p>",
            bulletPoints: [
                "Tel: 1-800-552-9410 Ext. 1123011",
                "E-mail: <a href='mailto:customersupportsecurities@wolterskluwer.com' target='_top'>customersupportsecurities@wolterskluwer.com</a>",
            ]
        },
    );

} else {
    // Default case if none of the conditions are met
    myProduct = "Unknown Product";
    productSummary = "No specific product identified.";
}
//#endregion 

//#region DocFeedback
// DocFeedback is currently not being used as we do not have feedback DBs
// DocFeedbackUrl = "/Resources/Feedback/index.php?app=" + myProductAbrev;
//#endregion


//#region Announcement Time variables
// Currently not in use
// var today = new Date().toLocaleString("en-US", { timeZone: "America/Chicago" });
// var announcementStart = new Date(2022, 03, 15).toLocaleString("en-US", { timeZone: "America/Chicago" });
// var announcementEnd = new Date(2022, 05, 22).toLocaleString("en-US", { timeZone: "America/Chicago" });
//#endregion

//#region Export the variables for use in other scripts
// DO NOT MODIFY
if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {
    module.exports = lpExternalVariables
};
//#endregion




















