(function(n,t,i,r){"use strict";function p(t){t=t||"",n.error("Not implemented: "+t)}function u(t,i){i=": "+i||"",t||n.error("Assertion failed"+i)}function e(n,i){var r,f,u=t.console?t.console[n]:null;if(u)if(u.apply)u.apply(t.console,i);else{for(f="",r=0;ru;return!0}function nt(n,t,i){var r=t[n],u=i[n];return function(){try{return t._super=function(){return r.apply(t,arguments)},u.apply(t,arguments)}finally{t._super=null}}}function tt(t,i,r,u){for(var f in r)typeof r[f]=="function"?typeof t[f]=="function"?t[f]=nt(f,t,r):f.charAt(0)==="_"?t[u][f]=n.proxy(r[f],t):n.error("Could not override tree."+f+". Use prefix '_' to create tree."+u+"._"+f):f!=="options"&&(t[u][f]=i[f])}function c(t,i){return t===r?n.Deferred(function(){this.resolve()}).promise():n.Deferred(function(){this.resolveWith(t,i)}).promise()}function l(t,i){return t===r?n.Deferred(function(){this.reject()}).promise():n.Deferred(function(){this.rejectWith(t,i)}).promise()}function w(n,t){return function(){n.resolveWith(t)}}function b(n){return n=n.toLowerCase(),function(t){return t.title.toLowerCase().indexOf(n)>=0}}function s(t,i){var e,s,r,o;for(this.parent=t,this.tree=t.tree,this.ul=null,this.li=null,this.isStatusNode=!1,this.data={},e=0,s=h.length;eul.fancytree-container").remove();var r={tree:this},i;this.rootNode=new s(r,{title:"root",key:"root_"+this._id,children:null}),this.rootNode.parent=null,i=n("