PageSourceSearch

https://refocus-awards.com/_next/static/chunks/1947.0c3d53b0b42a2bba.js

js refocus-awards.com collected 2026-10-02 07:01:39 UTC 22,688 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1947],{40017:function(e,t,n){n.d(t,{V2:function(){return c},j5:function(){return s},kh:function(){return f},xy:function(){return l}});var r=n(17325),i=n(49673),o=n(36189),a=n.n(o),u=n(80174),s=50,c=function(e){var t={days:[],months:[],stages:[],subs_total:0,bundles_total:0,total:0};if(!e)return t;var n=new Map;e.stats.forEach((function(e){var t=a().tz(e.date,i.Xu).format("YYYY-MM-DD");n.has(t)||n.set(t,[]),n.get(t).push(e)}));var r=new Map,o=Array.from(n.keys()).sort(),s=null,c=null;return o.length>0&&(s=a().tz(o[0],"YYYY-MM-DD",i.Xu).startOf("day"),c=a().tz(o[o.length-1],"YYYY-MM-DD",i.Xu).endOf("day")),e.stages.forEach((function(e,o){var l=a().tz(e.start_date,i.Xu),f=a().tz(e.end_date,i.Xu);s&&e.name===u.Lo.EARLY_BIRD_SUBMISSION&&l.isAfter(s)&&(l=s.clone()),c&&e.name===u.Lo.EXTENDED_SUBMISSION&&f.isBefore(c)&&(f=c.clone()),t.stages.push({name:e.name,width:0,subs_revenue:0,bundles_revenue:0,revenue:0,start_date:l.toISOString(),end_date:f.toISOStr
1ing()});for(var h=f.diff(l,"days")+1,d=0;d<h;d++){var p,v=l.clone().add(d,"days"),y=v.format("MMMM"),m=null!==(p=r.get(y))&&void 0!==p?p:-1;if(-1===m){var g=v.clone().startOf("month"),b=v.clone().endOf("month"),O=g;e.name===u.Lo.EARLY_BIRD_SUBMISSION&&g.isBefore(l)&&(O=l);var w=b;e.name===u.Lo.EXTENDED_SUBMISSION&&b.isAfter(f)&&(w=f),t.months.push({name:y,width:0,revenue:0,subs_revenue:0,bundles_revenue:0,start_date:O.toISOString(),end_date:w.toISOString()}),m=t.months.length-1,r.set(y,m)}var x=v.format("YYYY-MM-DD"),A=(n.get(x)||[]).reduce((function(e,t){return"bundle_order"===t.type?e.bundlesRevenue+=t.revenue:e.subsRevenue+=t.revenue,e}),{bundlesRevenue:0,subsRevenue:0}),E=A.bundlesRevenue,S=A.subsRevenue,j=E+S;t.days.push({date:v.format("YYYY-MM-DD"),subs_revenue:S,bundles_revenue:E,revenue:j,month:v.format("MMMM"),stage:e.name}),t.months[m].width+=1,t.months[m].revenue+=j,t.months[m].subs_revenue+=S,t.months[m].bundles_revenue+=E,t.stages[t.stages.length-1].width+=1,t.stages[t.stages.length-1].revenue+=j,t.stages[t.stages.length-1].subs_revenue+=S,t.stages[t.stages.length-1].bundles_revenue+=E,t.subs_total+=S,t.bundles_total+=E,t.total+=j}})),t.months.forEach((function(e){e.width=e.width/t.days.length}
1)),t.stages.forEach((function(e){e.width=e.width/t.days.length})),t},l=function(e){var t=+(0,r.Wy)(e);return new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).format(t)},f=["#FF0000","#0000FF","#FF00FF","#000000","#800000","#008000","#000080","#808000","#800080","#008080","#808080","#C00000","#00C000","#0000C0","#C000C0","#00C0C0","#400000","#004000","#000040","#404000","#400040","#004040","#404040","#200000","#002000","#000020","#202000","#200020","#002020","#202020","#600000","#006000","#000060","#606000","#600060","#006060","#606060","#A00000","#00A000","#0000A0","#A0A000","#A000A0","#00A0A0","#E00000","#0000E0","#E000E0"]},11947:function(e,t,n){n.r(t),n.d(t,{default:function(){return xe}});var r=n(5447),i=n(2746),o=n(84911),a=n(8014),u=n(34237),s=n(56168),c=n(50744),l=n.n(c),f=n(34323),h=n(20570),d=n.n(h),p=n(53849),v=n.n(p),y=function(e,t){return y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},y(e,t)};function m(e,t){function n(){this.constructor=e}y(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function g(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}var b=function(e,t,n,r){switch(t){case"debounce":return d()(e,n,r);case"throttle":return v()(e,n,r);default:return e}},O=function(e){return"function"===typeof e},w=function(){return"undefined"===typeof window},x=function(e){return e instanceof Element||e instanceof HTMLDocument},A=function(e,t,n){return function(r){var i=r.width,o=r.height;e((function(e){return e.width===i&&e.height===o||e.width===i&&!n||e.height===o&&!t?e:{width:i,height:o}}))}},E=function(e){function t(t){var n=e.call(this,t)||this;n.cancelHandler=function(){n.resizeHandler&&n.resizeHandler.cancel&&(n.resizeHandler.cancel(),n.resizeHandler=null)},n.attachObserver=function(){var e=n.props,t=e.targetRef,r=e.observerOptions;if(!w()){t&&t.current&&(n.targetRef.current=t.current);var i=n.getElement();i&&(n.observableElement&&n.observableElement===i||(n.observableElement=i,n.resizeObserver.observe(i,r)))}},n.getElement=function(){var e=n.props,t=e.querySelector,r=e.targetDomEl;if(w())return null;if(t)return document.querySelector(t);if(r&&x(r))return r;if(n.targetRef&&x(n.targetRef.current))return n.targetRef.current;var i=(0,f.findDOMNode)(n);if(!i)return null;switch(n.getRenderType()){case"renderProp":case"childFunction":case"child":case"childArray":return i;default:return i.parentElement}},n.createResizeHandler=function(e){var t=n.props,r=t.handleWidth,i=void 0===r||r,o=t.handleHeight,a=void 0===o||o,u=t.onResize;if(i||a){var s=A((function(e){return n.setState(e,(function(){return null===u||void 0===u?void 0:u(n.state.width,n.state.height)}))}),i,a);e.forEach((function(e){var t=e&&e.contentRect||{},r=t.width,i=t.height;!n.skipOnMount&&!w()&&s({width:r,height:i}),n.skipOnMount=!1}))}},n.getRenderType=function(){var e=n.props,t=e.render,r=e.children;return O(t)?"renderProp":O(r)?"childFunction":(0,s.isValidElement)(r)?"child":Array.isArray(r)?"childArray":"parent"};var r=t.skipOnMount,i=t.refreshMode,o=t.refreshRate,a=void 0===o?1e3:o,u=t.refreshOptions;return n.state={width:void 0,height:void 0},n.skipOnMount=r,n.targetRef=(0,s.createRef)(),n.observableElement=null,w()||(n.resizeHandler=b(n.createResizeHandler,i,a,u),n.resizeObserver=new window.ResizeObserver(n.resizeHandler)),n}return m(t,e),t.prototype.componentDidMount=function(){this.attachObserver()},t.prototype.componentDidUpdate=function(){this.attachObserver()},t.prototype.componentWillUnmount=function(){w()||(this.observableElement=null,this.resizeObserver.disconnect(),this.cancelHandler())},t.prototype.render=function(){var e=this.props,t=e.render,n=e.children,r=e.nodeType,i=void 0===r?"div":r,o=this.state,a={width:o.width,height:o.height,targetRef
1:this.targetRef};switch(this.getRenderType()){case"renderProp":return null===t||void 0===t?void 0:t(a);case"childFunction":return null===n||void 0===n?void 0:n(a);case"child":var u=n;if(u.type&&"string"===typeof u.type){var c=g(a,["targetRef"]);return(0,s.cloneElement)(u,c)}return(0,s.cloneElement)(u,a);case"childArray":return n.map((function(e){return!!e&&(0,s.cloneElement)(e,a)}));default:return s.createElement(i,null)}},t}(s.PureComponent);w()?s.useEffect:s.useLayoutEffect;var S=n(43312),j=n(42542);function k(){return k=Object.assign?Object.assign.bind():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},k.apply(this,arguments)}function P(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],s=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(l){c=!0,i=l}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var D=(0,s.forwardRef)((function(e,t){var n=e.aspect,r=e.width,i=void 0===r?"100%":r,o=e.height,a=void 0===o?"100%":o,u=e.minWidth,c=void 0===u?0:u,f=e.minHeight,h=e.maxHeight,d=e.children,p=e.debounce,v=void 0===p?0:p,y=e.id,m=e.className,g=e.onResize,b=P((0,s.useState)({containerWidth:-1,containerHeight:-1}),2),O=b[0],w=b[1],x=(0,s.useRef)(null);(0,s.useImperativeHandle)(t,(function(){return x}),[x]);var A=(0,s.useCallback)((function(){return x.current?{containerWidth:x.current.clientWidth,containerHeight:x.current.clientHeight}:null}),[]),_=(0,s.useCallback)((function(){var e=A();if(e){var t=e.containerWidth,n=e.containerHeight;g&&g(t,n),w((function(e){var r=e.containerWidth,i=e.containerHeight;return t!==r||n!==i?{containerWidth:t,containerHeight:n}:e}))}}),[A]),D=(0,s.useMemo)((function(){var e=O.containerWidth,t=O.containerHeight;if(e<0||t<0)return null;(0,j.Z)((0,S.hU)(i)||(0,S.hU)(a),"The width(%s) and height(%s) are both fixed numbers,\n       maybe you don't need to use a ResponsiveContainer.",i,a),(0,j.Z)(!n||n>0,"The aspect(%s) must be greater than zero.",n);var r=(0,S.hU)(i)?e:i,o=(0,S.hU)(a)?t:a;return n&&n>0&&(r?o=r/n:o&&(r=o*n),h&&o>h&&(o=h)),(0,j.Z)(r>0||o>0,"The width(%s) and height(%s) of chart should be greater than 0,\n       please check the style of container, or the props width(%s) and height(%s),\n       or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n       height and width.",r,o,i,a,c,f,n),(0,s.cloneElement)(d,{width:r,height:o})}),[n,d,a,h,f,c,O,i]);(0,s.useEffect)((function(){var e=A();e&&w(e)}),[A]);var R={width:i,height:a,minWidth:c,minHeight:f,maxHeight:h};return s.createElement(E,{handleWidth:!0,handleHeight:!0,onResize:_,targetRef:x,refreshMode:v>0?"debounce":void 0,refreshRate:v},s.createElement("div",k({},null!=y?{id:"".concat(y)}:{},{className:l()("recharts-responsive-container",m),style:R,ref:x}),D))})),R=n(68491),M=n(85987),C=n.n(M),I=n(64922),H=n.n(I),N=n(50143),z=n.n(N),F=n(50070),T=n(93426),L=n(99265),Y=n(17742),W=n(82956),B=n(27470),U=n(66677),Z=n(61012),K=n(34092),V=["type","layout","connectNulls","ref"];function X(e){return X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},X(e)}function $(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function q(){return q=Object.assign?Object.assign.bind():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},q.apply(this,arguments)}function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?G(Object(n),!0).forEach((function(t){se(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Q(e){return function(e){if(Array.isArray(e))return ee(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return ee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ee(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function te(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ne(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,ce(r.key),r)}}function re(e,t){return re=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},re(e,t)}function ie(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ue(e);if(t){var i=ue(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return oe(this,n)}}function oe(e,t){if(t&&("object"===X(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ae(e)}function ae(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ue(e){return ue=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ue(e)}function se(e,t,n){return(t=ce(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ce(e){var t=function(e,t){if("object"!==X(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==X(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===X(t)?t:String(t)}var le=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&re(e,t)}(o,e);var t,n,r,i=ie(o);function o(){var e;te(this,o);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return se(ae(e=i.call.apply(i,[this].concat(n))),"state",{isAnimationFinished:!0,totalLength:0}),se(ae(e),"getStrokeDasharray",(function(e,t,n){for(var r=n.reduce((function(e,t){return e+t})),i=Math.floor(e/r),a=e%r,u=t-e,s=[],c=0,l=0;;l+=n[c],++c)if(l+n[c]>a){s=[].concat(Q(n.slice(0,c)),[a-l]);break}var f=s.length%2===0?[0,u]:[u];return[].concat(Q(o.repeat(n,i)),Q(s),f).map((function(e){return"".concat(e,"px")})).join(", ")})),se(ae(e),"id",(0,S.EL)("recharts-line-")),se(ae(e),"pathRef",(function(t){e.mainCurve=t})),se(ae(e),"handleAnimationEnd",(function(){e.setState({isAnimationFinished:!0}),e.props.onAnimationEnd&&e.props.onAnimationEnd()})),se(ae(e),"handleAnimationStart",(function(){e.setState({isAnimationFinished:!1}),e.props.onAnimationStart&&e.props.onAnimationStart()})),e}return t=o,r=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,prevPoints:t.curPoints}:e.points!==t.curPoints?{curPoints:e.points}:null}},{key:"repeat",value:function(e,t){for(var n=e.length%2!==0?[].concat(Q(e),[0]):e,r=[],i=0;i<t;++i)r=[].concat(Q(r),Q(n));return r}},{key:"renderDotItem",value:function(e,t){var n;if(s.isValidElement(e))n=s.cloneElement(e,t);else if(H()(e))n=e(t);else{var r=l()("recharts-line-dot",e?e.className:"");n=s.createElement(L.o,q({},t,{className:r}))}return n}}],(n=[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();this.setState({totalLength:e})}}},{key:"getTotalLength",value:function(){var e=this.mainCurve;try{return e&&e.getTotalLength&&e.getTotalLength()||0}catch(t){return 0}}},{key:"renderErrorBar",value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var n=this.props,r=n.points,i=n.xAxis,o=n.yAxis,a=n.layout,u=n.children,c=(0,U.NN)(u,B.W);if(!c)return null;function l(e,t){return{x:e.x,y:e.y,value:e.value,errorVal:(0,K.F$)(e.payload,t)}}var f={clipPath:e?"url(#clipPath-".concat(t,")"):null};return s.createElement(Y.m,f,c.map((function(e,t){return s.cloneElement(e,{key:"bar-".concat(t),data:r,xAxis:i,yAxis:o,layout:a,dataPointFormatter:l})})))}},{key:"renderDots",value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var n=this.props,r=n.dot,i=n.points,a=n.dataKey,u=(0,U.L6)(this.props),c=(0,U.L6)(r,!0),l=i.map((function(e,t){var n=J(J(J({key:"dot-".concat(t),r:3},u),c),{},{value:e.value,dataKey:a,cx:e.x,cy:e.y,index:t,payload:e.payload});return o.renderDotItem(r,n)})),f={clipPath:e?"url(#clipPath-".concat(t,")"):null};return s.createElement(Y.m,q({className:"recharts-line-dots",key:"dots"},f,{role:"img"}),l)}},{key:"renderCurveStatically",value:function(e,t,n,r){var i=this.props,o=i.type,a=i.layout,u=i.connectNulls,c=(i.ref,$(i,V)),l=J(J(J({},(0,U.L6)(c,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:t?"url(#clipPath-".concat(n,")"):null,points:e},r),{},{type:o,layout:a,connectNulls:u});return s.createElement(T.H,q({},l,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(e,t){var n=this,r=this.props,i=r.points,o=r.strokeDasharray,a=r.isAnimationActive,u=r.animationBegin,c=r.animationDuration,l=r.animationEasing,f=r.animationId,h=r.animateNewValues,d=r.width,p=r.height,v=this.state,y=v.prevPoints,m=v.totalLength;return s.createElement(F.ZP,{begin:u,duration:c,isActive:a,easing:l,from:{t:0},to:{t:1},key:"line-".concat(f),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(r){var a=r.t;if(y){var u=y.length/i.length,s=i.map((function(e,t){var n=Math.floor(t*u);if(y[n]){var r=y[n],i=(0,S.k4)(r.x,e.x),o=(0,S.k4)(r.y,e.y);return J(J({},e),{},{x:i(a),y:o(a)})}if(h){var s=(0,S.k4)(2*d,e.x),c=(0,S.k4)(p/2,e.y);return J(J({},e),{},{x:s(a),y:c(a)})}return J(J({},e),{},{x:e.x,y:e.y})}));return n.renderCurveStatically(s,e,t)}var c,l=(0,S.k4)(0,m)(a);if(o){var f="".concat(o).split(/[,\s]+/gim).map((function(e){return parseFloat(e)}));c=n.getStrokeDasharray(l,m,f)}else c="".concat(l,"px ").concat(m-l,"px");return n.renderCurveStatically(i,e,t,{strokeDasharray:c})}))}},{key:"renderCurve",value:function(e,t){var n=this.props,r=n.points,i=n.isAnimationActive,o=this.state,a=o.prevPoints,u=o.totalLength;return i&&r&&r.length&&(!a&&u>0||!C()(a,r))?this.renderCurveWithAnimation(e,t):this.renderCurveStatically(r,e,t)}},{key:"render",value:function(){var e=this.props,t=e.hide,n=e.dot,r=e.points,i=e.className,o=e.xAxis,a=e.
1yAxis,u=e.top,c=e.left,f=e.width,h=e.height,d=e.isAnimationActive,p=e.id;if(t||!r||!r.length)return null;var v=this.state.isAnimationFinished,y=1===r.length,m=l()("recharts-line",i),g=o&&o.allowDataOverflow||a&&a.allowDataOverflow,b=z()(p)?this.id:p;return s.createElement(Y.m,{className:m},g?s.createElement("defs",null,s.createElement("clipPath",{id:"clipPath-".concat(b)},s.createElement("rect",{x:c,y:u,width:f,height:h}))):null,!y&&this.renderCurve(g,b),this.renderErrorBar(g,b),(y||n)&&this.renderDots(g,b),(!d||v)&&W.e.renderCallByParent(this.props,r))}}])&&ne(t.prototype,n),r&&ne(t,r),Object.defineProperty(t,"prototype",{writable:!1}),o}(s.PureComponent);se(le,"displayName","Line"),se(le,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!Z.x.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1}),se(le,"getComposedData",(function(e){var t=e.props,n=e.xAxis,r=e.yAxis,i=e.xAxisTicks,o=e.yAxisTicks,a=e.dataKey,u=e.bandSize,s=e.displayedData,c=e.offset,l=t.layout;return J({points:s.map((function(e,t){var s=(0,K.F$)(e,a);return"horizontal"===l?{x:(0,K.Hv)({axis:n,ticks:i,bandSize:u,entry:e,index:t}),y:z()(s)?null:r.scale(s),value:s,payload:e}:{x:z()(s)?null:n.scale(s),y:(0,K.Hv)({axis:r,ticks:o,bandSize:u,entry:e,index:t}),value:s,payload:e}})),layout:l},c)}));var fe=n(67023),he=n(71460),de=n(42836),pe=(0,R.z)({chartName:"LineChart",GraphicalChild:le,axisComponents:[{axisType:"xAxis",AxisComp:fe.K},{axisType:"yAxis",AxisComp:he.B}],formatAxisMap:de.t9}),ve=n(65907),ye=n(87427),me=n(49563),ge=n(12048),be=n(40017),Oe=function(e){var t=e.payload,n=(0,ge.oe)("base_2.5",.6);return(0,a.jsx)(u.kC,{direction:"column",borderRadius:"12px",p:"20px 15px",bg:n,mx:"20px",gap:"10px",borderWidth:1,backdropFilter:"blur(2px)",children:null===t||void 0===t?void 0:t.map((function(e){var t=e.color,n=e.payload,r=n.contest,i=n.revenue;return(0,a.jsxs)(u.kC,{gap:"10px",justify:"space-between",align:"center",children:[(0,a.jsxs)(u.kC,{gap:"10px",align:"center",children:[(0,a.jsx)(u.xu,{borderRadius:"50%",bg:t,w:"8px",h:"8px"}),(0,a.jsx)(u.xv,{variant:"fieldsInputValue",children:r})]}),(0,a.jsx)(u.xv,{variant:"numeralsS",children:(0,be.xy)(100*i)})]},r)}))})},we=function(e){return"".concat(e.name," (").concat(e.year,")")},xe=function(e){var t=e.contests,n=(0,s.useState)({}),u=n[0],c=n[1],l=(0,i.Z)((0,ge.rd)(["support1.4"]),1)[0],f=(0,s.useMemo)((function(){return t.map((function(e){var t=0;return e.stages.reduce((function(n,r,i){var a=0,u=100/r.stats.length;return n=(0,o.Z)(n).concat((0,o.Z)(r.stats.map((function(n){var r="".concat(i+1,". ").concat(a+u,"%");return a+=u,t+=n.revenue/100,{contest:we(e),primary:r,revenue:t}}))))}),[{primary:"0. 0%",revenue:0,contest:we(e)}])}))}),[t]);return(0,s.useEffect)((function(){c((function(e){var n=(0,r.Z)({},e);return t.forEach((function(e){var t=we(e);n[t]||(n[t]=be.kh[Object.keys(n).length])})),n}))}),[t]),f.length?(0,a.jsx)(D,{width:"100%",height:400,children:(0,a.jsxs)(pe,{data:f,children:[(0,a.jsx)(ve.q,{}),(0,a.jsx)(fe.K,{dataKey:"primary",allowDuplicatedCategory:!1,interval:0,tickMargin:10,tickSize:15,tickFormatter:function(e){return e.split(".").pop().trim()},height:50}),(0,a.jsx)(ye.D,{}),(0,a.jsx)(me.u,{isAnimationActive:!1,content:Oe,wrapperStyle:{outline:"none"}}),f.map((function(e,n){var r=we(t[n]);return(0,a.jsx)(le,{data:e,dataKey:"revenue",stroke:u[r],strokeWidth:1.5,name:r,type:"monotone",dot:!1,activeDot:{r:4,stroke:l,strokeWidth:3}},n)}))]})}):null}}}]);

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.