//
LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#pageInformation","feedbackSelector":".InfoMessage"});
LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox","feedbackSelector":".InfoMessage"});
;(function($) {
function makeid()
{
var text = "";
var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
for (var i = 0; i < 5; i++)
text += possible.charAt(Math.floor(Math.random() * possible.length));
return text;
}
$(document).ready(function () {
$('body').on({
mouseenter: function(evt) {
if ($(this).parents('.lia-component-users-widget-menu').length > 0) {
return;
}
if ($(this).hasClass("disable-hovercard")) {
return;
}
if ($(this).parents('.lia-component-common-widget-slide-out-user-menu').length > 0) {
return;
}
evt.preventDefault();
evt.stopPropagation();
$('.hc-user-profile').removeClass('hc-animate-in hc-is-shown');
if ($('.hc-user-profile', this).length > 0) {
$('.hc-user-profile', this).addClass('hc-animate-in hc-is-shown');
return;
}
var unqId = makeid();
var userId = $(this).attr('href').substring($(this).attr('href').lastIndexOf("/")+1, $(this).attr('href').length);
var divContainer = $('');
$(this).append(divContainer);
$(divContainer).addClass('hc-animate-in hc-is-shown');
$.ajax({
url: '/plugins/custom/cisco/meraki/profile-card?tid=8206684069746457449',
type: 'post',
dataType: 'html',
data: {"userId": userId, "unqId": unqId},
beforeSend: function() {},
success: function(data) {
$('.info-container', divContainer).append(data);
},
error: function() {
console.log('your error message should go here.');
$('.info-container', divContainer).append('
');
},
complete: function() {
$('.spinner', divContainer).remove();
}
});
},
mouseleave: function() {
$('.hc-user-profile').removeClass('hc-animate-in hc-is-shown');
}
}, 'a.lia-link-navigation.lia-page-link.lia-user-name-link,.UserAvatar.lia-link-navigation');
})
})(LITHIUM.jQuery);
LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:lightboxRenderComponent","parameters":{"componentParams":"{\n \"surveyType\" : {\n \"value\" : \"communityexperience\",\n \"class\" : \"java.lang.String\"\n },\n \"surveyId\" : {\n \"value\" : \"3\",\n \"class\" : \"java.lang.Integer\"\n },\n \"triggerSelector\" : {\n \"value\" : \"#valueSurveyLauncher\",\n \"class\" : \"lithium.util.css.CssSelector\"\n }\n}","componentId":"valuesurveys.widget.survey-prompt-dialog"},"trackableEvent":false},"tokenId":"ajax","elementSelector":"#valueSurveyLauncher","action":"lightboxRenderComponent","feedbackSelector":false,"url":"https://community.meraki.com/t5/video/gallerypage.liabase.basebody.valuesurveylauncher.valuesurveylauncher:lightboxrendercomponent?t:ac=video-id/6324271677112","ajaxErrorEventName":"LITHIUM:ajaxError","token":"s_iupHs27Lwx4MzH744dOuRVhfvRoA1aK80CiHNHaW4."});
LITHIUM.Dialog.options['254024198'] = {"contentContext":"valuesurveys.widget.survey-prompt-dialog","dialogOptions":{"minHeight":399,"draggable":false,"maxHeight":800,"resizable":false,"autoOpen":false,"width":610,"minWidth":610,"dialogClass":"lia-content lia-panel-dialog lia-panel-dialog-modal-simple lia-panel-dialog-modal-valuesurvey","position":["center","center"],"modal":true,"maxWidth":610,"ariaLabel":"Feedback for community"},"contentType":"ajax"};
LITHIUM.Dialog({
"closeImageIconURL" : "https://community.meraki.com/skins/images/D0CBCA1435068952E47816084BC6CD2B/theme_hermes/images/button_dialog_close.svg",
"activecastFullscreen" : false,
"dialogTitleHeadingLevel" : "2",
"dropdownMenuSelector" : ".lia-menu-navigation-wrapper",
"accessibility" : true,
"triggerSelector" : ".lia-panel-dialog-trigger-event-click",
"ajaxEvent" : "LITHIUM:lightboxRenderComponent",
"focusOnDialogTriggerWhenClosed" : false,
"closeEvent" : "LITHIUM:lightboxCloseEvent",
"defaultAriaLabel" : "",
"dropdownMenuOpenerSelector" : ".lia-js-menu-opener",
"buttonDialogCloseAlt" : "Close",
"dialogContentCssClass" : "lia-panel-dialog-content",
"triggerEvent" : "click",
"dialogKey" : "dialogKey"
});
LITHIUM.ValueSurveyLauncher({"detectPopUpCSS":".lia-dialog-open","dialogLinkSelector":"#valueSurveyLauncher","launchDelay":64180});
;(function($) {
$(document).ready(function() {
var search_submit_span = $(".lia-search-input-field > .lia-button-wrapper.lia-button-wrapper-secondary.lia-button-wrapper-searchForm-action");
var search_autocomplete = $(".lia-search-input-field > input.lia-autocomplete-input")[0];
search_submit_span.insertAfter(search_autocomplete);
});
})(LITHIUM.jQuery);
LITHIUM.PartialRenderProxy({"limuirsComponentRenderedEvent":"LITHIUM:limuirsComponentRendered","relayEvent":"LITHIUM:partialRenderProxyRelay","listenerEvent":"LITHIUM:partialRenderProxy"});
LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:partialRenderProxyRelay","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":document,"action":"partialRenderProxyRelay","feedbackSelector":false,"url":"https://community.meraki.com/t5/video/gallerypage.liabase.basebody.partialrenderproxy:partialrenderproxyrelay?t:ac=video-id/6324271677112","ajaxErrorEventName":"LITHIUM:ajaxError","token":"Ocldiy71e-1lqrskQ7pJhowG9-HanU3dBDzCnJ9oD_E."});
LITHIUM.Auth.API_URL = "/t5/util/authcheckpage";
LITHIUM.Auth.LOGIN_URL_TMPL = "/plugins/common/feature/saml/doauth/post?referer=https%3A%2F%2FREPLACE_TEXT";
LITHIUM.Auth.KEEP_ALIVE_URL = "/t5/status/blankpage?keepalive";
LITHIUM.Auth.KEEP_ALIVE_TIME = 300000;
LITHIUM.Auth.CHECK_SESSION_TOKEN = 'zgFZPkxJSKV8KwOGZdszM-tyBL6i4AnnSNG4Ek-8yQk.';
LITHIUM.AjaxSupport.useTickets = false;
LITHIUM.Loader.runJsAttached();
// -->