1(self.webpackChunknodejs_dependencies=self.webpackChunknodejs_dependencies||[]).push([[3923,5816],{6915(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__(4692)],void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function($){function Orgtree(el){this.active="is-expanded",this.$el=$(el),this.$titles=$(".mod-orgtree__leaf.has-child:not(.rootleaf)",this.$el),this.$allTitles=$(".mod-orgtree__expand-all",this.$el),this.$allTitlesActive=$(".mod-orgtree__leaf.has-child.is-expanded",this.$el),this.$titles.on("click",this.toggleDetails.bind(this)),this.$allTitles.on("click",this.toggleAllDetails.bind(this)),$(".rootleaf__button",this.$el).on("click",this.toggleDetails.bind(this))}return Orgtree.prototype.toggleDetails=function(e){var $item=$(e.currentTarget);($item.hasClass("rootleaf__button")?$item.parent().hasClass(this.active):$item.hasClass(this.active))?this.closeDetails($item):this.openDetails($item)},Orgtree.prototype.toggleAllDetails=function(e){e.preventDefault();var $btn=$(e.currentTarget),isActive=$btn.hasClass(this.active);$btn.toggleClass(this.active),isActive?$btn.text($btn.data("org")):$btn.text($btn.data("toggled")),this.$titles.each(function(index,item){var $item=$(item);isActive?this.closeDetails($item):this.openDetails($item)}.bind(this))},Orgtree.prototype.openDetails=function($el){var toggleElement;$el.hasClass("rootleaf__button")?($el.attr("aria-expanded","true"),$el.parent().addClass(this.active),(toggleElement=$(".rootbranch",this.$el)).show(),$(".mod-orgtree__expand-all",this.$el).show()):($el.find("button").attr("aria-expanded","true"),toggleElement=$el.find(".mod-orgtree__branch"),$el.addClass(this.active)),toggleElement.focus(),toggleElement.attr("aria-hidden")&&toggleElement.attr("aria-hidden","false")},Orgtree.prototype.closeDetails=function($el){var toggleElement;$el.hasClass("rootleaf__button")?($el.attr("aria-expanded","false"),$el.parent().removeClass(this.active),(toggleElement=$(".rootbranch",this.$el)).hide(),$(".mod-orgtree__expand-all",this.$el).hide()):($el.find("button").attr("aria-expanded","false"),toggleElement=$el.find(".mod-orgtree__branch"),$el.removeClass(this.active)),toggleElement.attr("aria-hidden")&&toggleElement.attr("aria-hidden","true")},Orgtree}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.