1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5d6cac77-ac9e-5808-a0e6-ca912cc68d3d")}catch(e){}}(); 3(function(){try{var c=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};c.SENTRY_RELEASE={id:"13978386027a4a2683cfa43e79422df47742043f"}}catch{}})();var x={exports:{}};/*! 4 * accounting.js v0.4.1 5 * Copyright 2014 Open Exchange Rates 6 * 7 * Freely distributable under the MIT license. 8 * Portions of accounting.js are inspired or borrowed from underscore.js 9 * 10 * Full details and documentation: 11 * http://openexchangerates.github.io/accounting.js/ 12 */var z;function T(){return z||(z=1,function(c,d){(function(C,q){var e={};e.version="0.4.1",e.settings={currency:{symbol:"$",format:"%s%v",decimal:".",thousand:",",precision:2,grouping:3},number:{precision:0,grouping:3,thousand:",",decimal:"."}};var b=Array.prototype.map,E=Array.isArray,F=Object.prototype.toString;function M(r){return!!(r===""||r&&r.charCodeAt&&r.substr)}function m(r){return E?E(r):F.call(r)==="[object Array]"}function $(r){return r&&F.call(r)==="[object Object]"}function v(r,n){var t;r=r||{},n=n||{};for(t in n)n.hasOwnProperty(t)&&r[t]==null&&(r[t]=n[t]);return r}function h(r,n,t){var u=[],o,f;if(!r)return u;if(b&&r.map===b)return r.map(n,t);for(o=0,f=r.length;o<f;o++)u[o]=n.call(t,r[o],o,r);return u}function y(r,n){return r=Math.round(Math.abs(r)),isNaN(r)?n:r}function O(r){var n=e.settings.currency.format;return typeof r=="function"&&(r=r()),M(r)&&r.match("%v")?{pos:r,neg:r.replace("-","").replace("%v","-%v"),zero:r}:!r||!r.pos||!r.pos.match("%v")?M(n)?e.settings.currency.format={pos:n,neg:n.replace("%v","-%v"),zero:n}:n:r}var l=e.unformat=e.parse=function(r,n){if(m(r))return h(r,function(o){return l(o,n)});if(r=r||0,typeof r=="number")return r;n=n||e.settings.number.decimal;var t=new RegExp("[^0-9-"+n+"]",["g"]),u=parseFloat((""+r).replace(/\((.*)\)/,"-$1").replace(t,"").replace(n,"."));return isNaN(u)?0:u},S=e.toFixed=function(r,n){n=y(n,e.settings.number.precision);var t=Math.pow(10,n);return(Math.round(e.unformat(r)*t)/t).toFixed(n)},w=e.formatNumber=e.format=function(r,n,t,u){if(m(r))return h(r,function(p){return w(p,n,t,u)});r=l(r);var o=v($(n)?n:{precision:n,thousand:t,decimal:u},e.settings.number),f=y(o.precision),i=r<0?"-":"",s=parseInt(S(Math.abs(r||0),f),10)+"",g=s.length>3?s.length%3:0;return i+(g?s.substr(0,g)+o.thousand:"")+s.substr(g).replace(/(\d{3})(?=\d)/g,"$1"+o.thousand)+(f?o.decimal+S(Math.abs(r),f).split(".")[1]:"")},I=e.formatMoney=function(r,n,t,u,o,f){if(m(r))return h(r,function(p){return I(p,n,t,u,o,f)});r=l(r);var i=v($(n)?n:{symbol:n,precision:t,thousand:u,decimal:o,format:f},e.settings.currency),s=O(i.format),g=r>0?s.pos:r<0?s.neg:s.zero;return g.replace("%s",i.symbol).replace("%v",w(Math.abs(r),y(i.precision),i.thousand,i.decimal))};e.formatColumn=function(r,n,t,u,o,f){if(!r)return[];var i=v($(n)?n:{symbol:n,precision:t,thousand:u,decimal:o,format:f},e.settings.currency),s=O(i.format),g=s.pos.indexOf("%s")<s.pos.indexOf("%v"),p=0,R=h(r,function(a,k){if(m(a))return e.formatColumn(a,i);a=l(a);var P=a>0?s.pos:a<0?s.neg:s.zero,N=P.replace("%s",i.symbol).replace("%v",w(Math.abs(a),y(i.precision),i.thousand,i.decimal));return N.length>p&&(p=N.length),N});return h(R,function(a,k){return M(a)&&a.length<p?g?a.replace(i.symbol,i.symbol+new Array(p-a.length+1).join(" ")):new Array(p-a.length+1).join(" ")+a:a})},c.exports&&(d=c.exports=e),d.accounting=e})()}(x,x.exports)),x.exports}var A=T();function L(c,d=2){return A.formatMoney(c,{precision:d}).replace(/\$(\d),(\d{3})/,"$$$1$2").replace(/\$(\d{3,})\.00$/,"$$$1")}function G(c){return A.formatMoney(c,{precision:c%1?2:0})}function Y(c,d=2){return A.formatNumber(c,{precision:d})}function _(c){return A.unformat(c)}export{G as a,_ as b,A as c,Y as f,L as u}; 13 14//# debugId=5d6cac77-ac9e-5808-a0e6-ca912cc68d3d
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.