// 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/");
const IsDevTemplate = href.includes("/landingpages/html-template/");
// #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 || IsDevTemplate) {
    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(
        
    );

    featureGuides.push(

    );

    releaseCalendars.push(
        
    );

    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(
        
    );
    
    userGuides.push(
        // { title: "Data Dictionary Viewer User Guide", link: "/Expere/Authoring/DV/index.html" },
        { title: "Data Dictionary Viewer User Guide", 
          link: "/Expere/Authoring/DV/index.html" },
        { title: "Repository Merge User Guide", 
          link: "/Expere/Authoring/RepositoryMerge4/index.html" },
        { title: "Requirements DiffMerge User Guide", 
          link: "/Expere/Authoring/RDM/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(
        
    );

    landingPages.push(
        
    );

    releaseNotesCard.push({
      type: "release note",
      title: "&nbsp;&nbsp;Release Notes",
      items: [
          {
              title: "Authoring Tools Release Notes",
              link: "/Expere/Authoring/ReleaseNotes/index.html",
              info: "Contains combined release note information for all authoring tools.",
          },
          {
            title: "Authoring Tools Release Notes Archive",
            link: "/Expere/Authoring/ReleaseNotesArchive/index.html",
            info: "",
          },
          {
            title: "Expere Engine Changelog (related documentation)",
            link: "/Expere/Engine/Change-Log/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(
    );

    installUpgradeGuides.push(
        { title: "DGS OD Install Guide", 
          link: "/DGS/OD-Installation-Guide/index.html?audience=installed", 
          info: "" },
        { title: "Expere EZ Config Packages and Packets OD Install Guide", 
          link: "/ExpereEZConfig/EZGateway/OD-Installation-Guide/index.html?audience=installed", 
          info: "" },
        { title: "Expere EZ Config Packages and Packets OD Install Guide", 
          link: "/ExpereEZConfig/DefaultData/OD-InstallGuide/index.html?audience=installed", 
          info: "" },
        { title: "Expere EZ Gateway OD Install Guide", 
          link: "/ExpereEZConfig/EZGateway/OD-Installation-Guide/index.html?audience=installed", 
          info: "" },
          { title: "Expere EZ Config Packages and Packets Upgrade Guide", 
          link: "/ExpereEZConfig/PackagesAndPackets/UpgradeGuide/index.html", 
          info: "" },
        { title: "Expere EZ Config Default Data Upgrade Guide", 
          link: "/ExpereEZConfig/DefaultData/UpgradeGuide/index.html", 
          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", 
          info: "" },
        { title: "Expere EZ Config Default Data Web Services Guide", 
          link: "/ExpereEZConfig/DefaultData/WebServicesGuide/index.html?audience=installed", 
          info: "" },
        { title: "Expere EZ Gateway Web Services Guide", 
          link: "/ExpereEZConfig/EZGateway/WebServices/index.html?audience=installed", 
          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", 
          info: "" },
        { title: "Expere EZ Config Default Data User Guide", 
          link: "/ExpereEZConfig/DefaultData/UserGuide/index.html?audience=integrator", 
          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",
                info: "",
            },
            {
                title: "Expere EZ Config Consolidated Changelog",
                link: "/ExpereEZConfig/ChangeLog/index.html",
                info: "",
            }
        ]
    });

    announcementContents.push(
      {
          type: "announcement",
          title: "&nbsp;&nbsp;Announcements",
          mainContent: 
          "<p><span style='font-weight:700'>XPath 1.0 compatibility Mode to be disabled</span><br/>" +
          "XPath Compatibility is a function that evaluates the transaction and logic within Expere .REQ files " +
          "(Requirements files that comprise Wolters Kluwer content) during document generation. Users can leverage " +
          "the current rule processing logic to determine whether to specify a specific instance of a datapoint within " +
          "a collection container. If so, this results in always using the first instance of the value, specifically " +
          "if duplicate data in a transaction exists. This could happen as a result of duplicate data in the transaction " +
          "or the PTR logic not specifying the specific instance to use. Our internal log files can identify when XPath " +
          "1.0 Compatibility mode logic is triggered. Wolters Kluwer will be disabling XPath 1.0 Compatibility Mode.</p>" +
          "<p><span style='font-weight:700'>When will this change occur?</span><br/>" +
          "This change will be implemented in the July release.</p>" +
          "<p>For more information, see <a href='/DGS/Change-Log/dgs_Features.html' target='_blank'>" +
          "Document Generation Services Changelog Features > XPath 1.0 Compatibility Mode</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 (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 = "true";  //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/DV/index.html", 
          info: "" },
        { title: "DocViewer User Guide", 
          link: "/DocViewer/UserGuide/index.html", 
          info: "" },
        { title: "eOriginal Quick Guide", 
          link: "/Expere/eOriginal/QuickGuide/index.html", 
          info: "" },
    );

    announcementContents.push(
      {
          type: "announcement",
          title: "&nbsp;&nbsp;Announcements",
          mainContent: 
          "<p><span style='font-weight:700'>XPath 1.0 compatibility Mode to be disabled</span><br/>" +
          "XPath Compatibility is a function that evaluates the transaction and logic within Expere .REQ files " +
          "(Requirements files that comprise Wolters Kluwer content) during document generation. Users can leverage " +
          "the current rule processing logic to determine whether to specify a specific instance of a datapoint within " +
          "a collection container. If so, this results in always using the first instance of the value, specifically " +
          "if duplicate data in a transaction exists. This could happen as a result of duplicate data in the transaction " +
          "or the PTR logic not specifying the specific instance to use. Our internal log files can identify when XPath " +
          "1.0 Compatibility mode logic is triggered. Wolters Kluwer will be disabling XPath 1.0 Compatibility Mode.</p>" +
          "<p><span style='font-weight:700'>When will this change occur?</span><br/>" +
          "This change will be implemented in the 2025 Q3 release (targeted for August).</p>" +
          "<p>For more information, see <a href='/Expere/Engine/Change-Log/exp_change-log-features.html' target='_blank'>" +
          "Expere Engine Changelog Features > XPath 1.0 Compatibility Mode</a></p>",
          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 = "true"  //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 = "true"  //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 = "Wolters Kluwer Hosted Expere";
    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: "Expere Overview Guide", 
         link: "/Expere/Arch-Workflow/Overview-Guide/index.html", 
         info: "Intro to Expere and workflow processes and 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", 
          info: "" },
        { title: "EZ Config Default Data User Guide", 
          link: "/ExpereEZConfig/DefaultData/UserGuide/index.html" + "?audience=hosted",
          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://tst-expere-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" + "?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><span style='font-weight:700'>XPath 1.0 compatibility Mode to be disabled</span><br/>" +
          "XPath Compatibility is a function that evaluates the transaction and logic within Expere .REQ files " +
          "(Requirements files that comprise Wolters Kluwer content) during document generation. Users can leverage " +
          "the current rule processing logic to determine whether to specify a specific instance of a datapoint within " +
          "a collection container. If so, this results in always using the first instance of the value, specifically " +
          "if duplicate data in a transaction exists. This could happen as a result of duplicate data in the transaction " +
          "or the PTR logic not specifying the specific instance to use. Our internal log files can identify when XPath " +
          "1.0 Compatibility mode logic is triggered. Wolters Kluwer will be disabling XPath 1.0 Compatibility Mode.</p>" +
          "<p><span style='font-weight:700'>When will this change occur?</span><br/>" +
          "This change will be implemented in April in the Customer Test environment and July in the Production environment.</p>" +
          "<p>For more information, see <a href='/WK-Hosted-Expere/Change-Log/topics/eds_features.html' target='_blank'>" +
          "Hosted Expere Changelog Features > XPath 1.0 Compatibility Mode</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























