1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3288,2528,2206],{2501:function(e){e.exports=function(e,t,n,i){for(var r=-1,o=null==e?0:e.length;++r<o;){var a=e[r];t(i,a,n(a),e)}return i}},50166:function(e,t,n){var i=n(37743);e.exports=function(e,t,n,r){return i(e,function(e,i,o){t(r,e,n(e),o)}),r}},80637:function(e){e.exports=function(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}},344:function(e,t,n){var i=n(2501),r=n(50166),o=n(70032),a=n(65730);e.exports=function(e,t){return function(n,s){var l=a(n)?i:r,c=t?t():{};return l(n,e,o(s,2),c)}}},96290:function(e,t,n){var i=n(80637),r=n(43696);e.exports=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=r(n))==n?n:0),void 0!==t&&(t=(t=r(t))==t?t:0),i(r(e),t,n)}},88191:function(e,t,n){var i=n(35676),r=n(344),o=Object.prototype.hasOwnProperty,a=r(function(e,t,n){o.call(e,n)?e[n].push(t):i(e,n,[t])});e.exports=a},1663:function(e){"use strict";e.exports=function(e){var t,n=null,i=function(){for(var i,r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];t=o,null===n&&(n=requestAnimationFrame((i=this,function(){n=null,e.apply(i,t)})))};return i.cancel=function(){cancelAnimationFrame(n),n=null},i}},1256:function(e,t,n){"use strict";var i=n(75271),r=n(40507),o=n.n(r),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),l=function(e){function t(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t);for(var e,n=arguments.length,i=Array(n),r=0;r<n;r++)i[r]=arguments[r];var o=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i)));return o.state={},o.styles={ellipsis:{position:"fixed",visibility:"hidden",top:0,left:0}},o.elements={},o.onResize=o.onResize.bind(o),o.onTruncate=o.onTruncate.bind(o),o.calcTargetWidth=o.calcTargetWidth.bind(o),o.measureWidth=o.measureWidth.bind(o),o.getLines=o.getLines.bind(o),o.renderLine=o.renderLine.bind(o),o}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"componentDidMount",value:function(){var e=this.elements.text,t=this.calcTargetWidth,n=this.onResize,i=document.createElement("canvas");this.canvasContext=i.getContext("2d"),t(function(){e&&e.parentNode.removeChild(e)}),window.addEventListener("resize",n)}},{key:"componentDidUpdate",value:function(e){this.props.children!==e.children&&this.forceUpdate(),this.props.width!==e.width&&this.calcTargetWidth()}},{key:"componentWillUnmount",value:function(){var e=this.elements.ellipsis,t=this.onResize,n=this.timeout;e.parentNode.removeChild(e),window.removeEventListener("resize",t),window.cancelAnimationFrame(n)}},{key:"innerText",value:function(e){var t=document.createElement("div"),n="innerText"in window.HTMLElement.prototype?"innerText":"textContent";t.innerHTML=e.innerHTML.replace(/\r\n|\r|\n/g," ");var i=t[n],r=document.createElement("div");return r.innerHTML="foo<br/>bar","foo\nbar"!==r[n].replace(/\r\n|\r/g,"\n")&&(t.innerHTML=t.innerHTML.replace(/<br.*?[\/]?>/gi,"\n"),i=t[n]),i}},{key:"onResize",value:function(){this.calcTargetWidth()}},{key:"onTruncate",value:function(e){var t=this.props.onTruncate;"function"==typeof t&&(this.timeout=window.requestAnimationFrame(function(){t(e)}))}},{key:"calcTargetWidth",value:function(e){var t=this.elements.target,n=this.calcTargetWidth,i=this.canvasContext,r=this.props.width;if(t){var o=r||Math.floor(t.parentNode.getBoundingClientRect().width);if(!o)return window.requestAnimationFrame(function(){return n(e)});var a=window.getComputedStyle(t),s=[a["font-weight"],a["font-style"],a["font-size"],a["font-family"]].join(" ");i.font=s,this.setState({targetWidth:o},e)}}},{key:"measureWidth",value:function(e){return this.canvasContext.measureText(e).width}},{key:"ellipsisWidth",value:function(e){return e.offsetWidth}},{key:"trimRight",value:function(e){return e.replace(/\s+$/,"")}},{key:"getLines",value:function(){for(var e=this.elements,t=this.props,n=t.lines,r=t.ellipsis,o=t.trimWhitespace,a=this.state.targetWidth,s=this.innerText,l=this.measureWidth,c=this.onTruncate,u=this.trimRight,f=[],h=s(e.text).split("\n").map(function(e){return e.split(" ")}),p=!0,d=this.ellipsisWidth(this.elements.ellipsis),v=1;v<=n;v++){var m=h[0];if(0===m.length){f.push(),h.shift(),v--;continue}
1var y=m.join(" ");if(l(y)<=a&&1===h.length){p=!1,f.push(y);break}if(v===n){for(var g=m.join(" "),b=0,w=g.length-1;b<=w;){var T=Math.floor((b+w)/2);l(g.slice(0,T+1))+d<=a?b=T+1:w=T-1}var k=g.slice(0,b);if(o)for(k=u(k);!k.length&&f.length;)k=u(f.pop());y=i.createElement("span",null,k,r)}else{for(var x=0,W=m.length-1;x<=W;){var E=Math.floor((x+W)/2);l(m.slice(0,E+1).join(" "))<=a?x=E+1:W=E-1}if(0===x){v=n-1;continue}y=m.slice(0,x).join(" "),h[0].splice(0,x)}f.push(y)}return c(p),f}},{key:"renderLine",value:function(e,t,n){if(t===n.length-1)return i.createElement("span",{key:t},e);var r=i.createElement("br",{key:t+"br"});return e?[i.createElement("span",{key:t},e),r]:r}},{key:"render",value:function(){var e=this,t=this.elements.target,n=this.props,r=n.children,o=n.ellipsis,s=n.lines,l=function(e,t){var n={};for(var i in e)!(t.indexOf(i)>=0)&&Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}(n,["children","ellipsis","lines"]),c=this.state.targetWidth,u=this.getLines,f=this.renderLine,h=this.onTruncate,p=void 0;return"undefined"!=typeof window&&t&&c&&(s>0?p=u().map(f):(p=r,h(!1))),delete l.onTruncate,delete l.trimWhitespace,i.createElement("span",a({},l,{ref:function(t){e.elements.target=t}}),i.createElement("span",null,p),i.createElement("span",{ref:function(t){e.elements.text=t}},r),i.createElement("span",{ref:function(t){e.elements.ellipsis=t},style:this.styles.ellipsis},o))}}]),t}(i.Component);l.propTypes={children:o().node,ellipsis:o().node,lines:o().oneOfType([o().oneOf([!1]),o().number]),trimWhitespace:o().bool,width:o().number,onTruncate:o().func},l.defaultProps={children:"",ellipsis:"â¦",lines:1,trimWhitespace:!1,width:0},t.Z=l},6113:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});let i=(0,n(43177).Z)("pause",[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]])},21616:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});let i=(0,n(43177).Z)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]])}}]);
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.