import{b as r}from"./browser-3fc721b7.js";import{c as n,g as t}from"./_commonjsHelpers-41cdd1e7.js";var e=n((function(r,n){Object.defineProperty(n,"__esModule",{value:!0}),n.StringUtils=void 0;var t=function(){function r(){}return r.isAlpha=function(r){return r>="a"&&r<="z"||r>="A"&&r<="Z"},r.isDigit=function(r){return r>="0"&&r<="9"},r.stringHashCode=function(r){var n=0;if(0===r.length)return n;for(var t=r.length,e=0;e<t;e++)n=(n<<5)-n+r.charCodeAt(e),n|=0;return n},r.endsAt=function(r,n){var t=r.length-1,e=n.length-1,i=t-e;if(i<0)return!1;for(;t>=i;t--,e--)if(r[t]!==n[e])return!1;return!0},r.startsAt=function(r,n){return r.substr(0,n.length)===n},r.stringInLowerCase=function(r){return r.toLowerCase()===r},r.stringInUpperCase=function(r){return r.toUpperCase()===r},r.atLeastOneSymbolInUpperCase=function(n){for(var t=0,e=void 0;e=n[t];t++)if(r.stringInUpperCase(e)&&!r.stringInLowerCase(e))return!0;return!1},r.getSymbolFromEnd=function(r,n){return r[r.length-n]},r.trim=function(n,t){if(void 0===t)return r.trimInternal(n,!0,!0);var e=t.join("");return n.replace(new RegExp("(^["+e+"]*)|(["+e+"]*$)","g"),"")},r.trimStart=function(n,t){if(void 0===t)return r.trimInternal(n,!0,!1);var e=t.join("");return n.replace(new RegExp("^["+e+"]*","g"),"")},r.trimEnd=function(n,t){if(void 0===t)return r.trimInternal(n,!1,!0);var e=t.join("");return n.replace(new RegExp("["+e+"]*$","g"),"")},r.getDecimalSeparator=function(){return 1.1.toLocaleString().substr(1,1)},r.repeat=function(r,n){return new Array(n<=0?0:n+1).join(r)},r.isNullOrEmpty=function(r){return!r||!r.length},r.padLeft=function(n,t,e){return r.repeat(e,Math.max(0,t-n.length))+n},r.trimInternal=function(r,n,t){var e=r.length;if(!e)return r;if(e<764833){var i=r;return n&&(i=i.replace(/^\s+/,"")),t&&(i=i.replace(/\s+$/,"")),i}var o=0;if(t)for(;e>0&&/\s/.test(r[e-1]);)e--;if(n&&e>0)for(;o<e&&/\s/.test(r[o]);)o++;return r.substring(o,e)},r}();n.StringUtils=t}));t(e);const i=r,o=e;export{i as b,o as s};
