uawdijnntqw1x1x1
IP : 216.73.216.26
Hostname : server.wtmmart.in
Kernel : Linux server.wtmmart.in 4.18.0-553.45.1.el8_10.x86_64 #1 SMP Wed Mar 19 09:44:46 EDT 2025 x86_64
Disable Function : exec,passthru,shell_exec,system
OS : Linux
PATH:
/
home2
/
wtmwscom
/
public_html
/
css
/
..
/
post
/
scripts
/
Portal_008.js
/
/
define("Portal.EP_Layouts.InteractivePageLayout.mvc$model", ["OutSystems/ClientRuntime/Main", "Portal.model", "Portal.controller", "Portal.EP_Layouts.LayoutMenuTop.mvc$model", "Portal.EP_Headers.InteractivePageHeader.mvc$model", "Portal.EP_Common.Title.mvc$model", "Portal.EP_Common.ThemeGrid_Container.mvc$model", "Portal.EP_Common.Footer.mvc$model", "Portal.EP_Headers.Menu.mvc$model", "Portal.controller$PrepareConfigAndTranslations", "Portal.controller$ScrollToTop", "Portal.controller$HandleScreenPermissions", "Portal.controller$GetPageNameFromURL"], function (OutSystems, PortalModel, PortalController, Portal_EP_Layouts_LayoutMenuTop_mvcModel, Portal_EP_Headers_InteractivePageHeader_mvcModel, Portal_EP_Common_Title_mvcModel, Portal_EP_Common_ThemeGrid_Container_mvcModel, Portal_EP_Common_Footer_mvcModel, Portal_EP_Headers_Menu_mvcModel) { var OS = OutSystems.Internal; var VariablesRecord = (function (_super) { __extends(VariablesRecord, _super); function VariablesRecord(defaults) { _super.apply(this, arguments); } VariablesRecord.attributesToDeclare = function () { return [ this.attr("GoogleAnalyticsMeasurementID", "googleAnalyticsMeasurementIDVar", "GoogleAnalyticsMeasurementID", true, false, OS.Types.Text, function () { return ""; }, false), this.attr("isMenuVisible", "isMenuVisibleVar", "isMenuVisible", true, false, OS.Types.Boolean, function () { return false; }, false), this.attr("ExtendedClass", "extendedClassIn", "ExtendedClass", true, false, OS.Types.Text, function () { return ""; }, false), this.attr("_extendedClassInDataFetchStatus", "_extendedClassInDataFetchStatus", "_extendedClassInDataFetchStatus", true, false, OS.Types.Integer, function () { return /*Fetched*/ 1; }, false), this.attr("IsLoadingNextStep", "isLoadingNextStepIn", "IsLoadingNextStep", true, false, OS.Types.Boolean, function () { return false; }, false), this.attr("_isLoadingNextStepInDataFetchStatus", "_isLoadingNextStepInDataFetchStatus", "_isLoadingNextStepInDataFetchStatus", true, false, OS.Types.Integer, function () { return /*Fetched*/ 1; }, false), this.attr("locale", "localeIn", "locale", true, false, OS.Types.Text, function () { return ""; }, false), this.attr("_localeInDataFetchStatus", "_localeInDataFetchStatus", "_localeInDataFetchStatus", true, false, OS.Types.Integer, function () { return /*Fetched*/ 1; }, false), this.attr("BannerURL", "bannerURLIn", "BannerURL", true, false, OS.Types.Text, function () { return ""; }, false), this.attr("_bannerURLInDataFetchStatus", "_bannerURLInDataFetchStatus", "_bannerURLInDataFetchStatus", true, false, OS.Types.Integer, function () { return /*Fetched*/ 1; }, false), this.attr("IsNotCareersPage", "isNotCareersPageIn", "IsNotCareersPage", true, false, OS.Types.Boolean, function () { return true; }, false), this.attr("_isNotCareersPageInDataFetchStatus", "_isNotCareersPageInDataFetchStatus", "_isNotCareersPageInDataFetchStatus", true, false, OS.Types.Integer, function () { return /*Fetched*/ 1; }, false), this.attr("IsLoginScreen", "isLoginScreenIn", "IsLoginScreen", true, false, OS.Types.Boolean, function () { return false; }, false), this.attr("_isLoginScreenInDataFetchStatus", "_isLoginScreenInDataFetchStatus", "_isLoginScreenInDataFetchStatus", true, false, OS.Types.Integer, function () { return /*Fetched*/ 1; }, false) ].concat(_super.attributesToDeclare.call(this)); }; VariablesRecord.init(); return VariablesRecord; })(OS.DataTypes.GenericRecord); var WidgetsRecord = (function (_super) { __extends(WidgetsRecord, _super); function WidgetsRecord() { _super.apply(this, arguments); } WidgetsRecord.getWidgetsType = function () { return {}; }; return WidgetsRecord; })(OS.Model.BaseWidgetRecordMap); var Model = (function (_super) { __extends(Model, _super); function Model() { _super.apply(this, arguments); } Model.getVariablesRecordConstructor = function () { return VariablesRecord; }; Model.getWidgetsRecordConstructor = function () { return WidgetsRecord; }; Model._hasValidationWidgetsValue = undefined; Object.defineProperty(Model, "hasValidationWidgets", { enumerable: true, configurable: true, get: function () { if((Model._hasValidationWidgetsValue === undefined)) { Model._hasValidationWidgetsValue = (((((Portal_EP_Layouts_LayoutMenuTop_mvcModel.hasValidationWidgets || Portal_EP_Headers_InteractivePageHeader_mvcModel.hasValidationWidgets) || Portal_EP_Common_Title_mvcModel.hasValidationWidgets) || Portal_EP_Common_ThemeGrid_Container_mvcModel.hasValidationWidgets) || Portal_EP_Common_Footer_mvcModel.hasValidationWidgets) || Portal_EP_Headers_Menu_mvcModel.hasValidationWidgets); } return Model._hasValidationWidgetsValue; } }); Model.prototype.setInputs = function (inputs) { if("ExtendedClass" in inputs) { this.variables.extendedClassIn = inputs.ExtendedClass; if("_extendedClassInDataFetchStatus" in inputs) { this.variables._extendedClassInDataFetchStatus = inputs._extendedClassInDataFetchStatus; } } if("IsLoadingNextStep" in inputs) { this.variables.isLoadingNextStepIn = inputs.IsLoadingNextStep; if("_isLoadingNextStepInDataFetchStatus" in inputs) { this.variables._isLoadingNextStepInDataFetchStatus = inputs._isLoadingNextStepInDataFetchStatus; } } if("locale" in inputs) { this.variables.localeIn = inputs.locale; if("_localeInDataFetchStatus" in inputs) { this.variables._localeInDataFetchStatus = inputs._localeInDataFetchStatus; } } if("BannerURL" in inputs) { this.variables.bannerURLIn = inputs.BannerURL; if("_bannerURLInDataFetchStatus" in inputs) { this.variables._bannerURLInDataFetchStatus = inputs._bannerURLInDataFetchStatus; } } if("IsNotCareersPage" in inputs) { this.variables.isNotCareersPageIn = inputs.IsNotCareersPage; if("_isNotCareersPageInDataFetchStatus" in inputs) { this.variables._isNotCareersPageInDataFetchStatus = inputs._isNotCareersPageInDataFetchStatus; } } if("IsLoginScreen" in inputs) { this.variables.isLoginScreenIn = inputs.IsLoginScreen; if("_isLoginScreenInDataFetchStatus" in inputs) { this.variables._isLoginScreenInDataFetchStatus = inputs._isLoginScreenInDataFetchStatus; } } }; return Model; })(OS.Model.BaseViewModel); return new OS.Model.ModelFactory(Model); }); define("Portal.EP_Layouts.InteractivePageLayout.mvc$view", ["OutSystems/ClientRuntime/Main", "Portal.model", "Portal.controller", "react", "OutSystems/ReactView/Main", "Portal.EP_Layouts.InteractivePageLayout.mvc$model", "Portal.EP_Layouts.InteractivePageLayout.mvc$controller", "Portal.clientVariables", "Portal.EP_Layouts.LayoutMenuTop.mvc$view", "OutSystems/ReactWidgets/Main", "Portal.EP_Headers.InteractivePageHeader.mvc$view", "Portal.EP_Common.Title.mvc$view", "Portal.EP_Common.ThemeGrid_Container.mvc$view", "Portal.EP_Common.Footer.mvc$view", "Portal.EP_Headers.Menu.mvc$view", "Portal.controller$PrepareConfigAndTranslations", "Portal.controller$ScrollToTop", "Portal.controller$HandleScreenPermissions", "Portal.controller$GetPageNameFromURL"], function (OutSystems, PortalModel, PortalController, React, OSView, Portal_EP_Layouts_InteractivePageLayout_mvc_model, Portal_EP_Layouts_InteractivePageLayout_mvc_controller, PortalClientVariables, Portal_EP_Layouts_LayoutMenuTop_mvc_view, OSWidgets, Portal_EP_Headers_InteractivePageHeader_mvc_view, Portal_EP_Common_Title_mvc_view, Portal_EP_Common_ThemeGrid_Container_mvc_view, Portal_EP_Common_Footer_mvc_view, Portal_EP_Headers_Menu_mvc_view) { var OS = OutSystems.Internal; var PlaceholderContent = OSView.Widget.PlaceholderContent; var IteratorPlaceholderContent = OSView.Widget.IteratorPlaceholderContent; var View = (function (_super) { __extends(View,_super); function View() { try { this.initialize.apply(this, arguments); } catch (error) { View.handleError(error); throw error; } } View.prototype.initialize = function() { _super.apply(this, arguments); }; View.displayName = "EP_Layouts.InteractivePageLayout"; View.getCssDependencies = function() { return ["css/OutSystemsReactWidgets.css"]; }; View.getJsDependencies = function() { return []; }; View.getBlocks = function() { return [Portal_EP_Layouts_LayoutMenuTop_mvc_view, Portal_EP_Headers_InteractivePageHeader_mvc_view, Portal_EP_Common_Title_mvc_view, Portal_EP_Common_ThemeGrid_Container_mvc_view, Portal_EP_Common_Footer_mvc_view, Portal_EP_Headers_Menu_mvc_view]; }; Object.defineProperty(View.prototype, "modelFactory", { get: function () { return Portal_EP_Layouts_InteractivePageLayout_mvc_model; }, enumerable: true, configurable: true }); Object.defineProperty(View.prototype, "controllerFactory", { get: function () { return Portal_EP_Layouts_InteractivePageLayout_mvc_controller; }, enumerable: true, configurable: true }); Object.defineProperty(View.prototype, "title", { get: function () { return ""; }, enumerable: true, configurable: true }); View.prototype.internalRender = function() { var model = this.model; var controller = this.controller; var idService = this.idService; var validationService = controller.validationService; var widgetsRecordProvider = this.widgetsRecordProvider; var callContext = controller.callContext(); var $if = View.ifWidget; var asPrimitiveValue = View.asPrimitiveValue; var _this = this; return React.createElement("div", this.getRootNodeProperties(), React.createElement(Portal_EP_Layouts_LayoutMenuTop_mvc_view, { inputs: { HasFixedHeader: false, ExtendedClass: model.variables.extendedClassIn, _extendedClassInDataFetchStatus: OS.Model.calculateDataFetchStatus(model.variables._extendedClassInDataFetchStatus) }, events: { _handleError: function (ex) { controller.handleError(ex); } }, _validationProps: { validationService: validationService }, _idProps: { service: idService, uuid: "0", alias: "1" }, _widgetRecordProvider: widgetsRecordProvider, placeholders: { header: new PlaceholderContent(function () { return [React.createElement(Portal_EP_Headers_InteractivePageHeader_mvc_view, { inputs: { IsNotCareersPage: model.variables.isNotCareersPageIn, _isNotCareersPageInDataFetchStatus: OS.Model.calculateDataFetchStatus(model.variables._isNotCareersPageInDataFetchStatus), BannerURL: model.variables.bannerURLIn, _bannerURLInDataFetchStatus: OS.Model.calculateDataFetchStatus(model.variables._bannerURLInDataFetchStatus), locale: model.variables.localeIn, _localeInDataFetchStatus: OS.Model.calculateDataFetchStatus(model.variables._localeInDataFetchStatus), IsLoginScreen: model.variables.isLoginScreenIn, _isLoginScreenInDataFetchStatus: OS.Model.calculateDataFetchStatus(model.variables._isLoginScreenInDataFetchStatus) }, events: { _handleError: function (ex) { controller.handleError(ex); }, rolesFetched$Action: function (isUserCandidateIn, isUserCorporateIn, isUserBlockedIn, isUserPersonalIn, isUserCorporateCashIn, isUserCorporateCreditIn, isUserCourierIn, isUserPostalIn, isUserHeadOfficeIn, isUserLECourtIn, isUserCashOnDeliveryIn) { var eventHandlerContext = callContext.clone(); controller.rolesFetched$Action(isUserCandidateIn, isUserCorporateIn, isUserBlockedIn, isUserPersonalIn, isUserCorporateCashIn, isUserCorporateCreditIn, isUserCourierIn, isUserPostalIn, isUserHeadOfficeIn, isUserLECourtIn, isUserCashOnDeliveryIn, controller.callContext(eventHandlerContext)); ; }, localeChanged$Action: function (newLocaleIn) { var eventHandlerContext = callContext.clone(); controller.localeChanged$Action(newLocaleIn, controller.callContext(eventHandlerContext)); ; }, userLoggedIn$Action: function () { var eventHandlerContext = callContext.clone(); controller.userLoggedIn$Action(controller.callContext(eventHandlerContext)); ; }, menuClicked$Action: function () { var eventHandlerContext = callContext.clone(); controller.onMenuClick$Action(controller.callContext(eventHandlerContext)); ; }, logoClicked$Action: function () { var eventHandlerContext = callContext.clone(); controller.logoClicked$Action(controller.callContext(eventHandlerContext)); ; } }, _validationProps: { validationService: validationService }, _idProps: { service: idService, uuid: "1", alias: "2" }, _widgetRecordProvider: widgetsRecordProvider, placeholders: { menuPlaceholder: new PlaceholderContent(function () { return [React.createElement(OSWidgets.Placeholder, { align: /*Default*/ 0, content: _this.props.placeholders.menuPlaceholder, _idProps: { service: idService, name: "MenuPlaceholder" }, _widgetRecordProvider: widgetsRecordProvider })]; }) } })]; }), content: new PlaceholderContent(function () { return [React.createElement(OSWidgets.Container, { align: /*Default*/ 0, animate: false, extendedProperties: { "OSTagName": "main", role: "main" }, style: "PageBody", visible: true, _idProps: { service: idService, uuid: "3" }, _widgetRecordProvider: widgetsRecordProvider }, React.createElement(OSWidgets.Container, { align: /*Default*/ 0, animate: false, style: "PageTitle", visible: true, _idProps: { service: idService, name: "Title" }, _widgetRecordProvider: widgetsRecordProvider }, React.createElement(OSWidgets.Container, { align: /*Default*/ 0, animate: false, style: "ThemeGrid_Container", visible: true, _idProps: { service: idService, uuid: "5" }, _widgetRecordProvider: widgetsRecordProvider }, React.createElement(Portal_EP_Common_Title_mvc_view, { inputs: { HasBottomMargin: true, TitleColor: "var(--color-neutral-0)" }, events: { _handleError: function (ex) { controller.handleError(ex); } }, _validationProps: { validationService: validationService }, _idProps: { service: idService, uuid: "6", alias: "3" }, _widgetRecordProvider: widgetsRecordProvider, placeholders: { icon: PlaceholderContent.Empty, text: new PlaceholderContent(function () { return [React.createElement(OSWidgets.Placeholder, { align: /*Default*/ 0, content: _this.props.placeholders.pageTitle, _idProps: { service: idService, name: "PageTitle" }, _widgetRecordProvider: widgetsRecordProvider })]; }) } }))), React.createElement(OSWidgets.Container, { align: /*Default*/ 0, animate: false, style: "BreadcrumbsAndSupport", visible: true, _idProps: { service: idService, name: "BreadcrumbsAndSupport" }, _widgetRecordProvider: widgetsRecordProvider }, React.createElement(OSWidgets.Container, { align: /*Default*/ 0, animate: false, style: "ThemeGrid_Container", visible: true, _idProps: { service: idService, uuid: "9" }, _widgetRecordProvider: widgetsRecordProvider }, React.createElement(OSWidgets.Placeholder, { align: /*Default*/ 0, content: _this.props.placeholders.breadcrumbs, gridProperties: { classes: "OSInline" }, _idProps: { service: idService, name: "Breadcrumbs" }, _widgetRecordProvider: widgetsRecordProvider }), React.createElement(OSWidgets.Placeholder, { align: /*Default*/ 0, content: _this.props.placeholders.support, gridProperties: { classes: "OSInline" }, _idProps: { service: idService, name: "Support" }, _widgetRecordProvider: widgetsRecordProvider }))), React.createElement(OSWidgets.Container, { align: /*Default*/ 0, animate: false, visible: true, _idProps: { service: idService, name: "Content" }, _widgetRecordProvider: widgetsRecordProvider }, React.createElement(Portal_EP_Common_ThemeGrid_Container_mvc_view, { inputs: {}, events: { _handleError: function (ex) { controller.handleError(ex); } }, _validationProps: { validationService: validationService }, _idProps: { service: idService, uuid: "13", alias: "4" }, _widgetRecordProvider: widgetsRecordProvider, placeholders: { content: new PlaceholderContent(function () { return [React.createElement(OSWidgets.Container, { align: /*Default*/ 0, animate: false, style: "PageContent", visible: true, _idProps: { service: idService, uuid: "14" }, _widgetRecordProvider: widgetsRecordProvider }, React.createElement(OSWidgets.Placeholder, { align: /*Default*/ 0, content: _this.props.placeholders.pageContent, _idProps: { service: idService, name: "PageContent" }, _widgetRecordProvider: widgetsRecordProvider }))]; }) } }))), React.createElement(OSWidgets.Container, { align: /*Default*/ 0, animate: false, extendedProperties: { "OSTagName": "footer", role: "contentinfo" }, style: "content-bottom", visible: true, _idProps: { service: idService, name: "Footer" }, _widgetRecordProvider: widgetsRecordProvider }, React.createElement(Portal_EP_Common_Footer_mvc_view, { inputs: { locale: model.variables.localeIn, _localeInDataFetchStatus: OS.Model.calculateDataFetchStatus(model.variables._localeInDataFetchStatus) }, events: { _handleError: function (ex) { controller.handleError(ex); } }, _validationProps: { validationService: validationService }, _idProps: { service: idService, uuid: "17", alias: "5" }, _widgetRecordProvider: widgetsRecordProvider, _dependencies: [] })), $if(model.variables.isLoadingNextStepIn, false, this, function () { return [React.createElement(OSWidgets.Container, { align: /*Default*/ 0, animate: false, style: "InvisibleOverlay servicestudio-hide", visible: true, _idProps: { service: idService, name: "Overlay" }, _widgetRecordProvider: widgetsRecordProvider })]; }, function () { return []; }), React.createElement(Portal_EP_Headers_Menu_mvc_view, { inputs: { inputLocale: model.variables.localeIn, _inputLocaleInDataFetchStatus: OS.Model.calculateDataFetchStatus(model.variables._localeInDataFetchStatus), IsVisible: model.variables.isMenuVisibleVar }, events: { _handleError: function (ex) { controller.handleError(ex); }, userLoggedIn$Action: function () { var eventHandlerContext = callContext.clone(); controller.userLoggedIn$Action(controller.callContext(eventHandlerContext)); ; }, localeChanged$Action: function (newLocaleIn) { var eventHandlerContext = callContext.clone(); controller.localeChanged$Action(newLocaleIn, controller.callContext(eventHandlerContext)); ; }, closeMenu$Action: function () { var eventHandlerContext = callContext.clone(); controller.onMenuClick$Action(controller.callContext(eventHandlerContext)); ; } }, _validationProps: { validationService: validationService }, _idProps: { service: idService, uuid: "19", alias: "6" }, _widgetRecordProvider: widgetsRecordProvider, _dependencies: [] })]; }) } })); }; return View; })(OSView.BaseView.BaseWebBlock); return View; }); define("Portal.EP_Layouts.InteractivePageLayout.mvc$controller", ["OutSystems/ClientRuntime/Main", "Portal.model", "Portal.controller", "Portal.languageResources", "Portal.clientVariables", "Portal.EP_Layouts.InteractivePageLayout.mvc$controller.OnInitialize.IECheckJS", "Portal.EP_Layouts.InteractivePageLayout.mvc$controller.OnInitialize.InitializeGoogleAnalyticsJS", "Portal.controller$PrepareConfigAndTranslations", "Portal.controller$ScrollToTop", "Portal.controller$HandleScreenPermissions", "Portal.controller$GetPageNameFromURL"], function (OutSystems, PortalModel, PortalController, PortalLanguageResources, PortalClientVariables, Portal_EP_Layouts_InteractivePageLayout_mvc_controller_OnInitialize_IECheckJS, Portal_EP_Layouts_InteractivePageLayout_mvc_controller_OnInitialize_InitializeGoogleAnalyticsJS) { var OS = OutSystems.Internal; var Controller = (function (_super) { __extends(Controller, _super); function Controller() { _super.apply(this, arguments); var controller = this.controller; this.clientActionProxies = {}; this.dataFetchDependenciesOriginal = {}; this.dataFetchDependentsGraph = {}; this.useImprovedDataFetch = false; this.hasDependenciesBetweenSources = false; this.shouldSendClientVarsToDataSources = false; } // Server Actions // Aggregates and Data Actions Controller.prototype.dataFetchActionNames = []; // Client Actions Controller.prototype._onInitialize$Action = function (callContext) { var model = this.model; var controller = this.controller; var idService = this.idService; controller.ensureControllerAlive("OnInitialize"); callContext = controller.callContext(callContext); var iECheckJSResult = new OS.DataTypes.VariableHolder(); return OS.Flow.executeAsyncFlow(function () { return OS.Flow.executeSequence(function () { if((((PortalClientVariables.getDateFormat() === "") || (PortalClientVariables.getDefaultLocale() === "")))) { // Execute Action: PrepareConfigAndTranslations model.flush(); return PortalController.default.prepareConfigAndTranslations$Action(callContext); } }).then(function () { iECheckJSResult.value = controller.safeExecuteJSNode(Portal_EP_Layouts_InteractivePageLayout_mvc_controller_OnInitialize_IECheckJS, "IECheck", "OnInitialize", { IsInternetExplorer: OS.DataConversion.JSNodeParamConverter.to(false, OS.Types.Boolean) }, function ($parameters) { var jsNodeResult = new (controller.constructor.getVariableGroupType("Portal.EP_Layouts.InteractivePageLayout.OnInitialize$iECheckJSResult"))(); jsNodeResult.isInternetExplorerOut = OS.DataConversion.JSNodeParamConverter.from($parameters.IsInternetExplorer, OS.Types.Boolean); return jsNodeResult; }, {}, {}); // IsIE? return OS.Flow.executeSequence(function () { if((iECheckJSResult.value.isInternetExplorerOut)) { // Destination: /Portal/BrowserNotSupported return OS.Flow.returnAsync(OS.Navigation.navigateTo(OS.Navigation.generateScreenURL("/Portal/BrowserNotSupported", {}), OS.Transitions.createTransition(OS.Transitions.TransitionAnimation.Default), callContext, true)); } else { // NotCareers? return OS.Flow.executeSequence(function () { if((model.variables.isNotCareersPageIn)) { // Execute Action: HandleScreenPermissions model.flush(); return PortalController.default.handleScreenPermissions$Action(PortalController.default.getPageNameFromURL$Action(callContext).nameOut, PortalClientVariables.getUser_SessionToken(), callContext); } }).then(function () { // Execute Action: ScrollToTop PortalController.default.scrollToTop$Action(callContext); // Execute Action: LoadGoogleTagManager model.flush(); return OS.SystemActions.requireScript(("https://www.googletagmanager.com/gtag/js?id=" + PortalClientVariables.getGoogleAnalyticsMeasurementID()), callContext).then(function () { controller.safeExecuteJSNode(Portal_EP_Layouts_InteractivePageLayout_mvc_controller_OnInitialize_InitializeGoogleAnalyticsJS, "InitializeGoogleAnalytics", "OnInitialize", { GoogleAnalyticsMeasurementID: OS.DataConversion.JSNodeParamConverter.to(PortalClientVariables.getGoogleAnalyticsMeasurementID(), OS.Types.Text) }, function ($parameters) { }, {}, {}); }); }); } }); }); }); }; Controller.registerVariableGroupType("Portal.EP_Layouts.InteractivePageLayout.OnInitialize$iECheckJSResult", [{ name: "IsInternetExplorer", attrName: "isInternetExplorerOut", mandatory: true, dataType: OS.Types.Boolean, defaultValue: function () { return false; } }]); Controller.prototype._onMenuClick$Action = function (callContext) { var model = this.model; var controller = this.controller; var idService = this.idService; controller.ensureControllerAlive("OnMenuClick"); callContext = controller.callContext(callContext); // isMenuVisible = notisMenuVisible model.variables.isMenuVisibleVar = !(model.variables.isMenuVisibleVar); }; Controller.prototype.onInitialize$Action = function (callContext) { var controller = this.controller; return controller.safeExecuteClientAction(controller._onInitialize$Action, callContext); }; Controller.prototype.onMenuClick$Action = function (callContext) { var controller = this.controller; return controller.safeExecuteClientAction(controller._onMenuClick$Action, callContext); }; Controller.prototype.rolesFetched$Action = function () { return Promise.resolve(); }; Controller.prototype.logoClicked$Action = function () { return Promise.resolve(); }; Controller.prototype.localeChanged$Action = function () { return Promise.resolve(); }; Controller.prototype.userLoggedIn$Action = function () { return Promise.resolve(); }; Controller.prototype.localeEmpty$Action = function () { return Promise.resolve(); }; // Event Handler Actions Controller.prototype.onInitializeEventHandler = function (callContext) { var controller = this.controller; var model = this.model; var idService = this.idService; return controller.onInitialize$Action(callContext); }; Controller.prototype.onReadyEventHandler = null; Controller.prototype.onRenderEventHandler = null; Controller.prototype.onDestroyEventHandler = null; Controller.prototype.onParametersChangedEventHandler = null; Controller.prototype.handleError = function (ex) { return controller.handleError(ex); }; Controller.checkPermissions = function () { }; Controller.prototype.getDefaultTimeout = function () { return PortalController.default.defaultTimeout; }; return Controller; })(OS.Controller.BaseViewController); return new OS.Controller.ControllerFactory(Controller, PortalLanguageResources); }); define("Portal.EP_Layouts.InteractivePageLayout.mvc$controller.OnInitialize.IECheckJS", [], function () { return function ($parameters, $actions, $roles, $public) { var ua = window.navigator.userAgent; var msie = ua.indexOf("MSIE "); if (window.document.documentMode) { $parameters.IsInternetExplorer = true; } else if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\:11\./)) // If Internet Explorer, return version number { $parameters.IsInternetExplorer = true; } }; }); define("Portal.EP_Layouts.InteractivePageLayout.mvc$controller.OnInitialize.InitializeGoogleAnalyticsJS", [], function () { return function ($parameters, $actions, $roles, $public) { window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', $parameters.GoogleAnalyticsMeasurementID); }; });
/home2/wtmwscom/public_html/css/../post/scripts/Portal_008.js