(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4133],{87467:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/volume-stocks",function(){return t(92558)}])},21692:function(e,n,t){"use strict";t.d(n,{Z:function(){return InvestorToolsGrid}});var r=t(15311),s=t(42463),o=t.n(s),l=t(49315),i=t(59539),c=t(5724),u=t(50483),LegendItem=function(e){var n=e.label,t=e.pill;return(0,r.jsxs)("div",{className:"c-investor-tools-legend__item",children:[(0,r.jsxs)("div",{className:"c-investor-tools-legend__pill",children:[(null==t?void 0:t.icon)&&(0,r.jsx)("span",{className:"c-investor-tools-legend__icon",children:(0,r.jsx)(u.Z,{name:t.icon})}),(null==t?void 0:t.text)&&(0,r.jsx)("span",{className:"c-investor-tools-legend__text",children:t.text})]}),(0,r.jsx)("span",{className:"c-investor-tools-legend__label",children:n})]})};function InvestorToolsLegend(){var e=(0,(0,c.Z)("locale").t)("widget-legend",{},{returnObjects:!0});return!e||e.length<1?null:(0,r.jsx)("div",{className:"c-investor-tools-legend",children:Array.from(e).map(function(e){var n=e.pill,t=e.label;return(0,r.jsx)(LegendItem,{label:t,pill:n},t)})})}var a=t(77056),d=t(20132);function InvestorToolsGrid(e){var n,t=e.children,s=e.page,c=e.menu,u=e.topAds,v=e.extraContent,f=e.banners,m=e.showLegend,h=e.undressed,p=e.showMenu,_=(0,d.useMemo)(function(){return(null==f?void 0:f.length)&&(null==f?void 0:f.length)>0&&"disabled"!==f[0].type?(0,r.jsx)(l.Z,{...f[0],seamless:!0}):null},[f]);return(0,r.jsxs)("section",{className:o()("c-investor-tools-grid",{"c-investor-tools-grid--top-ads":null!==_&&u,"c-investor-tools-grid--no-ads":!_,"c-investor-tools-grid--no-menu":!c&&!p}),children:[(0,r.jsx)(i.Z,{level:"h1",className:"c-investor-tools-grid__title",collapsed:!0,children:null==s?void 0:s.title}),c&&(0,r.jsx)(a.ZP,{className:"c-investor-tools-grid__nav",menu:c,currentURI:null==s?void 0:s.uri}),(0,r.jsxs)("div",{className:o()("c-investor-tools-grid__content",((n={})["c-investor-tools-grid__content--undressed"]=h,n)),children:[(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:(null==s?void 0:s.content)||""}}),m&&(0,r.jsx)(InvestorToolsLegend,{}),v]}),(0,r.jsx)("div",{className:"c-investor-tools-grid__tool",children:t}),_&&(0,r.jsx)("aside",{className:"c-investor-tools-grid__ads",children:_})]})}},77056:function(e,n,t){"use strict";t.d(n,{S5:function(){return ItemIcon},ZP:function(){return InvestorToolsMenu},u8:function(){return getSidebarItems}});var r=t(15311),s=t(42463),o=t.n(s),l=t(59539),i=t(50483),c=t(88203),u=t(13191),a=t(6381),d=t.n(a),v=t(20132),__spreadArray=function(e,n,t){if(t||2==arguments.length)for(var r,s=0,o=n.length;s<o;s++)!r&&s in n||(r||(r=Array.prototype.slice.call(n,0,s)),r[s]=n[s]);return e.concat(r||Array.prototype.slice.call(n))};function getSidebarItems(e){var n;return(null===(n=null==e?void 0:e.menuItems)||void 0===n?void 0:n.nodes.filter(function(e){var n,t=e.parentId,r=e.tileInfo;return null===t&&(null===(n=null==r?void 0:r.display)||void 0===n?void 0:n.includes("sidebar"))}))||[]}function ItemIcon(e){var n,t,s=e.item,o=e.variant;return(0,r.jsx)("span",{className:"c-investor-tools-".concat(void 0===o?"menu":o,"__icon"),children:(0,r.jsx)(i.Z,{name:(null===(n=null==s?void 0:s.tileInfo)||void 0===n?void 0:n.icon)||(null===(t=null==s?void 0:s.uri)||void 0===t?void 0:t.replaceAll("/",""))||"volume-stocks"})})}function InvestorToolsMenu(e){var n=e.className,t=e.menu,s=e.currentURI,i=(0,v.useRef)(null),a=(0,v.useState)(function(){return getSidebarItems(t)}),f=a[0],m=a[1],h=null==t?void 0:t.id,p=(0,u.Z)(),_=(0,v.useState)(!1),g=_[0],x=_[1],toggleDropdown=function(){x(p.isAtLeast("large")||!g)};return((0,v.useEffect)(function(){x(p.isAtLeast("large"))},[p]),(0,v.useEffect)(function(){f.find(function(e){return e.uri===s||"dummy"===e.id})||m(function(e){var n;return __spreadArray([{id:"dummy",label:(null===(n=i.current)||void 0===n?void 0:n.textContent)||null,uri:s,tileInfo:{icon:"",display:["sidebar"]},path:"",parentId:null,url:""}],e,!0)})},[f,s]),f.length)?(0,r.jsxs)("nav",{className:o()("c-investor-tools-menu",n),children:[(0,r.jsx)("div",{className:"c-investor-tools-menu__title",ref:i,children:(0,r.jsx)(l.Z,{level:"h2",style:"h3",collapsed:!0,children:t.name})}),(0,r.jsx)("ul",{id:h,className:o()("c-investor-tools-menu__list",{"is-active":g}),children:f.map(function(e){var n=(null==e?void 0:e.uri)===s;return n?(0,r.jsx)("li",{className:o()("c-investor-tools-menu__item",{"is-active":n,"is-dummy":"dummy"===e.id}),children:(0,r.jsxs)(c.Z,{className:"c-investor-tools-menu__link",onClick:toggleDropdown,"aria-controls":h,"aria-expanded":g,children:[(0,r.jsx)(ItemIcon,{item:e}),e.label,(0,r.jsx)("span",{className:"c-investor-tools-menu__caret u-dropdown-caret"})]})},e.id):e.uri&&(0,r.jsx)("li",{className:"c-investor-tools-menu__item",children:(0,r.jsxs)(d(),{href:e.uri,className:"c-investor-tools-menu__link",children:[(0,r.jsx)(ItemIcon,{item:e}),e.label]})},e.id)})})]}):null}},70242:function(e,n,t){"use strict";t.d(n,{Z:function(){return SourceWebLink}});var r=t(15311),s=t(42463),o=t.n(s),l=t(74034),i=t.n(l);function SourceWebLink(e){var n=e.right;return(0,r.jsx)("div",{className:o()("c-source-weblink",{"c-source-weblink--right":n}),children:(0,r.jsx)(i(),{src:"/images/weblink.png",alt:"Service provided by WebLinkIR",width:162,height:15})})}},94248:function(e,n,t){"use strict";t.d(n,{s:function(){return usePageBanners}});var r=t(77238),s=t(20132),o=t(50267),__generator=function(e,n){var t,r,s,o,l={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return o={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function verb(i){return function(c){return function(i){if(t)throw TypeError("Generator is already executing.");for(;o&&(o=0,i[0]&&(l=0)),l;)try{if(t=1,r&&(s=2&i[0]?r.return:i[0]?r.throw||((s=r.return)&&s.call(r),0):r.next)&&!(s=s.call(r,i[1])).done)return s;switch(r=0,s&&(i=[2&i[0],s.value]),i[0]){case 0:case 1:s=i;break;case 4:return l.label++,{value:i[1],done:!1};case 5:l.label++,r=i[1],i=[0];continue;case 7:i=l.ops.pop(),l.trys.pop();continue;default:if(!(s=(s=l.trys).length>0&&s[s.length-1])&&(6===i[0]||2===i[0])){l=0;continue}if(3===i[0]&&(!s||i[1]>s[0]&&i[1]<s[3])){l.label=i[1];break}if(6===i[0]&&l.label<s[1]){l.label=s[1],s=i;break}if(s&&l.label<s[2]){l.label=s[2],l.ops.push(i);break}s[2]&&l.ops.pop(),l.trys.pop();continue}i=n.call(e,l)}catch(e){i=[6,e],r=0}finally{t=s=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}};function usePageBanners(e){var n=this,t=(0,s.useMemo)(function(){return"string"==typeof e?e:e.uri},[e]);return{banners:(0,o.ZP)(["banners",t],function(){var e,s,o;return e=void 0,s=void 0,o=function(){return __generator(this,function(e){switch(e.label){case 0:return[4,(0,r.Ey)(t)];case 1:return[2,e.sent()]}})},new(s||(s=Promise))(function(t,r){function fulfilled(e){try{step(o.next(e))}catch(e){r(e)}}function rejected(e){try{step(o.throw(e))}catch(e){r(e)}}function step(e){var n;e.done?t(e.value):((n=e.value)instanceof s?n:new s(function(e){e(n)})).then(fulfilled,rejected)}step((o=o.apply(n,e||[])).next())})}).data}}},92558:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return f},default:function(){return VolumeStocks}});var r=t(15311),s=t(21692),o=t(16518),l=t(25161),i=t(70242),c=t(89049),u=t(4068),a=t(92029),d=t(94248),v=t(93660),f=!0;function VolumeStocks(e){let{preview:n,page:t,seo:f}=e,{menus:m,investorToolsMenu:h}=(0,a.V)(),{banners:p}=(0,d.s)(t);return(0,r.jsx)(c.A,{...v.s.Layout,preview:n,menus:m,customScriptsAndStyles:null==p?void 0:p.customScriptsAndStyles,seo:f,children:(0,r.jsx)(o.Z,{decorated:!1,children:(0,r.jsxs)(s.Z,{page:t,menu:h,showMenu:!0,showLegend:!0,banners:null==p?void 0:p.slots,children:[(0,r.jsx)(l.ZP,{...u.Er.volumeStocks.getMain()}),(0,r.jsx)(i.Z,{})]})})})}}},function(e){e.O(0,[6317,9315,9774,2888,179],function(){return e(e.s=87467)}),_N_E=e.O()}]);