{:uriI"file:///Users/prehnra/src/revelry_core/app/assets/javascripts/revelry/ui/tabs/Tabs.js.cjsx?type=application/javascript&pipeline=self&id=879fe4bdfb6d575f73c8ac3fcbaefedda305789faad16cdd5490ba0a6ead4bb1:ET:load_pathI";/Users/prehnra/src/revelry_core/app/assets/javascripts;F: filenameI"X/Users/prehnra/src/revelry_core/app/assets/javascripts/revelry/ui/tabs/Tabs.js.cjsx;T: nameI"revelry/ui/tabs/Tabs;T:logical_pathI"!revelry/ui/tabs/Tabs.self.js;T:content_typeI"application/javascript;T: sourceI"I(function() { Rev.registerComponent('Tabs', { getDefaultProps: function() { var props; return props = { onChange: function() {} }; }, getActiveTab: function() { var ref, ref1; return ((ref = this.state) != null ? ref.selectedKey : void 0) || this.props.activeKey || ((ref1 = this.getNormalizedChildren()[0]) != null ? ref1.key : void 0); }, renderTab: function(child) { var className, key; key = child.key; className = this.classSet({ active: key === this.getActiveTab() }); return React.createElement("dd", { "key": key, "className": className, "onClick": this.handleTabClick(child) }, child.props.tab); }, renderContent: function(child) { var newProps; newProps = { key: child.key }; if (child.key === this.getActiveTab()) { newProps.active = true; } return React.addons.cloneWithProps(child, newProps); }, render: function() { var children, dlClassName; children = this.getNormalizedChildren(); dlClassName = this.classSet({ tabs: true, vertical: this.props.vertical }); return React.createElement("div", null, React.createElement("dl", { "className": dlClassName }, children.map(this.renderTab)), React.createElement("div", { "className": "RevTabsContent tabs-content" }, children.map(this.renderContent))); }, handleTabClick: function(activeTab) { return (function(_this) { return function(e) { e.preventDefault(); e.stopPropagation(); _this.setState({ selectedKey: activeTab.key }); e.activeTab = activeTab; return _this.props.onChange(e); }; })(this); } }); }).call(this); ;T: metadata{ :dependencieso:Set: @hash{ I"environment-version;TTI"environment-paths;TTI"hprocessors:type=application/javascript&file_type=application/javascript&engines=.cjsx&pipeline=self;TTI"ffile-digest:///Users/prehnra/src/revelry_core/app/assets/javascripts/revelry/ui/tabs/Tabs.js.cjsx;TT: requiredo;;{: stubbedo;;{: linkso;;{: charsetI" utf-8;F: digest"%$C:. bꟗ&Ɓ0n%: lengthiI:integrityI"Xni:///sha-256;JEPcHTouIL8MYpC16p-XEKvgkc7VJrPKxoEwg26qJfo?ct=application/javascript;T:dependencies_digest"%69q[E[S`̕iz:idI"E879fe4bdfb6d575f73c8ac3fcbaefedda305789faad16cdd5490ba0a6ead4bb1;F: mtimel+%QU