!function(e){var t=PhpDebugBar.utils.makecsscls("phpdebugbar-widgets-");PhpDebugBar.Widgets.TemplatesWidget=PhpDebugBar.Widget.extend({className:t("templates"),render:function(){this.$status=e("
").addClass(t("status")).appendTo(this.$el),this.$list=new PhpDebugBar.Widgets.ListWidget({itemRenderer:function(a,s){if(e("").addClass(t("name")).text(s.name).appendTo(a),void 0!==s.xdebug_link&&null!==s.xdebug_link&&(s.xdebug_link.ajax?e('').on("click",(function(t){t.stopPropagation(),e.ajax(s.xdebug_link.url)})).addClass(t("editor-link")).appendTo(a):e('').on("click",(function(e){e.stopPropagation()})).addClass(t("editor-link")).appendTo(a)),s.render_time_str&&e('').addClass(t("render-time")).text(s.render_time_str).appendTo(a),s.memory_str&&e('').addClass(t("memory")).text(s.memory_str).appendTo(a),void 0!==s.param_count&&e('').addClass(t("param-count")).text(s.param_count).appendTo(a),void 0!==s.type&&s.type&&e('').addClass(t("type")).text(s.type).appendTo(a),void 0!==s.editorLink&&s.editorLink&&e('').on("click",(function(e){e.stopPropagation()})).addClass(t("editor-link")).text("file").appendTo(a),s.params&&!e.isEmptyObject(s.params)){var d=e('| Params |
|---|
'+s.params[r]+"