(()=>{"use strict";var t={},i={};function e(o){var l=i[o];if(void 0!==l)return l.exports;var a=i[o]={exports:{}};return t[o](a,a.exports,e),a.exports}e.rv=()=>"1.4.11",e.ruid="bundler=rspack@1.4.11",lizMap.events.on({uicreated:function(){var t=!1;$("#bottom-dock .btn-bottomdock-clear").click(function(){return $("#mapmenu li.nav-bottomdock.active > a").click(),!1}).hover(function(){$(this).addClass("btn-danger")},function(){$(this).removeClass("btn-danger")}),$("#bottom-dock .btn-bottomdock-size").click(function(){return t?(t=!1,$(this).removeClass("active").attr("title",lizDict["bottomdock.toolbar.btn.size.maximize.title"]).html(lizDict["bottomdock.toolbar.btn.size.maximize.title"]),$("#bottom-dock").removeClass("fullsize"),lizMap.events.triggerEvent("bottomdocksizechanged",{size:"half"})):(t=!0,$(this).addClass("active").attr("title",lizDict["bottomdock.toolbar.btn.size.minimize.title"]).html(lizDict["bottomdock.toolbar.btn.size.minimize.title"]),$("#bottom-dock").addClass("fullsize"),lizMap.events.triggerEvent("bottomdocksizechanged",{size:"full"})),!1}).hover(function(){return t?$(this).removeClass("btn-primary").attr("title",lizDict["bottomdock.toolbar.btn.size.minimize.title"]).html(lizDict["bottomdock.toolbar.btn.size.minimize.title"]):$(this).addClass("btn-primary").attr("title",lizDict["bottomdock.toolbar.btn.size.maximize.title"]).html(lizDict["bottomdock.toolbar.btn.size.maximize.title"]),!1},function(){return t?$(this).addClass("btn-primary").attr("title",lizDict["bottomdock.toolbar.btn.size.minimize.title"]).html(lizDict["bottomdock.toolbar.btn.size.minimize.title"]):$(this).removeClass("btn-primary").attr("title",lizDict["bottomdock.toolbar.btn.size.maximize.title"]).html(lizDict["bottomdock.toolbar.btn.size.maximize.title"]),!1}),$("#mapmenu ul").on("click","li.nav-bottomdock > a",function(){var t=$(this),i=t.parent(),e=t.attr("href").substr(1),o=$("#nav-tab-"+e);if(i.hasClass("active")){if(o.hasClass("active")){var l=o.next(":visible");if(0!=l.length)l.first().children("a").first().click();else{var a=o.prev(":visible");0!=a.length&&a.first().children("a").first().click()}}o.hide(),o.removeClass("active"),i.removeClass("active"),lizMap.events.triggerEvent("bottomdockclosed",{id:e})}else{var r=$("#mapmenu li.nav-bottomdock.active");0!=r.length&&(r.removeClass("active"),lizMap.events.triggerEvent("bottomdockclosed",{id:r.children("a").first().attr("href").substr(1)})),o.show(),o.children("a").first().click(),i.addClass("active"),lizMap.events.triggerEvent("bottomdockopened",{id:e}),$("#bottom-dock").addClass("visible")}t.blur();var s=$("#bottom-dock");return 0==$("#bottom-dock-tabs .active").length?s.hide():s.is(":visible")||s.show(),!1})}})})();
//# sourceMappingURL=bottom-dock.js.map