1import{o as e}from"./chunk-CMxvf4Kt.js";import{n as t,t as n}from"./jsx-runtime-SsSjplwM.js";import{a as r,r as i}from"./react-intl-Cop388b4.js";import{_ as a,a as o,g as s,o as c,p as l,v as u,y as d}from"./react-router-BzQH59UT.js";import{a as f,n as p,t as m}from"./numbers-BEp7e788.js";var h=e(t());h.Component,h.Component;var g=function(e,t){return typeof e==`function`?e(t):e},_=function(e,t){return typeof e==`string`?s(e,null,null,t):e},v=function(e){return e},y=h.forwardRef;y===void 0&&(y=v);function b(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var x=y(function(e,t){var n=e.innerRef,r=e.navigate,i=e.onClick,a=l(e,[`innerRef`,`navigate`,`onClick`]),o=a.target,s=d({},a,{onClick:function(e){try{i&&i(e)}catch(t){throw e.preventDefault(),t}!e.defaultPrevented&&e.button===0&&(!o||o===`_self`)&&!b(e)&&(e.preventDefault(),r())}});return v===y?s.ref=n:s.ref=t||n,h.createElement(`a`,s)}),S=y(function(e,t){var n=e.component,r=n===void 0?x:n,i=e.replace,s=e.to,c=e.innerRef,f=l(e,[`component`,`replace`,`to`,`innerRef`]);return h.createElement(o.Consumer,null,function(e){!e&&u(!1);var n=e.history,o=_(g(s,e.location),e.location),l=d({},f,{href:o?n.createHref(o):``,navigate:function(){var t=g(s,e.location),r=a(e.location)===a(_(t));(i||r?n.replace:n.push)(t)}});return v===y?l.innerRef=c:l.ref=t||c,h.createElement(r,l)})}),C=function(e){return e},w=h.forwardRef;w===void 0&&(w=C);function T(){return[...arguments].filter(function(e){return e}).join(` `)}var E=w(function(e,t){var n=e[`aria-current`],r=n===void 0?`page`:n,i=e.activeClassName,a=i===void 0?`active`:i,s=e.activeStyle,f=e.className,p=e.exact,m=e.isActive,v=e.location,y=e.sensitive,b=e.strict,x=e.style,E=e.to,D=e.innerRef,O=l(e,[`aria-current`,`activeClassName`,`activeStyle`,`className`,`exact`,`isActive`,`location`,`sensitive`,`strict`,`style`,`to`,`innerRef`]);return h.createElement(o.Consumer,null,function(e){!e&&u(!1);var n=v||e.location,i=_(g(E,n),n),o=i.pathname,l=o&&o.replace(/([.+*?=^!:${}()[\]|/\\])/g,`\\$1`),k=l?c(n.pathname,{path:l,exact:p,sensitive:y,strict:b}):null,A=!!(m?m(k,n):k),j=typeof f==`function`?f(A):f,M=typeof x==`function`?x(A):x;A&&(j=T(j,a),M=d({},M,s));var N=d({"aria-current":A&&r||null,className:j,style:M,to:i},O);return C===w?N.innerRef=D:N.ref=t||D,h.createElement(S,N)})}),D=n(),O=(0,h.memo)(({value:e,renderer:t,children:n})=>{let r=f(e),[,i]=r;n&&t&&console.warn(`Both renderer prop and renderer as a child provided. This is a mistake and you really should fix that. Only renderer passed as a child will be used.`);let a=n??t??null,o=(0,D.jsx)(k,{value:r});return a?.(o,p(e,i))??o}),k=({value:e})=>{let[t,n,a=0]=e,o=(0,D.jsx)(i,{value:t??0,maximumFractionDigits:a,roundingMode:`trunc`}),s={count:o,rawNumber:t};switch(n){case m.THOUSAND:return(0,D.jsx)(r,{id:`units.short.thousand`,defaultMessage:`{count}K`,values:s});case m.MILLION:return(0,D.jsx)(r,{id:`units.short.million`,defaultMessage:`{count}M`,values:s});case m.BILLION:return(0,D.jsx)(r,{id:`units.short.billion`,defaultMessage:`{count}B`,values:s});default:return o}};export{S as n,E as r,O as t}; 2//# sourceMappingURL=short_number-Coj2vPT7.js.map
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.