(()=>{"use strict";var e={d:(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};function r({precision:e=null,decimalSeparator:t=".",thousandSeparator:r=","},n){if(void 0===n)return"";if("number"!=typeof n&&(n=parseFloat(n)),isNaN(n))return"";let i=null===e?NaN:Number(e);if(isNaN(i)){const[,e]=n.toString().split(".");i=e?e.length:0}return function(e,t,r,n){const i=(e+"").replace(/[^0-9+\-Ee.]/g,""),o=isFinite(+i)?+i:0,u=isFinite(+(t||0))?Math.abs(t||0):0,a=void 0===n?",":n,l=void 0===r?".":r;let s;s=(u?function(e,t){if((""+e).includes("e")){const r=(""+e).split("e"),n=r[0]??"0",i=Number(r[1]??0);let o="";return i+t>0&&(o="+"),(+(Math.round(+(+n+"e"+o+(i+t)))+"e-"+t)).toFixed(t)}return+(Math.round(+(e+"e+"+t))+"e-"+t)}(o,u).toString():""+Math.round(o)).split(".");const c=s[0]??"";return c.length>3&&(s[0]=c.replace(/\B(?=(?:\d{3})+(?!\d))/g,a)),(s[1]||"").length<u&&(s[1]=s[1]||"",s[1]+=new Array(u-s[1].length+1).join("0")),s.join(l)}(n,i,t,r)}function n(e,t,n){if(!Number.isFinite(n))return null;switch(t){case"average":return Math.round(n);case"number":return r({...e,precision:null},n)}return null}function i(e,t){return Number.isFinite(e)&&Number.isFinite(t)?0===t?0:Math.round((e-t)/t*100):null}function o({precision:e=null,decimalSeparator:t=".",thousandSeparator:r=","},n){if("string"!=typeof n||""===n)return"";let i=null===e?NaN:Number(e);if(isNaN(i)){const[,e]=n.split(t);i=e?e.length:0}let o=n;return r&&(o=o.replace(new RegExp(`\\${r}`,"g"),"")),t&&(o=o.replace(new RegExp(`\\${t}`,"g"),".")),Number.parseFloat(o).toFixed(i)}e.r(t),e.d(t,{calculateDelta:()=>i,formatValue:()=>n,numberFormat:()=>r,parseNumber:()=>o}),(window.wc=window.wc||{}).number=t})();