1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1253],{21253:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(57694),o=n(14232),i=n(32131),s=n(79600),a=n(42583);n(18847);var c=n(37876);let l=({tabs:e,currentTab:t})=>{if(!e||e.length<1||!t)return null;let n=(0,o.useRef)(null),l=(0,o.useRef)(null),{0:u,1:f}=(0,o.useState)(0),{0:d,1:p}=(0,o.useState)(0),h=()=>{u<d&&(l.current.classList.add("has-overflow"),0!==n.current.scrollLeft?l.current.classList.add("has-overflow-left"):l.current.classList.remove("has-overflow-left"),n.current.scrollLeft!==n.current.scrollWidth-n.current.clientWidth?l.current.classList.add("has-overflow-right"):l.current.classList.remove("has-overflow-right"))},b=()=>{f(n.current.clientWidth),p(n.current.scrollWidth),h()},v=(0,i.sg)(b,250);(0,a.A)()&&(0,o.useLayoutEffect)(()=>{if(l.current&&n.current)return b(),window.addEventListener("resize",v),()=>{window.removeEventListener("resize",v)}});let m=(0,i.sg)(()=>{l.current&&n.current&&h()},500),y=e=>{e&&("left"===e?n.current.scrollLeft-=50:n.current.scrollLeft+=50)};return(0,c.jsx)(r.XF,{children:(0,c.jsxs)("div",{className:"tabs",ref:l,children:[(0,c.jsx)("div",{style:{position:"sticky",top:0,zIndex:5},children:(0,c.jsx)("nav",{className:"tabs-nav",style:{transform:"translateZ(0px)"},children:(0,c.jsxs)("div",{className:"tabs-nav-wrapper",children:[(0,c.jsx)("button",{type:"button",className:"tabs-nav-scroll-button left",onClick:()=>y("left"),children:"\xa0"}),(0,c.jsx)("ul",{onScroll:m,ref:n,children:e.map(e=>{let{slug:n,label:r,destination:o}=e;return(0,c.jsx)("li",{className:t===n?"current":"",children:(0,c.jsx)(s.A,{href:o,type:"internal",scroll:!1,children:r})},`tabs-nav-${n}`)})}),(0,c.jsx)("button",{type:"button",className:"tabs-nav-scroll-button right",onClick:()=>y("right"),children:"\xa0"})]})})}),e.map(e=>{let{slug:n,content:r}=e;return t!==n?null:(0,c.jsx)("div",{className:"tab",children:r},`tab-${n}`)})]})})};l.defaultProps={currentTab:""};let u=l},22674:(e,t,n)=>{for(var r=n(60847),o="undefined"==typeof window?n.g:window,i=["moz","webkit"],s="AnimationFrame",a=o["request"+s],c=o["cancel"+s]||o["cancelRequest"+s],l=0;!a&&l<i.length;l++)a=o[i[l]+"Request"+s],c=o[i[l]+"Cancel"+s]||o[i[l]+"CancelRequest"+s];if(!a||!c){var u=0,f=0,d=[],p=1e3/60;a=function(e){if(0===d.length){var t=r(),n=Math.max(0,p-(t-u));u=n+t,setTimeout(function(){var e=d.slice(0);d.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(e){setTimeout(function(){throw e},0)}},Math.round(n))}return d.push({handle:++f,callback:e,cancelled:!1}),f},c=function(e){for(var t=0;t<d.length;t++)d[t].handle===e&&(d[t].cancelled=!0)}}e.exports=function(e){return a.call(o,e)},e.exports.cancel=function(){c.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=a,e.cancelAnimationFrame=c}},57694:(e,t,n)=>{"use strict";t.XF=void 0;var r=i(n(66509)),o=i(n(86209));function i(e){return e&&e.__esModule?e:{default:e}}r.default,t.XF=o.default,r.default},60847:function(e,t,n){var r=n(65364);(function(){var t,n,o,i;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:null!=r&&r.hrtime?(e.exports=function(){return(t()-i)/1e6},n=r.hrtime,i=(t=function(){var e;return 1e9*(e=n())[0]+e[1]})()-1e9*r.uptime()):Date.now?(e.exports=function(){return Date.now()-o},o=Date.now()):(e.exports=function(){return new Date().getTime()-o},o=new Date().getTime())}).call(this)},66509:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(14232),i=c(o),s=c(n(98477)),a=c(n(95062));function c(e){return e&&e.__esModule?e:{default:e}}function l(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}var u=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");for(var e,n,r,o=arguments.length,i=Array(o),s=0;s<o;s++)i[s]=arguments[s];return n=r=l(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={isSticky:!1,wasSticky:!1,style:{}},r.handleContainerEvent=function(e){var t=e.distanceFromTop,n=e.distanceFromBottom,o=e.eventSource,i=r.context.getParent(),s=!1;r.props.relative&&(s=o!==i,t=-(o.scrollTop+o.offsetTop)+r.placeholder.offsetTop);var a=r.placeholder.getBoundingClientRect(),c=r.content.getBoundingClientRect().height,l=n-r.props.bottomOffset-c,u=!!r.state.isSticky,f=s?u:t<=-r.props.topOffset&&n>-r.props.bottomOffset;n=(r.props.relative?i.scrollHeight-i.scrollTop:n)-c;var d=f?{position:"fixed",top:l>0?r.props.relative?i.offsetTop-i.offsetParent.scrollTop:0:l,left:a.left,width:a.width}:{};r.props.disableHardwareAcceleration||(d.transform="translateZ(0)"),r.setState({isSticky:f,wasSticky:u,distanceFromTop:t,distanceFromBottom:n,calculatedHeight:c,style:d})},l(r,n)}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),r(t,[{key:"c
1omponentWillMount",value:function(){if(!this.context.subscribe)throw TypeError("Expected Sticky to be mounted within StickyContainer");this.context.subscribe(this.handleContainerEvent)}},{key:"componentWillUnmount",value:function(){this.context.unsubscribe(this.handleContainerEvent)}},{key:"componentDidUpdate",value:function(){this.placeholder.style.paddingBottom=this.props.disableCompensation?0:(this.state.isSticky?this.state.calculatedHeight:0)+"px"}},{key:"render",value:function(){var e=this,t=i.default.cloneElement(this.props.children({isSticky:this.state.isSticky,wasSticky:this.state.wasSticky,distanceFromTop:this.state.distanceFromTop,distanceFromBottom:this.state.distanceFromBottom,calculatedHeight:this.state.calculatedHeight,style:this.state.style}),{ref:function(t){e.content=s.default.findDOMNode(t)}});return i.default.createElement("div",null,i.default.createElement("div",{ref:function(t){return e.placeholder=t}}),t)}}]),t}(o.Component);u.propTypes={topOffset:a.default.number,bottomOffset:a.default.number,relative:a.default.bool,children:a.default.func.isRequired},u.defaultProps={relative:!1,topOffset:0,bottomOffset:0,disableCompensation:!1,disableHardwareAcceleration:!1},u.contextTypes={subscribe:a.default.func,unsubscribe:a.default.func,getParent:a.default.func},t.default=u},86209:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(14232),s=l(i),a=l(n(95062)),c=l(n(22674));function l(e){return e&&e.__esModule?e:{default:e}}function u(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}var f=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");for(var e,n,r,o=arguments.length,i=Array(o),s=0;s<o;s++)i[s]=arguments[s];return n=r=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.events=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],r.subscribers=[],r.rafHandle=null,r.subscribe=function(e){r.subscribers=r.subscribers.concat(e)},r.unsubscribe=function(e){r.subscribers=r.subscribers.filter(function(t){return t!==e})},r.notifySubscribers=function(e){if(!r.framePending){var t=e.currentTarget;r.rafHandle=(0,c.default)(function(){r.framePending=!1;var e=r.node.getBoundingClientRect(),n=e.top,o=e.bottom;r.subscribers.forEach(function(e){return e({distanceFromTop:n,distanceFromBottom:o,eventSource:t===window?document.body:r.node})})}),r.framePending=!0}},r.getParent=function(){return r.node},u(r,n)}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),o(t,[{key:"getChildContext",value:function(){return{subscribe:this.subscribe,unsubscribe:this.unsubscribe,getParent:this.getParent}}},{key:"componentDidMount",value:function(){var e=this;this.events.forEach(function(t){return window.addEventListener(t,e.notifySubscribers)})}},{key:"componentWillUnmount",value:function(){var e=this;this.rafHandle&&(c.default.cancel(this.rafHandle),this.rafHandle=null),this.events.forEach(function(t){return window.removeEventListener(t,e.notifySubscribers)})}},{key:"render",value:function(){var e=this;return s.default.createElement("div",r({},this.props,{ref:function(t){return e.node=t},onScroll:this.notifySubscribers,onTouchStart:this.notifySubscribers,onTouchMove:this.notifySubscribers,onTouchEnd:this.notifySubscribers}))}}]),t}(i.PureComponent);f.childContextTypes={subscribe:a.default.func,unsubscribe:a.default.func,getParent:a.default.func},t.default=f}}]);
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.