1"use strict";(self.webpackChunkportfoliodesign=self.webpackChunkportfoliodesign||[]).push([[3009],{3009(e,t,r){r.r(t),r.d(t,{WorkInfoPage:()=>ke});var n=r(96540),o=r(42845),i=r.n(o),a=r(37995),u=r.n(a),s=r(5556),p=r.n(s),l=r(61225),c=r(17375),f=r(30488),y={};r.r(y),r.d(y,{updatePEReport:()=>f.v});var v,d=r(13918),h=r(45215),b=r(20212),m=r(48127),g=r(3373),O=r(199),w=r(51470),P=r(96540);function S(e){return S="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},S(e)}function j(e,t,r,n){v||(v="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=n;else if(i>1){for(var a=Array(i),u=0;u<i;u++)a[u]=arguments[u+3];t.children=a}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:v,type:e,key:void 0===r?null:""+r,ref:null,props:t,_owner:null}}function R(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?R(Object(r),!0).forEach(function(t){A(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function k(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,I(n.key),n)}}function E(e,t,r){return t=T(t),function(e,t){if(t&&("object"==S(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,N()?Reflect.construct(t,r||[],T(e).constructor):t.apply(e,r))}function N(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(N=function(){return!!e})()}function C(){return C="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=T(e)););return e}(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(arguments.length<3?e:r):o.value}},C.apply(null,arguments)}function T(e){return T=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},T(e)}function q(e,t){return q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},q(e,t)}function A(e,t,r){return(t=I(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function I(e){var t=function(e,t){if("object"!=S(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=S(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==S(t)?t:t+""}var D=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),A(r=E(this,t,[e]),"methods",{}),A(r,"inputRefs",{}),A(r,"peStyleOptions",[]),r.validators=r.getValidators(),r.peStyleOptions=(0,O.Pb)(),r}return 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&&q(e,t)}(t,e),r=t,n=[{key:"onLanguageChange",value:function(){var e,r,n,o,i;(e=t,r="onLanguageChange",n=this,i=C(T(1&(o=3)?e.prototype:e),r,n),2&o&&"function"==typeof i?function(e){return i.apply(n,e)}:i)([]),this.validators=this.getValidators(),this.peStyleOptions=(0,O.Pb)()}},{key:"getValidators",value:function(){return{pe:[m.A],fiscalYear:[m.A],style:[m.A]}}},{key:"componentDidMount",value:function(){var e=null;!this.props.peReport.pe&&this.props.privateEquities.length&&(e={pe:this.props.privateEquities[0].value}),this.props.peReport.style||(e=_(_({},e),{},{style:this.peStyleOptions[0].value})),!this.props.peReport.fiscalYear&&this.props.years.length&&(e=_(_({},e),{},{fiscalYear:this.props.years[0].value})),e&&this.props.actions.updatePEReport(e)}},{key:"componentDidUpdate",value:function(e){if(this.props.peReport!==e.peReport||this.props.privateEquities!==e.privateEquities||this.props.years!==e.years){var t=null;!this.props.peReport.pe&&this.props.privateEquities.length&&(t={pe:this.props.privateEquities[0].value}),this.props.peReport.style||(t=_(_({},t),{},{style:this.peStyleOptions[0].value})),!this.props.peReport.fiscalYear&&this.props.years.length&&(t=_(_({},t),{},{fiscalYear:this.props.years[0].value})),t&&this.props.actions.updatePEReport(t)}}},{key:"validate",value:function(){return Promise.all([this.inputRefs[3].validate(this.props.peReport.style),this.props.peReport.style===this.peStyleOptions[0].value?this.inputRefs[6].validate(this.props.peReport.fiscalYear):this.inputRefs[2].validate(this.props.peReport.pe)]).then(function(e){return e.every(function(e){return e.every(function(e){return e.valid})})})}},{key:"handleSubmit",value:function(e){var t=this;e.preventDefault(),this.validate().then(function(e){if(e){var r={type:O.og};t.props.peReport.style===t.peStyleOptions[0].value?r.year=t.props.peReport.fiscalYear:r.privateequity=t.props.peReport.pe,window.open("".concat(w.Vy5,"?").concat((0,b.HQ)(r)),"_blank")}})}},{key:"render",value:function(){var e=this;return j("form",{className:"form-horizontal",onSubmit:(0,g._s)(this.methods,1,this.handleSubmit.bind(this))},void 0,j("div",{className:"container-fluid"},void 0,P.createElement(h.X,{id:"pe-report-style",key:"pe-report-style",label:"parameters.reportstyle",value:this.props.peReport.style,ref:(0,g.qP)(this.methods,this.inputRefs,3),options:this.peStyleOptions,validators:this.validators.style,onChange:(0,g._s)(this.methods,5,function(t){return e.props.actions.updatePEReport({style:t})})}),this.props.peReport.style===this.peStyleOptions[0].value&&P.createElement(h.X,{key:"inp",id:"trf-year",label:"parameters.year",value:this.props.peReport.fiscalYear,ref:(0,g.qP)(this.methods,this.inputRefs,6),options:this.props.years,validators:this.validators.fiscalYear,onChange:(0,g._s)(this.methods,7,function(t){return e.props.actions.updatePEReport({fiscalYear:t})})})||P.createElement(h.X,{id:"pe-report-pe",key:"pe-report-pe",label:"parameters.privateequity",value:this.props.peReport.pe,ref:(0,g.qP)(this.methods,this.inputRefs,2),options:this.props.privateEquities,validators:this.validators.fiscalYear,onChange:(0,g._s)(this.methods,4,function(t){return e.props.actions.updatePEReport({pe:t})})}),j("div",{className:"form-group"},void 0,j("button",{className:"btn btn-link"},void 0,I18n.translate("menu.openreport")))))}}
1],n&&k(r.prototype,n),o&&k(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(d.b);A(D,"propTypes",{privateEquities:p().arrayOf(p().shape({text:p().string,value:p().string})),years:p().arrayOf(p().shape({text:p().string,value:p().string}))}),A(D,"defaultProps",{privateEquities:[]});const x=(0,l.Ng)(function(e){return{peReport:e.peReport}},function(e){return{actions:(0,c.zH)(y,e)}})(D);var Y=r(16445),B={};r.r(B),r.d(B,{updateSecurityReport:()=>Y.O});var V,$=r(25799),z=r(96540);function H(e){return H="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},H(e)}function M(e,t,r,n){V||(V="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=n;else if(i>1){for(var a=Array(i),u=0;u<i;u++)a[u]=arguments[u+3];t.children=a}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:V,type:e,key:void 0===r?null:""+r,ref:null,props:t,_owner:null}}function Q(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,G(n.key),n)}}function U(e,t,r){return t=F(t),function(e,t){if(t&&("object"==H(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,L()?Reflect.construct(t,r||[],F(e).constructor):t.apply(e,r))}function L(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(L=function(){return!!e})()}function X(){return X="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=F(e)););return e}(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(arguments.length<3?e:r):o.value}},X.apply(null,arguments)}function F(e){return F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},F(e)}function J(e,t){return J=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},J(e,t)}function W(e,t,r){return(t=G(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function G(e){var t=function(e,t){if("object"!=H(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=H(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==H(t)?t:t+""}var K=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),W(r=U(this,t,[e]),"state",{securities:[]}),W(r,"methods",{}),W(r,"inputRefs",{}),r.validators=[m.A],r}return 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&&J(e,t)}(t,e),r=t,n=[{key:"onLanguageChange",value:function(){var e,r,n,o,i;(e=t,r="onLanguageChange",n=this,i=X(F(1&(o=3)?e.prototype:e),r,n),2&o&&"function"==typeof i?function(e){return i.apply(n,e)}:i)([]),this.validators=[m.A]}},{key:"componentDidMount",value:function(){!this.props.securityReport.security&&this.props.securities.length&&this.props.actions.updateSecurityReport(this.props.securities[0].value),this.setState({securities:this.props.securities.map(function(e){return{label:e.text,value:e.value}})})}},{key:"componentDidUpdate",value:function(e){e.securities!==this.props.securities&&this.setState({securities:this.props.securities.map(function(e){return{label:e.text,value:e.value}})}),this.props.securityReport===e.securityReport&&e.securities===this.props.securities||!this.props.securityReport.security&&this.props.securities.length&&this.props.actions.updateSecurityReport(this.props.securities[0].value)}},{key:"handleSubmit",value:function(e){var t=this;e.preventDefault(),this.inputRefs[2].validate(this.props.securityReport.security).then(function(e){return e.every(function(e){return e.valid})}).then(function(e){if(e){var r={type:O.VB,security:t.props.securityReport.security};window.open("".concat(w.Vy5,"?").concat((0,b.HQ)(r)),"_blank")}})}},{key:"render",value:function(){var e=this;return M("form",{className:"form-horizontal",onSubmit:(0,g._s)(this.methods,1,this.handleSubmit.bind(this))},void 0,M("div",{className:"container-fluid"},void 0,z.createElement($.H,{id:"security-report-security",key:"security-report-security",label:"parameters.security",ref:(0,g.qP)(this.methods,this.inputRefs,2),value:this.props.securityReport.security,options:this.state.securities,validators:this.validators,noDeselect:!0,onChange:(0,g._s)(this.methods,3,function(t){return e.props.actions.updateSecurityReport(t)})}),M("div",{className:"form-group"},void 0,M("button",{className:"btn btn-link"},void 0,I18n.translate("menu.openreport")))))}}
1],n&&Q(r.prototype,n),o&&Q(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(d.b);W(K,"propTypes",{securities:p().arrayOf(p().shape({text:p().string,value:p().string}))}),W(K,"defaultProps",{securities:[]});const Z=(0,l.Ng)(function(e){return{securityReport:e.securityReport}},function(e){return{actions:(0,c.zH)(B,e)}})(K);function ee(e){return ee="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},ee(e)}var te;function re(e,t,r,n){te||(te="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=n;else if(i>1){for(var a=Array(i),u=0;u<i;u++)a[u]=arguments[u+3];t.children=a}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:te,type:e,key:void 0===r?null:""+r,ref:null,props:t,_owner:null}}function ne(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,pe(n.key),n)}}function oe(e,t,r){return t=ae(t),function(e,t){if(t&&("object"==ee(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ie()?Reflect.construct(t,r||[],ae(e).constructor):t.apply(e,r))}function ie(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ie=function(){return!!e})()}function ae(e){return ae=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ae(e)}function ue(e,t){return ue=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ue(e,t)}function se(e,t,r){return(t=pe(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pe(e){var t=function(e,t){if("object"!=ee(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ee(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ee(t)?t:t+""}var le,ce=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return se(e=oe(this,t,[].concat(n)),"state",{show:!1}),e}return 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&&ue(e,t)}(t,e),r=t,(n=[{key:"render",value:function(){return re("div",{id:this.props.id,className:"slide-in-menu-item",onClick:this.props.onClick},void 0,re("div",{className:"slide-in-menu-item__icon"},void 0,re("img",{src:"/images/slide-in-menu-section__view.svg"})),"string"==typeof this.props.icon?re("i",{className:this.props.icon,"aria-hidden":"true"}):re("i",{"aria-hidden":"true"},void 0,this.props.icon),re("span",{},void 0,this.props.title))}}])&&ne(r.prototype,n),o&&ne(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(n.PureComponent);function fe(e){return fe="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},fe(e)}function ye(e,t,r,n){le||(le="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=n;else if(i>1){for(var a=Array(i),u=0;u<i;u++)a[u]=arguments[u+3];t.children=a}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:le,type:e,key:void 0===r?null:""+r,ref:null,props:t,_owner:null}}function ve(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Oe(n.key),n)}}function de(e,t,r){return t=be(t),function(e,t){if(t&&("object"==fe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,he()?Reflect.construct(t,r||[],be(e).constructor):t.apply(e,r))}function he(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(he=function(){return!!e})()}function be(e){return be=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},be(e)}function me(e,t){return me=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},me(e,t)}function ge(e,t,r){return(t=Oe(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oe(e){var t=function(e,t){if("object"!=fe(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=fe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==fe(t)?t:t+""}se(ce,"defaultProps",{title:"",icon:"",onClick:function(){}});var we=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ge(e=de(this,t,[].concat(n)),"methods",{}),e}return 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&&me(e,t)}(t,e),r=t,(n=[{key:"render",value:function(){var e=this;return ye("div",{id:this.props.id,className:"slide-in-menu-section ".concat(this.props.className," ").concat(this.props.active?"active":"")},void 0,ye("div",{className:"slide-in-menu-section__box",onClick:(0,g._s)(this.methods,1,function(){return e.props.onToggle(e.props.active?null:e.props.id)})},void 0,"string"==typeof this.props.icon?ye("i",{className:this.props.icon,"aria-hidden":"true"}):ye("i",{"aria-hidden":"true"},void 0,this.props.icon),ye("span",{},void 0,this.props.title)),this.props.active&&ye("div",{className:"slide-in-menu-section__form-box"},void 0,this.props.children))}}])&&ve(r.prototype,n),o&&ve(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(n.PureComponent);ge(we,"defaultProps",{id:Math.random().toString(),title:"",icon:"",active:!1,onToggle:function(){}});var Pe,Se=r(49665);function je(e,t,r,n){Pe||(Pe="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=n;else if(i>1){for(var a=Array(i),u=0;u<i;u++)a[u]=arguments[u+3];t.children=a}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:Pe,type:e,key:void 0===r?null:""+r,ref:null,props:t,_owner:null}}function Re(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,u=[],s=!0,p=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;
1!(s=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);s=!0);}catch(e){p=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(p)throw o}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return _e(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_e(e,t):void 0}}(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(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var ke=function(e){var t=e.companyStore,r=e.defaultStore,o=Re((0,n.useState)(null),2),a=o[0],s=o[1],p=t.finalize,l=p.finalizeYearId,c=p.finalizeYearPeriodId,f=p.reportParamFiscalYearEndDate;return je(Se.A,{title:I18n.translate("menu.reports")},void 0,je("div",{className:"container work-details"},void 0,je("h4",{className:"work-details__title"},void 0,t.currentCompany.name),je("p",{},void 0,t.finalize.finalizeYearPeriodName),null!==l&&null!==c&&je("div",{className:"button-wrap"},void 0,je(u(),{},void 0,f&&je(i(),{xs:2},void 0,je(ce,{title:I18n.translate("menu.resultandbalance"),onClick:function(){return window.open("".concat(w.Vy5,"?").concat((0,b.HQ)({type:O.BH,date:f})),"_blank")}}))||je("p",{},void 0,"Missing year end date"),je(i(),{xs:2},void 0,je(we,{id:O.VB,title:I18n.translate("menu.securityreport"),active:a===O.VB,onToggle:s},void 0,r.securitiesInUse.length||r.anySecurities?je(Z,{securities:r.securitiesInUse}):je("h5",{},void 0,I18n.translate("report.disable.no.securities"))))),je(u(),{},void 0,je(i(),{xs:2},void 0,je(ce,{title:I18n.translate("menu.overview"),onClick:function(){return window.open("".concat(w.Vy5,"?").concat((0,b.HQ)({type:O.wS,date:f})),"_blank")}})),je(i(),{xs:2},void 0,je(we,{id:O.og,title:I18n.translate("menu.privateequity"),active:a===O.og,onToggle:s},void 0,r.privateEquities.length?je(x,{privateEquities:r.privateEquities}):je("h5",{},void 0,I18n.translate("report.disable.no.privateequity"))))),je(u(),{},void 0,je(i(),{xs:2},void 0,je(ce,{title:I18n.translate("menu.roireport"),onClick:function(){return window.open("".concat(w.Vy5,"?").concat((0,b.HQ)({type:O.Ji,date:f,style:"allsecurities"})),"_blank")}}))))||je("p",{},void 0,I18n.translate("infoview.nothing.finalized"))))}}}]);
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.