{"html":"{% if show_menu_title == \"true\" %}<div class=\"ue-menu-title\">{{menu_title|raw}}<\/div>{% endif %}\n\n<div class=\"ue-mega-menu-inner-links\" id=\"{{uc_id}}\">\n  {{put_items()}} {# - you can use parameters: \"shuffle\", \"one_random\", \"one_first\" like put_items(\"shuffle\")  #}\n<\/div>","html_item":"<div class=\"{{item.item_repeater_class}} {{hover}}\">\n  <a class=\"ue-link-item\" href=\"{{item.link}}\" {{item.link_html_attributes|raw}}>\n        {% if item.graphic_element == \"icon\" %}<div class=\"ue-graphic-element\"><span class=\"ue-ge-icon\">{{item.icon_html|raw}}<\/span><\/div>{% endif %}\n        {% if item.graphic_element == \"image\" %}<div class=\"ue-graphic-element\"><span class=\"ue-ge-image\"><img src=\"{{item.image}}\" {{item.image_attributes|raw}}><\/span><\/div>{% endif %}\n        {% if item.graphic_element == \"text\" %}<div class=\"ue-graphic-element\"><span class=\"ue-ge-text\">{{item.graphic_element_text|raw}}<\/span><\/div>{% endif %}\n    <div class=\"ue-link-item-content\">\n      {% if show_title == \"true\" %}<div class=\"ue-link-item-title ue-title\">{{item.title|raw}}<\/div>{% endif %}\t\n      {% if show_text == \"true\" %}<div class=\"ue-link-item-text ue-text\">{{item.text|raw}}<\/div>{% endif %}\n      {% if show_link == \"true\" %}<div class=\"ue-link-item-link ue-link\">{{item.link_text|raw}}<\/div>{% endif %}\n    <\/div>\n  <\/a>\n\n  {% if show_separator == \"true\" %}\n  <div class=\"ue-item-separator\"><\/div>\n  {% endif %}\n<\/div>","css":"#{{uc_id}}\n{\n  display:grid;\n}\n\n#{{uc_id}} .ue-link-item\n{\n  display:flex;\n  transition:0.3s;\n}\n\n#{{uc_id}} .ue-graphic-element\n{\n  display:inline-flex;\n  align-items:center;\n  justify-content:center;\n  line-height:1em;\n  overflow:hidden;\n  flex-grow:0;\n  flex-shrink:0;\n  transition:0.3s;\n}\n\n#{{uc_id}} .ue-graphic-element svg\n{\n  height:1em;\n  width:1em;\n  transition:0.3s;\n}\n\n#{{uc_id}} .ue-graphic-element img\n{\n  display:block;\n}\n\n#{{uc_id}} .ue-title, #{{uc_id}} .ue-text\n{\n  width:100%;\n  transition:0.3s;\n}\n\n#{{uc_id}} .ue-ge-image\n{\n  width:100%;\n  transition:0.3s;\n}","js":"{% set url_ajax = ucfunc(\"get_url_ajax\") %}\n \njQuery(document).ready(function(){\n\n  var objInnerLinks = jQuery('#{{uc_id}}');\n  var linkItem = objInnerLinks.find('.ue-link-item');\n  \n  linkItem.each(function(){\n    \n  \tvar objLink = jQuery(this);\n    var objLinkHref = objLink.attr('href');\n    var pageUrl = \"{{url_ajax}}\";\n    \n    if(objLinkHref == pageUrl)\n    objLink.addClass('uc-megainner-current-page');\n    \n  });\n  \n  linkItem.on('click', function(){\n    \n    var linkPathName = this.pathname;\n    var windowPathName = window.location.pathname;\n   \n    if(linkPathName != windowPathName)\n    return(true);\n    \n    var objLink = jQuery(this);\n    var megaMenuList = objLink.parents('.uc-mega_menu_list');\n    \n  \tmegaMenuList.trigger('close_mega_menu');\n    \n  });\n\n});"}