CINXE.COM
Login - BofA Markets
<!DOCTYPE html> <html class="ltr" dir="ltr" lang="en-US"> <head> <script type="text/javascript" src="https://static.markets.ml.com/public/ruxitagentjs_ICA2NVfhqru_10215210506134511.js" data-dtconfig="app=4ce1d95bdc4165dd|cuc=onze9pd6|mel=100000|featureHash=ICA2NVfhqru|dpvc=1|md=mdcc1=ameta[name^e'DCSext.UserId']@content|ssv=4|lastModification=1731719140322|tp=500,50,0,1|rdnt=0|uxrgce=1|bp=3|agentUri=/public/ruxitagentjs_ICA2NVfhqru_10215210506134511.js|reportUrl=/public/rb_748b41eb-2be2-420c-a59d-e171915078b6|rid=RID_-1729392817|rpid=-432394539|domain=ml.com"></script><script src="https://cdn.cookielaw.org/consent/a0766008-8385-4b85-a0b5-48dcec0e2b93/otSDKStub.js" data-document-language="true" type="text/javascript" charset="UTF-8" data-domain-script="a0766008-8385-4b85-a0b5-48dcec0e2b93" integrity="sha384-5aZY+v7gya8Q12uGYtFytxyFyFHfOLRHMCZuLs1NR/nvFL3fCe73NYBwcwQN9lQQ" crossorigin="anonymous"></script> <script src="https://static.markets.ml.com/o/mercury_dxp_theme/js/launchBanner.js.pagespeed.jm.NCGkflcGW-.js" type="text/javascript"></script> <script> var enableEprivacy = "true"; var enableMU = "true"; var isUnblock = false; var isUnblockWT = false; $(window).on('load', function() { isUnblock = (("undefined" != typeof(OnetrustActiveGroups) && null != OnetrustActiveGroups && -1<OnetrustActiveGroups.indexOf('C0002')) || ("false"==enableEprivacy)) if("true"==enableMU){ isUnblockWT=true; }else{ isUnblockWT=isUnblock; } }); </script> <script> if("undefined" != typeof(OnetrustActiveGroups) && null != OnetrustActiveGroups && -1==OnetrustActiveGroups.indexOf('C0002')){ } </script> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Login - BofA Markets</title> <meta content="text/html; charset=UTF-8" http-equiv="content-type"/> <script type="importmap">{"imports":{"react-dom":"/o/frontend-js-react-web/__liferay__/exports/react-dom.js","@clayui/breadcrumb":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$breadcrumb.js","@clayui/form":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$form.js","@clayui/popover":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$popover.js","@clayui/charts":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$charts.js","@clayui/shared":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$shared.js","@clayui/localized-input":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$localized-input.js","@clayui/modal":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$modal.js","@clayui/empty-state":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$empty-state.js","react":"/o/frontend-js-react-web/__liferay__/exports/react.js","@clayui/navigation-bar":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$navigation-bar.js","@clayui/color-picker":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$color-picker.js","@clayui/pagination":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$pagination.js","@clayui/icon":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$icon.js","@clayui/table":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$table.js","@clayui/autocomplete":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$autocomplete.js","@clayui/slider":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$slider.js","@clayui/management-toolbar":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$management-toolbar.js","@clayui/multi-select":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$multi-select.js","@clayui/nav":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$nav.js","@clayui/time-picker":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$time-picker.js","@clayui/provider":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$provider.js","@clayui/upper-toolbar":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$upper-toolbar.js","@clayui/panel":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$panel.js","@clayui/loading-indicator":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$loading-indicator.js","@clayui/list":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$list.js","@clayui/drop-down":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$drop-down.js","@clayui/date-picker":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$date-picker.js","@clayui/label":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$label.js","@clayui/data-provider":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$data-provider.js","@liferay/frontend-js-api/data-set":"/o/frontend-js-dependencies-web/__liferay__/exports/@liferay$js-api$data-set.js","@clayui/core":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$core.js","@clayui/pagination-bar":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$pagination-bar.js","@clayui/layout":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$layout.js","@clayui/multi-step-nav":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$multi-step-nav.js","@liferay/frontend-js-api":"/o/frontend-js-dependencies-web/__liferay__/exports/@liferay$js-api.js","@clayui/toolbar":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$toolbar.js","@clayui/css":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$css.js","@clayui/badge":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$badge.js","@clayui/alert":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$alert.js","@clayui/link":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$link.js","@clayui/card":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$card.js","@clayui/progress-bar":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$progress-bar.js","@clayui/tooltip":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$tooltip.js","@clayui/button":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$button.js","@clayui/tabs":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$tabs.js","@clayui/sticker":"/o/frontend-taglib-clay/__liferay__/exports/@clayui$sticker.js"},"scopes":{}}</script><script data-senna-track="temporary">var Liferay = window.Liferay || {};Liferay.Icons = Liferay.Icons || {};Liferay.Icons.controlPanelSpritemap = 'https://markets.ml.com/o/admin-theme/images/clay/icons.svg';Liferay.Icons.spritemap = 'https://markets.ml.com/o/mercury_dxp_theme/images/clay/icons.svg';</script> <link data-senna-track="temporary" href="https://markets.ml.com/v2/login_page" rel="canonical"/> <link data-senna-track="temporary" href="https://markets.ml.com/zh/v2/login_page" hreflang="zh-CN" rel="alternate"/> <link data-senna-track="temporary" href="https://markets.ml.com/es/v2/login_page" hreflang="es-ES" rel="alternate"/> <link data-senna-track="temporary" href="https://markets.ml.com/sv/v2/login_page" hreflang="sv-SE" rel="alternate"/> <link data-senna-track="temporary" href="https://markets.ml.com/ja/v2/login_page" hreflang="ja-JP" rel="alternate"/> <link data-senna-track="temporary" href="https://markets.ml.com/nl/v2/login_page" hreflang="nl-NL" rel="alternate"/> <link data-senna-track="temporary" href="https://markets.ml.com/hu/v2/login_page" hreflang="hu-HU" rel="alternate"/> <link data-senna-track="temporary" href="https://markets.ml.com/ar/v2/login_page" hreflang="ar-SA" rel="alternate"/> <link data-senna-track="temporary" href="https://markets.ml.com/pt/v2/login_page" hreflang="pt-BR" rel="alternate"/> <link data-senna-track="temporary" href="https://markets.ml.com/de/v2/login_page" hreflang="de-DE" rel="alternate"/> <link data-senna-track="temporary" href="https://markets.ml.com/ca/v2/login_page" hreflang="ca-ES" rel="alternate"/> <link data-senna-track="temporary" href="https://markets.ml.com/fi/v2/login_page" hreflang="fi-FI" rel="alternate"/> <link data-senna-track="temporary" href="https://markets.ml.com/fr/v2/login_page" hreflang="fr-FR" rel="alternate"/> <link data-senna-track="temporary" href="https://markets.ml.com/v2/login_page" hreflang="en-US" rel="alternate"/> <link data-senna-track="temporary" href="https://markets.ml.com/v2/login_page" hreflang="x-default" rel="alternate"/> <meta property="og:locale" content="en_US"> <meta property="og:locale:alternate" content="en_US"> <meta property="og:locale:alternate" content="ar_SA"> <meta property="og:locale:alternate" content="ca_ES"> <meta property="og:locale:alternate" content="zh_CN"> <meta property="og:locale:alternate" content="nl_NL"> <meta property="og:locale:alternate" content="fi_FI"> <meta property="og:locale:alternate" content="fr_FR"> <meta property="og:locale:alternate" content="de_DE"> <meta property="og:locale:alternate" content="hu_HU"> <meta property="og:locale:alternate" content="ja_JP"> <meta property="og:locale:alternate" content="pt_BR"> <meta property="og:locale:alternate" content="es_ES"> <meta property="og:locale:alternate" content="sv_SE"> <meta property="og:site_name" content="Liferay DXP"> <meta property="og:title" content="Beta-Login - Liferay DXP"> <meta property="og:type" content="website"> <meta property="og:url" content="https://markets.ml.com/v2/login_page"> <link href="https://static.markets.ml.com/o/mercury_dxp_theme/images/favicon.ico" rel="apple-touch-icon"/> <link href="https://static.markets.ml.com/o/mercury_dxp_theme/images/favicon.ico" rel="icon"/> <link class="lfr-css-file" data-senna-track="temporary" href="https://static.markets.ml.com/o/mercury_dxp_theme/css/A.clay.css,qbrowserId=ie,athemeId=mercury_dxp_theme_WAR_mercury_dxp_theme,alanguageId=en_US,at=1732053450000.pagespeed.cf.qp2YifJLYm.css" id="liferayAUICSS" rel="stylesheet" type="text/css"/> <link href="https://static.markets.ml.com/o/analytics-reports-web/css/main.css?browserId=ie&themeId=mercury_dxp_theme_WAR_mercury_dxp_theme&languageId=en_US&t=1692976994000" rel="stylesheet" type="text/css" data-senna-track="temporary" id="8640ecc4"/> <link href="https://static.markets.ml.com/o/journal-content-web/css/main.css?browserId=ie&themeId=mercury_dxp_theme_WAR_mercury_dxp_theme&languageId=en_US&t=1691638834000" rel="stylesheet" type="text/css" data-senna-track="temporary" id="a2e838f8"/> <link href="https://static.markets.ml.com/o/portal-search-web/css/main.css?browserId=ie&themeId=mercury_dxp_theme_WAR_mercury_dxp_theme&languageId=en_US&t=1692930182000" rel="stylesheet" type="text/css" data-senna-track="temporary" id="9d43cc3a"/> <link href="https://static.markets.ml.com/o/product-navigation-product-menu-web/css/main.css?browserId=ie&themeId=mercury_dxp_theme_WAR_mercury_dxp_theme&languageId=en_US&t=1693502018000" rel="stylesheet" type="text/css" data-senna-track="temporary" id="4f2591f"/> <link href="https://static.markets.ml.com/o/com.liferay.product.navigation.user.personal.bar.web/css/main.css?browserId=ie&themeId=mercury_dxp_theme_WAR_mercury_dxp_theme&languageId=en_US&t=1692928128000" rel="stylesheet" type="text/css" data-senna-track="temporary" id="7d534399"/> <link href="https://static.markets.ml.com/o/site-navigation-menu-web/css/main.css?browserId=ie&themeId=mercury_dxp_theme_WAR_mercury_dxp_theme&languageId=en_US&t=1692928204000" rel="stylesheet" type="text/css" data-senna-track="temporary" id="1bfa6081"/> <script data-senna-track="temporary" type="text/javascript"> // <![CDATA[ var Liferay = Liferay || {}; Liferay.Browser = { acceptsGzip: function() { return true; }, getMajorVersion: function() { return 7.0; }, getRevision: function() { return '7.0'; }, getVersion: function() { return '7.0'; }, isAir: function() { return false; }, isChrome: function() { return false; }, isEdge: function() { return false; }, isFirefox: function() { return false; }, isGecko: function() { return false; }, isIe: function() { return true; }, isIphone: function() { return false; }, isLinux: function() { return false; }, isMac: function() { return false; }, isMobile: function() { return false; }, isMozilla: function() { return false; }, isOpera: function() { return false; }, isRtf: function() { return true; }, isSafari: function() { return false; }, isSun: function() { return false; }, isWebKit: function() { return false; }, isWindows: function() { return true; } }; Liferay.Data = Liferay.Data || {}; Liferay.Data.ICONS_INLINE_SVG = true; Liferay.Data.NAV_SELECTOR = '#navigation'; Liferay.Data.NAV_SELECTOR_MOBILE = '#navigationCollapse'; Liferay.Data.isCustomizationView = function() { return false; }; Liferay.Data.notices = [ ]; (function () { var available = {}; var direction = {}; available['en_US'] = 'English\x20\x28United\x20States\x29'; direction['en_US'] = 'ltr'; available['ar_SA'] = 'Arabic\x20\x28Saudi\x20Arabia\x29'; direction['ar_SA'] = 'rtl'; available['ca_ES'] = 'Catalan\x20\x28Spain\x29'; direction['ca_ES'] = 'ltr'; available['zh_CN'] = 'Chinese\x20\x28China\x29'; direction['zh_CN'] = 'ltr'; available['nl_NL'] = 'Dutch\x20\x28Netherlands\x29'; direction['nl_NL'] = 'ltr'; available['fi_FI'] = 'Finnish\x20\x28Finland\x29'; direction['fi_FI'] = 'ltr'; available['fr_FR'] = 'French\x20\x28France\x29'; direction['fr_FR'] = 'ltr'; available['de_DE'] = 'German\x20\x28Germany\x29'; direction['de_DE'] = 'ltr'; available['hu_HU'] = 'Hungarian\x20\x28Hungary\x29'; direction['hu_HU'] = 'ltr'; available['ja_JP'] = 'Japanese\x20\x28Japan\x29'; direction['ja_JP'] = 'ltr'; available['pt_BR'] = 'Portuguese\x20\x28Brazil\x29'; direction['pt_BR'] = 'ltr'; available['es_ES'] = 'Spanish\x20\x28Spain\x29'; direction['es_ES'] = 'ltr'; available['sv_SE'] = 'Swedish\x20\x28Sweden\x29'; direction['sv_SE'] = 'ltr'; Liferay.Language = { available, direction, get: function(key) { return key; } }; })(); var featureFlags = {"LPS-170122":false,"LPS-190890":false,"COMMERCE-9410":false,"LPS-172903":false,"LPS-178642":false,"LPS-187284":false,"LRAC-10632":false,"LPS-187285":false,"LPS-189187":false,"LPS-114786":false,"COMMERCE-8087":false,"LRAC-10757":false,"LPS-180090":false,"LPS-170809":false,"LPS-178052":false,"LPS-189856":false,"LPS-188645":false,"LPS-182184":false,"LPS-157670":false,"COMMERCE-11026":false,"LPS-180328":false,"COMMERCE-11028":false,"LPS-169923":false,"LPS-171364":false,"LPS-192282":false,"COMMERCE-11181":false,"LPS-153714":false,"COMMERCE-10890":false,"LPS-170670":false,"LPS-169981":false,"LPS-177664":false,"LPS-177027":false,"LPS-177668":false,"LPS-172416":false,"LPS-172017":false,"LPS-163118":false,"LPS-135430":false,"LPS-134060":false,"LPS-164563":false,"LPS-122920":false,"LPS-148856":false,"LPS-173135":false,"LPS-182728":false,"LPS-167253":false,"LPS-169992":false,"LPS-187142":false,"LPS-183498":false,"LRAC-14055":false,"LPS-187854":false,"LPS-179483":false,"LPS-166479":false,"LPS-165346":false,"LPS-144527":false,"COMMERCE-8949":false,"LPS-188060":false,"LPS-149256":false,"LPS-165482":false,"COMMERCE-11287":false,"LPS-174939":false,"LPS-174816":false,"LPS-186360":false,"LPS-189430":false,"LPS-153332":false,"LPS-179669":false,"LPS-174417":false,"LPS-183882":false,"LPS-155284":false,"LPS-186558":false,"LPS-176083":false,"LPS-158675":false,"LPS-184413":false,"LPS-184016":false,"LPS-180292":false,"LPS-159643":false,"LPS-161033":false,"LPS-164948":false,"LPS-184255":false,"LPS-129412":false,"LPS-183727":false,"LPS-166126":false,"LPS-182512":false,"LPS-187846":false,"LPS-186757":false}; Liferay.FeatureFlags = Object.keys(featureFlags).reduce( (acc, key) => ({ ...acc, [key]: featureFlags[key] === 'true' || featureFlags[key] === true }), {} ); Liferay.PortletKeys = { DOCUMENT_LIBRARY: 'com_liferay_document_library_web_portlet_DLPortlet', DYNAMIC_DATA_MAPPING: 'com_liferay_dynamic_data_mapping_web_portlet_DDMPortlet', ITEM_SELECTOR: 'com_liferay_item_selector_web_portlet_ItemSelectorPortlet' }; Liferay.PropsValues = { JAVASCRIPT_SINGLE_PAGE_APPLICATION_TIMEOUT: 0, UPLOAD_SERVLET_REQUEST_IMPL_MAX_SIZE: 504857600 }; Liferay.ThemeDisplay = { getLayoutId: function() { return '28'; }, getLayoutRelativeControlPanelURL: function() { return '/group/dxp/~/control_panel/manage'; }, getLayoutRelativeURL: function() { return '/v2/login_page'; }, getLayoutURL: function() { return 'https://markets.ml.com/v2/login_page'; }, getParentLayoutId: function() { return '0'; }, isControlPanel: function() { return false; }, isPrivateLayout: function() { return 'false'; }, isVirtualLayout: function() { return false; }, getBCP47LanguageId: function() { return 'en-US'; }, getCanonicalURL: function() { return 'https\x3a\x2f\x2fmarkets\x2eml\x2ecom\x2fv2\x2flogin_page'; }, getCDNBaseURL: function() { return 'https://markets.ml.com'; }, getCDNDynamicResourcesHost: function() { return ''; }, getCDNHost: function() { return ''; }, getCompanyGroupId: function() { return '20123'; }, getCompanyId: function() { return '20097'; }, getDefaultLanguageId: function() { return 'en_US'; }, getDoAsUserIdEncoded: function() { return ''; }, getLanguageId: function() { return 'en_US'; }, getParentGroupId: function() { return '20121'; }, getPathContext: function() { return ''; }, getPathImage: function() { return '/image'; }, getPathJavaScript: function() { return '/o/frontend-js-web'; }, getPathMain: function() { return '/c'; }, getPathThemeImages: function() { return 'https://markets.ml.com/o/mercury_dxp_theme/images'; }, getPathThemeRoot: function() { return '/o/mercury_dxp_theme'; }, getPlid: function() { return '35'; }, getPortalURL: function() { return 'https://markets.ml.com'; }, getRealUserId: function() { return '20101'; }, getRemoteAddr: function() { return '171.161.60.93'; }, getRemoteHost: function() { return '171.161.60.93'; }, getScopeGroupId: function() { return '20121'; }, getScopeGroupIdOrLiveGroupId: function() { return '20121'; }, getSessionId: function() { return ''; }, getSiteAdminURL: function() { return 'https://markets.ml.com/group/dxp/~/control_panel/manage?p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view'; }, getSiteGroupId: function() { return '20121'; }, getURLControlPanel: function() { return '/group/control_panel?refererPlid=35'; }, getURLHome: function() { return 'https\x3a\x2f\x2fmarkets\x2eml\x2ecom\x2fweb\x2fdxp\x2fhome'; }, getUserEmailAddress: function() { return ''; }, getUserId: function() { return '20101'; }, getUserName: function() { return ''; }, isAddSessionIdToURL: function() { return false; }, isImpersonated: function() { return false; }, isSignedIn: function() { return false; }, isStagedPortlet: function() { return false; }, isStateExclusive: function() { return false; }, isStateMaximized: function() { return false; }, isStatePopUp: function() { return false; } }; var themeDisplay = Liferay.ThemeDisplay; Liferay.AUI = { getCombine: function() { return true; }, getComboPath: function() { return '/combo/?browserId=ie&minifierType=&languageId=en_US&t=1693511766786&'; }, getDateFormat: function() { return '%m/%d/%Y'; }, getEditorCKEditorPath: function() { return '/o/frontend-editor-ckeditor-web'; }, getFilter: function() { var filter = 'raw'; filter = 'min'; return filter; }, getFilterConfig: function() { var instance = this; var filterConfig = null; if (!instance.getCombine()) { filterConfig = { replaceStr: '.js' + instance.getStaticResourceURLParams(), searchExp: '\\.js$' }; } return filterConfig; }, getJavaScriptRootPath: function() { return '/o/frontend-js-web'; }, getPortletRootPath: function() { return '/html/portlet'; }, getStaticResourceURLParams: function() { return '?browserId=ie&minifierType=&languageId=en_US&t=1693511766786'; } }; Liferay.authToken = 'SFhNtcJN'; Liferay.currentURL = '\x2fv2\x2flogin_page\x3fresumePath\x3dhttps\x253A\x252F\x252Ffedsso\x2eml\x2ecom\x252Fas\x252FV8KFlRr1ha\x252Fresume\x252Fas\x252Fauthorization\x2eping\x26vnd_pi_requested_resource\x3dhttps\x253A\x252F\x252Fmarkets\x2eml\x2ecom\x252Fhome\x26vnd_pi_application_name\x3dA2521MercuryPortalAPI\x26client_id\x3dA2521MercuryPortalAPI'; Liferay.currentURLEncoded = '\x252Fv2\x252Flogin_page\x253FresumePath\x253Dhttps\x25253A\x25252F\x25252Ffedsso\x2eml\x2ecom\x25252Fas\x25252FV8KFlRr1ha\x25252Fresume\x25252Fas\x25252Fauthorization\x2eping\x2526vnd_pi_requested_resource\x253Dhttps\x25253A\x25252F\x25252Fmarkets\x2eml\x2ecom\x25252Fhome\x2526vnd_pi_application_name\x253DA2521MercuryPortalAPI\x2526client_id\x253DA2521MercuryPortalAPI'; // ]]> </script> <script data-senna-track="temporary" type="text/javascript">window.__CONFIG__= {basePath: '',combine: true, defaultURLParams: null, explainResolutions: false, exposeGlobal: false, logLevel: 'warn', moduleType: 'module', namespace:'Liferay', reportMismatchedAnonymousModules: 'warn', resolvePath: '/o/js_resolve_modules/64459c21-3318-48fb-b858-2d3cf8284b95', url: '/combo/?browserId=ie&minifierType=js&languageId=en_US&t=1693511766786&', waitTimeout: 60000};</script><script data-senna-track="permanent" src="https://static.markets.ml.com/o/frontend-js-loader-modules-extender/loader.js?&mac=kuyYLzgmJRuntKLenfFpZdHstco=&browserId=ie&languageId=en_US&minifierType=js" type="text/javascript"></script><script data-senna-track="permanent" src="https://static.markets.ml.com/combo?browserId=ie&minifierType=js&languageId=en_US&t=1693511766786&/o/frontend-js-aui-web/aui/aui/aui-min.js&/o/frontend-js-aui-web/liferay/modules.js&/o/frontend-js-aui-web/liferay/aui_sandbox.js&/o/frontend-js-aui-web/aui/attribute-base/attribute-base-min.js&/o/frontend-js-aui-web/aui/attribute-complex/attribute-complex-min.js&/o/frontend-js-aui-web/aui/attribute-core/attribute-core-min.js&/o/frontend-js-aui-web/aui/attribute-observable/attribute-observable-min.js&/o/frontend-js-aui-web/aui/attribute-extras/attribute-extras-min.js&/o/frontend-js-aui-web/aui/event-custom-base/event-custom-base-min.js&/o/frontend-js-aui-web/aui/event-custom-complex/event-custom-complex-min.js&/o/frontend-js-aui-web/aui/oop/oop-min.js&/o/frontend-js-aui-web/aui/aui-base-lang/aui-base-lang-min.js&/o/frontend-js-aui-web/liferay/dependency.js&/o/frontend-js-aui-web/liferay/util.js&/o/oauth2-provider-web/js/liferay.js&/o/frontend-js-web/liferay/dom_task_runner.js&/o/frontend-js-web/liferay/events.js&/o/frontend-js-web/liferay/lazy_load.js&/o/frontend-js-web/liferay/liferay.js&/o/frontend-js-web/liferay/global.bundle.js&/o/frontend-js-web/liferay/portlet.js&/o/frontend-js-web/liferay/workflow.js" type="text/javascript"></script> <script data-senna-track="temporary" type="text/javascript">window.Liferay = Liferay || {}; window.Liferay.OAuth2 = {getAuthorizeURL: function() {return 'https://markets.ml.com/o/oauth2/authorize';}, getBuiltInRedirectURL: function() {return 'https://markets.ml.com/o/oauth2/redirect';}, getIntrospectURL: function() { return 'https://markets.ml.com/o/oauth2/introspect';}, getTokenURL: function() {return 'https://markets.ml.com/o/oauth2/token';}, getUserAgentApplication: function(externalReferenceCode) {return Liferay.OAuth2._userAgentApplications[externalReferenceCode];}, _userAgentApplications: {}}</script><script data-senna-track="temporary" type="text/javascript">try {var MODULE_MAIN='commerce-product-content-web@4.0.101/index';var MODULE_PATH='/o/commerce-product-content-web';AUI().applyConfig({groups:{productcontent:{base:MODULE_PATH+"/js/",combine:Liferay.AUI.getCombine(),modules:{"liferay-commerce-product-content":{path:"product_content.js",requires:["aui-base","aui-io-request","aui-parse-content","liferay-portlet-base","liferay-portlet-url"]}},root:MODULE_PATH+"/js/"}}}); } catch(error) {console.error(error);}try {var MODULE_MAIN='commerce-frontend-impl@4.0.48/index';var MODULE_PATH='/o/commerce-frontend-impl';AUI().applyConfig({groups:{commercefrontend:{base:MODULE_PATH+"/js/",combine:Liferay.AUI.getCombine(),modules:{"liferay-commerce-frontend-management-bar-state":{condition:{trigger:"liferay-management-bar"},path:"management_bar_state.js",requires:["liferay-management-bar"]}},root:MODULE_PATH+"/js/"}}}); } catch(error) {console.error(error);}try {var MODULE_MAIN='journal-web@5.0.150/index';var MODULE_PATH='/o/journal-web';AUI().applyConfig({groups:{journal:{base:MODULE_PATH+"/js/",combine:Liferay.AUI.getCombine(),filter:Liferay.AUI.getFilterConfig(),modules:{"liferay-journal-navigation":{path:"navigation.js",requires:["aui-component","liferay-portlet-base","liferay-search-container"]},"liferay-portlet-journal":{path:"main.js",requires:["aui-base","liferay-portlet-base","liferay-util-window"]}},root:MODULE_PATH+"/js/"}}}); } catch(error) {console.error(error);}try {var MODULE_MAIN='portal-workflow-task-web@5.0.61/index';var MODULE_PATH='/o/portal-workflow-task-web';AUI().applyConfig({groups:{workflowtasks:{base:MODULE_PATH+"/js/",combine:Liferay.AUI.getCombine(),filter:Liferay.AUI.getFilterConfig(),modules:{"liferay-workflow-tasks":{path:"main.js",requires:["liferay-util-window"]}},root:MODULE_PATH+"/js/"}}}); } catch(error) {console.error(error);}try {var MODULE_MAIN='invitation-invite-members-web@5.0.28/index';var MODULE_PATH='/o/invitation-invite-members-web';AUI().applyConfig({groups:{"invite-members":{base:MODULE_PATH+"/invite_members/js/",combine:Liferay.AUI.getCombine(),filter:Liferay.AUI.getFilterConfig(),modules:{"liferay-portlet-invite-members":{path:"main.js",requires:["aui-base","autocomplete-base","datasource-io","datatype-number","liferay-portlet-base","liferay-util-window","node-core"]}},root:MODULE_PATH+"/invite_members/js/"}}}); } catch(error) {console.error(error);}try {var MODULE_MAIN='portal-search-web@6.0.113/index';var MODULE_PATH='/o/portal-search-web';AUI().applyConfig({groups:{search:{base:MODULE_PATH+"/js/",combine:Liferay.AUI.getCombine(),filter:Liferay.AUI.getFilterConfig(),modules:{"liferay-search-bar":{path:"search_bar.js",requires:[]},"liferay-search-custom-filter":{path:"custom_filter.js",requires:[]},"liferay-search-facet-util":{path:"facet_util.js",requires:[]},"liferay-search-modified-facet":{path:"modified_facet.js",requires:["aui-form-validator","liferay-search-facet-util"]},"liferay-search-modified-facet-configuration":{path:"modified_facet_configuration.js",requires:["aui-node"]},"liferay-search-sort-configuration":{path:"sort_configuration.js",requires:["aui-node"]},"liferay-search-sort-util":{path:"sort_util.js",requires:[]}},root:MODULE_PATH+"/js/"}}}); } catch(error) {console.error(error);}try {var MODULE_MAIN='exportimport-web@5.0.75/index';var MODULE_PATH='/o/exportimport-web';AUI().applyConfig({groups:{exportimportweb:{base:MODULE_PATH+"/",combine:Liferay.AUI.getCombine(),filter:Liferay.AUI.getFilterConfig(),modules:{"liferay-export-import-export-import":{path:"js/main.js",requires:["aui-datatype","aui-dialog-iframe-deprecated","aui-modal","aui-parse-content","aui-toggler","liferay-portlet-base","liferay-util-window"]}},root:MODULE_PATH+"/"}}}); } catch(error) {console.error(error);}try {var MODULE_MAIN='contacts-web@5.0.51/index';var MODULE_PATH='/o/contacts-web';AUI().applyConfig({groups:{contactscenter:{base:MODULE_PATH+"/js/",combine:Liferay.AUI.getCombine(),filter:Liferay.AUI.getFilterConfig(),modules:{"liferay-contacts-center":{path:"main.js",requires:["aui-io-plugin-deprecated","aui-toolbar","autocomplete-base","datasource-io","json-parse","liferay-portlet-base","liferay-util-window"]}},root:MODULE_PATH+"/js/"}}}); } catch(error) {console.error(error);}try {var MODULE_MAIN='@liferay/document-library-web@6.0.162/document_library/js/index';var MODULE_PATH='/o/document-library-web';AUI().applyConfig({groups:{dl:{base:MODULE_PATH+"/document_library/js/legacy/",combine:Liferay.AUI.getCombine(),filter:Liferay.AUI.getFilterConfig(),modules:{"document-library-upload-component":{path:"DocumentLibraryUpload.js",requires:["aui-component","aui-data-set-deprecated","aui-overlay-manager-deprecated","aui-overlay-mask-deprecated","aui-parse-content","aui-progressbar","aui-template-deprecated","liferay-search-container","querystring-parse-simple","uploader"]}},root:MODULE_PATH+"/document_library/js/legacy/"}}}); } catch(error) {console.error(error);}try {var MODULE_MAIN='@liferay/frontend-taglib@12.3.4/index';var MODULE_PATH='/o/frontend-taglib';AUI().applyConfig({groups:{"frontend-taglib":{base:MODULE_PATH+"/",combine:Liferay.AUI.getCombine(),filter:Liferay.AUI.getFilterConfig(),modules:{"liferay-management-bar":{path:"management_bar/js/management_bar.js",requires:["aui-component","liferay-portlet-base"]},"liferay-sidebar-panel":{path:"sidebar_panel/js/sidebar_panel.js",requires:["aui-base","aui-debounce","aui-parse-content","liferay-portlet-base"]}},root:MODULE_PATH+"/"}}}); } catch(error) {console.error(error);}try {var MODULE_MAIN='frontend-editor-alloyeditor-web@5.0.41/index';var MODULE_PATH='/o/frontend-editor-alloyeditor-web';AUI().applyConfig({groups:{alloyeditor:{base:MODULE_PATH+"/js/",combine:Liferay.AUI.getCombine(),filter:Liferay.AUI.getFilterConfig(),modules:{"liferay-alloy-editor":{path:"alloyeditor.js",requires:["aui-component","liferay-portlet-base","timers"]},"liferay-alloy-editor-source":{path:"alloyeditor_source.js",requires:["aui-debounce","liferay-fullscreen-source-editor","liferay-source-editor","plugin"]}},root:MODULE_PATH+"/js/"}}}); } catch(error) {console.error(error);}try {var MODULE_MAIN='staging-processes-web@5.0.48/index';var MODULE_PATH='/o/staging-processes-web';AUI().applyConfig({groups:{stagingprocessesweb:{base:MODULE_PATH+"/",combine:Liferay.AUI.getCombine(),filter:Liferay.AUI.getFilterConfig(),modules:{"liferay-staging-processes-export-import":{path:"js/main.js",requires:["aui-datatype","aui-dialog-iframe-deprecated","aui-modal","aui-parse-content","aui-toggler","liferay-portlet-base","liferay-util-window"]}},root:MODULE_PATH+"/"}}}); } catch(error) {console.error(error);}try {var MODULE_MAIN='portal-workflow-kaleo-designer-web@5.0.114/index';var MODULE_PATH='/o/portal-workflow-kaleo-designer-web';AUI().applyConfig({groups:{"kaleo-designer":{base:MODULE_PATH+"/designer/js/legacy/",combine:Liferay.AUI.getCombine(),filter:Liferay.AUI.getFilterConfig(),modules:{"liferay-kaleo-designer-autocomplete-util":{path:"autocomplete_util.js",requires:["autocomplete","autocomplete-highlighters"]},"liferay-kaleo-designer-definition-diagram-controller":{path:"definition_diagram_controller.js",requires:["liferay-kaleo-designer-field-normalizer","liferay-kaleo-designer-utils"]},"liferay-kaleo-designer-dialogs":{path:"dialogs.js",requires:["liferay-util-window"]},"liferay-kaleo-designer-editors":{path:"editors.js",requires:["aui-ace-editor","aui-ace-editor-mode-xml","aui-base","aui-datatype","aui-node","liferay-kaleo-designer-autocomplete-util","liferay-kaleo-designer-utils"]},"liferay-kaleo-designer-field-normalizer":{path:"field_normalizer.js",requires:["liferay-kaleo-designer-remote-services"]},"liferay-kaleo-designer-nodes":{path:"nodes.js",requires:["aui-datatable","aui-datatype","aui-diagram-builder","liferay-kaleo-designer-editors","liferay-kaleo-designer-utils"]},"liferay-kaleo-designer-remote-services":{path:"remote_services.js",requires:["aui-io","liferay-portlet-url"]},"liferay-kaleo-designer-templates":{path:"templates.js",requires:["aui-tpl-snippets-deprecated"]},"liferay-kaleo-designer-utils":{path:"utils.js",requires:[]},"liferay-kaleo-designer-xml-definition":{path:"xml_definition.js",requires:["aui-base","aui-component","dataschema-xml","datatype-xml"]},"liferay-kaleo-designer-xml-definition-serializer":{path:"xml_definition_serializer.js",requires:["escape","liferay-kaleo-designer-xml-util"]},"liferay-kaleo-designer-xml-util":{path:"xml_util.js",requires:["aui-base"]},"liferay-portlet-kaleo-designer":{path:"main.js",requires:["aui-ace-editor","aui-ace-editor-mode-xml","aui-tpl-snippets-deprecated","dataschema-xml","datasource","datatype-xml","event-valuechange","io-form","liferay-kaleo-designer-autocomplete-util","liferay-kaleo-designer-editors","liferay-kaleo-designer-nodes","liferay-kaleo-designer-remote-services","liferay-kaleo-designer-utils","liferay-kaleo-designer-xml-util","liferay-util-window"]}},root:MODULE_PATH+"/designer/js/legacy/"}}}); } catch(error) {console.error(error);}try {var MODULE_MAIN='dynamic-data-mapping-web@5.0.92/index';var MODULE_PATH='/o/dynamic-data-mapping-web';!function(){const a=Liferay.AUI;AUI().applyConfig({groups:{ddm:{base:MODULE_PATH+"/js/",combine:Liferay.AUI.getCombine(),filter:a.getFilterConfig(),modules:{"liferay-ddm-form":{path:"ddm_form.js",requires:["aui-base","aui-datatable","aui-datatype","aui-image-viewer","aui-parse-content","aui-set","aui-sortable-list","json","liferay-form","liferay-map-base","liferay-translation-manager","liferay-util-window"]},"liferay-portlet-dynamic-data-mapping":{condition:{trigger:"liferay-document-library"},path:"main.js",requires:["arraysort","aui-form-builder-deprecated","aui-form-validator","aui-map","aui-text-unicode","json","liferay-menu","liferay-translation-manager","liferay-util-window","text"]},"liferay-portlet-dynamic-data-mapping-custom-fields":{condition:{trigger:"liferay-document-library"},path:"custom_fields.js",requires:["liferay-portlet-dynamic-data-mapping"]}},root:MODULE_PATH+"/js/"}}})}(); } catch(error) {console.error(error);}try {var MODULE_MAIN='product-navigation-taglib@6.0.53/index';var MODULE_PATH='/o/product-navigation-taglib';AUI().applyConfig({groups:{controlmenu:{base:MODULE_PATH+"/",combine:Liferay.AUI.getCombine(),filter:Liferay.AUI.getFilterConfig(),modules:{"liferay-product-navigation-control-menu":{path:"control_menu/js/product_navigation_control_menu.js",requires:["aui-node","event-touch"]}},root:MODULE_PATH+"/"}}}); } catch(error) {console.error(error);}try {var MODULE_MAIN='@liferay/frontend-js-state-web@1.0.17/index';var MODULE_PATH='/o/frontend-js-state-web';AUI().applyConfig({groups:{state:{mainModule:MODULE_MAIN}}}); } catch(error) {console.error(error);}try {var MODULE_MAIN='@liferay/frontend-js-react-web@5.0.30/index';var MODULE_PATH='/o/frontend-js-react-web';AUI().applyConfig({groups:{react:{mainModule:MODULE_MAIN}}}); } catch(error) {console.error(error);}try {var MODULE_MAIN='frontend-js-components-web@2.0.52/index';var MODULE_PATH='/o/frontend-js-components-web';AUI().applyConfig({groups:{components:{mainModule:MODULE_MAIN}}}); } catch(error) {console.error(error);}try {var MODULE_MAIN='calendar-web@5.0.77/index';var MODULE_PATH='/o/calendar-web';AUI().applyConfig({groups:{calendar:{base:MODULE_PATH+"/js/",combine:Liferay.AUI.getCombine(),filter:Liferay.AUI.getFilterConfig(),modules:{"liferay-calendar-a11y":{path:"calendar_a11y.js",requires:["calendar"]},"liferay-calendar-container":{path:"calendar_container.js",requires:["aui-alert","aui-base","aui-component","liferay-portlet-base"]},"liferay-calendar-date-picker-sanitizer":{path:"date_picker_sanitizer.js",requires:["aui-base"]},"liferay-calendar-interval-selector":{path:"interval_selector.js",requires:["aui-base","liferay-portlet-base"]},"liferay-calendar-interval-selector-scheduler-event-link":{path:"interval_selector_scheduler_event_link.js",requires:["aui-base","liferay-portlet-base"]},"liferay-calendar-list":{path:"calendar_list.js",requires:["aui-template-deprecated","liferay-scheduler"]},"liferay-calendar-message-util":{path:"message_util.js",requires:["liferay-util-window"]},"liferay-calendar-recurrence-converter":{path:"recurrence_converter.js",requires:[]},"liferay-calendar-recurrence-dialog":{path:"recurrence.js",requires:["aui-base","liferay-calendar-recurrence-util"]},"liferay-calendar-recurrence-util":{path:"recurrence_util.js",requires:["aui-base","liferay-util-window"]},"liferay-calendar-reminders":{path:"calendar_reminders.js",requires:["aui-base"]},"liferay-calendar-remote-services":{path:"remote_services.js",requires:["aui-base","aui-component","liferay-calendar-util","liferay-portlet-base"]},"liferay-calendar-session-listener":{path:"session_listener.js",requires:["aui-base","liferay-scheduler"]},"liferay-calendar-simple-color-picker":{path:"simple_color_picker.js",requires:["aui-base","aui-template-deprecated"]},"liferay-calendar-simple-menu":{path:"simple_menu.js",requires:["aui-base","aui-template-deprecated","event-outside","event-touch","widget-modality","widget-position","widget-position-align","widget-position-constrain","widget-stack","widget-stdmod"]},"liferay-calendar-util":{path:"calendar_util.js",requires:["aui-datatype","aui-io","aui-scheduler","aui-toolbar","autocomplete","autocomplete-highlighters"]},"liferay-scheduler":{path:"scheduler.js",requires:["async-queue","aui-datatype","aui-scheduler","dd-plugin","liferay-calendar-a11y","liferay-calendar-message-util","liferay-calendar-recurrence-converter","liferay-calendar-recurrence-util","liferay-calendar-util","liferay-scheduler-event-recorder","liferay-scheduler-models","promise","resize-plugin"]},"liferay-scheduler-event-recorder":{path:"scheduler_event_recorder.js",requires:["dd-plugin","liferay-calendar-util","resize-plugin"]},"liferay-scheduler-models":{path:"scheduler_models.js",requires:["aui-datatype","dd-plugin","liferay-calendar-util"]}},root:MODULE_PATH+"/js/"}}}); } catch(error) {console.error(error);}try {var MODULE_MAIN='item-selector-taglib@5.3.13/index.es';var MODULE_PATH='/o/item-selector-taglib';AUI().applyConfig({groups:{"item-selector-taglib":{base:MODULE_PATH+"/",combine:Liferay.AUI.getCombine(),filter:Liferay.AUI.getFilterConfig(),modules:{"liferay-image-selector":{path:"image_selector/js/image_selector.js",requires:["aui-base","liferay-item-selector-dialog","liferay-portlet-base","uploader"]}},root:MODULE_PATH+"/"}}}); } catch(error) {console.error(error);}try {var MODULE_MAIN='staging-taglib@7.0.45/index';var MODULE_PATH='/o/staging-taglib';AUI().applyConfig({groups:{stagingTaglib:{base:MODULE_PATH+"/",combine:Liferay.AUI.getCombine(),filter:Liferay.AUI.getFilterConfig(),modules:{"liferay-export-import-management-bar-button":{path:"export_import_entity_management_bar_button/js/main.js",requires:["aui-component","liferay-search-container","liferay-search-container-select"]}},root:MODULE_PATH+"/"}}}); } catch(error) {console.error(error);}</script> <script data-senna-track="temporary" type="text/javascript"> // <![CDATA[ // ]]> </script> <link class="lfr-css-file" data-senna-track="temporary" href="https://static.markets.ml.com/o/mercury_dxp_theme/css/main.css?browserId=ie&themeId=mercury_dxp_theme_WAR_mercury_dxp_theme&languageId=en_US&t=1732053450000" id="liferayThemeCSS" rel="stylesheet" type="text/css"/> <style data-senna-track="temporary" type="text/css"> .featured-research-icon { background: url(/documents/20121/0/HP-sprite.png/7d6c220d-0a67-e571-ae14-cac93b0929b5) no-repeat scroll -2px -677px !important; height:60px; width:60px; } .conferences-icon { background: url(/documents/20121/0/HP-sprite.png/7d6c220d-0a67-e571-ae14-cac93b0929b5) no-repeat scroll -58px -676px !important; height:60px; width:60px; } .reports-icon { background: url(/documents/20121/0/HP-sprite.png/7d6c220d-0a67-e571-ae14-cac93b0929b5) no-repeat scroll -233px -675px transparent !important; height:60px; width:60px; } .lexicon-icon-large { display: inline-block; fill: currentColor; height: 60px; margin-top: 10px; margin-bottom: 10px; vertical-align: middle; width: 60px; } .container-fluid { padding-left: 0px !important; padding-right: 0px !important; } </style> <style data-senna-track="temporary" type="text/css"> #p_p_id_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_cVTyClPr1YRO_ .portlet-content { } #p_p_id_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_euzvtk6kbSpJ_ .portlet-content { } #p_p_id_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_rtOYoTqoC7Hc_ .portlet-content { } </style> <script data-senna-track="temporary">var Liferay = window.Liferay || {}; Liferay.CommerceContext = {"commerceAccountGroupIds":[],"accountEntryAllowedTypes":["person"],"commerceChannelId":"0","currency":{"currencyId":"40904","currencyCode":"USD"},"commerceSiteType":0};</script><link href="https://static.markets.ml.com/o/commerce-frontend-js/styles/main.css" rel="stylesheet" type="text/css"/> <style data-senna-track="temporary" type="text/css"> </style> <script> Liferay.Loader.require( '@liferay/frontend-js-state-web@1.0.17', function(FrontendJsState) { try { } catch (err) { console.error(err); } }); </script><script type="text/javascript"> Liferay.on( 'ddmFieldBlur', function(event) { if (window.Analytics) { Analytics.send( 'fieldBlurred', 'Form', { fieldName: event.fieldName, focusDuration: event.focusDuration, formId: event.formId, formPageTitle: event.formPageTitle, page: event.page, title: event.title } ); } } ); Liferay.on( 'ddmFieldFocus', function(event) { if (window.Analytics) { Analytics.send( 'fieldFocused', 'Form', { fieldName: event.fieldName, formId: event.formId, formPageTitle: event.formPageTitle, page: event.page, title:event.title } ); } } ); Liferay.on( 'ddmFormPageShow', function(event) { if (window.Analytics) { Analytics.send( 'pageViewed', 'Form', { formId: event.formId, formPageTitle: event.formPageTitle, page: event.page, title: event.title } ); } } ); Liferay.on( 'ddmFormSubmit', function(event) { if (window.Analytics) { Analytics.send( 'formSubmitted', 'Form', { formId: event.formId, title: event.title } ); } } ); Liferay.on( 'ddmFormView', function(event) { if (window.Analytics) { Analytics.send( 'formViewed', 'Form', { formId: event.formId, title: event.title } ); } } ); </script><script> </script> <script data-senna-track="temporary" type="text/javascript"> if (window.Analytics) { window._com_liferay_document_library_analytics_isViewFileEntry = false; } </script> <link rel="stylesheet" href="https://static.markets.ml.com/o/mercury_dxp_theme/css/A.font-awesome.min.css.pagespeed.cf.DzIVLPB-VJ.css"> <link rel="stylesheet" href="https://static.markets.ml.com/o/mercury_dxp_theme/css/clayui-light.css"> <link rel="stylesheet" type="text/css" href="https://static.markets.ml.com/o/mercury_dxp_theme/css/custom-main.css"/> <script src="https://static.markets.ml.com/o/mercury_dxp_theme/js/jquery-1.12.4.js.pagespeed.ce.ePZCbWBaAn.js" type="text/javascript"></script> <script src="https://static.markets.ml.com/o/mercury_dxp_theme/js/jquery-ui-1.11.4.js.pagespeed.jm.Bq_-x2hiZe.js" type="text/javascript"></script> <script src="https://static.markets.ml.com/o/mercury_dxp_theme/js/popper.min.js.pagespeed.jm.QziJfEW0Bz.js" type="text/javascript"></script> <script src="https://static.markets.ml.com/o/mercury_dxp_theme/js/bootstrap.min.js.pagespeed.jm.7Ep-JY9AC9.js" type="text/javascript"></script> <style> .portlet, .portlet-layout .portlet-header { box-shadow: none; border-radius: 0; } .portlet-decorate .portlet-content { padding:0; } #header-logo{ cursor: default; } .footer-content div, .fdic-content div { line-height: 20px; color: #000; } .footer-content { line-height: 20px; } </style> </head> <body class="change-tracking-enabled ie controls-visible login yui3-skin-sam guest-site signed-out public-page site"> <nav aria-label="Quick Links" class="bg-dark cadmin quick-access-nav text-center text-white" id="oinl_quickAccessNav"> <a class="d-block p-2 sr-only sr-only-focusable text-reset" href="#main-content"> Skip to Main Content </a> </nav> <div class=""> <div class="journal-content-article " data-analytics-asset-id="51139" data-analytics-asset-title="Login_Header" data-analytics-asset-type="web-content"> </div> <section> <style type="text/css"> .master-layout-fragment .portlet-header { display: none; } </style> <div class="columns-1" id="main-content" role="main"> <div class="portlet-layout row"> <div class="col-md-12 portlet-column portlet-column-only" id="column-1"> <div class="portlet-dropzone portlet-column-content portlet-column-content-only" id="layout-column_column-1"> <div class="portlet-boundary portlet-boundary_com_liferay_journal_content_web_portlet_JournalContentPortlet_ portlet-static portlet-static-end portlet-barebone portlet-journal-content " id="p_p_id_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_euzvtk6kbSpJ_"> <span id="p_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_euzvtk6kbSpJ"></span> <section class="portlet" id="portlet_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_euzvtk6kbSpJ"> <div class="portlet-content"> <div class="autofit-float autofit-row portlet-header"> <div class="autofit-col autofit-col-end"> <div class="autofit-section"> <div class="visible-interaction"> </div> </div> </div> </div> <div class=" portlet-content-container"> <div class="portlet-body"> <div class="" data-fragments-editor-item-id="39706-55830" data-fragments-editor-item-type="fragments-editor-mapped-item"> <div class="journal-content-article " data-analytics-asset-id="53821" data-analytics-asset-title="Login_Navigation" data-analytics-asset-type="web-content"> <style type="text/css"> #nav-section{ max-width: 1440px; margin: auto; } @media screen and (max-width: 499px) { #nav-section { padding: 24px; } } @media screen and (min-width: 500px){ #nav-section { padding: 32px; } } @media screen and (min-width: 0px) and (max-width: 500px){ #nav-section { text-align:center; } } @media screen and (min-width: 0px) and (max-width: 500px){ #nav-section { text-align:center; } } .links a:nth-last-child(1){ background:#0053C2; color: #FFF; border: none; color: white; padding: 10px 20px; text-align: center; text-decoration: none; display: inline-block; cursor: pointer; border-radius: 30px; } .text-black{ color:#000000; } #header-logo{ text-decoration:none!important; } .logo-text{ color: #012169; vertical-align: -webkit-baseline-middle; font-family: "Connections Medium"; font-size: 16px; letter-spacing: 0; line-height: 24px; } </style> <div class="row" id="nav-section"> <div class="col-sm-12 col-xs-12 col-md-12"> <a href="#" id="header-logo" aria-label="BofA Securities - Mercury logo"> <img width="250" height="24" alt="BofA Securities" src="https://static.markets.ml.com/o/mercury_dxp_theme/images/bofa_header_logo.svg"/> <span class="logo-text">MERCURY<sup>®</sup></span> </a> </div> </div> <script> window.onbeforeunload=function() { window.scrollTo(0,0); } function anchorToSection(navItem){ if(navItem=="Capabilities") window.scrollTo(0,1350); if(navItem=="Awards")window.scrollTo(0,1980); if(navItem=="Contact Us")window.scrollTo(0,2700); } </script> </div> </div> </div> </div> </div> </section> </div> <div class="portlet-boundary portlet-boundary_com_liferay_journal_content_web_portlet_JournalContentPortlet_ portlet-static portlet-static-end portlet-barebone portlet-journal-content " id="p_p_id_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_rtOYoTqoC7Hc_"> <span id="p_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_rtOYoTqoC7Hc"></span> <section class="portlet" id="portlet_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_rtOYoTqoC7Hc"> <div class="portlet-content"> <div class="autofit-float autofit-row portlet-header"> <div class="autofit-col autofit-col-end"> <div class="autofit-section"> <div class="visible-interaction"> </div> </div> </div> </div> <div class=" portlet-content-container"> <div class="portlet-body"> <div class="" data-fragments-editor-item-id="39706-55630" data-fragments-editor-item-type="fragments-editor-mapped-item"> <div class="journal-content-article " data-analytics-asset-id="51193" data-analytics-asset-title="Login_Panel" data-analytics-asset-type="web-content"> <script> !function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):"undefined"!=typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){"use strict";var b=window.Slick||{};b=function(){function c(c,d){var f,g,h,e=this;if(e.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:a(c),appendDots:a(c),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(a,b){return'<button type="button" data-role="none">'+(b+1)+"</button>"},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rtl:!1,slide:"",slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0},e.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1},a.extend(e,e.initials),e.activeBreakpoint=null,e.animType=null,e.animProp=null,e.breakpoints=[],e.breakpointSettings=[],e.cssTransitions=!1,e.hidden="hidden",e.paused=!1,e.positionProp=null,e.respondTo=null,e.shouldClick=!0,e.$slider=a(c),e.$slidesCache=null,e.transformType=null,e.transitionType=null,e.visibilityChange="visibilitychange",e.windowWidth=0,e.windowTimer=null,f=a(c).data("slick")||{},e.options=a.extend({},e.defaults,f,d),e.currentSlide=e.options.initialSlide,e.originalSettings=e.options,g=e.options.responsive||null,g&&g.length>-1){e.respondTo=e.options.respondTo||"window";for(h in g)g.hasOwnProperty(h)&&(e.breakpoints.push(g[h].breakpoint),e.breakpointSettings[g[h].breakpoint]=g[h].settings);e.breakpoints.sort(function(a,b){return e.options.mobileFirst===!0?a-b:b-a})}"undefined"!=typeof document.mozHidden?(e.hidden="mozHidden",e.visibilityChange="mozvisibilitychange"):"undefined"!=typeof document.msHidden?(e.hidden="msHidden",e.visibilityChange="msvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(e.hidden="webkitHidden",e.visibilityChange="webkitvisibilitychange"),e.autoPlay=a.proxy(e.autoPlay,e),e.autoPlayClear=a.proxy(e.autoPlayClear,e),e.changeSlide=a.proxy(e.changeSlide,e),e.clickHandler=a.proxy(e.clickHandler,e),e.selectHandler=a.proxy(e.selectHandler,e),e.setPosition=a.proxy(e.setPosition,e),e.swipeHandler=a.proxy(e.swipeHandler,e),e.dragHandler=a.proxy(e.dragHandler,e),e.keyHandler=a.proxy(e.keyHandler,e),e.autoPlayIterator=a.proxy(e.autoPlayIterator,e),e.instanceUid=b++,e.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,e.init(),e.checkResponsive(!0)}var b=0;return c}(),b.prototype.addSlide=b.prototype.slickAdd=function(b,c,d){var e=this;if("boolean"==typeof c)d=c,c=null;else if(0>c||c>=e.slideCount)return!1;e.unload(),"number"==typeof c?0===c&&0===e.$slides.length?a(b).appendTo(e.$slideTrack):d?a(b).insertBefore(e.$slides.eq(c)):a(b).insertAfter(e.$slides.eq(c)):d===!0?a(b).prependTo(e.$slideTrack):a(b).appendTo(e.$slideTrack),e.$slides=e.$slideTrack.children(this.options.slide),e.$slideTrack.children(this.options.slide).detach(),e.$slideTrack.append(e.$slides),e.$slides.each(function(b,c){a(c).attr("data-slick-index",b)}),e.$slidesCache=e.$slides,e.reinit()},b.prototype.animateHeight=function(){var a=this;if(1===a.options.slidesToShow&&a.options.adaptiveHeight===!0&&a.options.vertical===!1){var b=a.$slides.eq(a.currentSlide).outerHeight(!0);a.$list.animate({height:b},a.options.speed)}},b.prototype.animateSlide=function(b,c){var d={},e=this;e.animateHeight(),e.options.rtl===!0&&e.options.vertical===!1&&(b=-b),e.transformsEnabled===!1?e.options.vertical===!1?e.$slideTrack.animate({left:b},e.options.speed,e.options.easing,c):e.$slideTrack.animate({top:b},e.options.speed,e.options.easing,c):e.cssTransitions===!1?(e.options.rtl===!0&&(e.currentLeft=-e.currentLeft),a({animStart:e.currentLeft}).animate({animStart:b},{duration:e.options.speed,easing:e.options.easing,step:function(a){a=Math.ceil(a),e.options.vertical===!1?(d[e.animType]="translate("+a+"px, 0px)",e.$slideTrack.css(d)):(d[e.animType]="translate(0px,"+a+"px)",e.$slideTrack.css(d))},complete:function(){c&&c.call()}})):(e.applyTransition(),b=Math.ceil(b),d[e.animType]=e.options.vertical===!1?"translate3d("+b+"px, 0px, 0px)":"translate3d(0px,"+b+"px, 0px)",e.$slideTrack.css(d),c&&setTimeout(function(){e.disableTransition(),c.call()},e.options.speed))},b.prototype.asNavFor=function(b){var c=this,d=null!==c.options.asNavFor?a(c.options.asNavFor).slick("getSlick"):null;null!==d&&d.slideHandler(b,!0)},b.prototype.applyTransition=function(a){var b=this,c={};c[b.transitionType]=b.options.fade===!1?b.transformType+" "+b.options.speed+"ms "+b.options.cssEase:"opacity "+b.options.speed+"ms "+b.options.cssEase,b.options.fade===!1?b.$slideTrack.css(c):b.$slides.eq(a).css(c)},b.prototype.autoPlay=function(){var a=this;a.autoPlayTimer&&clearInterval(a.autoPlayTimer),a.slideCount>a.options.slidesToShow&&a.paused!==!0&&(a.autoPlayTimer=setInterval(a.autoPlayIterator,a.options.autoplaySpeed))},b.prototype.autoPlayClear=function(){var a=this;a.autoPlayTimer&&clearInterval(a.autoPlayTimer)},b.prototype.autoPlayIterator=function(){var a=this;a.options.infinite===!1?1===a.direction?(a.currentSlide+1===a.slideCount-1&&(a.direction=0),a.slideHandler(a.currentSlide+a.options.slidesToScroll)):(0===a.currentSlide-1&&(a.direction=1),a.slideHandler(a.currentSlide-a.options.slidesToScroll)):a.slideHandler(a.currentSlide+a.options.slidesToScroll)},b.prototype.buildArrows=function(){var b=this;b.options.arrows===!0&&b.slideCount>b.options.slidesToShow&&(b.$prevArrow=a(b.options.prevArrow),b.$nextArrow=a(b.options.nextArrow),b.htmlExpr.test(b.options.prevArrow)&&b.$prevArrow.appendTo(b.options.appendArrows),b.htmlExpr.test(b.options.nextArrow)&&b.$nextArrow.appendTo(b.options.appendArrows),b.options.infinite!==!0&&b.$prevArrow.addClass("slick-disabled"))},b.prototype.buildDots=function(){var c,d,b=this;if(b.options.dots===!0&&b.slideCount>b.options.slidesToShow){for(d='<ul class="'+b.options.dotsClass+'">',c=0;c<=b.getDotCount();c+=1)d+="<li>"+b.options.customPaging.call(this,b,c)+"</li>";d+="</ul>",b.$dots=a(d).appendTo(b.options.appendDots),b.$dots.find("li").first().addClass("slick-active")}},b.prototype.buildOut=function(){var b=this;b.$slides=b.$slider.children(b.options.slide+":not(.slick-cloned)").addClass("slick-slide"),b.slideCount=b.$slides.length,b.$slides.each(function(b,c){a(c).attr("data-slick-index",b)}),b.$slidesCache=b.$slides,b.$slider.addClass("slick-slider"),b.$slideTrack=0===b.slideCount?a('<div class="slick-track"/>').appendTo(b.$slider):b.$slides.wrapAll('<div class="slick-track"/>').parent(),b.$list=b.$slideTrack.wrap('<div class="slick-list"/>').parent(),b.$slideTrack.css("opacity",0),(b.options.centerMode===!0||b.options.swipeToSlide===!0)&&(b.options.slidesToScroll=1),a("img[data-lazy]",b.$slider).not("[src]").addClass("slick-loading"),b.setupInfinite(),b.buildArrows(),b.buildDots(),b.updateDots(),b.options.accessibility===!0&&b.$list.prop("tabIndex",0),b.setSlideClasses("number"==typeof this.currentSlide?this.currentSlide:0),b.options.draggable===!0&&b.$list.addClass("draggable")},b.prototype.checkResponsive=function(b){var d,e,f,c=this,g=c.$slider.width(),h=window.innerWidth||a(window).width();if("window"===c.respondTo?f=h:"slider"===c.respondTo?f=g:"min"===c.respondTo&&(f=Math.min(h,g)),c.originalSettings.responsive&&c.originalSettings.responsive.length>-1&&null!==c.originalSettings.responsive){e=null;for(d in c.breakpoints)c.breakpoints.hasOwnProperty(d)&&(c.originalSettings.mobileFirst===!1?f<c.breakpoints[d]&&(e=c.breakpoints[d]):f>c.breakpoints[d]&&(e=c.breakpoints[d]));null!==e?null!==c.activeBreakpoint?e!==c.activeBreakpoint&&(c.activeBreakpoint=e,"unslick"===c.breakpointSettings[e]?c.unslick():(c.options=a.extend({},c.originalSettings,c.breakpointSettings[e]),b===!0&&(c.currentSlide=c.options.initialSlide),c.refresh())):(c.activeBreakpoint=e,"unslick"===c.breakpointSettings[e]?c.unslick():(c.options=a.extend({},c.originalSettings,c.breakpointSettings[e]),b===!0&&(c.currentSlide=c.options.initialSlide),c.refresh())):null!==c.activeBreakpoint&&(c.activeBreakpoint=null,c.options=c.originalSettings,b===!0&&(c.currentSlide=c.options.initialSlide),c.refresh())}},b.prototype.changeSlide=function(b,c){var f,g,h,d=this,e=a(b.target);switch(e.is("a")&&b.preventDefault(),h=0!==d.slideCount%d.options.slidesToScroll,f=h?0:(d.slideCount-d.currentSlide)%d.options.slidesToScroll,b.data.message){case"previous":g=0===f?d.options.slidesToScroll:d.options.slidesToShow-f,d.slideCount>d.options.slidesToShow&&d.slideHandler(d.currentSlide-g,!1,c);break;case"next":g=0===f?d.options.slidesToScroll:f,d.slideCount>d.options.slidesToShow&&d.slideHandler(d.currentSlide+g,!1,c);break;case"index":var i=0===b.data.index?0:b.data.index||a(b.target).parent().index()*d.options.slidesToScroll;d.slideHandler(d.checkNavigable(i),!1,c);break;default:return}},b.prototype.checkNavigable=function(a){var c,d,b=this;if(c=b.getNavigableIndexes(),d=0,a>c[c.length-1])a=c[c.length-1];else for(var e in c){if(a<c[e]){a=d;break}d=c[e]}return a},b.prototype.clickHandler=function(a){var b=this;b.shouldClick===!1&&(a.stopImmediatePropagation(),a.stopPropagation(),a.preventDefault())},b.prototype.destroy=function(){var b=this;b.autoPlayClear(),b.touchObject={},a(".slick-cloned",b.$slider).remove(),b.$dots&&b.$dots.remove(),b.$prevArrow&&"object"!=typeof b.options.prevArrow&&b.$prevArrow.remove(),b.$nextArrow&&"object"!=typeof b.options.nextArrow&&b.$nextArrow.remove(),b.$slides.removeClass("slick-slide slick-active slick-center slick-visible").removeAttr("data-slick-index").css({position:"",left:"",top:"",zIndex:"",opacity:"",width:""}),b.$slider.removeClass("slick-slider"),b.$slider.removeClass("slick-initialized"),b.$list.off(".slick"),a(window).off(".slick-"+b.instanceUid),a(document).off(".slick-"+b.instanceUid),b.$slider.html(b.$slides)},b.prototype.disableTransition=function(a){var b=this,c={};c[b.transitionType]="",b.options.fade===!1?b.$slideTrack.css(c):b.$slides.eq(a).css(c)},b.prototype.fadeSlide=function(a,b){var c=this;c.cssTransitions===!1?(c.$slides.eq(a).css({zIndex:1e3}),c.$slides.eq(a).animate({opacity:1},c.options.speed,c.options.easing,b)):(c.applyTransition(a),c.$slides.eq(a).css({opacity:1,zIndex:1e3}),b&&setTimeout(function(){c.disableTransition(a),b.call()},c.options.speed))},b.prototype.filterSlides=b.prototype.slickFilter=function(a){var b=this;null!==a&&(b.unload(),b.$slideTrack.children(this.options.slide).detach(),b.$slidesCache.filter(a).appendTo(b.$slideTrack),b.reinit())},b.prototype.getCurrent=b.prototype.slickCurrentSlide=function(){var a=this;return a.currentSlide},b.prototype.getDotCount=function(){var a=this,b=0,c=0,d=0;if(a.options.infinite===!0)d=Math.ceil(a.slideCount/a.options.slidesToScroll);else if(a.options.centerMode===!0)d=a.slideCount;else for(;b<a.slideCount;)++d,b=c+a.options.slidesToShow,c+=a.options.slidesToScroll<=a.options.slidesToShow?a.options.slidesToScroll:a.options.slidesToShow;return d-1},b.prototype.getLeft=function(a){var c,d,f,b=this,e=0;return b.slideOffset=0,d=b.$slides.first().outerHeight(),b.options.infinite===!0?(b.slideCount>b.options.slidesToShow&&(b.slideOffset=-1*b.slideWidth*b.options.slidesToShow,e=-1*d*b.options.slidesToShow),0!==b.slideCount%b.options.slidesToScroll&&a+b.options.slidesToScroll>b.slideCount&&b.slideCount>b.options.slidesToShow&&(a>b.slideCount?(b.slideOffset=-1*(b.options.slidesToShow-(a-b.slideCount))*b.slideWidth,e=-1*(b.options.slidesToShow-(a-b.slideCount))*d):(b.slideOffset=-1*b.slideCount%b.options.slidesToScroll*b.slideWidth,e=-1*b.slideCount%b.options.slidesToScroll*d))):a+b.options.slidesToShow>b.slideCount&&(b.slideOffset=(a+b.options.slidesToShow-b.slideCount)*b.slideWidth,e=(a+b.options.slidesToShow-b.slideCount)*d),b.slideCount<=b.options.slidesToShow&&(b.slideOffset=0,e=0),b.options.centerMode===!0&&b.options.infinite===!0?b.slideOffset+=b.slideWidth*Math.floor(b.options.slidesToShow/2)-b.slideWidth:b.options.centerMode===!0&&(b.slideOffset=0,b.slideOffset+=b.slideWidth*Math.floor(b.options.slidesToShow/2)),c=b.options.vertical===!1?-1*a*b.slideWidth+b.slideOffset:-1*a*d+e,b.options.variableWidth===!0&&(f=b.slideCount<=b.options.slidesToShow||b.options.infinite===!1?b.$slideTrack.children(".slick-slide").eq(a):b.$slideTrack.children(".slick-slide").eq(a+b.options.slidesToShow),c=f[0]?-1*f[0].offsetLeft:0,b.options.centerMode===!0&&(f=b.options.infinite===!1?b.$slideTrack.children(".slick-slide").eq(a):b.$slideTrack.children(".slick-slide").eq(a+b.options.slidesToShow+1),c=f[0]?-1*f[0].offsetLeft:0,c+=(b.$list.width()-f.outerWidth())/2)),c},b.prototype.getOption=b.prototype.slickGetOption=function(a){var b=this;return b.options[a]},b.prototype.getNavigableIndexes=function(){var e,a=this,b=0,c=0,d=[];for(a.options.infinite===!1?(e=a.slideCount-a.options.slidesToShow+1,a.options.centerMode===!0&&(e=a.slideCount)):(b=-1*a.slideCount,c=-1*a.slideCount,e=2*a.slideCount);e>b;)d.push(b),b=c+a.options.slidesToScroll,c+=a.options.slidesToScroll<=a.options.slidesToShow?a.options.slidesToScroll:a.options.slidesToShow;return d},b.prototype.getSlick=function(){return this},b.prototype.getSlideCount=function(){var c,d,e,b=this;return e=b.options.centerMode===!0?b.slideWidth*Math.floor(b.options.slidesToShow/2):0,b.options.swipeToSlide===!0?(b.$slideTrack.find(".slick-slide").each(function(c,f){return f.offsetLeft-e+a(f).outerWidth()/2>-1*b.swipeLeft?(d=f,!1):void 0}),c=Math.abs(a(d).attr("data-slick-index")-b.currentSlide)||1):b.options.slidesToScroll},b.prototype.goTo=b.prototype.slickGoTo=function(a,b){var c=this;c.changeSlide({data:{message:"index",index:parseInt(a)}},b)},b.prototype.init=function(){var b=this;a(b.$slider).hasClass("slick-initialized")||(a(b.$slider).addClass("slick-initialized"),b.buildOut(),b.setProps(),b.startLoad(),b.loadSlider(),b.initializeEvents(),b.updateArrows(),b.updateDots()),b.$slider.trigger("init",[b])},b.prototype.initArrowEvents=function(){var a=this;a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&(a.$prevArrow.on("click.slick",{message:"previous"},a.changeSlide),a.$nextArrow.on("click.slick",{message:"next"},a.changeSlide))},b.prototype.initDotEvents=function(){var b=this;b.options.dots===!0&&b.slideCount>b.options.slidesToShow&&a("li",b.$dots).on("click.slick",{message:"index"},b.changeSlide),b.options.dots===!0&&b.options.pauseOnDotsHover===!0&&b.options.autoplay===!0&&a("li",b.$dots).on("mouseenter.slick",function(){b.paused=!0,b.autoPlayClear()}).on("mouseleave.slick",function(){b.paused=!1,b.autoPlay()})},b.prototype.initializeEvents=function(){var b=this;b.initArrowEvents(),b.initDotEvents(),b.$list.on("touchstart.slick mousedown.slick",{action:"start"},b.swipeHandler),b.$list.on("touchmove.slick mousemove.slick",{action:"move"},b.swipeHandler),b.$list.on("touchend.slick mouseup.slick",{action:"end"},b.swipeHandler),b.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},b.swipeHandler),b.$list.on("click.slick",b.clickHandler),b.options.autoplay===!0&&(a(document).on(b.visibilityChange,function(){b.visibility()}),b.options.pauseOnHover===!0&&(b.$list.on("mouseenter.slick",function(){b.paused=!0,b.autoPlayClear()}),b.$list.on("mouseleave.slick",function(){b.paused=!1,b.autoPlay()}))),b.options.accessibility===!0&&b.$list.on("keydown.slick",b.keyHandler),b.options.focusOnSelect===!0&&a(b.$slideTrack).children().on("click.slick",b.selectHandler),a(window).on("orientationchange.slick.slick-"+b.instanceUid,function(){b.checkResponsive(),b.setPosition()}),a(window).on("resize.slick.slick-"+b.instanceUid,function(){a(window).width()!==b.windowWidth&&(clearTimeout(b.windowDelay),b.windowDelay=window.setTimeout(function(){b.windowWidth=a(window).width(),b.checkResponsive(),b.setPosition()},50))}),a("*[draggable!=true]",b.$slideTrack).on("dragstart",function(a){a.preventDefault()}),a(window).on("load.slick.slick-"+b.instanceUid,b.setPosition),a(document).on("ready.slick.slick-"+b.instanceUid,b.setPosition)},b.prototype.initUI=function(){var a=this;a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&(a.$prevArrow.show(),a.$nextArrow.show()),a.options.dots===!0&&a.slideCount>a.options.slidesToShow&&a.$dots.show(),a.options.autoplay===!0&&a.autoPlay()},b.prototype.keyHandler=function(a){var b=this;37===a.keyCode&&b.options.accessibility===!0?b.changeSlide({data:{message:"previous"}}):39===a.keyCode&&b.options.accessibility===!0&&b.changeSlide({data:{message:"next"}})},b.prototype.lazyLoad=function(){function g(b){a("img[data-lazy]",b).each(function(){var b=a(this),c=a(this).attr("data-lazy");b.load(function(){b.animate({opacity:1},200)}).css({opacity:0}).attr("src",c).removeAttr("data-lazy").removeClass("slick-loading")})}var c,d,e,f,b=this;b.options.centerMode===!0?b.options.infinite===!0?(e=b.currentSlide+(b.options.slidesToShow/2+1),f=e+b.options.slidesToShow+2):(e=Math.max(0,b.currentSlide-(b.options.slidesToShow/2+1)),f=2+(b.options.slidesToShow/2+1)+b.currentSlide):(e=b.options.infinite?b.options.slidesToShow+b.currentSlide:b.currentSlide,f=e+b.options.slidesToShow,b.options.fade===!0&&(e>0&&e--,f<=b.slideCount&&f++)),c=b.$slider.find(".slick-slide").slice(e,f),g(c),b.slideCount<=b.options.slidesToShow?(d=b.$slider.find(".slick-slide"),g(d)):b.currentSlide>=b.slideCount-b.options.slidesToShow?(d=b.$slider.find(".slick-cloned").slice(0,b.options.slidesToShow),g(d)):0===b.currentSlide&&(d=b.$slider.find(".slick-cloned").slice(-1*b.options.slidesToShow),g(d))},b.prototype.loadSlider=function(){var a=this;a.setPosition(),a.$slideTrack.css({opacity:1}),a.$slider.removeClass("slick-loading"),a.initUI(),"progressive"===a.options.lazyLoad&&a.progressiveLazyLoad()},b.prototype.next=b.prototype.slickNext=function(){var a=this;a.changeSlide({data:{message:"next"}})},b.prototype.pause=b.prototype.slickPause=function(){var a=this;a.autoPlayClear(),a.paused=!0},b.prototype.play=b.prototype.slickPlay=function(){var a=this;a.paused=!1,a.autoPlay()},b.prototype.postSlide=function(a){var b=this;b.$slider.trigger("afterChange",[b,a]),b.animating=!1,b.setPosition(),b.swipeLeft=null,b.options.autoplay===!0&&b.paused===!1&&b.autoPlay()},b.prototype.prev=b.prototype.slickPrev=function(){var a=this;a.changeSlide({data:{message:"previous"}})},b.prototype.progressiveLazyLoad=function(){var c,d,b=this;c=a("img[data-lazy]",b.$slider).length,c>0&&(d=a("img[data-lazy]",b.$slider).first(),d.attr("src",d.attr("data-lazy")).removeClass("slick-loading").load(function(){d.removeAttr("data-lazy"),b.progressiveLazyLoad()}).error(function(){d.removeAttr("data-lazy"),b.progressiveLazyLoad()}))},b.prototype.refresh=function(){var b=this,c=b.currentSlide;b.destroy(),a.extend(b,b.initials),b.init(),b.changeSlide({data:{message:"index",index:c}},!0)},b.prototype.reinit=function(){var b=this;b.$slides=b.$slideTrack.children(b.options.slide).addClass("slick-slide"),b.slideCount=b.$slides.length,b.currentSlide>=b.slideCount&&0!==b.currentSlide&&(b.currentSlide=b.currentSlide-b.options.slidesToScroll),b.slideCount<=b.options.slidesToShow&&(b.currentSlide=0),b.setProps(),b.setupInfinite(),b.buildArrows(),b.updateArrows(),b.initArrowEvents(),b.buildDots(),b.updateDots(),b.initDotEvents(),b.options.focusOnSelect===!0&&a(b.$slideTrack).children().on("click.slick",b.selectHandler),b.setSlideClasses(0),b.setPosition(),b.$slider.trigger("reInit",[b])},b.prototype.removeSlide=b.prototype.slickRemove=function(a,b,c){var d=this;return"boolean"==typeof a?(b=a,a=b===!0?0:d.slideCount-1):a=b===!0?--a:a,d.slideCount<1||0>a||a>d.slideCount-1?!1:(d.unload(),c===!0?d.$slideTrack.children().remove():d.$slideTrack.children(this.options.slide).eq(a).remove(),d.$slides=d.$slideTrack.children(this.options.slide),d.$slideTrack.children(this.options.slide).detach(),d.$slideTrack.append(d.$slides),d.$slidesCache=d.$slides,d.reinit(),void 0)},b.prototype.setCSS=function(a){var d,e,b=this,c={};b.options.rtl===!0&&(a=-a),d="left"==b.positionProp?Math.ceil(a)+"px":"0px",e="top"==b.positionProp?Math.ceil(a)+"px":"0px",c[b.positionProp]=a,b.transformsEnabled===!1?b.$slideTrack.css(c):(c={},b.cssTransitions===!1?(c[b.animType]="translate("+d+", "+e+")",b.$slideTrack.css(c)):(c[b.animType]="translate3d("+d+", "+e+", 0px)",b.$slideTrack.css(c)))},b.prototype.setDimensions=function(){var a=this;if(a.options.vertical===!1?a.options.centerMode===!0&&a.$list.css({padding:"0px "+a.options.centerPadding}):(a.$list.height(a.$slides.first().outerHeight(!0)*a.options.slidesToShow),a.options.centerMode===!0&&a.$list.css({padding:a.options.centerPadding+" 0px"})),a.listWidth=a.$list.width(),a.listHeight=a.$list.height(),a.options.vertical===!1&&a.options.variableWidth===!1)a.slideWidth=Math.ceil(a.listWidth/a.options.slidesToShow),a.$slideTrack.width(Math.ceil(a.slideWidth*a.$slideTrack.children(".slick-slide").length));else if(a.options.variableWidth===!0){var b=0;a.slideWidth=Math.ceil(a.listWidth/a.options.slidesToShow),a.$slideTrack.children(".slick-slide").each(function(){b+=a.listWidth}),a.$slideTrack.width(Math.ceil(b)+1)}else a.slideWidth=Math.ceil(a.listWidth),a.$slideTrack.height(Math.ceil(a.$slides.first().outerHeight(!0)*a.$slideTrack.children(".slick-slide").length));var c=a.$slides.first().outerWidth(!0)-a.$slides.first().width();a.options.variableWidth===!1&&a.$slideTrack.children(".slick-slide").width(a.slideWidth-c)},b.prototype.setFade=function(){var c,b=this;b.$slides.each(function(d,e){c=-1*b.slideWidth*d,b.options.rtl===!0?a(e).css({position:"relative",right:c,top:0,zIndex:800,opacity:0}):a(e).css({position:"relative",left:c,top:0,zIndex:800,opacity:0})}),b.$slides.eq(b.currentSlide).css({zIndex:900,opacity:1})},b.prototype.setHeight=function(){var a=this;if(1===a.options.slidesToShow&&a.options.adaptiveHeight===!0&&a.options.vertical===!1){var b=a.$slides.eq(a.currentSlide).outerHeight(!0);a.$list.css("height",b)}},b.prototype.setOption=b.prototype.slickSetOption=function(a,b,c){var d=this;d.options[a]=b,c===!0&&(d.unload(),d.reinit())},b.prototype.setPosition=function(){var a=this;a.setDimensions(),a.setHeight(),a.options.fade===!1?a.setCSS(a.getLeft(a.currentSlide)):a.setFade(),a.$slider.trigger("setPosition",[a])},b.prototype.setProps=function(){var a=this,b=document.body.style;a.positionProp=a.options.vertical===!0?"top":"left","top"===a.positionProp?a.$slider.addClass("slick-vertical"):a.$slider.removeClass("slick-vertical"),(void 0!==b.WebkitTransition||void 0!==b.MozTransition||void 0!==b.msTransition)&&a.options.useCSS===!0&&(a.cssTransitions=!0),void 0!==b.OTransform&&(a.animType="OTransform",a.transformType="-o-transform",a.transitionType="OTransition",void 0===b.perspectiveProperty&&void 0===b.webkitPerspective&&(a.animType=!1)),void 0!==b.MozTransform&&(a.animType="MozTransform",a.transformType="-moz-transform",a.transitionType="MozTransition",void 0===b.perspectiveProperty&&void 0===b.MozPerspective&&(a.animType=!1)),void 0!==b.webkitTransform&&(a.animType="webkitTransform",a.transformType="-webkit-transform",a.transitionType="webkitTransition",void 0===b.perspectiveProperty&&void 0===b.webkitPerspective&&(a.animType=!1)),void 0!==b.msTransform&&(a.animType="msTransform",a.transformType="-ms-transform",a.transitionType="msTransition",void 0===b.msTransform&&(a.animType=!1)),void 0!==b.transform&&a.animType!==!1&&(a.animType="transform",a.transformType="transform",a.transitionType="transition"),a.transformsEnabled=null!==a.animType&&a.animType!==!1},b.prototype.setSlideClasses=function(a){var c,d,e,f,b=this;b.$slider.find(".slick-slide").removeClass("slick-active").removeClass("slick-center"),d=b.$slider.find(".slick-slide"),b.options.centerMode===!0?(c=Math.floor(b.options.slidesToShow/2),b.options.infinite===!0&&(a>=c&&a<=b.slideCount-1-c?b.$slides.slice(a-c,a+c+1).addClass("slick-active"):(e=b.options.slidesToShow+a,d.slice(e-c+1,e+c+2).addClass("slick-active")),0===a?d.eq(d.length-1-b.options.slidesToShow).addClass("slick-center"):a===b.slideCount-1&&d.eq(b.options.slidesToShow).addClass("slick-center")),b.$slides.eq(a).addClass("slick-center")):a>=0&&a<=b.slideCount-b.options.slidesToShow?b.$slides.slice(a,a+b.options.slidesToShow).addClass("slick-active"):d.length<=b.options.slidesToShow?d.addClass("slick-active"):(f=b.slideCount%b.options.slidesToShow,e=b.options.infinite===!0?b.options.slidesToShow+a:a,b.options.slidesToShow==b.options.slidesToScroll&&b.slideCount-a<b.options.slidesToShow?d.slice(e-(b.options.slidesToShow-f),e+f).addClass("slick-active"):d.slice(e,e+b.options.slidesToShow).addClass("slick-active")),"ondemand"===b.options.lazyLoad&&b.lazyLoad()},b.prototype.setupInfinite=function(){var c,d,e,b=this;if(b.options.fade===!0&&(b.options.centerMode=!1),b.options.infinite===!0&&b.options.fade===!1&&(d=null,b.slideCount>b.options.slidesToShow)){for(e=b.options.centerMode===!0?b.options.slidesToShow+1:b.options.slidesToShow,c=b.slideCount;c>b.slideCount-e;c-=1)d=c-1,a(b.$slides[d]).clone(!0).attr("id","").attr("data-slick-index",d-b.slideCount).prependTo(b.$slideTrack).addClass("slick-cloned");for(c=0;e>c;c+=1)d=c,a(b.$slides[d]).clone(!0).attr("id","").attr("data-slick-index",d+b.slideCount).appendTo(b.$slideTrack).addClass("slick-cloned");b.$slideTrack.find(".slick-cloned").find("[id]").each(function(){a(this).attr("id","")})}},b.prototype.selectHandler=function(b){var c=this,d=parseInt(a(b.target).parents(".slick-slide").attr("data-slick-index"));return d||(d=0),c.slideCount<=c.options.slidesToShow?(c.$slider.find(".slick-slide").removeClass("slick-active"),c.$slides.eq(d).addClass("slick-active"),c.options.centerMode===!0&&(c.$slider.find(".slick-slide").removeClass("slick-center"),c.$slides.eq(d).addClass("slick-center")),c.asNavFor(d),void 0):(c.slideHandler(d),void 0)},b.prototype.slideHandler=function(a,b,c){var d,e,f,g,h=null,i=this;return b=b||!1,i.animating===!0&&i.options.waitForAnimate===!0||i.options.fade===!0&&i.currentSlide===a||i.slideCount<=i.options.slidesToShow?void 0:(b===!1&&i.asNavFor(a),d=a,h=i.getLeft(d),g=i.getLeft(i.currentSlide),i.currentLeft=null===i.swipeLeft?g:i.swipeLeft,i.options.infinite===!1&&i.options.centerMode===!1&&(0>a||a>i.getDotCount()*i.options.slidesToScroll)?(i.options.fade===!1&&(d=i.currentSlide,c!==!0?i.animateSlide(g,function(){i.postSlide(d)}):i.postSlide(d)),void 0):i.options.infinite===!1&&i.options.centerMode===!0&&(0>a||a>i.slideCount-i.options.slidesToScroll)?(i.options.fade===!1&&(d=i.currentSlide,c!==!0?i.animateSlide(g,function(){i.postSlide(d)}):i.postSlide(d)),void 0):(i.options.autoplay===!0&&clearInterval(i.autoPlayTimer),e=0>d?0!==i.slideCount%i.options.slidesToScroll?i.slideCount-i.slideCount%i.options.slidesToScroll:i.slideCount+d:d>=i.slideCount?0!==i.slideCount%i.options.slidesToScroll?0:d-i.slideCount:d,i.animating=!0,i.$slider.trigger("beforeChange",[i,i.currentSlide,e]),f=i.currentSlide,i.currentSlide=e,i.setSlideClasses(i.currentSlide),i.updateDots(),i.updateArrows(),i.options.fade===!0?(c!==!0?i.fadeSlide(e,function(){i.postSlide(e)}):i.postSlide(e),i.animateHeight(),void 0):(c!==!0?i.animateSlide(h,function(){i.postSlide(e)}):i.postSlide(e),void 0)))},b.prototype.startLoad=function(){var a=this;a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&(a.$prevArrow.hide(),a.$nextArrow.hide()),a.options.dots===!0&&a.slideCount>a.options.slidesToShow&&a.$dots.hide(),a.$slider.addClass("slick-loading")},b.prototype.swipeDirection=function(){var a,b,c,d,e=this;return a=e.touchObject.startX-e.touchObject.curX,b=e.touchObject.startY-e.touchObject.curY,c=Math.atan2(b,a),d=Math.round(180*c/Math.PI),0>d&&(d=360-Math.abs(d)),45>=d&&d>=0?e.options.rtl===!1?"left":"right":360>=d&&d>=315?e.options.rtl===!1?"left":"right":d>=135&&225>=d?e.options.rtl===!1?"right":"left":"vertical"},b.prototype.swipeEnd=function(){var c,b=this;if(b.dragging=!1,b.shouldClick=b.touchObject.swipeLength>10?!1:!0,void 0===b.touchObject.curX)return!1;if(b.touchObject.edgeHit===!0&&b.$slider.trigger("edge",[b,b.swipeDirection()]),b.touchObject.swipeLength>=b.touchObject.minSwipe)switch(b.swipeDirection()){case"left":c=b.options.swipeToSlide?b.checkNavigable(b.currentSlide+b.getSlideCount()):b.currentSlide+b.getSlideCount(),b.slideHandler(c),b.currentDirection=0,b.touchObject={},b.$slider.trigger("swipe",[b,"left"]);break;case"right":c=b.options.swipeToSlide?b.checkNavigable(b.currentSlide-b.getSlideCount()):b.currentSlide-b.getSlideCount(),b.slideHandler(c),b.currentDirection=1,b.touchObject={},b.$slider.trigger("swipe",[b,"right"])}else b.touchObject.startX!==b.touchObject.curX&&(b.slideHandler(b.currentSlide),b.touchObject={})},b.prototype.swipeHandler=function(a){var b=this;if(!(b.options.swipe===!1||"ontouchend"in document&&b.options.swipe===!1||b.options.draggable===!1&&-1!==a.type.indexOf("mouse")))switch(b.touchObject.fingerCount=a.originalEvent&&void 0!==a.originalEvent.touches?a.originalEvent.touches.length:1,b.touchObject.minSwipe=b.listWidth/b.options.touchThreshold,a.data.action){case"start":b.swipeStart(a);break;case"move":b.swipeMove(a);break;case"end":b.swipeEnd(a)}},b.prototype.swipeMove=function(a){var d,e,f,g,h,b=this;return h=void 0!==a.originalEvent?a.originalEvent.touches:null,!b.dragging||h&&1!==h.length?!1:(d=b.getLeft(b.currentSlide),b.touchObject.curX=void 0!==h?h[0].pageX:a.clientX,b.touchObject.curY=void 0!==h?h[0].pageY:a.clientY,b.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(b.touchObject.curX-b.touchObject.startX,2))),e=b.swipeDirection(),"vertical"!==e?(void 0!==a.originalEvent&&b.touchObject.swipeLength>4&&a.preventDefault(),g=(b.options.rtl===!1?1:-1)*(b.touchObject.curX>b.touchObject.startX?1:-1),f=b.touchObject.swipeLength,b.touchObject.edgeHit=!1,b.options.infinite===!1&&(0===b.currentSlide&&"right"===e||b.currentSlide>=b.getDotCount()&&"left"===e)&&(f=b.touchObject.swipeLength*b.options.edgeFriction,b.touchObject.edgeHit=!0),b.swipeLeft=b.options.vertical===!1?d+f*g:d+f*(b.$list.height()/b.listWidth)*g,b.options.fade===!0||b.options.touchMove===!1?!1:b.animating===!0?(b.swipeLeft=null,!1):(b.setCSS(b.swipeLeft),void 0)):void 0)},b.prototype.swipeStart=function(a){var c,b=this;return 1!==b.touchObject.fingerCount||b.slideCount<=b.options.slidesToShow?(b.touchObject={},!1):(void 0!==a.originalEvent&&void 0!==a.originalEvent.touches&&(c=a.originalEvent.touches[0]),b.touchObject.startX=b.touchObject.curX=void 0!==c?c.pageX:a.clientX,b.touchObject.startY=b.touchObject.curY=void 0!==c?c.pageY:a.clientY,b.dragging=!0,void 0)},b.prototype.unfilterSlides=b.prototype.slickUnfilter=function(){var a=this;null!==a.$slidesCache&&(a.unload(),a.$slideTrack.children(this.options.slide).detach(),a.$slidesCache.appendTo(a.$slideTrack),a.reinit())},b.prototype.unload=function(){var b=this;a(".slick-cloned",b.$slider).remove(),b.$dots&&b.$dots.remove(),b.$prevArrow&&"object"!=typeof b.options.prevArrow&&b.$prevArrow.remove(),b.$nextArrow&&"object"!=typeof b.options.nextArrow&&b.$nextArrow.remove(),b.$slides.removeClass("slick-slide slick-active slick-visible").css("width","")},b.prototype.unslick=function(){var a=this;a.destroy()},b.prototype.updateArrows=function(){var b,a=this;b=Math.floor(a.options.slidesToShow/2),a.options.arrows===!0&&a.options.infinite!==!0&&a.slideCount>a.options.slidesToShow&&(a.$prevArrow.removeClass("slick-disabled"),a.$nextArrow.removeClass("slick-disabled"),0===a.currentSlide?(a.$prevArrow.addClass("slick-disabled"),a.$nextArrow.removeClass("slick-disabled")):a.currentSlide>=a.slideCount-a.options.slidesToShow&&a.options.centerMode===!1?(a.$nextArrow.addClass("slick-disabled"),a.$prevArrow.removeClass("slick-disabled")):a.currentSlide>=a.slideCount-1&&a.options.centerMode===!0&&(a.$nextArrow.addClass("slick-disabled"),a.$prevArrow.removeClass("slick-disabled")))},b.prototype.updateDots=function(){var a=this;null!==a.$dots&&(a.$dots.find("li").removeClass("slick-active"),a.$dots.find("li").eq(Math.floor(a.currentSlide/a.options.slidesToScroll)).addClass("slick-active"))},b.prototype.visibility=function(){var a=this;document[a.hidden]?(a.paused=!0,a.autoPlayClear()):(a.paused=!1,a.autoPlay())},a.fn.slick=function(){var g,a=this,c=arguments[0],d=Array.prototype.slice.call(arguments,1),e=a.length,f=0;for(f;e>f;f++)if("object"==typeof c||"undefined"==typeof c?a[f].slick=new b(a[f],c):g=a[f].slick[c].apply(a[f].slick,d),"undefined"!=typeof g)return g;return a},a(function(){a("[data-slick]").slick()})});(function(a,b){if(typeof module!=="undefined"&&module.exports){module.exports=b(require("jquery")(a))}else{if(typeof define==="function"&&define.amd){define("bootstrap-dialog",["jquery"],function(c){return b(c)})}else{a.BootstrapDialog=b(a.jQuery)}}}(this,function(d){var b=d.fn.modal.Constructor;var c=function(f,e){b.call(this,f,e)};c.getModalVersion=function(){var e=null;if(typeof d.fn.modal.Constructor.VERSION==="undefined"){e="v3.1"}else{if(/3\.2\.\d+/.test(d.fn.modal.Constructor.VERSION)){e="v3.2"}else{if(/3\.3\.[1,2]/.test(d.fn.modal.Constructor.VERSION)){e="v3.3"}else{e="v3.3.4"}}}return e};c.ORIGINAL_BODY_PADDING=d("body").css("padding-right")||0;c.METHODS_TO_OVERRIDE={};c.METHODS_TO_OVERRIDE["v3.1"]={};c.METHODS_TO_OVERRIDE["v3.2"]={hide:function(g){if(g){g.preventDefault()}g=d.Event("hide.bs.modal");this.$element.trigger(g);if(!this.isShown||g.isDefaultPrevented()){return}this.isShown=false;var f=this.getGlobalOpenedDialogs();if(f.length===0){this.$body.removeClass("modal-open")}this.resetScrollbar();this.escape();d(document).off("focusin.bs.modal");this.$element.removeClass("in").attr("aria-hidden",true).off("click.dismiss.bs.modal");d.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",d.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal()}};c.METHODS_TO_OVERRIDE["v3.3"]={setScrollbar:function(){var e=c.ORIGINAL_BODY_PADDING;if(this.bodyIsOverflowing){this.$body.css("padding-right",e+this.scrollbarWidth)}},resetScrollbar:function(){var e=this.getGlobalOpenedDialogs();if(e.length===0){this.$body.css("padding-right",c.ORIGINAL_BODY_PADDING)}},hideModal:function(){this.$element.hide();this.backdrop(d.proxy(function(){var e=this.getGlobalOpenedDialogs();if(e.length===0){this.$body.removeClass("modal-open")}this.resetAdjustments();this.resetScrollbar();this.$element.trigger("hidden.bs.modal")},this))}};c.METHODS_TO_OVERRIDE["v3.3.4"]=d.extend({},c.METHODS_TO_OVERRIDE["v3.3"]);c.prototype={constructor:c,getGlobalOpenedDialogs:function(){var e=[];d.each(a.dialogs,function(g,f){if(f.isRealized()&&f.isOpened()){e.push(f)}});return e}};c.prototype=d.extend(c.prototype,b.prototype,c.METHODS_TO_OVERRIDE[c.getModalVersion()]);var a=function(e){this.defaultOptions=d.extend(true,{id:a.newGuid(),buttons:[],data:{},onshow:null,onshown:null,onhide:null,onhidden:null},a.defaultOptions);this.indexedButtons={};this.registeredButtonHotkeys={};this.draggableData={isMouseDown:false,mouseOffset:{}};this.realized=false;this.opened=false;this.initOptions(e);this.holdThisInstance()};a.BootstrapDialogModal=c;a.NAMESPACE="bootstrap-dialog";a.TYPE_DEFAULT="type-default";a.TYPE_INFO="type-info";a.TYPE_PRIMARY="type-primary";a.TYPE_SUCCESS="type-success";a.TYPE_WARNING="type-warning";a.TYPE_DANGER="type-danger";a.DEFAULT_TEXTS={};a.DEFAULT_TEXTS[a.TYPE_DEFAULT]="Information";a.DEFAULT_TEXTS[a.TYPE_INFO]="Information";a.DEFAULT_TEXTS[a.TYPE_PRIMARY]="Information";a.DEFAULT_TEXTS[a.TYPE_SUCCESS]="Success";a.DEFAULT_TEXTS[a.TYPE_WARNING]="Warning";a.DEFAULT_TEXTS[a.TYPE_DANGER]="Danger";a.DEFAULT_TEXTS.OK="OK";a.DEFAULT_TEXTS.CANCEL="Cancel";a.DEFAULT_TEXTS.CONFIRM="Confirmation";a.SIZE_NORMAL="size-normal";a.SIZE_SMALL="size-small";a.SIZE_WIDE="size-wide";a.SIZE_LARGE="size-large";a.BUTTON_SIZES={};a.BUTTON_SIZES[a.SIZE_NORMAL]="";a.BUTTON_SIZES[a.SIZE_SMALL]="";a.BUTTON_SIZES[a.SIZE_WIDE]="";a.BUTTON_SIZES[a.SIZE_LARGE]="btn-lg";a.ICON_SPINNER="glyphicon glyphicon-asterisk";a.defaultOptions={type:a.TYPE_PRIMARY,size:a.SIZE_NORMAL,cssClass:"",title:null,message:null,nl2br:true,closable:true,closeByBackdrop:true,closeByKeyboard:true,spinicon:a.ICON_SPINNER,autodestroy:true,draggable:false,animate:true,description:""};a.configDefaultOptions=function(e){a.defaultOptions=d.extend(true,a.defaultOptions,e)};a.dialogs={};a.openAll=function(){d.each(a.dialogs,function(f,e){e.open()})};a.closeAll=function(){d.each(a.dialogs,function(f,e){e.close()})};a.moveFocus=function(){var e=null;d.each(a.dialogs,function(g,f){e=f});if(e!==null&&e.isRealized()){e.getModal().focus()}};a.METHODS_TO_OVERRIDE={};a.METHODS_TO_OVERRIDE["v3.1"]={handleModalBackdropEvent:function(){this.getModal().on("click",{dialog:this},function(e){e.target===this&&e.data.dialog.isClosable()&&e.data.dialog.canCloseByBackdrop()&&e.data.dialog.close()});return this},updateZIndex:function(){var g=1040;var h=1050;var i=0;d.each(a.dialogs,function(j,k){i++});var f=this.getModal();var e=f.data("bs.modal").$backdrop;f.css("z-index",h+(i-1)*20);e.css("z-index",g+(i-1)*20);return this},open:function(){!this.isRealized()&&this.realize();this.getModal().modal("show");this.updateZIndex();return this}};a.METHODS_TO_OVERRIDE["v3.2"]={handleModalBackdropEvent:a.METHODS_TO_OVERRIDE["v3.1"]["handleModalBackdropEvent"],updateZIndex:a.METHODS_TO_OVERRIDE["v3.1"]["updateZIndex"],open:a.METHODS_TO_OVERRIDE["v3.1"]["open"]};a.METHODS_TO_OVERRIDE["v3.3"]={};a.METHODS_TO_OVERRIDE["v3.3.4"]=d.extend({},a.METHODS_TO_OVERRIDE["v3.1"]);a.prototype={constructor:a,initOptions:function(e){this.options=d.extend(true,this.defaultOptions,e);return this},holdThisInstance:function(){a.dialogs[this.getId()]=this;return this},initModalStuff:function(){this.setModal(this.createModal()).setModalDialog(this.createModalDialog()).setModalContent(this.createModalContent()).setModalHeader(this.createModalHeader()).setModalBody(this.createModalBody()).setModalFooter(this.createModalFooter());this.getModal().append(this.getModalDialog());this.getModalDialog().append(this.getModalContent());this.getModalContent().append(this.getModalHeader()).append(this.getModalBody()).append(this.getModalFooter());return this},createModal:function(){var e=d('<div class="modal" tabindex="-1" role="dialog" aria-hidden="true"></div>');e.prop("id",this.getId()).attr("aria-labelledby",this.getId()+"_title");return e},getModal:function(){return this.$modal},setModal:function(e){this.$modal=e;return this},createModalDialog:function(){return d('<div class="modal-dialog"></div>')},getModalDialog:function(){return this.$modalDialog},setModalDialog:function(e){this.$modalDialog=e;return this},createModalContent:function(){return d('<div class="modal-content"></div>')},getModalContent:function(){return this.$modalContent},setModalContent:function(e){this.$modalContent=e;return this},createModalHeader:function(){return d('<div class="modal-header"></div>')},getModalHeader:function(){return this.$modalHeader},setModalHeader:function(e){this.$modalHeader=e;return this},createModalBody:function(){return d('<div class="modal-body"></div>')},getModalBody:function(){return this.$modalBody},setModalBody:function(e){this.$modalBody=e;return this},createModalFooter:function(){return d('<div class="modal-footer"></div>')},getModalFooter:function(){return this.$modalFooter},setModalFooter:function(e){this.$modalFooter=e;return this},createDynamicContent:function(f){var e=null;if(typeof f==="function"){e=f.call(f,this)}else{e=f}if(typeof e==="string"){e=this.formatStringContent(e)}return e},formatStringContent:function(e){if(this.options.nl2br){return e.replace(/\r\n/g,"<br />").replace(/[\r\n]/g,"<br />")}return e},setData:function(e,f){this.options.data[e]=f;return this},getData:function(e){return this.options.data[e]},setId:function(e){this.options.id=e;return this},getId:function(){return this.options.id},getType:function(){return this.options.type},setType:function(e){this.options.type=e;this.updateType();return this},updateType:function(){if(this.isRealized()){var e=[a.TYPE_DEFAULT,a.TYPE_INFO,a.TYPE_PRIMARY,a.TYPE_SUCCESS,a.TYPE_WARNING,a.TYPE_DANGER];this.getModal().removeClass(e.join(" ")).addClass(this.getType())}return this},getSize:function(){return this.options.size},setSize:function(e){this.options.size=e;this.updateSize();return this},updateSize:function(){if(this.isRealized()){var e=this;this.getModal().removeClass(a.SIZE_NORMAL).removeClass(a.SIZE_SMALL).removeClass(a.SIZE_WIDE).removeClass(a.SIZE_LARGE);this.getModal().addClass(this.getSize());this.getModalDialog().removeClass("modal-sm");if(this.getSize()===a.SIZE_SMALL){this.getModalDialog().addClass("modal-sm")}this.getModalDialog().removeClass("modal-lg");if(this.getSize()===a.SIZE_WIDE){this.getModalDialog().addClass("modal-lg")}d.each(this.options.buttons,function(g,i){var k=e.getButton(i.id);var f=["btn-lg","btn-sm","btn-xs"];var j=false;if(typeof i.cssClass==="string"){var h=i.cssClass.split(" ");d.each(h,function(l,m){if(d.inArray(m,f)!==-1){j=true}})}if(!j){k.removeClass(f.join(" "));k.addClass(e.getButtonSize())}})}return this},getCssClass:function(){return this.options.cssClass},setCssClass:function(e){this.options.cssClass=e;return this},getTitle:function(){return this.options.title},setTitle:function(e){this.options.title=e;this.updateTitle();return this},updateTitle:function(){if(this.isRealized()){var e=this.getTitle()!==null?this.createDynamicContent(this.getTitle()):this.getDefaultText();this.getModalHeader().find("."+this.getNamespace("title")).html("").append(e).prop("id",this.getId()+"_title")}return this},getMessage:function(){return this.options.message},setMessage:function(e){this.options.message=e;this.updateMessage();return this},updateMessage:function(){if(this.isRealized()){var e=this.createDynamicContent(this.getMessage());this.getModalBody().find("."+this.getNamespace("message")).html("").append(e)}return this},isClosable:function(){return this.options.closable},setClosable:function(e){this.options.closable=e;this.updateClosable();return this},setCloseByBackdrop:function(e){this.options.closeByBackdrop=e;return this},canCloseByBackdrop:function(){return this.options.closeByBackdrop},setCloseByKeyboard:function(e){this.options.closeByKeyboard=e;return this},canCloseByKeyboard:function(){return this.options.closeByKeyboard},isAnimate:function(){return this.options.animate},setAnimate:function(e){this.options.animate=e;return this},updateAnimate:function(){if(this.isRealized()){this.getModal().toggleClass("fade",this.isAnimate())}return this},getSpinicon:function(){return this.options.spinicon},setSpinicon:function(e){this.options.spinicon=e;return this},addButton:function(e){this.options.buttons.push(e);return this},addButtons:function(f){var e=this;d.each(f,function(g,h){e.addButton(h)});return this},getButtons:function(){return this.options.buttons},setButtons:function(e){this.options.buttons=e;this.updateButtons();return this},getButton:function(e){if(typeof this.indexedButtons[e]!=="undefined"){return this.indexedButtons[e]}return null},getButtonSize:function(){if(typeof a.BUTTON_SIZES[this.getSize()]!=="undefined"){return a.BUTTON_SIZES[this.getSize()]}return""},updateButtons:function(){if(this.isRealized()){if(this.getButtons().length===0){this.getModalFooter().hide()}else{this.getModalFooter().show().find("."+this.getNamespace("footer")).html("").append(this.createFooterButtons())}}return this},isAutodestroy:function(){return this.options.autodestroy},setAutodestroy:function(e){this.options.autodestroy=e},getDescription:function(){return this.options.description},setDescription:function(e){this.options.description=e;return this},getDefaultText:function(){return a.DEFAULT_TEXTS[this.getType()]},getNamespace:function(e){return a.NAMESPACE+"-"+e},createHeaderContent:function(){var e=d("<div></div>");e.addClass(this.getNamespace("header"));e.append(this.createTitleContent());e.prepend(this.createCloseButton());return e},createTitleContent:function(){var e=d("<div></div>");e.addClass(this.getNamespace("title"));return e},createCloseButton:function(){var f=d("<div></div>");f.addClass(this.getNamespace("close-button"));var e=d('<button class="close">×</button>');f.append(e);f.on("click",{dialog:this},function(g){g.data.dialog.close()});return f},createBodyContent:function(){var e=d("<div></div>");e.addClass(this.getNamespace("body"));e.append(this.createMessageContent());return e},createMessageContent:function(){var e=d("<div></div>");e.addClass(this.getNamespace("message"));return e},createFooterContent:function(){var e=d("<div></div>");e.addClass(this.getNamespace("footer"));return e},createFooterButtons:function(){var e=this;var f=d("<div></div>");f.addClass(this.getNamespace("footer-buttons"));this.indexedButtons={};d.each(this.options.buttons,function(g,h){if(!h.id){h.id=a.newGuid()}var i=e.createButton(h);e.indexedButtons[h.id]=i;f.append(i)});return f},createButton:function(e){var f=d('<button class="btn"></button>');f.prop("id",e.id);f.data("button",e);if(typeof e.icon!=="undefined"&&d.trim(e.icon)!==""){f.append(this.createButtonIcon(e.icon))}if(typeof e.label!=="undefined"){f.append(e.label)}if(typeof e.cssClass!=="undefined"&&d.trim(e.cssClass)!==""){f.addClass(e.cssClass)}else{f.addClass("btn-default")}if(typeof e.hotkey!=="undefined"){this.registeredButtonHotkeys[e.hotkey]=f}f.on("click",{dialog:this,$button:f,button:e},function(i){var h=i.data.dialog;var j=i.data.$button;var g=j.data("button");if(typeof g.action==="function"){g.action.call(j,h,i)}if(g.autospin){j.toggleSpin(true)}});this.enhanceButton(f);return f},enhanceButton:function(e){e.dialog=this;e.toggleEnable=function(f){var g=this;if(typeof f!=="undefined"){g.prop("disabled",!f).toggleClass("disabled",!f)}else{g.prop("disabled",!g.prop("disabled"))}return g};e.enable=function(){var f=this;f.toggleEnable(true);return f};e.disable=function(){var f=this;f.toggleEnable(false);return f};e.toggleSpin=function(i){var h=this;var g=h.dialog;var f=h.find("."+g.getNamespace("button-icon"));if(typeof i==="undefined"){i=!(e.find(".icon-spin").length>0)}if(i){f.hide();e.prepend(g.createButtonIcon(g.getSpinicon()).addClass("icon-spin"))}else{f.show();e.find(".icon-spin").remove()}return h};e.spin=function(){var f=this;f.toggleSpin(true);return f};e.stopSpin=function(){var f=this;f.toggleSpin(false);return f};return this},createButtonIcon:function(f){var e=d("<span></span>");e.addClass(this.getNamespace("button-icon")).addClass(f);return e},enableButtons:function(e){d.each(this.indexedButtons,function(g,f){f.toggleEnable(e)});return this},updateClosable:function(){if(this.isRealized()){this.getModalHeader().find("."+this.getNamespace("close-button")).toggle(this.isClosable())}return this},onShow:function(e){this.options.onshow=e;return this},onShown:function(e){this.options.onshown=e;return this},onHide:function(e){this.options.onhide=e;return this},onHidden:function(e){this.options.onhidden=e;return this},isRealized:function(){return this.realized},setRealized:function(e){this.realized=e;return this},isOpened:function(){return this.opened},setOpened:function(e){this.opened=e;return this},handleModalEvents:function(){this.getModal().on("show.bs.modal",{dialog:this},function(g){var f=g.data.dialog;f.setOpened(true);if(f.isModalEvent(g)&&typeof f.options.onshow==="function"){var e=f.options.onshow(f);if(e===false){f.setOpened(false)}return e}});this.getModal().on("shown.bs.modal",{dialog:this},function(f){var e=f.data.dialog;e.isModalEvent(f)&&typeof e.options.onshown==="function"&&e.options.onshown(e)});this.getModal().on("hide.bs.modal",{dialog:this},function(f){var e=f.data.dialog;e.setOpened(false);if(e.isModalEvent(f)&&typeof e.options.onhide==="function"){var g=e.options.onhide(e);if(g===false){e.setOpened(true)}return g}});this.getModal().on("hidden.bs.modal",{dialog:this},function(f){var e=f.data.dialog;e.isModalEvent(f)&&typeof e.options.onhidden==="function"&&e.options.onhidden(e);if(e.isAutodestroy()){delete a.dialogs[e.getId()];d(this).remove()}a.moveFocus()});this.handleModalBackdropEvent();this.getModal().on("keyup",{dialog:this},function(e){e.which===27&&e.data.dialog.isClosable()&&e.data.dialog.canCloseByKeyboard()&&e.data.dialog.close()});this.getModal().on("keyup",{dialog:this},function(f){var e=f.data.dialog;if(typeof e.registeredButtonHotkeys[f.which]!=="undefined"){var g=d(e.registeredButtonHotkeys[f.which]);!g.prop("disabled")&&g.focus().trigger("click")}});return this},handleModalBackdropEvent:function(){this.getModal().on("click",{dialog:this},function(e){d(e.target).hasClass("modal-backdrop")&&e.data.dialog.isClosable()&&e.data.dialog.canCloseByBackdrop()&&e.data.dialog.close()});return this},isModalEvent:function(e){return typeof e.namespace!=="undefined"&&e.namespace==="bs.modal"},makeModalDraggable:function(){if(this.options.draggable){this.getModalHeader().addClass(this.getNamespace("draggable")).on("mousedown",{dialog:this},function(g){var f=g.data.dialog;f.draggableData.isMouseDown=true;var e=f.getModalDialog().offset();f.draggableData.mouseOffset={top:g.clientY-e.top,left:g.clientX-e.left}});this.getModal().on("mouseup mouseleave",{dialog:this},function(e){e.data.dialog.draggableData.isMouseDown=false});d("body").on("mousemove",{dialog:this},function(f){var e=f.data.dialog;if(!e.draggableData.isMouseDown){return}e.getModalDialog().offset({top:f.clientY-e.draggableData.mouseOffset.top,left:f.clientX-e.draggableData.mouseOffset.left})})}return this},realize:function(){this.initModalStuff();this.getModal().addClass(a.NAMESPACE).addClass(this.getCssClass());this.updateSize();if(this.getDescription()){this.getModal().attr("aria-describedby",this.getDescription())}this.getModalFooter().append(this.createFooterContent());this.getModalHeader().append(this.createHeaderContent());this.getModalBody().append(this.createBodyContent());this.getModal().data("bs.modal",new c(this.getModal(),{backdrop:"static",keyboard:false,show:false}));this.makeModalDraggable();this.handleModalEvents();this.setRealized(true);this.updateButtons();this.updateType();this.updateTitle();this.updateMessage();this.updateClosable();this.updateAnimate();this.updateSize();return this},open:function(){!this.isRealized()&&this.realize();this.getModal().modal("show");return this},close:function(){this.getModal().modal("hide");return this}};a.prototype=d.extend(a.prototype,a.METHODS_TO_OVERRIDE[c.getModalVersion()]);a.newGuid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(g){var f=Math.random()*16|0,e=g==="x"?f:(f&3|8);return e.toString(16)})};a.show=function(e){return new a(e).open()};a.alert=function(){var f={};var e={type:a.TYPE_PRIMARY,title:null,message:null,closable:false,draggable:false,buttonLabel:a.DEFAULT_TEXTS.OK,callback:null};if(typeof arguments[0]==="object"&&arguments[0].constructor==={}.constructor){f=d.extend(true,e,arguments[0])}else{f=d.extend(true,e,{message:arguments[0],callback:typeof arguments[1]!=="undefined"?arguments[1]:null})}return new a({type:f.type,title:f.title,message:f.message,closable:f.closable,draggable:f.draggable,data:{callback:f.callback},onhide:function(g){!g.getData("btnClicked")&&g.isClosable()&&typeof g.getData("callback")==="function"&&g.getData("callback")(false)},buttons:[{label:f.buttonLabel,action:function(g){g.setData("btnClicked",true);typeof g.getData("callback")==="function"&&g.getData("callback")(true);g.close()}}]}).open()};a.confirm=function(){var f={};var e={type:a.TYPE_PRIMARY,title:null,message:null,closable:false,draggable:false,btnCancelLabel:a.DEFAULT_TEXTS.CANCEL,btnOKLabel:a.DEFAULT_TEXTS.OK,btnOKClass:null,callback:null};if(typeof arguments[0]==="object"&&arguments[0].constructor==={}.constructor){f=d.extend(true,e,arguments[0])}else{f=d.extend(true,e,{message:arguments[0],closable:false,buttonLabel:a.DEFAULT_TEXTS.OK,callback:typeof arguments[1]!=="undefined"?arguments[1]:null})}if(f.btnOKClass===null){f.btnOKClass=["btn",f.type.split("-")[1]].join("-")}return new a({type:f.type,title:f.title,message:f.message,closable:f.closable,draggable:f.draggable,data:{callback:f.callback},buttons:[{label:f.btnCancelLabel,action:function(g){typeof g.getData("callback")==="function"&&g.getData("callback")(false);g.close()}},{label:f.btnOKLabel,cssClass:f.btnOKClass,action:function(g){typeof g.getData("callback")==="function"&&g.getData("callback")(true);g.close()}}]}).open()};a.warning=function(e,f){return new a({type:a.TYPE_WARNING,message:e}).open()};a.danger=function(e,f){return new a({type:a.TYPE_DANGER,message:e}).open()};a.success=function(e,f){return new a({type:a.TYPE_SUCCESS,message:e}).open()};return a}));$(document).ready(function(){var sections=$('.section-container'),nav=$('.sidebar, .banner-sprites'),top_bar=$("#myNavbar"),nav_height=top_bar.outerHeight();$(window).on('scroll',function(){var cur_pos=$(this).scrollTop()+10;sections.each(function(){var top=$(this).offset().top-nav_height,bottom=top+$(this).outerHeight();if(cur_pos>=top&&cur_pos<=bottom){nav.find('a').removeClass('active');sections.removeClass('active');$(this).addClass('active');nav.find('a[href="#'+$(this).attr('id')+'"]').addClass('active');}});});nav.find('a').on('click',function(){var $el=$(this),id=$el.attr('href');$('html, body').animate({scrollTop:$(id).offset().top-nav_height},500);return false;});$('.features-content').slick({dots:true,infinite:false,speed:300,slidesToShow:4,slidesToScroll:4,responsive:[{breakpoint:1130,settings:{slidesToShow:3,slidesToScroll:3,infinite:true,dots:true}},{breakpoint:1024,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:586,settings:{slidesToShow:1,slidesToScroll:1}}]});var randomImage=['/MercuryPortal-theme/images/login/banner-desktop.jpg','/MercuryPortal-theme/images/login/banner-desktop_2.jpg','/MercuryPortal-theme/images/login/banner-desktop_3.jpg','/MercuryPortal-theme/images/login/banner-desktop_4.jpg','/MercuryPortal-theme/images/login/banner-desktop_5.jpg'];$(".banner-image").attr("src",randomImage[Math.floor(Math.random()*randomImage.length)]);$(".back-top").hide();$(function(){$(window).scroll(function(){if($(this).scrollTop()>100){$('.back-top').fadeIn();}else{$('.back-top').fadeOut();}});$('.back-top').click(function(){$('body,html').animate({scrollTop:0},800);return false;});});$('#fixed-sidenav').hide();$(window).scroll(function(){if($(this).scrollTop()>300){$('#fixed-sidenav').fadeIn();}else{$('#fixed-sidenav').fadeOut();}});$('.SeeMore2').click(function(){var $this=$(this);$this.hide();});$('.closebtn').click(function(){var $this=$(this);$this.hide();});$('.testcoll').on('hidden.bs.collapse',function(){var $this=$(this);$this.next().show();});$('.testcoll').on('shown.bs.collapse',function(){var $this=$(this);$this.next().next().show();});$('#btnNav2').click(function(){if($('#contactUsModal').hasClass('in')){$('#contactUsModal').modal('hide');}if($('#forgotUserIdModal').hasClass('in')){$('#forgotUserIdModal').modal('hide');}});$('#btnNav1').click(function(){if($('#contactUsModal').hasClass('in')){$('#contactUsModal').modal('hide');}if($('#forgotUserIdModal').hasClass('in')){$('#forgotUserIdModal').modal('hide');}});$('.awardId').hover(function(){$('#awardId').addClass("awards-sprite-img-hover");},function(){$('#awardId').removeClass("awards-sprite-img-hover");});$('.accessId').hover(function(){$('#accessId').addClass("request-access-sprite-img-hover");},function(){$('#accessId').removeClass("request-access-sprite-img-hover");});$('.featureId').hover(function(){$('#featureId').addClass("features-sprite-img-hover");},function(){$('#featureId').removeClass("features-sprite-img-hover");});});$('#forgotUserIdModal').on('show.bs.modal',function(e){$('#forgotUserIdModal').css('top',$('#myNavbar .container-fluid').height()-($('#header-nav').height()+16));$('#forgotUserIdModal').css('padding-right','0px !important');});$('#contactUsModal').on('show.bs.modal',function(e){$('#contactUsModal').css('top',$('#myNavbar .container-fluid').height()-($('#header-nav').height()+16));$('#contactUsModal').css('padding-right','0px !important');document.getElementById('countryDiv').innerHTML=selectcountry;});function showPhoneDivs(display){var phoneStatusDiv=document.getElementById("phoneStatusLoc");if(phoneStatusDiv){if(display){phoneStatusDiv.style.visibility="visible";phoneStatusDiv.style.display="block";}else{phoneStatusDiv.style.visibility="hidden";phoneStatusDiv.style.display="none";}}var phoneDiv=document.getElementById("phoneLoc");if(phoneDiv){if(display){phoneDiv.style.visibility="visible";phoneDiv.style.display="block";}else{phoneDiv.style.visibility="hidden";phoneDiv.style.display="block";}}}var isTollfreePhoneNumber=false;function showPhoneNumbers(phoneNumber,type){var msg="From this location you can call us ";var phoneStatusDiv=document.getElementById("phoneStatusLoc");if(type=='TOLLFREE'){msg+=" <span style='color:#FF3737;'>at no cost</span> ";}msg+="at the following number:";phoneStatusDiv.innerHTML=msg;var phoneDiv=document.getElementById("phoneLoc");if(phoneDiv){if(type=='TOLLFREE'){phoneDiv.innerHTML="<b>"+phoneNumber+"<b>";}else{phoneDiv.innerHTML="<b>+"+phoneNumber+"<b>";}}}function showSupportNumbers(){var phone="";var selectedCountry=document.getElementById("countryLoc").value;if(selectedCountry!=""){var countryDt=selectedCountry.split(";");phone=countryDt[0];if(phone=='NONUMBER')phone='+ (1) 212.670.1900';showPhoneDivs(true);showPhoneNumbers(phone,countryDt[1]);}else{showPhoneDivs(false);}}var currentURL=window.location.href;currentURL=currentURL.toLowerCase();if(currentURL.indexOf('/login')==-1){window.location.reload(true);}function mercuryResetPassword(){document.forms[0].userid.value="";mercuryForgotPassword();}function mercuryForgotPassword(){var url="/login/resetpass-pwd?p_p_id=resetpassword_WAR_resetpasswordportlet_INSTANCE_iX7c&p_p_lifecycle=1&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1&_resetpassword_WAR_resetpasswordportlet_INSTANCE_iX7c_javax.portlet.action=validateUserId";var form=document.forms[0];var userIdVal=form.userid.value;var queryString='&_resetpassword_WAR_resetpasswordportlet_INSTANCE_iX7c_userid='+userIdVal;queryString=queryString+'&mobView=mobView';var tierVal=getQuerystring('tier');if(tierVal==2){queryString=queryString+'&_resetpassword_WAR_resetpasswordportlet_INSTANCE_iX7c_tier=2';}document.location.href=url+queryString;}function submitFormM(){document.forms['userId'].submit();}function showPopup(urlPopup){var popupWindow=null;popupWindow=window.open(urlPopup,'_blank','rel=noopener noreferrer, width=1050, menubar=no,height=600,left=25,top=25, scrollbars=no');popUpWindow.opener=null;}AUI().ready('aui-dialog','aui-overlay-manager','dd-constrain',function(A){});function showImage(){document.getElementById('loading-img').style.display="block";}function hideImage(){document.getElementById('loading-img').style.display="none";}$(document).ready(function(){$('#userid').bind("keypress",function(event){if(event.keyCode==13&&$('#loginId')!=null){document.getElementById('loginId').click();}});$('#password').bind("keypress",function(event){if(event.keyCode==13&&$('#loginId')!=null){document.getElementById('loginId').click();}});});function getErrorDescription(errorCategoryName,errorCode){Ext.Ajax.request({url:'/JSONService/errorMessage',params:{method:'getErrorDescription',errorCategoryName:errorCategoryName,errorCode:errorCode},success:function(response,opts){var obj=Ext.decode(response.responseText);alert(obj.description);}});}var defaultPhoneNo='+ (1) 212.670.1900';var portletNamespace='<portlet:namespace />';function showPhoneDiv(display){var phoneStatusDiv=document.getElementById("phoneStatus");if(phoneStatusDiv){if(display){phoneStatusDiv.style.visibility="visible";phoneStatusDiv.style.display="block";}else{phoneStatusDiv.style.visibility="hidden";phoneStatusDiv.style.display="none";}}var phoneDiv=document.getElementById("phone");if(phoneDiv){if(display){phoneDiv.style.visibility="visible";phoneDiv.style.display="block";}else{phoneDiv.style.visibility="hidden";phoneDiv.style.display="block";}}}var isTollfreePhoneNumber=false;function showPhoneNumber(phoneNumber,type){var msg="From this location you can call us ";var phoneStatusDiv=document.getElementById("phoneStatus");if(type=='TOLLFREE'){msg+=" <span style='color:#FF3737;'>at no cost</span> ";}msg+="at the following number:";phoneStatusDiv.innerHTML=msg;var phoneDiv=document.getElementById("phone");if(phoneDiv){if(type=='TOLLFREE'){phoneDiv.innerHTML="<b>"+$ESAPI.encoder().encodeForHTML(phoneNumber)+"<b>";}else{phoneDiv.innerHTML="<b>+"+$ESAPI.encoder().encodeForHTML(phoneNumber)+"<b>";}}}function showSupportNumber(){var phone="";var selectedCountry=document.getElementById("country").value;if(selectedCountry!=""){var countryDt=selectedCountry.split(";");phone=countryDt[0];if(phone=='NONUMBER')phone=defaultPhoneNo;showPhoneDiv(true);showPhoneNumber(phone,countryDt[1]);}else{showPhoneDiv(false);}}function callBank(userIdVal){}function is_ie6(){return false;}function detectmob(){if(navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/BlackBerry/i)||navigator.userAgent.match(/Windows Phone/i)){return true;}else{return false;}}function doLogin(env){document.getElementById("loginId").disabled=true;var detectMobile=detectmob();var isIe6=is_ie6();var form=document.forms[0];var userIdVal=form.userid.value;if(form.userid.value==""||form.password.value==""){hideImage();if(detectMobile){document.getElementById('loginError_1').style.display='';}else{newMessage="Please enter a valid user name and password.";showBootstrapSystemDialog('System Message',newMessage,false);}document.getElementById("loginId").disabled=false;return;}var isTier2=getQuerystring("tier");if(isTier2!=null){document.forms[0].authtype.value="AUTH_T2B";}var target=getQuerystring("TARGET");if(target!=null&&$.trim(target).length>0&&target.toLowerCase().indexOf("http")>0){target=decodeURIComponent(target.substring(target.toLowerCase().indexOf("http")));target=target.split('$').join('');}var newMessage;var loginData=$('#LoginForm').serialize();if(userIdVal!=null&&userIdVal.toLowerCase().indexOf('bh-')!=-1){var passwordVal=form.password.value;document.getElementById('bhTarget').value=target;document.getElementById('bhUserid').value=userIdVal;document.getElementById('bhPassword').value=passwordVal;document.getElementById('bhLoginForm').submit();}else{document.getElementById("referingURL").value=target;callBank(userIdVal);$.ajax({type:'POST',url:"/mlxauth/login.htm",data:$('#LoginForm').serialize(),success:function(mesg,a,r){var result=$.trim(r.responseText);if("AUTHENTICATED"===result){var portalRememberMe="off";if(loginData.indexOf('rememberme')!=-1){portalRememberMe="on";}if(isIe6){document.location.href="/ie6";}else{if(isTier2!=null){getPasswordExpiryValidate(loginData,userIdVal,target,isTier2,portalRememberMe);}else{document.getElementById('portalrememberme').value=portalRememberMe;document.getElementById('RTARGET').value=target;document.forms['f'].submit();}}}else if("NOT_AUTHENTICATED"===result){hideImage();if(isTier2!=null){newMessage="Login Failed. ";}else{newMessage="Login Failed. ";}if(detectMobile){document.getElementById('loginError_1').style.display='';}else{showBootstrapSystemDialog('System Message',newMessage,true);}document.getElementById("loginId").disabled=false;}else if("LOCKED"===result){hideImage();newMessage="Login Failed.";if(detectMobile){document.getElementById('loginError_3').style.display='';}else{showBootstrapSystemDialog('System Message',newMessage,true);}document.getElementById("loginId").disabled=false;}else if("ACCOUNT_DISABLED"===result){hideImage();newMessage="Login Failed.";if(detectMobile){document.getElementById('loginError_4').style.display='';}else{showBootstrapSystemDialog('System Message',newMessage,true);}document.getElementById("loginId").disabled=false;}else if("ACCOUNT_INACTIVE"===result){hideImage();newMessage="Login Failed.";if(detectMobile){document.getElementById('loginError_5').style.display='';}else{showBootstrapSystemDialog('System Message',newMessage,true);}document.getElementById("loginId").disabled=false;}else if("NOT_AUTHORIZED"===result){hideImage();newMessage="Login Failed.";if(detectMobile){document.getElementById('loginError_5').style.display='';}else{showBootstrapSystemDialog('System Message',newMessage,true);}document.getElementById("loginId").disabled=false;}else if("PASSWORD_EXPIRED"===result){if(detectMobile){document.getElementById('loginError_6').style.display='';}else{showPasswordExpired('System Message',newMessage,true);}document.getElementById("loginId").disabled=false;}if("AUTHENTICATED"!=result){var formData="userId="+userIdVal+"&loginStatus="+result;$.ajax({type:'POST',url:"/public/WSUUMAuth/logindetails",data:formData,success:function(mesg,a,r){}});}}});}}function getPasswordExpiryValidate(loginData,userIdVal,target,isTier2,portalRememberMe){var dataParam='userid='+userIdVal;if(userIdVal.length!=0){jQuery.ajax({type:'POST',url:"/public/WSUUMAuth/passwordexpiry",data:dataParam,success:function(mesg,a,r){var rText=jQuery.trim(r.responseText);rText=rText.split(/~/);if(r&&r.responseText&&rText[0]=='FALSE'){if(rText[1]<0){showPasswordExpired('System Message',newMessage,true);}else{getResetPasswordConfirm(loginData,userIdVal,target,isTier2,rText[1],portalRememberMe);}}else{document.getElementById('portalrememberme').value=portalRememberMe;document.getElementById('RTARGET').value=target;document.getElementById('tier').value="2";document.forms['f'].submit();}},error:function(xhr,ajaxOptions,thrownError){alert("Request failed.");}});}}function getResetPasswordConfirm(loginData,userIdVal,target,isTier2,eDays,portalRememberMe){var url="/login/resetpass-pwd?p_p_id=resetpassword_WAR_resetpasswordportlet_INSTANCE_iX7c&p_p_lifecycle=1&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1&_resetpassword_WAR_resetpasswordportlet_INSTANCE_iX7c_javax.portlet.action=validateUserId";var queryString='&_resetpassword_WAR_resetpasswordportlet_INSTANCE_iX7c_userid='+userIdVal;queryString+='&_resetpassword_WAR_resetpasswordportlet_INSTANCE_iX7c_tier='+isTier2;AUI().ready('aui-dialog',function(A){var options={title:'System Message',bodyContent:'We have detected that your current Mercury Portal password will <u>expire</u> in '+eDays+' day(s).<br/> If you would like to reset your password now, please click <a href="'+url+queryString+'">here</a>.',centered:true,constrain2view:true,draggable:true,resizable:false,close:false,group:'default',height:150,stack:true,width:375,buttons:[{text:'Proceed to Application',handler:function(){this.close();document.getElementById('portalrememberme').value=portalRememberMe;document.getElementById('RTARGET').value=target;document.getElementById('tier').value="2";document.forms['f'].submit();}}]};var dialog923775=new A.Dialog(AUI().merge(options,{title:'System Message',xy:[200,50]})).render();});}function getQuerystring(key){key=key.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");var regex=new RegExp("[\\?&]"+key+"=([^&#]*)");var qs=regex.exec(window.location.href);if(qs!=null&&$.trim(qs).length>0)return qs[1];else return null;}function forgotPswd(){var newMessage="If you don't remember your Password, please contact our Help Desk for assistance.";showSystemDialog('Technical Support',newMessage,false);}function forgotUserId(){var newMessage="If you don't remember your User Id, please contact our Help Desk for assistance.";showSystemDialog('Technical Support',newMessage,false);}var userIdDialog;function closePopup(){userIdDialog.close();contactUs();}function showSystemDialog(title,message,isClear){var newMesg="<div class='portal-message-popup'>"+"<div id='messageDivId'>"+message+"</div><br/>"+"If you would like more information about becoming a user, or need technical assistance, please click the <a data-dismiss='modal' data-target='#contactUsModal' data-toggle='modal' style='cursor:pointer;'>Contact Us</a> link.<br/><br/>"+"Please note that if you elect to communicate via electronic mail, you acknowledge that such communication is not necessarily secure.</div>";AUI().use('aui-dialog','aui-io',function(A){userIdDialog=new A.Dialog({title:title,centered:true,modal:true,draggable:true,width:300,resizable:false,focused:true,bodyContent:newMesg}).focus();userIdDialog.on('close',function(){if(isClear){clear();}setFocus();});userIdDialog.render();});}function showPasswordExpired(title,message,isClear){var newMesg="<div class='portal-message-popup'>"+"<div id='messageDivId'> Your current Mercury Portal password has <u>expired</u>.</div><br/>"+"For assistance with Password Reset, please click on <a data-dismiss='modal' data-target='#contactUsModal' data-toggle='modal' style='cursor:pointer;'>Contact Us</a>.<br/><br/>"+"Please note that if you elect to communicate via electronic mail, you acknowledge that such communication is not necessarily secure.</div>";BootstrapDialog.show({title:title,message:newMesg,animate:false});$('.bootstrap-dialog-close-button').on('click',function(){$('#userid').val('');$('#password').val('');});}var opt="<option selected='selected' value=''>Select One</option>"+"<option value='44.20.7995.7995 ;TOLL'>Albania</option>"+"<option value='44.20.7995.7995 ;TOLL'>Algeria</option>"+"<option value='(1).212.670.1900 ;TOLL'>American Samoa</option>"+"<option value='44.20.7995.7995 ;TOLL'>Andorra</option>"+"<option value='44.20.7995.7995 ;TOLL'>Angola</option>"+"<option value='(1).212.670.1900 ;TOLL'>Anguilla</option>"+"<option value='(1).212.670.1900 ;TOLL'>Antarctica</option>"+"<option value='(1).212.670.1900 ;TOLL'>Antigua and Barbuda</option>"+"<option value='0800.444.5824 ;TOLL'>Argentina</option>"+"<option value='44.20.7995.7995 ;TOLL'>Armenia</option>"+"<option value='(1).212.670.1900 ;TOLL'>Aruba</option>"+"<option value='1800 12 9223 ;TOLL'>Australia</option>"+"<option value='44.20.7995.7995 ;TOLL'>Austria</option>"+"<option value='44.20.7995.7995 ;TOLL'>Azerbaijan</option>"+"<option value='(1).212.670.1900 ;TOLL'>Bahamas</option>"+"<option value='44.20.7995.7995 ;TOLL'>Bahrain</option>"+"<option value='81.3.6225.6409 ;TOLL'>Bangladesh</option>"+"<option value='(1).212.670.1900 ;TOLL'>Barbados</option>"+"<option value='44.20.7995.7995 ;TOLL'>Belarus</option>"+"<option value='0800.7.8654 ;TOLL'>Belgium</option>"+"<option value='(1).212.670.1900 ;TOLL'>Belize</option>"+"<option value='44.20.7995.7995 ;TOLL'>Benin</option>"+"<option value='(1).212.670.1900 ;TOLL'>Bermuda</option>"+"<option value='81.3.6225.6409 ;TOLL'>Bhutan</option>"+"<option value='(1).212.670.1900 ;TOLL'>Bolivia</option>"+"<option value='44.20.7995.7995 ;TOLL'>Bosnia and Herzegovina</option>"+"<option value='44.20.7995.7995 ;TOLL'>Botswana</option>"+"<option value='44.20.7995.7995 ;TOLL'>Bouvet Island</option>"+"<option value='(1).212.670.1900 ;TOLL'>Brazil</option>"+"<option value='44.20.7995.7995 ;TOLL'>British Indian Ocean Territory</option>"+"<option value='44.20.7995.7995 ;TOLL'>Brunei Darussalam</option>"+"<option value='44.20.7995.7995 ;TOLL'>Bulgaria</option>"+"<option value='44.20.7995.7995 ;TOLL'>Burkina Faso</option>"+"<option value='44.20.7995.7995 ;TOLL'>Burundi</option>"+"<option value='44.20.7995.7995 ;TOLL'>Cambodia</option>"+"<option value='44.20.7995.7995 ;TOLL'>Cameroon</option>"+"<option value='1.866.666.9836 ;TOLL'>Canada</option>"+"<option value='44.20.7995.7995 ;TOLL'>Cape Verde</option>"+"<option value='(1).212.670.1900 ;TOLL'>Cayman Islands</option>"+"<option value='44.20.7995.7995 ;TOLL'>Central African Republic</option>"+"<option value='44.20.7995.7995 ;TOLL'>Chad</option>"+"<option value='(1).212.670.1900 ;TOLL'>Chile</option>"+"<option value='81.3.6225.6409 ;TOLL'>China</option>"+"<option value='81.3.6225.6409 ;TOLL'>Christmas Island</option>"+"<option value='81.3.6225.6409 ;TOLL'>Cocos Islands</option>"+"<option value='(1).212.670.1900 ;TOLL'>Columbia</option>"+"<option value='44.20.7995.7995 ;TOLL'>Comoros</option>"+"<option value='44.20.7995.7995 ;TOLL'>Congo</option>"+"<option value='44.20.7995.7995 ;TOLL'>Congo, The Democratic Repub</option>"+"<option value='81.3.6225.6409 ;TOLL'>Cook Islands</option>"+"<option value='(1).212.670.1900 ;TOLL'>Costa Rica</option>"+"<option value='44.20.7995.7995 ;TOLL'>Cote D'ivoire</option>"+"<option value='44.20.7995.7995 ;TOLL'>Croatia</option>"+"<option value='(1).212.670.1900 ;TOLL'>Cuba</option>"+"<option value='44.20.7995.7995 ;TOLL'>Cyprus</option>"+"<option value='44.20.7995.7995 ;TOLL'>Czech Republic</option>"+"<option value='44.20.7995.7995 ;TOLL'>Denmark</option>"+"<option value='44.20.7995.7995 ;TOLL'>Djibouti</option>"+"<option value='(1).212.670.1900 ;TOLL'>Dominica</option>"+"<option value='(1).212.670.1900 ;TOLL'>Dominican Republic</option>"+"<option value='81.3.6225.6409 ;TOLL'>East Timor</option>"+"<option value='(1).212.670.1900 ;TOLL'>Ecuador</option>"+"<option value='44.20.7995.7995 ;TOLL'>Egypt</option>"+"<option value='(1).212.670.1900 ;TOLL'>El Salvador</option>"+"<option value='44.20.7995.7995 ;TOLL'>Equatorial Guinea</option>"+"<option value='44.20.7995.7995 ;TOLL'>Eritrea</option>"+"<option value='44.20.7995.7995 ;TOLL'>Estonia</option>"+"<option value='44.20.7995.7995 ;TOLL'>Ethiopia</option>"+"<option value='(1).212.670.1900 ;TOLL'>Falkland Islands</option>"+"<option value='44.20.7995.7995 ;TOLL'>Faroe Islands</option>"+"<option value='81.3.6225.6409 ;TOLL'>Fiji</option>"+"<option value='44.20.7995.7995 ;TOLL'>Finland</option>"+"<option value='0800.90.4301 ;TOLL'>France</option>"+"<option value='44.20.7995.7995 ;TOLL'>France, Metropolitan</option>"+"<option value='81.3.6225.6409 ;TOLL'>French Guiana</option>"+"<option value='81.3.6225.6409 ;TOLL'>French Polynesia</option>"+"<option value='(1).212.670.1900 ;TOLL'>French Southern Territories</option>"+"<option value='44.20.7995.7995 ;TOLL'>Gabon</option>"+"<option value='44.20.7995.7995 ;TOLL'>Gambia</option>"+"<option value='44.20.7995.7995 ;TOLL'>Georgia</option>"+"<option value='0800.100.9278 ;TOLL'>Germany</option>"+"<option value='44.20.7995.7995 ;TOLL'>Ghana</option>"+"<option value='44.20.7995.7995 ;TOLL'>Gibraltar</option>"+"<option value='44.20.7995.7995 ;TOLL'>Greece</option>"+"<option value='44.20.7995.7995 ;TOLL'>Greenland</option>"+"<option value='(1).212.670.1900 ;TOLL'>Grenada</option>"+"<option value='(1).212.670.1900 ;TOLL'>Guadeloupe</option>"+"<option value='81.3.6225.6409 ;TOLL'>Guam</option>"+"<option value='(1).212.670.1900 ;TOLL'>Guatemala</option>"+"<option value='44.20.7995.7995 ;TOLL'>Guinea</option>"+"<option value='44.20.7995.7995 ;TOLL'>Guinea-Bissau</option>"+"<option value='(1).212.670.1900 ;TOLL'>Guyana</option>"+"<option value='(1).212.670.1900 ;TOLL'>Haiti</option>"+"<option value='81.3.6225.6409 ;TOLL'>Heard and McDonald Islands</option>"+"<option value='44.20.7995.7995 ;TOLL'>Holy See (Vatican City State)</option>"+"<option value='(1).212.670.1900 ;TOLL'>Honduras</option>"+"<option value='800.90.0915 ;TOLL'>Hong Kong</option>"+"<option value='44.20.7995.7995 ;TOLL'>Hungary</option>"+"<option value='44.20.7995.7995 ;TOLL'>Iceland</option>"+"<option value='81.3.6225.6409 ;TOLL'>India</option>"+"<option value='81.3.6225.6409 ;TOLL'>Indonesia</option>"+"<option value='44.20.7995.7995 ;TOLL'>Iran</option>"+"<option value='44.20.7995.7995 ;TOLL'>Iraq</option>"+"<option value='44.20.7995.7995 ;TOLL'>Ireland</option>"+"<option value='44.20.7995.7995 ;TOLL'>Israel</option>"+"<option value='800.879237 ;TOLL'>Italy</option>"+"<option value='(1).212.670.1900 ;TOLL'>Jamaica</option>"+"<option value='81 3 6225 6409 ;TOLL'>Japan</option>"+"<option value='44.20.7995.7995 ;TOLL'>Jordan</option>"+"<option value='81.3.6225.6409 ;TOLL'>Kazakhstan</option>"+"<option value='81.3.6225.6409 ;TOLL'>Kenya</option>"+"<option value='(1).212.670.1900 ;TOLL'>Kiribati</option>"+"<option value='81.3.6225.6409 ;TOLL'>Korea (Democratic Repub)</option>"+"<option value='81.3.6225.6409 ;TOLL'>Korea, Republic of</option>"+"<option value='44.20.7995.7995 ;TOLL'>Kuwait</option>"+"<option value='44.20.7995.7995 ;TOLL'>Kyrgyzstan</option>"+"<option value='81.3.6225.6409 ;TOLL'>Lao People's Democratic Repub</option>"+"<option value='44.20.7995.7995.;TOLL'>Latvia</option>"+"<option value='44.20.7995.7995 ;TOLL'>Lebanon</option>"+"<option value='44.20.7995.7995 ;TOLL'>Lesotho</option>"+"<option value='44.20.7995.7995 ;TOLL'>Liberia</option>"+"<option value='44.20.7995.7995 ;TOLL'>Libyan Arab Jamahiriya</option>"+"<option value='44.20.7995.7995 ;TOLL'>Liechtenstein</option>"+"<option value='44.20.7995.7995 ;TOLL'>Lithuania</option>"+"<option value='0800.9781 ;TOLL'>Luxembourg</option>"+"<option value='81.3.6225.6409 ;TOLL'>Macau</option>"+"<option value='44.20.7995.7995 ;TOLL'>Macedonia</option>"+"<option value='44.20.7995.7995 ;TOLL'>Madagascar</option>"+"<option value='44.20.7995.7995 ;TOLL'>Malawi</option>"+"<option value='81.3.6225.6409 ;TOLL'>Malaysia</option>"+"<option value='81.3.6225.6409 ;TOLL'>Maldives</option>"+"<option value='44.20.7995.7995 ;TOLL'>Mali</option>"+"<option value='44.20.7995.7995 ;TOLL'>Malta</option>"+"<option value='81.3.6225.6409 ;TOLL'>Marshall Islands</option>"+"<option value='(1).212.670.1900 ;TOLL'>Martinique</option>"+"<option value='44.20.7995.7995 ;TOLL'>Mauritania</option>"+"<option value='44.20.7995.7995 ;TOLL'>Mauritius</option>"+"<option value='44.20.7995.7995 ;TOLL'>Mayotte</option>"+"<option value='001.866.666.9837 ;TOLL'>Mexico</option>"+"<option value='81.3.6225.6409 ;TOLL'>Micronesia</option>"+"<option value='44.20.7995.7995 ;TOLL'>Moldova</option>"+"<option value='44.20.7995.7995 ;TOLL'>Monaco</option>"+"<option value='81.3.6225.6409 ;TOLL'>Mongolia</option>"+"<option value='(1).212.670.1900 ;TOLL'>Montserrat</option>"+"<option value='44.20.7995.7995 ;TOLL'>Morocco</option>"+"<option value='44.20.7995.7995 ;TOLL'>Mozambique</option>"+"<option value='81.3.6225.6409 ;TOLL'>Myanmar</option>"+"<option value='44.20.7995.7995 ;TOLL'>Namibia</option>"+"<option value='81.3.6225.6409 ;TOLL'>Nauru</option>"+"<option value='81.3.6225.6409 ;TOLL'>Nepal</option>"+"<option value='0800.022.1981 ;TOLL'>Netherlands</option>"+"<option value='(1).212.670.1900 ;TOLL'>Netherlands Antilles</option>"+"<option value='81.3.6225.6409 ;TOLL'>New Caledonia</option>"+"<option value='81.3.6225.6409 ;TOLL'>New Zealand</option>"+"<option value='(1).212.670.1900 ;TOLL'>Nicaragua</option>"+"<option value='44.20.7995.7995 ;TOLL'>Niger</option>"+"<option value='44.20.7995.7995 ;TOLL'>Nigeria</option>"+"<option value='81.3.6225.6409 ;TOLL'>Niue</option>"+"<option value='81.3.6225.6409 ;TOLL'>Norfolk Island</option>"+"<option value='81.3.6225.6409 ;TOLL'>Northern Mariana Islands</option>"+"<option value='44.20.7995.7995 ;TOLL'>Norway</option>"+"<option value='44.20.7995.7995 ;TOLL'>Oman</option>"+"<option value='81.3.6225.6409 ;TOLL'>Pakistan</option>"+"<option value='81.3.6225.6409 ;TOLL'>Palau</option>"+"<option value='(1).212.670.1900 ;TOLL'>Panama</option>"+"<option value='81.3.6225.6409 ;TOLL'>Papua New Guinea</option>"+"<option value='(1).212.670.1900 ;TOLL'>Paraguay</option>"+"<option value='(1).212.670.1900 ;TOLL'>Peru</option>"+"<option value='81.3.6225.6409 ;TOLL'>Philippines</option>"+"<option value='(1).212.670.1900 ;TOLL'>Pitcairn</option>"+"<option value='44.20.7995.7995 ;TOLL'>Poland</option>"+"<option value='44.20.7995.7995 ;TOLL'>Portugal</option>"+"<option value='(1).212.670.1900 ;TOLL'>Puerto Rico</option>"+"<option value='44.20.7995.7995 ;TOLL'>Qatar</option>"+"<option value='44.20.7995.7995 ;TOLL'>Reunion</option>"+"<option value='44.20.7995.7995 ;TOLL'>Romania</option>"+"<option value='44.20.7995.7995 ;TOLL'>Russian Federation</option>"+"<option value='44.20.7995.7995 ;TOLL'>Rwanda</option>"+"<option value='(1).212.670.1900 ;TOLL'>Saint Kitts and Nevis</option>"+"<option value='(1).212.670.1900 ;TOLL'>Saint Lucia</option>"+"<option value='(1).212.670.1900 ;TOLL'>Saint Vincent and Grenadines</option>"+"<option value='81.3.6225.6409 ;TOLL'>Samoa</option>"+"<option value='44.20.7995.7995 ;TOLL'>San Marino</option>"+"<option value='44.20.7995.7995 ;TOLL'>Sao Tome and Principe</option>"+"<option value='44.20.7995.7995 ;TOLL'>Saudi Arabia</option>"+"<option value='44.20.7995.7995 ;TOLL'>Senegal</option>"+"<option value='44.20.7995.7995 ;TOLL'>Seychelles</option>"+"<option value='44.20.7995.7995 ;TOLL'>Sierra Leone</option>"+"<option value='800.110.1182 ;TOLL'>Singapore</option>"+"<option value='44.20.7995.7995 ;TOLL'>Slovakia</option>"+"<option value='44.20.7995.7995 ;TOLL'>Slovenia</option>"+"<option value='81.3.6225.6409 ;TOLL'>Solomon Islands</option>"+"<option value='81.3.6225.6409 ;TOLL'>Somalia</option>"+"<option value='44.20.7995.7995 ;TOLL'>South Africa</option>"+"<option value='44.20.7995.7995 ;TOLL'>South Georgia and Sandwich Isl</option>"+"<option value='900.951016 ;TOLL'>Spain</option>"+"<option value='81.3.6225.6409 ;TOLL'>Sri Lanka</option>"+"<option value='(1).212.670.1900 ;TOLL'>St. Helena</option>"+"<option value='(1).212.670.1900 ;TOLL'>St. Pierre and Miquelon</option>"+"<option value='44.20.7995.7995 ;TOLL'>Sudan</option>"+"<option value='(1).212.670.1900 ;TOLL'>Suriname</option>"+"<option value='44.20.7995.7995 ;TOLL'>Svalbard and Jan Mayen Islands</option>"+"<option value='44.20.7995.7995 ;TOLL'>Swaziland</option>"+"<option value='44.20.7995.7995 ;TOLL'>Sweden</option>"+"<option value='0800.83.7418 ;TOLL'>Switzerland</option>"+"<option value='44.20.7995.7995 ;TOLL'>Syrian Arab Republic</option>"+"<option value='81.3.6225.6409 ;TOLL'>Taiwan, Province of China</option>"+"<option value='44.20.7995.7995 ;TOLL'>Tajikistan</option>"+"<option value='44.20.7995.7995 ;TOLL'>Tanzania</option>"+"<option value='81.3.6225.6409 ;TOLL'>Thailand</option>"+"<option value='44.20.7995.7995 ;TOLL'>Togo</option>"+"<option value='81.3.6225.6409 ;TOLL'>Tokelau</option>"+"<option value='81.3.6225.6409 ;TOLL'>Tonga</option>"+"<option value='(1).212.670.1900 ;TOLL'>Trinidad and Tobago</option>"+"<option value='44.20.7995.7995 ;TOLL'>Tunisia</option>"+"<option value='44.20.7995.7995 ;TOLL'>Turkey</option>"+"<option value='44.20.7995.7995 ;TOLL'>Turkmenistan</option>"+"<option value='(1).212.670.1900 ;TOLL'>Turks and Caicos Islands</option>"+"<option value='81.3.6225.6409 ;TOLL'>Tuvalu</option>"+"<option value='44.20.7995.7995 ;TOLL'>Uganda</option>"+"<option value='44.20.7995.7995 ;TOLL'>Ukraine</option>"+"<option value='44.20.7995.7995 ;TOLL'>United Arab Emirates</option>"+"<option value='0800.085.7990 ;TOLL'>United Kingdom</option>"+"<option value='1.877.333.9183 ;TOLL'>United States</option>"+"<option value='(1).212.670.1900 ;TOLL'>Uruguay</option>"+"<option value='44.20.7995.7995 ;TOLL'>Uzbekistan</option>"+"<option value='81.3.6225.6409 ;TOLL'>Vanuatu</option>"+"<option value='44.20.7995.7995 ;TOLL'>Vatican City</option>"+"<option value='(1).212.670.1900 ;TOLL'>Venezuela</option>"+"<option value='81.3.6225.6409 ;TOLL'>Viet Nam</option>"+"<option value='(1).212.670.1900 ;TOLL'>Virgin Islands(British)</option>"+"<option value='(1).212.670.1900 ;TOLL'>Virgin Islands (U.S.)</option>"+"<option value='81.3.6225.6409 ;TOLL'>Wallis and Futuna Islands</option>"+"<option value='44.20.7995.7995 ;TOLL'>Western Sahara</option>"+"<option value='44.20.7995.7995 ;TOLL'>Yemen</option>"+"<option value='44.20.7995.7995 ;TOLL'>Yugoslavia</option>"+"<option value='44.20.7995.7995 ;TOLL'>Zaire</option>"+"<option value='44.20.7995.7995 ;TOLL'>Zambia</option>"+"<option value='44.20.7995.7995 ;TOLL'>Zimbabwe</option>";var selectcountryLoc="<select id='countryLoc' name='country' onchange='javascript:showSupportNumbers()' "+"style='color:#000; background-color:#D5D5D5; font:1em Arial,Helvetica,Verdana,sans-serif;'>"+opt+"</select>";var selectcountry="<select id='country' name='country' onchange='javascript:showSupportNumber()' "+"style='color:#000; background-color:#D5D5D5; font:1em Arial,Helvetica,Verdana,sans-serif;'>"+opt+"</select>";var contact="<div class='baml-control'><div class='baml-control-body' style='height: 100%'>"+"<table border='0' cellpadding='0' cellspacing='0'><tbody><tr><td rowspan='17' width='6%'> </td>"+"<td> </td></tr><tr><td><span style='font-weight: 700;'>For assistance, please contact Client Services:</span></td>"+"</tr><tr><td><br /><span style='color: rgb(255, 255, 102);'>Americas</span></td></tr><tr><td>1 877 333 9183 (US Only)</td>"+"</tr><tr><td>+1 212 670 1900</td></tr><tr><td> </td></tr><tr><td><span style='color: rgb(255, 255, 102);'>Europe, Middle East & Africa</span></td></tr>"+"<tr><td>0800 085 7990 (UK only)</td></tr>"+"<tr><td>+44 20 7995 7995</td></tr><tr><td> </td></tr><tr><td><span style='color: rgb(255, 255, 102);'>Asia Pacific</span></td>"+"</tr><tr><td>+81 3 6225 6409 (Japan)</td></tr><tr><td>800 110 1182 (Singapore)</td></tr><tr><td>800 90 0915 (Hong Kong)</td>"+"</tr><tr><td>1800 12 9223 (Australia)</td></tr><tr><td> </td></tr>"+"<tr><td>Or email us at: <a href='mailto:BofAMarkets@bofa.com'>BofAMarkets@bofa.com</a></td></tr></tbody></table></div>"+"<div style='border-right: 1px dotted #363636; height: 92%; position: absolute; top: 10px; left: 320px;'> </div>"+"<div style='left: 340px; overflow: hidden; position:absolute; top: 52px; width: 320px;'>"+"<div style='padding-right: 7px; padding-top: 3px; float: left;'>Select Your location:</div>"+"<div style='float: left;'>"+"<select style='background-color:#D5D5D5; font:1em Arial,Helvetica,Verdana,sans-serif;padding-left:5px;padding-right:15px;' id='country' name='country' onchange='javascript:showSupportNumber()' style='width: 210px;'>"+opt+"</select></div></div><div style='left: 368px; width: 200px; top: 125px; position: absolute;'>"+"<div id='phoneStatus'></div><div id='phone'></div></div></div>";function contactUs(){AUI().use('aui-dialog','aui-io',function(A){var dialog=new A.Dialog({title:'Contact Us',centered:true,modal:true,draggable:true,width:680,height:330,resizable:false,focused:true,bodyContent:contact}).focus();dialog.on('close',function(){setFocus();});dialog.render();});}function bootstrapContactUs(){BootstrapDialog.show({title:'Default Title',message:contact});}function makePopUp(url){var TermsWindow;var twindowurl;if(!TermsWindow||TermsWindow.closed||twindowurl!=url){TermsWindow=window.open(url,"TermsWindow","toolbar=yes, menubar=yes, scrollbars=yes, location=no, status=yes, resizable=yes,top=1,screen=1,width=780,height=580");TermsWindow.focus();Twindowurl=url;}else{TermsWindow.focus();}}function setFocus(){var form=document.forms[0];if(form!=null&&form.userid!=null)form.userid.focus();}function clear(){var form=document.forms[0];if(form!=null&&form.userid!=null)form.userid.value="";if(form!=null&&form.password!=null)form.password.value="";if(form!=null&&typeof(form.rememberme)!='undefined'&&form.rememberme.value=="on"){form.rememberme.value="off";form.rememberme.checked=false;}}function forgotID(){AUI().ready('aui-dialog',function(A){var options={title:'Technical Support',bodyContent:'<p>If you dont remember your User ID, please contact our Help Desk for assistance.</p><p> If you would like more information about becoming a user, or need technical assistance, please click the Contact Us link at the top of the page.</p> <p> Please note that if you elect to communicate via electronic mail, you acknowledge that such communication is not necessarily secure.</p>',centered:true,constrain2view:false,draggable:false,resizable:false,destroyOnClose:true,group:'default',height:173,stack:true,width:300};var dialog92377=new A.Dialog(AUI().merge(options,{title:'Technical Support',xy:[200,50]})).render();});}function loginAction(event){var form=document.forms[0];var evt=event||window.event;var keyPressed=evt.which||evt.keyCode;if(keyPressed==13||keyPressed==0){doMlxLogin()}}function brandedForgotUserId(){var url="/login/reset-password-bcp?p_p_id=resetpassword_WAR_resetpasswordportlet_INSTANCE_iU7D&p_p_lifecycle=1&p_p_state=normal&p_p_mode=view&_resetpassword_WAR_resetpasswordportlet_INSTANCE_iU7D_javax.portlet.action=validateUserId";var form=document.forms[0];var userIdVal=form.userid.value;var queryString='&_resetpassword_WAR_resetpasswordportlet_INSTANCE_iU7D_validUID='+userIdVal;document.location.href=url+queryString;}function showBootstrapSystemDialog(title,message,isClear){var newMesg="<div class='portal-message-popup'>"+"<div id='messageDivId'>"+message+"</div><br/>"+"If you would like more information about becoming a user, or need technical assistance, please click the <a data-dismiss='modal' data-target='#contactUsModal' data-toggle='modal' style='cursor:pointer;'>Contact Us</a> link.<br/><br/>"+"Please note that if you elect to communicate via electronic mail, you acknowledge that such communication is not necessarily secure.</div>";BootstrapDialog.show({title:title,message:newMesg,animate:false});$('.bootstrap-dialog-close-button').on('click',function(){$('#userid').val('');$('#password').val('');});}function doMlxLogin(){var form=document.forms[0];var userIdVal=form.userid.value;var appName=form.brand.value;if(form.userid.value==""||form.password.value==""){newMessage="Please enter a valid user name and password.";showBootstrapSystemDialog('System Message',newMessage,false);return;}$('.bootstrap-dialog-close-button').on('click',function(){$('#userid').val('');$('#password').val('');});var target=getQuerystring("TARGET");if(target!=null&&jQuery.trim(target).length>0&&target.toLowerCase().indexOf("http")>0){target=decodeURIComponent(target.substring(target.toLowerCase().indexOf("http")));target=target.split('$').join('');}else if(target!=null&&jQuery.trim(target).length>0&&target.toLowerCase().indexOf("https")>0){target=decodeURIComponent(target.substring(target.toLowerCase().indexOf("https")));target=target.split('$').join('');}if(appName==null){target="";}var newMessage;var loginData=jQuery('#login').serialize();jQuery.ajax({type:'POST',url:"/mlxauth/login.htm",data:jQuery('#login').serialize(),success:function(mesg){var result=jQuery.trim(mesg);if("AUTHENTICATED"===result){if(loginData.indexOf('rememberme')!=-1){jQuery.ajax({type:'GET',url:"/public/WSUUMAuth/brememberme?userid="+userIdVal,success:function(mesg,a,r){document.getElementById('mlxtarget').value=target;document.getElementById('screenname').value=userIdVal;document.forms['brandedlogin'].submit();}});}else{document.getElementById('screenname').value=userIdVal;document.getElementById('mlxtarget').value=target;document.forms['brandedlogin'].submit();}}else if("NOT_AUTHENTICATED"===result){newMessage="Login Failed. ";showBootstrapSystemDialog('System Message',newMessage,true);}else if("LOCKED"===result){newMessage="Login Failed.";showBootstrapSystemDialog('System Message',newMessage,true);}else if("ACCOUNT_DISABLED"===result){newMessage="Login Failed.";showBootstrapSystemDialog('System Message',newMessage,true);}else if("ACCOUNT_INACTIVE"===result){newMessage="Login Failed.";showBootstrapSystemDialog('System Message',newMessage,true);}else if("NOT_AUTHORIZED"===result){newMessage="Login Failed.";showBootstrapSystemDialog('System Message',newMessage,true);}else if("PASSWORD_EXPIRED"===result){showPasswordExpired('System Message',newMessage,true);}if("AUTHENTICATED"!=result){var formData="userId="+userIdVal+"&loginStatus="+result;$.ajax({type:'POST',url:"/public/WSUUMAuth/logindetails",data:formData,success:function(mesg,a,r){}});}}});}document.write('<script type="text/javascript" src="/o/mercury_dxp_theme/js/webtrends.js"></scr'+'ipt>');document.write('<script type="text/javascript" src="/o/mercury_dxp_theme/js/webtrends_custom.js"></scr'+'ipt>');document.write('<script type="text/javascript" src="/o/mercury_dxp_theme/js/webtrends_common.js"></scr'+'ipt>');function BigInteger(t,r,e){null!=t&&("number"==typeof t?this.fromNumber(t,r,e):null==r&&"string"!=typeof t?this.fromString(t,256):this.fromString(t,r))}function nbi(){return new BigInteger(null)}function am1(t,r,e,n,i,o){for(;--o>=0;){var s=r*this[t++]+e[n]+i;i=Math.floor(s/67108864),e[n++]=67108863&s}return i}function am2(t,r,e,n,i,o){for(var s=32767&r,h=r>>15;--o>=0;){var _=32767&this[t],a=this[t++]>>15,S=h*_+a*s;_=s*_+((32767&S)<<15)+e[n]+(1073741823&i),i=(_>>>30)+(S>>>15)+h*a+(i>>>30),e[n++]=1073741823&_}return i}function am3(t,r,e,n,i,o){for(var s=16383&r,h=r>>14;--o>=0;){var _=16383&this[t],a=this[t++]>>14,S=h*_+a*s;_=s*_+((16383&S)<<14)+e[n]+i,i=(_>>28)+(S>>14)+h*a,e[n++]=268435455&_}return i}function int2char(t){return BI_RM.charAt(t)}function intAt(t,r){var e=BI_RC[t.charCodeAt(r)];return null==e?-1:e}function bnpCopyTo(t){for(var r=this.t-1;r>=0;--r)t[r]=this[r];t.t=this.t,t.s=this.s}function bnpFromInt(t){this.t=1,this.s=0>t?-1:0,t>0?this[0]=t:-1>t?this[0]=t+DV:this.t=0}function nbv(t){var r=nbi();return r.fromInt(t),r}function bnpFromString(t,r){var e;if(16==r)e=4;else if(8==r)e=3;else if(256==r)e=8;else if(2==r)e=1;else if(32==r)e=5;else{if(4!=r)return void this.fromRadix(t,r);e=2}this.t=0,this.s=0;for(var n=t.length,i=!1,o=0;--n>=0;){var s=8==e?255&t[n]:intAt(t,n);0>s?"-"==t.charAt(n)&&(i=!0):(i=!1,0==o?this[this.t++]=s:o+e>this.DB?(this[this.t-1]|=(s&(1<<this.DB-o)-1)<<o,this[this.t++]=s>>this.DB-o):this[this.t-1]|=s<<o,o+=e,o>=this.DB&&(o-=this.DB))}8==e&&0!=(128&t[0])&&(this.s=-1,o>0&&(this[this.t-1]|=(1<<this.DB-o)-1<<o)),this.clamp(),i&&BigInteger.ZERO.subTo(this,this)}function bnpClamp(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t}function bnToString(t){if(this.s<0)return"-"+this.negate().toString(t);var r;if(16==t)r=4;else if(8==t)r=3;else if(2==t)r=1;else if(32==t)r=5;else{if(4!=t)return this.toRadix(t);r=2}var e,n=(1<<r)-1,i=!1,o="",s=this.t,h=this.DB-s*this.DB%r;if(s-->0)for(h<this.DB&&(e=this[s]>>h)>0&&(i=!0,o=int2char(e));s>=0;)r>h?(e=(this[s]&(1<<h)-1)<<r-h,e|=this[--s]>>(h+=this.DB-r)):(e=this[s]>>(h-=r)&n,0>=h&&(h+=this.DB,--s)),e>0&&(i=!0),i&&(o+=int2char(e));return i?o:"0"}function bnNegate(){var t=nbi();return BigInteger.ZERO.subTo(this,t),t}function bnAbs(){return this.s<0?this.negate():this}function bnCompareTo(t){var r=this.s-t.s;if(0!=r)return r;var e=this.t;if(r=e-t.t,0!=r)return r;for(;--e>=0;)if(0!=(r=this[e]-t[e]))return r;return 0}function nbits(t){var r,e=1;return 0!=(r=t>>>16)&&(t=r,e+=16),0!=(r=t>>8)&&(t=r,e+=8),0!=(r=t>>4)&&(t=r,e+=4),0!=(r=t>>2)&&(t=r,e+=2),0!=(r=t>>1)&&(t=r,e+=1),e}function bnBitLength(){return this.t<=0?0:this.DB*(this.t-1)+nbits(this[this.t-1]^this.s&this.DM)}function bnpDLShiftTo(t,r){var e;for(e=this.t-1;e>=0;--e)r[e+t]=this[e];for(e=t-1;e>=0;--e)r[e]=0;r.t=this.t+t,r.s=this.s}function bnpDRShiftTo(t,r){for(var e=t;e<this.t;++e)r[e-t]=this[e];r.t=Math.max(this.t-t,0),r.s=this.s}function bnpLShiftTo(t,r){var e,n=t%this.DB,i=this.DB-n,o=(1<<i)-1,s=Math.floor(t/this.DB),h=this.s<<n&this.DM;for(e=this.t-1;e>=0;--e)r[e+s+1]=this[e]>>i|h,h=(this[e]&o)<<n;for(e=s-1;e>=0;--e)r[e]=0;r[s]=h,r.t=this.t+s+1,r.s=this.s,r.clamp()}function bnpRShiftTo(t,r){r.s=this.s;var e=Math.floor(t/this.DB);if(e>=this.t)return void(r.t=0);var n=t%this.DB,i=this.DB-n,o=(1<<n)-1;r[0]=this[e]>>n;for(var s=e+1;s<this.t;++s)r[s-e-1]|=(this[s]&o)<<i,r[s-e]=this[s]>>n;n>0&&(r[this.t-e-1]|=(this.s&o)<<i),r.t=this.t-e,r.clamp()}function bnpSubTo(t,r){for(var e=0,n=0,i=Math.min(t.t,this.t);i>e;)n+=this[e]-t[e],r[e++]=n&this.DM,n>>=this.DB;if(t.t<this.t){for(n-=t.s;e<this.t;)n+=this[e],r[e++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;e<t.t;)n-=t[e],r[e++]=n&this.DM,n>>=this.DB;n-=t.s}r.s=0>n?-1:0,-1>n?r[e++]=this.DV+n:n>0&&(r[e++]=n),r.t=e,r.clamp()}function bnpMultiplyTo(t,r){var e=this.abs(),n=t.abs(),i=e.t;for(r.t=i+n.t;--i>=0;)r[i]=0;for(i=0;i<n.t;++i)r[i+e.t]=e.am(0,n[i],r,i,0,e.t);r.s=0,r.clamp(),this.s!=t.s&&BigInteger.ZERO.subTo(r,r)}function bnpSquareTo(t){for(var r=this.abs(),e=t.t=2*r.t;--e>=0;)t[e]=0;for(e=0;e<r.t-1;++e){var n=r.am(e,r[e],t,2*e,0,1);(t[e+r.t]+=r.am(e+1,2*r[e],t,2*e+1,n,r.t-e-1))>=r.DV&&(t[e+r.t]-=r.DV,t[e+r.t+1]=1)}t.t>0&&(t[t.t-1]+=r.am(e,r[e],t,2*e,0,1)),t.s=0,t.clamp()}function bnpDivRemTo(t,r,e){var n=t.abs();if(!(n.t<=0)){var i=this.abs();if(i.t<n.t)return null!=r&&r.fromInt(0),void(null!=e&&this.copyTo(e));null==e&&(e=nbi());var o=nbi(),s=this.s,h=t.s,_=this.DB-nbits(n[n.t-1]);_>0?(n.lShiftTo(_,o),i.lShiftTo(_,e)):(n.copyTo(o),i.copyTo(e));var a=o.t,S=o[a-1];if(0!=S){var E=S*(1<<this.F1)+(a>1?o[a-2]>>this.F2:0),u=this.FV/E,I=(1<<this.F1)/E,g=1<<this.F2,p=e.t,f=p-a,l=null==r?nbi():r;for(o.dlShiftTo(f,l),e.compareTo(l)>=0&&(e[e.t++]=1,e.subTo(l,e)),BigInteger.ONE.dlShiftTo(a,l),l.subTo(o,o);o.t<a;)o[o.t++]=0;for(;--f>=0;){var A=e[--p]==S?this.DM:Math.floor(e[p]*u+(e[p-1]+g)*I);if((e[p]+=o.am(0,A,e,f,0,a))<A)for(o.dlShiftTo(f,l),e.subTo(l,e);e[p]<--A;)e.subTo(l,e)}null!=r&&(e.drShiftTo(a,r),s!=h&&BigInteger.ZERO.subTo(r,r)),e.t=a,e.clamp(),_>0&&e.rShiftTo(_,e),0>s&&BigInteger.ZERO.subTo(e,e)}}}function bnMod(t){var r=nbi();return this.abs().divRemTo(t,null,r),this.s<0&&r.compareTo(BigInteger.ZERO)>0&&t.subTo(r,r),r}function Classic(t){this.m=t}function cConvert(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t}function cRevert(t){return t}function cReduce(t){t.divRemTo(this.m,null,t)}function cMulTo(t,r,e){t.multiplyTo(r,e),this.reduce(e)}function cSqrTo(t,r){t.squareTo(r),this.reduce(r)}function bnpInvDigit(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var r=3&t;return r=r*(2-(15&t)*r)&15,r=r*(2-(255&t)*r)&255,r=r*(2-((65535&t)*r&65535))&65535,r=r*(2-t*r%this.DV)%this.DV,r>0?this.DV-r:-r}function Montgomery(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}function montConvert(t){var r=nbi();return t.abs().dlShiftTo(this.m.t,r),r.divRemTo(this.m,null,r),t.s<0&&r.compareTo(BigInteger.ZERO)>0&&this.m.subTo(r,r),r}function montRevert(t){var r=nbi();return t.copyTo(r),this.reduce(r),r}function montReduce(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var r=0;r<this.m.t;++r){var e=32767&t[r],n=e*this.mpl+((e*this.mph+(t[r]>>15)*this.mpl&this.um)<<15)&t.DM;for(e=r+this.m.t,t[e]+=this.m.am(0,n,t,r,0,this.m.t);t[e]>=t.DV;)t[e]-=t.DV,t[++e]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)}function montSqrTo(t,r){t.squareTo(r),this.reduce(r)}function montMulTo(t,r,e){t.multiplyTo(r,e),this.reduce(e)}function bnpIsEven(){return 0==(this.t>0?1&this[0]:this.s)}function bnpExp(t,r){if(t>4294967295||1>t)return BigInteger.ONE;var e=nbi(),n=nbi(),i=r.convert(this),o=nbits(t)-1;for(i.copyTo(e);--o>=0;)if(r.sqrTo(e,n),(t&1<<o)>0)r.mulTo(n,i,e);else{var s=e;e=n,n=s}return r.revert(e)}function bnModPowInt(t,r){var e;return e=256>t||r.isEven()?new Classic(r):new Montgomery(r),this.exp(t,e)}function bnClone(){var t=nbi();return this.copyTo(t),t}function bnIntValue(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]}function bnByteValue(){return 0==this.t?this.s:this[0]<<24>>24}function bnShortValue(){return 0==this.t?this.s:this[0]<<16>>16}function bnpChunkSize(t){return Math.floor(Math.LN2*this.DB/Math.log(t))}function bnSigNum(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1}function bnpToRadix(t){if(null==t&&(t=10),0==this.signum()||2>t||t>36)return"0";var r=this.chunkSize(t),e=Math.pow(t,r),n=nbv(e),i=nbi(),o=nbi(),s="";for(this.divRemTo(n,i,o);i.signum()>0;)s=(e+o.intValue()).toString(t).substr(1)+s,i.divRemTo(n,i,o);return o.intValue().toString(t)+s}function bnpFromRadix(t,r){this.fromInt(0),null==r&&(r=10);for(var e=this.chunkSize(r),n=Math.pow(r,e),i=!1,o=0,s=0,h=0;h<t.length;++h){var _=intAt(t,h);0>_?"-"==t.charAt(h)&&0==this.signum()&&(i=!0):(s=r*s+_,++o>=e&&(this.dMultiply(n),this.dAddOffset(s,0),o=0,s=0))}o>0&&(this.dMultiply(Math.pow(r,o)),this.dAddOffset(s,0)),i&&BigInteger.ZERO.subTo(this,this)}function bnpFromNumber(t,r,e){if("number"==typeof r)if(2>t)this.fromInt(1);else for(this.fromNumber(t,e),this.testBit(t-1)||this.bitwiseTo(BigInteger.ONE.shiftLeft(t-1),op_or,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(r);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(BigInteger.ONE.shiftLeft(t-1),this);else{var n=new Array,i=7&t;n.length=(t>>3)+1,r.nextBytes(n),i>0?n[0]&=(1<<i)-1:n[0]=0,this.fromString(n,256)}}function bnToByteArray(){var t=this.t,r=new Array;r[0]=this.s;var e,n=this.DB-t*this.DB%8,i=0;if(t-->0)for(n<this.DB&&(e=this[t]>>n)!=(this.s&this.DM)>>n&&(r[i++]=e|this.s<<this.DB-n);t>=0;)8>n?(e=(this[t]&(1<<n)-1)<<8-n,e|=this[--t]>>(n+=this.DB-8)):(e=this[t]>>(n-=8)&255,0>=n&&(n+=this.DB,--t)),0!=(128&e)&&(e|=-256),0==i&&(128&this.s)!=(128&e)&&++i,(i>0||e!=this.s)&&(r[i++]=e);return r}function bnEquals(t){return 0==this.compareTo(t)}function bnMin(t){return this.compareTo(t)<0?this:t}function bnMax(t){return this.compareTo(t)>0?this:t}function bnpBitwiseTo(t,r,e){var n,i,o=Math.min(t.t,this.t);for(n=0;o>n;++n)e[n]=r(this[n],t[n]);if(t.t<this.t){for(i=t.s&this.DM,n=o;n<this.t;++n)e[n]=r(this[n],i);e.t=this.t}else{for(i=this.s&this.DM,n=o;n<t.t;++n)e[n]=r(i,t[n]);e.t=t.t}e.s=r(this.s,t.s),e.clamp()}function op_and(t,r){return t&r}function bnAnd(t){var r=nbi();return this.bitwiseTo(t,op_and,r),r}function op_or(t,r){return t|r}function bnOr(t){var r=nbi();return this.bitwiseTo(t,op_or,r),r}function op_xor(t,r){return t^r}function bnXor(t){var r=nbi();return this.bitwiseTo(t,op_xor,r),r}function op_andnot(t,r){return t&~r}function bnAndNot(t){var r=nbi();return this.bitwiseTo(t,op_andnot,r),r}function bnNot(){for(var t=nbi(),r=0;r<this.t;++r)t[r]=this.DM&~this[r];return t.t=this.t,t.s=~this.s,t}function bnShiftLeft(t){var r=nbi();return 0>t?this.rShiftTo(-t,r):this.lShiftTo(t,r),r}function bnShiftRight(t){var r=nbi();return 0>t?this.lShiftTo(-t,r):this.rShiftTo(t,r),r}function lbit(t){if(0==t)return-1;var r=0;return 0==(65535&t)&&(t>>=16,r+=16),0==(255&t)&&(t>>=8,r+=8),0==(15&t)&&(t>>=4,r+=4),0==(3&t)&&(t>>=2,r+=2),0==(1&t)&&++r,r}function bnGetLowestSetBit(){for(var t=0;t<this.t;++t)if(0!=this[t])return t*this.DB+lbit(this[t]);return this.s<0?this.t*this.DB:-1}function cbit(t){for(var r=0;0!=t;)t&=t-1,++r;return r}function bnBitCount(){for(var t=0,r=this.s&this.DM,e=0;e<this.t;++e)t+=cbit(this[e]^r);return t}function bnTestBit(t){var r=Math.floor(t/this.DB);return r>=this.t?0!=this.s:0!=(this[r]&1<<t%this.DB)}function bnpChangeBit(t,r){var e=BigInteger.ONE.shiftLeft(t);return this.bitwiseTo(e,r,e),e}function bnSetBit(t){return this.changeBit(t,op_or)}function bnClearBit(t){return this.changeBit(t,op_andnot)}function bnFlipBit(t){return this.changeBit(t,op_xor)}function bnpAddTo(t,r){for(var e=0,n=0,i=Math.min(t.t,this.t);i>e;)n+=this[e]+t[e],r[e++]=n&this.DM,n>>=this.DB;if(t.t<this.t){for(n+=t.s;e<this.t;)n+=this[e],r[e++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;e<t.t;)n+=t[e],r[e++]=n&this.DM,n>>=this.DB;n+=t.s}r.s=0>n?-1:0,n>0?r[e++]=n:-1>n&&(r[e++]=this.DV+n),r.t=e,r.clamp()}function bnAdd(t){var r=nbi();return this.addTo(t,r),r}function bnSubtract(t){var r=nbi();return this.subTo(t,r),r}function bnMultiply(t){var r=nbi();return this.multiplyTo(t,r),r}function bnDivide(t){var r=nbi();return this.divRemTo(t,r,null),r}function bnRemainder(t){var r=nbi();return this.divRemTo(t,null,r),r}function bnDivideAndRemainder(t){var r=nbi(),e=nbi();return this.divRemTo(t,r,e),new Array(r,e)}function bnpDMultiply(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()}function bnpDAddOffset(t,r){if(0!=t){for(;this.t<=r;)this[this.t++]=0;for(this[r]+=t;this[r]>=this.DV;)this[r]-=this.DV,++r>=this.t&&(this[this.t++]=0),++this[r]}}function NullExp(){}function nNop(t){return t}function nMulTo(t,r,e){t.multiplyTo(r,e)}function nSqrTo(t,r){t.squareTo(r)}function bnPow(t){return this.exp(t,new NullExp)}function bnpMultiplyLowerTo(t,r,e){var n=Math.min(this.t+t.t,r);for(e.s=0,e.t=n;n>0;)e[--n]=0;var i;for(i=e.t-this.t;i>n;++n)e[n+this.t]=this.am(0,t[n],e,n,0,this.t);for(i=Math.min(t.t,r);i>n;++n)this.am(0,t[n],e,n,0,r-n);e.clamp()}function bnpMultiplyUpperTo(t,r,e){--r;var n=e.t=this.t+t.t-r;for(e.s=0;--n>=0;)e[n]=0;for(n=Math.max(r-this.t,0);n<t.t;++n)e[this.t+n-r]=this.am(r-n,t[n],e,0,0,this.t+n-r);e.clamp(),e.drShiftTo(1,e)}function Barrett(t){this.r2=nbi(),this.q3=nbi(),BigInteger.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}function barrettConvert(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var r=nbi();return t.copyTo(r),this.reduce(r),r}function barrettRevert(t){return t}function barrettReduce(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)}function barrettSqrTo(t,r){t.squareTo(r),this.reduce(r)}function barrettMulTo(t,r,e){t.multiplyTo(r,e),this.reduce(e)}function bnModPow(t,r){var e,n,i=t.bitLength(),o=nbv(1);if(0>=i)return o;e=18>i?1:48>i?3:144>i?4:768>i?5:6,n=8>i?new Classic(r):r.isEven()?new Barrett(r):new Montgomery(r);var s=new Array,h=3,_=e-1,a=(1<<e)-1;if(s[1]=n.convert(this),e>1){var S=nbi();for(n.sqrTo(s[1],S);a>=h;)s[h]=nbi(),n.mulTo(S,s[h-2],s[h]),h+=2}var E,u,I=t.t-1,g=!0,p=nbi();for(i=nbits(t[I])-1;I>=0;){for(i>=_?E=t[I]>>i-_&a:(E=(t[I]&(1<<i+1)-1)<<_-i,I>0&&(E|=t[I-1]>>this.DB+i-_)),h=e;0==(1&E);)E>>=1,--h;if((i-=h)<0&&(i+=this.DB,--I),g)s[E].copyTo(o),g=!1;else{for(;h>1;)n.sqrTo(o,p),n.sqrTo(p,o),h-=2;h>0?n.sqrTo(o,p):(u=o,o=p,p=u),n.mulTo(p,s[E],o)}for(;I>=0&&0==(t[I]&1<<i);)n.sqrTo(o,p),u=o,o=p,p=u,--i<0&&(i=this.DB-1,--I)}return n.revert(o)}function bnGCD(t){var r=this.s<0?this.negate():this.clone(),e=t.s<0?t.negate():t.clone();if(r.compareTo(e)<0){var n=r;r=e,e=n}var i=r.getLowestSetBit(),o=e.getLowestSetBit();if(0>o)return r;for(o>i&&(o=i),o>0&&(r.rShiftTo(o,r),e.rShiftTo(o,e));r.signum()>0;)(i=r.getLowestSetBit())>0&&r.rShiftTo(i,r),(i=e.getLowestSetBit())>0&&e.rShiftTo(i,e),r.compareTo(e)>=0?(r.subTo(e,r),r.rShiftTo(1,r)):(e.subTo(r,e),e.rShiftTo(1,e));return o>0&&e.lShiftTo(o,e),e}function bnpModInt(t){if(0>=t)return 0;var r=this.DV%t,e=this.s<0?t-1:0;if(this.t>0)if(0==r)e=this[0]%t;else for(var n=this.t-1;n>=0;--n)e=(r*e+this[n])%t;return e}function bnModInverse(t){var r=t.isEven();if(this.isEven()&&r||0==t.signum())return BigInteger.ZERO;for(var e=t.clone(),n=this.clone(),i=nbv(1),o=nbv(0),s=nbv(0),h=nbv(1);0!=e.signum();){for(;e.isEven();)e.rShiftTo(1,e),r?(i.isEven()&&o.isEven()||(i.addTo(this,i),o.subTo(t,o)),i.rShiftTo(1,i)):o.isEven()||o.subTo(t,o),o.rShiftTo(1,o);for(;n.isEven();)n.rShiftTo(1,n),r?(s.isEven()&&h.isEven()||(s.addTo(this,s),h.subTo(t,h)),s.rShiftTo(1,s)):h.isEven()||h.subTo(t,h),h.rShiftTo(1,h);e.compareTo(n)>=0?(e.subTo(n,e),r&&i.subTo(s,i),o.subTo(h,o)):(n.subTo(e,n),r&&s.subTo(i,s),h.subTo(o,h))}return 0!=n.compareTo(BigInteger.ONE)?BigInteger.ZERO:h.compareTo(t)>=0?h.subtract(t):h.signum()<0?(h.addTo(t,h),h.signum()<0?h.add(t):h):h}function bnIsProbablePrime(t){var r,e=this.abs();if(1==e.t&&e[0]<=lowprimes[lowprimes.length-1]){for(r=0;r<lowprimes.length;++r)if(e[0]==lowprimes[r])return!0;return!1}if(e.isEven())return!1;for(r=1;r<lowprimes.length;){for(var n=lowprimes[r],i=r+1;i<lowprimes.length&&lplim>n;)n*=lowprimes[i++];for(n=e.modInt(n);i>r;)if(n%lowprimes[r++]==0)return!1}return e.millerRabin(t)}function bnpMillerRabin(t){var r=this.subtract(BigInteger.ONE),e=r.getLowestSetBit();if(0>=e)return!1;var n=r.shiftRight(e);t=t+1>>1,t>lowprimes.length&&(t=lowprimes.length);for(var i=nbi(),o=0;t>o;++o){i.fromInt(lowprimes[o]);var s=i.modPow(n,this);if(0!=s.compareTo(BigInteger.ONE)&&0!=s.compareTo(r)){for(var h=1;h++<e&&0!=s.compareTo(r);)if(s=s.modPowInt(2,this),0==s.compareTo(BigInteger.ONE))return!1;if(0!=s.compareTo(r))return!1}}return!0}function EncryptedMessage(){this.n=null,this.e=0}function PINBlock(t){PinString=t,this.PINBlockByteArray=new Array,this.PINBlockLength=0}function aCopy(t,r,e,n,i){for(var o=0;i>o;o++)e[n]=t[r],r++,n++}function fillByteArray(t){var r,e;for(e=t.length,r=0;e>r;r++)t[r]="F"}function IsLetterOrDigitOrSpecial(t){var r=t.charCodeAt(0);return r>=33&&126>=r?!0:!1}function IsLetterOrDigit(t){var r=t.charCodeAt(0);return r>=48&&57>=r||r>=65&&90>=r||r>=97&&122>=r?!0:!1}function PINMessage(t,r,e){if(e.toLowerCase()=="SHA1".toLowerCase())MAX_MESSAGE_SIZE_IN_BYTES=RSA_MODULUS_SIZE_IN_BYTES-OAEP_SHA1_OFFSET_IN_BYTES;else if(e.toLowerCase()=="SHA2-256".toLowerCase())MAX_MESSAGE_SIZE_IN_BYTES=RSA_MODULUS_SIZE_IN_BYTES-OAEP_SHA2_256_OFFSET_IN_BYTES;else if(e.toLowerCase()=="SHA2-384".toLowerCase())MAX_MESSAGE_SIZE_IN_BYTES=RSA_MODULUS_SIZE_IN_BYTES-OAEP_SHA2_384_OFFSET_IN_BYTES;else{if(e.toLowerCase()!="SHA2-512".toLowerCase())throw ERR_INVALID_HASH;MAX_MESSAGE_SIZE_IN_BYTES=RSA_MODULUS_SIZE_IN_BYTES-OAEP_SHA2_512_OFFSET_IN_BYTES}if(1>MAX_MESSAGE_SIZE_IN_BYTES)throw ERR_INVALID_PIN_LENGTH;var n=2*MAX_MESSAGE_SIZE_IN_BYTES;pinMessageArray=new Array(n),pinMessageArray[0]="0",pinMessageArray[1]="1",pinMessageLength=2,PINLengthInBytes=t.length/2,addPinBlockToMessageArray(t),addRandomStringToMessageArray(r)}function PINMessage2(t,r,e,n){if(n.toLowerCase()=="SHA1".toLowerCase())MAX_MESSAGE_SIZE_IN_BYTES=RSA_MODULUS_SIZE_IN_BYTES-OAEP_SHA1_OFFSET_IN_BYTES;else if(n.toLowerCase()=="SHA2-256".toLowerCase())MAX_MESSAGE_SIZE_IN_BYTES=RSA_MODULUS_SIZE_IN_BYTES-OAEP_SHA2_256_OFFSET_IN_BYTES;else if(n.toLowerCase()=="SHA2-384".toLowerCase())MAX_MESSAGE_SIZE_IN_BYTES=RSA_MODULUS_SIZE_IN_BYTES-OAEP_SHA2_384_OFFSET_IN_BYTES;else{if(n.toLowerCase()!="SHA2-512".toLowerCase())throw ERR_INVALID_HASH;MAX_MESSAGE_SIZE_IN_BYTES=RSA_MODULUS_SIZE_IN_BYTES-OAEP_SHA2_512_OFFSET_IN_BYTES}if(1>MAX_MESSAGE_SIZE_IN_BYTES)throw ERR_INVALID_PIN_LENGTH;var i=2*MAX_MESSAGE_SIZE_IN_BYTES;pinMessageArray=new Array(i),pinMessageArray[0]="0",pinMessageArray[1]="2",pinMessageLength=2,PINLengthInBytes=t.length/2,addPinBlockToMessageArray(t),addPinBlockToMessageArray(r),addRandomStringToMessageArray(e)}function addPinBlockToMessageArray(t){if(null==t)throw ERR_INVALID_PIN_BLOCK;aCopy(t,0,pinMessageArray,pinMessageLength,t.length),pinMessageLength+=t.length}function addRandomStringToMessageArray(t){if(null==t)throw ERR_INVALID_RANDOM_NUMBER;var r=ifValidHex(t);if(!r)throw ERR_INVALID_RANDOM_NUMBER;var e=0,n=t.length;if(e=n%2)throw ERR_INVALID_RANDOM_NUMBER_LENGTH;var i=(MAX_MESSAGE_SIZE_IN_BYTES-pinMessageLength/2)*NUM_OF_NIBBLES_PER_BYTE;if(MIN_RANDOM_NUMBER_STRING_LENGTH>n||n>i)throw ERR_INVALID_RANDOM_NUMBER_LENGTH;aCopyStr(t,0,pinMessageArray,pinMessageLength,n),pinMessageLength+=n}function OAEPEncodedMessage(t,r,e){if(ENCODED_MESSAGE_SIZE_IN_BYTES=RSA_MODULUS_SIZE_IN_BYTES-1,e.toLowerCase()=="SHA1".toLowerCase())HASH_ALGO_SIZE_IN_BYTES=SHA1_HASH_SIZE_IN_BYTES,MAX_PIN_MESSAGE_SIZE_IN_BYTES=RSA_MODULUS_SIZE_IN_BYTES-OAEP_SHA1_OFFSET_IN_BYTES,DATA_BLOCK_SIZE_IN_BYTES=ENCODED_MESSAGE_SIZE_IN_BYTES-SHA1_HASH_SIZE_IN_BYTES;else if(e.toLowerCase()=="SHA2-256".toLowerCase())HASH_ALGO_SIZE_IN_BYTES=SHA2_256_HASH_SIZE_IN_BYTES,MAX_PIN_MESSAGE_SIZE_IN_BYTES=RSA_MODULUS_SIZE_IN_BYTES-OAEP_SHA2_256_OFFSET_IN_BYTES,DATA_BLOCK_SIZE_IN_BYTES=ENCODED_MESSAGE_SIZE_IN_BYTES-SHA2_256_HASH_SIZE_IN_BYTES;else if(e.toLowerCase()=="SHA2-384".toLowerCase())HASH_ALGO_SIZE_IN_BYTES=SHA2_384_HASH_SIZE_IN_BYTES,MAX_PIN_MESSAGE_SIZE_IN_BYTES=RSA_MODULUS_SIZE_IN_BYTES-OAEP_SHA2_384_OFFSET_IN_BYTES,DATA_BLOCK_SIZE_IN_BYTES=ENCODED_MESSAGE_SIZE_IN_BYTES-SHA2_384_HASH_SIZE_IN_BYTES;else{if(e.toLowerCase()!="SHA2-512".toLowerCase())throw ERR_INVALID_HASH;HASH_ALGO_SIZE_IN_BYTES=SHA2_512_HASH_SIZE_IN_BYTES,MAX_PIN_MESSAGE_SIZE_IN_BYTES=RSA_MODULUS_SIZE_IN_BYTES-OAEP_SHA2_512_OFFSET_IN_BYTES,DATA_BLOCK_SIZE_IN_BYTES=ENCODED_MESSAGE_SIZE_IN_BYTES-SHA2_512_HASH_SIZE_IN_BYTES}doOAEPEncoding(t,r,e)}function randomString(t){for(var r="0123456789ABCDEF",e=t,n="",i=0;e>i;i++){var o=Math.floor(Math.random()*r.length);n+=r.substring(o,o+1)}return n}function parseBigInt(t,r){return new BigInteger(t,r)}function aCopyStr(t,r,e,n,i){for(var o=new Array,s=0;s<t.length;s++)o.push(t.charAt(s));for(var h=0;i>h;h++)e[n]=o[r],r++,n++}function xorByteArrays(t,r){for(var e=[],n=[],i=toString(t),o=toString(r),s=new Array,h=new Array,_=0;_<i.length;_++)s[_]=parseInt(i.charAt(_),16);for(var _=0;_<o.length;_++)h[_]=parseInt(o.charAt(_),16);for(var _=0;_<s.length;_++)e.push(s[_]^h[_]);for(var _=0;_<e.length;_++)n[_]=e[_].toString(16);return n}function doOAEPEncoding(t,r,e){var n,i,o,s=new Array(2*DATA_BLOCK_SIZE_IN_BYTES),h=new Array(2*DATA_BLOCK_SIZE_IN_BYTES),_=new Array(2*DATA_BLOCK_SIZE_IN_BYTES),a=(new Array(2*HASH_ALGO_SIZE_IN_BYTES),new Array(2*HASH_ALGO_SIZE_IN_BYTES)),S=new Array(2*HASH_ALGO_SIZE_IN_BYTES),E=new Array(2*HASH_ALGO_SIZE_IN_BYTES),u=new Array(2+2*ENCODED_MESSAGE_SIZE_IN_BYTES),I=new Array,n=t.length/2;if(MIN_PIN_MESSAGE_SIZE_IN_BYTES>n||n>MAX_PIN_MESSAGE_SIZE_IN_BYTES)throw ERR_INVALID_PIN_MESSAGE_LENGTH;P=randomString(2*ENCODING_PARAMETER_SIZE_IN_BYTES);var g=new jsSHA(P,"HEX");if(e.toLowerCase()=="SHA1".toLowerCase())I=g.getHash("SHA-1","HEX");else if(e.toLowerCase()=="SHA2-256".toLowerCase())I=g.getHash("SHA-256","HEX");else if(e.toLowerCase()=="SHA2-384".toLowerCase())I=g.getHash("SHA-384","HEX");else{if(e.toLowerCase()!="SHA2-512".toLowerCase())throw ERR_INVALID_HASH;I=g.getHash("SHA-512","HEX")}var p;p=s.length;for(var f=0;p>f;f++)s[f]=0;aCopyStr(I,0,s,0,2*HASH_ALGO_SIZE_IN_BYTES),i=2*HASH_ALGO_SIZE_IN_BYTES,o=2*(DATA_BLOCK_SIZE_IN_BYTES-HASH_ALGO_SIZE_IN_BYTES-n-1),i+=o,s[i]="0",i++,s[i]="1",i++,aCopy(t,0,s,i,t.length),a=randomString(a.length);for(var l=new Array,A=0;A<a.length;A++)l.push(a.charAt(A));MGF(l,h,2*DATA_BLOCK_SIZE_IN_BYTES,e),_=xorByteArrays(s,h),MGF(_,S,2*HASH_ALGO_SIZE_IN_BYTES,e),E=xorByteArrays(a,S),u[0]="0",u[1]="0",aCopy(E,0,u,2,2*HASH_ALGO_SIZE_IN_BYTES),aCopy(_,0,u,2+2*HASH_ALGO_SIZE_IN_BYTES,2*DATA_BLOCK_SIZE_IN_BYTES),str1=toString(u),encodedMsg=new BigInteger(str1,16)}function I2OSP(t,r){var e,n=new Array(2*NUM_OF_BYTES_PER_WORD);for(e=0;2*NUM_OF_BYTES_PER_WORD>e;e++)n[e]=0;return n[r]=t.toString(16),n}function MGF(t,r,e,n){var i,o,s,h,_,a,S,E=new Array(2*ENCODED_MESSAGE_SIZE_IN_BYTES),u=new Array(2*HASH_ALGO_SIZE_IN_BYTES),I=new Array(2*NUM_OF_BYTES_PER_WORD),g="";s=t.length;var p=new Array(s+2*NUM_OF_BYTES_PER_WORD);for(o=Math.floor(e/(2*HASH_ALGO_SIZE_IN_BYTES)),_=e-o*HASH_ALGO_SIZE_IN_BYTES*2,_>0&&o++,a=2*HASH_ALGO_SIZE_IN_BYTES,S=0;2*ENCODED_MESSAGE_SIZE_IN_BYTES>S;S++)E[S]=0;for(i=0;o>i;i++){I=I2OSP(i,7),aCopy(t,0,E,0,s),aCopy(I,0,E,s,2*NUM_OF_BYTES_PER_WORD),aCopy(E,0,p,0,s+2*NUM_OF_BYTES_PER_WORD);var f=p.toString();g=f.split(",").join("");var l=new jsSHA(g,"HEX");if(n.toLowerCase()=="SHA1".toLowerCase())u=l.getHash("SHA-1","HEX");else if(n.toLowerCase()=="SHA2-256".toLowerCase())u=l.getHash("SHA-256","HEX");else if(n.toLowerCase()=="SHA2-384".toLowerCase())u=l.getHash("SHA-384","HEX");else{if(n.toLowerCase()!="SHA2-512".toLowerCase())throw ERR_INVALID_HASH;u=l.getHash("SHA-512","HEX")}h=2*i*HASH_ALGO_SIZE_IN_BYTES,i==o-1&&_>0&&(a=_),aCopyStr(u,0,r,h,a)}}function ifValidHex(t){var r;for(r=0;r<t.length;r++)if(isNaN(parseInt(t.charAt(r),16)))return!1;return!0}function validate_Mod_Exp(t,r){var e=0,n=0;if(e=t.length%2,n=r.length%2,e||n)return ERR_INVALID_RSA_KEY_LENGTH;var i=t.length/2,o=r.length/2;if(64>i||i>256)return ERR_INVALID_RSA_KEY_LENGTH;if(o>i)return ERR_INVALID_RSA_KEY_LENGTH;var s=ifValidHex(t);return s?(s=ifValidHex(r),s?ERR_NO_ERROR:ERR_INVALID_RSA_KEY):ERR_INVALID_RSA_KEY}function clearData(){PinString="",PINLengthInBytes=0,pinMessageArray=new Array,pinMessageLength=0,encodedMsg="",P="",encryptedMsg=""}function initialisePublicKeyData(t,r){var e=validate_Mod_Exp(t,r);return e?e:(RSA_MODULUS_SIZE_IN_BYTES=t.length/2,MODULUS_STRING=t,EXPONENT_STRING=r,isPublicKeyDataValid=!0,ERR_NO_ERROR)}function OBM_GetEncodingParameter(){return P_String}function OBM_GetEncryptedPassword(){return C_String}function OBM_EncryptPassword_Ex(t,r,e){try{if(!isPublicKeyDataValid)throw ERR_INVALID_RSA_KEY;var n=new EncryptedMessage;n.setPublic(MODULUS_STRING,EXPONENT_STRING);var i=new PINBlock(t);if(h=i.ValidateAndCreatePINBlockByteArray(t),h!=ERR_NO_ERROR)throw h;var o=new PINMessage(i.getBytes(),r,e),s=new OAEPEncodedMessage(o.getBytes(),r,e);return P_String=s.getEncodingParameter(),n.doRSAEncryption(s.getBytes(),MODULUS_STRING,EXPONENT_STRING),C_String=n.getBytes(),ERR_NO_ERROR}catch(h){return h}}function OBM_EncryptPassword(t,r){try{if(!isPublicKeyDataValid)throw ERR_INVALID_RSA_KEY;var e=new EncryptedMessage;e.setPublic(MODULUS_STRING,EXPONENT_STRING);var n=new PINBlock(t);if(s=n.ValidateAndCreatePINBlockByteArray(t),s!=ERR_NO_ERROR)throw s;var i=new PINMessage(n.getBytes(),r,"SHA1"),o=new OAEPEncodedMessage(i.getBytes(),r,"SHA1");return P_String=o.getEncodingParameter(),e.doRSAEncryption(o.getBytes(),MODULUS_STRING,EXPONENT_STRING),C_String=e.getBytes(),ERR_NO_ERROR}catch(s){return s}}function OBM_EncryptChangePassword(t,r,e){try{if(!isPublicKeyDataValid)throw ERR_INVALID_RSA_KEY;var n=new EncryptedMessage;n.setPublic(MODULUS_STRING,EXPONENT_STRING);var i=new PINBlock(t);if(_=i.ValidateAndCreatePINBlockByteArray(t),_!=ERR_NO_ERROR)throw _;var o=new PINBlock(r);if(_=o.ValidateAndCreatePINBlockByteArray(r),_!=ERR_NO_ERROR)throw _;var s=new PINMessage2(i.getBytes(),o.getBytes(),e,"SHA1"),h=new OAEPEncodedMessage(s.getBytes(),e,"SHA1");return P_String=h.getEncodingParameter(),n.doRSAEncryption(h.getBytes(),MODULUS_STRING,EXPONENT_STRING),C_String=n.getBytes(),ERR_NO_ERROR}catch(_){return _}}function OBM_EncryptChangePassword_Ex(t,r,e,n){try{if(!isPublicKeyDataValid)throw ERR_INVALID_RSA_KEY;var i=new EncryptedMessage;i.setPublic(MODULUS_STRING,EXPONENT_STRING);var o=new PINBlock(t);if(a=o.ValidateAndCreatePINBlockByteArray(t),a!=ERR_NO_ERROR)throw a;var s=new PINBlock(r);if(a=s.ValidateAndCreatePINBlockByteArray(r),a!=ERR_NO_ERROR)throw a;var h=new PINMessage2(o.getBytes(),s.getBytes(),e,n),_=new OAEPEncodedMessage(h.getBytes(),e,n);return P_String=_.getEncodingParameter(),i.doRSAEncryption(_.getBytes(),MODULUS_STRING,EXPONENT_STRING),C_String=i.getBytes(),ERR_NO_ERROR}catch(a){return a}}function toString(t){var r,e=t.toString();return r=e.split(",").join("")}function s2hex(t){for(var r="",e=0;e<t.length;e++)c=t.charCodeAt(e),r+=(16>c?"0":"")+c.toString(16);return r}var SUPPORTED_ALGS=7,missingBytes=0;!function(t){"use strict";function r(t,r){this.highOrder=t,this.lowOrder=r}function e(t,r){var e,n=[],i=(1<<r)-1,o=t.length*r;for(e=0;o>e;e+=r)n[e>>>5]|=(t.charCodeAt(e/r)&i)<<32-r-e%32;return{value:n,binLen:o}}function n(t){var r,e,n=[],i=t.length;if(0!==i%2)throw"String of HEX type must be in byte increments";for(r=0;i>r;r+=2){if(e=parseInt(t.substr(r,2),16),isNaN(e))throw"String of HEX type contains invalid characters";n[r>>>3]|=e<<24-4*(r%8)}return{value:n,binLen:4*i}}function i(t){var r,e,n,i,o,s,h=[],_=0,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";if(-1===t.search(/^[a-zA-Z0-9=+\/]+$/))throw"Invalid character in base-64 string";if(s=t.indexOf("="),t=t.replace(/\=/g,""),-1!==s&&s<t.length)throw"Invalid '=' found in base-64 string";for(e=0;e<t.length;e+=4){for(o=t.substr(e,4),i=0,n=0;n<o.length;n+=1)r=a.indexOf(o[n]),i|=r<<18-6*n;for(n=0;n<o.length-1;n+=1)h[_>>2]|=(i>>>16-8*n&255)<<24-8*(_%4),_+=1}return{value:h,binLen:8*_}}function o(t,r){var e,n,i="0123456789abcdef",o="",s=4*t.length;for(e=0;s>e;e+=1)n=t[e>>>2]>>>8*(3-e%4),o+=i.charAt(n>>>4&15)+i.charAt(15&n);return r.outputUpper?o.toUpperCase():o}function s(t,r){var e,n,i,o="",s=4*t.length,h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(e=0;s>e;e+=3)for(i=(t[e>>>2]>>>8*(3-e%4)&255)<<16|(t[e+1>>>2]>>>8*(3-(e+1)%4)&255)<<8|t[e+2>>>2]>>>8*(3-(e+2)%4)&255,n=0;4>n;n+=1)o+=8*e+6*n<=32*t.length?h.charAt(i>>>6*(3-n)&63):r.b64Pad;return o}function h(t){var r={outputUpper:!1,b64Pad:"="};try{t.hasOwnProperty("outputUpper")&&(r.outputUpper=t.outputUpper),t.hasOwnProperty("b64Pad")&&(r.b64Pad=t.b64Pad)}catch(e){}if("boolean"!=typeof r.outputUpper)throw"Invalid outputUpper formatting option";if("string"!=typeof r.b64Pad)throw"Invalid b64Pad formatting option";return r}function _(t,r){return t<<r|t>>>32-r}function a(t,r){return t>>>r|t<<32-r}function S(t,e){var n=null,i=new r(t.highOrder,t.lowOrder);return n=32>=e?new r(i.highOrder>>>e|i.lowOrder<<32-e&4294967295,i.lowOrder>>>e|i.highOrder<<32-e&4294967295):new r(i.lowOrder>>>e-32|i.highOrder<<64-e&4294967295,i.highOrder>>>e-32|i.lowOrder<<64-e&4294967295)}function E(t,r){return t>>>r}function u(t,e){var n=null;return n=32>=e?new r(t.highOrder>>>e,t.lowOrder>>>e|t.highOrder<<32-e&4294967295):new r(0,t.highOrder>>>e-32)}function I(t,r,e){return t^r^e}function g(t,r,e){return t&r^~t&e}function p(t,e,n){return new r(t.highOrder&e.highOrder^~t.highOrder&n.highOrder,t.lowOrder&e.lowOrder^~t.lowOrder&n.lowOrder)}function f(t,r,e){return t&r^t&e^r&e}function l(t,e,n){return new r(t.highOrder&e.highOrder^t.highOrder&n.highOrder^e.highOrder&n.highOrder,t.lowOrder&e.lowOrder^t.lowOrder&n.lowOrder^e.lowOrder&n.lowOrder)}function A(t){return a(t,2)^a(t,13)^a(t,22)}function B(t){var e=S(t,28),n=S(t,34),i=S(t,39);return new r(e.highOrder^n.highOrder^i.highOrder,e.lowOrder^n.lowOrder^i.lowOrder)}function c(t){return a(t,6)^a(t,11)^a(t,25)}function T(t){var e=S(t,14),n=S(t,18),i=S(t,41);return new r(e.highOrder^n.highOrder^i.highOrder,e.lowOrder^n.lowOrder^i.lowOrder)}function d(t){return a(t,7)^a(t,18)^E(t,3)}function N(t){var e=S(t,1),n=S(t,8),i=u(t,7);return new r(e.highOrder^n.highOrder^i.highOrder,e.lowOrder^n.lowOrder^i.lowOrder)}function O(t){return a(t,17)^a(t,19)^E(t,10)}function w(t){var e=S(t,19),n=S(t,61),i=u(t,6);return new r(e.highOrder^n.highOrder^i.highOrder,e.lowOrder^n.lowOrder^i.lowOrder)}function y(t,r){var e=(65535&t)+(65535&r),n=(t>>>16)+(r>>>16)+(e>>>16);return(65535&n)<<16|65535&e}function R(t,r,e,n){var i=(65535&t)+(65535&r)+(65535&e)+(65535&n),o=(t>>>16)+(r>>>16)+(e>>>16)+(n>>>16)+(i>>>16);return(65535&o)<<16|65535&i}function b(t,r,e,n,i){var o=(65535&t)+(65535&r)+(65535&e)+(65535&n)+(65535&i),s=(t>>>16)+(r>>>16)+(e>>>16)+(n>>>16)+(i>>>16)+(o>>>16);return(65535&s)<<16|65535&o}function v(t,e){var n,i,o,s;return n=(65535&t.lowOrder)+(65535&e.lowOrder),i=(t.lowOrder>>>16)+(e.lowOrder>>>16)+(n>>>16),o=(65535&i)<<16|65535&n,n=(65535&t.highOrder)+(65535&e.highOrder)+(i>>>16),i=(t.highOrder>>>16)+(e.highOrder>>>16)+(n>>>16),s=(65535&i)<<16|65535&n,new r(s,o)}function M(t,e,n,i){var o,s,h,_;return o=(65535&t.lowOrder)+(65535&e.lowOrder)+(65535&n.lowOrder)+(65535&i.lowOrder),s=(t.lowOrder>>>16)+(e.lowOrder>>>16)+(n.lowOrder>>>16)+(i.lowOrder>>>16)+(o>>>16),h=(65535&s)<<16|65535&o,o=(65535&t.highOrder)+(65535&e.highOrder)+(65535&n.highOrder)+(65535&i.highOrder)+(s>>>16),s=(t.highOrder>>>16)+(e.highOrder>>>16)+(n.highOrder>>>16)+(i.highOrder>>>16)+(o>>>16),_=(65535&s)<<16|65535&o,new r(_,h)}function m(t,e,n,i,o){var s,h,_,a;return s=(65535&t.lowOrder)+(65535&e.lowOrder)+(65535&n.lowOrder)+(65535&i.lowOrder)+(65535&o.lowOrder),h=(t.lowOrder>>>16)+(e.lowOrder>>>16)+(n.lowOrder>>>16)+(i.lowOrder>>>16)+(o.lowOrder>>>16)+(s>>>16),_=(65535&h)<<16|65535&s,s=(65535&t.highOrder)+(65535&e.highOrder)+(65535&n.highOrder)+(65535&i.highOrder)+(65535&o.highOrder)+(h>>>16),h=(t.highOrder>>>16)+(e.highOrder>>>16)+(n.highOrder>>>16)+(i.highOrder>>>16)+(o.highOrder>>>16)+(s>>>16),a=(65535&h)<<16|65535&s,new r(a,_)}function L(t,r){var e,n,i,o,s,h,a,S,E,u=[],p=g,l=I,A=f,B=_,c=y,T=b,d=[1732584193,4023233417,2562383102,271733878,3285377520],N=[1518500249,1518500249,1518500249,1518500249,1518500249,1518500249,1518500249,1518500249,1518500249,1518500249,1518500249,1518500249,1518500249,1518500249,1518500249,1518500249,1518500249,1518500249,1518500249,1518500249,1859775393,1859775393,1859775393,1859775393,1859775393,1859775393,1859775393,1859775393,1859775393,1859775393,1859775393,1859775393,1859775393,1859775393,1859775393,1859775393,1859775393,1859775393,1859775393,1859775393,2400959708,2400959708,2400959708,2400959708,2400959708,2400959708,2400959708,2400959708,2400959708,2400959708,2400959708,2400959708,2400959708,2400959708,2400959708,2400959708,2400959708,2400959708,2400959708,2400959708,3395469782,3395469782,3395469782,3395469782,3395469782,3395469782,3395469782,3395469782,3395469782,3395469782,3395469782,3395469782,3395469782,3395469782,3395469782,3395469782,3395469782,3395469782,3395469782,3395469782];for(t[r>>>5]|=128<<24-r%32,t[(r+65>>>9<<4)+15]=r,E=t.length,a=0;E>a;a+=16){for(e=d[0],n=d[1],i=d[2],o=d[3],s=d[4],S=0;80>S;S+=1)u[S]=16>S?t[S+a]:B(u[S-3]^u[S-8]^u[S-14]^u[S-16],1),h=20>S?T(B(e,5),p(n,i,o),s,N[S],u[S]):40>S?T(B(e,5),l(n,i,o),s,N[S],u[S]):60>S?T(B(e,5),A(n,i,o),s,N[S],u[S]):T(B(e,5),l(n,i,o),s,N[S],u[S]),s=o,o=i,i=B(n,30),n=e,e=h;d[0]=c(e,d[0]),d[1]=c(n,d[1]),d[2]=c(i,d[2]),d[3]=c(o,d[3]),d[4]=c(s,d[4])}return d}function P(t,e,n){var i,o,s,h,_,a,S,E,u,I,L,P,D,H,C,Y,G,U,Z,F,V,X,x,k,K,q,j,z,W,J,Q=[];if(("SHA-224"===n||"SHA-256"===n)&&2&SUPPORTED_ALGS)P=64,D=(e+65>>>9<<4)+15,Y=16,G=1,j=Number,U=y,Z=R,F=b,V=d,X=O,x=A,k=c,q=f,K=g,z=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],L="SHA-224"===n?[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]:[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];else{if("SHA-384"!==n&&"SHA-512"!==n||!(4&SUPPORTED_ALGS))throw"Unexpected error in SHA-2 implementation";P=80,D=(e+128>>>10<<5)+31,Y=32,G=2,j=r,U=v,Z=M,F=m,V=N,X=w,x=B,k=T,q=l,K=p,z=[new j(1116352408,3609767458),new j(1899447441,602891725),new j(3049323471,3964484399),new j(3921009573,2173295548),new j(961987163,4081628472),new j(1508970993,3053834265),new j(2453635748,2937671579),new j(2870763221,3664609560),new j(3624381080,2734883394),new j(310598401,1164996542),new j(607225278,1323610764),new j(1426881987,3590304994),new j(1925078388,4068182383),new j(2162078206,991336113),new j(2614888103,633803317),new j(3248222580,3479774868),new j(3835390401,2666613458),new j(4022224774,944711139),new j(264347078,2341262773),new j(604807628,2007800933),new j(770255983,1495990901),new j(1249150122,1856431235),new j(1555081692,3175218132),new j(1996064986,2198950837),new j(2554220882,3999719339),new j(2821834349,766784016),new j(2952996808,2566594879),new j(3210313671,3203337956),new j(3336571891,1034457026),new j(3584528711,2466948901),new j(113926993,3758326383),new j(338241895,168717936),new j(666307205,1188179964),new j(773529912,1546045734),new j(1294757372,1522805485),new j(1396182291,2643833823),new j(1695183700,2343527390),new j(1986661051,1014477480),new j(2177026350,1206759142),new j(2456956037,344077627),new j(2730485921,1290863460),new j(2820302411,3158454273),new j(3259730800,3505952657),new j(3345764771,106217008),new j(3516065817,3606008344),new j(3600352804,1432725776),new j(4094571909,1467031594),new j(275423344,851169720),new j(430227734,3100823752),new j(506948616,1363258195),new j(659060556,3750685593),new j(883997877,3785050280),new j(958139571,3318307427),new j(1322822218,3812723403),new j(1537002063,2003034995),new j(1747873779,3602036899),new j(1955562222,1575990012),new j(2024104815,1125592928),new j(2227730452,2716904306),new j(2361852424,442776044),new j(2428436474,593698344),new j(2756734187,3733110249),new j(3204031479,2999351573),new j(3329325298,3815920427),new j(3391569614,3928383900),new j(3515267271,566280711),new j(3940187606,3454069534),new j(4118630271,4000239992),new j(116418474,1914138554),new j(174292421,2731055270),new j(289380356,3203993006),new j(460393269,320620315),new j(685471733,587496836),new j(852142971,1086792851),new j(1017036298,365543100),new j(1126000580,2618297676),new j(1288033470,3409855158),new j(1501505948,4234509866),new j(1607167915,987167468),new j(1816402316,1246189591)],L="SHA-384"===n?[new j(3418070365,3238371032),new j(1654270250,914150663),new j(2438529370,812702999),new j(355462360,4144912697),new j(1731405415,4290775857),new j(41048885895,1750603025),new j(3675008525,1694076839),new j(1203062813,3204075428)]:[new j(1779033703,4089235720),new j(3144134277,2227873595),new j(1013904242,4271175723),new j(2773480762,1595750129),new j(1359893119,2917565137),new j(2600822924,725511199),new j(528734635,4215389547),new j(1541459225,327033209)]}for(t[e>>>5]|=128<<24-e%32,t[D]=e,W=t.length,H=0;W>H;H+=Y){for(i=L[0],o=L[1],s=L[2],h=L[3],_=L[4],a=L[5],S=L[6],E=L[7],C=0;P>C;C+=1)Q[C]=16>C?new j(t[C*G+H],t[C*G+H+1]):Z(X(Q[C-2]),Q[C-7],V(Q[C-15]),Q[C-16]),u=F(E,k(_),K(_,a,S),z[C],Q[C]),I=U(x(i),q(i,o,s)),E=S,S=a,a=_,_=U(h,u),h=s,s=o,o=i,i=U(u,I);L[0]=U(i,L[0]),L[1]=U(o,L[1]),L[2]=U(s,L[2]),L[3]=U(h,L[3]),L[4]=U(_,L[4]),L[5]=U(a,L[5]),L[6]=U(S,L[6]),L[7]=U(E,L[7])}if("SHA-224"===n&&2&SUPPORTED_ALGS)J=[L[0],L[1],L[2],L[3],L[4],L[5],L[6]];else if("SHA-256"===n&&2&SUPPORTED_ALGS)J=L;else if("SHA-384"===n&&4&SUPPORTED_ALGS)J=[L[0].highOrder,L[0].lowOrder,L[1].highOrder,L[1].lowOrder,L[2].highOrder,L[2].lowOrder,L[3].highOrder,L[3].lowOrder,L[4].highOrder,L[4].lowOrder,L[5].highOrder,L[5].lowOrder];else{if(!("SHA-512"===n&&4&SUPPORTED_ALGS))throw"Unexpected error in SHA-2 implementation";J=[L[0].highOrder,L[0].lowOrder,L[1].highOrder,L[1].lowOrder,L[2].highOrder,L[2].lowOrder,L[3].highOrder,L[3].lowOrder,L[4].highOrder,L[4].lowOrder,L[5].highOrder,L[5].lowOrder,L[6].highOrder,L[6].lowOrder,L[7].highOrder,L[7].lowOrder]}return J}var D=function(t,r,_){var a=null,S=null,E=null,u=null,I=null,g=0,p=[0],f=0,l=null;if(f="undefined"!=typeof _?_:8,8!==f&&16!==f)throw"charSize must be 8 or 16";if("HEX"===r){if(0!==t.length%2)throw"srcString of HEX type must be in byte increments";l=n(t),g=l.binLen,p=l.value}else if("ASCII"===r||"TEXT"===r)l=e(t,f),g=l.binLen,p=l.value;else{if("B64"!==r)throw"inputFormat must be HEX, TEXT, ASCII, or B64";l=i(t),g=l.binLen,p=l.value}this.getHash=function(t,r,e){var n=null,i=p.slice(),_="";switch(r){case"HEX":n=o;break;case"B64":n=s;break;default:throw"format must be HEX or B64"}if("SHA-1"===t&&1&SUPPORTED_ALGS)null===a&&(a=L(i,g)),_=n(a,h(e));else if("SHA-224"===t&&2&SUPPORTED_ALGS)null===S&&(S=P(i,g,t)),_=n(S,h(e));else if("SHA-256"===t&&2&SUPPORTED_ALGS)null===E&&(E=P(i,g,t)),_=n(E,h(e));else if("SHA-384"===t&&4&SUPPORTED_ALGS)null===u&&(u=P(i,g,t)),_=n(u,h(e));else{if(!("SHA-512"===t&&4&SUPPORTED_ALGS))throw"Chosen SHA variant is not supported";null===I&&(I=P(i,g,t)),_=n(I,h(e))}return _},this.getHMAC=function(t,r,_,a,S){var E,u,I,l,A,B,c,T,d,N=[],O=[],w=null;switch(a){case"HEX":E=o;break;case"B64":E=s;break;default:throw"outputFormat must be HEX or B64"}if("SHA-1"===_&&1&SUPPORTED_ALGS)I=64,d=160;else if("SHA-224"===_&&2&SUPPORTED_ALGS)I=64,d=224;else if("SHA-256"===_&&2&SUPPORTED_ALGS)I=64,d=256;else if("SHA-384"===_&&4&SUPPORTED_ALGS)I=128,d=384;else{if(!("SHA-512"===_&&4&SUPPORTED_ALGS))throw"Chosen SHA variant is not supported";I=128,d=512}if("HEX"===r)w=n(t),T=w.binLen,u=w.value;else if("ASCII"===r||"TEXT"===r)w=e(t,f),T=w.binLen,u=w.value;else{if("B64"!==r)throw"inputFormat must be HEX, TEXT, ASCII, or B64";w=i(t),T=w.binLen,u=w.value}if(l=8*I,c=I/4-1,T/8>I){if("SHA-1"===_&&1&SUPPORTED_ALGS)u=L(u,T);else{if(!(6&SUPPORTED_ALGS))throw"Unexpected error in HMAC implementation";u=P(u,T,_)}u[c]&=4294967040}else I>T/8&&(u[c]&=4294967040);for(A=0;c>=A;A+=1)N[A]=909522486^u[A],O[A]=1549556828^u[A];if("SHA-1"===_&&1&SUPPORTED_ALGS)B=L(O.concat(L(N.concat(p),l+g)),l+d);else{if(!(6&SUPPORTED_ALGS))throw"Unexpected error in HMAC implementation";B=P(O.concat(P(N.concat(p),l+g,_)),l+d,_)}return E(B,h(S))}};t.jsSHA=D}(window);var dbits,canary=0xdeadbeefcafe,j_lm=15715070==(16777215&canary);j_lm&&"Microsoft Internet Explorer"==navigator.appName?(BigInteger.prototype.am=am2,dbits=30):j_lm&&"Netscape"!=navigator.appName?(BigInteger.prototype.am=am1,dbits=26):(BigInteger.prototype.am=am3,dbits=28),BigInteger.prototype.DB=dbits,BigInteger.prototype.DM=(1<<dbits)-1,BigInteger.prototype.DV=1<<dbits;var BI_FP=52;BigInteger.prototype.FV=Math.pow(2,BI_FP),BigInteger.prototype.F1=BI_FP-dbits,BigInteger.prototype.F2=2*dbits-BI_FP;var BI_RM="0123456789abcdefghijklmnopqrstuvwxyz",BI_RC=new Array,rr,vv;for(rr="0".charCodeAt(0),vv=0;9>=vv;++vv)BI_RC[rr++]=vv;for(rr="a".charCodeAt(0),vv=10;36>vv;++vv)BI_RC[rr++]=vv;for(rr="A".charCodeAt(0),vv=10;36>vv;++vv)BI_RC[rr++]=vv;Classic.prototype.convert=cConvert,Classic.prototype.revert=cRevert,Classic.prototype.reduce=cReduce,Classic.prototype.mulTo=cMulTo,Classic.prototype.sqrTo=cSqrTo,Montgomery.prototype.convert=montConvert,Montgomery.prototype.revert=montRevert,Montgomery.prototype.reduce=montReduce,Montgomery.prototype.mulTo=montMulTo,Montgomery.prototype.sqrTo=montSqrTo,BigInteger.prototype.copyTo=bnpCopyTo,BigInteger.prototype.fromInt=bnpFromInt,BigInteger.prototype.fromString=bnpFromString,BigInteger.prototype.clamp=bnpClamp,BigInteger.prototype.dlShiftTo=bnpDLShiftTo,BigInteger.prototype.drShiftTo=bnpDRShiftTo,BigInteger.prototype.lShiftTo=bnpLShiftTo,BigInteger.prototype.rShiftTo=bnpRShiftTo,BigInteger.prototype.subTo=bnpSubTo,BigInteger.prototype.multiplyTo=bnpMultiplyTo,BigInteger.prototype.squareTo=bnpSquareTo,BigInteger.prototype.divRemTo=bnpDivRemTo,BigInteger.prototype.invDigit=bnpInvDigit,BigInteger.prototype.isEven=bnpIsEven,BigInteger.prototype.exp=bnpExp,BigInteger.prototype.toString=bnToString,BigInteger.prototype.negate=bnNegate,BigInteger.prototype.abs=bnAbs,BigInteger.prototype.compareTo=bnCompareTo,BigInteger.prototype.bitLength=bnBitLength,BigInteger.prototype.mod=bnMod,BigInteger.prototype.modPowInt=bnModPowInt,BigInteger.ZERO=nbv(0),BigInteger.ONE=nbv(1),NullExp.prototype.convert=nNop,NullExp.prototype.revert=nNop,NullExp.prototype.mulTo=nMulTo,NullExp.prototype.sqrTo=nSqrTo,Barrett.prototype.convert=barrettConvert,Barrett.prototype.revert=barrettRevert,Barrett.prototype.reduce=barrettReduce,Barrett.prototype.mulTo=barrettMulTo,Barrett.prototype.sqrTo=barrettSqrTo;var lowprimes=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509],lplim=(1<<26)/lowprimes[lowprimes.length-1];BigInteger.prototype.chunkSize=bnpChunkSize,BigInteger.prototype.toRadix=bnpToRadix,BigInteger.prototype.fromRadix=bnpFromRadix,BigInteger.prototype.fromNumber=bnpFromNumber,BigInteger.prototype.bitwiseTo=bnpBitwiseTo,BigInteger.prototype.changeBit=bnpChangeBit,BigInteger.prototype.addTo=bnpAddTo,BigInteger.prototype.dMultiply=bnpDMultiply,BigInteger.prototype.dAddOffset=bnpDAddOffset,BigInteger.prototype.multiplyLowerTo=bnpMultiplyLowerTo,BigInteger.prototype.multiplyUpperTo=bnpMultiplyUpperTo,BigInteger.prototype.modInt=bnpModInt,BigInteger.prototype.millerRabin=bnpMillerRabin,BigInteger.prototype.clone=bnClone,BigInteger.prototype.intValue=bnIntValue,BigInteger.prototype.byteValue=bnByteValue,BigInteger.prototype.shortValue=bnShortValue,BigInteger.prototype.signum=bnSigNum,BigInteger.prototype.toByteArray=bnToByteArray,BigInteger.prototype.equals=bnEquals,BigInteger.prototype.min=bnMin,BigInteger.prototype.max=bnMax,BigInteger.prototype.and=bnAnd,BigInteger.prototype.or=bnOr,BigInteger.prototype.xor=bnXor,BigInteger.prototype.andNot=bnAndNot,BigInteger.prototype.not=bnNot,BigInteger.prototype.shiftLeft=bnShiftLeft,BigInteger.prototype.shiftRight=bnShiftRight,BigInteger.prototype.getLowestSetBit=bnGetLowestSetBit,BigInteger.prototype.bitCount=bnBitCount,BigInteger.prototype.testBit=bnTestBit,BigInteger.prototype.setBit=bnSetBit,BigInteger.prototype.clearBit=bnClearBit,BigInteger.prototype.flipBit=bnFlipBit,BigInteger.prototype.add=bnAdd,BigInteger.prototype.subtract=bnSubtract,BigInteger.prototype.multiply=bnMultiply,BigInteger.prototype.divide=bnDivide,BigInteger.prototype.remainder=bnRemainder,BigInteger.prototype.divideAndRemainder=bnDivideAndRemainder,BigInteger.prototype.modPow=bnModPow,BigInteger.prototype.modInverse=bnModInverse,BigInteger.prototype.pow=bnPow,BigInteger.prototype.gcd=bnGCD,BigInteger.prototype.isProbablePrime=bnIsProbablePrime;var ERR_NO_ERROR=0,ERR_INVALID_PIN_LENGTH=10,ERR_INVALID_PIN=11,ERR_INVALID_PIN_BLOCK=20,ERR_INVALID_RANDOM_NUMBER_LENGTH=21,ERR_INVALID_RANDOM_NUMBER=22,ERR_INVALID_HASH=27,ERR_INVALID_OPERATION=29,ERR_RSA_ENCRYPTION=26,ERR_INVALID_PIN_MESSAGE_LENGTH=31,ERR_INVALID_RSA_KEY_LENGTH=41,ERR_INVALID_RSA_KEY=42,MAX_PIN_STRING_SIZE=30,MIN_PIN_STRING_SIZE=4,PIN_BLOCK_FILL_CHARACTER=255,FMT_2_CONTROL_BYTE=2,FMT_12_CONTROL_BYTE=193,ISO_FORMAT_2_TYPE=1,ISO_FORMAT_12_TYPE=2,MAX_NUMERIC_PIN_STRING_SIZE=12,MAX_NUMERIC_PIN_BYTE_SIZE=6,DECIMAL_RADIX=10,NUM_OF_BYTES_IN_FMT2_PIN_BLOCK=8,NUM_OF_BYTES_PER_CNTRL_AND_PIN_LENGTH=2,NUM_OF_BYTES_PER_WORD=4,RSA_MODULUS_SIZE_IN_BYTES=0,SHA1_HASH_SIZE_IN_BYTES=20,SHA2_256_HASH_SIZE_IN_BYTES=32,SHA2_384_HASH_SIZE_IN_BYTES=48,SHA2_512_HASH_SIZE_IN_BYTES=64,OAEP_SHA1_OFFSET_IN_BYTES=42,OAEP_SHA2_256_OFFSET_IN_BYTES=66,OAEP_SHA2_384_OFFSET_IN_BYTES=98,OAEP_SHA2_512_OFFSET_IN_BYTES=130,MIN_PIN_MESSAGE_SIZE_IN_BYTES=17,MAX_PIN_MESSAGE_SIZE_IN_BYTES=0,ENCODED_MESSAGE_SIZE_IN_BYTES=0,DATA_BLOCK_SIZE_IN_BYTES=0,HASH_ALGO_SIZE_IN_BYTES=0,ONE_PIN_BLOCK_IN_MESSAGE=1,NUM_OF_NIBBLES_PER_BYTE=2,MIN_PIN_BLOCK_SIZE=8,MIN_RANDOM_NUMBER_STRING_LENGTH=MIN_PIN_BLOCK_SIZE*NUM_OF_NIBBLES_PER_BYTE,ENCODING_PARAMETER_SIZE_IN_BYTES=16,C_String="",P_String="",MODULUS_STRING,EXPONENT_STRING,isPublicKeyDataValid=!1,encryptedMsg="",MOD="",EXP="";EncryptedMessage.prototype.setPublic=function(t,r){if(!(null!=t&&null!=r&&t.length>0&&r.length>0))throw ERR_INVALID_RSA_KEY_LENGTH;this.n=parseBigInt(t,16),this.e=parseInt(r,16)},EncryptedMessage.prototype.doRSAEncryption=function(t){var r=t.modPowInt(this.e,this.n),e=2*RSA_MODULUS_SIZE_IN_BYTES;if(null==r)throw ERR_RSA_ENCRYPTION;var n=r.toString(16);if(missingBytes=e-n.length,encryptedMsg="",0!=missingBytes){for(var i=0;missingBytes>i;i++)encryptedMsg+="0";encryptedMsg+=n.toUpperCase()}else encryptedMsg=n.toUpperCase()},EncryptedMessage.prototype.getBytes=function(){return encryptedMsg};var PinString;PINBlock.prototype.getBytes=function(){return this.PINBlockByteArray},PINBlock.prototype.createFormat12PINBlock=function(t){var r=0,e=t.length;if(r=6>=e?1:Math.floor(2+(e-7)/NUM_OF_BYTES_IN_FMT2_PIN_BLOCK),this.PINBlockLength=r*NUM_OF_BYTES_IN_FMT2_PIN_BLOCK*2,this.PINBlockByteArray=new Array(this.PINBlockLength),fillByteArray(this.PINBlockByteArray,PIN_BLOCK_FILL_CHARACTER),this.PINBlockByteArray[0]="C",this.PINBlockByteArray[1]="1",15>=e)this.PINBlockByteArray[2]="0",this.PINBlockByteArray[3]=e.toString(16);else if(e>=16&&30>=e){var n=e.toString(16);this.PINBlockByteArray[2]=n.charAt(0),this.PINBlockByteArray[3]=n.charAt(1)}for(var i=s2hex(t),o=new Array,s=0;s<i.length;s++)o.push(i.charAt(s));aCopy(o,0,this.PINBlockByteArray,4,i.length)},PINBlock.prototype.ValidateAndCreatePINBlockByteArray=function(t){if(null==t)return ERR_INVALID_PIN;var r=t.length;if(r>MAX_PIN_STRING_SIZE||MIN_PIN_STRING_SIZE>r)return ERR_INVALID_PIN_LENGTH;for(var e=new Array(MAX_PIN_STRING_SIZE),n=!1,i=0;r>i;i++){var o=t.charAt(i);if(!IsLetterOrDigitOrSpecial(o)){n=!0;break}e[i]=o}return n?ERR_INVALID_PIN:(this.createFormat12PINBlock(t),ERR_NO_ERROR)};var PINLengthInBytes=0,pinMessageArray=new Array,pinMessageLength=0,MAX_MESSAGE_SIZE_IN_BYTES=0;PINMessage.prototype.getBytes=function(){var t=new Array(pinMessageLength);return aCopy(pinMessageArray,0,t,0,pinMessageLength),t},PINMessage2.prototype.getBytes=function(){var t=new Array(pinMessageLength);return aCopy(pinMessageArray,0,t,0,pinMessageLength),t};var encodedMsg="",P="";OAEPEncodedMessage.prototype.getBytes=function(){return encodedMsg},OAEPEncodedMessage.prototype.getEncodingParameter=function(){return P}; </script> <style> .tag-line { display:none; position: absolute; top: 35%; left: 50%; color: #FFFFFF; font-family: 'connections'; font-size: 56px; letter-spacing: 0; line-height: 60px; } @media (min-width:1240px) { .tag-line { display:block; } } .login-main input { border-radius: 4px !important; } .login-section { max-width: 1440px; margin: auto; } .portlet-column-only { padding: 0px !important; } #login_section{ background-position: 50% 50%; background-repeat: no-repeat; background-size: cover; background-image:linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.2)) , url(/o/mercury_dxp_theme/images/GettyImages-1183420458.jpg); --background-image-file-entry-id: 42458; border-style: solid; border-width: 0px; } .login-main{ border-radius: 12px; background-color: #FFFFFF; box-shadow: 0 2px 20px 0 rgba(0,0,0,0.12); } #login-links{ color: #0053C2; font-family: Roboto; font-size: 14px; } .login-text{ color: #012169; margin-top:15%; font-family: Connections; } h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6{ font-family: Connections; } .login-main button:hover{ color:#fff; box-shadow:none; } .login-main button:focus{ background: none; color:#fff; box-shadow:none; } .alert.alert-danger { background: 0; border: none; padding: 2px; } .danger { background-color: #feefef; border: 1px solid #f48989; } @media (min-width: 576px){ .alert-danger { margin-left: 15px; margin-top: 15px; } } span#loginTitle { color: #012169; font-family: Connections; font-size: 18px; font-weight: bold; } .inputLabel{ color: #000000; font-family: Roboto; cursor: text !important; font-size: 16px; font-weight: 500; } .loading { position: absolute; top: 7px; left: 58%; display: inline-block; width: 1rem; height: 1rem; vertical-align: text-bottom; border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; -webkit-animation: spinner-border 0.75s linear infinite; animation: spinner-border 0.75s linear infinite; } @media only screen and (max-width: 600px) { .danger{ width: 59px; display: inline-block; padding-top: 8px; } .alert-text{ width: 300px; } } @media (min-width: 768px){ .alert-danger { margin-top: 18px; margin-left: 7px; } } @media (min-width: 768px) and (max-width: 1024px){ .login-col { flex: 0 0 calc(8 / 12 * 100%); max-width: 442px; margin-left: 60px; } .alert-danger { margin-top: 10px; margin-left: 26px; } } .alert-text { font-size: 11px; background: white; border: 1px solid #f48989; border-left: 0; } .form-group p { color: #C41230; font-family: Roboto; font-size: 12px; display: none; } .placeholder-red::placeholder { color: #C41230; font-family: Roboto; } .placeholder-red { border: 1px solid #C41230 !important; } .contactTab-panel tr td div { margin-bottom: 10px !important; } #content-america tr td div { margin-bottom: 10px; } #content-europe tr td div { margin-bottom: 10px; } #content-asia tr td div { margin-bottom: 10px; } </style> <script> var publicKeyObject = {}; var userInfoObject = {}; var encryptionInfoObject = {}; var E2EAuthAPI = {} E2EAuthAPI.callBacks = []; jQuery('input#userid.form-control').blur(getUserStatus); E2EAuthAPI.on = function(eventName, callback) { E2EAuthAPI.callBacks[eventName] = callback; }; E2EAuthAPI.executeCallbacks = function(state, data) { $.each(E2EAuthAPI.callbacks, function(key, callback) { if ($.isFunction(callback)) { callback(state, data); } }); }; function loadPublickKey() { $.ajax({ type: 'POST', url: "/publicapi/E2EAuth/retrievePublicKey", contentType: 'application/json', success: function(mesg, a, r) { publicKeyObject = mesg.e2ePayload; publicKeyObject.session = mesg.session; var returncode = initialisePublicKeyData(publicKeyObject.modulus, publicKeyObject.exponent); console.log(returncode); E2EAuthAPI.executeCallbacks('RETRIEVE_PUBLIC_KEY', publicKeyObject); }, }); } function getUserStatus() { var object = {}; object.userid = {}; object.userid = $('#userid')[0].value; $.ajax({ type: 'POST', url: "/publicapi/E2EAuth/determineEncrytionRequiredFlag", contentType: 'application/json', data: JSON.stringify(object), success: function(mesg, a, r) { encryptionInfoObject = mesg; E2EAuthAPI.executeCallbacks('ENCRYPTION_STATUS', encryptionInfoObject); }, }); } function getQuerystring(key) { key = key.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]"); var regex = new RegExp("[\\?&]" + key + "=([^&]*)"); var qs = regex.exec(window.location.href); if (qs != null && $.trim(qs).length > 0) return qs[1]; else return null; } function doLoginMeap(env) { var detectMobile = detectmob(); var isIe6 = is_ie6(); var form = document.forms[0]; var userIdVal = form.userid.value; if (form.userid.value == "" || form.password.value == "") { document.getElementById('loading-img').style.display="none"; hideImage(); if (detectMobile) { document.getElementById('loginError_1').style.display = ''; } else { newMessage = "Please enter a valid user name and password."; showBootstrapSystemDialog('System Message', newMessage, false); } return; } var isTier2 = getQuerystring("tier"); if (isTier2 != null) { document.forms[0].authtype.value = "AUTH_T2B"; } var target = getQuerystring("TARGET"); if (target != null && $.trim(target).length > 0 && target.toLowerCase().indexOf("http") > 0) { target = decodeURIComponent(target.substring(target.toLowerCase().indexOf("http"))); target = target.split('$').join(''); } var newMessage; var loginData = $('#LoginForm').serialize(); if (userIdVal != null && userIdVal.toLowerCase().indexOf('bh-') != -1) { var passwordVal = form.password.value; document.getElementById('bhTarget').value = target; document.getElementById('bhUserid').value = userIdVal; document.getElementById('bhPassword').value = passwordVal; document.getElementById('bhLoginForm').submit(); } else { document.getElementById("referingURL").value = target; callBank(userIdVal); $.ajax({ type: 'POST', url: "/mlxauth/login.htm", data: $('#LoginForm').serialize(), success: function(mesg, a, r) { var result = $.trim(r.responseText); E2EAuthAPI.executeCallbacks('NON_E2E_LOGIN_STATUS', result); if ("AUTHENTICATED" === result) { var portalRememberMe = "off"; if (loginData.indexOf('rememberme') != -1) { portalRememberMe = "on"; } if (isIe6) { document.location.href = "/ie6"; } else { if (isTier2 != null) { getPasswordExpiryValidate(loginData, userIdVal, target, isTier2, portalRememberMe); } else { document.getElementById('portalrememberme').value = portalRememberMe; document.getElementById('RTARGET').value = target; document.forms['f'].submit(); } } } else if ("NOT_AUTHENTICATED" === result) { document.getElementById('loading-img').style.display="none"; hideImage(); if (isTier2 != null) { newMessage = "Login Failed. "; } else { newMessage = "Login Failed. "; } if (detectMobile) { document.getElementById('loginError_1').style.display = ''; } else { showBootstrapSystemDialog('System Message', newMessage, true); } } else if ("LOCKED" === result) { document.getElementById('loading-img').style.display="none"; hideImage(); newMessage = "Login Failed."; if (detectMobile) { document.getElementById('loginError_3').style.display = ''; } else { showBootstrapSystemDialog('System Message', newMessage, true); } } else if ("ACCOUNT_DISABLED" === result) { hideImage(); newMessage = "Login Failed."; if (detectMobile) { document.getElementById('loginError_4').style.display = ''; } else { showBootstrapSystemDialog('System Message', newMessage, true); } } else if ("ACCOUNT_INACTIVE" === result) { document.getElementById('loading-img').style.display="none"; hideImage(); newMessage = "Login Failed."; if (detectMobile) { document.getElementById('loginError_5').style.display = ''; } else { showBootstrapSystemDialog('System Message', newMessage, true); } } else if ("NOT_AUTHORIZED" === result) { hideImage(); newMessage = "Login Failed."; if (detectMobile) { document.getElementById('loginError_5').style.display = ''; } else { showBootstrapSystemDialog('System Message', newMessage, true); } } else if ("PASSWORD_EXPIRED" === result) { document.getElementById('loading-img').style.display="none"; if (detectMobile) { document.getElementById('loginError_6').style.display = ''; } else { showPasswordExpired('System Message', newMessage, true); } } if ("AUTHENTICATED" != result) { document.getElementById('loading-img').style.display="none"; var formData = "userId=" + userIdVal + "&loginStatus=" + result; $.ajax({ type: 'POST', url: "/public/WSUUMAuth/logindetails", data: formData, success: function(mesg, a, r) {} }); } } }); } } function doLogin(env) { const userid = document.querySelector('#userid'); const password = document.querySelector('#password'); clearErrorBlock(userid); clearErrorBlock(password); document.getElementById('loading-img').style.display="block"; if (encryptionInfoObject.shouldUseMeap) { doLoginMeap(); return; } var doEncryption = false; doEncryption = encryptionInfoObject.encryptionRequired var detectMobile = detectmob(); var isIe6 = is_ie6(); var form = document.forms[0]; var userIdVal = form.userid.value; if (form.userid.value == "" || form.password.value == "") { document.getElementById('loading-img').style.display="none"; showError("login"); return; } var target = getQuerystring("resumePath"); if (target != null && $.trim(target).length > 0 && target.toLowerCase().indexOf("http") > 0) { target = decodeURIComponent(target.substring(target.toLowerCase().indexOf("http"))); target = target.split('$').join(''); } var pingresource= getQuerystring("vnd_pi_requested_resource"); var pingClientId= getQuerystring("client_id"); //hardcoding for work around //var hardTarget='https://fedsso-dev.ml.com/as/M872M/resume/as/authorization.ping'; //target=decodeURIComponent(target.replace('bankofamerica.com','ml.com')); target=decodeURIComponent(target)+'?vnd_pi_requested_resource='+encodeURIComponent(pingresource)+'&client_id='+pingClientId; //target=hardTarget+'?vnd_pi_requested_resource='+encodeURIComponent(pingresource)+'&client_id='+pingClientId; console.log("----------------"); console.log(target); console.log(pingClientId); console.log("----------------"); //document.forms['pingF'].action=(target); //return; var newMessage; if (!doEncryption) { userInfoObject.password = $('#password')[0].value; } if(!encryptionInfoObject.e2e){ userInfoObject.password = $('#password')[0].value; } if (doEncryption) { // userInfoObject.password = $('#password')[0].value; var returncode = OBM_EncryptPassword_Ex($('#password')[0].value, publicKeyObject.randomNumber, "SHA2-512"); userInfoObject.epb = OBM_GetEncryptedPassword(); userInfoObject.pkcs1 = OBM_GetEncodingParameter(); userInfoObject.modulus = publicKeyObject.modulus; userInfoObject.exponent = publicKeyObject.exponent; userInfoObject.randomNumber = publicKeyObject.randomNumber; userInfoObject.epbKeyIndex = publicKeyObject.keyIndex; } userInfoObject.syncE2EPW = true; userInfoObject.session = 'a69f73cca23a9ac5c8b567dc185a756e97c982164fe25859e0d1dcc1475c80a615b2123af1f5f94c11e3e9402c3ac558f500199d95b6d3e301758586281dcd26'; //userInfoObject.targetURL = getQuerystring("TARGET"); userInfoObject.targetURL =target;// getQuerystring("resumePath")+"?vnd_pi_requested_resource="+getQuerystring("vnd_pi_requested_resource")+"&client_id="+getQuerystring("client_id"); userInfoObject.userid = $('#userid')[0].value; var shaObj = '';//new jsSHA(publicKeyObject.uuid, "TEXT"); userInfoObject.hmac ='';// shaObj.getHMAC('a69f73cca23a9ac5c8b567dc185a756e97c982164fe25859e0d1dcc1475c80a615b2123af1f5f94c11e3e9402c3ac558f500199d95b6d3e301758586281dcd26', 'TEXT', 'SHA-512', 'HEX'); if (userIdVal != null && userIdVal.toLowerCase().indexOf('bh-') != -1) { var passwordVal = form.password.value; document.getElementById('bhTarget').value = target; document.getElementById('bhUserid').value = userIdVal; document.getElementById('bhPassword').value = passwordVal; document.getElementById('bhLoginForm').submit(); } else { document.getElementById("referingURL").value = target; callBank(userIdVal); $.ajax({ type: 'POST', url: "/publicapi/E2EAuth/pinglogin", contentType: 'application/json', data: JSON.stringify(userInfoObject), success: function(mesg, a, r) { var result = mesg; if(result!=null && result.authStatus=='AUTHENTICATED'){ document.forms['pingF'].action=(result.redirectUrl); document.getElementById('UUMToken').value=result.sessionValue; document.forms['pingF'].submit(); }else{ newMessage = "Login Failed. "; showError("response"); document.getElementById('loading-img').style.display="none"; } } }); } } loadPublickKey(); </script> <section id="login_section"> <div class="row login-section"> <div class="col-md-2 col-sm-2 col-xs-3"></div> <div class="col-md-4 col-sm-8 col-xs-6 login-col px-4 my-6"> <div class="login-main pt-4" tabindex="0" aria-label="Login Section"> <form name="loginform" onSubmit="doLogin();return false;"> <span id="loginTitle" class="pl-4">Log In</span> <input name="TARGET" type="hidden"/> <input name="source" type="hidden" value="MERCURY"/> <input name="referingURL" id="referingURL" type="hidden" value=""/> <div class="form-group m-4"> <label for="userid" class="inputLabel">User ID</label> <input aria-describedby="userid" class="form-control form-control-md rounded-0" id="userid" placeholder="Enter your user ID" type="text" onblur="getUserStatus()" autofocus /> <p>Error Message</p> </div> <div class="form-group m-4"> <label for="password" class="inputLabel">Password</label> <input class="form-control form-control-md rounded-0" id="password" placeholder="Enter your password" type="password"/> <p>Error Message</p> </div> <div class="form-group m-4"> <input type="submit" style="display: none"/> <button class="btn btn-brand btn-primary button-small-primary btn-sm form-control" type="button" tabindex="0" aria-label="Login button" onclick="doLogin()">Log In</button> <div class="loading" id="loading-img" style="display: none;"></div> <div id="login-links" class="py-4"><span><a href="#myModal" data-toggle="modal" area-label="Forgot User ID" onclick="showContent(0)">Forgot User ID</a> <span id="seperator">/</span> <a href="/login/resetpass-pwd" aria-label="Password">Password</a> </span> <div align="right" style=" float: right; "> <span><a href="#secondModal" data-toggle="modal" onclick="showContentOfContact(0)">Contact Us</a></span></div></div> </div> <div id="myModal" class="modal" style="top:100px;" tabindex="-1"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title">Sign in Assistance - Forgot User ID</h5> <div class="close"> <button type="button" class="btn btn-close" data-dismiss="modal" aria-label="close"></button> </div> </div> <div class="modal-body"> BofA Securities Mercury values client privacy and security. Please contact support 24x5 (Monday through Friday) to obtain assistance with your User ID. Select your region to see the contact information. <div class="tabContainer" style="padding-top:17px;"> <div class="buttonContainer"> <ul class="nav nav-pills mb-3" id="myTabs" role="tablist"> <li class="nav-item" role="presentation"> <button onclick="showContent(0)" class="nav-link" id="tab-america" data-bs-toggle="pill" data-bs-target="#content-america" type="button" role="tab" aria-controls="content-america" aria-selected="true" aria-label="Americas">Americas</button> </li> <li class="nav-item" role="presentation"> <button onclick="showContent(1)" class="nav-link" id="tab-europe" data-bs-toggle="pill" data-bs-target="#content-europe" type="button" role="tab" aria-controls="content-europe" aria-selected="true" aria-label="Europe, Middle East & Africa">Europe, Middle East & Africa</button> </li> <li class="nav-item" role="presentation"> <button onclick="showContent(2)" class="nav-link" id="tab-asia" data-bs-toggle="pill" data-bs-target="#content-asia" type="button" role="tab" aria-controls="content-asia" aria-selected="true" aria-label="Asia Pacific">Asia Pacific</button> </li> </ul> </div> <div class="tab-panel fade show active mb-3" id="content-america" role="tabpanel" aria-labelledby="tab-america" tabindex="0"> <table> <tr> <td><div class="info-phone-icon"></div></td> <td><div>1 877 333 9183 (US Only)</div></td> </tr> <tr> <td><div class="info-phone-icon"></div></td> <td><div>1 212 670 1900</div></td> </tr> <tr> <td><div class="emailIcon"></div></td> <td><div><a href="mailto:BofAMarkets@bofa.com">BofAMarkets@bofa.com</a></div></td> </tr> </tbody> <thead> </table> </div> <div class="tab-panel fade show active mb-3" id="content-europe" role="tabpanel" aria-labelledby="tab-europe" tabindex="0"> <table> <tr> <td><div class="info-phone-icon"></div></td> <td><div>0800 085 7990 (UK Only)</div></td> </tr> <tr> <td><div class="info-phone-icon"></div></td> <td><div>+44 20 7995 7995</div></td> </tr> <tr> <td><div class="emailIcon"></div></td> <td><div><a href="mailto:BofAMarkets@bofa.com">BofAMarkets@bofa.com</a></div></td> </tr> </tbody> <thead> </table></div> <div class="tab-panel fade show active mb-3" id="content-asia" role="tabpanel" aria-labelledby="tab-asia" tabindex="0"> <table> <tr> <td><div class="info-phone-icon"></div></td> <td><div>+81 3 6225 6409 (Japan)</div></td> </tr> <tr> <td><div class="info-phone-icon"></div></td> <td><div>800 110 1182 (Singapore)</div></td> </tr> <tr> <td><div class="info-phone-icon"></div></td> <td><div>800 90 0915 (Hong Kong)</div></td> </tr> <tr> <td><div class="info-phone-icon"></div></td> <td><div>1800 12 9223 (Australia)</div></td> </tr> <tr> <td><div class="emailIcon"></div></td> <td><div><a href="mailto:BofAMarkets@bofa.com">BofAMarkets@bofa.com</a></div></td> </tr> </tbody> <thead> </table></div> </div> </div> </div> </div> </div> <div id="secondModal" class="modal" style="top:100px;"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" aria-label="Technical Assistance - Contact Support" tabindex="0">Technical Assistance - Contact Support</h5> <div class="close"> <button type="button" class="btn btn-close" data-dismiss="modal" aria-label="close"></button> </div> </div> <div class="modal-body"> Our Support is available 24x5 (Monday through Friday) to assist you. Select your region to see the contact information. <div class="contactTabContainer" style="padding-top:17px;"> <div class="contactButtonContainer"> <ul class="nav nav-pills mb-3" id="contactTab" role="tablist"> <li class="nav-item" role="presentation"> <button onclick="showContentOfContact(0)" class="nav-link" id="comtactTab-america" data-bs-toggle="pill" data-bs-target="#contactContent-america" type="button" role="tab" aria-controls="contactContent-america" aria-selected="true" aria-label="Americas">Americas</button> </li> <li class="nav-item" role="presentation"> <button onclick="showContentOfContact(1)" class="nav-link" id="contactTab-europe" data-bs-toggle="pill" data-bs-target="#contactContent-europe" type="button" role="tab" aria-controls="contactContent-europe" aria-selected="true" aria-label="Europe, Middle East & Africa">Europe, Middle East & Africa</button> </li> <li class="nav-item" role="presentation"> <button onclick="showContentOfContact(2)" class="nav-link" id="contactTab-asia" data-bs-toggle="pill" data-bs-target="#contactContent-asia" type="button" role="tab" aria-controls="contactContent-asia" aria-selected="true" aria-label="Asia Pacific">Asia Pacific</button> </li> </ul> </div> <div class="contactContent"> <div class="contactTab-panel fade show active mb-3" id="contactContent-america" role="tabpanel" aria-labelledby="contactTab-america" tabindex="0"> <table> <tr> <td><div class="info-phone-icon"></div></td> <td><div>1 877 333 9183 (US Only)</div></td> </tr> <tr> <td><div class="info-phone-icon"></div></td> <td><div>1 212 670 1900</div></td> </tr> <tr> <td><div class="emailIcon"></div></td> <td><div><a href="mailto:BofAMarkets@bofa.com">BofAMarkets@bofa.com</a></div></td> </tr> </tbody> <thead> </table> </div> <div class="contactTab-panel fade show active mb-3" id="contactContent-europe" role="tabpanel" aria-labelledby="contactTab-europe" tabindex="0"> <table> <tr> <td><div class="info-phone-icon"></div></td> <td><div>0800 085 7990 (UK Only)</div></td> </tr> <tr> <td><div class="info-phone-icon"></div></td> <td><div>+44 20 7995 7995</div></td> </tr> <tr> <td><div class="emailIcon"></div></td> <td><div><a href="mailto:BofAMarkets@bofa.com">BofAMarkets@bofa.com</a></div></td> </tr> </tbody> <thead> </table></div> <div class="contactTab-panel fade show active mb-3" id="contactContent-asia" role="tabpanel" aria-labelledby="contactTab-asia" tabindex="0"> <table> <tr> <td><div class="info-phone-icon"></div></td> <td><div>+81 3 6225 6409 (Japan)</div></td> </tr> <tr> <td><div class="info-phone-icon"></div></td> <td><div>800 110 1182 (Singapore)</div></td> </tr> <tr> <td><div class="info-phone-icon"></div></td> <td><div>800 90 0915 (Hong Kong)</div></td> </tr> <tr> <td><div class="info-phone-icon"></div></td> <td><div>1800 12 9223 (Australia)</div></td> </tr> <tr> <td><div class="emailIcon"></div></td> <td><div><a href="mailto:BofAMarkets@bofa.com">BofAMarkets@bofa.com</a></div></td> </tr> </tbody> <thead> </table></div> </div> </form> </div> </div> <form method="POST" action="" name="pingF" id="pingF"> <input type="hidden" name="UUMToken" value="" id="UUMToken"/> </form> <div class="col-md-6 col-sm-2 col-xs-3 d-lg-block d-sm-none d-none"> </div> </div> </section> <div class="tag-line col-md-6 col-sm-4 col-xs-4"> <span>Intelligence is the best </span> <br/> <span>investment strategy</span> </div> <script> var tabButtons = document.querySelectorAll(".tabContainer .buttonContainer button"); var tabPanels = document.querySelectorAll(".tabContainer .tab-panel"); function showContent(index){ tabPanels.forEach(function (node){ node.style.display="none"; }); tabButtons[index].classList.add('active'); tabPanels[index].style.display="block"; for(var i=0; i<=2; i++) if(i!=index) tabButtons[i].classList.remove('active'); } var contactTabs = document.querySelectorAll(".contactTabContainer .contactButtonContainer button"); var contactTabPanels = document.querySelectorAll(".contactTabContainer .contactContent .contactTab-panel"); function showContentOfContact(index){ contactTabPanels.forEach(function (node){ node.style.display="none"; }); contactTabs[index].classList.add('active'); contactTabPanels[index].style.display="block"; for(var i=0; i<=2; i++) if(i!=index) contactTabs[i].classList.remove('active'); } function showError(from){ const userid = document.querySelector('#userid'); const password = document.querySelector('#password'); if(from == "login") { if (userid.value.trim() == '') { showErrorBlock(userid, 'Please enter your user ID'); } if (password.value.trim() == '') { showErrorBlock(password, 'Please enter your password'); } if (userid.value.trim() == '' && password.value.trim() == '') { showErrorBlock(userid, 'Please enter your user ID'); showErrorBlock(password, 'Please enter your password'); } }else { const parent = password.parentElement; const p = parent.querySelector('p'); p.textContent = "The information you entered doesn't match our records"; userid.value = ""; password.value = ""; userid.focus(); p.style.display ='block'; } } function clearErrorBlock(element){ element.classList.remove('placeholder-red'); const parent = element.parentElement; const p = parent.querySelector('p'); p.style.display ='none'; } function showErrorBlock(element, msg) { const parent = element.parentElement; const placeHolder = parent.querySelector('input'); placeHolder.classList.add('placeholder-red'); const p = parent.querySelector('p'); p.textContent = msg; p.style.display ='block'; } </script> </div> </div> </div> </div> </div> </section> </div> <div class="portlet-boundary portlet-boundary_com_liferay_journal_content_web_portlet_JournalContentPortlet_ portlet-static portlet-static-end portlet-barebone portlet-journal-content " id="p_p_id_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_cVTyClPr1YRO_"> <span id="p_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_cVTyClPr1YRO"></span> <section class="portlet" id="portlet_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_cVTyClPr1YRO"> <div class="portlet-content"> <div class="autofit-float autofit-row portlet-header"> <div class="autofit-col autofit-col-end"> <div class="autofit-section"> <div class="visible-interaction"> </div> </div> </div> </div> <div class=" portlet-content-container"> <div class="portlet-body"> <div class="" data-fragments-editor-item-id="39706-60759" data-fragments-editor-item-type="fragments-editor-mapped-item"> <div class="journal-content-article " data-analytics-asset-id="167949" data-analytics-asset-title="Login_businessSite" data-analytics-asset-type="web-content"> <style type="text/css"> @media screen and (min-width: 0px) and (max-width: 780px){ .vertical-line { border-left: none !important; border-right:none !important; } } .marketingMaterial1{ height: 32px; -webkit-mask-image: url(/o/mercury_dxp_theme/images/helix/goals.svg); -webkit-mask-size: 32px; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center; background:#C41230; } .marketingMaterial2{ height: 32px; -webkit-mask-image: url(/o/mercury_dxp_theme/images/helix/innovation.svg); -webkit-mask-size: 32px; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center; background:#C41230; } .marketingMaterial3{ height: 32px; -webkit-mask-image: url(/o/mercury_dxp_theme/images/helix/team.svg); -webkit-mask-size: 32px; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center; background:#C41230; } .vertical-line{ border-left: 1px solid #D5D5D5; border-right: 1px solid #D5D5D5; } .marketingMaterialTitle{ color:#012169; font-family: Connections; font-size: 24px; letter-spacing: 0; line-height:28px; text-align:center; } .businessUnit{ color:#333333; font-size:16px; font-family: Roboto; letter-spacing: 0; line-height:24px; text-align:center; } .marketing-material-icon { text-align: center; } .marketingMaterialSection{ padding-top: 80px; padding-bottom: 80px; } #bs-section { max-width:1440px; margin:auto; } #bs-section div{ text-align: center; } .learnButton { margin-top: auto; width: fit-content; align-self: center; } .business-site { display: flex; flex-direction: column; } </style> <section id="bs-section"> <div class="row mx-2 mx-md-7 mx-sm-7 my-md-5 my-sm-5"> <div class="col-md-4 px-4 my-4 business-site" tabindex="0" aria-label="Optimize Trading Performance"> <p class="marketing-material-icon marketingMaterial1"> </p> <p class="marketingMaterialTitle text-center "> Optimize Trading Performance </p> <p class="businessUnit text-center "> Global Markets </p> <a class="btn-brand btn-sm btn btn-secondary learnButton" href="https://business.bofa.com/en-us/content/trading-strategy-performance.html" target="_blank">Learn more</a> </div> <div class="col-md-4 px-4 my-4 vertical-line business-site" tabindex="0" aria-label="Make Informed Investment Decisions"> <p class="marketing-material-icon marketingMaterial2"> </p> <p class="marketingMaterialTitle text-center "> Make Informed Investment Decisions </p> <p class="businessUnit text-center "> Global Research </p> <a class="btn-brand btn-sm btn btn-secondary learnButton" href="https://business.bofa.com/en-us/content/market-strategies-insights.html" target="_blank">Learn more</a> </div> <div class="col-md-4 px-4 my-4 business-site" tabindex="0" aria-label="Get Trusted Advice and Strategy"> <p class="marketing-material-icon marketingMaterial3"> </p> <p class="marketingMaterialTitle text-center "> Get Trusted Advice and Strategy </p> <p class="businessUnit text-center "> Global Corporate & Investment Banking </p> <a class="btn-brand btn-sm btn btn-secondary learnButton" href="https://business.bofa.com/en-us/content/global-corporate-investment-banking.html" target="_blank">Learn more</a> </div> <div> </section> </div> </div> </div> </div> </div> </section> </div> </div> </div> </div> </div> <form action="#" aria-hidden="true" class="hide" id="hrefFm" method="post" name="hrefFm"><span></span><button hidden type="submit">Hidden</button></form> </section> <div class="journal-content-article " data-analytics-asset-id="51166" data-analytics-asset-title="Login_Footer" data-analytics-asset-type="web-content"> <style> @media (min-width: 576px) and (max-width: 1028px){ .webView { padding-left:3rem!important; padding-right:3rem!important; } .dark #footer-section { background-color: #1B1F22 !important; } @media (min-height: 1102px){ #footer-section{ bottom: 0; position: absolute; width: 100%; } } .footer-content{ padding-left:3rem!important; padding-right:3rem!important; } .fdic-content{ padding-left:3rem!important; width: 60rem; } } @media only screen and (max-width: 600px){ .webView, .footer-content {padding-right:5px !important; padding-left:5px !important;} .bottom-content{ text-align:center !important; } } footer { color: #646464; font-family: "Roboto"; font-size: 12px; letter-spacing: 0; line-height: 16px; } .investor-info { background: #ededed; } .footer-info { position: relative; } #footer-section{ background-color: #F5F5F5; } .footer_div { max-width: 1440px; margin: auto; padding: 36px 24px; } .line-2 { box-sizing: border-box; height: 1px; margin-left: 0px !important; margin-right: 0px !important; border-top: 1px solid #D5D5D5; } .insuredFdic{ height: 20px; width: 414px; font-family: Roboto; font-size: 14px; letter-spacing: 0; line-height: 20px; } .dark .insuredFdic{ color: #ffffff; } .authenticated{ width: 100%; background-color: #012169; text-align: center; line-height: 24px; padding: 24px; margin-top:-36px; } .dark .authenticated{ margin-top:-37px !important; background-color: transparent !important; } .copyright{ height: 16px; width: 302px; color: #FFFFFF; font-family: Roboto; font-size: 12px; letter-spacing: 0; line-height: 16px; } .dark .separator{ border-top: 1px solid #646464 !important; margin:0px !important; display:block !important; } .separator{ display:none !important; border-top: 0px !important; margin: 0px !important; } .separator:has(.hide){ display:none ; } .one-trust-checkbox-blue { background-image: url(/o/mercury_dxp_theme/images/privacy_choice.png)!important; background-size: 25px; background-repeat: no-repeat; width: 35px; height: 13px; } </style> <footer id="footer-section"> <div class="footer_div"> <div class="row mx-0"> <div class="col-xs-12 col-md-12 col-sm-12 p-0"> <p class="footer-content"> "Bank of America" and "BofA Securities" are the marketing names used by the Global Banking and Global Markets divisions of Bank of America Corporation. Lending, derivatives, other commercial banking activities, and trading in certain financial instruments are performed globally by banking affiliates of Bank of America Corporation, including Bank of America, N.A., Member FDIC. Trading in securities and financial instruments, and strategic advisory, and other investment banking activities, are performed globally by investment banking affiliates of Bank of America Corporation ("Investment Banking Affiliates"), including, in the United States, BofA Securities, Inc. and BofA Securities Prime, Inc., which are registered broker-dealers and Members of <a aria-label="SIPC(New Window)" href="https://www.sipc.org/" target="_blank">SIPC</a>, and, in other jurisdictions, by locally registered entities. BofA Securities, Inc. is a registered futures commission merchant with the CFTC and a member of the NFA. </p> </div> </div> <div class="row footer-content py-3" style="margin-top:-15px;"> <div class="col-xs-6 col-md-6 bottom-content"> Investment products offered by Investment Banking Affiliates:<br/> </div></div> <div class="row fdic-content py-3" style="margin-top: -25px;"> <div class="col-xs-6 col-md-6 col-sm-6 bottom-content insuredFdic"> Are Not FDIC Insured • May Lose Value • Are Not Bank Guaranteed. </div></div> <span class="separator"></span> </div> <div class="authenticated"> <span class="copyright py-3"> <p style="text-align: center;"><a class="ot-sdk-show-settings" href="javascript:;" id="2521_footer" style="line-height: 24px; color: #fff;">Your Privacy Choices</a><span class="one-trust-checkbox-blue" style="background-position: center;display: inline-block;vertical-align: text-top;"></span></p> © 2024 Bank of America Corporation. All rights reserved. </span> </div> </div> </footer> </div> </div> <script type="text/javascript"> </script><script> </script> <script type="text/javascript"> // <![CDATA[ Liferay.currentURL = '\x2fv2\x2flogin_page\x3fresumePath\x3dhttps\x253A\x252F\x252Ffedsso\x2eml\x2ecom\x252Fas\x252FV8KFlRr1ha\x252Fresume\x252Fas\x252Fauthorization\x2eping\x26vnd_pi_requested_resource\x3dhttps\x253A\x252F\x252Fmarkets\x2eml\x2ecom\x252Fhome\x26vnd_pi_application_name\x3dA2521MercuryPortalAPI\x26client_id\x3dA2521MercuryPortalAPI'; Liferay.currentURLEncoded = '\x252Fv2\x252Flogin_page\x253FresumePath\x253Dhttps\x25253A\x25252F\x25252Ffedsso\x2eml\x2ecom\x25252Fas\x25252FV8KFlRr1ha\x25252Fresume\x25252Fas\x25252Fauthorization\x2eping\x2526vnd_pi_requested_resource\x253Dhttps\x25253A\x25252F\x25252Fmarkets\x2eml\x2ecom\x25252Fhome\x2526vnd_pi_application_name\x253DA2521MercuryPortalAPI\x2526client_id\x253DA2521MercuryPortalAPI'; // ]]> </script> <script type="text/javascript"> // <![CDATA[ // ]]> </script> <script type="text/javascript"> (function() {var $ = AUI.$;var _ = AUI._; var onVote = function (event) { if (window.Analytics) { let title = event.contentTitle; if (!title) { const dmNode = document.querySelector( '[data-analytics-file-entry-id="' + event.classPK + '"]' ); if (dmNode) { title = dmNode.dataset.analyticsFileEntryTitle; } } Analytics.send('VOTE', 'Ratings', { className: event.className, classPK: event.classPK, ratingType: event.ratingType, score: event.score, title, }); } }; var onDestroyPortlet = function () { Liferay.detach('ratings:vote', onVote); Liferay.detach('destroyPortlet', onDestroyPortlet); }; Liferay.on('ratings:vote', onVote); Liferay.on('destroyPortlet', onDestroyPortlet); })(); (function() {var $ = AUI.$;var _ = AUI._; var onDestroyPortlet = function () { Liferay.detach('messagePosted', onMessagePosted); Liferay.detach('destroyPortlet', onDestroyPortlet); }; Liferay.on('destroyPortlet', onDestroyPortlet); var onMessagePosted = function (event) { if (window.Analytics) { const eventProperties = { className: event.className, classPK: event.classPK, commentId: event.commentId, text: event.text, }; const blogNode = document.querySelector( '[data-analytics-asset-id="' + event.classPK + '"]' ); const dmNode = document.querySelector( '[data-analytics-file-entry-id="' + event.classPK + '"]' ); if (blogNode) { eventProperties.title = blogNode.dataset.analyticsAssetTitle; } else if (dmNode) { eventProperties.title = dmNode.dataset.analyticsFileEntryTitle; } Analytics.send('posted', 'Comment', eventProperties); } }; Liferay.on('messagePosted', onMessagePosted); })(); function getValueByAttribute(node, attr) { return ( node.dataset[attr] || (node.parentElement && node.parentElement.dataset[attr]) ); } function sendAnalyticsEvent(anchor) { var fileEntryId = getValueByAttribute(anchor, 'analyticsFileEntryId'); var title = getValueByAttribute(anchor, 'analyticsFileEntryTitle'); var version = getValueByAttribute(anchor, 'analyticsFileEntryVersion'); if (fileEntryId) { Analytics.send('documentDownloaded', 'Document', { groupId: themeDisplay.getScopeGroupId(), fileEntryId, preview: !!window._com_liferay_document_library_analytics_isViewFileEntry, title, version, }); } } function handleDownloadClick(event) { if (window.Analytics) { if (event.target.nodeName.toLowerCase() === 'a') { sendAnalyticsEvent(event.target); } else if ( event.target.parentNode && event.target.parentNode.nodeName.toLowerCase() === 'a' ) { sendAnalyticsEvent(event.target.parentNode); } else { var target = event.target; var matchTitle = target.title && target.title.toLowerCase() === 'download'; var matchAction = target.action === 'download'; var matchLexiconIcon = !!target.querySelector( '.lexicon-icon-download' ); var matchLexiconClassName = target.classList.contains( 'lexicon-icon-download' ); var matchParentTitle = target.parentNode && target.parentNode.title && target.parentNode.title.toLowerCase() === 'download'; var matchParentLexiconClassName = target.parentNode && target.parentNode.classList.contains('lexicon-icon-download'); if ( matchTitle || matchParentTitle || matchAction || matchLexiconIcon || matchLexiconClassName || matchParentLexiconClassName ) { var selectedFiles = document.querySelectorAll( '.form .custom-control-input:checked' ); selectedFiles.forEach(({value}) => { var selectedFile = document.querySelector( '[data-analytics-file-entry-id="' + value + '"]' ); sendAnalyticsEvent(selectedFile); }); } } } } Liferay.once('destroyPortlet', () => { document.body.removeEventListener('click', handleDownloadClick); }); Liferay.once('portletReady', () => { document.body.addEventListener('click', handleDownloadClick); }); (function() {var $ = AUI.$;var _ = AUI._; var onShare = function (data) { if (window.Analytics) { Analytics.send('shared', 'SocialBookmarks', { className: data.className, classPK: data.classPK, type: data.type, url: data.url, }); } }; var onDestroyPortlet = function () { Liferay.detach('socialBookmarks:share', onShare); Liferay.detach('destroyPortlet', onDestroyPortlet); }; Liferay.on('socialBookmarks:share', onShare); Liferay.on('destroyPortlet', onDestroyPortlet); })(); if (window.svg4everybody && Liferay.Data.ICONS_INLINE_SVG) { svg4everybody( { polyfill: true, validate: function (src, svg, use) { return !src || !src.startsWith('#'); } } ); } Liferay.Portlet.register('com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_cVTyClPr1YRO'); Liferay.Portlet.onLoad( { canEditTitle: false, columnPos: 2, isStatic: 'end', namespacedId: 'p_p_id_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_cVTyClPr1YRO_', portletId: 'com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_cVTyClPr1YRO', refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d35\x26p_p_id\x3dcom_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_cVTyClPr1YRO\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3dcolumn-1\x26p_p_col_pos\x3d2\x26p_p_col_count\x3d3\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fv2\x252Flogin_page\x253FresumePath\x253Dhttps\x25253A\x25252F\x25252Ffedsso\x2eml\x2ecom\x25252Fas\x25252FV8KFlRr1ha\x25252Fresume\x25252Fas\x25252Fauthorization\x2eping\x2526vnd_pi_requested_resource\x253Dhttps\x25253A\x25252F\x25252Fmarkets\x2eml\x2ecom\x25252Fhome\x2526vnd_pi_application_name\x253DA2521MercuryPortalAPI\x2526client_id\x253DA2521MercuryPortalAPI', refreshURLData: {} } ); Liferay.Portlet.register('com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_euzvtk6kbSpJ'); Liferay.Portlet.onLoad( { canEditTitle: false, columnPos: 0, isStatic: 'end', namespacedId: 'p_p_id_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_euzvtk6kbSpJ_', portletId: 'com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_euzvtk6kbSpJ', refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d35\x26p_p_id\x3dcom_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_euzvtk6kbSpJ\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3dcolumn-1\x26p_p_col_pos\x3d0\x26p_p_col_count\x3d3\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fv2\x252Flogin_page\x253FresumePath\x253Dhttps\x25253A\x25252F\x25252Ffedsso\x2eml\x2ecom\x25252Fas\x25252FV8KFlRr1ha\x25252Fresume\x25252Fas\x25252Fauthorization\x2eping\x2526vnd_pi_requested_resource\x253Dhttps\x25253A\x25252F\x25252Fmarkets\x2eml\x2ecom\x25252Fhome\x2526vnd_pi_application_name\x253DA2521MercuryPortalAPI\x2526client_id\x253DA2521MercuryPortalAPI', refreshURLData: {} } ); Liferay.Portlet.register('com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_rtOYoTqoC7Hc'); Liferay.Portlet.onLoad( { canEditTitle: false, columnPos: 1, isStatic: 'end', namespacedId: 'p_p_id_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_rtOYoTqoC7Hc_', portletId: 'com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_rtOYoTqoC7Hc', refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d35\x26p_p_id\x3dcom_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_rtOYoTqoC7Hc\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3dcolumn-1\x26p_p_col_pos\x3d1\x26p_p_col_count\x3d3\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fv2\x252Flogin_page\x253FresumePath\x253Dhttps\x25253A\x25252F\x25252Ffedsso\x2eml\x2ecom\x25252Fas\x25252FV8KFlRr1ha\x25252Fresume\x25252Fas\x25252Fauthorization\x2eping\x2526vnd_pi_requested_resource\x253Dhttps\x25253A\x25252F\x25252Fmarkets\x2eml\x2ecom\x25252Fhome\x2526vnd_pi_application_name\x253DA2521MercuryPortalAPI\x2526client_id\x253DA2521MercuryPortalAPI', refreshURLData: {} } ); </script><script> Liferay.Loader.require( 'frontend-js-web/index', 'layout-taglib@16.0.0/render_layout_structure/js/InfoItemActionHandler', function(frontendJsWeb, InfoItemActionHandler) { try { AUI().use( 'liferay-menu', function(A) { (function() { Liferay.component('infoItemActionComponent', new InfoItemActionHandler.default({"executeInfoItemActionURL":"https:\/\/markets.ml.com\/c\/portal\/execute_info_item_action?p_l_mode=view&plid=35","namespace":"","spritemap":"https:\/\/markets.ml.com\/o\/mercury_dxp_theme\/images\/clay\/icons.svg"}), { destroyOnNavigate: true, portletId: ''}); })(); (function() { var $ = AUI.$;var _ = AUI._; var {delegate} = frontendJsWeb; delegate( document, 'focusin', '.portlet', function(event) { event.delegateTarget.closest('.portlet').classList.add('open'); } ); delegate( document, 'focusout', '.portlet', function(event) { event.delegateTarget.closest('.portlet').classList.remove('open'); } ); })(); (function() { var $ = AUI.$;var _ = AUI._; new Liferay.Menu(); var liferayNotices = Liferay.Data.notices; for (var i = 0; i < liferayNotices.length; i++) { Liferay.Util.openToast(liferayNotices[i]); } })(); (function() { var $ = AUI.$;var _ = AUI._; var {openToast} = frontendJsWeb; AUI().use( 'liferay-session', function() { Liferay.Session = new Liferay.SessionBase( { autoExtend: true, redirectOnExpire: false, redirectUrl: 'https\x3a\x2f\x2fmarkets\x2eml\x2ecom\x2fweb\x2fdxp\x2fhome', sessionLength: 46800, sessionTimeoutOffset: 70, warningLength: 60 } ); } ); })(); }); } catch (err) { console.error(err); } }); </script> <script src="https://static.markets.ml.com/o/mercury_dxp_theme/js/main.js,qbrowserId=ie,aminifierType=js,alanguageId=en_US,at=1732053450000.pagespeed.jm.oAep55T8ly.js" type="text/javascript"></script> <script> Liferay.Loader.require( 'frontend-js-tooltip-support-web@4.0.21/index', function(TooltipSupport) { try { (function() { TooltipSupport.default() })(); } catch (err) { console.error(err); } }); </script><script> Liferay.Loader.require( 'frontend-js-collapse-support-web@2.0.16/index', function(CollapseProvider) { try { (function() { CollapseProvider.default() })(); } catch (err) { console.error(err); } }); </script><script> Liferay.Loader.require( 'frontend-js-tabs-support-web@2.0.14/index', function(TabsProvider) { try { (function() { TabsProvider.default() })(); } catch (err) { console.error(err); } }); </script><script> Liferay.Loader.require( 'frontend-js-dropdown-support-web@2.0.13/index', function(DropdownProvider) { try { (function() { DropdownProvider.default() })(); } catch (err) { console.error(err); } }); </script><script> Liferay.Loader.require( 'frontend-js-alert-support-web@2.0.12/index', function(AlertProvider) { try { (function() { AlertProvider.default() })(); } catch (err) { console.error(err); } }); </script><script type="text/javascript"> Liferay.CustomDialogs = {enabled: false}; </script><script> </script></body> <style> body { overflow-x: hidden; } .portlet, .portlet-layout .portlet-header { margin-bottom: 0px; } .portlet-borderless .portlet-content { padding: 0!important; } .portlet-title-text{ display:none !important; } #logo-section { height: 70px; position: fixed; top: 0; bottom: 0; width: 100%; z-index: 1; background: #fff; left: 15px; } .footer-bottom-fit{ position:absolute; bottom:0; width:100%; } </style> <script type="text/javascript"> window.localStorage.removeItem("redirectedToExternal"); if(window.innerHeight == document.documentElement.scrollHeight){ $("#footer-section").addClass("footer-bottom-fit"); } function resize() { if(window.innerHeight == document.documentElement.scrollHeight){ $("#footer-section").addClass("footer-bottom-fit"); $(".elastic-page .authenticated").css("text-align","justify"); }else{ $("#footer-section").removeClass("footer-bottom-fit"); $(".elastic-page .authenticated").css("text-align","center"); } } window.onresize = resize; </script> <script> if(isUnblockWT){ var _tag = null; if(window.location.hostname.toLowerCase() == "beta.markets.ml.com"){ _dcsidToUse="dcst2bjqs00000cpfulkti215_4i8f"; } else{ _dcsidToUse="dcsfhpo6l10000s14qtz85209_8q3x"; } if(typeof window.WebTrends == 'function') { _tag = new WebTrends(_dcsidToUse); } if(_tag != null){ _tag.dcsCollect(); _tag.dcsTag(); } } </script> </html>