if(void 0===PhpDebugBar){var PhpDebugBar={};PhpDebugBar.$=jQuery}!function(t){var e=function(t){return PhpDebugBar.utils.csscls(t,"phpdebugbar-openhandler-")};PhpDebugBar.OpenHandler=PhpDebugBar.Widget.extend({className:"phpdebugbar-openhandler",defaults:{items_per_page:20},render:function(){var n=this;this.$el.appendTo("body").hide(),this.$closebtn=t(''),this.$table=t(""),t("
PHP DebugBar | Open
").addClass(e("header")).append(this.$closebtn).appendTo(this.$el),t('
DateMethodURLIPFilter data
').append(this.$table).appendTo(this.$el),this.$actions=t("
").addClass(e("actions")).appendTo(this.$el),this.$closebtn.on("click",(function(){n.hide()})),this.$loadmorebtn=t("Load more").appendTo(this.$actions).on("click",(function(){n.find(n.last_find_request,n.last_find_request.offset+n.get("items_per_page"),n.handleFind.bind(n))})),this.$showonlycurrentbtn=t("Show only current URL").appendTo(this.$actions).on("click",(function(){n.$table.empty(),n.find({uri:window.location.pathname},0,n.handleFind.bind(n))})),this.$showallbtn=t("Show all").appendTo(this.$actions).on("click",(function(){n.refresh()})),this.$clearbtn=t("Delete all").appendTo(this.$actions).on("click",(function(){n.clear((function(){n.hide()}))})),this.addSearch(),this.$overlay=t("
").addClass(e("overlay")).hide().appendTo("body"),this.$overlay.on("click",(function(){n.hide()}))},refresh:function(){this.$table.empty(),this.$loadmorebtn.show(),this.find({},0,this.handleFind.bind(this))},addSearch:function(){var e=this,n=t("