1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8059],{68059:(t,e,n)=>{n.r(e),n.d(e,{default:()=>u});var r=n(14232);function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var s=function(t){function e(){var e;return(e=t.call(this)||this).state={columns:[],childRefs:[],hasDistributed:!1},e}e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t);var n=e.prototype;return n.componentDidUpdate=function(){this.state.hasDistributed||this.props.sequential||this.distributeChildren()},e.getDerivedStateFromProps=function(t,n){var r=t.children,o=t.columnsCount,s=o!==n.columns.length;return n&&r===n.children&&!s?null:i({},e.getEqualCountColumns(r,o),{children:r,hasDistributed:!1})},n.shouldComponentUpdate=function(t){return t.children!==this.state.children||t.columnsCount!==this.props.columnsCount},n.distributeChildren=function(){var t=this,e=this.props,n=e.children,o=e.columnsCount,s=Array(o).fill(0);if(this.state.childRefs.every(function(t){return t.current.getBoundingClientRect().height})){var u=Array.from({length:o},function(){return[]}),l=0;r.Children.forEach(n,function(e){if(e&&r.isValidElement(e)){var n=t.state.childRefs[l].current.getBoundingClientRect().height,i=s.indexOf(Math.min.apply(Math,s));s[i]+=n,u[i].push(e),l++}}),this.setState(function(t){return i({},t,{columns:u,hasDistributed:!0})})}},e.getEqualCountColumns=function(t,e){var n=Array.from({length:e},function(){return[]}),i=0,o=[];return r.Children.forEach(t,function(t){if(t&&r.isValidElement(t)){var s=r.createRef();o.push(s),n[i%e].push(r.createElement("div",{style:{display:"flex",justifyContent:"stretch"},key:i,ref:s},t)),i++}}),{columns:n,childRefs:o}},n.renderColumns=function(){var t=this.props,e=t.gutter,n=t.itemTag,o=t.itemStyle;return this.state.columns.map(function(t,s){return r.createElement(n,{key:s,style:i({display:"flex",flexDirection:"column",justifyContent:"flex-start",alignContent:"stretch",flex:1,width:0,gap:e},o)},t.map(function(t){return t}))})},n.render=function(){var t=this.props,e=t.gutter,n=t.className,o=t.style,s=t.containerTag;return r.createElement(s,{style:i({display:"flex",flexDirection:"row",justifyContent:"center",alignContent:"stretch",boxSizing:"border-box",width:"100%",gap:e},o),className:n},this.renderColumns())},e}(r.Component);s.propTypes={},s.defaultProps={columnsCount:3,gutter:"0",className:null,style:{},containerTag:"div",itemTag:"div",itemStyle:{},sequential:!1};"undefined"!=typeof window?r.useLayoutEffect:r.useEffect;let u=s}}]);
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.