Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

devexpress-utils

Package Overview
Dependencies
Maintainers
37
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

devexpress-utils - npm Package Compare versions

Comparing version 1.0.1-alpha-003 to 1.0.1-alpha-004

lib/batch-updatable-object.d.ts

575

dist/dx.utils.js
/*!
* DevExpress Utils (dx.utils)
* Version: 1.0.1-alpha-003
* Build date: Fri Sep 04 2020
* Version: 1.0.1-alpha-004
* Build date: Sat Sep 05 2020
*

@@ -93,3 +93,3 @@ * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED

/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 2);
/******/ return __webpack_require__(__webpack_require__.s = 3);
/******/ })

@@ -99,2 +99,29 @@ /************************************************************************/

/* 0 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Int32Constants = exports.Constants = void 0;
var Constants = (function () {
function Constants() {
}
Constants.MIN_SAFE_INTEGER = -(Math.pow(2, 53) - 1);
Constants.MAX_SAFE_INTEGER = (Math.pow(2, 53) - 1);
Constants.MAX_BYTE = Math.pow(2, 8) - 1;
return Constants;
}());
exports.Constants = Constants;
var Int32Constants = (function () {
function Int32Constants() {
}
Int32Constants.MIN_VALUE = -2147483648;
Int32Constants.MAX_VALUE = 2147483647;
return Int32Constants;
}());
exports.Int32Constants = Int32Constants;
/***/ }),
/* 1 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

@@ -357,3 +384,3 @@

/***/ }),
/* 1 */
/* 2 */
/***/ (function(module, exports, __webpack_require__) {

@@ -364,3 +391,3 @@

Object.defineProperty(exports, "__esModule", { value: true });
exports.SesElem = exports.ONP = exports.SesType = void 0;
exports.SequenceComparator = exports.SesElem = exports.SesType = void 0;
var SesType;

@@ -372,4 +399,27 @@ (function (SesType) {

})(SesType = exports.SesType || (exports.SesType = {}));
var ONP = (function () {
function ONP(a, b) {
var SesElem = (function () {
function SesElem(elem, type) {
this.elem = elem;
this.type = type;
}
SesElem.prototype.toString = function () {
var sign;
switch (this.type) {
case SesType.Add:
sign = '+';
break;
case SesType.Delete:
sign = '-';
break;
case SesType.Common:
sign = ' ';
break;
}
return sign + this.elem.toString();
};
return SesElem;
}());
exports.SesElem = SesElem;
var SequenceComparator = (function () {
function SequenceComparator(a, b) {
this.editDistance = null;

@@ -396,3 +446,3 @@ this.lcs = '';

}
ONP.prototype.calculate = function () {
SequenceComparator.prototype.calculate = function () {
var size = this.m + this.n + 3;

@@ -425,3 +475,3 @@ var fp = {};

};
ONP.prototype.toString = function () {
SequenceComparator.prototype.toString = function () {
var result = [];

@@ -434,3 +484,3 @@ for (var _i = 0, _a = this.ses; _i < _a.length; _i++) {

};
ONP.prototype.snake = function (k, p, pp) {
SequenceComparator.prototype.snake = function (k, p, pp) {
var r = p > pp ?

@@ -449,3 +499,3 @@ this.path[k - 1 + this.offset] :

};
ONP.prototype.recordSeq = function (epc) {
SequenceComparator.prototype.recordSeq = function (epc) {
var px_idx = 0;

@@ -477,5 +527,5 @@ var py_idx = 0;

};
return ONP;
return SequenceComparator;
}());
exports.ONP = ONP;
exports.SequenceComparator = SequenceComparator;
var PathElem = (function () {

@@ -489,36 +539,13 @@ function PathElem(x, y, k) {

}());
var SesElem = (function () {
function SesElem(elem, type) {
this.elem = elem;
this.type = type;
}
SesElem.prototype.toString = function () {
var sign;
switch (this.type) {
case SesType.Add:
sign = '+';
break;
case SesType.Delete:
sign = '-';
break;
case SesType.Common:
sign = ' ';
break;
}
return sign + this.elem.toString();
};
return SesElem;
}());
exports.SesElem = SesElem;
/***/ }),
/* 2 */
/* 3 */
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(3);
module.exports = __webpack_require__(4);
/***/ }),
/* 3 */
/* 4 */
/***/ (function(module, exports, __webpack_require__) {

@@ -529,5 +556,4 @@

Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(0);
tslib_1.__exportStar(__webpack_require__(1), exports);
tslib_1.__exportStar(__webpack_require__(4), exports);
var tslib_1 = __webpack_require__(1);
tslib_1.__exportStar(__webpack_require__(2), exports);
tslib_1.__exportStar(__webpack_require__(5), exports);

@@ -539,37 +565,10 @@ tslib_1.__exportStar(__webpack_require__(6), exports);

tslib_1.__exportStar(__webpack_require__(10), exports);
tslib_1.__exportStar(__webpack_require__(0), exports);
tslib_1.__exportStar(__webpack_require__(11), exports);
tslib_1.__exportStar(__webpack_require__(12), exports);
tslib_1.__exportStar(__webpack_require__(13), exports);
tslib_1.__exportStar(__webpack_require__(14), exports);
/***/ }),
/* 4 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.StringOnpItertor = void 0;
var StringOnpItertor = (function () {
function StringOnpItertor(str) {
this.str = str;
}
Object.defineProperty(StringOnpItertor.prototype, "length", {
get: function () {
return this.str.length;
},
enumerable: false,
configurable: true
});
StringOnpItertor.prototype.getComparer = function () {
return function (a, b) { return a === b; };
};
StringOnpItertor.prototype.getByIndex = function (index) {
return this.str[index];
};
return StringOnpItertor;
}());
exports.StringOnpItertor = StringOnpItertor;
/***/ }),
/* 5 */

@@ -581,6 +580,6 @@ /***/ (function(module, exports, __webpack_require__) {

Object.defineProperty(exports, "__esModule", { value: true });
exports.StringSesElem = exports.StringONP = void 0;
var common_1 = __webpack_require__(1);
var StringONP = (function () {
function StringONP(a, b) {
exports.StringSequenceComparatorItertor = exports.StringSesElem = exports.StringSequenceComparator = void 0;
var common_1 = __webpack_require__(2);
var StringSequenceComparator = (function () {
function StringSequenceComparator(a, b) {
this.editDistance = null;

@@ -606,3 +605,3 @@ this.lcs = '';

}
StringONP.prototype.calculate = function () {
StringSequenceComparator.prototype.calculate = function () {
var size = this.m + this.n + 3;

@@ -635,3 +634,3 @@ var fp = {};

};
StringONP.prototype.toString = function () {
StringSequenceComparator.prototype.toString = function () {
var result = [];

@@ -644,3 +643,3 @@ for (var _i = 0, _a = this.ses; _i < _a.length; _i++) {

};
StringONP.prototype.snake = function (k, p, pp) {
StringSequenceComparator.prototype.snake = function (k, p, pp) {
var r = p > pp ?

@@ -659,3 +658,3 @@ this.path[k - 1 + this.offset] :

};
StringONP.prototype.recordSeq = function (epc) {
StringSequenceComparator.prototype.recordSeq = function (epc) {
var px_idx = 0;

@@ -687,5 +686,5 @@ var py_idx = 0;

};
return StringONP;
return StringSequenceComparator;
}());
exports.StringONP = StringONP;
exports.StringSequenceComparator = StringSequenceComparator;
var PathElem = (function () {

@@ -722,2 +721,22 @@ function PathElem(x, y, k) {

exports.StringSesElem = StringSesElem;
var StringSequenceComparatorItertor = (function () {
function StringSequenceComparatorItertor(str) {
this.str = str;
}
Object.defineProperty(StringSequenceComparatorItertor.prototype, "length", {
get: function () {
return this.str.length;
},
enumerable: false,
configurable: true
});
StringSequenceComparatorItertor.prototype.getComparer = function () {
return function (a, b) { return a === b; };
};
StringSequenceComparatorItertor.prototype.getByIndex = function (index) {
return this.str[index];
};
return StringSequenceComparatorItertor;
}());
exports.StringSequenceComparatorItertor = StringSequenceComparatorItertor;

@@ -732,2 +751,319 @@

Object.defineProperty(exports, "__esModule", { value: true });
exports.StringMapUtils = void 0;
var constants_1 = __webpack_require__(0);
var StringMapUtils = (function () {
function StringMapUtils() {
}
StringMapUtils.forEach = function (map, callback) {
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key))
callback(map[key], key);
}
};
StringMapUtils.map = function (map, callback) {
var result = {};
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key))
result[key] = callback(map[key], key);
}
return result;
};
StringMapUtils.reducedMap = function (map, callback) {
var result = {};
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key)) {
var newItem = callback(map[key], key);
if (newItem !== null)
result[key] = newItem;
}
}
return result;
};
StringMapUtils.clear = function (map) {
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key))
delete map[key];
}
};
StringMapUtils.shallowCopy = function (map) {
return StringMapUtils.map(map, function (val) { return val; });
};
StringMapUtils.deepCopy = function (map) {
return StringMapUtils.map(map, function (val) { return val.clone(); });
};
StringMapUtils.isEmpty = function (map) {
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key))
return false;
}
return true;
};
StringMapUtils.accumulate = function (map, initAccValue, callback) {
var acc = initAccValue;
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key))
acc = callback(acc, map[key], key);
}
return acc;
};
StringMapUtils.keyBy = function (map, callback) {
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key)) {
if (callback(map[key], key))
return key;
}
}
return null;
};
StringMapUtils.elementBy = function (map, callback) {
var key = StringMapUtils.keyBy(map, callback);
return key === null ? null : map[key];
};
StringMapUtils.containsBy = function (map, callback) {
return StringMapUtils.keyBy(map, callback) !== null;
};
StringMapUtils.toList = function (map) {
return StringMapUtils.toListBy(map, function (elem) { return elem; });
};
StringMapUtils.toListBy = function (map, callback, maxElements) {
if (maxElements === void 0) { maxElements = constants_1.Constants.MAX_SAFE_INTEGER; }
var result = [];
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key)) {
result.push(callback(map[key], key));
if (!--maxElements)
break;
}
}
return result;
};
StringMapUtils.anyOf = function (map, callback) {
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key)) {
var res = callback(map[key], key);
if (res !== null)
return res;
}
}
return null;
};
StringMapUtils.unsafeAnyOf = function (map, callback) {
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key)) {
var res = callback(map[key], key);
if (res)
return res;
}
}
return null;
};
StringMapUtils.allOf = function (map, callback) {
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key)) {
if (!callback(map[key], key))
return false;
}
}
return true;
};
StringMapUtils.mapLength = function (map) {
var length = 0;
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key))
length++;
}
return length;
};
StringMapUtils.max = function (map, cmp) {
return StringMapUtils.maxMinTemplate(map, cmp, function (cmpResult) { return cmpResult > 0; });
};
StringMapUtils.min = function (map, cmp) {
return StringMapUtils.maxMinTemplate(map, cmp, function (cmpResult) { return cmpResult < 0; });
};
StringMapUtils.maxMinTemplate = function (map, cmp, isReplace) {
var found = null;
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key)) {
if (found !== null) {
var elem = map[key];
if (isReplace(cmp(elem, found)))
found = elem;
}
else
found = map[key];
}
}
return found;
};
return StringMapUtils;
}());
exports.StringMapUtils = StringMapUtils;
/***/ }),
/* 7 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NumberMapUtils = void 0;
var constants_1 = __webpack_require__(0);
var NumberMapUtils = (function () {
function NumberMapUtils() {
}
NumberMapUtils.forEach = function (map, callback) {
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key))
callback(map[key], parseInt(key));
}
};
NumberMapUtils.map = function (map, callback) {
var result = {};
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key))
result[key] = callback(map[key], parseInt(key));
}
return result;
};
NumberMapUtils.reducedMap = function (map, callback) {
var result = {};
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key)) {
var newItem = callback(map[key], parseInt(key));
if (newItem !== null)
result[key] = newItem;
}
}
return result;
};
NumberMapUtils.clear = function (map) {
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key))
delete map[key];
}
};
NumberMapUtils.shallowCopy = function (map) {
return NumberMapUtils.map(map, function (val) { return val; });
};
NumberMapUtils.deepCopy = function (map) {
return NumberMapUtils.map(map, function (val) { return val.clone(); });
};
NumberMapUtils.isEmpty = function (map) {
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key))
return false;
}
return true;
};
NumberMapUtils.accumulate = function (map, initAccValue, callback) {
var acc = initAccValue;
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key))
acc = callback(acc, map[key], parseInt(key));
}
return acc;
};
NumberMapUtils.keyBy = function (map, callback) {
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key)) {
var intKey = parseInt(key);
if (callback(map[key], intKey))
return intKey;
}
}
return null;
};
NumberMapUtils.elementBy = function (map, callback) {
var key = NumberMapUtils.keyBy(map, callback);
return key === null ? null : map[key];
};
NumberMapUtils.containsBy = function (map, callback) {
return NumberMapUtils.keyBy(map, callback) !== null;
};
NumberMapUtils.toList = function (map) {
return NumberMapUtils.toListBy(map, function (elem) { return elem; });
};
NumberMapUtils.toListBy = function (map, callback, maxElements) {
if (maxElements === void 0) { maxElements = constants_1.Constants.MAX_SAFE_INTEGER; }
var result = [];
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key)) {
result.push(callback(map[key], parseInt(key)));
if (!--maxElements)
break;
}
}
return result;
};
NumberMapUtils.anyOf = function (map, callback) {
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key)) {
var res = callback(map[key], parseInt(key));
if (res !== null)
return res;
}
}
return null;
};
NumberMapUtils.unsafeAnyOf = function (map, callback) {
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key)) {
var res = callback(map[key], parseInt(key));
if (res)
return res;
}
}
return null;
};
NumberMapUtils.allOf = function (map, callback) {
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key)) {
if (!callback(map[key], parseInt(key)))
return false;
}
}
return true;
};
NumberMapUtils.mapLength = function (map) {
var length = 0;
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key))
length++;
}
return length;
};
NumberMapUtils.max = function (map, cmp) {
return NumberMapUtils.maxMinTemplate(map, cmp, function (cmpResult) { return cmpResult > 0; });
};
NumberMapUtils.min = function (map, cmp) {
return NumberMapUtils.maxMinTemplate(map, cmp, function (cmpResult) { return cmpResult < 0; });
};
NumberMapUtils.maxMinTemplate = function (map, cmp, isReplace) {
var found = null;
for (var key in map) {
if (Object.prototype.hasOwnProperty.call(map, key)) {
if (found !== null) {
var elem = map[key];
if (isReplace(cmp(elem, found)))
found = elem;
}
else
found = map[key];
}
}
return found;
};
return NumberMapUtils;
}());
exports.NumberMapUtils = NumberMapUtils;
/***/ }),
/* 8 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.StringUtils = void 0;

@@ -737,5 +1073,2 @@ var StringUtils = (function () {

}
StringUtils.stringCompare = function (a, b) {
return ((a === b) ? 0 : ((a > b) ? 1 : -1));
};
StringUtils.stringHashCode = function (str) {

@@ -801,10 +1134,2 @@ var hash = 0;

};
StringUtils.strCompare = function (a, b, ignoreCase) {
if (ignoreCase === void 0) { ignoreCase = false; }
if (ignoreCase) {
a = a.toLowerCase();
b = b.toLowerCase();
}
return ((a === b) ? 0 : ((a > b) ? 1 : -1));
};
StringUtils.repeat = function (str, count) {

@@ -825,3 +1150,3 @@ return new Array(count <= 0 ? 0 : count + 1).join(str);

/***/ }),
/* 7 */
/* 9 */
/***/ (function(module, exports, __webpack_require__) {

@@ -917,3 +1242,3 @@

/***/ }),
/* 8 */
/* 10 */
/***/ (function(module, exports, __webpack_require__) {

@@ -1067,3 +1392,3 @@

/***/ }),
/* 9 */
/* 11 */
/***/ (function(module, exports, __webpack_require__) {

@@ -1074,29 +1399,2 @@

Object.defineProperty(exports, "__esModule", { value: true });
exports.Int32Constants = exports.Constants = void 0;
var Constants = (function () {
function Constants() {
}
Constants.MIN_SAFE_INTEGER = -(Math.pow(2, 53) - 1);
Constants.MAX_SAFE_INTEGER = (Math.pow(2, 53) - 1);
Constants.MAX_BYTE = Math.pow(2, 8) - 1;
return Constants;
}());
exports.Constants = Constants;
var Int32Constants = (function () {
function Int32Constants() {
}
Int32Constants.MIN_VALUE = -2147483648;
Int32Constants.MAX_VALUE = 2147483647;
return Int32Constants;
}());
exports.Int32Constants = Int32Constants;
/***/ }),
/* 10 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Flag = void 0;

@@ -1148,3 +1446,3 @@ var Flag = (function () {

/***/ }),
/* 11 */
/* 12 */
/***/ (function(module, exports, __webpack_require__) {

@@ -1156,3 +1454,3 @@

exports.ExtendedMinMax = exports.ExtendedMax = exports.ExtendedMin = exports.MinMaxNumber = exports.MinMax = void 0;
var tslib_1 = __webpack_require__(0);
var tslib_1 = __webpack_require__(1);
var MinMax = (function () {

@@ -1210,3 +1508,3 @@ function MinMax(min, max) {

/***/ }),
/* 12 */
/* 13 */
/***/ (function(module, exports, __webpack_require__) {

@@ -1217,5 +1515,30 @@

Object.defineProperty(exports, "__esModule", { value: true });
exports.loadJavascriptFile = void 0;
function loadJavascriptFile(srcUri, callback) {
var _a;
var headElem = document.getElementsByTagName('head')[0];
if (!headElem) {
headElem = document.createElement('head');
var bodyElem = document.getElementsByTagName('body')[0];
(_a = bodyElem.parentNode) === null || _a === void 0 ? void 0 : _a.insertBefore(headElem, bodyElem);
}
var scriptElem = document.createElement('script');
scriptElem.onload = callback;
scriptElem.src = srcUri;
headElem.appendChild(scriptElem);
return { htmlScriptElement: scriptElem };
}
exports.loadJavascriptFile = loadJavascriptFile;
/***/ }),
/* 14 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/***/ })
/******/ ]);
/*!
* DevExpress Utils (dx.utils.min)
* Version: 1.0.1-alpha-003
* Build date: Fri Sep 04 2020
* Version: 1.0.1-alpha-004
* Build date: Sat Sep 05 2020
*

@@ -9,3 +9,3 @@ * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED

*/
var DevExpress="object"==typeof DevExpress?DevExpress:{};DevExpress.WebUtils=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=2)}([function(t,e,n){"use strict";n.r(e),n.d(e,"__extends",(function(){return i})),n.d(e,"__assign",(function(){return o})),n.d(e,"__rest",(function(){return s})),n.d(e,"__decorate",(function(){return u})),n.d(e,"__param",(function(){return a})),n.d(e,"__metadata",(function(){return h})),n.d(e,"__awaiter",(function(){return f})),n.d(e,"__generator",(function(){return c})),n.d(e,"__createBinding",(function(){return p})),n.d(e,"__exportStar",(function(){return l})),n.d(e,"__values",(function(){return d})),n.d(e,"__read",(function(){return y})),n.d(e,"__spread",(function(){return v})),n.d(e,"__spreadArrays",(function(){return m})),n.d(e,"__await",(function(){return g})),n.d(e,"__asyncGenerator",(function(){return _})),n.d(e,"__asyncDelegator",(function(){return b})),n.d(e,"__asyncValues",(function(){return x})),n.d(e,"__makeTemplateObject",(function(){return S})),n.d(e,"__importStar",(function(){return k})),n.d(e,"__importDefault",(function(){return O})),n.d(e,"__classPrivateFieldGet",(function(){return P})),n.d(e,"__classPrivateFieldSet",(function(){return T}));
var DevExpress="object"==typeof DevExpress?DevExpress:{};DevExpress.WebUtils=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=3)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Int32Constants=e.Constants=void 0;var r=function(){function t(){}return t.MIN_SAFE_INTEGER=-(Math.pow(2,53)-1),t.MAX_SAFE_INTEGER=Math.pow(2,53)-1,t.MAX_BYTE=Math.pow(2,8)-1,t}();e.Constants=r;var o=function(){function t(){}return t.MIN_VALUE=-2147483648,t.MAX_VALUE=2147483647,t}();e.Int32Constants=o},function(t,e,n){"use strict";n.r(e),n.d(e,"__extends",(function(){return o})),n.d(e,"__assign",(function(){return i})),n.d(e,"__rest",(function(){return u})),n.d(e,"__decorate",(function(){return a})),n.d(e,"__param",(function(){return s})),n.d(e,"__metadata",(function(){return c})),n.d(e,"__awaiter",(function(){return f})),n.d(e,"__generator",(function(){return h})),n.d(e,"__createBinding",(function(){return l})),n.d(e,"__exportStar",(function(){return p})),n.d(e,"__values",(function(){return y})),n.d(e,"__read",(function(){return d})),n.d(e,"__spread",(function(){return v})),n.d(e,"__spreadArrays",(function(){return m})),n.d(e,"__await",(function(){return b})),n.d(e,"__asyncGenerator",(function(){return g})),n.d(e,"__asyncDelegator",(function(){return _})),n.d(e,"__asyncValues",(function(){return O})),n.d(e,"__makeTemplateObject",(function(){return x})),n.d(e,"__importStar",(function(){return S})),n.d(e,"__importDefault",(function(){return P})),n.d(e,"__classPrivateFieldGet",(function(){return k})),n.d(e,"__classPrivateFieldSet",(function(){return j}));
/*! *****************************************************************************

@@ -25,2 +25,2 @@ Copyright (c) Microsoft Corporation.

***************************************************************************** */
var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function s(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}function u(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(i=t[u])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}function a(t,e){return function(n,r){e(n,r,t)}}function h(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function f(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{a(r.next(t))}catch(t){o(t)}}function u(t){try{a(r.throw(t))}catch(t){o(t)}}function a(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,u)}a((r=r.apply(t,e||[])).next())}))}function c(t,e){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}}var p=Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]};function l(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||p(e,t,n)}function d(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function y(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function v(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(y(arguments[e]));return t}function m(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),i=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,u=o.length;s<u;s++,i++)r[i]=o[s];return r}function g(t){return this instanceof g?(this.v=t,this):new g(t)}function _(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(t){i[t]&&(r[t]=function(e){return new Promise((function(n,r){o.push([t,e,n,r])>1||u(t,e)}))})}function u(t,e){try{(n=i[t](e)).value instanceof g?Promise.resolve(n.value.v).then(a,h):f(o[0][2],n)}catch(t){f(o[0][3],t)}var n}function a(t){u("next",t)}function h(t){u("throw",t)}function f(t,e){t(e),o.shift(),o.length&&u(o[0][0],o[0][1])}}function b(t){var e,n;return e={},r("next"),r("throw",(function(t){throw t})),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:g(t[r](e)),done:"return"===r}:i?i(e):e}:i}}function x(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=d(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise((function(r,i){(function(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n})}),e)})(r,i,(e=t[n](e)).done,e.value)}))}}}function S(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var w=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};function k(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&p(e,t,n);return w(e,t),e}function O(t){return t&&t.__esModule?t:{default:t}}function P(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function T(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),e.SesElem=e.ONP=e.SesType=void 0,function(t){t[t.Delete=-1]="Delete",t[t.Common=0]="Common",t[t.Add=1]="Add"}(r=e.SesType||(e.SesType={}));var i=function(){function t(t,e){if(this.editDistance=null,this.lcs="",this.ses=[],this.path=[],this.pathposi=[],this.a=t,this.b=e,this.m=this.a.length,this.n=this.b.length,this.reverse=this.m>this.n,this.reverse){var n=this.a;this.a=this.b,this.b=n;var r=this.m;this.m=this.n,this.n=r}this.offset=this.m+1,this.comparer=this.a.getComparer()}return t.prototype.calculate=function(){for(var t=this.m+this.n+3,e={},n=0;n<t;++n)e[n]=-1,this.path[n]=-1;var r=this.n-this.m,i=-1;do{for(var s=-++i;s<=r-1;++s)e[s+this.offset]=this.snake(s,e[s-1+this.offset]+1,e[s+1+this.offset]);for(s=r+i;s>=r+1;--s)e[s+this.offset]=this.snake(s,e[s-1+this.offset]+1,e[s+1+this.offset]);e[r+this.offset]=this.snake(r,e[r-1+this.offset]+1,e[r+1+this.offset])}while(e[r+this.offset]!==this.n);this.editDistance=r+2*i;for(var u=this.path[r+this.offset],a=[];-1!==u;){var h=this.pathposi[u];a.push(new o(h.x,h.y,null)),u=h.k}return this.recordSeq(a),this.ses},t.prototype.toString=function(){for(var t=[],e=0,n=this.ses;e<n.length;e++){var r=n[e];t.push(r.toString())}return t.join("\n")},t.prototype.snake=function(t,e,n){for(var r=e>n?this.path[t-1+this.offset]:this.path[t+1+this.offset],i=Math.max(e,n),s=i-t;s<this.m&&i<this.n&&this.comparer(this.a.getByIndex(s),this.b.getByIndex(i));)++s,++i;var u=this.pathposi.push(new o(s,i,r));return this.path[t+this.offset]=u-1,i},t.prototype.recordSeq=function(t){for(var e=0,n=0,i=this.reverse?r.Delete:r.Add,o=this.reverse?r.Add:r.Delete,u=t.length-1;u>=0;--u)for(var a=t[u];e<a.x||n<a.y;){var h=a.y-a.x,f=n-e;h>f?(this.ses.push(new s(this.b.getByIndex(n),i)),++n):h<f?(this.ses.push(new s(this.a.getByIndex(e),o)),++e):(this.ses.push(new s(this.a.getByIndex(e),r.Common)),this.lcs+=this.a[e],++e,++n)}},t}();e.ONP=i;var o=function(t,e,n){this.x=t,this.y=e,this.k=n},s=function(){function t(t,e){this.elem=t,this.type=e}return t.prototype.toString=function(){var t;switch(this.type){case r.Add:t="+";break;case r.Delete:t="-";break;case r.Common:t=" "}return t+this.elem.toString()},t}();e.SesElem=s},function(t,e,n){t.exports=n(3)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0);r.__exportStar(n(1),e),r.__exportStar(n(4),e),r.__exportStar(n(5),e),r.__exportStar(n(6),e),r.__exportStar(n(7),e),r.__exportStar(n(8),e),r.__exportStar(n(9),e),r.__exportStar(n(10),e),r.__exportStar(n(11),e),r.__exportStar(n(12),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StringOnpItertor=void 0;var r=function(){function t(t){this.str=t}return Object.defineProperty(t.prototype,"length",{get:function(){return this.str.length},enumerable:!1,configurable:!0}),t.prototype.getComparer=function(){return function(t,e){return t===e}},t.prototype.getByIndex=function(t){return this.str[t]},t}();e.StringOnpItertor=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StringSesElem=e.StringONP=void 0;var r=n(1),i=function(){function t(t,e){if(this.editDistance=null,this.lcs="",this.ses=[],this.path=[],this.pathposi=[],this.a=t,this.b=e,this.m=this.a.length,this.n=this.b.length,this.reverse=this.m>this.n,this.reverse){var n=this.a;this.a=this.b,this.b=n;var r=this.m;this.m=this.n,this.n=r}this.offset=this.m+1}return t.prototype.calculate=function(){for(var t=this.m+this.n+3,e={},n=0;n<t;++n)e[n]=-1,this.path[n]=-1;var r=this.n-this.m,i=-1;do{for(var s=-++i;s<=r-1;++s)e[s+this.offset]=this.snake(s,e[s-1+this.offset]+1,e[s+1+this.offset]);for(s=r+i;s>=r+1;--s)e[s+this.offset]=this.snake(s,e[s-1+this.offset]+1,e[s+1+this.offset]);e[r+this.offset]=this.snake(r,e[r-1+this.offset]+1,e[r+1+this.offset])}while(e[r+this.offset]!==this.n);this.editDistance=r+2*i;for(var u=this.path[r+this.offset],a=[];-1!==u;){var h=this.pathposi[u];a.push(new o(h.x,h.y,null)),u=h.k}return this.recordSeq(a),this.ses},t.prototype.toString=function(){for(var t=[],e=0,n=this.ses;e<n.length;e++){var r=n[e];t.push(r.toString())}return t.join("\n")},t.prototype.snake=function(t,e,n){for(var r=e>n?this.path[t-1+this.offset]:this.path[t+1+this.offset],i=Math.max(e,n),s=i-t;s<this.m&&i<this.n&&this.a[s]===this.b[i];)++s,++i;var u=this.pathposi.push(new o(s,i,r));return this.path[t+this.offset]=u-1,i},t.prototype.recordSeq=function(t){for(var e=0,n=0,i=this.reverse?r.SesType.Delete:r.SesType.Add,o=this.reverse?r.SesType.Add:r.SesType.Delete,u=t.length-1;u>=0;--u)for(var a=t[u];e<a.x||n<a.y;){var h=a.y-a.x,f=n-e;h>f?(this.ses.push(new s(this.b[n],i)),++n):h<f?(this.ses.push(new s(this.a[e],o)),++e):(this.ses.push(new s(this.a[e],r.SesType.Common)),this.lcs+=this.a[e],++e,++n)}},t}();e.StringONP=i;var o=function(t,e,n){this.x=t,this.y=e,this.k=n},s=function(){function t(t,e){this.elem=t,this.type=e}return t.prototype.toString=function(){var t;switch(this.type){case r.SesType.Add:t="+";break;case r.SesType.Delete:t="-";break;case r.SesType.Common:t=" "}return t+this.elem},t}();e.StringSesElem=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StringUtils=void 0;var r=function(){function t(){}return t.stringCompare=function(t,e){return t===e?0:t>e?1:-1},t.stringHashCode=function(t){var e=0;if(0===t.length)return e;for(var n=t.length,r=0;r<n;r++)e=(e<<5)-e+t.charCodeAt(r),e|=0;return e},t.endsAt=function(t,e){var n=t.length-1,r=e.length-1,i=n-r;if(i<0)return!1;for(;n>=i;n--,r--)if(t[n]!==e[r])return!1;return!0},t.startsAt=function(t,e){return t.substr(0,e.length)===e},t.stringInLowerCase=function(t){return t.toLowerCase()===t},t.stringInUpperCase=function(t){return t.toUpperCase()===t},t.inStringAtLeastOneSymbolInUpperCase=function(e){for(var n=0,r=void 0;r=e[n];n++)if(t.stringInUpperCase(r)&&!t.stringInLowerCase(r))return!0;return!1},t.getSymbolFromEnd=function(t,e){return t[t.length-e]},t.stringTrim=function(t,e){void 0===e&&(e=["\\s"]);var n=e.join("");return t.replace(new RegExp("(^["+n+"]*)|(["+n+"]*$)","g"),"")},t.stringTrimStart=function(t,e){void 0===e&&(e=["\\s"]);var n=e.join("");return t.replace(new RegExp("^["+n+"]*","g"),"")},t.stringTrimEnd=function(t,e){void 0===e&&(e=["\\s"]);var n=e.join("");return t.replace(new RegExp("["+n+"]*$","g"),"")},t.getDecimalSeparator=function(){return 1.1.toLocaleString().substr(1,1)},t.strCompare=function(t,e,n){return void 0===n&&(n=!1),n&&(t=t.toLowerCase(),e=e.toLowerCase()),t===e?0:t>e?1:-1},t.repeat=function(t,e){return new Array(e<=0?0:e+1).join(t)},t.isNullOrEmpty=function(t){return!t||!t.length},t.padLeft=function(e,n,r){return t.repeat(r,Math.max(0,n-e.length))+e},t}();e.StringUtils=r},function(t,e,n){"use strict";var r,i;Object.defineProperty(e,"__esModule",{value:!0}),e.Base64Utils=e.DocmMimeType=e.PlainTextMimeType=e.RtfMimeType=e.OpenXmlMimeType=e.Base64MimeType=void 0,function(t){t[t.Unknown=0]="Unknown",t[t.OpenXml=1]="OpenXml",t[t.Rtf=2]="Rtf",t[t.PlainText=3]="PlainText",t[t.Docm=4]="Docm"}(i=e.Base64MimeType||(e.Base64MimeType={})),e.OpenXmlMimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.document",e.RtfMimeType="application/rtf",e.PlainTextMimeType="text/plain",e.DocmMimeType="application/vnd.ms-word.document.macroEnabled.12";var o=function(){function t(){}return t.normalizeToDataUrl=function(e,n){return t.checkPrependDataUrl(e)||(e=t.prependByDataUrl(e,n)),e},t.prependByDataUrl=function(t,e){return void 0===e&&(e="image/png"),"data:"+e+";base64,"+t},t.checkPrependDataUrl=function(e){return t.dataUrl.test(e)},t.deleteDataUrlPrefix=function(e){return e.replace(t.dataUrl,"")},t.getUint8Array=function(t){for(var e=(t=atob(t)).length,n=new Uint8Array(e);e--;)n[e]=t.charCodeAt(e);return n},t.fromArrayBuffer=function(t){for(var e=[],n=new Uint8Array(t),r=n.byteLength,i=0;i<r;i++)e.push(String.fromCharCode(n[i]));return window.btoa(e.join(""))},t.getFileFromBase64=function(e,n){void 0===n&&(n={type:"text"});var r=t.getUint8Array(e);return new Blob([r],n)},t.getMimeTypeAsString=function(e){var n=e.match(t.dataUrl);return n?n[1]:null},t.getKnownMimeType=function(e){var n,r=e.match(t.dataUrl);return r&&null!==(n=t.mimeTypesMap[r[1]])&&void 0!==n?n:i.Unknown},t.fromBlobAsArrayBuffer=function(e,n){var r=new FileReader;r.onloadend=function(){return n(t.fromArrayBuffer(r.result))},r.readAsArrayBuffer(e)},t.fromBlobAsDataUrl=function(t,e){var n=new FileReader;n.onloadend=function(){return e(n.result)},n.readAsDataURL(t)},t.mimeTypesMap=((r={})[e.OpenXmlMimeType]=i.OpenXml,r[e.RtfMimeType]=i.Rtf,r[e.PlainTextMimeType]=i.PlainText,r[e.DocmMimeType]=i.Docm,r),t.dataUrl=/^data:(.*?)(;(.*?))??(;base64)?,/,t}();e.Base64Utils=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChunkedText=void 0;var r=function(){function t(t,e){void 0===e&&(e=2e3),this.maxChunkSize=e,this.chunks=[],this._textLength=0,this.pushText(t),this.resetToStart()}return Object.defineProperty(t.prototype,"currChar",{get:function(){return this.chunk[this.posInChunk]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currPos",{get:function(){return this._currPos},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textLength",{get:function(){return this._textLength},enumerable:!1,configurable:!0}),t.prototype.resetToStart=function(){this.setChunk(0),this.posInChunk=-1,this._currPos=-1},t.prototype.resetToEnd=function(){this.setChunk(this.chunks.length-1),this.posInChunk=this.chunkLength-1,this._currPos=this._textLength},t.prototype.addText=function(t){this.pushText(t),-1===this._currPos?(this.chunk=this.chunks[0],this.chunkLength=this.chunk.length):this.setPositionTo(this._currPos)},t.prototype.getText=function(){return this.chunks.join("")},t.prototype.moveToNextChar=function(){return this.posInChunk++,this._currPos++,this.posInChunk<this.chunkLength||(this.setChunk(this.chunkIndex+1)?(this.posInChunk=0,!0):(this.posInChunk=this.chunkLength,this._currPos=this._textLength,!1))},t.prototype.moveToPrevChar=function(){return this.posInChunk--,this._currPos--,this.posInChunk>=0||(this.setChunk(this.chunkIndex-1)?(this.posInChunk=this.chunkLength-1,!0):(this.posInChunk=-1,this._currPos=-1,!1))},t.prototype.setPositionTo=function(t){var e=t;this.chunkIndex=0;for(var n=0;;n++){if(!this.setChunk(n))return this.posInChunk=this.chunkLength,void(this._currPos=this._textLength);if(!(e>this.chunkLength))return this.posInChunk=e,void(this._currPos=t);e-=this.chunk.length}},t.prototype.setChunk=function(t){var e=this.chunk;return this.chunk=this.chunks[t],this.chunk?(this.chunkIndex=t,this.chunkLength=this.chunk.length,!0):(this.chunk=e,!1)},t.prototype.pushText=function(t){if(t.length){for(var e=0;e<t.length;){if(0===e){var n=this.chunks.pop();if(n){if(n.length<this.maxChunkSize){var r=this.maxChunkSize-n.length;this.chunks.push(n+t.substr(e,r)),e+=r;continue}this.chunks.push(n)}}this.chunks.push(t.substr(e,this.maxChunkSize)),e+=this.maxChunkSize}this._textLength+=t.length}},t}();e.ChunkedText=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Int32Constants=e.Constants=void 0;var r=function(){function t(){}return t.MIN_SAFE_INTEGER=-(Math.pow(2,53)-1),t.MAX_SAFE_INTEGER=Math.pow(2,53)-1,t.MAX_BYTE=Math.pow(2,8)-1,t}();e.Constants=r;var i=function(){function t(){}return t.MIN_VALUE=-2147483648,t.MAX_VALUE=2147483647,t}();e.Int32Constants=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Flag=void 0;var r=function(){function t(t){void 0===t&&(t=0),this.value=t}return t.prototype.get=function(t){return(this.value&t)===t},t.prototype.set=function(t,e){return(this.value&t)===t!==e&&(e?this.value|=t:this.value^=t),this},t.prototype.add=function(t){this.value|=t},t.prototype.anyOf=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,r=t;n<r.length;n++){var i=r[n];if((this.value&i)===i)return!0}return!1},t.prototype.getValue=function(){return this.value},t.prototype.clone=function(){return new t(this.value)},t}();e.Flag=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ExtendedMinMax=e.ExtendedMax=e.ExtendedMin=e.MinMaxNumber=e.MinMax=void 0;var r=n(0),i=function(t,e){this.min=t,this.max=e};e.MinMax=i;var o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),Object.defineProperty(e.prototype,"length",{get:function(){return this.max-this.min},enumerable:!1,configurable:!0}),e}(i);e.MinMaxNumber=o;var s=function(t,e){this.minElement=t,this.minValue=e};e.ExtendedMin=s;var u=function(t,e){this.maxElement=t,this.maxValue=e};e.ExtendedMax=u;var a=function(t,e,n,r){this.minElement=t,this.minValue=e,this.maxElement=n,this.maxValue=r};e.ExtendedMinMax=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})}]);
var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function o(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=function(){return(i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function u(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}function a(t,e,n,r){var o,i=arguments.length,u=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(u=(i<3?o(u):i>3?o(e,n,u):o(e,n))||u);return i>3&&u&&Object.defineProperty(e,n,u),u}function s(t,e){return function(n,r){e(n,r,t)}}function c(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function f(t,e,n,r){return new(n||(n=Promise))((function(o,i){function u(t){try{s(r.next(t))}catch(t){i(t)}}function a(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(u,a)}s((r=r.apply(t,e||[])).next())}))}function h(t,e){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=u.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=e.call(t,u)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}var l=Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]};function p(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||l(e,t,n)}function y(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function d(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function v(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(d(arguments[e]));return t}function m(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),o=0;for(e=0;e<n;e++)for(var i=arguments[e],u=0,a=i.length;u<a;u++,o++)r[o]=i[u];return r}function b(t){return this instanceof b?(this.v=t,this):new b(t)}function g(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(t,e||[]),i=[];return r={},u("next"),u("throw"),u("return"),r[Symbol.asyncIterator]=function(){return this},r;function u(t){o[t]&&(r[t]=function(e){return new Promise((function(n,r){i.push([t,e,n,r])>1||a(t,e)}))})}function a(t,e){try{(n=o[t](e)).value instanceof b?Promise.resolve(n.value.v).then(s,c):f(i[0][2],n)}catch(t){f(i[0][3],t)}var n}function s(t){a("next",t)}function c(t){a("throw",t)}function f(t,e){t(e),i.shift(),i.length&&a(i[0][0],i[0][1])}}function _(t){var e,n;return e={},r("next"),r("throw",(function(t){throw t})),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,o){e[r]=t[r]?function(e){return(n=!n)?{value:b(t[r](e)),done:"return"===r}:o?o(e):e}:o}}function O(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=y(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise((function(r,o){(function(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n})}),e)})(r,o,(e=t[n](e)).done,e.value)}))}}}function x(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var w=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};function S(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&l(e,t,n);return w(e,t),e}function P(t){return t&&t.__esModule?t:{default:t}}function k(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function j(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),e.SequenceComparator=e.SesElem=e.SesType=void 0,function(t){t[t.Delete=-1]="Delete",t[t.Common=0]="Common",t[t.Add=1]="Add"}(r=e.SesType||(e.SesType={}));var o=function(){function t(t,e){this.elem=t,this.type=e}return t.prototype.toString=function(){var t;switch(this.type){case r.Add:t="+";break;case r.Delete:t="-";break;case r.Common:t=" "}return t+this.elem.toString()},t}();e.SesElem=o;var i=function(){function t(t,e){if(this.editDistance=null,this.lcs="",this.ses=[],this.path=[],this.pathposi=[],this.a=t,this.b=e,this.m=this.a.length,this.n=this.b.length,this.reverse=this.m>this.n,this.reverse){var n=this.a;this.a=this.b,this.b=n;var r=this.m;this.m=this.n,this.n=r}this.offset=this.m+1,this.comparer=this.a.getComparer()}return t.prototype.calculate=function(){for(var t=this.m+this.n+3,e={},n=0;n<t;++n)e[n]=-1,this.path[n]=-1;var r=this.n-this.m,o=-1;do{for(var i=-++o;i<=r-1;++i)e[i+this.offset]=this.snake(i,e[i-1+this.offset]+1,e[i+1+this.offset]);for(i=r+o;i>=r+1;--i)e[i+this.offset]=this.snake(i,e[i-1+this.offset]+1,e[i+1+this.offset]);e[r+this.offset]=this.snake(r,e[r-1+this.offset]+1,e[r+1+this.offset])}while(e[r+this.offset]!==this.n);this.editDistance=r+2*o;for(var a=this.path[r+this.offset],s=[];-1!==a;){var c=this.pathposi[a];s.push(new u(c.x,c.y,null)),a=c.k}return this.recordSeq(s),this.ses},t.prototype.toString=function(){for(var t=[],e=0,n=this.ses;e<n.length;e++){var r=n[e];t.push(r.toString())}return t.join("\n")},t.prototype.snake=function(t,e,n){for(var r=e>n?this.path[t-1+this.offset]:this.path[t+1+this.offset],o=Math.max(e,n),i=o-t;i<this.m&&o<this.n&&this.comparer(this.a.getByIndex(i),this.b.getByIndex(o));)++i,++o;var a=this.pathposi.push(new u(i,o,r));return this.path[t+this.offset]=a-1,o},t.prototype.recordSeq=function(t){for(var e=0,n=0,i=this.reverse?r.Delete:r.Add,u=this.reverse?r.Add:r.Delete,a=t.length-1;a>=0;--a)for(var s=t[a];e<s.x||n<s.y;){var c=s.y-s.x,f=n-e;c>f?(this.ses.push(new o(this.b.getByIndex(n),i)),++n):c<f?(this.ses.push(new o(this.a.getByIndex(e),u)),++e):(this.ses.push(new o(this.a.getByIndex(e),r.Common)),this.lcs+=this.a[e],++e,++n)}},t}();e.SequenceComparator=i;var u=function(t,e,n){this.x=t,this.y=e,this.k=n}},function(t,e,n){t.exports=n(4)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);r.__exportStar(n(2),e),r.__exportStar(n(5),e),r.__exportStar(n(6),e),r.__exportStar(n(7),e),r.__exportStar(n(8),e),r.__exportStar(n(9),e),r.__exportStar(n(10),e),r.__exportStar(n(0),e),r.__exportStar(n(11),e),r.__exportStar(n(12),e),r.__exportStar(n(13),e),r.__exportStar(n(14),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StringSequenceComparatorItertor=e.StringSesElem=e.StringSequenceComparator=void 0;var r=n(2),o=function(){function t(t,e){if(this.editDistance=null,this.lcs="",this.ses=[],this.path=[],this.pathposi=[],this.a=t,this.b=e,this.m=this.a.length,this.n=this.b.length,this.reverse=this.m>this.n,this.reverse){var n=this.a;this.a=this.b,this.b=n;var r=this.m;this.m=this.n,this.n=r}this.offset=this.m+1}return t.prototype.calculate=function(){for(var t=this.m+this.n+3,e={},n=0;n<t;++n)e[n]=-1,this.path[n]=-1;var r=this.n-this.m,o=-1;do{for(var u=-++o;u<=r-1;++u)e[u+this.offset]=this.snake(u,e[u-1+this.offset]+1,e[u+1+this.offset]);for(u=r+o;u>=r+1;--u)e[u+this.offset]=this.snake(u,e[u-1+this.offset]+1,e[u+1+this.offset]);e[r+this.offset]=this.snake(r,e[r-1+this.offset]+1,e[r+1+this.offset])}while(e[r+this.offset]!==this.n);this.editDistance=r+2*o;for(var a=this.path[r+this.offset],s=[];-1!==a;){var c=this.pathposi[a];s.push(new i(c.x,c.y,null)),a=c.k}return this.recordSeq(s),this.ses},t.prototype.toString=function(){for(var t=[],e=0,n=this.ses;e<n.length;e++){var r=n[e];t.push(r.toString())}return t.join("\n")},t.prototype.snake=function(t,e,n){for(var r=e>n?this.path[t-1+this.offset]:this.path[t+1+this.offset],o=Math.max(e,n),u=o-t;u<this.m&&o<this.n&&this.a[u]===this.b[o];)++u,++o;var a=this.pathposi.push(new i(u,o,r));return this.path[t+this.offset]=a-1,o},t.prototype.recordSeq=function(t){for(var e=0,n=0,o=this.reverse?r.SesType.Delete:r.SesType.Add,i=this.reverse?r.SesType.Add:r.SesType.Delete,a=t.length-1;a>=0;--a)for(var s=t[a];e<s.x||n<s.y;){var c=s.y-s.x,f=n-e;c>f?(this.ses.push(new u(this.b[n],o)),++n):c<f?(this.ses.push(new u(this.a[e],i)),++e):(this.ses.push(new u(this.a[e],r.SesType.Common)),this.lcs+=this.a[e],++e,++n)}},t}();e.StringSequenceComparator=o;var i=function(t,e,n){this.x=t,this.y=e,this.k=n},u=function(){function t(t,e){this.elem=t,this.type=e}return t.prototype.toString=function(){var t;switch(this.type){case r.SesType.Add:t="+";break;case r.SesType.Delete:t="-";break;case r.SesType.Common:t=" "}return t+this.elem},t}();e.StringSesElem=u;var a=function(){function t(t){this.str=t}return Object.defineProperty(t.prototype,"length",{get:function(){return this.str.length},enumerable:!1,configurable:!0}),t.prototype.getComparer=function(){return function(t,e){return t===e}},t.prototype.getByIndex=function(t){return this.str[t]},t}();e.StringSequenceComparatorItertor=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StringMapUtils=void 0;var r=n(0),o=function(){function t(){}return t.forEach=function(t,e){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e(t[n],n)},t.map=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=e(t[r],r));return n},t.reducedMap=function(t,e){var n={};for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var o=e(t[r],r);null!==o&&(n[r]=o)}return n},t.clear=function(t){for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&delete t[e]},t.shallowCopy=function(e){return t.map(e,(function(t){return t}))},t.deepCopy=function(e){return t.map(e,(function(t){return t.clone()}))},t.isEmpty=function(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return!0},t.accumulate=function(t,e,n){var r=e;for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r=n(r,t[o],o));return r},t.keyBy=function(t,e){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n],n))return n;return null},t.elementBy=function(e,n){var r=t.keyBy(e,n);return null===r?null:e[r]},t.containsBy=function(e,n){return null!==t.keyBy(e,n)},t.toList=function(e){return t.toListBy(e,(function(t){return t}))},t.toListBy=function(t,e,n){void 0===n&&(n=r.Constants.MAX_SAFE_INTEGER);var o=[];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&(o.push(e(t[i],i)),!--n))break;return o},t.anyOf=function(t,e){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=e(t[n],n);if(null!==r)return r}return null},t.unsafeAnyOf=function(t,e){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=e(t[n],n);if(r)return r}return null},t.allOf=function(t,e){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&!e(t[n],n))return!1;return!0},t.mapLength=function(t){var e=0;for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e++;return e},t.max=function(e,n){return t.maxMinTemplate(e,n,(function(t){return t>0}))},t.min=function(e,n){return t.maxMinTemplate(e,n,(function(t){return t<0}))},t.maxMinTemplate=function(t,e,n){var r=null;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o))if(null!==r){var i=t[o];n(e(i,r))&&(r=i)}else r=t[o];return r},t}();e.StringMapUtils=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.NumberMapUtils=void 0;var r=n(0),o=function(){function t(){}return t.forEach=function(t,e){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e(t[n],parseInt(n))},t.map=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=e(t[r],parseInt(r)));return n},t.reducedMap=function(t,e){var n={};for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var o=e(t[r],parseInt(r));null!==o&&(n[r]=o)}return n},t.clear=function(t){for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&delete t[e]},t.shallowCopy=function(e){return t.map(e,(function(t){return t}))},t.deepCopy=function(e){return t.map(e,(function(t){return t.clone()}))},t.isEmpty=function(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return!0},t.accumulate=function(t,e,n){var r=e;for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r=n(r,t[o],parseInt(o)));return r},t.keyBy=function(t,e){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=parseInt(n);if(e(t[n],r))return r}return null},t.elementBy=function(e,n){var r=t.keyBy(e,n);return null===r?null:e[r]},t.containsBy=function(e,n){return null!==t.keyBy(e,n)},t.toList=function(e){return t.toListBy(e,(function(t){return t}))},t.toListBy=function(t,e,n){void 0===n&&(n=r.Constants.MAX_SAFE_INTEGER);var o=[];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&(o.push(e(t[i],parseInt(i))),!--n))break;return o},t.anyOf=function(t,e){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=e(t[n],parseInt(n));if(null!==r)return r}return null},t.unsafeAnyOf=function(t,e){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=e(t[n],parseInt(n));if(r)return r}return null},t.allOf=function(t,e){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&!e(t[n],parseInt(n)))return!1;return!0},t.mapLength=function(t){var e=0;for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e++;return e},t.max=function(e,n){return t.maxMinTemplate(e,n,(function(t){return t>0}))},t.min=function(e,n){return t.maxMinTemplate(e,n,(function(t){return t<0}))},t.maxMinTemplate=function(t,e,n){var r=null;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o))if(null!==r){var i=t[o];n(e(i,r))&&(r=i)}else r=t[o];return r},t}();e.NumberMapUtils=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StringUtils=void 0;var r=function(){function t(){}return t.stringHashCode=function(t){var e=0;if(0===t.length)return e;for(var n=t.length,r=0;r<n;r++)e=(e<<5)-e+t.charCodeAt(r),e|=0;return e},t.endsAt=function(t,e){var n=t.length-1,r=e.length-1,o=n-r;if(o<0)return!1;for(;n>=o;n--,r--)if(t[n]!==e[r])return!1;return!0},t.startsAt=function(t,e){return t.substr(0,e.length)===e},t.stringInLowerCase=function(t){return t.toLowerCase()===t},t.stringInUpperCase=function(t){return t.toUpperCase()===t},t.inStringAtLeastOneSymbolInUpperCase=function(e){for(var n=0,r=void 0;r=e[n];n++)if(t.stringInUpperCase(r)&&!t.stringInLowerCase(r))return!0;return!1},t.getSymbolFromEnd=function(t,e){return t[t.length-e]},t.stringTrim=function(t,e){void 0===e&&(e=["\\s"]);var n=e.join("");return t.replace(new RegExp("(^["+n+"]*)|(["+n+"]*$)","g"),"")},t.stringTrimStart=function(t,e){void 0===e&&(e=["\\s"]);var n=e.join("");return t.replace(new RegExp("^["+n+"]*","g"),"")},t.stringTrimEnd=function(t,e){void 0===e&&(e=["\\s"]);var n=e.join("");return t.replace(new RegExp("["+n+"]*$","g"),"")},t.getDecimalSeparator=function(){return 1.1.toLocaleString().substr(1,1)},t.repeat=function(t,e){return new Array(e<=0?0:e+1).join(t)},t.isNullOrEmpty=function(t){return!t||!t.length},t.padLeft=function(e,n,r){return t.repeat(r,Math.max(0,n-e.length))+e},t}();e.StringUtils=r},function(t,e,n){"use strict";var r,o;Object.defineProperty(e,"__esModule",{value:!0}),e.Base64Utils=e.DocmMimeType=e.PlainTextMimeType=e.RtfMimeType=e.OpenXmlMimeType=e.Base64MimeType=void 0,function(t){t[t.Unknown=0]="Unknown",t[t.OpenXml=1]="OpenXml",t[t.Rtf=2]="Rtf",t[t.PlainText=3]="PlainText",t[t.Docm=4]="Docm"}(o=e.Base64MimeType||(e.Base64MimeType={})),e.OpenXmlMimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.document",e.RtfMimeType="application/rtf",e.PlainTextMimeType="text/plain",e.DocmMimeType="application/vnd.ms-word.document.macroEnabled.12";var i=function(){function t(){}return t.normalizeToDataUrl=function(e,n){return t.checkPrependDataUrl(e)||(e=t.prependByDataUrl(e,n)),e},t.prependByDataUrl=function(t,e){return void 0===e&&(e="image/png"),"data:"+e+";base64,"+t},t.checkPrependDataUrl=function(e){return t.dataUrl.test(e)},t.deleteDataUrlPrefix=function(e){return e.replace(t.dataUrl,"")},t.getUint8Array=function(t){for(var e=(t=atob(t)).length,n=new Uint8Array(e);e--;)n[e]=t.charCodeAt(e);return n},t.fromArrayBuffer=function(t){for(var e=[],n=new Uint8Array(t),r=n.byteLength,o=0;o<r;o++)e.push(String.fromCharCode(n[o]));return window.btoa(e.join(""))},t.getFileFromBase64=function(e,n){void 0===n&&(n={type:"text"});var r=t.getUint8Array(e);return new Blob([r],n)},t.getMimeTypeAsString=function(e){var n=e.match(t.dataUrl);return n?n[1]:null},t.getKnownMimeType=function(e){var n,r=e.match(t.dataUrl);return r&&null!==(n=t.mimeTypesMap[r[1]])&&void 0!==n?n:o.Unknown},t.fromBlobAsArrayBuffer=function(e,n){var r=new FileReader;r.onloadend=function(){return n(t.fromArrayBuffer(r.result))},r.readAsArrayBuffer(e)},t.fromBlobAsDataUrl=function(t,e){var n=new FileReader;n.onloadend=function(){return e(n.result)},n.readAsDataURL(t)},t.mimeTypesMap=((r={})[e.OpenXmlMimeType]=o.OpenXml,r[e.RtfMimeType]=o.Rtf,r[e.PlainTextMimeType]=o.PlainText,r[e.DocmMimeType]=o.Docm,r),t.dataUrl=/^data:(.*?)(;(.*?))??(;base64)?,/,t}();e.Base64Utils=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChunkedText=void 0;var r=function(){function t(t,e){void 0===e&&(e=2e3),this.maxChunkSize=e,this.chunks=[],this._textLength=0,this.pushText(t),this.resetToStart()}return Object.defineProperty(t.prototype,"currChar",{get:function(){return this.chunk[this.posInChunk]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currPos",{get:function(){return this._currPos},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textLength",{get:function(){return this._textLength},enumerable:!1,configurable:!0}),t.prototype.resetToStart=function(){this.setChunk(0),this.posInChunk=-1,this._currPos=-1},t.prototype.resetToEnd=function(){this.setChunk(this.chunks.length-1),this.posInChunk=this.chunkLength-1,this._currPos=this._textLength},t.prototype.addText=function(t){this.pushText(t),-1===this._currPos?(this.chunk=this.chunks[0],this.chunkLength=this.chunk.length):this.setPositionTo(this._currPos)},t.prototype.getText=function(){return this.chunks.join("")},t.prototype.moveToNextChar=function(){return this.posInChunk++,this._currPos++,this.posInChunk<this.chunkLength||(this.setChunk(this.chunkIndex+1)?(this.posInChunk=0,!0):(this.posInChunk=this.chunkLength,this._currPos=this._textLength,!1))},t.prototype.moveToPrevChar=function(){return this.posInChunk--,this._currPos--,this.posInChunk>=0||(this.setChunk(this.chunkIndex-1)?(this.posInChunk=this.chunkLength-1,!0):(this.posInChunk=-1,this._currPos=-1,!1))},t.prototype.setPositionTo=function(t){var e=t;this.chunkIndex=0;for(var n=0;;n++){if(!this.setChunk(n))return this.posInChunk=this.chunkLength,void(this._currPos=this._textLength);if(!(e>this.chunkLength))return this.posInChunk=e,void(this._currPos=t);e-=this.chunk.length}},t.prototype.setChunk=function(t){var e=this.chunk;return this.chunk=this.chunks[t],this.chunk?(this.chunkIndex=t,this.chunkLength=this.chunk.length,!0):(this.chunk=e,!1)},t.prototype.pushText=function(t){if(t.length){for(var e=0;e<t.length;){if(0===e){var n=this.chunks.pop();if(n){if(n.length<this.maxChunkSize){var r=this.maxChunkSize-n.length;this.chunks.push(n+t.substr(e,r)),e+=r;continue}this.chunks.push(n)}}this.chunks.push(t.substr(e,this.maxChunkSize)),e+=this.maxChunkSize}this._textLength+=t.length}},t}();e.ChunkedText=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Flag=void 0;var r=function(){function t(t){void 0===t&&(t=0),this.value=t}return t.prototype.get=function(t){return(this.value&t)===t},t.prototype.set=function(t,e){return(this.value&t)===t!==e&&(e?this.value|=t:this.value^=t),this},t.prototype.add=function(t){this.value|=t},t.prototype.anyOf=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,r=t;n<r.length;n++){var o=r[n];if((this.value&o)===o)return!0}return!1},t.prototype.getValue=function(){return this.value},t.prototype.clone=function(){return new t(this.value)},t}();e.Flag=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ExtendedMinMax=e.ExtendedMax=e.ExtendedMin=e.MinMaxNumber=e.MinMax=void 0;var r=n(1),o=function(t,e){this.min=t,this.max=e};e.MinMax=o;var i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),Object.defineProperty(e.prototype,"length",{get:function(){return this.max-this.min},enumerable:!1,configurable:!0}),e}(o);e.MinMaxNumber=i;var u=function(t,e){this.minElement=t,this.minValue=e};e.ExtendedMin=u;var a=function(t,e){this.maxElement=t,this.maxValue=e};e.ExtendedMax=a;var s=function(t,e,n,r){this.minElement=t,this.minValue=e,this.maxElement=n,this.maxValue=r};e.ExtendedMinMax=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.loadJavascriptFile=void 0,e.loadJavascriptFile=function(t,e){var n,r=document.getElementsByTagName("head")[0];if(!r){r=document.createElement("head");var o=document.getElementsByTagName("body")[0];null===(n=o.parentNode)||void 0===n||n.insertBefore(r,o)}var i=document.createElement("script");return i.onload=e,i.src=t,r.appendChild(i),{htmlScriptElement:i}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})}]);
export declare class StringUtils {
static stringCompare(a: string, b: string): number;
static stringHashCode(str: string): number;

@@ -14,3 +13,2 @@ static endsAt(str: string, template: string): boolean;

static getDecimalSeparator(): string;
static strCompare(a: string, b: string, ignoreCase?: boolean): number;
static repeat(str: string, count: number): string;

@@ -17,0 +15,0 @@ static isNullOrEmpty(str: string): boolean;

@@ -7,5 +7,2 @@ "use strict";

}
StringUtils.stringCompare = function (a, b) {
return ((a === b) ? 0 : ((a > b) ? 1 : -1));
};
StringUtils.stringHashCode = function (str) {

@@ -71,10 +68,2 @@ var hash = 0;

};
StringUtils.strCompare = function (a, b, ignoreCase) {
if (ignoreCase === void 0) { ignoreCase = false; }
if (ignoreCase) {
a = a.toLowerCase();
b = b.toLowerCase();
}
return ((a === b) ? 0 : ((a > b) ? 1 : -1));
};
StringUtils.repeat = function (str, count) {

@@ -81,0 +70,0 @@ return new Array(count <= 0 ? 0 : count + 1).join(str);

{
"name": "devexpress-utils",
"version": "1.0.1-alpha-003",
"version": "1.0.1-alpha-004",
"description": "DevExpress utils",

@@ -5,0 +5,0 @@ "author": "DevExpress Inc.",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc